Should methods on Parameterizeds be treated as references by default

panel==1.4.1
When using a parameterized class methods that are not explicitly annotated with .depends my understanding is that they implicitly depend on all class parameters. Thus I should be able to use them as references just as methods marked with .depends.
I cannot when using Tabulator.
import panel as pn
import param
import pandas as pd

pn.extension()

class CustomComponent(pn.viewable.Viewer):
    value = param.Integer(default=2, bounds=(1,10))

    # @param.depends("value")
    def data(self):
        return pd.DataFrame({"x": [self.value]*self.value})

    def __panel__(self):
        return pn.Column(
            self.param.value,
            pn.widgets.Tabulator(self.data, pagination="remote", page_size=10)
        )

pn.extension("tabulator")
CustomComponent().servable()

It works without the using Tabulator or if I .depends on the value.

Reference resolution happens at the param level so I've transferred this for now and marked it as a discussion point. @MarcSkovMadsen is correct that in other scenarios we do treated un-annotated methods as if they depended on all parameters so making them valid references would be consistent.

in other scenarios we do treated un-annotated methods as if they depended on all parameters

Does anyone remember the rationale for this behavior? (I'd rather have to type something explicit like param.depends('*'))

Does anyone remember the rationale for this behavior?

Yes, @jbednar strongly argued that it would be easy to forget to declare the dependencies so this was the safe default behavior. I've wavered on this in the past but think generally it was the right default behavior.


Rename gettid() functions.

glibc 2.30 will declare its own gettid; see https://sourceware.org/git/?p=glibc.git;a=commit;h=1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92. Rename the grpc versions to avoid naming conflicts.

bump


Linux machine snapshots

Is your feature request related to a problem? Please describe.
A snapshot feature does not exist.
Describe the solution you'd like
Add the ability to take and save linux machine snapshots which would preserve the current state of the machine. We would also need the ability to restore snapshots.
Describe alternatives you've considered
No alternatives I know of for use with OrbStack linux machines.
Additional context
The snapshot feature in VMWare Fusion, VirtualBox, etc. can be really useful, it would be great to have something similar in OrbStack.

Data snapshots could be supported, but snapshotting runtime state for individual machines is probably infeasible.


Request / slash can be escaped

Request / slash can be escaped,  because / is allowed in most places without escaping.
E.g Tampermonkey Stylus Stylish Regular search in text editor  .etc

As / is not used as delimiter character, you do not need to escape it like in other RegExp environments.

Otherwise it is very inconvenient.

see 👇 jex.im/regulex is also allowed there
https://jex.im/regulex/#!flags=&re=https%3F%3A%2F%2F

see 👇 regex101.com
https://regex101.com/r/LqOS4t/1

Sounds great. I just started working on this code base so I'm not sure how to do that but if you want to submit a PR I would be happy to review it. 😁

Thank you, but don’t understand JavaScript and other code-lang, Not a developer.


Add BlockStructureService.fs into FSharp.Editor project which is lost during one of the merges

@vasily-kirichenko
Nice thanks for catching this
Kevin


Fix error-reference for error 5035

Motivation

Test plan

See included automated tests.

Motivation

Test plan

See included automated tests.


Error while running nipreps-synthstrip

What happened?
Dear synthstrip developers,
I'm trying to install your software in my own docker conteiner (running ubuntu).
pip3 install nipreps-synthstrip seems to work fine:

The installation looks ok too:

I got the model from the freesurfer website:
https://surfer.nmr.mgh.harvard.edu/ftp/dist/freesurfer/synthstrip/models/
But when I run using a MRI image, I receive the following error message:

The same MRI image gets segmented fine using the official freesurfer docker container, so I guess that's not a issue in the image.
Please let me know if you have any suggestions.
Thanks,
What command did you use?
pip3 install nipreps-synthstrip

nipreps-synthstrip -i geomcorrB0.nii.gz -m mask.nii.gz --model /root/synthstrip.1.pt

What version of the software are you running?
The current from pip3 install nipreps-synthstrip
How are you running this software?
Docker
Is your data BIDS valid?
No
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Configuring model on the CPU
Using custom model weights
Input image read from: geomcorrB0.nii.gz
Traceback (most recent call last):
  File "/freesurfer/env/bin/nipreps-synthstrip", line 8, in <module>
    sys.exit(main())
  File "/freesurfer/env/lib/python3.8/site-packages/nipreps/synthstrip/cli.py", line 130, in main
    conformed = conform(image)
  File "/freesurfer/env/lib/python3.8/site-packages/nipreps/synthstrip/cli.py", line 229, in conform
    nii = Affine(
  File "/freesurfer/env/lib/python3.8/site-packages/nitransforms/base.py", line 291, in apply
    resampled = ndi.map_coordinates(
  File "/freesurfer/env/lib/python3.8/site-packages/scipy/ndimage/_interpolation.py", line 440, in map_coordinates
    raise RuntimeError('invalid shape for coordinate array')
RuntimeError: invalid shape for coordinate array

Additional information / screenshots
No response

I figured out the issue, the image data I was trying to mask was 4D, that was causing the error. nipreps-synthstrip is working well now after extracting the first volume of the image file.


How to deal with registries that can't be opened to public internet

I've been dealing with an issue that nobody seems to have an answer to, despite it probably being a very common problem.
When using this GitHub Action, the ACR it connects to has to be open to the internet so GitHub can access it. The best practice in this case is to have IP rules restricting public access, so GitHub IPs can be whitelisted on the ACR.
The problem is, Microsoft only supports 100 IP rules maximum on an ACR, but GitHub Actions uses over 2000 IP ranges (https://api.github.com/meta).
It is basically impossible to use this and have a GitHub Action push to an ACR without having the ACR be open to the public internet on all IP ranges, which is against best practice.
How does one get around this issue?

Midnight brain waves are the best. Figured this problem out, and leaving this comment here for the next person to struggle with this:
-Just use the Azure/CLI action to dynamically add the whitelist as you go along.


Add other/unknown

It was in ECSIRT: https://github.com/MISP/misp-taxonomies/blob/89e733022d47d7c3af1d085b9c29fbd95844a260/ecsirt/machinetag.json#L227

Other/Unknown == Unknown
Other/Other == Unclassified

Updated the PR with undetermined & unclassified


Triggering Angular2 change detection manually

What is the correct way to inform cd about store change if it was triggered inside of an event outside angular  ?
Let say I'm using 3rd party lib that I have event listener attached to it
myLib.on('event1' , ()=> { updateStore(); } )
I can see that every place with subscription to this store is updated but not inside templates with async filter .

I'm using NgZone in this case (firebase)
myLib.on('event1' , ()=> { this.zone.run(()=>updateStore() ); } )

Doesn't work. bare in mind the operation
myLib.on('event1' , ()=> { updateStore(); } )
is taking place at the server, so Zone will have no effect on CD.


Unable to show snackbar

Whenever I have this code:
Scaffold.of(context).showSnackBar(new SnackBar(content: new Text("")))
in the build function of the main App Widget, I get back this log. What could be the problem?
Reloaded 2 of 485 libraries in 602ms. I/flutter (10562): ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════ I/flutter (10562): The following assertion was thrown while handling a gesture: I/flutter (10562): Scaffold.of() called with a context that does not contain a Scaffold. I/flutter (10562): No Scaffold ancestor could be found starting from the context that was passed to Scaffold.of(). This I/flutter (10562): usually happens when the context provided is from the same StatefulWidget as that whose build I/flutter (10562): function actually creates the Scaffold widget being sought. I/flutter (10562): There are several ways to avoid this problem. The simplest is to use a Builder to get a context that I/flutter (10562): is "under" the Scaffold. For an example of this, please see the documentation for Scaffold.of(): I/flutter (10562):   https://docs.flutter.io/flutter/material/Scaffold/of.html I/flutter (10562): A more efficient solution is to split your build function into several widgets. This introduces a I/flutter (10562): new context from which you can obtain the Scaffold. In this solution, you would have an outer widget I/flutter (10562): that creates the Scaffold populated by instances of your new inner widgets, and then in these inner I/flutter (10562): widgets you would use Scaffold.of(). I/flutter (10562): A less elegant but more expedient solution is assign a GlobalKey to the Scaffold, then use the I/flutter (10562): key.currentState property to obtain the ScaffoldState rather than using the Scaffold.of() function. I/flutter (10562): The context used was: I/flutter (10562):   SignUpPage(state: _SignUpPageState#3aee7) I/flutter (10562): I/flutter (10562): When the exception was thrown, this was the stack: I/flutter (10562): #0      Scaffold.of (package:flutter/src/material/scaffold.dart:691:5) I/flutter (10562): #1      _SignUpPageState.build.<anonymous closure> (/data/user/0/com.example.smartsaver/cache/smartsaverCPMDQS/smartsaver/lib/screens/auth/SignUp.dart:133:37) I/flutter (10562): #2      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:478:14) I/flutter (10562): #3      _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:530:30) I/flutter (10562): #4      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24) I/flutter (10562): #5      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:161:9) I/flutter (10562): #6      TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:123:7) I/flutter (10562): #7      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27) I/flutter (10562): #8      BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:147:20) I/flutter (10562): #9      BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:121:22) I/flutter (10562): #10     BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:101:7) I/flutter (10562): #11     BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:64:7) I/flutter (10562): #12     BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:48:7) I/flutter (10562): #13     _invoke1 (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:134) I/flutter (10562): #14     _dispatchPointerDataPacket (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:91) I/flutter (10562): I/flutter (10562): Handler: onTap I/flutter (10562): Recognizer: I/flutter (10562):   TapGestureRecognizer#75676(debugOwner: GestureDetector, state: ready, won arena, finalPosition: I/flutter (10562):   Offset(215.0, 658.2), sent tap down) I/flutter (10562): ════════════════════════════════════════════════════════════════════════════════════════════════════ I/flutter (10562): Another exception was thrown: Scaffold.of() called with a context that does not contain a Scaffold.

I got the same problem,But I try to move the showSnackBar to another class,such like this:
class ToastShower extends StatelessWidget{

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return new GestureDetector(

      child:new Text("显示Toast"),
      onTap: () {
        SnackUtils.show(context, "show Toast");
      },
    );
  }
}

This has solved my problem.But the solution is really too much trouble,Is there another convenient solution?


test: address flaky e2e test

When exec the e2e tests on an environment a claim crd exists,
the lookback test may be failed by 'object is being deleted:
customresourcedefinitions.apiextensions.k8s.io
"clusterclaims.cluster.open-cluster-management.io" already exists'
Signed-off-by: zhujian7<EMAIL_ADDRESS>

e2e test failed when exec go install<EMAIL_ADDRESS>Error: ../../../pkg/mod/github.com/containers/storage@v1.33.2/pkg/idtools/idtools_supported.go:13:10: fatal error: shadow/subid.h: No such file or directory
   13 | #include <shadow/subid.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
Error: Process completed with exit code 2.

I think the reason is the virtual environment (ubuntu-latest) of GitHub actions was updated.

https://github.com/containers/storage/issues/985

e2e test failed when exec go install<EMAIL_ADDRESS>Error: ../../../pkg/mod/github.com/containers/storage@v1.33.2/pkg/idtools/idtools_supported.go:13:10: fatal error: shadow/subid.h: No such file or directory
   13 | #include <shadow/subid.h>
      |          ^~~~~~~~~~~~~~~~
compilation terminated.
Error: Process completed with exit code 2.

I think the reason is the virtual environment (ubuntu-latest) of GitHub actions was updated, but I do not know where to get the shadow/subid.h file by now.

Fixed by https://github.com/containers/storage/pull/986

cc @mdelder  @qiujian16

/approve
/lgtm


Cookie Consent Pop up showing on every page on website in Safari Private

I put this code in head of my site :

But the pop is opening on every page and at checkout i get the error message of :
Error processing checkout: You must enable cookies in order to check out

@shrutirathee If I had to guess, privateMode prevents cookies which means cookieConsent can't save it's state.

That is correct. If private mode is like "incognito mode" in chrome, then cookies can't be saved.
There are some ways in which the tool detects if cookies can be used, and if they can't it disables its self, but I'm not sure if there is a way to detect private mode.
Like wise your checkout processor must also require cookies, which seems unrelated to CookieConsent


Regarding the issue of not being able to detect LICENSE and zenodo linked;

Hello author, I am facing the following two questions:

When there is an MIT LICENSE file in the root directory of my project, autoreviewer has been unable to detect its existence and reports the issue in the first message:
No, the GitHub license picker can be used to facilitate adding one by following this
link:  https://github.com/MiJia-ID/ggn-go/community/license/new?branch=main .
In my README.md, the corresponding [! [DOI] has been explicitly added（ https://zenodo.org/badge/818847334.svg )]( https://zenodo.org/doi/10.5281/zenodo.13768952 ）But autoreviewer still cannot detect it and reports a problem in the fourth article:
Has the repository been externally archived on Zenodo, FigShare, or equivalent that is referenced in the README?
No, this repository has a README, but it does not reference Zenodo. The GitHub-Zenodo integration can be
set up by following this tutorial.
If your Zenodo record is XYZ, then you can use the following in your README:

[![DOI]( https://zenodo.org/badge/DOI/10.5281/zenodo.XYZ.svg )]( https://doi.org/10.5281/zenodo.XYZ )

The above problem still exists when I use -- no cache to update the latest code

I ran it locally and didn't have an issue with autoreviewer getting the MIT license
There's a typo in your markdown for your link, which you should be able to see when you look the README in https://github.com/MiJia-ID/GGN-GO. I sent a PR in https://github.com/MiJia-ID/GGN-GO/pull/1 to fix this


Design Update

The user interface needs to be more convenient and comfortable. Thanks to Patryk Michalik for providing mockups. 😍

Done with Halma 6.0


Cannot load stylus file with @require

Hello. I have some problem with @require statement.
When I load files with @import in my stylesheet it will stylus-loader work like charm, but when I use @require, stylus-loader cannot resolve dependency. Do you have any workaround about this behavior?

Do you have any workaround about this behavior?

use @import ?
Just figured this out too... will have to stay with with stylus --watch instead of wp. :sob:

I got that error, me too.
// entry.js
require('style!css!stylus!../styles/style.styl');
// ...

ERROR in Cannot find module 'stylus'
 @ ./~/style-loader!./~/css-loader!./~/stylus-loader!./styles/style.styl 4:14-118

However, when I use the version 1.6.1, I don't get error.
I'll use 1.6.1.

This is working for me in 3.0.1. I would close this as an old, stale issue.


test(storybook): fix component stories

test(storybook): Fix component story controls
SUMMARY

Storybook controls for some components were not working. This pr aims to fix that.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

Run storybook
Check component controls that are previously uninteractable

ADDITIONAL INFORMATION

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

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

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

Fantastic, thanks for digging in here! I'll pull/test as soon as I'm able.

Thank you for the review and kind words. If we can merge this it would be great, if the problems are with stories and not component themselves i can open specific PR's for that. For now i think having working controls in storybook improves its usefullness.


add a setting to uninstall the extension apk while disable a source

Describe your suggested feature
Please add a setting to uninstall the extension apk while disable a source, and marked not to install as new extension. Maybe someone needs it, like me, I don't need a extension apk is still installed in my phone after I have disabled it. Thanks you all, Mihon is a great and convenient tool for manga lovers. There are so many extensions in my phone, I only need some of them. I have tried to uninstall many extensions I don't want, but when new extensions appear ready to install, they are all mixed up and I can't distinguish from them. Thanks.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

Thanks your Information.
There are something to say

I know how to uninstall extension apk form mihon or system
Extension name in source tab and extension tab are not always the same, like attachment pictures. The order are not the same, too.
After I uninstalled an extension I don't want, if the extension have new update version, It appears in the extension tab waiting to install. I had uninstalled many extensions, and I don't want maintain a list to check.
So I have to keep all extensions installed and set disable to what extensions I don't want. But it slow down my phone when I check phone system safety, and occupied spaces.
Thanks all your help.

Thanks again.
I tried below:

uninstall what I don't want, as first pic
They appear immediately as "waiting to install" as second pic
If there are other new extensions, they are all mixed
That's what I don't want to see

Thanks your help
If there are new(not updated) extensions, they will appear between the extensions I uninstalled already in extension tab, and I can't distinguish them apart.

Why would you need to?

Why would you need to?

Thanks reply.
I need to pick up new(not update) extensions to install to see if I need it's manga.
And I don't want install extensions which I had uninstalled.
Now I can't separate them in extension tag
Thank your attention.


Multivariate restructure

Description
This represents a major breaking refactor and extension to the existing suite.
Before #34
Prior to this PR, we have three major statistical classes:

stats.multivariate_normal

A direct extension to scipy.stats which delivers:

conditioning
marginalization
bijector
prediction (i.e. rescaling and shifting)

stats.multimultivariate_normal

A non-trivial re-implementation of scipy.stats.multivariate_normal which allows for a 'vector of multivariate normals' with corresponding densities & random variates implemented in addition to the conditioning, marginalization, bijector, and prediction above.

stats.mixture_multivariate_normal

an implementation of a mixture distribution of multivariate normals, with the same functionality as the first, but a structure reminiscent of the second (given this is a vector of normal distributions, but log-sum-exping over the vector.

There are also the corresponding wrapper model classes:

model.LinearModel
model.MultiLinearModel
model.LinearMixtureModel

which make use of the underlying statistical functionality to implement a Bayesian model with likelihood, prior, posterior and evidence.
In #34
In this PR we make the following changes:

multimultivariate_normal and multivariate_normal are merged into a single class

this is therefore independent of scipy.stats.

multivariate_normal can now be arbitrary shape (i.e. can be a vector, matrix, or higher-order tensor of normals).

the tensor structure is useful if you had e.g. axes for marginalisating over several parameter values (so that theta can be a tensor argument to likelihood).

we now have the option to encode and exploit diagonal covariance matrices, which leads to faster inverses, and reduced memory usage.
mixture_multivariate_normal is now a direct extension of multivariate_normal which marginalises over its final axis by the logA amplitudes.
There is now a __getitem__ method for stats, so you can slice the distribution over any of its axes
The test suite is now heavily extended to cover a much wider variety of cases (crucial for testing something with complicated corner cases).

The same changes have also been applied to LinearModel and MultiLinearModel.
After #34 (to-do)
The test suite is now quite heavy-duty, and will be subsequently sped up using this advice.
The ReducedLinearModel and ReducedLinearModelUniformPrior also needs extension along the above lines, and should also include a long-desired ReducedMixtureModel.
We should offer GPU-able 'torch' options (or equivalent) to this new independent implementation of statistical functions.
Checklist:

[X] I have performed a self-review of my own code
[X] My code is black compliant (black . --check)
[X] My code is isort compliant (isort . --profile black --filter-files)
[X] My code contains compliant docstrings (pydocstyle --convention=numpy lsbi)
[X] New and existing unit tests pass locally with my changes (python -m pytest)
[X] I have added tests that prove my fix is effective or that my feature works
[X] I have appropriately incremented the semantic version number in both README.rst and lsbi/_version.py

@yallup as co-author do you have any views on the API at this stage (pre 1.0.0 nothing is binding).

Model.model(theta) as a useful function to have

Model.model(theta) as a useful function to have

Now there is a model function, would a ppd wrapper around m.model(m.posterior(data).rvs()) be useful or does that make the namespace too cluttered. If model is a function of theta I suppose ppd() would be a random variable, complement to evidence()

Checking I understand the broadcasting rules correctly here
data = model.evidence().rvs(10)
logls = model.likelihood(model.posterior(data).rvs()).logpdf(data)
logls.shape
(10,10)

I interpret that in most cases I want the $L(D_i | D_i)$ so I take the diagonal of the matrix above. This seems logical to me, however if the data vector gets large and I am including additional samples ( a new axis) of the conditioned data, this can get heavyweight quickly with a lot thrown away. This may be a very niche application but defaulting to the outer product vector-vector operations may be a bit sticky.

This is not that niche, and is in fact what I've been fixing in the last push so that it works for both multivariates and mixtures.
The fix is to use the broadcast=True keyword argument, which are available for both logpdf and rvs.
>>> logls = model.likelihood(model.posterior(data).rvs()).logpdf(data, broadcast=True)
>>> logls.shape
(10,)

Any feedback on the argument name/docstring would be much appreciated.

Fairly inconsequential difference but might be an observation for correct typing:
dims = 5
data_dims = dims
np.random.seed(1)

mixtures = 5

Model = LinearModel(
    d=data_dims,
    n=dims,
    C= np.eye(data_dims) * 0.1,
)

MixModel = MixtureModel(
    M = np.random.randn(mixtures, data_dims, dims),
    d = data_dims,
    n = dims,
    C=np.eye(data_dims) * 0.1,
)

Processes correctly if you accidentally pass a float instead of int to rvs in one case but not the other, not a case that should work in scipy either so wouldn't expect either case to work
Model.evidence().rvs(1.)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/yallup/projects/fusions/env/lib/python3.11/site-packages/lsbi/stats.py", line 139, in rvs
    x = np.random.randn(*size, *self.shape, self.dim)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "mtrand.pyx", line 1270, in numpy.random.mtrand.RandomState.randn
  File "mtrand.pyx", line 1431, in numpy.random.mtrand.RandomState.standard_normal
  File "_common.pyx", line 636, in numpy.random._common.cont
TypeError: 'numpy.float64' object cannot be interpreted as an integer
MixModel.evidence().rvs(1.)
array([[-2.27897752,  1.37749761, -2.49190091,  4.68398189,  1.22186337]])

Good spot. An early unnecessary type conversion was causing the unexpected performance -- fixed now.

FYI, the code will be more efficient using C=0.1, or C=np.ones(data_dims)*0.1, or C=np.ones(*any_shape, data_dims)*0.1, diagonal_C=True, as this avoids the need to invert many data-dimensional matrices

model = LinearModel(n=2,d=5)
data = model.evidence().rvs(20)
data.shape
(20, 5)
model.posterior(data).rvs(30,broadcast=True)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/yallup/projects/lsbi/lsbi/stats.py", line 146, in rvs
    return self.mean + np.sqrt(self.cov) * x
                       ~~~~~~~~~~~~~~~~~~^~~
ValueError: operands could not be broadcast together with shapes (20,2) (30,2)

model = LinearModel(n=2,d=5)
data = model.evidence().rvs(30)
data.shape
(30, 5)
model.posterior(data).rvs(30,broadcast=True)

Second one doesnt error (this is a bit of an accidental me getting things the wrong way round so not a real case), but I'm not sure what I actually get out of this broadcast rule in this case? is it equivalent to [model.posterior(di).rvs() for di in data]

The broadcast for rvs is a bit of a niche case (mostly useful for the dkl calculation)
>>> dist.shape
(10)
>>> dist.rvs().shape
(10,5)
>>>  dist.rvs(10, broadcast=True).shape # equivalent to the previous
(10,5)
>>> dist.rvs(20).shape
(20,10,5)
>>> dist.rvs((20,10), broadcast=True).shape # equivalent to the previous
(20,10,5)

Many thanks @yallup. I still read lgtm as let's get this merged.


Draw data at one-minute intervals

Hello everyone!
I want to make a graph and I have data every minute.
Here the example:
https://jsfiddle.net/oLq1m52d/
The problem is that it doesn't work.
I don't know if I'm setting the time parameter correctly.
Thanks!

It was not an issue, I just had to set the time correctly.
Sorry.


ML datascience machinelearning

For Data Science Implementations:
Know Data Science https://lnkd.in/fMHtxYP
Understand How to answer Why https://lnkd.in/f396Dqg
Machine Learning Terminology https://lnkd.in/fCihY9W
Understand Machine Learning Implementation https://lnkd.in/f5aUbBM
Machine Learning on Retail https://lnkd.in/fihPTJf
and Marketing https://lnkd.in/fUDGAQW

https://github.com/abhat222/Learn_Machine_Learning_in_3_Months

https://github.com/abhat222/Data-Science--Cheat-Sheet

http://themlbook.com/wiki/doku.php

http://www.deeplearningbook.org/

https://www.louisbouchard.ai/learnai/


Implemented close browser method for Android.

And used it to close Custom Tabs after Google Auth.
Which issue solves this PR?
Custom tabs are left open after Google Auth.

Cool. Good catch. I wanted to fix that (or even better - someone else to fix it :)


cluster: allow ignoring health check status during eds removal

title: cluster: allow ignoring health check status during eds removal
Description:
This PR adds a configuration flag that allows disabling the "eventually consistent" aspect of endpoint updates: instead of waiting for the endpoints to go unhealthy before removing them from the cluster, do so immediately. This gives greater control to the control plane in cases where one might want to divert traffic from an endpoint
without having it go unhealthy. The flag goes on the cluster and so applies to all endpoints within that cluster.
Risk Level:
Low: Small configurable feature which reuses existing behavior (identical  to the behavior when no health checker is configured). Defaults to disabled, so should have no impact on existing configurations.
Testing:
Added unit test for the case when endpoints are healthy then removed from the ClusterLoadAssignment in a subsequent config update.
Docs Changes:
Docs were added to the proto field.
Release Notes:
Added cluster: Add :ref:`option <envoy_api_field_Clister.drain_connections_on_eds_removal>` to drain endpoints after they are removed through EDS, despite health status. to the release notes.
[Optional Fixes #Issue]
#440 and #3276 (note that this last issue also asks for more fine grained control over endpoint removal. The solution this PR provides was brought up as a partial solution to #3276).

@htuch Yeah, what I'm trying to achieve is the immediate draining of endpoints that have been removed from EDS regardless of active health check status.


UI should be showing red line if any partition's isBufferFull=true

When we have multipartition, any partition being full should trigger the red line in the UI.

we support this currently


test DOM with already existing event listeners

mouse over/hover
mouse off
click
other, top 10 most likely/used events

download
https://mega.nz/file/1vkGlJTL#yU-SJLlIilF0mx5qwpPOd3BM8iKZqOJLEQUStR76rrQ
you may need to install the c compiler


Do we have this available on azure cli?

Documentation lack of details to perform same operation with AZ CLI

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

ID: 163a1f88-c268-18aa-a1e6-89b4a11bfb01
Version Independent ID: 1136a613-48f8-fb67-39d3-d9abdd351a0f
Content: Assign a user or group to an enterprise app in Azure Active Directory
Content Source: articles/active-directory/active-directory-coreapps-assign-user-azure-portal.md
Service: active-directory
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@lestaat Thanks for the feedback! I have assigned the issue to the author to investigate and update as appropriate.

Hi @lestaat, this is at this point not supported.
#please-close

I am also looking for this - I am using bash with az commands on a mac.


refactor: change Route type from ArrayList<> to List<>

the reasoning is (a) that this leaks the implementation detail into the
public API and (2) the the call site usage, e.g.
dispatch(SetRouteAction(arrayListOf("route-a", "route-b"))
// vs.
dispatch(SetRouteAction(listOf("route-a", "route-b"))

This does not break API contract, all code using the current version of
ReKotlin-router still compiles fine, because every instance of
ArrayList is also a List.

LGTM


fix: prevent auto adding new end session action if not available

Prevents adding duplicate END_SESSION actions.
Also prevents adding END_SESSION when it's not the last action.
Seems like this was used in some places like isUnscoredActionAvailable but this relies on an UnscoredAction instead of regular Action which doesn't have the reason attribute.  Could have cased the action and reworked this method but I thought it was more confusing.

:tada: This PR is included in version 0.352.9 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[TH2-2909] change compile to implementation

Since we switched to log4j2 in common, cradle should only provide api for logging

We have frozen development for dev-version-4, so please make pull request to active branch

dev-version-4 branch is no more in development.
please make PR-s into following branches:
dev-version-3.1
dev-version-3.2
dev-version-5

dev-version-4 branch is no more in development.
please make PR-s into following branches:
dev-version-3.1
dev-version-3.2
dev-version-5


implement foreignkey arrays for one_to_many relations

Summary
Currently foreignkey arrays are supported when using a many_to_many relation. Even though it might be weird e.g. for relational databases we can also implement a many_to_one / one_to_many relation via a foreignkey array stored on the one_to_many side of the association.
Implementation
Instead of updating both sides of the association (both fK arrays) we only need to update the model that holds the array, similiar to how in the standard case (one foreign key) we update only the model that holds the foreignkey. We do this by calling the function to update the array in the model that holds the foreign-key.
For details look at the implementation of updating foreignkeys for the different storage types.
data-model-definition
To differentiate between the standard (one foreignkey on the many_to_one end) way of associating records and the foreignkey array (stored on the one_to_many) we can look at the association type and where the targetkey is stored (see above). Both will have implementation: "foreignkeys".
Spec
Pending

Problem:
There is no way to know whether it really is a to_one from the side, that doesn't hold the array. Therefore the above approach can In theory can be used for many-to-many with high likelihood of inefficiency (must search whole other data model to find associated <- also a disadvantage with classic RDB one-to-many via foreign keys, which is why in that case indices are highly recommended).
Conclusion
For now we only support foreignkey arrays for many_to_many


Uniform Standards Request: Experimental Repository

Hello!
We believe this repository is Experimental and therefore needs the following files updated:

[ ] The Experimental badge
[ ] The Experimental Statement in the README.md
[x] Getting Started Tutorial
[x] README.md
[x] LICENSE
[ ] CI/CD
[ ] OWNERS.md
[ ] Developer Certificate of Origin
[x] At least one maintainer

If you feel the repository should be maintained or end of life or that you'll need assistance to create these files, please let us know by filing an issue with https://github.com/packethost/standards.
Packet maintains a number of public repositories that help customers to run various workloads on Packet. These repositories are in various states of completeness and quality, and being public, developers often find them and start using them. This creates problems:

Developers using low-quality repositories may infer that Packet generally provides a low quality experience.
Many of our repositories are put online with no formal communication with, or training for, customer success. This leads to a below average support experience when things do go wrong.
We spend a huge amount of time supporting users through various channels when with better upfront planning, documentation and testing much of this support work could be eliminated.

To that end, we propose three tiers of repositories: Private, Experimental, and Maintained.
As a resource and example of a maintained repository, we've created https://github.com/packethost/standards. This is also where you can file any requests for assistance or modification of scope.
The Goal
Our repositories should be the example from which adjacent, competing, projects look for inspiration.
Each repository should not look entirely different from other repositories in the ecosystem, having a different layout, a different testing model, or a different logging model, for example, without reason or recommendation from the subject matter experts from the community.
We should share our improvements with each ecosystem while seeking and respecting the feedback of these communities.
Whether or not strict guidelines have been provided for the project type, our repositories should ensure that the same components are offered across the board. How these components are provided may vary, based on the conventions of the project type. GitHub provides general guidance on this which they have integrated into their user experience.

@rainleander I believe that some version of this script is installed by default on every Packet server, to support our storage product. That would indicate a reason to move this to "Maintained" from "Experimental".

Confirmed. It has been maintained for quite some time.

ACK! Moving it back to packethost and adding the additional requests for a maintained repo.


Update rack instrumentation

The Ruby agent is known to support up to version 2.0.x of the rack gem. We would love your help in making sure our instrumentation works with the latest version.
For guidance on how to proceed, see our Guide to Updating Instrumentation, and please let us know if you have any questions not covered there.

Closing—latest gem versions are being tested with this PR


Update test framework versions

This uncovered a test issue. @jbagga can you provide guidance on how to fix the tests?
I fixed the input type for the NormalizeRanges_ReturnsNormalizedRange and NormalizeRanges_MultipleRanges_ReturnsNormalizedRange tests to be long? as long cannot be null. These tests fail now. I'm not sure what the expected behavior is.

@natemcmaster I have updated the tests to match the expected behavior now

Thanks @jbagga


trigger.autocomplete.closed only reacts to first autocomplete element in html

Bug, feature request, or proposal:
bug - autocomplete.closed  observable reacts only to first autocomplete element on html
What is the expected behavior?
to react on all autocomplete elements
What is the current behavior?
reacts to only first element
What are the steps to reproduce?
https://stackblitz.com/edit/autocomplete-force-selection-tests-whm4cj
What is the use-case or motivation for changing an existing behavior?
if user select nothing - it should reset the autocomplete element.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Current build: 6.0.0-beta.2
Is there anything else we should know?

Can you elaborate how to reproduce the issue?

@crisbeto  you have to start typing something but dont select.
value of the input should reset like in the first autocomplete element if you choose nothing

Your issue comes from the fact that you've got two instances of MatAutocompleteTrigger whereas the @ViewChild only picks up the first one, e.g. if you remove the first one, the last will start working. You can fix it either by binding to (closed) in the template or using @ViewChildren to get both autocomplete trigger instances.


Nix segmentation fault

Describe the bug
On Bazzite 39.20240311.0:
❯ nix
Segmentation fault (core dumped)

(other nix subcommands also core dump)
What did you expect to happen?
On Bazzite 39.20240306.0:
❯ nix
error: no subcommand specified

Output of rpm-ostree status
`rpm-ostree status` run from working 39.20240306.0; 39.20240311.0 exhibits the issue.

❯ rpm-ostree status
State: idle
Deployments:
  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:39
                   Digest: sha256:8cb13dd752985d87f47eba86e43bd340a5e03cbf0394e01aefd7fb6faa8fe8ad
                  Version: 39.20240311.0 (2024-03-11T07:05:06Z)
                     Diff: 58 upgraded, 15 removed, 15 added
          LayeredPackages: libvirt openrazer-meta razergenie virt-manager
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf"'

● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite:39
                   Digest: sha256:6dfe916fe41a6f9f22d07e73002bb118be63ce1206192e690057228ebbb83a5b
                  Version: 39.20240306.0 (2024-03-07T02:58:31Z)
          LayeredPackages: libvirt openrazer-meta razergenie virt-manager
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf"'

### Hardware

Generic AMD 7900X Desktop

### Extra information or context

originally reported as https://github.com/ublue-os/fleek/issues/370

@bryanlarsen Hi, it seem was an issue with Nix mentioned at https://github.com/NixOS/nix/issues/9725 and fixed with https://github.com/NixOS/nix/pull/10172.
Now, DeterminateSystem's Nix installer seems to be using an older base nix version than the one which contains the patch, so event if you used /nix/nix-installer uninstall and tried to use the installer again, probably you will find crashes.
Thankfully, we can specify which version the installer uses. Would be something like this:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --nix-package-url https://releases.nixos.org/nix/nix-2.21.1/nix-2.21.1-x86_64-linux.tar.xz

Be sure to reboot afterwards, and to execute that line in bash.
Tried by myself, which suffered from the same issue, and so far seems to work.
My rpm-ostree status:
zeglius@fedora /v/h/zeglius> rpm-ostree status -vb
State: idle
AutomaticUpdates: disabled
BootedDeployment:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-nvidia:stable (index: 0)
                   Digest: sha256:994b62d268d6ff23d5e7f24dbcdf59913595cae3c5d1eca8d6975ab3d9ff1518
                  Version: 39.20240116.0 (2024-03-30T05:32:47Z)
               BaseCommit: 36febc16079b593884949e985a55814bd1dc4ef1ec9ee72f85020b1ade2c9dd8
                   Commit: 7d383517bd0a1f16ff7aec0240b74da98edc54e07f7847ec4b740d349868f1f0
                           ├─ copr:copr.fedorainfracloud.org:matte-schwartz:sunshine (2024-03-28T12:54:59Z)
                           ├─ copr:copr.fedorainfracloud.org:sentry:kernel-fsync (2024-03-25T09:10:03Z)
                           ├─ fedora (2023-11-01T00:12:39Z)
                           ├─ rpmfusion-free (2023-11-04T16:49:08Z)
                           ├─ rpmfusion-free-updates (2024-03-24T12:21:36Z)
                           ├─ rpmfusion-free-updates-testing (2024-03-24T12:21:43Z)
                           ├─ rpmfusion-nonfree (2023-11-04T17:26:32Z)
                           ├─ rpmfusion-nonfree-updates (2024-03-24T12:45:42Z)
                           ├─ rpmfusion-nonfree-updates-testing (2024-03-24T12:46:45Z)
                           ├─ updates (2024-03-30T00:57:10Z)
                           └─ updates-archive (2024-03-28T01:49:15Z)
                   Staged: no
                StateRoot: fedora
          LayeredPackages: cronie cronie-anacron edk2-ovmf podman-compose qemu rclone virt-manager
            LocalPackages: code-1.87.1-1709685844.el8.x86_64
                Initramfs: '"-I /etc/crypttab /usr/lib/modprobe.d/nvidia.conf"'

You will need to get support for this from the outfit providing your Nix installer.


Make casting from & to SpIndex panic if it overflows

(Not pushing directly to master branch since this diff has performance implications.)
Got bitten by this issue recently (see https://github.com/tomtung/parabel-rs/commit/597a9f2c87a9ac10c33ca31689d60e26d11d6d15), so I think maybe it better to panic even in release mode if arithmatic overflow happens, while providing the option of unchecked casting explicitly.
I think we can look at existing usage in the code base, and figure out where it's safe to do unchecked casts for better performance?

Took a closer look; given the contracts the structs' fields are expected to satisfy, seems like we can do unchecked casts safely in many cases. This can help minimize the overhead.


RFC: Insert snippet when autocompleting functions

This is work in progress, just wanted to get some inputs on if that's valuable at all. The idea is to insert a Sublime Text snippet when users select autocomplete option. This lets them use Tab to jump over suggested arguments placeholders.

I realize that languages like OCaml heavily rely on currying and this functionality might not be particularly useful, but coming from imperative programming world this actually helps a lot. @cynddl what do you think? If it's worth merging, I'll finish the PR by adding code that handles nested -> well.

I like the idea behind your work, though I don't know what the ideal UI could be (in vim / emacs, we are  trying to remind the user of the type of the argument when completing, rather than inserting the type).
I am not sure encouraging currying in OCaml is a good thing: it affects readability and makes reasoning about performance harder. Of course, there are cases where it helps, but this is not the default imho.
However, passing functions as arguments is common, maybe you will want to insert types only when completing in the function position and not the arguments (merlin should be able to tell that).

Hi @frantic, I'm just back home after summer holidays. Thanks for the pull request!
@def-lkb I think it would be more confusing to have sometimes snippets, sometimes not. Better to have an option to enable/disable this feature all the time. Anyway, can merlin already give the expected type at the cursor when autocompleting?

@cynddl yes, merlin can.
The completion command returns an object of the form (in some mix of JS and BNF :P):
{
  context: (null | ["application",{"argument_type": string, "labels": [{"name":string,"type":string}]}]),
  entries: [{"name":string,"kind":string,"desc":string,"info":string}]
}

Only "application" context (when completing an argument) is distinguished, but this feature could be extended in the feature.

I'd love to have these snippets, including when I use currying (tab-delete is easy enough).

Hey! I built this too!


Preprocessing for other datasets

Much thanks for sharing your code.
Now  I want to use the model for other datasets, such as chinese-english. I know I need to perform the preprocess.sh script. I'm using yours WMT'15 preprocessed corpora at the moment, but I don't know how to process the datasets ( including training datas and dictionaries ) into the following files. In particular, I don't know how the three dictionaries are generated separately.
/home/miki/dl4mt-c2c-master/deen/models/de_en/ bi-bpe2char
/home/miki/dl4mt-c2c-master/deen/train/all_de-en.de.tok.bpe.shuf
/home/miki/dl4mt-c2c-master/deen/train/all_de-en.en.tok.shuf
/home/miki/dl4mt-c2c-master/deen/dev/newstest2013.de.tok.bpe
/home/miki/dl4mt-c2c-master/deen/dev/newstest2013.en.tok
/home/miki/dl4mt-c2c-master/deen/train/all_de-en.de.tok.bpe.word.pkl
/home/miki/dl4mt-c2c-master/deen/train/all_de-en.en.tok.300.pkl
Another, what is the form of pure character input? The file all_de-en.de.tok.shuf is the input, of char2char, why not enter pure character training datas?
Thanks very much!

.bpe files are tokenised using the Byte Pair Encoding algorithm (Sennrich et al., 2015)
.tok files are tokenised input using tokenizer.perl (taken from Moses).
.shuf files are shuffled in random order (same ordering maintained with source & target)
To train a char2char model you need none of the above, although you do need to extract vocabulary using build_dictionary_char.py. Treatment of Chinese can be important, if you use pinyin you're probably fine with standard hyperparameters (number of convolutional filters, filter width)
If you're not using pinyin (thereby using original Chinese characters), you should probably use a larger number of filters. I recommend starting out with pinyin.

How to proceed further after successfully building the vocabulary using build_dictionary_char.py? I just want to use the character-level nmt. Can you also tell me what all files shall be of my concern?


Commit test modification

It's a modification for test, don't merge it

I'd cancel this pull request rather than upload patches, and will summit it in next requst.


status bar

testing on android, version 7.0, LG G6
when STAN is opened, i can't see my status bar above it. there is a black, empty bar. I can't check my internet connection or battery status while using STAN.

On my Samsung Galaxy S6 (Android version 7.0) there is a black bar with grey symbols. The grey symbols are not really visible.


Stack overflow with apps on imxrt1064-evk:netnsh

Hello everyone,
I recently started hacking on a i.MX RT 1064 EVK board with NuttX (board support is not yet in any stable release, only on master branch) and I ported a very simple app running a Microsoft Azure IoT Hub Demo Example. (The library itself is inside Azure IoT Repo, for reference here
NuttX NSH shell is reporting an hard fault and the application is crashing after launched (I also step-by-step debugged it but apart from the crash there is really nothing wrong with the code...)
Please find attached here the trace:
nsh> Hello, from **** IoT Client Applicatioarm_hardfault: PANIC!!! Hard fault: 40000000
up_assert: Assertion failed at file:armv7-m/arm_hardfault.c line: 135 task:
up_registerdump: R0: 20218b70 202102c8 f83a9851 bff9f07b 7004aee1 00000000 00000000 202199b8
up_registerdump: R8: 00000000 00000000 00000000 00000000 0000000d 202199b8 700250e9 700093e4
up_registerdump: xPSR: a1000000 BASEPRI: 00000080 CONTROL: 00000000
up_registerdump: EXC_RETURN: ffffffe9
up_dumpstate: sp:         20219828
up_dumpstate: stack base: 00000014
up_dumpstate: stack size: 04000000
up_dumpstate: ERROR: Stack pointer is not within the allocated stack

What is bugging me in this report is the stack pointer relative to stack base address and size. I understand that the panic is triggered because sp is outside stack bounded region, (00000014+ 04000000 is always outside 20200000).
In this board, on-chip RAM addresses start at 0x20200000 so, in principle, stack should be below those address and not starting from 0, to respect the alignment (and the size).
Do you think that there is something wrong in the linker script file on in the BSP for this particular board?
I can submit a PR if someone can hint me where to look for fixing the issue.
(Smaller standard programs like ping work fine, so I really do not understand if it is my executable or a system bug).
For reference, please find attached the .config file here
config.txt
Any suggestion?
Thanks

Hi @fgiancane8 you can start investing the Link Register (R14) and PC (R15) : 700250e9 700093e4
You can use this command: arm-none-eabi-addr2line -e nuttx 0x700250e9
Probably you need to increase the Stack size in the menuconfig: RTOS Features -> Stack and heap information

Also please take a look here: https://cwiki.apache.org/confluence/display/NUTTX/ARMv7-M+Hardfaults%2C+SVCALL%2C+and+Debuggers

@acassis ,
Thank you for your inputs!
I already checked the settings in RTOS Features -> Stack and heap information, and it seems to me that there is plenty of stack space allocated for the running tasks (also the ps command reports like 5 task running, so not much of space occupied).
I think the key here to understand the problem is the fact that the stack pointer points to an area in RAM while stack bounds (base and size) are in a totally different range , in which the stack pointer is not included. That is the reason why the up_dumpstate: ERROR: Stack pointer is not within the allocated stack error is raised.
Can you give me some hints where to search for stack area declaration initialization?

This may help you debug it. https://www.youtube.com/watch?v=KZkAM_PVOi0 start at 17:25


Re-advertsing a record with a changed txtRecord doesn't work as expected.

Hi,
I'm trying to use your node_mdns module to advertise not only the existence of a server but specifics about the service.
So imagine for a moment that I wanted to advertise the list of current logged in users on my linux system, and when it changed I wanted to update the txtRecord with a current list of logged in users:
And every time my list of users changed I did the following:
if(mdnsAd!=null){
mdnsAd.stop();
}
var currentUsers = Users.loggedIn();
var now = new Date();
mdns.createAdvertisement(
mdns.tcp('user-watch'), config.port, { txtRecord: { users: currentUsers, updatedAt: now }},function(err,service){
mdnsAd = service;
mdnsAd.start();
});
Well what happens is it seems like the first advertisement I did, regardless of calling stop on it, is used from there on out. So if user 'A' was logged in the first time I created an advertisment, and then user 'B' logged in, I would breifly get an advertisement containing 'A,B', but then the advertisement reverts back to 'A', and has the updatedAt set to the first advertisement's timestamp.
Is this expected behavior?

just lost my response by bonking the wrong key ... sigh ... again:
Ok, let's see...
First this is not expected behavior. The TXT Record code is quite new and it just might be a bug. However there are a few oddities in your code you might want to look at:

The ad object returned by createAd(...) is never stored in a variable. It drops out of scope and is garbage collected. That's probably why your record disappears immediately. Still doesn't explain why you get 'A,B' though...
The service argument to the callback is not the ad object. It is a pure data/json object that holds information on what is actually advertised. It also doesn't have a start() method. So I wonder why your code doesn't throw.
TXT records have a very limited size (typically 100-200 bytes). I've written a bit about it in the user guide. You should probably check the limits.
The code ignores the err argument

Just let me say that you will probably be disappointed by the results. Multicast DNS is just not made for fast updates. In fact it can take several seconds until an ad disappears. The C API has functions to swap the txt record without tearing down the ad. But unfortunately they are not implemented in javascript yet. Open a feature request if you like. But even then: One of the documents referenced in the user guide has a paragraph about why it is slow and why it is a bad idea in the first place. Forgot which one ... sorry ...
One last comment: AFAIK storing an array in a single key is discouraged because it requires knowledge on the format and an appropriate parser. It is preferred to store each item using a separate key (u0, u1, ... un)
Cheers et bonjour

One more thing: You're using linux, so you're probably using avahi and you've probably seen the warning. The API is just not very well supported on linux/avahi. Not sure if it behaves well when used in, uhm, unusual ways ...

Pretty sure everything is working as expected. However, I will add an API to update the TXT record. See issue #27.


How to install with Buckaroo (with PostgreSQL connector)

Hi -- I've seen that there is a package for sqlpp11 in Buckaroo's packages which fills me with joy!
I couldn't find any of the connectors on there, though.
Is that an oversight, or a TODO, or have I misunderstood how to install sqlpp11 in this case?
Or is the support for Buckaroo even officially supported?
Thanks,
Doug.

Hi Doug,
I am not involved in the Buckaroo. I suggest you get in touch with them (and maybe help them creating such packages :-) ).
Cheers,
Roland

Ah, I see -- I saw their package was based off your repo and thought that meant it was built here.
Do you know who does build it?
I'll have an investigate if not, there must be some way of finding out.
And when I'm a bit more familiar with Buck and Buckaroo, I'll maybe have a look into how to get the connectors working as Buckaroo packages.
Cheers, Roland!
Doug.

I would assume that the people who created Buckaroo also created this package, but that is just a wild guess...

And I'm allowed to get in touch with them, too? Humble little me?
That is an exciting prospect... ;)

I feel like I am missing some context between the lines, but yes, of course, why not?

Oh god, no, I'm just gibbering after too much coffee -- I'll stop now, it's hardly the place -- thanks again for your advice!


Where is LibGFORTRAN-3.DLL ?

Hi, Xianyi, appreciate the time you put into this project.
I built the LibOpenBlas as per instruction from source and a few hours later got a LibOpenBlas.DLL great.
But when I look with Dependency Walker and it says that I will need to have LIBGFORTRAN-3.DLL
My goal is to create a valid standalone Windows .DLL  that python and Visual Studio can link to.
Should I have attached some parameters to the Make command?

libgfortran-3.dll (and libgcc_s*.dll which you'll also probably need) can be found somewhere in your Mingw installation directory.

You can download a version compiled for python usage here:
https://bitbucket.org/carlkl/mingw-w64-for-python/downloads
The gcc runtime code is linked statically, hence no  need for LIBGFORTRAN-3.DLL. The latest version has a small howto description if you want to build yourself.

You can disable compiling lapack and lapacke, especially if not using them, then it will not use any fortran or libraires.


Ability to add custom head elements

Inside email body we are allowed to use/add <mj-raw>...</mj-raw> element.
However it's not possible to modify the head part.
Is this by design, or just a missing feature.
Cause it would be very useful to add custom meta tags, or links.
For example, adding ability to disable format detection for decent devices:
<meta name="format-detection" content="telephone=no,date=no,address=no,email=no,url=no"/>

Ability to specify favicon, if email would be viewed inside a browser:
<link rel="icon" href="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="/>

It's already done in MJML 4.2 beta, you have access to mj-raw in head

@iRyusa great, thanks for the update, what's the timeline for beta becoming not beta?


import regions-->IPU/OPUs

after importing the regions, the IPU/OPUs are all being placed at 0,0,0

since this issue is already created, this happens to me too

After reviewing the process, I find that FEAGI returns 0,0,0. It's not BV issue. This is FEAGI issue

@m-nadji-tehrani FYI

Import
Use the api: cortical_area_geometry_v1_cortical_area_cortical_area_geometry_get
See IPU set to 0,0,0

long fixed


Visual Material UI Padding

Hi
I used Visual Material in Xamarin Forms but there's no way to add padding to this control to make a cohesive UI.
How I can add some padding, I used a CustomRenderer but on iOS seems imposible to add a padding.
Platform : iOS
Xamarin Forms with Visual Material

@ErnestoPaz I'm by no means an expert on iOS UI layout and how to control these. However since the InputTextField and SelectionList controls are exposed by the iOS renderer, I don't see why you can't control their layout with a custom renderer?
Also I'm not even sure where you're looking to add padding (the text field or the selection list, both or something else). A mock-up picture that describes what you'd like to see would be helpful

I want to add padding to the text inside the control.

@ErnestoPaz Could you perhaps provide a simple sample app that demonstrates the issue you're experiencing?

Hello there! I noticed that It is an old post... just in case if It could useful for anyone looking for this or similar, I leave a snippet of my non-fancy code from my custom renderer (if anyone could improve this, please let me know. I'm always looking for better ways to improve my coding).
CustomRenderer.zip


Bing Module

I formerly had a bing module I found on another site and added it to my uniz/apache instalation of version 1. Was wondering if any of you geniuses have written a bing module for version 2 for windows?

it's on the roadmap, by the way, do you have a link to this module ?

Yes Sir:
https://github.com/st-a-ch/serposcope/blob/297ce53cb0bb93be136a829165e128f2a249955e/modules/Bing/module.php

works like a charm on V1 :)

BTW -- Thanks for the great work Serposcope team!!!!! You knocked V2 out of the Park!!!! Love it!!!

How to put a module on serposcope (under linux).
Thanks

Custom modules are unsuppoted on v2 yet, but it's on the roadmap.

Ok thanks.


Use _request_gizmo from SceneStringNames

#69850 removed the only two places, where SceneStringNames::get_singleton()->_request_gizmo was used.
This PR salvages the part of #69465, that adjusts the usage of this String-singleton.

Thanks!


Fixing gitignore for .NET ecosystem

Fix #3028
This pull request fixes the gitignore file for the .NET ecosystem. It updates the file to ignore Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons.

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/3029
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/3029

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/3029
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/3029

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/3029
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/3029

View Changes | Compare Changes

We might want to wait on https://github.com/Azure/azure-dev/pull/3017, as that one is already validated and ready to be merged (as soon as it gets some more eyes on it).
Then we can this PR as a continuation

Repoman Generation Results
Repoman pushed changes to remotes for the following projects:
Project: todo-csharp-cosmos-sql
Remote: azure-samples-staging
Branch: pr/3029
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-cosmos-sql -b pr/3029

View Changes | Compare Changes

Project: todo-csharp-sql-swa-func
Remote: azure-samples-staging
Branch: pr/3029
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql-swa-func -b pr/3029

View Changes | Compare Changes

Project: todo-csharp-sql
Remote: azure-samples-staging
Branch: pr/3029
You can initialize this project with:
azd init -t Azure-Samples/todo-csharp-sql -b pr/3029

View Changes | Compare Changes


feat(dapi): add totalCreditsInPlatform endpoint

Issue being fixed or feature implemented

Currently the getTotalCredits method cannot be called in js-dapi-client, moreover, even if it is prescribed, the implementation of the method call inside the module is not complete
What was done?
The method has been added to PlatformPromiseClient and PlatformMethodsFacade. A number of changes were also made to the function names
How Has This Been Tested?
Manual testing was performed on a local node built from source code
Breaking Changes
No breaking changes
Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
[x] I have made corresponding changes to the documentation if needed

For repository code-owners and collaborators only

[x] I have assigned this pull request to a milestone

@owl352 Thank you for your PR. Please fix conflicts and then we can run CI

Closing in favor of https://github.com/dashpay/platform/pull/2059


Sprint/2105

Copyright scan failure
Commit: 901e248631cb8692c568def92d15548e10bc3c91
Report detail: https://gist.github.com/46e548aad05efdd42ebe5c4b61c7b346

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/1552/rdkcentral/rdkservices

Commit: 901e248631cb8692c568def92d15548e10bc3c91

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Token detection fired and fixed

Commit: 901e248631cb8692c568def92d15548e10bc3c91

Hi James, Please will you add a credit for Metrological to the NOTICE file at top level, where we put such things:
just append:
Copyright (C) 2019 Metrological B.V.
Licensed under the BSD-2 License
(This will not clear the check but I will magic it away when NOTICE is done.)
Thank you,
Martin Hughes, RDK CMF Compliance Team

Copyright scan failure
Commit: f9d19a0539cc7f5892eafc0d2d384f1f7844c5b6
Report detail: https://gist.github.com/d9dc00d1b532aaa867949f1a8cf6ed63

Hi @mhughesacn
I have updated the NOTICE file.
Thanks
James

Thanks James.  Cleared in the tool now.


When message app message body is < 1 line wide w/ large font, use large font.

In: https://github.com/espruino/BangleApps/issues/1294#issuecomment-1012921003, @gfwilliams said:
"Right now the message title font does change dynamically depending on how much text there is, so doing the same for the body text is probably no big deal."
This mirrors the implementation used for the message title in the message body. Basically messages >11 characters get displayed with the large font, otherwise it shifts to medium.
I can see there are other issues open related to controlling font size globally. But I think the main need for most users will be in the messages app, where the ability to choose a larger font for body text would be useful even in the short term, IMHO. Perhaps getting rid of the buttons in favor of labels to indicate user input via swipe direction would leave more screen real estate for larger text as well.
As always - thanks for making this great ecosystem!

I realized after the first submission that two lines of large text will fit nicely on Bangle.js 2's screen. So now it checks to see if the message body will fit on two lines of text w/ large font, and only decreases font size if message is larger than that.

This looks excellent - thanks!
And yes, swipe was suggested as a way to remove the buttons. I've been meaning to think about that as I think we need something to show users that swiping does something, but otherwise it makes a lot of sense (and button for back)

Sorry - one more thing - when you make changes, please can you add a line to the changelog and bump the version number in metadata.json - I'll do that now though

Sorry - one more thing - when you make changes, please can you add a line to the changelog and bump the version number in metadata.json - I'll do that now though
Yes! I would have done but wasn't sure if the patch would likely get merged in to a release with other patches. I will in future.  Thanks!


ibus: fix #16292

fix for bug #16292
change environmental variable in wrapper
GDK_PIXBUF_MODULE_FILE -> GDK_PIXBUF_MODULEDIR
https://developer.gnome.org/gdk-pixbuf/unstable/gdk-pixbuf-query-loaders.html
This patch is only for the ibus package. I think however, this substitution should be done for all packages. The given link specifies GDK_PIXBUF_MODULE_FILE as a write to location. So clearly, GDK_PIXBUF_MODULE_FILE can not point to a file in the nix store.

The given link specifies GDK_PIXBUF_MODULE_FILE as a write to location. So clearly, GDK_PIXBUF_MODULE_FILE can not point to a file in the nix store.

This is not what the documentation says. The documentation says,

Normally, the output of gdk-pixbuf-queryloaders is written to libdir/gdk-pixbuf-2.0/2.10.0/loaders.cache, where gdk-pixbuf looks for it by default. If it is written to some other location, the environment variable GDK_PIXBUF_MODULE_FILE can be set to point gdk-pixbuf at the file.

In other words, GDK_PIXBUF_MODULE_FILE is the location that gdk-pixbuf searches for a loaders.cache file, so it needs to be set if the loaders.cache is not in the default location. (For Nixpkgs, it is not in the default location.)
Also, GDK_PIXBUF_MODULEDIR affects only the gdk-pixbuf-query-loaders command.

Ok so replacing maybe the wrong solution, but it's still an issue that GDK_PIXBUF_MODULE_FILE can only be one file. How about using --set instead of --prefix? I pushed over the branch, but I don't think I can reopen the pull request.

How about using --set instead of --prefix?

I think that would be fine for now. Technically, we need a way to merge loaders.cache files because the dependencies can change at runtime. (For example, if you use a theme with SVG icons, librsvg must be included in loaders.cache.)

I pushed over the branch, but I don't think I can reopen the pull request.

GitHub won't let me re-open it because you pushed over it. I don't know why they have that restriction. Go ahead and make a new one; tag me in it and I'll take a look. Thanks!


Provide collapse direction support

Currently, the panels collapse towards the left, making the panel to the right larger. I would like to have the option to provide the collapse direction myself to the panels. Is that possible from outside the library?

I assume you are describing a 3 panel (or more) situation where you are collapsing the middle panel?
So something like this:
|••L••|••M••|••R••|

To something like this:
|••L••||••••R••••|

But you would prefer this instead:```
|••••L••••||••R••|

> Is that possible from outside the library?

Assuming I'm right about the scenario I described above, I believe you would want to do something like this:
```js
// Use the onResize prop for Left and Middle panels to store their current sizes in state or a ref
// Then transfer the size of the middle panel to the left panel like so:
leftPanelRef.current.resize(leftPercentage + middlePercentage);
middlePanelRef.current.resize(0);

@bvaughn that would require outside app to attach refs and based on the collapse target, figure out the left and the right panels.
Doable, but I was wondering if you would be interested in providing a collapse API like :
  void collapse(direction: 'start' | 'end');

If you would like to post a PR, I’ll record it. It’s not a feature I have the time/interest to build though.

@bvaughn that would require outside app to attach refs and based on the collapse target, figure out the left and the right panels. Doable, but I was wondering if you would be interested in providing a collapse API like :
  void collapse(direction: 'start' | 'end');

currently both collapse and expand api on Panel component will affect the current the the next one, so if collapse accept direction as param, expand should has the same ability.

expand should has the same ability.
Definitely!

https://github.com/bvaughn/react-resizable-panels/pull/107
I tried resolve this and created a PR

After thinking on it a little bit, I've decided that I don't think I want to add this functionality to the library. I understand the use case, but I think the "before" and "after" API is a bit awkward and I think I'd prefer to just stick with the current constraints.
I hope you'll understand 🙇🏼  and you are definitely welcome to fork this module if you'd prefer to build on top of this proposal for your own application.


Link to DOI from ORCID work created by Dockstore does not take you to Zenodo

Describe the bug
If you click the link to the DOI from an ORCID work created by Dockstore, it does not take you to Zenodo; it opens the same ORCID page on a new tab.
To Reproduce
Steps to reproduce the behavior:

Create a work on ORCID via Dockstore UI via Snapshot/DOI/Export to ORCID dialog
Go to your ORCID page and find the created work
Click on the DOI link.
New tab opens on the same page

Expected behavior
It should take you to Zenodo
Screenshots
Screenshot showing relative path in inspector:

Additional context

The links in the UI to DOI are prefaced with "https://doi.org"...
The versions table in our DB does not store the full url, but is confusingly called doiurl. At least I don't think it's a URL, seems like a URI
Suspect code given the above, although it might be more complicated than that.

Webservice - 1.11.8
UI - 2.8.2
Compose Setup - 1.11
Deploy - 1.11.1
┆Issue is synchronized with this Jira Story
┆friendlyId: DOCK-1919
┆sprint: Seabright Sprint 75- Crush
┆taskType: Story

Tried export to orcid with https://dev.dockstore.net/my-workflows/github.com/DataBiosphere/topmed-workflows/UM_aligner_cwl
The link in my orcid account matches the zenodo badge in the versions column


Consider adding V to the Forest

It seems like forest is emerging as just a convenient package of stuff (caches etc.). Maybe it is even more convenient to have V in there as well..

you mean “V for Vendetta”?

Surprised that anybody except for me reads these things. I mean V for Value. Currently a Forest does not care about the value, and a tree has the V type parameter. But it turns out that the individual tree is not that useful for what we want to do...
Just gonna try this out.


Requesting activation (personal license)

Requesting activation (personal license)
Unclassified error occured while trying to activate license.
I can't use it suddenly today, do I need to reapply?

@matrix3d did you change anything at all?
Note that if you move to v2, that you'll need to reactivate (using v2 of the activation action),

@matrix3d did you change anything at all?
Note that if you move to v2, that you'll need to reactivate (using v2 of the activation action),

I re-applied for the certificate and it’s okay now

I re-applied for the certificate and it’s okay now


New version: GameSir.GameSirConnect version 1.1.9

Created by 🥟 Dumplings in workflow run #9014.

Log
Updated: 1.1.6 → 1.1.9
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335226
2024-10-23 06:35:34.666 [CLI ] ShellExecute installer failed: 2
2024-10-23 06:29:30.371 [CLI ] ShellExecute installer failed: 2

Automated error analysis suggests -1978335226 may mean Running ShellExecute failed
(Automated response - build 897.)

The installer appears to be corrupted.


Using external cluster for e2e tests.

Jenkins job manager/presubmit passed

Jenkins job manager/presubmit passed

Jenkins job manager/presubmit passed

@ayj Please review

Jenkins job manager/presubmit passed


Explore: Add 'informational' as synonym for 'info' log level.

Recognize 'informational' as a synonym for the canonical 'info' log level.

What this PR does / why we need it:
Some systems use 'informational' as a log level.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

x


Added support for ICM20602 and ICM20689

@LorenzMeier
This has been tested on px4fmu-v5* and regression tested on auav-x21
@kd0aij would you please please fly this on pixracer as a cross check.

At this point I did not look at the register deltas from part to part. I just insured that the drivers would start and find the correct whoami and product id and render some data..

This is still using the original enumeration. I would like to fix that once  nuttx_upgrade_grouped is merged into master
For now the fmu-v5 creates:
 mpu6000_accel
 mpu6000_accel1
 mpu6000_gyro
 mpu6000_gyro11

Which I think this should be:
 mpu6000_accel0
 mpu6000_accel1
 mpu6000_gyro0
 mpu6000_gyro11

@davids5 We might have to hunt a couple of excessive error / feedback messages to trim this further down. Just 200 bytes missing. Need to also prune the ROMFS.

Flown by Phil:
This seems to work just fine on a Pixracer.
http://logs.uaventure.com/view/Ni4TYbC3EjVdwDiZ8jDYKj

This hardfaults on FMUv5

@davids5 Hard fault fixed. Waiting for test results from @sirPerna.

So the driver starts now without hard faulting, but it doesn't successfully initialise both - only the ICM20602.

@davids5 Can you share a boot console log when you did your next iteration? Current issues:

USB unstable (Windows says "stopped working")
I2C4 not moving at all
GPS driver on USART1 not operational (cause unknown)
ICM20602 starts, ICM20608 doesn't

Would be good to have a boot log from you to compare to other boards to rule out HW issues.

@LorenzMeier

I would like to urge caution with my test flight results. While I did have several successful flights with this PR, I also had a single instance where my attitude was pitching and rolling at a constant rate after boot up on a Pixracer. A power cycle corrected this but its cause is unknown and I have seen at least 1 other user mention a similar problem.

@LorenzMeier
today's build
nsh> ver all
HW arch: PX4FMU_V5
FW git-hash: 3197ccab7b527816134b919f7656896ec1e5f9a0
FW version: v1.5.2-222-g3197cca (1.5.2 0), 17105408
OS version: 7.18 (117508351)
Build datetime: Dec 19 2016 05:29:27
Build uri: localhost
Toolchain: 5.4.1 20160609 (release) [ARM/embedded-5-branch revision 237715]
MCU: STM32F76xxx, rev. A

WARNING   WARNING   WARNING!
Revision A has a silicon errata
This device can only utilize a maximum of 1MB flash safely!
https://pixhawk.org/help/errata

UID: 26003E:33355102:36303934
nsh> reboot
sercon: Registering CDC/ACM serial driver
sercon: Successfully registered the CDC/ACM serial driver
[i] microSD mounted: /fs/microsd
[hardfault_log] Fault Log is Armed
WARN  [param] selected parameter default file /fs/mtd_params
INFO  [ver] match: PX4FMU_V5
INFO  [ver] match: PX4FMU_V5
INFO  [dataman] Unkown restart, data manager file '/fs/microsd/dataman' size is 47640 bytes
MS5611_SPI on SPI bus 4 at 64 (20000 KHz)
WARN  [bst] no devices found
INFO  [ver] match: PX4FMU_V5
MPU6000 on SPI bus 1 at 17 (1000 KHz)
MPU6000 on SPI bus 1 at 16 (1000 KHz)
nsh: bmi055: command not found
WARN  [hmc5883] no device on bus 1 (type: 2)
WARN  [hmc5883] no device on bus 2 (type: 2)
WARN  [hmc5883] no device on bus 4 (type: 2)
ERROR [meas_airspeed] no MS4525 airspeed sensor connected
ERROR [ets_airspeed] no ETS airspeed sensor connected
ERROR [ets_airspeed] no ETS airspeed sensor connected
nsh: sf1xx: command not found
WARN  [sensors] FATAL: no magnetometer found: /dev/mag0 (2)
ERROR [sensors] sensor initialization failed
INFO  [mavlink] mode: Normal, data rate: 1200 B/s on /dev/ttyS1 @ 57600B
INFO  [mavlink] mode: OSD, data rate: 1000 B/s on /dev/ttyS3 @ 57600B
WARN  [mavlink] hardware flow control not supported
INFO  [mavlink] mode: Config, data rate: 800000 B/s on /dev/ttyACM0 @ 57600B
No autostart ID found

NuttShell (NSH)
nsh> ls /dev
/dev:
 accel0
 accel1
 adc0
 baro0
 console
 gyro0
 gyro1
 icm20602_accel
 icm20602_gyro
 icm20689_accel
 icm20689_gyro
 led0
 mmcsd0
 ms5611_spi_int
 mtdblock0
 mtdblock1
 null
 pwm_output0
 px4fmu
 ram0
 rgbled0
 tone_alarm0
 ttyACM0
 ttyS0
 ttyS1
 ttyS2
 ttyS3
 ttyS4
 ttyS5
 ttyS6

@davids5 On my unit:
MPU6000 on SPI bus 1 at 17 (1000 KHz)
MPU6000 ID 0x02
MPU6000 on SPI bus 1 at 16 (1000 KHz)
MPU6000 unexpected ID 0x03
MPU6000 CDev init failed

@pkocmoud

I would like to urge caution with my test flight results. While I did have several successful flights with this PR, I also had a single instance where my attitude was pitching and rolling at a constant rate after boot up on a Pixracer. A power cycle corrected this but its cause is unknown and I have seen at least 1 other user mention a similar problem.

Thank you for the feedback and caution!
The  px4fmu-v4 vetting would be a Go-No-Go. The change that affected  px4fmu-v4 was my original assumption that the undocumented Product ID value of 0xff for a ICM 20608.  was "Nothing read" value. The code now expects 0xff from the ICM 20608. If that was a bad assumption prior to df33543
it would have caused a hardfault. After df33543 the ICM 20608 would fail to start the ICM 20608.


Error when calling launch() on Flutter Web

I keep getting an error whenever for var browser = await puppeteer.launch(); for Flutter Web. Does anyone know what is the solution for this or what is the problem?
The following is the error message
Error
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 297:3       throw_
dart-sdk/lib/_internal/js_dev_runtime/patch/io_patch.dart 279:5                   _environment
dart-sdk/lib/io/platform_impl.dart 83:17                                          get environment
dart-sdk/lib/io/platform.dart 177:59                                              get environment
packages/puppeteer/src/puppeteer.dart 299:71                                      defaultArgs
packages/puppeteer/src/puppeteer.dart 135:28                                      launch
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5                _async
packages/puppeteer/src/puppeteer.dart 113:25                                      launch
packages/projectname/views/home.view.dart 79:3                                  <fn>
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54                runBody
dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5                _async
packages/projectname/views/home.view.dart 79:3                                  <fn>
packages/flutter/src/material/ink_well.dart 1183:21                               handleTap
packages/flutter/src/gestures/recognizer.dart 315:24                              invokeCallback
packages/flutter/src/gestures/tap.dart 652:11                                     handleTapUp
packages/flutter/src/gestures/tap.dart 309:5                                      [_checkUp]
packages/flutter/src/gestures/tap.dart 242:7                                      handlePrimaryPointer
packages/flutter/src/gestures/recognizer.dart 670:9                               handleEvent
packages/flutter/src/gestures/pointer_router.dart 98:7                            [_dispatch]
packages/flutter/src/gestures/pointer_router.dart 143:9                           <fn>
dart-sdk/lib/_internal/js_dev_runtime/private/linked_hash_map.dart 21:7           forEach
packages/flutter/src/gestures/pointer_router.dart 141:17                          [_dispatchEventToRoutes]
packages/flutter/src/gestures/pointer_router.dart 127:7                           route
packages/flutter/src/gestures/binding.dart 495:5                                  handleEvent
packages/flutter/src/gestures/binding.dart 475:14                                 dispatchEvent
packages/flutter/src/rendering/binding.dart 430:11                                dispatchEvent
packages/flutter/src/gestures/binding.dart 420:7                                  [_handlePointerEventImmediately]
packages/flutter/src/gestures/binding.dart 383:5                                  handlePointerEvent
packages/flutter/src/gestures/binding.dart 330:7                                  [_flushPointerEventQueue]
packages/flutter/src/gestures/binding.dart 299:9                                  [_handlePointerDataPacket]
lib/_engine/engine/platform_dispatcher.dart 1361:5                                invoke1
lib/_engine/engine/platform_dispatcher.dart 286:5                                 invokeOnPointerDataPacket
lib/_engine/engine/pointer_binding.dart 398:30                                    [_sendToFramework]
lib/_engine/engine/pointer_binding.dart 224:7                                     onPointerData
lib/_engine/engine/pointer_binding.dart 1001:20                                   <fn>
lib/_engine/engine/pointer_binding.dart 930:7                                     <fn>
lib/_engine/engine/pointer_binding.dart 531:9                                     loggedHandler
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 550:37  _checkAndCall
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 555:39  dcall

It's impossible to use launch on the web platform. Launch starts a process (it runs the chrome program), this is an operation unsupported on the web for security reason.
The only thing you can do is to use launch on a remote server et use the connect method in your flutter web app.

I have tried using connect but I got the same error too.
var browser = await puppeteer.connect(browserURL: '<website url>');
Or am I using it the wrong way?

You can't connect to the website directly. You need a puppeteer instance running on a server and connect to that instance.


No support for lazy loading of child's in LazyTree

Lazy tree child generator scope add nodes only if children's added in blocking mode. If suspended functions are used which are responsible for adding child nodes then not working.
Here I am not changing the tree only using the children generator scope of  Tree builder

val coroutineScope = CoroutineScope(Dispatchers.Default)

fun Note.asTree(isDirectory: (Note) -> Unit = {}): Tree<Note> =
    buildTree {
        addNode(this@asTree) {
            dirExpander(isDirectory)
        }
    }

fun ChildrenGeneratorScope<Note>.dirExpander(isDirectory: (Note) -> Unit ) {
    coroutineScope.launch {
        var notes: List<Note>? = null
        parent.data.noteService.getNotesFromStorage(parent.data).collectLatest {
            notes = it.notes
        }
        notes?.forEach { newNote ->
            if (newNote.isDirectory) {
                this@dirExpander.addNode(newNote) {
                    dirExpander(isDirectory)
                }
            } else {
                this@dirExpander.addLeaf(newNote)
            }
        }
    }

}

When ever user double click on the browsable node then i can load nodes

Adding last conversation https://github.com/JetBrains/jewel/issues/345

I'm sorry but you should not just randomly launch coroutines in the composition and expect it to work. That's just not how Compose works. You're especially not supposed to launch a coroutine inside the tree creation scope. Please use the API in a more appropriate way. Move computation outside of the composition and only present the completed tree to the component.

I had locked the previous issue because it was not a bug in our implementation, but rather you using things in a rather weird way. Please refrain from asking us again to write your code for you.

Sorry for asking but i cant find any clue to how to load child nodes if i am browsing a remove file service provider like google drive and when ever user double click a folder node it will get expanded with the child's. Do i need to manage it with own or I am missing any API that exists. In Tree Element interface i don't see any functions that i can call when ever child's are ready

That's not really a question related to Jewel, nor a bug in Jewel, which is what this issue tracker is for. I'd recommend doing some training on Compose first, to get the grasp of the basics, and if you still are unsure how to proceed, you can look at how open source projects do something like what you're going for, and/or asking on stackoverflow for help.


Implement file checks and use new architecture

This PR implements the remaining 2 file checks we had in the previous big PR and starts making use of the new checks and code, removing/refactoring the superseded code.
Both scripts in the bin directory will now run against the new checks and making use of the configuration file, which has been updated to only leave 2 file checks: LICENSE and Dangerfile.

There's a lot of stuff we want to do that depends on having the checks architecture in place. All of @SteveMarshall 's changes have been addressed, so I'm going to approve this PR and dismiss Steve's review so that we can merge this.


Minor change home.html

correct typo in homepage

Your branch has been deleted but correctly manual. Thanks for the heads up.

no problem :+1: . This one was still incorrect that's why I deleted it.


[🐞] Dynamically loaded module is not shown

Which component is affected?
Qwik Runtime
Describe the bug
I'm trying to load a module dynamically. Either it exists or it does not.
If it does not exist, I show a fallback UI. If it exists, I show the dynamically loaded module.
It was working in previous versions.
This is the code:
export default component$(() => {
  let DynamicComponent = null;
  try {
    import('../components/something')
      .then((result) => {
        DynamicComponent = result;
        console.log(DynamicComponent);
      })
      .catch((error) => console.log(error));
  } catch (e) {
    console.log(e);
  }
  console.log(DynamicComponent);

  return DynamicComponent ? <DynamicComponent /> :
hi
;
});

Reproduction
https://stackblitz.com/edit/qwik-starter-jxe3yh?file=src%2Froutes%2Findex.tsx,src%2Fcomponents%2Fsomething.jsx
Steps to reproduce

Click on the reproduction link
See the logs

System Info
System:
    OS: Linux 5.0 undefined
    CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    @builder.io/qwik: 0.24.0 => 0.24.0
    @builder.io/qwik-city: ~0.7.0 => 0.7.0
    undici: 5.21.0 => 5.21.0
    vite: 4.2.1 => 4.2.1

Additional Information
No response

Hello guys. Any update on this issue?

I have different examples of runtime components
https://github.com/PatrickJS/experiments-qwik-runtime-components
you can also use  and pass a promise of the component to be resolved


adjust pgbouncer settings

These are the settings I ended up with on prod

I think the total connections (default_pool_size + reserve_pool_size) should always be below the max_connections setting for postgresql.

dont' think anything is blocking here, so i'll go ahead and merge since @TylerSheffels is independent of this PR


Standard Tag Values

Hello,
Where can I find the source of the standard tag definitions defined in exif.py? I'm currently using PIL to extract exif information, but couldn't find the source there.

Nina

Try this link: https://exiftool.org/TagNames/EXIF.html


Realtek RTL8195AM DAP firmware link unavailable

The DAPLink firmware update link for the RTL8195AM(https://os.mbed.com/platforms/Realtek-RTL8195AM/) board is giving error 404.
Furthermore, I can't register on the realtek website(https://www.amebaiot.com/wp-login.php?action=register). I am getting an error "ERROR: Couldn’t register you… please contact the webmaster !"
Can you please fix this issue?
Regards,
George

@c1728p9 Any ideas ?

@gggekov you need to register and login to be able to download the binary.
I've managed to do it and confirm works fine.


[SPARK-39980][INFRA] Change infra image to static tag: ubuntu:focal-20220801

What changes were proposed in this pull request?
Change infra image to static tag: ubuntu:focal-20220801 (current latest 20.04). This patch don't bring any real change on image because ubuntu:20.04 and ubuntu:focal-20220801 are point to same hash at current time.
$ docker run -ti ubuntu:focal-20220801 bash
Digest: sha256:af5efa9c28de78b754777af9b4d850112cad01899a5d37d2617bb94dc63a49aa
Status: Downloaded newer image for ubuntu:focal-20220801

$ docker run -ti ubuntu:20.04 bash
Digest: sha256:af5efa9c28de78b754777af9b4d850112cad01899a5d37d2617bb94dc63a49aa
Status: Downloaded newer image for ubuntu:20.04

Why are the changes needed?

The ubuntu:20.04 is not a static tag, it is for ubuntu latest 20.04 version, Ubuntu upgrades the version every 1-2 months.
If we don't pin the ubuntu version to specific static tag, once the ubuntu upgrade the version, the image cache will be outdate. Then the infra image of CI job will do full refresh, it makes CI unstable just like SPARK-39831 .

So, we need a planned upgrade of Ubuntu in infra to aovid unstable.
Does this PR introduce any user-facing change?
No
How was this patch tested?
CI passed

@HyukjinKwon Ready to go.

Merged to master.


chore: update package-lock.json so fsevents dev dependency builds on node 10

Coverage remained the same at 93.19% when pulling 033d0b774ad0eaa6301b5c61a2d5c1c42b604d65 on node10 into c644bc63397cc135b6a6d18b6997aebee231711c on master.


Flatten stopped processing nested directories in v0.26.0

Problem statement
A certain structure of directories and files worked before v0.26.0 and stopped working after this version. It also does not work with the latest version either.
Swagger specification
https://github.com/nikitakalyanov/go-swagger-test
Steps to reproduce
https://github.com/nikitakalyanov/go-swagger-test
Environment
swagger version: 0.26.0
go version: 1.15.6
OS:   Docker image
From the error message it seems that relative paths are now resolved differently. Could we document it somewhere then?
The workaround for now is to flatten the structure manually - i.e. remove the 'paths/' directory and put the mypath1.yml and mypath2.yml files at the root level.

Yes, the previous behavior was incorrect, not resolving references from the current document's.
I can't remember exactly when this was fixed.
So now, references in the "paths" folder must reference to definitions as "../definitions/....yaml#...", which is more correct.
Like so:
get:
  produces:
    - "application/json"
  responses:
    200:
      description: "OK"
      schema:
        $ref: "../definitions/resp1.yml#/Resp1"
    500:
      description: "Internal server error"
      schema:
        $ref: "../definitions/errors.yml#/ErrorResponse"

I could verify that the specs flatten properly then.

There appears to be an inconsistency whether the path is resolved from the files directory instead of the root directory. This is what I mean:
Using fixtures\bugs\2258\bar.yml as a starting point for this example:
get:
  responses:
    200:
      description: OK
      schema:
        type: array
        items:
          $ref: '../user/index.yml#/User' ## this doesn't work
    500:
      description: OK
      schema:
        type: array
        items:
          $ref: './swagger/user/index.yml#/User' ## this works

(https://github.com/mateusbandeiraa/go-swagger/blob/2a8cb9362d05a9131d3278eb21f76152be1ff598/fixtures/bugs/2258/swagger/paths/bar.yml#L1-L14)
From what you said, the $ref should be '../user/index.yml#/User'. But this doesn't work. What actually works is './swagger/user/index.yml#/User'.
With the 200 response, here's the error message: could not resolve schema: open /go/user/index.yml: no such file or directory.
Without it, it completes the flattening correctly.

Running flatten with current master on fixture 2258. Seems to work as expected.
cd fixtures/bugs/2258
swagger flatten --format yaml fixture-2258.yaml
2024/01/04 16:47:21 format =  yaml

swagger: "2.0"
info:
    title: Simple API
    version: 0.0.0
paths:
    /bar:
        get:
            responses:
                "200":
                    description: OK
                    schema:
                        $ref: '#/definitions/user'
    /foo:
        get:
            responses:
                "200":
                    description: OK
                "500":
                    description: OK
                    schema:
                        $ref: '#/definitions/errorPayload'
    /nested:
        get:
            responses:
                "200":
                    description: OK
                    schema:
                        $ref: '#/definitions/sameFileReference'
definitions:
    errorDetailsItem:
        description: Represents an item of the list of details of an error.
        properties:
            code:
                type: string
            details:
                items:
                    type: string
                type: array
            message:
                type: string
        required:
            - message
            - code
        title: Error details item
    errorPayload:
        properties:
            errors:
                items:
                    $ref: '#/definitions/errorDetailsItem'
                type: array
        required:
            - errors
        title: Error Payload
    model:
        properties:
            name:
                type: string
        type: object
    sameFileReference:
        properties:
            name:
                type: string
        type: object
    user:
        $ref: '#/definitions/model'

The bar.yml document is located in ./swagger/paths
It refers to another document in the sibling folder ../user/index.yml
So far so good.
I didn't quite understand what you tried to run and what doesn't work specifically.

Just pushed a tidier couple of examples.
Working:

https://github.com/go-swagger/go-swagger/blob/809195a882718648d9647ed12a44ab2071936ba0/fixtures/bugs/_working-example/swagger/paths/bar.yml#L1-L8
https://github.com/go-swagger/go-swagger/tree/809195a882718648d9647ed12a44ab2071936ba0/fixtures/bugs/_working-example
Non-working:

https://github.com/go-swagger/go-swagger/blob/809195a882718648d9647ed12a44ab2071936ba0/fixtures/bugs/_non-working-example/swagger/paths/bar.yml#L1-L8
https://github.com/go-swagger/go-swagger/tree/809195a882718648d9647ed12a44ab2071936ba0/fixtures/bugs/_non-working-example

@mateusbandeiraa thanks for the detailed example. I've been able to reproduce your issue. It looks like this is a valid bug.


At fresh daemon startup, setup first bitcoind before database

During a fresh install the bitcoind should be setup before installing the sqlite database,
because if done after and the bitcoind port in the config is wrong for example, the database and the datadir are already created which force user to remove it by hand before installing again with the good port number

Good point. But it would be the same the other way around with the watchonly wallet file. What we should probably do is:

If this is a fresh directory

If there is an error in setting up the fresh directory

Catch the error, and remove the directory entirely

database setup requires only the read and write to the filesystem, but the watchonly requires the filesystem access AND a working connection to bitcoind.
That why it has more "case" to fail and should be done first.
No opinion yet on the clean process in case of failure

I'm assigning you to this issue. What we should do is what i detailed above: if there is an error in the setup of a fresh data dir, catch it remove the directory.


Support all common GCP authentication flows

See https://github.com/lquerel/gcp-bigquery-client/discussions/21 for more details.

Loving your library! Thank you so much for working on it!
Is there a way to authenticate using Bearer token somehow?
Unfortunately, I can't use service account keys for the project..
It should be fairly simple (just need to pass extra header  -H "Authorization: Bearer [TOKEN]":
 curl -X POST \
  -H "Authorization: Bearer [TOKEN]" \
  -H "Content-Type: application/json" \
  --data '{
    "query": "SELECT 42"
  }' \
  "https://bigquery.googleapis.com/bigquery/v2/projects/[PROJECT_ID]/queries"

Where the token could be generated with e.g. $ gcloud auth application-default print-access-token.
At the moment even without rotating tokens works well for me, etc.
Is there a way of doing it somehow? Thank you!


When loading the basic scheme, it gives this error

Prompt outputs failed validation
ControlNetLoader:

Value not in list: control_net_name: 'instantid/diffusion_pytorch_model.safetensors' not in (list of length 30)

The model is uploaded here ...ComfyUI/models/controlnet/instantid\diffusion_pytorch_model.safetensors.

this is just a paths issue

this is just a paths issue

how to fix?