Question: Can you give clarification on some of the dependencies/packages in Poetry.lock

Hey, appreciate the fix, starred and following you.
Was going through your code to learn from it and was hoping you could point me in the right direction on how/why your using poetry.lock (as well as some of the packages that are inside of it).
It has things in it seemingly unrelated to the patch that confuse me.
For example, this is in the file:
[package.extras]
email = ["email-validator (>=2.0.0)"]

I believe this is a chained dependency from openai (which uses pydantic, which includes email validation). You can check out the repo, delete that lock file, run poetry install using just the project.toml to confirm - the lock file is not actually critical here.


Rework live weather inputs

At the moment, the text accompanying the live weather inputs in options are quite misleading, saying it needs a country code to function when it's actually looking for an ISO code. And also, the link from the zip codes text leads to a pretty shoddy website, a better one would be https://worldpostalcode.com/

Linked this to #64


Comment color issue - comment termination characters not detected

Before Comment:

After Comment:

Code snippet:

Hi.
Is deployed with Version 0.0.4 and should be fixed:


Importing Link no longer working (and example used in the docs)

In attempting to render a Link using the example in the Readme and in the Storybook, there's an error:
'Link' is not defined  react/jsx-no-undef
Perhaps the ReadMe example outdated? Could use some guidance on using this component.
Is there a recommended way to link a  for example, using this method?

Hi @MartinDM
Link seems to work for me - here's a quick example codesandbox: https://codesandbox.io/s/strange-shadow-vrgez

I'm going to close this, but if you believe it's still an issue feel free to re-open, and if possible link a codesandbox with the issue demonstrated.


Update to latest message serialization

I tried to not get hooked up into refactorings, even though the new API of revault_net did us a lot of good here!

ACK 6d465b3

Updated after revault_net PR merge

ACK f261445


Aggregated data collected does not work

The site https://analytics.matteojoliveau.com/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday#?idSite=1&period=day&date=year&category=Dashesterdayboard_Dashboard&subcategory=1
which shows the collected data : https://convomark.matteojoliveau.com/privacy
does not work

Yeah that Matomo instance is no longer active. I should remove the link from the bot's dashboard


Randomized by score solution.

This solution computes scores for each router and choses one of the best possible positions by chance.
Some breaking changes in the code, so let's make sure master doesn't break.

Looks fine, other methods still working.


Extract printing to syscall handler

Closes #917
Introduced changes

Breaking changes

Checklist

[x] Linked relevant issue
[ ] Updated relevant documentation
[ ] Added relevant tests
[ ] Performed self-review of the code
[ ] Added changes to CHANGELOG.md

@piotmag769 It is for consistency, otherwise TestExecutionSyscallHandler contains two definitions of print, which makes the behaviour very contextual.


Emoji Codes

Thank you for your great work! Which is the mapping between the emoji (html) codes and the values in the output?
(.env) [loretoparisi@:mbploreto examples]$ cat test_sentences.csv
Text,Top5%,Emoji_1,Emoji_2,Emoji_3,Emoji_4,Emoji_5,Pct_1,Pct_2,Pct_3,Pct_4,Pct_5
I love mom's cooking,0.66769218631088734,36,4,8,16,47,0.490533,0.0876578,0.0309252,0.0296329,0.0289432
I love how you never reply back..,0.39060430228710175,1,19,55,25,46,0.13978,0.0825157,0.0627883,0.0541912,0.0513291
I love cruising with my homies,0.5413312129676342,31,6,30,15,13,0.339657,0.0660581,0.0570588,0.040674,0.0378832
I love messing with yo mind!!,0.48666666820645332,54,44,9,50,49,0.172363,0.118436,0.0796059,0.0637103,0.0525513
I love you and now you're just gone..,0.67333512753248215,46,5,27,35,34,0.391165,0.110334,0.0734624,0.0529587,0.0454147
This is shit,0.31180432066321373,55,32,27,1,37,0.0700932,0.0639694,0.0601157,0.0595257,0.0581003
This is the shit,0.37477066367864609,48,11,6,31,9,0.108907,0.0965946,0.0648208,0.0565014,0.0479466

The mapping can be found in the emoji_overview.png file at the root of the repository.


Enhancement: Help add ANTHROPIC_REVERSE_PROXY?

What features would you like to see added?
There is REVERSE PROXY for OPENAI and GOOGLE, but it seems there is no config for ANTHROPIC_REVERSE_PROXY
More details
no config for ANTHROPIC_REVERSE_PROXY
Which components are impacted by your request?
Endpoints
Pictures
No response
Code of Conduct

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

ANTHROPIC_REVERSE_PROXY= exists, I accidentally removed it from the .env.example when I updated the model list. You should be able to configure it, you just need to add it manually to your .env file at the moment
see also:
https://docs.librechat.ai/install/configuration/dotenv.html#anthropic


Can't generate from Slack API

Describe the bug
When running a server from the published slack api, error is
OpenAPI-to-GraphQL creation event error:  (Patchable) schema type must not be an array

To Reproduce
Steps to reproduce the behavior:
wget https://raw.githubusercontent.com/slackapi/slack-api-specs/master/web-api/slack_web_openapi_v2.json
npx openapi-to-graphql-cli slack_web_openapi_v2.json

Expected behavior
Server should start.
A better error message would also work? The error suggests that the schema is patchable, but how?

Thanks for reporting this issue! Actually, I am not sure what this error message means either. To be honest, I am quite backed up with a lot of work. If you would like to investigate this problem and help contribute to OtG, then I can get you started. In any case, thanks for reporting the issue.

Guesses as to where its coming from? It doesn't seem to come from this project or graphql from a dumb sting matching search.

Error was thrown by swagger2openapi.
Can be "fixed" by adding a patch: true to the conversion step
await Swagger2OpenAPI.convertObj(spec, { patch: true })

or, from the cli until a PR is made
npx swagger2openapi -p slack_web_openapi_v2.json --output slack_web_openapi_v2_patched.json

Once that goes through, the def falls through to the anyOf problem fixed by #232

I'm also not very familiar with swagger so I'm uncertain of the consequences of auto-patching. Any ideas?

Hey! Thanks for starting to look into it! Unfortunately, I am at a conference right now and it’s difficult for me to check until later today. Thanks for being proactive!

Do we still anyone looking into this ? I could take a look at it and see how best to include the { patch : true } optionally.

@isocroft I don't think anyone is looking into this right now. If you want to give it a go, that would be amazing!


[Sema] Remove redundant simplification

The call to solveRec, below, immediately performs this same check. While that doesn't result in an early return from solve, the effect appears to be the same.
This seems like it should avoid some unnecessary work.

@swift-ci please test

@swift-ci please test source compatibility


Can you provide such a way?

What problem does this feature solve?

vue.runtime.esm.js?2b0e:3370
that is a single file
can we use vue from 'node_modules\vue\src' that  Multiple file?
thanks
What does the proposed API look like?
none

No.
Vue 2.x uses a quite customized compilation pipeline to build the final output so it's incompatible with the app build config.


Remove common_credentials Hiera layer

We removed common_credentials.yaml in
https://github.gds/gds/deployment/commit/6dddd52f0ee84976e4e97e37449dc11b6cad338c
Our tooling for Hiera eYAML GPG (a Rakefile) does not support
encrypting credentials in common_credentials.yaml.
There are so few credentials in this file, we decided that it's simpler
to duplicate them between these environments than introduce additional
complexity in our tooling to handle this edge case. We should ideally
have as few credentials as possible shared between environments.

Looks good, merge as you like :+1:


Error in CrudTrait.php in line 30 when adding a new item to menu.

When clicking at "+Add menu item" button in  http://mydomain.dev/admin/menu-item
I get an error:
 in CrudTrait.php line 30 at HandleExceptions->handleError('8', 'Undefined offset: 0', '/home/vagrant/Code/dickadmin/vendor/dick/crud/src/CrudTrait.php', '30', array('column_name' => 'parent_id', 'instance' => object(MenuItem))) in CrudTrait.php line 30 at MenuItem::isColumnNullable('parent_id') in /home/vagrant/Code/dickadmin/storage/framework/views/c12a5e28cb8c62dbd906e861c1db449c line 13

Oooops! This should have been placed in tabacitu/dick.

I have no problems. Did you do a composer update? That got my errors fixed.


Question: Is it possible to minify/optimize the required/loaded file in some way when they are copied using file-loader?

For instance currently when I do require('./something.html' in my code and configure file-loader something like this:
    module: {
        rules: [
            {test: /\.html$/, loader: 'file-loader', options: {name: '[name].[hash].html'}
        },
    }

What this does is just copy the original files to the dist/ directory and replaces the require calls to this file with the generated filename instead. Which works.
But I'm wondering if it's possible to further process the file in someway like further minification or optimization of the file using any other loaders?
Is there any workaround to do this with file-loader?
I tried something like this but it doesn't seem to work. It's not minified.
{test: /\.html$/, use: [
                {loader: 'raw-loader'},
                {loader: 'html-minify-loader'},
                {loader: 'file-loader'}
            ]},

Let me know if anybody has done it in anyway.

Our issue template states that questions should be asked on StackOverflow.

That makes sense. I've posted this in stackoverflow here.

Just in case, if anyone runs into this issue you may want to use this plugin webpack-file-preprocessor-plugin
This is a very lightweight webpack plugin that allows you to pre-process files or assets loaded using file-loader before they're finally emitted.
As this is a very generic plugin you can use it to do any kind of custom pre-processing to assets just before they're finally emitted by webpack.
This example demonstrates how you can use this plugin to minify the html assets loaded using file-loader.
    const webpack = require('webpack');
    const WebpackFilePreprocessorPlugin = require('webpack-file-preprocessor-plugin');
    const minifyHtml = require('html-minifier').minify;

    module.exports = {
        entry: {
            app: './index.js'
        },
        output: {
            path: './public/dist',
            publicPath: '/dist/',
            filename: '[name].bundle.js'
        },
        module: {
            rules: [
                {
                    test: /\.html$/,
                    use: {
                        loader: 'file-loader',
                        options: {
                            name: 'tmpl/[hash].html'
                        }
                    }
                }
            ]
        },
        plugins: [
            new WebpackFilePreprocessorPlugin({
                // Prints processed assets if set to true (default: false)
                debug: true,
                // RegExp pattern to filter assets for pre-processing.
                pattern: /\.html$/,
                // Do your processing in this process function.
                process: (source) => minifyHtml(source.toString())
            })
        ]
    };

Check this webpack-file-preprocessor-plugin for more information.


Dependencies installation guideline

As a follow-up to the guided contribution guideline (https://github.com/NVIDIA/DALI/pull/4011), this PR proposes a guideline to install dependencies using DALI_Deps repository.

!build


Differentiate "Log" keyword and other keyword logs (add extra attributes to "message" dictionary object)

If i were to have a script like:
*** Settings ***
Resource          ../Resource/Parameter.txt
Library     Test.py

Library    Collections
*** Keywords ***
Read Node detail
    ${step_count_end} =    Set Variable    4
    LOG   "Testing_keyword"
    Set Global Variable     ${step_count_end}
    Should Be Equal     45     456
    text_xyz
    # test_xyz is from Test.py that does print statements.

I want to be able to differentiate the "log_message" messages that come in robot listener from "LOG" keyword and something like "Should Be Equal".  The problem I face is that all these messages (including default python print() statements) come as "INFO" severity.  I know I can choose the LOG message to be something other than INFO (like DEBUG or TRACE) but I have requirements to use INFO only.
In the 'log_message' message input argument (this is a dictionary object), it has the following attributes:

timestamp
message
level
html

Can we add another attribute that provides more info about the type of log message it is?

You can easily see which keyword causes logged messages by implementing start_keyword and storing the keyword name there.


Nitpicky grammar fix in programming guide

Fix a grammatical error in the programming guide.
Not sure about the etiquette for very minor PRs like this - LMK if I need to rename the PR name or branch name!
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

This is fine. Thanks for the fix!


Created Footer with all the icons and navigation links (Resolved conflicts )

#44 done resolved conflicts ......... check...

kindly, pull current changes and resolve merge conflicts. then i will merge it.


Return 401 unauthorized errors

Description: status of the proposed feature
Currently, when using gotd with long running process, when a session gets disconnected, for example with AUTH_KEY_UNREGISTERED, or SESSION_EXPIRED/REVOKED error, the client.Run function does not return an error, it only logs it. This means that the client ends up looping indefinitely, logging an error: Got error on self.... AUTH_KEY_UNREGISTERED|SESSION_EXPIRED.
And this is hard to catch because if you do not use the provided logger(a *zap.Logger instance), you won't be able to understand what is happening.
As you can see here, in the telegram/connect.go:
		g.Go(func(ctx context.Context) error {
			// Call method which requires authorization, to subscribe for updates.
			// See https://core.telegram.org/api/updates#subscribing-to-updates.
			self, err := c.Self(ctx)
			if err != nil {
				// Ignore unauthorized errors.
				if !auth.IsUnauthorized(err) {
                                         // The error is logged, not returned
					c.log.Warn("Got error on self", zap.Error(err))
				}
                                 // Nothing is returned
				return nil
			}

			c.log.Info("Got self", zap.String("username", self.Username))
			return nil
		})

Here is an example code where the client tends to loop indefinitely:
	if err := client.Run(ctx, func(ctx context.Context) error {
		authCli := client.Auth()
		// Checking auth status.
		status, err := authCli.Status(ctx)
		if err != nil {
			return err
		}
		// Can be already authenticated if we have valid session in
		// session storage.
		if !status.Authorized {
			if err := client.Auth().IfNecessary(ctx, flow); err != nil {
				return fmt.Errorf("could not authenticate: %w", err)
			}
		}
		if err := f(ctx, client, dispatcher, options); err != nil {
			return err
		}
		return nil
	}); err != nil {
		return err
	}

Description: possible solution
The solution would be to detect those 401 errors, and return them immediately, so the user of the library can handle them properly.
Or at least, make it more explicit for people not using the standard *zap.Logger that something is not working right now.
Or, provide an example that shows how to check for those errors. Like checking if the session is currently still working, and no AUTH_KEY_UNREGISTERED or SESSION_EXPIRED errors are occuring.
So, I suppose doing something similar:
			// Call method which requires authorization, to subscribe for updates.
			// See https://core.telegram.org/api/updates#subscribing-to-updates.
			self, err := c.Self(ctx)
			if err != nil {
				// Ignore unauthorized errors.
				if !auth.IsUnauthorized(err) {
					c.log.Warn("Got error on self", zap.Error(err))
				}
				return err
                         }

Current workaround
In order to detect it, what I'm doing right now is to set a timeout with time.After, while running the client.Run function in a goroutine on a function that is expected to take less than 10 seconds.
The timeout is like 30 seconds, and it allows me to detect that a session is now unregistered / expired.
References
https://core.telegram.org/api/errors#401-unauthorized
Funding
So, I set a small 20$ funding depending on the difficulty of the issue, I may slightly increase it if its hard to do.
https://polar.sh/gotd/td/issues/1458

Are there any logs near the Got error on self message?
Something like Restarting connection?
We have following method:
func (c *Client) isPermanentError(err error) bool {
	return errors.Is(err, exchange.ErrKeyFingerprintNotFound)
}

That is used in reconnectUntilClosed method of client:
https://github.com/gotd/td/blob/244876abc442f57822cccbe942e37c7a980cf74f/telegram/connect.go#L60-L81
If true, we can change isPermanentError to detect AUTH_KEY_UNREGISTERED and SESSION_EXPIRED as permanent errors and this should fix problem described in the issue.

Can you please try https://github.com/gotd/td/releases/tag/v0.114.0-alpha.0?

The v0.114.0-alpha.1 is available.
If you are using updates.Manager, this will happen automatically.
If not, you can do following:
for {
	select {
	case <-ctx.Done():
		return ctx.Err()
	case <-time.After(time.Second * 10):
		s, err := client.Self(ctx)
		if auth.IsUnauthorized(err) {
			return errors.Wrap(err, "got unauthorized")
		}
		fmt.Println("Current user:", s.FirstName)
	}
}

I've checked this on testserver.
Update handling disabled:
Current user: Foo
Current user: Foo
Error: run:
    main.run.func4
        /src/ernado/tg-reconnect-test/main.go:265
  - callback:
    github.com/gotd/td/telegram.(*Client).Run.func3
        /src/gotd/td/telegram/connect.go:168
  - got unauthorized:
    main.run.func4.1
        /src/ernado/tg-reconnect-test/main.go:252
  - rpcDoRequest:
    github.com/gotd/td/mtproto.(*Conn).Invoke
        /src/gotd/td/mtproto/rpc.go:44
  - rpc error code 401: AUTH_KEY_UNREGISTERED

Update handling enabled:
Error: run:
    main.run.func4
        /src/ernado/tg-reconnect-test/main.go:249
  - callback:
    github.com/gotd/td/telegram.(*Client).Run.func3
        /src/gotd/td/telegram/connect.go:168
  - fatal error:
    github.com/gotd/td/telegram/updates.(*internalState).Run
        /src/gotd/td/telegram/updates/state.go:181
  - get difference:
    github.com/gotd/td/telegram/updates.(*internalState).getDifference
        /src/gotd/td/telegram/updates/state.go:404
  - rpcDoRequest:
    github.com/gotd/td/mtproto.(*Conn).Invoke
        /src/gotd/td/mtproto/rpc.go:44
  - rpc error code 401: AUTH_KEY_UNREGISTERED

Same logic should apply to reconnectUntilClosed so we don't reconnect eternally if key is unregistered.
Please ping me here if issue is not resolved, I will reopen.

Also you can use new OnSelfError in<EMAIL_ADDRESS>but please note that error on first connect (i.e. before auth) is expected.

Also you can use new OnSelfError in<EMAIL_ADDRESS>but please note that error on first connect (i.e. before auth) is expected.

Thanks! I will test this later.
So OnSelfError can be used for errors like AUTH_KEY_DUPLICATED, that are not handled by the added code, which only check for AUTH_KEY_UNREGISTERED & SESSION_EXPIRED? That's great
	// See https://github.com/gotd/td/issues/1458.
	if errors.Is(err, exchange.ErrKeyFingerprintNotFound) {
		return true
	}
	if tgerr.Is(err, "AUTH_KEY_UNREGISTERED") || tgerr.Is(err, "SESSION_EXPIRED") {
		return true
	}
	if auth.IsUnauthorized(err) {
		return true
	}
	return false

Yes, you can check for any error, the #1478 handling can be pretty flexible.
Hopefully it will help.


[azure-core-cpp] publish version 1.7.2

Update vcpkg ports for Azure SDK release. This release may contain multiple ports.

Adding azure-core to release
cc: @rickwinter, @ahsonkhan, @antkmsft, @vhvb1989, @gearama, @LarryOsterman

All features are tested successfully in the following triplet:

x86-windows
x64-windows
x64-windows-static

Thanks!


Fix #19872: Fixed the definition of dirty attributes in AR properties…

Fix #19872: Fixed the definition of dirty attributes in AR properties for a non-associative array in case of changing the order of elements

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Fixed issues
#19872

Thanks!

@eegusakov

isValueDifferent not works for arrays like
['', 0, ''],
['', '', 0],

values are considered as equal


set website project PackageReference

we have a old website porject. The website project reference netstandard library, website project no "csproj" file. how to set The website project to PackageReference.

Issue moved to NuGet/Home #7985 via ZenHub


THRIFT-4939 TThriftListImpl.Sort() does not use comparer

Added object for custom sort.

[ ] Did you create an Apache Jira ticket?  (not required for trivial changes)
[ ] Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?  (not required for trivial changes)
[ ] Did you squash your changes to a single commit?  (not required, but preferred)
[ ] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, add  [skip ci] at the end of your pull request to free up build resources.

Merged.


test(cmd-api-server): fix install-basic-plugin-ledger-connector-quorum-0-7-0

The test case that has to be skipped at the moment is this one:
packages/cactus-cmd-api-server/src/test/typescript/unit/plugins/install-basic-plugin-ledger-connector-quorum-0-7-0.test.ts
The goal of this task is to stop skipping the test by fixing it.
The fix is to have a published version of the quorum connector on npmjs.com
that isn't broken due to it not declaring its dependencies correctly.
So this issue is largely just waiting for the successful issuance of a new
release and then re-enabling the test.

Hi @jagpreetsinghsasan could you please assign me this issue?

Sure 🌻

@solo-daemon @jagpreetsinghsasan FYI I think there's a PR in the review pipeline that refactors this test case so please be aware of that!
If I remember correctly I submitted the a pull request to deprecate the quorum connector plugin and I made this test case use Besu instead.

The test has been refactored to verify the besu and fabric connector packages instead and those are now working fine. Closing this.


How this lib works?

Hi! Thank you for this awesome lib!
Could you please shed some light on how does it work?

Does this answer your question?
https://mobile.twitter.com/bfred_it/status/775353523986759682

Yes. Thanks a lot!


tslint module is missing?

when i get latest code of vscode source and run the following command,it shows that UNMET PEER DEPENDENCY tslint@^3 || >=3.1.0-dev || >=3.2.0-dev || >=3.2.1-dev ,anyone can help me?

@BleyChen Please run "npm install" from the scripts folder, e.g. ./scripts/npm install

I just hit this same issue.
This is due to NPMv3 not installing peer dependencies by default, which gulp-tslint uses to install tslint itself. See https://github.com/panuhorsmalahti/gulp-tslint/blob/master/package.json#L40 . Another example of this breaking a project is at https://github.com/yeoman/yeoman/issues/1488 .
If you take a direct dependency on tslint and typescript, then this seems to work with NPMv3 (tslint itself has typescript as a peer dependency also :confused: ).

@billti thanks for the background.
Adapted the package.json (04b451c914c16a60d0030ab990141fac9e23b2b2) and we will need to change gulp-tsb to use peerDependencies as well jrieken/gulp-tsb#25.


WIP: Make create_store return a class

This is a start to fix #4. I am porting tests from https://github.com/reactjs/redux/blob/master/test/createStore.spec.js to go along with this to make sure it still works as we expect.
Any thoughts so far?

Let's close this, current implementation seems fine.


Read-only mode when using ms-word:ofe|u|

Hello !
I have an issue when I open a Word file via Chrome using the command ms-word:ofe|u|http://localhost:5000/Test.docx. The document open in read-only mode.
Log returns me a HTTP status code 304
If I open the document using the file explorer, the LOCK file is present and the main Word is in read-write mode.
In attach, you will find logs using Chrome and file explorer.
Best regards,
Goulpe
Chrome.txt
File explorer.txt

It seems that chome sends either a If-None-Match or a If-Modified-Since header. Can you please check which header was sent?

If it's the first time I open the Word, I only get HTTP status code 200 :

If it's a second time, I get a HTTP status code 304 :

Using ms-word:ofe|u|http://localhost.fiddler:5000/Test.docx command with Fiddler.
In both cases, I get a read-only document.
Thanks !

OK, so he opens it and checks if there were changes. You get a 304, because there are no changes since the last GET request, which seems to be correct.
Which version of the library do you use? Maybe you can try the version on MyGet.org?
The nuget V3 feed URL is: https://www.myget.org/F/webdav-server/api/v3/index.json.

Here is somes informations :

Target framework : .NET Core 2.1
NuGets package :

I try with the lastet version on MyGet and I keep you updated !
Thanks

I tried with the lastet version of WebDavServer but I still have the read-only mode :
Packages :

Fiddler :

Have you an idea ?
Thanks for helping !

Thank you for your information. I don't have an idea yet, but I'll look into it.

Maybe this is related: https://social.technet.microsoft.com/Forums/en-US/06fedd90-4889-45ca-949d-60b76d74dd15/ms-word-open-document-readonly-with-webdav
Please test if the solution there works for you too.

It's most likely a missing header (thanks to Mr. Graulich who found the reason for this behavior). It should be sufficient to add the header MS-Author-Via: DAV to the response of the OPTIONS request.

I'm not sure how to add the header. In the WebDavController, context.RequestHeaders.Headers use an IReadOnlyDictionary which do not allow me to add a header.
Can you give me an other method ?
Thanks !

The current workaround (until the next preview release) is:

Make your own copy of OptionsHandler.cs
Register it with services.AddTransient<IClass1Handler, YourOptionsHandlerCopy>() after adding the WebDAV services with services.AddWebDav()

I applied the workaround and it works !!
Thank you for the support and for the library.
Cheers !


#17 squashing test/netlify commits for PR request

Ticket: # 17
Updated pull request! (version 2)
I did a preliminary PR-squash into this new feature/documentation branch for easier reviewing (super cool!). I also reversed the lines that had erroneously been modified during debugging. Can you let me know if this one looks better?
Issue
The master branch currently only has the ability to generate static documentation from .md files. An update is needed to have the Conifer class doc blocks make their way to the static documentation site as well.
Solution
This update:

Adds a composer dependency for "victorjonsson/markdowndocs", a package that can read PHP doc blocks and turn them into markdown files.
Adds a doc block-to-markdown script
Adds a pre-event for docs generation that invokes the doc block-to-markdown script

Impact
This update will persist class doc block markup through to the static documentation site.
Usage Changes
This update impacts the behavior of Netifly's automated static doc site build & "lando docs" tooling command. It is important to note that if an author adds a class & wants that class to show through in the documentation, they will need to add to the /docs/SUMMARY.md & /scripts/build-api-md.sh.
Considerations
It is worth noting that "lando docs" has an issue that prevents the process from fully completing. If we can smooth that out that'd be good. It is also worth noting that we can't ignore the intermediary "api reference" md files without negatively impacting the Netlify build process, so those may be hanging around in the repo even though they are meant to be overwritten on each build.
Testing
There are no tests associated with this PR.

Beautiful. Thanks @philmprice!
Building Markdown for traits is currently failing. Documented in #72.


Query returns incomplete response (despite limit value)

I am using the latest version of the cli.
When I query a specific appsync query from a lamba function i get an incomplete result.
this is the schema model
type MenuParticipation
  @model #(subscriptions: { level: public })
  @auth(
    rules: [
      { allow: owner }
      { allow: private, provider: iam }
      { allow: public }
    ]
  )
  @key(
    name: "byMenu"
    fields: ["menuID", "itemID"]
    queryField: "participationsByMenu"
  )
  @key(name: "byOwner", fields: ["owner"], queryField: "participationsByOwner")
  @key(
    name: "byItem"
    fields: ["itemID", "menuID"]
    queryField: "participationsByItem"
  ) {
  id: ID!
  menuID: ID!
  itemID: ID!
  owner: String!
  menu: Menu @connection(name: "MenuParticipation")
  item: MenuItem! @connection(name: "MenuItemParticipation")
}

This is where the call is made (from a lambda fruntion)
const allParticipationsForMenuFunction = async ({ menuID }) => {
  console.log("mebnydiiid", menuID);
  try {
    const result1 = await appSyncQuery({
      query: participationsByMenu,
      operationName: "ParticipationsByMenu",
      variables: {
        menuID,
        sortDirection: "DESC",
        limit: 999,
        // createdAt: { gt: since },
      },
    });
    return result1;
  } catch (e) {
    console.log("activeMenuQueryFunction error: ", e);
    throw e;
  }
};

The issue is that the response seems to be clipped.

Notice the incomplete / cut off json . This incomplete JSON causes this error:

{     "errorType": "SyntaxError",     "errorMessage": "Unexpected end of JSON input",     "stack": [         "SyntaxError: Unexpected end of JSON input",         "    at JSON.parse (<anonymous>)",         "    at IncomingMessage.<anonymous> (/var/task/queryActiveMenubyRestaurant.js:344:22)",         "    at IncomingMessage.emit (events.js:314:20)",         "    at IncomingMessage.EventEmitter.emit (domain.js:483:12)",         "    at IncomingMessage.Readable.read (_stream_readable.js:507:10)",         "    at flow (_stream_readable.js:1007:34)",         "    at resume_ (_stream_readable.js:988:3)",         "    at processTicksAndRejections (internal/process/task_queues.js:84:21)"     ] }
--

I set the limit value but its still clipped not sure whats going on. Any help will be appreciated

@waltermvp could you try running this query on AppSync console and see if you're getting the same error?

Closing due to lack of response.


Set up build of nightlies (dev branch) and use gitversion

I have had very good experience with Nerdbank.GitVersioning, which has completely fulfilled our versioning requirements (SemVer + GitVersion).

Yeah. That's what I am going for. Just need time to understand how to use it, and rethink the CI/CD pipeline.
Need a few things in general, I think:

When a PR is merged into the DEV branch, a new nightly build/pack should be created and pushed to nuget (with the appropriate versioning... whatever that might be).
When DEV is merged into MASTER, a new release should be created, based on the changelog.md Unreleased section, and versioned accordingly. That should include a new github release, a new nuget package release. Not sure if this should just happen automatically or through some Nerdbank.GitVersioning thingy though.
For PRs tests should run and validate. We could even push a nuget package to myget or githubs internal repo for easier testing if needed, not sure if that is needed ATM though.

Suggestions?

Personally I don't use NuGet for preview builds, I use a feed on MyGet. (To not "pollute" NuGet)
See https://github.com/WireMock-Net/WireMock.Net/wiki/MyGet-preview-versions

I am also not a fan of prerelease versions on NuGet. Github now offers its own packages feed.

MyGet is free indeed
Github now offers its own packages feed --> good point, this maybe even more easier....

Another alternative is Azure DevOps, which offers 2GB free for artifacts.

@samtrion, i've used Azure DevOps on another project. For this, I do prefer staying on github. Thanks for the suggestion though.

I'm sure, guthub actions have simular mechanics.

@samtrion I did a first attempt at this, and it looks like it sort of works. However, when my workflow for new releases on master runs, it is triggered of a new tag created, and it still prefixes the nuget version with the hash of the commit/tag. Do you know how to change that?

@egil I think the PublicRelease flag is missing here

Thanks @samtrion, tweaked the RELEASE workflow and it now does the right thing. Think that closes this issue for now.


Ensure razor and cshtml files are watched for changes by dotnet-watch and VS

Related to #9014

For VS,

RazorSDK needs to set <UpToDateReloadFileTypes>$(UpToDateReloadFileTypes);*.cshtml;*.razor</UpToDateReloadFileTypes>
Runtime compilation needs to remove this.

Do something similar for dotnet net watch.

@ajaybhargavb handing this off to you to help out @pranavkm with his load.


Limitations of proprietary tools

Heyho,
I'm curious what limitations you faced with the proprietary tools – maybe there is something Flexoptix could implement to help you? Unfortunately, the FLEXBOX itself will have to stay proprietary. But an open source client might eventually be possible.
Contact<EMAIL_ADDRESS>to get in touch, the development team will appreciate hearing your feedback.

Heyho,
I'm curious what limitations you faced with the proprietary tools – maybe there is something Flexoptix could implement to help you? Unfortunately, the FLEXBOX itself will have to stay proprietary. But an open source client might eventually be possible. Contact<EMAIL_ADDRESS>to get in touch, the development team will appreciate hearing your feedback.

Sent you an email over two weeks ago, sadly no reply.

I saw your email and told the relevant people to reply to you. Sorry, I'll try reaching out to them again. (which has become harder since I don't work there anymore)

Hi @robinchrist, thanks for your patience. I just wrote you an email. Best Regards.


Better docs for custom markers

Does any other open PR do the same thing?

Nope
What issue is this PR fixing?
#3769
How did you test this PR?

No code just docs... But all of instructions were tested on a private project

@eyalyoli thanks for updating the docs for this, in Android Studio, which settings should we use to generate the images for the map icons?

I don't know, but i think you'll get the same results when using a launcher or actionbar icons


Cannot install new version: missing key "app.kubernetes.io/managed-by"

Describe the bug
At step "helper:solo:network:deploy", it fails:
[helper:solo:network:deploy] ✖ Check if cluster setup chart is installed [FAILED: Chart solo-cluster-setup is not installed. Run 'solo cluster setup']
task: Failed to run task "default": exit status 1
direct call shows potential culprit:
/home/cluster5/.solo/bin/helm install solo-cluster-setup oci://ghcr.io/hashgraph/solo-charts/solo-cluster-setup --version 0.35.0 -n solo-setup --create-namespace  --set cloud.prometheusStack.enabled=false --set cloud.minio.enabled=true --set cloud.certManager.enabled=false --set cert-manager.installCRDs=false
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /var/lib/teleport/credentials/k8s-pft-dal/kubeconfig.yaml
Pulled: ghcr.io/hashgraph/solo-charts/solo-cluster-setup:0.35.0
Digest: sha256:822238f9010784c9c5b579a968e95bf89afc10524e4073506366355e5ac3cab9
Error: INSTALLATION FAILED: Unable to continue with install: CustomResourceDefinition "tenants.minio.min.io" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "solo-cluster-setup"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "solo-setup"

Describe the expected behavior
must run 'task -t Taskfile.yml' fine
To Reproduce
task -t Taskfile.yml
on Latitude
Additional Context
No response

NAthan:
"Check if cluster setup chart is installed [FAILED: Chart solo-cluster-setup is not installed. Run 'solo cluster setup']
This is the real failure, we should not require the solo-cluster-setup chart to be installed
Preprovisioned clusters with all the necessary dependencies like the latitude cluster will not have the solo-cluster-setup chart
"

CustomResourceDefinition "tenants.minio.min.io" in namespace "" exists and cannot be imported into the current release

This means that you minio already exists, try adding the --no-minio to the solo cluster setup flags.

:tada: This issue has been resolved in version 0.32.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix sp search topo get arr string

@BrianFarnhill

New branch created with only the code related to this fix

New code based on your feedback to keep array of string in the hashtable sent back by Get-Targer on SPSearchTopo

[Y ] Change details added to Unreleased section of changelog.md?

[ NA] Added/updated documentation and descriptions in .schema.mof files where appropriate?

[ NA] Examples updated for both the single server and small farm templates in the examples folder?

[ Y] New/changed code adheres to [Style Guidelines]?(https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md)?

[ Y] Unit and Integration tests created/updated where possible?

This change is

I do not understand why their is more thant 1 commint in this branch :-(

I'm not super worried about the extra commits, the code looks like what it should be so that will do.

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Dates displayed in app are March 14 etc. - change to May 14

Is there a way to extract the dates from the info in the spreadsheet maybe?
Alternatively hardcode it for the moment.

Done !!

The event is "ONLY" on May 14. Please change it.

Done in my latest commit

Sorry wrong screen


Backport "HBASE-28585 copy_tables_desc.rb script should handle scenarios where the namespace does not exist in the target cluster" to branch-3

Backports #5884

For your reference: @SWH12

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 35s

Docker mode activated.

-0 :warning:
yetus
0m  3s

Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck

_ Prechecks _

_ branch-3 Compile Tests _

_ Patch Compile Tests _

_ Other Tests _

1m 31s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6313/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6313

Optional Tests

uname
Linux d60b76837aa1 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-3 / 716194772cd7e38caf8679cadc7b56519c0fa5e9

Max. process+thread count
41 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6313/1/console

versions
git=2.34.1 maven=3.9.8

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 29s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

_ branch-3 Compile Tests _

+1 :green_heart:
spotless
0m 46s

branch has no errors when running spotless:check.

_ Patch Compile Tests _

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
rubocop
0m 11s
/results-rubocop.txt
The patch generated 2 new + 3 unchanged - 1 fixed = 5 total (was 4)

+1 :green_heart:
spotless
0m 42s

patch has no errors when running spotless:check.

_ Other Tests _

+1 :green_heart:
asflicense
0m 11s

The patch does not generate ASF License warnings.

3m 26s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6313/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/6313

Optional Tests
dupname asflicense codespell detsecrets rubocop spotless

uname
Linux 20c3dd78282c 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-3 / 716194772cd7e38caf8679cadc7b56519c0fa5e9

Max. process+thread count
50 (vs. ulimit of 30000)

modules
C: . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6313/1/console

versions
git=2.34.1 maven=3.9.8 rubocop=1.37.1

Powered by
Apache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.


 I've been troubleshooting this issue for 20-25 hours or so. When I install depthai using the instructions linked here for my Nvidia Jetson Nano 4GB and run the following code
python3 depthai_demo.py
I get the error / output below
khalid@khalidjetson:~/Luxonis/depthai$ python3 depthai_demo.py
Using depthai module from:  /home/khalid/.local/lib/python3.10/site-packages/depthai.cpython-310-aarch64-linux-gnu.so
Depthai version installed:  <IP_ADDRESS>
Setting up demo...
Available devices:
[0] 18443010F1AA721200 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.SUPER
Downloading /home/khalid/.cache/blobconverter/mobilenet-ssd_openvino_2021.4_6shave.blob...
[==================================================]
Done
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/khalid/.local/lib/python3.10/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: xcb.

Aborted (core dumped)

I've also tried installing depthai manually using the doc linked here and I still get the same above error.
Minimal Reproducible Example
Append the MRE to the bug report, [instructions here]
(https://docs.luxonis.com/en/latest/pages/support/#creating-minimal-reproducible-example)
I'm SSHing from my macos system to my Jetson Nano 4GB kit. Then I'm following the Jetson Nano Luxinos guide linked here. I have JetPack 4.6.1 installed on my Jetson Nano. This means it comes with Python 3.6.1. I've updated to python 3.10.11 successfully, so that is not an issue.
khalid@khalidjetson:~/Luxonis/depthai$ python3 --version
Python 3.10.11

Expected behavior
I'm expecting the depthai_demo.py script to run successfully without any errors.
Pipeline Graph
Please also provide a screenshot of your pipeline using the DepthAI Pipeline Graph.
I attempted to use pipeline_graph . When I ran this, I received the error mentioned in the guide.
khalid@khalidjetson:~/Luxonis/depthai$ pipeline_graph "python3 depthai_demo.py"
Traceback (most recent call last):
  File "/home/khalid/.local/bin/pipeline_graph", line 5, in <module>
    from depthai_pipeline_graph.pipeline_graph import main
  File "/home/khalid/.local/lib/python3.10/site-packages/depthai_pipeline_graph/pipeline_graph.py", line 7, in <module>
    from Qt import QtWidgets, QtCore
  File "/home/khalid/.local/lib/python3.10/site-packages/Qt.py", line 1938, in <module>
    _install()
  File "/home/khalid/.local/lib/python3.10/site-packages/Qt.py", line 1886, in _install
    raise ImportError("No Qt binding were found.")
ImportError: No Qt binding were found.

Then I attempted to run pip install PySide2 per the guides recommendation, but I received the following error
khalid@khalidjetson:~/Luxonis/depthai$ pip install PySide2
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement PySide2 (from versions: none)
ERROR: No matching distribution found for PySide2

Attach system log

Provide output of log_system_information.py

khalid@khalidjetson:~/Luxonis/depthai$ python3 log_system_information.py
{
    "architecture": "64bit ELF",
    "machine": "aarch64",
    "platform": "Linux-4.9.337-tegra-aarch64-with-glibc2.27",
    "processor": "aarch64",
    "python_build": "main Jul 25 2023 19:48:07",
    "python_compiler": "GCC 7.5.0",
    "python_implementation": "CPython",
    "python_version": "3.10.11",
    "release": "4.9.337-tegra",
    "system": "Linux",
    "version": "#1 SMP PREEMPT Thu Jun 8 21:19:14 PDT 2023",
    "win32_ver": "",
    "packages": [
        "blobconverter==1.4.2",
        "boto3==1.28.11",
        "botocore==1.31.11",
        "certifi==2023.7.22",
        "charset-normalizer==2.0.12",
        "depthai==<IP_ADDRESS>",
        "depthai-pipeline-graph @ git+https://github.com/luxonis/depthai_pipeline_graph.git@848a147009ffca578a85910ed298ab4430c67727",
        "depthai-sdk==1.9.4",
        "distinctipy==1.2.2",
        "ffmpy3==0.2.4",
        "idna==3.4",
        "jmespath==1.0.1",
        "lz4==4.3.2",
        "marshmallow==3.17.0",
        "mcap==1.1.0",
        "mcap-ros1-support==0.0.8",
        "numpy==1.25.1",
        "opencv-contrib-python==<IP_ADDRESS>",
        "packaging==23.1",
        "pip==23.2.1",
        "python-dateutil==2.8.2",
        "pytube==15.0.0",
        "PyTurboJPEG==1.6.4",
        "pyusb==1.2.1",
        "PyYAML==6.0.1",
        "Qt.py==1.3.8",
        "requests==2.26.0",
        "rosbags==0.9.11",
        "ruamel.yaml==0.17.32",
        "ruamel.yaml.clib==0.2.7",
        "s3transfer==0.6.1",
        "scipy==1.11.1",
        "sentry-sdk==1.5.1",
        "setuptools==65.5.0",
        "six==1.16.0",
        "types-PySide2==<IP_ADDRESS>.5",
        "urllib3==1.26.16",
        "xmltodict==0.13.0",
        "zstandard==0.21.0"
    ],
    "usb": [
        {
            "port": 1,
            "vendor_id": "0x0bda",
            "product_id": "0x0411",
            "speed": "Super"
        },
        {
            "port": 0,
            "vendor_id": "0x1d6b",
            "product_id": "0x0003",
            "speed": "Super"
        },
        {
            "port": 4,
            "vendor_id": "0x03e7",
            "product_id": "0x2485",
            "speed": "High"
        },
        {
            "port": 2,
            "vendor_id": "0x0bda",
            "product_id": "0x5411",
            "speed": "High"
        },
        {
            "port": 0,
            "vendor_id": "0x1d6b",
            "product_id": "0x0002",
            "speed": "High"
        }
    ],
    "uname": [
        "Linux khalidjetson 4.9.337-tegra #1 SMP PREEMPT Thu Jun 8 21:19:14 PDT 2023 aarch64 aarch64"
    ]
}
System info gathered successfully - saved as "log_system_information.json"

Additional context
I've tried many many different installation attempts, but each one seems to have the same exact error / outcome that I mentioned at the top of this ticket. Hoping someone can help!

Hi @kirahman2 ,
Looks like there's a problem with QT. I'd suggest using Depthai-Viewer instead, which will soon replace depthai_demo anyways: https://github.com/luxonis/depthai-viewer

Looks like we haven't yet built wheels for arms.. cc @zrezke

Looks like we haven't yet built wheels for arms.. cc @zrezke

Yea, not available yet. I'll investigate later

Hi @kirahman2 ,
I think the best way for you to get up and running using depthai-viewer on Jetson is by building from source. This is because of Linux4Tegra OS which is based on ubuntu 18.04 which isn't supported by depthai-viewer (or rerun), and we also currently don't provide any ARM wheels. Here is a relevant issue depthai viewer on ubuntu 18.04.
Building from source

Install the Rust toolchain: https://rustup.rs/
git clone git@github.com:luxonis/depthai-viewer.git && cd depthai-viewer
Run ./scripts/setup_dev.sh.
Make sure cargo --version prints 1.70 once you are done

python3.8 -m pip install rerun_py/

Hey @kirahman2 ,
Not sure on this, maybe you can try with the workaround mentioned here

@kirahman2 Nice, I'm happy you got it installed. The examples are not guaranteed to work. They are the examples from rerun, we just have them in there because depthai-viewer was forked from rerun. Could you try running the depthai-viewer like this:
depthai-viewer
# If this fails use:
python3 -m depthai_viewer

, and then try to connect to your device via the UI on the right side.

Some suggestions
Try installing these:
sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev

If this doesn't resolve the issue, you could try using the opengl WGPU backend instead of vulkan, like this:
WGPU_BACKEND=gl depthai-viewer

Otherwise please post the output of this command (needs to be installed first via apt):
inxi -Gxx | grep compositor

Since you switched to Ubuntu 20.04 you may have to build nvidia's vulkan loader on device: https://developer.nvidia.com/embedded/vulkan

Hey @kirahman2 - Hmm, I assume you are still ssh-ing into your jetson nano - It's quite possible that the issue is caused by using a terminal only session
jetson@nano:~/Vulkan-Loader$ inxi -Gxx | grep compositor
  compositor: gnome-shell tty: 80x24

I wonder what the output of  inxi -Gxx | grep compositor command is when you hook up a KB and display port / hdmi to it and run the command in the ubuntu gui session.  It's quite possible that the viewer will also work then. (This is all assuming you are currently using ssh).
I also noticed in your previous comment, that the DISPLAY environment variable is not set. If you are using X11 this should be set, on wayland the coresponding variable is WAYLAND_DISPLAY.
jetson@nano:~/Vulkan-Loader$ vulkaninfo
...
'DISPLAY' environment variable not set... skipping surface info
==========
VULKANINFO
...

But yea - I would first try to get an ubuntu gui running and then try to run depthai-viewer again.

If it turns out to work in the ubuntu graphical session, you can probably run depthai-viewer via ssh, using X11 forwarding, or a similar thing for wayland

Hey @kirahman2 - I am not to sure on this. One thing you could try to do that may help with investigating this issue is running depthai-viewer with RUST_LOG=debug and RUST_BACKTRACE=1 set. We may find something interesting in those logs...  Try using those env variables and do two runs - one with WGPU_BACKEND=gl and one with WGPU_BACKEND=vulcan. Since this is a wgpu issue you may also try to run some wgpu examples and see if those work. If they don't they are most likely better documented so it will be easier to debug them. Just pasting this here aswell - seems similar https://github.com/gfx-rs/wgpu/issues/1787

Yea, should be closed here, I'll open an issue on depthai-viewer and link this one there.

Yea, should be closed here, I'll open an issue on depthai-viewer and link this one https://github.com/luxonis/depthai-viewer/issues/33.

Hi @kirahman2 , I think the best way for you to get up and running using depthai-viewer on Jetson is by building from source. This is because of Linux4Tegra OS which is based on ubuntu 18.04 which isn't supported by depthai-viewer (or rerun), and we also currently don't provide any ARM wheels. Here is a relevant issue depthai viewer on ubuntu 18.04.
Building from source

Install the Rust toolchain: https://rustup.rs/
git clone git@github.com:luxonis/depthai-viewer.git && cd depthai-viewer
Run ./scripts/setup_dev.sh.
Make sure cargo --version prints 1.70 once you are done

python3.10 -m pip install rerun_py/

Is there any way to compile whl and share here for future reference?

Hi @AnshumanFauzdar! At the moment the viewer doesn't work with the Jetson nano, so providing wheels wouldn't be of much use (look at the above reported errors with WebGPU). It has to be debugged, but it's low priority right now...

Can this be added to the guide?

Hi @roboticsmick , yea thats a good idea.
@jakaskerl could you add a mention that it doesnt work on jetson nano in the guide

I was able to launch depthai successfully. When I tried launching depthai-viewer I received an error. I'm happy with this result. I know that depthai-viewer is in beta at the moment so that's probably expected behavior for now.

By DepthAI you mean depthai_demo.py file, with the GUI?

After running ./scripts/setup_dev.sh I am getting this error:
dpkg: unrecoverable fatal error, aborting:
 loading files list file for package 'libksba8:arm64': cannot open /var/lib/dpkg/info/libksba8:arm64.list (Structure needs cleaning)
E: Sub-process /usr/bin/dpkg returned an error code (2)


medooze-media-server 0.23.0 throws an error

ReferenceError: muted is not defined
at Transponder.mute (/home/talent/deploy/MeazrMediaStream/node_modules/medooze-media-server/lib/Transponder.js:68:26)
at Transponder.setIncomingTrack (/home/talent/deploy/MeazrMediaStream/node_modules/medooze-media-server/lib/Transponder.js:37:8)
at OutgoingStreamTrack.attachTo (/home/talent/deploy/MeazrMediaStream/node_modules/medooze-media-server/lib/OutgoingStreamTrack.js:172:20)

Thanxs! Fixed on 0.23.1 and added tests so it doesn't happen again.


Dialing a node for which we have no address doesn't notify the PSM

I have some logs that show a buggy situation:
2020-04-17 11:42:03.441 tokio-runtime-worker DEBUG sub-libp2p  PSM => Connect(PeerId("QmWabGpJf7JyezL2bpsykobTMecrEDeT21d4W6ntcv39Zx")): Starting to connect
2020-04-17 11:42:03.441 tokio-runtime-worker DEBUG sub-libp2p  Libp2p <= Dial PeerId("QmWabGpJf7JyezL2bpsykobTMecrEDeT21d4W6ntcv39Zx")
2020-04-17 11:42:03.441 tokio-runtime-worker TRACE sub-libp2p  Addresses of PeerId("QmWabGpJf7JyezL2bpsykobTMecrEDeT21d4W6ntcv39Zx") are []
2020-04-17 11:42:03.441 tokio-runtime-worker DEBUG sub-libp2p  Requested dialing to PeerId("QmWabGpJf7JyezL2bpsykobTMecrEDeT21d4W6ntcv39Zx") (peer not in k-buckets), and no address was found

...and then further logs related to QmWabGpJf7JyezL2bpsykobTMecrEDeT21d4W6ntcv39Zx
(note that this is before https://github.com/paritytech/substrate/pull/5679, which slightly changed the logs format here)
What happens is:

The NetworkBehaviour::poll emits a DialPeer event.
The libp2p Swarm then calls addresses_of_peer, but the method returns an empty list of addresses.
In libp2p 0.17, this would then call inject_dial_failure, which would then print additional logs and report to the peerset that the dialing attempt has failed. In libp2p 0.18, however, this doesn't seem to happen anymore.

The consequence is that the peerset and the NetworkBehaviour think that we're connecting to QmWabGpJf7JyezL2bpsykobTMecrEDeT21d4W6ntcv39Zx, while in fact we are not.
cc @romanb Could you look into this? I'm not necessarily familiar with the state machine anymore to know where this should be fixed.

This is likely to be the reason for #5594


Executor plugin

What changes were proposed in this pull request?
Added a shutdown hook which will make sure that shutdown method of executor plugin will get called.
Why are the changes needed?
When dynamic allocation is enabled and executors get killed after idle time out, shutdown method of executor plugin is not getting called.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Manual Testing.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I will raise another PR for this. There are some unnecessary commits here,


[FEAT]: New 'Compare simulations' operator

Should accept two or more simulation outputs datasets as input.
The output could be the datasets associated with the charts that will be produced.
Detailed design upcoming on Monday.

Here's some rough design:

Rank interventions based on multiple criteria


Re: 'Deploy Puppet'

When trying to run the ./bin/puppet_versions.sh script on staging, I get this error:
Traceback (most recent call last):
  File "bin/show_puppet_versions.py", line 6, in <module>
    import requests_cache
ImportError: No module named requests_cache

Problem with 'Deploy Puppet' (https://docs.publishing.service.gov.uk/manual/deploy-puppet.html)

I've not seen this bug mentioned recently and the raiser of this issue has moved onwards and upwards so I'm closing it. I'm happy to reopen it if binaryberry comes back to us 0:)


When migrating https://gitea.com/xorm/xorm into a gitea instance with postgres, it will report a postgres text column cannot include 0x00 char error.

Description
When migrating https://gitea.com/xorm/xorm into a gitea instance with postgres, it will report a postgres text column cannot include 0x00 char error.
Gitea Version
main
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
localhost
Database
PostgreSQL

Caused by https://gitea.com/xorm/xorm/issues/701


Fix some always true/false errors in codebase

Testing out latest TS nightly which can now identify some cases where an expression is always true/false. This caught a few likely coding mistakes in our codebase
Unsure about the intent in some of these cases but I've tried my best to understand them. Pinging relevant code owners for the confusing cases

@mjbvz btw during my esbuild / ESM work I found these warnings which seem similar:
▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing]

    out-build/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js:231:56:
      231 │         return !!this._chatWidget?.rawValue?.hasFocus() ?? false;
          ╵                                                         ~~

  The left operand of the "??" operator here will never be null or undefined, so it will always be
  returned. This usually indicates a bug in your code:

    out-build/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js:231:15:
      231 │         return !!this._chatWidget?.rawValue?.hasFocus() ?? false;
          ╵                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing]

    out-build/vs/workbench/contrib/tasks/browser/abstractTaskService.js:536:54:
      536 │         this._log('Activating task providers ' + type ?? 'all');
          ╵                                                       ~~

  The left operand of the "??" operator here will never be null or undefined, so it will always be
  returned. This usually indicates a bug in your code:

    out-build/vs/workbench/contrib/tasks/browser/abstractTaskService.js:536:18:
      536 │         this._log('Activating task providers ' + type ?? 'all');
          ╵                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing]

    out-build/vs/workbench/contrib/customEditor/browser/customEditors.js:115:137:
      115 │                     singlePerResource: () => !this.getCustomEditorCapabilities(contributedEditor.id)?.supportsMultipleEditorsPerDocument ?? true
          ╵                                                                                ~~

  The left operand of the "??" operator here will never be null or undefined, so it will always be
  returned. This usually indicates a bug in your code:

    out-build/vs/workbench/contrib/customEditor/browser/customEditors.js:115:45:
      115 │                     singlePerResource: () => !this.getCustomEditorCapabilities(contributedEditor.id)?.supportsMultipleEditorsPerDocument ?? true
          ╵                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing]

    out-build/vs/workbench/contrib/timeline/browser/timelinePane.js:68:55:
      68 │     return !item?.handle.startsWith('vscode-command:') ?? false;
         ╵                                                        ~~

  The left operand of the "??" operator here will never be null or undefined, so it will always be
  returned. This usually indicates a bug in your code:

    out-build/vs/workbench/contrib/timeline/browser/timelinePane.js:68:11:
      68 │     return !item?.handle.startsWith('vscode-command:') ?? false;
         ╵            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing]

    out-build/vs/workbench/contrib/comments/browser/simpleCommentEditor.js:132:80:
      132 │     const contentHeight = (editor._getViewModel()?.getLineCount() * lineHeight) ?? editor.getContentHeight(); // Can't just call getContentHeight() because it returns an incorrect, large, value when the editor is first created.
          ╵                                                                                ~~

  The left operand of the "??" operator here will never be null or undefined, so it will always be
  returned. This usually indicates a bug in your code:

    out-build/vs/workbench/contrib/comments/browser/simpleCommentEditor.js:132:27:
      132 │     const contentHeight = (editor._getViewModel()?.getLineCount() * lineHeight) ?? editor.getContentHeight(); // Can't just call getContentHeight() because it returns an incorrect, large, value when the editor is first created.
          ╵                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

▲ [WARNING] The "??" operator here will always return the left operand [suspicious-nullish-coalescing]

    out-build/vs/workbench/contrib/testing/browser/testingExplorerView.js:118:84:
      118 │         return this.viewModel?.welcomeExperience === WelcomeExperience.ForWorkspace ?? true;
          ╵                                                                                ~~

  The left operand of the "??" operator here will never be null or undefined, so it will always be
  returned. This usually indicates a bug in your code:

    out-build/vs/workbench/contrib/testing/browser/testingExplorerView.js:118:15:
      118 │         return this.viewModel?.welcomeExperience === WelcomeExperience.ForWorkspace ?? true;
          ╵                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[bundle] DONE for 'vs/workbench/workbench.desktop.main' (1718ms)

@bpasero I think those are the errors this PR fixed. Let me know if you're still seeing them after pulling in this change


perf: minimize clones when saving blocks

Read another page of samply while waiting for a meeting today 😅.

There seem to be a lot of these (redundant allocations) in mempool, persistence, and root calculation hot paths. One PR at a time 🙏.

very nice, appreciate this so much, ty

Are we sure that Arc::unwrap_or_clone will unwrap in these cases? From what I can see, persistence codepath gets the block from the in-memory state, which in turn isn't pruned at the same time as the persistence is advanced, and is pruned later.

Yeah, that's why I chose "minimize" over "remove" like in previous PRs. I think the rule of thumb is to always use Arc::unwrap_or_clone to not need to worry about a more global case or how each function caller manages input references. The extra reference counting check is fairly cheap.
That said, looking at persist_block_after_db_tx_creation -> remove_persisted_blocks was very helpful! If we're sure successful persistence is the hot path then we can remove blocks from memory before persisting to disk, then re-inserting into memory on persistence failures. No cloning required.


0.17.0 Cannot login due to missing parameters.

Running matterircd 0.17.0 with only one server allowed.
08:57:49 <myuser> LOGIN myuser mypass
08:57:49 <mattermost> need LOGIN <server> <team> <login> <pass>
Config:
[mattermost]
#specify default mattermost server/instance (default "")
DefaultServer = "<IP_ADDRESS>:8065"

#skip verification of mattermost certificate chain and hostname (default false)
SkipTLSVerify = false

#specify default mattermost team (default "")
DefaultTeam = "lucanus"

#use http connection to mattermost (default false)
Insecure = true

#an array of channels that won't be joined on IRC.
#Messages that get sent to unjoined channels (but you're joined on mattermost) will
#get sent to the &messages channel.
#You can still /JOIN exclude channels.
#default ""
JoinExclude = [""]

#an array of channels that only will be joined on IRC.
#If it's empty, it means all channels get joined (except those defined in JoinExclude)
#Messages that get sent to unjoined channels (but you're joined on mattermost) will
#get sent to the &messages channel.
#default ""
JoinInclude = ["#town-square"]

#PartFake: a bool that defines if you do a /LEAVE or /PART on IRC it will also
#actually leave the channel on mattermost.
#Default false
PartFake = false

#only allow connection to specified mattermost server/instances. Space delimited (default "")
Restrict = "<IP_ADDRESS>:8065"

I can't reproduce this.
Did you specify -conf matterircd.toml when starting matterircd ?

Yes, it's using my modified config.

Try this command:  LOGIN server myuser mypass

Output from my irc-client:
<IP_ADDRESS>:8065 is my mattermost server, serving plaintext HTTP. For external access I have nginx in front which has TLS setup.
08:03:19 <mattermost> need LOGIN <server> <team> <login> <pass>
08:03:27 <Norrland> LOGIN mm.example.com myteam norrland mypass
08:03:27 <mattermost> "https://mm.example.com/api/v4/users/logout: model.client.connecting.app_error, Post
                      https://mm.example.com/api/v4/users/logout: dial tcp <IP_ADDRESS>:443: connect: connection refused"
08:03:38 <Norrland> LOGIN <IP_ADDRESS> myteam norrland mypass
08:03:38 <mattermost> "https://<IP_ADDRESS>/api/v4/users/logout: model.client.connecting.app_error, Post
                      https://<IP_ADDRESS>/api/v4/users/logout: dial tcp <IP_ADDRESS>:443: connect: connection refused"
08:03:46 <Norrland> LOGIN <IP_ADDRESS>:8065 myteam norrland mypass
08:03:46 <mattermost> "https://<IP_ADDRESS>:8065/api/v4/users/logout: model.client.connecting.app_error, Post
                      https://<IP_ADDRESS>:8065/api/v4/users/logout: http: server gave HTTP response to HTTPS client"```

@norrland
A couple of things, I'm pretty sure you're not using the config file with matterircd 0.17.0, because it will fail on the last line
Restrict = "<IP_ADDRESS>:8065"

should be
Restrict = ["<IP_ADDRESS>:8065"]

Please stop the daemon and run matterircd manually, and paste me the output of this command
/usr/local/bin/matterircd -conf=/usr/local/etc/matterircd/matterircd.toml

Hah, this is embarrasing. My server did not upgrade to 0.17 and was still running with the 0.16.8 binary but the config was updated.
0.17 binary and the same config works. :)


This custom node when enabled freezes my interface

Ive had this issue for sometime and tried fixing with updates on every opportunity but for some reason, for sure a conflict, when I enable this custom mode, specially Math Expression Nodes/pythongosssss my comfyUi freezes and no workflow gets loaded (even if it is, it doesn't show) Everytime I disable this custom node, it goes back to working. Can somebody help solve this ? Thanks

I have noticed the same issue. More specifically it looks like something in pythongossss is preventing the GUI from redrawing on most interactions. I say that because If you click the greenish picture icon on the top right of the Queue sidebar, it shows the current workflow but any attempt to manipulate the GUI by trying to drag any parts of the workflow don't work. At least until you click the button again (or the clear button now in the bottom right of the screen), after which the window updates to show any of the changes you made.
Interacting with the node's themselves still seems to work, so you can add/remove text and select dropdowns and update those. But any drag manipulations won't update until you update the window in the manner described above.

Perhaps the new front end release will solve this issue
https://github.com/comfyanonymous/ComfyUI/issues/4169

I've tried using the new front-end but this did not fix the issue.


unorthodox release structure and numbering

https://www.gnu.org/prep/standards/html_node/Releases.html
https://en.wikipedia.org/wiki/Software_versioning
There are few points I would like to highlight from links above:

the tarball should unpack into a subdirectory with the same name as the release. Currently, there are two tarballs, the first one has no top directory at all, the second one has double name (yubioath-desktop-yubioath-desktop-4.2.0) in it.
4.2.0b stands for "beta" which must be *before" 4.2.0, not after it. GNU recommends 2 numbers: major and minor. You already have 3rd one for such bugfixes, please use it.
do not induce new dependencies on other software lightly (discussed and rejected in the issue #206)

Sorry, our bad on the first tarball. I'm assuming the second tarball is the one auto-generated by GitHub; we're not fixing that.
If we're talking semantic versioning, we're both wrong. 4.2.0b isn't actually a valid version number in semver. We've been using a b, c, d... suffix lately to indicate releases with different packaging but no change to code, which is why we haven't incremented the patch version. But you're right, we should use the versioning scheme properly.
qt-solutions is not a new depenency, it was added more than 9 months ago.

Release 4.2.0+2 is up, with the unpack directory fixed. There's also an alternative release 4.2.0+deps.2 which is identical except it also includes the dependencies. We'll take a look at options for building against local system libraries instead of the bundled ones, and add that to the build documentation if we come up with something good (the CONFIG += qtsingleapplication method in your PR didn't seem to work for me when I tried it).
Thanks for reporting!

Actually, upon further internal discussion we decided to de-publish the +deps releases. We'll keep 4.2.0+2 with the fixed unpack directory, though. If you need the dependencies bundled, I'd suggest for now to get them as submodules by cloning the repo instead.

that's still weird numbering (with "-" symbol) . Why don't you just use the last (currently 0 and not used) number for patch releases? The second (2) is for minor and the first (4) one for major releases.
Well, it's you call.

It's not weird, it's precisely specified in SemVer what it means.
The patch version number is for code changes that make some improvement to internal functionality that's safe and desirable to upgrade to. Since this release has no changes to code and only to packaging, it's not semantically correct to increase the patch version number.


Inspector2 Log ingesting fail due to timestamp formatting change

AWS recently updated the timestamp formatting on the inspector v2 log "updateAt" field,
The old timestamp looks like  "updatedAt":"Jun 18, 2024, 12:27:04 AM"
The new timestamp looks like "updatedAt":"Thu Jun 20 01:47:55.779 UTC 2024"
This change cause es-loader function failed to load any new inspector log into OpenSearch

Here is my two cents for this issue. Not sure why nobody else noticed:
Replace in sf_inspector.py
  #logdata['updatedAt'], '%b %d, %Y, %I:%M:%S %p').timestamp())) becomes
    logdata['updatedAt'] = datetime.strptime(logdata['updatedAt'], '%a %b %d %H:%M:%S.%f %Z %Y').timestamp()


Bitcanna deployment crashes after max 10 minutes of running - image outdated

Deploying a Bitcanna node on any provider causes it to crash after 3-10 minutes of running.

Tested using 4 and 8 VCPU
Tested using 8Gi, 16Gi and 32Gi of RAM
Tested using 100Gi ephemeral storage
Tested using 5Gi of ephemeral storage + 500Gi of persistent storage (beta2 and beta3)
Tested on Europlots.com provider (ephemeral only and ephemeral+beta3) and boxedcloud.net provider (ephemeral+beta2)

These are the deployment events:
[node]: [Normal] [Pulled] [Pod] Container image "ghcr.io/akash-network/cosmos-omnibus:v0.3.27-bitcanna-v1.5.3" already present on machine [node]: [Normal] [Created] [Pod] Created container node [node]: [Normal] [Started] [Pod] Started container node [node]: [Warning] [BackOff] [Pod] Back-off restarting failed container [node]: [Normal] [Pulled] [Pod] Container image "ghcr.io/akash-network/cosmos-omnibus:v0.3.27-bitcanna-v1.5.3" already present on machine [node]: [Normal] [Created] [Pod] Created container node [node]: [Normal] [Started] [Pod] Started container node [node]: [Warning] [BackOff] [Pod] Back-off restarting failed container [node]: [Warning] [BackOff] [Pod] Back-off restarting failed container [node]: [Normal] [Pulled] [Pod] Container image "ghcr.io/akash-network/cosmos-omnibus:v0.3.27-bitcanna-v1.5.3" already present on machine [node]: [Normal] [Created] [Pod] Created container node [node]: [Normal] [Started] [Pod] Started container node [node]: [Warning] [BackOff] [Pod] Back-off restarting failed container [node]: [Warning] [BackOff] [Pod] Back-off restarting failed container
And these are the logs
2:03PM INF ABCI Replay Blocks appHeight=8082400 module=consensus stateHeight=8082400 storeHeight=8082401 2:03PM INF Replay last block using real app module=consensus panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x154660d]
As Andy noticed, the current version of Bitcanna is 1.6.3 and the image being pulled is version 1.5.3, this might be the reason for crashing.
Another issue not directly related to this is that when using persistent storage the default ephemeral storage amount is 100 Mi, this produces another error:
[node]: [Warning] [Evicted] [Pod] Pod ephemeral local storage usage exceeds the total limit of containers 104857600.
Increasing ephemeral storage to 500Mi solves this error.
I suggest increasing the default amount of ephemeral storage when persistent storage is used to 1Gi

looks like the 1.5.3 version is too old.
they already have 1.6.3 (all 1.6.x are compatible as well) as per https://github.com/cosmos/chain-registry/blob/master/bitcanna/chain.json#L36-L41
https://www.mintscan.io/bitcanna/proposals
https://github.com/BitCannaGlobal/bcna/releases
so 1.5.3 needs to be bumped to 1.6.3 in https://github.com/akash-network/cosmos-omnibus/tree/master/bitcanna
and https://github.com/akash-network/cosmos-omnibus/blob/v0.3.27/.github/workflows/publish.yml#L29-L30

The Bitcanna image has just been updated to v1.6.3, could you try that @shimpa1?
https://github.com/akash-network/cosmos-omnibus/tree/master/bitcanna

thanks @tombeynon !
The image is stable after multiple hours of running.
I will do another test with persistent storage and if that works will close the issue.
thanks!

Great news, thanks for the updates @shimpa1!

the node works as expected after >24 hrs.
thank you  @tombeynon @andy108369


[cherry-pick] 64edd6d -> V1.3.x

The issue resolved by this Pull Request:
Resolves https://github.com/opendatahub-io/data-science-pipelines-operator/issues/294 for v1.3

A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-305
An OCP cluster where you are logged in as cluster admin is required.
To use this image run the following:
cd $(mktemp -d)
git clone git@github.com:opendatahub-io/data-science-pipelines-operator.git
cd data-science-pipelines-operator/
git fetch origin pull/305/head
git checkout -b pullrequest 7236e5b9829bc7fb21fa92d99d91b95b98eb8928
make deploy IMG="quay.io/opendatahub/data-science-pipelines-operator:pr-305"

More instructions here on how to deploy and test a Data Science Pipelines Application.

Change to PR detected. A new PR build was completed.
A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-305


Prefix memcache keys and make the prefix configurable.

This allows us to enable the Rails cache for whitehall-admin while keeping its keys namespaced.

Friendly ping?


How to use?

Hi
i am new to it and could i know how to test the image to caption feature? thanks

I've been trying to make some of the common scenarios a bit easier to spin up and try out in Apache Tika's tika-docker repos, one of which was this using these images.
You can use the docker-compose-tika-vision.yml file to spin up an Tika Server instance with associated configuration (see inside the file for options) and inception service to match your use case.
I had to make a fork of this repos to update the model download URLs due to Tensorflow project moving them. Have raised a PR here too.

Many thanks, @dameikle -- your patch from #2 got me further along once applied to my local branch.  But I'm hitting multiple werkzeug issues (serving, wsgi; wrappers) and 500 errors. This tika-dockers project seems abandoned so will troubleshoot just a bit more and then follow your advice w/r/t Tika's own repos. Thanks again for your comment and patch here.


[QUERY] Is the current state API of ServiceBus AMQP Channel available externally? Or is there an indirect way to get it?

Query/Question
Is the current state API of ServiceBus AMQP Channel available externally? This will get the status of the client. Or is there an indirect way to get it?
Setup (please complete the following information if applicable):

Library/Libraries: [ azure-messaging-servicebus:7.2.3 (groupId:artifactId:version)]

Information Checklist

[x] Query Added
[x] Setup information Added

@ki1729 could you please follow upw ith @ZhuXiaoBing-cn's question?

@ki1729, At present, I plan to implement the Health Indicator about the Service Bus, but I can't get useful API from the SDK to judge whether the Service Bus Client will be healthy.
So I want to judge by the state of the AMQP channel. However, I can't get the status of the current service bus client's AMQP channel. Do you have any suggestions?


Other Deployment Methods (using DevOps)

Hi Team, I think it is nice that you can deploy smart contracts using VS Code just by right clicking.
It's very convenient to do. However, I don't see a clear guidelines on how to deploy a Smart Contract using Truffle in a DevOps environment.

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

ID: df32d8b8-aa8f-b8da-3bc6-3fcba16be8bd
Version Independent ID: 71fdb7e0-bb97-f96a-84fc-778eeb590982
Content: Create, build, & deploy smart contracts tutorial - Azure Blockchain Service - Azure Blockchain
Content Source: articles/blockchain/service/send-transaction.md
Service: azure-blockchain
GitHub Login: @PatAltimore
Microsoft Alias: patricka

@mjtpena Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi @mjtpena,
I forwarded your feedback to the Ethereum DevKit team. You can open issues for the Ethereum DevKit project here: https://github.com/Microsoft/vscode-azure-blockchain-ethereum/issues.
Thanks,
Pat
#please-close


How can i use it to test my all picture ? not one picture.

I have trained the model, but how can I test the images in my test set in batches and output a result?
even i can't output a single picture test result by json or txt ,Is there any way to resolve it ?
thank u.

one by one


Add OCSP stapling

Context
According to the Godaddy cert checker, my site doesn't implement this. According to digicert,
OCSP stapling can be used to enhance the OCSP protocol by letting the webhosting site be more proactive in improving the client (browsing) experience. OCSP stapling allows the certificate presenter (i.e. web server) to query the OCSP responder directly and then cache the response. This securely cached response is then delivered with the TLS/SSL handshake via the Certificate Status Request extension response, ensuring that the browser gets the same response performance for the certificate status as it does for the website content.
Things to consider
Digicert has a guide on how to do this in Apache
https://www.digicert.com/kb/ssl-support/apache-enable-ocsp-stapling-on-server.htm
There is also this cool tool put out by Mozilla that appears to add OCSP stapling to an apache config boilerplate
https://ssl-config.mozilla.org/#server=apache&version=2.4.41&config=intermediate&openssl=1.1.1k&guideline=5.6

Tried following the guides and no luck. I don't think I am enough of an Apache Wizard to figure this one out. I will most likely be moving to a new web server anyway, so I would rather not burn more time trying to figure this one out.
Closing for now!


Update SparkSQLCLIDriver.scala to solve the IOException on exit when using HDFS to store event log.

Using Hadoop's ShutdownHookManager and assigning a higher priority than HDFS's shutdown hook , make the SparkSQLEnv stop earlier than hdfs .

Can one of the admins verify this patch?

@SioaSong can you open a JIRA here and include it in the PR title: https://issues.apache.org/jira/browse/SPARK/
See how other PRs are opened.

@andrewor14 The issue number on JIRA is SPARK-10358 .

SPARK-10358 appears to be a duplicate. I think this should just be closed? you closed the JIRA, at least.

OK, @SioaSong would you mind closing this patch then? Also, for future references we require having the JIRA in the title, like: [SPARK-10358] Update ....


13/04/23 - Harmbuger menu

here are some of the issues i found in your code

use font awesome icons in your exit button. it makes it easy for the hover effect to work
change the position of your text when the hambuger is turned on as shown in the figma design.
change the fonts and weights as addressed in figma.
make the background fixed while trying to scroll the background.

Hello there,
I hope this message finds you well. I was wondering if I could be assigned the task of working on this issue  in the Github repository. I believe that my skills and expertise align well with the requirements of the task, and I am eager to contribute to the project.
Please let me know if this task is still available and if there is any additional information or guidance you can provide me with. I am excited to get started and make a meaningful contribution to the project.
Thank you for your consideration, and I look forward to hearing back from you soon.
Best regards,
Abhijeet Choudhury


PYODBC has not worked since 2015

[Enter feedback here]
PYODBC has not worked since 2015 and still no one has fixed it

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

ID: 81d157a2-8c94-ad05-47ed-8baebb156948
Version Independent ID: 37dd4c6b-a214-7a72-fe59-89a42b9d05a2
Content: Python SQL Driver - pyodbc - Python driver for SQL Server
Content Source: docs/connect/python/pyodbc/python-sql-driver-pyodbc.md
Service: sql
Sub-service: connectivity
GitHub Login: @David-Engel
Microsoft Alias: v-davidengel

@Shelby86 -- thank you for your feedback.  Please add this as a product issue here:

SQL Server feedback


Bug: Validation of datatypes is too strict

Background
In current implementation it requires all types in the rule parameter datatypes to be defined in conf/types.json.
For example, following rule will return false even normalized type command is define. It is because the fetch_values_by_datatype helper will return an empty list due to code to validate datatypes at here .
"""This is sample rule to alert on any suspicious use of wget"""
import fnmatch
from helpers.base import fetch_values_by_datatype

@rule(datatypes=['command', 'not_exist_normalized_type'])
def alert_suspecious_wget(rec):
    results = fetch_values_by_datatype(rec, 'command')
    for result in results:
        if fnmatch(result, "wget *"):
            return true
    return false

Desired Change
Return value of normalized types if defined, and ignore normalized types which are not defined in conf/types.json.

If a rule has a type defined in datatypes that does not exist, we should throw an ERROR, not ignore it

Ideally, when we enable Threat Intel, we want to be alerted on if any of datatypes matching to IOC within one rule. In current implementation, we are not able to write one rule to alert on any datatypes matching to IOCs.
For example, following rule will alert on logs from carbonblack, but it will not be able to alert on logs from cloudtrail. In conf/types.json, destinationDomain, fileHash and sourceAddress are defined in carbonblack, but only sourceAddress defined in cloudtrail, cloudtrail logs will not have fileHash.
# simplified rule
@rule(datatypes=['destinationDomain', 'fileHash', 'sourceAddress'])
def sample_rule(rec):
    # sample code here

Does it make sense?

What you're implicitly stating is that datatypes is an AND vs OR operation, which I believe we failed to discuss/reason about in the design phase.
If we look at the other "keys" within a rule definition, here's their current functionality:

logs: OR
matchers: AND
req_subkeys: AND

I propose we

Keep datatypes as an AND operation
If an incoming record does not have all the required datatypes, the record does not get evaluated by the rule and an error is not thrown

In the example you illustrated, a CarbonBlack record would be evaluated by the rule, whereas a Cloudtrail record will not.
As you hint at, this works OK but you're slightly concerned about having to write a lot of rules to provide coverage for all CEF fields and having them applied against threat intelligence.
Auditing our existing conf/types.json file, we have 25 CEF fields:
    "command"
    "destinationAccount"
    "destinationAddress"
    "destinationDomain"
    "destinationPort"
    "deviceAddress"
    "eventName"
    "eventType"
    "fileHash"
    "fileName"
    "filePath"
    "fileSize"
    "message"
    "processName"
    "processPath"
    "receiptTime"
    "region"
    "severity"
    "sourceAccount"
    "sourceAddress"
    "sourcePort"
    "sourceUserId"
    "transportProtocol"
    "userAgent"
    "userName"

I don't see this number growing over time. I also see each field requiring it's own "ignorelist" to address false positives as they crop up. Trying to squeeze all of the FP's into a single rule and it's ignorelist seems like a mess. Additionally, having a rule for each type allows users (and us) to slowly onboard a CEF type.
As a result, I'm personally comfortable with us having 25 rules, one for each CEF type, that's responsible for comparing that type against threat intelligence. As FP's pop up, users can address them in the appropriate rule and update tests as they see fit.
What do you think?

From resolving false positives point of view, I agree with your proposals.

If I understand correctly, (1) and (2) are conditions that are already satisfied?

Yes, you are correct.
I will update this use case to related design documentation. Also, I will close this issue.

After a use-case Javier raised, and giving it more thought, it should be an OR vs. AND operation. @chunyong-lin - can you make the appropriate changes?

Yes, I have the fix already, will send PR soon.


Possible to support 480p?

Hey,
I haven't delved into the code much, but would it be hard to support 480p or 480i? I'm thinking of using this to record smash bros melee from a wii with component cables. How much work would be involved? If it's not much and you give me some direction, I may be able to do it myself.
Thanks!

Hi there,
this is on the TODO list (NTSC support). I'm based in Europe and just had access to PAL devices, that's why it hasn't been implemented yet, I'm sorry for that. However, someone told me you can switch a hacked original Xbox from PAL to NTSC. Luckily, I have a softmodded original Xbox around and will use it for adding NTSC support.
Without going in to much detail, I can easily say that reverse-engineering this device is non-trivial. Including NTSC support. Problem is, you can't easily capture USB traffic, cause video capturing / encoding is a very CPU intensive task, thus making USB traffic capturing in a virtual machine almost impossible.
Maybe it's possible in the meantime (using GPU / PCIe passthrough, paravirtualization etc.), but last time I've checked (Intel Xeon E3-1245v2, 16GB RAM, HD7970), the VM lagged and the captures wer incomplete / faulty.
But even if VMs worked, we would need to port the reverse-engineering tools, which are currently firmly tailored to a workflow using the OpenVizsla USB hardware analyzer.
TL;DR you will need an external hardware USB protocol analyzer and 2 PCs for monitoring / capturing USB traffic.
I'm currently busy with another project, but will pick this one up again. I have everything here to reverse-engineer the NTSC support and it's definitely on my TODO list. But please don't hold your breath on it, I can't name any release date.
Cheers,
Tolga

Changing from PAL to NTSC on a softmodded Xbox is very easy, yes. Install the program "Enigmah videomode switch disk" and run it. You will then be presented with this screen, where you can choose region: http://xbox.douglasstridsberg.com/wp-content/uploads/switchdisc.jpg
(We Halo players use this a lot to play the NTSC version of the original Halo: Combat Evolved. This is because the PAL version is terrible and slow, since all animations were frame-based. Bungie didn't realize the mistake until it was too late to fix...)

+1 on the 480p for me as well, I have a NTSC gamecube with the component cables as well interested in testing. So far great work though going to play around with this, hoping to do some Twitch Streaming but don't want to build a windows PC just for that. (i'm doubting windows vm on my i7 system would work well, despite if I gave it plenty of resources). Good works, thanks again.

Hi there! I have a modded Xbox and it shouldn't be a problem to get NTSC working on it. However, I don't have a component cable, so the best I can get is 480i for you. I will work on this now.

After reading a bit, I found out PAL PS2s are supporting 480i and 480p, as long as the game supports it. I should have a couple of NTSC games around for 480i. I also happen to have a component cable for PS2 and Tekken 4, which outputs 480p.
I'll keep you up-to-date about any further developments.

@tolga9009 : I have a spare set of component cables (YPbPr) for the original Xbox. If you want, I can mail them to you. (You live in Germany, right? If so, it shouldn't cost me much.) Just send me your address on a Gitter PM.

I could also mail you some component cables if you want, I would be happy to buy them to support teh cause.
My use case is also a NSTC (N. Am.) gamecube for playing/streaming smash bros melee on linux. :)

Thanks for the support, but I was able to get a 480i and 480p signal from my PS2. I'm gonna implement the following setups:

PS2 NTSC 480i, 60 FPS -> Composite Cable -> Elgato -> HDMI Out -> Full HD Monitor
PS2 NTSC 480p, 60 FPS -> Component Cable -> Elgato -> HDMI Out -> Full HD Monitor

If your setups are different from mine, please tell me. The implementations should be available in the upcoming few hours.

Support has been added for 480i (b400e90e0689ce96c0700dd5e1afa1f577a34570) and 480p (d97aa003f7861b3fac0a22dee00d413a4ba2b5e7). You can try it out using gchd -r ntsc -i composite for 480i and gchd -r ntsc -i component for 480p.
Please note, that overall usage has changed between master and refactoring branch, so please wait until the README has been updated. Feel free to reopen, if this issue hasn't been fixed for you.
Thanks for reporting! Closing now.


Clang build failure on FreeBSD 10.1 [JIRA: RIAK-1600]

Hitting the following build errror when building with Clang on FreeBSD (now the default compiler, as of 10.0)
prompt$  CXX=c++ gmake
...
./include/leveldb/env.h:163:11: error: unknown type name 'pthread_t'; did you mean 'pthread'?
virtual pthread_t StartThread(void (function)(void arg), void* arg) = 0;
^~~~~~~~~
pthread
/usr/include/stdio.h:143:9: note: 'pthread' declared here
struct pthread _fl_owner;      / current owner /
^
In file included from db/log_reader.cc:8:
./include/leveldb/env.h:374:3: error: unknown type name 'pthread_t'; did you mean 'pthread'?
pthread_t StartThread(void (f)(void), void a) {
^~~~~~~~~
the leveldb env.h file needs to include pthread.h, in order to fix this issue on this platform.

Fixed here:  https://github.com/basho/leveldb/pull/151


Very sparse documentation

This documentation doesn't say anything about how to override any behavior or rendering, i.e., what exactly do you have to do to, say, change which DOM elements are used.

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

ID: 0e393760-d7c6-c5e7-bf99-54e65197fee7
Version Independent ID: e8935c21-d80f-1825-768f-ade4a80b83c0
Content: Extensibility - JavaScript SDK - Adaptive Cards
Content Source: AdaptiveCards/sdk/rendering-cards/javascript/extensibility.md
Product: adaptive-cards
GitHub Login: @matthidinger
Microsoft Alias: mahiding

Thanks for the feedback here folks. We've just published a more detailed update (in TypeScript) but hopefully it helps. Please let us know and re-open if you have additional feedback!
https://docs.microsoft.com/en-us/adaptive-cards/sdk/rendering-cards/javascript/extensibility


mediaelch: 2.10.6 -> 2.12.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Komet/MediaElch/releases.
meta.description for mediaelch is: Media Manager for Kodi
meta.homepage for mediaelch is: https://mediaelch.de/mediaelch/
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.12.0 with grep in /nix/store/hdwpawdh2gcmccid8pqz50wfgjiirpy1-mediaelch-2.12.0
found 2.12.0 in filename of file in /nix/store/hdwpawdh2gcmccid8pqz50wfgjiirpy1-mediaelch-2.12.0

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

mediaelch
mediaelch-qt5
mediaelch-qt6

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/hdwpawdh2gcmccid8pqz50wfgjiirpy1-mediaelch-2.12.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A mediaelch https://github.com/r-ryantm/nixpkgs/archive/8a935eeecf869cdd3cb8f5f7ddc219619f6b4df3.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/8a935eeecf869cdd3cb8f5f7ddc219619f6b4df3#mediaelch

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/hdwpawdh2gcmccid8pqz50wfgjiirpy1-mediaelch-2.12.0
ls -la /nix/store/hdwpawdh2gcmccid8pqz50wfgjiirpy1-mediaelch-2.12.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 2 packages built:

mediaelch
mediaelch-qt6

Maintainer pings
cc @Stunkymonkey for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

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

2 packages built:

mediaelch (mediaelch-qt5)
mediaelch-qt6


Update livehint AI to use v5 endpoints

Task spawned from #1138
Update livehint AI to use v5 endpoints

QA: Passed


Unintended seeds added

If I add DOI 10.7554/eLife.00471, then add first of connected papers (DOI 10.1126/science.1225829)
I get loads of extra seed papers being added that I didn't choose.
If I just add DOI 10.1126/science.1225829 directly I get one additional seed paper with no title.

If I comment out this line
oldrecord.seed = newrecord.seed ? newrecord.seed : oldrecord.seed

from the mergePapers function the problem goes away (but obviously has other issues)

typo here:
                cited = mergePapers(existingRecord,citer);

should be
                cited = mergePapers(existingRecord,cited);

Fixed.