Model caching doesn't handle Query\Expression objects as columns

Describe the bug
When passing DB::raw() in the Builder select function, the cache does not consider these columns in the cache key which results in a wrong cache.
When passing DB::raw() to the select function it is resolved as a Query\Expression object.
As far as I can see, the issue is in the function  \GeneaLabs\LaravelModelCaching\CacheKey::getQueryColumns which doesn't handle this case.
I did a quick test and made the following change, it works as expected.
    protected function getQueryColumns(array $columns) : string
    {
        if ($columns === ["*"] || $columns === []) {
            if (\is_array($this->query->columns)) {
                $columns = $this->query->columns;
            } else {
                return "";
            }
        }

        return "_" . str_replace(' ', '_', implode("_", $columns));
    }

(It can be implemented in a better way though).
Eloquent Query
        $select_array = [
            DB::raw(_GROUP_COLUMN_),
            DB::raw(AVG(_AGGR_COLUMN_) AS _ALIAS_)
        ];

        $query = self::select($select_array)
            ->whereBetween(_DATE_COLUMN_, [$from_date, $to_date]);

        $query->groupBy(_GROUP_COLUMN_)
            ->orderBy(_GROUP_COLUMN_);

        return $query->get()->toArray();

Environment

PHP: 7.1.18
OS: macOS High Sierra 10.13.5 (Using Laravel Valet 2.0)
Laravel: 5.5.18
Model Caching: 0.2.63

Additional context
A screenshot to make it more clear:

Thanks for posting this issue. I will look into it as soon as I can. :)

@ChenAlon I am unable to reproduce this issue with the eloquent query you provided in the example. I created an integration test, but it passes. Could you please test again using version 0.2.64 or greater? Thanks!

Closing for now. Please re-open with a different eloquent query that also has this problem if this continues to occur.


Update AngularJS to 6.0

This is essentially just a rebase of #515, but I didn't want to mess up the history of @kichalla's branch in case there was a problem with the rebase.

:up::date: the VSTS Windows failure is almost certainly a problem on their end, so I think this is ready for review.

@SteveSandersonMS I think there should be an option to enabled SSR:
What we can do is add the min required configuration for ssr in angular.json, package.json file and .csproject file with switch to enable ssr (like we have for old template).
Required Changes in angular.json
What we can do is either add server under architecture array:
"server": {
          "builder": "@angular-devkit/build-angular:server",
          "options": {
            "outputPath": "dist-server",
            "main": "src/main.server.ts",
            "tsConfig": "src/tsconfig.server.json"
          },
          "configurations": {
            "production": {
              "optimization": false,
              "outputHashing": "media",
              "sourceMap": false,
              "namedChunks": false,
              "extractLicenses": true,
              "vendorChunk": false,
              "bundleDependencies": "all",

              "fileReplacements": [
                {
                  "replace": "src/environments/environment.ts",
                  "with": "src/environments/environment.prod.ts"
                }
              ]
            }
          }
        }

Or add a new project for ssr in the projects array:
"ssr": {
      "root": "",
      "sourceRoot": "src",
      "projectType": "application",
      "architect": {
        "build": {
          "builder": "@angular-devkit/build-angular:server",
          "options": {
            "outputPath": "dist-server",
            "main": "src/main.server.ts",
            "tsConfig": "src/tsconfig.server.json",
            "progress": true
          },
          "configurations": {
            "production": {
              "optimization": false,
              "outputHashing": "media",
              "sourceMap": false,
              "namedChunks": false,
              "extractLicenses": true,
              "vendorChunk": false,
              "bundleDependencies": "all"
            }
          }
        }
      }
    }

Required Changes for packages.json
If you choose the option of adding server under architecture array, we can add below to packages.json
ng run MyProject:server:production
If we choose the second option i.e. add a new project for SSR, we can add below to packages.json
ng build --configuration=production --project=ssr
Required Changes in .csproj file
in .csproj file we can add below under PublishRunWebpack node:
<Exec WorkingDirectory="$(SpaRoot)dist-server\" Command="uglifyjs main.js --output main.js" />

One more thing, it would be great if we could add an Error page to this template indicating how to properly return HttpStatus code for the requests such as 404 for not found. SpaPrerenderingExtensions does support returning HttpStatus code. For NodeJs applications, returning HttpStatus code is really simple since it has access to Response object, for .Net Core things are not that simple or at least not very clear.
Ref: https://stackoverflow.com/q/50934948/2755616

I don't think adding new features is really in scope for this issue. Feel free to create a separate issue for that and we'll triage it.

Oh sorry, done!

@SteveSandersonMS can I get your re-approval too for just the SSR part?

@ryanbrandenburg If these changes are what's needed to have working SSR, that's really valuable information we can put in the docs, and well done for figuring it out!
However, the design we settled on in 2.0 was not to have SSR on by default. There are various reasons, primarily that the costs significantly outweigh the benefits for most apps. We felt it was a better tradeoff not to have it on by default in the out-of-the-box template, but rather to document the steps for adding that code for devs who really do want it.
So if you agree with sticking with that design, I'd recommend removing the changes from the last two commits that enable it by default (and instead putting that info into a PR on the docs repo). What do you think, @ryanbrandenburg?

It generally works better to have it in the docs rather than the template code, because Angular's SSR APIs have changed a lot from version to version, and we don't want to be coupled to a specific version and have to support all historical versions depending on which specific version of a template you happen to be using.

Okay makes sense, probably that's because the default app generated by the Angular CLI doesn't have SSR enabled.
Having these steps in documentation would also be valuable. And please also add docs for returning http status codes under ssr section from Angular app.

@SteveSandersonMS the more I poke at this the less I think these are the complete steps to get SSR working, so I don't think it's a good idea to put it in the docs. I only was trying to do it because your first comment sounded to me at the time like you were saying we should really have SSR, but reading it now it sounds more about the docs. I'll clean out the SSR stuff and file an issue to either address or remove SSR from the docs.

@ryanbrandenburg I would still say that docs should have the section and instructions to enable SSR in the template.
The steps I mentioned above are the only thing required to enable ssr in angular template for asp.net core. I believe you are confusing it with topics related to making your complete angular app work on server. I agree its quite complex but I believe this is beyond the scope of this template, the more the complex app is the more challenging it would be to make it compatible with server. For such issues docs can point developers to official universal guide https://angular.io/guide/universal
If you take a look at official guide https://github.com/angular/angular-cli/wiki/stories-universal-rendering it has instructions for NodeJs (https://github.com/angular/angular-cli/wiki/stories-universal-rendering#step-4-setting-up-an-express-server-to-run-our-universal-bundles) but doesn't contains pointers for other servers such as ASP.Net Core.
Because how different server implementations works depend on the underlying technologies. Angular team doesn't know how asp.net core team implemented SpaPrerenderingExtensions and how asp.net core process response from node instance (JavaScriptServices). Its the .net team that knows this, so developers expect asp.net team to provide some direction.

My wording was a bit unclear there. What I meant was that when I did the steps you listed above it didn't work, and so before putting any suggestions into the doc we need to verify that they are correct. Not that we shouldn't ever but SSR instructions in the docs. Likely it's just missing some "glue" step to connect it all, but that should all be included when we fix the doc.
My poor phrasing choice is compounded by my being relatively new to our templates and JS frameworks, so sorry for any confusion.

No worries, I think I pointed out the missing portion:
You have below in startup file:
options.BootModulePath = $"{spa.Options.SourcePath}/dist-server/main.bundle.js";
It should be:
options.BootModulePath = $"{spa.Options.SourcePath}/dist-server/main.js";

So this might be a dumb question but how to I get my hands on this new Template that has Angular 6.

We haven't yet shipped a version of the templates with Angular 6. If you would like to try it out in the mean time you will have to use the (only semi-supported) steps here.

@ryanbrandenburg Any estimate on when the templates will be released?

@latchkostov looks like Angular 6.0 template is already included in dotnet core sdk 3.0 from daily build: https://github.com/dotnet/core/blob/master/daily-builds.md

just curious, I notice that angular output folder is pointing to dist instead of wwwroot. I guess it doesn't really matter. But any reason for not pointing to wwwroot?

At this rate they should be working for an Angular 7  template for Net Core 3, this templates are always lagging behind.

Does anyone here have a clean slate "template" repo that has angular 5 or 6, with ASP.NET Core and SSR? If so please post it here as I really need it. I am stuck and spinning my wheels. I cannot get my repo to actually have SSR work, https://github.com/IEvangelist/IEvangelist.PhotoBooth.

@IEvangelist have you tried these steps https://github.com/aspnet/Templating/pull/581#issuecomment-400055269 ?

@naveedahmed1 this must be a different version template that I started from, but that is not working. Could you create a repo that has this working?

@naveedahmed1 this must be a different version template that I started from, but that is not working. Could you create a repo that has this working?

Did you ever get it working - I think I'm having the same issue as you

Angular 7 is now live, thankfully there is not much to change if you already have Angular 6 working in your project.


WSL ssh remote port forwarding does not works

Windows Version
Microsoft Windows [Version 10.0.22621.1702]
WSL Version
WSL version: <IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
5.15.90
Distro Version
kali
Other Software
No response
Repro Steps

remote

ss -tulpn
tcp          LISTEN        0             4096                     <IP_ADDRESS>:3000                     <IP_ADDRESS>:*

Step 1: run ssh -R 3000:<IP_ADDRESS>:3000 user@IP
Step 2: login with the password
Step 3: check your localhost and see if the port is forwarded or not
Expected Behavior
the port should be forwarded into localhost
Actual Behavior
the port did not forward into localhost
Diagnostic Logs
No response

Fixed by WSL 1.3.10


Document how changes are applied to config.txt through env vars

How parameters added, and note that they are not removed afterwards when the env var is removed. This can be a major gotcha. (If I understood correctly)
 Front conversations

Duplicate of #296


Fix order of parameters of _.omit() in docs for mapProps()

For reference: https://lodash.com/docs/4.17.10#omit

lodash/fp


Why not a statically-typed language?

Hi everyone!
I'm just wondering why Bend is not statically-typed. Here's an example similar to this one.
object V2 { x, y }

def distance(a, b):
  open V2: a
  open V2: b
  dx = b.x - a.x
  dy = b.y - a.y
  return (dx * dx + dy * dy) ** 0.5

def main():
  a = V2 { x: 10.0, y: 10.0 }
  b = V2 { x: 20.0, y: 22.0 }
  return distance(a, b)

The first thing that I thought was about setting a and b as we do in Rust, for example. This would remove the need to open the variables. We can annotate function output and object fields as well.
object V2 { x: f24, y: f24 }

def distance(a: V2, b: V2) -> f24:
  dx = b.x - a.x
  dy = b.y - a.y
  return (dx * dx + dy * dy) ** 0.5

def main():
  a = V2 { x: 10.0, y: 10.0 }
  b = V2 { x: 20.0, y: 22.0 }
  return distance(a, b)

It looks cleaner to me. Also, currently if I try to pass the incorrect type to the distance function it does not throws an error about opening a as V2. It returns a non-sense value as if it had run correctly. Here's an example.
object V2 { x, y }

def distance(a, b):
  open V2: a
  open V2: b
  dx = b.x - a.x
  dy = b.y - a.y
  return (dx * dx + dy * dy) ** 0.5

def main():
  a = 2.3
  b = V2 { x: 20.0, y: 22.0 }
  return distance(a, b)

Code output:
bend run hello.bend
Result: 2.300

I don't think every language should be statically-typed as it's a design decision. However, such a non-sense output sounds like a bug to me. What do you guys are planning about it?

I agree. imho it would be nice as a statically typed language. Since it is written in rust, I think it would be cool if the language had the same syntax as Rust. An example of a DSL with rust syntax is Noir, which is also written in Rust.
But nevertheless Bend is super cool, I think the choice for picking a pythonic syntax was to appeal to as many people as possible.

We plan on adding a type system on top of Bend with Kind.
It's important to have an untyped version that you can use because Bend has features which escape known type systems like unscoped variables.

for me the major pain point is I still find it really hard to parse functions without brackets mentally I would love bend but less like python

for me the major pain point is I still find it really hard to parse functions without brackets mentally I would love bend but less like python

You can use our functional syntax then! It's similar to haskell, but whitespaces are irrelevant and blocks are marked by brackets.
https://github.com/HigherOrderCO/Bend/blob/main/docs/syntax.md#fun-syntax

We plan on adding a type system on top of Bend with Kind. It's important to have an untyped version that you can use because Bend has features which escape known type systems like unscoped variables.

Isn't Kind only functional syntax though? I like the friendliness of imperative to jump into, functional is scary

We plan on adding a type system on top of Bend with Kind. It's important to have an untyped version that you can use because Bend has features which escape known type systems like unscoped variables.

Isn't Kind only functional syntax though? I like the friendliness of imperative to jump into, functional is scary

Kind (not Formality or Kind1/Kind-Classic) is currently just a prototype. You can expect it to change in the future

We plan on adding a type system on top of Bend with Kind.

What does this means? Bend will have a type system or not? I think Kind is super cool but it looks very sophisticated, calls itself a "proof language", and don't look receptive. I don't know what is the community feeling about it, but for me Bend is the easier alternative to Kind. I'm not suggesting dependent types as in Lean or a complicated type system as in TS, just a simple type system. I think it will allow much more people to adopt the language for production.
I know it's a design decision and my opinion probably won't change anything, but I'd like to at least understand the reasoning behind the decision to make Bend without a type system.

@cl3t0 Kind looking scary has nothing to do with what it actually implements. The type checker currently being implemented in Kind will also be used as the underlying type checker for Bend. This will be completely transparent to the user. The fact it is expressive enough (to, say, prove full theorems) doesn't impact someone not interested in these features!

Completed through #615


Limited container capabilities and read-only for all services.

Limited capabilities and made read-only for all services.
Not working with catalogue-db mysql container and queue-master due to issues.

Do these changes need to happen in the other deployment configs too?

Need to: No. Should do: yes.
Everything (i.e. the other deploys) continue to work as is. These additions make the application more secure.


500 Server Error displaying

Pulse Version
beta13
Laravel Version
10.46.0
PHP Version
8.2.9
Livewire Version
3.4.6
Database Driver & Version
Amazon RDS
Description
[2024-05-08 12:22:05] production.ERROR: Syntax error {"exception":"[object] (JsonException(code: 4): Syntax error at /srv/www//vendor/laravel/pulse/src/Livewire/SlowQueries.php:40)
[stacktrace]
#0 /srv/www//vendor/laravel/pulse/src/Livewire/SlowQueries.php(40): json_decode()
#1 [internal function]: Laravel\Pulse\Livewire\SlowQueries->Laravel\Pulse\Livewire\{closure}()
#2 /srv/www//vendor/laravel/framework/src/Illuminate/Collections/Arr.php(600): array_map()
#3 /srv/www//vendor/laravel/framework/src/Illuminate/Collections/Collection.php(777): Illuminate\Support\Arr::map()
#4 /srv/www//vendor/laravel/pulse/src/Livewire/SlowQueries.php(39): Illuminate\Support\Collection->map()
#5 /srv/www//vendor/laravel/pulse/src/Livewire/Concerns/RemembersQueries.php(25): Laravel\Pulse\Livewire\SlowQueries->Laravel\Pulse\Livewire\{closure}()
#6 /srv/www//vendor/laravel/framework/src/Illuminate/Support/Benchmark.php(49): Laravel\Pulse\Livewire\Card->Laravel\Pulse\Livewire\Concerns\{closure}()
#7 /srv/www//vendor/laravel/pulse/src/Livewire/Concerns/RemembersQueries.php(25): Illuminate\Support\Benchmark::value()
#8 /srv/www//vendor/laravel/framework/src/Illuminate/Cache/Repository.php(397): Laravel\Pulse\Livewire\Card->Laravel\Pulse\Livewire\Concerns\{closure}()
#9 /srv/www//vendor/laravel/pulse/src/Livewire/Concerns/RemembersQueries.php(22): Illuminate\Cache\Repository->remember()
#10 /srv/www//vendor/laravel/pulse/src/Livewire/SlowQueries.php(31): Laravel\Pulse\Livewire\Card->remember()
#11 /srv/www//vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Laravel\Pulse\Livewire\SlowQueries->render()
#12 /srv/www//vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#13 /srv/www//vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#14 /srv/www//vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#15 /srv/www//vendor/livewire/livewire/src/Wrapped.php(23): Illuminate\Container\BoundMethod::call()
Steps To Reproduce
truncated the pulse_aggregates and pulse_entries tables since they got to a few millions rows in size in a few days.  Now I see this error in the laravel log and the pulse dashboard not displaying. I tried disabling the SlowQueries card to no success.

Hey there,
This sounds like some of the data in your database is corrupt, specifically a JSON payload in the key column.
I would recommend:

Disabling Pulse.
Stopping the pulse:work command.
Truncating all the pulse_* tables.
Verifying that the tables are empty.
Reactivating Pulse
Starting the pulse:work command.

Unfortunately, this is a data problem rather than a code problem.
If you have a very heavy traffic load with Pulse active, we highly recommend you use the Redis ingest: https://laravel.com/docs/11.x/pulse#ingest


EmitPreconditionOptional and SILGenBuilder Enum APIs

This PR contains two separate commits that both deal with enums.

be50b2a: This commit creates some new ManagedValue ownership endowed APIs on SILGenBuilder. They perform forwarding as expected.
bfbeb2d: This commit fixes ownership in emitPreconditionalOptionalHasValue to use switch_enum arguments rather than unchecked_enum_data.

rdar://29791263

@swift-ci Please smoke test and merge

Oops, forgot to commit/squash some fixups for bfbeb2d.

Lets try this again...

@swift-ci Please smoke test and merge

@swift-ci Please smoke test and merge


client side validation not working on Requiredif in expressive annotations 2.6.6

Hi,
I am working on MVC and using jquery 2.1.1.
requiredif attribute client side validation not working on expressive annotations 2.6.6
any one help me to resolve this issue.
Many Thanks

To troubleshoot your client-side issue, take a look here.

Hi thanks for your reply.
its works perfectly on other fields
but not on dropdown.
I have a form with checkbox and dropdown fields.
if checkbox is selected, dropdown should not validate
if checkbox is unselected, dropdown should validate.
but now, dropdown is validated even I select checkbox.
Model:
[Display(Name = "Apply for all days.")]
public bool ApplyforAllDays { get; set; }
    [Display(Name = "Select Day")]
    [RequiredIf("ApplyforAllDays==false", ErrorMessage = "Please select day from dropdown")]
    public short WeekdayId { get; set; }

View:

        @Html.LabelFor(m => m.WeekdayId, new { @class = "col-md-3 col-xs-12 control-label" })

            @Html.DropDownListFor(m => m.WeekdayId, new SelectList(Model.WeekdaysList, "Key", "Value"), "Select Day", new { @class = "form-control cstm-dropdown" })

    @Html.LabelFor(m => m.ApplyforAllDays, new { @class = "col-md-3 col-xs-12 control-label" })

            @Html.CheckBoxFor(m => m.ApplyforAllDays, new { @class = "icheckbox" })

could you please help me to resolve this issue?

Your expression is wrong.
short is a value type - it's a struct, representing integral numeric type. Value of such a type is non-null.
I refer you to the documentation and/or sample project.

Answer updated.

Thank you so much.
i changed code from short to short?
it is working fine now.
Thanks


[release] v0.10.0 Release Schedule

As discussed in https://github.com/apache/tvm-rfcs/blob/main/rfcs/0067-quarterly-releases.md, releases will happen roughly every three months. I have been put in charge for this one. This thread is meant to discuss the release schedule.
We will do a branch cut soon but accept cherry-picked changes for a couple weeks.
See the release steps for details as well as the TVM release process docs.
The current schedule is:

[x] September 20 - branch cut

we will create a v0.10.0 branch from main on this day
Done: https://github.com/apache/tvm/tree/v0.10.0
Last commit: https://github.com/apache/tvm/commit/b051cad9f40671675d7101ac510b6f733cff0bc2

[x] September 27 - cherry-picking soft deadline

during this time any reasonable change can be merged, comment on this issue with the commit you would like added to the release branch

[x] September 30 - cherry-picking hard deadline

during this time only critical changes will be merged, comment on this issue with the commit you would like added to the release branch as well as the reasoning for adding it

[x] October 4 October 11- release vote opened (https://github.com/apache/tvm/issues/13026)
[ ] October 11 October 18- release published

Keep in mind this schedule is tentative and may change as we progress through the process.
A new issue will be made shortly before release vote detailing the release notes: https://github.com/apache/tvm/issues/12979
cc @driazati @areusch @leandron

would be great to have https://github.com/apache/tvm/commit/7aef584c0f8fb3b516afde3fb5fac9c2d0969c0a cherry-picked

I'm hoping to land https://github.com/apache/tvm/pull/12880 shortly, will update this thread when it does so we can cherry-pick it.

#12880 is ready to cherry-pick

if it's not too late, could https://github.com/apache/tvm/pull/12856 get cherry-picked as well?

@Hzfengsy @YuchenJin Hi TVM genius, when will relax be merged to tvm main upstream?

@zhyncs Thanks for your interest. Relax is at the RFC stage (https://github.com/apache/tvm-rfcs/pull/89). And we will upstream it when the RFC passes.

Does the release do more extra testing than the branch main?
In general, the release process contains two kinds of works, the first one is arrangement, like we have done here, e.g, release note, license confirmation, ..., the other one is testing, some company or organization may use the work "sign off", the full test suite will be confirmed to meet the release requirement.
My question is that do we have the extra "sign off" testing?
@AndrewZhaoLuo, @driazati, @tqchen  Thanks.

@driazati Understand, thanks.

Release done, thanks folks!


Support specifying mode when create new file and dir by Alluxio FUSE

Manual cherry-pick of existing commit.
orig-pr: Alluxio/alluxio#9383
orig-commit: Alluxio/alluxio@2176eb6f7da48cb611f0ca01c1f8e1f3749f0855
orig-commit-author: liuhongtong<EMAIL_ADDRESS>pr-link: Alluxio/alluxio#9383
change-id: cid-359916d627f77814b0a770745454672bddc8fdd1

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4454/
Test FAILed.

Jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4487/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4649/
Test PASSed.

alluxio-bot, merge this please


An alternative approach to RedBlueColorGenerator

In RedBlueColorGenerator, instead of mapping the norm of the vector to a colour, you can map the potential at the point to a colour.
Potential as in: $$\phi(r) =- \vec{\text{E}}\cdot\vec{\text{r}}$$

Hey @ritamsaha00, thank you very much for your suggestion, it seems quite interesting! Can you explain me why is this approach better than mapping the norm of the vector to a color?.

Before anything I should make this clear that, it’s not a better approach, this is just another way to visualize stuff.
Explaination: We will first take an $vec{E}$ and take it's scalar product with the position vector of your field vector's starting point and map the colour value with the said scalar product
Advantages: With this you can somewhat visualize the equipotential surface and see how the direction of field vectors are wrt the equipotential surface. According to the relation of field and potential $$ \vec{E}=\vec{\nabla}\phi$$
the field vectors should be normal to the equipotential surfaces.
Disadvantage: You will not be able visualize the magnitude of the field vectors


Production javascript code not bundled/minified

Type of issue

[x] Bug
[ ] New feature
[ ] Enhancement

Description
Production javascript code not bundled/minified

@mechaffin To investigate

The javascript is getting bundled. In the debug tools, it looks like its not because the source map is mapping things to look like the original files.


ContextMenuWidget child appears when scrolling

Every list item has a ContextMenuWidget, so when scrolling if the gesture to scroll quickly taps on a list item too, then the child (list item) slightly appears while scrolling.
Please check the video to understand better.
https://github.com/superlistapp/super_native_extensions/assets/17320967/4d5ea641-629b-415c-8f0b-b2db90bab21d
When scrolling without tapping on the item it works fine.
Is it a bug or i can somehow set up this?

This is a bug. Working on it now.

This should be fixed in 0.8.17.

Thanks for the quick fix, it's working fine now 👍


Feb release

This PR includes:

Feb release notes
Feb upgrade instructions
includeHTTPDetails information

and covers the following tickets:

https://jira.corp.adobe.com/browse/CEXT-1380
https://jira.corp.adobe.com/browse/CEXT-1326

I have created a new page for Working with meshes. I intend to migrate some of the non-creation specific sections from the create-mesh page there in a future PR.

Looks good!


Dynamic chart name

Environment variables can be used in most places for templating the helmfile. Currently this is supported for name, namespace, value (in set), values and url (in repositories).

Could this be enabled for the chart name as well? That would be handy for my CI/CD pipeline

Already support. Perhaps the docs should be updated. Thanks for a nice app though :-)


docs(README): stable release for angular 13

v13.0.0 has been released and contains a fix for the issue. Feel free to reopen the issue or to submit a new one if you meet any problems.


FCP not performing

Hey. My FCP provider seems a little bit odd. i updated the system and some components, swapped gpus.
I can accept jobs via lagrange and they depoly.. but sometimes are not accessible by client, error 503 especially when gpu involved.
i comapred with the page https://provider.swanchain.io/cp/0x316a2e62D5001eC3393fc83424EDF8CDb5de3e99 and have seen that the gpu info seems outdated. maybe because my   "cpu_name": "" has no longer a value?
( my collateral is also to low, can you please exectue the request from google forms and discord )
{
  "node_id": "04d6e29dec1f0fe33ea61e76bbd31f0f06e59ceb8f2b30837bc379e812a08fad1eb3306f624ee4931c3d21c3f057693b5773699303c6e64c39d5d81a9ccd557704",
  "cpAccount_address": "0x316a2e62D5001eC3393fc83424EDF8CDb5de3e99",
  "region": "North Rhine-Westphalia-DE",
  "cluster_info": [
    {
      "machine_id": "6bf3e53ddf306fdb450cd2336d41e844",
      "cpu_name": "",
      "cpu": {
        "total": "64",
        "used": "9",
        "free": "55"
      },
      "vcpu": {
        "total": "64",
        "used": "9",
        "free": "55"
      },
      "memory": {
        "total": "132.00 GiB",
        "used": "0.00 GiB",
        "free": "131.00 GiB"
      },
      "gpu": {
        "driver_version": "",
        "cuda_version": "",
        "attached_gpus": 0,
        "details": []
      },
      "storage": {
        "total": "176.00 GiB",
        "used": "0.00 GiB",
        "free": "176.00 GiB"
      }
    },
    {
      "machine_id": "6bf3e53ddf306fdb450cd2336d41e844",
      "cpu_name": "",
      "cpu": {
        "total": "24",
        "used": "3",
        "free": "21"
      },
      "vcpu": {
        "total": "24",
        "used": "3",
        "free": "21"
      },
      "memory": {
        "total": "17.00 GiB",
        "used": "0.00 GiB",
        "free": "16.00 GiB"
      },
      "gpu": {
        "driver_version": "560.35.03",
        "cuda_version": "12.6",
        "attached_gpus": 1,
        "details": [
          {
            "product_name": "NVIDIA 4070 SUPER",
            "status": "available",
            "fb_memory_usage": {
              "total": "12282 MiB",
              "used": "2 MiB",
              "free": "11904 MiB"
            },
            "original_name": "NVIDIA GeForce RTX 4070 SUPER",
            "index": "0"
          }
        ]
      },
      "storage": {
        "total": "437.00 GiB",
        "used": "0.00 GiB",
        "free": "437.00 GiB"
      }
    },
    {
      "machine_id": "6bf3e53ddf306fdb450cd2336d41e844",
      "cpu_name": "",
      "cpu": {
        "total": "48",
        "used": "4",
        "free": "44"
      },
      "vcpu": {
        "total": "48",
        "used": "4",
        "free": "44"
      },
      "memory": {
        "total": "189.00 GiB",
        "used": "0.00 GiB",
        "free": "189.00 GiB"
      },
      "gpu": {
        "driver_version": "560.35.03",
        "cuda_version": "12.6",
        "attached_gpus": 2,
        "details": [
          {
            "product_name": "NVIDIA A4000",
            "status": "available",
            "fb_memory_usage": {
              "total": "16376 MiB",
              "used": "2 MiB",
              "free": "16004 MiB"
            },
            "original_name": "NVIDIA RTX A4000",
            "index": "0"
          },
          {
            "product_name": "NVIDIA A2000",
            "status": "available",
            "fb_memory_usage": {
              "total": "6138 MiB",
              "used": "2 MiB",
              "free": "5828 MiB"
            },
            "original_name": "NVIDIA RTX A2000",
            "index": "1"
          }
        ]
      },
      "storage": {
        "total": "437.00 GiB",
        "used": "0.00 GiB",
        "free": "437.00 GiB"
      }
    }
  ],
  "node_name": "ThomasBlock.io",
  "runtime": "containerd://1.7.5"
}

The exporter is the newest version and reports cpu correctly ( AMD / Intel )
kubectl describe po -n kube-system resource-exporter-ds |grep "Image:"
    Image:          filswan/resource-exporter:v11.3.0
    Image:          filswan/resource-exporter:v11.3.0
    Image:          filswan/resource-exporter:v11.3.0

node1
The node collect gpu info failed, if the node does not have a GPU, this error can be ignored. failed execute nvidia-smi, error:exec: "nvidia-smi": executable file not found in $PATH
{"gpu":{"driver_version":"","cuda_version":"","attached_gpus":0,"details":null},"machine_id":"484ad4b0-258d-4ea7-90c3-822e7e094de7","cpu_name":"INTEL","cpu":{"total":"64","used":"26","free":"38"},"vcpu":{"total":"64","used":"26","free":"38"},"memory":{"total":"132.34 GiB","used":"12.78 GiB","free":"118.30 GiB"},"storage":{"total":"195.78 GiB","used":"103.47 GiB","free":"92.29 GiB"}}

node2
{"gpu":{"driver_version":"560.35.03","cuda_version":"12.6","attached_gpus":1,"details":[{"original_name":"NVIDIA GeForce RTX 4070 SUPER","product_name":"NVIDIA 4070 SUPER","fb_memory_usage":{"total":"12282 MiB","used":"2 MiB","free":"11904 MiB"},"status":"available","index":"0"}]},"machine_id":"66adc456-4b02-4256-9949-4c8183a5c62f","cpu_name":"AMD","cpu":{"total":"24","used":"0","free":"24"},"vcpu":{"total":"24","used":"0","free":"24"},"memory":{"total":"17.14 GiB","used":"0.78 GiB","free":"16.02 GiB"},"storage":{"total":"486.53 GiB","used":"42.44 GiB","free":"444.08 GiB"}}

node3
{"gpu":{"driver_version":"560.35.03","cuda_version":"12.6","attached_gpus":2,"details":[{"original_name":"NVIDIA RTX A4000","product_name":"NVIDIA A4000","fb_memory_usage":{"total":"16376 MiB","used":"2 MiB","free":"16004 MiB"},"status":"available","index":"0"},{"original_name":"NVIDIA RTX A2000","product_name":"NVIDIA A2000","fb_memory_usage":{"total":"6138 MiB","used":"2 MiB","free":"5828 MiB"},"status":"available","index":"1"}]},"machine_id":"e42155b8-80c1-4935-a786-36c4d67177b1","cpu_name":"INTEL","cpu":{"total":"48","used":"0","free":"48"},"vcpu":{"total":"48","used":"0","free":"48"},"memory":{"total":"190.03 GiB","used":"0.96 GiB","free":"187.57 GiB"},"storage":{"total":"486.53 GiB","used":"151.61 GiB","free":"334.91 GiB"}}

why the cpu name is "" of your CP? can you run lscpu?

why the cpu name is "" of your CP? can you run lscpu?

@Normalnoise that is exactly the question i asked you. in the lower part you see that each induvidual node-exporter reports the correct cpu:
node1
Vendor ID:                GenuineIntel
Model name:             Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz
node2
Vendor ID:                AuthenticAMD
Model name:             AMD Ryzen 9 5900X 12-Core Processor
node3
Vendor ID:                GenuineIntel
Model name:             Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz

here the results of further testing. most jobs will work now.

cpu jobs are okay ( but all land on node 1 )
gpu jobs for A2000 and A4000 are okay ( on node3 )
node2 does not get jobs and the RTX 4070 SUPER is not listed on lagrange ( but maybe because this is a more exotic type.. will probably migrate to another GPU )

the following 400 error is still to be seen for every job. can i ignore it?
time="2024-11-13 09:16:16.928" level=info msg="uploading file to bucket, objectName: mcs_cache/e534840b-b936-4bcb-8fa6-a4aae0a62a3f.json, filePath: /root/cp/mcs_cache/e534840b-b936-4bcb-8fa6-a4aae0a62a3f.json" func=UploadFileToBucket file="storage_service.go:50"
time="2024-11-13 09:16:17.244" level=info msg="job_uuid: 32af907d-a427-49e1-b9fa-092cc5789579, spaceName: tetris33, hardwareName: Nvidia A2000 · 4 vCPU · 8 GiB" func=DeploySpaceTask file="space_service.go:962"
time="2024-11-13 09:16:17.375" level=info msg="space service deployed, job_uuid: 32af907d-a427-49e1-b9fa-092cc5789579, spaceName: tetris33" func=watchContainerRunningTime file="deploy.go:707"
time="2024-11-13 09:16:20.330" level=error msg="http status: 400 Bad Request, code:400, url:https://api.swanipfs.com/api/v2/oss_file/get_file_by_object_name?bucket_uid=fde78405-f495-4cb2-88ca-eb9ec61afa98&object_name=mcs_cache/e534840b-b936-4bcb-8fa6-a4aae0a62a3f.json" func=HttpRequest file="restful.go:127"
time="2024-11-13 09:16:20.330" level=error msg="https://api.swanipfs.com/api/v2/oss_file/get_file_by_object_name?bucket_uid=fde78405-f495-4cb2-88ca-eb9ec61afa98&object_name=mcs_cache/e534840b-b936-4bcb-8fa6-a4aae0a62a3f.json failed, status:error, message:invalid param value:record not found" func=HttpRequest file="restful.go:154"
time="2024-11-13 09:16:20.330" level=error msg="https://api.swanipfs.com/api/v2/oss_file/get_file_by_object_name?bucket_uid=fde78405-f495-4cb2-88ca-eb9ec61afa98&object_name=mcs_cache/e534840b-b936-4bcb-8fa6-a4aae0a62a3f.json failed, status:error, message:invalid param value:record not found" func=HttpGet file="restful.go:64"
time="2024-11-13 09:16:27.178" level=info msg="file name:1_e534840b-b936-4bcb-8fa6-a4aae0a62a3f.json, chunk size:752" func=func1 file="file.go:248"
time="2024-11-13 09:16:32.645" level=info msg="successfully uploaded to MCS, jobuuid: 32af907d-a427-49e1-b9fa-092cc5789579" func=1 file="space_service.go:278"

yes, you can ignore it


How to check BREW install success?

wubingzhedeMacBook-Pro:~ Beethoven$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown Beethoven /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
HEAD is now at fc11f63 Merge pull request #1677 from MikeMcQuaid/formula-prefix-opt
==> Cleaning up /Library/Caches/Homebrew...
==> Migrating /Library/Caches/Homebrew to /Users/Beethoven/Library/Caches/Homebr
==> Deleting /Library/Caches/Homebrew...
Already up-to-date.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
https://git.io/brew-analytics
==> Next steps:

Run brew help to get started
Further documentation:
https://git.io/brew-docs
wubingzhedeMacBook-Pro:~ Beethoven$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
wubingzhedeMacBook-Pro:~ Beethoven$ zsh --version;
zsh 5.2 (x86_64-apple-darwin16.0)
wubingzhedeMacBook-Pro:~ Beethoven$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown Beethoven /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
HEAD is now at fc11f63 Merge pull request #1677 from MikeMcQuaid/formula-prefix-opt
==> Cleaning up /Library/Caches/Homebrew...
==> Migrating /Library/Caches/Homebrew to /Users/Beethoven/Library/Caches/Homebr
==> Deleting /Library/Caches/Homebrew...
Already up-to-date.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
https://git.io/brew-analytics
==> Next steps:

Run brew help to get started
Further documentation:
https://git.io/brew-docs

Finally she told me Next steps:

Run brew help to get started
Further documentation:
https://git.io/brew-docs
I don't know what's mean? am i install BREW Success and how to check?

If brew doctor doesn't throw up any errors you have installed successfully.
As the message says, https://git.io/brew-docs has further help.

==> Installation successful!

Thanks first flood, you are right


online docs open in unreadable window on OS X

attempting to read the online docs from the welcome screen in 0.8.1. default config (as I recall) on OS X el capitan, the docs appear in a tiny window with like 2 lines visible at a time, and no obvious way to resize that window.  See screenshot below:

@paultopia This was previously reported as #2131 and I'm pretty sure that the underlying problem is that the upgrade is broken – see #2138. I hope to actually get to work on that sometime tonight.
So, for now, to fix this issue, just download the latest version.

thanks.  confirming clean download resolves.

@paultopia Thanks


Allow for network emission in balanced rewards

gonna go to testnet

@AntonAndell is this going to be distributed in icx or sicx

i was planning on sICX

@hetfly see above

@AntonAndell can you create bribes with this?

Everything is on testnet - will need to do a network proposal on testnet and some front-end work

Vote through on lisbon - waiting days to make sure all inflation goes where needed.

finish testing this week

Testing passed - pending final review


New Rule: validateNewlineInModuleImports?

What do you think about a similar rule to validateNewlineAfterArrayElements (Issue #317, commited as https://github.com/jscs-dev/node-jscs/commit/71fd2bbf6524382aeb980eb5f02366e62ec9f9fc) but for ES6 module imports? There is also already a similar request for objects #1115.
const { a } = require('./abc');
const { cube, diag, square } = require('./lib');
import { cube, diag, square } from 'lib';

const { a } = require('./abc');
const {
  cube,
  diag,
  square
} = require('./lib');

import {
  cube,
  diag,
  square
} from 'lib';

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12284726-new-rule-validatenewlineinmoduleimports?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F281640&utm_medium=issues&utm_source=github).

These are destructors in Modules Imports and Consts. Probably this rule can be more common.

Yeah I know it seemed like it to me but from the comments at the bottom.
"In ES6 modules, you don’t technically use destructuring: the syntax is similar, but you are importing bindings, not values." and the AST is different as well. So I don't know if we want the same rule or different rules for naming purposes. I guess we might want 2 different rules?

We released 3.0 recently! We also wrote a post about how 3.0 will be our last major release (since we are deprecating the project) and that we are merging with ESLint!
Thus we won't be working on any new features moving forward which includes new rules/options. We will continue to fix bugs and work on CST/better autofixing for current rules in the upcoming months both to help JSCS users and to gain experience that we can hopefully use in ESLint. But otherwise we both teams will be working on getting ESLint feature parity with JSCS and just a nice transition for our users.
I'm putting an orphaned label to note this issue isn't planned to be worked on, but might be a good contribution as a custom rule (not in JSCS core itself).
I would encourage anyone who wants the rule to try writing it themselves: I would either write a custom rule or submit an issue to ESLint and if accepted a PR. Otherwise a custom rule that won't be in core repo itself.
JSCS rules are also very similar to ESLint rules: here are some resources to get started:

Project-specific Lint Rules with ESLint
Creating Custom Rules for ESLint
Maintaining JavaScript Code Quality with ESLint


Placeholders replacement in subselects

Hi everybody,
when I try to run a query containing subselects get an error about the placeholders replacement.
For example, when I use the following code:
$sql = new Sql($adapter);

// Build the first subselect
$sub0 = $sql->select();

$sub0
    ->columns(['id', 'value'])
    ->from(array('ta' => 'test_a'))
    ->where(array('ta.id' => [5,6,7]));

// Build the second subselect
$sub1 = $sql->select();

$sub1
    ->columns(['id', 'value'])
    ->from(array('tb' => 'test_b'))
    ->where(array('tb.id' => [1,2,3]));

// Build the main select
$select = $sql->select();

$select
    ->columns([])
    ->from(array('tc' => 'test_c'))
    ->join(array('ta' => $sub0),'ta.id = tc.foreign_a', ['value'])
    ->join(array('tb' => $sub1),'tb.id = tc.foreign_b', ['value']);

// Execute the query
$stmt = $sql->prepareStatementForSqlObject($select);
$result = $stmt->execute();

The parameters in where clauses are mismatched because prepareStatementForSqlObject builds an ambiguous query:
SELECT
	`ta`.`value` AS `value`,
	`tb`.`value` AS `value`
FROM `test_c` AS `tc`

INNER JOIN (
	SELECT
		`ta`.`id` AS `id`,
		`ta`.`value` AS `value`
	FROM `test_a` AS `ta`
	WHERE `ta`.`id` IN (:subselect1where1, :subselect1where2, :subselect1where3)
) AS `ta` ON `ta`.`id` = `tc`.`foreign_a`

INNER JOIN (
	SELECT
		`tb`.`id` AS `id`,
		`tb`.`value` AS `value`
	FROM `test_b` AS `tb`
	WHERE `tb`.`id` IN (:subselect1where1, :subselect1where2, :subselect1where3)
) AS `tb` ON `tb`.`id` = `tc`.`foreign_b`;

The placeholders are repeated, therefore the parameters substitution fails.
This is the tables definition:
CREATE TABLE IF NOT EXISTS `test_a` (
  `id` int(11) NOT NULL,
  `value` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE IF NOT EXISTS `test_b` (
  `id` int(11) NOT NULL,
  `value` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE IF NOT EXISTS `test_c` (
  `id` int(11) NOT NULL,
  `foreign_a` int(11) NOT NULL,
  `foreign_b` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Best regards,
Giacomo

This issue has been closed as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


v0.5.0

Conference release

To rebuild all cnums correctly it requires remigration from legacy.

For the supervisors task, we need to reindex literature


Why using environment variable name with hyphen(-) symbole?

I found there are quite many environment vairable such as CLIENTS_EDGEX-CORE-COMMAND_HOST,
CLIENTS_EDGEX-CORE-DATA_HOST, which contain the hypen(-) symbol.
As we know, hyphen(-) symbol is invalid for an environment variable name, especially for bash shell.
Why using such strange naming convention? It would be unfriendly when we are trying the edgex service on native Linux running system.

@yangsongx Actually, it is meaningful.
This environment variable is to override the configuration property.  The underscore("_") is the separator of the configuration structure.  For example, in the configuration file:
https://github.com/edgexfoundry/device-modbus-go/blob/7442c446029449b320f0bdc33bd24bf2850fc7a2/cmd/res/configuration.toml#L26
[Clients]
  [Clients.edgex-core-data]
  Protocol = 'http'
  Host = 'localhost'
  Port = 48080

The environment variable is to override the configuration field Clients > edgex-core-data > Host
That's why it looks strange.

however, we still need to resolve the issue of "hyphen(-) symbol is invalid for an environment variable name"

@cloudxxx8 , we may be able to address this in the env override code in go-mod-bootstrap. We already convert . to _ in the setting name before comparing against the env names. So we may be able to add converting - to _ so the env name will match the setting names. We'll keep this issue here to update the compose files once that change is made.

Thank you for your explaination here, now I understood the background story of this.
Thanks

Per Core WG meeting of 4/15/21: agree with this issue request.  We plan to move to all underscore per env var naming standards.  Hyphens get converted to underscore in code.

Created related issue here: https://github.com/edgexfoundry/go-mod-bootstrap/issues/210
We keep this issue for the changes to the override names in the compose files once the referenced issue has been addressed

This issues is being addressed by this PR https://github.com/edgexfoundry/go-mod-bootstrap/pull/216
Once it is merged and propagated to all the service the overrides in the compose files need to be update


[KOGITO-9774] Registering kubernetes service loaders in native mode

(native) - kogito-runtimes job #61 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
export BUILD_MVN_OPTS_CURRENT=-Dnative -Dquarkus.native.container-build=true
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/kogito-runtimes/pull/3217 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest.native/job/kogito-runtimes.native.kogito-runtimes/61/display/redirect
Test results:

PASSED: 3378
FAILED: 1

Those are the test failures:

org.kie.kogito.addons.quarkus.kubernetes.ConfigValueExpanderIT.test
1 expectation failed.Response body doesn't match expectation.Expected: is "http://serverless-workflow-greeting-quarkus.test.<IP_ADDRESS>.sslip.io/path"  Actual: knative:services.v1.serving.knative.dev/default/serverless-workflow-greeting-quarkus/path

jenkins run kogito-runtimes native

(native) - kogito-runtimes job #62 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
export BUILD_MVN_OPTS_CURRENT=-Dnative -Dquarkus.native.container-build=true
build-chain build cross_pr -f 'https://raw.githubusercontent.com/kiegroup/kogito-pipelines/main/.ci/pull-request-config.yaml' -o 'bc' -p kiegroup/kogito-runtimes -u https://github.com/kiegroup/kogito-runtimes/pull/3217 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/main/job/pullrequest.native/job/kogito-runtimes.native.kogito-runtimes/62/display/redirect
Test results:

PASSED: 3378
FAILED: 1

Those are the test failures:

org.kie.kogito.quarkus.workflows.AsyncAPIIT.testConsumer
Condition with alias 'dead' didn't complete within 10 seconds because assertion condition defined as a lambda expression in org.kie.kogito.quarkus.workflows.AssuredTestUtils that uses java.lang.String, java.lang.Stringjava.lang.String 1 expectation failed.Expected status code <404> but was <200>..


Support for remote state environments

Today AZD support local only environments.  Local environments are stored within the .azure folder within an AZD project.
This new features would enable support for remote environment state where list of environments + their variables and configuration can be stored in an external/remote location
Remote State Environment Types

FileSystemEnvironmnts (current)
CIEnvironemnts (GitHub + AzDO)
DevCenterEnvironments (ADE)

### Tasks
- [ ] Design construct for remote environments
- [ ] Implement LocalFileSystemEnvironments
- [ ] Implement CIEnvironments
- [ ] Implement DevCenterEnvironments

Resolved by #2765


install/kubernetes: add missing capabilities

Dropping "privileged: true" in favor of capabilities introduced by https://github.com/cilium/cilium/pull/14446 relies on default capabilities of container runtime. The capabilities set fits docker/containerd but not enough for container runtime like cri-o.
Fix missing capabilities when not running Cilium on containerd-based Kubernetes

/test

/test

/test

@AtkinsChang some of other tests require package installation (e.g. curl), also as part of debugging, we might need to install additional tools such as tcpdump, hence, it's better to have SETUID and SETGUID as part of default caps. Sorry about my earlier comment.
I have updated this PR with required changes, thanks again for your awesome finding and contribution :100:

/test


Support Tanh for IE/DML

@fujunwei @mingmingtasd PTAL, thanks!
Test results:
[IE] webnn_end2end_tests --gtest_filter=Tanh*
Note: Google Test filter = Tanh*
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from TanhTests
[ RUN      ] TanhTests.TanhWith1DTensor
[       OK ] TanhTests.TanhWith1DTensor (10 ms)
[ RUN      ] TanhTests.TanhWith3DTensor
[       OK ] TanhTests.TanhWith3DTensor (5 ms)
[----------] 2 tests from TanhTests (16 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (16 ms total)
[  PASSED  ] 2 tests.
[DML] webnn_end2end_tests.exe --gtest_filter=Tanh*
Note: Google Test filter = Tanh*
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from TanhTests
[ RUN      ] TanhTests.TanhWith1DTensor
[       OK ] TanhTests.TanhWith1DTensor (127 ms)
[ RUN      ] TanhTests.TanhWith3DTensor
[       OK ] TanhTests.TanhWith3DTensor (43 ms)
[----------] 2 tests from TanhTests (170 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (170 ms total)
[  PASSED  ] 2 tests.

@miaobin Could you please squash the two commits into one?

@miaobin Could you please squash the two commits into one?

@fujunwei Commits squashed. PTAL, thanks!


Reinstalling an app that has already registered with FCM

If an app registers with FCM and receives a token and the client stores the token on the backend and then the user uninstalls the app and reinstalls it (or just clears the app's cache), is it possible for the client to retrieve the token from the backend and then reuse it when it attempts to register with FCM?
I assume that this is possible but only if my code would actually store the token back in the same place where it was originally stored in cache.

After playing around with the push-receiver, it appears that you can do this.

After playing around with the push-receiver, it appears that you can do this.

@JohannBlake Would you have any hints or insightful guidelines to implement your idea? Thank you


Updates pr-1309 with code improvements suggested by Daniel Chen

toss the error from func 'waitBuild' up the chain instead of trying to handle it in wait_for_image
remove else from func 'waitBuild'
use 'buildFailure' func to format error message

@chenbh


Dont load migrations by default

Prevent loading migrations by default to encourage users publish migration files and modify.
when user run php artisan migrate, automatically it applies to chatsystem migrations without the user publishing the migration files.
it would be a good idea to always encourage the users to publish migration files so that they can modify the migrations to their tastes.
so when user run php artisan migrate it wouldn't automatically applied to chatsystem migrations until user manually publish the migration files.

Hi myckhel, i've made some changes in order to "Prevent loading migrations by default".

First i comented the loadMigrationsFrom from the boot method on the Service Provider.
Then i renamed the migrations removing the timestamps and adding .stub at the end... ie: "create_conversation_users_table.php.stub".
Then i added each one of the migrations to the bootForConsole() function in the Service Provider.

After testing it, I'll submit the pull request.


WIP: Self registration tests

@davisagli I'm trying to add a test to reflect the changes in https://github.com/plone/volto/pull/5935, but I'm getting the following error from the backend:
{
  "error": {
    "errors": [
      {
        "field": "sendPasswordReset",
        "message": "Property 'Send a confirmation mail with a link to set the password' is not allowed."
      }
    ],
    "message": "Error in fields. Property 'Send a confirmation mail with a link to set the password' is not allowed.",
    "type": "WrongParameterError"
  }
}

This is with the following request:
POST http://<IP_ADDRESS>:55001/plone/++api++/@users {"fullname":"Placeholder name","email":"test@example.com","sendPasswordReset":true}. Toggling Let users select their own passwords doesn't help. Any suggestions as to why this might be failing?

@JeffersonBledsoe Currently sendPasswordReset is only allowed in the REST API if the current user has permission to manage users. (https://github.com/plone/plone.restapi/blob/main/src/plone/restapi/services/users/add.py#L75)
I don't see a reason to restrict it in that way. It should be possible to request a password reset email regardless of whether the user is being added by an admin or self-registering. I'd accept a PR to plone.restapi to make that change.


tools separation

i think it would be pretty cool, if as in Node.JS, we had the separations of "dependencies":
[tools]
node = "lts"
pnpm = "latest"

[tools.dev]
lazygit = "latest"
github-cli = "latest"
httpie-go = "latest"

not like in the mise.local.toml , this tools can be in git, leaving the entire development environment ready and the production without useless tools

You can use Config Environments for this: https://mise.jdx.dev/configuration/environments.html
mise.toml
[tools]
node = "lts"
pnpm = "latest"

mise.dev.toml
[tools]
lazygit = "latest"
github-cli = "latest"
httpie-go = "latest"

And make sure your devs have MISE_ENV=dev

If you want the dev tools to be included by default you can flip it with disable_tools:
mise.toml
[tools]
node = "lts"
pnpm = "latest"
# You can add a comment here if you like to help separate the tools
lazygit = "latest"
github-cli = "latest"
httpie-go = "latest"

mise.production.toml
[settings]
disable_tools = [
  "lazygit",
  "github-cli",
  "httpie-go",
]

And make sure your prod has MISE_ENV=production

thanks @syhol, I had no idea it was possible to do that, I will look in the documentation for more details


Help for P16S100A, looks like PACE

Hello,
I have read the topic/issue "Add PACE BMS support #1" and tried with the default "esp32-example.yaml" but can't get communication to work. My MQTT is working as i can see in the MQTT explorer. I got my battery in error with all experiments (luckily solved now) so I'm a bit more carefull now.
When i readout the pack with pbmstools i can only make connection with the version "Gobel_PC-BMS_Tools_HS2.0.3_Win32", i use rs485 on the parralel port. dip switch is set to 0, the dedicated rs485 next to can isnt working, other dipswitch settings are not working
However I see that address 0x01 is setup in the yaml. Do I need to change the pack dipswitch or change the yaml?
Also I use and only have the "esp32doit-devkit-v1" which i setup in yaml as:
esp32:
  board: esp32doit-devkit-v1
  framework:
    type: esp-idf

is this correct? I see in the topic "Add PCA BMS support" only 8266 mentioned and a different board.
Also in your documentation you say to use orange/orange-white for B/A, however with pbmstools i can only communicate with brown/brown-white as B/A
I'm using a Joyvoit Suns Energy battery pack BW5KW: https://www.alibaba.com/product-detail/Energy-Power-wall-5-3-2kw_1600330104517.html
Using the pbmstools i get the VER readout: P16S100A-21468-1.00
Searching on google I think this is a PACE BMS, it also look like one, I can confirm it has 100A and 16 cells
Also I'm using the following RS485 3.3-5V module: https://a.aliexpress.com/_mt820MY
Is changing the address setting enough to make this work, and if so do I have to change the dipswitch on the pack or the setting in the yaml?
Sorry for all questions, I'm not experienced with ESP but would really like this to work
Greetings Maikel

Could you provide a photo of your RS485 converter Module?
Which GPIOs do you use as UART pins? Does the TX LED of the RS485 board blink periodically?
You could use the ESP+RS485 converter to capture some traffic between the BMS and the workstation. I would like to make sure the correct protocol (Modbus frames) are used here.
Yes. Have have to align the device address on both sides. If the BMS uses 0x00 you have to use the same address in the YAML.
You can ignore the esp32.board setting if you assign GPIOs at the YAML using GPIOxx. If you want to use the labels on the PCB like D1, D2, D2,... the setting is important.
Is there a drop-down menu available in pbmstools to choose between different protocols?

Thanks a lot for your reply, i'll gather all information and come back to you as soon as possible

Could you provide a photo of your RS485 converter Module?

Which GPIOs do you use as UART pins? Does the TX LED of the RS485 board blink periodically?

You could use the ESP+RS485 converter to capture some traffic between the BMS and the workstation. I would like to make sure the correct protocol (Modbus frames) is used here.

Yes. Have have to align the device address on both sides. If the BMS uses 0x00 you have to use the same address in the YAML.

You can ignore the esp32.board setting if you assign GPIOs at the YAML using GPIOxx. If you want to use the labels on the PCB like D1, D2, D2,... the setting is important.

Is there a drop-down menu available in pbmstools to choose between different protocols?

This board;

GPIO 16+17 which should be UART 2 RX and UART 2 TX which i connected to RX-RX and TX-TX to the converter board
Could you tell me how to do that, connect the esp32 to usb-PC with converter board connected?
I will try to change the yaml address and upload to the esp32 again later today
Aah ok thanks
no there is not, it chooses that itself as it seems. Right under ADDR (Address) is shows
Protocol: None, HS-PC-232-BP-V1.1 (it is connected through RS485)

I'll check address and give you an update later today

The Modbus seems to need a configurated address to work, I use AddressNo. 1. (switch 1 set ON)
This example does the job. ( My impediments was wrong PIN-Selections on ESP-Board ;-P )

The Modbus seems to need a configurated address to work, I use AddressNo. 1. (switch 1 set ON) This example does the job. ( My impediments was wrong PIN-Selections on ESP-Board ;-P )
Ok thanks for your reply, I will set both to address 1. No time this evening but will try tomorrow morning

I use pbmstools with interface RS232. RS485 is the monitoring interface for me. With homeassistant and esphome, i can also change the parameter (but not all)

This sounds like good progress. You have to change the address at the YAML to 0x01 too. Otherwise the responses doesn't get picked up and decoded.

I also dont see any value in all the mqtt topics so I'm afraid its not being decoded
I also look at the topic in grafana via the mqtt plugin and see all information but again no value

FYI! The modbus-address 0x00 is a broadcast address and is not a valid slave-address

Do you mean by Slave address the battery pack address?? I only have one battery pack

The responses aren't valid Modbus frames. It looks like Seplos/Pylon responses. This reason could be one of the following options
1. You've selected the wrong protocol at the RS485 protocol drop-down

2. You are using the wrong port

3. The BMS firmware doesn't support Modbus communication

Thanks for your quick reply

I cannot change the protocol settings (in pbmstools i think you mean?)
I tried all rs485 ports
I will ask the battery manufacturer if that's the case

Do you know by any chance if the seplos/pylon method also needs to be on pack 1? I tried that but only with dip 0
Changing both pack dip and yaml setting to 0x00 not going to work anyway or worth a try?
I'll check issue 17 now! Thanks a lot

This issue (#17) is about to the same problem.

Ok thanks again, I will try that tomorrow morning and let you know

I use pbmstools with interface RS232. RS485 is the monitoring interface for me. With homeassistant and esphome, i can also change the parameter (but not all)

I'm a bit in doubt what to do next. With whatever version of pbmstools I tried yesterday I cannot change the inverter setting. Most versions only work with pack 1-xx. The one that works for me is the Gobel 2.03HS. Can write parameters, readout current stats but cannot change inverter protocol. Seems that's only possible with a rs232??
Thing is that connector isn't on any of my pcs so have to buy another adapter for that. No problem but will cost quite some time
I have 8 different pbmstools to give you an idea and I'm running out of ideas to be honest
Thanks for your and the developpers help so far!! Much appreciated

Could you provide a screenshot of the pbmstools protocols section? Did you try to contact the seller / manufacturer?

... and you now the special secret password (123456) for changing settings?

Could you provide a screenshot of the pbmstools protocols section? Did you try to contact the seller / manufacturer?

I'll make tomorrow
Planning to contact the factory in Monday. Let you know tmr

... and you now the special secret password (123456) for changing settings?

Yups have that. Is a specific password for other settings and one for inverter protocol

Look at andy's video canal:
https://www.youtube.com/watch?v=TbUUCXPN1Xg

Could you provide a screenshot of the pbmstools protocols section? Did you try to contact the seller / manufacturer?

If i change the xml file i also have an option with modbus protocol, i changed it back recently as one og the things to try
So as you can see i can readout all info except read or write inverter protocol
In the video that @ThHanika  Thomas posted (thanks a lot for that) i understand i need an rs232 cable
I sent a message to the company i bought the battery from, didn't got an answer yet, will ask them again

On the last picture, you have to click read under Inverter protocol to show selectet protocols

On the last picture, you have to click  under Inverter protocol to show selected protocols
BTW: First you have generaly click  before you can write any parameters, Pace expect complete filled parameterfield to update its parameter.

Hi Thomas,
I just talked to the lady in china who supports the battery, she says i need another firmware version and (ofcourse) discouraged me to change the setting. I'm waiting for her to email me. Keep you updated

Just ordered these two cables, one with chipset according to a diysolar topic and one for SOK battery

I got all cable the day before going on holiday and all three of them didnt work out of the box
Since then I was out of country and busy getting back with things, I'll plan to continue this project probably monday morning and will report back
Supposedly i need a special driver for the direct connected cables so i have some things to try still

I got it working with the following cable: SOK SK48V100 Battery RS232 serial communicatrion Prolific USB RS232 to RJ11 6P6C
I needed to update the serial driver for the prolific chipset PL2303GT on windows
Then set protocol to PACE_MODBUS in special version of Pbmstools that i got from factory
After that i kept using this cable to readout the battery
Thanks for all help @syssi and @ThHanika

@Maikeleg
May I Know which PBMSTool Version you used? Is it online somewhere available?
Thanks!

@Maikeleg
May I know which PBMSTool Version you used? Is it online somewhere available? My versions does not allow me to change the protocols....
Thanks!

So sorry I just read your reply now;
I got his version "PbmsTools HS1.0.6£¨¿ÉÑ¡ÐÒé£©" which I'm almost 100% sure is the same as the version HS1.06
If you want it please let me know, i can sent it to you.
What makes the difference in being able to change protocol settings is using the RS232 interface with the right cable.
See above which i ordered ("Just ordered these two cables, one with chipset according to a diysolar topic and one for SOK battery") One of these is working (they look exactly the same so don't know which one)
I ended up keeping using the rs232 cable because it works reliably and i had a usb-port left :)


Revisit 'another set in progress'

Some ideas in https://github.com/bluesky/ophyd/pull/755 were deferred in favor of simpler approach that could be back-ported to v1.3.x. Let's visit them.

As alluded to in another PR, the set() in progress is probably hanging because it has no timeout.  The way to cancel that without quitting is to call:
st._finished()

Add kwarg success=False as you choose.
Isn't this the simplest solution if a timeout is not set?
The simplest solution is to always specify a finite timeout.  Be prepared to handle an exception if the timeout is reached.

"Another set() call is still in progress problem" in EpicsSignal.set function  seems to occur especially when it is a transition type signal.
If 1 is set to xxx:m1.STUP, it changes in the following order: 0(OFF) -> 1 (On) -> 2 (BUSY) -> 0 (OFF).
xxx:m1.STUP                    2021-01-14 17:10:52.570557 OFF
xxx:m1.STUP                    2021-01-14 17:10:52.570557 ON
xxx:m1.STUP                    2021-01-14 17:11:01.923591 BUSY
xxx:m1.STUP                    2021-01-14 17:11:01.923837 OFF

Another transition type signal may change in the order of 0 -> 1 -> 0.
test:signal                    2021-01-14 16:43:21.773892 0
test:signal                    2021-01-14 16:43:23.363370 1
test:signal                    2021-01-14 16:43:23.364933 0

In this case, the transition time from 1 to 0 is only 1.56 ms. The while loop in the ophyd.utils.epics_pvs.set_and_wait function seems difficult to detect this change.
On camonitor, the set was successful, but the EpicsSignal.set function only sees 0 values after the transition ends. Therefore, I think this type of EpicsSignal should be handled specially.
Could you please review how this solution is?
https://github.com/physwkim/ophyd/commit/2a3b1c09c62ebf9fa5eb4807ec9e32221276edf6

"Another set() call is still in progress problem" in EpicsSignal.set function  seems to occur especially when it is a transition type signal.
If 1 is set to xxx:m1.STUP, it changes in the following order: 0(OFF) -> 1 (On) -> 2 (BUSY) -> 0 (OFF).
xxx:m1.STUP                    2021-01-14 17:10:52.570557 OFF
xxx:m1.STUP                    2021-01-14 17:10:52.570557 ON
xxx:m1.STUP                    2021-01-14 17:11:01.923591 BUSY
xxx:m1.STUP                    2021-01-14 17:11:01.923837 OFF

Another transition type signal may change in the order of 0 -> 1 -> 0.
test:signal                    2021-01-14 16:43:21.773892 0
test:signal                    2021-01-14 16:43:23.363370 1
test:signal                    2021-01-14 16:43:23.364933 0

In this case, the transition time from 1 to 0 is only 1.56 ms. The while loop in the ophyd.utils.epics_pvs.set_and_wait function seems difficult to detect this change.
On camonitor, the set was successful, but the EpicsSignal.set function only sees 0 values after the transition ends. Therefore, I think this type of EpicsSignal should be handled specially.
Could you please review how this solution is?
https://github.com/physwkim/ophyd/commit/2a3b1c09c62ebf9fa5eb4807ec9e32221276edf6


My Profile section

This PR deals with rendering two lists and showing ONLY the rockets/dragons reserved and missions joined by the user (as per design).
Features:

Addressed the following issues:

#5
#3
#32 and #33

General improvements to the UI of the site
Improved site responsiveness
Update readme

hello @lu-jim the project looks great and i don't see any changes to make


Request: curl return early if model isn't local, with better message

LocalAI version:

https://github.com/go-skynet/LocalAI/tree/30f120ee6a7979aa4ffbd94ccdc1e58b94155a44
Environment, CPU architecture, OS, and Version:

Darwin N7L493PWK4 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul  5 22:22:05 PDT 2023; root:xnu-8796.141.3~6/RELEASE_ARM64_T6000 arm64

Describe the bug

When placing a model name that doesn't exist, two issues happen:

The curl takes over 1 minute
It prints all backends returned error: 23 errors occurred

To Reproduce

I am using a model name foo.bin (chosen because it doesn't match any downloaded):
> curl http://localhost:8080/models
{"object":"list","data":[{"id":"thebloke__wizardlm-13b-v1-0-uncensored-superhot-8k-ggml__wizardlm-13b-v1.0-superhot-8k.ggmlv3.q4_k_m.bin","object":"model"}]}
> curl http://localhost:8080/v1/completions -H "Content-Type: application/json" -d '{
     "model": "foo.bin",
     "prompt": "A long time ago in a galaxy far, far away",
     "temperature": 0.7
   }'
{"error":{"code":500,"message":"could not load model - all backends returned error: 23 errors occurred:\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unknown desc = failed loading model\n\t* could not load model: rpc error: code = Unavailable desc = error reading from server: EOF\n\t* could not load model: rpc error: code = Unknown desc = stat /models/foo.bin: no such file or directory\n\t* could not load model: rpc error: code = Unknown desc = stat /models/foo.bin: no such file or directory\n\t* could not load model: rpc error: code = Unknown desc = unsupported model type /models/foo.bin (should end with .onnx)\n\t* backend unsupported: /build/extra/grpc/huggingface/huggingface.py\n\t* backend unsupported: /build/extra/grpc/autogptq/autogptq.py\n\t* backend unsupported: /build/extra/grpc/bark/ttsbark.py\n\t* backend unsupported: /build/extra/grpc/diffusers/backend_diffusers.py\n\t* backend unsupported: /build/extra/grpc/exllama/exllama.py\n\n","type":""}}

Formatting that message:
could not load model - all backends returned error: 23 errors occurred:
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unknown desc = failed loading model
* could not load model: rpc error: code = Unavailable desc = error reading from server: EOF
* could not load model: rpc error: code = Unknown desc = stat /models/foo.bin: no such file or directory
* could not load model: rpc error: code = Unknown desc = stat /models/foo.bin: no such file or directory
* could not load model: rpc error: code = Unknown desc = unsupported model type /models/foo.bin (should end with .onnx)
* backend unsupported: /build/extra/grpc/huggingface/huggingface.py
* backend unsupported: /build/extra/grpc/autogptq/autogptq.py
* backend unsupported: /build/extra/grpc/bark/ttsbark.py
* backend unsupported: /build/extra/grpc/diffusers/backend_diffusers.py
* backend unsupported: /build/extra/grpc/exllama/exllama.py

Expected behavior

A desirable behavior is:

curl returns quickly (<1 sec) when non-installed model
Response has a better error message, saying the model doesn't match any locally installed model

In other words, the current behavior is a massive error message, and takes forever to actually show up.  Ideally if a model isn't installed, a response comes immediately with a concise error message

we should definetly enhance logging but also the logic here around loading.
Going to treat this as a feature request. We should at least not try at all the model if the file doesn't actually exist.


props for listview

e.g.:
<SelectMultiple listViewProps={{keyboardShouldPersistTaps: 'always'}} />

It would also be useful with props like { keyboardDismissMode='on-drag' }
However luckily we could temporarily achieve this by creating a subclass from SelectMultiple and to override the render() method.


Adding samples administrator request methods

This PR closes #102 #105 #106 #103 #104
Proposes:

Adding request methods to allow a samples administrator (an authorized user whose User Principal Name (UPN) is registered in the list of Administrators) to perform CRUD functions on a user claim in the list of Categories policies.
The appsettings.json holds the default list of administrators. These values will be replaced with actual values of the proposed administrators during deployment to prod.

Closing the PR as similar changes have been effected and merged already in a different PR.


[] Upgrade to latest dependencies

Cron. -knative-prow-robot
/cc knative-sandbox/channel-wg-leads
/assign knative-sandbox/channel-wg-leads
Produced via:
./hack/update-deps.sh --upgrade --release v0.21
./hack/update-codegen.sh

Details:
bumping knative.dev/pkg f0ea5e6...1bbf0a6:
  > 1bbf0a6 add LabelSelector to InformerFactory so that the informers only list and watch resources with the given labels (# 1940)
  > 75d66b5 preserve the stable webhook logger names we had before (# 1994)
  > 22f4898 upgrade to latest dependencies (# 1990)
  > 5bb97df fix duration logging (# 1992)
  > a74906c Use structured logging to augment our logger vs. naming (# 1991)
bumping knative.dev/eventing 1c94ef8...5dc363d:
  > 5dc363d [# 4744] Update conformance test helper (# 4756)
  > 764685c upgrade to latest dependencies (# 4761)
  > b10d720 [# 4744] Bump test zipkin version (# 4755)
  > 2b95f45 upgrade to latest dependencies (# 4747)
  > d395f6f Cleanup channel template internal types (# 4749)
  > 8e0e286 :minidisc: Change KIND's k8s to 1.19.4 and add 1.20.0 (# 4729)
  > 0f2f567 Format markdown (# 4746)

/test pull-knative-sandbox-eventing-kafka-unit-tests

/test pull-knative-sandbox-eventing-kafka-unit-tests

/lgtm
/approve
I opened an issue regarding the flaky test.

/lgtm
/approve
I opened an issue regarding the flaky test.


Responding with the actual status code

Consider the following setup: Deploying AllOrigins on a server that has caching activated. For example, using this feature in NGINX: https://www.nginx.com/blog/nginx-caching-guide/#stale
The thing is now that caching doesn't work for errors because AllOrigins always responds with status code 200. Therefore, NGINX caches the error page even though it should handle it as a stale response.
I understand that it could make sense because AllOrigins's service indeed responds successfully but I think that AllOrigins should be considered a transparent proxy. At least that's what it's probably used for in most cases.
My proposal is to add res.status(page.status.http_code) somewhere in this method: https://github.com/gnuns/AllOrigins/blob/e170b6adbb8f538d71356c1e540e5c67f1f5dece/lib/index.js#L14
Please let me know what you think.

It makes sense on requests using method=raw, but on JSONP requests it can have unwanted side effects. Check  #11


add download page

[x] have read the CONTRIBUTING.md file
[ ] raised a GitHub issue or discussed it on the projects chat beforehand
[ ] added unit tests
[ ] added integration tests
[ ] updated documentation if needed
[ ] updated CHANGELOG.md

Add a download page to indicate where can download Tailscale and a link to know how to use it.

I think this is a feature.
First of all it is not 100% clear that this will download the client and not headscale itself.
As the clients are not maintained by this project, we would add an external dependency we have to track. Furthermore, I don't see the value of adding this extra download page. Maybe you can clarify the use case of it, as I don't see one.
Furthermore no documentation and unittests for the endpoint.

I think this is a feature.
First of all it is not 100% clear that this will download the client and not headscale itself.
As the clients are not maintained by this project, we would add an external dependency we have to track. Furthermore, I don't see the value of adding this extra download page. Maybe you can clarify the use case of it, as I don't see one.
Furthermore no documentation and unittests for the endpoint.

This page just want to tell my group members how to use headsacle. before, I need to ask them which OS they are using and give them the corresponding link. And now,  I only need send this one page. Here is a demo https://vpn.demo8.org/download. I would say it copy from Tailscale, I ask chatgpt to write this html.

I also have another solution. change the the file name to download.html and put it at /var/www/headscale the add the
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/download$
    RewriteRule ^/download$ /var/www/headscale/download.html [L]
    Alias /download /var/www/headscale/download.html

to apache2 config file.
download.html.txt

As the clients are not maintained by this project, we would add an external dependency we have to track. Furthermore, I don't see the value of adding this extra download page.

I agree with this, it is not great linking to external sources and the URL might change which means that people with old headscales will have download pages with broken links. I think the benefit of this vs going to pkgs.tailscale.com or tailscale.com/download is not outweighing the potential maintenance.


Add command to rerun the last test

See #13 (cc @JeffreyWay)
This adds a command to rerun the last test. If no test has been run then it will run either the current test, class, or whole suite based on the cursor and file in the editor.

Am I missing something, or this has been merged on Jun 5th, and has still not been released :D? Would be great to have it 💯


Add Biconomy Hyphen Bridge contract labels

References:
https://etherscan.io/address/0xF78765bd14B4E8527d9E4E5c5a5c11A44ad12F47
https://polygonscan.com/address/0xF78765bd14B4E8527d9E4E5c5a5c11A44ad12F47

Thanks! Sorry about the delay!


As a developer, I want to create the form components with React Hook Form

Details

React hook form can be found here
React Hook Form

wrong issue name


fix: hide menu bar for error page in IMS viewer

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[ ] tests are included
[x] screenshots are included showing significant UI changes
[ ] documentation is changed or added

Description of change
This is a draft PR to address #2873
There are two cases in old UI if there is a missing file:
https://user-images.githubusercontent.com/92769668/149067406-a5ddd62c-233c-4531-ae5d-4dbfee38e529.mp4
An index in the catalogue points to a missing file:

An internal link in IMS viewer points to a missing file:

But in New UI both cases will display the menu:

In old UI it actually uses param temp.hn=true to hide the menu (RenderTemplate.java:394).
And 404 page will directly return after the request IntroToDBS_summary.html?temp.hn=true&temp.hb=true.
But in new UI, IntroToDBS_summary.html?temp.hn=true&temp.hb=true will only return 404 code with some useless HTML content, and trigger a new request to the LeagcyContent content/submit API.
If the URL points to a normal Legacy content, the server will find corresponding content from old UI (LeagcyContentApi.scala:347) and generate a fullscreenMode variable and pass it to React component (LeagcyContentApi.scala:576, LeagcyContent.tsx:272).
But if the URL is points to a missing file, the legacy content API will direct return a 404 response (LeagcyContentApi.scala:346).
And this 404 response will trigger a catch statement (LegacyContent.tsx:292) and finally execute a props method passed from IndexPage.tsx:154

So, currently, I just change the code in the frontend to make new UI has the same behaviour as old UI.
The solution idea is quite simple: if the error response contains the params 'temp.hn=true' let fullscreenMode props equal to "YES" otherwise keep undefined.
Here is the screenshot:

The next step is to hide the menu for the internal link.

This logic really shouldn't be down in the depths of Error.ts and tied to processing of Axios responses. It needs to come back up higher and be (most likely) in legacy content. Perhaps even this needs to be stored in state somewhere because obviously the IMS viewer has already been forced to full screen mode at some point - so it seems odd that in the code processing the response, we're first checking the request again, and then modifying the state; lastly

In my understanding, the IMS viewer is actually in old UI, so it already left SPA, thus IMS viewer's fullscreenMode is not related to frontend state.

If that kind of code was to remain, a bit more rigour should be placed around the processing of response.config.data - such as overlaying with an interface and I wonder why JSON.parse is being used for what wouldn't be JSON data (maybe)... Perhaps doco needed to as to what is going on...

The data:

This logic really shouldn't be down in the depths of Error.ts and tied to processing of Axios responses. It needs to come back up higher and be (most likely) in legacy content. Perhaps even this needs to be stored in state somewhere because obviously the IMS viewer has already been forced to full screen mode at some point - so it seems odd that in the code processing the response, we're first checking the request again, and then modifying the state; lastly

Thanks Ian, In my understanding, the IMS viewer is actually in old UI, so it already left SPA, thus IMS viewer's fullscreenMode is not related to frontend state.

Yes, but.... Keep in mind we maintain various bits of state about whether we're viewing Legacy UI etc. For example, the control of whether we're in full screen.

Force push for correcting wrong typing in commit msg....

Gah! testBulkMetadataEdit failed.


$stealth exceptions do not work on the TCP stack level where we block STUN/TURN

Please answer the following questions for yourself before submitting an issue.

[X] I am running the latest version
[X] I checked the documentation and found no answer
[ ] I checked to make sure that this issue has not already been filed

AdGuard version
3.6.54
Environment
- OS: A13
- Firmware: Newest

Root access

[ ] Yes, I have it.

What filters do you have enabled?
No response
What Stealth Mode options do you have enabled?
Hide your search queries, Send Do-Not-Track signals, Strip URLs of tracking parameters, Self-destruction of third-party cookies, Disable cache for third-party requests, Block the third-party Authorization header, Disable WebRTC, Block Push API, Block Location API, Block Flash, Disable Windows Telemetry, Turn off Advertising ID, Hide your Referrer from third-parties, Hide your User Agent, Hide your IP address, Remove X-client-Data header from HTTP request, Protect from DPI
Issue Details
.
Expected Behavior
Simple whitelisting
Actual Behavior
No matter what rule or what modifier I use, SM still blocks IPs,same goes for e.x Google Play Store if I want unblock some of IPs but results are the same,no matter what rule is used...nothing changes. Because of that I cannot safety watch some streams and have to disable ADG,what is pointless...cause I m ising 24/7 ADG and can't live without it
Also worthy mentioning, modifiers like 3p-cookie etc doesn't work. SM can be only fully disabled,not particularly and its sad cuz this could fix also my issue :)
Screenshots
What is blocked

User Rule

DNS Rule

Additional Information
Would be nice to fix it in maybe new rewritten ADG cuz in old ADG this issue exists since SM has been added.

There could be two solutions to this.

Extend CL to support $stealth on the TCP stack level.
Remove the option to block WebRTC as it may not be useful anymore. As I understand, webRTC does not leak IP addresses in the modern browsers. This point needs to be verified.

Also noticed other weird working SM feature. First-Party Cookies


Browser::attachFile() should check if file exists

Currently, if the file doesn't exist, it silently doesn't add.

Thank you!


backup: Add option to omit identical backups

Once https://github.com/rustic-rs/rustic_core/pull/56 is merged and released, this PR is needed to add the option to rustic.

After https://github.com/rustic-rs/rustic_core/pull/90, the option should be automatical available after bumping rustic_core