Winget should use latest manifest that honours the command line arguments (--scope, for instance)

Brief description of your issue
The Microsoft.Teams package was recently updated and doesn't include a machine scope definition as Microsoft are yet to update their Machine-Wide installer or have discontinued it.
As I rely on Winget for multiple clients during Intune pre-provisioning, this presented a breaking change to our deployments where I had to hard-code what version of the app to use to return to working behaviour.
There are a few things here. While the maintainer possibly should have done a new package definition for the modern Teams client, Winget should do one of the following in this situation:

Bomb out completely and not attempt to install a user-scoped app if the caller has explicitly passed --scope machine.
Honour the caller's request of --scope machine and find the most current manifest that has such a scope.

Any consideration around this would be appreciated as I don't feel the current approach is best.
Steps to reproduce
From an administrative command prompt, call winget.exe install --id Microsoft.Teams --scope machine and observe how a user-scoped install occurs.
Expected behavior
A machine scoped installation occurs matching my request as the caller.
Actual behavior
User scoped installation occurs which breaks expected behavour.
Environment
Windows Package Manager v1.6.2771
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2428
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.2771.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled

It looks like Teams is now using an MSIX installer.
https://learn.microsoft.com/windows/msix/overview
MSIX packages are designed to be installed without requiring elevation (unless special capabilities are required). Each "user" on the device gets their own logical copy of the application provisioned when the log into the device the first time after it's "installed".

I understand that I can preprovision MSIX packages and I am doing that now for this particular scenario, but my main comment here was that the maintainer dropped the machine scope but Winget didn't halt when I explicitly requested a scope that the package no longer offered.
Maybe the fix here is that Winget preprovisions MSIX packages if Winget is running elevated? My point here is that what Winger is doing now isn't right in my opinion.

I've raised what I deem to be a packaging error in https://github.com/microsoft/winget-pkgs/issues/124484, linking here for cross-reference purposes.


Removes the dependency of autofill-impl's gradle file on versioning.properties as it breaks incrementBuildNumber task

Task/Issue URL: https://app.asana.com/0/488551667048375/1206512928267585/f
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

develop

#4154   👈

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CDRussell and the rest of your teammates on  Graphite


Update cdn-overview.md

Updated Lines 29 and 31 to this:

custom rules that you can create.

managed rule sets that are a collection of Azure-managed pre-configured rules.

@vhorne
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@vhorne - We committed your suggested wording change.
Can you add a #sign-off comment if this PR is ready to merge?

#sign-off


Check inline candidate cost after inining and optimizations

Some functions may be costly when input params are unknown.
After inlining is done, some parameters may be constant.
Every function with fn.IsInlineable() => true should be inlined,
then optimized in call site context,
and only after that is checked against cfg.CostInlineThreshold.

It is even better to avoid Cost() usage for inliner purposes.
It should care about "code bloating", not about "how expensive function body is".
Of course concat instructions is many times more expensive than plus (add),
but in terms of bytecode size, they are roughly the same (depends on concat encoding).


CASMINST-6861: copy_ims_data_from_minio: Do not store files in /var/lib/etcd

Turns out they may get wiped out by the rapid rebuild process.
Backports:
CSM 1.5:
CSM 1.4:
No earlier backports needed.

/backport release/1.5 release/1.4


Error entering insert mode macvim

seems to be caued my call deopete#enable()

Please upload :messages result.

It appears that the comment that I thought I put here a few days ago didn't appear.
Anyway, see this comment for more information about this issue, and :messages https://github.com/roxma/vim-hug-neovim-rpc/pull/30#issuecomment-399736051


Nuxt 3 Composable usage: status code 400

Environment
Nuxt project info:                                                    15:00:27

------------------------------
- Operating System: `Linux`
- Node Version:     `v18.12.1`
- Nuxt Version:     `3.0.0`
- Nitro Version:    `1.0.0`
- Package Manager<EMAIL_ADDRESS>- Builder:          `vite`
- User Config:      `ssr`, `runtimeConfig`, `modules`, `apollo`, `app`
- Runtime Modules:  `<EMAIL_ADDRESS>`<EMAIL_ADDRESS><EMAIL_ADDRESS>`<EMAIL_ADDRESS>- Build Modules:    `-`
------------------------------

Describe the bug
This request:
async getCompanyProfile() {
        const query = gql`
          query getCompanyProfileByID($id: String!) {
            empresa(filter: { id: { _eq: $id } }) {
              id
              nome
              cnpj
              razao_social
              email
              ie_estadual
              ie_municipal
              telefone
              cep
              bairro
              complemento
              estado
              cidade
              endereco
              numero
              regime_fiscal
            }
          }
        `;
        const variables = { id: "dc604b7" };
        try {
          const { result } = await useQuery(query, variables);
        } catch (e) {
          console.log(e);
        }

Give me this error:
{"errors":[{"message":"GraphQL validation error.","extensions":{"code":"GRAPHQL_VALIDATION_EXCEPTION","graphqlErrors":[{"message":"Cannot query field \"empresa\" on type \"Query\".","locations":[{"line":2,"column":3}]}]}}]}
Expected behaviour
Without filter, just using limit: 10, works fine. But a filter with query parameter didn't work. My backend server is directus v9.
But with postman, works fine:

Reproduction
I'm using Directus for GraphQL backend:
https://docs.directus.io/reference/query.html#filter
Additional context
I'm using Apollo Module inside a composable in nuxt.
Logs
No response

Terminal show me this errors:
Error: nuxt instance unavailable   09:08:35
    at Module.useNuxtApp
     at readRawCookies
     at Module.useCookie
      at updateAuth
      at onLogin
      at Proxy

     "@nuxtjs/apollo": "5.0.0-alpha.5",

I have the same issue
500
nuxt instance unavailable

at Module.useRequestEvent (./node_modules/nuxt/dist/app/composables/ssr.mjs:14:58)
at readRawCookies (./node_modules/nuxt/dist/app/composables/cookie.mjs:52:62)
at Module.useCookie (./node_modules/nuxt/dist/app/composables/cookie.mjs:23:19)
at getToken (./node_modules/@nuxtjs/apollo/dist/runtime/composables.mjs:45:68)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async setup (./pages/channels.js:42:12)

<script setup>
const { getToken } = useApollo()

const query = gql`
  query getChannels {
    channels {
      name
    }
  }`

const currentUserAuthToken = await getToken()
const { data } = useQuery(query)
</script>

so, is getToken broken with nuxt in ssr mode? anybody got it working?

I keep having this issue when ssr is enabled.
[Vue warn]: Unhandled error during execution of setup function
  at <Channels onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< undefined > >
[nuxt] error caught during app initialization H3Error: nuxt instance unavailable
    at Module.useNuxtApp (/usr/src/app/node_modules/nuxt/dist/app/nuxt.mjs:173:13)
    at Module.useRequestEvent (/usr/src/app/node_modules/nuxt/dist/app/composables/ssr.mjs:14:58)
    at readRawCookies (/usr/src/app/node_modules/nuxt/dist/app/composables/cookie.mjs:52:62)
    at Module.useCookie (/usr/src/app/node_modules/nuxt/dist/app/composables/cookie.mjs:23:19)
    at getToken (/usr/src/app/node_modules/@nuxtjs/apollo/dist/runtime/composables.mjs:45:68)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async setup (/usr/src/app/pages/dashboard/channels.vue:16:124) {
  statusCode: 500,
  fatal: false,
  unhandled: false,
  statusMessage: undefined,
  __nuxt_error: true
}

// dashboard/channels.vue
<script setup lang="ts">
const { getToken } = useApollo()
const currentUserAuthToken = await getToken()
</script>

can someone advise if is there anything that can be done?
I'm not sure if this can be related https://github.com/nuxt/nuxt/issues/13965#issuecomment-1397323668 @danielroe

I've opened PR #524 that should fix this issue.


Why different names? authorize vs policy

Hi, I am a little curious about rationale behind the decision for different names (i.e. authorize and policy) for (apparently) same functionality, albeit used in different contexts (controllers vs. views).
Any comments please? Thank you.
Keep up the great great work! :pray:

@exalted ,
I did a quick check here and what I could observe is that believe while authorize methods checks the authorization (for the records and query) the policy methods only returns the related policy initialized with user and record (without applying any other check or raising exception).

I hope this helps.

@exalted, I just noticed this is not completely true. The policy_scope controller helper actually apply the resolve method from the policy on the provided scope. This even brings consequences that I mentioned on #350.

@exalted I'm not sure that Rails provides the view with the name of the current action, and even if it did, a view often displays links/buttons for performing different actions. Thus, I don't think it would work to simply use authorize(@post) in a view.

No you shouldn't use <% if authorize(@post) %> in a view. For one it is not even exposed as a helper_method, so you actually can't, but even if you were able to do it, then it would be wrong. authorize always returns true in Pundit 1.x, that if-statement is never going to fail. Instead what would happen is that an error would be raised if @post cannot be authorized. That is not what you want. This is why authorize is a separate (and different) method, because you usually want to raise an error in a controller, but maybe not always, and in a view you definitely don't want to do that.

I suggest re-reading the README if you're still confused, it actually explains all of this, more or less.

@jnicklas thanks for the lengthy explanation, however my question was about the rationale rather than the usage of Pundit. It's clear to me how Pundit works and the way is supposed to be used on controller and view contexts. Regardless, thank you for taking time and commenting.

I guess that's it. Thanks everyone who answered. 🍻


Is there any plans about App Open Support?

Feature Description
Is there any plans about App Open Support?

Hi @white-poto - adding support is currently in the works. We will update this thread when the plugin with support is released.


populating flask_wtf form with database data - database creation breaking

I am trying to work out how to get dynamically driven forms to work in Flask using flask_wtf. I want to snag values from the flask_sqlalchemy database to populate choices. I have this working IF the database is already created. If I want to populate a fresh DB it breaks in a weird way and seems to get stuck on the db.create_all() step. If I send a request to the server I get SQL errors as the schema does not yet exist. When I comment out the offending line in forms.py the db creates just fine. I can then un-comment the line and my database driven options works perfectly!
I am guessing that the forms are renderd before the database initialises - If anyone has any guidance on how I should set this up it would be much appreciated.
I also tried wtforms.ext.sqlalchemy which kinda worked but insisted on outputting __repr__ in the form. In any case wtforms.ext.sqlalchemy was depreciated and moved out to wtforms/wtforms-sqlalchemy where it seems to have died.
I have set up a demo of the problem in a repo here: https://github.com/mooperd/flasklogin-tutorial/blob/master/flask_login_tutorial/forms.py
Ta,
Andrew
My routes.py
"""Logged-in page routes."""
from flask import Blueprint, redirect, render_template, url_for
from flask_login import current_user, login_required, logout_user
from .forms import DashboardForm

# Blueprint Configuration
main_bp = Blueprint(
    'main_bp', __name__,
    template_folder='templates',
    static_folder='static'
)

@main_bp.route('/', methods=['GET'])
@login_required
def dashboard():
    """Logged-in User Dashboard."""
    form = DashboardForm()
    return render_template(
        'dashboard.jinja2',
        title='Flask-Login Tutorial.',
        template='dashboard-template',
        current_user=current_user,
        body="You are now logged in!",
        form=form
    )

My forms.py
"""Sign-up & log-in forms."""
from flask_wtf import FlaskForm
from wtforms import SelectField, PasswordField, StringField, SubmitField
from wtforms.validators import DataRequired
from .models import db, User

def user_choices():
    output_list = []
    result = db.session.query(User).all()
    for row in result:
        output_list.append((row.id, row.name))
    return output_list

class DashboardForm(FlaskForm):
    """Test to populate from from db data"""
    # name = StringField('Users', validators=[DataRequired(), ])
    name = SelectField('boat_type', choices=user_choices(), validators=[DataRequired(), ])
    submit = SubmitField('Submit')

My __ init __.py
"""Initialize app."""
from flask import Flask
from flask_login import LoginManager
from flask_sqlalchemy import SQLAlchemy
# from ddtrace import patch_all

# patch_all()
db = SQLAlchemy()
login_manager = LoginManager()

def create_app():
    """Construct the core app object."""
    app = Flask(__name__, instance_relative_config=False)
    app.config.from_object('config.Config')

    # Initialize Plugins
    db.init_app(app)
    login_manager.init_app(app)

    with app.app_context():
        from . import routes
        from . import auth
        from .assets import compile_static_assets

        # Register Blueprints
        app.register_blueprint(routes.main_bp)
        app.register_blueprint(auth.auth_bp)

        # Create Database Models
        db.create_all()

        # Compile static assets
        if app.config['FLASK_ENV'] == 'development':
            compile_static_assets(app)

        return app

Please use Stack Overflow for questions about your own code. This tracker is for issues related to the project itself. Be sure to include a minimal, complete, and verifiable example.

@davidism Er, it is directly related to the project. I think its a bug.


Added integration with sagan and an option to update the sagan adoc parts of a project page

waiting for https://github.com/spring-io/sagan/pull/889 to merge

Codecov Report

Merging #121 into master will increase coverage by 0.48%.
The diff coverage is 83.56%.

@@             Coverage Diff              @@
##             master     #121      +/-   ##
============================================
+ Coverage      78.7%   79.19%   +0.48%
- Complexity      692      710      +18
============================================
  Files            55       55
  Lines          3264     3321      +57
  Branches        289      296       +7
============================================
+ Hits           2569     2630      +61
+ Misses          564      560       -4
  Partials        131      131

Impacted Files
Coverage Δ
Complexity Δ

...ringframework/cloud/release/internal/Releaser.java
30.06% <0%> (ø)
9 <0> (ø)
:arrow_down:

...ork/cloud/release/internal/pom/ProjectVersion.java
74.6% <100%> (+0.4%)
53 <1> (+1)
:arrow_up:

...ramework/cloud/release/internal/sagan/Project.java
100% <100%> (ø)
2 <0> (ø)
:arrow_down:

...elease/internal/sagan/RestTemplateSaganClient.java
96.42% <100%> (+30.91%)
6 <0> (+1)
:arrow_up:

...ork/cloud/release/internal/ReleaserProperties.java
77.9% <41.66%> (-1.71%)
14 <0> (ø)

...ork/cloud/release/internal/sagan/SaganUpdater.java
88.88% <91.66%> (+1.19%)
37 <13> (+16)
:arrow_up:

...gframework/cloud/release/internal/git/GitRepo.java
73.09% <0%> (+0.5%)
35% <0%> (ø)
:arrow_down:

.../cloud/release/internal/pom/ProjectPomUpdater.java
84.78% <0%> (+1.08%)
9% <0%> (ø)
:arrow_down:

.../cloud/release/internal/git/ProjectGitHandler.java
80.8% <0%> (+4.04%)
30% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Performing GET on api-auth-token endpoint results in internal server error

I visited https://launch.usegalaxy.org/cloudlaunch/api/v1/auth/api-token-auth/, following the instructions in https://github.com/CloudVE/cloudlaunch-cli -> step 4.
It resulted in an internal server error.
Once I manually created the token from within the cloudlaunch admin, it returned the token correctly. So it looks like GET doesn't behave properly if no token is defined.
@machristie Did you experience this too?

I think maybe I was thinking that api-token-auth would get_or_create the token, but we changed it to just get the token.
An API token is created when a user is created, but we need a way to create tokens for existing users.  Would a Django migration be the best way to do that?

This was fixed by @nuwang in a commit where GET handles missing token and POST can be used to create a token.
This issue can be closed now. However, I will also open an issue in cloudlaunch-cli to make sure that this gets documented how to get an API token.


grid option does not work for Pie

Version
5.1.2
Steps to reproduce
option = {
    grid: {
        show: true,
        top: 300
    },
    series: [
        {
            type: 'pie',
            data: [
                {value: 1048, name: 'A'},
                {value: 735, name: 'B'},
                {value: 580, name: 'C'},
            ],
        }
    ]
};

What is expected?
grid.top should work
What is actually happening?
Setting grid.top does nothing to the pie

grid is not for pie. It's for cartesian coordinate system with xAxis and yAxis. pie itself has left, right, top, bottom properties.


Upgrade jenkins to 2.387.1

Description

Upgrade jenkins to 2.387.1
Use new AMIs that has java 11 as default. Confirmed that all AMIs are public.
Bump package version to 0.3.0
Enable detail monitoring for main node
With recent change in S3 bucket ownership, added change in ownership which resolves below error:

 Bucket cannot have ACLs set with ObjectOwnership's BucketOwnerEnforced setting (Service: Amazon S3; Status Code: 400; Error Code: InvalidBucketAclWithObjectOwnership;

Issues Resolved
resolves #261
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Wonder why the imports are re-arranged.

IDE settings to arrange them alphabetically. 😄


[TA] Update link to PII entity categories

Those links are outdated and the owner left the company. Replace the link by a new one.

API change check
API changes are not detected in this pull request.


Allow us to change jellystat configuration via docker environmental variables and a configuration file

I wanted to switch my docker configuration from using host networking to communicating with other containers via container name.
So instead of http://<IP_ADDRESS>:8096 I wanted to communicate via http://jellyfin:8096.
Same thing with the jellystat database.
However, there was no config file for me to edit besides docker-compose.yml.
My best guess is this is all stored in the postgres database.
My proposition is to allow the jellyfin url to be changed by updating a docker environmental variable.
To make these changes I had to delete the database and start fresh. I could have used the cli to connect to the db but it was a fresh install anyways.
Ideally all of these settings can be modified via docker environmental variables AND a configuration file, with the env vars taking priority.

Hi @douglasparker. You are able to change the URL within jellystat under the settings tab. Also i'm not sure about using the config to store all this. Maybe in the current build this seems possible but there's a planned feature coming up to allow multiple servers. EG multiple jellyfin instances or even a jellyfin and emby instance. So having one instance hardcoded as config values may be abit tricky. I will look into ways to make this work however. Maybe something like a first time setup scenario where on a fresh install itl use this to configure the first instance or something similar.

Hi @douglasparker. You are able to change the URL within jellystat under the settings tab.

I wasn't able to change this setting after the fact because all of my services were switched to use bridge networking, and the value was set for using host networking.
I would have had to revert it all, make the change, and then revert back. For both jellyseer and my web server that proxies requests (both docker compose and Caddyfile)
Basically, it's a huge PITA.
It said it couldn't connect to the jellyseerr backend, but the logs were complaining about the jellyseerr hostname.
It seemed to update fine when updating the postgres host env var from localhost to the postgres container name.
If you plan to allow multiple servers, it might be worth using a json config that associates a server id to the config values for each server.

Initial I did plan to store a json object in the db with the associated server ID's and then store that in the DB. Il look into storing it in a config file instead as I'm gonna be reworking the config structure anyway to accomodate for this so Il see what's easiest to work with in future.

Please also include the option to let the web app omit the websocket port and only use /ws so I can let my nginx proxy configuration handle this.


Tell MSVC to link with debug CRT on debug builds

When doing a debug build, emits /MTd or /MDd instead of /MT or /MD, matching the usual flags for C++ code. When linking statically, link.exe requires all objects to be built with the same /M* flags, so hopefully this makes it easier to consume Rust static libraries while debugging.
I suspect that this might not be the way this change should be handled, and furthermore, it smells a little bit like it might be a breaking change when doing debug builds, but it's a start.
Background: I'm building a Rust staticlib targeting x86_64-pc-windows-msvc, then linking it against some C++ to make a DLL. To do this I'm using the cxx crate, but my understanding is that this problem would be triggered when consuming any crate containing C++ objects as cxx does.
Everything is fine when doing a release build, but on debug builds, my C++ code gets built using the /MDd flag for debugging purposes. However, the cc crate unconditionally builds objects using /MD. As per the Microsoft documentation, this situation is not allowed. Helpfully, the 2019 MSVC toolchain throws up an error, instead of just letting it pass silently, like it used to.
I do have some concerns about my approach here, but I can't really go about addressing them without input from the maintainers:

My change doesn't provide a way to manually select the debug or non-debug versions without changing debug mode for all of the code. This might not be a problem depending on the API philosophy.
Depending on how they've worked around it (e.g. doing their debug builds with /MD instead of /MDd), any existing users with the same use-case as mine might have their debug builds broken by this change.

Thanks for this! One thing about this is that I'm not sure how well /MDd interacts with Rust code. I'm not sure if Rust object files are compiled with this similar directive so they can all intermingle? I know that /MT vs /MD works, but I'm not sure if Rust code compiled today can be linked against /MTd. Mind checking that to see if it works?

Okay, wow, this definitely breaks things. I'm a little embarrassed I didn't think to check letting rustc link call the linker. Thanks for the quick response.
Building a staticlib with the C++ bits compiled with /MDd, then linking it into a DLL also built with /MDd seems to work. It happily brings up a tokio RPC server and responds to requests, which I'd guess exercises things pretty well.
Building a cdylib with the C++ bits compiled with /MDd fails because rustc wants to link the library with /MD, as you noted in a comment on an old issue I dug up.
Now that I have a better grasp of what's going on, I'm a little surprised that the staticlib part works at all. Do Rust object files care which library they're linked with in the end? Did I just get really lucky and not manage to hit anything important?

AFAIK Rust doesn't do anything to indicate /MT or /MD in object files it produces. I think it has everything to do with what libraries are linked in the final command line. I don't know what cl.exe or clang-cl.exe do to have object files indicate what flag they were compiled with.
As for why things sometimes work and sometimes don't, I'm not sure I'm enough of an MSVC expert to know why :(

/MT, /MTd, etc are C/C++ compiler directives (not linker ones) and so, as Alex says, it won't affect compiling Rust code.
Rust itself manually links to the relevant libraries in libc-rs and the way this is done means it's not overrideable outside of the libc crate. So currently any fixes would need to be made there too.
Ideally, instead of hardcoding the libraries on MSVC, Rust would use a linker argument such as:
/DEFAULITLIB:msvcrt
By using the DEFAULITLIB directive, the library can be overridden by other tools (e.g. cc) using NODEFAULTLIB. Or even non-Rust tools. For example, to replace msvcrt with the debug version, you'd be able to do this:
/NODEFAULTLIB:msvcrt /DEFAULTLIB:msvcrtd
However, I don't think that's possible to do within a crate.
Another possibility would be to use the Rust specific -l directive to replace the library:
-l msvcrt:msvcrtd
However, this does not currently work across crates so you can't override anything set by dependencies.
To be honest my hacky solution has been to create an empty msvcrt.lib and add the folder it's in to the library path. This then means I can use other libraries without conflict. Obviously this is very much a hack and I'm not proposing it as any kind of solution.

Further reading: C runtime (CRT) and C++ Standard Library (STL) .lib files

Ok, I think this PR as-is should be closed, though I'd be happy to reopen if there's something I'm missing.
I think this needs some more design work (and maybe some changes on the rustc side of things). Mixing CRT libraries is risky so there should be some way to make sure they're all the same for everything that goes into the same linked binary. But figuring out how to do that perhaps needs more than these changes to cc-rs can provide.


Making the package ES6-friendly (and modern)

It is 2019 and I think would be better to make the package a little bit more "modern". I have implemented all the stuff around ES6 classes, Babel, code coverage etc. Hope you will find it useful.

Thanks, but not really sure I see the need for classes given that they really only have a constructor (which is equivalent to a function anyway).

@devongovett The "ES6 style code" requires for me to have OpenType.js to run directly in a browser (using module style code). But seems they replaced your old code with some new module. Also seems you do not care about your package (answer after 8 months, heh). So, I also do not care about it, bye.


minimal guided fuzzing

when we're fuzzing based on taint analysis
we don't need to rerun instructions that weren't affected by modified input

we can actually hoist instructions out into native program based on taint analysis to run tight native loop outside the emulator until a branch flips
for example, read(buf) -> lots of code/work later that doesn't taint buf -> sha1sum(buf) -> branch
we can follow the taint trail to see the operation is just sha1sum(read(buf)) -> branch, copy that assembly path into a new program and run it standalone


Link issue with 6.0.43

Laravel Mix Version: 6.0.43
Node Version (node -v): 16.2.0
NPM Version (npm -v): 8.3.1
OS: Ubuntu

Description:
Hi,
Since 6.0.43 we have an issue on app building with npm link feature.
This command doesn't install linked package's dependencies. With 6.0.42 and before, it seems that mix retrieve the dependencies in the main node_modules
directory (vue in our case) but it doesn't with 6.0.43 : we have to manually npm install in the linked package.
I tried to check 6.0.43 modifications to see what has changed, but this released is really huged and i didn'd found why the behaviour changed.
Steps To Reproduce:
A laravel app with a linked submodule, which have vue 3 in deps.
•
└── app
    └── node_modules
        ├── vue
        └── linked-package
            └── NO NODE_MODULES

Some news :
npm install in linked package solved the npm run dev error, but now i have runtime errors :
shop.js:24599 Uncaught TypeError: Cannot read properties of undefined (reading 'setBreadcrumb')

var _inject = (0,vue__WEBPACK_IMPORTED_MODULE_0__.inject)('useBreadcrumb'),
setBreadcrumb = _inject.setBreadcrumb;

It seems linked package vue 3 api composition is not loaded with 6.0.43 ?
(Works very well without links)

I'll see what I can figure out and push a release out today. Could you provide a repo or some detailed instructions on how you're using npm link? The fact that a non-linked version works but a linked version makes me think it's symlink/path resolution related but I want to be sure I can replicate your setup.


Appending all images one after other. Ignores middle div blocks

For following HTML mackup

    Some content in between two images blocks(DIVs)

script
colorify({

  container: 'colorify-main-color',
  attr: 'colorify',
  images: false,
  accuracy: 100,
  gradient: false,
  gradientDirection: false,
  padding: 4,
  lazyReveal: false,
  give: false,
  revealOn: false
});

Its output both the images one by one ignoring div in between these two image blocks and throws out of image main container
Output result HTML

    Some content in between two images blocks(DIVs)

Hello !
Thank you for your detailled issue.
I'm looking into it right now, updating you asap.

Update : Bug reproduced, now fixing it.

Okay, so, I found out why it was buggy.
Since it's the very first version of the script, you have to pay attention and to wrap images in UNIQUES containers.
So, for example, if you want the colorify.js script to process two images, in the same way, with 2 different containers but the same images settings, you have to make the container's id unique.
If you use the following code, your problem should be fixed.

    Some content in between two images blocks(DIVs)

with this JS code :
colorify({
  container: 'colorify-main-color',
  attr: 'colorify',
  images: false,
  accuracy: 100,
  gradient: false,
  gradientDirection: false,
  padding: 4,
  lazyReveal: false,
  give: false,
  revealOn: false
});

colorify({
  container: 'colorify-main-color-2',
  attr: 'colorify-2',
  images: false,
  accuracy: 100,
  gradient: false,
  gradientDirection: false,
  padding: 4,
  lazyReveal: false,
  give: false,
  revealOn: false
});

Notice how the containers attributes, and the images attributes are different colorify-main-color / colorify-main-color-2 & colorify/ colorify-2.
To avoid those problems, I make the attr property facultative. If you just give the containers an unique ID, it will be applied to the images in this container.
But I agree on a point, the V1 of colorify could be hugely improved, and that's what I'm actually doing, making it better, based on you guys feedbacks !

Also, you can write the JS this way, which would have the exact same effect :
colorify({
  container: 'colorify-main-color',
  attr: 'colorify',
  accuracy: 100,
  padding: 4
});

colorify({
  container: 'colorify-main-color-2',
  attr: 'colorify-2',
  accuracy: 100,
  padding: 4
});

Thanks LukyVj,
But i need to handle 100 of image sets like this :)  , Is there any provision to add dynamic(say multiple) attr with in single  colorify({}) methode.

colorify({
  container: 'colorify-main-color',
  images: ['image1.png','image2.png','image3.png'], // And so on..
  attr: 'colorify',
  accuracy: 100,
  padding: 4
});

But I cannot guarantee you it will process all of them, neither the time of the process.
I'd love to be updated on your project, tell me if you have any other issues.

So, I made a few tests
 Images process tests :
  No internet connection, chrome47.
  - 200 accuracy, 8sec to display 280 images
  - 200 accuracy, 14sec to display 560 images

I would say, the less images you process, faster the processing will be.


Web-App Error "failed to fetch the chat response - try again"

deployed on Azure; interface comes up, I can start a new chat, when submitting a question I always get "failed to fetch chat response - try again."
Interestingly, the AppServiceConsoleLogs shows an error:
message: 'Incorrect API key provided: 51c07208********************7b4a. You can find your API key at https://platform.openai.com/account/api-keys.',
On a side note: the "update"-button on the left navigation bar shows a blinking red light; apparently the file (and directory) /home/site/wwwroot/app/update/update.md is missing:
[Error: ENOENT: no such file or directory, open '/home/site/wwwroot/app/update/update.md'] {
As said, deployed on Azure following instructions, no errors during deployment.
Any help is much appreciated!

You may need to update your env.local file to rename AZURE_OPENAI_API_KEY to OPENAI_API_KEY. This solved for me.

actually, it was the other way round - the environment only had the OPENAI_API_KEY set and was looking for the AZURE_OPENAI_API_KEY.
Thanks a lot for your help!


Screenshot of XAMPP env Problem 1 HW #2

This issue serves as a reminder to take a screenshot of our XAMPP local environment and and include it in the “Setting up the development environment” section of our readME before submitting hw#2

done


Getting started init script

As a team we created a script that it is useful for new engineers to setup and try Zarf really quickly. Usage is similar to:
curl -sL https://raw.githubusercontent.com/defenseunicorns/zarf/installZarf.sh | bash

It helps to:

Create a /home//.zarf directory or /tmp/zarfxxx temporary directory
Detects and downloads the proper binary and package depending on the platform (mac, linux, x64, 32, arm, etc.)
Do check on the downloaded checksum files hashes
Optionally, zarf init into the current k8s context

I see this as a helpful maybe in the getting started section. Do you think this is something the project will benefit from? We would be eager to create the initial PR with the script code.

Closed now that https://zarf.dev/install exists


MD: Recompute on changes in atom positions

MD simulations cause changes in atomic positions and require a full recomputation of properties.

Yes, but isn't this already done by get_property? If system changes is not empty, self.results is set to {}, so if name not in self.results will trigger recomputation. The calculate method should always calculate. The ase MD infrastructure, as far as I know, uses the get_property-related functions to access the results.

I don't think the update method should be calculating anything, it's supposed to bring the calculator into a consistent state when things change.


Refactoring : Decouple validation and evaluator build implementation

IMP : Breaking Change, not compatible with previous version

Introduced:
1. ValueType - defines field and operand value type
2. OperandType
3. generic Set data structure
Refactor:
1. RuleEngineConfig Validator changes
- Introduced entity specific validator functions
- Map based validators container, making entity specific validators plug-gable and easy adding validators for new entities
2. Evaluator builder changes
- Introduced factory pattern for evaluator building operation
- Overall simplifies testing and easy plug-gable for new evaluators
3. Decouple most of the RuleEngineCong validation and evaluator builder implementation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

490 of 516 (94.96%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+7.02%) to 96.181%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

model.go
30
36
83.33%

evaluator.go
79
99
79.8%

Totals

Change from base Build<PHONE_NUMBER>:
7.02%

Covered Lines:
680

Relevant Lines:
707

💛  - Coveralls


[Flutter 2 Migration] fix status bar color

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @tneot01 in #feedback.

Dupe: https://github.com/BlueBubblesApp/BlueBubbles-Android-App/issues/1021


RemoveReference doesn't always work

Sometimes deleting several references in a row do not work. In the test file provided several references are deleted a row. When the test finishes the repository sometimes still have references. Adding a sleep between RemoveReference calls fixes the problem so it may be caused by a race condition.
https://gist.github.com/jfontan/79187ee5e278f3a769a6a69bfc60a837

The error was intruduced by @erizocosmico at PR #563 (https://github.com/src-d/go-git/pull/563/commits/5a7b7af0f793b1c25e9543e8511b767f3b739d67#diff-c206d8d5faa79122f47e8d63a810f54aR304)
Since the modifications are done at exactly the same second, even maybe the same nanosecond the modTime remains the same and cache is not refreshed. Even if we modify the code to invalidate the cache this doesn't means that an external program can reproduce a similar behavior.
@erizocosmico the read of references are a bottleneck? How much was improvement of this PR?
//cc @orirawlings

The main bottleneck was traversing all directories under refs/ (because Refs was being called inside Ref) as far as I remember, so I think we should be good reverting that. We could maybe just read until the reference is found, not making it necessary to read the whole file, for example.


Unable to save tx history and therefore the history tab is empty for contracts ver.1.2

Unable to save tx history and therefore the history tab is empty.
Safe contracts ver. - 1.2
The other stack: transactions service, config service and client gateway version - latest
The error:
transaction-service-worker_1     | 2021-11-15 12:47:48,628 [INFO] [8e4b5cc9/index_safe_events_task] Problem inserting internal_tx: duplicate key value violates unique constraint "history_internaltx_ethereum_tx_id_trace_address_c7c2fa9c_uniq"
transaction-service-worker_1     | DETAIL:  Key (ethereum_tx_id, trace_address)=(a0e680c9f06e7a60be1fcea44376dfc333a6afdce03b32a1e9ee23e4ad0cabc0, 0) already exists.

We set this variable ETH_L2_NETWORK=1
Though it works fine for contracts ver -  1.3

This is not an issue. Trace was already inserted, so it's ignored, but we should improve the logging message.
1.2 contracts are not supported in L2 mode (as there is not a L2 version of the contracts), so it's expected that they appear in the indexer


Rewrite README a bit

Consistent naming and fixed some spelling issues.

Do you know that all dependencies are GPLv3 compatible?

So I have checked all dependencies, and all was fine until I checked ring. It turns out that ring is derived from BoringSSL, which in turn is a fork of OpenSSL. This means that the ring dependancy has code licensed under the OpenSSL license. This is a bit of a pain, because OpenSSL license is sadly incompatible with the GPL (any version). There apparently are ways to add an exception for OpenSSL to the GPL license, but I'm no legal expert so it might be easier to just choose the MIT License or the Apache 2 License.

So after discussion, I will LICENSE it w/ MIT and we'll re-license if needed. will you edit the README accordingly @Tijndagamer? or you want me to do it?

I've updated the README.md accordingly, with a note about planned re-licenseing. I also added a LICENSE file (maybe it should be called COPYING, but that's not a big deal).

Thanks @Tijndagamer!!

Happy to help :)


JSON is sometimes corrupted when saving

Sometimes when trying to serialize and save the json string in a file, the string will be corrupted.
Instead of
[
  {
    "key1": "value1",
    "key2": "value2"
  }
]

it's saved as
[
  {
    "key1": "value1",
    "key2": "value2"
  }
]"
    }
  }
]

And here's my code to serialize and save the json string:
public static SaveJson(ValueKeys conf) {
    var json = JsonConvert.SerializeObject(conf, Formatting.Indented);
    using (var fs = new FileStream("file.json", FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.Read))
            {
                using (var sw = new StreamWriter(fs, Encoding.ASCII))
                {
                    sw.Write(json);
                }
            }
}

Regards, KaskadekingDE

You are writing to an existing file. That is old content.


connection terminated by server

I can see the flows in mitmproxy,but when launching games, it shows that "网络配置解析失败，请重试"
at the same time, the script log shows:
connection terminated by server: error code: 0, last stream id: 1, additional data: None
clientconnected
clientdisconnected

When I'm checking information in mitmproxy,I find the server didn't respond any GET messages,how can I solve it?

I can see the flows in mitmproxy,but when launching games, it shows that "网络配置解析失败，请重试" at the same time, the script log shows:
connection terminated by server: error code: 0, last stream id: 1, additional data: None
clientconnected
clientdisconnected

When I'm checking information in mitmproxy,I find the server didn't respond any GET messages,how can I solve it?

I am doing some arknights crack, and I assmue that current aknights client has the server certificate authentication. I found that there are lots of projects on github using the mitmproxy to hijack the response flow, just curious, is these project still can work now?

Yes for CN version.

I can see the flows in mitmproxy,but when launching games, it shows that "网络配置解析失败，请重试" at the same time, the script log shows:
connection terminated by server: error code: 0, last stream id: 1, additional data: None
clientconnected
clientdisconnected

When I'm checking information in mitmproxy,I find the server didn't respond any GET messages,how can I solve it?

I am doing some arknights crack, and I assmue that current aknights client has the server certificate authentication. I found that there are lots of projects on github using the mitmproxy to hijack the response flow, just curious, are these project still can work now? I think without some client patch or runtime hook technique, system proxy may not able to use.

Yes for CN version.

你好，如果你看到这封邮件，代表你的邮件成功发送到了我的邮箱，请等待回复。


fix: update post-merge header proofs to match latest changes

What was wrong?
Fixes #1358
How was it fixed?

update post-merge header proofs to match the latest changes in this PR
enable temporarily ignored tests

To-Do

[ ] Clean up commit history and use conventional commits.

These ignored tests should stop being ignored if it is "fixed" https://github.com/ethereum/trin/commit/762e9d51cb9292b5227151bcbc7311099504e0bf


Typings for constants file

Added typings for constants file - https://github.com/CorpGlory/types-grafana/issues/5

@krishna217 can I ask you to provide reference to Grafana version you used for this, please?
And also source file in Grafana.


Allow additional validators on parameter at runtime

This allows the user to add additional validators to a parameter at runtime either permanently (until explicitly removed) or temporarily via a context manager.
TODO

[x] Docstrings
[x] Examples

oh! a news fragment?


osrm-backend: 5.16.4 -> 5.17.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/osrm-backend/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-extract -h’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-extract --help’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-extract -v’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-extract --version’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-partition -h’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-partition --help’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-partition -v’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-partition --version’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-customize -h’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-customize --help’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-customize -v’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-customize --version’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-contract -h’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-contract --help’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-contract -v’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-contract --version’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-datastore -h’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-datastore --help’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-datastore -v’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-datastore --version’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-routed -h’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-routed --help’ got 0 exit code
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-routed -v’ and found version 5.17.2
ran ‘/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-routed --version’ and found version 5.17.2
found 5.17.2 with grep in /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2
directory tree listing: https://gist.github.com/82e852d822486a83285e755488f6d056

cc @erictapen for review

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: osrm-backend
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: osrm-backend
Partial log (click to expand)
shrinking /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-partition
shrinking /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-customize
shrinking /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-contract
shrinking /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-datastore
shrinking /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin/osrm-routed
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/lib  /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2/bin
patching script interpreter paths in /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2
checking for references to /build in /nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2...
/nix/store/y0779ksgxhvysi6ha717axl7v06grmar-osrm-backend-5.17.2

Success on aarch64-linux (full log)
Attempted: osrm-backend
Partial log (click to expand)
shrinking /nix/store/0cq7z1wl1p4rmw446dpg9347bhfdc11f-osrm-backend-5.17.2/bin/osrm-customize
shrinking /nix/store/0cq7z1wl1p4rmw446dpg9347bhfdc11f-osrm-backend-5.17.2/bin/osrm-partition
shrinking /nix/store/0cq7z1wl1p4rmw446dpg9347bhfdc11f-osrm-backend-5.17.2/bin/osrm-extract
shrinking /nix/store/0cq7z1wl1p4rmw446dpg9347bhfdc11f-osrm-backend-5.17.2/bin/osrm-components
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/0cq7z1wl1p4rmw446dpg9347bhfdc11f-osrm-backend-5.17.2/lib  /nix/store/0cq7z1wl1p4rmw446dpg9347bhfdc11f-osrm-backend-5.17.2/bin
patching script interpreter paths in /nix/store/0cq7z1wl1p4rmw446dpg9347bhfdc11f-osrm-backend-5.17.2
head: write error: Broken pipe
checking for references to /build in /nix/store/0cq7z1wl1p4rmw446dpg9347bhfdc11f-osrm-backend-5.17.2...
/nix/store/0cq7z1wl1p4rmw446dpg9347bhfdc11f-osrm-backend-5.17.2


[MM-15073] Hide bot accounts from System Console > Users

Summary
Hide bot accounts from System Console > Users
Ticket Link
Github
Jira

Few questions:

How do I test this effectively?
I wanted to filter the users further up the component chain but the user.is_bot flag is not exposed until the calls to get/searchProfiles here, is there a better way?

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0fef5c0377dfedd62.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Internal IP: <IP_ADDRESS>
Instance ID: i-0fef5c0377dfedd62

Thanks @jasonblais, FYI I will be unavailable for a week starting tomorrow, so if I don't respond to comments that is why.

Thanks for the heads up @CooperAtive 👍

React in general is not really my strong area, I'll reassign the review to get a more skilled set of eyes on it.

Spinmint test running for more than 7 days. This test server was terminated.

Thank you @CooperAtive! Great work on this


[FEAT] Add a regex pattern

Add a regex pattern for email validation in both the cases: When creating a group or joining a group.
Use the existing Toast Message NPM Package for appropriate errors.

hey @jatiinyadav please assign this issue to me under gssoc 2024.
problem:
while creating room and entering admin email there is only require field is added no regax pattern for proper validation.
solution:
adding a regax pattern for proper validation and show toast if email is not valid.

Hi @SiddhantBarman-PageUp,
Any updates?


Update azure-faqs.md

Updated 2 FAq
Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: \ 2 Faq

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://671f78dc73cab610f3bd6fa5--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://671f79a4e64aef1b3d50a31d--harness-developer.netlify.app


put browserstack binaries under nginx as static content to avoid re-download constantly from external site

BrowserStackLocal-.zip should be bundled as part of qps-infra nginx static content.
We might think about generating our own docker nginx container for that.

it speedup download, minimize number of external steps and allow to be integrated correctly from infra perspective under corporate network without internet access

Temporary solution as browserstack allow to do it via java code. For details take a look: https://github.com/qaprosoft/carina/issues/872
in 4.8 infra and pipeline we still wanna to use binary program to establish secure tunneling

returned back to backlog as improvement is not so big but risks to use old browserstack binary will appear

closing as wont' fix due to the small impact


Add zim

Zim appears to be the only plugin manager with over 1k stars that is not benchmarked here. Seems like a worthy addition.
See link: https://github.com/zimfw/zimfw
Here's their own benchmark results: https://github.com/zimfw/zimfw/wiki/Speed

Never mind, I did not look at that project carefully... Turns out it's a configuration framework, not a typical plugin manager.


Support Global Resources

[x] Custom Elements
[x] Custom Attributes
[x] Value Converters
[x] Binding Behaviors
[x] Calls to config.globalResources

[ ] ensure paths exist

[ ] Calls to config.Feature
[ ] Fluent style (chaining)

requires analyzing the configure(config) methods in user code - not trivial.

I supposed BindingBehaviors can globalized the same way

Would this also cover something like this? I'm using ViewEngineHooks to give me access to features in the view which are just a series of feature flags.
import {
  View,
  ViewEngineHooks
} from 'aurelia-framework';
import features from '../config/features';

export interface ICustomView extends View {
  overrideContext: {
    features: any
  };
}

export class ConstantsViewEngineHooks implements ViewEngineHooks {
  public beforeBind(view: ICustomView) {
    view.overrideContext.features = features;
  }
}


Simplified API

The catspeak_execute and catspeak_compile_buffer functions are useful, but becomes a bit exhausting for simple "compile-and-execute" use cases, such as loading an initialisation script from a file that only gets executed once.
Consider adding a new catspeak function, which should encapsulate this behaviour:
catspeak("1 + 2").andThen(function(result) {
  show_message(result);
});

If the first argument is not a string, then it is assumed to be a buffer:
catspeak(buff).andThen(function(result) {
  show_message(result);
});

The second parameter to this function will determine the namespaces to use when resolving global constants. For example, adding a particle function to a namespace:
catspeak_prelude_add_function("part", "create", part_type_create);

and then making that namespace visible to the compiler:
catspeak("part::create()", "part").andThen(function(result) {
  show_message(result);
});

Syntax to be decided.

Closed because of #12.


Explore running validation on feeds with unknown_column notices

Describe the problem
Investigation in #1767 showed that Flex feeds are not being parsed because they have the unknown_column notice. We want to be confident that this is the reason why Flex feeds are having parsing issues.
Proposed solution

Run analysis to see how many feeds in the acceptance tests have the unknown column notice (can use the Raw Data from the last analysis)

Alternatives you've considered
No response
Additional context
No response

Tasks:

[ ] Investigate why unknown column leads to unparsable
[ ] Test by adding a column to a feed without errors and see what happens

It's the missing_required_field 'stop_id' that leads to a validation error, which makes stop_times.txt have a status of UNPARSABLE_ROWS.
added a 'UNKNOWN_COLUMN'  to stop_times.txt of browncounty-mn-us--flex-v2 dataset, run GTFS validator, no UNPARSABLE_ROWS for stop_times.txt.

Closing this issue as a duplicate of #1767


cleanup alpine Dockerfile

Description
This provides two minor cleanups to the Alpine Dockerfile:

remove unused $arch, $ARCH, $KONG_SHA256 environment variables (probably those have been used earlier to download+verify the kong archive using curl?)
merge apk add lines (bash already installed anyway below)

Testing instructions
Netlify link: https://deploy-preview-5153--kongdocs.netlify.app/gateway/latest/install/docker/build-custom-images/
Checklist

[ ] Review label added
[ ] PR pointed to correct branch (main for immediate publishing, or a release branch: e.g. release/gateway-3.2, release/deck-1.17)

Jens Erat<EMAIL_ADDRESS>Mercedes-Benz Tech Innovation GmbH, imprint

Hi @JensErat ! Thanks for making these updates, everything here looks great. After looking over the file, I found a few more things I wanted to update, so I created #5174 to cover those changes as well as your changes. I'll close this PR out in favor of that PR, but feel free to check that other PR out if you'd like! Thanks again!


ID.me integration

operationcode/operationcode_frontend#20
operationcode/operationcode_frontend#125
operationcode/operationcode_frontend#124
operationcode/operationcode_frontend#118
operationcode/operationcode_backend#38

Unless there is more integration needed, I think we have this one solved and can close.

Yeah, that's what I was thinking at https://operation-code.slack.com/archives/C04FASBU9/p1504883471000152

Agreed.


dubbo v2.6.1 @Service(retries=0)

retries=0不生效，请问是因为retries默认也是0的原因吗？

duplicate with https://github.com/apache/incubator-dubbo/issues/1421

@zonghaishang thanks!

@zonghaishang when using failover cluster with service annotation, retries =0 , retry option also happens if first time invoke failes, is this a bug to fix

@stoneapple you need set retries=-1


Docsearch transformItems not picked up

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[ ] I have read the console error message carefully (if applicable).

Description
One of Algolia config options should be transformItems function which can filter/reorder the incoming search results prior to displaying to the user.
However, it seems like this function is not being picked up when defined in Docusaurus config at all.
Reproducible demo
https://stackblitz.com/edit/github-mfcf4x?file=docusaurus.config.js
Steps to reproduce

Add algolia config to docusaurus.config.js:

themeConfig: {
  algolia: {
    appId: 'X1Z85QJPUV',
    apiKey: 'bf7211c161e8205da2f933a02534105a',
    indexName: 'docusaurus-2',
    contextualSearch: true,
    transformItems: (items) => {
      console.log(items); // This should log search hits, but does not.
      return items;
    }
  },
}

Try to search for something that returns results.
Observe the console if the search hits are logged.

Expected behavior
Search hits should be logged to the console.
Actual behavior
Search hits are not logged to the console.
Your environment

Public source code:https://github.com/h2oai/wave/tree/master/website
Public site URL: https://wave.h2o.ai/
Docusaurus version used: 2.1.0, but reproducible on latest as well
Environment name and version (e.g. Chrome 89, Node.js 16.4): Chrome Version 108.0.5359.124 (Official Build) (x86_64)
Operating system and version (e.g. Ubuntu 20.04.2 LTS): MacOS 10.15.7

Self-service

[ ] I'd be willing to fix this bug myself.

cc @shortcuts

Hi, you can't use non-serializable items in themeConfig as they can't reach the client code. See https://docusaurus.io/docs/advanced/architecture
In order to pass callbacks to theme components, please swizzle the component instead, and pass the callback directly as a prop. This is why you need to swizzle MDXComponents.

Thanks @Josh-Cena! I was able to get it working by ejecting @docusaurus/theme-search-algolia SearchBar.
However,  I was thinking that a better solution would be to wrap the ejected component and pass my transformItems function instead. This would allow for fewer breaking changes in the future compared to full eject. It shouldn't even be that hard to implement since the component already accepts transformItems prop, it's just ignored.
Wdyt @Josh-Cena? If you think this makes sense, I am fine with making a PR.

Sounds good to me :)


git commands are very slow to execute and return to prompt in bash terminal

Type: Performance Issue
git commands are very slow to execute and return to prompt in bash terminal
VS Code version: Code 1.90.0 (89de5a8d4d6205e5b11647eb6a74844ca23d2573, 2024-06-04T19:33:54.889Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz (8 x 3302)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.84GB (19.34GB free)

Process Argv
--crash-reporter-id 886f0b6e-bc1b-410b-98a3-7ff6f17bec7e

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	   107	  9856	code main
    0	    89	   276	ptyHost
    0	     6	  1628	     conpty-agent
    0	     5	 16248	     "C:\Program Files\Git\bin\bash.exe" --init-file "c:\Users\inhenkel\AppData\Local\Programs\Microsoft VS Code\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh"
    0	    11	  5124	       "C:\Program Files\Git\bin\..\usr\bin\bash.exe" --init-file "c:\Users\inhenkel\AppData\Local\Programs\Microsoft VS Code\resources\app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh"
    0	    28	  9376	   crashpad-handler
    0	    96	 10944	window [2] (Issue Reporter)
    0	   180	 11988	extensionHost [1]
    0	    40	 12396	   utility-network-service
    0	   106	 12896	shared-process
    0	   208	 15076	   gpu-process
    0	   204	 17048	window [1] (Settings - azure-video-indexer - Visual Studio Code)
    0	    87	 17792	fileWatcher [1]

Workspace Info
|  Window (Settings - azure-video-indexer - Visual Studio Code)
|    Folder (azure-video-indexer): 331 files
|      File types: png(150) md(105) jpg(9) svg(7) yml(6) json(2) mp4(1)
|      Conf files: settings.json(1);

Extensions (8)

Extension
Author (truncated)
Version

vscode-sidebar
Acr
1.2.3

vs-code-xml-format
fab
0.1.5

vscode-dotnet-runtime
ms-
2.0.5

debugpy
ms-
2024.6.0

python
ms-
2024.8.0

vscode-pylance
ms-
2024.6.1

powershell
ms-
2024.2.2

vscode-yaml
red
1.15.0

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
jchc7451:31067544
chatpanelc:31048052
dsvsc021:30996838
da93g388:31013173
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
pythonprt:31056678
dwnewjupytercf:31046870
26j00206:31048877

I wonder if this is the same issue I am seeing with 1.90.0. For me, all commands using git bash in the integrated terminal take ~5 seconds to return. Even just an empty command.
There is no delay when using Git Bash outside of VSCode, or when using other terminals within VSCode. Disabling all extensions did not fix the issue, but downgrading to 1.89.1 did.

I disabled this setting and that fixed it. You also have to delete the terminal session and restart VSC.
terminal.integrated.shellIntegration.enabled
From: Martin Blostein @.>
Sent: Friday, June 7, 2024 10:57 AM
To: microsoft/vscode @.>
Cc: Author @.***>
Subject: Re: [microsoft/vscode] git commands are very slow to execute and return to prompt in bash terminal (Issue #214634)
I wonder if this is the same issue I am seeing with 1.90.0. For me, all commands using git bash in the integrated terminal take ~5 seconds to return. Even just an empty command.
There is no delay when using Git Bash outside of VSCode, or when using other terminals within VSCode. Disabling all extensions did not fix the issue, but downgrading to 1.89.1 did.

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/vscode/issues/214634#issuecomment-2155278960 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOAH2WDB2FUS7XBRN7JRUNTZGHX5TBFKMF2HI4TJMJ2XIZLTSSBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVI3TANBUG44DSNZUGWSG4YLNMWUWQYLTL5WGCYTFNSWHG5LCNJSWG5C7OR4XAZNMJFZXG5LFINXW23LFNZ2KM5DPOBUWG44TQKSHI6LQMWVHEZLQN5ZWS5DPOJ42K5TBNR2WLKBUGE4DQMJZGAYIFJDUPFYGLJLJONZXKZNFOZQWY5LFVIZDGNBQHEYTCMZTGSBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKG4YDINBXHA4TONBVU52HE2LHM5SXFJTDOJSWC5DF.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

I also noticed this lately, even changing folder, i.e. "cd someFolder" takes 5-6- seconds to show the next prompt!

/duplicate #212090


unbound method addHmac()  error

Q1:How to mapping Telerik.Web.UI.WebResource version in this http response
Version=<IP_ADDRESS>, CultureTelerik.Web.UI.WebResource.axd?TSM_HiddenField=ContentPlaceHolder_FormTop_RadScriptManager1_TSM&compress=1&TSM_CombinedScripts=;;System.Web.Extensions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35:zh-TW:8f95decb-d716-4257-bc42-c772df7173e5:ea597d4b:b25378d2;Telerik.Web.UI:zh-TW:df833b2e-28ee-45e7-8320-6f2a9cb883d7:16e4e7cd:f7645509:22a6274a:24ee1bba:6a6d718d
Q2
How to fix unbound method addHmac() must be called with RAUCipher instance as first argument (got str instance instead)
log:
python 43874.py -P c:\inetpub\wwwroot 2017.2.503 43609.py https://target/Telerik.Web.UI.WebResource.axd?type=rau
file: 43609.py
version:2017.2.503
destination c:\inetpub\wwwroot
Preparing payload...
Traceback (most recent call last):
File "43874.py", line 322, in
mode_Post()
File "43874.py", line 280, in mode_Post
print(upload(TempTargetFolder, Version, payload_filename, url))
File "43874.py", line 196, in upload
payload_filename
File "43874.py", line 158, in payload
data += rauPostData_prep(quiet, TempTargetFolder, Version) + "\r\n"
File "43874.py", line 103, in rauPostData_prep
Version
TypeError: unbound method addHmac() must be called with RAUCipher instance as first argument (got str instance instead)

Q2: Use Python 3.6 with code from my pull request and pycryptodome library instead of pycrypto.

Thanks everyone. @shiham101 and @Deepikajindal I have merged the PR from @Antonytm which should hopefully fix Q2. If Q1 is an issue with a vulnerable version of the Telerik Libraries then please create a new issue with a little more explanation as I'm not sure what you mean.


Add Trillioner (TLC)

@MRabenda Please add Trillioner (TLC) To Metamask
Token Website
https://trillioner.io
Token Contract
https://bscscan.com/token/0x29A5DaF6E3FDF964DEf07706eA1ABee7EC03D021
Audit
https://skynet.certik.com/projects/trillioner
Token Socials
https://twitter.com/Trillionertoken
https://github.com/trillionertoken/trillioner/blob/main/trillioner.sol
https://coinmarketcap.com/currencies/trillioner/
https://www.linkedin.com/company/trillionertoken/
https://www.facebook.com/Trillionertoken

@MRabenda can you please review

Hey,
This repo supports ethereum mainnet as of now only


Advanced Settings

Please review step 1.  I believe 'Advanced Settings' has been removed from LAW.  Custom Logs is now just under the Settings header.

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

ID: cf637b70-eb07-3fd7-4594-c52af96f5ad8
Version Independent ID: 29eced7b-1277-4ee1-21d0-0079d6b95a2f
Content: Collect custom logs with Log Analytics agent in Azure Monitor - Azure Monitor
Content Source: articles/azure-monitor/agents/data-sources-custom-logs.md
Service: azure-monitor
Sub-service: agents
GitHub Login: @bwren
Microsoft Alias: bwren

@SteveColegrove Thanks for bringing this to our notice. I have made changes to the document and they will reflect soon.


Run 2019 tutorial

Confirm 2019/tutorials/installation.

Didn't have time to run https://github.com/130s/hut_10sqft/issues/349 first...

Failed:
root@e05969ab530c:~/catkin_ws# roslaunch osrf_gear sample_environment.launch no_gui:=true
... logging to /root/.ros/log/f3e0332a-4e17-11e9-aa44-0242ac110002/roslaunch-e05969ab530c-2015.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://e05969ab530c:40383/

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
  * /rosversion: 1.14.3

NODES
  /
      ariac_sim (osrf_gear/gear.py)

ROS_MASTER_URI=http://localhost:11311

process[ariac_sim-1]: started with pid [2030]
writing file /tmp/ariac/arm1.urdf.xacro
writing file /tmp/ariac/arm2.urdf.xacro
writing file /tmp/ariac/gear.world
writing file /tmp/ariac/gear.launch
writing file /tmp/ariac/gear.urdf.xacro
Running command: roslaunch /tmp/ariac/gear.launch world_path:=/tmp/ariac/gear.world gear_urdf_xacro:=/tmp/ariac/gear.urdf.xacro arm_urdf_dir:=/tmp/ariac/ gui:=false
... logging to /root/.ros/log/f3e0332a-4e17-11e9-aa44-0242ac110002/roslaunch-e05969ab530c-2033.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

xacro: in-order processing became default in ROS Melodic. You can drop the option.
xacro: in-order processing became default in ROS Melodic. You can drop the option.
xacro: in-order processing became default in ROS Melodic. You can drop the option.
started roslaunch server http://e05969ab530c:45663/

SUMMARY
========

PARAMETERS
 * /ariac/arm1/arm/action_monitor_rate: 10
  * /ariac/arm1/arm/constraints/elbow_joint/goal: 0.1
   * /ariac/arm1/arm/constraints/elbow_joint/trajectory: 0.1
    * /ariac/arm1/arm/constraints/goal_time: 0.6
     * /ariac/arm1/arm/constraints/linear_arm_actuator_joint/goal: 0.1
      * /ariac/arm1/arm/constraints/linear_arm_actuator_joint/trajectory: 0.1
       * /ariac/arm1/arm/constraints/shoulder_lift_joint/goal: 0.1
        * /ariac/arm1/arm/constraints/shoulder_lift_joint/trajectory: 0.1
 * /ariac/arm1/arm/constraints/shoulder_pan_joint/goal: 0.1
  * /ariac/arm1/arm/constraints/shoulder_pan_joint/trajectory: 0.1
   * /ariac/arm1/arm/constraints/stopped_velocity_tolerance: 0.05
    * /ariac/arm1/arm/constraints/wrist_1_joint/goal: 0.1
     * /ariac/arm1/arm/constraints/wrist_1_joint/trajectory: 0.1
      * /ariac/arm1/arm/constraints/wrist_2_joint/goal: 0.1
       * /ariac/arm1/arm/constraints/wrist_2_joint/trajectory: 0.1
        * /ariac/arm1/arm/constraints/wrist_3_joint/goal: 0.1
 * /ariac/arm1/arm/constraints/wrist_3_joint/trajectory: 0.1
  * /ariac/arm1/arm/gains/elbow_joint/d: 150
   * /ariac/arm1/arm/gains/elbow_joint/i: 1
    * /ariac/arm1/arm/gains/elbow_joint/i_clamp: 25
     * /ariac/arm1/arm/gains/elbow_joint/p: 50000
      * /ariac/arm1/arm/gains/linear_arm_actuator_joint/d: 500
       * /ariac/arm1/arm/gains/linear_arm_actuator_joint/i: 0
        * /ariac/arm1/arm/gains/linear_arm_actuator_joint/i_clamp: 1
 * /ariac/arm1/arm/gains/linear_arm_actuator_joint/p: 10000
  * /ariac/arm1/arm/gains/shoulder_lift_joint/d: 150
   * /ariac/arm1/arm/gains/shoulder_lift_joint/i: 10
    * /ariac/arm1/arm/gains/shoulder_lift_joint/i_clamp: 50
     * /ariac/arm1/arm/gains/shoulder_lift_joint/p: 50000
      * /ariac/arm1/arm/gains/shoulder_pan_joint/d: 150
       * /ariac/arm1/arm/gains/shoulder_pan_joint/i: 0
        * /ariac/arm1/arm/gains/shoulder_pan_joint/i_clamp: 1
 * /ariac/arm1/arm/gains/shoulder_pan_joint/p: 10000
  * /ariac/arm1/arm/gains/wrist_1_joint/d: 5
   * /ariac/arm1/arm/gains/wrist_1_joint/i: 0
    * /ariac/arm1/arm/gains/wrist_1_joint/i_clamp: 1
     * /ariac/arm1/arm/gains/wrist_1_joint/p: 100
      * /ariac/arm1/arm/gains/wrist_2_joint/d: 2
       * /ariac/arm1/arm/gains/wrist_2_joint/i: 0
        * /ariac/arm1/arm/gains/wrist_2_joint/i_clamp: 1
 * /ariac/arm1/arm/gains/wrist_2_joint/p: 75
  * /ariac/arm1/arm/gains/wrist_3_joint/d: 1
   * /ariac/arm1/arm/gains/wrist_3_joint/i: 0
    * /ariac/arm1/arm/gains/wrist_3_joint/i_clamp: 1
     * /ariac/arm1/arm/gains/wrist_3_joint/p: 25
      * /ariac/arm1/arm/joints: ['linear_arm_actu...
       * /ariac/arm1/arm/state_publish_rate: 25
        * /ariac/arm1/arm/stop_trajectory_duration: 0.5
 * /ariac/arm1/arm/type: effort_controller...
  * /ariac/arm1/joint_state_controller/extra_joints: [{'position': 0.0...
   * /ariac/arm1/joint_state_controller/publish_rate: 50
    * /ariac/arm1/joint_state_controller/type: joint_state_contr...
     * /ariac/arm1/robot_description: <?xml version="1....
 * /ariac/arm1/robot_state_publisher/publish_frequency: 50.0
 * /ariac/arm1/robot_state_publisher/tf_prefix:
 * /ariac/arm1/tf_relay/frames: ['linear_arm_actu...
 * /ariac/arm1/tf_relay/prefix: arm1_
 * /ariac/arm2/arm/action_monitor_rate: 10
 * /ariac/arm2/arm/constraints/elbow_joint/goal: 0.1
 * /ariac/arm2/arm/constraints/elbow_joint/trajectory: 0.1
 * /ariac/arm2/arm/constraints/goal_time: 0.6
 * /ariac/arm2/arm/constraints/linear_arm_actuator_joint/goal: 0.1
 * /ariac/arm2/arm/constraints/linear_arm_actuator_joint/trajectory: 0.1
 * /ariac/arm2/arm/constraints/shoulder_lift_joint/goal: 0.1
 * /ariac/arm2/arm/constraints/shoulder_lift_joint/trajectory: 0.1
 * /ariac/arm2/arm/constraints/shoulder_pan_joint/goal: 0.1
 * /ariac/arm2/arm/constraints/shoulder_pan_joint/trajectory: 0.1
 * /ariac/arm2/arm/constraints/stopped_velocity_tolerance: 0.05
 * /ariac/arm2/arm/constraints/wrist_1_joint/goal: 0.1
 * /ariac/arm2/arm/constraints/wrist_1_joint/trajectory: 0.1
 * /ariac/arm2/arm/constraints/wrist_2_joint/goal: 0.1
 * /ariac/arm2/arm/constraints/wrist_2_joint/trajectory: 0.1
 * /ariac/arm2/arm/constraints/wrist_3_joint/goal: 0.1
 * /ariac/arm2/arm/constraints/wrist_3_joint/trajectory: 0.1
 * /ariac/arm2/arm/gains/elbow_joint/d: 150
 * /ariac/arm2/arm/gains/elbow_joint/i: 1
 * /ariac/arm2/arm/gains/elbow_joint/i_clamp: 25
 * /ariac/arm2/arm/gains/elbow_joint/p: 50000
 * /ariac/arm2/arm/gains/linear_arm_actuator_joint/d: 500
 * /ariac/arm2/arm/gains/linear_arm_actuator_joint/i: 0
 * /ariac/arm2/arm/gains/linear_arm_actuator_joint/i_clamp: 1
 * /ariac/arm2/arm/gains/linear_arm_actuator_joint/p: 10000
 * /ariac/arm2/arm/gains/shoulder_lift_joint/d: 150
 * /ariac/arm2/arm/gains/shoulder_lift_joint/i: 10
 * /ariac/arm2/arm/gains/shoulder_lift_joint/i_clamp: 50
 * /ariac/arm2/arm/gains/shoulder_lift_joint/p: 50000
 * /ariac/arm2/arm/gains/shoulder_pan_joint/d: 150
 * /ariac/arm2/arm/gains/shoulder_pan_joint/i: 0
 * /ariac/arm2/arm/gains/shoulder_pan_joint/i_clamp: 1
 * /ariac/arm2/arm/gains/shoulder_pan_joint/p: 10000
 * /ariac/arm2/arm/gains/wrist_1_joint/d: 5
 * /ariac/arm2/arm/gains/wrist_1_joint/i: 0
 * /ariac/arm2/arm/gains/wrist_1_joint/i_clamp: 1
 * /ariac/arm2/arm/gains/wrist_1_joint/p: 100
 * /ariac/arm2/arm/gains/wrist_2_joint/d: 2
 * /ariac/arm2/arm/gains/wrist_2_joint/i: 0
 * /ariac/arm2/arm/gains/wrist_2_joint/i_clamp: 1
 * /ariac/arm2/arm/gains/wrist_2_joint/p: 75
 * /ariac/arm2/arm/gains/wrist_3_joint/d: 1
 * /ariac/arm2/arm/gains/wrist_3_joint/i: 0
 * /ariac/arm2/arm/gains/wrist_3_joint/i_clamp: 1
 * /ariac/arm2/arm/gains/wrist_3_joint/p: 25
 * /ariac/arm2/arm/joints: ['linear_arm_actu...
 * /ariac/arm2/arm/state_publish_rate: 25
 * /ariac/arm2/arm/stop_trajectory_duration: 0.5
 * /ariac/arm2/arm/type: effort_controller...
 * /ariac/arm2/joint_state_controller/extra_joints: [{'position': 0.0...
 * /ariac/arm2/joint_state_controller/publish_rate: 50
 * /ariac/arm2/joint_state_controller/type: joint_state_contr...
 * /ariac/arm2/robot_description: <?xml version="1....
  * /ariac/arm2/robot_state_publisher/publish_frequency: 50.0
   * /ariac/arm2/robot_state_publisher/tf_prefix:
    * /ariac/arm2/tf_relay/frames: ['linear_arm_actu...
     * /ariac/arm2/tf_relay/prefix: arm2_
      * /gazebo/enable_ros_network: True
       * /rosdistro: melodic
        * /rosversion: 1.14.3
 * /sensors_description: <?xml version="1....
 * /sensors_tf_publisher/publish_frequency: 50.0
 * /sensors_tf_publisher/tf_prefix:
 * /use_sim_time: True

NODES
  /ariac/arm2/
    arm_controller_spawner (controller_manager/controller_manager)
    fake_joint_calibration (rostopic/rostopic)
    joint_state_controller_spawner (controller_manager/controller_manager)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    spawn_gazebo_model (gazebo_ros/spawn_model)
    tf_relay (osrf_gear/tf2_relay)
  /ariac/arm1/
    arm_controller_spawner (controller_manager/controller_manager)
    fake_joint_calibration (rostopic/rostopic)
    joint_state_controller_spawner (controller_manager/controller_manager)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    spawn_gazebo_model (gazebo_ros/spawn_model)
    tf_relay (osrf_gear/tf2_relay)
  /
    gazebo (gazebo_ros/gzserver)
    gazebo_unpauser (osrf_gear/gazebo_unpauser.py)
    sensors_tf_publisher (robot_state_publisher/robot_state_publisher)
    spawn_gazebo_sensors (gazebo_ros/spawn_model)
    startup_ariac (osrf_gear/startup.sh)

ROS_MASTER_URI=http://localhost:11311

process[startup_ariac-1]: started with pid [2057]
Ensuring scoring log file exists
File doesn't exist - symlinking /root/.ariac/log/performance.log to /root/.gazebo/server-11345/default.log
^B[startup_ariac-1] process has finished cleanly
log file: /root/.ros/log/f3e0332a-4e17-11e9-aa44-0242ac110002/startup_ariac-1*.log
process[gazebo-2]: started with pid [2059]
zprocess[sensors_tf_publisher-3]: started with pid [2064]
process[spawn_gazebo_sensors-4]: started with pid [2104]
gzserver: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo_common.so.9: undefined symbol: _ZN8ignition10fuel_tools12ClientConfig12SetUserAgentERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
================================================================================REQUIRED process [gazebo-2] has died!
process has died [pid 2059, exit code 127, cmd /opt/ros/melodic/lib/gazebo_ros/gzserver -u -e ode /tmp/ariac/gear.world __name:=gazebo __log:=/root/.ros/log/f3e0332a-4e17-11e9-aa44-0242ac110002/gazebo-2.log].
log file: /root/.ros/log/f3e0332a-4e17-11e9-aa44-0242ac110002/gazebo-2*.log
Initiating shutdown!
================================================================================
[ariac/arm2/tf_relay-5] killing on exit
[spawn_gazebo_sensors-4] killing on exit
[gazebo-2] killing on exit
Traceback (most recent call last):
  File "/opt/ros/melodic/lib/gazebo_ros/spawn_model", line 26, in <module>
    from gazebo_ros import gazebo_interface
  File "/opt/ros/melodic/lib/python2.7/dist-packages/gazebo_ros/gazebo_interface.py", line 9, in <module>
    from gazebo_msgs.msg import *
  File "/opt/ros/melodic/lib/python2.7/dist-packages/gazebo_msgs/msg/__init__.py", line 1, in <module>
[sensors_tf_publisher-3] killing on exit
    from ._ContactState import *
  File "/opt/ros/melodic/lib/python2.7/dist-packages/gazebo_msgs/msg/_ContactState.py", line 8, in <module>
    import geometry_msgs.msg
  File "/opt/ros/melodic/lib/python2.7/dist-packages/geometry_msgs/msg/__init__.py", line 12, in <module>
    from ._Pose import *
  File "/opt/ros/melodic/lib/python2.7/dist-packages/geometry_msgs/msg/_Pose.py", line 2, in <module>
    """autogenerated by genpy from geometry_msgs/Pose.msg. Do not edit."""
KeyboardInterrupt
process[ariac/arm2/tf_relay-5]: started with pid [2111]
RLException: cannot add process [ariac/arm2/spawn_gazebo_model-6] after process monitor has been shut down
The traceback for the exception was written to the log file
================================================================================REQUIRED process [ariac_sim-1] has died!
process has died [pid 2030, exit code 1, cmd /opt/ros/melodic/lib/osrf_gear/gear.py --development-mode --no-gui --visualize-sensor-views -f /opt/ros/melodic/share/osrf_gear/config/sample.yaml /opt/ros/melodic/share/osrf_gear/config/sample_user_config.yaml __name:=ariac_sim __log:=/root/.ros/log/f3e0332a-4e17-11e9-aa44-0242ac110002/ariac_sim-1.log].
log file: /root/.ros/log/f3e0332a-4e17-11e9-aa44-0242ac110002/ariac_sim-1*.log
Initiating shutdown!
================================================================================
[ariac_sim-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

As the instruction already gives a hint, the following fixed this.
sudo apt upgrade libignition-math4

Moved to https://github.com/130s/hut_ariac/issues/3


Color Picker docs missing from TOC

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

ID: a5d9d176-0497-87a9-4cd9-2e9972c7079b
Version Independent ID: 67987691-881c-9cb6-1286-e51bdd42a9b6
Content: ColorPicker XAML Control - Windows Community Toolkit
Content Source: docs/controls/ColorPicker.md
Product: community-toolkit
GitHub Login: @michael-hawker
Microsoft Alias: mhawker

@michael-hawker is this a duplicate of #488 or are we missing anything else here?

This has been added in the list now.


[docs][site] Introduce the project website

Hi dear Flink CDC community! In order to celebrate the release of version 2.2 I'd like to introduce a project website for CDC. See https://tsreaper.github.io/flink-cdc-connectors/ for preview.
The squirrel image in the hero banner is from https://pixabay.com/zh/photos/squirrel-fur-cute-forest-mammal-3815235/, which is under the Pixabay License. Seems that we can use it in the project website.
Also note that the download and the documentation links are hard-coded. This should not be a problem unless we change the project name and even if we change that, the github button API will also break so we have to change the site anyway.

Thanks @tsreaper for the nice work, please check the rat output file there're some files' license is not approved.


run SegNAFNet_arch

What should I do if the forword function lacks masks when calculating model parameters?Hope to get your answer, thank you very much!

Hello, our method needs to get masks calculated from SAM model in advance.
To run the codes, the dataset that we provided is needed.
Download prepared data for experiments from Baidu Netdisk|Onedrive.
If you only want to run our deblur pipeline, download test/val datasets(GoPro, RealBlurJ, REDS, ReLoBlur provided). if you want to train the model yourself, download train datasets(GoPro provided). Check datasets README for standard dataset structure.
Unzip data and put under datasets dir for experiments.
The mask generation codes are in
scripts/data_preparation/1_create_masks_with_sam.py: Create masks for concat method.
scripts/data_preparation/2_masks_to_grouped_masks.py: Create grouped_masks from masks for our MAP method.

I'll try integrating sam into the inference code later to avoid the necessity of downloading our data when I'm available.

masks (torch.Tensor): A tensor of shape (M, 1, H, W) representing M masks.
You can get the masks following the mask generation methods decribed in Zheyan Jin, Shiqi Chen, Yueting Chen, Zhihai Xu, and
Huajun Feng, “Let segment anything help image dehaze,”
arXiv preprint arXiv:2306.15870, 2023. or have a look at our codes in scripts/data_preparation/1_create_masks_with_sam.py.
Only to get the code running, you can pass torch.ones(1, 1, H, W) to the function.

Thank you very much for your answer, it has been very useful to me.However, I have one more small question.Where is MAP Unit reflected in the code in the paper? I don't seem to have found it yet.I hope to receive your reply. Thank you very much again.

https://github.com/HPLQAQ/SAM-Deblur/blob/9e0c8cf20f4e00915d72415a85416795417001bd/basicsr/models/archs/SegNAFNet_arch.py#L104
From line 104 to line 110, we calculated the area and the sum_val for each mask to get  the avg_val.
From line 112 to line 115, they were multiplied to the masks and added together.
if you remove the sum operation at line 115, then from line 104 to 115 reflects a MAP Unit.

Thank you for your answer.I have a small question regarding scripts/data_preparation/2_masks_to_grouped_masks.py: Create grouped_masks from masks for our MAP method.
The code uses an lmdb format dataset. If my dataset does not have an lmdb format, do I need to generate an lmdb format?Hope to get your answer, thank you very much!

You can directly change the 'read_image_from_lmdb' function to 'read_image_from_folder' function.
Change the following codes to simply go through the data folder and pass the data path to 'read_image_from_folder' should work.
env = lmdb.open(lmdb_dir, readonly=True, max_dbs=0)

with env.begin() as txn:
    cursor = txn.cursor()
    for key, _ in cursor:


Remove skips from doctests (6 of 6)

This is one of 6 PRs that collectively addresses #7823. Please see https://github.com/dask/dask/issues/7823#issuecomment-873414398 for more context.
Links to all 6 PRs

#7874
#7873
#7872
#7865
#7864
#7863

@jsignell Ready to review. This PR focuses on skipped doctests in dask.bytes (no skips can be removed) and dask.tests.


what is the version of ffmpeg,  version like this:  4.1

what is the version of ffmpeg,  version like this:  4.1

It's the latest from git as per the tag date.

It's the latest from git as per the tag date.

Do you know some commits like https://github.com/FFmpeg/FFmpeg/search?o=desc&q=msvc&s=committer-date&type=commits
that help msvc? e.g. very recent https://github.com/FFmpeg/FFmpeg/commit/c0cf2c47864bde4db155909e77436008654fef27 helps
src/libavfilter/vf_ssim360.c(549): error C2099: initializer is not a constant


Deprecate

The Android tools team has committed to automatically downloading tools and dependencies in v2.2.0 and will be improving it in subsequent releases.

Is there info anywhere about how to replace sdk-manager-plugin with the new automatically downloading tools?
What exactly is v2.2.0 referring to?

2.2.0-alpha4 (2016/6/23)
SDK auto-download: Gradle will attempt to download missing SDK packages that a project depends on.
http://tools.android.com/tech-docs/new-build-system


[Bukkit] NullPointer when adding transient permissions.

LuckPerms version: 2.16.75
Platform: Bukkit
I just figured out a small bug in the Vault integration of LuckPerms.
Vault offers the method Permission#playerAddTransient (see https://github.com/MilkBowl/VaultAPI/blob/master/src/main/java/net/milkbowl/vault/permission/Permission.java#L239).
When using this method, the method CraftHumanEntity#addAttachment(Plugin plugin) is called.
The variable plugin is null at this position.
CraftBukkit then calls LPPermissible#addAttachment (see https://github.com/lucko/LuckPerms/blob/master/bukkit/src/main/java/me/lucko/luckperms/bukkit/model/LPPermissible.java#L177).
As plugin is null at this position, a nullpointerexception occurs.
Stacktrace:
http://pastebin.com/hhmY6LZ0

Horrible Vault design strikes again. 👍

Thanks, that worked!


Use atomic writes for consumer updates

Atomic file write consists of writing to a new file and renaming the file after successful write.
See e.g. https://github.com/npm/write-file-atomic
For consumer state and position, this should be non-problematic. For the storage and index this would greatly reduce performance and due to the append-only nature mostly not improve things a lot. File corruption can easily be detected and reverted to previous valid state by truncation.

Note: write-file-atomic is another case of "doing too much" for what is required here. We do not need to generate multi-process safe random temp files, because handling a single consumer from multiple processes is broken in itself and we can just throw an error. We also already have a "unique" name per update of the consumer file via the position. Hence using murmur3 to generate random names is doing more work than necessary and pulling another dependency.
The simple goal is to prevent a failed write from trashing the current state of the consumer. Hence we just need the write to a new file and do a rename (which will then be an atomic update). If the write fails with a node process/system crash, a temp file for the consumer will be left-over. This file can manually be checked for completeness and be renamed, or be cleaned up on next "open" automatically.


WorkerContext for standalone rpc

Hi @mattbennett,
I use standalone rpc to communicate between Flask front-end service with Nameko microservices. And I previously inherit WorkerContext to add unique request_id to each request. It needing to ensure better log investigating. My code:
class WorkerContextWithRequestID(WorkerContext):

    @property
    def context_data(self):
        data = self.data.copy()

        data[CALL_ID_STACK_CONTEXT_KEY] = [getattr(request, 'request_id')]
        data[CALL_ID_STACK_CONTEXT_KEY].extend(self.call_id_stack)

        return data

As I see it persistent context_data dictionary can't provide the same functionality.
WorkerContext had been deleted from standalone rpc in https://github.com/nameko/nameko/commit/1e2e3298a5e6ca05cd8cef3ae89ef4ef6f7c0c82.
Can we return WorkerContext to StandaloneProxyBase?

Using a custom WorkerContext class has been deprecated since Nameko 2.4.0. I don't really want to bring it back.
The use of a WorkerContext object in the standalone RPC proxy is strange anyway. It only exists to satisfy the "fake" ContainerFactory that is used there, which in turn only exists to help re-use code from the non-standalone RPC implementation.
You pass the context_data into the proxy when you instantiate it. Unfortunately there's no way to specify it per-call. You could implement a context manager that does it though:
def request_context(proxy):
    # modify the context data
    proxy._worker_ctx.context_data['request_id'] =  request.request_id
    yield
    # undo the modification
    del proxy._worker_ctx.context_data['request_id']

rpc_proxy = ClusterRpcProxy(config)

with request_context(rpc_proxy):
    rpc_proxy.foo.bar()  # use proxy

If the context manager is too messy, you could subclass the ClusterRpcProxy to always insert the request context.
You may also want to look at https://github.com/clef/flask-nameko, which might be nicer and/or easier to modify to your requirements.

Thanks for your answer.
Unfortunately request_context is not working for me, because I use ClusterRpcProxy as global variable in multi threading environment.
In my project I need use API Gateway in front nameko microservices. For this task I should ensure that on Gateway I have less is better connections to RabbitMQ. In high load systems create new connections for each call is wasteful. In this case flask-nameko is not resolve connections issue.
As I see it for "standalone app & nameko" we don't need any pool of ClusterRpcProxy's but need have asynchronous Queue Consumer as nameko services use itself. I already write it and now testing: https://github.com/fraglab/nameko-proxy. Please look.
I can save overriding WorkerContext for me only, but it is better to have fair opportunity to do this.

I'm not a flask expert, but isn't the request object a thread-local? In that case, even a globally shared proxy object would be able to access the request object for a given execution. In that case, I would expect the request_context above to work.
The issue I have with overriding the WorkerContext in this case is that I don't like having to specify a worker context to a standalone RPC proxy at all. It is only used to extract the headers for the outbound message, and there is a better way to do that. The current design is a lazy way to reuse code in the MethodProxy.
We deprecated custom WorkerContext classes because you can also specify custom ServiceContainer classes, which should be enough for most use-cases, since the service container instantiates the worker context in most cases anyway. The exception is the RPC proxy, which is a mis-design.
I think it's fine for you to continue to solve the problem for "you only" for the time being. A better general design for the RPC proxy would allow you to easily set context data at proxy call time, not just definition time.


Interest and use of hyperlinks at the top of the page

Hi,
I wondered about the purpose of the information at the top of the page that seems to be hyperlinks.
Being used to seeing the same thing in VS Code code editors, I thought it was a breadcrumb navigation system... but apparently not: if I click on an element nothing happens, it does not bring me back to the page (display of the .md file of the page) corresponding to this link.
As I see the same behavior with the template file TypeScript-Handbook-mdoc, is this an anomaly in the operation of the extension?
Otherwise what are these links that lead nowhere for?
Thanks.

Hi Denis!
Thank for the feedback. You're right the purpose of those links is to provide a breadcrumb like navigation system.
I didn't had enough time to finish this feature, so currently is a half-baked implementation.
I included it in this stage, because it can be useful even without the functionality, so the users can see at the first glance, from where the page is opened.
As not all folders have corresponding markdown pages, simply opening a new page while clicking on the breadcrumb items won't work. Either I need to generate content for these missing pages, or display a drop-down control (that's where I'm currently leaning) with the items inside.
When I will have a bit of spare time, I will look into it :).

Hi,
I tried to modify generateDocUrlHtml function and add a "href=" to documentNode.uri, but don't work...
I also deactivate anchor if there is no uri.
I can share my code change here.
Thanks.


predict() fails when using a model saved with .save(save_dataset=False)

What happened + What you expected to happen
Trying to do something similar to the Transfer learning tutorial: https://nixtla.github.io/neuralforecast/examples/transfer_learning.html
Setting save_dataset=False as in the tutorial
With this code
# Fit model
nf_ts = NeuralForecast(models=models, freq="D")
nf_ts.fit(df=Y_train_df_ts)

# Save model
nf_ts.save(path='./models/ts/',
                   model_index=None,
                   overwrite=True,
                   save_dataset=False)  # save_dataset=False !!!

# Reload model
nf_ts = NeuralForecast.load(path='./models/ts/')

# Predict
Y_hat_df_ts = nf_ts.predict(df=Y_train_df_ts, futr_df=futr_df)

I get this error
File /opt/conda/lib/python3.10/site-packages/neuralforecast/core.py:340, in NeuralForecast.predict(self, df, static_df, futr_df, sort_df, verbose, **data_kwargs)
    336 if df is not None:
    337     dataset, uids, last_dates, _ = self._prepare_fit(
    338         df=df, static_df=static_df, sort_df=sort_df, scaler_type=None
    339     )
--> 340     dataset.scalers_ = self.dataset.scalers_
    341     dataset._transform_temporal()
    342 else:

AttributeError: 'NeuralForecast' object has no attribute 'dataset'

Versions / Dependencies
neuralforecast main branch
Python 3.10
GNU/Linux
Reproduction script
import pandas as pd

from datasetsforecast.m4 import M4
from neuralforecast.core import NeuralForecast
from neuralforecast.models import NHITS
from neuralforecast.utils import AirPassengersDF

Y_df, _, _ = M4.load(directory='./', group='Monthly', cache=True)
Y_df['ds'] = pd.to_datetime(Y_df['ds'])
Y_df

horizon = 12
stacks = 3
models = [NHITS(input_size=5 * horizon,
                h=horizon,
                max_steps=100,
                stack_types = stacks*['identity'],
                n_blocks = stacks*[1],
                mlp_units = [[256,256] for _ in range(stacks)],
                n_pool_kernel_size = stacks*[1],
                batch_size = 32,
                scaler_type='standard',
                n_freq_downsample=[12,4,1])]
nf = NeuralForecast(models=models, freq='M')
nf.fit(df=Y_df)

nf.save(path='./results/transfer/', model_index=None, overwrite=True, save_dataset=False)

nf = NeuralForecast.load(path='./results/transfer/')

Y_df = AirPassengersDF.copy()
mean = Y_df[Y_df.ds<='1959-12-31']['y'].mean()
std = Y_df[Y_df.ds<='1959-12-31']['y'].std()

Y_train_df = Y_df[Y_df.ds<='1959-12-31'] # 132 train
Y_test_df = Y_df[Y_df.ds>'1959-12-31']   # 12 test

Y_hat_df = nf.predict(df=Y_train_df).reset_index()

Issue Severity
None

I see it's a duplicate of https://github.com/Nixtla/neuralforecast/issues/798