Project: Covid 19 Statistics Germany

Hi Marlon,
first of all thank you for providing the data. I have created a page that shows the statistics for Germany and individual states.
Visitors will also find links to the most important topics. Be it information about Covid 19, the vaccination or corona tests.
https://covid19ger.netlify.app/
P.s enjoy the coffee 😄

Great job! Thanks for submitting your project!
Thank you very much! But also a shoutout to @Rubber1Duck for his contributions!

Oh i forgot, thank you @Rubber1Duck

But also a shoutout to @Rubber1Duck for his contributions!

You're welcome

Oh i forgot, thank you @Rubber1Duck

Thanks you too


Converting circular structure to JSON error in v3.3.1

I just updated nock, but a "Uncaught TypeError: Converting circular structure to JSON" error is occured.
Uncaught TypeError: Converting circular structure to JSON
      at Object.stringify (native)
      at util.js:41:30
      at String.replace (native)
      at Function.exports.format (util.js:35:23)
      at Function.log (node_modules/nock/node_modules/debug/node.js:106:35)
      at enabled (node_modules/nock/node_modules/debug/debug.js:117:11)
      at Object.match (node_modules/nock/lib/scope.js:175:7)
      at node_modules/nock/lib/request_overrider.js:240:26
      at Array.filter (native)
      at RequestOverrider.end (node_modules/nock/lib/request_overrider.js:236:33)
      at OverriddenClientRequest.RequestOverrider.req.end (node_modules/nock/lib/request_overrider.js:170:7)
      at Request.end (node_modules/fbgraph/node_modules/request/request.js:1406:12)
      at end (node_modules/fbgraph/node_modules/request/request.js:433:16)
      at node_modules/fbgraph/node_modules/request/request.js:447:9

In debug('match %j, body = %j', options, body); (lib/scope.js:175), debug module throw the error because the object(I think options is guilty) has curcular reference). There are no error if I turn off logs for debug. I guess it happened under specific situation but I didn't find what situation is yet.

Fix landed on v3.3.2

:+1:


Execute a TaskRun without having to create a Task

Related to #147
Expected Behavior
As a former Build user, I should be able to create a single resource that executes requested steps and can be watched for updates.
Actual Behavior
If I want to run some steps, I first have to define a Task that specifies those steps, then invoke it with a TaskRun that references that Task.
Additional Info
One possible solution would be to have the TaskRun type take either a taskRef or a taskSpec (but not both, or neither). When a TaskRun is requested with a taskSpec, it would perform the same steps as if a Task had been created with the given spec, then invoked by the TaskRun, without creating a Task as a side effect. Tasks defined in this way can't specify parameters, but can specify inputs. Resources might also need to be able to be defined without referencing a pre-existing CRD resource.

@ImJasonH @bobcatfish Its not clear what value pipeline gets from this feature. This makes us maintain build style of executing steps along with Task, TaskRun using the same code base which would lead to more complexity. Is it better to help users migrate their existing builds into tasks and ask them to run them using TaskRun? if we feel the concept of TaskRun is too much for one-off tasks, maybe we should consider the option of allowing users to run Tasks in general, but its the two different ways of running things that concerns me.

good point @ImJasonH, the more I think about it, the more I think Task + TaskRun for one off builds or simple building of an app might be a little too much for a lot of use cases.

/assign @pivotal-nader-ziada


Navbar and Authentication Form UI Change

Hello,
I would like to work on the navbar UI and also on modifying the Signup / Login Form.
Kindly assign this issue to me!

@Sristi27 plz follow issue template for creating an issue. Then only we can move forward.

@Sristi27 we already have issue for same #108


Failed to load dynamic library: libcblite.so.3

Describe the bug
I started having the bellow error on github actions CI with linux, probably due to an upgrade in the ununtu version
Invalid argument(s): Failed to load dynamic library '/home/runner/.cache/cbl_dart/merged_native_libraries/62febb25b5035769070f30a5730f0995/libcblite.so.3': libicuuc.so.66: cannot open shared object file: No such file or directory
dart:ffi                                                  new DynamicLibrary.open
package:cbl_ffi/src/libraries.dart 96:29                  _extension#0._createDynamicLibrary
package:cbl_ffi/src/libraries.dart 45:30                  new DynamicLibraries.fromConfig.
package:cbl_ffi/src/libraries.dart 59:14                  new DynamicLibraries._loadLibraries
package:cbl_ffi/src/libraries.dart 43:24                  new DynamicLibraries.fromConfig
package:cbl_ffi/src/bindings.dart 31:37                   new CBLBindings
package:cbl_ffi/src/bindings.dart 64:17                   CBLBindings.init
package:cbl/src/support/isolate.dart 68:15                _initIsolate
package:cbl/src/support/isolate.dart 53:9                 initPrimaryIsolate
package:cbl_dart/cbl_dart.dart 47:15                      CouchbaseLiteDart.init.
To Reproduce
Steps to reproduce the behavior:
Execute a simple test of the library in github actions
Expected behavior
No error should appear
Screenshots
N/A
Environment (please complete the following information):

OS: Ubuntu 22.0 LTS
cbl: 2.1.2
cbl_flutter: N/A
cbl_flutter_ee or cbl_flutter_ce: N/A

Additional context
N/A

Thanks for the report! I think this is a bug in the native Couchbase Lite C SDK, which will take some time until a fix becomes available. For now, let's disable the tests in stash and I'll create a PR to enable them again when this issue is fixed.

Sure I can do that no prob


Can I add Traditional Chinese language in the program?

Can I add Traditional Chinese language in the program?
Thanks!

Of course, see the instructions here.


Fixed deprecated "dependencies" to "relationships"."requires"

The "dependencies" object in json is deprecated, changed to the current "relationships" with "requires" format.  Minor, but cleans up the warning message.

It'd be great for this to just be merged since it's a really simple change


Markdown Styling Themes

It would be very cool to have an option for selecting different markdown preview themes. I think most of the developers publish to GitHub or maybe GitLab and therefore they both have there own Markdown styling. Would be nice if I could select those to see how my README, for example, looks to others when I push my changes.

I am afraid it can only be done by the vscode. Currently what an extension can do is provide css and js and let vscode apply them to the preview. You might need to file a request in the vscode repository.

Ah I see it is possible with "markdown.styles", see: https://github.com/Microsoft/vscode/issues/48174

"markdown.styles" is a list of all stylesheets to load in the preview, not a list of selectable styles.

I am not sure if I understood you correctly. If you are interested in using a specific theme but not dynamically changing the theme, then "markdown.styles" should be enough.
And Markdown Preview Github Styling is a good extension from the vscode author.


fix(types): Allow any object to be passed as meta to logger.profile

It was typed as LogEntry which requires both level and message to be set. That contradicts the implementation that treats these fields as optional.
fixes #1969

@sokki , if you merge master into your branch or rebase your PR on master, I think the tests should pass thanks to https://github.com/winstonjs/winston/pull/2315 .  Give it a try and let's see (feel free to @ me so I see the result).

@DABH I rebased onto master. CI needs manual approval to run.


chore: update topic names in Kafka example

Update the Kafka streetlights example so that it uses channel
names that use characters that are valid for use in Kafka topic
names.
Signed-off-by: Dale Lane<EMAIL_ADDRESS>

I'm ok with this one as per Slack discussion. Dots in a channel name are still making it a valid URI template. And it is standard for Kafka so I don't see why would we not accept it. Just want @fmvilas to have a look as I don't know all the history, maybe fact that dots work fine is that this is a kind of bug


Fix customEnvVars

Your environment

Chart Version: latest

Helm Version: latest

Kubernetes Version: not relevant
What happened?
The customEnvVars are not applied properly for the connect pod. It only applies to the connect-api container and doesn't apply on the connect-sync container.
There's no separate values to set for this. So either the customEnvVars should be applied to both or there should be a distinct setting to configure each.
The first sounds fine since usually you'll use the same proxy settings for these components.
What did you expect to happen?
That customEnvVars are working. In this case for using a proxy.
Steps to reproduce
Deploy connect pod with customEnvVars. Check env vars on both containers in the pod.
Notes & Logs
This is the patch. At least this will result in a consistent state for each container.
*** connect-deployment.yaml.orig        2024-05-31 10:42:43.592303156 +0200
--- connect-deployment.yaml     2024-05-31 10:47:25.302331200 +0200
***************
*** 137,142 ****
--- 137,146 ----
              - name: OP_LOG_LEVEL
                value: "{{ .Values.connect.sync.logLevel }}"
              {{- include "onepassword-connect.profilerConfig" . | indent 12 }}
+             {{- range .Values.connect.customEnvVars}}
+             - name: {{ .name }}
+               value: {{ .value }}
+             {{- end }}
            {{- if .Values.connect.probes.readiness }}
            readinessProbe:
              httpGet

@volodymyrZotov can the patch be applied?


Question about migration to Quill

Good day! I want to migrate from Squeryl to Quill.
We use the capabilities of .inhibitWhen(condition) in squeryl for dynamic aggregation joins and dynamic filters. For filters, as far as I understand, there is a filterOpt in quill, but is there something similar for joins? We have cases when a lot of tables are joined and we would like to do join lazily.
This is how .inhibitWhen(condition) works in squeryl: https://www.squeryl.org/docs/0.9.5/dynamic-queries.html
@getquill/maintainers

Can you give an example of what you're trying to achieve, please?
First time I hear about Squeryl, can I ask you why you want to migrate?

Closing as no answer from the author


useRuntimeConfig crashes app in case cdn enabled

usage non-imported useRuntimeConfig causes app to crash

Probably it's caused because it's not imported via
import { useRuntimeConfig } from '#imports'

like in other places

is there any update?
there is reproduce
https://codesandbox.io/p/sandbox/dazzling-sound-ng5grt?file=%2Fnuxt.config.ts%3A5%2C1-10%2C7

This is now fixed in the 3.1.0 release.


Feature: Show the wallet's balance

The Panel could has the balance of the wallets

Another things the could be nice it's to only show the first digits like:


(CloudServiceRetryableError) The service encountered an internal error.

Describe the bug
Command Name
az dataprotection backup-instance restore initialize-for-data-recovery --datasource-type AzureDisk --restore-location koreacentral --source-datastore OperationalStore --recovery-point-id " " --target-resource-id " " > restore.json
az dataprotection backup-instance validate-for-restore --name "demoInstance01" --resource-group "demoRG" --vault-name "demoVault" --restore-request-object restore01.json --debug
Errors :
There was an error as below.

##Environment Summary

azure-cli : 2.27.1
azure-cli-core : 2.27.1
azure-cli-telemetry :  1.0.6
extensions - dataprotection : 0.1.0

route to service team

@sambitratha, could you please take a look at this issue?


implementation of subset relations - https://github.com/RoaringBitmap…

…/RoaringBitmap/issues/143
I've ported the C code for the subset relations from CRoaring. I implemented this relation as a contains(RoaringBitmap) on RoaringBitmap, so that if A = {1, 2, 3} and B = {2} A.contains(B) would be true, whereas B.contains(A) would be false.

+1

Coverage increased (+0.03%) to 90.393% when pulling 3ceb370482e975a284c63677e19a9755e754501f on openkappa:subsets into f7ba939da4aa7f99e06bd5f236ab9c990d8b096e on RoaringBitmap:master.

Coverage increased (+0.07%) to 90.432% when pulling 470500087b6ac3462718a88854beb823bc6c078a on openkappa:subsets into f7ba939da4aa7f99e06bd5f236ab9c990d8b096e on RoaringBitmap:master.

I found a transposition error in the last line of RoaringBitmap::contains my first commit. Is it better to rebase now?

It does not really matter. You can leave it as such or rebase if you prefer.

@openkappa  LGTM.


Merge Skeletal PPP, About Us and Pic, and fix old stuff

Theres alot of commits but only the stuff in the title is changed

Codecov Report
Base: 72.15% // Head: 72.15% // No change to project coverage :thumbsup:

Coverage data is based on head (96e2aae) compared to base (70e2917).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #32   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/deploy


build(deps): Upgrade accelerate requirement to allow version 1.0.0

Description of the change
Updates the requirements on accelerate to permit the latest version.
Accelerate version 1.0.0 release notes
Variable --fsdp_backward_prefetch_policy became outdated, replaced with new variable --fsdp_backward_prefetch to fix unit tests.
Related issue number

How to verify the PR

Was the PR tested

[ ] I have added >=1 unit test(s) for every new method I have added.
[x] I have ensured all unit tests pass

Multi GPU tuning and inference works

Configs:
Tuning:
apiVersion: v1
kind: ConfigMap
metadata:
  name: sft-trainer-config-allam
data:
  config.json: |
    {
          "model_name_or_path": "/fmaas-model-pvc/ibm_models/allam-beta-13b-chat",
          "training_data_path": "/testing/tuning/input/twitter-complaints.json",
          "output_dir": "/testing/tuning/output/allam-13b-chat/lora/twitter-test-1234",
          "num_train_epochs": 1.0,
          "per_device_train_batch_size": 2,
          "gradient_accumulation_steps": 1,
          "learning_rate": 1e-5,
          "response_template": "\n### Label:",
          "dataset_text_field": "output",
          "peft_method": "lora",
          "r": 8,
          "lora_dropout": 0.05,
          "lora_alpha": 16,
          "embedding_size_multiple_of": 1,
          "lora_post_process_for_vllm": true
    }
---
apiVersion: v1
kind: Pod
metadata:
  name: will-sft-trainer-allam-13b-lora
spec:
  securityContext:
    runAsUser: 1000
    runAsGroup: 0
    fsGroup: 1000
    fsGroupChangePolicy: "OnRootMismatch"
  containers:
    - env:
        - name: SFT_TRAINER_CONFIG_JSON_PATH
          value: /config/config.json
        - name: LOG_LEVEL
          value: DEBUG
      image: docker-na-public.artifactory.swg-devops.com/wcp-ai-foundation-team-docker-virtual/sft-trainer:7f8ace1_ubi9_py311.main
      imagePullPolicy: IfNotPresent
      command: [ "/bin/bash", "-c", "--" ]
      args: [ "while true; do sleep 30; done;" ]
      name: train-conductor-training
      resources:
        limits:
          nvidia.com/gpu: "2"
          memory: 200Gi
          cpu: "10"
          ephemeral-storage: 2Ti
        requests:
          nvidia.com/gpu: "2"
          memory: 80Gi
          cpu: "5"
          ephemeral-storage: 1600Gi
      volumeMounts:
        - mountPath: /testing
          name: testing-bucket
        - mountPath: /llama_eval
          name: llama-eval-pvc
          readOnly: true
        - mountPath: /fmaas-model-pvc
          name: fmaas-model-pvc
          readOnly: true
        - mountPath: /granite
          name: granite-pvc
          readOnly: true
        - mountPath: /config
          name: sft-trainer-config
  imagePullSecrets:
    - name: artifactory-docker-anh
  restartPolicy: Never
  terminationGracePeriodSeconds: 30
  volumes:
    - name: testing-bucket
      persistentVolumeClaim:
         claimName: fmaas-integration-tests-pvc
    - name: llama-eval-pvc
      persistentVolumeClaim:
         claimName: llama-eval-pvc
    - name: fmaas-model-pvc
      persistentVolumeClaim:
         claimName: fmaas-model-pvc
    - name: granite-pvc
      persistentVolumeClaim:
         claimName: granite-pvc
    - name: sft-trainer-config
      configMap:
         name: sft-trainer-config-allam

Inference:
apiVersion: v1
kind: Service
metadata:
  labels:
    app: text-gen-allam-13b
  name: allam-13b-inference-server
spec:
  clusterIP: None
  ports:
  - name: grpc
    port: 8033
    targetPort: grpc
  selector:
    app: text-gen-allam-13b
  type: ClusterIP
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: text-gen-allam-13b
    component: fmaas-inference-server
  name: allam-13b-inference-server
spec:
  replicas: 1
  selector:
    matchLabels:
      app: text-gen-allam-13b
      component: fmaas-inference-server
  strategy:
    rollingUpdate:
      maxSurge: 1
  template:
    metadata:
      annotations:
        prometheus.io/path: /metrics/
        prometheus.io/port: "3000"
        prometheus.io/scrape: "true"
      labels:
        app: text-gen-allam-13b
        component: fmaas-inference-server
    spec:
      affinity:
        nodeAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
            nodeSelectorTerms:
            - matchExpressions:
              - key: nvidia.com/gpu.product
                operator: In
                values:
                - NVIDIA-A100-SXM4-80GB
      containers:
      - env:
        - name: MODEL_NAME
          value: "/fmaas-model-pvc/ibm_models/allam-beta-13b-chat"
        - name: OUTPUT_SPECIAL_TOKENS
          value: "true"
        - name: MAX_NEW_TOKENS
          value: "4096"
        - name: DEPLOYMENT_FRAMEWORK
          value: tgis_native
        - name: FLASH_ATTENTION
          value: "true"
        - name: NUM_GPUS
          value: "1"
        - name: CUDA_VISIBLE_DEVICES
          value: "0"
        - name: PORT
          value: "3000"
        - name: MAX_LOG_LEN
          value: "100"
        - name: ENABLE_LORA
          value: "true"
        - name: ADAPTER_CACHE
          value: "/testing/tuning/output/allam-13b-chat/lora/twitter-test-1234"
        # had to update from shared_model_storage so was writeable for model from HF
        - name: HF_HUB_CACHE
          value: /tmp
        - name: TRANSFORMERS_CACHE
          value: $(HF_HUB_CACHE)
        # The below values may vary by model, this is taken for granite-13b
        - name: MAX_BATCH_SIZE
          value: "256"
        - name: MAX_CONCURRENT_REQUESTS
          value: "256"
        # Below is added for granite-3b-code-instruct model
        # - name: VLLM_ATTENTION_BACKEND
        #   value: XFORMERS
        # to download model from HF add below
        # - name: HF_HUB_OFFLINE
        #   value: "0"
        image: quay.io/opendatahub/vllm:fast-ibm-0158e7c
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /health
            port: http
            scheme: HTTP
          periodSeconds: 100
          successThreshold: 1
          timeoutSeconds: 8
        name: server
        ports:
        - containerPort: 3000
          name: http
          protocol: TCP
        - containerPort: 8033
          name: grpc
          protocol: TCP
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /health
            port: http
            scheme: HTTP
          periodSeconds: 30
          successThreshold: 1
          timeoutSeconds: 5
        # resources will vary by model -- taken for granite-13b
        resources:
          limits:
            cpu: "8"
            memory: 48Gi
            nvidia.com/gpu: "1"
          requests:
            cpu: "4"
        securityContext:
          allowPrivilegeEscalation: false
          capabilities:
            drop:
            - ALL
          privileged: false
          runAsNonRoot: true
          seccompProfile:
            type: RuntimeDefault
        startupProbe:
          failureThreshold: 24
          httpGet:
            path: /health
            port: http
            scheme: HTTP
          periodSeconds: 30
          successThreshold: 1
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: FallbackToLogsOnError
        volumeMounts:
        - mountPath: /granite
          name: ibm-granite-pvc
          readOnly: true
        - name: llama-eval-pvc
          mountPath: /llama
          readOnly: true
        - name: llama-3-pvc
          mountPath: /llama3
          readOnly: true
        # - mountPath: /data
        #   name: fms-tuning
        #   readOnly: true
        - mountPath: /testing
          name: fmaas-integration-tests
          readOnly: true
        - mountPath: /fmaas-model-pvc
          name: fmaas-model-pvc
          readOnly: true
      dnsPolicy: ClusterFirst
      enableServiceLinks: false
      # imagePullSecrets:
      # - name: artifactory-docker
      volumes:
      - name: ibm-granite-pvc
        persistentVolumeClaim:
          claimName: ibm-granite-pvc
      - name: llama-eval-pvc
        persistentVolumeClaim:
          claimName: llama-eval-pvc
      - name: llama-3-pvc
        persistentVolumeClaim:
          claimName: llama-3-pvc
      # - name: fms-tuning
      #   persistentVolumeClaim:
      #     claimName: fms-tuning-pvc
      - name: fmaas-integration-tests
        persistentVolumeClaim:
          claimName: fmaas-integration-tests
      - name: fmaas-model-pvc
        persistentVolumeClaim:
          claimName: fmaas-model-pvc

Output (keep in mind was only trained for 1 epoch):


betamax recorder records responses overzealously

https://github.com/simplereach/ember-cli-betamax/blob/677b815201c6003ef53f9cf33c4f21034a98752f/test-support/helpers/betamax-recorder.js#L45 is
if(!allResponseUrls['url']) {

but I think it should be
if(!allResponseUrls[url]) {

As written, it records every response because allResponseUrls never contains the string 'url' since that's not a valid XHR url.

@jamesarosen sorry I missed this earlier (for some reason my notifications for this repo were off).
Good catch, I was wondering why my cassette just blew over 100MB!


Add support for "useful NPE messages"

This commit adds special handling of null pointer exceptions
in case the current process is running on Java 14+. Without
this hack, the "improved NullPointerException messages" are
not serialized. As a consequence, the daemon cannot display
them, despite being generated on the worker.
Fixes #13096

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test RFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test RFM

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.


feat(healthcheck): Add support to create healthcheck per proctype

Current coverage is 84.79% (diff: 56.66%)

Merging #940 into master will increase coverage by 2.88%

@@             master       #940   diff @@
==========================================
  Files            28         30     +2
  Lines          3051       3091    +40
  Methods           0          0
  Messages          0          0
  Branches        510        526    +16
==========================================
+ Hits           2499       2621   +122
+ Misses          404        311    -93
- Partials        148        159    +11

Powered by Codecov. Last update 105c514...9a28695

I'm seeing many red (not covered by tests) line from codecov - Would want to get that fixed before we merge this


Add reasons for RepairRun ending in ERROR in lastEvent field

When you see that a repair run ended in ERROR, it's never clear why that happened. You have to dig in the logs to try to figure out the cause. The lastEvent field in RepairRun provides no helpful information when an error has occured. The reason for failure should be stored there.It could be a stack trace or something more short and to the point.

After merging #90, can we close this?


"max" mode for Merge Layer and TimeDistributedMerge Layer

Hi,
although keras offers the new LambdaMerge layer I think extending the "regular" Merge and especially the TimeDistributedMerge layer by a "max" mode is a good idea.
Originally, I was interested in a max pooling layer that can pool over the complete input sequence and hence reduces it to a fixed sized vector. This is often done in text classification. However, this is the same as using the TimeDistributedMerge layer with "max" mode.
I am, however, not sure yet if it is sufficient for TimeDistributedMerge to address this issue or if the 1D pooling layers (currently max and average) should offer this functionality as well. The latter would make it semantically more precise.
If you believe that the pooling layers should offer this functionality, too, I can create another pull request with the necessary changes.

Closing outdated PRs following the release of Keras 1.0.


{Monitor}show command should return 3

Fix #12386
History Notes:
(Fill in the following template if multiple notes are needed, otherwise PR title will be used for history note.)
[Component Name 1] (BREAKING CHANGE:) (az command:) make some customer-facing change.
[Component Name 2] (BREAKING CHANGE:) (az command:) make some customer-facing change.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

add to S166.


ASP.NET Core Controller Should Return 400 Instead of 404

When an ASP.NET Core route that also uses URL segment API versioning could be matched, but no route matches the specified the API version, then the controller should return 400 instead of 404.
For example:
/v1/orders

This route exists and returns 200.
/v2/orders

This route does not exist, but the route ~/v{version}/orders could exist. The response in this case should be 400 and not 404.

Fixed with commit 9f5a60521ad250687136a7297bdd7afe4e7400b7


feat: Ability to shift courses dates if deadlines have been missed

Jira Ticket: LEARNER-9781: iOS - Ability to shift courses dates if deadlines have been missed
Github Issues: #161

Light Mode
Dark Mode

Getting response validation failed error for course course-v1:USMx+PGPM661.3x+2T2022 while getting course dates status.
It would be nice if dates status info view appear with animation  like resume course.
Please remove all the temp files pushed like [.mocky3C3F2BD4-1ED2-461C-96E3-33CAE5082F47/.config.yml.tmp](https://github.com/openedx/openedx-app-ios/pull/288/files#diff-ae688431c3fdb1778a03a28b5d0af9281947494db8d4c254fe74bcce1cf97637)

Done with 2nd and 3rd point.
The first one pertains to error handling and should be addressed in a distinct pull request, as it is unrelated to the modifications made in this pull request.

I haven't finished the review yet, but most of the code looks good.
I have a slight concern about this view.
It doesn't look like a notification or alert from the Open edX mobile design system.
Button with no rounded corners, the X button paddings.

@marcotuts @sdaitzman, could you please take a look from a design perspective?

I haven't finished the review yet, but most of the code looks good.
I have a slight concern about this view.
It doesn't look like a notification or alert from the Open edX mobile design system.
Button with no rounded corners, the X button paddings.
image
@marcotuts @sdaitzman, could you please take a look from a design perspective?

@volodymyr-chekyrta Regarding the above message, we are trying to display a message in the form of a snack bar similar to Adroid's native snack bar. Currently, it's replicating what the live application shows and I don't think such a component exists in the schema design system. Let me reach out to marco and sam on slack to finalize the approach for this.

I haven't finished the review yet, but most of the code looks good.
I have a slight concern about this view.
It doesn't look like a notification or alert from the Open edX mobile design system.
Button with no rounded corners, the X button paddings.
image
@marcotuts @sdaitzman, could you please take a look from a design perspective?

@volodymyr-chekyrta Regarding the above message, we are trying to display a message in the form of a snack bar similar to Adroid's native snack bar. Currently, it's replicating what the live application shows and I don't think such a component exists in the schema design system. Let me reach out to marco and sam on slack to finalize the approach for this.

@moiz994 We have this type of view in the profile and a few other screens. Paddings are different, and all buttons have rounded corners. We can discuss it tomorrow at the Mobile Design Weekly meeting.

Thanks for sharing, @volodymyr-chekyrta! I can't find these components in the figma design file but I think the team is updating the snack bar to match this styling.

Thanks for flagging this for design review. I added this to our mobile design weekly agenda for tomorrow, and can add the missing snackbar component in Figma. I also think the background in dark mode should be darker to improve contrast and match the rest of the app, will make sure to include that change in Figma:

@sdaitzman I have implemented the snackbarInfoAlert background to accommodate both darker and lighter modes of alerts. Please assess whether the changes appear to be an enhancement.
Light Mode:

Dark Mode:

Regarding second point of inline upgrade button, it's intentional because:

Mobile payments are not implemented yet and to avoid breaking appstore guidelines, upgrade button is hidden, which leads user to payments

Thanks, @shafqat-muneer. Makes sense about mobile payments.
Unfortunately, using light text on the info background actually has a worse contrast ratio.

I've created an early rough draft of this bottom dialog in Figma this morning, screenshots attached below. I want to run this by the mobile design weekly group tomorrow morning, then will follow up with any design updates to get this unblocked quickly.

@shafqat-muneer, at the Mobile Design Weekly meeting, we discussed and agreed on a design for the "Due Dates Shifted" view/snackbar.
It's coming soon; @sdaitzman is working on it.

@shafqat-muneer here is the proposed design, attached and viewable in Figma. When the user shifts due dates from within the Course tab, the dialog should include the button to View All Dates. When the user shifts due dates from within the CTA inside the Dates tab, the dialog should not include a View All Dates button.
Also want to make sure to note the wider dialog, which helps to distinguish this snack bar view from the content underneath.

In-context within Course tab (Figma link)

In-context within Dates tab (Figma link)

@sdaitzman Thank you for the design review and for providing all necessary details. 👏  I will address the change and share details.

Thanks @shafqat-muneer, this looks great!

👍 🚀 🔥

@volodymyr-chekyrta @saeedbashir Feedback addressed 🎉


Theme colour is green. It is not changed

Need to change the colours to green

Changed services icons color as green

ok

Changed SEND MESSAGE button color as green


[QUESTION] Custom controller

Hi, is there any way how to create custom controllers for the administration?

Hello there @martinfojtik you can create controllers by extending the CrudController base. There is more documentation on how here:
https://laravel-backpack.readme.io/docs/crud-example


Multi-GPU Model fails to detect CPU

When running
p_model = multi_gpu_model(model)
I get
ValueError: To call multi_gpu_model with gpus=4, we expect the following devices to be available: ['/cpu:0', '/gpu:0', '/gpu:1', '/gpu:2', '/gpu:3']. However this machine only has: ['/gpu:0', '/gpu:1', '/gpu:2', '/gpu:3']. Try reducing gpus
Running the following correctly lists all GPUs and a CPU:
from tensorflow.python.client import device_lib
device_lib.list_local_devices()

I have tried :
with and without
os.environ['CUDA_VISIBLE_DEVICES'] = "0,1,2,3,4"
and permutations of those numbers (ie 0,1,2,3)
building the initial model with and without
with tf.device('/cpu:0'):
building the subsequent parallel model with and without
with tf.device('/cpu:0'):
this error only happens on the latest branch, I installed via
pip3.6 install git+https://github.com/keras-team/keras --upgrade --no-deps
and have tried with both TF 1.13 and 1.14

Thank you for the report. I've pushed a fix to that effect to the master branch. Please try again with TF 1.14 and TF 2.0.

Thank you so much!  Running nicely here now :)
On Tue, Sep 10, 2019, 1:15 PM François Chollet<EMAIL_ADDRESS>wrote:

Thank you for the report. I've pushed a fix to that effect to the master
branch. Please try again with TF 1.14 and TF 2.0.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keras-team/keras/issues/13302?email_source=notifications&email_token=AD2TR3UT7Z367MKZXDF6DQ3QI7I3RA5CNFSM4IVIJPV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6L244Y#issuecomment-530034291,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD2TR3QOV2GFUBS7QFTYXLLQI7I3RANCNFSM4IVIJPVQ
.


Agree on an minimum viable product (mvp) with the industry partner

User story

As a software development team
We want to agree on an minimum viable product (mvp) with the industry partner
So that we have a proof of concept at an early stage of the project and can quickly show first results to the industry partner

Acceptance criteria

Agree on a realistic mvp in the first meeting with the industry partner
Document requirements

Definition of done (DoD)

Acceptance criterias are met

MVP requirements after the first meeting with the Industry Partner:

It is possible to create an instance of the mvp using an infrastructure as code tool
The mvp contains:

minimalistic frontend; design is trivial
backend with AWS S3 and database
data processing pipeline
authentication function

First demo use case:

IT staff member creates an instance of the mvp
User authenticates in GUI
User uploads a csv file in GUI
Data is processed by the pipeline: As a first demo, the rows of the csv file could be counted and stored as metadata in the database. The csv file itself is stored in an AWS S3 bucket

Sprint 1 have been finished, but re-assigning to sprint 3 as we have meeting with our industry partner on 9 November 2023


Customize space between accordion items

I'm not sure what you mean by this, but I suggest you use custom css.


Prototype 3: Transparent Multi-Cluster End-User Demo

Prototype 3 Themes

Use Workspaces and API inheritance to run real apps
Real apps can run in multiple Locations
Apps have resilience to compute failure

Demo Objective
User has a multi-cluster placeable application that can move transparently
Demo Steps

User begins journey with a KCP URL of a hosted KCP instance.
User kubectl krew-installs kcp plugin.
User logs into the cluster with kubectl kcp login <url> and some OIDC authn (e.g. Github)
User lands in a default workspace.
User creates a stateless web application
User decides to migrate the app between Locations for Reasons

Option 1: Admin is upgrading the cluster with downtime
Option 2: Cluster is out of capacity
Option 3: Cluster hard fails

Client-facing traffic sees no interruption (?)
Client has a multi-location security problem (needs a cert to access some external resource), THUS needs the API End-User Demo

Action Items

[ ] Scope the current demo as necessary to fit in prototype boundaries
[ ] Create and link required tasks to realize demo
[ ] Contribute to final demo script and recording

Notes from discussion:

User logs into the cluster with kubectl kcp login  and some OIDC authn (e.g. Github)

if there is an existing kubectl login plugin we should just use it

User decides to migrate the app between Locations for Reasons
Option 1: Admin is upgrading the cluster with downtime
Option 2: Cluster is out of capacity
Option 3: Cluster hard fails

Do these specific options matter for the purposes of the demo? vs just forcing a move from one cluster to another? afaik today we aren't even targeting allowing a 'User' (vs an admin) to choose a cluster to deploy to let alone migrate between - workload is just deployed to available compute (ala the 'Transparent' adjective of TCM).

Client has a multi-location security problem (needs a cert to access some external resource), THUS needs the https://github.com/kcp-dev/kcp/issues/416

Any context on why this is part of this flow?

Client-facing traffic sees no interruption (?)

@jmprusi Thoughts as to what will be required to demo this? I know this can work with a cloud lb, but will that also be required for ci or is there a lighter-weight way to ensure this flow is tested once supported?

I believe the reason is to create a narrative for the demo. It will be used as justification for an admin to remove a the cluster from the user's workspace to force a migration.

I guess I don't really get the point of forcing a specific narrative before we have actual implementation. Maybe it's supposed to be motivating, but it feels forced to me.

I don't think we need to decide on a specific migration reason at this point.  Just that it means we need to demo workload migration by removing the cluster running the demo workload.

"I need access to CUDA compute, so I move to a different data center" :)

Client-facing traffic sees no interruption (?)

@jmprusi Thoughts as to what will be required to demo this? I know this can work with a cloud lb, but will that also be required for ci or is there a lighter-weight way to ensure this flow is tested once supported?

So... let me braindump (sorry) here:

Something triggers a cordon (unschedulable: true) and drain (eviction?) (step 6), so the scheduler needs to have some notion of those concepts
The scheduler has to also "add" the workload into the other location (without taking down the current one), so we need a way to specify multiple scheduling locations (currently we use an annotation with a single cluster and we don't have anything handling multiple locations...), so temporary it should duplicate the workload to another location.
The ingress-controller, follows the service, so if a service "targeted" by an ingress has a new location, the controller will create a new leaf for that new location, two in this case.
Once the new Ingress/service/deployment is running on the other cluster, the controller should configure Envoy to send traffic to both places, lb between them.
And now, we should coordinate properly between the ingress and the scheduler... this is tricky. But ideally, as the ingress-controller can see that a workload is going to be retired (assigned to a location that is in draining mode?) it should move all the traffic to the non-draining location, and remove the draining location from the balancing...

this gets really tricky when we add long-running connections, WebSockets or so... also a more advanced scenario would be to use the cluster gateways information to understand when the traffic has fully switched and then take down the workloads etc..

User decides to migrate the app between Locations for Reasons

If the reason is "the cluster is deleted", then this is effectively not demonstrating anything different from prototype 2 AFAIK. (That may be fine, for scoping down this prototype)
If the reason is "my pcluster scheduling constraints changed", then we need to design and implement scheduling constraints, which feels like a heavy lift. Same for designing and enforcing capacity as a scheduling constraint.
Maybe the best compromise is having the demo say "I've decided to manually move my app to europe-west to be closer to customers", which demos manual cordoning, eviction, etc., which ingress can react to with a more graceful, slower cutover. This also means we don't have to design/implement triggering that slow move automatically in response to TBD scheduling constraint changes, and leave that for P4+.
It also means a future demo of "my app automatically detects it would get lower end-user latency by moving to europe-west and triggers that itself" is a natural automation of a previous demo milestone, should we ever get to that point.

afaik the very concept of Locations is a topic of discussion. Maybe that should be the target for P3 - defining the mechanics of a cluster-abstraction concept (i.e. Location) at the workspace level that allows admins to hide the details of physical cluster association?
I'm still not clear what the Location abstraction implies wrt associating a given kcp namespace with compute capacity. I've been party to discussion suggesting that a given workspace could 'inherit' Locations from other workspaces and that a workspace would define a default Location for scheduling purposes.
It's less clear to me how a user would indicate their intent to prefer one location over another - is this 'scheduling constraints'? Without scheduling constraints, what mechanism would a user have for switching from one Location to another to satisfy P3? Or when we say 'user' do we really mean an 'administrator' that would have permission to remove a Location such that a namespace associated with it would be forced to be scheduled to another Location?

this gets really tricky when we add long-running connections, WebSockets or so... also a more advanced scenario would be to use the cluster gateways information to understand when the traffic has fully switched and then take down the workloads etc..

What's the best way to demo this then? In terms of stateless app it could be as simple as ngninx serving hello world... But again, what endpoint will we be targeting for demo that will ensure seamless handover between the application on one cluster to the application on another?

I'm still not clear what the Location abstraction implies wrt associating a given kcp namespace with compute capacity.

Same, I think it's under-designed so far. We don't really have a plan for limiting what the syncer can sync to a cluster, or bubbling up "syncer doesn't have capacity" to kcp. We would bubble up "workloads on the pcluster are unschedulable", whether that's pcluster-wide resource exhaustion or pcluster namespace quota limits. But so far we don't have anything that would limit a workspace's footprint on a pcluster, or even really where that enforcement happens (pcluster-scheduling-time? syncing time?)

It's less clear to me how a user would indicate their intent to prefer one location over another - is this 'scheduling constraints'?

Also under-designed at this time. At a high level users should say "put this workload where there's CUDA resources", or even more simply "put this workload in any N of M locations", but the language for that is still TBD. Clayton's talked about reusing node scheduling hints for pcluster scheduling, but I'm not convinced that's a good idea.

Without scheduling constraints, what mechanism would a user have for switching from one Location to another to satisfy P3? Or when we say 'user' do we really mean an 'administrator' that would have permission to remove a Location such that a namespace associated with it would be forced to be scheduled to another Location?

In the absence of a constraint language and automatic enforcement mechanism, we can at least demo "manually cordon us-east (by annotating it)", instead of P2's "forcibly unplug us-east", which would demo a more graceful rescheduling that allows the Ingress to move over without downtime.

What's the best way to demo this then? In terms of stateless app it could be as simple as ngninx serving hello world... But again, what endpoint will we be targeting for demo that will ensure seamless handover between the application on one cluster to the application on another?

This could demoed with a job pinging demo.example.com/hello every 100ms, that doesn't see any 5XX errors while in another window we see the deployment shift replicas from Location A to B. WebSockets are harder, so let's just ignore them for now.

This could demoed with a job pinging demo.example.com/hello every 100ms, that doesn't see any 5XX errors while in another window we see the deployment shift replicas from Location A to B. WebSockets are harder, so let's just ignore them for now.

How is this going to work across multiple clusters? How do we enable transparent switching between applications in multiple clusters, except with some kind of intermediary (e.g. proxy).
To be clear, I'm looking for a way to validate this in CI as a precondition for having this be demoable, but likely a ci-testable option would work equally for demo.

How is this going to work across multiple clusters? How do we enable transparent switching between applications in multiple clusters, except with some kind of intermediary (e.g. proxy).

The steps for that are roughly what @jmprusi describes in https://github.com/kcp-dev/kcp/issues/415#issuecomment-1033967052
The pcluster being cordoned triggers the scheduler to duplicate the workload on some other cluster, including service+ingress, and the previous cluster's ingress proxies to the new one until some cutover.
It's quite a bit slower than just pulling the plug on the old cluster -- and might be slow enough that it means we can't practically cover it in CI -- but that's the price of zero downtime. I think we could even punt on total zero downtime if it's ~1s or something, and we can demonstrate that a more graceful reschedule than what P2 does today.

The pcluster being cordoned triggers the scheduler to duplicate the workload on some other cluster, including service+ingress, and the previous cluster's ingress proxies to the new one until some cutover.

It's quite a bit slower than just pulling the plug on the old cluster -- and might be slow enough that it means we can't practically cover it in CI -- but that's the price of zero downtime. I think we could even punt on total zero downtime if it's ~1s or something, and we can demonstrate that a more graceful reschedule than what P2 does today.
I'm more than a little surprised that local proxying would be an end-goal here, or that it would be a reasonable way of ensuring zero-downtime.
@smarterclayton Maybe you can chime in as to your expectations?

I'm more than a little surprised that local proxying would be an end-goal here, or that it would be a reasonable way of ensuring zero-downtime.

I don't think local proxying is the end-goal at all, just a step along the path that's achievable in the immediate timeline.

Right, let's keep in mind that we are exploring concepts that allow us to show a compelling vision of the value of something like KCP and enable others to poke at it for their use cases.  We have to balance that need with what we think the long term engineering solutions may be.

cc @s-urbaniak for the authn aspect of this story and also to sync our view on "User lands in a default workspace". What does "land in" mean after a login command.

Demo Steps

User creates a stateless web application, which is assigned to a PCluster (as in P2)
PCluster admin wants to perform maintenance on the cluster, but limit workload disruption
Admin marks the cluster as cordoned (Unschedulable: true) -- new workloads are not assigned to the cluster
Admin marks the cluster as drained/draining (Evict: true) -- existing workloads are rescheduled to another cluster, with some observed downtime
With no workloads now scheduled on the cluster, the admin is free to operate on it, upgrade it, uninstall syncer, delete the cluster, etc.

@ncdc @robszumski

This issue title seems kinda of related to 2.1/2.2 in the transparent multi-cluster use case doc: https://docs.google.com/document/d/1LeYMt4I1No1W-tj6LCPuXE7kTSD-uggC8IRI6DVpHOM/edit?hl=en&forcehl=1#heading=h.kmn31tiyv4vs
Should we also be able do a simpler demo where something like a LogicalClusterPolicy is updated to run a stateless app in multiple clusters?  Seems like being able to run an app redundantly is the first step you need before you can move it without downtime.

@chirino this has been scoped down to the updated set of demo steps now seen in the issue description. The net new features here are the cordoning and draining of a physical cluster.
Cluster placement/scheduling policies will come later, via separate issue(s).


zooming effect is not working in mobile screen

The zooming effect is not working on the mobile screen. In the computer screen its works perfectly

Yeah, there's currently no support for touch screen events. Not sure how well I can get all the modes to work for touch screen but I think at least one of them should work. I'll look into adding some support.

any news about this issue?

Does Zooming image works for mobile also . can suggest any other alternatives to zoom image in mobile view


Feat: Relay status from img builder

Depends on #38

This is getting a weird diff from main, I'm opening a new PR


Unify dataparser and method discovery

Consistency here makes sense to me. I guess we'd also want to update the docs?

I have updated the docs.


Update sbt-scalafix to 0.9.31

Updates ch.epfl.scala:sbt-scalafix from 0.9.21 to 0.9.31.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala", artifactId = "sbt-scalafix" } ]

labels: sbt-plugin-update, semver-patch

Superseded by #1420.


How to parse strings with commas in them

I get a "too many columns" error when trying to parse a string with comma in it. However, I can't escape this string in the CSV because it is a valid WKT string (and read by other tools reading this CSV file).
My CSV looks like this:
id, wkt
0,"POLYGON ((1 0,-1 0,1 0))"

You want to use the following to construct your CSVReader
io::CSVReader<2, io::trim_chars<' ', '\t'>,  io::double_quote_escape<',', '"'>> inFile("testfile.csv");
(Tested on XUbuntu)


Consider cutting a new release.

With addition of kernel backup and restore for snapshots it might be a good idea to cut a new release.

Planning on doing a little more testing tomorrow to confirm everything is solid and then releasing 0.1.2. Thanks for the prod @GregoryLand


SuperCardFloatingToast

Extends SuperCardToast to behave different (displays over current view)
SuperCardToast changed to make extensions easier (hooks functions)
SuperCardFloatingToast extends SuperCardToast and change behavior overriding hooks.
SuperCardFloatingToast inflates an static LinearLayout over current view and insert each Toast inside it

Igvalle,
Thanks for the feature request. I added similar functionality in the version 2.0 overhaul. Unfortunetly, there is no longer a SuperCardToast class. All SuperCardToast functionality has been absorbed into the SuperActivityToast. Additionally, a feature very similar to this was added in version 2.0. I really appreciate your work and effort to make this library better.

John


"Use Legacy Swift Language Version" is required

Since I upgraded XCode to version 8, I can't build my (Objective-C) project any more.
I have one issue in the Stormpath pod:
“Use Legacy Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
And the file Stormpath-Swift.h is not found in files where it was imported.
I'm using branch swift3.

Hey @olivierkorner, I'm finalizing the update for Xcode 8 today. I think I tested the example project with either the swift2.3 or swift3 branch and it seemed to fully work; I need to look into Cocoapods's settings for the legacy Swift version though, since I don't think it's generating that flag for Xcode projects.
I believe for now, if you enable it manually in the pod project, you should be able to compile with the current swift3 branch.
Screenshot on where to look:

@edjiang Thank you!
Actually, I was able to compile my project successfully after upgrading cocoapod to the latest pre-release (1.1.0 RC1) and using swift2.3 branch.

There's an official 2.0 tag that's now fully Swift 3 =] Check it out!


[DC-1832] Accept path to hpo_site_mappings.csv as argument to add_hpo.py script

@nishanthpp93 Thanks for catching that, I added the docstrings.


Remove commented code

Codecov Report

Merging #452 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master    #452   +/-   ##
========================================
  Coverage      99.7%   99.7%
  Complexity     1033    1033
========================================
  Files           163     163
  Lines          3440    3440
  Branches        189     189
========================================
  Hits           3430    3430
  Partials         10      10

Continue to review full report at Codecov.

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


follow up PR #8

All great, thanks!
We should not forget to search and replace genvrp by hgs in the README.md (can be done later)


progress component height can not working

http://daemonite.github.io/material/docs/4.1/components/progress/#height

change progress height style but always default. The official bootstrap framework can work.

This may not be very easy to achieve mainly because progress bar's label (http://daemonite.github.io/material/docs/4.1/components/progress/#labels) has to be displayed above the bar based on Material Design guideline instead of inside the bar like Bootstrap. As a result, I had to use border-bottom rather than background-color to style the bar.


docs.rs failed to build revm-3.5.0

Looks like docs.rs failed to build 3.5.0
I think something in the revm-primitives build process is trying to write some files to the file system which is read-only
build logs
available here
# rustc version
rustc 1.74.0-nightly (3223b0b5e 2023-09-20)
# docs.rs version
docsrs 0.6.0 (4635eb74 2023-09-25)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/revm-3.5.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/revm-3.5.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2023-09-21" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230920-1.74.0-nightly-3223b0b5e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 1eb349922e1942eb1383e6990db1039d99960a8e7064c37d02d90cf7afdfc3ac
[INFO] running `Command { std: "docker" "start" "-a" "1eb349922e1942eb1383e6990db1039d99960a8e7064c37d02d90cf7afdfc3ac", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling alloy-rlp-derive v0.3.3
[INFO] [stderr]    Compiling c-kzg v0.1.1
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling auto_impl v1.1.0
[INFO] [stderr]    Compiling revm-primitives v1.3.0
[INFO] [stderr] error: failed to run custom build command for `revm-primitives v1.3.0`
[INFO] [stderr]
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/revm-primitives-78ab0d65540cc3e0/build-script-build` (exit status: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-changed=src/kzg/trusted_setup.txt
[INFO] [stderr]
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/revm-primitives-1.3.0/build.rs:64:73:
[INFO] [stderr]   called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" }
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "1eb349922e1942eb1383e6990db1039d99960a8e7064c37d02d90cf7afdfc3ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1eb349922e1942eb1383e6990db1039d99960a8e7064c37d02d90cf7afdfc3ac", kill_on_drop: false }`
[INFO] [stdout] 1eb349922e1942eb1383e6990db1039d99960a8e7064c37d02d90cf7afdfc3ac

PR merged. Until release you can access docs here: https://bluealloy.github.io/revm/docs/revm_primitives/index.html

Can this issue be closed?


Add motor calibration

The command moves the camera all the way to the endstops, then recenters it.
It is required for accurate PTZ control if the camera has been manually rotated, since it uses "dumb" DC motors

Whoops, totally forgot about this.
assert result["error_code"] == 0

Well, there's no need for that, since performRequest would throw an exception otherwise:
https://github.com/JurajNyiri/pytapo/blob/87dbd0cbf2285b51051a42099120af72bc0563c1/pytapo/__init__.py#L99-L118
https://github.com/JurajNyiri/pytapo/blob/87dbd0cbf2285b51051a42099120af72bc0563c1/pytapo/__init__.py#L81-L91


ENH: Added 3 measures of association for nominal data

Added measures of association for nominal data to contingency stats module. Measures added include Tschuprow's T, Cramer's V and Phi. Measures are individual specified by values of the 'stat' argument (as 'T', 'V' or 'phi', respectively) within function scipy.stats.contingency.association_test.
These measures can provide useful information about variable independence to those performing chi-squared tests or categorical data analysis in general. Each of the measures is empirically estimated using the chi-squared statistic which, is automatically determined if the 'chi2_stat' argument is not specified. Also included is an option to apply a proposed method of bias correction developed by Bergsma (2013) [full reference included in code docs]. Lastly due to the measures requiring the specification of the number of rows and columns in the contingency table, a private function was added to reshape the any array that exceeded two dimensions to an N x N array.
Tests were created for all included measures both with and without bias correction.

Note: the Travis CI failures from ndimage are due to https://github.com/scipy/scipy/issues/8145. You don't need to try and fix them here. It's fine if the CI failures aren't due to your code.

@person142 Thanks for letting me know.

Will the review process for my code be put on hold until there is a fix for this issue?

No, we still merge code in situations like this when it's clear the failures are unrelated.

@person142 Now that my PR is passing all the checks, I am just wondering if there is anything I can do to help the review process along?

I can't really think of anything. I am not knowledgeable enough on the topic to review it myself, so you'll have to wait until a reviewer with more stats knowledge has some free time. If a while goes by with no word from anyone (a couple of weeks or so) then you can bump. (Sometimes PRs have a way of slipping from the mind...)

@josef-pkt

The array reshape is necessary to handle an ndarray because both functions explicitly require number of rows and number of columns. Since the number of rows/columns is not so easily determined in an array that is, for example, 4x4x2x2, it was necessary to restructure the array to fit an NxN format. In reality, I can't imagine a circumstance in which a contingency table would have more than two dimensions but I was just looking ahead for users with strange datasets.

What about just 'association' for the name of the function? I agree that '_test' isn't exactly right - I went back and forth myself.

I can't find a name for them either although, they may have some practical applications outside of contingency tables. However, given their integral nature to the functionality of contingency tables I guess this is the place for them. That is why I put the measures of association here. Because the formulae use the chi-squared statistic. If this is incorrect let me know.

I updated the script with the changes you recommended. Thanks for looking it over.

to 1: If there is no clear interpretation and definition for larger than 2-dimensional tables, then raising a ValueError might be more appropriate.
E.g. if I have a stratified 4x4xk contingency table, then I might want to have a separate or average association for each strata, ie. vectorized/looped over the extra dimensions. (I'm just guessing.)
If we have independence in a arbitrary k-dimensional contingency table as reference case, then it might be an appropriate overall association measure. (Also just guessing.)
to 3. Having association in the stats name space is fine and the proper location. However, IIUC, the intention was not to have margins and expected_freq in an unqualified stats namespace.
@WarrenWeckesser
association might be a bit too general given that all correlation measures are measures of association, and this measures are only defined for nominal data. (I don't have a strong opinion about this.)

@josef-pkt Sorry for the belated response. Your comment about stratified analyses made a lot of sense to me so I changed a lot in the function. I changed the function so that it looks for fixed size 2d arrays inside a Nd array. Then does a test for association on all the subarrays - returning an array of association stats as the output. The returned array is in the form of (N-1)d . I also changed the namespace so that the "association" function is bound to contingency. Let me know what you think.

@josef-pkt P.S. The final check from Travis failed due to a system configuration error.

Have these changes been merge into master yet? It's been two years, and post-hoc tests like Cramer's would be very helpful.

No, unfortunately not, it seems to have fallen off the radar. Comments from the first round of review seem addressed, and the code looks like it's in decent shape. So I've added a milestone 1.4.0 (next release), so that we will look at it again before then.
stats.contingency was written by @WarrenWeckesser IIRC, so hopefully he has some time to look at this.

@rosstripi @rgommers Glad to see there is renewed interest in my forgotten PR . Since my fork was very old I thought it made sense to merge before continuing and fix any errors that arise. I also added Pearsons Contingency Coefficient for solidarity. If you have any questions, comments or suggestions please don't hesitate.

I'll take a look, but I might not get to it until this weekend.

@WarrenWeckesser It would be wonderful if you are able to find time to take a look. I have no idea how to fix the odd travis-ci errors - even though they did seem to occur after I added an exception handle verifying the data input type, but I cant imagine how that causes the errors being reported.  Lastly, I am pretty sure the circle-ci is not an issue with my commit but any guidance would be much appreciated.

@dtemkin, looks like I'll need a few more days to get up to speed on these tests, and to understand your proposed API.   After a quick look, I suspect I'll have similar questions to those asked by @josef-pkt.  It looks like all these tests are for two-way (i.e. "R x C" or two-dimensional) contingency tables, so the API is confusing at first glance--maybe it will make more sense when I've spent some time with it.
Some time ago, you said

In reality, I can't imagine a circumstance in which a contingency table would have more than two dimensions but I was just looking ahead for users with strange datasets.

That's just an n-way table, where there are more than two factors.   chi2_contingency can handle more than two factors.  There is a four-way example in the chi2_contingency docstring.

@WarrenWeckesser Thanks for taking the time to review it. You are right that all of the measures are intended to handle 2d matrices. If it helps, this is the way I handled the issue of an nd-matrix:
consider an k-dimensional matrix with shape (r, c, k). I recursively loop through the input matrix looking for sub-matrices of size (r, c). Basically a recursive traversal across the number of dimensions. The specified metric is then run on each of these (r, c) matrices , and then the results are reshaped so that it conforms with k. The function 'find_subarrays' achieves this.
If there is an issue with my treatment of n-dimensional, I am more than happy to change this such that the function will only accept 2d matrices but I think my handling is correct, I am not condensing any information, I am just considering that each column is already representative of itself and each dimension.
I hope this helps let me know if there is anything I need to change or alter before it can be merged.

Seems like positive feeback from reviewers here, but still some potentially complex discussion, 500 new lines of code, and a long period of inactivity.

Hello all,
I have made some major changes to my PR. I drop the component which allowed the user to pass a nd-matrix to the function and now I just accept n_obs, n_rows, n_cols, and chi2_stat as function parameters and use those to determine the specified association stat. I also eliminated the bias correction function due to a lack of uniform support and additional complexity without commensurate benefits. Anyway, I hope this makes it easier to approve my PR.
Let me know if there are any other changes I can make to move the process along.
Thanks
Dan

Not familiar with the PR so difficult for me to say. I’ve flagged for follow up this weekend if no one gets to it before then. Thanks for the ping.
Sincerely,
-Lucas Roberts

On May 19, 2020, at 7:36 PM, Tyler Reddy<EMAIL_ADDRESS>wrote:

@tylerjereddy commented on this pull request.
@WarrenWeckesser @josef-pkt @rlucas7 Does this PR stand a chance of getting merged before we branch in ~1 week?
In scipy/stats/contingency.py:

-all = ['margins', 'expected_freq', 'chi2_contingency']
+all = ["chi2_contingency"]
Still a valid request for change here, I think.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

This PR has been inactive for 6 months--I'll likely have to bump the milestone if the activity does not pick up soon.

@tylerjereddy @josef-pkt @rgommers  Sorry this has taken me so long I fixed the code associated with the changes requested. I am still getting an error with azure (due to some formatting errors in the doc string of scipy.optimize.linprog) and circleci (not sure what is going on here).  I am not certain what I can do to address these problems but if there are any further changes that need to be made please dont hesitate to reach out.

Looks like this is going to need some git surgery, a number of unrelated changes crept in.

@dtemkin it looks like your commits don't need to be preserved, maybe you could just start a fresh branch based on current master, recommit all your changes there, and push it back to this PR?

@rgommers So I totally get the function of what you are asking I am just unclear of how to execute it. Are you saying I should make a new branch with scipy:master and then merge in my changes? Wouldn't all the commits follow me from my current base to the new branch?
I apologize again for being a rube I am not very good with git.

Are you saying I should make a new branch with scipy:master and then merge in my changes? Wouldn't all the commits follow me from my current base to the new branch?

Indeed. What I was suggesting was just creating a fresh branch, and recommitting all your changes. Either just copy them manually, or (starting on this branch):
git reset --mixed master
git add <files with changes you want to keep>
git checkout -b assoc-measures
git commit
git push origin assoc-measures:resolve_conflicts

That would get rid of all existing commits, and update this PR to contain just a single new commit with all the code changes you want.

continued in gh-13153


Set up controller Rails Project.

In this project:-

I created all controllers and views for your Blog app. As I won't be processing any data yet, I added simple placeholders for your views with plain HTML.

Requirements.

For each URL you should create:

A route.

An action in the correct controller.

A view file.

View files should include only placeholders written in plain HTML

Here is a list of posts for a given user

Make sure that you added code to handle only the 4 required URLs.

Thank you for reviewing my project!!!

Hello @juaryimami, I mistakenly approved your PR in the dashboard, please note that this issue will be reverted soon and will reflect on your dashboard. I see that you have merged this PR, you might be required to unmerge the PR and wait for approval on the changes I Suggested before finally merging again. I am deeply sorry for any inconvenience. Please accept my apologies 🙏

Hi @juaryimami - your dashboard has been updated, and you can now request another code review as soon as you are ready.
Apologies for any inconvenience caused.


Blog app - integration specs for views and fix n+1 problems

Blog app - integration specs for views and fix n+1 problems
In this request we majorly added:

Make sure that the N+1 problem is solved when fetching all posts and their comments for a user

Before

After

Dear @Lameck1 ,
We began where the last milestone ended and continued in accordance with the first submission of our PR request. I believe you want us to build a new repository. Without the advancement from the prior weeks, how can we accomplish this? I'm not sure how to handle your request; it's confusing. Please provide more details. I submitted the prior PR since a reviewer recommended it. This was the initial PR.
with regards,

@akos29 - The issue has been addressed in this PR.
Thank you.


Python

I think you would have a lot of success if you had a python tool available @ pypi.  From a systems admin perspective, this format could be very useful.  A good deal of text based object configuration goes on, and on a daily basis.  YAML is fine sure, but why not have the option to try something else.
Python has a pretty active community.  If you just threw together something scrappy, I'm betting people would clean it up pretty quickly.
The JavaScript community is going to be naturally hesitant to something like this.  Mainly because it is "suggestive" about standards.
Just a thought!

@Rast1234 That's great! What are you using as a base?

@Rast1234 That's great! What are you using as a base?

@howardroark interesting project.

@howardroark interesting project.

It is a really powerful tool (inspired by cfengine).   You define your machine state as text based objects which are parsed using the Jinja2 template engine at runtime.  Right now I use YAML, but it can start looking really awkward when broken up in templates because of the whitespace requirements.  With HJSON I could ensure that the whitespace works for reading the file before it is parsed.  If that makes sense!

It is a really powerful tool (inspired by cfengine).   You define your machine state as text based objects which are parsed using the Jinja2 template engine at runtime.  Right now I use YAML, but it can start looking really awkward when broken up in templates because of the whitespace requirements.  With HJSON I could ensure that the whitespace works for reading the file before it is parsed.  If that makes sense!

I just pushed a Hjson parser to https://github.com/laktak/hjson-py - please take a look!

I'll check this out! Smart idea forking simplejson and leveraging all the python jazz!

I made an issue with Salt to see if there is any interest in that community... https://github.com/saltstack/salt/issues/19374
:)

@Rast1234 I hope you'll find it useful! Could you run some tests on it?
Also if you have time, dump still needs to be implemented ;-)

hjson-py is now fully implemented in v1.4 :-)


Question: Using SignalR with Bare Websockets

Hi,
I am trying to connect from a javascript client to a hub without using SignalR client.
For example using the browser websocket :
var mSocket= new WebSocket("ws://www.example.com/myHubName")
I tried to follow this sample  but I cannot connect or send messages to a hub like this
The only way that makes this work is by using an approach like this ConnectionHandlers that doesn't seem to use SignalR but an implementation of a "custom WebSocket".
So, there is a way to connect to a SignalR server without using the dedicated client? Or I need to implement a custom ConnectionHandler like one in the example. Am I missing something?

If you want to use raw websockets with hubs then you need to implement the hub protocol. Using the ConnectionHandler requires implementing a custom protocol.

Thanks for your answer.
Another question: there is a way  to implement a server websocket with SignalR without the hub's functionalities (es. call client's functions) but just use SignalR for example to manage connections? Or i need to implement my websocket using Microsoft.AspNetCore.WebSockets package?

Another question: there is a way to implement a server websocket with SignalR without the hub's functionalities (es. call client's functions) but just use SignalR for example to manage connections?

Yes you can use the ConnectionHandler layer for this.

So basically i need to implement a ConnectionHandler similar to [this one] (https://github.com/aspnet/SignalR/blob/release/2.2/samples/SocialWeather/SocialWeatherConnectionHandler.cs) in the sample where the connections are stored and managed with a list right?
In that case, when does SignalR come into play? I do not seem to use this library in any way

So basically i need to implement a ConnectionHandler similar to this one in the sample where the connections are stored and managed with a list right?

Yep. Also that example is very basic. There are thread safety concerns. Transport isn't thread safe. So multiple threads can't write to it at the same time.

In that case, when does SignalR come into play? I do not seem to use this library in any way

That's right, SignalR itself is built on top of the same infrastructure. For e.g. here's the HubConnectionHandler as an example.

Ok, now I have much clearer ideas. Thank you for your patience and time


feat: implement romberg's method

Summary
TODO

Necessary follow-up:

[x] Needs documentation: explain why sometime feature why sometime not
[x] Needs testing

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 1.63934% with 60 lines in your changes missing coverage. Please review.

Project coverage is 80.34%. Comparing base (ea85527) to head (38883a1).

Files with missing lines
Patch %
Lines

integraal/src/structure/implementations.rs
1.63%
60 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##            trunk      #30       +/-   ##
===========================================
- Coverage   94.36%   80.34%   -14.02%
===========================================
  Files           3        3
  Lines         337      402       +65
===========================================
+ Hits          318      323        +5
- Misses         19       79       +60

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


pin dependencies for deterministic CI / dev builds

Fixes #137.

Pull Request Test Coverage Report for Build 98

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.492%

Totals

Change from base Build 97:
0.0%

Covered Lines:
466

Relevant Lines:
488

💛  - Coveralls


Unable to generate Sequence Diagram - macOS

Step 1: Create a d2 file
Step 2: Create a dictim file which contains style.
Step 3: Run the dictim command to generate the d2 file.
Step 4: System generates the generatedD2File.txt file without any issues.
But expected d2 file is attached. Please check it out.
Step 5: Open the above generated d2 file. The shape: sequence_diagram is missing from line 1
Step 6: Convert the generated D2 file from step 4 to png.

But expected diagram is the one like the below one

Hi, Pretty sure this is the same issue is #5, which is now fixed (but unreleased). Please read through and check that you can agree. You can pull the latest (unrealised) sha and test for yourself in the repl (rather than the command line since this is unreleased).
In the old pre-fix code, the sequence_diagram attribute was getting removed post parse and just before the application of the template. In the new version, that is no longer the default behaviour.
I do this this is worth testing though just because sequence_diagram is a top level attribute and though I'm confident it is no longer being removed, not 100% sure that when top level attributes ('directives') are faithfully merged. Worth a test. If still an issue, I will fix

The relevant code is here https://github.com/judepayne/dictim/blob/main/src/cmd/dictim.clj lines 355-359

I've confirmed that this is fixed by the fix to #5 - it's the same issue, so closing this


Descending order not practical when sorting by Date

Just did an update, and saw the new(?) sort feature.
I would like to sort most of the taskboard by date to have items with a due date stay on top of the lanes.
This also works, but unfortunately the sorting is in descending order. I guess this is due to the fact that when sorting by "importance" this makes sense.
I would like to suggest to either set the sort order for "Date" to ascending. For me personally setting this order for Date as fixed would be sufficient, as I cannot think of a usecase where I would like to see the least pressing things on top. However on alternative could be to make the order for each sort key configurable.

I am working on this. Will provide a pull request.

Sort option wasn't documented as I wasn't happy with the behaviour of the sort function in Outlook API ..  I was thinking to do same javascript/array sorting, but you were quicker.. thanks 👍


Fix for #10779 to clean build to work in SSDT post ADS build

This PR fixes #https://github.com/microsoft/azuredatastudio/issues/10779
This was happening to due generated assests.json - adding a after clean target for the same to be called at rebuild and clean tasks.

Coverage decreased (-0.05%) to 34.473% when pulling bc188bba05454800a83418ca3ea2b6e7fd36d991 on bug/cleanobj into f862d77f34d3c2698c710b22b33f3c55ee4a909f on master.


net: no IO deadline support for Plan 9

See https://github.com/golang/go/blob/master/src/net/fd_plan9.go#L210.

This is basically a dup of #7237
/cc @0intro to decide whether to keep

Yes, this is the long-standing issue with network i/o cancellations.
We can't implement deadlines as long as we don't have a reliable
way to cancel network connections.

@0intro, I think https://go-review.googlesource.com/c/22144/ might've fixed a number of the I/O timeout bugs, but I didn't have time to check which ones. Can you investigate and remove some t.Skip calls from the net and net/http packages if possible?

I've noticed some tests that could be enabled. I'll do a full review of the disabled tests,
then I'll send the changes, once CL 22144 will be submitted.

What remains here?


New version: Ryujinx.Ryujinx.Ava version 1.1.1207

Pull request has been created with komac v2.1.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

No errors to post.

(Automated response - build 795.)

@wingetbot waivers Add Validation-Executable-Error

@wingetbot waivers Add Validation-Executable-Error


Direct communication via chat

Some projects I know of are using some communication ways like Rocket chat / Slack / Matrix / IRC / Discord (the latter seems more used but I became skeptical about commercial driven communication services), could be also the case for Lite XL?

Yeah; this was discussed a bit back. I think the consensus is that the community's not big enough.
I'm happy enough to join/create a discord server, though. We seem to be growing fairly quickly.
Here: https://discord.gg/SR4ArdYr?

@adamharrison I did https://github.com/redtide/lite-xl/tree/discord-badge#lite-xl if OK (see comment in chat)

I was a little bit in the chat. It was nice to be there but unfortunately I don't have enough spare time in this moment.
You are welcome to add the discord channel in the readme page. I will try to be in the discord channel from time to time.

Thank you, I guess I could close this now after #230.


[Feat]: New project

Is your feature request related to a problem? Please describe.
A new python project AI game where the AI tries to guess a number chosen by the player
Describe the solution you'd like.
AI will make guesses and adjust its range of guesses based on the player's feedback
Describe alternatives you've considered.
AI will make guesses and adjust its range of guesses based on the player's feedback
Show us the magic with screenshots
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

@avinashkranjan Please assign me this issue

@avinashkranjan Please assign

/assign


Home page need to be fixed

The background is not visually appealing
and the text colors on the home page clash, making it a bit difficult to read. I wanted to change it make it look more better

I could enhance the appealing feature, as i am an artist, i would like to work upon this issue. Plz do assign me @TeeWrath


Use of namespaces in OpenIGTLinkIO

I had a discussion with @lassoan regarding the use of the igtlio namespace.
We were considering allowing OpenIGTLinkIO to be Python wrapped, which would provide access the interface either directly in Python (by installing using pip), or using the Python interface in Slicer. It's my understanding that classes in namespaces currently cannot be wrapped by VTK, which poses an issue.
Basically, we were wondering what people's opinions were of the benefits having the OpenIGTLinkIO classes in their own namespace rather than using igtlioXYZ naming convention.
Thanks!
@tokjun @leochan2009 @drouin-simon @adamrankin

I have no problem switching back to igtlioXYZ if it simplifies things for you guys. I'm not a big fan of the "using" keyword, so all of my code already has igtlio::XYZ for declarations of io objects.

@drouin-simon , same with me, i didn't use "using" keyword in the module "SlicerOpenIGTLink", so it will be very easy for me to modified the code.
Regarding direct python wrapping,
A college of mine tried to use SWIG to create python-wrapped OpenIGTLink library and he had the same problem of namespace. Beside that, he came across problems like smartpointer and object creating by calling"::New()". Here is the source code of the OpenIGTLink for Swig wrapping.
Hope it will help you.
OpenIGTLink for Swig python
He successfully create python-wrapped library for the igtlClientSocket, igtlServerSocket, igtlSmartPointer, igtlMessageBase and igtlPointMessage classes


feat: update user cards on home page

Fixes Issue
Closes #40
Description
Thanks, @Prakharsharma2206 for your contribution. Updated the user cards on the home page. Under the Screenshots section I provided some examples please take a look at them :point_down:
Here you can see the live preview of this PR → LIVE PREVIEW
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] Any dependent changes have been merged and published in downstream modules

Screenshots
I made this PR using the Second Card Example.
Please share your thoughts on the below examples.

First Card Example (Light)
First Card Example (Dark)

Second Card Example (Light)
Second Card Example (Dark)

Note to reviewers
I used colors provided by docsify-darklight-theme to match the theme.

Looks amazing, but can you put it little to the left, in my opinion there is too much spacing left.

Removed the extra spacing from it. Please check now.

The space is still there, the cards are not aliging exactly under the gitpod button start

The space is still there, the cards are not aliging exactly under the gitpod button start

Sorry, I don't understand which space your talking about. See the cards are perfectly aligned to the GitPod button :point_down:

Hi, seems to be fixed now, there was a issue with the LIVE PREVIEW.

Thanks for your contribution @vikasganiga05

Thanks for your contribution @vikasganiga05

It was my pleasure to work on this :slightly_smiling_face:


Can't import createCss from @xstyled/emotion

🐛 Bug Report
I was trying to follow the documentation on how to add a new utility.
I noticed I can't import createCss from @xstyled/emotion. As described in the documentation.
I also noticed that createCss is not being exported from index.ts See here
When I try  I get the following error:

I also tried to export this function from the index file but then I get another error

To Reproduce

create a xstyled.config.js
import createCss from '@xstyled/emotion'
Check browser console

Expected behavior
It should be able to import this function as stated in the documentation
Link to repl or repo (highly encouraged)
Check it here:
https://stackblitz.com/edit/react-sncouj?file=src/xstyled.config.js
Run npx envinfo --system --binaries --npmPackages @xstyled/system,@xstyled/styled-components,styled-components --markdown --clipboard
Paste the results here:
## System:
 - OS: macOS 11.5.1
 - CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
 - Memory: 126.09 MB / 16.00 GB
 - Shell: 5.8 - /bin/zsh
## Binaries:
 - Node: 14.12.0 - ~/.nvm/versions/node/v14.12.0/bin/node
 - Yarn: 1.22.10 - ~/.nvm/versions/node/v14.12.0/bin/yarn
 - npm: 7.12.1 - ~/.nvm/versions/node/v14.12.0/bin/npm

@maxmedina05 The createCss export is further down in that file:
https://github.com/gregberge/xstyled/blob/250d21f6c033e8f304dafd5b622007c3dcf24453/packages/emotion/src/index.ts#L19
(I wasn't able to make the stackblitz thing do anything. I've never used stackblitz so I don't know what was wrong.)
Is this still a problem for you?

I'm sorry, that's an import not an export :man_facepalming:
I see you're right, it's exported in styled-components here:
https://github.com/gregberge/xstyled/blob/250d21f6c033e8f304dafd5b622007c3dcf24453/packages/styled-components/src/index.ts#L16
Did you get anywhere debugging your attempt to export it?

I'm sorry, that's an import not an export 🤦♂
I see you're right, it's exported in styled-components here:
https://github.com/gregberge/xstyled/blob/250d21f6c033e8f304dafd5b622007c3dcf24453/packages/styled-components/src/index.ts#L16
Did you get anywhere debugging your attempt to export it?

It is still a problem to me. I wasn't able to get anywhere by debugging. When I export I get the error I get above.

I tried to edit directly the index.esm.js and index.js inside node_modules/@xstyled/emotion and it worked without the issue above. Isn't the issue caused by linking the package locally (for example with yarn link) or something similar?


Refactor tests

Description
Changes proposed in this pull request:

Login into busola once per all test suites,
Create a namespace once per all test suites,
Prepare namespace name once per all test suites,

Related issue(s)

/retest

/retest


Fix and simplify Movement::update_index

Some of the new test cases failed with the old code. Namely, Movement::Up.update_index(0, 1, 1, true); previously gave 1 which resulted in the crash worked around in https://github.com/lapce/lapce/pull/269
This issue is visible when the language server offers a single code assist. In this case, when the assist list is visible, the up key allows switching selection between the actual code assist, and an invalid item that causes a visual glitch. Selecting this invalid item previously (before #269) crashed Lapce.
A demonstration of the issue:
https://user-images.githubusercontent.com/977627/160213054-e6315242-e04e-47e2-8d71-d7bc1a018db1.mp4
With this PR applied, this behaviour does not occur, and pressing the up/down arrows has no visual effect (because of this, I did not record a video, that would look like a single unchanging frame).

@dzhou121 I've added a bit more explanation to this issue and a video demonstrating a visible effect of the bug this patch fixes.


Feature request: Ability to query a configuration for 'provided' scope dependencies from Maven dependencies

Question originally posted at https://discuss.gradle.org/t/how-to-query-for-provided-scoped-dependencies-of-a-configuration/26131
For a given dependency
Expected Behavior
Should be able to query for dependencies that have provided scope.
Current Behavior
It seems like you are unable to get dependencies of the provided scope from a resolvedConfiguration
Context
See https://discuss.gradle.org/t/how-to-query-for-provided-scoped-dependencies-of-a-configuration/26131
I wanted to map some provided scope dependencies into a different configuration, but was unable to
Steps to Reproduce (for bugs)
wrapper.gradleVersion = '4.6'

repositories {
  maven {
    url = 'https://repo.jenkins-ci.org/public/'
  }
}

configurations {
  myConfig
}

dependencies {
  myConfig(group: 'org.jenkins-ci.main', name: 'jenkins-core', version: '2.112')
}

tasks.create('demo') {
  doFirst {
    configurations.myConfig.resolvedConfiguration.resolvedArtifacts.findAll {
      it.moduleVersion.id.name == "javax.servlet-api"
    }.forEach {
      println(it)
    }
  }
}

Run ./gradlew demo and see no output
Your Environment

Build scan URL: https://scans.gradle.com/s/u4vynffjlquz6

Thanks fore reporting, but AFAIK there's no way to achieve this. org.jenkins-ci.main:jenkins-core's provided transitive dependency is totally unused for your build, so Gradle discards it during dependency resolution phase.


Wrongly polyfilling Object.assign on Chrome 49

Chrome 49 already has Object.assign natively, but if I open https://cdn.polyfill.io/v2/polyfill.js - for some unexplicable reason - the library changes the Object.assign native method.
Why is this happening? Isn't this an unexpected/undesired behavior?

It looks like this polyfill just needs a configuration update.
https://github.com/Financial-Times/polyfill-service/blob/master/polyfills/Object/assign/config.json
This is a very easy PR, why not give it a try?
http://cdn.polyfill.io/v2/docs/contributing

Opened https://github.com/Financial-Times/polyfill-service/pull/657!

Although this issue was merged/fixed/closed 20 days ago, the problem persists when I try to use the polyfill service cdn. What should I do?

Your PR was assigned to the 3.4 release.  You can track that release here:
https://github.com/Financial-Times/polyfill-service/issues/666

@triblondon Thank you! :)


performance(loading) - experimentally remove initial-load.css from index

Problem:
We possibly block first render on completion of loading of initial-load.css
Fix:
Move this to the list of React-loaded css files, and remove it from index.html.
(also remove a prefetch for an image that never executes in time and leads to browser warning)

I'm gonna merge this, as the Link to test editor is already showing a huge difference in loading time


can stream-lua-nginx-module load balance MQTT messages?

first, can stream-lua-nginx-module parse the MQTT  message, and get the contents of the message. for example, got the version information from the message contents. second, according to  the version information, it can load balance the MQTT message.

@vector003 It's definitely possible since MQTT is based on TCP. You can code up a lua-resty-mqtt library, for example, based on this module's cosocket API.

thanks！

thanks! 1. Are this module's cosocket API all listed in the ngx_stream_lua_inject_socket_tcp_api(ngx_stream_lua_socket_tcp.c)? 2. if i want

thanks !!!   i am a new guy in the nginx!

Are this module's cosocket API all listed in the ngx_stream_lua_inject_socket_tcp_api(ngx_stream_lua_socket_tcp.c)?
2.if want to load balance the MQTT message according to the contents of the MQTT  message, can i  do it like this?
--> using sock:receive can get the mqtt message data in lua file, pass the data to Java processor(mqtt only has the java api), then open the data, get the message contents.

@vector003 Read the documentation of cosockets. It's listed in README. What matters here is the wire protocol, not the implementations in your backend (be it Java, Erlang, C/C++, Go, NodeJS, PHP, Python, Perl, Ruby, or whatever).

OK, thanks so much!

@vector003  did you start the project of lua-resty-mqtt?  If not, can we start the project together?

is there anything on MQTT available as resty pckage ? that would be sweet for IoT projects and Lua


installing openmetadataingestion[airflow]results in error

Was trying to setup Airflow Lineage following instructions at  . This was executed against an existing python environment which included packages for SnowFlake ingestion if that matters.
which resulted in:
  Attempting uninstall: sqlalchemy
    Found existing installation: SQLAlchemy 1.4.29
    Uninstalling SQLAlchemy-1.4.29:
      Successfully uninstalled SQLAlchemy-1.4.29
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
snowflake-sqlalchemy 1.3.2 requires sqlalchemy<2.0.0,>=1.4.0, but you have sqlalchemy 1.3.24 which is incompatible.
Successfully installed sqlalchemy-1.3.24

Closing very old issue that probably is no longer relevant.


License

Whats the license of this code / extension?

You're free to use it however you like, you're free to fork it and adapt it
on your own, you're also free to make modifications and submit PRs it's
basically unlicensed free for use.
if you look at the read me at the bottom I do call out a big thanks to the
original creator where I forked it from them. I did the modifications with
their permission because they were not willing to continue making
modifications to their version of the documenter..
so basically go crazy have fun use it however you want
This may have been sent with voice to text, so I apologize for any
misspellings or incorrect wording
On Fri, Aug 11, 2023, 2:13 AM NOlbert @.***> wrote:

Whats the license of this code / extension?
—
Reply to this email directly, view it on GitHub
https://github.com/d1820/CodeDocumentor/issues/24, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC4GH3236U7YJRVRWUIZZTXUXSRJANCNFSM6AAAAAA3MSKEVA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>