Added AsyncConnectUnblocked

This PR is merely a possible solution to the problem I came across when was working with the redux-connect library. It would be nice if an author can give me a guidance how to implement it correctly or implement something similar himself if he thinks it's a valid problem.
Here is the situation: Whenever use navigates from route to another in a SPA which uses redux-connect, then the rendering of the route tree is blocked until all the data is fetched by all the components in that tree. While this may be a desired behavior in a lot of cases, I would like actually to handle loading procedure by the component itself and make component, who fetch data, be responsible for the loading message. In this way, I can notify the user earlier with the loading states and make UI more snappier. Also in most projects i've worked so far we've got pre-fetched rendering, which means empty boxes, or rows where rendered before the data arrived to the client, and only after that they were filled.
As a solution, I've added another component AsyncConnectUnblocked, which actually can deal with this kind of situations. It might be used as a drop-n-replace component for current project, since the default behavior of it is exactly the same as of ReduxAsyncConnect.
import { AsyncConnectUnblocked } from 'redux-connect';

// on client
const component = (
  <Router
    render={(props) => (
      <AsyncConnectUnblocked
        {...props}
        helpers={{ client }}
      />
    )}
    history={history}
    routes={getRoutes(store)}
  />
);

To enable the unblocked rendering, user should provide async flag to the asyncConnect parameters which must be true.
asyncConnect([{
  async: true,
  key: 'somekey',
  promise: ({store}) => (store.dispatch(...))
}
])

The flow of the AsyncConnectUnblocked works as follows:
First of all, component makes distinction between components which have flag set to true and which do not. Then it fetches all the data for the components which are not "asynced". After fetching data, the routed tree get's rendered and only after that the remaining data get's fetched from the server. In this way, rendering is blocked for the components which are not prepared for non blocking rendering and at the same time renders components which are ok with such flow.

you can use filter - that should be enough for your use-case

Can you give an example code please?

I've tried 'filter' but IMHO it is not really intuitive way to implement component. if i use filter, this means that i have to trigger the fetch inside any lifecyle methods. I tried componentWillUpdate, but it gets triggered even when i'm changing the navigation to another page. Then I've tried componentDidMount which get's called correctly. The only problem with that one is that because I have an isomorphic app it gets' triggered also on the first load of the page, which means my component fetches data twice - first on the server and then on the client when renders. To salve issue with double fetch I have to implement flags or some other stuff, which actually makes code dirtier. Help would be appreciated.

I've looked at the codebase and there is actually an error in the fetch data logic, when using deferred props. I'll work on it this week.
Basically what you have to do is supply 2 different filter functions on the server and the client - server has to check for deferred prop and not fetch that data, while client should use default one that doesnt filter anything.

@AVVS, this is not really what I'm expecting from the feature of AsyncUnblock, since I DO want to load data on the server for the first time, and only when do in app navigation to take advantage of loading data after component is rendered.

This is the whole purpose of this app. What I'm saying is that you can load some data and then load all the data on the client. If you want to avoid blocking route transition - all you have to do is return null instead of promise - then the action will still be called, but it wont block the render

@AVVS, if i will return null and not Promise, then on the server side, loadOnServer will not wait till all data is loaded. This is not what i want actually

you can return promise on server side and null on client side

@AVVS it will not work if you have dependencies between two components which should be loaded in parallel one after another, since then ReduxAsyncConnect will start the next promise without waiting for the first one

I'd advise you to rework your routes structure into nested dependencies instead of handling it in the way you do right now. I had an idea to allow this to have explicit dependencies, but it ends up being too complicated. In case you really need that much control over loading props - there is a more flexible solution https://github.com/markdalgleish/redial - but its more complex as well

@AVVS is right with the comment above about nesting. I found this issue because I wanted to have a component that asyncConnects but isn't render blocking, but the solution is just simply adding as many nested routes as you need. It seems hacky but way less hacky than this PR 😄
<Route component={App}>
    // containers
</Route>

becomes
<Route component={AppLoading}>
    <Route component={App}>
        // containers
    </Route>
</Route>

Where the data comes from (pre-loaded on server, requested by client) doesn't matter, right? If you want to render something before reduxAsyncConnect/END_GLOBAL_LOAD, put it outside the async container.
Relevant help: https://github.com/Rezonans/redux-async-connect/issues/38


'npm run build' the first execution will check the eslint, not the second!

Version
3.1.0
Node and OS info
v8.11.3
Steps to reproduce

npm run build
this command will show eslint error
npm run build
second time i run then command not show error

What is expected?
show eslint error
What is actually happening?
not show eslint error

Well, provide a small github repository of a project that demonstrates the problem.

The same issue on build/serve tasks. Tried different versions node/npm, but no result.
But I discovered that removing .cache folder inside node_modules solves this issue.
.cache folder contains 3 folders: babel-loader, eslint-loader and vue-loader.
The weirdest thing is that my colleague with the same stack can not reproduce this issue.

Closing for inactivity.


Replace ingress relation with ingress-unit

Brings the ingress-unit relation into the existing PR to replace the ingress relation. Tested against a modified version of the prometheus-k8s PR.

Closing in favor of #3 since #1 was merged.


Add trailing slashes when using the @url directive

Since the site is static and all URLs map to static directories, Apache and IIS (not sure on nginx) redirect non-trailing slash URLs to trailing slash. This means that every link via @url will currently trigger a 301 redirect.
This removes the redirect by having all URLs in the "trailing slash" format

I think using a rewrite rule is something common for this case, no?
Here's a snippet from laravel's .htaccess file
RewriteRule ^(.*)/$ /$1 [L,R=301]

At the moment, there is always a 301 redirect because the links don't have trailing slashes and the server always uses trailing slashes because it is a directory based site (unlike laravel normally). If we link to the trailing slash version then we remove the unnecessary redirect entirely :). E.g. a network request from your site:

Oh I see now, thank you for the contribution :) Would love to check your katana powered website if you don't mind.

It's not live yet but i'll send you the link when it is
Hope you don't mind all the pull requests. I'm not trying to turn it into wordpress ;)

haha, no it's me who should thank you for your feedback and contributions. Please keep them coming :)


hello_xr is crashing on Quest 2 using Vulkan

Currently, I am trying to run the sample on the Quest 2 headset natively and the vkCreateDevice is failing with the error code VK_ERROR_FEATURE_NOT_PRESENT.
So it turns out that on the Quest 2 feature shaderStorageImageMultisample does not present. Also, I am running the system version v23 (currently the latest one).
I have seen issue #194 and as I understand currently that feature left enabled to silence the warning, but that was done for the first quest device and there were some system updates since then. So I am going to open a pr that is going to add a check if that feature is present and then turned it on, on the Oculus platform. I think this is the best solution to this issue.
Also if somebody has the first quest device please check if that warning is still present in the latest os version, if not maybe it is a good idea to get rid of that.

I am closing this issue as the pr is merged


⚠ Bofrost.fr has degraded performance

In 9fdae83, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1908 ms

Resolved: Bofrost.fr performance has improved in 2cb6d6f after 6 minutes.


feat: More semantic HTML & CSS theming

With this change, we include a couple of smaller changes on the HTML and
CSS side.
HTML:

Moving the author as a subheadline for an improved visbility
Using  element for listing further detailed information of
the theme or the author.

CSS:

Making use of CSS custom properties passing certain theme colors
into the main CSS as a custom property and use them for styling the
actual webview for each theme individually.
For A11Y we need to make sure to choose the color combinations wisely,
thus we choose the editor background and foreground color the
theme author has chosen for the theme itself. This means if the author
followed A11Y standards, we should meet those standards as well.

Example:

@MichaelJolley Sorry, I think my pre-installed Prettier messed up aka. reformatted the files on save. I could try to do the changes in the files, but not using prettier for formatting. Have you used some specific formatting rules on your local machine?

Narrow viewport:

I REALLY dig this @andi1984. One thing we need to account for: we don't have HSL on all themes so we can't depend on those properties to exist. In that case, we need to fail gracefully.

@all-contributors please add @andi1984 for code


Add "Guarded" on _.map iteratee's [fix #2036]

Certain underscore methods can be used as iteratee's to _.map. These
methods can be referred to as 'Guarded' methods. In pull request #2036 I
have requested that this functionality be included in the documentation
for _.map on index.html. I am following up with that pull request with
this one, which includes documentation that states exactly which methods
are guarded methods.
I am attempting to inform other Underscore developers of this great
functionality by marking appropriate functions as "Guarded" within
index.html. This "Guarded" statement uses the same CSS stylings as
span.alias.
Nothing has been changed besides the appropriate documentation shifts
described above. Screenshots will be included in pull request.

This is sweet! Thanks a bunch @amZotti

No, this isn't very awesome, I'm afraid — although I appreciate the effort.
"Guarded" is a weird word to use for this, and won't be clear at first read.  It would be better for us to remove this little flag, and simply demonstrate a useful example of using the documented function as an iteratee for each function where that applies.

@jashkenas I think the explanation can defintely be improved (e.g. a section and each gaurded linking to it), but the documentation should be included for what is gaurded and isn't


Go 1.13

Description of the change:
Upgrade the repo to use go v1.13.
Previous efforts in here, https://github.com/operator-framework/operator-sdk/pull/1949
Motivation for the change:
Homebrew build is using go v1.13, https://github.com/Homebrew/homebrew-core/pull/45185
Also personal interest to bump the repo to use the latest golang offering.

/ok-to-test

/ok-to-test

@chenrui333 You can use #1949 to find the changes I made that I mentioned above. That PR also has the dep removal included as well, but for the sake of smaller PRs, I'd suggest ignoring those changes.

circle back on this now. Thanks for the direction, @joelanford !

looks like the pipeline:root still tagged by openshift/release:golang-1.12
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/operator-framework_operator-sdk/2040/pull-ci-operator-framework-operator-sdk-master-unit/2429/build-log.txt
https://storage.googleapis.com/origin-ci-test/pr-logs/pull/operator-framework_operator-sdk/2040/pull-ci-operator-framework-operator-sdk-master-sanity/2432/build-log.txt

Relates to https://github.com/openshift/release/pull/5443

@chenrui333 It turns out we need the --dep-manager removal from #1949 a little sooner than I thought (for #2083). Since #1949 has those changes and is passing CI, I'm going to close this in favor of that.
Sorry about the mixup, and thanks for the contribution and assistance!


A few docstring are missing

When looking at the available docstring, a few are missing :

OK, thanks !
Next PR will fix this :-)


Moving Aiven custom plans article

and fixing couple of things along the way:

bs4 for python3
image in the wrong place
etc small fixes

Closes https://github.com/aiven/devportal/issues/1068

Hi @z0r1k, the build is currently failing, could you please have a look at the errors?

I’ll have no time and to be frank desire to work on it anymore so I’ll close this PR. If someone wants to pick it up - you are welcome.
Thanks.

thanks for letting us know about your availability. No need to close, we can pick it up between the others and not waste the work done already.

I've rebased this to keep the custom plans article content from @z0r1k - but there's a great example in it of when our trademark rules make less sense than normal. @TibsAtWork could you take a look and figure out if we should maybe code/literal format the values (a bit of a hack), mention the products earlier, or something else?

I rebased, changed the wording slightly and added the two techs as example. I believe now this is a good fit for devportal but a second pair of eyes is needed


Unable to load kas-isar:2.6.3 image

Hello Team,
I am getting below error while executing the .gitlab-ci.yml (https://github.com/siemens/meta-iot2050/blob/master/.gitlab-ci.yml) file on my GitLab runner.
What changes should be done to resolve this error?
Running with gitlab-runner 14.8.[2]
on i***s2 yqi348XN
feature flags: FF_NETWORK_PER_BUILD:true
Preparing the "docker" executor
00:09
ERROR: The "ghcr.io/siemens/kas/kas-isar:2.6.3" image is not present on list of allowed images:

azul/:
buildpack-deps:*
circleci/node:*
cirrusci/android-sdk:*
cirrusci/flutter:*
composer:*
conanio/:
gcc:*
golang:*
gradle:*

Regards,
Girish M

Limitation of your local gitlab or, rather, of the its runner pool. It does not list kas-isar a permitted image. Moreover, it will likely also not support the privileged execution of those images which is needed for the build system. Clarify with your admins.

Likely obsolete now.


CLOUD-481 Monitoring test fix for openshift

Test name
Status

init-deploy
passed

self-healing
failed

big-data
passed

recreate
passed

scaling
passed

scaling-proxysql
passed

self-healing-advanced
passed

storage
failed

demand-backup
passed

upgrade
passed

operator-self-healing
passed

upgrade-consistency
passed

one-pod
passed

limits
passed

scheduled-backup
failed

monitoring
passed

auto-tuning
passed

monitoring-2-0
passed

affinity
passed

proxysql-sidecar-res-limits
passed


It wasn't clear

Is this extension for additional network?
I looked at the readme and was left wondering.

I think the "NOT" is very clear


Use RSA PSS salt length equals hash - fix validation issue.

Use salt length equals hash in RSA PSS sign methods. Fixes #285.
The fix is compatible with previous versions - tokens generated by the current version are verified by previous and vice versa.
Feel free to fix minor things in PR by yourself.

Fix until this is merged and released:
func patchJwtLibraryBug() { 	jwt.SigningMethodPS256.Options.SaltLength = rsa.PSSSaltLengthEqualsHash 	jwt.SigningMethodPS384.Options.SaltLength = rsa.PSSSaltLengthEqualsHash 	jwt.SigningMethodPS512.Options.SaltLength = rsa.PSSSaltLengthEqualsHash }
Call this in your program's main init() block


Target lost on screen rotation when request with additional parameters

Target lost on screen rotation when request with additional parameters
when we get permission dialog and then rotate phone we will get our old target lost,
and new target wont be reassigned because PENDING_HANDLEWRITESTORAGEACTION != null while target == null. So permission will be granted but bundle lost and target.handleWriteStorageAction(bundle); never called
version: 3.3.1
Approximate steps:
@NeedsPermission(WRITE_EXTERNAL_STORAGE)
protected abstract void handleWriteStorageAction(@Nullable Bundle bundle)

PermissionWriteStorageFragmentPermissionsDispatcher.handleWriteStorageActionWithPermissionCheck(fragment, bundle);

//This leads to generation following:

private static GrantableRequest PENDING_HANDLEWRITESTORAGEACTION;

//here, if we rotate phone, we can get non-null PENDING_HANDLEWRITESTORAGEACTION
 while target == null  and i assume here we should check something like target != null
 and set new target here instead of directly grant() on nothing

static void onRequestPermissionsResult(PermissionWriteStorageFragment target, int requestCode,
     int[] grantResults) {
   switch (requestCode) {
     case REQUEST_HANDLEWRITESTORAGEACTION:
     if (PermissionUtils.verifyPermissions(grantResults)) {
       if (PENDING_HANDLEWRITESTORAGEACTION != null) {
         PENDING_HANDLEWRITESTORAGEACTION.grant();
       }

 private static final class PermissionWriteStorageFragmentHandleWriteStorageActionPermissionRequest implements GrantableRequest {
   private final WeakReference<PermissionWriteStorageFragment> weakTarget;

   private final Bundle bundle;

       @Override
   public void grant() {
     PermissionWriteStorageFragment target = weakTarget.get();
     if (target == null) return;
     target.handleWriteStorageAction(bundle);
   }

thx. it can be happened and quite difficult to fix since we're using WeakReference.. 🤔
I suppose workaround for the issue is make Activity/Fragment un-recreatable.


adding margins for p, ul and li in blog article page

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--sling--aemsites.aem.live/whatson/sports/college-football/watch-alabama-football-live
After: https://233-firstpara--sling--aemsites.aem.live/whatson/sports/college-football/watch-alabama-football-live

not working on button changes as it has in other PR


turn off symlink for pretrained.fetching

Hi,
I have been using a pretrained model and a following line of code:
asr_model.transcribe_file(hparams["audio_dir"] + data["file_path"][1:])

Generates a ton of symlink audio files in the project folder and my working space becomes completely cluttered.
I've spotted that it happens because of this function: https://speechbrain.readthedocs.io/en/latest/API/speechbrain.pretrained.fetching.html.
Is it possible to turn it off somehow while using a pretrained model?  I would like to use real paths to files rather than symlinks, audio files are just in a different folder in my working space. The model is created with:
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-rnnlm-librispeech",
                                           savedir="./uncertainty_baselines/notebooks/pretrained_ASR")

Good timing for asking about this; we just discussed the same thing in PR #1268. I've sketched an outline for some changes, which I intend to implement soonish.

Alright thanks, great.  From the developer's perspective, it would be good to have! I will keep the issue open until PR is merged


IPicker type declarations problem

It seems like there are a few properties (onColorChange, onColorSelected, defaultColor, color) declared as required in IPicker, although even the example usage snippet shows they are optional and so does runtime. This triggers code assist to treat omitting them as an error.

Yup, indeed it fixes this problem, I will close the issue after it is merged into master


Resize disk leads to qcow2 corruption

Bug Report
Version of OpenNebula

[ ] 5.2.2
[ ] 5.4.0
[ ] 5.4.1
[ ] 5.4.2
[x] 5.4.3 (proably 5.4.x as well)
[x] Development build

Component

[ ] Authorization (LDAP, x509 certs...)
[ ] Command Line Interface (CLI)
[ ] Contextualization
[ ] Documentation
[ ] Federation and HA
[ ] Host, Clusters and Monitorization
[ ] KVM
[ ] Networking
[ ] Orchestration (OpenNebula Flow)
[ ] Packages
[ ] Scheduler
[x] Storage & Images
[ ] Sunstone
[ ] Upgrades
[ ] User, Groups, VDCs and ACL
[ ] vCenter

Description
Resize disk leads to qcow2 corruption and VM interruption
Expected Behavior
Disk IMAGE gets resized without VM interruption / IMAGE corruption
Actual Behavior
How to reproduce
Use disk-resize on a VM with a Qocw2 image while it is in the "RUNNING" state. Some disk IMAGES get corrupted instantly but OpenNebula will report succes and report new size. You will find qemu logging with corruption message:
qcow2: Marking image as corrupt: Preventing invalid write on metadata (overlaps with active L1 table); further corruption events will be suppressed
See also this forum thread: https://forum.opennebula.org/t/resize-disk-leads-to-qcow2-corruption/5358
Solution: use "virsh blockresize one-$ID vda --size $SIZE" instead of qemu-monitor command.
Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

PR to merge: https://github.com/OpenNebula/one/pull/1822


Audio File Library: WAVE file data format 0x31 not currently supported != 0xfffe ? 1, != EXTENSIBLE? 1 [error 0]
normalize-audio: error reading /tmp/foo/interstitial01-tmp-norm.sln
/tmp/foo/interstitial01-tmp.wav -> /tmp/foo/interstitial01.sln44
sox WARN compand: compand clipped 485 samples; decrease volume?
sox WARN dither: dither clipped 420 samples; decrease volume?
/tmp/foo/interstitial05-tmp.wav -> /tmp/foo/interstitial05.sln
sox WARN compand: compand clipped 9 samples; decrease volume?
sox WARN dither: dither clipped 8 samples; decrease volume?
Audio File Library: WAVE file data format 0x31 not currently supported != 0xfffe ? 1, != EXTENSIBLE? 1 [error 0]
normalize-audio: error reading /tmp/foo/interstitial05-tmp-norm.sln
/tmp/foo/interstitial05-tmp.wav -> /tmp/foo/interstitial05.sln44
sox WARN compand: compand clipped 83 samples; decrease volume?
sox WARN dither: dither clipped 73 samples; decrease volume?

if this is a requirement missing from my box, see https://github.com/kra/futel-installation/blob/master/asteriskserver/deploy/requirements_packages_generic.yml
for example I needed to add libsox-fmt-mp3 to get the script to work earlier


Bad structure of HTTP GET request for episodes

In documentation page, I found this issue to get a single episode.
https://rickandmortyapi.com/api/location/episode/28
The API for episodes doesn´t work with /location, when it should be:
https://rickandmortyapi.com/api/episode/28

@jdaguilar good catch.
Thanks!
I'm releasing a fix here: https://github.com/afuh/rick-and-morty-api-site/pull/61


Implement simple vector and tensor types

To not depend on external libraries and to provide correct, fast, and simple examples of LA usage with quantities we need simple vector and tensor types (up to 3 dimensions) together with the following operations:

a + b - addition where both arguments should be of the same quantity kind and character
a - b - subtraction where both arguments should be of the same quantity kind and character
a % b - modulo where both arguments should be of the same quantity kind and character
a * b - multiplication where one of the arguments has to be a scalar
a / b - division where the divisor has to be scalar
a ⋅ b - dot product of two vectors
a × b - cross product of two vectors
|a| - magnitude of a vector
a ⊗ b - tensor product of two vectors or tensors
a ⋅ b - inner product of two tensors
a ⋅ b - inner product of tensor and vector
a : b - scalar product of two tensors

Hi. I have a few questions regarding this issue:

Should tensors of arbitrary rank be supported, or will the rank be capped, since most "normal" physics does not require more than rank-4 tensors? (Even those are rather rare. The only two rank-4 tensors I could think of off the top of my head were the elasticity tensor and the Riemann curvature tensor)
When you speak of inner products between tensors or a tensor and a vector, do you actually mean contractions? So, e.g., if a_ij, and b_jk denote the components of two rank-2 tensors is (a ⋅ b)_ik = Σ_j a_ij b_jk?
What do you mean with "scalar product of two tensors"? I have never heard of such a thing. The way I remember it from my physics studies is that "scalar products" is a synonym for "inner products" which (for non-complex fields) are positive definite, symmetric, bilinear forms. That means, they map two vectors to a positive scalar value, not tensors of other rank. I think I heard people use the term inner product between tensors to talk about what I know as contractions, hence my second question. However, I really don't know what a scalar product of two tensors should then be.

Ad 3. Seems like I was a bit off with my terminology. According to Wikipedia, "scalar product" is a synonym for "dot product". This does not help my confusinon though, since the dot product is just a special case of an inner product.

Should tensors of arbitrary rank be supported, or will the rank be capped, since most "normal" physics does not require more than rank-4 tensors? (Even those are rather rare. The only two rank-4 tensors I could think of off the top of my head were the elasticity tensor and the Riemann curvature tensor)

Yes, you are right. ISO-80000 part 2 only provides operations on tensors of the second and fourth order.

When you speak of inner products between tensors or a tensor and a vector, do you actually mean contractions? So, e.g., if a_ij, and b_jk denote the components of two rank-2 tensors is (a ⋅ b)_ik = Σ_j a_ij b_jk?

Yes, it is how ISO 80000-2 defines them. Please contact me via email, and I will send you more details if needed.

What do you mean with "scalar product of two tensors"?

ISO 80000-2 defines a scalar product of two tensors T and S of the second order as $T : S = \sum_i\sum_jT_{ij} S_{ij}$ and the result is a scalar quantity.

Thank you for clarifying. It seems like I should have just read ISO 80000-2 😅. I won't have time in the foreseeable future to work on this issue, but if it is still open when I have less on my plate, I'd be happy to help with it.
Also, I didn't know that I can use $\LaTeX$ here. That's cool.

Why artificially limit to 3 dimensions?

My understanding is that ISQ talks only about Cartesian (orthonormal) coordinates in ordinary space. This even means that we do not have to provide 1- and 2-dimensional vectors to support ISQ. I proposed to support them because it should be quite easy and would allow us to model specific scenarios for some quantities.

What does it even mean to take the "modulo" of vectors or tensors?

You are right; this operation probably makes sense for scalars only.

We could do this, for 3 dimensions only.

And this is why I said that we need 3-dimensional vectors and matrices/tensors.

But the cross product operation is a hacky kludge, mathematically. It's just a disguised wedge product, which would be valid for arbitrary dimensions.

Agree, but this is how ISQ defines its quantities. And we need to support it as well as all others with the same priority.

To be clear, I do not want to invent a new full-blown LA library here. We need two simple types working on three components (possibly also less) and a bunch of operations on them. That is it. If someone wants to do more advanced stuff, there are always Eigen, Blaze, and other beautiful libraries out there. We will also provide some interop examples with them, if possible.

Those types are only meant to be used as representation types of vectors and tensor quantities in this library and will mostly be useful for our unit testing and examples. We may also expose them in the library interface to our users, but we will not force their usage. Alternatives should also be easy to use.
Those types will not be used to model huge vectors or matrices of quantities (even if homogeneous). For that, we already have many LA libraries.

If we're going that route, I suggest not even making the dimensionality configurable at all.  Just keep it simple and use 3D vectors.

I'm used to handle 6 degree of freedom (3 distances & 3 orientaton angles) in a 3D carthesian world, hence I'm often use 6D-vectors. E.G. for 'locations' ([m],[m],[m],[rad],[rad],[rad]) and for 'forces' ([N],[N],[N],[Nm],[Nm],[Nm]) etc.
I realize that this can also be set up differently, e.g. as a struct of 2 3D vectors.
But it worries me to have to do this in order to benefit from your great work.

@Spammed, a full "linear algebra + quantities" solution would be able to handle this.  We would need interfaces to provide a separate unit for each index, and facilities for correctly combining them in matrix multiplication.
And it's known how to do this --- but there just isn't an open source library that provides this yet.  Daniel Withopf began presenting one solution publicly back in 2021, but it's a closed source library that's internal to Bosch.  Also in 2021, I implemented a proof of concept for wrapping Eigen with this kind of interface, and showed zero runtime performance loss.  I presented this idea in this segment of my CppCon talk, but I didn't get a chance to implement actual usable end-user interfaces, so this still isn't implemented in Au yet (see aurora-opensource/au#70 to track progress, but know that it will be a while before we start).
All of which is to say: what you want is possible and desirable, even with a single vector (not a struct of 2 3D vectors), but the stopgap solution in this present issue won't give it to you, and I don't know of any open source solutions that are planned with a known timeframe (this is planned for Au, but there is no timeframe, and we surely won't start on it in 2024).

Thank you very much for your response and for addressing and summarizing the problem. I greatly appreciate the work of all of you and know that your joint deliberations are leading step by step to a better future.


Decodable EmptyResponse

Making EmptyResponse conform to Decodable to avoid branching logic between empty responses and JSON responses

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I believe the reason this is not marked as Decodable is because many projects have different requirements for an empty response. Some might mean 'any response' while other's might need a completely empty response. This seems like it would break that.
If you are using master, does EmptyDecodingStrategy solve your problem? There is a .default strategy which will take any response as a success, and a .validatedEmpty strategy which will ensure the response is empty before succeeding. More info here: https://github.com/BottleRocketStudios/iOS-Hyperspace/blob/master/Documentation/Guides/Handling Empty Responses.md (It's still in 'beta', so any feedback is appreciated)

Warnings

:warning:
No CHANGELOG entry added.

  Generated by :no_entry_sign: Danger Swift against 6fcb7416efdef6ed937e388c5e6dd11fa9b10ece

Codecov Report

Merging #132 (6fcb741) into master (5025255) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #132   +/-   ##
=======================================
  Coverage   94.64%   94.64%
=======================================
  Files          54       54
  Lines        1680     1680
=======================================
  Hits         1590     1590
  Misses         90       90

Impacted Files
Coverage Δ

Sources/Hyperspace/Request/Request.swift
81.81% <ø> (ø)

Continue to review full report at Codecov.

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


Upsert?

jOOQ 3.9.0 seems to have added support for PostgreSQL's INSERT INTO ... ON CONFLICT (AKA upsert) feature. Will this be added to Suricatta?

sure


Expression with logical operators and relations

Opening examples/gcd.gcl, we get the type error "Cannot unify: Bool with : Int":

Adding parentheses around A > 0 and B > 0 (that is, (A > 0) ∧ (B > 0)) resolves the problem, for a while I guess it is a parsing error: logical operators (e.g. (∧)) should bind looser than relations.
However, omitting the type error, I also get the funny looking global property A > 0 ∧ (0 ∧ B > 0):

It might be the case that there is something weird going on within the parser.

Modified the precedence of connection and disjunction. The issue should be fixed.

On my machine here the issue still persists. I get a different global property A > (0 ∧ B) ∧ (0 ∧ B) > 0, however.

Should be the issue of how to interpret the Chain constructor.

Pushed to master, the issue should be fixed.

Pushed to master branch, the issue should be fixed.


Possible infinite loop in WavpackPackInit

When WavpackContext is configured for zero channels (although it isn't a viable usecase) the WavpackPackInit() ends in infinite loop. I suspect the following code:
https://github.com/dbry/WavPack/blob/22977b29c20f55fb27decfb9ad40d531599fa2b1/src/pack_utils.c#L519-L520
(v5.1.0)

Thanks for pointing this out. I was already made aware of this and decided to fix it in the individual parsers instead of in the library. You can see those fixes here and here for example.
I agree that it should be checked for in the library and will do that before the next release, but I think it would be silly to backport this into previous versions because, unlike the decoder, the encoder would never be the default handler for any file type.
Thanks again!


Allow access to GlobalRole and GlobalRoleBindings.

This commit allows steve access as well as documents and generates the CRDs for installation.
Problem
Users need the ability to create GlobalRoles and GlobalRoleBindings with Steve or kubectl
Solution
Document CRDs and make them accessible through steve.
Testing
Cover by current CI

@maxsokolovsky @MbolotSuse Had to update the Python integration test to pass CI now that description is ,omitempty
https://github.com/rancher/rancher/pull/42667/files#diff-9c7b52cf0c0e351997ad6cebb06cd3e6507b1720deafecc31870bf7a6eba9476


uv pip install HTTP status client error (405 Method Not Allowed) for private azure package index

Hello! Very excited for this project ❤
Installing a package from a private azure package index (Azure Artifacts) seems to be failing with a HTTP status client error (405 Method Not Allowed):
uv pip install --extra-index-url<EMAIL_ADDRESS>package-name
error: Failed to download: package-name==X.Y.Z
  Caused by: HTTP status client error (405 Method Not Allowed) for url (pkgs.dev.azure.com/<ORGANIZATION_NAME>/_packaging/.../pypi/download/package-name/X.Y.Z/package_name-X.Y.Z-py3-none-any.whl#[sha256=])

The equivalent pip-native command works as expected
python -m pip install --extra-index-url<EMAIL_ADDRESS>package-name

Thank you! Will take a look.

Same here - Really want to test (and replace pip with) uv but waiting for Azure artifacts support :( !

Yep this is a priority for me next week!

+1. Same issue for me.

I believe this is the same as https://github.com/astral-sh/uv/issues/1458 (lack of support for HEAD requests).

Okay, @olivierlefloch fixed HEAD requests, but there's now an auth problem. @zanieb, do you want to take from here?

Thank you all!
I can confirm that on uv 0.1.6 this is no longer giving 405 Method Not Allowed but a 401 Unauthorized
uv pip install --extra-index-url<EMAIL_ADDRESS>package-name
error: Failed to download: package-name==X.Y.Z
  Caused by: HTTP status client error (401 Unauthorized) for url (pkgs.dev.azure.com/<ORGANIZATION_NAME>/_packaging/.../pypi/download/package-name/X.Y.Z/package_name-X.Y.Z-py3-none-any.whl#[sha256=])

Same for gitlab hosted private package index: getting a 401 Unauthorized.

Hi! We just merged a fix with #1874 that's out in v0.1.8 — let me know if that helps. I'll continue testing against various private repositories.

Same here, 401 Unauthorized for Azure Artifacts with uv 0.1.8

For my own sanity, this is also being tracked in https://github.com/astral-sh/uv/issues/1709

A fix is up at https://github.com/astral-sh/uv/pull/1886 if anyone wants to give it a try against a private index.

Verified working on azure artifacts feed using token authentication!!
Incredible work @zanieb, @olivierlefloch and @charliermarsh 🚀

I can confirm as well ❤ Thank you so much!


[IDSEQ-1984] Change taxon search query type to match and remove wildcards

Description

Changes the logic of taxon search to use a query by match. This type of query matches multiple strings in a fuzzy way according to the operator specified (and in this case). match is the query type recommended by ElasticSearch for full-text search.
Level of fuzziness is automatic computed based on the size of the query string
Previously, we were using the query_string query type. Together with the use of wildcards made the results hard to understand.

Notes

Jira: https://jira.czi.team/browse/IDSEQ-1984

Tests

Tested search suggestions and for several pathogens and the results seem more logical and easy to understand.
Query "wuhan mosquito" returns:
Before:

Wuhan tick virus 2
Wuhan ledantevirus

Now:
Wuhan Mosquito Virus 9
Wuhan Mosquito Virus 6
Wuhan Mosquito Virus 4
Wuhan mosquito orthophasmavirus 2
Wuhan mosquito orthophasmavirus 1
Wuhan Mosquito Virus 8

For your "wuhan" example, I'm glad that it returns more results, but I'm a little worried that the previous results (Wuhan tick virus 2) seem to have disappeared. Is that an issue?
Also, did you mean to leave the wildcard characters in? I ask because in your title and comment you mention "removing wildcards"

For your "wuhan" example, I'm glad that it returns more results, but I'm a little worried that the previous results (Wuhan tick virus 2) seem to have disappeared. Is that an issue?

This was my error describing the example. The final example I used was actually "wuhan mosquito", but forgot to change the description.

Also, did you mean to leave the wildcard characters in? I ask because in your title and comment you mention "removing wildcards"

No, thanks! Must have lost the change as I was cleaning the code. Updated.

Also, as a sidenote, we do have stored all the strings that people have searched by, and the number of results, which we can use to optimize search further.

Do not really see much point of optimizing here... but


"Wrong number of children"

Describe the bug
A couple folks including me tried bumping Datafusion to v36 in Delta-RS but to no avail since we all are running in this Wrong number of children error. Which at that time I read is something in the optimizer?
Here are failing actions: https://github.com/delta-io/delta-rs/actions/runs/8339625658/job/22821968902#step:4:1
https://github.com/delta-io/delta-rs/actions/runs/8472960661/job/23243814572#step:4:1
I'm curious if you guys would know the issue, perhaps it's something that we missed
To Reproduce
Not sure, but our tests will failed in this branch: https://github.com/delta-io/delta-rs/pull/2214
Expected behavior
No response
Additional context
No response

If you can post a PhysicalPlan for one of the failing test cases. That might help to understand the problem better, then we can replicate it in this repo. As an educated guess, it might be related to the

wrong fn children implementation for one of the custom ExecutionPlans in your repo (if you have those).

@mustafasrepo not sure if this is the full plan, but this is what I get when I do dbg!,
crates/core/src/operations/delete.rs:158:5] filter.clone() = FilterExec {
    predicate: NotExpr {
        arg: BinaryExpr {
            left: BinaryExpr {
                left: GetIndexedFieldExpr {
                    arg: Column {
                        name: "props",
                        index: 1,
                    },
                    field: NamedStructField {
                        name: Utf8("a"),
                    },
                },
                op: Eq,
                right: Literal {
                    value: Utf8("2021-02-02"),
                },
            },
            op: IsNotDistinctFrom,
            right: Literal {
                value: Boolean(true),
            },
        },
    },
    input: DeltaScan {
        table_uri: "memory://",
        config: DeltaScanConfig {
            file_column_name: None,
            wrap_partition_values: false,
            enable_parquet_pushdown: false,
        },
        parquet_scan: ParquetExec {
            pushdown_filters: None,
            reorder_filters: None,
            enable_page_index: None,
            enable_bloom_filter: None,
            base_config: object_store_url=ObjectStoreUrl { url: Url { scheme: "delta-rs", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("memory--")), port: None, path: "/", query: None, fragment: None } }, statistics=Statistics { num_rows: Exact(4), total_byte_size: Inexact(898), column_statistics: [ColumnStatistics { null_count: Exact(0), max_value: Absent, min_value: Absent, distinct_count: Absent }, ColumnStatistics { null_count: Absent, max_value: Absent, min_value: Absent, distinct_count: Absent }] }, file_groups={1 group: [[part-00001-ae8f2178-b18d-4bc8-b333-3e73be1076cb-c000.snappy.parquet]]}, projection=[id, props],
            projected_statistics: Statistics {
                num_rows: Exact(4),
                total_byte_size: Inexact(898),
                column_statistics: [
                    ColumnStatistics {
                        null_count: Exact(0),
                        max_value: Absent,
                        min_value: Absent,
                        distinct_count: Absent,
                    },
                    ColumnStatistics {
                        null_count: Absent,
                        max_value: Absent,
                        min_value: Absent,
                        distinct_count: Absent,
                    },
                ],
            },
            projected_schema: Schema {
                fields: [
                    Field {
                        name: "id",
                        data_type: Utf8,
                        nullable: true,
                        dict_id: 0,
                        dict_is_ordered: false,
                        metadata: {},
                    },
                    Field {
                        name: "props",
                        data_type: Struct(
                            [
                                Field {
                                    name: "a",
                                    data_type: Utf8,
                                    nullable: true,
                                    dict_id: 0,
                                    dict_is_ordered: false,
                                    metadata: {},
                                },
                            ],
                        ),
                        nullable: true,
                        dict_id: 0,
                        dict_is_ordered: false,
                        metadata: {},
                    },
                ],
                metadata: {},
            },
            projected_output_ordering: [],
            metrics: ExecutionPlanMetricsSet {
                inner: Mutex {
                    data: MetricsSet {
                        metrics: [
                            Metric {
                                value: Count {
                                    name: "num_predicate_creation_errors",
                                    count: Count {
                                        value: 0,
                                    },
                                },
                                labels: [],
                                partition: None,
                            },
                        ],
                    },
                },
            },
            predicate: None,
            pruning_predicate: None,
            page_pruning_predicate: None,
            metadata_size_hint: None,
            parquet_file_reader_factory: None,
        },
        logical_schema: Schema {
            fields: [
                Field {
                    name: "id",
                    data_type: Utf8,
                    nullable: true,
                    dict_id: 0,
                    dict_is_ordered: false,
                    metadata: {},
                },
                Field {
                    name: "props",
                    data_type: Struct(
                        [
                            Field {
                                name: "a",
                                data_type: Utf8,
                                nullable: true,
                                dict_id: 0,
                                dict_is_ordered: false,
                                metadata: {},
                            },
                        ],
                    ),
                    nullable: true,
                    dict_id: 0,
                    dict_is_ordered: false,
                    metadata: {},
                },
            ],
            metadata: {},
        },
    },
    metrics: ExecutionPlanMetricsSet {
        inner: Mutex {
            data: MetricsSet {
                metrics: [],
            },
        },
    },
    default_selectivity: 20,
}

This is by the way the fn children, I don't see anything weird if I look at what the trait shows
pub struct DeltaScan {
    /// The URL of the ObjectStore root
    pub table_uri: String,
    /// Column that contains an index that maps to the original metadata Add
    pub config: DeltaScanConfig,
    /// The parquet scan to wrap
    pub parquet_scan: Arc<dyn ExecutionPlan>,
    /// The schema of the table to be used when evaluating expressions
    pub logical_schema: Arc<ArrowSchema>,
}

    fn children(&self) -> Vec<Arc<dyn ExecutionPlan>> {
        vec![self.parquet_scan.clone()]
    }

    fn with_new_children(
        self: Arc<Self>,
        children: Vec<Arc<dyn ExecutionPlan>>,
    ) -> DataFusionResult<Arc<dyn ExecutionPlan>> {
        ExecutionPlan::with_new_children(self.parquet_scan.clone(), children)
    }

I think, changing implementation below
    fn with_new_children(
        self: Arc<Self>,
        children: Vec<Arc<dyn ExecutionPlan>>,
    ) -> DataFusionResult<Arc<dyn ExecutionPlan>> {
        ExecutionPlan::with_new_children(self.parquet_scan.clone(), children)
    }

to something like
    fn with_new_children(
        self: Arc<Self>,
        children: Vec<Arc<dyn ExecutionPlan>>,
    ) -> Result<Arc<dyn ExecutionPlan>> {
        // Make sure to received single child
        // It should be updated new parquet_scan.
        assert_eq!(children.len(), 1);
        Arc::new(DeltaScan {
            table_uri: self.table_uri.clone(),
            config: self.config.clone(),
            parquet_scan: children[0].clone(),
            logical_schema: self.logical_schema.clone(),
        })
        // ExecutionPlan::with_new_children(self.parquet_scan.clone(), children)
    }

might solve the problem (Just brainstorming, I didn't try it). I am not sure, what ExecutionPlan::with_new_children(self.parquet_scan.clone(), children) does. However, this line might be the root cause of the problem.

@mustafasrepo thanks for the tips! It's resolved now


⚠ Bofrost.hr has degraded performance

In d9494d0, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 13678 ms

Resolved: Bofrost.hr performance has improved in 9017878.


Footer should be fixed in the bottom of User ViewPort

Description
As the footer in the middle of page, should be fixed.

Additional Information
I am working on this

@hsluoyz this can now be closed. Ref https://github.com/casbin/casbin-dashboard/pull/8#pullrequestreview-372666586

Fixed by: https://github.com/casbin/casbin-dashboard/commit/c823377bd2c260f0cfab361ef1d0bdf405d13036


Energyplus 9.3.0 support

fixes #44
Signed-off-by: Antoine Galataud<EMAIL_ADDRESS>

Thanks. Please let me verify the code.


fix #3

add regex on "element" query
fix #3

@reinaldosg Did you check the approach with an HTTP request client like Postman? If yes, then please share the screenshot otherwise please do :)

Sorry for late respond.
Image below is element data in my db

And this is how I tested using Postman


Access forbidden

Hi,
I have a forbidden access, any idea ?

Hi Cedric,
It is a known issue when not using management groups. The easiest way to fix it is by disabling the Management Groups query from the Query Editor. Please see the picture below for more details.
Thank you for the feedback


Unexpected Closing Flutter Docotor

command
flutter doctor
exception
ArgumentError: Invalid argument(s): Cannot find executable for /home/naveen/Android/Sdk/platform-tools/adb.
#0      _getExecutable (package:process/src/interface/local_process_manager.dart:115)
#1      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:86)
#2      _runWithLoggingSync (package:flutter_tools/src/base/process.dart:286)
#3      runSync (package:flutter_tools/src/base/process.dart:261)
#4      getAdbDevices (package:flutter_tools/src/android/android_device.dart:527)
#5      AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device.dart:40)
#6      PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:132)
#7      DeviceManager.getAllConnectedDevices.<anonymous closure> (package:flutter_tools/src/device.dart:88)
#8      ExpandIterator.moveNext (dart:_internal/iterable.dart:480)
#9      _IterablePendingEvents.handleNext (dart:async/stream_impl.dart:528)
#10     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:654)
#11     _rootRun (dart:async/zone.dart:1120)
#12     _CustomZone.run (dart:async/zone.dart:1001)
#13     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:928)
#14     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#15     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#16     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:99)
#17     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:152)

flutter doctor
encountered exception: Invalid argument(s): Cannot find executable for /home/naveen/Android/Sdk/platform-tools/adb.

#0      _getExecutable (package:process/src/interface/local_process_manager.dart:115)
#1      LocalProcessManager.runSync (package:process/src/interface/local_process_manager.dart:86)
#2      _runWithLoggingSync (package:flutter_tools/src/base/process.dart:286)
#3      runSync (package:flutter_tools/src/base/process.dart:261)
#4      getAdbDevices (package:flutter_tools/src/android/android_device.dart:527)
#5      AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device.dart:40)
#6      PollingDeviceDiscovery.devices (package:flutter_tools/src/device.dart:132)
#7      DeviceManager.getAllConnectedDevices.<anonymous closure> (package:flutter_tools/src/device.dart:88)
#8      ExpandIterator.moveNext (dart:_internal/iterable.dart:480)
#9      _IterablePendingEvents.handleNext (dart:async/stream_impl.dart:528)
#10     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:654)
#11     _rootRun (dart:async/zone.dart:1120)
#12     _CustomZone.run (dart:async/zone.dart:1001)
#13     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:928)
#14     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#15     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#16     _Timer._runTimers (dart:isolate-patch/timer_impl.dart:375)
#17     _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:394)
#18     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)

I wouldn't expect flutter doctor to crash.  @tvolkert would know.

@AstroProgrammer is there any output from flutter doctor above the stack trace (e.g. some version info)?
Is output any better if you run flutter upgrade then re-run flutter doctor?

@AstroProgrammer in addition to trying the upgrade that @cbracken listed, can you also paste the output of running flutter doctor -v?


Error in Terminal ,figure out one basic sass error in gulp

solved here #122

needs to be closed now as now no such error is happening atleast for me.

@aayusharora you can close this issue.


Get-PartnerCustomerOffer - Returns LIST instead of Array

We are trying to convert from the old module and the command we used before was:
Get-PCOffer -CountryId "GB" -LocaleId "en-US"

This returns PowerShell objects like a normal cmdlet so you can pass Where-Object to it.
It was achieved by this code "transformation"
function _applyTypes {
   param($item,$type)
   $item.PSObject.TypeNames.Insert(0, $type)
}

function _formatResult {
    param ($obj, $type)
    try
    {
        if($obj.items)
        {
            foreach($item in $obj.items){_applyTypes -item $item -type $type}
            return $obj.items
        }
    }
    catch
    {
        _applyTypes -item $obj -type $type
        return $obj
    }
}

Inside the command:
            $response = Invoke-RestMethod -Uri $url -Headers $headers -ContentType "application/json" -Method "GET" #-Debug -Verbose
            $obj += $response.Substring(1) | ConvertFrom-Json
            return (_formatResult -obj $obj -type "Offer")

New command however returns a LIST... so you cannot treat is a an PS Object.

Example:
$OfferTest = Get-PartnerOffer -CountryCode "GB"  | Where-Object {$_.Name -like "Microsoft Azure"}
PS C:\> $OfferTest = Get-PartnerOffer -CountryCode "GB"  | Where-Object {$_.Name -like "Microsoft Azure"}
$OfferTest.GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     List`1                                   System.Object

This is because the format is LIST in CSharp code here:
https://github.com/Microsoft/Partner-Center-PowerShell/blob/4b03067143bd80204e11394cd04c40a2c015405e/src/PowerShell/Commands/GetPartnerOffer.cs
            WriteObject(
                offers
                    .Where(o => o.IsAddOn == isAddOn && o.IsTrial == isTrial)
                    .Select(o => new PSOffer(o))
                    .ToList());

Workaround is to pass it through a loop:

$ArrayTest = @()
 ForEach ($OfferStuff in $OfferTest)
 {
    $ArrayTest += $OfferStuff

 }
 $ArrayTest |  Where-Object {$_.Name -like "Microsoft Azure"}

OfferId                : MS-AZR-0145P
Name                   : Microsoft Azure
Billing                : Usage
MaximumQuantity        : 999999999
SupportedBillingCycles : {Monthly}
IsAddOn                : False
IsTrial                : False

Can the object be changed in CSharp from a list to an array please so it behaves like proper PowerShell cmdlet?

I found a better workaround:
$Offer = Get-PartnerOffer -CountryCode "GB"
$Offer = $Offer | Where-Object {$_.Name -like "Microsoft Azure"}
$Offer

Output:

OfferId                : MS-AZR-0145P
Name                   : Microsoft Azure
Billing                : Usage
MaximumQuantity        : 999999999
SupportedBillingCycles : {Monthly}
IsAddOn                : False
IsTrial                : False

So it only breaks when you try to filter at the same time as you are trying to list offers but once the object has been saved, it can be treated as PS Object.
Still needs fixing in CSharp imho.

Hi @cblackuk,
Thank you for bring this to my attention. The reason you are encountering this behavior is that PowerShell is writing the collection instead of each individual line. I have corrected this issue by modifing the WriteOutput code to look like
        private void WriteOutput(IEnumerable<Offer> offers)
        {
            bool isAddOn = AddOn.IsPresent && AddOn.ToBool();
            bool isTrial = Trial.IsPresent && Trial.ToBool();

            WriteObject(
                offers
                    .Where(o => o.IsAddOn == isAddOn && o.IsTrial == isTrial)
                    .Select(o => new PSOffer(o)), true);
        }

This issue will be resolved in the next release of the module. My hope is to have it ready to go this week. In the meantime please let me know if you discover any other issues.

That is AMAZING!!! Thank you ever so much for getting back to me!!!
The second issue I raised is much bigger one and a showstopper for me ;-( @isaiahwilliams

Hi @cblackuk,
I just published version 1.5.1810.2 which includes a fix for this issue. Once you update to the new version, you will be able to filter the items as you except. Please let me know if you have any issues.


Refuses to generate more islands in Multiplayer

I have a server where i use this mod for skyblock. I changed the config to make the islands spawn at a distance of 2048 from each other. For the first couple of players that joined, the islands generated. But later, the new players would spawn around 0 0 0 and fall constantly in the void(I have forgiving void so they aren't dying). Only when I /kill a player they spawn on an nearby island that already generated. It's not random, but happens to all new players. The modpack is Star Technology if that is necessary information or to check the config file.

Nevermind. I didn't notice the config to allow more islands.


JobListWidgetItem: add delete to UI

This increases consistency in the app:

in the Backup list, the right-most is "remove this file/dir"
in the Archive list, the right-most is delete
right-clicking in the Jobs list shows Backup, Info, Restore, Delete.

Moving the Backup icon to the left position (in the right-most block of icons) and adding a Delete icon to the right makes the icons match the right-click menu.

My reasoning for not including a quick action button for deleting a Job is that deleting a Job is not a frequent action and requires some thought before doing it. I also wanted to restrict the list of quick actions to 3 per item for all list views.

I think that consistency is more valuable than only including frequent actions.  As for the number of actions, the Backup list has 2, the Archive list has 3... so why not 4 in the Jobs list?  (particularly since some people -- my mother, for example -- never use right-click)

(also, I updated this PR to fix the mentions of "Archive")


Use 'default' repo list rather than 'all'

/test jvm-build-service-in-repo-apicurio-e2e

@dwalluck this will cause failures, but it should reduce the load on the cache. We need to add repos to the ones that fail before merging this.

/test jvm-build-service-in-repo-apicurio-e2e

/test jvm-build-service-in-repo-apicurio-e2e

/test jvm-build-service-in-repo-apicurio-e2e

/test jvm-build-service-in-repo-apicurio-e2e

/test jvm-build-service-in-repo-apicurio-e2e

Why was this closed please?

I accidentally committed it here: https://github.com/redhat-appstudio/jvm-build-service/pull/706/commits/90eb3d6859b9412a455c1618d7ca66015ec86396#diff-b98df68065a725fb4509f65dc0c24c3237a77d76a1bfe8f3c0df236f770f1fe0R91
Basically I started out with the 'additional repos specified' case as also using all, then changed it to default but did not notice I had also extracted the lower value as well.
I don't think this will cause any problems, maven builds should basically automatically pick up the correct repositories.


feature: Create Riot API integration

Overview
Create a function to call /lol/league/v4/challengerleagues/by-queue/{queue}
Acceptance Criteria
The call should get challenger players from the NA server
Out of Scope
At this moment we're not saving data to the database
NOTES: We already have an API KEY

Data Model

LeagueV4: Players

AccountV4: puuid

MatchesV4: Matches

MatchesV4: Match details

Get Challenger Players:
/lol/league/v4/challengerleagues/by-queue/{queue}
Get puuid -> playerId / profileIconId -> playerImage:
/lol/summoner/v4/summoners/{encryptedSummonerId}
Get Match Ids:
/lol/match/v5/matches/by-puuid/{puuid}/ids
Get Match Details:
/lol/match/v5/matches/{matchId}
Maximum Players: 2400
20 requests every 1 seconds
100 requests every 2 minutes
Data needed
MatchesV4 -> teamPosition, kills, deaths, assists, championName, championId, win
Champion Image http://ddragon.leagueoflegends.com/cdn/12.19.1/img/champion/Aatrox.png
Summoner Icon
https://ddragon.leagueoflegends.com/cdn/12.20.1/img/profileicon/27.png

Data
Source
Property
Type

Rank

Role
MatchesV4
teamPosition
string

Champion
MatchesV4
championName, championId
string, number

Win/Loss
MatchesV4
win
boolean

Kills
MatchesV4
kills
number

Deaths
MatchesV4
deaths
number

Assists
MatchesV4
assists
number


Fix sitemap outoput

Description
Updates gatsby-plugin-sitemap version and explicitly sets the output path in the demo config.

Amazing @roadlittledawn ye i definitely missed some yarn stuff here, I also forgot to edit the yarn.lock as well as the package.json to update the plugin 🤦  thanks so much


PRIORITY QUEUES C++

Hi @developer22-university I am closing this PR. Please create another PR with just the priority queues file with correct extension and code. Also, mention the issue which it closes as Closes #<issue number>

Also, never work on the master branch of your fork. To create a new branch use git checkout -b branch_name


Add useMeta

Follow up to #311

It looks like we will be going with a different approach. Thank you for your investigation and prototyping.


Easier way to chain together animations?

Hey All,
I am trying to use Macaw and it is awesome but I am thinking that I am missing something in the documentation and wonder if I could get some help?
I am training to chain around 8 animations together then repeat them all from 1-8 continuously.
  let animationOne = trianglegroup.contentsVar.animation(from: squaregroup, to: square, during: 1.0, delay: 0.0)
           animationOne.onComplete {
               print("animationOne complete")
               let animationTwo = crossgroup.contentsVar.animation(from: squaregroup, to: triangle, during: 1.0, delay: 0.0)
               animationTwo.onComplete {
                   print("animationTwo complete")
                   let animationThree = circlegroup.contentsVar.animation(from: squaregroup, to: circleClosedState, during: 1.0, delay: 0.0)
                   animationThree.onComplete {
                       print("animationThree complete")
                       let animationFour = circlegroup.contentsVar.animation(from: squaregroup, to: circle, during: 1.0, delay: 0.0)
                       animationFour.onComplete {
                           print("animationFour complete")
                           let animationFive = squaregroup.contentsVar.animation(from: squaregroup, to: crossClosedState, during: 1.0, delay: 0.0)
                           animationFive.onComplete {
                               print("animationFive complete")
                               let animationSix = squaregroup.contentsVar.animation(from: squaregroup, to: cross, during: 1.0, delay: 0.0)
                               animationSix.onComplete {
                                   print("animationSix complete")
                                   let animationSeven = squaregroup.contentsVar.animation(from: squaregroup, to: squareClosedState, during: 1.0, delay: 0.0)
                                   animationSeven.onComplete {
                                       print("animationSeven complete")
                                       let animationOne = trianglegroup.contentsVar.animation(from: squaregroup, to: square, during: 1.0, delay: 0.0)
                                       animationOne.onComplete {
                                           print("animationOne complete")
                                       }
                                   }
                                   animationSeven.play()
                               }
                               animationSix.play()
                           }
                           animationFive.play()
                       }
                       animationFour.play()
                   }
                   animationThree.play()
               }
               animationTwo.play()
           }
           animationOne.play()

The problem with this is obvious plus It isn't continuous as I have to include another set of animations to repeat an extra time so I am wondering if there is a better way to do it?
Thanks in advance for any help!

Hello @pbmayne, you can use .sequence extension method like this:
`[
animationOne,
animationTwo,
animationThree,
...
animationSeven

].sequence().cycle().play()`

Hey @vhailor13 thank you so much for your reply.
I just attempted this but the animation stops after animationOne.
        let animationTwo = squaregroup.contentsVar.animation(from: squaregroup, to: triangle, during: 1.0, delay: 1.0)
        let animationThree = squaregroup.contentsVar.animation(from: squaregroup, to: circleClosedState, during: 1.0, delay: 0.0)
        let animationFour = squaregroup.contentsVar.animation(from: squaregroup, to: circle, during: 1.0, delay: 0.0)
        let animationFive = squaregroup.contentsVar.animation(from: squaregroup, to: crossClosedState, during: 1.0, delay: 0.0)
        let animationSix = squaregroup.contentsVar.animation(from: squaregroup, to: cross, during: 1.0, delay: 0.0)
        let animationSeven = squaregroup.contentsVar.animation(from: squaregroup, to: squareClosedState, during: 1.0, delay: 0.0)

        [animationOne, animationTwo, animationThree, animationFour, animationFive, animationSix, animationSeven].sequence().cycle().play()

Am I doing something wrong?

Hey @vhailor13 any ideas on this please? Thanks for your help.

Just reproduced this behaviour for morphing animation, will fix it asap

The problem seems will take some time. 1-3 days as I see it.

We decided to refactor core animation functionality in order to properly solve this problem and avoid similar problems in the future. So it will take more time.

Sorry for silence period, finally were able to perform the fix. You can try it using master branch:
pod 'Macaw', :git => 'https://github.com/exyte/Macaw.git'

Brilliant, thanks @vhailor13. I will test shortly.


[BUG] WPF DataGrid memory leak

Describe the bug

Memory leak when binding to DataGrid ItemsSource.
Not related to this: https://github.com/reactiveui/ReactiveUI/issues/3091
And yeah, its me again. Its like no one else is using RxUI with WPF or what :D
And also not related to this: https://github.com/reactiveui/ReactiveUI/issues/3132
Steps To Reproduce
Run this under any configuration: ReactiveUI_DataGrid_MemoryLeak
Expected behaviour

Should not leak, everything is leaking on me, why always me lol? :D
Environment

OS:       Windows 10
ReactiveUI Version:    Tested on NET5 16.4.15 and NET6 17.1.17

Additional context

As of other memory leak bug I would like to ask, if this get fixed, then please push the fix into NET5 version, since Oracle didnt fix their provider for NET6, so I cannot really upgrade to NET6 still.

One suggestion is to maybe use the WhenActivated pattern in your view model due to it using a lot of timers. Could potentially be leaks due to the timer object keeping your objects alive.

Hello @glennawatson, the repo is just to ilustrate the issue, not the actual use case
The ViewModel is only one and the timer is there, to simulate loading and removing data to table.
In my app user clicks Header and that loads Lines for a review, then another and another, that is the timer interval logic in ViewModel trying to simulate.
I did the repo just to strip any Database calls, converters in DataGrid, design styles etc.
The issue seems to be the binding into DataGrid, since ItemsControl is fine with this approach, but I need the DataGrid for the table functionality.

Yeah I fully understand, there are plenty confusing parts of the life times of objects in base WPF, not daring to mention ReactiveUI.
But I think I have got that part handled and thats why I am posting it as Bug.
Seems like I have got talent on accidentally uncovering bugs

Acknowledged bug on WPF itself:
https://github.com/dotnet/wpf/issues/6087

Man we been getting a few of these type of issues lately where we think it's RxUI and turns into a Microsoft bug. Thanks for letting us know.


Add details for scoped roles and custom roles

The Administrator roles by admin task in Azure Active Directory is super helpful, I think it would be create if we could add details for AU/SP/Application scoped role assignments and custom roles to the document - often these are the best choice from least privileged point of view.

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

ID: 0f9558c0-abb6-24f8-81c8-9000b80539e8
Version Independent ID: a4739135-863b-27bb-1f2e-cf297f21b4cc
Content: Delegate roles by admin task - Azure Active Directory
Content Source: articles/active-directory/roles/delegate-by-task.md
Service: active-directory
Sub-service: roles
GitHub Login: @rolyon
Microsoft Alias: rolyon

@AlexFilipin
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

Hi @AlexFilipin
Thanks for your feedback. We added links to articles about how to assign roles at different scopes and create custom roles.
https://docs.microsoft.com/en-us/azure/active-directory/roles/delegate-by-task
Let us know if you have any additional feedback.
thanks

#please-close


[WIP] PDB GA documentation

This is a placeholder PR for the docs for the PDB to GA KEP https://github.com/kubernetes/enhancements/pull/904

/lgtm

@mortent  looks like this is no more a WIP. can you remove the do-not-merge/work-in-progress label?

@simplytunde  This change didn't make the deadline so it will be pushed to 1.17. I was planning to just close this PR and open a new one once the change lands in 1.17.

/milestone clear

Thanks @mortent. can you close this?


[docs] Tenderly support in documentation

Tenderly is supporting us on two fronts:

First one:

Web3 Gateway (only for Ethereum Boba atm),
the docs on docs.boba.network need to mention this, similar to Optimism mentioning Alchemy:

The public endpoints are:
We have partnered with Tenderly.

http://boba-ethereum.gateway.tenderly.co should work

or alternatively http://gateway.tenderly.co/public/boba-ethereum

These are public and have ip based rate limiting. You can subscribe to Tenderly if you need more

Second one is available on ALL chains (excluding Moonbeam since it's shutting down) - Tenderly development platform:

These things need to be mentioned, perhaps with some examples...

will do!

Also added to chainlist:
https://github.com/DefiLlama/chainlist/pull/472

I think this is done. If not, please reopen.


Added parsing support for explicitly positive signed integers.

This is just a small fix -- if a signed integer is explicitly positive (i.e. +46) we should still be able to parse it.

Hi @jonfortescue, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

looks good.


wordpress: 5.8.1 -> 5.8.2

Motivation for this change
https://wordpress.org/news/2021/11/wordpress-5-8-2-security-and-maintenance-release/
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[x] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[x] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 145783 run on x86_64-linux 1

1 package built:

wordpress

Version 5.8.3 is released and contains an important security fix [1]. I'll check if I could open a PR for this
[1] https://www.heise.de/news/Sicherheitsupdate-Angreifer-koennten-sich-auf-WordPress-Websites-einnisten-6320363.html


Waiting for W&B process to finish... (success).

Dear sir,
When I train by the "main_instance_segmentation.py general.experiment_name=Run-1_validation general.eval_on_segments=true general.train_on_segments=true", I got the result above, but don't understand what it means? Do you know if my training was successful? If not, how can I see the signs of success?  Thank you very much!

Hi! :)
Thanks for your interest in our work!
It seems like you didnt create the ScanNet dataset first (see here).
Please reopen the issue if the problem remains.
Best,
Jonas


Not detecting numerous Plugins updates available

I love this plugin, but recently noticed it is missing numerous updates that are available to plugins I'm using. If you use this pom.xml: https://github.com/nahsra/antisamy/blob/d0b3fcc99637eed5decd4a3bdc1e66adb9941fa6/pom.xml (and upgrading to versions-maven-plugin v2.7 didn't change anything), I noticed that these plugin updates that are available are not being identified:
org.apache.maven.plugins:maven-dependency-plugin:3.1.1 has a 3.1.2 available
org.apache.maven.plugins:maven-enforcer-plugin:3.0.0.M2 has a 3..0.0.M3 available
com.github.spotbugs:spotbugs-maven-plugin:<IP_ADDRESS> has a 4.0.4 available
and I suspect there are more.
I'm generating the plugin-updates-report by simply using: mvn site with this pom.xml.
Can you confirm this is a bug? Or am I simply using the plugin wrong? I have no idea if this problem is still present in the master branch. I see there hasn't been a new release in almost 2 years, but there is lots of activity. When do you expect a new release to be released (i.e., if this issue was fixed)?
I'm about to update this pom manually to fix these issues, so if you want to test, make sure you use the version I reference above.

Did you execute Maven with -U? I've occasionally seen this plugin miss updates if I don't use that flag to force checking for updates on remote repositories.

Thanks Mark!  That definitely worked and fixed the issue. My question now is that if you are running this plugin, seems like you'd want that flag on (by default) so you don't miss updates that are available.  Does it make sense that this plugin should force that on automatically by default? If so is there a way to do that? And if it can, then if there are projects that don't want that on by default they could turn it back off with a parameter setting for that plugin.

I think it does make sense that you'd always want to use that flag. Unfortunately, I don't personally know if there's an API in Maven for forcing remote repository checks... Anyone else know?

I was thinking that if you could pass -U into the mvn command, there would a way for a plugin to do the same thing. Or if the plugin can't do that directly, is there a way to specify the -U command in the configuration of the versions-maven-plugin in the  block of my pom, so I manually force that flag on whenever the versions-maven-plugin is invoked when I run: mvn site?

@io7m - Really? - this got marked 'stale' and then auto closed?  Can this be reopened and someone figure out if there was an easy way, or not, to get the plugin to automatically invoke -U or its equivalent?

@io7m - Really? - this got marked 'stale' and then auto closed?

Nothing to do with me, to be clear. I'm not even a committer. :slightly_smiling_face:

@io7m - Thanks Mark - But it did have the desired affect. @slachiewicz - reopened the ticket :-). @slachiewicz - can someone on the plugin team research this issue to see how hard it would be to make this improvement?


Missing surefire report of xgboost4j-spark

I was trying to build the jvm-packages and it succeeds. However, I found there is no surefire report for  xgboost4j-spark though I do find logs about running those tests with 'mvn package'. In addition, neither the SNAPSHOT-test.jar was produced. I wonder is that expected or there is something going wrong and I need to fix?

cc @wbo4958


Feature request: Signature expiration

Hey there, big thanks again for this project.
One use case my company is exploring is including an expiration time within the imagor signature, making links invalid after a certain timeframe.
We are currently expirementing doing this with cloudfront however having it build directly into imagor would be ideal as it would avoid two signatures.
I would be happy to discuss how we could support the development of this!

What comes up in my mind is an expire(timestamp) filter where timestamp is the unix milliseconds timestamp of expiration time.
The expire filter would be evaluated as part of the URL signature.

Yeah that makes sense to me and fits in nicely; only thing I see is that expire time should not be included when saving the image to storage

You may test the docker build at master branch:
https://github.com/cshum/imagor/pkgs/container/imagor/50398420?tag=master
ghcr.io/cshum/imagor@sha256:24bea2d2397725de24da17c6f522b0fed382d937e3a3ab0de74f1babe6dc8049

The expire(timestamp) filter functionality, and it should be excluded from result storage path

Works great in our testing, thank you!

available in v1.3.0

Hi there!
Thanks for all your effort maintaining this amazing project!
I think it would be a good thing to write this statement in README:

The expire(timestamp) filter is excluded from result storage path


Can Strava get access through Cloudflare Tunnel with a reliable IP or other authentication method?

I use Cloudflare Tunnels to securely expose my HA instance to the internet. There are various authentication methods, such as including an API key in the request, or whitelisting the IP. Has anyone gotten ha_strava to work through a system like this? I found some old threads on the Strava dev forums complaining that the IP addresses are completely unpredictable for whitelisting purposes.

I use a reverse proxy with mTLS certs for exposing my Home Assistant instance, so I'm also interested in other connectivity options.
Is the exposed instance strictly necessary for this integration too or is it just so Strava can push events to HA? If so, delayed polling would be sufficient for me.

Hi,
@Nelluk
I'm not across Cloudflare tunnels however, as we have no control over the Strava callback source or there authentication process there is not much you can do to limit the access in that sense.
You could attempt to limit by the source domain and/or match on the request paths.
@Gunsmithy
The same would apply as we have no control over Strava's API webhook implementation.
Your best option is to do something similar to the above by filtering on source domain and filtering the request patchs limiting them to the required paths for strava callbacks and authentication. You would need to expose the public certs on the proxy and not on the ha instance itself.
Apologies if I've miss-understood the scenarios

Closing as there has been no new activity on this in a while


Multi-line enumeration types not indented

Report a bug
Input
type STATE_TYPE is (
    A,
    B,
    C,
    D
);

Expected Behavior
type STATE_TYPE is (
    A,
    B,
    C,
    D
);

Actual Behavior
type STATE_TYPE is (
A,
B,
C,
D
);

🤕

Could you please check if this has been fixed?

Works on my code. Thanks!


Update stacked_themes dependency on rxdart 0.26 to 0.27

Because stacked_themes >=0.2.4 depends on rxdart ^0.26.0 and geoflutterfire 3.0.0-nullsafety.4 depends on rxdart ^0.27.0, stacked_themes >=0.2.4 is incompatible with geoflutterfire 3.0.0-nullsafety.4.
So, because app depends on both geoflutterfire 3.0.0-nullsafety.4 and stacked_themes 0.3.1, version solving failed.
pub get failed (1; So, because app depends on both geoflutterfire 3.0.0-nullsafety.4 and stacked_themes 0.3.1, version solving failed.)

@PushkarGarg02 I'll assign this internally and see if anyone can get time to make a PR to update the package.

fixed in 0.3.3


[5.7] [Parse] Avoid skipping bodies with /.../ regex literals

5.7 cherry-pick of https://github.com/apple/swift/pull/59641
While skipping, if we encounter a token that looks like it could be the start of a /.../ regex literal, fall back to parsing the function or type body normally, as such a token could become a regex literal. As such, it could treat { and } as literal, or otherwise have contents that would be lexically invalid Swift.
To avoid falling back in too many cases, we apply the existing regex literal heuristics. Cases that pass the heuristic fall back to regular parsing. Cases that fail the heuristic are further checked to make sure they wouldn't contain an unbalanced { or }, but otherwise are allowed to be skipped. This allows us to continue skipping for most occurrences of infix and prefix /.
This is meant as a lower risk workaround to fix the the issue, we ought to go back to handling regex literals in the lexer.
Resolves https://github.com/apple/swift/issues/59493
Resolves rdar://95354010

@swift-ci please test

@swift-ci please test


Option for outputting specific types of feedback

As per feedback in #18
options: {
  verboseTypes: [
    "notice": false,
    "warning": true,
    "error": true
  ]
}

+1

+2

Hey guys, Im currently converting this to a standalone library to use in this project. I'll throw it there then make it part of the coming release.

great

https://github.com/yargalot/AccessSniff#report-levels, 3.0.0 has it now ;D


Fix exports map to support loading in Node esm

Currently, preact-router fails to load in Node.js when it is imported from an ES module. Node correctly picks up the .module.js version as specified in the exports map, but loads it as cjs module because of the file extension. Here is a simple StackBlitz example that shows the current behavior.
This PR fixes the problem by changing the file extension to .mjs.

Okay, you mean there are Node.js versions that support the "type" field but
no exports maps? Or do you refer to bundlers that might also have adapted
Node's file extension scheme but neither support the "module" field nor
export maps? I had naively assumed, that all tools that know how to
interprete the "type" field also support at least one way to specify
CommonJS fallbacks. But I totally agree to play it safe here 👍
Ryan Christian @.***> schrieb am Do., 26. Mai 2022,
00:07:

@.**** commented on this pull request.
In package.json
https://github.com/preactjs/preact-router/pull/425#discussion_r882152799
:

"module": "dist/preact-router.module.js",

"jsnext:main": "dist/preact-router.module.js",

"module": "dist/preact-router.mjs",
"jsnext:main": "dist/preact-router.mjs",

"type": "module" would necessitate that all CJS entries switch to .cjs,
which has even less support.
.mjs got some popularity and use a few years before .cjs & the current
Node extension semantics were specc'd and solidified.
—
Reply to this email directly, view it on GitHub
https://github.com/preactjs/preact-router/pull/425#discussion_r882152799,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAV22XA5W4YAUAMR3SOEKTVL2QCJANCNFSM5W2ADQ2A
.
You are receiving this because you authored the thread.Message ID:
@.***>

There's a few odd Node versions that have some issues around "type" and export maps, but they're not really the issue.
The issue is that bundlers have consumed "module" and "main" for many years now, long before Node's .[cm]js semantics have existed. They may throw at seeing either of those extensions, as they predate them existing. react-native's Metro bundler is an example of such a tool, and just last week caused an issue when immer released a change containing "module": "<path>.mjs". Turns out Metro still has 0 support for .mjs: https://github.com/immerjs/immer/issues/937
So it's best to keep those newer extensions locked behind "exports", as everything that can consume exports can handle those extensions just fine (or it's a bug if they cannot). For legacy fields, we have no guarantees that they'll support those extensions so we should try to keep them as .js to avoid breaking changes.
In this case, we add .mjs to "exports", keep all other ESM outputs as .js as Node's semantics do not need to apply to fields Node will never consume. Older versions of Node (out-of-date, mind you) will not consume "exports" and could throw at seeing .cjs for "main", so that too should be avoided (hence why "type": "module" would be bad).

Silly issue; somehow the test suite picks up and uses the new preact-router.mjs over the CJS version, even in a require() call. Just needed to specify the extension.

Thanks for putting this together!

It was a pleasure. Are there any plans for a new release on npm?

@lohfu Would probably recommend preact-iso over this anyways which does offer ESM, but I'll see if we can get a publish here.

Jovi released v4.1.0 earlier today which includes this PR. Hope it helps!

@rschristian cheers!


[openshift-4.13] Don't need to upgrade to rhel-9 kernel

RHEL-9.2 content would be part of  OpenShift-4.13 so we don't need to upgrade to rhel-9 kernel for MacOS https://github.com/crc-org/snc/blob/master/createdisk-library.sh#L183-L193 .
We also need to test those bundle for another issues like https://github.com/crc-org/vfkit/issues/11 because of newer kernel versions or need workaround like https://github.com/crc-org/snc/commit/b13c0e63192713253b8b8df5b574108547180a69.

From 4.13, we are now not upgrading to rhel-9 kernel and #711 have more details.


Could use Dataverse Connector instead of Dataverse OData API?

This article describes how to connect to the Dataverse OData API. I think this can be accomplished more easily by using the Dataverse Connector for Dataflow. This would simplify the process because users wouldnt have to get the odata endpoint first

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

ID: 4f2f8a4d-5b76-0fed-c0cb-6e2f06a4240e
Version Independent ID: 6b6cf6ec-87c8-f109-98ce-9181cbfb736e
Content: Migrate data between Microsoft Dataverse environments using the dataflows OData connector - Power Apps
Content Source: powerapps-docs/developer/data-platform/dataverse-odata-dataflows-migration.md
Service: powerapps
Sub-service: dataverse-developer
GitHub Login: @denisem-msft
Microsoft Alias: demora

Thanks for your comment, @femo1de. This issue has been assigned to the doc author for review.

@femo1de
Thanks for your feedback.
Looks like this topic was originally written a couple of years ago. Perhaps the Dataverse Connector didn't exist at that time?
I will reach out to the Dataverse Connector for Dataflow team to ask that they provide some documentation showing how to use their connector.


Add support for dynamic higher order component generation for imported designs via dynamic schemas

Description
This PR is first step in direction of dynamic schemas and dynamic components. Meshery server can now override schemas on for components based on type
This is a helpful feature where type is $(#use ...) and we are importing another pattern/design.
In future we can have even more sophisticated logic to control this dynamic schema creation based on other things.
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

Codecov Report

Merging #6153 (f8bfd4b) into master (af5c864) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #6153   +/-   ##
=======================================
  Coverage   13.42%   13.42%
=======================================
  Files         112      112
  Lines       10540    10540
=======================================
  Hits         1415     1415
  Misses       8817     8817
  Partials      308      308

Flag
Coverage Δ

unittests
13.42% <0.00%> (ø)

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

Impacted Files
Coverage Δ

server/handlers/meshery_pattern_handler.go
0.00% <0.00%> (ø)

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

@Revolyssup Application Source Type as a complete feature is still yet to be delivered. Let's see other work completed before taking on items that are not defined in the backlog, yet.

I realize that this was put together hastily, but we do want to refactor the SVG to only include the logo (unless we are still using an SVG, not a CSS system for the Details pane).

@leecalcote Need for review.
spec file: https://docs.google.com/document/d/1B2N78EdRiZF-yVo1-HY3syppwBBDumgMuYg6seD-AJ4/edit#heading=h.ry753nvepfyk


InformerEventSource cannot find resource after some time

Bug Report
What did you do?
We are using a simple label selector based informer in the Flink Kubernetes Operator: https://github.com/apache/flink-kubernetes-operator/blob/main/flink-kubernetes-operator/src/main/java/org/apache/flink/kubernetes/operator/utils/EventSourceUtils.java#L45
It happened in some cases that after a while, the informer could not find the target object (Deployment) anymore, while it definitely existed in Kubernetes (verified manually). Restarting the operator solved the problem.
Based on this we suspect that the informer simply stopped receiving new events after a while and never recovered.
Environment
Josdk: 4.1.1
Java 11

So if I understand correctly, it was before. It is not the case, that it never received the resource in the informer.
Checked but this part of the code is very simple on our side, basically just reading, reading the resource from the informer cache.
But will add some logging to make sure that it can be made sure its not in JOSDK.
@manusa @shawkins haven't you encountered this problem before?

This likely was capture as https://github.com/fabric8io/kubernetes-client/issues/4781 as well.  We can work from the upstream side first based upon the comment over there.

I discussed with @gyfora this seems to be a different issue. TBH I can't imaging how a resource is removed from the cache (ItemStore) without a delete event.

TBH I can't imaging how a resource is removed from the cache (ItemStore) without a delete event. But yep we can let's continue on fabric8 client side.

It shouldn't be possible for it to have existed, then not exist without emitting a delete event - at least at the informer level.  The only circumstances where an entry are removed are a delete event from the watch, and on a relist (which should be rare in an environment where bookmarks are supported) where the item no longer exists.  Is it possible that the item was known / cached by the operator sdk and was never populated in the informer cache to begin with?

Is it possible that the item was known / cached by the operator sdk and was never populated in the informer cache to begin with?

No that is not possible. JOSDK reads the Informer cache for resources. There is an another layer, mapping the resource between primary custom resource and secondary resource in this case (this is where I added logging). But if that was found before, also not possible.

I think we will need logs for this, i was not able to think about any scenarios where this could happen.

@csviri  @shawkins Your fix did not seem to have resolved this:
https://gist.github.com/gyfora/01b3236df3e325e6cb1f9a9d215e313e
Here are the logs with the latest commit

sorry, I comented on the wrong ticket :P


No license info

Could you include a LICENSE file, please. :)

Hey there.  I think we talked on Reddit.  Sure, I'll add one in but feel free to use this for whatever you want in any way and modify it as you see fit.  I think there's a license for that...


the results of bert-flow and bert-whitening is obviously lower than original results

For example, the spearman of STS12 of bert_base-flow and bert_base-whitening in your Table 6 is 58.40 and 57.83, but the actual corresponding results in the paper of bert-flow and bert-whitening is 63.48 and 63.62

Hi,
Thanks for pointing this out! We talked about this in the paper that different works actually take different evaluation settings, and we elaborated different settings in Appendix B. In short, our work, following SBERT, takes the "all" setting, while BERT-flow and BERT-whitening take the "wmean" setting. See Table B.1 for metrics & settings used in different papers, Table B.2 for our reproduction results, and Table B.3 for comparison under the "wmean" setting.

okay. sorry for my negligence. actually a good job!


Use cargo-c instead of cmake

cargo-c exists exactly to ease the build of Rust programs into C libraries, it's an easier and less error-prone approach than managing the cmakefiles yourself.

We also need to support colcon via cmake and as far as I understand cargo-c, this is not easily possible. We need cmake to integrate into the C and C++ world, not to integrate C and C++ libraries into iceoryx2.
If I didn't miss anything, we are not able to use cargo-c.

cargo-c produces a platform-correct shared library a pkg-config file and
one or more headers, cmake can consume the pkg-config files fairly easy.
Il mar 29 ott 2024, 18:45 Mathias Kraus @.***> ha
scritto:

We also need to support colcon via cmake and as far as I understand
cargo-c, this is not easily possible. We need cmake to integrate into the C
and C++ world, not to integrate C and C++ libraries into iceoryx2.
If I didn't miss anything, we are not able to use cargo-c.
—
Reply to this email directly, view it on GitHub
https://github.com/eclipse-iceoryx/iceoryx2/issues/418#issuecomment-2444953055,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZXINLMBKRJRMNJO5LGZI3Z57CSHAVCNFSM6AAAAABPCTXFRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBUHE2TGMBVGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Does this also easily work with cross compilation and on more exotic OSes like QNX and VxWorks?
I'm a little bit hesitant to add another layer of indirection since the cmake files are not that complex and we are little bit burned by the - supposedly simple - bazel.

Does Rust works on QNX and VxWorks?
Il ven 1 nov 2024, 18:09 Mathias Kraus @.***> ha
scritto:

Does this also easily work with cross compilation and on more exotic OSes
like QNX and VxWorks?
I'm a little bit hesitant to add another layer of indirection since the
cmake files are not that complex and we are little bit burned by the -
supposedly simple - bazel.
—
Reply to this email directly, view it on GitHub
https://github.com/eclipse-iceoryx/iceoryx2/issues/418#issuecomment-2452253227,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABZXINOHPEXM5E3A7XLME4DZ6OYU3AVCNFSM6AAAAABPCTXFRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJSGI2TGMRSG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Does this also easily work with cross compilation and on more exotic OSes like QNX and VxWorks?

The two targets aren't currently supported since I'm taking a conservative approach since every platform has its own set of details for shared libraries.
If you have experience with any of those platform target I'd welcome a pull request to add the necessary informations:

if the platform uses soname to embed the library version in the library (common on unix-like elf systems)
which is library naming convention (e.g. lib{name}.so vs name.dll, symlinks over version minor/major)

For people with access to the platform it would take 10 minutes to prepare the patch. eMCOS isn't currently even present in the documentation so I guess its addition is very recent.

eMCOS is something we recently put on our interesting project list. It is quite often used in safety critical domains, similar to VxWorks and QNX.
We also need to be conservative, since at some point everything needs to be either certified or qualified, which is very costly. Some of the dependencies we currently have will also be replaced by tailored, custum implementations due to that.
cargo-c is for sure a great project, but for us it does not add as much value as for other projects and we also do not have a complex CMake setup.

Adding the cargo-c metadata doesn't prevent you from using your custom machinery for custom targets, but makes the life of linux distributors much easier.
If you are planning to use ferrocene cargo-c can use that compiler as any other versions of rustc.


Added two resources

Thank you for contributing! Please confirm this pull request meets the following requirements:

[X] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[ ] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[X] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[X] Content (and my changes are in index.md)

ramlaxman/Charmingpython - This is forked project & I am developing the same for kids.
Project based Learning
Two resources have added for learning to code collection.

Curating a new topic or collection

[ ] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[X] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Invalid with regard to contribution guidelines.