ARPACK error -1: No convergence

I'm getting this error in a call to solve().  Maybe it will work if I can increase num_iter or reduce EIGVAL_TOL in the call to scipy.sparse.linalg.eigen.arpack.arpack, but is there any access to these parameters in constant.py for a normal user?

Traceback (most recent call last):
File "try_taylor_approximations_to_integrals_02.py", line 118, in
test_00()
File "try_taylor_approximations_to_integrals_02.py", line 74, in test_00
result0,weights=solve_constrained_RR(A0,B,A1,do_checks=True,verbose=False)
File "/home/kbriggs/MIMO_antenna_design/try_simultaneous_diagonalization_01.py", line 106, in solve_constrained_RR
result=prob.solve(method='dccp',solver=solver,ccp_times=ccp_times,mu=mu,tau=tau,eps=eps,max_iters=max_iters,verbose=False) # ,warm_start=True
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/problems/problem.py", line 396, in solve
return solve_func(self, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/dccp-1.0.3-py3.6.egg/dccp/problem.py", line 41, in dccp
if not is_dccp(self):
File "/usr/local/lib/python3.6/dist-packages/dccp-1.0.3-py3.6.egg/dccp/problem.py", line 172, in is_dccp
if problem.objective.expr.curvature == "UNKNOWN":
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/expressions/expression.py", line 134, in curvature
elif self.is_affine():
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/utilities/performance_utils.py", line 70, in _compute_once
result = func(self, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/expressions/expression.py", line 177, in is_affine
return self.is_constant() or (self.is_convex() and self.is_concave())
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/utilities/performance_utils.py", line 70, in _compute_once
result = func(self, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/atoms/atom.py", line 171, in is_convex
elif self.is_atom_convex():
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/atoms/quad_form.py", line 64, in is_atom_convex
return P.is_constant() and P.is_psd()
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/utilities/performance_utils.py", line 70, in _compute_once
result = func(self, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/expressions/constants/constant.py", line 206, in is_psd
ev = extremal_eig_near_ref(self.value, EIGVAL_TOL, low=True)
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/expressions/constants/constant.py", line 247, in extremal_eig_near_ref
ev = SA_eigsh(sigma)
File "/usr/local/lib/python3.6/dist-packages/cvxpy-1.1.3-py3.6-linux-x86_64.egg/cvxpy/expressions/constants/constant.py", line 238, in SA_eigsh
return eigsh(A, k=1, sigma=sigma, return_eigenvectors=False)
File "/usr/local/lib/python3.6/dist-packages/scipy/sparse/linalg/eigen/arpack/arpack.py", line 1567, in eigsh
OPinv=OPinv)
File "/usr/local/lib/python3.6/dist-packages/scipy/sparse/linalg/eigen/arpack/arpack.py", line 1347, in eigs
params.iterate()
File "/usr/local/lib/python3.6/dist-packages/scipy/sparse/linalg/eigen/arpack/arpack.py", line 757, in iterate
self._raise_no_convergence()
File "/usr/local/lib/python3.6/dist-packages/scipy/sparse/linalg/eigen/arpack/arpack.py", line 377, in _raise_no_convergence
raise ArpackNoConvergence(msg % (num_iter, k_ok, self.k), ev, vec)
scipy.sparse.linalg.eigen.arpack.arpack.ArpackNoConvergence: ARPACK error -1: No convergence (271 iterations, 0/1 eigenvectors converged) [ARPACK error -14: ZNAUPD did not find any eigenvalues to sufficient accuracy.]

@keithbriggs were you able to solve this issue? I have this same issue running for me currently. It would be very helpful if you can help

Sorry, I can't remember what happened about this.   I will have to find my code and run it again.

@keithbriggs oh :(
It would be very helpful for me if you can help. am facing this issue since 2 weeks. it was all fine and this happened all of sudden. Did you increase your max_iters(maximum iteration to the solver params)

CVXPY's behavior for checking psd / nsd has changed since July 2020 (when this issue was opened). The change may or may not fix your problem (hard to say without having the data). The general fix is to find the relevant matrix in your problem and use the psd_wrap atom. I.e., replace P = psd_wrap(P).


[feature-request] Richer syntax definition

Could I suggest adding richer syntax definitions and highlighting? Something like https://github.com/randy3k/R-Extended?

@Shians Great! I'll hope your help. Thank you.
I think same developers https://github.com/randy3k/R-Box/syntax product is better. Because it is MIT license and updating still.

@Shians In new version, it has been expanded from Rbox.
But it's immature and R markdown and R documentation are yet.

I can't quite get my head around how these tmLanguages are written, it seems to be very hard to read or write by hand. Some resources suggest they are compiled from a JSON file but nobody provides the source JSONs. Upon comparison with the highlighting in Sublime I see that the main difference is for function calls to be highlighted.
Since base VS Code has an R syntax I wonder if it's worthwhile figuring out the syntax definition for a function call then pulling it into the main project.

OK, now I'm making script that convert sublime-syntax to JSON, and submited PR to VS Code base.

Along these lines, I'd also very much appreciate if code symbols could be included in the extension as well; this would enable IntelliSense auto completion and browsing by symbol which is essential for larger projects.

@schelhorn Looks good. I'll try it, thank you!

Sorry, my reply is late.
@Shians In Microsoft/vscode@012d7da, this repository will be referenced original VS Code repository Microsoft/vscode#28982, and VS Code user can use better R syntax without installing this extension.
So, this repository will update continually and take latest syntax.
@schelhorn, We will create IntelliSence autocompletion by https://github.com/REditorSupport/languageserver #24.


support nsh encap and decap

support nsh encap and decap
@tnqn
Signed-off-by: zhenglinan<EMAIL_ADDRESS>

@zhenglinan thanks for the PR.
@wenyingd could you take a look?

I have another question: are the new actions only for nsh packets, or also for ethernet? If they are only suitable for nsh packets, it is better to change names more concrete, otherwise, it is confusing when calling "encap(ethernet)"

Please pay attention on the DCO and test/golint  errors


GCS Source additional scenarios.

@itsankit-google Please review the GCS source additional scenarios.
Thanks

why can't we combine scenarios To verify successful records transfer from GCS source to BigQuery sink with macro fields enabled at source and To verify successful data transfer from GCS to BigQuery with macro Path Field?

Thanks Ankit,
The test data used for the 'path field' was not supported. Following an internal discussion with the team, a separate scenario was created to ensure coverage.

why can't we combine scenarios To verify successful records transfer from GCS source to BigQuery sink with macro fields enabled at source and To verify successful data transfer from GCS to BigQuery with macro Path Field?

Thanks Ankit,
The test data used for the 'path field' was not supported. Following an internal discussion with the team, a separate scenario was created to ensure coverage.

What do you mean by testdata not supported? @itsmekumari @AnkitCLI can you provide more clarification?

why can't we combine scenarios To verify successful records transfer from GCS source to BigQuery sink with macro fields enabled at source and To verify successful data transfer from GCS to BigQuery with macro Path Field?

Thanks Ankit,
The test data used for the 'path field' was not supported. Following an internal discussion with the team, a separate scenario was created to ensure coverage.

What do you mean by testdata not supported? @itsmekumari @AnkitCLI can you provide more clarification?

I think, reference was taken from the existing test case for path field scenario. @bijay27bit you can add any path field column name and add the same in output schema which is set as macro in same scenario.

why can't we combine scenarios To verify successful records transfer from GCS source to BigQuery sink with macro fields enabled at source and To verify successful data transfer from GCS to BigQuery with macro Path Field?

Thanks Ankit,
The test data used for the 'path field' was not supported. Following an internal discussion with the team, a separate scenario was created to ensure coverage.

What do you mean by testdata not supported? @itsmekumari @AnkitCLI can you provide more clarification?

I think, reference was taken from the existing test case for path field scenario. @bijay27bit you can add any path field column name and add the same in output schema which is set as macro in same scenario.

Merged both the scenario and it is running at local branch now. Looking below test failures as per Ankit's comment. Thanks

PTAL at test failures.

Also the count of records transferred is zero in failing tests, not sure if it is expected.

PTAL at test failures.

Also the count of records transferred is zero in failing tests, not sure if it is expected.

Hi @itsankit-google I have made the changes and above failed test scenarios are not created by me. Please review the latest code. Thanks


Fix ANSI mode failures in subquery_test.py.

Fixes #11029.
Some tests in subquery_test.py fail when run with ANSI mode enabled, because certain array columns are accessed with invalid indices. These tests predate the availability of ANSI mode in Spark.
This commit modifies the tests so that the generated data is appropriately sized for the query.
There is no loss of test coverage; failure cases for invalid index values in array columns are already tested as part of array_test::test_array_item_ansi_fail_invalid_index.
Edit: An additional (albeit minimal) test for ANSI on/off has been added to represent the removed cases.

Build

Build

Odd: The test runs locally, but fails in CI. Investigating...

Build

Build

Build

I'm investigating the test failures.  It seems that the generated input isn't causing an exception in ANSI mode, on Databricks.

For the record, this doesn't have to do with Databricks, or most Spark versions.  I've been able to repro the failure with:
DATAGEN_SEED=1720033671 PYSP_TEST_spark_sql_ansi_enabled=true  SPARK_HOME=/home/mithunr/workspace/dev/spark/bin/spark-3.5.0-bin-hadoop3 TESTS=subquery_test.py::test_scalar_subquery_array_ansi_mode_failures  ./integration_tests/run_pyspark_from_build.sh

This is an odd failure.  I'm still investigating.

This has all been a bit silly.  test_scalar_subquery_array_ansi_mode_failures isn't deterministic, it turns out.  There are situations where the subquery might succeed without failures.  Neither CPU nor GPU might fail in those cases.
I've modified things to make the exception fire deterministically.

Build


feature/MICORefactor: PlanToNamedConfiguration using cbirrt planner

The trajectories from robot.PlanToNameConfiguration using the cbirrt planner are all over the place, although they go to the right goal. Is this a matter of shortcutting?

Yes, that is why. I had to disable OMPLSimplifier, our shortcutting algorithm, because it does not support circular joints. This is what self.simplifier = None does in AdaPy. As a result, we are not doing any geometric shortcutting.
There are two options:

Increase the duration that we call HauserParabolicSmoother and let this do all the shortcutting.
Switch to a shortcutting algorithm that does work on circular joints.

(1) would be the ideal solution, but we're not sure how well HauserParabolicSmoother works in practice. It also ignores the fact that joints are circular while smoothing, so it may not do a very good job.
(2) Should be relatively easy if you use one of the default OpenRAVE shortcutting algorithms. I'm not sure which (if any) support circular joints, though. So you'll need to check that first.

This should be fixed now that we use HauserParabolicSmoother on ADA. Please re-open this if it is still an issue.


Short solution needed: "Calculate x^2 in Numpy" (python-numpy)

Please help us write most modern and shortest code solution for this issue:
Calculate x^2 in Numpy (technology: python-numpy)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Calculate x^2 in Numpy


alarm shorter than 30s

I am replacing my scheduled event with alarm to allow call every second but miniflare seems to cap the minimum at 30s

Hey @wighawag, this is very much intentional. This is the same design pattern used by cloudflare's DO workers. They check every 30 seconds for alarms. One solution is that if you need to do more work within a 30second span, you can do a SetTimeout style promise. However, talking with devs, you're not guaranteed results using this method as you are with alarms.

Thanks for the quick reply
I used to do exactly that (setTimeout) with the scheduled callback, so I could have a call every 6 seconds.
But I guess the CRON job are more reliable since I have access to ctx.waitUntil ?
Or are they equivalent and both method have issues if you try to have more frequent calls ?

If you know for a fact that you will be making a call every 6 seconds, a CRON job is guaranteed to spawn a worker.
The issue with running every 6 seconds on a DO is that at eventually this WILL fail as somewhere down the line cloudflare may evict the DO from memory losing the timeout.
For best results, I recommend bundled-worker (only pay for what CPU time you're using) + CRON.

Thanks for the info!
Re worker, is it best to scheduled the timeout in the worker script or in the Durable Object itself ?

Ah, no, cron jobs exist outside workers.
You can learn more here. It can only trigger standard issue workers, not DOs directly, although it seems like you don't even need DOs for your use case.

Sorry, I was not very clear.
So I got a DO because I have some state to store and need DO storage properties
The process running in the DO needs to be executed 10 times per minute roughly
I would like to know if I should execute the setTimeout calls (needed to call the process 9 times at intervals of 6 seconds each)

in the worker script (which will then fetch the DO, 10 times per minutes)
or instead do these setTimeout calls in the DO fetch handler (which would only be called once a minute from the CRON job)

Hopefully this is more clear

Hey @CraigglesO! Alarms do in fact support setting times less than 30 seconds in the future, there should not be a restriction in miniflare to limit alarms to at least 30seconds in the future -- the only input restriction is an alarm time of 0 cannot be set. Setting a time in the past will run the alarm as soon as the time is written to disk.
@wighawag Alarms are used to guarantee execution of the alarm handler, even if your DO is evicted. You can definitely set alarms at 6 second intervals, but if you are OK with waiting longer for the alarm to trigger and start the DO again if it is evicted, you could run your alarm at a longer interval up to 60 seconds to keep the DO pinned, and then use setTimeout within the DO to schedule your task to run at a 6 second interval. This would reduce the amount of billable invocations and storage writes, since setTimeout is free :)
If you were to use workers + cron triggers, you'd want to do setTimeout inside of the DO to reduce the amount of DO requests you are billed for. Alarms are easier to use though and seem more suitable for your use case, since they can be scheduled from within your DO.

Thanks @xortive for the update! This is HUGE! I'll make a PR for this immediately.
@wighawag - I recommend sticking with DO alarms then for your use case. Xortive gave a great writeup that I think you can use. The fix to have your alarms triggered exactly as scheduled should be up by next week.

Thanks @CraigglesO and @xortive !

@xortive - Can you explain how the worker response to a setAlarm(0)? Does it throw an error (and if it does can you give the exact error message) or does it silently fail?

@CraigglesO It throws TypeError: setAlarm() cannot be called with an alarm time <= 0


Update dependencies

As per title

/hold
to check first if #55 is enough to unblock the release

@creydr the diff looks like it's already moving beyond release-1.11 and taking it on main. What cmd did you used to update?

@creydr the diff looks like it's already moving beyond release-1.11 and taking it on main. What cmd did you used to update?

./hack/update-deps.sh --upgrade

@creydr the diff looks like it's already moving beyond release-1.11 and taking it on main. What cmd did you used to update?

./hack/update-deps.sh --upgrade

you need the version there --release v1.11

@creydr the diff looks like it's already moving beyond release-1.11 and taking it on main. What cmd did you used to update?

./hack/update-deps.sh --upgrade

you need the version there --release v1.11

Ah ok :+1:


All builds are failing

Just started today, all build fail with a missing perl module

Related to KSP-CKAN/xKAN-meta_testing#29. The module was added to the list that's supposed to be installed, but the interpreter isn't finding it. We'll need @techman83's input to figure out what's going on.

I feel I need to add the ci stuff into the build process, that way it can build itself! Basically it just needs to run docker build -t ckan-ci . on the jenkins host at it'll be sorted.

Fixed


android use solution facemesh error

  FaceMeshOptions faceMeshOptions = FaceMeshOptions.builder()                   .setMode(FaceMeshOptions.STREAMING_MODE)                 .build();         faceMesh = new FaceMesh(mActivity, faceMeshOptions);         faceMesh.setResultListener(new ResultListener<FaceMeshResult>() {             @Override             public void run(FaceMeshResult result) {                 FaceTrackParam faceTrackParam = FaceTrackParam.getInstance();                 if (faceTrackParam.trackerCallback != null) {                     faceTrackParam.trackerCallback.onTrackingFinish();                 }             }         });         faceMesh.setErrorListener(new ErrorListener() {             @Override             public void onError(String message, RuntimeException e) {                 System.out.println("message:" + e.getMessage()+Thread.currentThread().getName());                 FaceTrackParam faceTrackParam = FaceTrackParam.getInstance();                 if (faceTrackParam.trackerCallback != null) {                     faceTrackParam.trackerCallback.onTrackingFinish();                 }             }         });
`
public void onPreviewFrame(ImageProxy imageProxy) {
faceMesh.send(toBitmap(imageProxy.getImage()), imageProxy.getImageInfo().getTimestamp());
imageProxy.close();
}
`
`
private Bitmap toBitmap(Image image) {
Image.Plane[] planes = image.getPlanes();
ByteBuffer yBuffer = planes[0].getBuffer();
ByteBuffer vuBuffer = planes[2].getBuffer();
int ySize = yBuffer.remaining();
int vuSize = vuBuffer.remaining();
        byte[] nv21 = new byte[ySize + vuSize];
        yBuffer.get(nv21, 0, ySize);
        vuBuffer.get(nv21, ySize, vuSize);
        YuvImage yuvImage = new YuvImage(nv21, ImageFormat.NV21, image.getWidth(), image.getHeight(), null);
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        yuvImage.compressToJpeg(new Rect(0, 0, yuvImage.getWidth(), yuvImage.getHeight()), 50, out);
        byte[] imageBytes = out.toByteArray();
        return BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.length);
 }

`
error_message:
Graph is not started because of missing streams

Hi @zhoujingheng, Could you please provide the steps to reproduce the above error. Can you share us the complete error logs. Thanks!

step:
1.init FaceMesh
2.camerax callback analyze(ImageProxy image)
3.image convert to bitmap
4..facemesh.send(bitmap,timestamp)
result:
5.facemesh onError()，the exception:Graph is not started because of missing streams

can you give me FaceMesh use sample on android?

In Java framework This is the graph error thrown while addpackettoBuffer

ok，can you give me FaceMesh use sample on android with camerax

Right we don't provide any such code, but you can build one from https://google.github.io/mediapipe/getting_started/android_archive_library.html#mediapipe-android-archive and you can even try this https://github.com/jiuqiant/mediapipe_face_detection_aar_example using with facemesh aar.

i want to this use sample，not aar

Dupliacate https://github.com/google/mediapipe/issues/2403#issuecomment-897326635

Closing this issue w.r.t this  https://github.com/google/mediapipe/issues/2403#issuecomment-901596776. Please reach us if you still have any queries regarding the above.


Fix tasks template to use transform_file

Description
What is the current behavior?
Currently, the tasks template creates transform_sql tasks, but we only have transform_file.
related: #836
What is the new behavior?
Fix references to transform_sql by replacing it with transform_file
Does this introduce a breaking change?
No.
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

This was not covered by tests since we don't have integration tests yet. I would suggest we add it when we have the optimized local runner. WDYT @tatiana @dimberman? Isn't it easier to add it with the new runner?


add configuration to yank with dd

Add a configuration variable 'ddYanks' which controls whether 'dd' should be vim-like and overwrite the yank buffer.
This addresses #12

Realized that covering only d, d and not also d and D was rather silly, so fixed that. Also renamed the setting and made the default "false" to preserve @jpotterm original intent.

@jl Would it be possible to restore normal behaviour of r (replace single character and return to Normal Mode) as well, if the deleteYanks flag is set?

How can I get a copy of this branch to use, since it is closer to the documentation than Jon's code?


Rename TimeLimit to ToolTimeLimit

Also, additional explanations regarding behavior in workflows and that only command execution is counted

Should we remove ToolTimeLimit from the Workflow changelog?

Closing this as it duplicates https://github.com/common-workflow-language/cwl-v1.1/pull/44


Samba browse not listing users home folder?

Greetings,
I have many shares on a samba server. The extension is not showing the logged in users home folder in the list of available shares. This may be a samba issue or it may need to refresh the listing screen. Any ideas?  Also how do I refresh the listing of available shares from the samba server?
Thanks.

@unixabg Could you check the configuration of the user home directory in the smb.conf? I guess that the configuratoin has "browsable = no"...

Greetings,
Yes I believe you are correct and I furthermore believe the samba default appears to be "browseable = no".  Is there a way I can specify the UNC path to my home folder?
Thanks.

@unixabg I have released a new version 1.5.0 yesterday. This version has a new text field to enter a shared resource name you want to mount. For example, if I have a home directory "/home/yoichiro", I should be able to mount my home directory by specifying the shared resource name as "yoichiro". Could you try this new feature on your environment?

Greetings,
Share mounted and all seems to work perfect!
yoichiro++
On a minor side note, I think it would be nice to see the version number  (1.5.0 in this case) of the extension at the bottom right.
Thanks for the great tool!

@unixabg My pleasure. Thank you for your feedback. :) OK, I intend to add the version number label on the bottom right of the screen.


Supporting Zarr-Python 3 Codec API

Over in Zarr-Python, we are working on a a new major version (v3). This version will have a slightly new Codec API and will expose a new set of codec types (ArrayArrayCodec, ArrayBytesCodec, BytesBytesCodec, etc.). These codec classes are not wildly different from the existing Numcodecs API (perhaps except for the partial encode/decode options) but they are not in perfect alignment. With this in mind, some questions for discussion:

Can Numcodecs conform to the Zarr-Python API?

I don't think this has to be seen as a breaking change but if it is, how do we weight the potential costs and benefits?

Would Numcodecs be able to register codecs via the Zarr-Python entrypoint mechanism? (e.g. https://github.com/zarr-developers/zarr-python/pull/1588)

cc @zarr-developers/python-core-devs

I fixed the OP.

We discussed this in the Zarr-Python refactor meeting today. The outstanding task here is to experiment with Zarr v3 codec API by exposing this library's compression codecs and pre-compression filters through the BytesBytesCodec and ArrayArrayCodec interfaces. If that can be done effectively, these can be registered through the entrypoint mechanism described above.
This would be a good project for someone interested in getting involved in zarr-python 3's development.

I would add here, that I think having some fallback support for numcodecs (+ other packages that make codecs following its API) is important to maintain readability of datasets in v3. We need to decide whether we can assume they work on bytes - which is by far the most common case - or otherwise can tell from the signature (or try/except) if they accept/produce arrays. That doesn't seem to hard.
Question: codecs are of course CPU-bound, and will be run in threads, hoping that the GIL is released. The to_thread call lives in zarr-python?
If all this is true, I don't see any reason to rewrite any codecs for v3, except where we wish to state the bytes Vs array nature of a codec.

There is now a PR that adds the numcodecs.zarr3 module which contains Zarr v3 wrappers for the numcodecs codecs: #524

Removing the "good first issue" label since there's now a PR for this


Support for BurpPro v2.1.07?

Passive audit check "hangs" and does not complete. Started noticing this issue around v2.1.04-v2.1.05 of BurpSuite Professional. Tried 3.0.5 and 3.0.6beta of BurpBounty and same issue.
No errors in the extension output. It seems to get stuck while scanning a favicon.ico page. Maybe something with unsupported characters?
Thanks!

Hi @michael-barone !
Thanks for the issue, the extension had a problem and sometimes when you added a payload with \r it was saved. Then it was consuming a lot of cpu because it made the request GET /some/path.php?var=payload\r HTTP/1.1
I am solving all issues and I will soon release version 3.1.
Best regards.


cannot import name '_mask' from 'utils.pycocotools'

Your code used to run properly, but after the GPU driver on our lab's server was reinstalled, I met this error "ImportError: cannot import name '_mask' from 'utils.pycocotools' ". I tried to reupload the 'pycocotools' folder, but it didn't work.

It's probably that your new cuda version does not match with the one you compile the program with.

Ensure that the cuda environment is integrally installed, including compiler, tools and libraries. Plus, make sure the cudatoolkit version in the conda environment matches with the one you compile with. Check about that using nvcc -V and conda list | grep cudatoolkit, the output version should be the same.
After that, you should delete the compile output files, e.g., *.o, inside the utils/nms/ and utils/pycocotools/ folders. Then, recompile with the command sh make.sh.

Hope that it helps. Thanks.

Yes, it's the compiling problem. Thanks.

Could you share the hyperparameter settings in pre-training phase?  I pretrained the model on COCO for 80k iterations, and the total loss stayed at 6.3 for the last 20k iters. The AP of my pretrained model on COCO nonvoc_minival is 20, not as high as the AP of the model you offered at baidu pan, which is around 27.

The number of iterations you run is not the same as I specify. Note that all the training details have been set for you. Feel free to run with the command line python train.py --save-folder weights/COCO60_pretrain -d COCO -p 1 to obtain the pretraining model on COCO60, the AP should be about 27~28%. Thanks.

Thanks for your reply. I did use the command you offered in Readme, only that num_gpu is tuned to 1. Till now the training has run for 100k iters, but the total loss and AP is almost the same as those of 60k iters (loss: 6.3, AP: 20.5), TOT. I assume it's not normal?

I haven't yet tried on 1 GPU. It's highly recommended to run on multiple GPUs for a larger batch size. FYI, I think you can run with extra aument --log  to record the training details to figure out where the problem resides.

I‘ll try multiple GPUs, but since the batch size is remained as default settings (64), I don't think it could make a huge difference. As for your pre-trained model, I can't directly use it since I modified the backbone. By the way, is there any chance you happen to keep the original pre-training log file or tensorboard event files? If you do, could you share it with me? It will help a lot. Thanks.

FYI, here is the training log.txt. As for the tensorboard file, I can send to you via email since the github does not support that file type. Kindly let me know if you need.

Thanks for your sharing, and tensorboard file is not necessary now. I checked your log file and it turned out to be very similar to mine. I'm just too impatient.


Please link pub.dev package listing on GitHub landing page

Please add pub.dev/packages/datepicker_dropdown to the GitHub description to link to the pub.dev listing for this Widget on github.com/Robertrobinson777/dropdown_date_picker landing page. Thanks!

Thank you @domesticmouse


[1.15.2] Detailed Network View Setting is not Persisted

Minor issue. If I turn on Detailed Network View using the Admin Configurator, it seems to forget this setting after logging out of the game and then back in.

there will be a rework on guis, which includes history record


Add void return type to collect() method

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
no

Related tickets

Documentation

License
MIT

What's in this PR?
Needed for Symfony 6.3.
 1x: Method "Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface::collect()" might add "void" as a native return type declaration in the future. Do the same in implementation "Http\HttplugBundle\Collector\Collector" now to avoid errors or add an explicit @return annotation to suppress this message.

Thanks for merging. Could you please tag it?

done: https://github.com/php-http/HttplugBundle/releases/tag/1.29.1


IndexError: list index out of range

i am getting these warning while running neuroner
epoch_elapsed_training_time: 331.644915 seconds assess_model on dataset_type: train C:\Users\erame\AppData\Local\Programs\Python\Python35\lib\site-packages\matplotlib\artist.py:233: MatplotlibDeprecationWarning: get_axes has been deprecated in mpl 1.5, please use the axes property. A removal date has not been set. stacklevel=1) C:\Users\erame\AppData\Local\Programs\Python\Python35\lib\site-packages\sklearn\metrics\classification.py:1113: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no predicted samples. 'precision', 'predicted', average, warn_for) C:\Users\erame\AppData\Local\Programs\Python\Python35\lib\site-packages\sklearn\metrics\classification.py:1115: UndefinedMetricWarning: F-score is ill-defined and being set to 0.0 in labels with no true samples. 'recall', 'true', average, warn_for) assess_model on dataset_type: valid assess_model on dataset_type: test shell_command: perl .\conlleval < ..\output\en_2017-04-21_07-36-25-322798\000_014986_train.txt > ..\output\en_2017-04-21_07-36-25-322798\000_014986_train.txt_conll_evaluation.txt 'perl' is not recognized as an internal or external command, operable program or batch file. Traceback (most recent call last): File "main.py", line 442, in  main() File "main.py", line 383, in main conll_parsed_output = utils_nlp.get_parsed_conll_output(conll_output_filepath) File "C:\Users\erame\AppData\Local\Programs\Python\Python35\NeuroNER-master\src\utils_nlp.py", line 42, in get_parsed_conll_output line = conll_output[1].split() IndexError: list index out of range`

The key is 'perl' is not recognized as an internal or external.
You need to install Perl (because the official CoNLL-2003 evaluation script is written in Perl). You can download Perl from http://strawberryperl.com
Make sure the perl.exe binary is in your Path system environment variable, which you can check as follows:

To add perl in your Path system environment variable:

thankyou :) it's working!


Upgrade to TensorFlow 2.0

TensorFlow 2.0 is beta now and a stable candidate is going to be released soon. So we can start upgrading it to TF 2.0 soon.

hi,
I've done an update to tensorflow-gpu 2.0. You may refer to the master branch here,
https://github.com/mikaelfoo/image-super-resolution.git

@mikaelfoo thanks Can you do a PR to us? In general, we want to upgrade to TF 2.0 with all its new features. Just changing to tf.keras is not enough.


The media could not be loaded, either because the server or network failed or because the format is not supported.

HLS playlist request error at URL: http://<IP_ADDRESS>:8888/live/y9ps5FzaH/index.m3u8

hey,
did you add transcoding to the config?
trans: {     ffmpeg: '/usr/bin/ffmpeg',     tasks: [         {             app: 'live',             hls: true,             hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]',         }     ]


feat: [M3-8915] - Improve UI for billing contact info when sensitive data is masked

Description 📝
Recently, we added a Mask Sensitive Data enhancement that allows the user to obscure data, including contact information.
This is functioning as expected on the Account > Billing page, where Billing Contact Info fields are masked when the feature is enabled, but the UI presentation of this can be further improved.

[!NOTE]
UX has approved these changes.

Changes 🔄

Replaced individually masked fields with explanatory copy when Mask Sensitive Data is enabled
Added the ability to toggle the contact info visibility in the panel when Mask Sensitive Data is enabled
Replaced the MUI visibility icons with CDS 2.0 visibility icons in this panel and throughout the feature
Minor cleanup in ContactInformation: moved styled components to ContactInformation.styles.ts and removed the default export

Target release date 🗓
12/10
Preview 📷

Before
After

How to test 🧪
Prerequisites
(How to setup test environment)

Check out this PR and go to Profile Settings and enable Mask Sensitive Data

Reproduction steps
(How to reproduce the issue, if applicable)

[ ] Go to https://cloud.linode.com/account/billing and note the individually masked text fields, which are very noticeable and potentially distracting.

Verification steps
(How to verify changes)

[ ] Go to http://localhost:3000/account/billing and note the copy change and the ability to toggle between showing and hiding the data.
[ ] Follow the link to profile settings, disable the Mask Sensitive Data setting, and return to the Billing page.
[ ] Confirm that with the setting disabled, the billing contact info displays as usual.

As an Author, I have considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿  Providing accessibility support

[x] I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

[x] All unit tests are passing
[x] TypeScript compilation succeeded without errors
[x] Code passes all linting rules

@hkhalil-akamai Good idea for user efficiency. Done in c8b2735.
https://github.com/user-attachments/assets/e2180df4-c2d8-48ec-ad8c-46e16ff4e069


Unhandled exception in Markdown.Avalonia.Markdown constructor

Avalonia 11.2.1
.NET 8.0.7
Rocky Linux 8.9 64-bit
When opening a message box in Avalonia, I get a FileNotFoundException that is originating from the Markdown constructor.
System.IO.FileNotFoundException: Unable to find the specified file.
at Interop.Sys.GetCwdHelper(Byte* ptr, Int32 bufferSize)
at Interop.Sys.GetCwd()
at Markdown.Avalonia.Markdown..ctor()
at Markdown.Avalonia.MarkdownScrollViewer..ctor()
It looks like it is coming from here:
       public Markdown()         {             _assetPathRoot = Environment.CurrentDirectory;
Unfortunately, I do not have good steps to reproduce this issue. One of my users is having this problem.

Do u see, that's now it separated packages for ms avalonia and for ms with markdown?
https://www.nuget.org/packages/MessageBox.Avalonia.Markdown/


replace deprecated open with opn

Fixes: https://github.com/jsforce/jsforce/issues/751, https://nodesecurity.io/advisories/663
open appears to have a command injection vulnerability. This is causing any project with jsforce as a dependency to fail the node security platform check https://github.com/nodesecurity/nsp.
The fix is to use opn.  Luckily the API is the same, so very little to change.

Can we get this pushed through, please?


Column mode in DBeaver Query

Hi,
is it possible to add in next software releases column mode feature, like Notepad++, using Alt key (https://npp-user-manual.org/docs/editing/)?
It would be very helpful especially when you have to add a prefix on a table column in a SELECT statement.
GIF example: https://npp-user-manual.org/docs/images/columnMode.gif
I hope you could consider this advice!
Thanks

Hello @angeloruggieridj,
Have you tried using block selection? It can be toggled in the Edit ⇒ Toggle Block Selection, or by using shortcut Alt+Shift+A.
Please let me know if it solves your issue.


Prepare v0.34

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Documentation has been added / updated (for bug fixes / features)
[ ] HISTORY.rst has been updated (with summary of main changes)

[ ] Link to issue (:issue:number) and pull request (:pull:number) has been added.

[ ] bumpversion patch has been called on this branch
[ ] The relevant author information has been added to .zenodo.json

What kind of change does this PR introduce?

Prepares version 0.34

Does this PR introduce a breaking change?
Nope.
Other information:

Coverage remained the same at 91.567% when pulling 250e56f9a81ef1280748984d2ed5a82b8f92f329 on prepare_v034 into b357a8d19b65c2c55ec04e1af8baf10a51fdf36e on master.


Consolidate and Minimize Errors

Our errors are getting out of hand and we need to do something to reduce the number of variants. Many can be grouped and details specified at runtime. As an example, we could turn this:
    #[error("unexpected code error: {0}")]
    UnexpectedCode(String),
    #[error("unexpected count code error: {0}")]
    UnexpectedCountCode(String),
    #[error("unexpected op code error: {0}")]
    UnexpectedOpCode(String),

into
    #[error("unexpected code error: {0}")]
    UnexpectedCode(String),

And simply specify the op and count information in the supplied string.

We should note that this will make consuming code slightly harder to write, since the information becomes encoded rather than explictly cased.

address err!(Error::NonZeroedLeadByte()) et al as well

Meeting comment 03-30-23
We should clean this up before 1.0.0. It will take sitting down and designing an error set.
Usually in a library all the errors are wrapped to make a consistent interface. Do we want to do that or return the underlying errors from dependencies?
We will likely get to this when we are forced to by consuming it from other libraries.


Fix detection of deployment target

you should update src/configure.in as well

src/configure.in already had the square brackets.

please take a look at https://github.com/macvim-dev/macvim/pull/117

I see that, but when I made this PR, src/configure.in already had the square brackets, as you can see here


[PDI-9289] Setting a null Boolean results in NPE

Minor fix to prevent NPE when setting Boolean values ...

@dkincade @mattyb149 , this is one last minor adjustment, noted after integration test changes.


development-ui: don't use vercel/fetch-retry

Coverage remained the same at 81.789% when pulling 68e36115737445b60ef9e36d7eb3d03ab9aef210 on dev-ui-dont-use-fetch-retry into 0e40b47d4cd00746d0c0499f7139154e8c1efc7a on main.

@all-contributors please add @leo-guinan for bug


Remove gzip settings in docker nginx

Gzip has been enabled on the native installed docker on the server to have effect. Can be deleted here.
@chrismayer @weskamm @sdobbert

In the description you write "Gzip has been enabled on the native installed docker on the server to have effect".
Do you mean "... native installed nginx ..." ?


example data problem

I've just installed Enrich2 and downloaded the example data.  After unzipping the data navigate in the gui to the Enrich2-Example-master directory (which exists here : /home/rosema1/Bioinfo/bin/Enrich2-master/example_data/Enrich2-Example-master) and using the file menu i open BRCA1_example.json.  I then get an error message:
Failed to process config file: [Errno FASTQ file error: file 'Data/BRCA1_input_sample.fq.bz2' doesn't exist] E3 Input
I then go back to /home/rosema1/Bioinfo/bin/Enrich2-master/example_data/Enrich2-Example-master in the terminal and get the following:
$ cd /home/rosema1/Bioinfo/bin/Enrich2-master/example_data/Enrich2-Example-master
$ ls -l Data/BRCA1_input_sample.fq.bz2
-rw-rw-r-- 1 rosema1 rosema1 49713004 Sep 17  2016 Data/BRCA1_input_sample.fq.bz2
Any suggestions?
Thanks
Mark

The example uses relative file paths, so make sure you are starting the program from within the example directory.

The example uses relative file paths, so make sure you are starting the program from within the example directory.


Question: Uploading files other than json or strings?

Hi! I have a quick question:
Is it possible to upload other types of files over ipfs-mini than just text? I would need to upload .gif files, and I don't know if I can use IPFS.js, so came to ask here.
Thanks,
Sas :)

So you might be able to by using the blob mechanism in the browser. Are you using this in nodejs or the browser?

@silentcicero I'm using the browser. I actually figured out that I can just store a base64 string, which should work fine for what I'm doing. Thanks for the help though :)
Btw, what is a good IPFS node to use? Infura doesn't allow it to be used in projects without explicit permission, and I would need it for a hackathon. (I don't know how fast they will respond) Are there any alternatives?

@SilentCicero i'm trying to upload png/jpg files using blob mechanism, uploading works well, but when i watch these images using gateway, it seems like they are corrupted. If i upload files in the same way using js-ipfs-api, images are not corrupted. Do you know what could be the problem? Here's the code and example of corrupted image:
function uploadImage(file) {
	return new Promise((resolve, reject) => {
		const fileReader = new FileReader();

		fileReader.onload = event => resolve(event.target.result);
		fileReader.onerror = error => reject(error);
		fileReader.readAsArrayBuffer(file);
	})
	.then(arrayBuffer => (new Promise((resolve, reject) => {
		ipfs.add(Buffer.from(arrayBuffer), (error, hash) => error ? reject(error) : resolve(hash))
	})))
}

http://ipfs.io/ipfs/QmPTP3sjiXGy9jQcEZhexRYMSx5ZhSGdofHDkzG5DpvaQb
Thanks!

@iSasFTW I would recommend just starting a local node up or using the main IPFS gateway if that is still running (they have a high performance cluster running, I believe for free).
@ngaer I'll try to complete this task myself. Not sure why it would be currupted. Let me ask Pelle:
@pelle any thoughts on the above?
I think it's because we wrote our own Blob wrapper, and it may be wrapping the data twice.

@ngaer have you figured anything out, @pelle and I are too busy to investigate, but I will be using this module eventually to do file upload.

No, i do not have much time for this too, so for now i decided to use js-ipfs-api on server side.

HI i have added one json object in IPFS using addJson method. But while i am  trying to get the same json object back using catJson with proper hash code i am getting the json ..but the output json is not a valid json object. How can i get the parsed json object ?

I use little hack for upload images - convert to svg
const reader = new FileReader()
reader.onloadend = async function () {
    const fileContents = `<svg xmlns="http://www.w3.org/2000/svg">
        <image href="${reader.result}" />
     </svg>`

  const CID = await IPFS.add(fileContents)
}
reader.readAsDataURL(this.files[0])


Automate enabling/disabling use of code in key(s)

No Loqed Community Forum so gonna put some ideas here 😁
Would be cool to let Homey automate the enabling or disabling of “Open with a code”. This would give more flexibility to give out keys and make sure that codes are enabled/disabled under some conditions. Like: disable codes when everyone is home / asleep.

Nice suggestion. I will ask the guys to put this on their backlog.

Workaround for now could be that you setup a key without a code (so that touch to open works) and create a second key with only a code thats valid from time till time in the LOQED smartphone app. But would definitely be nice to have this feature.

Clever! We can have more keys than needed anyway 💪👍


Cite the EMNLP 2019 paper

Should we maybe cite the EMNLP paper, now that it is in the ACL anthology?

Sounds good to me!


Bugfix/cron path error

Someone forgot her shebang line because she hasn't had enough coffee today ...
This was causing cron to fail with
/etc/cron.hourly/pootle-importer:
run-parts: failed to exec /etc/cron.hourly/pootle-importer: Exec format error
run-parts: /etc/cron.hourly/pootle-importer exited with return code 1

cron has run successfully since this was fixed

Looks like this includes some additional code. Should I just cherry-pick the final commit?

That was poor practice on my part, apologies.
I should have branched from master, not from the other bugfix branch.
Please go ahead and cherry pick. How could I forget a shebang line?? :woman_facepalming:

Cherry-picked the shebang commit into master. Closing this PR


inotify panics after updating tokio

inotify 0.8.3 internally use tokio 0.2.
After controller_poc updating its dependencies to latest (tokio 1.2), inotify panics at runtime saying that it can't find tokio.
Updating inotify to latest may solve this problem.

Build is ok, but it will panic when run.
Error info is:
Thread tokio-runtime-worker panicked at there is no reactor running, must be called from the context of a Tokio 0.2.x runtime


implemented basic DSL, hooks and validate

that commit contains #168 and #169 issues

I think it's ready for merging :)

Who will do merging? ))

@paa001 I think you can do it :)


IpcMain.Once(string) is not one time use, is not removing listener

Version: 7.30.2
Target: .Net Core 3.1

In the C# lib, IpcMain.Once(string) is not removing the listener after.
Steps to Reproduce:

Register a listener using IpcMain.Once(channel_name)
Wait for the event to be fired at least once from javascript
Now fire the event again within javascript
The listener registered at step 1 still fires even though it should have been removed.

I think this is directly related to my other issue I just posted: https://github.com/ElectronNET/Electron.NET/issues/365

I tested it with the current version and there were no problems. Possibly. do you unconsciously register it more often, or is it due to the new Electron 8 version. Our latest update in version 8.31.1 will be released in the next few days.


Upgrade to Django 3.2

Set DEFAULT_AUTO_FIELD to prevent deprecation warnings (Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField')

Looks good to me, merging in.


🎨 Fixed a linting error in main branch

I found a linting error while running yarn lint on the main branch.  Found this while testing one of my own PRs.
Error:-

Looks like it got introduced here 917ab0a
Reason:-
We are using 'plugin:ghost/test' in the .eslintrc.js file which internally verifies that file names must follow this regex:-
'ghost/filenames/match-regex': ['error', '^[a-z0-9-.]+$', null, true]
Ref.: https://www.npmjs.com/package/eslint-plugin-ghost

After analyzing the Test Suite / Lint (pull_request) here on GitHub for this PR I figured that the error was specific to my local setup. Updating the dependencies fixed it for me locally as well. We don't need these changes.
Thanks!!

After analyzing the Test Suite / Lint (pull_request) here on GitHub for this PR I figured that the error was specific to my local setup. Updating the dependencies fixed it for me locally as well. We don't need these changes.
Thanks!!


-gcflag “-N”参数下编译时中英文混写会panic: runtime error: slice bounds out of range [:5] with capacity 0

Description
go build 加参数 -gcflag “-N”编译（debug时需要）
使用streamWriter.SetRow(cell, row)时
row中中英文混写（如"模板ID"）会panic
研究了下原因
stringToBytes()使用了unssafe包， 在-gcflag “-N”参数下编译运行时会返回[]byte，len>0, cap=0，使用返回的slice时会panic

Steps to reproduce the issue:
1.使用streamWriter.SetRow(“A1”, []interface{}{"模板ID"})
2.go build 带参数-gcflag “-N”
3.构建excel
Describe the results you received:
panic: runtime error: slice bounds out of range [:5] with capacity 0
Describe the results you expected:
no panic
Output of go version:
go version go1.13.9 darwin/amd64

Excelize version or commit ID:
lastest

Environment details (OS, Microsoft Excel™ version, physical, etc.):
mac OS 10.15.4 (19E287)

Thanks for your feedback, I have fixed it. Please try to upgrade the library with the master branch code.


feat(fabric): support tls connection to fabric nodes

Is your feature request related to a problem? Please describe.
fabric connector does not support tls connection towards fabric nodes
Describe the solution you'd like
enable fabric connector to use tls connection towards fabric nodes

@izuru0 Is this still an issue?

Fabric connector can connect to SSL nodes now (example - https://github.com/hyperledger/cacti/blob/main/examples/cactus-example-discounted-asset-trade/fabric-connector.ts#L77)


Have an interface to add out of band hashtags

Add support for out of band hashtags -- a link at the bottom of the posts composer, that lets you add hashtags. This are not part of the post character count, but store in the protocol record.
And of course, display out of band hashtags!
See the thread on Bluesky Community Dev Discord
Here are the details on the "tags" part of the post Lexicon: https://github.com/bluesky-social/atproto/blob/c36456f0ba7bf412b0e059288edd46dcd28e32c9/lexicons/app/bsky/feed/post.json#L51
          "tags": {
            "type": "array",
            "description": "Additional hashtags, in addition to any included in post text and facets.",
            "maxLength": 8,
            "items": { "type": "string", "maxLength": 640, "maxGraphemes": 64 }
          },

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

This is merged upstream and live in Ouranos by @pdelfan


Tabs overflow

Very useful tool. It looks like when there are too many tabs it overflows the container. It would be nice if it either created a second row or at least had a scrollbar so that on small screens there would be some way of selecting things.

Added in v1.1.9


Add explanation for db refresh in README

Can you elaborate on "Do not forget to refresh the local database whenever you changed the datamodel"?
Do you mean "Do not forget to initialize..." as you have to repeat the Initialize step whenever there was a change?

I changed the explanation.


Generate nt_info and nr_info dbs that map accession id to name and le…

…ngth.
Verified that step works on nt.test and nr.test.
Verified that the generated sqlite3 is correct.
Verified that generated nr_loc.db and nt_loc.db are unchanged.
@yunfangjuan
What additional steps should I take to test? I can run this on the full nt and nr in 2018-12-01, since I will need to upload nt_info.sqlite3 and nr_info.sqlite3 to that folder anyways.

Also ran this step on the full nt and nr and verified that the resulting nt_loc.sqlite3 files are the same size as the previous one...Just in case.


CUDA version (11.8) mismatches PyTorch (12.1)

⚠ Check for existing issues before proceeding. ⚠

[X] I have searched the existing issues, and there is no existing issue for my problem

Where are you using SuperAGI?
Linux
Which branch of SuperAGI are you using?
Main
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
When I do a docker compose -f local-llm-gpu up --build, I am getting this error:
1.295 RuntimeError:
1.295 The detected CUDA version (11.8) mismatches the version that was used to compile
1.295 PyTorch (12.1). Please make sure to use the same CUDA versions.
1.295
------
failed to solve: process "/bin/sh -c cd /app/repositories/GPTQ-for-LLaMa/ && python3 setup_cuda.py install" did not complete successfully: exit code: 1

But aren't both PyTorch and CUDA inside these docker images?
How to replicate your Issue?
docker compose -f local-llm-gpu up --build
I haven't done anything special than make the config file from the template.
Upload Error Log Content
https://gist.github.com/joshuacox/f9d4aa78b84ab614af5954a361cc6b2b

this PR  appears to address the issue, though I am still having issues with it.


Mesh/peer abstractions don't have a way to express read-only or write-only relationships

At the moment, the Peer & PeerGroup abstractions are unaware of the gossip / sync layers that are built on top of them.
A member of a peer group can either send messages to another peer or to all peers it is currently connected to within the group. Gossip and sync are built on that abstraction. The "sharing" and "fetching" parts are two different modules within the sync agent, so it would be possible to configure the agent to do only one of the two functions. The part that seems more cumbersome is indicating which peer is in which mode with respect to each sync target.


[BUG] new API NetworkAttachmentDefinition is inconsistent to v1.0.3

The problem
When request create network with payload as below, in v1.0.3, server will return 422 and Invalid, but after v1.1.0, it will be silently changed to create UntaggedNetwork.
{'apiVersion': 'k8s.cni.cncf.io/v1',
 'kind': 'NetworkAttachmentDefinition',
 'metadata': {'labels': {'network.harvesterhci.io/type': 'L2VlanNetwork'},
              'name': '11-15-21h33m52s710643',
              'namespace': 'default'},
 'spec': {'config': '{"cniVersion": "0.3.1", "name": "11-15-21h33m52s710643", '
                    '"type": "bridge", "bridge": "mgmt-br", "promiscMode": '
                    'true, "vlan": 0, "ipam": {}}'}}

The solution
In the UI, we will NOT input vlan field for UntaggedNetwork, so we should still keep the vlan id check (for L2VlanNetwork) to compatible with old version.
Additional Context
Discovered by e2e's API testing.

A null value is equivalent to 0 for the vlan field. We don't need to specify the label 'network.harvesterhci.io/type': 'L2VlanNetwork' because the webhook mutator will distinguish them and tag them automatically.

@lanfon72 can u please help to check if removing the network label will address the above issue on the e2e API testing? thanks.

@lanfon72 can u please help to check if removing the network label will address the above issue on the e2e API testing? thanks.

@guangbochen yes it will still be changed to UntaggedNetwork.

there was a typo to use networks in labels, so I don't think it is cause by labels.^1

seems the webhook will automatically convert VLAN 0 to untaggedVLAN, per the 802.1q specification, the all-zero and all-one tag (i.e. VLAN 0 and VLAN 4095) are not used, so we may need to check the VLAN id range as well in the https://github.com/harvester/network-controller-harvester/blob/master/pkg/webhook/nad/mutator.go#L50-L55, cc @yaocw2020

seems the webhook will automatically convert VLAN 0 to untaggedVLAN, per the 802.1q specification, the all-zero and all-one tag (i.e. VLAN 0 and VLAN 4095) are not used, so we may need to check the VLAN id range as well in the https://github.com/harvester/network-controller-harvester/blob/master/pkg/webhook/nad/mutator.go#L50-L55, cc @yaocw2020

The webhook judges the value 0 to confirm whether the vlan field is empty. What the webhook cares about is the empty value, not the number 0.  Assume that vlan field is a string type and then the empty value will be blank, the webhook would not allow the number 0. I hope I explain it clearly.
It would be better to limit the number 0 for the VLAN type NAD.

@lanfon72 let's move this to v1.1.2 and prefer to update the testing case since this is now expected in the backend.

@guangbochen we are just skip the test case after v1.0.3, when this issue be resolved, we will update the test case.

Close this one and have checked with @lanfon72 that we will update the testing cases instead, thanks.


Add me as Collaborator

Add me as a collaborator for language translation in English
Email is<EMAIL_ADDRESS>

Hi. I prefer not to translate it unless I added an option to switch between languages. If you can do that, make a PR! It is on the roadmap for sure, but I haven't had time to add it


Possible to export the robot state message from the modern driver

Hi, I am using the ur_modern_driver to control a UR10 robot manipulator. Before that, I have ever used the old UR driver provided by ROS-I consortium and connect with the real-time data interface using testRT_comm.py to get all robot states output in the /robot_state topic.
My question is how can I get all real-time data information when I am using the modern driver? Is there any similar python file command or rosrun node to do this? Thanks!

ur_modern_driver does not supply something like testRT_comm.py currently I'm afraid.
The infrastructure is all there, but it's C++, and there is no entrypoint that could be used like the script you mention.
It could be added, but as that would be a rather unusual use of the driver, I'm inclined to say it's out-of-scope for now.
Note that you should still be able to use testRT_comm.py in parallel to ur_modern_driver: the real-time interface supports multiple connections.


Introduced Prismatic schema to check client-config.

So how about this then? :-)
BTW I was hitting https://github.com/marick/lein-midje/issues/43 so I changed lein-midje version to 3.1.1. Not sure if that's a big deal (I assume 3.1.1 is a safer bet).

Hey Tomas, finally got a chance to merge this.  I bumped the version of schema while I was at it and ran the tests.  Going to play with it a bit more then push a new release.  Thanks for all your work on this, and sorry again for how long it took me to get your PR in!


Writing to specified path is not permitted

The attempt to store the output of the open_raw function as a Zarr file using the to_zarr function is failing because there is no permission to write to the specified path.

Fixed with File Permissions PR


Allow to close quick open with ESC when opened and focus is outside

Pushed for picker and quick open.


Allow dist2src-update to use packit-service-centosmsg

Allows:

to use different task name
to use subtopics with more "levels", e.g. git.receive

recheck


BOCM-288 test created for GET /inspector/more-appeals

Describe your changes

Issue ticket number and link
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[√ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

too many issues with conflict files


ARRAY JOIN and arrayJoin memory limits

I am running the following query on a table with ~50M rows Where vec is an array of integers. It yields the this error: DB::Exception: Memory limit (for query) exceeded: would use 9.32 GiB. I have tried using arrayJoin with the same outcome.
Are there any workarounds that could execute this query on disk? Or do I need to restructure my table to denormalize across vec? As powerful as the array functions are, being purely in-memory is a very limiting requirement.
SELECT vec, author, count(*) as ct FROM(
    SELECT * FROM messages
    ARRAY JOIN vec
)
GROUP BY vec, author
ORDER by author, vec DESC
LIMIT 20 by author

Did you enable on disk group by and order by?
Check those settings:
max_bytes_before_external_sort
max_bytes_before_external_group_by
distributed_aggregation_memory_efficient


[html] don't add spaces when comming

Steps to reproduce:

Open a vcxproj in VS Code.
Type the word "Foo" at the start of a new line
Do Ctrl+K,C to comment the line

ER:
<!--Foo-->
AR:
<!-- Foo -->
When VSCode comments a selected line of text, it adds a blank space to the left and right side of the selection before commenting it.  Visual Studio does not do this.  The two apps should behave consistently, but don't.
In this case, Visual Studio behaves correctly.  VSCode should not be adding extra spaces around the selection before commenting it.

There's no requirement that VS and VS Code must behave the same.
In VS code we chose to add spaces as this recommended by some styleguides. But guess in the end it's a matter of personal taste.

I keep the issue open to see if other users feel the same. Please add votes.

Ideally, we would allow all language configuration settings to be redefined in the user settings

To keep the number of issues in our inbox on a manageable level, we're closing issues that have been on the backlog for a long time but haven't gained traction: We look at the number of votes the issue has received and the number of duplicates issues filed.
If you disagree and feel that this issue is crucial: We're happy to listen and to reconsider.
Maybe you want to give it a try yourself and provide the feature through an extension or a PR: We're happy to give advise and get you started.
Thanks for your understanding. Thanks for helping and happy coding!


Add friends?

Is there any chance that a friends section can be added? where you do like /n friend add or something like that

Yes, I would also like to see something like this added, if its possible.
Allowing a Nation to set another Nation as "Friendly" status, which in turn allows the members of that Nation the ability to build/interact in each others claims.


onComponentInitFunction problem

Hi there,
onComponentInitFunction does not work, i'm actually working with Angular 2.3.1 and ng2-smart-table ^0.6.0-1

Neither custom actions work

i have no option to implement a custom button

https://github.com/akveo/ng2-smart-table/issues/364

that does not work, because lastest version of ng2-smar-table is only for angular 4

try change the version of Angular in package.json
and build
onComponentInitFunction  was fixed 26 days ago
https://github.com/akveo/ng2-smart-table/commit/067a346e31bfc09674622cb4875d6a9a31cef74b


[Bug]: Issue with the script for adding execute task in "Convert from Maven to Gradle" section

What happened?
Go to https://beam.apache.org/get-started/quickstart-java/#optional-convert-from-maven-to-gradle
At step 4. when you add the script to the build script (supposed to be in Kotlin DSL)
You will get a gradle error saying that it expects ')' :
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components

[ ] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[X] Component: Website
[ ] Component: Infrastructure
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

This worked for me
`
tasks.register("execute") {
group = "application"
description = "Run the Java application."
mainClass.set("org.apache.beam.examples.WordCount")
classpath = sourceSets["main"].runtimeClasspath

}
tasks.getByName("execute").dependsOn("classes")
`


Question/Request: Self contained

Hey, i would love to use this tech, but i sadly cant presuppose that all my clients have the .net runtime installed.
Is there any way to deploy the app as self contained or smth, so the runtime doesent have to be installed?

This should help you https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot

Wouldnt that be a problem, because Dynamic DLL Loading is used here?

Yes... My bad. I will search for something more. And it's not viable, because tauri need call dotnet methods to load dlls

yea its probably increasing by more than 100mb. Currently we do that, we ship an WPF Application as self contained with the runtime and its round about 100-200mb

Yeah... I know... Download .net 9.0 (Desktop only) their size is around 60mb (and it's compressed)

Hmm,
i really like this solution here. Because we use as a standard codebase c# but me and my colleague dont like WPF or anything, we are more from the Vue side, so this project is fire for us. I really hope there will be a solution for this

I don't like wpf too... I my case, personally i like develop with svelte/sveltekit

I found this... I will investigate this weekend
https://github.com/dotnet/samples/tree/main/core/nativeaot/NativeLibrary

Yea i saw that to after the native aot hint, but it was a bit sketchy for me xD but when it works, it would be fire!

I tried, but i can't make to work without .net installed...

hm thats pretty sad, but thanks for your help

Hi, I think it is possible to install wanted .net runtime during app installation process. If you target OS is Windows, then you can inject .net runtime installer into nsis directly.
It has to be configured in tauri.conf.json:
{
  "bundle": {
    "windows": {
      "nsis": {
        "installerHooks": "<path to your .net runtime installation hook>"
      }
    }
  }
}

I was not able to create such hook and postponed this issue, since NSIS is pretty tough xD. But my guess is that is possible to use NSIS_HOOK_PREINSTALL to install .net runtime before actual app installation process.

@DonMatron that should be a nice solution, i will investigate more. Maybe nsis can detect if dotnet is installed or better, maybe can detect specific version

For me i never had problems with antivirus. But one thing that you can make is sign your binary. This avoid toomu h problems with antivirus
https://v2.tauri.app/distribute/sign/windows/


Release and CI integration

Today releasing and building distributions is a manual process.
This should be integrated into the existing CI for lowering the maintenance burden.
The java sdk makes use of a native rust dependency.
A release should build a distributable jar file including the native dependencies for each platform.
I suggest we focus building for macos, windows and probably only one linux distribution (e.g. ubuntu).

published javadoc should be build and published as part of the release process.
https://github.com/Concordium/concordium-java-sdk/issues/260


Setting popover content or template without using innerHTML

Is it an option for you to refactor the popover component to not use innerHTML?
Background is: I would implement a Trusted Types csp policy in my bootstrap.native based project without exceptions or sanitize library.

Yes we know that, but I mean what for? The reason I ask is because once initialized, Popper/Tooltip instances, their contents are pretty much static, they won't handle dynamic content.

After checking the append() in detail, I believe this one might be suitable in most situations.

@jcorporation please test latest master and check how new code (src/util/setHtml.js) works.

Code for setHtml looks good, but you use innerHTML to set the template. In my understanding the template.innerHTML could be replaced with setHtml also?

Ah that's a good idea, lemme do some tests.

I have now checked with enabled trusted types csp policy:

using your template causes a trusted types error: DOMParser is not allowed. That is no issue - we can define a own template as a dom element.

using a self defined template as dom element causes a trusted types error: innerHTML is not allowed
I had to change the following:

//    setHtml(popover, htmlMarkup.innerHTML);
    setHtml(popover, htmlMarkup);

I created the title with document.createTextNode to not use a string
I had to change the following:

//if (content instanceof Element) {
if (content instanceof Object) {

instanceof detects the textNode not as an element.

//    setHtml(popover, htmlMarkup.innerHTML);
    setHtml(popover, htmlMarkup);

This would create a popover inside a popover, which produces the positioning issue you're talking about. There has to be a way to be able to use innerHTML in this case.

We could iterate through the childNodes of htmlMarkup and add it one by one?

That would not work with the following: "Some text element.", it will only add the span element.

Right, other idea:

in line 101 you create the popover element with document.createElement
if the template is a dom element we can assign it or clone it and we do not need copy the content from the template in the new created element

The cloneNode(true) is very interesting, perhaps best in this case. However, the if (content instanceof Object) condition won't be good enough, it should throw an error when content is a JavaScript object (EG {a: 1, b: 2}).
Let me test the cloneNode(true) first.

@jcorporation please test latest master and let me know how it works.

It works now like a charm with enabled trusted types policy. Thanks for this great piece of software!


Vendor Name
Digi-Key
Vendor Country
US
Vendor URL
https://www.digikey.com/
Product Links
https://rpilocator.com/?vendor=digikeyus
Additional information
https://github.com/nerves-metal-detector/nerves_metal_detector/blob/master/CONTRIBUTING.md#adding-new-vendors-and-products-from-rpilocator
There is also a German site which could be covered as an additional vendor as well.

@PhillippOhlandt I'll try this one next.

@bflatau alright. Vendor name is DigiKeyUs and it uses application/ld+json. But it is also showing the count of available items which needs to be parsed from the HTML (not inside json). Unfortunately, there is no meta information in the HTML so you need to parse the XX In Stock text.
It's as simple as that (as long as the shop doesn't put anything in front of the number).
iex(1)> Integer.parse "72 In Stock"
{72, " In Stock"}

Please cast 0 to nil.

@PhillippOhlandt, have you come across this error?
[error] Product update job failed!

Job args:
%NervesMetalDetector.Vendors.DigikeyUs.ProductUpdate{url: "https://www.digikey.com/en/products/detail/raspberry-pi/SC0693/13530916", sku: "CM4101016"}

Error reason:
{:load_body, {:error, %HTTPoison.Error{reason: :timeout, id: nil}}}

If not, I'll try doing some research...

@bflatau Does it happen every time?

@PhillippOhlandt yes every time :(

Ah awesome! I'll check this out in the next few days. Yeah I was thinking, if I'm getting the products in the livebook, there's gotta be SOME way that this should be working...
Thanks for all the help, I'm learning a ton!

@bflatau Hey, are you still planning on doing this one?

Hey @PhillippOhlandt!
Sorry I've been bogged down with some life stuff--I've actually been thinking about this project lately and wanting to get back into it. If you want to take care of it, you won't hurt my feelings, but I hope to make some progress this weekend. If I don't get anything done by this weekend, just assume that I'll contribute when I can, but don't factor me into any of your decisions.
Thanks for checking in
--Ben

Hey @bflatau, sorry for the late reply. No worries, I will leave this for you for now.


Quitting device agent after failed node-red start is not possible

Current Behavior
When a node-red start up issue occurs (restart loop), exiting via CTRL-C did not quit the agent.
C:\Users\Stephen>flowfuse-device-agent
[AGENT] 12/04/2024 11:21:12 [info] FlowFuse Device Agent
[AGENT] 12/04/2024 11:21:12 [info] ----------------------
[AGENT] 12/04/2024 11:21:12 [info] Agent starting...
[AGENT] 12/04/2024 11:21:12 [info] Version: 2.3.1
[AGENT] 12/04/2024 11:21:12 [info] Mode: Device Mode
[AGENT] 12/04/2024 11:21:12 [info] Device: LlxGYqVarE
[AGENT] 12/04/2024 11:21:12 [info] ForgeURL: https://forge.flowfuse.dev
[AGENT] 12/04/2024 11:21:12 [info] Starting MQTT heartbeat thread. Interval: 30s (±5s)
[AGENT] 12/04/2024 11:21:12 [info] MQTT connected
[AGENT] 12/04/2024 11:21:12 [info] License enabled
[AGENT] 12/04/2024 11:21:12 [info] Enabling developer mode
[AGENT] 12/04/2024 11:21:12 [info] Developer Mode: no flows found - updating to latest snapshot
[AGENT] 12/04/2024 11:21:13 [info] Launching with new settings...
[AGENT] 12/04/2024 11:21:13 [info] Configuration :-
[AGENT] 12/04/2024 11:21:13 [info]   * Application        : g17Pk5LmEk
[AGENT] 12/04/2024 11:21:13 [info]   * Snapshot           : none
[AGENT] 12/04/2024 11:21:13 [info]   * Settings           : 293a4dd6cd619dd0b2dc80470c25b5157f7edf3180405fdde43199c1669ced91
[AGENT] 12/04/2024 11:21:13 [info]   * Operation Mode     : developer
[AGENT] 12/04/2024 11:21:13 [info]   * Target State       : running
[AGENT] 12/04/2024 11:21:13 [info]   * Licensed           : yes
[AGENT] 12/04/2024 11:21:13 [info] Environment :-
[AGENT] 12/04/2024 11:21:13 [info]   * FF_DEVICE_ID       : LlxGYqVarE
[AGENT] 12/04/2024 11:21:13 [info]   * FF_DEVICE_NAME     : Device 1
[AGENT] 12/04/2024 11:21:13 [info]   * FF_DEVICE_TYPE     : Latest Agent 1.12-git
[AGENT] 12/04/2024 11:21:13 [info]   * FF_APPLICATION_ID  : g17Pk5LmEk
[AGENT] 12/04/2024 11:21:13 [info]   * FF_APPLICATION_NAME: Grey's Test area
[AGENT] 12/04/2024 11:21:13 [info]   * FF_SNAPSHOT_ID     : LoWNR74Pl0
[AGENT] 12/04/2024 11:21:13 [info]   * FF_SNAPSHOT_NAME   : with project nodes
[AGENT] 12/04/2024 11:21:13 [info] Updating configuration files
[AGENT] 12/04/2024 11:21:13 [info] Installing dependencies
[AGENT] 12/04/2024 11:21:37 [info] Updating theme files
[AGENT] 12/04/2024 11:21:37 [info] Starting Node-RED
[NR] 12/04/2024 11:21:38 [info]

Welcome to Node-RED
===================

[NR] 12/04/2024 11:21:38 [info] Node-RED version: v3.1.7
[NR] 12/04/2024 11:21:38 [info] Node.js  version: v18.20.2
[NR] 12/04/2024 11:21:38 [info] Windows_NT 10.0.22631 x64 LE
[NR] 12/04/2024 11:21:38 [error] Failed to start server:
[NR] 12/04/2024 11:21:38 [error] Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:414:11)
    at spawn (node:child_process:761:9)
    at Object.execFile (node:child_process:351:17)
    at C:\opt\flowfuse-device\project\node_modules\@node-red\registry\lib\installer.js:581:27
    at new Promise (<anonymous>)
    at Object.checkPrereq (C:\opt\flowfuse-device\project\node_modules\@node-red\registry\lib\installer.js:580:16)
    at Object.load (C:\opt\flowfuse-device\project\node_modules\@node-red\registry\lib\index.js:59:22)
    at C:\opt\flowfuse-device\project\node_modules\@node-red\runtime\lib\index.js:162:29
[AGENT] 12/04/2024 11:21:38 [info] Node-RED stopped unexpectedly - restarting
[AGENT] 12/04/2024 11:21:38 [info] Starting Node-RED
[NR] 12/04/2024 11:21:39 [info]

<< SNIP FOR BREVETY >>

Welcome to Node-RED
===================

[NR] 12/04/2024 11:21:41 [info] Node-RED version: v3.1.7
[NR] 12/04/2024 11:21:41 [info] Node.js  version: v18.20.2
[NR] 12/04/2024 11:21:41 [info] Windows_NT 10.0.22631 x64 LE
[NR] 12/04/2024 11:21:41 [error] Failed to start server:
[NR] 12/04/2024 11:21:41 [error] Error: spawn EINVAL
    at ChildProcess.spawn (node:internal/child_process:414:11)
    at spawn (node:child_process:761:9)
    at Object.execFile (node:child_process:351:17)
    at C:\opt\flowfuse-device\project\node_modules\@node-red\registry\lib\installer.js:581:27
    at new Promise (<anonymous>)
    at Object.checkPrereq (C:\opt\flowfuse-device\project\node_modules\@node-red\registry\lib\installer.js:580:16)
    at Object.load (C:\opt\flowfuse-device\project\node_modules\@node-red\registry\lib\index.js:59:22)
    at C:\opt\flowfuse-device\project\node_modules\@node-red\runtime\lib\index.js:162:29
[AGENT] 12/04/2024 11:21:41 [info] Node-RED restart loop detected - stopping
[AGENT] 12/04/2024 11:24:22 [info] Stopping Node-RED. Reason: shutdown
[AGENT] 12/04/2024 11:24:22 [info] Stopping Node-RED. Reason: shutdown
[AGENT] 12/04/2024 11:24:32 [system] Node-RED stop timed-out. Sending SIGKILL
Node-RED stop timed-out. Sending SIGKILL

Line [AGENT] 12/04/2024 11:24:22 [info] Stopping Node-RED. Reason: shutdown is in response to a CTRL-C in the console
Expected Behavior
Should quit on CTRL-C signal
Steps To Reproduce
On windows, cause node-red to fail to start, operate CTRL-C
Environment

FlowFuse version: NA
Node.js version: 18
npm version: 10
Platform/OS: Windows
Browser: NA

@Steve-Mcl can we mark this as "Done" now?


feat: add retry for reading flash

This PR adds a feature allowing the read to be automatically retried if failed.
Useful for serial connections with issues, although I suspect that the underlying serial code gives up too quickly if the requested bytes aren't in the buffer by a certain time period.

I think you've lost a yield call there, so the data will not be saved to file. Also, wouldn't it be good to count the retries and give up after like 20?

@kuba2k2 Thanks for catching that, was a copy and paste error into the branch I pushed. Fixed, and added the retry as well.


Update form validation to reject name starting with numerical characters

Context
We had an issue recently where Kubernetes could not deploy a form that begins with a numeric character because it has to respect the DNS label standard as defined in RFC 1035. Solution was to update form name validation.
Implementation
Update service validation to reject name starting with numerical characters. Currently message is default and not specific : "Your answer for ‘Give your form a name' contains characters that are not allowed."
Tests
Unit tests and local testing performed.

will this still allow numbers elsewhere in the service name?

Thanks for your comment. It works well. Thanks


Catch App exceptions and send them to trello.

Now that we have trello, we should catch exceptions on top-level of the app and ask the user if she wants to send a bug report, which will be sent to trello.

Yes we can do it. We searched and we found two ways:
1: We can use showCupertinoDialog
  static Future<void> sendToTrelloWithEmail(
    BuildContext context,
    String message, [
    String? description,
    StackTrace? stackTrace,
  ]) async {
    log('[PRINT] ${description ?? ''} ==> : $message ${stackTrace ?? ''}');
    final dic = I18n.of(context)!.translationsForLocale().profile;
    showCupertinoDialog<void>(
      barrierDismissible: true,
      context: context,
      builder: (context) {
        return CupertinoAlertDialog(
          title: const Text('Error occurred. Do you want to inform the developers about it?'),
          content: Text(
            '$message\n$stackTrace',
            textAlign: TextAlign.center,
          ),
          actions: <Widget>[
            CupertinoButton(
              key: const Key('close-educate-dialog'),
              child: const Text('cancel'),
              onPressed: () => Navigator.of(context).pop(),
            ),
            CupertinoButton(
              child: const Text('send'),
              onPressed: () => AppLaunch.sendEmail(
                '<mail to send trello>',
                snackBarText: dic.checkEmailApp,
                context: context,
                subject: 'Catch error $stackTrace',
                body: message,
              ),
            ),
          ],
        );
      },
    );
  }

2: We use http post method for example
  static const apiKey = '<api-key>';
  static const token = '<your-token>';
  static const boardId = '<board-id>';
  static const listId = '<list-id>';

  static Future<void> sendToTrelloWithHttp(
    BuildContext context,
    String message, [
    String? description,
    StackTrace? stackTrace,
  ]) async {
    final url = Uri.parse(
      'https://api.trello.com/1/cards?name=$description$message&idList=$listId&keepFromSource=all&key=$apiKey&token=$token',
    );
    final response = await http.post(url);
    if (response.statusCode != 200) {
      log('Failed to send error to Trello: ${response.body}');
    }
  }

Which way is suitable let me know We will work on it.

I think it should be mixed. The user should be informed that we collect this anonymous data, but if it is possible to do that with a http post only, I think it is better. Do you now if we can also get some parts of the logs and not only the stacktrace that we can send?

Yes I think we can get them because with all exceptions and stracktraces we can get our extra hints too
  static Future<void> sendToTrelloWithHttp(
    String message, [
    String? description,
    StackTrace? stackTrace,
  ]) async {
    final url = Uri.parse(
      'https://api.trello.com/1/cards?name=${description}error${message}stackTrace$stackTrace&idList=$listId&keepFromSource=all&key=$apiKey&token=$token',
    );
    final response = await http.post(url);
    if (response.statusCode != 200) {
      log('Failed to send error to Trello: ${response.body}');
    }
  }

  // We can call
  catch (e, s) {
    await Log.sendToTrelloWithHttp('$e', 'js_api evalJavascript method', s);
  }

We decided to stick with the email based approach.


open-nti on MAC OSX

Hi all, using:
- /etc/localtime:/etc/localtime
in docker-compose file is not usable on MAC OSX.
Using docker version <IP_ADDRESS> (31259), you cannot share /etc directory without having issues.
I made some updates on docker-compose files using an etc directory in the MAC user path, which is already shared, into which I created a new file named timezone with the right timezone into this file.
- ~/<my_directories>/etc/timezone:/etc/localtime
And it works fine.
Regards

mkdir ~/open-nti/etc/
cp /etc/localtime ~/open-nti/etc/
Edit docker-compose.yml and replace all lines matching:

/etc/localtime:/etc/localtime

Replace with:

~/open-nti/etc/localtime:/etc/localtime

Then run make start.


Parse folders of repository

I have added a repository where the queries are in a folder. GRLC doesn't create any API for it. I haven't seen a way of configuring this.

This is not currently supported -- it has been on the list of features to implement for a long time (see #24). Should not be difficult to implement, but it has been very low in the priority list.

I see, thanks for the heads up. I look forward to having this feature, as now I have to separate the queries into a separate repository :)

I'll close this issue and leave #24 open, but we should bump it up in priority.

Reopening -- Just got another request for having this so assigning higher priority.
Will try to drop some commits under dev to test it

Just added a first implementation for this, with three important limitations:

Only applies to queries stored in GitHub
Supports only subdirs at 1 level of depth
The API spec has some ambiguous clashes, so it will need refactoring but for now making sure to append a slash / every time you require an API spec (and not a query call) should be fine

Should be shortly available at dev.grlc.io. Please let us know if there's any issue!

This should now be possible using the subdir option.
Closing this issue, if this does not fix your issue, please reopen.


Get soundcloud premium issue

The get soundcloud premium appear overtop of the username of the logged in user.

Fixed in fork

Add me as contributor and merge my repo >:(
On Thu, Feb 9, 2023, 8:04 p.m. JunkiEDM @.***> wrote:

Closed #7 https://github.com/JunkiEDM/scultradark/issues/7 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/JunkiEDM/scultradark/issues/7#event-8485392516, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALHERJNTKUDFY3N75DSTOKLWWWO3JANCNFSM6AAAAAAQ23DRMU
.
You are receiving this because you authored the thread.Message ID:
@.***>

I fixed this specific issue in https://github.com/JunkiEDM/scultradark/commit/499f99369c0c62e33c48f548ee6c53e84ce5ba18 in a slightly different way but forgot to close this issue.
I don't use git enough to know how to pull https://github.com/tadghh/scultradark/commit/ec719eac269fdc3f7055bfbea9dc9050e8db7d9f independently of your fork's other changes, but I credited you in the author tag for your help.

If anything else comes up that you want to update or improve, make a PR and I'll try to review it sooner than I did with this issue and to get your changes credited properly, sorry


added kibana 6.4.3

Signed-off-by: Mike Lloyd<EMAIL_ADDRESS>

So update here and https://github.com/18F/logsearch-boshrelease/blob/develop/packages/elasticsearch/packaging#L3


Cocoapods integration

Great lib! Would suggest to distribute it via Cocoapods. Thanks
@PaulTaykalo

In short, how do you see it should be integrated with CocoaPods?

It'll be perfect to have just one line added to Podfile and all stuff from the "Xcode integration" sections will be done automatically by the Cocoapods installer script.
Does it make sense?
https://guides.cocoapods.org/making/using-pod-lib-create.html

You could check the pod R.swift, the pod only contains an exectuable to be run.
You'd still have to implement a build phase script though
@PaulTaykalo

If there's a way you see how it should be implemented - feel free to create a Pull Request.


Issue with Spring cloud stream Kafka Batch mode, DLT publisher

@Bean
ProducerMessageHandlerCustomizer<KafkaProducerMessageHandler<String, String>> producerCustomizer() {
    return (handler, dest) -> {
        this.kafkaTemplateMap.put(dest, handler.getKafkaTemplate());
        handler.getKafkaTemplate().getProducerFactory().createProducer().close();
    };
}

This is bean not getting invoked on startup, @Gary Russell, could you confirm How dlt publisher get right kafkatemplate in case batch mode , Kafka Spring cloud stream.
The example provide here https://stackoverflow.com/questions/69175145/retry-max-3-times-when-consuming-batches-in-spring-cloud-stream-kafka-binder is not working, kafkatemplate referring the bootstarp servers as localhost:9092, so thought of getting kafkatemplate from ProducerMessageHandlerCustomizer.
Also mentioned here https://githubmate.com/repo/spring-cloud/spring-cloud-stream-binder-kafka/issues/1087 , producerCustomizer is only supported by RabbitMQ, How about Kafka?
Please help me with right usage of it. Thank you in advance.

Don't use issues to ask questions; use Stack Overflow or discussions; and don't ask questions in multiple places (here and Gitter).
If the bean is not invoked, it must not be in the component scan class path - it needs to be in a @Configuration class.
If you mean the lambda is not being invoked, perhaps you are using multi-binder support (or any named binder).
In that case, see https://docs.spring.io/spring-cloud-stream/docs/3.2.1/reference/html/spring-cloud-stream.html#binder-customizer
If neither of those are the problem, you need to provide more code and configuration; either on stack overflow or in a Discussion here.


deferFunctor - helper for defining defer

Not ready yet. Not completely sure it's even possible. But hoping.


About dfkz_data

Hi.
I am trying to do some experiments in your paper especially inverse problems in natural science.
In FrEIA/experiments/inverse_problems_science folder, there is a symbolic link to '../datasets/dkfz'
but I cannot find any *.npy data files in this repository.
Can you let me know how I can deal with this? Or is those data confidential to be released in public?
Thanks in advance.
Best regards,
YJ Hong.

@redraven984
Nope, I found this comment at README

Not particularly helpful since formatting the datasets for the experiment is an essential part of the solution.
Were you able to run the framework on your data?

Not actually.
I just did the gaussian mixture toy example.

Hi!
Sorry for the late response.
We are aware, our collaborators for the astorphysics and medical applications did not release their data.
I will try asking around.
I will close this issue, because it is a duplicate of
https://github.com/VLL-HD/analyzing_inverse_problems/issues/2


Security Measures

Hi,
nice work on this. Very simpler to work with and very familiar since its naming conventions follows modern ORM.
I wonder, how would you maintain database files safe even on a public root, I dont understad very much of .htaccess but I think that could be done with it.
What other security measures do you advice, even for a small website?
Thanks, have a nice weekend.

Hi,
first of all I do not recommend to store in that DB any sensitive data. To be honest better to store there  only public data like contents of web pages, news, comments (maybe templates?) and things like that.
But in reply to the question I think .htaccess should do the job right (Probably deny rule). Generally that project was only my small, private proof of concept. I used it once in blog platform to store comments and posts.
If you need small, file based DB get familiar with SQLite, and you can find some abstraction layer library. It is built in PHP and easy to use. Well, unless you do not have SQLite turned on at your hosting ;)
I wrote quite long answer :smiley:

Well you're right, its just for some small blog so, maybe I don't need to have so secure stuff.
Thanks for your time, you may close this issue at your will ;)

No problem, you're welcome. Enjoy!


Shared Key Option is removed from Virtual Network Gateway Connection in Azure Portal

[Enter feedback here]
Shared Key Option is removed while creating Connections in between Vnet to Vnet VPNN gateway. Earlier  Shared Key option was available under Settings tab of Connection.  As shared key option is removed so the connection status shows Not connected.  Update is required on Heading Configure your connections step 5
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 1d655e62-511c-5c94-da5f-8ae2fa48927f
Version Independent ID: a1665237-3ff9-6a47-91ac-fba5f2469ba3
Content: Configure a VNet-to-VNet VPN gateway connection: Azure portal - Azure VPN Gateway
Content Source: articles/vpn-gateway/vpn-gateway-howto-vnet-vnet-resource-manager-portal.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

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

HI! This is a portal bug that is in the process of being fixed. For now, go to the connection object. On the Authentication page, see if you can add in a shared key.

@Aditya11620
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Place CEL expression on a single line to avoid YQ changes

I'm trying to include the SO operator patch release flow in Konflux builds and I need to use YQ on pipelines to change the tag where the images are pushed

/cc @creydr


Dark Mode Issues

The background isn't updating when switching to dark made, causing quite a few items to become invisible.
Also the current tab's text color needs to change when in dark mode as it is also very hard to see.

Oh shoot. I'm working on this too. @luloxi

This looks good!  Found a couple more places that I was unaware of before.  The current selected page in the List view, and the All button next to the Liked button as seen in this screenshot.

Whoops, found another after more testing.  When you click into a section to filter it:


Memory leak

I'm not sure is this a known issue for you guys, but obviously removing only the listeners is not good enough for gc. Any ideas ?

well there is no destroy for google map, the only way they recommend to destroy a map is to set map to null to all objects on it, and that is done after all listeners are removed.
How are you seeing this memory leak and when? Do you have an example repo where it could be tested and checked as well as used to try to fix that issue?

I'm using chrome heap snapshots. Unfortunately, for the moment I don't have time to put it on a public repository, since the one that I'm working on is a private one. The workaround for me was to put it as modal in application and only show/hide it


TinyUSB MSC device (IDFGH-9161)

Hello,
Could you please let me know if i can use the TinyUSB MSC device example to interface with an eMMC chip connected to the ESP32-S3 instead of the internal flash ?
The idea is to use the esp32 s3 as a bridge between USB host and eMMC chip.
Thank you so much

@Halabdelkrim
Thanks for posting the query.
To answer your question - Yes, you can use the example examples/peripherals/usb/device)/tusb_msc/ for eMMC also.
Just recently, this example is extended to support sdmmc card. The configuration that is used for using sdmmc card is also applicable to eMMC also. Please refer to the PIN assignments in the README of this example.
Thanks very much.

@esp-saurabhbansal
Thank you so much for the answer.
Could you please let me know if we can use eMMC 5.1 with the esp32 s3 in this example ?
Can we use 8-line mode to connect the ESP32-S3 with the eMMC card in this example ?
Thank you.

@Halabdelkrim
Yes, eMMC 5.1 can be used with esp32s3 in this example.
Also, please refer to this link for Supported Speed Modes: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s3/api-reference/peripherals/sdmmc_host.html#supported-speed-modes
It should work.
I must also tell you that we are in the process of reviewing few issues with eMMC and S3:

https://github.com/espressif/esp-idf/issues/8257
https://github.com/espressif/esp-idf/issues/8521

@esp-saurabhbansal
Thank you very for the answer.
If i use the ESP32-S3 as MSC device, how much will be the speed of the data transfer between the pc and the eMMC chip.
If i want to increase the bandwidth, should i add an external quad or octal SRAM so i can increase the buffer size?
Or is it better to add a third party chip as a USB 2.0 eMMC 5.1 MSC bridge, and let the ESP32-S3 only handle the HTTP file serving.
The idea here is to handle the eMMC data online via http file serving using ESP32-S3 and offline via a PC.
Thank you.

@Halabdelkrim
As I understand, you are working with two scenarios:

Get data via http to ESP32S3 and copy it in eMMC storage.
eMMC Chip <-> SDCard Adopter <-> ESP32-S3  Web
In this case, once you get the data in ESP32S3 via http, the speed depends on many factors such as line mode (1, 4 or 8), frequency(10MHz, 20MHz, 40MHz) etc.
For Ex - If using 16GB SDHC card with sector size of 512B, 4 line, 20MHz, write/read speed cab be > 7MB/s if writting/reading 64KB of data.
Similarly, with 1 line mode and other configuration remain same, write/read speed cab be > 2MB/s
The performance increases with the write block size. With block size as large as 64KB, 4 line mode and 40 MHz frequency, we could get up to 16 MBytes/s read speed. So, the limitation is card throughput.

Get data from PC via USB connection and copy it in eMMC storage.
eMMC Chip <-> SDCard Adopter <-> ESP32-S3  PC
In this scenario, the speed is something around 355KB/s
It is limited by underlying tinyusb stack.

@esp-saurabhbansal
Thank you very for the answer.
Yes, i'm designing a custom PCB for this project.
Which options is the best for my case?
Option 1:
PC <-> USB2642 <-> eMMC 5.1 chip <-> ESP32-S3 <-> HTTP
Option 2:
PC <-> ESP32-S3 + eMMC chip <-> HTTP
The idea is to make a device like a USB flash drive (USB stick) but can be accessed from the internet and, or from a PC or laptop.
Thank you.

@esp-saurabhbansal
Thank you very for the answer.
Yes, i'm designing a custom PCB for this project.
Which options is the best for my case?
Option 1:
PC <-> USB2642 <-> eMMC 5.1 chip <-> ESP32-S3 <-> HTTP
Option 2:
PC <-> ESP32-S3 + eMMC chip <-> HTTP
The idea is to make a device like a USB flash drive (USB stick) but can be accessed from the internet and, or from a PC or laptop.
Thank you.

Hello,
Just for your information, We have recently released USB Device MSC driver. Please check if it is useful to you. We highly appreciate the feedback.
The driver makes ESP based device recognizable by USB-hosts as a USB Mass Storage Device.
It either allows the embedded application to access the partition or Host PC accesses the partition over USB MSC. They can't be allowed to access the partition at the same time.
The driver supports storage media of two types:

SPI Flash
SD MMC Card

Driver can be found here.
Sample application can be found here.
Thanks.

Hello,
Thank you very much for the recommendation!
I will try it asap, and let you know if i have any feedback.


Improved documentation based on BM8563

Description

Improved documentation based on BM8563 (which is compatible with PCF8563).

Motivation and Context

Previous code sample and documentation was incomplete.

Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (work on Unit Tests, has no impact on code or features)
[x] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Please abandon this PR and consider this new one: https://github.com/nanoframework/nanoFramework.IoT.Device/pull/141