Add photon-ml

Do we really need "based on Apache Spark"?

Well I hasitated and I've added it. So not very sure !

Sometimes it is hard to avoid it but I don't think it is really required here. Also it would be cool to mention some of its features. It has really nice diagnostic tools which are missing from ML / MLlib. What you think?

That's also something I had some doubt about. GLM, per example, don't exist in spark ml/mllib and they exist in sparkr...

I think formulas and stuff are scheduled for 2.1. One way or another it is up to you. I just think it would be nice to point out why it is awesome. And being LinkedIn product is not a good advertisement :)


IT'S HAPPENING

Thank you for bringing this issue to our attention.
Our team will do all that we can to fix it.


fix(release): tidy up pipeline code and avoid semantic-release assuming a CD pipeline is debug

Can one of the admins verify this patch?


Include new conditions.reason as part of maxUnavailable support.

Signed-off-by: Geetika Kapoor<EMAIL_ADDRESS>Short description:
This is the new reason recently added under conditions as part of maxunavailable support.
Below is example how it gets displayed.
Status:
Conditions:
Last Hearbeat Time:    2021-11-16T16:29:01Z
Last Transition Time:  2021-11-16T16:29:01Z
Message:               Max unavailable node limit reached
Reason:                MaxUnavailableLimitReached
Status:                True
Type:                  Pending
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

/approve

These changes are done based on code:
supported types and reasons:
enactment types
NodeNetworkConfigurationEnactmentConditionAvailable   ConditionType = "Available"
NodeNetworkConfigurationEnactmentConditionFailing     ConditionType = "Failing"
NodeNetworkConfigurationEnactmentConditionPending     ConditionType = "Pending"
NodeNetworkConfigurationEnactmentConditionProgressing ConditionType = "Progressing"
NodeNetworkConfigurationEnactmentConditionAborted     ConditionType = "Aborted"
Policy types are
NodeNetworkConfigurationPolicyConditionAvailable ConditionType = "Available"
NodeNetworkConfigurationPolicyConditionDegraded  ConditionType = "Degraded"
api/shared/nodenetworkconfigurationenactment_types.go:	NodeNetworkConfigurationEnactmentConditionFailedToConfigure          ConditionReason = "FailedToConfigure"
api/shared/nodenetworkconfigurationenactment_types.go:	NodeNetworkConfigurationEnactmentConditionSuccessfullyConfigured     ConditionReason = "SuccessfullyConfigured"
api/shared/nodenetworkconfigurationenactment_types.go:	NodeNetworkConfigurationEnactmentConditionMaxUnavailableLimitReached ConditionReason = "MaxUnavailableLimitReached"
api/shared/nodenetworkconfigurationenactment_types.go:	NodeNetworkConfigurationEnactmentConditionConfigurationProgressing   ConditionReason = "ConfigurationProgressing"
api/shared/nodenetworkconfigurationenactment_types.go:	NodeNetworkConfigurationEnactmentConditionConfigurationAborted       ConditionReason = "ConfigurationAborted"
api/shared/nodenetworkconfigurationpolicy_types.go:	NodeNetworkConfigurationPolicyConditionFailedToConfigure           ConditionReason = "FailedToConfigure"
api/shared/nodenetworkconfigurationpolicy_types.go:	NodeNetworkConfigurationPolicyConditionSuccessfullyConfigured      ConditionReason = "SuccessfullyConfigured"
api/shared/nodenetworkconfigurationpolicy_types.go:	NodeNetworkConfigurationPolicyConditionConfigurationProgressing    ConditionReason = "ConfigurationProgressing"
api/shared/nodenetworkconfigurationpolicy_types.go:	NodeNetworkConfigurationPolicyConditionConfigurationNoMatchingNode ConditionReason = "NoMatchingNode"

/verified


where is checkpoints (512×512)?

where is checkpoints (512×512)?

Hi,
This checkpoint is available on the original guided-diffusion repository.
By the way, we recommend using the newer version of this project (which is better and faster) --- Blended Latent Diffusion.


BAH: Handle existing journey URLs with /process/ segment

We're working on migrating the journey pages from the OAH repo into Wagtail. The pages currently have the URL structure /owning-a-home/process/{step name}/, but we'd prefer not to create a process page in the Wagtail tree since there's no unique content for it (/process/ shows the same content as /process/prepare/). The migration coincides with a home-buying season campaign, though, and for various SEO/analytics reasons, we've been asked not to change the journey page URLs or add redirects at this time.
This PR adds temporary hacks to:

load the Wagtail versions of the journey pages at their existing /process/ URLs
add a /process/ segment to the journey side nav URLs
add Buying a House link to breadcrumbs of its child pages & /process/ segment in breadcrumb journey URLs

Additions

Serve journey pages at /process/ URLs
Add workaround for Journey page side nav URLs

Testing

Check out branch
Create /explore and /prepare pages under Buying a House, and a /explore-child page under /explore
Verify that Wagtail journey pages load at  /process/ URLs: http://localhost:8000/owning-a-home/process/prepare, http://localhost:8000/owning-a-home/process/explore, http://localhost:8000/owning-a-home/process/explore/explore-child
Verify that journey page side nav link URLs include /process/ segment
Verify that Buying a House shows up in breadcrumbs and breadcrumb URLs include /process/ segment

Checklist

[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the development playbook
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist
Browsers

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Internet Explorer 8, 9, 10, and 11
[ ] Edge
[ ] iOS Safari
[ ] Chrome for Android

Accessibility

[ ] Keyboard friendly
[ ] Screen reader friendly

Other

[ ] Is useable without CSS
[ ] Is useable without JS
[ ] Flexible from small to large screens
[ ] No linting errors or warnings
[ ] JavaScript tests are passing

💯, just need to add the code to flag the routes.


doom-gruvbox, doom-modeline, flycheck - similar colors for warnings and errors.

I use doom-gruvbox with doom-modeline with the following configuration:
(setq doom-modeline-checker-simple-format nil)

which makes doom-modeline display flycheck errors, warnings and info separately. I noticed that the colors for errors and for warnings are very similar and the warning color, which is usually yellow, is off its meaning:

(errors/warnings/info)
In other doom themes there is no such issue, the warning count is yellow.

I'll check it right away.

Fixed.


Red line indicating error outlives its usefulness

When I write a bad line of code and execute it, I get the red line under the code telling me that line has failed. This is useful. However, once I start editing that line of code, I expect the red line to go away, since now it is undetermined if what is there is buggy. The red line hangs around until the next time I execute that code successfully, which is a little bit distracting.
For example:

The first time I ran that code, it failed. Now that I'm editing it, I'd like the red line to go away, and only re-appear if I run the code again and it fails again. Or, maybe the red line hangs around, but is almost totally transparant / lightly colored once I start editing?

Maybe we shouldn't use red underline for this. Can we include a link to the file and line number with the error in deephaven output?


Add connection tracking metrics in flow exporter

Fix #1033
Add there metrics TotalConnectionsInConnTrackTable, TotalAntreaConnectionsInConnTrackTable, MaxConnectionsInConnTrackTable to show the capacity and current number of connection in the connection tracking table.
Add unit tests for these metrics too.
These metrics will be useful for configuring connection tracking table size and also help generate alerts.

Codecov Report

Merging #1232 into master will decrease coverage by 13.85%.
The diff coverage is 34.61%.

@@             Coverage Diff             @@
##           master    #1232       +/-   ##
===========================================
- Coverage   56.06%   42.21%   -13.86%
===========================================
  Files         108       76       -32
  Lines       11887    10805     -1082
===========================================
- Hits         6665     4561     -2104
- Misses       4634     5870     +1236
+ Partials      588      374      -214

Flag
Coverage Δ

#integration-tests
?

#unit-tests
42.21% <34.61%> (-0.03%)
:arrow_down:

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

Impacted Files
Coverage Δ

.../agent/flowexporter/connections/conntrack_linux.go
8.86% <8.33%> (+0.03%)
:arrow_up:

...kg/agent/flowexporter/connections/conntrack_ovs.go
73.33% <50.00%> (-2.82%)
:arrow_down:

pkg/agent/flowexporter/connections/connections.go
59.09% <100.00%> (-11.28%)
:arrow_down:

pkg/ovs/openflow/default.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/config/node_config.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/ovs/openflow/logs.go
12.50% <0.00%> (-87.50%)
:arrow_down:

pkg/ovs/openflow/ofctrl_group.go
0.00% <0.00%> (-76.09%)
:arrow_down:

pkg/ovs/openflow/ofctrl_bridge.go
2.34% <0.00%> (-69.24%)
:arrow_down:

pkg/ovs/ovsconfig/ovs_client.go
0.00% <0.00%> (-65.27%)
:arrow_down:

pkg/ovs/openflow/ofctrl_action.go
16.99% <0.00%> (-65.22%)
:arrow_down:

... and 50 more

Looks good on my side. Ultimately, I wonder if we will want to decouple the conntrack occupancy metrics from the flow exporter implementation. @srikartati is it possible to enable connection polling by providing a flowPollInterval value, without enabling flow export (i.e. without a collector). If not, do you think this is something we could have in a future PR?

@antoninbas Currently, no it is not straightforward to decouple both polling and flow export mechanisms. They are both enabled through FlowExporter feature gate and we expect flowCollectorAddr as a must given parameter. Yes, it is possible to decouple, but we probably have to either move polling from the FlowExporter feature gate or change the name of the feature gate to a more appropriate name and remove the dependency on flowCollectorAddr. We should definitely pursue this as a future PR.
@dreamtalen Yongming, could you open an issue for this, so we will not lose track of this?

@dreamtalen There is a unit test failure: https://github.com/vmware-tanzu/antrea/pull/1232/checks?check_run_id=1131918989 Please take a look.

Looks good on my side. Ultimately, I wonder if we will want to decouple the conntrack occupancy metrics from the flow exporter implementation. @srikartati is it possible to enable connection polling by providing a flowPollInterval value, without enabling flow export (i.e. without a collector). If not, do you think this is something we could have in a future PR?

@antoninbas Currently, no it is not straightforward to decouple both polling and flow export mechanisms. They are both enabled through FlowExporter feature gate and we expect flowCollectorAddr as a must given parameter. Yes, it is possible to decouple, but we probably have to either move polling from the FlowExporter feature gate or change the name of the feature gate to a more appropriate name and remove the dependency on flowCollectorAddr. We should definitely pursue this as a future PR.
@dreamtalen Yongming, could you open an issue for this, so we will not lose track of this?

Looks good on my side. Ultimately, I wonder if we will want to decouple the conntrack occupancy metrics from the flow exporter implementation. @srikartati is it possible to enable connection polling by providing a flowPollInterval value, without enabling flow export (i.e. without a collector). If not, do you think this is something we could have in a future PR?

@antoninbas Currently, no it is not straightforward to decouple both polling and flow export mechanisms. They are both enabled through FlowExporter feature gate and we expect flowCollectorAddr as a must given parameter. Yes, it is possible to decouple, but we probably have to either move polling from the FlowExporter feature gate or change the name of the feature gate to a more appropriate name and remove the dependency on flowCollectorAddr. We should definitely pursue this as a future PR.
@dreamtalen Yongming, could you open an issue for this, so we will not lose track of this?

Sure

@dreamtalen There is a unit test failure: https://github.com/vmware-tanzu/antrea/pull/1232/checks?check_run_id=1131918989 Please take a look.

Fixed, this unit test fails because the kind cluster doesn't have privilege to set the nf_conntrack_acct and nf_conntrack_timestamp.
Added error return value for NewConnTrackSystem() and bypass the assert statement if the sysctl setting failed

@dreamtalen There is a unit test failure: https://github.com/vmware-tanzu/antrea/pull/1232/checks?check_run_id=1131918989 Please take a look.

Fixed, this unit test fails because the kind cluster doesn't have privilege to set the nf_conntrack_acct and nf_conntrack_timestamp.
Added error return value for NewConnTrackSystem() and bypass the assert statement if the sysctl setting failed

We do not run unit tests in Kind cluster...

@dreamtalen There is a unit test failure: https://github.com/vmware-tanzu/antrea/pull/1232/checks?check_run_id=1131918989 Please take a look.

Fixed, this unit test fails because the kind cluster doesn't have privilege to set the nf_conntrack_acct and nf_conntrack_timestamp.
Added error return value for NewConnTrackSystem() and bypass the assert statement if the sysctl setting failed

We do not run unit tests in Kind cluster...
Let me check with Srikar again, because he told me the unit tests are running on the github Kind cluster so we did this fix

Fixed, this unit test fails because the kind cluster doesn't have privilege to set the nf_conntrack_acct and nf_conntrack_timestamp.
Added error return value for NewConnTrackSystem() and bypass the assert statement if the sysctl setting failed

We do not run unit tests in Kind cluster...

Let me check with Srikar again, because he told me the unit tests are running on the github Kind cluster so we did this fix.
Checked, miscommunication here, the github CI platform running unit test doesn't have privilege too, like the kind cluster.

I think there was communication gap. I mentioned that there are privilege issues when running e2e tests in kind clusters. Github CI workers run units.

/test-all

/test-all

We can keep the conntrack_acct and conntrack_timestamp stuff as is for now and address it later.
You run the unit tests locally but do you run them as root :) ?

LGTM
Thanks for adding changes for prometheus e2e test and fixing comments.

/test-all

/test-all


Start SAP HANA, express edition Server

Tutorial URL: https://developers.sap.com/tutorials/hxe-ua-getting-started-vm-xsa.html
Step 3: Log in
At the hxehost login prompt, enter hxeadm.
NO PROBLEM WITH ENTERING hxeadm
For Password, enter the temporary password HXEHana1.
PROBLEM: The system does not respond to my keyboard(except the Enter key). Unable to enter password HXEHana1

Hi @oluseguni: Two things to check:

Did you set your keyboard? HXE assumes your host machine is using a US-English QWERTY keyboard. If your keyboard is a different type, you need to specify it as described in the previous tutorial in the group: https://developers.sap.com/tutorials/hxe-ua-keyboard-vm.html

Are you using VMWare? VMWare sometimes loses focus on your keyboard. Hit CTRL+G to redirect keyboard and mouse input to your VM. See the VMWare keyboard shortcut Help at https://www.vmware.com/support/ws5/doc/ws_learning_keyboard_shortcuts.html

Hope this helps.

Hello . I tried with the US keyboard option and UK keyboard option.
In both cases I was able to enter the login id hxeadm and then press enter.
After pressing 'enter' the next line with Password:  appears. Then the system does not respond to any keys except 'enter'.

I initially tried using the VMware Workstation PRO. I have also tried using the  VMware Workstation 15 player and still had the same issue

@TerryNing - could your team please investigate this reported password entry problem on the VM image?

Please note that there will be no characters and the cursor will not move when entering the password in the console. It looks like it is not writing anything but it is.

Hello. Thank you for the information on how the cursor does not move when entering the password. I was expecting the cursor to move and perhaps show the characters *** when keying in the password. I have been able to proceed based on your information. Thanks.


feat: adding close when options is selected behavior (#834)

Work in Progress
Issue Number
feat #834
Description
Now the Ion sidebar has a behavior of closing the sidebar when an option is selected, improving the customer experience
Screenshots
Gravação de tela de 2023-09-22 10-10-48.webm
View Storybook
https://62eab350a45bdb0a5818520e-fjlvdemnil.chromatic.com/

[x] I have verified that this change complies with our code and contribution policies.
[x] I have verified that this change does not cause regressions and does not affect other parts of the code[Gravação de tela de

Check coverage


Replace Vimeo default preview thumbnail

Replace Vimeo default preview thumbnail size from 295x166 to 640
https://developer.vimeo.com/api/common-formats

The solution is like here, but the constant is not overwritten

Published in v2.11.1


Update spec to correctly handle userid validity checks.

This PR updates spec to be up-to-date with behavior changes from https://github.com/rnpgp/rnp/pull/1337
As it updates tests only, I don't think we should add some checks for rnp versions and so on.
However, if there is a better approach all suggestions are appreciated.

Ping @ronaldtse @dewyatt : could we merge this despite the CI failures? Or, what should be a workflow when some changes in rnp require tests here to be updated?

Ping @ronaldtse @dewyatt : could we merge this despite the CI failures? Or, what should be a workflow when some changes in rnp require tests here to be updated?

I'll take a closer look later but at a glance the test looks to be specific to the version of RNP and should be made compatible with all supported versions. As-is it looks like it would break support for all other versions of RNP.

I'll take a closer look later but at a glance the test looks to be specific to the version of RNP and should be made compatible with all supported versions. As-is it looks like it would break support for all other versions of RNP.

Thanks, @dewyatt . I updated the PR with version checks so it should work with every RNP version. However tests seems to behave weird, let's see whether some restarts would help.

Sorry I'm dragging my feet on this but I'll get back to it in the next few days here

@dewyatt Looks like we now have at least two issues:

latest Botan 3.0 alpha uses flag -Wextra-semi, which is available only since GCC 9.0, while 7.5 is used.
there were some commits to the RNP master, so "LibRnp::rnp_version_commit_timestamp >=<PHONE_NUMBER>" is not good check anymore.

I'll update the PR with latest timestamp check, but what would be a correct way to fix Botan's build? Use GCC 9.0? Report error to their tracker? Both :) ?

@dewyatt Looks like we now have at least two issues:

latest Botan 3.0 alpha uses flag -Wextra-semi, which is available only since GCC 9.0, while 7.5 is used.
there were some commits to the RNP master, so "LibRnp::rnp_version_commit_timestamp >=<PHONE_NUMBER>" is not good check anymore.

I'll update the PR with latest timestamp check, but what would be a correct way to fix Botan's build? Use GCC 9.0? Report error to their tracker? Both :) ?

It's probably fine to just test against the latest release of botan and not master, which would take care of that issue.
Yeah typically what I would do here is merge the corresponding rnp PR first (with CI broken -- test manually) and then use that commit timestamp.
Also the version thing is something I would rather see in FEATURES (which is maybe better named quirks) in lib/misc.rb.

@dewyatt Thanks, updated PR. Is it look good now (except that we'll need to update the timestamp once https://github.com/rnpgp/rnp/pull/1337 is merged)?

@ronaldtse All tests except codecov are passing now, so let's merge this?
P.S. Btw, where did we lose codecov for the rnp?
CC @dewyatt

P.S. Btw, where did we lose codecov for the rnp?

@ni4 not sure why it's gone -- it's still enabled in Settings. Maybe we need this to make it work? https://github.com/codecov/codecov-action


Service Mesh - how is ziti different or the same?

lots of times we get asked questions about service mesh and how it's the same/different than ziti. let's produce some kind of wiki, doc, article around what ideas overlap, what ideas are different and how it all pertains to ziti

Would like to work on this!

Wondering to know ziti-doc/docfx_project is the working directory for this issue?

Yes - that's the "docfx project". inside there is a docfx.json file that declares the overall structure of the static site to generate. I stubbed out a page for you on this branch: https://github.com/openziti/ziti-doc/pull/new/issue-74-doc-svc-mesh

In there I gave the command I run to test it / view it locally as well.


update: translate the doc of arm into english

Ⅰ. Describe what this PR does
Translate the doc of arm into English.

Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

@odidev We already support arm64 in v0.8.0. Here is the doc, please check it. And if you want to polish it, it's welcomed.

Hi @cheyang , thank you for sharing the news.
I worked with v0.8.0, following the docs here, and found some issues.
As stated here, there is no directory " fluid-cloudnative/fluid/fluid ". I think you mean to mention “fluid-cloudnative/fluid/charts/fluid/fluid”?
Next, I cloned the repo, checked out v0.8.0, and installed fluid using helm as below:
$ helm install fluid charts/fluid/fluid

But the error comes up saying:
Error: INSTALLATION FAILED: namespaces "fluid-system" not found

However, there is already a namespace ‘’fluid-system” mentioned in Charts.yaml.
Also, I noticed that in the ARM64 docs here, helm is installed in the default namespace in your logs, so I am confused, why my fluid installation using helm is searching for the namespace.
I tried removing “namespace: fluid-system” in charts/fluid/fluid/Charts.yaml, but it did not help.

Also, unit test is failing on ARM64 even in v0.8.0 and the master branch. The reason is not clear to me. I can see various " SIGILL: illegal instruction” errors in the logs.
Kindly find my unit test logs here for ARM64:  fluid_unittest_logs.txt
Can you please provide some pointers on why the tests are failing, and the namespace issue with fluid installation using helm?

I will fix the doc probles soon. The path is indeed wrong and it is must to create the fluid-system ns before install fluid.

Thank you for the PR to update docs.
I followed the commands and my dataset jfsdemo fails to bound to the runtime.
Instead of building my own multi-arch docker images, I used the tag “v0.8.0-e730b87” available at dockerhub. This tag already supports multi-arch platform.
But if I check dataset jfsdemo after deploying the runtime, I get the below output:
$ kubectl get dataset jfsdemo

NAME      UFS TOTAL SIZE   CACHED   CACHE CAPACITY   CACHED PERCENTAGE   PHASE      AGE
jfsdemo                                                                  NotBound   17h

Also, It seems everything in the namespace fluid-system is running fine, as shown below:
$ kubectl get all -n fluid-system

NAME                                            READY   STATUS    RESTARTS      AGE
pod/csi-nodeplugin-fluid-cmv4d                  2/2     Running   2 (16h ago)   17h
pod/dataset-controller-69c4b6fcf9-sgwmr         1/1     Running   1 (16h ago)   17h
pod/fluid-webhook-79f78dbbd9-v24g5              1/1     Running   1 (16h ago)   17h
pod/fluidapp-controller-6b49b9f5f9-vsjm8        1/1     Running   1 (16h ago)   17h
pod/juicefsruntime-controller-7c78b44bf-fp9ht   1/1     Running   1 (44s ago)   17h

NAME                                  TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)    AGE
service/fluid-pod-admission-webhook   ClusterIP   <IP_ADDRESS>   <none>        9443/TCP   17h

NAME                                  DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/csi-nodeplugin-fluid   1         1         1       1            1           <none>          17h

NAME                                        READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/alluxioruntime-controller   0/0     0            0           17h
deployment.apps/dataset-controller          1/1     1            1           17h
deployment.apps/fluid-webhook               1/1     1            1           17h
deployment.apps/fluidapp-controller         1/1     1            1           17h
deployment.apps/goosefsruntime-controller   0/0     0            0           17h
deployment.apps/jindoruntime-controller     0/0     0            0           17h
deployment.apps/juicefsruntime-controller   1/1     1            1           17h

NAME                                                   DESIRED   CURRENT   READY   AGE
replicaset.apps/alluxioruntime-controller-7f879c9bb5   0         0         0       17h
replicaset.apps/dataset-controller-69c4b6fcf9          1         1         1       17h
replicaset.apps/fluid-webhook-79f78dbbd9               1         1         1       17h
replicaset.apps/fluidapp-controller-6b49b9f5f9         1         1         1       17h
replicaset.apps/goosefsruntime-controller-7f64d7fc88   0         0         0       17h
replicaset.apps/jindoruntime-controller-67747d876c     0         0         0       17h
replicaset.apps/juicefsruntime-controller-7c78b44bf    1         1         1       17h

This issue is common on both x64 and ARM64 platforms.

I think it is becase the fail of runtime. You can run
'''
$ kubectl get juicefsruntime
$ kubectl get pods
'''
To see the status of runtime and runtime worker pod. The JuicsFS needs metadata engine (e.g. Redis) and object storage services (such as MinIO).
And i will translate the juicefs-setup doc to english soon.

Okay. Below is the status of the runtime and the pods:
$ kubectl get juicefsruntime

NAME      WORKER PHASE   FUSE PHASE   AGE
jfsdemo   Ready                       16m

$ kubectl get juicefs jfsdemo

NAME      WORKER PHASE   FUSE PHASE   AGE
jfsdemo   Ready                       16m

$ kubectl get po |grep demo

demo-app           0/1     Pending   0             13m
jfsdemo-worker-0   1/1     Running   9 (28s ago)   15m

The JuicsFS needs metadata engine (e.g. Redis) and object storage services (such as MinIO).

Before creating dataset, I created secret with redis and minio as below:
kubectl create secret generic jfs-secret \
    --from-literal=metaurl=redis://redis:6379/0 \
    --from-literal=access-key=minioadmin \
    --from-literal=secret-key=minioadmin

Could you please upload the log of juicefsruntime-controller-7c78b44bf-fp9ht? Thanks.

Hi, it seems juicefs worker is not ready from log. jfsdemo-worker-0 pod keeps restarting. I guess it was oomed . Can you provide its yaml by kubectl get po jfsdemo-worker-0 -oyaml and its log by kubectl logs jfsdemo-worker-0?


How to edit locally with client-server configuration

Questions --
Is there a way to fast-start the server without checking for new items every time?
The basic setup won't let you save new tiddlers. I tried adding the tiddlyweb and filesystem plugins, but that resulted in non-stop errors. Is there a way to add new tiddlers?
Thanks!

Thanks @Marxsal I've added a new option npm run edit that runs up the server for local editing. You'll need to have collected the links at least once in order to have some data to display.


[android] Screen dims & locks while video is playing

Hi
On iOS this works correctly, but on android I get this behaviour. After the inactivity timeout the screen goes dim, then black (phone locks). I have found nothing in the docs about this, no settings or something. Is this a bug, or am I just missing something? I have tried it with:
"react-native-video": "^1.0.0",

and
"react-native-video": "^1.2.0",

Same behaviour in both cases.
Best,
tostrio

There is a similiar issue here: #687
No responses though.

I have also encountered the same problem..Ios works correctly but android can't works...

@tostrio Hi,I have just solved this problem,use 'react-native-keep-awake', I use it in componentWillMount(){ KeepAwake.activate(); } and componentWillUnmount(){ KeepAwake.deactivate(); },
this problem is solved！

@shooterRao Hi, thanks for the heads up!
We have opted to use react-native-keep-awake as well. But I still think this should be fixed in the video player. Preventing screen timeout seems to be something that the player should include, and not something that should need an external dependency (at least from my point of view).

@tostrio yeah,I agree with you on this point,I also hope this bug can be solved.

Fixed by #1117. Will be included in 3.2.0


Funnel Tasks Fail when used as a TES Executor for Nextflow

Overview
Current Behavior
Attempting to run Nextflow processes against Funnel results in an Executor Error soon after task creation.
Expected Behavior
Funnel should be able to successfully run Nextflow processes as a TES executor.
Possible Cause
The .command.run and .command.sh files from Nextflow are being treated as directories by Funnel.
Steps To Reproduce
Installing Nextflow + dependencies
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk install java 17.0.6-amzn

git clone https://github.com/nextflow-io/nextflow -b tes-update-1.1
cd nextflow
make install

export NXF_MODE=ga4gh
export NXF_EXECUTOR=tes
export NXF_EXECUTOR_TES_ENDPOINT='http://localhost:8000'

nextflow.config
plugins {
  id 'nf-ga4gh'
}

process.executor = 'tes'
tes.endpoint = 'http://localhost:8000'

Running Nextflow/nf-canary (results in Executor Error)
➜  nf-canary git:(main) ✗ ./nextflow run main.nf
N E X T F L O W  ~  version 23.08.0-edge
Launching `main.nf` [nostalgic_archimedes] DSL2 - revision: 1d6eff1807
Uploading local `bin` scripts folder to /Users/beckmanl/code/nf-canary/work/tmp/fc/897cbe65f46804b7718000d584967e/bin
executor >  tes [http://localhost:8000] (1)
[f4/d75b4f] process > NF_CANARY:TEST_SUCCESS [  0%] 0 of 1
executor >  tes [http://localhost:8000] (1)
[f4/d75b4f] process > NF_CANARY:TEST_SUCCESS [100%] 1 of 1, failed: 1 ✘
Execution cancelled -- Finishing pending tasks before exit
ERROR ~ Error executing process > 'NF_CANARY:TEST_SUCCESS'

Caused by!:
  Process `NF_CANARY:TEST_SUCCESS` terminated for an unknown reason -- Likely it has been terminated by the external system

Command executed:

  exit 0

Command exit status:
  -

Command output:
  (empty)

Work dir:  /Users/beckmanl/code/nf-canary/work/f4/d75b4f918ef545b5e541df800bc78a

Tip: when you have fixed the problem you can continue the execution adding the option `-resume` to the run command line

 -- Check '.nextflow.log' file for details

Nextflow work directory (with process files)
➜ head -a work/f4/d75b4f918ef545b5e541df800bc78a/.command.sh

#!/bin/bash -ue
exit 0

➜ head work/f4/d75b4f918ef545b5e541df800bc78a/.command.run

#!/bin/bash
# NEXTFLOW TASK: NF_CANARY:TEST_SUCCESS
set -e
set -u
NXF_DEBUG=${NXF_DEBUG:=0}; [[ $NXF_DEBUG > 1 ]] && set -x
NXF_ENTRY=${1:-nxf_main}

Funnel work directory (with process files treated as directories?)
➜ ls -a funnel-work-dir/clts53ls99bm3r94mfe0/work/.command.run/
.  ..

➜ ls -a funnel-work-dir/clts53ls99bm3r94mfe0/work/.command.sh/
.  ..

Environment

Nextflow: <IP_ADDRESS>89
Funnel: 0.11.0-rc.2
Java: openjdk 17.0.6 2023-01-17 LTS (Corretto)
macOS Ventura (13.2 (22D49)

Open Questions

Are the .command.run and .command.sh files not being shared correctly due to different work directories between Nextflow and Funnel?
Can the Funnel (Executor) work directory be shared with Nextflow as a config setting? Alternatively can Funnel be instructed to use the Nextflow work directory?

If the executor work dir is different then I guess Nextflow should take it as a config setting

Additional Resources

Executor work directory (‘/work’): TesTaskHandler.groovy#L185
Nextflow GA4GH TES Docs: https://www.nextflow.io/docs/latest/executor.html#ga4gh-tes

Nextflow PR that adds support for Funnel to be used as a TES Executor:

https://github.com/nextflow-io/nextflow/pull/4195

Resolved with following PR:
https://github.com/nextflow-io/nextflow/pull/4608
See here for an example test script that runs Funnel with Nextflow:
https://github.com/nextflow-io/nextflow/pull/4608#issuecomment-1936626983


Remvoe cool-down for up-scaling

Since we switched to capacity planning, we don't need to cool down
before re-evaluating the needed number of appservers, since we take into
account the pending ones.

OCD run https://ocd.appscale.com:8080/job/Daily Build/3479/

https://ocd.appscale.com:8080/job/Daily Build/3494/

OCD build https://ocd.appscale.com:8080/job/Daily Build/3719/

https://ocd.appscale.com:8080/job/Daily Build/3756/


Change precision to fixed

@anandanand84 this change have not be kept in the TS version.
This is normal ?


Add terraform-docs

Include terraform-docs in arkade. This would allow us to use it as part of our CICD pipeline to verify our terraform resources via the arkade-get Github workflow.
Expected Behaviour
Similar to any other tool – terraform-docs: latest would be great, plus support to point it to specific versions.
Current Behaviour
Generate documentation from Terraform modules in various output formats,
Possible Solution
Add terraform-docs to arkade
Context
We are currently using this tool in our CICD pipeline, so it would be nice to install it the same way as the other tools used in the pipeline.
If requesting a CLI for "arkade get"
How many downloads does this tool have? 3,126,996
If approved, are you willing to submit a pull request for this? Yes

Please send a PR :+1:

@alexellis the PR is ready

added

Thanks @cyberox


add name in contributor.html

To be on the contribution list you actually have to contribute with something 🙂
Closing this but you can make a new pull request when you contributed.


Draft of Near Real-time Burnt Area Mapping DEA notebook for review

Proposed changes
New notebook.
 Mostly occurs in the Baseline load_ard extract. Not sure if I can use Dask to solve as I need to visualise the images in the following plot.

Hey @Matt-dea and @erin-telfer - will get on this first thing next week, sorry for the delay!

To clarify, when I said "where you are running it", I mean how much memory your sandbox environment has.

View entire conversation on ReviewNB

Yep I agree :)

View entire conversation on ReviewNB

Although i noticed that some of the other examples are a bit mixed haha, I will keep DEA capitalised

View entire conversation on ReviewNB

Instead of linking to examples, I have toned down this section. Erin will probably review further. Thanks!Excellent point. I have added this point, and replaced the text with the standard DEA NRT blurb.Sounds good, I have imlpemented for all algorithms.Updated. Thanks!

View entire conversation on ReviewNB

Thats weird, the dot points appear on their own line for me? I will have to look into this further!

View entire conversation on ReviewNB

As for the links, I agree that is a good idea but see that it is not done in the other notebooks. I will not implement just to make things consistent :)

View entire conversation on ReviewNB

Great point, I have added a disclaimer for large AOI's with a suggestion to reduce the AOI or increase the min_gooddata values if a crash occurs.

View entire conversation on ReviewNB

Closing PR. New PR initiated due to complicated conflicts with develop.
All change requested above implemented.


this works fine for timit but if you get array of shape 0 for any o…

…ther audio change value of top_db # for vctk dataset use top_db=100
this works fine for timit but if you get array of shape 0 for any other audio change value of top_db
for vctk dataset use top_db=100

Sure. LGTM


feat: automatic env vars for updated drizzle-kit

Closes #
✅ Checklist

[ ] I have followed every step in the contributing guide (updated 2022-10-06).
[ ] The PR title follows the convention we established conventional-commit
[ ] I performed a functional test on my final commit

Changelog
[Short description of what has changed]

Screenshots
[Screenshots]
💯

Current dependencies on/for this PR:

main

PR #1666

PR #1667

PR #1668   👈

This stack of pull requests is managed by Graphite.


Load certificates for client

I am developing a client application that uses openssl for TLS communication.
A third party tool is acting as  a server.
Now, if peer authentication(SSL_VERIFY_PEER) is not set at both server and client side, should my client application load its certificates?
My understanding was, we set certificates only if peer authentication is set or if we are a server.
Please correct me if my understanding is wrong.
Reagrds,
Amal

Yes, unless you are required to or want to authenticate the client to the server, you do not need to set the certificate on client.

Thanks for confirming @t8m


flutter stuck in a loop trying to build itself?

I was trying to get an (old) flutter install moved from master to stable and it got stuck:
PS C:\Users\micro\Documents\GitHub> flutter upgrade -f
Upgrading Flutter to 3.10.0-15.0.pre.35 from 3.8.0-14.0.pre.15 in C:\Users\micro\flutter...
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine 3d61e293cb9673cca6b4842df82f19c9b8676178...
Expanding downloaded archive...
Building flutter tool...
Running pub upgrade...
Resolving dependencies...
Got dependencies.

Upgrading engine...
Downloading android-arm-profile/windows-x64 tools...               329ms
Downloading android-arm-release/windows-x64 tools...               117ms
Downloading android-arm64-profile/windows-x64 tools...             135ms
Downloading android-arm64-release/windows-x64 tools...             114ms
Downloading android-x64-profile/windows-x64 tools...               108ms
Downloading android-x64-release/windows-x64 tools...               102ms
Downloading android-x86 tools...                                   616ms
Downloading android-x64 tools...                                   603ms
Downloading android-arm tools...                                   560ms
Downloading android-arm-profile tools...                           345ms
Downloading android-arm-release tools...                           284ms
Downloading android-arm64 tools...                                 568ms
Downloading android-arm64-profile tools...                         376ms
Downloading android-arm64-release tools...                         373ms
Downloading android-x64-profile tools...                           409ms
Downloading android-x64-release tools...                           337ms
Downloading android-x86-jit-release tools...                       457ms
Downloading Web SDK...                                           2,002ms
Downloading package sky_engine...                                   76ms
Downloading flutter_patched_sdk tools...                           160ms
Downloading flutter_patched_sdk_product tools...                   162ms
Downloading windows-x64 tools...                                 1,761ms
Downloading windows-x64-debug/windows-x64-flutter tools...          3.2s
Downloading windows-x64/flutter-cpp-client-wrapper tools...         67ms
Downloading windows-x64-profile/windows-x64-flutter tools...      2,735ms
Downloading windows-x64-release/windows-x64-flutter tools...      2,601ms
Downloading windows-x64/font-subset tools...                        81ms

Flutter 3.10.0-15.0.pre.35 • channel master • https://github.com/flutter/flutter.git
Framework • revision 215fa3557b (54 minutes ago) • 2023-04-27 15:28:10 -0400
Tools • Dart 3.1.0 (build 3.1.0-49.0.dev) • DevTools 2.23.1

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 3.10.0-15.0.pre.35, on Microsoft Windows [Version 10.0.19045.2846], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.6)
[√] Android Studio (version 2022.1)
[√] Connected device (3 available)
[√] Network resources

• No issues found!
PS C:\Users\micro\Documents\GitHub> flutter channel stable
Switching to flutter channel 'stable'...
git: Your branch is behind 'origin/stable' by 20 commits, and can be fast-forwarded.
git:   (use "git pull" to update your local branch)
git: Switched to branch 'stable'
Successfully switched to flutter channel 'stable'.
To ensure that you're on the latest build from this channel, run 'flutter upgrade'
PS C:\Users\micro\Documents\GitHub> flutter upgrade -f
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine 248290d6d50a1bf1a6a246544347c03acda867a5...
Expanding downloaded archive...
PS C:\Users\micro\Documents\GitHub> flutter doctor
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...
Error: Unable to create dart snapshot for flutter tool.
Building flutter tool...
Running pub upgrade...

I moved bin/cache out of the way and it seems to have fixed itself.  I can upload a copy of the broken bin/cache if that's helpful, or we can just assume this was some one-off failure and close.

I can't reproduce this issue from my end by above steps (In the context I was on the latest master revision when seeing this issue). It can switch to stable and upgrade normally:

Logs
➜  ~ flutterm upgrade -f
Flutter is already up to date on channel master
Flutter 3.10.0-16.0.pre.23 • channel master • https://github.com/flutter/flutter.git
Framework • revision 55c988fb45 (8 hours ago) • 2023-04-27 20:32:55 -0400
Engine • revision 1d25906b4c
Tools • Dart 3.1.0 (build 3.1.0-49.0.dev) • DevTools 2.23.1
➜  ~ flutterm channel stable
Switching to flutter channel 'stable'...
git: Switched to a new branch 'stable'
git: Branch 'stable' set up to track remote branch 'stable' from 'origin'.
Successfully switched to flutter channel 'stable'.
To ensure that you're on the latest build from this channel, run 'flutter upgrade'
➜  ~ flutterm upgrade -f
Downloading Darwin x64 Dart SDK from Flutter engine 1a65d409c7a1438a34d21b60bf30a6fd5db59314...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  235M  100  235M    0     0  10.7M      0  0:00:21  0:00:21 --:--:-- 11.1M
Building flutter tool...
Flutter is already up to date on channel stable
Flutter 3.7.12 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 4d9e56e694 (10 days ago) • 2023-04-17 21:47:46 -0400
Engine • revision 1a65d409c7
Tools • Dart 2.19.6 • DevTools 2.20.1
➜  ~ flutterm doctor
Downloading package sky_engine...                                  667ms
Downloading flutter_patched_sdk tools...                           380ms
Downloading flutter_patched_sdk_product tools...                   378ms
Downloading darwin-x64 tools...                                     3.3s
Downloading darwin-x64/font-subset tools...                        169ms
Doctor summary (to see all details, run flutter doctor -v):
[!] Flutter (Channel stable, 3.7.12, on macOS 13.0.1 22A400 darwin-x64, locale en-VN)
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK
      checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of
      your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK
      checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of
      your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
[✓] VS Code (version 1.77.3)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.
➜  ~

Labeling the issue for more insights.

@eseidel I'm struggling to reproduce this issue as well.  I'm going to go ahead and close this for now, but if you have additional details on how you were able to reproduce this issue, please feel free to reopen 😃


feat: migrate to fastify

This is a proposal pull request for migrating connect to fastify, it's still WIP.

[ ] If it's necessary and feasible to support connect and fastify at same time by dynamic import different server module like server-connect or server-fastify
[ ] The future of custom server and programmatic usage
[ ] serverMiddleware supports fastify route

It would be nice if we could have built-in JSON reading / writing. I'm currently using this:
import express from 'express'

const jsonMiddleware = express.json()

export default function(req, res, next) {
  res.json = (obj) => {
    res.write(JSON.stringify(obj))
  }
  return jsonMiddleware(req, res, next)
}

added to my serverMiddleware.

If it's necessary and feasible to support connect and fastify at same time by dynamic import different server module like server-connect or server-fastify

We're running different services in our stack that all can share common middlewares (session, csrf) thanks to nuxt's connect compatibility.
We're also using nuxt as middleware in our express server. This allows us to have automatic request tracing through GCP Stackdriver Trace Agent for Node.js which is a massive help for debugging and measuring issues in production. As it stands there is no fastify tracing plugin available, migrating to fastify (without the option of still using connect) would be a massive drawback for us.
I'm not sure how much of a gain fastify (besides having a bit more req/s in benchmarks compared to connect/connect-router) really would be as it breaks the compatibility with the proven connect/express ecosystem.
I'd vote for support of both frameworks (connect+fastify) or stay with connect if this change introduces too much complexity.

After talking with the team about it, I think we can close this one directly.
Thank you for your great feedback @sh


[unstable channel] Compilation error "error: unknown type name 'time_t'" in exfat package

Hi folks!
I just tried running sudo nixos-rebuild switch --upgrade on the unstable channel but ran into the following error:
  CC [M]  /build/source/exfat_super.o
/build/source/exfat_super.c:147:8: error: unknown type name 'time_t'
  147 | static time_t accum_days_in_year[] = {
      |        ^~~~~~
/build/source/exfat_super.c: In function 'exfat_time_fat2unix':
/build/source/exfat_super.c:158:2: error: unknown type name 'time_t'; did you mean 'ktime_t'?
  158 |  time_t year = tp->Year;
      |  ^~~~~~
      |  ktime_t
/build/source/exfat_super.c:159:2: error: unknown type name 'time_t'; did you mean 'ktime_t'?
  159 |  time_t ld;
      |  ^~~~~~
      |  ktime_t
/build/source/exfat_super.c: In function 'exfat_time_unix2fat':
/build/source/exfat_super.c:177:2: error: unknown type name 'time_t'; did you mean 'ktime_t'?
  177 |  time_t second = ts->tv_sec;
      |  ^~~~~~
      |  ktime_t
/build/source/exfat_super.c:178:2: error: unknown type name 'time_t'; did you mean 'ktime_t'?
  178 |  time_t day, month, year;
      |  ^~~~~~
      |  ktime_t
/build/source/exfat_super.c:179:2: error: unknown type name 'time_t'; did you mean 'ktime_t'?
  179 |  time_t ld;
      |  ^~~~~~
      |  ktime_t
make[3]: *** [/nix/store/p87axccmvlybjqsbv7hjihxqmj8hdw5l-linux-5.6.5-dev/lib/modules/5.6.5/source/scripts/Makefile.build:268: /build/source/e
xfat_super.o] Error 1
make[2]: *** [/nix/store/p87axccmvlybjqsbv7hjihxqmj8hdw5l-linux-5.6.5-dev/lib/modules/5.6.5/source/Makefile:1683: /build/source] Error 2
make[1]: *** [/nix/store/p87axccmvlybjqsbv7hjihxqmj8hdw5l-linux-5.6.5-dev/lib/modules/5.6.5/source/Makefile:180: sub-make] Error 2
make[1]: Leaving directory '/nix/store/p87axccmvlybjqsbv7hjihxqmj8hdw5l-linux-5.6.5-dev/lib/modules/5.6.5/build'
make: *** [Makefile:35: all] Error 2
builder for '/nix/store/g1nmkh3axdrxf6hjq4akl90gjyhjzih0-exfat-nofuse-2019-09-06-5.6.5.drv' failed with exit code 2

It seems as though there is some compilation error in exfat-nofuse?
Here's the output of nix-shell -p nix-info --run "nix-info -m":
[mindtree@mindtree ~]$ nix-shell -p nix-info --run "nix-info -m"
these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked):
  /nix/store/35hb71frwcrzsza8zqij7bfxq8q4bkng-bash-interactive-4.4-p23-dev
copying path '/nix/store/35hb71frwcrzsza8zqij7bfxq8q4bkng-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.5.13, NixOS, 20.09pre218613.ae6bdcc5358 (Nightingale)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.3`
 - channels(root): `"nixos-20.09pre222244.22a3bf9fb9e"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I'm still quite new to nix - please let me know if I'm doing something silly or I can do anything else to help!
PS: Thanks for all your work on nix! I recently switched from Arch and it's been a delight to use so far :)

Indeed, this is broken on 5.6, presumably due to the year 2038 changes. However, you are trying to build a the module for 5.6, which already contains the staging exfat driver:
$ zgrep EXFAT /proc/config.gz
CONFIG_STAGING_EXFAT_FS=m
CONFIG_STAGING_EXFAT_DISCARD=y
# CONFIG_STAGING_EXFAT_DELAYED_SYNC is not set
# CONFIG_STAGING_EXFAT_KERNEL_DEBUG is not set
# CONFIG_STAGING_EXFAT_DEBUG_MSG is not set
CONFIG_STAGING_EXFAT_DEFAULT_CODEPAGE=437
CONFIG_STAGING_EXFAT_DEFAULT_IOCHARSET="utf8"

So on 5.6 (and even on older till 5.4) you should be able to mount and use exfat without the kernel module.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/mount-wd-hdd-to-nixos-nix-pkgs-exfat-utils/7834/3

I just hit the same issue while trying to switch from the current stable to the latest kernel. I also had similar errors in other packages like virtualbox with the unstable kernel, when using the kernel from 20.03 it seems to work.
I have boot.extraModulePackages = [ config.boot.kernelPackages.exfat-nofuse ]; in my configuration.nix. When I remove that rebuilding the system works. I'd still like to be able to mount fat devices though, any hints on how to achieve that?

As commented above:
So on 5.6 (and even on older till 5.4) you should be able to mount and use exfat without the kernel module.

@Emantor Does that mean I don't need to specify the kernel module anymore?

@Emantor Does that mean I don't need to specify the kernel module anymore? If that's the case I'll update the wiki.

Yes, that should be the case. See LWN for more on the history of the exfat driver.

Closing this seeing as I believe exfat-nofuse has not been necessary for a while now.


chore: Localization of superset pt. 3

SUMMARY

This PR is the continuation of the previous localization PR https://github.com/apache/superset/pull/22772. More charts and elements are localized. However, there is still some work to do in the future.
Difficult cases are marked with TODO: localize comment.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Oh, and it seems we have some conflicts (ugh) so a rebase is in order. Thanks again, we'll try to stay on top of this so you don't have to rebase often :D


Exit code from node.js is not passed to Gradle

Hi,
I have Gradle task for generating documentation for my project, using this plugin.
My command:  antora generate antora-playbook.yml --to-dir build/docs/ --clean
If this node.js script fail Gradle don't know that happend. So this build will pass which is problem on my CI.
Probably there is missing some exit code handling to the Gradle, right?
Environment

OS: Ubuntu 20.04
JDK: Open JDK 11
Gradle: 4.4.1
Frontend Gradle plugin: 4.0.1

Settings in build.gradle.kts file:
frontend {
    nodeVersion.set("14.15.0")
    nodeInstallDirectory.set(project.layout.projectDirectory.dir("build/nodejs"))
}

tasks.register<Exec>("beforeDocumentation") {
    commandLine = listOf("rsync", "-r", "build/generated-snippets/", "docs/modules/ROOT/partials/generated-snippets/")
}

tasks.register<RunNpmYarn>("documentation") {
    dependsOn(tasks.named("installNode"))
    dependsOn(tasks.named("installFrontend"))
    dependsOn(tasks.named("beforeDocumentation"))
    script.set("run doc")
}

My package.json file:
{
  "name": "api",
  "version": "1.0.0",
  "description": "api documentation",
  "main": "index.js",
  "scripts": {
    "doc": "antora generate antora-playbook.yml --to-dir build/docs/ --clean"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/trisbee/api.git"
  },
  "author": "Trisbee s.r.o.",
  "license": "ISC",
  "homepage": "https://github.com/trisbee/api#readme",
  "devDependencies": {
    "@antora/cli": "^2.3.4",
    "@antora/site-generator-default": "^2.3.4"
  }
}

Example build
> Task :beforeDocumentation
> Task :installNode
> Task :installYarn SKIPPED

> Task :installFrontend
added 239 packages from 201 contributors and audited 239 packages in 3.726s

14 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

> Task :documentation

><EMAIL_ADDRESS>doc /codebuild/output/src144838887/src/github.com/trisbee/api
> antora generate antora-playbook.yml --to-dir build/docs/ --clean

asciidoctor: ERROR: detail.adoc: line 17: include target not found: partial$/generated-snippets/notification-backoffice-controller-test/notification-doesnt-exist/http-response.adoc

> Task :assembleFrontend SKIPPED
> Task :bootJar
> Task :inspectClassesForKotlinIC
> Task :jar SKIPPED
> Task :assemble

BUILD SUCCESSFUL in 4m 56s

Hello,
I was not able to reproduce this issue, neither on Linux nor on Windows. Given a sample project, in both cases, NPM reported a non-zero exit code which failed the build as expected.
Here's the configuration I used in a sample project:

package.json:

{
  ...
  "cacheDirectories": [
    "node_modules"
  ],
  "devDependencies": {
    "@antora/cli": "^2.3.4",
    "@antora/site-generator-default": "^2.3.4"
  },
  "scripts": {
    "commandWithNonZeroExitCode": "antora generate antora-playbook.yml --to-dir build/docs/ --clean",
    "commandWithZeroExitCode": "node -v"
  }
}

build.gradle:

import org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpmYarn

plugins {
    id("org.siouan.frontend-jdk11") version "4.0.1"
}
frontend {
    nodeVersion.set("14.15.1")
}
tasks.register<RunNpmYarn>("commandOk") {
    dependsOn(tasks.named("installFrontend"))
    script.set("run commandWithZeroExitCode")
}

tasks.register<RunNpmYarn>("commandKo") {
    dependsOn(tasks.named("installFrontend"))
    script.set("run commandWithNonZeroExitCode")
}

Executing gradlew commandOk leads to BUILD SUCCESSFUL.
Executing gradlew commandKo leads to BUILD FAILED due to the /bin/sh command returning an error code 1.

I wonder if the antora executable reports every error it encouters with a relevant exit code. I see 2 options:

Can you execute directly from a command line npm run doc; echo $? and see what the exit code is.
Could you check on your side this sample project and tell me what's going on, so as I can better understand what's happening?

Thank you in advance for your help!
Best regards

Hi @landsman

Environment
OS: Ubuntu 20.04
JDK: Open JDK 11
Gradle: 4.4.1
Frontend Gradle plugin: 4.0.1

I have just noticed once thing given your environment: the plugin is supported from Gradle 5.1 (see the Getting started section in the documentation.
Consequently, there's no guarantee the plugin works as expected with Gradle 4.4.1, and you have no other choice than upgrading Gradle to use the plugin.
Let me know your feedback before I close the issue.
Thank you.
BR

Hi @landsman

Environment
OS: Ubuntu 20.04
JDK: Open JDK 11
Gradle: 4.4.1
Frontend Gradle plugin: 4.0.1

I have just noticed once thing given your environment: the plugin is supported from Gradle 5.1 (see the Getting started section in the documentation.
Consequently, there's no guarantee the plugin works as expected with Gradle 4.4.1, and you have no other choice than upgrading Gradle to use the plugin.
Let me know your feedback before I close the issue.
Thank you.
BR

Thank you very much!
I will let you know after Gradle upgrade.

Thank you very much!
I will let you know after Gradle upgrade.

Hi,
Do you have any news about this issue? Is it still present, and if yes, are you able to provide a sample project so as I can reproduce it on my workstation?
Thanks for your help!
BR

Actually problem was in Antora project where another dependency - Asciidoctor do not passing exit code correctly.
More here: https://gitlab.com/antora/antora/-/issues/402.
Sorry for disturbing here.

Hi @landsman,
Thank you for this feedback. Have a good day!


An error which Korean can not see occurs.

Ubuntu working environment.
Steps to reproduce the problem:

After typing gulp server in terminal.
Server running at 'http://localhost:8888/' click
Enter the PDFs of/l10n/ko/...
Runs the files in that directory from the web page.

Problem:
An error which Korean can not see occurs.

Unfortunately it's very difficult to understand what you're trying to report/ask here.

Problem:
An error which Korean can not see occurs.

Can you please try and clarify what you mean, since e.g. the sentence above isn't very clear?

I'm sorry. I will make it in detail again.

I don't know Korean, but the following is my best guess based on squinting at the screen-shot above once more*
The viewer.properties files are intended to be used for localizing the default viewer interface, i.e. they're loaded by the l10n.js file in the viewer itself. However, they are not intended to be viewed as-is in a browser.
Hence it's likely that the browser isn't able to handle the encoding of a specific viewer.properties file when opened stand-alone. This isn't a problem, since the only thing that matters is that the translations appear correctly in the default viewer itself.
Closing as invalid.

Thanks you.


Issue 1700 - Recipe validation warning if name is not an existing recipe

Checklist

[x] manage.py test passes
[x] tests are included
[ ] documentation is changed or added

Affected app(s)

recipe

Description of change

Added an endpoint that can be used to validate an existing recipe.  With this Scale will know if the recipe that is trying to be validated is existing or not.
Slight WIP - I still need to update the docs.
Also, I did not include the same "fix" for jobs as it looks like this type of warning is not present there.  Should we allow for the same /job-types/{name}/validation endpoint to work?

I don't think a new endpoint is needed. We should just remove the warning and skip difference validation if the recipe type doesn't exist and assume it's a new recipe.  If the edit api is called next with the same name it'll handle it gracefully and the user will be warned then.

Do we want to close this PR or update the validation method to not warn and just send an empty diff?

@JohnPTobe Is this what you meant?


review XmlSuite methods and sync with carina config arguments

http://static.javadoc.io/org.testng/testng/6.11/org/testng/xml/XmlSuite.html
review all existing TestNG methods and bind suite parameter with carina property. So we can define values in _config.properties and/or testng suite file

thread_count and data_provider_thread_count properties are synced in carina starting from 6.3.30: https://github.com/qaprosoft/carina/issues/859

tetsng suite arguments can be parsed now. please review: https://github.com/qaprosoft/carina/pull/980


I had to copy slides/images at repository root

I had to copy slides/images at repository root to be able to see images in slideshow (server.py). Without that, images http requests was 404.

Also, source code snippets are not highlighted. I looked at the slides code, the highlight plugin is enabled. It is working on your side ?

Yep

I just start ./server.py ( that will run uv run server.py ) from the root of the project.
open a browser at http://localhost:8000.
I can see the files in the root directory, then I click on slides directory.

You mean the opposite right ? You opened from the slides directory, and now you open from the root ?
Anyway if it is working I'm good.


Does lock require &mut self?

Is there a good reason for lock() to require &mut self?
To compare, advice() is just &self.

I think this is a bug as there should be no external synchronization requirements, c.f. e.g. here. It also delegates to an internal method taking &self.
Would you mind creating a PR?

Will do.

Interesting. @adamreichold shouldn't we make those methods &mut instead? We're mutating the memory map handle content after all, sort of.

What we are mutating is the page tables maintained by the operating system. Those are internally synchronized by the kernel (e.g. Linux's infamous mmap_sem) and hence POSIX mandates that mlock is safe to call from multiple threads.
This is similar to why for example File::set_len takes &self even though it definitely modifies the underlying file. The shared mutable state, i.e. the file system, is synchronized internally via the operating system. And this is strictly necessarily the case as this particular state is shared with other processes and the kernel cannot allow one process to introduce data races into another.
This synchronization is also the reason why heavily multi-threaded programs on Linux suffer when a lot of mmap operations are involved, because those are always serialised by mmap_sem.

(There is even talk about sharing not only pages but also page tables between processes for reasons of efficiency for heavily containerized systems so that mlock in one process would affect the mapping in all other processes sharing it, c.f. https://lwn.net/Articles/895217/)

Thanks for the quick response & merge. :smile:

@RazrFalcon Would you mind to push this to crates.io in the upcoming days?

Done.


HBASE-23318 LoadTestTool doesn't start

Package the test jar from hbase-zookeeper into lib/

What is the error message? Which class is missing?

HBaseZKTestingUtility

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 28s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 54s
master passed

+1 :green_heart:
javadoc
0m 14s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 27s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
xml
0m  2s
The patch has no ill-formed XML file.

+1 :green_heart:
javadoc
0m 13s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
0m 28s
hbase-assembly in the patch passed.

+1 :green_heart:
asflicense
0m 12s
The patch does not generate ASF License warnings.

15m  4s

Subsystem
Report/Notes

Docker
Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-848/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/848

Optional Tests
dupname asflicense javac javadoc unit xml

uname
Linux 23fc4e886ee2 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-848/out/precommit/personality/provided.sh

git revision
master / 4b99816dd6

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-848/1/testReport/

Max. process+thread count
86 (vs. ulimit of 10000)

modules
C: hbase-assembly U: hbase-assembly

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-848/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


Fallbacks with LLMChain

System Info
@hwchase17
@agola11
Trying to implement https://python.langchain.com/docs/guides/fallbacks into our current environment that is using LLMChain, but when I pass in the fallback llm into the LLMChain, it throws the following error:
**ValidationError: 1 validation error for LLMChain** llm   Can't instantiate abstract class BaseLanguageModel with abstract methods agenerate_prompt, apredict, apredict_messages, generate_prompt, invoke, predict, predict_messages (type=type_error)
Here is part of the code that I am trying to apply:
`
tools = [
Tool(
func=search.run, description=search_desc, name="Search_the_web"
),
]
conv0memory = ConversationBufferMemory(
memory_key="chat_history_lines",
return_messages=True,
input_key="input",
human_prefix="Human",
ai_prefix="AI"
)
openai_llm = ChatOpenAI(max_retries=0)
anthropic_llm = ChatAnthropic()
llm = openai_llm.with_fallbacks([anthropic_llm])
input_variables = ["input", "chat_history", "agent_scratchpad"]
prompt = ZeroShotAgent.create_prompt(
tools,
prefix=prefix,
suffix=suffix,
input_variables=input_variables
)
llm_chain = LLMChain(
    llm=llm, callbacks=[StreamingStdOutCallbackHandler()], prompt=prompt
)

`
What must be done to pass the fallback LLM into LLMChain?
Who can help?
No response
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[X] Agents / Agent Executors
[ ] Tools / Toolkits
[X] Chains
[X] Callbacks/Tracing
[ ] Async

Reproduction

To reproduce the same output error, follow the steps indicated in https://python.langchain.com/docs/guides/fallbacks  to initiate the fallback
Pass the fallback LLM into LLMChain, where it usually passes the standard LLM methods i.e ChatModels, we add the fallback LLM to it instead.
Use the code snippet provided in my ticket.

Expected behavior
To have the fallback LLM work as per the documentation within LLMChain, whereas it fallback to the second LLM encase the API is busy, returns max token limit error, or to fall back for a better model to answer certain questions.

Is there an alternative? I think it's obvious we don't have access to update ChatOpenAI, and given it's likely one of the most used for LangChain, and that they're currently the most stringent with rate limiting, it seems like it'd be highly beneficial to outline a workable path forward.


Invalid progress displayed for chunked files

It seems that there is an issue with chunked uploader.
PROBLEM:
Problem is that it never shows 100% success
REASON:
there is invalid logic for computation of totalProgress in function updateFileChunkProgress - we are dividing reduced sum by number length of newProgressArr, but newProgressArr always contains one zero element, pushed as chunkProgress.push(0) in method filesToItems. From this reason we always end up with value < 100%
SOLUTION:
add-1 to divider in  updateFileChunkProgress method

I'll prepare the PR

PR here ... https://github.com/rma-consulting/react-xhr-uploader/pull/6

Merged in #6.
Released in 0.3.2.

@harunhasdal seems that the fix was not propagated to 0.3.2 version in NPM repository

my bad, it was published before merge.
Released 0.3.3


Optional regex module

This branch uses the regex module from here if installed:
https://pypi.python.org/pypi/regex
This allows users to override regex flags in the config when this module is installed. e.g.
(?i)something to ignore case when the plugin doesn't by default
(?V1-i)someTHING to turn on case sensitivity even if plugin doesn't by default. (The V1 is necessary for toggling off flags)
TODO:

[x] Add a better validator message if inline flags are attempted in config without regex module installed

@paranoidi This seem like a good idea to you? Is having everything import from flexget.utils.regex the nicest way to accomplish this?

Not much feedback here. I don't want to introduce complication if not needed, so closing.


Update dependency tree

Many packages are out of date. Need to update lots of things.

https://github.com/ConsenSys/permissioning-smart-contracts/pull/231

https://github.com/ConsenSys/permissioning-smart-contracts/pull/233

updating to react 17 breaks the snapshots. There's no enzyme adapter yet for React 17 but they are working on it. https://github.com/enzymejs/enzyme/issues/2429

https://github.com/ConsenSys/permissioning-smart-contracts/pull/234

Released 2.1.0 https://github.com/ConsenSys/permissioning-smart-contracts/releases
https://www.npmjs.com/package/@consensys-software/permissioning-smart-contracts


train autoencoder fails

I just installed the program and began using it. I think I installed correctly in my windows 10, 64bit machine and I got as far as creating a project, doing the make patches, but when I tried to do the train model, it failed. I am using just three images at 5x each, to try the software first. They come from a whole slide image, but I just took certain parts of the slide to make those three images and see how the application perform. I have not been able to find anything about that error. The error appears quite quickly after I tell it to train. Can you orient me?

Hi Aurita
Sorry you are having issues, will you please be able to send in a couple of files from the application folder.

QA.log, jobs.log and flask.log
data.db
( they will all have generated in your QuickAnnotator folder from where you initiated the application)
And can you do a pip freeze of your environment and attach that as well.
Some more information needed what version of python are you using, what is the version of your cuda

Thank you very much for the prompt response. It may be that it is all my fault since my knowledge of programming is very limited and I stumbled installing the program . I have to try several things until I was able to install everything that was required and some of that several times. Instead of going directly to the pip3 installation, I did other things that I thought I needed.
I used anaconda to install python in my computer, I installed the cuda toolkit verison 10, (BUT I do not have an nvidia card, so I am not sure that installation is ok), I had to re-install pytorch several times since it look like not all of the dependencies were being installed, until finally I used pip3 install -r requirements.txt. That worked AFTER I took the version number for numpy, scikit_image, scikit_learn, and opencd_contrib_python_headless. When I tried to install it with the versions that you have, the installation said those version were not compatible  and advise me to let the program make its choices, so I took the versions out and it installed with no errors.
So I ran it and got stuck when it tried to do the learning.
The version of python that i have installed is 3.9.7, some how I can not get what version of pytorch is installed but when I installed, I did the checked that it installed correctly. BUT I could not figure out how to tell it to install pytorch for a NO_CUDA installation, the instructions on hoe to do it, did not work.
Now I found a different page with slightly different syntax for how to install pytorch for NO CUDA system, but have not tried that yet.
I am sending the files that you requested, will wait for your response but I am thinking that maybe I should uninstall everything and start new, but will wait for your response.
I tried to send the data.db file, but it did not let me
flask.log
jobs.log
QA.log
.

I just learned hoe to do pip freeze so here is the file that i sent the results to
troubleshoot.txt

Hi
CUDA will not work with out NVIDIA. And this tool is tested with python 3.8 on Chrome Browser
You can try with the current version of python but if it still does not work you will have to downgrade to 3.8
Since you do not have CUDA, you can use the cpu version of pytorch
pip3 install torch torchvision torchaudio
But before you do this , can you run this command
 pip freeze

And copy all the output and send it in a file.

yes, I just send you the output of the pip in another comment above

i just labeled troubleshoot

You need to uninstall
torch==1.8.1+cu111
torchaudio==0.8.1
torchvision==0.9.1+cu111
and then install the cpu version . restart the application , create a new project
and follow the steps https://github.com/choosehappy/QuickAnnotator/wiki/User-Manual
Regards
Tasneem

thank you very much, I will try that

I am sorry to bother you again, but I see that people have trouble uninstalling torch, can you tell me the syntax to follow?

pip uninstall torch==1.8.1+cu111
pip uninstall torchaudio==0.8.1
pip uninstall torchvision==0.9.1+cu111
try this

well it said that they all have been uninstall now, will follow with the other steps now

well that did not work. I have now installed chrome and followed your steps above and have the same problem. I will now try to change the version of python to 3.8. Any advise on the best way to downgrade python? Should I have to unisntall anaconda and begin with a new installation?

Searching on how to do it, it looks like all that I have to do is type
conda install python=3.8.0
without having to uninstall the prior version?

Some details about what did not work ?
Did pytorch uninstall failed ?
Did the cpu version of pytorch install failed ?
You can have two versions of python on your machine, but you need  to use the correct version for this application.
Regards
Tasneem

Sorry, I should have explain better. Pytorch un-installation went well, at least no errors were seen and it said it did what I asked to do in each of the three cases.
The cpu installation of pytorch proceeded with no problems.
Close all of the windows, re-started again.
I also installed chrome browser in my computer.
Deleted old project, created a new one and use your test images for the tubules segments, was able to run the first part of the program successfully (the make patches). The program stalled when I tried to do the train autoencoder , same place where it stalled the last time.
Will proceed to install the other version of python BUT HOW do I tell the program to use that version?

and this is the pip freeze output after getting rid of unwanted ptorch versions and installing the cpu version
afterPtorchCPUinstalled.txt

IT WORKED, well after two more tries. I created a new environmental variable to install python 3.8 and when I checked the version it says that 3.8.12 was installed, so to be sure I created another variable and forced it to install 3.8.0 .
But of course I mess up the installation of the program again in that environment so before coming back here, decided to go back to the 3.8.12 version environment and install the program there.
Since now I know that the three torch related dependencies in your requirements file did not work for my NON coda version,  I took them out of the file, but of course when I went to ran pip3 with it, I used the ole file, so I had to uninstall them and then go and install the right torch version.
And now the program has been running for a while doing the retrain in your sample images.
So I will now get to learn the program and see if it can do what I need it to do.
Thank you very much for your help.
I am only entering this here to help somebody with my little knowledge.
The only thing i need to do either install or learn to use the whole image slider so I can use it in my slides

OK Now I have a new problem. I am trying to use cli to divide my images, but the program is not running at all, it says that there is no module named open slide when I ran the command
python extract_titles....... input_pattern f:..... -o f:.....
when I ran the help command after pyhton and extract ...... , get the same error
when i ran the command alone, it says it can open the file, it can not find the directory.

if you're using whole slide images, you'll need to install openslide as
well, both the c-library and the associate python library
the instructions for doing that are available on the openslide website
here: https://openslide.org/download/
On Fri, Apr 22, 2022 at 9:22 PM AuritaP @.***> wrote:

OK Now I have a new problem. I am trying to use cli to divide my images,
but the program is not running at all, it says that there is no module
named open slide when I ran the command
python extract_titles....... input_pattern f:..... -o f:.....
when I ran the help command after pyhton and extract ...... , get the same
error
when i ran the command alone, it says it can open the file, it can not
find the directory.
—
Reply to this email directly, view it on GitHub
https://github.com/choosehappy/QuickAnnotator/issues/24#issuecomment-1106793938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACJ3XTGSSOL5R7ITQYXLYA3VGL4BDANCNFSM5UAI5FMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you very much. I will look into that
Aurita
Sent from my iPhone

On Apr 23, 2022, at 3:09 PM, choosehappy @.***> wrote:

if you're using whole slide images, you'll need to install openslide as
well, both the c-library and the associate python library
the instructions for doing that are available on the openslide website
here: https://openslide.org/download/
On Fri, Apr 22, 2022 at 9:22 PM AuritaP @.***> wrote:

OK Now I have a new problem. I am trying to use cli to divide my images,
but the program is not running at all, it says that there is no module
named open slide when I ran the command
python extract_titles....... input_pattern f:..... -o f:.....
when I ran the help command after pyhton and extract ...... , get the same
error
when i ran the command alone, it says it can open the file, it can not
find the directory.
—
Reply to this email directly, view it on GitHub
https://github.com/choosehappy/QuickAnnotator/issues/24#issuecomment-1106793938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACJ3XTGSSOL5R7ITQYXLYA3VGL4BDANCNFSM5UAI5FMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

ok I have installed the python library in the right environment and have downloaded the c library for open slide for windows and unpack that, but not sure how to proceed

To use openslide with python , you will also need the openslide package installed

pip install openslide-python

And then you can follow this link and configure openslide library DLL's to be available for the python program
https://lists.andrew.cmu.edu/pipermail/openslide-users/2014-November/000948.html
And then write program in python
import openslide
print("Import Done")
What is the output do you get any error ? or do you see the print message

SOLVED. After trying several things, the only thing that worked was changing a line inside the lowlevel.py file that is located in the bin directory of openslide.
I added the exact location of the liboenslide-0-dll. Somebody recommend this and it worked for them and me. The line as I changed is below
_lib = cdll.LoadLibrary('F:\Users\Aura\anaconda3\envs\py38\openslide-win64-20171122\bin\libopenslide-0.dll')
I was able to install open slide after that and began dividing some of my ndpi images. Now I will begin to familiarize myself with the program and see if I can trained to do what I need it to do.
Thank you for your assistance. You may close this issue.

if that was your issue, you could also add a line like this before importing openslide:
import os
os.environ['PATH'] = 'C:\\research\\openslide\\bin' + ';' + os.environ['PATH'] #can either specify openslide bin path in PATH, or add it dynamically

but if you do this type of work with high frequency, its better to set the windows path variable to point at the openslide directory, something like this:
https://www.computerhope.com/issues/ch000549.htm


VTK6

I was kind of tired of refactoring and documenting so I had a look to see if it was feasible, and I think we are almost there!
First I removed some unused files in medVtkInria, and some files that are now available with itkVtkGlue (don't forget to rebuild ITK with this option). Then I basically replaced SetInput with SetInputData/Connection, and it was almost it.
There are still some small issues (the view is not correctly centered sometimes  and there is a crash when opening spherical harmonics) but as far as I tested, it seems ok otherwise.
Guillaume

#250 is more up to date, closing


Latest chart version (19.0.0) fails to install

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What version of the Traefik's Helm Chart are you using?
19.0.0
What version of Traefik are you using?
2.9.4
What did you do?
When installing with helm install traefik traefik/traefik install fails
What did you see instead?
Fails with error Error: INSTALLATION FAILED: execution error at (traefik/templates/ingressclass.yaml:10:8): ERROR: You must use at least Kubernetes v1.16 with this Chart
What is your environment & configuration?
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.0", GitCommit:"ab69524f795c42094a6630298ff53f3c3ebab7f4", GitTreeState:"clean", BuildDate:"2021-12-07T18:16:20Z", GoVersion:"go1.17.3", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.14-eks-6d3986b", GitCommit:"8877a3e28d597e1184c15e4b5d543d5dc36b083b", GitTreeState:"clean", BuildDate:"2022-07-20T22:05:32Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}
WARNING: version difference between client (1.23) and server (1.21) exceeds the supported minor version skew of +/-1
Additional Information
It seems that this chart version has a typo in the ingressclass.yaml file on line 7
https://github.com/traefik/traefik-helm-chart/blob/master/traefik/templates/ingressclass.yaml#L7

This is a problem specific to EKS users, I think. The logic Traefik uses in the ingressclass.yaml skips pre-release versions and since AWS is versioning their releases how semver interprets pre-release versions the logic falls back to the else block.
Traefik could either implement a roundabout way of comparing versions so that EKS versions also get checked (potentially having to allow all pre-release versions), or the simply add an override to the values.yaml that allows a user to set the Kubernetes version manually. The latter I've seen used in other charts before.
See also: Use correct SemVer for Kubernetes version

The fix was easy : it's possible to include pre-release with -0 at the end of version when using semverCompare.
Thanks for your report @remenaker and thanks for your analysis @nicely-dunn.


Moving social icons to about page

Hi,
I am trying to move my social icons from my home page:

To my about page: (preferably just before the news section)

I tried moving this code:
{{ with site.Params.social }}

    {{- range . }}

        {{ partial "svg.html" . }}

    {{- end }}

{{ end }}

from home.html in the layouts/ directory of the theme to the index.html file in my 'about' folder (located in contents/ at the top of my site. Evidently you can see the result. How can I achieve this? Thanks
(by the way, I love the theme! )

Note: I achieved the result by doing something a bit hacky...
After the html was rendered in the public directory, I copied the code corresponding to the social icons into my about page. However, I'd like to do this the right way... by making it automatically include the socials I have in the config file

Thank you for the kind comment about the theme!
Honestly, I was going to suggest your hacky solution. I believe you can't include Hugo constructs, such as that for loop, in a page content.
Perhaps your best bet would be to have a custom fork of the theme and modify layouts/_default/single.html  to have something like:
if (about page) {
    render about.md content;
    render social icons;
    render news part;
} else {
    ...
}

I don't think it's worth it in your case, as I believe your social icons would not change so frequently anyway.