driver does not check quota is enabled on primary FS on remote cluster

Describe the bug
Driver was in running state  with  quota was not enabled on primary fs on remote cluster.
NAME                                                   READY   STATUS    RESTARTS   AGE   IP              NODE                             NOMINATED NODE   READINESS GATES
pod/ibm-spectrum-scale-csi-2fxsk                       2/2     Running   0          62m   <IP_ADDRESS>   <IP_ADDRESS>                    <none>           <none>
pod/ibm-spectrum-scale-csi-7dmnk                       2/2     Running   0          62m   <IP_ADDRESS>   csi-crio-worker-2.fyre.ibm.com   <none>           <none>
pod/ibm-spectrum-scale-csi-attacher-0                  1/1     Running   0          62m   <IP_ADDRESS>   <IP_ADDRESS>                    <none>           <none>
pod/ibm-spectrum-scale-csi-operator-5f5f549754-jrtpw   2/2     Running   0          29h   <IP_ADDRESS>   csi-crio-worker-2.fyre.ibm.com   <none>           <none>
pod/ibm-spectrum-scale-csi-provisioner-0               1/1     Running   0          62m   <IP_ADDRESS>   <IP_ADDRESS>                    <none>           <none>
pod/ibm-spectrum-scale-csi-zt5ct                       2/2     Running   0          62m   <IP_ADDRESS>   csi-crio-worker-1.fyre.ibm.com   <none>           <none>

NAME                                              TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)             AGE   SELECTOR
service/ibm-spectrum-scale-csi-operator-metrics   ClusterIP   <IP_ADDRESS>   <none>        8686/TCP,8383/TCP   29h   name=ibm-spectrum-scale-csi-operator

NAME                                    DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE   CONTAINERS                                IMAGES                                                                                SELECTOR
daemonset.apps/ibm-spectrum-scale-csi   3         3         3       3            3           scale=true      62m   driver-registrar,ibm-spectrum-scale-csi   quay.io/k8scsi/csi-node-driver-registrar:v1.2.0,quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-driver:v1.1.0   app=ibm-spectrum-scale-csi,product=ibm-spectrum-scale-csi

NAME                                              READY   UP-TO-DATE   AVAILABLE   AGE   CONTAINERS         IMAGES                                                                                SELECTOR
deployment.apps/ibm-spectrum-scale-csi-operator   1/1     1            1           29h   ansible,operator   quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-operator:v1.1.0,quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-operator:v1.1.0   app.kubernetes.io/name=ibm-spectrum-scale-csi-operator

NAME                                                         DESIRED   CURRENT   READY   AGE   CONTAINERS         IMAGES                                                                                SELECTOR
replicaset.apps/ibm-spectrum-scale-csi-operator-5f5f549754   1         1         1       29h   ansible,operator   quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-operator:v1.1.0,quay.io/ibm-spectrum-scale-dev/ibm-spectrum-scale-csi-operator:v1.1.0   app.kubernetes.io/name=ibm-spectrum-scale-csi-operator,pod-template-hash=5f5f549754

NAME                                                  READY   AGE   CONTAINERS                        IMAGES
statefulset.apps/ibm-spectrum-scale-csi-attacher      1/1     62m   ibm-spectrum-scale-csi-attacher   quay.io/k8scsi/csi-attacher:v2.1.1
statefulset.apps/ibm-spectrum-scale-csi-provisioner   1/1     62m   csi-provisioner                   quay.io/k8scsi/csi-provisioner:v1.5.0
[root@csi-crio-master remote-cluster]# kubectl describe pvc pvc-remote-fileset
Name:          pvc-remote-fileset
Namespace:     default
StorageClass:  csi-spectrum-scale-remote-fileset
Status:        Bound
Volume:        pvc-51e3c67b-ae9f-496d-a621-4e37de5ecd6b
Labels:        <none>
Annotations:   kubectl.kubernetes.io/last-applied-configuration:
                 {"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"annotations":{},"name":"pvc-remote-fileset","namespace":"default"},"spec":{...
               pv.kubernetes.io/bind-completed: yes
               pv.kubernetes.io/bound-by-controller: yes
               volume.beta.kubernetes.io/storage-provisioner: spectrumscale.csi.ibm.com
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:      1Gi
Access Modes:  RWX
VolumeMode:    Filesystem
Mounted By:    <none>
Events:
  Type     Reason                 Age                From                                                                                Message
  ----     ------                 ----               ----                                                                                -------
  Warning  ProvisioningFailed     55s (x6 over 87s)  spectrumscale.csi.ibm.com_ibm-spectrum-scale-csi-provisioner-0_fe8d9ce3-fb6f-4d06-8617-5e8a5e68bb33  failed to provision volume with StorageClass "csi-spectrum-scale-remote-fileset": rpc error: code = Internal desc = Quota not enabled for Filesystem nsd2-fs1 inside cluster<PHONE_NUMBER>3797537035
  Normal   ExternalProvisioning   24s (x6 over 87s)  persistentvolume-controller                                                                          waiting for a volume to be created, either by external provisioner "spectrumscale.csi.ibm.com" or manually created by system administrator
  Normal   Provisioning           23s (x7 over 87s)  spectrumscale.csi.ibm.com_ibm-spectrum-scale-csi-provisioner-0_fe8d9ce3-fb6f-4d06-8617-5e8a5e68bb33  External provisioner is provisioning volume for claim "default/pvc-remote-fileset"
  Normal   ProvisioningSucceeded  12s                spectrumscale.csi.ibm.com_ibm-spectrum-scale-csi-provisioner-0_fe8d9ce3-fb6f-4d06-8617-5e8a5e68bb33  Successfully provisioned volume pvc-51e3c67b-ae9f-496d-a621-4e37de5ecd6b```

**To Reproduce**
Steps to reproduce the behavior:
1. ...

**Expected behavior**
A clear and concise description of what you expected to happen.

**Environment**
Please run the following an paste your output here:
``` bash
# Developement
operator-sdk version
go version

# Deployment
kubectl version
rpm -qa | grep gpfs

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@gandhisanjayv : Few points

One do not need quota is he is only going to create lightweight volumes which can not be predicted.
If we check for quota then we should do it for all filesystem and which can not be done initialisation level.
Only place feasible for quota check will be volume creation. This can be improved by explicitly checking the quota is enabled or not.

For 3, do you know how can we confirm the quota is enabled ? Somehow we have to derive that from output of 'curl -X GET https://node10:443/scalemgmt/v2/filesystems/gpfs1' which gives quota info like
  "quota" : {
     "defaultQuotasEnabled" : "none",
     "filesetdfEnabled" : false,
     "perfilesetQuotas" : false,
     "quotasAccountingEnabled" : "user;group;fileset",
     "quotasEnforced" : "user;group;fileset"
   }

for usability perspective we should make  quota of filesystem mandatory .. we can provide configuration option to override this in CR file. My assumption is most configuration would use only one filesystem.
This is usability issue, i wish we can fix. I think we should provide tool to create storage class and tool can  validate all parameters before creating storage class.

We will be enforcing quota even if it not required. We are checking the quota in volume creation so user will find out the quota issue on first volume creation itself.  Me and Smita had discussion and we feel this check is not needed.

Closing since this is WAD. Please reopen if required


Update By Pipeline page to allow filtering by pipeline name

For the Adoptium TRSS instance, https://trss.adoptium.net/tests/Test shows a view of all the pipelines at Adoptium, with ~6 builds per pipeline.
There is also a Search box with text 'Search output', that when for example input text "blob" and searched, goes to https://trss.adoptium.net/searchResult?searchText=blob
I haven't gotten any results from it so I'm not sure what it searches for.
It would be nice if I could filter this view to only show pipelines that match my text of choice. For example, 'release' to see the release pipelines (which we've named release-openjdk$ver-pipeline) or 'evaluation' for the evaluation pipelines (which we've named evaluation-openjdk$ver-pipeline), and so on.
And it would be great if this was URL based like the existing Search Box so I could bookmark the search for future visits. E.g. something like https://trss.adoptium.net/tests/Test?filterText=release

@llxia I would appreciate your feedback on this idea, thanks!

Have you tried the Advanced search: https://trss.adoptium.net/AdvancedSearch? You can search per pipeline.
For https://trss.adoptium.net/searchResult?searchText=blob, it has performance issue. It works with smaller data set.

Some additional notes, we definitely do bookmark the individual pipelines at the top of the release channel as a shortcut.

The individual trestle pipelines will be going away, in lieue of a singular Trestle_Pipeline wrapper job (pending https://github.com/adoptium/aqa-tests/issues/5627).  The evaluation pipelines can also be cleaned up / removed (given riscv has now graduated, and aarch64_windows is expected to graduate).

For other pages, we had the ability for users to add/remove widgets they use most often and then browser cookies would remember it (and could be flushed when clicking on a button to reset to default view).  This allows the user to customize what they see.  I could envision this type of feature, but given we have a handful of people using this tool, I doubt it would be a priority item.


Fix markdown ordered lists counter reset

This PR fixes the issue where markdown ordered lists were not incrementing numbers correctly. The fix adds a counterReset: "list-item" style to ensure each ordered list starts with a fresh counter.
Changes:

Added style={{ counterReset: "list-item" }} to the ordered list component
Maintains existing spacing and styling

Before:
All list items showed as "1." instead of incrementing numbers.
After:
List items now correctly show as "1.", "2.", "3.", etc.
Note on Tests:
Some tests are failing due to missing i18n declarations, which is a separate issue with the test environment setup. These failures are unrelated to our changes since we only modified the markdown list component and its styling.

To run this PR locally, use the following command:
docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:fd6820f-nikolaik   --name openhands-app-fd6820f   docker.all-hands.dev/all-hands-ai/openhands:fd6820f

Whoops this was a demo


Garbage Collection InRange Method

Hello,
I try to create a grid from an image and then perform the InRange method on each section.
The problem is that there is a lot of garbage collection in the following code.
Is this fixable?

Environment
Windows 10
Visual Studio 2019 16.11.2
What did you do when you faced the problem?
Write here
Example code:

            //init
            Mat src = new Mat(1280, 720, MatType.CV_8UC4);
            Mat dest = new Mat(1280, 720, MatType.CV_8UC4);
            Scalar upper = Scalar.Black;
            Scalar lower = Scalar.White;
            int gridX_Count = 10;
            int gridY_Count = 10;
            int recWidth = src.Width / gridX_Count;
            int recHeight = src.Height / gridY_Count;

            //frame loop
            while (true)
            {
                for (int i = 0; i < gridX_Count; i++)
                {
                    for (int j = 0; j < gridY_Count; j++)
                    {
                        var rect = new OpenCvSharp.Rect(i, j, recWidth, recHeight);
                        //dest[rect]= src[rect].InRange(lower, upper);
                        Cv2.InRange(src[rect], lower, upper, dest[rect]);
                    }
                }
            }

Output:

paste your output

What did you intend to be?

using var srcPart = src[rect];
using var destPart = dest[rect];
Cv2.InRange(srcPart, lower, upper, destPart);

Thanks for your answer, I indeed forgot to add the using statements.
There is still a lot of GC going on though after adding the using statements.


[refactor #1703] refactor code

fix #1703

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #1702 (0b8f6f1) into master (cdb06b9) will decrease coverage by 0.49%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master    #1702      +/-   ##
============================================
- Coverage     60.62%   60.13%   -0.50%
+ Complexity     2272     2263       -9
============================================
  Files           478      478
  Lines         10109    10108       -1
  Branches       1028     1028
============================================
- Hits           6129     6078      -51
- Misses         3476     3524      +48
- Partials        504      506       +2

Impacted Files
Coverage Δ

...plugin/divide/balance/spi/AbstractLoadBalance.java
36.84% <50.00%> (-3.16%)
:arrow_down:

...enyu/client/tars/TarsServiceBeanPostProcessor.java
32.43% <0.00%> (-25.68%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
45.26% <0.00%> (-17.90%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
69.90% <0.00%> (-11.66%)
:arrow_down:

...henyu/plugin/httpclient/NettyHttpClientPlugin.java
57.14% <0.00%> (-2.05%)
:arrow_down:

...elimiter/handler/RateLimiterPluginDataHandler.java
69.23% <0.00%> (-1.54%)
:arrow_down:

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 cdb06b9...0b8f6f1. Read the comment docs.


Error message when attempting to make react external

When I specify React and React-dom in the externals section of the config.js and try to run gulp bundle -- ship, I receive an error that react and react-dom are already referenced in the node_modules dependencies, and so I cannot make react a global library.  This seems very important to not have react bundled in all of our webparts. If you could provide me the steps in doing so that would be great!

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

ID: 666b65a6-e4e7-3dcc-e572-589fd403976c
Version Independent ID: 356d18cd-3ec6-e95d-73b2-049eadf6c2b8
Content: Use existing JavaScript libraries in SharePoint Framework client-side web parts
Content Source: docs/spfx/web-parts/guidance/use-existing-javascript-libraries.md
Service: unspecified
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

You don't need to include them as external references... they are added by default. You can see this if you run gulp bundle and inspect the generated manifest.


Holy Days of Obligation

We should have an option (or parameter/metadata) to denote the Holydays of Obligation.

It's a good idea.
A boolean property like data.meta.holyDayOfObligation. It should be false by default.

Good by me. But I’d like to note that this must be configurable on a celebration level, i.e. the ‘calendarists’ should be able to make changes to this in the calendar settings (e.g. in general.js or france.js), as the list of HDO is different from calendar to calendar.

Yes definitely. And this is already how things works between these 2 types of calendar.

Just a note to myself: here’s the list all Holy Days of Obligation in Slovakia:

1 Jan: Mary, Mother of God
6 Jan: Epiphany
x xxx: Ascension of the Lord (40th day after Easter)
x xxx: Corpus Christi (2nd Thursday after the Pentecost Sunday)
29 Jun: Peter and Paul, Apostles
15 Aug: Assumption of the Blessed Virgin Mary
1 Nov: All Saints
8 Dec: Immaculate Conception
25 Dec: Nativity of the Lord (Christmas)

@emagnier, fixing the #210 issue might be necessary before implementing this issue, because of these celebrations are defined in celebrations.ts.

@emagnier, are HDOs extendable? I presume yes. If so, when we set them in general.ts, we need to false some of them in the particular calendars when needed.
If so, we should document this.

Yes, it behave like date, or rank, or any other extended property.

Addressed on https://github.com/romcal/romcal/pull/250.

@emagnier, below is a list of HDOs for general (plus Sundays, of course).

mary_mother_of_god;
epiphany;
ascension;
corpus_christi;
peter_and_paul_apostles;
assumption;
all_saints;
immaculate_conception_of_mary;
christmas;
joseph_spouse_of_mary.

I have just found that immaculate_conception_of_mary is not yet set as a HDO. Also that some of the Sunday celebration definitions (where Sundays have some specific name like the Trinity Sunday) are set explicitly as HDOs, others just implicitly.
I’d like to open a PR with fixing the HDOs for general and slovakia (and later for other calendars), but I’d like to sugget to set all Sundays to be HDOs implicitly. If you agree, I remove all explicit HDO definition for Sundays.

@tukusejssirs, from this PR: https://github.com/romcal/romcal/pull/283, all Sundays are now HDO by default.


Does not accept any files or text in Palemoon browser

Expected Behavior
Actual Behavior

Duplicate of #28

Running through closing issues all over the place but not actually fixing anything .
The questions are placed looking for fixes not closed stamps . Did they give you that stamp in Kindergarten?

"Does not accept any files or text in Palemoon browser"

Hey @tytower thanks for you comments. We haven't released our fix for Safari support, but I will test if on Palemoon and try and mimick that support there.


There is no "+ Create new Static Web App..." command in the list when executing "Open in GitHub" from command palette

OS: All
Azure Resource Extension Build Version: 20220426.4 (unified)
Azure Static Web App Extension Build Version: 20220422.2 (unified)
Regression: Not a regression
Repro Steps:

F1 -> Azure Static Web Apps: Open in GitHub -> Select Resource Group -> Select "Static Web Apps".
Check whether there is a "+ Create new Static Web App..." command in the list or not.

Expect:
There is a "+ Create new Static Web App..." command in the list.

Actual:
There is no "+ Create new Static Web App..." command in the list.

This issue also reproduces when executing commands “Clone Repo...", "Copy IP Address", "Edit Workflow...","Browse Site", "Add New Setting...", "Open GitHub Action Log", "Open in Portal", "Open Repo in GitHub", "Add New Setting...", " and "View Properties" from command palette.

I think we should leave it like this for these commands, with the exception being deploy.


_Substitutions and Template All Number Away 's {{A}} have a little lacking

If there are more than about 60 similar words and numbers, It will be chaotic.
I sincerely hope to add some more, because when there are too many numbers, the entire sentence is messy.
Although 60 may seem like a lot, they are actually not enough.
I think it can add something like {{AA}} {{Aa}} or {{1}} {{2}}.
thank you.


feat: add govee h5198

Feat: Add Govee H5198
Fix: Govee H5051 in little endian #56

I'll add some more tests tonight, I have a BLE adv for H5051 too.


[CLI] using archived crate: gitignore.rs

Problem
CLI using a archived crate: #1704
Screenshots

Environment:

Dioxus version: master

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[X] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

problem found by @Dangerised, I don't know does this cause: https://github.com/DioxusLabs/dioxus/pull/1902#issuecomment-1928811674


Unable to get property 'id' of undefined or null reference

I am getting this js error while editing the record on following line:
ERROR : Unable to get property 'id' of undefined or null reference
CODE:
//Adding the inputs from the edit-modal
for(var i = 0; i < dataSet.length; i++){
jsonDataArray[columnIds[i+1].id] = dataSet[i];
//  rowDataArray[columnIds[i+1].id] = dataSet[i];
}
Why id is getting null ref ?

Closing, refers to outdated code


Where to download the video in TGIF-QA

Great work!
Could you provide annotations and video for evaluating on TGIF? or where to obtain these? appreciating for your instruction!

Hi @LinB203,
You can find it at this link.

THANKS, and I also need the annotations such test_q.json and test_a.json for TGIF-QA. Thanks again!

Hi @LinB203,
You can find it at this link.

Please refer to Issue #96


OnQuickLaunch=TRUE does not work

When I use this attribute on the list instace, the list is not appearing on the quicklaunch
          `OnQuickLaunch="true"  `

As strange as it sounds, you need to make it all CAPS: OnQuickLaunch="TRUE"
Ref: https://docs.microsoft.com/en-us/sharepoint/dev/schema/listinstance-element-list-instance


Revert "Fix text field label animation duration and curve"

Reverts flutter/flutter#105966
This is breaking internal tests due to a race condition that was depended on. Temporarily reverting until the internal patch is ready.

Merging to unblock roll. Queued tests were verified on the previous commit.


Support Spark Structured Streaming read from ES

Hi,
I'd like to consume/read data from ES via spark structured streaming.
The only possible solution I know today is via a workaround by using a combination of logstash and kafka
(ES -> logstash -> kafka -> spark structured streaming).
It would be very helpful to have a direct solution via spark structured streaming so you just invoke readstream towards the ES-backend.
Technically, the solution should offer a possibility to provide an ES query as a parameter when connecting to ES where it should be possible to define a filter and/or a timeframe on each interval.
I don't think that it should be that hard to implement, as the spark-batch variant of reading data from ES does already exist and most part of this code could to be reused for the structured streaming version.

Is there new feature or way added for doing streaming with ES as source??

Here is the change that we would need to make this happen: https://github.com/elastic/elasticsearch/issues/1242.
And here is a fleet-specific change that provides some of this (but I don't think it's enough to do this right): https://github.com/elastic/elasticsearch/pull/71093.

Hi, is there any way to directly read stream using pyspark from elastic?


Add a specific alias for Windows Terminal Preview

Description of the new feature/enhancement

It's may be useful to create a specific alias to target Windows Terminal preview for example wtp.exe like you do with the wtd.exe  when the terminal is build from source.
With that we can choose which version of Windows terminal we want when we invoke it by command line.
You can also keep the wt.exe alias for the preview version to allow us to select in the settings app the "default" version of windows terminal we want. for wt.exe
Proposed technical implementation details (optional)

I think this is what the CascadiaPackage/Package-Pre.appxmanifest should look like
      <Extensions>
        <uap3:Extension Category="windows.appExecutionAlias" Executable="wt.exe" EntryPoint="Windows.FullTrustApplication">
          <uap3:AppExecutionAlias>
            <desktop:ExecutionAlias Alias="wtp.exe" />
          </uap3:AppExecutionAlias>
        </uap3:Extension>
        <uap3:Extension Category="windows.appExecutionAlias" Executable="wt.exe" EntryPoint="Windows.FullTrustApplication">
          <uap3:AppExecutionAlias>
            <desktop:ExecutionAlias Alias="wt.exe" />
          </uap3:AppExecutionAlias>
        </uap3:Extension>
------
      <Extensions>

Hey so the last time we had this discussion was over at: #6788

Preview and Stable are only intended to be installed side-by-side and switched between when you're worried about the stability of Preview. We're not intending both channels to be in active simultaneous use. If you're encountering an issue that means you make to switch between them more than once in a single session I'd rather we just fix the issue instead of bandaging it with another app execution alias. If you are, please do let us know what those issues are.

I'm gonna redirect discussion to that thread, to try and keep the discussion in one place. Thanks!
/dup #6788


A11y_AzureDataStudio(Schema,Dacpac,Backup)_ Review Deploy Plan_Screenreader: NVDA is not announcing the status after submitting the Select Deploy Dacpac Settings

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
Environment Details:
Application Name: Azure Data Studio
Application Version: 1.10.0-insider (user setup)
Commit: 1ff9a2ec4c7b88be01666bdd470bbbb4ab95716e
Date: 2019-08-09T07:49:00.254Z
VS Code 1.37.0
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362
Additional Details:
Tools Name: Accessibility insight tool
MAS References: MAS4.1.3
Repro Steps:

Launch Azure Data Studio application.
Connect to server with windows credentials.
Navigate to Extensions from left menu.
Search & install Dacpac extension.
Navigate to Connections from left menu.
Expand the server connected in step 2.
Right click an on prem database and select Data-tier application wizard from Context menu.
Select first radio button.
Navigate till next button & hit enter.
Launch NVDA.
Provide all the details for Deploy Dacpac & hit next.
Observed that After submitting the Select Deploy Dacpac Settings screen NVDA is announcing or not the Status “Loading ..Loading”.

Actual:
After submitting the Select Deploy Dacpac Settings screen NVDA is not announcing the Status “Loading ..Loading”.
Expected:
After submitting the Select Deploy Dacpac Settings screen NVDA should  announce the Status “Loading ..Loading”.
Recommendations:
Refer below link which is repository of bug fixes code snippets: https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
User Impact:
Screen reader users will face difficulty to understand status of the Review the Deploy plan screen.
MAS Reference:
MAS 4.1.3-
https://microsoft.sharepoint.com/:w:/r/teams/msenable/Documents/LCA/MAS - July 1, 2017 Release/MAS 4.1.3 – Status Messages.docx?d=w684573a7b08941319b390009054125d3&csf=1&e=e3Fr7d
Reference Attachment:

Question added to OneNote: do we want to announce both "Loading" and completion of the LRO?

NVDA does not support aria-live fields, but the fix has been confirmed with Narrator and JAWS.


Switch between format code extensions

How to change default format code??
i have many extensions for format code and I want to switch between other extensions format, How can I do it??

@ahmedju
Try this: Open VS Code and Ctrl + , then search for editor.defaultFormatter setting.
Choose which one you'd like to use in the drop-down.

Alternatively, you can copy that setting to Settings.json and keep other formatters listed.
Example:
"[javascript]": {
		"editor.defaultFormatter": "esbenp.prettier-vscode"
        // "editor.defaultFormatter": "esbenp.prettier-vscode 1"
		// "editor.defaultFormatter": "esbenp.prettier-vscode 2"
		// "editor.defaultFormatter": "esbenp.prettier-vscode 3"
		// "editor.defaultFormatter": "esbenp.prettier-vscode 4"
		// "editor.defaultFormatter": "esbenp.prettier-vscode 5"
    },

Uncomment whichever you would like to use and so on.
See any of that works out for you.

@ahmedju Another way in addition to everything @CodingCreate101 listed is to use the Format Document With... command, which will always ask which formatter you want to use


Tweak Curr Transfers Table

Adds status, signer, recipient fields to the current transfers model.
Will need a FR. Suggest merging this before the tests update, merge main, and resolve any conflict w the fact_transfers.yml

Looks good! Just delete the COALASCE, as we need to FR


[Question] RPM signing requires the master secret key, not subkey

Here is the master and sub public key:
pub   4096R/39D319879310D3FC 2021-05-11
uid                          OpenSearch project<EMAIL_ADDRESS>sub   2048R/C2EE2AF6542C03B4 2021-05-11 [expires: 2022-05-11]

When signing RPM, if I use the sub secret key to sign, it will require to be verified by the sub public key.
(keypair C2EE2AF6542C03B4)
Signature   : RSA/SHA1, Tue Apr 26 19:36:16 2022, Key ID c2ee2af6542c03b4

However, this is not possible to be verified by RPM:
opensearch-2.0.0-rc1-linux-x64.rpm: RSA sha1 ((MD5) PGP) md5 NOT OK (MISSING KEYS: (MD5) PGP#542c03b4)

As we can see when using rpm --import RPM will only treat the master public key as the one to verify:
gpg-pubkey-9310d3fc-609af0ea (OpenSearch project<EMAIL_ADDRESS>
Since our subkey is C2EE2AF6542C03B4 and master key is 39D319879310D3FC, RPM cannot match its signature from c2ee2af6542c03b4 with the current master key 39D319879310D3FC.
If we sign RPM with the master secret key:
Signature   : RSA/SHA1, Tue Apr 26 23:17:02 2022, Key ID 39d319879310d3fc

Verification would complete without any issues, as both the keyID recorded on .rpm and the gpg list (master) is 39d319879310d3fc:
opensearch-2.0.0-rc1-linux-arm64.rpm: rsa sha1 (md5) pgp md5 OK

Note: When we sign the rpms with master secret key, both master public key and sub public key can verify rpm.
This is not the case for detached signature (.sig) when we sign with gpg directly.
I wonder whether this is issue from my side, or RPM requires to use master key to sign.
Thanks.

@spotrh @dblock what is your thoughts on this?
Thanks.
cc @bbarani @gaiksaya

I believe we should avoid signing anything with master key. It is recommended to always use sub-keys which can be revoked in case of security issues (like private key being leaked).

This ticket seems mentions the issue spawned back in 2007 and only a few years ago has an update in 4.12.90 of fedora release of rpm.
https://bugzilla.redhat.com/show_bug.cgi?id=227632
As of now the common version of rpm shipped within AL2/CentOS7 and more is 4.11.x.

I found that rockylinux8 is using higher version of rpm, will test it.
RPM version 4.14.3

Rockylinux8 also supplies 2.2.20, which requires additional setup to import secret keys:
yum install pinentry
gpg --pinentry-mode loopback --passphrase-file=passphrase private-key

We also need to sign as SHA256 not SHA1 anymore.

Test shows if we sign with subkey then verify with rpm version 4.12+ it will pass, but move it to any CentOS7 / AL2 it will fail as rpm version 4.11.x.
Therefore, we cannot afford to sign with subkey if we still want to support CentOS7/AL2.
Thanks.

Can we also look in to option of creating separate master key just for RPM signing to reduce the blast radius in case of key leak?

See description for latest update as we are using master secret key to sign rpm.


TraceX portability/other trace supports

Hello ThreadX maintainers!
This is not a feature request per se - but question if:

Are there any plans to support TraceX visualizer on OSes other than Windows?
Any other trace supporting tools? e.g. SEGGER SysVIEW

Thanks in advance,
Daniel

@Jasinsky , just so you know we don't have any plans to support other OSes. AFAIK, there is no special support to other trace tools.

@TiejunMS  - thanks for the prompt response. Closing.


Add documentation for crate-node cli

Summary of the changes / Why this is an improvement
Taken over from https://www.elastic.co/guide/en/elasticsearch/reference/current/node-tool.html
Checklist

[X] CLA is signed

will wait for previous comments to be addressed before I review the text

Thanks, I added all the feedback! @mechanomi I think it's your turn now.


Add example code that works with setup.py installation as egg/zip file

Description
Please consider this enhancement to the examples in the documentation. The basic examples that show add_api('openapi.yml') assume the user's module is installed into a directory.
Expected behaviour
The Flask-connexion server should launch and run as expected no matter how it is installed, assuming of course the setup.py file is reasonable.
Actual behaviour
The server launches and runs as expected on example (simple) code if the module is installed via pip3 install .
Using example (simple) code, the server fails to launch if the module is installed via python setup.py install with this kind of error because it cannot find a yaml file in an egg file:
NotADirectoryError: [Errno 20] Not a directory: '/Users/me/.virtualenvs/py39/lib/python3.9/site-packages/mysrv-0.0.1-py3.9.egg/mysrv/openapi.yml'

Steps to reproduce
Most example code that hooks the server to the open API spec file looks like this:
app = connexion.App(__name__, specification_dir="./")
app.add_api('openapi.yml')

I suggest use of a library like importlib_resources so installed servers work whether installed by pip3 or setup.py, here's my proposed code:
import importlib_resources

app = connexion.App(__name__)
yaml_path = importlib_resources.files('mysrv').joinpath('openapi.yml')
with importlib_resources.as_file(yaml_path) as yaml:
    conn_app.add_api(yaml)

I'm sure this can be improved further too.
Additional info:
% python --version
Python 3.9.7
% pip show connexion | grep "^Version\:"
Version: 2.9.0

I hope this is clear, I'll be glad to revise/update, thanks in advance for considering this.

Hi @chrisinmtown
When packaging python code, you'll always have to pay special attention to including and accessing non python files as part of the package. I don't think we should complicate all examples for this edge case.


Open file whilst current file is not saved

Hi @tblanke
I also noticed another small bug.
If you change a file, it is possible to open a new one, without a 'do you want to save the changes' message. It is also possible to create a new document whilst there are unsaved changes. This can lead to loss of data.
Best,
@wouterpeere

Hi @tblanke
I will propose a solution for this.

Hi @tblanke
Can you please take a look at the solution? Does it work for you?
Best,
@wouterpeere

Hi @wouterpeere ,
I will take a look soon.
Kind regards
@tblanke

Hi @wouterpeere,
I am fine with your approach. The thing I have changed is that the dialog is now split into a close dialog and a continue dialog. Which is mainly different in its text. Also I have implemented a test. Can you please have a look if that new dialog is also fine for you?
Kind regards
@tblanke

Hi @tblanke
Terminology is perfect for me!
Just one thing I noticed. When you press 'continue', the new project you opened is also seen as 'changed', so perhaps we have to reset the changedFile flag?
Best,
@wouterpeere


Make conda-docker a dependency in Linux only in pyproject.toml

Fixes #578 .
Note, we will also need to make sure to fix this in the conda-forge feedstock.

Description

This pull request:

a
b
c

Pull request checklist

[ ] Did you test this change locally?
[ ] Did you update the documentation (if required)?
[ ] Did you add/update relevant tests for this change (if required)?

Additional information

Note that conda-docker is actually perfectly pip installable on all platforms, it just won't work when the platform isn't Linux (but it can be imported).

The reason is that the Linux-only dependency, fakechroot, is not a Python package. It's an executable that gets called at runtime. It is, however, a dependency in the conda package which cannot be installed on Linux.


Release changelogs meta mender

Changelogs for releases sumo-v2019.04 and rocko-v2019.04
@drewmoseley @kacf This is my first meta-mender release, so please pay attention to detail. Also, I haven't pushed the tags yet, do you want to review them?

Looks good to me.


Drain provisioning test is flaky due to not forcing naked pods eviction

TestDrain is flaky and often fails due to errors like this:
2023/01/20 00:04:51 [INFO] [planner] rkecluster test-ns-fxrsp/test-drain: waiting: draining worker node(s) test-drain-pool-1-948876dc6-7f7qj: error draining machine test-drain-pool-1-948876dc6-7f7qj: cannot delete Pods declare no controller (use --force to override): cattle-system/helm-operation-r69qr

helm-operation-... pods are created by Rancher as naked pods (https://kubernetes.io/docs/concepts/configuration/overview/#naked-pods-vs-replicasets-deployments-and-jobs) which may be a reasonable improvement to create them as part of a Job or something, but this is outside of the scope of this issue.
To improve the stability of this test we should probably set Force flag to delete naked pods too.

/backport 2023-Q1-v2.6x


Rust toolchain update to 1.63.0

What this PR does / why we need it:

Updates rust toolchain to 1.63.0

Special notes for your reviewer:

Tarpaulin was kept at 0.20.1 as it is the latest available container on Docker Hub even though there was a 0.21.0 released on GitHub. If there is an updated container + tag on Docker Hub before this gets PR gets merged I can update and retest.
Used the CARGO_VERSION environment variable in run tarpaulin action so we can refer to that globally (instead of hardcoding during the install)
Since we have autogenerated code with prost, there's an issue  where it does not derive Eq along with PartialEq. Until this is fixed we have to disable the lint check for it

If applicable:

[ ] this PR has an associated PR with documentation in akri-docs
[ ] this PR contains unit tests
[x] added code adheres to standard Rust formatting (cargo fmt)
[x] code builds properly (cargo build)
[x] code is free of common mistakes (cargo clippy)
[x] all Akri tests succeed (cargo test)
[x] inline documentation builds (cargo doc)
[ ] version has been updated appropriately (./version.sh)
[x] all commits pass the DCO bot check by being signed off -- see the failing DCO check for instructions on how to retroactively sign commits

minor rust changes needed along with the version bump, I'll get those in and push it out.

some rust changes needed along with the version bump, I'll get those in

@adithyaj looks like there are a lot of clippy errors that were caught in the version bump that can be addressed in this PR

@kate-goldenring I rebased and this is good to go as well!
FYI I did get a DCO notification about prior commits from my rebase:

Commit sha: 2ac813d, Author: Karapet Kostandyan, Committer: GitHub; Expected "Karapet Kostandyan<EMAIL_ADDRESS>but got "Karapet Kostandyan<EMAIL_ADDRESS>Commit sha: ec3999f, Author: Karapet Kostandyan, Committer: GitHub; Expected "Karapet Kostandyan<EMAIL_ADDRESS>but got "Karapet Kostandyan<EMAIL_ADDRESS>
I'll squash the commits to make sure it doesn't stick on this change but I'm not sure how the PR passed DCO before on those commits.

validated by vtam-msft but not yet on the owners.txt.
merging to unblock release and will update owners.txt in separate file


Evolving API keys example?

Going through the docs of Evolving API Keys but I am still a bit confused with the "backfilling" and what the actual process looks like for evolving API keys.

What happens when you want to change or update the primary key?
What happens when you update a composite key to include a new just added field to the DB?

Is there anywhere that describes this more in-depth? If so I'll go through it and would be happy to contribute an example to make the process more clear.
Thanks.

Responding to both your questions below:
What happens when you want to change or update the primary key?
After your initial @model creation, currently you won't be allowed to change it due to DDB limitation. You'd have to remove the @model do a deployment (which will result in the DDB deletion) and then re-add the @model with the changed primary-key schema with @key. You'd have to backup the data before removing the @model to avoid loss in data and Amplify CLI doesn't provide a data migration path today.
What happens when you update a composite key to include a new just added field to the DB?
Currently, when you update the composite-key - you can do it only with the GSI's i.e @key's with a name field, DDB re-indexes your data for you based on your new hash-key and composite-key pair (which has the newly added field as a part of it.)

@Alex-Mann  Please let us know if you've more questions on this issue but closing this issue for now based on the response above.


Pin to meson versions >=0.56,!=1.2.*

Description of the changes
Meson v1.2.0 has a bug that prevents Gramine from building. Because the meson bug is non-trivial, this commit works around this by pinning meson to known good versions.
Fixes #163.
How to test this PR?
Any GSC workload (it fails on any Debian/Ubuntu workload without this PR).

This change is

Given that after this commit, there were fixup PRs like this one, I think we deal with a legit Meson bug.

That would be my analysis as well.


compiling error

got the following error when I tried to compile this project:
error: language item required, but not found: eh_personality
|
= note: this can occur when a binary crate with #![no_std] is compiled for a target where eh_personality is defined in the standard library
= help: you may be able to compile for a target that doesn't need eh_personality, specify a target with --target or in .cargo/config
error: could not compile lycoris-bpf due to previous error
warning: build failed, waiting for other jobs to finish...
rust toolchain:
rustup -V
rustup 1.25.1 (bb60b1e89 2022-07-12)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active rustc version is rustc 1.66.0-nightly (9c56d9d6f 2022-09-29)

did you run cargo build at the project root dir？if so, please try cd to the bpf dir and cargo build again


ERROR [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)

info
python3.7 check-certificates.py d.10jqka.com.cn
d.10jqka.com.cn ERROR [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)

I tried the same command and got a successful response:

python check-certificates.py d.10jqka.com.cn
Checking 1 endpoint...
d.10jqka.com.cn OK    expires in 290 days

If you Google around there are a number of reasons for this error, mostly relating to your local certificates. Without knowing more about your local setup there isn't much more I can say.


Executive champion presentation

Executive Champion presentation (the idea, business case / diagnosis, untapped potential - how many teams have $$ to spend but they don't because no easy way to do it, and they remain being overworked), the potentials (ESDC mandate, untapped potential), the efforts needed behind it / bureaucracy hacking)
https://govmatters.tv/the-role-of-bureaucracy-hackers-in-government/

Booked for June 19th


Update user guide

Edited section

registerinvestigator
deleteinvestigator
editinvestigator
backup
listinvestigatorcommand

Pull Request Test Coverage Report for Build 284

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

Totals

Change from base Build 278:
0.0%

Covered Lines:
2514

Relevant Lines:
3112

💛  - Coveralls


GitHub Action tests failing due to OSError: [Errno 28] No space left on device

The GitHub Actions workers performing the CI unit tests are running out of space. This occurs ~50% of the time.
Example: https://github.com/tom-andersson/deepsensor/actions/runs/5702848143/job/15454891003
When printing space available in the GitHub Actions worker with df -h, we get:
2023-07-29T22:37:13.1076338Z Filesystem      Size  Used Avail Use% Mounted on
2023-07-29T22:37:13.1076712Z /dev/root        84G   65G   19G  78% /
2023-07-29T22:37:13.1077429Z devtmpfs        3.4G     0  3.4G   0% /dev
2023-07-29T22:37:13.1077720Z tmpfs           3.4G  4.0K  3.4G   1% /dev/shm
2023-07-29T22:37:13.1078010Z tmpfs           694M  1.1M  693M   1% /run
2023-07-29T22:37:13.1078299Z tmpfs           5.0M     0  5.0M   0% /run/lock
2023-07-29T22:37:13.1078606Z tmpfs           3.4G     0  3.4G   0% /sys/fs/cgroup
2023-07-29T22:37:13.1078910Z /dev/loop0       64M   64M     0 100% /snap/core20/1974
2023-07-29T22:37:13.1079310Z /dev/loop1       54M   54M     0 100% /snap/snapd/19457
2023-07-29T22:37:13.1079621Z /dev/loop2       92M   92M     0 100% /snap/lxd/24061
2023-07-29T22:37:13.1079931Z /dev/sda15      105M  6.1M   99M   6% /boot/efi
2023-07-29T22:37:13.1080480Z /dev/sdb1        14G  4.1G  9.0G  31% /mnt
2023-07-29T22:37:13.1080767Z tmpfs           694M     0  694M   0% /run/user/1001

Relates to https://github.com/tom-andersson/deepsensor/issues/12
cc @JimCircadian @ots22

Here's the df -h output from a run that completed successfully:
2023-07-28T22:17:00.4834854Z Filesystem      Size  Used Avail Use% Mounted on
2023-07-28T22:17:00.4835989Z /dev/root        84G   64G   20G  77% /
2023-07-28T22:17:00.4836950Z devtmpfs        3.4G     0  3.4G   0% /dev
2023-07-28T22:17:00.4837938Z tmpfs           3.4G  4.0K  3.4G   1% /dev/shm
2023-07-28T22:17:00.4838725Z tmpfs           694M  1.1M  693M   1% /run
2023-07-28T22:17:00.4841077Z tmpfs           5.0M     0  5.0M   0% /run/lock
2023-07-28T22:17:00.4841431Z tmpfs           3.4G     0  3.4G   0% /sys/fs/cgroup
2023-07-28T22:17:00.4841770Z /dev/loop0       92M   92M     0 100% /snap/lxd/24061
2023-07-28T22:17:00.4842207Z /dev/loop2       64M   64M     0 100% /snap/core20/1974
2023-07-28T22:17:00.4842541Z /dev/loop1       54M   54M     0 100% /snap/snapd/19457
2023-07-28T22:17:00.4842872Z /dev/sda15      105M  6.1M   99M   6% /boot/efi
2023-07-28T22:17:00.4843220Z /dev/sdb1        14G  4.1G  9.0G  31% /mnt
2023-07-28T22:17:00.4844109Z tmpfs           694M     0  694M   0% /run/user/1001

The main difference is that 20G is available in /dev/root rather than 19G in the failed run. Looking at other completed/failed tests, this seems to be a general pattern. I'm not sure why 20G vs 19G available in /dev/root would make all the difference - I don't think tensorflow/torch are that large.

I noticed that all the GitHub Actions CI workers that were failing were ubuntu-20.04 machines. Changing the worker OS to ubuntu-latest fixed this and tests just passed: https://github.com/tom-andersson/deepsensor/commit/31956416d25fa5a7d2b42603d2f91776a2038e18

GitHub Actions CI workers are failing again with the same OSError, even though we're now on ubuntu-22.04. Here is the df -h output:
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        84G   65G   19G  78% /
tmpfs           3.4G  172K  3.4G   1% /dev/shm
tmpfs           1.4G  1.1M  1.4G   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
/dev/sdb15      105M  6.1M   99M   6% /boot/efi
/dev/sda1        14G  4.1G  9.0G  31% /mnt
tmpfs           693M   12K  693M   1% /run/user/1001

I'll see if the Mac image works (it got interrupted by the Ubuntu run failing).

Looks like there may be a fix here: https://github.com/actions/runner-images/issues/2840

Another option seems to be to parallelise the running of actions in a matrix: https://github.com/nf-core/mag/issues/170

Thanks @kallewesterling, I've copied this to our unit test workflow: https://github.com/tom-andersson/deepsensor/blob/7f5a5ec0754722a47352e67425643a7c4893ea9a/.github/workflows/tests.yml#L21-L27
This has freed up a lot of space, we now have 32G available rather than 19G:
Filesystem      Size  Used Avail Use% Mounted on
/dev/root         84G   53G   32G  63% /

However, we now have a bug in MacOS, because Python 2 was being used to pip install the requirements: https://github.com/tom-andersson/deepsensor/actions/runs/6481950302/job/17600680381#step:6:20
I've changed the pip install command to use python3 but the Python 2 error is still being raised: https://github.com/tom-andersson/deepsensor/actions/runs/6482059474/job/17600814134#step:6:19
My guess is that one of the new rm -rf commands is breaking the MacOS worker's python environment.

Re matrix, we're actually already doing this, and it shouldn't affect disk size: https://github.com/tom-andersson/deepsensor/blob/4bf557b69d771075812d83a7310ba7172ee1a40f/.github/workflows/tests.yml#L7-L9

Hmm, I tried rm -rfing different folders but then got the out-of-space error again. I'm thinking of removing MacOS from the CI workflow, at least temporarily, so that our unit tests are running.

Closing again for now because the 'Delete huge unnecessary folders' workflow method has solved things for our Ubuntu workers. This has broken the MacOS workers, which isn't high priority, but I've opened a new issue for that so that it stays on our radar, because in general we do want people to be able to run DeepSensor locally on Macs: https://github.com/tom-andersson/deepsensor/issues/81


Responsive login

Makes the login page not look like this on mobile: http://i.imgur.com/vEn6m9x.jpg

LGTM, but this builds on #199 so let's wait for that one to finish.

Can you rebase this one as well, I'll take a look when it's done.


MNT/API : refactor how strategies are stored

re-arrange where information is
add optional arg to set_parameter_bound to pass in non-standard keys

attn @danielballan

Neat. I like this idea.


It’s so damn hard to use.

Issue you'd like to raise.
No response
Suggestion:
No response

it is at first but you will get use to it .

it is at first but you will get use to it .

The idea of langchain is still very great. I read the source code about Agent for a long time and then reproduced it myself with dozens of lines of code. However, it is really difficult to use langchain directly.


Notebook file doesn't open

rl_cartpole_coach_gymEnv.ipynb neither loads in github, nor when I download and try to open in IPython.  Anyone else seeing this?

It is working now both in browser and download.


Process: Uncomment disabled tests and make compatible with Darwin

Handle differences in output from /bin/cat on Linux/macOS when
printing an error.

test_pipe_stdout_and_stderr_same_pipe(): Dont pass malloc debug
flags to subprocesses when debugging under Xcode.

runTask(): return stdout and stderr as separate values so the malloc debug is captured separately.

@swift-ci test

This looks good to me (with only one minor concern regarding exact error messages). @phausler can you approve the review when you get a chance?


Allow optionally preserving logs as they originally are

On line https://github.com/whitecolor/ts-node-dev/blob/master/src/log.ts#L31, this library updates all log messages that would normally be output from ts-node to have a [LEVEL] timestamp prefix (with the timestamp being optional).
This is problematic in cases where users want to keep their logs as JSON objects, because [LEVEL] { some_json... } is no longer valid json.
I would like a flag to preserve the logs as they originally are, without any prefix

This is for ts-node-dev output, not sure why it affects your output?


quickstart failing on M2 Mac

I've seen a few related issues and made the changes suggested therein, but still failing for me.
$ system_profiler SPHardwareDataType
Hardware:

    Hardware Overview:

      Model Name: MacBook Pro
      Model Identifier: Mac14,5
      Model Number: Z17M0015KLL/A
      Chip: Apple M2 Max
      Total Number of Cores: 12 (8 performance and 4 efficiency)
      Memory: 96 GB
      System Firmware Version: 10151.41.12
      OS Loader Version: 10151.41.12
      Serial Number (system): KY993HWYJ5
      Hardware UUID: C8476BA0-043D-5A25-B2B6-EA850976A82B
      Provisioning UDID: 00006021-001440423EEBC01E
      Activation Lock Status: Enabled

cog.yaml
build:
  gpu: false
  python_version: "3.11"
  python_packages:
    - pillow==9.5.0
    - tensorflow==2.13.0
  run:
    - pip install typing-extensions --upgrade
predict: "predict.py:Predictor"

result:
$ cog predict -i<EMAIL_ADDRESS>Building Docker image from environment in cog.yaml...
[+] Building 0.7s (18/18) FINISHED                                                                                docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 1.11kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => resolve image config for docker.io/docker/dockerfile:1.4                                                                                0.3s
 => [auth] docker/dockerfile:pull token for registry-1.docker.io                                                                                0.0s
 => CACHED docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc                                                                                0.0s
 => [internal] load metadata for docker.io/library/python:3.11-slim                                                                                0.2s
 => [auth] library/python:pull token for registry-1.docker.io                                                                                0.0s
 => [stage-0 1/8] FROM docker.io/library/python:3.11-slim@sha256:8f64a67710f3d981cf3008d6f9f1dbe61accd7927f165f4e37ea3f8b883ccc3f                                                                                0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 83.76kB                                                                                0.0s
 => CACHED [stage-0 2/8] RUN --mount=type=cache,target=/var/cache/apt set -eux; apt-get update -qq; apt-get install -qqy --no-install-recommends curl; rm -rf /var/lib/apt/lists/*; TINI_VERSION=v0.19.0; TINI_ARCH="$(dpkg --print-architecture)";  0.0s
 => CACHED [stage-0 3/8] COPY .cog/tmp/build3089610978/cog-0.0.1.dev-py3-none-any.whl /tmp/cog-0.0.1.dev-py3-none-any.whl                                                                                0.0s
 => CACHED [stage-0 4/8] RUN --mount=type=cache,target=/root/.cache/pip pip install /tmp/cog-0.0.1.dev-py3-none-any.whl                                                                                0.0s
 => CACHED [stage-0 5/8] COPY .cog/tmp/build3089610978/requirements.txt /tmp/requirements.txt                                                                                0.0s
 => CACHED [stage-0 6/8] RUN --mount=type=cache,target=/root/.cache/pip pip install -r /tmp/requirements.txt                                                                                0.0s
 => CACHED [stage-0 7/8] RUN pip install typing-extensions --upgrade                                                                                0.0s
 => CACHED [stage-0 8/8] WORKDIR /src                                                                                0.0s
 => preparing layers for inline cache                                                                                0.0s
 => exporting to image                                                                                0.0s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:a3a4b86178251852a94f3161c20a9f20c4960c577a01240e5a13903ca0f76b34                                                                                0.0s
 => => naming to docker.io/library/cog-quickstart-base                                                                                0.0s

Starting Docker image cog-quickstart-base and running setup()...
ⅹ Failed to get container status: exit status 1

Same here, quickstart won't work on Apple Silicon:

cog predict -i<EMAIL_ADDRESS>--debug

Building Docker image from environment in cog.yaml...
Generated requirements.txt:
pillow==9.5.0
tensorflow==2.12.0
$ docker buildx build --platform linux/amd64 --load --cache-to type=inline --file - --tag cog-quickstart-base --progress auto .
[+] Building 1.1s (11/11) FINISHED                                                                                docker:desktop-linux
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 294B                                                                                0.0s
=> resolve image config for docker-image://docker.io/docker/dockerfile:1.4                                                                                0.7s
=> CACHED docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc                                                     0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for r8.im/cog-base:python3.11                                                                                0.2s
=> [internal] load build context                                                                                0.0s
=> => transferring context: 240B                                                                                0.0s
=> [1/4] FROM r8.im/cog-base:python3.11@sha256:55a1644ecbe88d767a957d069fa9fa86ace75d7c947b7fe0f10ddf8ff161ddca                                                                      0.0s
=> CACHED [2/4] COPY .cog/tmp/build20240807113304.588273463898349/requirements.txt /tmp/requirements.txt                                                                             0.0s
=> CACHED [3/4] RUN pip install -r /tmp/requirements.txt                                                                                0.0s
=> CACHED [4/4] WORKDIR /src                                                                                0.0s
=> exporting to image                                                                                0.0s
=> => exporting layers                                                                                0.0s
=> => preparing layers for inline cache                                                                                0.0s
=> => writing image sha256:57d0fc3111b8be6995d830e5aaa0be6b4905645802e86ef3154a96ea3ba1d1cd                                                                                0.0s
=> => naming to docker.io/library/cog-quickstart-base                                                                                0.0s
View build details: docker-desktop://dashboard/build/desktop-linux/desktop-linux/unxpfgvs8qtefdakf8wnb6fv0
Starting Docker image cog-quickstart-base and running setup()...
$ docker run --rm --shm-size 6G --detach --env COG_LOG_LEVEL=debug --publish 0:5000 --mount type=bind,source=/Users/yoto/Projects/cog-quickstart,destination=/src cog-quickstart-base
{"logger": "uvicorn.error", "timestamp": "2024-08-07T09:33:07.225869Z", "severity": "INFO", "message": "Started server process [7]"}
{"logger": "uvicorn.error", "timestamp": "2024-08-07T09:33:07.226828Z", "severity": "INFO", "message": "Waiting for application startup."}
{"logger": "uvicorn.error", "timestamp": "2024-08-07T09:33:07.233051Z", "severity": "INFO", "message": "Application startup complete."}
{"logger": "uvicorn.error", "timestamp": "2024-08-07T09:33:07.247287Z", "severity": "INFO", "message": "Uvicorn running on http://<IP_ADDRESS>:5000 (Press CTRL+C to quit)"}
ⅹ Model setup failed
The container is being geerated for AMD64 platform, which may be the reason why it's failing ?
There is no detail about why the model setup is failing, no error message.
Is there a plan at Replictae to make that available for the (pretty big) Apple users community ?
Thanks !

Having the same issue as @altarofwisdom on M1 Pro.

I'm also experiencing issue with M1 Pro
cog run python
Building Docker image from environment in cog.yaml...
[+] Building 1.3s (6/6) FINISHED                                                                                docker:desktop-linux
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 294B                                                                                0.0s
=> resolve image config for docker-image://docker.io/docker/dockerfile:1.4                                                                                0.9s
=> [auth] docker/dockerfile:pull token for registry-1.docker.io                                                                                0.0s
=> CACHED docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc                                       0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> ERROR [internal] load metadata for r8.im/cog-base:python3.11                                                                                0.3s

[internal] load metadata for r8.im/cog-base:python3.11:

Dockerfile:2
1 |     #syntax=docker/dockerfile:1.4
2 | >>> FROM r8.im/cog-base:python3.11
3 |     COPY .cog/tmp/build20240901192419.804546391760398/requirements.txt /tmp/requirements.txt
4 |     RUN pip install -r /tmp/requirements.txt
ERROR: failed to solve: failed to resolve source metadata for r8.im/cog-base:python3.11: no match for platform in manifest: not found
ⅹ Failed to build Docker image: exit status 1

Same for M3 Pro
https://github.com/replicate/cog/issues/958#issuecomment-2351066495


Incompatibility with Python modules that mutually import each other

I came across the following issue. It probably isn't very urgent.
Environment info
I can produce the following error on:

Operating System: OS X El Capitan, 10.11.3 (15D21)
Ubuntu 14.04 (the default Ubuntu AMI on EC2)

I am using the CPU version of TensorFlow, installed from
# Ubuntu/Linux 64-bit, CPU only, Python 2.7
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl

> python -c "import tensorflow; print(tensorflow.__version__)"
0.9.0

Steps to reproduce

Create file1.py with contents:
import file2 # Can also reproduce the error with a single file by having file1 import itself
import tensorflow as tf # The order of these two imports doesn't matter
sess = tf.Session() # Removing the assignment fixes the problem

Create file2.py with contents
import file1

Then run
> python file1.py
Exception AttributeError: "'NoneType' object has no attribute 'raise_exception_on_not_ok_status'" in <bound method Session.__del__ of <tensorflow.python.client.session.Session object at 0x1172b7cd0>> ignored

Let's see...who's our Python / framework wizard?  Assigning to @mrry to take a look for now :)

This seems like an unusual thing to do.
It sounds like this issue is related to this question on Stack Overflow, and it's a Python problem rather than a TensorFlow one. Notably the behavior of setting modules to None on exit was removed in Python 3.4, so if you want to write code this way you could consider upgrading :).
Alternatively, ensuring that you guard any session creation (or other TensorFlow code) under if __name__ == '__main__': should work too.

Thanks for looking into it! The Stack Overflow post was pretty useful. Using if __name__ == '__main__': definitely works.

I'm having the same problem but I don't quite understand where
if name == 'main':
Should go exactly.
I'm a little new to python
What happens to all the
none's
in the problem file?

Do you have Python modules that mutually import each other? I solved this problem by rearranging things to get rid of all occurrences of that.

I'm deploying Tensorflow so there are lots of modules doing lots of things.
I'm new to all of this so when you say,
[I solved this problem by rearranging things to get rid of all occurrences of "that".]
Is "that" keeping modules from importing each other?
Where does "if name == 'main':" fit in to all this?
Maybe I should drill some basic Python programming, but when I do it feels like I'm not learning how to do anything and nothing is retained. Sorry this is unfocused. Seems futile.

Yeah, "that" means "keeping modules from importing each other". In the code example in the original post, I think that replacing file1.py with the code below addresses the issue. I'm not sure how to deal with this in general however.
import file2 # Can also reproduce the error with a single file by having file1 import itself
import tensorflow as tf # The order of these two imports doesn't matter

if __name__ == "__main__":
  sess = tf.Session() # Removing the assignment fixes the problem

I think that the guarding is also important, i.e. the code should be like this:
if __name__ == "__main__":
  with tf.Session() as sess:
    # do sth with sess
  # now sess will be cleaned up, even if there was an exception


Implement a basic problem collection and rendering framework for build failures

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

Fixes https://github.com/gradle/gradle/issues/29939

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

Pull Request Feedback (Trigger) (Check)

@hegyibalint @donat: This seems release notes worthy. Should we add something in notes.md?

@lkasso we decided to do the notes in a separate PR: https://github.com/gradle/gradle/pull/30242


Question about resume training automatically creating new items

I am executing the training of a model, during which I interrupt the training For example, I interrupt the model at epoch=30 The model provides a method to RESUME the training, then I am unmodified, wandb creates a new project to store these parameter plots, and I want to link the training after RESUME in the result of the first training, what can I do to achieve this.

Hi @op-newman
Happy to help here. Allow me some time to double-check this and I'll get back to you for updates.

Hi @op-newman ,
It is correct that wandb training can be resumed, however, you cannot resume a run and log it's data to a new project as resuming is directly tied to the project and run id. Could you expand on your workflow here and what you intend to do? If you could list out your process in steps, 1,2,3,4 ... that would be very helpful to follow the request. Thanks

Hi @op-newman ,
I just want to follow up if you still need more assistance regarding this concern.
Regards,
Carlo Argel

Hi @op-newman , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


⚠ Spryr has degraded performance

In c88539f, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5499 ms

Resolved: Spryr performance has improved in 8ab9914 after 7 minutes.


[BUG]: Manifest has incorrect version number (3.0.1 instead of 3.0.2)

Contact details
No response
What the essence of the bug
As the title indicates.
Version of an project's essence
3.0.1
On what OS you have encountered the bug.
No response
Code of conduct

[X] I agree to follow this project's code of conduct

Issue policy

[X] I agree to follow this project's issue policy

Hidden fix (replaces files without any external notice) in release, see for yourself:
https://github.com/Falcion/UNITADE.md/releases/tag/3.0.2
Thanks for opening the issue and helping to fix the bugs and problems in the plugin!


Added new MF routes, fixed SIP deletion HTTP method

Added new routes for getting allotted ISINs and getting holdings breakdown
Fixed the SIP deletion HTTP method from PUT to DELETE
Added route for cancelling an individual order

One test related to MF has failed. Can you check - https://travis-ci.com/github/zerodhatech/gokiteconnect/jobs/306751430#L348


how to prepare the a special bed fild for Higlass

Hey guys, I have downloaded a special bed file, the file contains the information about the subcompartment of the genome(the fourth column), which I believe is encoded with the red blue green color encoded in the last column), so how should prepare this kind of data for higlass? thanks a lot!
chr19   0                200000     NA       0       .       0                 200000      255,255,255
chr19   200000     500000     B1      -1        .       200000     500000      220,20,60
chr19   500000     3800000   A1       2        .       500000     3800000   34,139,34
chr19   3800000   3900000   B1     -1         .       3800000  3900000   220,20,60

Depends... what are you trying to do with it?
If you'd like to just see those regions, you can aggregate it using clodius: https://docs.higlass.io/data_preparation.html#bed-files


Complete event does not fire

Environment details

OS: Windows 10
Node.js version: 8.8.1
npm version: 5.4.2
@google-cloud/speech version: 1.1.0

Steps to reproduce
               const result = await this.client.longRunningRecognize(options)
                const operation = result[0]
                const intialApiResponse = result[1]
                console.log('initial Response', intialApiResponse)
                console.log('transcription in progress')

                operation.on('complete', (result, metadata, finalApiResponse) => {
                    console.log('complete')
                })

                operation.on('progress', (metadata, apiResponse) => {
                    console.log('progress', metadata)
                })

I give it a 1-minute audio file as the input, it appears to start successfully, outputting
The code outputs two progress events, outputting:
progress LongRunningRecognizeMetadata {
  startTime:
   Timestamp {
     seconds: Long { low:<PHONE_NUMBER>, high: 0, unsigned: false },
     nanos: 584955000 },
  lastUpdateTime:
   Timestamp {
     seconds: Long { low:<PHONE_NUMBER>, high: 0, unsigned: false },
     nanos: 614602000 } }
progress LongRunningRecognizeMetadata {
  progressPercent: 100,
  startTime:
   Timestamp {
     seconds: Long { low:<PHONE_NUMBER>, high: 0, unsigned: false },
     nanos: 584955000 },
  lastUpdateTime:
   Timestamp {
     seconds: Long { low:<PHONE_NUMBER>, high: 0, unsigned: false },
     nanos: 762003000 } }

I would expect the complete event to be fired, since progress is at 100, but it isn't.

Thanks for reporting. Do you have an error handler assigned as well? It doesn't seem like that would be the problem, but wouldn't hurt to check.

@stephenplusplus  Yes, I have an error handler:
 operation.on('error', err => {
     console.log(err)
      return reject(err)
})

I also have all this code  surrounded in a try-catch, with logs there as well.

Turns out I was sending an .mp4 instead of a .flac, like I had expected.
Weird that it allows you to do that without complaining about it


Add delete endpoint for messages

Added a delete endpoint for messages. It is using the matrix event id as identifier.
If you delete a message the following will happen:

the message will be striked through and a "- deleted" will be added at the end
you will receive a notification in reply to this message that it got deleted

I choose this way as that would offer a nice opportunity for alerting - the message will not be silently removed, Matrix will inform you about the deletion - that could be the resolving of an alert.
Another small detailed I changed: I added an "error to HTTP status code" mapping to the successOrAbort method. My thoughts about that are that we do not need to handle that in every handler separately and that it will encourage us to use predefined errors what will make the code more consistence.
Please don't feel presured about the next pr I opened - definetely no need to rush here, just lots of spare time on my site.

Hey @CubicrootXYZ, this looks great! I'll schedule a review on my side for Thursday.

One design question: Why do we send the deleted text in the response message? Wasn't sure if introducing duplication here helps clarity.

One design question: Why do we send the deleted text in the response message? Wasn't sure if introducing duplication here helps clarity.

That's how "replies" work in matrix. They always cite the original content. The exact format is defined in the matrix docs


Objects types: Document and Attachment can not be created with the component

Description: Error is shown after object types  Document and Attachment were selected
STR:

Create flow: simple trigger -> Salesforce
Select action Create Object and choose Document in dropdown list
See Error message.
Repeat steps 2 and 3 for object type: Attachment
Pay attention to error message in logs: Exception happened when passing data down the chain Error: Can't convert salesforce soapType xsd:base64Binary to JSON schema type

AR:
Error message for Document:  Error: Execution timeout Please see logs for more details.
Logs:
Starting your Docker container ...
[INFO  tini (1)] Spawned child process '/run.sh' with pid '7'
Starting application in apprunner...
Starting slug download ...
Successfully downloaded and extracted slug file
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
Sending post request to https://login.salesforce.com/services/oauth2/token
Have got 200 response from post to https://login.salesforce.com/services/oauth2/token
Refreshed token from https://{{prodEnv}}.salesforce.com/services/oauth2/token
Sending get request to https://na98.salesforce.com/services/data/v25.0/sobjects/Document/describe
Have got 200 response from get to https://na98.salesforce.com/services/data/v25.0/sobjects/Document/describe
at Function.forEach (/home/apprunner/node_modules/lodash/lodash.js:9344:14)
at emitTwo (events.js:126:13)
Exception happened when passing data down the chain Error: Can't convert salesforce soapType xsd:base64Binary to JSON schema type
at arrayEach (/home/apprunner/node_modules/lodash/lodash.js:516:11)
at buildMetadata (/home/apprunner/lib/entry.js:60:47)
at _fieldToProperty (/home/apprunner/lib/helpers/metadata.js:29:11)
at addProperty (/home/apprunner/lib/helpers/metadata.js:85:31)
at Object.buildSchemaFromDescription (/home/apprunner/lib/helpers/metadata.js:83:5)
at Request.checkResponse [as _callback] (/home/apprunner/lib/helpers/http-utils.js:76:21)
at Request.self.callback (/home/apprunner/node_modules/request/request.js:185:22)
at Request.emit (events.js:214:7)
[INFO  tini (1)] Main child exited normally (with status '0')

Error message for Attachment:  Error: Execution timeout Please see logs for more details.
Logs:
Starting your Docker container ...
[INFO  tini (1)] Spawned child process '/run.sh' with pid '7'
Starting application in apprunner...
Starting slug download ...
Successfully downloaded and extracted slug file
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
node: /usr/lib/libstdc++.so.6: no version information available (required by node)
Sending post request to https://login.salesforce.com/services/oauth2/token
Have got 200 response from post to https://login.salesforce.com/services/oauth2/token
Refreshed token from https://{{prodEnv}}.salesforce.com/services/oauth2/token
Sending get request to https://na98.salesforce.com/services/data/v25.0/sobjects/Attachment/describe
Have got 200 response from get to https://na98.salesforce.com/services/data/v25.0/sobjects/Attachment/describe
at addProperty (/home/apprunner/lib/helpers/metadata.js:85:31)
at arrayEach (/home/apprunner/node_modules/lodash/lodash.js:516:11)
at buildMetadata (/home/apprunner/lib/entry.js:60:47)
at Function.forEach (/home/apprunner/node_modules/lodash/lodash.js:9344:14)
at Object.buildSchemaFromDescription (/home/apprunner/lib/helpers/metadata.js:83:5)
at Request.checkResponse [as _callback] (/home/apprunner/lib/helpers/http-utils.js:76:21)
at Request.self.callback (/home/apprunner/node_modules/request/request.js:185:22)
Exception happened when passing data down the chain Error: Can't convert salesforce soapType xsd:base64Binary to JSON schema type
at _fieldToProperty (/home/apprunner/lib/helpers/metadata.js:29:11)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
[INFO  tini (1)] Main child exited normally (with status '0')

ER:
Object with chosen object type is created accordingly to input data

Only happens on Flowground for me. But also happens with:

Content Version
Feed Item
Mail Merge Template
Custom S-Control
Static Resource

Looks like a duplicate for another task which was already done. But should check ai along with Florian's comment above

Works for me, not seeing any errors after selecting object types Document or Attachment

@A3a3e1

Looks like a duplicate for another task which was already done. But should check ai along with Florian's comment above

Valid requests are needed for this, as Florian didn't paste them here.
I tried to found a couple, but with no success, however, for Content Version following request causes an error:
Request:
{
  "ContentDocumentId": "0692R000005digDQAQ",
  "Title":"test1",
  "ContentUrl": "https://na98.lightning.force.com/lightning/r/ContentDocument/0692R000005digDQAQ",
  "Origin": "C"
}

Error in logs:
statusCode: 400 } Error: Unexpected return code 400, expected 201, body [{"message":"You can't create a new Content Version of the Content Document because the new Content Version is incompatible with the Content Document's Content Versioning Policy. Try uploading a new Content Document instead of versioning an existing Content Document.","errorCode":"INVALID_STATUS","fields":[]}]
and it does not look like the component bug, but Salesforce instance behavior

https://elasticio.slack.com/archives/CNGHLMAET/p1568973796015300


Expose the async save queue in vuex-persist

This lets an application wait for all writes to the storage to finish before continuing. For example, we may want to wait to save state before leaving a page.

The plan is to call join in the Capacitor beforeExit hook to make sure persistence completes in the background. https://capacitorjs.com/docs/v2/apis/background-task#beforeexit


Could not load type

If I am use custom attribute and InjectValidationAttribute, i get runtime exception
If I use a custom attribute with an InjectValidationAttribute, an exception occurs at run time, when the following code is executed:
 public ValidationTemplate(T target)
{
var attributes = target.GetType().GetCustomAttributes(false).ToList();
}
Exception:
An exception of type 'System.TypeLoadException' occurred in mscorlib.dll but was not handled in user code
Additional information: Could not load type "Validar.InjectValidationAttribute" from assembly "PresentationFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

can u upload a repro


Automate a sitemap with nodeJS

Use nodeJS to create a sitemap file

[ ] find a nom package that would build a sitemap.xml
[ ] run against the files in the _site folder

Starting sitemap development this week after long delay.

Actually we can do it with 11ty. I was able to do it during the Thursday meeting.
I'm using this from the starter page:
https://github.com/11ty/eleventy-base-blog/blob/master/page-list.njk


Syll transitions

Fixed issue of syllable game mode incorrectly carrying over to next game when using 12 trackers setting 3; also fixed related points issue


Apply as a member of TelegramBots

Is there any way to apply as a member of the TelegramBots organization? I'd love to be one :wink:

@MrRoundRobin What do you think about adding @Olfi01 ?
He has done good contributions to the project and I'd like to have him as a member.
If you don't reply in the next few days, I'll add him.

sorry for the delay, now I have more time for this, i promise ;)
i'll add him
I try to add a contributing file with some Code style and such...

@MrRoundRobin Alright. I'll start writing it.


ClassResultExtras.class_funs inconsistent values

ClassResultExtras.class_funs should hold a list of values, but in specific instances holds a newline-separated string with values. To reproduce:
Correct:
https://cloogle.org/api.php?str=class List
class_funs = ["_cons :: .e u:(l .e) -> u:(l .e)","_decons :: !u:(l .e) -> (.e,u:(l .e))"]
                                                ^

Incorrect:
https://cloogle.org/api.php?str=class Eq
class_funs = ["(<>) infix 4 :: !a !a -> Bool | Eq a\n(<>) x y :== not (x == y)"]
                                                    ^

I do not believe this is intended behaviour?

This is by design. There are newlines when it is a macro. The first line is the type, the second the implementation.

This is by design. There are newlines when it is a macro. The first line is the type, the second the implementation.

Alright, my apologies :smiley:

No need :)


Unable to authenticate you

For a while now i am facing this issue. No idea why ?

On Sat, Aug 18, 2018 at 3:41 AM, Luciano Cassisi<EMAIL_ADDRESS>wrote:

same problem here
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/toin0u/DigitalOceanV2/issues/197#issuecomment-414000779,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHSmhxdMIvfduZuToKZQEafJ25MShPSnks5uRz-bgaJpZM4VrsjN
.

--
Regards
Gulzar Ahmed
ALiGNWEBS
Skype: webzar1
View Linkedin Profile

Use Buzz version 0.15.2, it works.
https://packagist.org/packages/kriswallsmith/buzz#v0.15.2

Thanks @bharatpareek its working for me!

@bharatpareek thank you :)

Welcome guys. :)


Routing Tables with MLVPN

I have been working on getting this set up for 3 months unsuccessfully (tried linux bonding, vtrunkd, and now mlvpn), and am reaching out to see if you can help me get over the last hurdle. I can get the two machines to connect... I just can't get the traffic to route through the mlvpn0 tunnel adapter. I have attached all of my relevant configuration and the connection debug logs at the bottom of this thread.
It is a slightly modified version of the tutorial using two interfaces (eth1 and eth2).
Clearly it is the route and the iptables an I'm in the deep end...
@zehome Please help.
                                               eth0 <IP_ADDRESS>
                                              +---------------+
                                 +----------->| Fast internet |--> IN/OUT
                                 |            +---------------+
                         mlvpn0  |
                  +--------------+---+
          +------>| MLVPN EC2 Ubuntu |<------+
          |       | server <IP_ADDRESS> |       |
          |       +------------------+       |
          |            ^        ^            |
          |            |  T  A  |            |
 +--------+---------+  |  U  G  |  +---------+--------+
 | 4G LTE 1 (link1) |  |  N  G  |  | 4G LTE 2 (link2) |
 +------------------+  |  /  R  |  +------------------+
   <IP_ADDRESS>/24     |  T  E  |     <IP_ADDRESS>/24
          ^            |  A  G  |            ^
          |            |  P  A  |            |
          |            |     T  |            |
          |            |     E  |            |
internet 1|            |     D  |            | internet 2
          |            v mlvpn0 v            |
          |         +--+--------+---+        |
          +---------| MLVPN client  |--------+
                    | Ubuntu Desktop|
                    +---------------+
eth1: <IP_ADDRESS>       mlvpn0  |     eth2: <IP_ADDRESS>
                                 |
                                 | eth0: <IP_ADDRESS>
 +-------------------+           |
 | LAN <IP_ADDRESS>   |<----------+
 +-------------------+

client: mlvpn.conf
[general]
statuscommand = "/usr/local/sbin/mlvpn/share/doc/mlvpn/mlvpn_updown.sh"
mode = "client"
mtu = 1444
tuntap = "tun"
interface_name = "mlvpn0"
timeout = 30
password = "pleasechangeme"
cleartext_data = 1
reorder_buffer_size = 64
loss_tolerance = 50

[filters]

[link1]
bindhost = "<IP_ADDRESS>"
remotehost = "<IP_ADDRESS>"
remoteport = "6001"

[link2]
bindhost = "<IP_ADDRESS>"
remotehost = "<IP_ADDRESS>"
remoteport = "6002"

client: iptables
sudo iptables -A INPUT -i mlvpn0 -j ACCEPT
sudo iptables -A INPUT -i lo -j ACCEPT
sudo iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i lo -o mlvpn0 -j ACCEPT
sudo iptables -t nat -A POSTROUTING -j MASQUERADE

server: mlvpn.conf
[general]
statuscommand = "/usr/local/sbin/mlvpn/share/doc/mlvpn/mlvpn_updown.sh"
mode = "server"
mtu = 1444
tuntap = "tun"
interface_name = "mlvpn0"
timeout = 30
password = "pleasechangeme"
cleartext_data = 1
reorder_buffer_size = 64
loss_tolerence = 50

[filters]

[link1]
bindhost = "<IP_ADDRESS>"
bindport = 6001

[link2]
bindhost = "<IP_ADDRESS>"
bindport = 6002

server: iptables
sudo iptables -A INPUT -i mlvpn0 -j ACCEPT
sudo iptables -A INPUT -i eth0 -j ACCEPT
sudo iptables -A INPUT -i lo -j ACCEPT
sudo iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i mlvpn -o eth0 -j ACCEPT
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo iptables -A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT

client: ip route show table link1
default via <IP_ADDRESS> dev eth1
<IP_ADDRESS>/24 dev eth1   scope link

client: ip route show table link2
default via <IP_ADDRESS> dev eth2
<IP_ADDRESS>/24 dev eth2   scope link

client: ip route show table main
default via dev mlvpn0
<IP_ADDRESS>/24 dev eth1   proto kernel   scope link   src <IP_ADDRESS>
<IP_ADDRESS>/24 dev eth1   proto kernel   scope link   src <IP_ADDRESS>

server: start
sudo mlvpn --user ubuntu -c /usr/local/sbin/mlvpn/share/doc/mlvpn/mlvpn.conf --debug -Dprotocol -v
client: start
sudo mlvpn --user mylogin -c /usr/local/sbin/mlvpn/share/doc/mlvpn/mlvpn.conf --debug -Dprotocol -v
server: debug output
2017-07-16T05:26:11 [ DBG] absolute maximum mtu: 1444
2017-07-16T05:26:11 [INFO/config] new password set
2017-07-16T05:26:11 [INFO/config] reorder_buffer_size changed from 0 to 64
2017-07-16T05:26:11 [INFO/config] link1 tunnel added
2017-07-16T05:26:11 [INFO/config] link2 tunnel added
2017-07-16T05:26:11 [INFO] created interface `mlvpn0'
2017-07-16T05:26:11 [INFO] link1 bind to <IP_ADDRESS>
2017-07-16T05:26:11 [INFO] link2 bind to <IP_ADDRESS>
2017-07-16T05:26:18 [INFO/protocol] link1 new connection -> XXX.XXX.XXX.XXX:XXXXX
2017-07-16T05:26:18 [ DBG/net] < link1 recv 46 bytes (type=0, seq=0, reorder=0)
2017-07-16T05:26:18 [ DBG/protocol] link1 sending 'OK'
2017-07-16T05:26:18 [INFO/protocol] link1 authenticated
2017-07-16T05:26:18 [ DBG/net] > link1 sent 46 bytes (size=2, type=1, seq=0, reorder=0)
2017-07-16T05:26:18 [INFO/protocol] link2 new connection -> XXX.XXX.XXX.XXX:XXXXX
2017-07-16T05:26:18 [ DBG/net] < link2 recv 46 bytes (type=0, seq=0, reorder=0)
2017-07-16T05:26:18 [ DBG/protocol] link2 sending 'OK'
2017-07-16T05:26:18 [INFO/protocol] link2 authenticated
2017-07-16T05:26:18 [ DBG/net] > link2 sent 46 bytes (size=2, type=1, seq=0, reorder=0)
2017-07-16T05:26:18 [ DBG/rtt] 112ms srtt 112ms loss ratio: 0
2017-07-16T05:26:18 [ DBG/net] < link1 recv 76 bytes (type=3, seq=0, reorder=0)
2017-07-16T05:26:18 [ DBG/tuntap] mlvpn0 > sent 48 bytes
2017-07-16T05:26:18 [ DBG/reorder] adjusting reordering drain timeout to 672ms
2017-07-16T05:26:19 [ DBG/reorder] adjusting reordering drain timeout to 672ms
2017-07-16T05:26:20 [ DBG/protocol] link1 sending keepalive
2017-07-16T05:26:20 [ DBG/reorder] adjusting reordering drain timeout to 672ms
2017-07-16T05:26:20 [ DBG/protocol] link2 sending keepalive
2017-07-16T05:26:20 [ DBG/net] > link2 sent 44 bytes (size=0, type=2, seq=0, reorder=0)
2017-07-16T05:26:20 [ DBG/net] > link1 sent 44 bytes (size=0, type=2, seq=0, reorder=0)
2017-07-16T05:26:21 [ DBG/rtt] 330ms srtt 139ms loss ratio: 0
2017-07-16T05:26:21 [ DBG/net] < link1 recv 44 bytes (type=2, seq=0, reorder=0)
2017-07-16T05:26:21 [ DBG/protocol] link1 keepalive received
2017-07-16T05:26:21 [ DBG/protocol] link1 sending keepalive
2017-07-16T05:26:21 [ DBG/rtt] 304ms srtt 304ms loss ratio: 0
2017-07-16T05:26:21 [ DBG/net] < link2 recv 44 bytes (type=2, seq=0, reorder=0)
2017-07-16T05:26:21 [ DBG/protocol] link2 keepalive received
2017-07-16T05:26:21 [ DBG/protocol] link2 sending keepalive
2017-07-16T05:26:21 [ DBG/reorder] adjusting reordering drain timeout to 1050ms
2017-07-16T05:26:21 [ DBG/reorder] adjusting reordering drain timeout to 1824ms

client: debug ouput
2017-07-16T05:17:40 [ DBG] absolute maximum mtu: 1444
2017-07-16T05:17:40 [INFO/config] new password set
2017-07-16T05:17:40 [INFO/config] reorder_buffer_size changed from 0 to 64
2017-07-16T05:17:40 [INFO/config] link1 tunnel added
2017-07-16T05:17:40 [INFO/config] link2 tunnel added
2017-07-16T05:17:40 [INFO] created interface `mlvpn0'
2017-07-16T05:17:40 [INFO] link1 bind to <IP_ADDRESS>
2017-07-16T05:17:40 [ DBG/protocol] link1 mlvpn_rtun_challenge_send
2017-07-16T05:17:40 [INFO] link2 bind to <IP_ADDRESS>
2017-07-16T05:17:40 [ DBG/protocol] link2 mlvpn_rtun_challenge_send
2017-07-16T05:17:40 [ DBG/net] > link2 sent 46 bytes (size=2, type=0, seq=0, reorder=0)
2017-07-16T05:17:40 [ DBG/net] > link1 sent 46 bytes (size=2, type=0, seq=0, reorder=0)
2017-07-16T05:17:40 [ DBG/rtt] 114ms srtt 114ms loss ratio: 0
2017-07-16T05:17:40 [ DBG/net] < link2 recv 46 bytes (type=1, seq=0, reorder=0)
2017-07-16T05:17:40 [INFO/protocol] link2 authenticated
2017-07-16T05:17:40 [ DBG/rtt] 141ms srtt 141ms loss ratio: 0
2017-07-16T05:17:40 [ DBG/net] < link1 recv 46 bytes (type=1, seq=0, reorder=0)
2017-07-16T05:17:40 [INFO/protocol] link1 authenticated
2017-07-16T05:17:40 [ DBG/net] > link2 sent 76 bytes (size=48, type=3, seq=0, reorder=0)
2017-07-16T05:17:41 [ DBG/reorder] adjusting reordering drain timeout to 846ms
2017-07-16T05:17:41 [ DBG/reorder] adjusting reordering drain timeout to 684ms
2017-07-16T05:17:42 [ DBG/reorder] adjusting reordering drain timeout to 684ms
2017-07-16T05:17:42 [ DBG/reorder] adjusting reordering drain timeout to 846ms
2017-07-16T05:17:42 [ DBG/net] < link1 recv 44 bytes (type=2, seq=0, reorder=0)
2017-07-16T05:17:42 [ DBG/protocol] link1 keepalive received
2017-07-16T05:17:42 [ DBG/protocol] link1 sending keepalive
2017-07-16T05:17:42 [ DBG/net] < link2 recv 44 bytes (type=2, seq=0, reorder=0)
2017-07-16T05:17:42 [ DBG/protocol] link2 keepalive received
2017-07-16T05:17:42 [ DBG/protocol] link2 sending keepalive
2017-07-16T05:17:43 [ DBG/reorder] adjusting reordering drain timeout to 846ms
2017-07-16T05:17:43 [ DBG/reorder] adjusting reordering drain timeout to 684ms
2017-07-16T05:17:43 [ DBG/net] > link2 sent 44 bytes (size=0, type=2, seq=0, reorder=0)
2017-07-16T05:17:43 [ DBG/net] > link1 sent 44 bytes (size=0, type=2, seq=0, reorder=0)
2017-07-16T05:17:43 [ DBG/rtt] 125ms srtt 115ms loss ratio: 0
2017-07-16T05:17:43 [ DBG/net] < link2 recv 44 bytes (type=2, seq=0, reorder=0)
2017-07-16T05:17:43 [ DBG/protocol] link2 keepalive received
2017-07-16T05:17:43 [ DBG/rtt] 155ms srtt 142ms loss ratio: 0
2017-07-16T05:17:43 [ DBG/net] < link1 recv 44 bytes (type=2, seq=0, reorder=0)
2017-07-16T05:17:43 [ DBG/protocol] link1 keepalive received
2017-07-16T05:17:44 [ DBG/reorder] adjusting reordering drain timeout to 595ms
2017-07-16T05:17:44 [ DBG/reorder] adjusting reordering drain timeout to 736ms
2017-07-16T05:17:44 [ DBG/net] > link2 sent 76 bytes (size=48, type=3, seq=0, reorder=0)

I can't answer your question directly, but - my feeling is you need a firewall on your 'router' (Ubuntu desktop). I used shorewall (there is a wiki page about it, and a couple of issues that helped me get to an answer). It might help you. (https://github.com/zehome/MLVPN/wiki/Using-MLVPN-and-Shorewall)
BTW, Do you need encryption on this link? Your data will go across 'fast internet' unencrypted anyway?

Were you able to get this resolved?  I am having the same issue.  I can see packets arrive on the server but don;t seem to get forward to the internet.

Same here. Interestingly I can ping all my local machines from the server, but I can't ping the server from the local machine. Which doesn't really make sense to me.

it can happen if you don't specify correctly the source ip address when you do a "ping".
You need to run a tcpdump on the tunnel interface in order to be able to know what is going on

Also ran into this problem. After applying your server iptables commands it started to work. But I had to correct a tiny typo which might be crucial here:
sudo iptables -A FORWARD -i mlvpn0 -o eth0 -j ACCEPT
Note the mlvpn0!

And also had to enable IP4 forwarding which seems disabled by default. Make sure net.ipv4.ip_forward = 1 is set in /etc/sysctl.conf.

Ultimately couldn't succeed with MLVPN. Got a solution to work very nicely based on Linux Ethernet Bonding, OpenVPN and FireHOL.

I am testing openMPTCProuter.  So far it seems to be working well.
From: legolas108<EMAIL_ADDRESS>Sent: Thursday, August 01, 2019 10:09 AM
To: zehome/MLVPN
Cc: tabbertmj; Comment
Subject: Re: [zehome/MLVPN] Routing Tables with MLVPN (#103)
Ultimately couldn't succeed with MLVPN. Got a solution to work very nicelyhttps://serverfault.com/questions/977589/how-to-bond-two-multiple-internet-connections-for-increased-speed-and-failover based on Linux Ethernet Bonding, OpenVPN and FireHOL.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/zehome/MLVPN/issues/103?email_source=notifications&email_token=AH2JGU7OAUWT3QG2PSOU56TQCL37ZA5CNFSM4DT3STT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3K5AQY#issuecomment-517328963, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AH2JGU7LURJYCADKQDPS4YTQCL37ZANCNFSM4DT3STTQ.

Give ubond a spin, see if it works for you. it's based on mlvpn. https://github.com/markfoodyburton/ubond
I dont know why you found mlvpn didn't work for you.


[CLOSED] Visual highlight background colour is lost when window loses focus

 Issue by GoogleCodeExporter
Monday Mar 16, 2015 at 09:15 GMT
Originally opened as https://github.com/douglasdrumond/macvim/issues/13

What steps will reproduce the problem?
1. :hi Visual guibg=red
2. Highlight some text in visual mode
3. Switch to another window
4. Switch back

What is the expected output? What do you see instead?
The highlighted text should still have a red background but is now grey.

What version of the product are you using? On what operating system?
MacVim r229

Please provide any additional information below.
I'm using the graphite colour scheme. It looks like Cocoa is changed the
selected colour to grey
as it does for windows that don't have focus, but MacVim is not switching back
to the correct
Visual colour when it receives focus again.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 8 Sep 2007 at 6:52

 Comment by GoogleCodeExporter
Monday Mar 16, 2015 at 09:15 GMT

The problem is that the Visual color is set on focus change events...check out
$VIM/gvimrc.  As soon as I figure out how to store/restore the current Visual
color I
will fix this.  For now, if this behaviour bothers you just open up $VIM/gvimrc
and
delete the two lines where the Visual color is modified (they start with 'au
Focus...').

Original comment by<EMAIL_ADDRESS>on 9 Sep 2007 at 10:38

Changed state: Accepted

 Comment by GoogleCodeExporter
Monday Mar 16, 2015 at 09:15 GMT

The Visual group is no longer modified by MacVim, so this is no longer an issue.

Original comment by<EMAIL_ADDRESS>on 1 Oct 2007 at 4:56

Changed state: Fixed


[doc] update totalRecordCount and deltaRecordCount in understand-files.md

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
the snapshot json in Compact Table part should be updated, because of the commit in org.apache.paimon.operation.FileStoreCommitImpl.

Solution
before:
{
  "version" : 3,
  "id" : 4,
  "schemaId" : 0,
  "baseManifestList" : "manifest-list-9be16-82e7-4941-8b0a-7ce1c1d0fa6d-0",
  "deltaManifestList" : "manifest-list-9be16-82e7-4941-8b0a-7ce1c1d0fa6d-1",
  "changelogManifestList" : null,
  "commitUser" : "a3d951d5-aa0e-4071-a5d4-4c72a4233d48",
  "commitIdentifier" :<PHONE_NUMBER>854775807,
  "commitKind" : "COMPACT",
  "timeMillis" :<PHONE_NUMBER>960,
  "logOffsets" : { },
  "totalRecordCount" : 38,
  "deltaRecordCount" : 20,
  "changelogRecordCount" : 0,
  "watermark" : -9223372036854775808
}

after:
{
  "version" : 3,
  "id" : 4,
  "schemaId" : 0,
  "baseManifestList" : "manifest-list-9be16-82e7-4941-8b0a-7ce1c1d0fa6d-0",
  "deltaManifestList" : "manifest-list-9be16-82e7-4941-8b0a-7ce1c1d0fa6d-1",
  "changelogManifestList" : null,
  "commitUser" : "a3d951d5-aa0e-4071-a5d4-4c72a4233d48",
  "commitIdentifier" :<PHONE_NUMBER>854775807,
  "commitKind" : "COMPACT",
  "timeMillis" :<PHONE_NUMBER>960,
  "logOffsets" : { },
  "totalRecordCount" : 2,
  "deltaRecordCount" : -16,
  "changelogRecordCount" : 0,
  "watermark" : -9223372036854775808
}

Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

@wpj980205   I'm willing to submit a PR!      do  modify the content in the document and replace it according to the above content?    the path is