Extends support for Installation environment variables

This commit introduces:

Extended Support for Installation Environment Variables: Installation Environment Variables are now visible within the Environment Variables tab. However, users cannot update them via the UI/API. Configuration is exclusively through ConfigMap editing.
Handling of ALLOWED_FILE_TYPES: An edge case is managed, replacing the input field with a more suitable text area for the ALLOWED_FILE_TYPES variable.
Margin Issue Resolution: A margin issue has been fixed to ensure consistent scrolling

Updated UI

@jugnu-appveen


fixed project title align and navbar button issue

Fixes #1028 #1022
Describe the changes you have made in this PR -
Fixed alignment issue with the project title and fixed navbar button

Coverage remained the same at 84.266% when pulling 4254d95d2b123f3655e10204e227375fcdc30f0b on rishipurwar1:master into 02684396c7f2a79a1610fa2cb606df93acfb8c88 on CircuitVerse:master.

Before when I click on navbar, it's not working.
Now, it's working.


Add ace editor classes

Add ace editor js models to classes to enable 'scripts' code syntax highlighting/formatting.
Also remove spaces and special characters from Enum value names.

Follow up: The classes entries should not be required.  Adding all to files.js does not help.

Pretty sure we don't want those added to classes.js. Shouldn't break anything but will generate some large enums on java.


Proposal: Polished Authentication Strategy API

Currently, attaching third-party authentication providers requires a fairly deep understanding of the server internals. The goals of this proposal are as follows:

Expose a public API for attaching third-party providers.
API should encapsulate as much OAuth handshake logic as possible.
API should work for built-in providers and totally custom ones.

const strategy = horizon.auth.strategy(<provider>) // -> Strategy
horizon.auth.use(strategy(<options>))

provider: name of the already registered provider (ex. twitter) or an object containing the following properties:

name: name of custom provider.
protocol: oauth | oauth2
auth: authorization endpoint URI.
token: access token endpoint URI.
temporary: temporary credentials endpoint URI (oauth only).
scope: an array of scope strings (oauth2 only).
headers: an object containing any additional headers required by the provider.
profile: an optional function used to deserialize/normalize user profile information.

function(credentials, params, get)

credentials: OAuth credentials object
params: the parsed information received from the provider.
get: a helper function to make authenticated requests using the credentials.

function(uri, params)

uri: requested resource URI.
params: any query parameters that should be attached to the request.

options: an object containing the following properties (may vary depending on provider.protocol):

consumer_key: OAuth consumer key.
consumer_secret : OAuth consumer secret.

With this API in mind, implementing the Twitter OAuth provider from scratch becomes as simple as:
// create new strategy
const twitter = horizon.auth.strategy({
  name: 'twitter',
  protocol: 'oauth',
  temporary: 'https://api.twitter.com/oauth/request_token',
  auth: 'https://api.twitter.com/oauth/authenticate',
  token: 'https://api.twitter.com/oauth/access_token',
  profile: (credentials, params, get) =>
    get('https://api.twitter.com/1.1/account/verify_credentials.json').then(res => res.id)
});

// use this strategy
horizon.auth.use(twitter({
  consumer_key: '...',
  consumer_secret: '...'
}))

This looks great for oauth/oauth2, but what about custom authentication? From what I can tell, it looks as though currently each auth provider module really boils down to generating a user + redirecting with a JWT.
This could be be more or less enforced through documentation / interfaces, and with the addition of a way to register custom auth modules, we could effectively implement any kind of authentication.
Some pseudo code to illustrate:
// custom auth module

function customAuth(horizon, raw_options) {
  // do custom auth
  // ...

  // now generate token
  horizon._auth.generate(provider, user_id)

  // return jwt
}

module.exports = customAuth

// horizon server setup
const customAuth = require('../auth/custom');
const horizon_server = horizon(http_server, options);
horizon_server.registerAuthModule(customAuth);

Im with @ericb
I tried this out a little today and got pretty far by adding a new authType called 'custom' in the client and in the handshake on the server, note that i only use custom endpoints.
The above example looks like a good way of solving it.
Is there any other plans for this yet?
If not i can give it a try and you can see if there is something you want to keep from that.
I will need some kind of custom auth anyway.
Ping @deontologician

This is medium term, so not necessarily the next release. Before taking a crack at it @stellanhaglund, we might want to get a comment from @Tryneus on the api design. My understanding of the auth classes right now is fuzzy, so I can't provide too much useful commentary.

@marshall007 Is this in addition to having a supported set of OAuth providers? I like this API but I think it's too much boilerplate for developers who want to just add Google, Github, Twitter, etc to their application.

@dalanmiller yea so the idea is that we would use this API internally to pre-configure the default set of supported OAuth providers. You would only have to use the horizon.auth.strategy() API if you needed support for something else.
Server would initialize built-in strategies automatically:
// server code
horizon.auth.twitter = horizon.auth.strategy(...)
horizon.auth.github = horizon.auth.strategy(...)
// ...

Which get consumed by the user in one of the following ways:
## 1 - config
[auth.github]
id = "your_client_id"
secret = "your_client_secret"

// 2 - programmatic - built-in
horizon.auth.use(horizon.auth.twitter({ ... }))

// 3 - programmatic - custom
const SlackStrategy = horizon.auth.strategy({ name: 'slack', ... })
horizon.auth.use(SlackStrategy({ ... }))

Also note that while I only illustrated options specifically related to OAuth strategies, the idea is that protocol could be a variety of things (anonymous, unauthenticated, http-basic, etc) and hopefully this API would allow you to configure arbitrary authentication workflows. I just haven't had time to think through all that yet.

here is a pr for @ericb's suggestion.
right now it goes completely outside the default auth, allowing you to do whatever you want starting from the handshake this is beacause I want to use other than the internal tables for my users, but you could use those if you wanted to.
https://github.com/rethinkdb/horizon/pull/506

I think #64 is going to make this easier.


how do I search from scratch?

That's a very nice paper and thanks for the repo. Training scripts on searched architectures just worked, however, I have been unable to figure out which scripts to use to search the cells from scratch. Thank you.

Sorry for the inconvenience. Since our extension version is under review, we can not release the searching code right now. If you have any questions w.r.t. the searching procedure, I'm glad to help solve your problems.

Still under review? Could you share more info? Thanks

@MarioProjects  Journal papers usually need more than 6 months for the first round of review. Sorry about that.
If you have any questions, would you mind to open an issue or directly email me? I'm willing to help solve your questions.

@siddikui @MarioProjects Sorry for the inconvenience.
Please see the instructions at here https://github.com/D-X-Y/NAS-Projects#searching-on-the-nasnet-search-space
You can use GDAS to search on the DARTS search space by:
CUDA_VISIBLE_DEVICES=0 bash ./scripts-search/GDAS-search-NASNet-space.sh cifar10 1 -1

or on the NAS-bench-102 search space by:
CUDA_VISIBLE_DEVICES=0 bash ./scripts-search/algos/GDAS.sh     cifar10 -1


issue with repDiversity

So I have been trying this
imm_raref <- repDiversity(listall$data, "raref", .verbose = T, .do.norm = T, .norm = T, .quantile = c(0.025, 0.975))

and it's been stuck for a day now and is eating around 40g of ram
I got 98 samples ranging between 0 clonotypes reads to 65000 clonotypes reads.

Hello, @Ahmedalaraby20!
I'm Aleksandr Popov, a developer of Immunarch package. Thank you for using our software!
repDiversity function uses a lot of RAM, but there can be some solution how to deal with RAM shortage:

Split data into multiple samples:

single_sample_datasets <- split(listall$data, rep(seq_along(listall$data))[seq_along(listall$data)]) %>% lapply(function(data) { list(data=data, meta=NA) })

and then apply repDiversity to each of them separately.
2. Create a big swap file in your OS. Note that it may result in very long processing time.
Instructions for Linux: https://linuxize.com/post/create-a-linux-swap-file/
for MacOS: https://apple.stackexchange.com/a/1469
for Windows: https://superuser.com/a/793325/247351
Best regards,
Aleksandr


Fix: alphabetize the specs in the nav

alphabetize the API specs in the nav
Description

Testing instructions
Preview link:
Checklist

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

thank you for help sorting indent issues!


How can I get the camera intrinsics matrix from the camera definition

Hi,
I am trying to get a point cloud from the depth image, however, I am a bit confused about how to get the camera intrinsic matrix from the camera definition.
I think there are a few different ways to define the camera one is to use the fovy tag
<camera name="camera" mode="fixed" euler="-1.5708 0 3.1416" fovy="70"/>

I think this is the easiest way to define the camera. But it is unclear to me what is the translation between the intrinsic matrix and the fovy value.
Another way is to specify the focal lengths and principal points (defaults to "0 0") directly
<camera name="camera" mode="fixed" euler="-1.5708 0 3.1416" focal="0.01 0.01" resolution="1000 1000" sensorsize="9.6e-3 6e-3"/>

In this case, I am not sure whether sensorsize changes the computation of the intrinsic matrix.
If someone can help me understand this it would be greatly appreciated! Thanks in advance!

@quagla Just want to follow-up on this, thanks in advance!


Avoid using deprecated headers to silence compiler warnings.

The warnings are generated by boost/detail/iterator.hpp and boost/detail/no_exceptions_support.hpp. Also, updated location of addressof.hpp.

Looks good to me.


Documentation of rendering images using obj file is unclear

Thanks for using Kaolin!
Please refer to our recently added Differentiable Rendering Tutorial and file another bug if you run into issues.


[Feature-Request] Allow adding of entries by just specifying label & secret

Hi,
I set up 2FA on my LinkedIn account today and ran into some problem with FreeOTP.
Root cause is that LinkedIn doesn't display a QR-Code anymore (got removed when they where bought by Microsoft it seems). They just display the secret key and tell you to enter that into the Microsoft Authenticator App.
Google Authenticator seems to have such a feature too.
But FreeOTP lacks this. And as LinkedIn was providing no technical information about the algorithm and the like I wasn't able to make it work initially. LinkedIn reported that the entered code wasn't valid.
What worked however was to build the most basic otpauth:// string myself and generate a QR-Code from that.
otpauth://totp/LinkedIn:MyAccount?secret=BCUTUKT6MT33Y3FCHSMHU2XRHKLTX7RN
After scanning this QR-Code with FreeOTP the code was accepted by LinkedIn.
Is it possible to add such a feature to FreeOTP?
Some dialogue where I can only choose if it's TOTP or HOTP, specify the label, the secret and that's it? Omit all other parameters. If you need that, you can still use the already existing dialogue.
Would save me a few minutes even with termux and qrencode installed on my Android phone. ;-)

FreeOTP includes this 'Manual add' feature already. When you press the + Icon to add a token, press the pencil button instead of the QR code button. Can you please check if this works for you?

Hi, I tried using that feature. But I think the problem is that there are always the parameters for algorithm and interval included. And there is no way to make them optional.

If algorithm and period are not provided as part of the otpauth URI, then FreeOTP assumes SHA1 and 30, does the code fail when these values are selected ?

Deactivated 2FA on LinkedIn and set it up again. Choosing SHA1 and interval auf 30 works. I assumed SHA256 is the default is this is always pre-selected.

I agree. We should improve the manual token UI similar to https://stefansundin.github.io/2fa-qr/ which allows removing and adding the optional otpauth parameters such as algorithm, digits, and period.

That would be the best way IMHO.

I ran into the issue today and it still is quite a nuisance.
Setting up LinkedIn 2FA failed for me on the first try. Thanks to the well written instructions from @ChrLau my second try succeeded.

I ran into the issue today and it still is quite a nuisance. Setting up LinkedIn 2FA failed for me on the first try. Thanks to the well written instructions from @ChrLau my second try succeeded.

Thanks for the flowers. 😄 Reminded me to add a TL;DR to my post. As the whole "generate a QR code" part can be omitted if you figured out the parameters LinkedIn requires.


Fix v2 import path

This PR adds the v2 suffix to sqlhooks import path.
Once merged, I'll release a v2.0.1 patch so the v2 can be used by other modules

Coverage remained the same at 76.226% when pulling ab1d564f536721ae92f5af9c60ba0c302076ae84 on asdine:fix-modules into 9db12c77f3a7c25e1e8282f7dd9015d2eb13eb25 on gchaincl:master.

Coverage remained the same at 76.226% when pulling ab1d564f536721ae92f5af9c60ba0c302076ae84 on asdine:fix-modules into 9db12c77f3a7c25e1e8282f7dd9015d2eb13eb25 on gchaincl:master.


HTML entities should be stripped completely from link targets

If a heading contains HTML entities (e.g. >) only the & and the ; are stripped from the target URL. The text in-between is added to the link.
<test> is rendered as lttestgt, but should be test. The generated link is not valid.

Can you point to a link on the commonmark spec to help save some time? Where is this specified?

I don't know about the spec. But if I convert the markdown to HTML, the links are wrong.
I'm using gitbook. And it removes the entities from the links.

Ok, I just need more information to be able to fix it correctly. I can look into it

I'm about to fix this, but it occurred to me that if <test> is defined, we should either retain the entire tag, or strip the entire tag. It makes no sense to keep test, given that something like <div> would result in div being rendered. for now, I'm going to strip the entire tag. We can make this optional if there is a reason to do so.

If you strip 'test', then the link will be wrong nonetheless.

Meaning <test>? Did you look at the unit tests? Or check how GitHub does this? Or commonmark?


Import PDF in A4 format for better export experience

Is your feature request related to a problem? Please describe.
I want to import an A4 PDF file into js-draw. Each page should be automatically scaled to fit perfectly on an A4 page when I export the Markdown file to a PDF (via Joplin?).
Describe the solution you'd like
The end result should be a nice, annotated PDF. Each PDF page should be exactly one page when exported after editing. Assuming that the imported PDF was also A4 should make it easier?
Additional context
As a computer science student, I often have exercise sheets in PDF format with tables to fill in or blank areas for calculations. It would be great to import the PDF file, make the changes and then export it as the same PDF file as before.

Fixing this issue through js-draw or the Joplin plugin
Here are a few possible approaches for fixing this issue:

(Via Joplin): Support inserting each PDF page as a cropped view of the same resource.

This could be done by inserting multiple <img tags into the Joplin markdown source, cropping each with the style attribute.
Issue: Moving PDF pages in the js-draw canvas after import would break the cropped views.

Finish implementing and merge https://github.com/personalizedrefrigerator/js-draw/pull/67.

This would not allow mixing Joplin text content with js-draw drawings, but would allow editing arbitrary PDFs in js-draw without the need for import/export.
Issue: Exporting the containing note to PDF from Joplin would show only the first page (as is done with other embedded PDFs).

(Partial fix) Implement multi-page printing with ctrl-p.

I suspect that this would be the simplest to implement of the approaches listed here.

Workaround

The end result should be a nice, annotated PDF. Each PDF page should be exactly one page when exported after editing. Assuming that the imported PDF was also A4 should make it easier?

In the markdown editor, provided that the js-draw image is perfectly cropped to the original PDF pages, it should be possible to export to PDF by adding the following CSS to the end of a note, then exporting the note to PDF:
<style>
	/* Assumes that the Joplin note contains a single image */
	img { width: 100vw; }
	@page {
		size: auto; /* Change this to a4 or letter to match the original document size. */
		margin: 0;
	}
	* {
		margin: 0 !important;
		padding: 0 !important;
	}
</style>

I used draw-js to build a  PDF signing & annotation tool just for fun. I needed to disable a few functions in draw-js but it was quick and careless modifications.
https://editpdf.titaneom.dev
The idea is to make a canvas above the page and start drawing like normal..merge the canvas into the pdf.

Thank you for considering my feature request! I really appreciate the effort that goes into improving this awesome plugin. While reflecting on my use of the plugin, a few more ideas came to mind that I believe could further enhance the workflow, especially for those working with large PDFs and annotations.

Embed only the first page of PDFs: It would be great to have a setting that allows embedding only the first page of a PDF. When working with large documents, embedding all pages could make the note in Joplin incredibly bulky.

Mobile upload support: Since many users, myself included, prefer to annotate PDFs directly on tablets using a stylus, it would be very helpful to be able to upload PDFs via mobile devices. This would allow for a smoother workflow on the go without having to switch between devices.

Add pages for handwritten notes: Instead of writing handwritten notes next to the PDF page (which would probably not be printable), it would be great to have the ability to insert blank pages before or after any existing PDF page. This would allow users to add handwritten notes directly in the PDF flow, using the same format and layout as the original document. My suggestion would be to add a blank image with a dark border the same size as the PDF before/after. Being able to expand the workspace while maintaining print compatibility would be a huge productivity boost.


[TACHYON-1250] isStandbyMode() removed from MasterBase.java

https://tachyon.atlassian.net/browse/TACHYON-1250, isStandbyMode() is removed

Can one of the admins verify this patch?

Jenkins, add to whitelist

ok to test

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

+1 LGTM!


EdgeVLA

Is EdgeVLA ready to run zeroth-bot? If so, what are the hardware platform, installation method, and software settings?

Zeroth-bot does not support larger VLMs yet but we are working on the setup that will be able to run at least 1B parameter models.


Mouse distractor

add a feature to keep the mouse moving continuously to random locations or place it at a specified position for a long time.
This is possible using Mouse Hook which is really simple

Please add this feature.
It can be used to play pranks and have fun

there are more important stuff to  do insteed of playing
if all these important things have been done so you can think in trolling and fun stuff

I can't make out what u mean. Please be elaborate

I'd like to just ask to not reference unrelated issues because it makes it hard for many of us to resolve this issues when they are referenced in random areas. :(
I have to agree with @DragonzMaster . This Remote Administration Tool should certainly be for remote administration. Personally, I have very low interest in creating an application that is solely to cause frustration to someone else...

Just to clarify, I think this feature should be in a branch separate from this project.

Please only suggest useful features, not for trolling. :)


Add sanity checks for variables?

Dear @danielhuppmann,
I wonder whether it is planned or advisable to add some "sanity checks" for variables:
- Consumption:
    description: total consumption of all goods, by all consumers in a region
    unit: billion US$2010/yr
    min: 0
- Consumption Share|Food:
    description: share of consumption allocated to food
    unit: %
    min: 0
    max: 100

There were such attempts in CDLINKS and I think that would be really useful (and could in the future also be checked in the submission process):

Yes, and pyam v2.1 added a validate() method that will be able to directly use attributes as in your suggestion. Just need some free time on our hands to implement it in nomenclature, and come up with a good syntax for the yaml files: shares should always be between 0 and 100, but global CO2 emissions should be between 35000 and 45000 Mt only in 2020 (but not apply the validation to other years).

-> https://github.com/IAMconsortium/common-definitions/pull/104


created todo array of  object

🛠 Fixes Issue : " #3  "

👨💻 Changes:

created a todo object
linked the js to index.html

✔ Check List

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📷 Screenshots

happy contributing :heart_eyes:


[Azure Spring Apps] Add StandardGen2 tier

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Hi @zhoxing-ms , would you pls help to review this PR? We plan to release this PR on 3/15, pls don't merge this PR before that.


Change default CDK overlay container for NG-ZORRO components

What problem does this feature solve?
changing the default CDK overlay container
What does the proposed API look like?
we can change the CDK OverlayContainer by pass provider like this
providers: [ { provide: OverlayContainer, useClass: AppOverlayContainer} ]

can we pass similar provider to ng-zorro just like NZ_ICONS, NZ_ICON_DEFAULT_TWOTONE_COLOR ...
providers: [
        { provide: NZ_OVERLAY_CONTAINER, useClass: AppOverlayContainer }, //this will pass the AppOverlayContainer to be used as provider for OverlayContainer inside ng-zorro module
        { provide: NZ_ICON_DEFAULT_TWOTONE_COLOR, useValue: '#00ff00' },
        { provide: NZ_ICONS, useValue: icons }
]

Any update ?

@simplejason any news?

Any Update?


add token string post extraction function

This PR adds the ability to manipulate a token string after it has been extracted from a header.
Example:
oidcHandler := oidcgin.New(
	options.WithIssuer(cfg.Issuer),
	options.WithFallbackSignatureAlgorithm(cfg.FallbackSignatureAlgorithm),
	options.WithRequiredClaims(map[string]interface{}{
		"cid": cfg.ClientID,
	}),
	options.WithTokenString(
		options.WithTokenStringHeaderName("Authorization"),
		options.WithTokenStringTokenPrefix("Bearer "),
	),
	options.WithTokenString(
		options.WithTokenStringHeaderName("Sec-WebSocket-Protocol"),
		options.WithTokenStringTokenPrefix("base64url.bearer.authorization.k8s.io."),
		options.WithTokenStringListSeparator(","),
		options.WithTokenStringPostExtractionFn(func(s string) (string, error) {
			bytes, err := base64.RawStdEncoding.DecodeString(s)
			if err != nil {
				return "", err
			}

			return string(bytes), nil
		}),
	),
)

Closes #47

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 32 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.8%) to 93.609%

Totals

Change from base Build<PHONE_NUMBER>:
0.8%

Covered Lines:
703

Relevant Lines:
751

💛  - Coveralls


Fix Parenthesis Removal on Autocomplete

Original Issue: https://github.com/godotengine/godot/issues/60744
There was a small bug in which parenthesis were not closed if a new function was invoked inside another function. This PR fixes that, with a small video below highlighting the fix.
https://user-images.githubusercontent.com/22790704/170866084-5e60730b-dd24-47b0-bbe8-9396edfb22a7.mov
Bugsquad edit:

Fixes https://github.com/godotengine/godot/issues/60744

Interesting. I'll look into it later today, currently at work. Thanks for the quick review!

@Paulb23 Sorry, I'm testing it out, and I'm not understanding what is the expected behaviour. What's the input sequence that results in an issue, and what is the expected result?

@Paulb23 Looking into this more closely, by default there's a bit of a weird behaviour in the $"." case:

If I type $", and then enter the suggestion, it correctly auto-completes to $".";
If I type $". and then enter the suggestion, it incorrectly auto-completes to $"."";

With the changes in this PR, it also weirdly inverts the order of the incorrect occurrence. Now in the first scenario there's an error, but in the second on, it is fine.
I'll look into a way of fixing both errors at once.

Ok, so I tested out some new changes, that seemingly don't break compatibility, while also fixing the weird behaviour I described that would happen with either " or '. Currently in master, this is how code completion is working at the time of writing this:
https://user-images.githubusercontent.com/22790704/170866061-31d060ad-75a0-4132-9e74-d63142573758.mov
And here's how it works, with the changes applied in this patch:
https://user-images.githubusercontent.com/22790704/170866084-5e60730b-dd24-47b0-bbe8-9396edfb22a7.mov

I don't think this is the right change. Why is this change for parentheses in particular? What happens if we have an autocomplete with brackets or something?

@nathanfranke I totally get what you're saying, and yeah, something does feel a bit icky with the solution I gave. However, is there any case in which this approach wouldn't work? Asking so I can genuinely test and improve :D
This still works in case of opening brackets, and things like that, but for example, if we use auto-completion for an array, would the brackets appear? I don't recall this ever being a feature, or anything.
Still, I went with this approach, because changes in other places could have much larger ramifications. For example, if I did a change on the _get_auto_brace_pair_close_at_pos there could be wider implications on other sections of the code, whereas with this small change in this specific spot, nothing else would be affected. But if you have any other approach ideas, I'll gladly test them out!

Superseded by #70297.


Need to browse container's file system via ssh

Need to construct file system view of a container and for every change of directory need to get the current file system of a current directory of a container.
https://www.ssh.com/manuals/server-zos-user/61/server-zos-wingui1.gif

Two-sided window, one-side is for browsing local directories, the other is for remote directories.
UI:


Convenience methods calling protocol methods should Dispose RequestContent?

Feel free to double check me, but I believe we should be calling Dispose on RequestContent instances we create in the convenience layer of DPG libraries.
Here is my thinking:

RequestContent is IDisposable
For protocol methods, the caller owns the RequestContent and is responsible for disposing it

Do/should we show this in generated samples?

For convenience methods, we create the RequestContent in the model's serialization routine in the convenience method

Since we created the RequestContent, we're responsible for calling Dispose on it

It doesn't look like we're putting the value returned from ToRequestContent in using statements:

https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/src/Custom/OpenAIClient.cs#L155
https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/openai/Azure.AI.OpenAI/src/Generated/OpenAIClient.cs#L51

If we agree with the above, the action items here would be:

[ ] Show RequestContent in protocol method generated samples with using statement
[ ] Add using statement to RequestContent created in convenience methods that call protocol methods

@annelo-msft sounds reasonable and tests don't complain.


Exception on Dispose

I have a button defined in XAML as:
                   <buttoncircle:CircleButton                          Grid.Row="8" Grid.Column="1"                         x:Name="infoButton"                         Icon="ic_info"                          TextColor="White"                          FontSize="24"                         HeightRequest="24"                         WidthRequest="24"                          BorderThickness="1"                         BackgroundColor="#0076fa"                         VerticalOptions="Center"                         HorizontalOptions="Center"                         Command="{Binding InfoCommand}" />
It displays perfectly and is used to display some information text on a new page. But if I cancel from the page even without tapping the button I get a null reference exception that appears to be an issue triggered by trying to Dispose the button.

at ButtonCircle.FormsPlugin.iOS.ButtonCircleRenderer.OnElementChanged (Xamarin.Forms.Platform.iOS.ElementChangedEventArgs1[TElement] e) [0x00022] in <a4abc774e1e04cf88321114ac113a4d8>:0    at Xamarin.Forms.Platform.iOS.VisualElementRenderer1[TElement].SetElement (TElement element) [0x00118] in :0
at Xamarin.Forms.Platform.iOS.VisualElementRenderer1[TElement].Dispose (System.Boolean disposing) [0x0008c] in <eb211aa32ac8429489411f4d642db9c2>:0    at Xamarin.Forms.Platform.iOS.ViewRenderer2[TView,TNativeView].Dispose (System.Boolean disposing) [0x00000] in :0
at Xamarin.Forms.Platform.iOS.ButtonRenderer.Dispose (System.Boolean disposing) [0x00036] in :0
at Foundation.NSObject.Dispose () [0x00000] in /Users/builder/data/lanes/5520/51128b8c/source/xamarin-macios/src/Foundation/NSObject2.cs:133
at Xamarin.Forms.Platform.iOS.Platform.DisposeModelAndChildrenRenderers (Xamarin.Forms.Element view) [0x00038] in :0
at Xamarin.Forms.Platform.iOS.Platform+d__23.MoveNext () [0x0015f] in :0
--- End of stack trace from previous location where exception was thrown ---

Is there something I'm missing here?

how do you cancel button? can you show me your code please?

I'm not sure I understand the question. I declare the button in xaml. I'm using FreshMvvm framework for the app so when I want to navigate back to the previous page I use:
 await CoreMethods.PopPageModel(data: true, modal: true, animate: true);

I'm assuming FreshMvvm Dispose's the page which maybe attempts to dispose the button?

https://bugzilla.xamarin.com/show_bug.cgi?id=21457 is an old reference but may be relevant?

Check latest version (1.2.52). I tested this version on an IPhone with iOS 11, Samsung Galaxy S8 with Android 7.1 and in my computer with Windows 10, it's work fine.
Please tell me if you have a issue again.


Selenium hub+Appium+winappdriver exits unexpectedly

Hello,
I am trying to run the grid setup in my local to run test on calculator app. It fails with the error given below.
[WinAppDriver] WinAppDriver exited unexpectedly with code<PHONE_NUMBER>, signal null
[debug] [WinAppDriver] WinAppDriver changed state to 'stopped'
Steps followed:

Started the hub
java -jar .\selenium-server-standalone-3.11.0.jar -role hub
Started the node
appium --nodeconfig '.\nodeconfig.json'

Nodeconfig.json:
{
"capabilities":
[
{
"browserName": "",
"maxInstances": 2,
"platform":"WINDOWS",
"platformName": "WINDOWS",
"deviceName": "WindowsPC",
"app": "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"
}
],
"configuration":
{
"cleanUpCycle":2000,
"timeout":30000,
"proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
"url":"http://localhost:4723/wd/hub",
"host":"localhost",
"port":4723,
"maxSession":3,
"register":true,
"registerCycle":10000,
"hub": "http://localhost:4444/grid/register",
"hubPort":4444,
"hubHost":"localhost",
"nodeTimeout":120,
"nodePolling":2000
}
}
However providing the "url" of other remote machines, it works. In local this error exists.
WinAppDriver version: 1.0
Appium version: 1.7.2
Appium-windows-driver: 1.0.0
Running the test gives below logs.
Debug log:
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"Microsoft.WindowsCalculator_8wekyb3d8bbwe!App
","browserName":"","deviceName":"WindowsPC","maxInstances":1,"platform":"WINDOWS","platformName":"windows","server:CONFI
G_UUID":"8d9e4b12-3c9d-45d7-920d-a98f6e9827ca"},null,{"desiredCapabilities":{"app":"Microsoft.WindowsCalculator_8wekyb3d
8bbwe!App","browserName":"","deviceName":"WindowsPC","maxInstances":1,"platform":"WINDOWS","platformName":"windows","ser
ver:CONFIG_UUID":"8d9e4b12-3c9d-45d7-920d-a98f6e9827ca"},"firstMatch":[{"browserName":"","platformName":"windows","serve
r:CONFIG_UUID":"8d9e4b12-3c9d-45d7-920d-a98f6e9827ca"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at<PHONE_NUMBER>483 (12:17:34 GMT+0530 (India Standard Time))
[Appium] Merged W3C capabilities {"desiredCapabilities":{"app":"Microsoft.Window... into desiredCapabilities object {"ap
p":"Microsoft.WindowsCalculator_8wekyb3d8bb...
[Appium] Creating new WindowsDriver (v1.0.0) session
[Appium] Capabilities:
[Appium]   app: Microsoft.WindowsCalculator_8wekyb3d8bbwe!App
[Appium]   browserName:
[Appium]   deviceName: WindowsPC
[Appium]   maxInstances: 1
[Appium]   platform: WINDOWS
[Appium]   platformName: windows
[Appium]   server:CONFIG_UUID: 8d9e4b12-3c9d-45d7-920d-a98f6e9827ca
[BaseDriver] The following capabilities were provided, but are not recognized by appium: app, browserName, maxInstances,
platform, server:CONFIG_UUID.
[BaseDriver] Session created with session id: fe6dcc80-17ef-4f8c-affb-a6cc517eb384
[WinAppDriver] You must use WinAppDriver version 1.0
[WinAppDriver] Verifying WinAppDriver version 1.0 is installed via comparing the checksum.
[debug] [WinAppDriver] WinAppDriver changed state to 'starting'
[WinAppDriver] Killing any old WinAppDrivers on same port, running: FOR /F "usebackq tokens=5" %a in (netstat -nao ^| f indstr /R /C:"4724 ") do (FOR /F "usebackq" %b in (TASKLIST /FI "PID eq %a" ^| findstr /I winappdriver.exe) do (IF NO
T %b=="" TASKKILL /F /PID %a))
[WinAppDriver] No old WinAppDrivers seemed to exist
[WinAppDriver] Spawning winappdriver with: 4724/wd/hub
[WinAppDriver] WinAppDriver exited unexpectedly with code<PHONE_NUMBER>, signal null
[debug] [WinAppDriver] WinAppDriver changed state to 'stopped'
[HTTP] --> GET /wd/hub/status {}

Any update on this? My tests execute without issue when running WinAppDriver directly but I cannot run after attempting to run in a grid.

Still facing the same issue. No updates yet.
On Tue, May 1, 2018 at 2:24 AM, brendanconnolly<EMAIL_ADDRESS>wrote:

Any update on this? My tests execute without issue when running
WinAppDriver directly but I cannot run after attempting to run in a grid.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/WinAppDriver/issues/395#issuecomment-385525533,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQgfwzGxC9ixFio7fbWz95IM4h0ILmIGks5tt3nogaJpZM4TPedc
.

3221225477 is 0xc0000005 which is STATUS_ACCESS_VIOLATION from ntstatus.h among other things. So it's probably an AV bubbling up from who-knows-where in the OS. You may have some luck if you try to repro while running procmon and looking for the root cause of an AV.
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon
Sorry I can't offer more help. I just happened to see this while trying to solve my own problem and thought that info might help. Good luck!


Tweak the relayMessage Function to Cost Roughly the Same for All Scenarios

Codecov Report

:exclamation: No coverage uploaded for pull request base (target-beta4@5230dcc). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             target-beta4       #33   +/-   ##
================================================
  Coverage                ?   100.00%
================================================
  Files                   ?         7
  Lines                   ?       138
  Branches                ?        40
================================================
  Hits                    ?       138
  Misses                  ?         0
  Partials                ?         0

Flag
Coverage Δ

unittests
100.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[Technical Question] Is there any way to know from device side after authentication if a device is already connected ?

Hello,
With my company we're trying to use IoT Hub to develop a solution where basically there will be gateways that will connects to bluetooth peripherals from times to time (if on range and there is something to do with).
For that purpose, we've designed a solution where we will have a IoT Hub device per gateway and one per bluetooth peripheral. The problem is that sometimes, two gateways will see the same bluetooth peripheral and attempt to connect to the same device at the same time.
What I've seen is that the two devices are constantly reconnecting to the hub. What I would like to have is an indicator that will, after authentication tell me if there is already another connection to this device. Is there such an option available ?
Thanks for your help

There is an attribute on the client called .connected that can tell you the connection status.
e.g.
client = IoTHubDeviceClient.create_from_connection_string("<your string>")
client.connect()
if client.connected:
    # do things

This indicator is not the best because the device keep disconnecting and reconnecting and so it changes over time but I can use it like this:
    # Connect the device to the flux
    async def connect_device(self):
        connection = await self.device_client.connect()
        tries: int = 30
        nb_disconnected: int = 0
        for i in range(tries):
            sleep(0.1)
            if not self.device_client.connected:
                nb_disconnected += 1
        self.__logger.info(f"Authenticating {self.device_id}: disconnected {nb_disconnected} times")
        if nb_disconnected > 0:
            self.__logger.info(f"Authenticating {self.device_id}: raising DeviceAlreadyConnected")
            await self.device_client.shutdown()
            raise DeviceAlreadyConnected()
        return connection

I don't know if this is the best way but it seems to work. Do there is a retry policy that we can associate with the connect ?
Thanks for your help

Currently we don't support automatic retry of the .connect() operation. However, when a device becomes successfully connected, and then later the connection is dropped for some reason (intermittent network failure, for example), it will automatically try and reconnect by default. This is likely what you are seeing.
You can turn this behavior off if you want to control connection completely manually by adding connection_retry=False as a keyword argument to whichever factory method you are using to create the client (e.g. create_from_connection_string).


[RESOLVED] High ICMP ping response time

Problem started at 09:21:14 on 2023.06.16
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Operational data: Value: 400ms
Original problem ID: 28847
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23132&eventid=28847

Problem has been resolved in 5m 0s at 09:26:14 on 2023.06.16
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Original problem ID: 28847


fix (progress): use the expected statusses from endpoint instead of WS

fixes: #295

@edewit will this patch still work while the WS is still sending the events or the backend must change before this PR is applied?

[tets]


Auth JWT

Follow JWT doc: https://fastapi.tiangolo.com/tutorial/security/first-steps/
Create register user

Follow JWT doc: https://fastapi.tiangolo.com/tutorial/security/first-steps/ => DONE

Create register user => "ERROR: Exception in ASGI application"

Need to clean and understand jwt code

Register API done


management Web UI on localhost:4001 is not working

Hey, great work first of all!
My spider works fine but the interface is not running.
I tried to wire to Bandit Am i missing something?
The API is working

Also /new is working

But the management interface (index/list page), (this one), is not working.

Relevant code:
# lib/application.ex

defmodule MyApp.Application do
  # See https://hexdocs.pm/elixir/Application.html
  # for more information on OTP Applications
  @moduledoc false

  use Application

  @impl true
  def start(_type, _args) do
    children = [
      {Bandit, plug: Crawly.API.Router}
    ]

    # See https://hexdocs.pm/elixir/Supervisor.html
    # for other strategies and supported options
    opts = [strategy: :one_for_one, name: Netskope.Supervisor]
    Supervisor.start_link(children, opts)
  end
end

# config/config.ex

import Config

config :crawly,
  closespider_timeout: 10,
  concurrent_requests_per_domain: 8,
  closespider_itemcount: 100,
  log_dir: "./tmp/spider_logs",
  log_to_file: true,
  start_http_api: true,

  middlewares: [
    Crawly.Middlewares.DomainFilter,
    Crawly.Middlewares.UniqueRequest,
    {Crawly.Middlewares.UserAgent, user_agents: ["Crawly Bot", "Google"]}
  ],
  pipelines: [
    # An item is expected to have all fields defined in the fields list
    {Crawly.Pipelines.Validate, fields: [:url]},

    # Use the following field as an item uniq identifier (pipeline) drops
    # items with the same urls
    {Crawly.Pipelines.DuplicatesFilter, item_id: :url},
    Crawly.Pipelines.JSONEncoder,
    {Crawly.Pipelines.WriteToFile, folder: "./tmp", extension: "jl"}
  ]

ty

I think i found the issue, i created a PR for it: https://github.com/elixir-crawly/crawly/pull/279
However, even if the interface is loading, now

The list of spiders is empty ..

Fixed via this PR

I was also a bit confused because in the docs it is stated that the management interface is on by default
https://hexdocs.pm/crawly/0.16.0/configuration.html#start_http_api-boolean

start_http_api? :: boolean()
default: true

https://hexdocs.pm/crawly/0.16.0/readme.html#simple-management-ui-new-in-0-15-0-management-ui

NOTE: It's possible to disable the Simple management UI (and rest API) with the start_http_api?: false options of Crawly configuration.

But in reality it looks to me like it's off by default:
https://github.com/elixir-crawly/crawly/blob/f863b5b278b9c5e78f10c3a3d576b772a7397455/lib/crawly/application.ex#L36C1-L36C66

I think I have addressed the last issue, and now the api is enabled by default


A Customized Cloth Texture Generation Pipeline for 3D Virtual Try-On

A Customized Cloth Texture Generation Pipeline for 3D Virtual Try-On is a project aimed at generating realistic and customizable cloth textures for use in 3D virtual try-on applications. The primary goal is to allow users to visualize how different textures and patterns will look on 3D models of clothing, enhancing the online shopping experience.

Assign me the work. I'm willing to contribute to the work.

Hi @UppuluriKalyani
I’m interested in contributing to the Customized Cloth Texture Generation Pipeline for 3D Virtual Try-On project. My plan is to focus on generating realistic and customizable cloth textures that will enhance the user experience in virtual try-on applications.
I will explore current methods for generating cloth textures and identify gaps that we can fill with new ideas.
I will work on designing and implementing a pipeline that allows users to visualize different textures and patterns effectively on 3D models.
I will conduct thorough testing to ensure that the generated textures are realistic and user-friendly, optimizing the pipeline for performance.

@JahnaviDhanaSri Go for it!

Thankyou!
On Wed, 2 Oct 2024 at 22:22, Kalyani Uppuluri @.***>
wrote:

Assigned #61 https://github.com/UppuluriKalyani/ML-Nexus/issues/61 to
@JahnaviDhanaSri https://github.com/JahnaviDhanaSri.
—
Reply to this email directly, view it on GitHub
https://github.com/UppuluriKalyani/ML-Nexus/issues/61#event-14492156236,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCKE3GUW34MTHQXCCYZ5H3LZZQQGJAVCNFSM6AAAAABPHZMT3OVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGQ4TEMJVGYZDGNQ
.
You are receiving this because you were assigned.Message ID:
@.***>


chunk.Has() is possibly broken

Hi.
I was testing your ECS framework and it looks great. But I found some weird behavior about Chunk.Has() which returns me false for a component which has not been registered as first. I see all my components in chunk, but is I check chunk.Has() it returns false, for chunk.Has() it returns true.

Is this a bug or I did something wrong?
Thanks.

Thanks! Can you eloborate further, what exactly did you do? And is there a way to replicate this? ^^

And? ^^


[Question] Are lambda event handlers available for the GC?

Hi,
This is more of a question so feel free to close it afterwards.
If we register a lambda event handler I assume it will be GCed because there's no one holding a strong reference to it, right?
I'm not too familiar with how lambdas work behind the scenes, so that's why I'm asking.
Thank you,
Cosmin

If we register a lambda event handler I assume it will be GCed because there's no one holding a strong reference to it, right?

There's no obvious answer... it depends if your lambda expression captures local variables, instance fields, etc.
In general, when using WeakEvent, you shouldn't use lambda expressions to subscribe to events, or if you do, you should keep a reference to it yourself.

Closing due to inactivity


enhance mobile view

Done directly done main with commit bb18feb9897dd98ae13d6a5233697901c17927b7

Done directly done main with commit https://github.com/aviiciii/qr/commit/bb18feb9897dd98ae13d6a5233697901c17927b7


Scheduled maintenance : Experiencing downtime over miruku

We have power issues (electrical), currently fixing it
Might experience downtime

The server is still up, however you might experience lags or disconnects

Resolved: Miruku is back up in 4287b48.


problemMatcher support multiline messages

It would be nice be able to setup a custom problem matcher for commands that output multiline problems. For example Ruby RSpec.

VSCode Version: 1.11.2
OS Version: OSX 10.12.4

Steps to Reproduce:

Setup a task to run rspec (example: tasks.json )
Write a failing test
Observe failings in the output but no problems detected.

The failure and the offending files are not on the same line in the RSpec file.
This may be beyond the scope of the problemMatcher but it would be a really nice addition if possible.
Maybe an option in the pattern config to switch to multiline mode where the full output is used against the pattern.
Example output from RSpec with 2 failures.
Failures:
  1) POST /viewings/1/viewing_feedback for a valid lead & viewing creates a viewing_feedback
     Failure/Error: expect(ViewingFeedback.counts).to eq 1
     NoMethodError:
       undefined method `counts' for #<Class:0x007fea76d2b488>
       Did you mean?  count
     # /Users/robaldred/.rvm/gems/ruby-2.4.0/gems/activerecord-5.0.1/lib/active_record/dynamic_matchers.rb:21:in `method_missing'
     # ./spec/features/post_viewing_feedback_spec.rb:56:in `block (3 levels) in <top (required)>'
  2) POST /viewings/1/viewing_feedback for an invalid lead creates returns not found
     Failure/Error: expect(last_response.status).to eq 200
       expected: 200
            got: 404
       (compared using ==)
     # ./spec/features/post_viewing_feedback_spec.rb:28:in `block (3 levels) in <top (required)>'
Finished in 5.01 seconds (files took 1.16 seconds to load)
147 examples, 2 failures
Failed examples:
rspec ./spec/features/post_viewing_feedback_spec.rb:52 # POST /viewings/1/viewing_feedback for a valid lead & viewing creates a viewing_feedback
rspec ./spec/features/post_viewing_feedback_spec.rb:25 # POST /viewings/1/viewing_feedback for an invalid lead creates returns not found

Have you taken a look at the docs on this: https://code.visualstudio.com/Docs/editor/tasks#_defining-a-multiline-problem-matcher

I have, I believe it's not possible to currently create a problem matcher to match the output I posted above because the loop attribute is only available on the final pattern, however the output includes multiple failures over multiple lines.


Remove forced suffix for ECR REPOs

A reference to the issue / Description of it
Remove the force suffix -ecr-repo from the repo name.
ECR does call it the repo name, but it is technically the image name.
How does this PR fix the problem?
Removes the forced suffix - adds a ignore on the name so that existing repos are unffected.
How has this been tested?
Please describe the tests that you ran and provide instructions to reproduce.
{Please write here}
Deployment Plan / Instructions
Will this deployment impact the platform and / or services on it?
{Please write here}
Checklist (check x in [ ] of list items)

[ ] I have performed a self-review of my own code
[ ] All checks have passed
[ ] I have made corresponding changes to the documentation
[ ] Plan and discussed how it should be deployed to PROD (If needed)

Additional comments (if any)
{Please write here}

For context...

Not really a problem per se, but..
If I've got an image called delius-foobar and I build it and push it to both ECR and another registry, say GHCR.
I can push it to GHCR as ghcr.io/ministryofjustice/<repo_name>/delius-foobar:latest
but to ECR, I have to push it as  .dkr.ecr.eu-west-2.amazonaws.com/delius-foobar-ecr-repo:latest
So the image name has to include -ecr-repo which seems strange as it's the image name, not the repo name. But in ECR, it's kind of both? Personally I feel like it'd make more sense if the image/repo name didn't include any suffix at all, and given the registryUri already has .dkr.ecr it seems redundant anyway.


Cannot add new etcd node to k8s 1.17 cluster after an existing etcd node is powered down and deleted.

What kind of request is this (question/bug/enhancement/feature request):
Bug
This bug is not seen in k8s v1.16.3-rancher1-1
Steps to reproduce (least amount of steps as possible):
Create a custom EC2 cluster with 3 etcd nodes, 1 control, and 2 worker nodes with k8s v1.17.0-rancher1-1 (experimental)
Stop  one of the etcd the node from AWS console.
Delete this etcd node from Rancher UI.
Provision a new etcd node.
Result:
The new etcd node is stuck registering. The cluster is stuck updating.

2019/12/17 18:36:12 [ERROR] ClusterController c-vvh84 [cluster-provisioner-controller] failed with : Failed to reconcile etcd plane: Failed to create etcd client for host [<IP_ADDRESS>]: unexpected status code 404

A 404 is thrown on a different etcd node.
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): v2.3-head version 78ed261c6
Installation option (single install/HA): Single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Custom

Kubernetes version (use kubectl version): k8s v1.17.0-rancher1-1 (experimental)

Docker version (use docker version): 19.03

We use the v2 API to query etcd members and this is disabled by default in 3.4: https://github.com/etcd-io/etcd/pull/10935
Workaround until there is a fix is to use the following in the cluster config:
services:
  etcd:
    extra_args:
      enable-v2: "true"

Or for Rancher cluster API
"extraArgs":{"enable-v2":true}

The workaround fixes this issue in rancher\rancher:v2.3-head version 5e20b72cf

The bug fix is verified with Rancher server rancher\rancher:master-head version 7578b3c76 and with rancher\rancher:v2.3-head version 7ff247737
Steps:
Create a custom EC2 cluster with 3 etcd nodes, 1 control, and 2 worker nodes with k8s v1.17.0-rancher1-1 (experimental)
Stop one of the etcd the node from AWS console.
Delete this etcd node from Rancher UI.
Provision a new etcd node.


Update README.md

Translator --> DeepL --> google play ticked and added google play deepl link. also i added official website of deepl

Hi!
Thanks for the contribution.

The official page is right, but it's not the official page to the app.
Same for Google Play because that app is not open source and does not come from the same developer.

This is an unofficial Android app for DeepL translation.
It uses a technology called WebView, an Android GUI component, to make it look like a native app.
JavaScript is used to hide all but the most necessary elements.

Hi!
Thanks for the contribution.

The official page is right, but it's not the official page to the app.
Same for Google Play because that app is not open source and does not come from the same developer.

This is an unofficial Android app for DeepL translation.
It uses a technology called WebView, an Android GUI component, to make it look like a native app.
JavaScript is used to hide all but the most necessary elements.

Okay got it, my bad i didnt realize that.  Good luck with your repo! If another idea comes to my head i wont hesitate to contribution. Have a nice day.

That's okay, maybe I should tell that's unofficial, and it's not 100% open source (only the front-end is).

If another idea comes to my head i wont hesitate to contribution. Have a nice day.

Of course, and you too!


use portable shebang for scripts

I'm on a linux distribution where the assumption that bash is in /bin/bash is not true.
thus i propose to use #!/usr/bin/env bash instead for portability reasons.

https://github.com/keith/pre-commit-buildifier/releases/tag/<IP_ADDRESS>

thanks!


Lumina Debian #7

add missing build dependency on libxcb-composite0-dev
add runtime dependency on usbmount

usbmount is an udev based tool that automagically mounts external devices.

Looks good! Thanks for sending that in!


Hide Filename

Hi
on the bigger photo page it would be nice if the title wouldn't have the filename integrated with it:
<img src="_data/i/upload/xyz.jpg" width="792" height="594" alt="xyz" id="theMainImage" usemap="#mapmedium" title="Phototitle - filename.jpg">
You see there is written the phototitle - filename and that is very annoying in my case.
Is there a way to remove this?

In picture_content.tpl I could simply remove {$ALT_IMG} in the photo title but I'm not sure about the consequences of this...


Code for supervised contact prediction

Hi guys,
Congrats for the excellent work and great results.
May I ask do you plan to release the code for supervised contact prediction?
Thanks in advance.

Unfortunately we have no plans to release the supervised contact prediction at this time.


RHOAS view shows strings for the RHOSAK

@christiemolloy - Changing this now:
Red Hat OpenShift Streams for Apache Kafka is a managed cloud service that provides a streamlined developer experience for building, deploying, and scaling real-time applications in hybrid-cloud environments.

To
Red Hat OpenShift Application Services is a set of managed cloud services that provide a streamlined developer experience for building, deploying, and scaling real-time applications in hybrid-cloud environments.

FYI @DuncanDoyle

CC @christiemolloy

Actually card stays as managed services - not as Kafka. This needs to be corrected.

Taking this work on me.
@christiemolloy I will revert some of your changes that were merged to master and create PR with fixes.
Enabled markdown and icons


bump starlette & fastapi req.

What does this PR do?
Fixes #17563

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

cc @tchaton

@ethanwharris could you pls help with the serialization issue?

@ethanwharris @tchaton @awaelchli, any suggestion on how to approach this issue? :rabbit:

let's address it in #17808


[Feature][Config UI] Show task names of dora plugin

Search before asking

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

Description
When executing dora tasks, the task names are not shown on the blueprint status page.

Use case
Users want to know which tasks are running, so task names should be added.
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I'll take it.

Hi @Startrekzky, Do you think this will meet your needs?
The backend partner needs to return more content if it can't be achieved.


NMS.KK.ACCESS.012 - Allowing change of schedule if DOB/LMP change

Kilkari shall support change of schedule of weekly messages based on update of DOB/LMP.

This ticket is potentially a can of worms and I'm trying to decide how many worms to let out. :)
Cases to think about:

If DOB/LMP changes and user has an active child/pregnancy pack then we update the start date -- that part is clear.
If user has a completed pack, but the date change would imply that the pack would still be active, should we reactivate? (I assume so -- or alternatively we could create a new subscription)
If user has a deactivated pack, I assume the date change has no effect on subscriptions for that pack
If a user has no subscriptions, should we create a subscription as a result of the date update?

Are these the kind of questions we should first decide to answer and then ask IMI or BBS about, or just ask IMI BBC?

Asking for clarity isn't bad.  We probably should also provide suggestions.
My answers would be:

Yes, update start date
I would leave it completed.  That means they've heard the messages, so why send them again
Agreed, leave it deactivated
I think so.  If a DoB is added then I think that means they have a kid so we subscribe them

I'll go with @larubbio 's answers for now (although I'm not sure I agree with the second point -- what if they have another kid/pregnancy?) because the code is relatively straightforward if I do. But I'll also flag this ticket for Pankaj to take a look in case he can help us get spec clarity/agreement.

Would that come as a change of date, or as a new mcts upload?  You could
add logic and if the change of birthdate is more than 9 months then assume
it is a second kid.

I'm not sure whether it would be a date change or new upload -- ideally a new upload because that case would be clear. For now I won't reactivate (or create new subscriptions) in the case of a completed subscription until we get more input.


rpc调用异常问题

Q
A

Bug report?
yes/no

Feature request?
yes/no

Swoft version
x.y.z

Swoole version
x.y.z (by php --ri swoole)

PHP version
x.y.z (by php -v)

Runtime environment
Win10/Mac/CentOS 7/Ubuntu/Docker etc.

Details
前面携带Rpc call error!code=500 message=asdsadas data={"asdasd123":"asdsa123","jsonrpc":"2.0"} pool=alisms.pool version=2.0

Describe what you are trying to achieve and what goes wrong.

// paste output here

Provide minimal script to reproduce the issue

// paste code

@zghsh123 详细描述下你的问题，以及如何复现


Node.js coverage countdown

We had been on a marathon with @jculvey and @IgorMinar on implementing all Node.js modules. Made track list of last items
Modules to add:

[ ] node:assert and node:assert/strict
[ ] node:inspector/promises
[ ] node:repl

Modules to complete exports: (coverage might be wrong and mostly others are internal _ missing exports)

[ ] node:async_hooks
[ ] node:cluster
[ ] node:console
[ ] node:events
[ ] node:https
[ ] node:module
[ ] node:net
[ ] node:path
[ ] node:process (i guess test is faulty!)
[ ] node:punycode`
[ ] node:stream (again i guest test)
[ ] node:stream/web
[ ] node:url
[ ] node:wasi (test?)
[ ] node:zlib

@jculvey feel free to update if you want to pick them!


Convert to f-strings

Converted string concatenation and .format() to modern f-strings. I used flynt with the -tc option to accomplish this conversion automatically. Flynt requires python 3.8+ for that option so I just made a temporary virtual environment to do the conversion.
(venv) $ flynt -tc .
https://github.com/ikamensh/flynt#command-line-options

Is this something we can/should enforce with flake8?

We should probably do that. I'll make a ticket to do the appropriate amount of research but enforcement will not be part of this PR.


Add missing "concat" operation for lazy series

This PR adds concat/2 operation for LazySeries.

Thank you @nallwhy! If you want to explore a PR where only one of them is a lazy series, that will also be welcome. :)

@josevalim Is there any reference for that? I have no idea how to implement that.

I thought add was such an example, but maybe I am mistaken?

I thought add was such an example, but maybe I am mistaken?

add/2 can take Series/LazySeries + number but not Series + LazySeries.
And the broadcasting happens in Elixir not Rust.

I think the problem is in the PolarsBackend.Series only. We should try to work with expressions when using literal values instead of creating new series. I'm going to open a new issue for that.


Automatic Formatting

Is there a way to have automatic formatting?
Right now, if I choose the option 'format document' from the command palette I get the message 'There is no formatter for 'lilypond' files installed.'
Would it be possible to implement autoformatting?
If it isn't too hard, I could maybe help adding it in.

Hi @regr4, thanks for the issue. I haven't looked into adding it (currently focused on other projects). If you are interested, feel free to make the formatter - a PR into the main repo would be very welcome. You could also make a separate formatter extension if you wish to own the project, and I can add it to my extension pack 😄

Well,
I have exactly zero experience with typescript vscode extensions, but I guess I'll just dive into this headfirst. I don't think I'll publish it on my own, since I don't want to set up an Azure? account just for this. You may or may not get a pull request eventually. I can't promise anything though 🙃

Thanks! I'll let you know if I start it so we can work together, do update me if you have any progress 😃

https://github.com/frescobaldi/frescobaldi/blob/ef987bf12324ae784806ffb9db548383c58665ec/frescobaldi_app/reformat.py
You can find Frescobaldi's implementation here if you wish to refer - it is GPLv2.
You'll need to find corresponding functionality in VSCode (VSCode API is reasonably well-documented). It is not difficult to start a new extension nowadays with the well-written tutorials. Do message me if you need any help! 🔥

Nice, I hadn't thought of that! Open source software is really convenient!
So basically, what's left to do is:

Translate it from Python into Typescript
Change it to use the vscode API
Is there anything else?

Yep - it isn't as simple as it would sound like (Python-TypeScript conversion), but you can refer to its architecture. I've not had time to look at it closely but I'm sure it's not that complex.

https://code.visualstudio.com/blogs/2016/11/15/formatters-best-practices
Here's a rather old (but still relevant-looking) blog post about a formatting extension in VSCode

Hey @regr4 ! Just FYI that I've made a formatter extension that depends on Frescobaldi's (python-ly, actually) codebase:
https://marketplace.visualstudio.com/items?itemName=lhl2617.lilypond-formatter
you can check the repo here:
https://github.com/lhl2617/VSLilyPond-formatter


[VK] Ошибка при скачивании видео из беседы

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'https://vk.com/im?sel=127928710&z=video29246472_169190704%2Fa88303687fa18b6887']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.09.18
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-34-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4-0ubuntu<IP_ADDRESS>, ffprobe 3.4.4-0ubuntu<IP_ADDRESS>
[debug] Proxy map: {}
[vk] Downloading login page
[vk] Logging in
[vk] 29246472_169190704: Downloading webpage
ERROR: Unable to extract player params; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl-2018.9.18-py2.7.egg/youtube_dl/YoutubeDL.py", line 792, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl-2018.9.18-py2.7.egg/youtube_dl/extractor/common.py", line 507, in extract
ie_result = self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl-2018.9.18-py2.7.egg/youtube_dl/extractor/vk.py", line 415, in _real_extract
'player params'),
File "/usr/lib/python2.7/dist-packages/youtube_dl-2018.9.18-py2.7.egg/youtube_dl/extractor/common.py", line 977, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract player params; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

For any work on the issue you must provide account credentials for accessing this video.


Upgrade rapidjson to latest 0.0.11

closes #1236, closes #1350

Codecov Report

Merging #1351 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1351   +/-   ##
=======================================
  Coverage   98.19%   98.19%
=======================================
  Files          54       54
  Lines        2444     2444
=======================================
  Hits         2400     2400
  Misses         44       44

Continue to review full report at Codecov.

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


308 refactor assets service for improved structure and asychronicity

Closes #308

The assets controller also needs to be modified to use the new exceptions. Running the api tests causes a timeout when trying to add an asset with duplicate stix.id and stix.modified (I think the timeout is caused by the controller throwing when trying to reference assetsService.errors and the exception isn't caught)


Really really weird idea

Hi. I had this funky idea for functions, I don't really want to implement this to the actual compiler, but I thought I'd mention it since it looks cool.
fn add(int a, int b)
	|	int x = (a + b)
	|<-	return x

It's like a pipe thing, every newline in a function has this | symbol, and when you return a value you have to point at it it. Makes more sense when you read it backwards, return x goes left into the pipe thing which goes up and returns as a function. Really weird idea, thought it was cool; that's all.

I don't like it.

 Such Inventions

lol it's just a random idea that i don't want to implement


3.11 - PriamConfiguration fails to run correctly on a single AWS EC2 instance in a VPC

During startup, an exception is thrown that results in the PriamServer not being initialized correctly.
I'm running on an m4 EC2 instance in a VPC. This has only local hostnames and ips. No public hostnames or IPs. I've configured the EC2 to have access to S3 and SimpleDB via an IAM role.
Cassandra version: 3.11

InjectedWebListener creates an instance of PriamConfiguration and calls intialize() on it

PriamConfiguration intialize() gets invoked causing this line to throw an exception on an amazon EC2 instance running in a VPC (with no public hostname or public IP), resulting in the rest of initialization failing (no REST endpoints exposed by the webserver etc. eg. get_token will return a 404). The LOCAL_HOSTNAME and LOCAL_IP in this file don't seem to get used anywhere either and look private.

Once the above issue is mitigated by adding try/catch blocks around the offending calls on intialize(), the priam server starts up correctly and get_token returns the simpledb token.

Further, most if not all the logic for getting Seed nodes relies on the seed ec2 instance's public hostname translation into IPs - public hostnames don't exist for nodes in a VPC. To elaborate: NFSeedProvider calls "http://<IP_ADDRESS>:8080/Priam/REST/v1/cassconfig/get_seeds"
-> priamServer.getId().getSeeds() -> PriamInstance.getHostName() for a single DC -> returns public Hostname.

I wanted to understand if I'm doing something wrong in multiple places re: hostnames in vpcs, or whether Priam isn't fully fleshed out to work in a VPC yet.

@amr46 Netflix entire fleet of Cassandra is in VPC. Since we are hosted in multiple datacenters/regions, we always host with instances where public IP/hostname. Public IP is required to create a global ring so instances from different regions can communicate with each other. My recommendation would be to host with instances where you have public IP so you may "expand" your cluster in other regions (if that is not already the case).

Okay, to just clarify what you said -

You host Cassandra in multiple regions.
Each region has it's own VPC and the nodes where you're running Priam all have public IPs and hostnames.
Cross regional communication happens by listing these region-specific seed node IPs in your various cassandra.yaml files for seed-node discoverability.

Could you confirm the above? Then feel free to close the issue.
PS: it's highly informative to see how a huge company like Netflix plans its architecture to scale out availability. Thanks again for all your feedback.

@amr46 Yes, we host Cassandra in 3 regions for availability. Within each region, we host in 3 availability zones.
Yes, we only host in VPC where we have public IP/hostname.
We don't put EC2 instance list in cassandra.yaml as EC2 instances may die. Instead, we make a callback to Priam who takes care of publishing the current list of EC2 instances via querying Amazon via NFSeedProvider.

got it. Please feel free to close this


dependency on colorclass

Please make the colorclass dependency optional.
It is useless in a server environment.
And services like AppEngine don't allow the use of ctypes which colorclass depends on.

Currently, I am not entirely sure how to approach this issue. I'd like the debug messages to remain colored by default and making a dependency optional would make this an opt-in. So, maybe it would be better to go for a colorclass-like library with wider support.
Do you have any suggestions on what library to use that would work in your situation?

There may be better alternatives but I only know of Colorama.
I found Colorama from clint but I have seen it used in click too.

Alright, I will have a look.

Thank you.


Better deletion handling for Comments

Right now when a user is deleted, we soft delete all the relations, a job is enqueued for 30 days, and then real deletion of all relations occurs.
That's great. However, there are a few things missing:

Soft-deleted comments are never really deleted (unless it's in context of whole user being deleted)
Guest comments that are marked as spam stay in our db forever

I'd like to do 2 things:

Ensure when comments are marked as spam, they are soft-deleted
Create Comment.destroy_soft_deleted_older_than_30_days that I can run a cronjob against every day to clean out our soft deleted comments

@innatewonderer This looks sorta done, except maybe the Comment.destroy_soft_deleted_older_than_30_days part — might be nice to get that in place, we can start cleaning up our production db :D


CommonJS: Remove redundant namespace declaration.

Namespace should already be declared and initialized by goog.provide. So instead of emitting this:
goog.provide("module$libs$foo");
var module$libs$foo = {};
module$libs$foo.sayHelloInEnglish = function() {
  return "Hello";
};

this should be emitted:
goog.provide("module$libs$foo");
module$libs$foo.sayHelloInEnglish = function() {
  return "Hello";
};

This is also consistent with the way "normal" Google Closure modules are written.
Adjusted the tests to match changes.
See the mailing list discussion: https://groups.google.com/forum/#!topic/closure-compiler-discuss/t8u_YhL2Onk

Looks fine. Only a minor comment.

Ah, good to know. Made the changes as suggested. Thank you for reviewing :smiley:

LGTM. One more minor thing to fix and then i'll merge it.

Good find! Fixed the comment.


[release-3.0] engine: add titan key only option

What have you changed? (mandatory)
Cause DeleteFilesInRange may expose old blob index keys, setting key only for Titan to avoid referring to missing blob files.
What are the type of the changes? (mandatory)

Bug fix (change which fixes an issue)

How has this PR been tested? (mandatory)
unit-test by https://github.com/tikv/tikv/pull/4946
Does this PR affect documentation (docs) or release note? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No

/run-all-tests tidb=release-3.0 pd=release-3.0

/run-all-tests tidb=release-3.0 pd=release-3.0


Remove Table.time_columns

Is your feature request related to a problem?
Similar to #647, we should not limit ourselves to always treating a time series as a (tagged) table.
Desired solution
The path from Table to TimeSeries via Table.time_columns should be removed. Instead, specify the name of the time column immediately when the TimeSeries is created (via the constructor or static methods).
In a later step, similar to Table.tag_columns, we can specify the features and excluded columns. This is only needed if we want to train a model on the data and should, thus, not be enforced. The library should also be able to handle unlabeled time series.
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

See also #693.

New resolution for this is to call the function to_time_series_dataset instead.

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

v0.24.0
GitHub release

Your semantic-release bot :package::rocket:


fix(tagged_literals): #1717 Use tagged literals in jest tests

What is the previous behavior before this PR?
initial syntax :
expect("\underrightarrow{x}").toParse();
What is the new behavior after this PR?
Babel 7 supports revised template literals
hence changed syntax : expect\underrightarrow{x}.toParse();

issue number: #1717

Replaced by #3954


build Docker image(s) that contains compiler(s) necessary for building CoastalApp

@SorooshMani-NOAA @pvelissariou1
in order to automatically test the CoastalApp build, we need to make a Docker image that contains the requisite compilers and dependencies. Then, we can set up a GitHub Action workflow (a YAML file) that loads that image and builds CoastalApp
GitHub Actions workflow
The current draft of the GitHub Actions workflow is in the feature/test_build branch:
https://github.com/noaa-ocs-modeling/CoastalApp/blob/85283cd75f2e583b1fc8b71ef49b6992b7e6b3ed/.github/workflows/build.yml#L1-L40
existing workflow runs
https://github.com/noaa-ocs-modeling/CoastalApp/actions/workflows/build.yml
compiling CoastalApp
We need to test builds with the following compilers:

intel <= 18
gfortran >= 8
PGI

to be compiled, CoastalApp needs:

module
ESMF
HDF
NetCDF
and these all need to be built with the same compiler

running executables
to run NEMS, the environment needs:

module
ESMF
HDF
NetCDF
mpirun

container specifications:

CentOS
gfortran >= 8
ESMF

I've pushed a new Docker image to zacharyburnett/coastalapp
https://hub.docker.com/r/zacharyburnett/coastalapp
I set it to CentOS Stream 8 and set it up with Lmod
to get a shell, do:
docker run -i -t --rm zacharyburnett/coastalapp /bin/bash

@pvelissariou1 has created a Docker container panvelissariou1/coastalapp:test1 that has this functionality; the next step here is to get it to work with the GitHub Actions workflow


Ammo limit stuff

Solves the following:
#52
#53
#51
later, I can add a background bar for the missile regen, like the reload bar

Permanent missile counter display now, above each player


✨ Added free IBM hardware (kyiv, brisbane, sherbrooke) to CLI

This PR adds the free IBM quantum computers (kyiv, brisbane, sherbrooke) to the CLI of MQT-Bench.
We also provide a script that generates the calibration files (json) based on the calibration csv files downloaded from IBM.

Thanks for working on this! 🙏🏼 Sorry that it took a while to review. Most of the comments you'll find below are rather on the high-level side and are probably better translated to follow-up issues. I think my biggest concern that should probably be addressed here is the amount of code duplication between the IBM providers.

Many thanks @burgholzer for your review! That's super helpful! And I totally agree about the code duplication! I'll address that asap.

@burgholzer Just a small update: I have not forgotten about this and will try to finish it asap!

@burgholzer We need to add a secret to add the token for QiskitRuntimeService.


How to make AND the default boolean operator (instead of OR)?

When sending a search query like {"_query": {"fieldname": "hello world"}} through the SEARCH HTTP method, the default boolean operator between "hello" and "world" is OR.
Is it possible to make AND the default? (like with Xapian::QueryParser::set_default_op(Xapian::Query::OP_AND)

This should work:
{ "_query": {"fieldname": { "_and": "hello world"} } }

Yes, it works, but then I loose the ability to use an explicit OR between
terms.
For example:
{ "_query": {"fieldname": { "_and": "hello OR world"}
Le mer. 24 juil. 2019 à 19:36, Jose Madrigal Cardenas <
<EMAIL_ADDRESS>a écrit :

This should work:
{ "_query": {"fieldname": { "_and": "hello world"} } }
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Kronuz/Xapiand/issues/20?email_source=notifications&email_token=AAERGABNUYXFRVXCFFULEG3QBCHJDA5CNFSM4IGSH4R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2XCC5A#issuecomment-514728308,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAERGAF2TABHMDWYB2UKCJLQBCHJDANCNFSM4IGSH4RQ
.

Docs I guess this is what you looking for:
{
  "_query": {
    "_or": [
      {
        "fieldname": "hello"
      },
      {
        "fieldname": "world"
      }
    ]
  }
}

I realize my answer wasn't clear.
The query string is provided by the end user. I want it to be parser by the equivalent of Xapian::QueryParser in Xapiand, with the default boolean operator being AND instead of OR.
This means the query string "hello world" should be equivalent to "hello AND world" (implicit AND between words). But the user should also be able to search "hello OR world".

I think I'm still without understand. The search "hello OR world" is done by the example above, but you have to use _orexplicitly.
The query user must be in the way of  QueryDSL .
We don't use Xapian::QueryParser except when the type is text and only for add stemming and others stuff.
The must similar thing that you can do is send query params in the SEARCH method rather that the json body with QueryDSL. Something like this:
SEARCH /mydb/?q=fieldname:hello%20OR%20fieldname:world
But we discourage use of this way because at the end is parsed to QueryDSL form, and just add overhead and in the future versions perhaps is not supported.

I'm working on an app in which the end user can enter a search query in a simple text input widget.
A query can be simple like hello world or complex like apple AND a NEAR word OR "a phrase" NOT (too difficult) +eh. This is why I'd like to reuse the syntax of Xapian::QueryParser. More info here.
I cannot ask the end user to express the query as a JSON object representing an Abstract Syntax Tree ;-)

For this case you can use the SEARCH method and send the user query hello OR world in the request query param and use the index mode "_index": "terms" this allow search without the field and the query syntax is going to be more like you looking for:
 SEARCH /mydb/?query=hello OR world
The logical operators that are supported in this mode are: AND, MAYBE, OR, NOT, XOR. This also support use of parenthesis for operator precedence, the phrases are supported as well but not +/- operators

I've upgraded to v0.29.0. SEARCH /mydb/?query=hello OR world and SEARCH /mydb/?query=hello AND world work now. But SEARCH /mydb/?query=hello world (without any boolean operator between words) fails with this message: Bad Request: Bad boolean expression.

Yes, there wasn't implicit default operator in this query mode. Should work in 460c8d9. Thanks again for the report!!


Add organ_uberon

Add organ_uberon

@SamSedivy @AlanSimmons I understand the idea of not including the *.json files from the test folder since they are generated results, we should keep the tests/test_controllers.py.


Hex output stdin fixes

Added "hex" output format for ASCII hex encoded output.
Fixed broken stdin command input, and extended maximum inputted command length to 2048.

Thanks for the fix and the additional feature :)


Feedback: Deploy CockroachDB On-Premises

Michael Goddard (mgoddard) commented:
Page: https://cockroachlabs.com/docs/v23.2/deploy-cockroachdb-on-premises.html
What is the reason for your feedback?
[ ] Missing the information I need
[ ] Too complicated
[ ] Out of date
[X] Something is broken
[ ] Other
Additional details
Jira Issue: DOC-10079

I was just watching a user start a node using the syntax provided on this page:
cockroach start --certs-dir=certs --advertise-addr=<node1 address> --join=<node1 address>,<node2 address>,<node3 address> --cache=.25 --max-sql-memory=.25 --background

And the node was actually still listening on port 26257, the default if --listen-addr isn't specified (he had used the host:port syntax).  I think, for this example, it's more helpful to either use --listen-addr alone, or to include it as well as --advertise-addr.

Sure, and apologies for the delay.  My point above was that the startup command, as shown, could lead a user to expect that the node will listen on the address provided to the --advertise-addr= flag and be puzzled when that doesn't happen.  My suggestion was to alter this example and provide the --listen-addr= flag instead.


[material-ui][Table] Scrollbar extends into header when using stickyHeader on Table component

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Have an implementation of a Table using the stickyHeader prop, and sufficient rows to make a scrollbar appear (ex: https://mui.com/material-ui/react-table/#sticky-header)
Note that the scrollbar extends into the header:

Current behavior 😯
The scrollbar extends into the header
Expected behavior 🤔
The scrollbar should stop at the top edge of the top row of the table
Context 🔦
Have a UX that is consistent for end users
Your environment 🌎

npx @mui/envinfo

  System:
    OS: Windows 10 10.0.22000
  Binaries:
    Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.18 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.5.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: Not Found
    Edge: Spartan (44.22000.120.0), Chromium (105.0.1343.42)
  npmPackages:
    @emotion/react: ^11.7.1 => 11.8.2
    @emotion/styled: ^11.6.0 => 11.8.1
    @mui/base:  5.0.0-alpha.72
    @mui/icons-material: ^5.8.4 => 5.8.4
    @mui/lab: ^5.0.0-alpha.69 => 5.0.0-alpha.73
    @mui/material: ^5.2.5 => 5.5.1
    @mui/private-theming:  5.4.4
    @mui/styled-engine:  5.4.4
    @mui/system:  5.5.1
    @mui/types:  7.1.4
    @mui/utils:  5.4.4
    @mui/x-data-grid:  5.6.1
    @mui/x-data-grid-pro: ^5.5.1 => 5.6.1
    @mui/x-license-pro:  5.6.1
    @types/react: ^17.0.24 => 17.0.40
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2
    typescript: ~4.4.3 => 4.4.4

I tested this in Chrome and Firefox with the same results

Tagging @danilo-leal and @zanivan since it is a UI/UX decision-related issue. Also, there was a recent duplicate issue: #40770.

Even though there's a technical reason behind why the scroll bar shows up over the sticky header, it doesn't really make sense for it to be like that from a UX standpoint. The scroll bar should only pop up in parts that actually scroll. Having it everywhere can confuse users, making them think they can scroll where they can't.
Tagging @siriwatknp since you're this component's owner.

Is there any workaround for this issue ?

+1

@DiegoAndai should we include this for v6?

@zanivan I don't think this would need braking changes, so I wouldn't "pin it" to v6. I'll add the ready to take label to see if we get any interested contributors.

Hey @umarmunirpl, thanks for reaching out. I have no updates, but the issue is ready to take in case you wish to work on it. I would be happy to guide you.


Very slow doc PUT's with lots of garbage collection.

I'm seeing very slow doc PUTs in this tests case.  We should followup and review this test - https://github.com/couchbaselabs/mobile-testkit/blob/master/testsuites/listener/shared/client_sg/listener_sg_replication_compact_revs_limit.robot

This is not present in 1.2.1. Seems to be new with 1.3.0. Possibly a memory leak.

From the logcat, I have found a lot of logs similar to these below. Those entries in the log indicate that the pruning revs originated from an inserted rev has been done several time. This is absolutely causing the performance degraded.
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.815  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.819  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.823  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.823  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.823  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.823  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.823  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.823  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.823  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.823  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.823  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.827  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.827  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.827  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.827  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.831  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...
06-23 19:24:20.831  10671-10694/? V/Database﹕ pruning ls_db_9, scanning 98 revs in tree...


Make Scout optional

Bit of a mare with this one. Basically I tried using a Facade to map the model to the config value. This works great in most places, apart from factories and nova where I had to access the config variables directly. Nova uses a static variable which as a result can't be read from the config so it just defaults to reading the non-searchable model (deffo feels hacky!)

Re-coded in separate PR


replace bug/features report address

Should we replace all occurences of:
Please report at http://jira.reucon.org/browse/AJ
with
Please report at https://github.com/asterisk-java/asterisk-java/issues
?

yes please.
On 04/06/15 19:31, Adrian Videanu wrote:

Should we replace all occurences of:
Please report at http://jira.reucon.org/browse/AJ
with
Please report at https://github.com/asterisk-java/asterisk-java/issues
?
—
Reply to this email directly or view it on GitHub
https://github.com/asterisk-java/asterisk-java/issues/56.

--
S. Brett Sutton
Ph: 1300 NOOJEE (1300 666 533)
Noojee Telephony Solutions - On Demand Contact Centres Solutions
www.noojee.com.au


Bug: Adjustion of dataAdress type in UI

The dashboard does not allow to select configured dataAdress types when creating an asset, particulary "AzureStorage".
Dmi said this is possible here https://github.com/eclipse-edc/DataDashboard/tree/main so we propably need to look what is different in our version.
AzureStorage Extension is described here https://github.com/eclipse-edc/Technology-Azure/tree/main/extensions/data-plane/data-plane-azure-storage
JSON should look like this:
{
"asset": {
"properties": {
"asset:prop:name": "{{asset_guid}}",
"asset:prop:contenttype": "text/plain",
"asset:prop:version": "1.0",
"asset:prop:id": "{{asset_guid}}",
"type": "AzureStorage"
}
},
"dataAddress": {
"properties": {
"type": "AzureStorage",
"account": "msgedcstorage",
"container": "src-container",
"blobname": "{{document_name}}",
"keyName": "msgedcstorage-key1"
}
}
}

I am starting to enable the AzureStorage in our setup


Close relay connections after each NWC call

Description
In an attempt to fix relay issues, we're opening and closing relay connections after each nwc call. This is the same behavior as before we switched to NDK in #1590.
Additional Context
As @riccardobl mentioned in the chat, it probably makes sense to keep the relay connections open on the server which this code doesn't do (yet). However, the previous code also didn't do that.
Checklist
Are your changes backwards compatible? Please answer below:
yes
On a scale of 1-10 how well and how have you QA'd this change and any features it might affect? Please answer below:
tbd, will test more tomorrow
For frontend changes: Tested on mobile, light and dark mode? Please answer below:
n/a
Did you introduce any new environment variables? If so, call them out explicitly here:
no

I don't know if it fixes the issue, but send/receive still works, so I'm shipping it. Thank you!


AssertionError when running "pip install -e ." with no main entry point / no setup() call

Setup:

pip 19.0.3 (same error is also present in 19.1.1)
setuptools 41.0.1

I believe I reproduced the error that was mentioned in https://github.com/pypa/setuptools/issues/1221 while trying to create minimal example for other potential pip / setuptools bug related to PEP 517. The assertion is raised when setup.py does not have main entry point definition or/and setup() call when calling pip with --editable flag:
if __name__ == '__main__':
    ...

Having setup.py without main entry point is of course wrong but it would be nice to have  better description for that kind of error because right now it's hard to tell what's wrong with the configuration.
Here's how to reproduce the issue:

Create new project directory
Create pyproject.toml inside the project directory with any content (even empty)
Create setup.py inside the project directory with any content but without main entry point definition (even empty)
Execute pip install -e . inside the project directory

Running command /home/krprzyby/PycharmProjects/pep517/venv/bin/python /home/krprzyby/PycharmProjects/pep517/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmphz8950lk
    Traceback (most recent call last):
      File "/home/krprzyby/PycharmProjects/pep517/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pep517/_in_process.py", line 207, in <module>
        main()
      File "/home/krprzyby/PycharmProjects/pep517/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pep517/_in_process.py", line 197, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "/home/krprzyby/PycharmProjects/pep517/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pep517/_in_process.py", line 69, in prepare_metadata_for_build_wheel
        return hook(metadata_directory, config_settings)
      File "/tmp/pip-build-env-1x54qvxt/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 169, in prepare_metadata_for_build_wheel
        assert len(dist_infos) == 1
    AssertionError

This is the minimal setup.py content that you have to have to get rid of the AssertionError:
from setuptools import setup

if __name__ == '__main__':
    setup()

If setup() function is not called inside entry point, AssertionError is also raised.

Yes, if you provide a setup.py, it's your responsibility to make sure setuptools.setup is actually called. From the look of the traces in #1221, I don't think this is a reproducer (you can see setup is called).


[BUG] Identify and access > Accounts > selected account - update account button not working

Describe the bug
Identify and access > Accounts > selected account - 'update account' button not working
To Reproduce
Steps to reproduce the behavior:

Go to 'Identify and access > Accounts' and select an account.
Click on the 'Update account' icon - it's not working and messes up the UI, the same page stays no matter what you're clicking.

Expected behavior
The 'Edit account' dialog must be shown.
Screenshots
None
Desktop (please complete the following information):

OS: Windows 10 Pro x64
Browser: Chrome
Version: 80.0.3987.116 (Official Build) (64-bit)

Additional context
None

@vladimirpetrov please test/close this one as well. There was a missing feature I found for which I created a new ticket.

Confirmed, closing the issue.


Updated no terminal mode or command message.

Made the message a little more friendly, and also the copyright :smile:

Just realized that there is a dev branch


Renamed UselessIncrement to UselessPostfixExp

You should change the name to end with Expr as this is the common used abbreviation or just write expression :)

@arturbosch I did. I just forgot to add the "r" in the commit message.


Including vectors in C++

Explaination
A vector is a sequence container class that implements dynamic array.
I want to contribute by including the basics functions of insertion and deletion of vectors.
Hello @tarun26091999 , I wanted to add this important question in the Algo-Tree and I will start working on it as soon as I get assigned!! as I am a part of GSSoC'21.

Hello, Can I work on this?  @Gautam204