The AbstractAutodiscoveryModel must be composed with a service locator

I am currently testing this module, however an exception is being thrown when selecting the document manage in the UI - The AbstractAutodiscoveryModel must be composed with a service locator.
This is thrown because the DoctrineAutodiscoveryModel is instantiated within a factory, yet the service locator is never set hence as soon as the fetchFields method is called the exception is thrown.
The AbstractAutodiscoveryModel from zf-apigility-admin states:
/**
 * This class is instantiated with a $config in some implementations (DbAutodiscoveryModel)
 * but this is dependent on the root service locator for the moduleHasService call below
 * and that must be injected into any class extending this abstract.
 */

Hence it would seem logical to set this from within the factory declaration in the Module.php :
$model= new Model\DoctrineAutodiscoveryModel($config);
                    $model->setServiceLocator($services);
                    return $model;

instead of
return new Model\DoctrineAutodiscoveryModel($config);

https://github.com/matwright/zf-apigility-doctrine/commit/a08d8368da8f850e0447f467d1b2d0211a4eb179
Happy to provide a unit test and PR

This has been fixed in the pending pull request #260
I would appreciate your review of this PR!
Tom

I see this has since been merged into Master, I'll revert back to this version and test, although at a glance I can see that the specific issue I was reporting here has now been remedied. Seem to be quite a few other fixes/updates so will test today.

Actually this issue doesn't seem to be addresses, the class is still being instantiated and returned from the factory without setting the service locator:
https://github.com/zfcampus/zf-apigility-doctrine/pull/260/files#diff-6a901958603df1749e0e021d82b922b1R77

https://github.com/zfcampus/zf-apigility-doctrine/pull/262


Trouble running chimpanzee example

I think the chimpanzees.jl example (in Stan.jl/Examples/Basic_intros/) is missing a dependency for DataFrames.jl, and possibly AxisKeys.jl. I ran into an error when trying to run the code that "DataFrame" was not defined. Adding DataFrames to the "using" line resolved. Got the same error with the axiskeys command on line 47. After importing AxisKeys, I now get the following issue:
LoadError: MethodError: no method matching axiskeys(::StanTable{Matrix{Float64}})

Any idea what is going on here?

Thank you for the report, will have a look and get back to you.

Found the problem but also noticed an issue in StanSample.jl which will take a bit more work.
Above error is due to the fact that at some point I made :keyedarray the default output_format in read_samples(). When I switched this back to :table I did not update all example accordingly. If you use:
chns = read_samples(model, :keyedarray)

axiskeys(cons) should work again.
But after fixing StanSample I'll redo the Basic_intros (and in fact split them in separate directories).
Rob

Hi Isaac (@PeetoomHeida), just downloaded/merged a new version of Stan.jl that hopefully should fix above issue.
Please let me know if you encounter other issues, that really helps!


Basic interface discussion

I just pushed some preliminary docs, @rafaqz would be great to get some feedback on the high-level API before I move the core pieces to a base package :)
See https://lorenzoh.github.io/Invariants.jl/dev/documents/docs/guide.md and https://lorenzoh.github.io/Invariants.jl/dev/documents/docs/examples.md

Lgtm

Will release a first version then 👍
There is, see https://lorenzoh.github.io/Invariants.jl/dev/sourcefiles/Invariants/src/check.jl

Now that inv(input) and convert(Bool, inv(input)) can be used to check in an invariant, the last remaining part of the interface left to resolve is how to check an invariant and throw an error if it is violated. There is a check_throw function right now, but maybe a cleaner usage that doesn't introduce a new symbol is possible.
One way could be throw(inv(input)) that throws an InvariantException only if the invariant is violated.
Thoughts @rafaqz ?

check_throw already does this and throws a InvariantException which ensures that the error messages are displayed as rich text. I was thinking more of an alternative syntax that doesn't require importing check_throw.
Howaboutcheck(Exception, invariant, input)/invariant(Exception, input)`?

What does check_throw already do? Sorry I don't understand.
I can only call base methods from Interfaces.jl because I intend to not depend on Invariants.jl - keeping things decoupled is best. I'm trying to facilitate users using invariant if they want to.
So check and check_throw are not options I have available.

Although not hard to understand, the "Combining invariants" part in the docs seems not that intuitive.
Instead of
inv_indexing = invariant(
    "`xs` is indexable",
    [
        Invariants.hasmethod_invariant(length, :xs),
        invariant("`xs is not empty`") do (; xs)
            isempty(xs) ? "`xs` is empty!" : nothing
        end,
        Invariants.hasmethod_invariant(Base.getindex, :xs, :idx => 1),
    ],
    inputfn = xs -> (; xs)
)
check(inv_indexing, [1, 2, 3])

how about flattening the codes by overriding && and ||?
has_length = Invariants.hasmethod_invariant(length, :xs)
has_getindex = Invariants.hasmethod_invariant(Base.getindex, :xs, :idx => 1)
is_array_like = invariant("is arraylike", has_length && has_getindex)
non_empty =  invariant("`xs is not empty`") do (; xs)
    isempty(xs) ? "`xs` is empty!" : nothing
end

inv_indexing = invariant("`xs` is indexable", non_empty && is_array_like; inputfn = xs -> (; xs))
check(inv_indexing, [1, 2, 3])

Splitting it up into multiple lines makes it much more readable, that's a good idea!
How does inputfn make it less composable?

How does inputfn make it less composable?

We might need to configure inputfn for each invariant, is it possible to compose multiple invariants together without messing up with inputfn?

You can wrap any invariant in a ˋinvariant(inv; inputfn) and then compose those. Does that solve what you're trying to do?


I have this error massage when I enter command mode ":" in neovide

I have this error massage when I enter command mode ":" in neovide

No


add domain info

Hi Farhan, please review the changes and merge it into the initial release fix branch, thanks.

reviewed


Not Finding ips on port 445

When I use zmap on any other port, it works fine and I get ips almost as soon as I start the scan. But when I scan the internet for port 445 ( zmap -p 445 <IP_ADDRESS>/0 -B 5M) I get no results.

Certain ISPs block outbound 445. You should check if you can connect to an SMB server without ZMap.


Make the addition of message types dynamic

Some propositions to :

lighten the main file
not to be obliged to change counterpartyd.py when we add transaction (like #193)

put in json file all the arguments list, with explanation and generate dynamically this block of code:
https://github.com/CounterpartyXCP/counterpartyd/blob/master/counterpartyd.py#L535-L695
And also generate dynamically this block:
https://github.com/CounterpartyXCP/counterpartyd/blob/master/counterpartyd.py#L763-L985
this json file can be also used to generate a basic documentation.

in config file add default values for all config variables, and as possible make dynamic set_options()

move functions that can be useful for the API in utils.py or api.py. For instance get_address() could be also an api function (in fact there is almost the same function rewritten in counterblockd). Also all the viewing function should be api functions and counterpartyd.py just format the results.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Closing this given its age.


Namespace 'TagsEditText' is not bount

I have this error in my xml when I follow the 3 step.
"Namespace 'TagsEditText' is not bound"

if I replace 'TagEditText' by 'app' everything works fine but I don't understand why.

It necessary this line in the Layout:
xmlns:TagsEditText="http://schemas.android.com/apk/res-auto"


query_number no present ?

Hi
i just install yout plugin. Thanks for this work.
But i have this issue :
`$ import_digikey_parts.exe -c config.ini 4116R-1-151LF
Traceback (most recent call last):
File "c:\users...\appdata\local\programs\python\python39\lib\site-packages\inventree_digikey_integration_main_.py", line 44, in main
if len(args.query_number) == 1:
`
an idea for resolve it ?
Bests

Whoops, found a typo, gonna fix and update tests. Fix ETA like an hour

Okay try upgrading the package, pip install --upgrade  inventree_digikey_integration and try again. Sorry about that!

If it works again, plz close this. Thanks!

yes. it works !  thanks!


what 's the function of table 'current_execution' ?

table 'execution' is used for workflow execution, but what 's the function of table 'current_execution' ?

current_executions table stores the latest run_id of a workflow, say in the case a workflow needs to be retried, it will have a new run_id.
this is the current schema of the table
CREATE TABLE current_executions(
  shard_id INTEGER NOT NULL,
  domain_id BYTEA NOT NULL,
  workflow_id VARCHAR(255) NOT NULL,
  --
  run_id BYTEA NOT NULL,
  create_request_id VARCHAR(64) NOT NULL,
  state INTEGER NOT NULL,
  close_status INTEGER NOT NULL,
  start_version BIGINT NOT NULL,
  last_write_version BIGINT NOT NULL,
  PRIMARY KEY (shard_id, domain_id, workflow_id)
);


provide more distributed strategies

for example

pure ssh
dask cluster ?
ray cluster ?

follow up of https://github.com/rom1504/img2dataset/issues/20

https://pytorch.org/tutorials/intermediate/dist_tuto.html


Any plans to support Stable Diffusion models?

I understand SD models aren't LLMs, neither they are autoregressive. However given the existence of the all main blocks (i.e. cross attention kernels, pytorch-like tensor abstraction) in TRT-LLM it seems reasonable to support it in TRT-LLM, just outside of GPT Runtime. Are there any plans for that?

Hi @ttim they absolutely could be supported in TRT-LLM, but as of now it is the goal to make LLMs great. We may evaluate diffusion models in the future.
FYI check out a super fast stable diffusion implementation with demoDiffusion.


Ugain example + Windows bug

Will close this PR as

The commits handling the Windows bug are cherry picked and merged in PR #53
The commits concerning the Ugain power consumption example are cherry picked in PR #54


Merge #9 and enable useNativeDriver

Enabling useNativeDriver helps with performance of animations

Looks like this project is abandoned. I've created https://github.com/dgladkov/react-native-flip-view-next that includes this change and provides compatible API.


[PR] The proj files have been updated to enable SourceLink

CSProj files have been updated to enable SourceLink in your nuget
[This pull request was created with an automated workflow]
I noticed that your repository and Nuget package are important for our .NET community, but you still haven't enabled SourceLink.
We have to take 2 steps:

Please approve this pull request and make .NET a better place for .NET developers and their debugging.
Then just upload the .snupkg file to https://www.nuget.org/ (now you can find the snupkg file along with the .nuget file)

You can find more information about SourceLine at the following links
https://github.com/dotnet/sourcelink
https://www.hanselman.com/blog/ExploringNETCoresSourceLinkSteppingIntoTheSourceCodeOfNuGetPackagesYouDontOwn.aspx
If you are interesting about this automated workflow and how it works
https://github.com/JTOne123/GitHubMassUpdater
If you notice any flaws, please comment and I will try to make fixes manually

I usually recommend <EmbedAllSources>true</EmbedAllSources> over SourceLink, but it doesn't make much difference.
@buvinghausen Do you want to make this part of the publishing process? IMO there isn't a wrong answer. This particular library has a single file that I don't expect people to even think about stepping into because it is just about all compiler boilerplate.

@JTOne123 this has been pushed up to nuget.org please verify and let me know if there is anything wrong on your end.


license-checker (spdx) can't read license

license-checker (spdx) can't read the license of this package.

We walk through the node_modules directory with the read-installed module. Once we gathered a list of modules we walk through them and look at all of their package.json's, We try to identify the license with the spdx module to see if it has a valid SPDX license attached. If that fails, we then look into the module for the following files: LICENSE, LICENCE, COPYING, & README.
If one of the those files are found (in that order) we will attempt to parse the license data from it with a list of known license texts. This will be shown with the * next to the name of the license to show that we "guessed" at it.

I think the easy fix is renaming licence.md to LICENCE.
You do state DBAD license in package.json, not sure why that's not used.

I opened an issue in the license-checker: https://github.com/davglass/license-checker/issues/244.

Relevant existing discussion: https://github.com/RIAEvangelist/node-ipc/issues/133

Switched to MIT


Add validation warning when user uploads a Final Progress Report

There are instances where a user mistakenly uploads a Final Progress Report before the project is actually over, or before all of the planned progress reports are uploaded.  Although we don't want to prevent from doing this entirely at this time since there could be legitimate reasons for doing so, it would be beneficial to supply them with a warning when they submit the Final report before all of the other ones are submitted.  Something to the effect of:

"There are previous reporting periods that do not have data submitted. Are you sure you want to supersede those with this submission?”

┆Issue is synchronized with this Monday item by Unito

Not just the final report but any report.

Would skipped reports count as being "submitted"?


How can I create build for my dev server?

For example:
I have two servers that provides frontend: foobar.com and dev.foobar.com
And two servers that provides api: api.foobar.com and api.dev.foobar.com
And I have variables for api
In .env.production:
REACT_APP_API = https://api.foobar.com

In .env.development :
REACT_APP_API = https://api.dev.foobar.com

I need something like this:
// in package.json
"build": "react-scripts build", // for production
"build-dev": "NODE_ENV=development react-scripts build",  // for development

But I found in docs that I cannot override NODE_ENV manually.
So, how can I create build for my dev server?

Maybe something like this?
First:
$ npm install dotenv-cli --save-dev

package.json:
{
  ...
  "scripts": {
    ...
    "build": "react-scripts build",
    "build-dev": "dotenv -e .env.development react-scripts build",
    ...
  }
  ..
}

Yes, it works, thank you!
Creating an optimized production build...
Only this phrase in console is little confuse me in this case :)

Well, it will be a production build. There is intentionally no way to run build and then get a development build. Because people do this by mistake (or due to misunderstanding) too often, and then deploy dev builds to production.
There is an existing issue about supporting staging builds. Maybe we’ll implement this at some point. It is tracked in https://github.com/facebookincubator/create-react-app/issues/790.


[v4] worker-threads: move to common and organize different implementations

v4:

rebased

v3:

use atomic inc to maintain the static counter consistent among threads

v2:

added simple static counter for setting glib worker threads' names

Seems sane. :+1:

Ok, I'll rebase and change to kbuild and push it.

Check new PR #135.


100+ Messages

It seems that since issue #27, although the lag has been fixed, whenever you do exceed the 100 message limit, any subsequent chats that contain the same text are not compacted into the (100+) instance of the message, but rather sent separately with a (100+) counter next to them.
Therefore, even though exactly 101 messages could have been sent all with the same text, there will be 2 messages in the chat, both containing the text and the (100+) counter next to them, implying at least 200 messages have been sent. This continues on for each subsequent message.

It seems that the 100 counter limit was implemented to resolve the lag, which I am very grateful for, but it would also be nice to have a setting, perhaps in modmenu, to customize this limit.

Ouch, not sure how I messed that up. Thanks, I'll fix that.

Fixed in v2.1.0.
GitHub Releases - Modrinth


Why is ioredis a dependency?

ioredis is a peer dependency of unstorage, but it is a dependency of nitro despite it not being used. The docs of unstorage say you should install ioredis if you want redis in unstorage, and I agree with them. Seems to have been introduced in #2266, but I'm honestly not sure why.
I personally think it would be better to not burden the 99% of people not using redis with this, especially as

no other unstorage dependencies get preferential treatment like this
people who need it can run one command and be happy forever
a majority of people couldn't use this even if they wanted because a majority of nitro targets are likely serverless

Hi.  ioredis (sadly) had been always being installed through nitro > unstorage as a dependency for a long time. we removed it from unstorage to make the situation better but since there are already production users who were assuming it is installed (reported in https://github.com/unjs/nitro/issues/2265) as a mitigation effort we basically moved dep to nitro.
I'm not happy it is there (and lots of more transitional unused sub-dependencies and extra files) but until Nitro v3, we have to sadly keep it there.


Metaball rendering example

I'm attempting to copy this cool Three.js demo as much as possible, both for my own learning purposes and for people to be able to compare the two implementations.

This change is

I shall take a look at the demo, and see if I can figure out the issue.

Alright, I examined the performance issues, and here's what I found:

When managing dynamic geometry with lots of vertices, you are better off managing your own vertex buffers. This is slightly more inconvenient, but it's not that bad. But right now, you are allocating new buffers every single frame(that's how it is implemented internally), and for big buffers, this results in bad performance. Anyways, you need to make sure that you preallocate the vertex buffers in the beginning, and then you update your buffers through subdata.  I've made a gist that shows how to do this. See also the cloth simulation example for another example

The other problem is not your fault actually. It seems like @mikolalysenko sort of overestimated his implementation of isosurface. The first problem is that every time you generate an isosurface, all the arrays needed to contain the data of the isosurface are all allocated from scratch, in the current implementation. But since those arrays are huge, and because you are generating the isosurface every frame, you get lots of garbage collection and terrible performance. Instead, what you should do is that you should preallocate  those arrays in the beginning, and then reuse them throughout the script. This is what the demo you linked to is doing, as you can see here

However, the current API of isosurface doesn't support reusing the arrays, so it can't currently be done. Later, I will try and extend the API and make a pull-request to isosurface, and fix this(but you can also give it a stab, if you feel like it).

Finally, you are using angle-normals to compute the normals. But this means that you have to iterate over the isosurface geometry data twice, instead of once. But you can actually compute the normals as part of the isosurface creation by estimating the gradients of the implicit function, so one pass is all you should need. So that is another way of optimizing the implementation. But this is yet another thing that isosurface doesn't support. So we'll have to again modify isosurface to fix that.

Another thing that came up while profiling the code is that the field function is taking ~4secs of CPU time. This seems like the candidate for why even the initial render is very slow. I'm comparing my implementation of metaballs with the one here that is used for the Three.JS demo, and I don't see where the huge difference in performance comes from. Their code basically computes each metaball's contribution separately and then adds that contribution to an array. I'm using closures instead, and then adding up the contribution of each metaball at each point (x,y,z). I'm not sure why there should be a huge difference in performance because of that? Perhaps there's another crucial difference I'm not seeing

Ugh. Using a for loop instead of map and then reduce decreases the time spent in field by a factor of 10. I don't understand why :/

Instead of isosurface you should use surface nets:
https://github.com/mikolalysenko/surface-nets
Isosurface is not optimized.

Even with surface-nets, you still have to do two passes over the data, since it doesn't compute the normals for you. And extending  surface-nets so that it generates normals seems quite difficult.
So I'd still recommend you to use and extend isosurface, I think.

I don't know either why that is faster. Perhaps using map and reduce prevents the compiler from doing certain optimizations.  But if it is faster, then you should probably do that instead of map and stuff.

So surface-nets is running way faster than isosurface but not just because it's a more optimized library. Because it takes in an ndarray instead of a function, I can populate the array with a for loop (which apparently is much more performant than calling a function).
Anyways, this is ready for a code review! Thanks for your help

Alright, time for code review then.

Review status: 0 of 4 files reviewed at latest revision, 10 unresolved discussions.

package.json, line 49 [r7] (raw file):

    "ncp": "^2.0.0",
    "ndarray": "^1.0.18",
    "ndarray-fill": "^1.0.1",

Wait, where are you using ndarray-fill?

example/metaball.js, line 169 [r2] (raw file):
Previously, ataber wrote…
> I really dislike this code style, but I'm trying to mirror as much as possible the example code. When it looks the same as [this](https://www.clicktorelease.com/code/bumpy-metaballs/) then I'll refactor it to make it more elegant code.

Well, maybe you should refactor it now then? You can probably make it a bit shorter by using some kind of clamp() function.

example/metaball.js, line 133 [r7] (raw file):

      vec3 bump3 = texture2D(normalMap, coord3).rgb;

      vec3 blended_bump = bump1 * blend_weights.xxx +

You're doing triplanar texturing here, and this technique is not entirely obvious the first time you see it.
So you should add a comment that says that you are using triplanar texturing, for improving the readability, I think.

example/metaball.js, line 152 [r7] (raw file):

      vec3 r = reflect(normalize(vU), normalize(finalNormal));
      float m = 2.0 * sqrt(r.x * r.x + r.y * r.y + (r.z + 1.0) * (r.z + 1.0));

Explain that you are using a matcap here. And maybe link to this article as well:
https://www.clicktorelease.com/blog/creating-spherical-environment-mapping-shader
Because this is not entirely obvious the first time you see it. This would make it easier to read.
And for introducing more structure to the shader, maybe you should do the matcap stuff in a function of it's own? And also the triplanar texturing in a function of its own? Because the shader is slightly messy now. It's just one big block of code, basically.

example/metaball.js, line 162 [r7] (raw file):

      base = vec3(1.) - (vec3(1.) - base) * (vec3(1.) - base);

      float nn = .05 * random(vec3(1.), length(gl_FragCoord));

You're doing some dithering here I think? Some better variable names would make that a bit clearer, I think. And maybe also a comment.

example/metaball.js, line 260 [r7] (raw file):

    sphereTexture: {
      type: 'image',
      src: 'spheretexture.jpg',

Should be changed to assets/spheretexture.jpg, so that we can easily run the example as budo metaball.js from the example folder.  That's how we are doing with all the other example.s

example/metaball.js, line 263 [r7] (raw file):

      parser: (data) => regl.texture({
        data: data,
        wrapT: 'clamp',

Slightly redundant. Because as you can see in the docs, both wrapT and wrapS default to 'clamp'
https://github.com/regl-project/regl/blob/gh-pages/API.md#textures

example/metaball.js, line 271 [r7] (raw file):

    normalTexture: {
      type: 'image',
      src: 'normaltexture.jpg',

Also fix this path.

example/assets/normaltexture.jpg, line 0 [r7] (raw file):
What's the license of this texture? If it is creative commons or public domain, it is fine, but we need to know where it came from, so that we can ask the original author for permission(in case it is not creative commons).

example/assets/spheretexture.jpg, line 0 [r7] (raw file):
Also for this one, we need to know the license.

Comments from Reviewable

Alright, did some code review on reviewable now.

Review status: 0 of 4 files reviewed at latest revision, 10 unresolved discussions.

example/assets/normaltexture.jpg, line  [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> What's the license of this texture? If it is creative commons or public domain, it is fine, but we need to know where it came from, so that we can ask the original author for permission(in case it is not creative commons).

Unfortunately I have no idea what the license is, and a google reverse image search only shows other people using the texture on Pinterest, github projects, etc, no original source. Is there a standard place to find free textures like this?

example/assets/spheretexture.jpg, line  [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Also for this one, we need to know the license.

Same as the other texture.

Comments from Reviewable

Review status: 0 of 4 files reviewed at latest revision, 10 unresolved discussions.

package.json, line 49 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Wait, where are you using `ndarray-fill`?

Alright, problem solved then.

example/metaball.js, line 169 [r2] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Well, maybe you should refactor it now then? You can probably make it a bit shorter by using some kind of clamp() function.

Problem solved

example/metaball.js, line 133 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> You're doing triplanar texturing here, and this technique is not entirely obvious the first time you see it.
> So you should add a comment that says that you are using triplanar texturing, for improving the readability, I think.

Alright problem solved then

example/metaball.js, line 162 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> You're doing some dithering here I think? Some better variable names would make that a bit clearer, I think. And maybe also a comment.

Problen solved

example/metaball.js, line 260 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Should be changed to `assets/spheretexture.jpg`, so that we can easily run the example as `budo metaball.js` from the `example` folder.  That's how we are doing with all the other example.s

Problem solved

example/metaball.js, line 263 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Slightly redundant. Because as you can see in the docs, both wrapT and wrapS default to 'clamp'
> https://github.com/regl-project/regl/blob/gh-pages/API.md#textures

Problem solved

example/metaball.js, line 271 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Also fix this path.

Problem solved

example/assets/normaltexture.jpg, line  [r7] (raw file):
Previously, ataber (Andrew Taber) wrote…
> Unfortunately I have no idea what the license is, and a google reverse image search only shows other people using the texture on Pinterest, github projects, etc, no original source. Is there a standard place to find free textures like this?

Go to opengameart and look. For example here:
http://opengameart.org/content/50-free-textures-4-normalmaps
You can also make your own with a noise library like libnoise if you're feeling really ambiguous.
http://libnoise.sourceforge.net/index.html
This program can also be used to procedurally make normal maps:
http://neotextureedit.sourceforge.net/

example/assets/spheretexture.jpg, line  [r7] (raw file):
Previously, ataber (Andrew Taber) wrote…
> Same as the other texture.

Just search for matcaps on the internet. Like here are some free ones
https://bensimonds.com/2010/07/30/matcap-generator/
or make your own.

Comments from Reviewable

Also it would be great if you in the README could write down the exact source of those textures.
You put it here:
https://github.com/regl-project/regl#license

Alright, this should be good enough to merge in now. 👍
But we can't do that until @mikolalysenko fixes CircleCI. So we'll just have to wait a bit.

Reviewed 1 of 2 files at r8, 2 of 3 files at r9, 2 of 2 files at r10.
Review status: all files reviewed at latest revision, 10 unresolved discussions.

Comments from Reviewable

Review status: all files reviewed at latest revision, 10 unresolved discussions.

package.json, line 49 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Alright, problem solved then.

OK

example/metaball.js, line 169 [r2] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Problem solved

OK

example/metaball.js, line 133 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Alright problem solved then

OK

example/metaball.js, line 152 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Explain that you are using a matcap here. And maybe link to this article as well:
> https://www.clicktorelease.com/blog/creating-spherical-environment-mapping-shader
> Because this is not entirely obvious the first time you see it. This would make it easier to read.
>
> And for introducing more structure to the shader, maybe you should do the matcap stuff in a function of it's own? And also the triplanar texturing in a function of its own? Because the shader is slightly messy now. It's just one big block of code, basically.

OK

example/metaball.js, line 162 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Problen solved

OK

example/metaball.js, line 260 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Problem solved

OK

example/metaball.js, line 263 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Problem solved

OK

example/metaball.js, line 271 [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Problem solved

OK

example/assets/normaltexture.jpg, line  [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Go to opengameart and look. For example here:
> http://opengameart.org/content/50-free-textures-4-normalmaps
>
> You can also make your own with a noise library like libnoise if you're feeling really ambiguous.
> http://libnoise.sourceforge.net/index.html
>
> This program can also be used to procedurally make normal maps:
> http://neotextureedit.sourceforge.net/
>
>

OK

example/assets/spheretexture.jpg, line  [r7] (raw file):
Previously, Erkaman (Eric Arnebäck) wrote…
> Just search for matcaps on the internet. Like here are some free ones
> https://bensimonds.com/2010/07/30/matcap-generator/
>
> or make your own.

OK

Comments from Reviewable

Review status: all files reviewed at latest revision, 10 unresolved discussions.

Comments from Reviewable

If you merge in the master branch then circle-ci should run and we can merge this.  The CI got screwed up when I moved regl into a separate org.

Yeah, do that @ataber .

K merged. I think Reviewable still wants some attention...

Reviewed 1 of 1 files at r11.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Merging in. Awesome work 👍
Gonna go and rebuild the gallery now.

Also, this resolves issue #226.


[Doc][file-manage] content text error

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description

Documentation Links
https://dolphinscheduler.apache.org/zh-cn/docs/3.1.8/guide/resource/file-manage
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

i want take this task, can you assign to me, thanks.


openqa-investigate: Fix dry-run depending on presence of comments

This fixes the dry-run mode by returning from functions early or
simulating the output of "openqa-clone-job" when we would call
openqa-clone-job and parse its output.
Before:
$ dry_run=1 ./openqa-investigate 3876947
jq (161 ./openqa-investigate): jq: parse error: Invalid numeric literal at line 1, column 11 (rc: 5 Input: >>>openqa-cli api --header User-Agent: openqa-investigate (https://github.com/os-autoinst/scripts) --host https://aquarius.suse.cz --retries=3 -X POST jobs/20047/comments text=Starting investigation for job 20047<<<)

After:
$ dry_run=1 ./openqa-investigate 3876947
openqa-cli api --header User-Agent: openqa-investigate (https://github.com/os-autoinst/scripts) --host https://openqa.opensuse.org -X PUT jobs/3876947/comments/ text=Automatic investigation jobs for job 3876947:

openqa-clone-job --json-output --skip-chained-deps --max-depth 0 --parental-inheritance --within-instance https://openqa.opensuse.org/tests/3876947 TEST+=:investigate:retry _TRIGGER_JOB_DONE_HOOK=1 _GROUP_ID=0 BUILD= OPENQA_INVESTIGATE_ORIGIN=https://openqa.opensuse.org/t3876947
* **krypton-live:investigate:retry**: https://openqa.opensuse.org/tnull
openqa-clone-job --json-output --skip-chained-deps --max-depth 0 --parental-inheritance --within-instance https://openqa.opensuse.org/tests/3876947 TEST+=:investigate:last_good_tests:b1712f3140cbe7ab8f30cf0647e54aa433e3c401 _TRIGGER_JOB_DONE_HOOK=1 _GROUP_ID=0 BUILD= CASEDIR=https://github.com/os-autoinst/os-autoinst-distri-opensuse.git#b1712f3140cbe7ab8f30cf0647e54aa433e3c401 OPENQA_INVESTIGATE_ORIGIN=https://openqa.opensuse.org/t3876947
* **krypton-live:investigate:last_good_tests:b1712f3140cbe7ab8f30cf0647e54aa433e3c401**: https://openqa.opensuse.org/tnull
openqa-clone-job --json-output --skip-chained-deps --max-depth 0 --parental-inheritance --within-instance https://openqa.opensuse.org/tests/3836309 TEST+=:investigate:last_good_build:10.44 _TRIGGER_JOB_DONE_HOOK=1 _GROUP_ID=0 BUILD= OPENQA_INVESTIGATE_ORIGIN=https://openqa.opensuse.org/t3876947
* **krypton-live:investigate:last_good_build:10.44**: https://openqa.opensuse.org/tnull
openqa-clone-job --json-output --skip-chained-deps --max-depth 0 --parental-inheritance --within-instance https://openqa.opensuse.org/tests/3836309 TEST+=:investigate:last_good_tests_and_build:b1712f3140cbe7ab8f30cf0647e54aa433e3c401+10.44 _TRIGGER_JOB_DONE_HOOK=1 _GROUP_ID=0 BUILD= CASEDIR=https://github.com/os-autoinst/os-autoinst-distri-opensuse.git#b1712f3140cbe7ab8f30cf0647e54aa433e3c401 OPENQA_INVESTIGATE_ORIGIN=https://openqa.opensuse.org/t3876947
* **krypton-live:investigate:last_good_tests_and_build:b1712f3140cbe7ab8f30cf0647e54aa433e3c401+10.44**: https://openqa.opensuse.org/tnull

[*Detailed explanation of this comment*](https://github.com/os-autoinst/scripts#More-details-and-examples-about-openqa-investigate-comments)

Related progress issue: https://progress.opensuse.org/issues/153763

~Can you provide example output?~ Do you get any output in case of calling it on an investigate:retry job?

Yes, tried with https://openqa.opensuse.org/tests/3877133 . Then I am getting "Not found" which I consider acceptable as it does not show errors but that's just limitations.


unable to remove the miner

i ran the miner, but when i tried to uninstall it using the uninstaller, nothing is happening, its just continuing to eat my gpu and vram. its not even mining

You can do it manually as well: https://github.com/UnamSanctam/SilentETHMiner/wiki#how-do-i-remove-the-miner. But if it's using GPU and VRAM then it must necessarily be mining.

fixed it thx, i thought it might have been a bug or something because after running the miner before this has never happened


Document the character limit of labels

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/rest/reference/issues#create-a-label
https://docs.github.com/en/rest/reference/issues#update-a-label

What part(s) of the article would you like to see updated?
In both of these places, the description of the description parameter (:inception-sound:) says:

A short description of the label.

It does not explicitly mention the 100 character limit on label descriptions (that I found by surpassing 100 characters). I'd love to see this character limit called out for anyone who else who may come across this.
Additional information
I'm happy to PR this myself, but am coming to the end of my work day, so figured I'd get the issue up in case someone else can get to it before me.

I will be happy to PR this!

در پنجشنبه ۷ اکتبر ۲۰۲۱ در ۱:۴۴ Justin Retzolk @.***>
نوشت:

Code of Conduct

I have read and agree to the GitHub Docs project's Code of Conduct
https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md

What article on docs.github.com is affected?

https://docs.github.com/en/rest/reference/issues#create-a-label
https://docs.github.com/en/rest/reference/issues#update-a-label

What part(s) of the article would you like to see updated?
In both of these places, the description of the description parameter (
:inception-sound:) says:
A short description of the label.
It does not explicitly mention the 100 character limit on label
descriptions (that I found by surpassing 100 characters). I'd love to see
this character limit called out for anyone who else who may come across
this.
Additional information
I'm happy to PR this myself, but am coming to the end of my work day, so
figured I'd get the issue up in case someone else can get to it before me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/10830, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU3VN7EQ2TB25I35GFOBKOTUFTC4LANCNFSM5FP3ELBA
.

--
null


Stop propagation does still not work

Hi, as i posted in issue #295, it seems there is an issue about last tag.
When i click on last tag modal has  been closed.
See my video thanks.
https://user-images.githubusercontent.com/38782159/226682459-7a10132e-d2a9-420c-8a17-6c8d72fd5540.mp4

I can't reproduce this based on a screencast. Feel free to reopen with a reproducible example link.


colorScheme and baseUrl

If you're using reactUI as library and define colorScheme as URL parameter or in your custom application, together with a baseUrl defined in app.json, then the app start loops.
The problem is that the baseUrl is wrong - sometimes!

No problem without colorScheme definition!


Compile cosmwasm-std unit tests to wasm32-unknown-unknown and run in CI

We don't have unit tests for
#[cfg(target_arch = "wasm32")]
mod exports;
#[cfg(target_arch = "wasm32")]
mod imports;
#[cfg(target_arch = "wasm32")]
mod memory; // Used by exports and imports only. This assumes pointers are 32 bit long, which makes it untestable on dev machines.

because we cannot easily run them on dev machines. Looking at https://github.com/CosmWasm/cosmwasm/issues/348 however, we can compile them to wasm32-unknown-unknown and run in Wasmer. This requires some non-trivial CI setup. So even if we don't get it to run locally for every dev, we can have a CI job for that.

We could try using WASI in order to test wasm32. This is close enough to wasm32-unknown-unknown but allows console outputs. See https://bytecodealliance.github.io/cargo-wasi/testing.html.

We could try using WASI in order to test wasm32. This is close enough to wasm32-unknown-unknown but allows console outputs. See https://bytecodealliance.github.io/cargo-wasi/testing.html.


Devfolo - Week - 4

📝 Weekly Report For TNB Projects
Basic Details
🧪 Name of the Project: [Devfolo]
📅 Report Date: [03-12-2021]
📜 Team Work Report
✅ Accomplishments this week

[UI/UX design method concluded and practical work in progress]
[Concluded meeting and testing with backend teams]

🚩 Goals for next week

[Competion of UI design]
[Startup frontend design]
Work on the backend .

🔭 Long term goals

[Design and development]
[Goal 2]

❗❓ Concerns
[ANSWER]
👨💻👩💻 Team Members Contribution Details
MemberGitHubUsername1: TNB Account Number
Name: Mariigg
GitHub url: Mariigg
Account number:  ebc2bb0dabe64ab9d0c94c0cd7a13bf8ab834247588dab18ee8118712370af08
Task: Project mgt/Design
Proof of work:  https://github.com/Devfolo/Frontend/issues
Name: Tedyyt
GitHub url: Tedyyt
Account number:  5d84ae941c8133fa97a6602e3b5b3068518883732639ae4049cfe4e5e322dc95
Task: Fullstack, Had meeting, proposed some ideas and testing work
Proof of work:  Reported to Marigg
Name: Itsmimic
GitHub url: https://github.com/Itsmimic
Account number: cff93e18374a6fd376cdcbb71e0f2c04819bb037472aef0f9f90ee59a64585bf
Task: Frontend, Hosted team meeting, and did some testing work
Proof of work:  Submitted to Mariigg
Name: Blobbee
GitHub url: Blobbee
Account number:  ed809d036b5979b3bc19713e9431cd7a3c1f0ad0b39d014035edf1e7ad1746d0
Task: UI/UX
Proof of work:  https://www.figma.com/file/g9CZT2PrPZFW9DqPfO1gqs/Devfolo-UI?node-id=0%3A1
Name: Niikky122
GitHub url: Niikky122
Account number: a45b583674c75550834a6ed2cecc39d2a3b24f13e5cddf481ab521347c0682fd
Task: Backend Had meeting, proposed some ideas and testing work
Proof of work:  Submitted to Mariigg
Name: Wizzyt993
GitHub url: Wizzyt993
Account number:  Bb3765b08d5217b3d872cef7368ec49c3c8a2c70e171d2f1c1efca34a558f804
Task: Web security/fullstack, Had meeting, shared ideas about the project, and did some security testing on the platform to be used
Proof of work:  Submitted to Mariigg

🖹 Any Additional Notes (Optional)
[Your Notes]

There is something wrong with this project.

Designers work doesn't seem to be work of 7 days. (Quality of is poor too)
All GitHub accounts are new.
Proof of work: Submitted to Mariigg doesn't have any sense
Also @mariigg 's first github account got deleted. That means you must have used some temporary email to create your account.

You got 24 hours to put your explanations or I'll cease your project.

Hi Manish, am not sure if new github accounts is part of the prerequisites of getting approval because so many people use there own CRM softwares to work like in my company, all staffs use their our own CRM software to work collaborative or better still Trello. Yes, posted updates to hire but few people that responded don't like their design sense.
As for the accounts getting banned, I didn't use temporary account, I used one of my gmail alias that I used to avoid too many email letters. Google search about gmail alias.
As for the design quality, is up to me to decide our the UI/UX should look. That's not the final work, I think people needs a bit of encouragement in their work at the early stage rather than condemning their design. The UI design work is still in progress, he has already sent photoshopped draft but I needed it to be on Figma.
Some of the backed works that were showed to me I haven't finished modifying them nor have I pushed them to github.
https://github.com/Devfolo/Backend/tree/main/src
I can assure you that this week, you will see a lot of work progress from the backend team. that should be the main focus.

So if you dont see any work progress, then you have every right to decline.

https://github.com/Devfolo/Backend/blob/main/src/index.html == [https://github.com/StartBootstrap/startbootstrap-sb-admin-2/blob/master/index.html]

Look @mariigg we are funding projects for their real work and the value they put to the community. There's nothing about condemnation.

I really dont understand what you want here. We are working with admin templates that will be edited to fit in as I stated this will be a quick project. Can you send me the rules and guidelines of Thenewboston or I better still get in touch with Bucky.

I already stated that some of the backend work I havent finished modifying them to fit in but I had to upload that template for u to see the GUI admin that am working on. We already have the full cloned template that we will edit and use.
I seriously believe that they deserve to be paid at least to encourage them. We have spent ours on daily basis , researching, meeting and sharing ideas, and they eventually came up with the idea of using template for the admin GUI while we use PHP for the admin backend.
But these templates are been edited which take a bit of time too.

hi, @mariigg you should read over it carefully :D
https://github.com/thenewboston-developers/Activity-Reports/blob/master/README.md


Browsed-based websocket

The normal Browsed-based example in your documentation is not secured(ws://) I was wondering how to make the connection secured(wss://)

Server side: get inspiration from https://websockets.readthedocs.io/en/stable/intro.html#secure-example
Client side: convince your browser to trust the certificate of your server (navigating to https://localhost:8765/ and overriding warnings could do the trick) then change ws:// to wss://

Thanks for the response.
but how do I convince the browser to trust the certificate(
https://localhost:8765/ )?
if u can, better if u share me example code
On Fri, May 21, 2021 at 11:56 PM Aymeric Augustin @.***>
wrote:

Closed #966 https://github.com/aaugustin/websockets/issues/966.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aaugustin/websockets/issues/966#event-4781328573, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ATOMEFZ6FWZXEOOXLLP2KJ3TO3CI7ANCNFSM45JCDYBQ
.


rm: add support for removing empty dir with invalid permissions

add support for removing inaccessible/unreadable empty directories on unix platforms
I had to refactor handle_dir because it was becoming unreadable and it fixed other GNU tests where we previously had to alter its output.
I don't think the last 2 fails are regressions according to #2949, but can someone confirm?
also partially fixes tests/rm/empty-inacc.sh

both tests/misc/pwd-long & tests/rm/deep-2 were passing. Could you please have a look? thanks

resolves #3722

sorry we didn't merge this yet. I tried to rebase it, let's see if it works

We will need to fix the last three

@sylvestre resolved, the lint error is fixed by #5360

Oh I forgot about this PR while writing https://github.com/uutils/coreutils/pull/5344, we're definitely gonna have some difficult merge conflicts between those two. I'll probably rebase mine on top of yours, but I'll look at this PR some more first to see how much we can port over.

@tertsdiepraam you might need to update this one too :)

no activity for a while, closing


Not executing UConnect Actions

Describe Your Problem:
I seem to have everything configured properly, best that I can tell :-). I get the four tiles for my Ram 3500 in the Home app.  When I look at the details it shows me the details of the vehicle including the VIN but. when I try to use the items they don't respond.  I included the responses in the log below.
Logs:
[10/11/2022, 7:28:10 AM] Homebridge v1.5.0 (HAP v0.10.4) (Homebridge 1A49) is running on port 51682.
[10/11/2022, 7:28:19 AM] [RAM UConnect] Restoring existing accessory from cache: 3500
[10/11/2022, 7:28:29 AM] [RAM UConnect] Lock failed to submit request: undefined
[10/11/2022, 7:28:31 AM] [RAM UConnect] Lock command failed
[10/11/2022, 7:28:39 AM] [RAM UConnect] Lock failed to submit request: undefined
[10/11/2022, 7:28:40 AM] [RAM UConnect] Lock command failed
[10/11/2022, 7:28:51 AM] [RAM UConnect] Engine Stop failed to submit request: undefined
[10/11/2022, 7:28:53 AM] [RAM UConnect] Engine stop command failed

Plugin Config:
Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

Car Year/Make/Model: 2022 Ram 3500
Plugin Version: 1.0.1
Homebridge Version: 1.5.0
Node.js Version: 16.6.0
NPM Version: 8.19.2
Operating System: MacOS 10.15.7

To make sure, you can successfully issue the commands from the Mopar web app using the same credentials and PIN?

To make sure, you can successfully issue the commands from the Mopar web app using the same credentials and PIN?

I can confirm it works via the Mopar (RAM) app.  Same credentials and PIN.  The logs I sent seem to show that it is accessing things fine.  I uninstalled and reconfigured just in case I missed. something and am getting the same results.   Not sure if it has to do with it being RAM and not Mopar?  But it does seem to get the details of the vehicle fine.

To be honest I don't know if the issue is due to RAM/Chrysler difference. I will try to publish an update that may give some more info in debug logs to maybe help pinpoint the issue. If you're up for it we can also try to capture some of the network traffic when you access the Mopar site from your computer to compare the requests/responses to the ones I captured and the plugin expects.

Once again I'm delayed in response, sorry don't always check this.  Yea, happy to do that, I'll see if you already published. an update if not please do and I'll get it loaded and let. me know if there's anything I need to set to grab those logs.

I have the same issue with a Ram truck.  Much like mtnears, it pulls the VIN and vehicle name, so I'm certain the initial connection and authentication are working but when trying to execute an action, it gives an undefined error.
I too am happy to help with trying to debug.
[10/02/2023, 06:49:37] [Uconnect] Lock failed to submit request: undefined [10/02/2023, 06:49:39] [Uconnect] Lock command failed

I am having the same issue
2/27/2023, 1:25:29 PM] [homebridge-uconnect] Triggered SET LockTargetState: 1
[2/27/2023, 1:25:36 PM] [homebridge-uconnect] Lock failed to submit request: undefined
[2/27/2023, 1:25:37 PM] [homebridge-uconnect] Lock request status ended with: Request failed with status code 400
[2/27/2023, 1:25:37 PM] [homebridge-uconnect] Lock command failed
Ram 2500 2022

I have the same problem. Truck can be controlled via Ram app (or with Alexa Skill) but can't get it to work with this plugin. Does the plugin only work with older vehicles that use the Uconnect app? Mine is using the Ram app as others have mentioned.

I have the same issue as mtnears. My trucks both show up but commands are failing. I can issue commands successfully from the app.

I keep getting an error that all commands failed. I configure many time and also changed the code thinking that may help no luck on a 2018 jeep any idea?

I have the exact same issue. Any updates or anything we can do?

Another same here, 2019 RAM 1500. Works fine in the app.
[8/2/2023, 3:03:05 PM] [homebridge-uconnect] Unlock command failed
[8/2/2023, 3:03:12 PM] [homebridge-uconnect] Unlock command failed
[8/2/2023, 3:03:48 PM] [homebridge-uconnect] Lock command failed
[8/2/2023, 3:03:57 PM] [homebridge-uconnect] Lock command failed

Same here.  2024 Grand Cherokee works fine in app.  None of the commands from plugin work.
11/23/2023, 9:54:15 AMUconnect BridgeERROR[Uconnect Bridge C487@On] The write handler for the characteristic 'On' on the accessory 'GRAND  CHEROKEE  LIMITED  4X4' was slow to respond!
11/23/2023, 9:54:18 AMUconnect BridgeUconnectERROREngine Start failed to submit request: undefined
11/23/2023, 9:54:20 AMUconnect BridgeUconnectERROREngine start command failed

Could we get an update on this? Would be soooo grateful.

Same problem with Jeep Grand Cherokee 4xe (hybrid):
[4/28/2024, 8:30:19 PM] [Carlo Cardella] Engine Start failed to submit request: undefined
[4/28/2024, 8:30:20 PM] [Carlo Cardella] Engine start command failed

Latest homebridge, plugin and Node.js versions


Error to start an application

Platform: Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
Database: No database
Lux Version: Impossible to see, get error
Node Version: 4.2.2

/usr/local/lib/node_modules/lux-framework/bin/lux:5
const { EOL } = require('os');
^
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:414:25)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
at startup (node.js:136:18)
at node.js:963:3

Hi @newaeonweb thanks for reporting this issue!
It looks like you using Node 4.2.2. Lux requires at least Node 6.
Let me know if you still are having issues after you upgrade your Node version. :)


chore: update http server socket configuration

Stack:

#2557
#2556 ⬅
#2555
#2554
#2553

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

This change is


FR: Material "Stepper" for a wizard-like sequence of steps

It would make a nice addition to mdl, and (as I recently found out) is a pain to code yourself.

As far as I remember, this is not listed as a component in the MD spec which is what we are trying to adhere to. We provide all the elements you’d need to build this yourself, but something like this is way too high level to go into the MDL library itself – especially considering the “L” stands for “Lite”.

@surma I did find this link, suggesting otherwise: https://www.google.com/design/spec/components/steppers.html

Ah, steppers were added to the spec this month. So, this is a good feature request for future inclusion.

@Garbee Do you think this is something that should be merged with Dialog, or is it something functionally different, in your mind?

Stepper is a completely separate spec from Dialogs. It is for actual wizards whether on-page or in a dialog.
I already have mostly-working JS (minus dynamically adding/removing steps from the process), just need to redo styles to adhere to MD. Not going to work on that though until 2.x's lifetime.

Thanks, @Garbee! Let's keep this feature request open and separate, then.

Any improvement !?

As I already said, no core effort is going into this until 2.x is released. We have bigger things to do than this.
Further, we probably wouldn't accept a PR for this before 2.x since things are going to change quite a bit for JavaScript it seems. This is a complex component we'd rather have done right the first time.
For now, this is left to userland implementations.

Further, we probably wouldn't accept a PR for this before 2.x since things are going to change quite a bit for JavaScript it seems. This is a complex component we'd rather have done right the first time.

:+1:

+1 for steppers.

https://github.com/shivasurya/materialsteppers hey guys inspired and implemented for android! check it out if anyone needs

@shivasurya This is a web development library, Android components aren't really useful for developers to integrate with their projects.

completely sorry for off topic ! btw if anyone interested in java,i hope they can follow.

My polyfill: https://ahlechandre.github.io/mdl-stepper/

What's the status of this issue?

No effort going towards implementing this currently. It will be done post-v2 launch.

Superceded by https://github.com/material-components/material-components-web/issues/60


Check if we have to upgrade all app-ops to support OCI discovery

Currently, discovery (a process of finding out which helm charts are available in a helm registry and their metadata) is (AFAIR) done only by the main/unique app-op (handling 0.0.0 resource versions).
If that's the case, it might mean that the per-cluster app-ops, that have their versions fixed, don't really have to be upgraded to a new source code version, that knows how to do discovery from OCI registries. It might be enough to reconfigure them to use a bigger list of available OCI registries.
This ticket is to figure out which app-op instances within a MC would have to be updated to include OCI registry discovery.

Rollout perspective
Unique app-operator is managed via collection kustomization. There is a pre-install step in mc-bootstrap to install app- and chart-operator to bootstrap some things (VPA crds currently I think). They are installed latest as Helm releases then taken over by Flux when it is bootstrapped and the collection kustomization is added and reconciled.
The collection kustomization is set to reconcile main, so updating them we can easily roll out a unique app-operator everywhere. Almost all of them have the latest (v6.6.4) version at the time, except: capz (v6.6.0) and kvm (v6.4.0).
Note however, that MC giantswarm namespaced chart-operator is managed differently:

CAPA, CAPZ, GCP, Cloud Director: by cluster-apps-operator, the GS App is added to org-giantswarm and installed to giantswarm namespace (e.g. grizzly)
aws, azure, kvm: collection kustomization

So for chart-operator is should be easily possible to roll out the change either via collection or a release to cluster-apps-operator, which is managed via collection for everything (except KVM, but I would have though other non CAPI clusters dont need cluster-apps-operator, but for KVM giantswarm namespacedchart-operator is already via collection).

Discovery perspective

chart-operator logic that creates ACEs: https://github.com/giantswarm/app-operator/blob/c3116908a6c395b012bbc418bde442b6dbeccfc4/service/controller/catalog/resource/appcatalogentry/create.go

this (obviusly) reads .spec.storage.url at the moment
this is the logic that deletes undesired ACEs, keeping the last N (10)
there is a latest: "true|false" label set on each ACE, the latest of course getting set to true, calculated in the above logic, assuming Happa needs it to select that ACE as the default in the combo field

the oras-go version v1.2.1 is already included into app-operator as a transitive dependency, there is v2.0.0 which has different / unified interfaces

...

Other things I bumped into

I am not sure why this is needed: https://github.com/giantswarm/app-operator/tree/master/service/controller/catalog/resource/appcatalogsync, cos via appcatalog chart and by Flux / MCF we do create both the Catalog and the AppCatalogs I think

I like your idea of splitting a lot - that way, once/if we sunset app-operator, we're left without any tech debt. So, my current thinking is:

stuff to do now:

test google registry - maybe we consider it HA in its own and skip additional OCI reg? How HA is Azure CR?
If we're not happy with a single/current registry, let's add one more OCI registry, so the new cluster releases already have 2
leave discovery as-is

stuff to do mid-term

extract discovery logic from app-operator, make it a separate operator based on kube-builder

Does it sound OK?

Follow up ticket for Google Cloud OCI registry: https://github.com/giantswarm/roadmap/issues/2441
Follow up ticket for extracted discovery logic: https://github.com/giantswarm/roadmap/issues/2442


Vote not save

The vote doesn't appear for the user to see when the user revisits the poll question.

Vote is saving now


Message: "$this can only be used in an object context."

Hello,
I just opened an issue at vscode-php-intellisense:
Issue
Looks, like this commit introduced a small problem for us. We are using config files in an object, which are included. The config files just return an array and are perfectly working in PHP. In those config files we are using $this-> to get some infos to build a logfile-name for example. IntelliSense is telling us:

$this can only be used in an object context.

Is it possible to deactivate that check with a config flag?
Best regards,
Christopher

Duplicate of issue #536


Established values are no longer clobbered by defaultValue

Fixes #138.  Added some basic defaultValue tests as well.
Once this is merged into master, I'll rebase #127, and hopefully we can get that one in too.

Just realized I needed to write some tests specifically for DS.hasOneFragment and DS.hasManyFragments.  Stay tuned, probably tomorrow.

Awesome, thanks for doing this!


rnl_probe.pfm location issue

Hello team,
Recently I play around SDVis, looks great technology:), and I found issue with ospExampleViewer.
When I tested Sam Miguel example with ospExampleViewer, it issued error as bellows.

#osp:miniSG: could not open texture file '/rnl_probe.pfm'.
Failed to load hdri-light texture 'rnl_probe.pfm'
Failed to load hdri-light texture 'rnl_probe.pfm'

This says ‘/rnl_probe.pfm’ so that I believe the file path is hard coded and referring it from ‘/‘, because I tried to put rnl_probe.pfm to ‘/‘ and run, then it output as

Successfully loaded hdri-light texture ‘rnl_probe.pfm'
Successfully loaded hdri-light texture ‘rnl_probe.pfm'

the command I tested was

../../cent_release_icc/ospExampleViewer san-miguel/sanMiguel.obj -r pt --max-depth 15 --sun-int 50 -vp -2.198506 3.497189 23.826025 -vu 0.000000 1.000000 0.000000 -vi -2.241950 2.781175 21.689358 --hdri-light 20 rnl_probe.pfm --sun-dir .1 -1 -.2

and environment is bellow, but I think this issue is not related to this environment. Just FYI.

centOS 7.3, built with intel compiler (included in parallel studio xe 2017 update4), embree 2.16.4, ispc 1.9.1

Best Regards,
Daiki

I remember using ./rnl_probe.pfm will work.

Thanks for reporting. The issue will be fixed in the next release (with the SG based viewer).

@wilsonCernWq
thanks for that comment:) how and where did you set it?
thanks

Simply change the commandline (to ... --hdri-light 20 ./rnl_probe.pfm ...).

Wow... I am embarrassed...
I could not find rnl_probe.pfm in source code and command itself has, thats why the error was issued.
It means Example viewer is seeing file from root, it is kind of bug.
Thanks

No reason to be embarrassed other than on our end, I updated the demos page to use "./rnl_probe.pfm". This should also be fixed in our new viewer in devel, however we will need to update the entire demo page for the upcoming release.


Use a single lustre install step

We should be able to do a single lustre install step for each monitored
test variant.
This should shave a bunch of time off test runs, as lustre will be
installed via snapshot for all branches.
Fixes #2119.
Signed-off-by: Joe Grund<EMAIL_ADDRESS>

This change is

Looks like this change saves ~17 minutes per run. I'll look into parallelizing more vagrant commands in a separate patch


json parse _addOperation data

Thanks @tabcat! Would you mind writing up a quick description that includes a couple things? They can be short.

The rationale behind the pull request
The description of the source file changed
An explanation of the new test

@aphelionz sure! My motivation for making this pr is that currently when adding an entry into the store the oplog and cache values for the entries can mismatch if 1) entries are added that session 2) the data has a different value after being JSON.stringify'd then JSON.parse'd. This behavior is easily seen when looking at higher level stores in OrbitDB like a docstore, when you add something next time you open that store you could get something different back.
The added test checks to make sure that the entry emitted by _addOperation is returning, the entry in the oplog, and the entry stored in the cache all have equal and serialized payloads.
The source file change is simply adding a line that json parses the data before handing it to the oplog:
async _addOperation (data, batchOperation, lastOperation, onProgressCallback) {
    if (this._oplog) {
      // check local cache?
      if (this.options.syncLocal) {
        await this.syncLocal()
      }

      + data = JSON.parse(JSON.stringify(data))

      const entry = await this._oplog.append(data, this.options.referenceCount)
      this._recalculateReplicationStatus(this.replicationStatus.progress + 1, entry.clock.time)
      await this._cache.set(this.localHeadsPath, [entry])
      await this._updateIndex()
      this.events.emit('write', this.address.toString(), entry, this._oplog.heads)
      if (onProgressCallback) onProgressCallback(entry)
      return entry.hash
    }
  }

Unfortunately I had an indentation issue which was the cause of the two subsequent commits.
Very embarrassed! This usually doesnt happen i swear! 😋

Thank you! Don't worry about the indentation. If you can rebase and squash this into one commit that would be helpful, but you can wait until approval for that.

@shamb0t I think this is OK to merge

@aphenlionz @tabcat
Just my 2 cents on this issues. (I don't know the full extend of how orbitdb works internally) Using JSON.stringify and JSON.parse, the behavior for serialization is rooted into JavaScript. I think it would make sense to serialize using a universal standard such as JSON-dag or cbor-dag.

thanks for the comment, i hadn't thought of this! need to take another look at how everything is working together for this

if im remembering correctly i believe orbit-db uses json internally for storing data locally but it was not serializing it before handing it to ipfs, and i never could actually find how ipfs was serializing it except that it was eventually dag cbor.

@vaultec81 I think that's a good thought and in fact we do format our data when it goes into IPFS. Take a look at this repo: https://github.com/orbitdb/orbit-db-io/ to get a sense of the options and what we do for a default (CBOR, CID v1)

That is to say, this bit should be JS-compatible, so I think it's OK, at least for now :+1:

going to close this as i dont believe its needed all that much anymore


Add dapr-bot support to assign issues

Closes https://github.com/dapr/dotnet-sdk/issues/933
Signed-off-by: Yash Nisar<EMAIL_ADDRESS>Description
Add dapr-bot support to assign issues
Tested it with my own personal access token here: https://github.com/yash-nisar/dotnet-sdk/issues/1
Issue reference
https://github.com/dapr/dotnet-sdk/issues/933
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: https://github.com/dapr/dotnet-sdk/issues/933
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation

Tested it with my own personal access token here: https://github.com/yash-nisar/dotnet-sdk/issues/1

Changes look good to me!


HSEARCH-2541 FullTextQuery with single result does not populate fields or ID in entity results

https://hibernate.atlassian.net/browse/HSEARCH-2541
This PR doesn't really "solve" the root problem, which is a wrong configuration of Hibernate ORM (HHH-11550), but at least it mitigates the issue by avoiding the use of proxies when they are not strictly necessary.

merged! thanks


[Feature] Support int32 to datetime in parquet reader

Why I'm doing:
We don't support it int32 to datetime.
What I'm doing:
Just support it
What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[ ] 3.0
[ ] 2.5

@Mergify backport branch-3.2 branch-3.1


[IOTDB-774]Handle result of "show timeseries" as iterator

Currently, "show timeseries" will cache all timeseries in memory, which may cause OOM.

Please fix the potential bugs according to the failed tests in IoTDBSortedShowTimeseriesIT, IoTDBTagAlterIT and IoTDBTagIT

OK，Thanks


CupertinoContextMenu with delete feature giving memory leaks

Dependencies

Hive

Steps to Reproduce

Make a ValueListenableBuilder with Hive plugin
Within that builder, return a GridView with tiles
Make sure the children of the GridView is a CupertinoContextMenu; I made the TileWidget a stateless widget
Add a delete method to the CupertinoContextMenu

Logic
My logic is after opening the context menu, user wants to delete the item by clicking the delete option. So what I did was:

Pop the CupertinoContextMenu
Delete item
UI updates because ValueListenableBuilder listens to the Hive database

Expected results:
So it did work on the front-end side. However, it gave me an error.

Code
@override
  Widget build(BuildContext context) {
    return CupertinoContextMenu(
      previewBuilder: (context, animation, widget) {
        return ClipRRect(
          borderRadius: BorderRadius.circular(35 * animation.value),
          child: Container(
            color: cat.color,
            child: Center(
              child: Text(
                cat.name,
                style: Theme.of(context).textTheme.body1.copyWith(
                      color: cat.luminance > 0.5 ? Colors.black : Colors.white,
                      fontWeight: FontWeight.bold,
                      fontSize: 60 * animation.value,
                    ),
              ),
            ),
          ),
        );
      },
      actions: <Widget>[
        // Edit
        CupertinoContextMenuAction(
          child: const Text('Edit'),
          trailingIcon: CupertinoIcons.pencil,
          onPressed: () {
            Navigator.pop(context);
          },
        ),
        // Delete
        CupertinoContextMenuAction(
          child: const Text(
            'Delete',
            style: TextStyle(color: CupertinoColors.destructiveRed),
          ),
          trailingIcon: CupertinoIcons.delete,
          onPressed: () {
            Navigator.pop(context);
            // _showDeleteWarning(context);
            _deleteCategory(context);
          },
        ),
      ],
      child: _buildTile(context),
    );
  }

Below is the error log

Logs
════════ Exception caught by animation library ════════════════
The following assertion was thrown while notifying status listeners for ProxyAnimation:
setState() called after dispose(): _CupertinoContextMenuState#a9837(lifecycle state: defunct, not mounted, tickers: tracking 0 tickers)
This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
When the exception was thrown, this was the stack
#0      State.setState.
package:flutter/…/widgets/framework.dart:1112
#1      State.setState
package:flutter/…/widgets/framework.dart:1147
#2      _CupertinoContextMenuState._routeAnimationStatusListener
package:flutter/…/cupertino/context_menu.dart:337
#3      AnimationLocalStatusListenersMixin.notifyStatusListeners
package:flutter/…/animation/listener_helpers.dart:193
#4      AnimationLocalStatusListenersMixin.notifyStatusListeners
package:flutter/…/animation/listener_helpers.dart:193
...
The ProxyAnimation notifying status listeners was: AnimationController#a0d06(⏮ 0.000; paused; DISPOSED; for _ContextMenuRoute)➩ProxyAnimation

It says that it's calling setState after it's disposed but the log doesn't tell which line of code from my source code is causing this. I'm using a stateless widget for this particular Widget, so I have no dispose method, and the only place I see an animation is within a builder param previewBuilder in the CupertinoContextMenu widget.
Can anyone explain what's happening and how to solve this memory leak?
Thank you!

Hi @jeremyimmanuel
can you please provide your flutter doctor -v and flutter run --verbose with action in your app?
Thank you

Similar to https://github.com/Norbert515/flutter_villains/issues/8

i ran into the same issue,
From CupertinoContextMenuAction, when we press delete action the logic in onPressed is deleting the parent of the  from CupertinoContextMenu,  now when we pop  the context to remove, CupertinoContextMenu the animator has a timer in it to perform the animation but parent is being delete in this time
the way to fix this is right click on CupertinoContextMenu goto definition, which opens up the context_menu.dart  from your flutter SDK (flutter/packages/flutter/lib/src/cupertino/context_menu.dart)
on line add the below if statement in line 340 if (mounted)
we are just guarding the setState as below
    if (mounted) {       setState(() {         _childHidden = false;       });     }
this solved the issue for me.
it would be helpful if flutter provide some kind of future for the CupertinoContextMenu, so that we can perform our actions which updates the parent widget, in the future completion

I solved it with a workaround (So it's not technically fixing the problem)
So after popping the CupertinoContextMenu widget, I put in a delete confirmation alertDialog first and then delete it. The alert dialog has to be awaited so that it was for the user to confirm it. Since my plans were to implement a delete warning anyway, this works for me.
I appreciate the help from everyone though!
CupertinoContextMenuAction
CupertinoContextMenuAction(
        child: const Text(
          'Delete',
          style: TextStyle(color: CupertinoColors.destructiveRed),
        ),
        trailingIcon: CupertinoIcons.delete,
        onPressed: () async {
          Navigator.of(context).pop();
          await _deleteCategory(context);
        },
      ),

_deleteCategory
Future<void> _deleteCategory(BuildContext context) async {
    bool confirm = await _showDeleteWarning(context);
    if (!confirm) return;

    // Delete all tasks under that category
    final taskBox = Hive.box(Task.boxName);
    final tbArr = taskBox.values.toList();
    final kArr = [];

    for (var i = 0; i < tbArr.length; i++) {
      final task = tbArr[i] as Task;
      if (task.taskCategory.name == this.cat.name) kArr.add(taskBox.keyAt(i));
    }
    taskBox.deleteAll(kArr);

    // Delete that category
    final catBox = Hive.box(Category.boxName);
    catBox.delete(cat.name.toLowerCase());
  }

_showDeleteWarning
Future<bool> _showDeleteWarning(BuildContext context) async {
    return await showDialog(
      context: context,
      builder: (context) {
        if (Platform.isIOS) {
          return CupertinoAlertDialog(
            title: Text(
              'Delete ${cat.name}?',
            ),
            content: Text(
              'Deleting a category will also delete all tasks under that category.',
            ),
            actions: <Widget>[
              CupertinoDialogAction(
                child: Text('Cancel'),
                onPressed: () => Navigator.of(context).pop(false),
              ),
              CupertinoDialogAction(
                child: Text(
                  'Delete',
                  style: TextStyle(
                    color: CupertinoColors.destructiveRed,
                  ),
                ),
                onPressed: () => Navigator.of(context).pop(true),
              ),
            ],
          );

I have this same problem when i try to delete photo inner context menu


Unexpected unbinding

I have the following binds on my .tmux.conf, in order to move between panes:
bind -n C-h select-pane -L
bind -n C-j select-pane -D
bind -n C-k select-pane -U
bind -n C-l select-pane -R

For some reason after searching with copycat (<prefix>/foo<CR><CR>) the C-j bind disappears.
Despite it is simple enough to restore it (tmux source-file ~/.tmux.conf), it is a little bit annoying.

Just found that this is a duplicated issue.


libwinpthread-1.dll was not found

Describe the bug:
I am trying to compile a fyne app that uses low level c code. The fyne cross compilation works for windows but when I try to run the exe file on windows I get an the following error : "libwinpthread-1.dll was not found"
How can I tell the compiler to include libwinpthread so I do not have to add the dll?
Device and debug info (please complete the following information):
Device info

OS: Linux
Version: Ubuntu

There is a lot of info missing here - I guess you removed a bunch of the bug report template?
It will be really helpful to know what command you are using, what C libraries your code uses and if you have any other environment or configuration that impacts how fyne-cross might execute.


Divide by zero in 9_conditional

Aim
Tried to prove and verify test 9_conditional with the --experimental-ssa flag
Expected Behavior
Expected the test to prove and verify
Bug
The program panics with:
The application panicked (crashed).
Message:  attempt to divide by zero
Location: ~/.cargo/registry/src/github.com-1ecc6299db9ec823/num-bigint-0.4.3/src/biguint/division.rs:70

This is a bug. We may have already fixed this in newer versions of Nargo so try searching for similar issues at https://github.com/noir-lang/noir/issues/.
If there isn't an open issue for this bug, consider opening one at https://github.com/noir-lang/noir/issues/new?labels=bug&template=bug_report.yml

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                                ⋮ 12 frames hidden ⋮
  13: num_bigint::biguint::division::rem_digit::hab9de1142251a43f
      at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/num-bigint-0.4.3/src/biguint/division.rs:70
  14: num_bigint::biguint::division::<impl core::ops::arith::Rem<u32> for &num_bigint::biguint::BigUint>::rem::h9f36fdba14c97c2f
      at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/num-bigint-0.4.3/src/biguint/division.rs:509
  15: num_bigint::biguint::division::<impl core::ops::arith::Rem<&num_bigint::biguint::BigUint> for &num_bigint::biguint::BigUint>::rem::h0f3ff2a5055a0e24
      at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/num-bigint-0.4.3/src/biguint/division.rs:484
  16: acvm::pwg::directives::solve_directives_internal::hd535679e0369505c
      at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/acvm-0.15.1/src/pwg/directives/mod.rs:61
  17: acvm::pwg::directives::solve_directives::hfbb5440f88e5e677
      at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/acvm-0.15.1/src/pwg/directives/mod.rs:27
  18: acvm::pwg::solve::h04119895763b2f4d
      at ~/.cargo/registry/src/github.com-1ecc6299db9ec823/acvm-0.15.1/src/pwg/mod.rs:120
  19: nargo::ops::execute::execute_circuit::hf1d169eb4c52d7a1
      at noir/crates/nargo/src/ops/execute.rs:14
  20: nargo_cli::cli::execute_cmd::execute_program::hfab95fe37eeca478
      at noir/crates/nargo_cli/src/cli/execute_cmd.rs:82
  21: nargo_cli::cli::prove_cmd::prove_with_path::h552b36acab6b610f
      at noir/crates/nargo_cli/src/cli/prove_cmd.rs:125
  22: nargo_cli::cli::prove_cmd::run::h01a47cfb101544d5
      at noir/crates/nargo_cli/src/cli/prove_cmd.rs:65
  23: nargo_cli::cli::start_cli::hdf9ebb41a12edf18
      at noir/crates/nargo_cli/src/cli/mod.rs:77
  24: nargo::main::h4caa4dc2a2c3a0a7
      at noir/crates/nargo_cli/src/main.rs:14
  25: core::ops::function::FnOnce::call_once::hd5f7091a178804ee
      at /rustc/69f9c33d71c871fc16ac445211281c6e7a340943/library/core/src/ops/function.rs:251
                                ⋮ 13 frames hidden ⋮
exit 101

To Reproduce

Installation Method
None
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

Looks like this is caused by the parameter a of main being set to 0 in the Prover.toml. We produce a div instruction using it:
fn main f0 {
  b0(v0: Field, ..):
    ..
    v33601 = div v33442, v0
    ..

The error is while running execute_cmd so I'm not sure why it is only occurring now.

Seems the error is in the quotient directive:
.cargo/registry/src/github.com-1ecc6299db9ec823/acvm-0.18.1/src/pwg/directives/mod.rs:64

This line in particular:
 (&int_a % &int_b, &int_a / &int_b)

Where int_b is zero


[BUG]Could not find factory for type XX

upgrade version: 2.4.10 -> 2.6.0
We are getting this error:
Error: Could not find factory for type AdCampaignGet$36Response. Is 'AdCampaignGet$36Response: AdCampaignGet$36Response.fromJsonFactory' included in the CustomJsonDecoder instance creation in bootstrapper.dart?
check regenerate code is different:

generated new code lack generatedMapping.putIfAbsent.
swagger file define like:
/ad_campaign:
get:
parameters:
- name: page
in: query
type: integer
format: int32
default: 0
- name: size
in: query
type: integer
format: int32
default: 20
maximum: 5000
responses:
'200':
description: ok
schema:
type: object
required:
- data
properties:
isFull:
type: boolean
data:
type: array
items:
$ref: '#/definitions/adCampaign'
pagination:
$ref: '#/definitions/pagination'
default:
description: error
schema:
$ref: '#/definitions/error'

Hey @linbintie , indeed generation changed in latest versions. It's needed for tree-shaking improvements. It's really strange you have AdCampaignGet$36Response and AdCampaignGet$Response. What is 36? because we generate only AdCampaignGet$Response model for response.
Waiting for answer

I don't know where the 36 came from
my swagger file not have 36

I also think it should be AdCampaignGet$Response model for response.
but run error like this: Could not find factory for type AdCampaignGet$36Response.
This is exactly where I think there is a problem.

@linbintie  it's really strange. 36 can not be taken from nowhere. Could You use global search and find all entrances of AdCampaignGet$36Response?

Noting found

@linbintie  woah :D Looks really strange. Possible you can do flutter clean and then flutter pub get. I don't have source code of your project and I can't investigate your issue unfortunately.
You can try to have an experiment. Just generate your file in separate project and make a call. I'm sure everything will be fine.

Hi @linbintie any investigation results?

@Vovanella95 thank you for your reply
flutter clean and flutter pub get
I tried it when upgrade to 2.6.0, its useless.
I well try just generate your file in separate project and make a call when I am free

@linbintie great!

@Vovanella95
I try just generate your file in separate project and make a call, but still the same error.
1:

2:

like api 1 responses schema use definitions class is run ok.
api 2  responses schema not definitions class is run error.
I think the problem should be here.
I test change api 2 responses schema definition use definitions class is ok now.
But I think there is a bug in this place

@linbintie Could you please share swagger file or part of it? I will make investigation and fin difference

@Vovanella95
this is my swagger file:
swagger.yaml.zip

@linbintie  Great I see the problem! Will release new version asap!

@linbintie  please try swagger_dart_code_generator: ^2.7.1

@Vovanella95
ok, I will upgrade
thanks.


Add example for generate_config.py

Why

I think an example of how to use the script would help folks who don't use python on a regular basis

I have made the requested changes. I would like the PR to be reviewed again :pray:

one more change regarding the python version, everything else looks good.

Done


[admin] Upgrading to the latest version of rushstack

Docs Build status updates of commit fbc21a8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/docs-ref-autogen/excel/excelscript.yml
:white_check_mark:Succeeded
View (office-scripts)

docs/docs-ref-autogen/excel/excelscript/excelscript.pivotfield.yml
:white_check_mark:Succeeded
View (office-scripts)

docs/docs-ref-autogen/excel/excelscript/excelscript.range.yml
:white_check_mark:Succeeded
View (office-scripts)

docs/docs-ref-autogen/excel/excelscript/excelscript.workbook.yml
:white_check_mark:Succeeded
View (office-scripts)

docs/docs-ref-autogen/excel/excelscript/excelscript.worksheet.yml
:white_check_mark:Succeeded
View (office-scripts)

generate-docs/api-extractor-inputs-excel/tsdoc-metadata.json
:white_check_mark:Succeeded

generate-docs/package.json
:white_check_mark:Succeeded

generate-docs/package-lock.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Missing required param on route without parameter

Reproduction
Not sure if that can be reproduce
Steps to reproduce the bug
This issue refer to another one : #845
In my case :

Go to a route with a parameter
Go back to the index page (that is a page without parameter)

Expected behavior
Expect to go to a page without parameter from a page with it.
Actual behavior
Uncaught (in promise) Error: Missing required param "slug"
Additional information
Hello,
Still have the same bug in NUXT ^3.12.4.
When clicking to go back to landing page, the issue is throw even if landing.vue doesn't need any param.
Structure folder :
- [slug]
  - index.vue
- landing.vue

Component button (nuxt-link behind) :
<CoreButton
  :to="{
       name: 'landing',
   }"
   text="Go to home"
/>

As mentioned in the issue form: don’t open issues without a repro. Thanks.


Eval function context issues

I was experimenting with eval function, and found a couple of issues with it.

Name
Value

Dart source
https://pastebin.com/5DreEJsZ

Dart version
Dart SDK version: 2.16.1 (stable) (Tue Feb 8 12:02:33 2022 +0100) on "windows_x64"

hetu_script version
0.3.12

hetu_script_dev_tools version
0.0.9

I've noticed that eval can only work with variables from global scope

fun local(){
    var meaning;
    eval("meaning = 'hello from a deeper dream!'");
    meaning;
}

local();

This will throw an error:

var meaning;
fun global(){
    eval("meaning = 'hello from a deeper dream!'");
    meaning;
}

global();

But this code runs just fine

Is this an intended behavior or a bug?

This is explain in #50.


Is the upgrade reversible?

Hi. Can it be reversed back to VM Backup Stack v1 after the upgrade to Instant Restore?

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

ID: eeafbf18-2bee-17c8-9871-118396f904b7
Version Independent ID: 1c591c58-062c-695f-212f-523b4221935c
Content: Azure Instant Restore Capability
Content Source: articles/backup/backup-instant-restore-capability.md
Service: backup
GitHub Login: @Sogup
Microsoft Alias: sogup

@viroikhm Thanks for the feedback! We are currently investigating and will update you shortly.

It is a one directional upgrade. Once upgraded to Instant restore, you cannot go back.
From: viroikhm<EMAIL_ADDRESS>Sent: Tuesday, February 19, 2019 5:44 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Sonia Gupta<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [MicrosoftDocs/azure-docs] Is the upgrade reversible? (#25216)
Hi. Can it be reversed back to VM Backup Stack v1 after the upgrade to Instant Restore?

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

ID: eeafbf18-2bee-17c8-9871-118396f904b7
Version Independent ID: 1c591c58-062c-695f-212f-523b4221935c
Content: Azure Instant Restore Capabilityhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fbackup%2Fbackup-instant-restore-capability&data=02|01|Sonia.Gupta%40microsoft.com|d5883ccec9da4aaa163508d695ff2a58|72f988bf86f141af91ab2d7cd011db47|1|0|636861320491699916&sdata=x6OB73AeqNdUQEDGX%2FQDUSkKQNvcJaI9p%2Fo2c%2BwVFAQ%3D&reserved=0
Content Source: articles/backup/backup-instant-restore-capability.mdhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fazure-docs%2Fblob%2Fmaster%2Farticles%2Fbackup%2Fbackup-instant-restore-capability.md&data=02|01|Sonia.Gupta%40microsoft.com|d5883ccec9da4aaa163508d695ff2a58|72f988bf86f141af91ab2d7cd011db47|1|0|636861320491709913&sdata=tytvkz03CVGQsXMP0BR94R6AoAVm%2FHrfla%2F%2BQRcY4wM%3D&reserved=0
Service: backup
GitHub Login: @Soguphttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSogup&data=02|01|Sonia.Gupta%40microsoft.com|d5883ccec9da4aaa163508d695ff2a58|72f988bf86f141af91ab2d7cd011db47|1|0|636861320491709913&sdata=8RetENOMzh2zP3AsxtjIOvJURIECqz0ZTNAQil9fF0c%3D&reserved=0
Microsoft Alias: sogup

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F25216&data=02|01|Sonia.Gupta%40microsoft.com|d5883ccec9da4aaa163508d695ff2a58|72f988bf86f141af91ab2d7cd011db47|1|0|636861320491709913&sdata=txcjhAVUDlOwWfME3CRKVSlKNKR724q8ke1sc%2B392Es%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAb3iI6YdZqGm60tfjslkNxChYpxSaHSLks5vO0HPgaJpZM4bB5BD&data=02|01|Sonia.Gupta%40microsoft.com|d5883ccec9da4aaa163508d695ff2a58|72f988bf86f141af91ab2d7cd011db47|1|0|636861320491719907&sdata=SOCLFSLyvM5MLMjONJI0a1gSIdZboGyhjQb6fz2JJGI%3D&reserved=0.

Thanks for the response @Sogup.
@viroikhm
We will now close this issue. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.

#please-close


curl -x option get 502 bad gateway

When I apply for proxy on my whole device is working fine. But when I tried to make curl proxy connection I got 502 Bad Gateway
curl -x <IP_ADDRESS>:8080 http://ipinfo.io/ip
Log:
<IP_ADDRESS>:42420: clientconnect ::ffff:<IP_ADDRESS>:42420: request   -> Request(GET scratchpads.eu:80/) ::ffff:<IP_ADDRESS>:42420: Set new server address: scratchpads.eu:80 ::ffff:<IP_ADDRESS>:42420: serverconnect   -> ('scratchpads.eu', 80) ::ffff:<IP_ADDRESS>:42420: server communication error: HttpReadDisconnect('Server disconnected') ::ffff:<IP_ADDRESS>:42420: serverdisconnect   -> ('scratchpads.eu', 80) ::ffff:<IP_ADDRESS>:42420: serverconnect   -> ('scratchpads.eu', 80) ::ffff:<IP_ADDRESS>:42420: serverdisconnect   -> ('scratchpads.eu', 80) <IP_ADDRESS>:42420: clientdisconnect
Response:
                              <title>502 Bad Gateway</title>
502 Bad Gateway

HttpReadDisconnect('Server disconnected')

Not a bug. The remote server just disconnected.


Use with less?

Hi!
Can I just switch the language of .less files to CSS3 to use all the features of this package? Or is this plugin not suitable for that?

Sorry, this package is for CSS only. LESS is not supported.