Installation on new mac fails

bash-3.2$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following existing directories will be made writable by user only:
/usr/local/share/zsh
/usr/local/share/zsh/site-functions

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod u+rwx /usr/local/share/zsh /usr/local/share/zsh/site-functions
Password:
==> /usr/bin/sudo /bin/chmod 755 /usr/local/share/zsh /usr/local/share/zsh/site-functions
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown camdennarzt /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 1330, done.
remote: Compressing objects: 100% (636/636), done.
remote: Total 1330 (delta 1030), reused 854 (delta 670), pack-reused 0
Receiving objects: 100% (1330/1330), 344.97 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1030/1030), completed with 459 local objects.
From https://github.com/Homebrew/brew
 + 7e93340...ebf3d93 master     -> origin/master  (forced update)
 * [new tag]         1.0.6      -> 1.0.6
 * [new tag]         1.0.7      -> 1.0.7
 * [new tag]         1.0.8      -> 1.0.8
 * [new tag]         1.0.9      -> 1.0.9
 * [new tag]         1.1.0      -> 1.1.0
 * [new tag]         1.1.1      -> 1.1.1
 * [new tag]         1.1.2      -> 1.1.2
 * [new tag]         1.1.3      -> 1.1.3
 * [new tag]         1.1.4      -> 1.1.4
 * [new tag]         1.1.5      -> 1.1.5
 * [new tag]         1.1.6      -> 1.1.6
 * [new tag]         1.1.7      -> 1.1.7
HEAD is now at ebf3d93 Merge pull request #1808 from MikeMcQuaid/deprecate-linkapps
error: Failed to merge in the changes.
Patch failed at 0001 blah
The copy of the patch that failed is found in: .git/rebase-apply/patch

When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".

unable to refresh index

Some output lost here due to gnu screen scrollback limit, and a huge delay at this point.
fping                                              libical-glib                                       pulledpork                                         zurl
==> Renamed Formulae
antlr2 -> antlr@2                        gcc48 -><EMAIL_ADDRESS>                       isl014 -><EMAIL_ADDRESS>                     mongo-c -> mongo-c-driver                node5 -> node@5
antlr3 -> antlr@3                        gcc49 -><EMAIL_ADDRESS>                       juju -><EMAIL_ADDRESS>                      mpfr2 -> mpfr@2                          node6-lts -> node@6
cloog-ppl015 -><EMAIL_ADDRESS>             gcc5 -> gcc@5                            juju2 -><EMAIL_ADDRESS>                      mysql55 -><EMAIL_ADDRESS>                   ppl011 -><EMAIL_ADDRESS>elasticsearch17 -><EMAIL_ADDRESS>   glfw3 -> glfw                            libmongoclient -> mongo-cxx-driver       mysql56 -><EMAIL_ADDRESS>                   qt55 -><EMAIL_ADDRESS>elasticsearch24 -><EMAIL_ADDRESS>   gmp4 -> gmp@4                            libmpc08 -><EMAIL_ADDRESS>                 node010 -><EMAIL_ADDRESS>                   stash-cli -> atlassian-cli
gcc46 -><EMAIL_ADDRESS>                       isl011 -><EMAIL_ADDRESS>                     llvm37 -><EMAIL_ADDRESS>                     node012 -><EMAIL_ADDRESS>                   tomcat6 -> tomcat@6
gcc47 -><EMAIL_ADDRESS>                       isl012 -><EMAIL_ADDRESS>                     llvm38 -><EMAIL_ADDRESS>                     node4-lts -> node@4                      tomcat7 -> tomcat@7
==> Deleted Formulae
automoc4              cuty_capt             evas-generic-loaders  libbson               pangox-compat         pyside                rcssserver            tevent                tutum
bzr-explorer          czmqpp                ezlupdate             libechonest           pdksh                 pyside-tools          shiboken              tlassemble            unfs3
caudec                dmtx-utils            frescobaldi           libmarisa             polygen               qbzr                  sonar-runner          trang                 valkyrie
coin                  dwarf                 jless                 libnice               puddletag             qt                    sqliteman             treeline              wyrd
cpp-netlib            elementary            jsdoc-toolkit         libqglviewer          pyqt                  qtplay                swish-e               ttylog                yelp-xsl
Warning: /usr/local/bin is not in your PATH.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
  https://git.io/brew-analytics

==> Next steps:
- Run `brew help` to get started
- Further documentation:
    https://git.io/brew-docs

==> The following existing directories will be made writable by user only:
/usr/local/share/zsh
/usr/local/share/zsh/site-functions

What other files and directories existed before installation?

==> Installation successful!

How has installation failed? You've not detailed that.

Sorry my bad, I assumed that since it gave an error about not being able to apply the patch or refresh the index, that it would wind up in an unusable state.
As for what other files & directories existed before installation, I'll have to look at some backups to figure that out. I'll report back when I have a list.

Sorry my bad, I assumed that since it gave an error about not being able to apply the patch or refresh the index, that it would wind up in an unusable state.

Cool, unless it's a known, repeatable breakage I think we can close this for now. Thanks!


Health Check: Fix documentation and typos.

This PR improves the documentation and fixes some typos in the Health Check class.

Thanks @Soean 🙂


Update build badges in README

Not obvious what this is doing?

The badges were configured for the point in time they were private projects (travis) or configured on a different ci account (appveyor). This updates the badges for public testing on travis, .com -> .org, and changes the appveyor badge to a different account.
Thanks for looking at this @kadamwhite.

This doesn't solve an annoying problem yes where appveyor doesn't report status to PRs.

https://ci.appveyor.com/project/robocoup/boxart-boiler/build/5


Resource allowed only for authenticated clients and token auto creation

I have an App that is using OAuth2 password grant type to manage the user authorizations to his resources. All App resources are only allowed access for a client with once provided token to act on behalf of some user, except the URI to create users, this one I want that only authenticaed clients have access to it. I'm using spring-security-oauth2 as my OAuth implementation and but can't figure out how to accomplish this in a less hacky way than the one described bellow:
POST /users to be acessed only by authenticated clients.
Currently I figured out how to this by removing @EnableAuthorizationServer and creating a new class and extending AuthorizationServerSecurityConfiguration class and overriding method: configure( HttpSecurity http ) and creating a new @Configuration class and @Import AuthorizationServerEndpointsConfiguration and CustomAuthorizationServerSecurityConfiguration. The problem is that, in my new custom class I need to override and copy/paste the entire method original code in the overrided method, ending with something like:
    @Override
    protected void configure( HttpSecurity http ) throws Exception {
      AuthorizationServerSecurityConfigurer configurer = new AuthorizationServerSecurityConfigurer();
      FrameworkEndpointHandlerMapping handlerMapping = endpoints.oauth2EndpointHandlerMapping();
      http.setSharedObject(FrameworkEndpointHandlerMapping.class, handlerMapping);
      configure(configurer);
      http.apply(configurer);
      String tokenEndpointPath = handlerMapping.getServletPath("/oauth/token");
      String tokenKeyPath = handlerMapping.getServletPath("/oauth/token_key");
      String checkTokenPath = handlerMapping.getServletPath("/oauth/check_token");
      http
            .authorizeRequests()
                .antMatchers(tokenEndpointPath).fullyAuthenticated()
                .antMatchers( HttpMethod.POST, "/users/**").fullyAuthenticated()
                .antMatchers(tokenKeyPath).access(configurer.getTokenKeyAccess())
                .antMatchers(checkTokenPath).access(configurer.getCheckTokenAccess())
          .and()
            .requestMatchers()
              .requestMatchers( new AntPathRequestMatcher(tokenKeyPath),
                                new AntPathRequestMatcher(tokenEndpointPath),
                                new AntPathRequestMatcher(checkTokenPath),
                                new AntPathRequestMatcher("/users/**", HttpMethod.POST.name()));
      http.setSharedObject(ClientDetailsService.class, clientDetailsService);
    }

My first question is, the a better way to do this?
The second thing that I want to do is to auto create the AccessToken by password grant type when a new user is created (in the URI POST /users), and I can't figure any way to do this.
Can someone provide any insight on this two needs?

Why would a /users resource have anything to do with the authorization server? If I understand correctly you need to use @EnableResourceServer and provide a ResourceServerConfigurer that protects your resources (e.g. with #oauth2.isClient()).

Dave,
I've tried this approach the problem with it is that the authentication doesn't require a client it requires user. So if a make the configuration that you suggested and trigger a curl like:
curl -u client_id:client_secret -d 'user=joe&password=joe123' http://localhost/users
An error client_id not found is raised because client_id isn't a user.
What a I want is that all my resources are allowed access only for clients acting on behalf of (real) users, this is being acquired by password grant type, but the create user resource can't be accessed by an user (because the user don't exist yet). Another thing that I need to register the client that is creating an user. By the way that I posted, my controller method that create users is being something like:
public ResponseEntity<User> create(Principal client, User user)
And triggering a curl like:
curl -u client_id:client_secret -d 'user=joe&password=joe123' http://localhost/users
The Principal parameter is the authenticated client and not expected to an authenticated user.
I think that the /users resources that I want create is something like a modified version of /token resource, where one case is that an user can be created when a token is requested, so the user is created and the token is provided for that user in the same request. I don't think that it is much far from the oauth spec.

So /users is not an OAuth2 resource (hence nothing in the spec will help you), and you can protect it in the normal way with Spring Security. You can do that any way you want, but it seems like you want to use the ClientDetailsService to back an AuthenticationManager and plug it into HTTP Basic (just like the token endpoint).  Here is some code you can copy (from AuthorizationServerSecurityConfigurer), in your own WebSecurityConfigurerAdapter:
    http.userDetailsService(new ClientDetailsUserDetailsService(clientDetailsService()));

Dave, thanks I already have tried it but didn't like the end result and after that I've tried that I tried implement the client_credentials flow to accomplish my need, it worked very well but the need of the make the client request it's own token just to use one resource makes me try the approach that started this thread. But seems that I went to far trying to simplify things and to keep stick with the spec is better use the client_credentials flow with #oauth2.isClient() to protect the /users resource.
So I still have other need as I said on beginning, there is a simple way to generate the OAuth2AccessToken after the an user has been created, in the same request? I mean, in the method:
public ResponseEntity<OAuth2AccessToken> create(Principal client, User user);
There is some strategy that you recommend?
Thanks!

You are passing username/password and authenticating as a client, and want a token in return. Sounds like a password grant, so I think would recommend using password grant (i.e. the /token endpoint). The only difference in your case is that the user does not yet exist. You would need to add some logic to the AuthenticationManager (for instance) to verify that the client is indeed trying to and is allowed to create a new user (e.g. accept an additional request parameter).

hello @avaz ,
I'm trying to achive the same goal, I have '/api/register' and want to have authenticated clients to access it, could you please point what you did, below is my Resource Server Config class
@Configuration
	@EnableResourceServer
	public static class ApiResourceServerConfiguration extends
			ResourceServerConfigurerAdapter {
		@Override
		public void configure(ResourceServerSecurityConfigurer resources) {
			resources.resourceId(RESOURCE_ID);
		}

		@Override
		public void configure(HttpSecurity http) throws Exception {
			logger.info("Configure HttpSecurity");
			// @formatter:off
			http
				.requestMatchers()
					.antMatchers("/api/**")
				.and()
					.authorizeRequests()
						.antMatchers("/api/**").hasRole("USER");
			// @formatter:on
		}
	}

Hey @dsyer ,
I've tried your suggestion, but how to obtain the  clientDetailsService() in my config class?
I have:

web form for securing /web
oauth2 for /api (resource and authorization server)
need /api/register to be accessed by authenticated clients only

below is my Security config
public class WebSecurityConfig {
	private static final String RESOURCE_ID = "restservice";

	@Configuration
	@EnableWebMvcSecurity
	@EnableGlobalMethodSecurity(prePostEnabled = true)
	public static class FormWebSecurityConfig extends
			WebSecurityConfigurerAdapter {
		@Override
		@Bean(name = { "authenticationManager", "authenticationManagerBean" })
		public AuthenticationManager authenticationManagerBean()
				throws Exception {
			return super.authenticationManagerBean();
		}

		@Autowired
		@Qualifier("profileService")
		private ProfileService userDetailsService;

		@Autowired
		@Qualifier("passwordEncoder")
		private PasswordEncoder passwordEncoder;

		@Override
		@Order(HIGHEST_PRECEDENCE)
		protected void configure(HttpSecurity http) throws Exception {
			// @formatter:off
			http
				.authorizeRequests()
					.antMatchers("/", "/web", "/favicon.ico", "/resources/**").permitAll()
				.and()
				.authorizeRequests()
					.antMatchers("/web/admin/**").hasRole("ADMIN")
				.anyRequest().authenticated()
				.and()
					.formLogin()
						.loginPage("/web/login")
						.loginProcessingUrl("/web/dologin")
						.failureUrl("/web/login?error=true")
						.defaultSuccessUrl("/web/admin/home")
						.usernameParameter("username")
						.passwordParameter("password")
						.permitAll()
				.and()
					.logout()
						.logoutUrl("/web/logout")
						.invalidateHttpSession(true)
						.deleteCookies("JSESSIONID")
						.logoutSuccessUrl("/web/login");
			// @formatter:on
		}

		@Override
		protected void configure(AuthenticationManagerBuilder auth)
				throws Exception {
			auth.eraseCredentials(true)
				.userDetailsService(userDetailsService)
				.passwordEncoder(passwordEncoder);
		}
	}

	@Configuration
	@Order(2)
	@EnableWebMvcSecurity
	@EnableGlobalMethodSecurity(prePostEnabled = true)
	public static class RegisterSecurityConfig extends
			WebSecurityConfigurerAdapter {

		@Override
		@Order(HIGHEST_PRECEDENCE+1)
		protected void configure(HttpSecurity http) throws Exception {
			// @formatter:off
			http
				.authorizeRequests()
					.antMatchers("/api/register").access("#oauth2.isClient()")
				.and()
				.csrf().disable()
					.userDetailsService(clientDetailsService())
					.httpBasic();
			// @formatter:on
		}

		private UserDetailsService clientDetailsService() {
			return null;
		}

	}

	@Configuration
	@EnableResourceServer
	public static class ApiResourceServerConfiguration extends
			ResourceServerConfigurerAdapter {

		@Override
		public void configure(ResourceServerSecurityConfigurer resources) {
			resources
				.resourceId(RESOURCE_ID);
		}

		@Override
		public void configure(HttpSecurity http) throws Exception {
			http
				.requestMatchers()
					.antMatchers("/api/**")
				.and()
					.authorizeRequests()
				.antMatchers("/api/**").hasRole("USER");
		}

	}

	@Configuration
	@EnableAuthorizationServer
	public static class ApiAuthorizationServerConfiguration extends
			AuthorizationServerConfigurerAdapter {
		@Autowired
		@Qualifier("oAuth2TokenStore")
		private TokenStore tokenStore;

		@Autowired
		@Qualifier("authenticationManagerBean")
		private AuthenticationManager authenticationManager;

		@Autowired
		@Qualifier("profileService")
		private ProfileService userDetailsService;

		@Override
		public void configure(AuthorizationServerSecurityConfigurer oauthServer)
				throws Exception {
			oauthServer.checkTokenAccess("isAuthenticated()");
		}

		@Override
		public void configure(AuthorizationServerEndpointsConfigurer endpoints)
				throws Exception {
			// @formatter:off
			endpoints
				.tokenStore(this.tokenStore)
				.authenticationManager(this.authenticationManager)
				.userDetailsService(userDetailsService);
			// @formatter:on
		}

		@Override
		public void configure(ClientDetailsServiceConfigurer clients)
				throws Exception {
			// @formatter:off
			clients
				.inMemory()
					.withClient("clientapp")
						.authorizedGrantTypes("password", "refresh_token")
						.authorities("USER")
						.scopes("read", "write")
						.resourceIds(RESOURCE_ID)
						.secret("123456")
						.accessTokenValiditySeconds(3600);
			// @formatter:on
		}

		@Bean
		@Primary
		public DefaultTokenServices tokenServices() {
			DefaultTokenServices tokenServices = new DefaultTokenServices();
			tokenServices.setSupportRefreshToken(true);
			tokenServices.setTokenStore(this.tokenStore);
			return tokenServices;
		}
	}
}

Closing this as questions are better suited on Stack Overflow. We prefer to use GitHub issues for bugs and enhancements.


Allow our constructors to accept a CSS selector

Currently in all of our plugins constructors, the first parameter is an element, we should allow our users to use CSS selector too.
X-Ref: https://github.com/twbs/bootstrap/issues/29416

If the selector returns a node list then the constructor should use just the first element? Or maybe you will use querySelector() always for it. What is your idea? @Johann-S


Restore python3 and pip3 $PATH entries.

They now invoke Python 3.6.  Previously they invoked Python 3.4.
Fixes #187

+1 for structure test 👍


Minor Refactor

This PR refactors equality comparison to use type coercion. This allows the type system to remain strict, deferring to the VM to ensure that the appropriate types are being compared.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 86.63%. Comparing base (c54afce) to head (86beaed).
Report is 2 commits behind head on main.

Files with missing lines
Patch %
Lines

vm/vm.go
83.33%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
- Coverage   86.74%   86.63%   -0.11%
==========================================
  Files          12       12
  Lines        1252     1242      -10
==========================================
- Hits         1086     1076      -10
  Misses        124      124
  Partials       42       42

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Total price must be positive, but it is.

Hi, I'm working with payments and at one point, the code began to give an error: total price must be positive, but it is positive.
My code: https://pastebin.com/5G1egc9P
Logs: https://pastebin.com/Gjej3XQa
I changed amount to 100*100 for example, but nothing changed.

You use wrong parameter name priceParts.

Thank you, I didn't notice


Docs for Publishing precompiled plugins

I am trying to publish a precompiled plugin and I got two solutions:

Former let publishing without knowing what is the implementationClass because it is autogenerated. The second one works too, but it is not very good because you have to check what is the name of the generated file.
Where are the docs about this to check what should I do?

You could do
gradlePlugin {
    plugins {
        named("com.javiersc.catalogs.precompiled") {
            displayName = "Precompiled plugin which include a Version Catalog"
            description = "A demo to show how to create and publish a Precompiled settings plugin"
        }
    }
}

Can someone please remove the stale label the stale bot left?

Thank you for your interest in Gradle!
This is a valid documentation issue that we will address.


Change footer background and text color for better visibility

Issue:

The current footer background color is not appropriate and needs to be changed.
The text color in the footer is not very visible and needs to be adjusted.

Steps to reproduce:

Visit the website.
Scroll down to the footer section.
Observe that the footer color and text color are not optimal.

Expected behavior:

The footer should have a background color that complements the overall design of the website.
The text color in the footer should be more visible.

Additional context:

Hi! I would like to work on the issue of enhancing the category.html for better UI/UX. My plan is to improve the layout, make it more visually appealing, and ensure it is user-friendly across different devices. I will keep the team updated on my progress. Looking forward to collaborating!

Please assign this me this issue, I would like to work on resolving this.


Upgrade to use event emitter 3, or add an option for it

Is there an existing issue that is already proposing this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe it
no
Describe the solution you'd like
Upgrade to use event emitter 3, or add an option for it
Teachability, documentation, adoption, migration strategy
No response
What is the motivation / use case for changing the behavior?
Event emitter 3 is faster, not use nodeJs event.

Thanks for your suggestion!
There are no plans to implement it in the foreseeable future.
If you think your request could live outside Nest's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.


cuelang.org: frontend: playground is unusable on mobile

What page were you looking at?
https://cuelang.org/play
What version of the site were you looking at?
https://github.com/cue-lang/cuelang.org/commit/916ac4fbcfa93f3f40da57ac325e61a9a506d741
What did you do?
I tried to use the playground. I was using mobile Safari on an iPhone 14 running iOS version 17.2.1. A video of the process is shared here: https://share.icloud.com/photos/07bphXnEIljV5rTwVH0EklPSg. (NB iCloud automatically unshares the video on March 22, 2024)
What did you expect?
I expected to be able to use the playground to enter and edit CUE input text, and select/copy/etc output text.
What did you see instead?
As shown in the video, after a couple of scrolls up and down the page, and clicking in the Output section:

the Input section went blank
the on-screen keyboard disappeared, and couldn't be reactivated
what I assume is a floating "enable on-screen keyboard" button (in the bottom right of the Input section) disappeared

This is pretty repeatable, and I've experienced it a few times. The cause isn't definitively "scrolling", but random clicking around the page usually triggers it pretty quickly.

Unfortunately the Monaco Editor (vs code editor) we use for the playground still does not support mobile.
"The Monaco editor is not supported in mobile browsers or mobile web frameworks."
https://microsoft.github.io/monaco-editor/
Also see issues on their github:
https://github.com/microsoft/monaco-editor/issues?q=is%3Aissue+is%3Aopen+mobile
I'm not sure what's best to work around this bug. Some suggest to load a different editor on mobile but that seems like a lot of work and hassle. I don't know if mobile-support is on the roadmap for the monaco editor.. (hopefully it is..)

Any scrolling or typing in the text entry field causes the playground to become unusable on (my) mobile.
This prevents me from being able to view all but the smallest portion of most linked-to saved examples (e.g. from Slack), and  prevents me from copying either the input or output panes' contents to the phone for sub-optimal editing or examination.
IMHO even a read-only, static rendering of a saved example's playground would be preferable to the/my current mobile experience, which is 100% unusable right now.

@jpluscplusm please can you do a quick check to ensure this issue is still current?

@jpluscplusm please can you do a quick check to ensure this issue is still current?

Yes, this issue still strikes. On mobile, the playground currently sits somewhere between frustratingly hard to use and impossible to use.

https://codemirror.net/ appears to be a solid editor. It's used as part of https://jsonschema.dev/. So perhaps one to consider.


MudList's SelectedItem changes when MudListItem sort order changes

Bug type
Component
Component name
MudList
What happened?
When we select an item in MudList, and then the list is changed (e.g: sorting, or removing an item above the selected item), the selected item seems to retain at the index of the previously selected item. Therefore, the selecteditem and selectedvalue are not synced.
Expected behavior
When the list changed, which results in the previously selectedvalue's respective item changed in position, the selecteditem should keep in sync with the selectedvalue.
Reproduction link
https://try.mudblazor.com/snippet/wEGyEqYZYhVZPWtK
Reproduction steps

Select item "Cafe Latte" (Value = 7) at the 7th item in the list.
Click on Sort button
Selected item stays at the 7th item which is now "Sparkiling Water" but the selected value is still 7 (Cafe Latte)

Relevant log output
No response
Version (bug)
6.19.1
Version (working)
Don't know.
What browsers are you seeing the problem on?
Chrome
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

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

@henon this issue exist in v7 new generic list as well

This is not a MudBlazor bug, it is a known issue of Blazor. It can be solved easily by adding a @key to the list items like shown in this fixed snippet: https://try.mudblazor.com/snippet/GYcyEAPdoRXFQanO

This is not a MudBlazor bug, it is a known issue of Blazor. It can be solved easily by adding a @key to the list items like shown in this fixed snippet: https://try.mudblazor.com/snippet/GYcyEAPdoRXFQanO

Thank you @henon for the info. That is much better than my workaround.


Typescript Handbook -> Basic Types -> Enum missing brackets {

Hello!
I suspect that there are some missing brackets in the Enum Section in the TypeScript Handbook.

Thanks, dupe of #283

Great, I am closing this issue to avoid confusion 👍.


Is there any updates?

I can't not run correctly

Mostly its just adding ElementalSkill to https://github.com/CorrM/LorAuto/blob/a88021cdb235f0fd1c04408a0bc4522ef7fae4fe/src/LorAuto/Card/Model/EGameCardType.cs#L6
for now im very busy working on other project, RP are welcome.

@i2plus I pushed some commits to make it work again. (no idea about the strategy)

any new updates?

any new updates?

what is the problem ?

bot was winning games with the dedicated decks but now it cant
we need more logic and decks i guess

bot was winning games with the dedicated decks but now it cant we need more logic and decks i guess

Sorry, im busy to add more logic, is the bot still work ?


Fixed Get Portfolio Template button

Description
I fixed the homepage button that says 'Get Portfolio Template'
Proposed Changes

Renamed DiscordButton to TemplatesButton
Removed the useRouter navigation onClick in favor of a normal Link with a passHref to a motion.a
Changed the href to /templates because the original pr removed the /templates/minimal-portfolio path

Checklist
Please check the boxes that apply:

[x] I have rebased my branch on top of the latest main branch.
[x] I have tested the changes locally
[x] I ran npm run build and build is successful
[x] I have added necessary documentation (if applicable)
[x] I have updated the credits.md file (if applicable)

useRouter() is better in this case as it doesn't performs page-reload when doing client-side transitions
you can read more here: https://blog.logrocket.com/next-js-routechangestart-router-events/

@Ansub
I am under the impression that 'Link' also does not perform a full page reload in v14 according to their docs
Either way, we should probably still rename the button something besides DiscordButton
I will close this PR though :)

Then should we use <Link prefetch={false}>? This way we are still using a link for SEO and general best practices?

Then should we use <Link prefetch={false}>? This way we are still using a link for SEO and general best practices?

how will disabling prefetch a best practice, enlighten me please.
prefetching is done so that other page id already fetched to reduce load time when going to next page. making it false will disable the behaviour and then it will act just like an a tag.

I thought that was what you were recommending.
I am confused as to what useRouter does better than Link in this case.
You mentioned that useRouter doesn't perform a full-page reload, but I think that Link also doesn't perform a full-page reload.

I thought that was what you were recommending.
I am confused as to what useRouter does better than Link in this case.
You mentioned that useRouter doesn't perform a full-page reload, but I think that Link also doesn't perform a full-page reload.

yes both does the same thing

So should we switch it to a Link? I can open a new PR that is directed to main since this branch is now closed.

let's work on other stuff, this is not a deal breaker, both does the same work so it doesn't matter


What does sides mean?

I want to know that what does sides (which defined in file 'mesh_prepare.py') stand for? Thank you

Hi @liangqianqian123 ,
Did you try reading my explanation from this issue? Hope it clear.

Thank you very much，I fully understand！
On 11/09/2019 09:11, Rana Hanocka wrote:
Hi @liangqianqian123 ,
Did you try reading my explanation from this issue? Hope it clear.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


extended conformance - HTTPRouteQueryParamMatching

Is there an existing issue for this?

[X] I have searched the existing issues

Problem Statement
Support the HTTPRouteQueryParamMatching feature in conformance tests (extended)
Acceptance Criteria

[ ] the conformance test HTTPRouteQueryParamMatching is successfully ran

Removed blocker issue - query string matching https://github.com/Kong/kong/pull/11469 is being backported into the nearest 3.4.x releases of Gateway

Surpass old obsolete issue https://github.com/Kong/kubernetes-ingress-controller/issues/2152 too


Create Column Names Using Generics

What about an extension method to create the column names to be used on Select Command using Generics?
I was wondering if could be somethng like this!
public static ISelectCommand Select<T>() where T : class
{
       // code
}

With some reflection we can get all properties of DTO and build the column names!

It's looks good to me!
We can put it into a backlog item and mark this issue as a feature, to implement it. You can wait a team member do it or if you want you can send a pull request to us

Ok, I'll proceed with it, and submit a PR!

For performance reasons, would be nice has a cache to save the properties name. Then once a type is requested, we can get by cache.

I like so much a cache idea, we can use ConcurrentDictionary

This issue was implemented in PR #24.  Thank you!


How to see what error have occured during action execution?

Hi! I am having trouble debugging your action: it seems that no error output is shown when error happens.

Is it by design? Maybe there is some flag to enable to see more verbose output?

Hi @fedochet
You can enable step debug messages by adding a the secret ACTIONS_STEP_DEBUG with value true.
What you have shown in the screenshot is just the metadata for the step itself. Usually the error will be on the lines after this. I can't see below line 10 to check what the output is.

There are nothing to see, unfortunately:

I will try to use the flag you've mentioned, thanks!

Currently I am using your action like this:
      - name: Add Pull Request to project
        uses<EMAIL_ADDRESS>        with:
          project-location: csc-java-course
          project-number: 2
          column-name: Не проверено
          issue-number: 1
          repository: csc-java-course/csc-java-course-new-assignment-template-test-3

I am seeing this log:
##[debug]Loading env
Run<EMAIL_ADDRESS>  with:
    project-location: csc-java-course
    project-number: 2
    column-name: Не проверено
    issue-number: 1
    repository: csc-java-course/csc-java-course-new-assignment-template-test-3
    token: ***
##[debug]Inputs: {
##[debug]  token: '***',
##[debug]  projectLocation: 'csc-java-course',
##[debug]  projectNumber: 2,
##[debug]  projectName: '',
##[debug]  columnName: 'Не проверено',
##[debug]  repository: 'csc-java-course/csc-java-course-new-assignment-template-test-3',
##[debug]  issueNumber: 1
##[debug]}
##[debug]RequestError [HttpError]
##[debug]    at /home/runner/work/_actions/peter-evans/create-or-update-project-card/v1.1.4/dist/index.js:3655:23
##[debug]    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
##[debug]  name: 'HttpError',
##[debug]  status: 500,
##[debug]  headers: {
##[debug]    'access-control-allow-origin': '*',
##[debug]    'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset',
##[debug]    connection: 'close',
##[debug]    'content-length': '0',
##[debug]    'content-security-policy': "default-src 'none'",
##[debug]    'content-type': 'application/json; charset=utf-8',
##[debug]    date: 'Sat, 27 Feb 2021 10:28:47 GMT',
##[debug]    'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
##[debug]    server: 'GitHub.com',
##[debug]    'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
##[debug]    vary: 'Accept-Encoding, Accept, X-Requested-With',
##[debug]    'x-content-type-options': 'nosniff',
##[debug]    'x-frame-options': 'deny',
##[debug]    'x-github-media-type': 'github.inertia-preview; format=json, github.inertia-preview; format=json',
##[debug]    'x-github-request-id': '0401:14A6:66FDD8:CF46B8:603A1EDF',
##[debug]    'x-ratelimit-limit': '1000',
##[debug]    'x-ratelimit-remaining': '998',
##[debug]    'x-ratelimit-reset': '1614425327',
##[debug]    'x-ratelimit-used': '2',
##[debug]    'x-xss-protection': '1; mode=block'
##[debug]  },
##[debug]  request: {
##[debug]    method: 'GET',
##[debug]    url: 'https://api.github.com/orgs/csc-java-course/projects?per_page=100',
##[debug]    headers: {
##[debug]      accept: 'application/vnd.github.inertia-preview+json,application/vnd.github.inertia-preview+json',
##[debug]      'user-agent': 'octokit-core.js/3.1.0 Node.js/12.13.1 (Linux 5.4; x64)',
##[debug]      authorization: 'token [REDACTED]'
##[debug]    },
##[debug]    request: { agent: [Agent], hook: [Function: bound bound register] }
##[debug]  }
##[debug]}
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Add Pull Request to project

I cannot understand what is going wrong, and why there is a RequestError

I have been able to successfully use it when the project was the part of the repo, but I need to add the PR to the organisation-level project
Also, I've tried to use your action locally (by downloading the code and hardcoding the config-values), and it seems to work as expected

Maybe the porblem is that the default github token is not permissive enough for this action to add PR to the priavate org's project

Yes, you need to use a PAT. Please see this section of the readme.
https://github.com/peter-evans/create-or-update-project-card#create-a-card-in-an-organization-or-user-project

I haven't noticed that, thank you!

Assuming this is resolved now, so closing the issue.


Handling of deprecated binaries in crates.toml

cargo-edit 0.1.6 used to provide the following binaries: ["cargo-add", "cargo-list", "cargo-rm"].
cargo-edit 0.2.0 now provides ["cargo-add", "cargo-rm", "cargo-upgrade"].
I updated cargo-edit by running cargo install-update cargo-edit[edited typo] which in turn ran cargo install -f cargo-edit. Now, I have with the following in my .crates.toml:
"cargo-edit 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = ["cargo-list"]
"cargo-edit 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = ["cargo-add", "cargo-rm", "cargo-upgrade"]

Is that the expected behavior? This seems to leave 0.1.6 in an inconsistent state since cargo-add and cargo-rm are now v0.2.0 when cargo-list is still v0.1.6.
Is this acceptable and can this be improved, or are subcommands like cargo-install-update expected to handle this?

(dropping by to say that it's cargo install-update, not cargo update-installed)

I think this is semi-expected today but probably not the right behavior, we should likely just uninstall all binaries associated with a crate rather than just the subset being overridden.


fix: relax trait bounds

Updates trait bounds to make it easier to work with ProjectCompileOutput on foundry side

we need to allow BSL-1.0 for the crate now in deny.toml


S3 API doesn't send data over gRPC

Hi there,
I've noticed that the S3 API doesn't transfer data over gRPC although it's able to work only metadata such as create bucket and list files here, is there any particular reason for that?
I get the error message below when the disableHttp flag in set on the Filer as it doesn't set the handlers on the http server
E0617 16:37:09.417799 s3api_object_handlers_put.go:157 failing to read upload to http://<IP_ADDRESS>:8888/buckets/test/test.txt : 404 page not found

s3 api is in http. extra conversion would cost cpu resources

Thanks @chrislusf, so if disableHttp is enabled, the only way to talk to the Filer is using FUSE Mount right?

Thanks @chrislusf, so if disableHttp is enabled, the only way to talk to the Filer is using FUSE Mount right?

Volume servers also need to use http.


Aggregation operators support

Hi,
This doesn't seem to work
Meteor.neo4j.query("MATCH (a:Societe), (b:Societe {_id:{Id}}) WHERE (b)-[:OWNS]->(a) RETURN count(a)", Id: @_id).get()

It returns an array name count(a) with nothing inside. Same query with RETURN a is fine.
Any ideas ?

@vraptor75011  this issue will be fixed in next release - very soon

Tks !

@vraptor75011 fixed in: https://github.com/VeliovGroup/ostrio-Neo4jreactivity/commit/3ca874c490bd51c6f39010727a8190a50e09969e


TpLink Device Tracker Error

Description:
I have a TP-Link EAP245 AP and HA configured to use TpLink platform for device tracking.
On OrangePi with Armbian everything works fine.
On Intel architecture (Docker Ubuntu 18.04LTS server) with the same config I've got an error: "requests.exceptions.ChunkedEncodingError: ("Connection broken: ... 'Connection reset by peer'...)" similar like in #13991 .
This happend in block "try ... except ConnectionException" so it should be replaced with "RequestException".
Related issue (if applicable): fixes #13991, #9120
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

A more proper way to fix it is change tplink lib to handle exception. We, as a user of the lib should  not handle the low level exception at all.

Closing this in favor of @awarecan's approach

A more proper way to fix it is change tplink lib to handle exception. We, as a user of the lib should not handle the low level exception at all.

Tplink1DeviceScanner ... Tplink5DeviceScanner does hot use tplink lib! These scanners use Requests directly. All exceptions that Requests explicitly raises inherit from requests.exceptions.RequestException. Why is it considered low-level exception?

See the docstring in get_scanner() method

The TplinkDeviceScanner has been refactored
to depend on a pypi package, the other implementations
should be gradually migrated in the pypi package

We should move all directly use of requests into the upstream lib.

See the docstring in get_scanner() method

The TplinkDeviceScanner has been refactored
to depend on a pypi package, the other implementations
should be gradually migrated in the pypi package

We should move all directly use of requests into the upstream lib.

Make the code work properly before migration.
Unanswered: Why is requests.exceptions.RequestException considered lower exception than requests.exceptions.ConnectionError? Is requests.exceptions.ChunkedEncodingError lower exception than requests.exceptions.ConnectionError?

Did you fixed your issue by changing to catch different error? I don't think so. If any exception occurred and caught, the _success_init will be False, therefore the device tracker is unusable, isn't it? If the exception escaped, the device tracker is not created success, same result for user.
All requests exception consider as low level exception, better (better, not must, since we cannot fully control upstream lib) be handled by upstream lib, I was not saying one exception is lower than another.

Did you fixed your issue by changing to catch different error? I don't think so. If any exception occurred and caught, the _success_init will be False, therefore the device tracker is unusable, isn't it? If the exception escaped, the device tracker is not created success, same result for user.

Yes, I've fix my issue. The method get_scanner() iterate over available scanners (TplinkDeviceScanner ... Tplink5DeviceScanner) trying to initialize them. If scanner doesn't mutch the _success_init will be False, then trying another.
In my case ( TP-Link EAP245) correct scanner is Tplink5DeviceScanner. But the first Tplink1DeviceScanner (unusable) rise an uncaugth Exception and not allowed to iterate over another scanners.

All requests exception consider as low level exception, better (better, not must, since we cannot fully control upstream lib) be handled by upstream lib, I was not saying one exception is lower than another.

Upstream lib (tplink) don't carry about handling any exceptions and doesn't say what you should catch yourself.
I'm novice in Python. From Java perspective Python exception handling policy is very implicit...

Yes, I've fix my issue.

In that case, I agreed to reopen the PR.


Logspout: Support GELF TCP and HTTP

GELF has the option of being run over TCP or HTTP, providing reliability and integrity checks.
Is it possible to enable these as options in the Logspout HA addon?

TCP is supported by Logspout but unfortunately not by the underlying Gelf library (https://github.com/Graylog2/go-gelf). I will need to find a fork with TCP support, create my own fork or find another library, not sure when I will have time to do so.

Looks like go-gelf has a v2 branch that adds TCP support, and a tls branch that adds TLS support.
https://github.com/Graylog2/go-gelf/tree/v2
https://github.com/Graylog2/go-gelf/tree/tls


Youtube doesn't respect the playback speed setting anymore

I haven't used this long but am using the player extension with the Chrome OS add on to stay on top.  It used to work perfectly and obey the playback speed setting but has stopped in the last few days and defaults to 1x every time.  Has something changed?

Actually the add-on never supported the YouTube API, therefore never supported the playback speed setting. You can only set it manually, like this:

But why is it in the extension options?
On Sat, 7 Apr 2018, 03:54 Gabriel S<EMAIL_ADDRESS>wrote:

Actually the add-on never supported the YouTube API, therefore never
supported the playback speed setting. You can only set it manually, like
this:
[image: img]
https://user-images.githubusercontent.com/3298817/38450532-c4318a98-39f5-11e8-870d-287087939acb.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gabrielbarros/floating-player/issues/12#issuecomment-379427220,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHA4dE8iryoxxmZcFd8m4hzNVeRZrPTyks5tmCprgaJpZM4TKqK9
.

That option only works for the extension, but it doesn't work for the add-on for now. Then you can use such feature on windows and linux only.

Ah right, it must have followed the speed setting at first but then I
needed the add on as well to stay on top in Chrome OS. I understand now.
Thanks for your work anyway.
On Sat, 7 Apr 2018, 08:38 Gabriel S<EMAIL_ADDRESS>wrote:

That option only works for the extension, but it doesn't work for the
add-on for now. Then you can use such feature on windows and linux only.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gabrielbarros/floating-player/issues/12#issuecomment-379444327,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHA4dHVOMT4CeJ3a_j52JEk5jHX5bJTQks5tmGz1gaJpZM4TKqK9
.


Added TC-OCC-2.1 Python test script

Created a python test script for TC-OCC-2.1 test case under occupancy sensing cluster 1.4 release test plan.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Will consolidate all TC-OCC-xx test script PRs (PR 34490, PR 34491, PR 34492, PR 34523) to one PR.


How to remove a component from nlp pipeline? or should I create(maybe load) nlp object with same statistical model for every different pipeline?

I am a newbie for spacy...

https://spacy.io/api/language#remove_pipe

Also see this section in the docs: https://spacy.io/usage/processing-pipelines#disabling


[Issue]: PCIe throughput not supported on GPU on MI300 ROCM 6.1.1

Problem Description
Version:
rocm 6.1.1
grpc 1.61.0
rdc rocm-6.1.1
1717144799.236 ERROR RdcMetricFetcherImpl.cc(211): PCIe throughput not supported on GPU 1
1717144799.237 ERROR RdcMetricFetcherImpl.cc(211): PCIe throughput not supported on GPU 2
1717144799.237 ERROR RdcMetricFetcherImpl.cc(211): PCIe throughput not supported on GPU 3
1717144799.238 ERROR RdcMetricFetcherImpl.cc(211): PCIe throughput not supported on GPU 4
1717144799.239 ERROR RdcMetricFetcherImpl.cc(211): PCIe throughput not supported on GPU 5
1717144799.240 ERROR RdcMetricFetcherImpl.cc(211): PCIe throughput not supported on GPU 6
1717144799.240 ERROR RdcMetricFetcherImpl.cc(211): PCIe throughput not supported on GPU 7

Operating System
Ubuntu 22.04
CPU
AMD
GPU
AMD Instinct MI300X
ROCm Version
ROCm 6.1.0
ROCm Component
No response
Steps to Reproduce
Add
{
rdc_field_t.RDC_FI_PCIE_TX,
rdc_field_t.RDC_FI_PCIE_RX
}
into /opt/rdc/python_binding/rdc_prometheus.py
RUN:
python3 /opt/rdc/python_binding/rdc_prometheus.py --rdc_embedded
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response

You should be able to use metric 402 aka RDC_FI_PCIE_BANDWIDTH.
I know this is annoying 61a75d346b7d635638a73d479527290e08ece338

Hi @RyoYang. Has your issue been resolved? If so, please close the ticket. Thanks!

@RyoYang. Closing ticket. Please feel free to re-open ticket if you still see need assistance. Thanks!


Blocker: customUserAcls - Plan command - Marks the action for every entry on the state.yaml as "REMOVE".

I have generated a current state.yaml for my existing cluster.
I changed some couple of users the permission as "DENY". So I was expecting the "plan" command to show me those many "updates", instead, it is including those records in the plan json file and marks everything else for "REMOVE".
Kindly advise at the earliest.
This currently is not allowing me to deploy onto our server, so we can include this into our process permanently.
Thanks,
Jay.

Hello Shawn, Thanks for your response !
For the below sample state.yaml, if I have to change the permission for describe_configs_topic to "DENY". I change the permission to "DENY" for that block and then run the kafka-gitops command for validate, plan.
When I run the plan, I see that, the plan indicates "Delete" or "Remvove" for all the ACL's present in my system and not just the ones in the yaml file.
customUserAcls:
User:kattijay:
describe_configs_topic:
name: topic1
pattern: LITERAL
host: ""
permission: ALLOW
type: TOPIC
operation: DESCRIBE_CONFIGS
describe_topic:
name: topic1
pattern: LITERAL
host: ""
permission: ALLOW
type: TOPIC
operation: DESCRIBE
write_topic:
name: topic1
pattern: LITERAL
host: ""
permission: ALLOW
type: TOPIC
operation: WRITE
read_topic:
name: topic1
pattern: LITERAL
host: ""
permission: ALLOW
type: TOPIC
operation: READ

host above is * for all the records.

Hello @devshawn , Any further update for me on this please ?

Hi @jaykatti, can you provide an example state.yaml file to help reproduce?
Do note that ACLs do not update, they only add/remove. (so a change to an ACL should have one create and one delete).

I have generated a yaml (initial state) for my existing cluster. Now, this includes a large list of users and ACL's. I will use this as my base configuration and start modifying it based on the requirement. Either update an ACL or delete or Add a new one.
Say, I want to add a new ACL to the existing list, How do I go about this ? I do not want any of my existing ACL's to be deleted.
Kindly advise at the earliest as I need to get this wrapped up and start using it on our cluster.
Thanks,
Jay.

Hi @jaykatti,
You have to have every ACL listed in your state file. So you need to take your existing cluster and make an initial state file with all topics / ACLs until you run a plan and it says there are no changes. Then, you can start adding/removing ACLs and it will only have the changes you want.
Or am I misunderstanding the situation?

Hi @jaykatti
You're stating a customUserAcls in the above text - do you have a matching users in your state.yaml file as well?
Every customUserAcls and customServiceAcls is connected to a matching users and service respectively.
If you're only claiming the customUserAcls in your state file without the matching users definition, then the plan will disregard the customUserAcls listed in your state file.
For example, if I were to add a customUserAcls named Access_Bob then I'd have in my state file:
users:
  Access_Bob:
    principal: User:Bob
customUserAcls:
  Access_Bob:
    read-kstream-topics:
      name: kstream-
      type: TOPIC
      pattern: PREFIXED
      host: "*"
      operation: READ
      permission: ALLOW

Hi @jaykatti
You're stating a customUserAcls in the above text - do you have a matching users in your state.yaml file as well?
Every customUserAcls and customServiceAcls is connected to a matching users and service respectively.
If you're only claiming the customUserAcls in your state file without the matching users definition, then the plan will disregard the customUserAcls listed in your state file.
For example, if I were to add a customUserAcls named Access_Bob then I'd have in my state file:
users:
  Access_Bob:
    principal: User:Bob
customUserAcls:
  Access_Bob:
    read-kstream-topics:
      name: kstream-
      type: TOPIC
      pattern: PREFIXED
      host: "*"
      operation: READ
      permission: ALLOW

Oh !! Okay, Let me try that.
Thanks !, I will keep you posted.

Hi @jaykatti
You're stating a customUserAcls in the above text - do you have a matching users in your state.yaml file as well?
Every customUserAcls and customServiceAcls is connected to a matching users and service respectively.
If you're only claiming the customUserAcls in your state file without the matching users definition, then the plan will disregard the customUserAcls listed in your state file.
For example, if I were to add a customUserAcls named Access_Bob then I'd have in my state file:
users:
  Access_Bob:
    principal: User:Bob
customUserAcls:
  Access_Bob:
    read-kstream-topics:
      name: kstream-
      type: TOPIC
      pattern: PREFIXED
      host: "*"
      operation: READ
      permission: ALLOW

Sorry, closed by mistake

Hi @jaykatti
You're stating a customUserAcls in the above text - do you have a matching users in your state.yaml file as well?
Every customUserAcls and customServiceAcls is connected to a matching users and service respectively.
If you're only claiming the customUserAcls in your state file without the matching users definition, then the plan will disregard the customUserAcls listed in your state file.
For example, if I were to add a customUserAcls named Access_Bob then I'd have in my state file:
users:
  Access_Bob:
    principal: User:Bob
customUserAcls:
  Access_Bob:
    read-kstream-topics:
      name: kstream-
      type: TOPIC
      pattern: PREFIXED
      host: "*"
      operation: READ
      permission: ALLOW

Oh !! Okay, Let me try that.
Thanks !, I will keep you posted.

Hello @fireydagostino @devshawn
I tried with that and it seems to be working. So many thanks !
Do we also need to list all the topics as part of the state.yaml ?
I see, when I run the plan, it is marking the topics for deletion, even though, there are ACL's for those topics.
Kindly confirm !
Thanks,
Jay.

Yeah @jaykatti
The state file literally claims everything that should be present within the current state of your Kafka cluster.
Any topics/ACLs that are on Kafka, but not defined for in your state will be privy to deletion upon execution - and respectively the opposite for topics/Acls defined in your state but not present on Kafka.
Your state.yaml file will need

default options / blacklisted topic prefixes
topics
users + customUserAcl
services + customServiceAcl

In my production environment, we have some of these separated into specific directories/files pertaining to different teams/technologies and then utilize yq4to merge all the information into thestate.yaml` file.

Thanks a lot for the clarification.
Would you please share a sample state.yaml from ur environment ?
Thanks and regards,
Jay
On Tue, 28 Sep 2021, 7:13 pm fireydagostino, @.***>
wrote:

Yeah @jaykatti https://github.com/jaykatti
The state file literally claims everything that should be present within
the current state of your Kafka cluster.
Any topics/ACLs that are on Kafka, but not defined for in your state will
be privy to deletion upon execution - and respectively the opposite for
topics/Acls defined in your state but not present on Kafka.
Your state.yaml file will need

default options / blacklisted topic prefixes
topics
users + customUserAcl
services + customServiceAcl

In my production environment, we have some of these separated into
specific directories/files pertaining to different teams/technologies and
then utilize yq4to merge all the information into thestate.yaml` file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/devshawn/kafka-gitops/issues/77#issuecomment-929223107,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI5B75VRYZ4HD2T3OMI7YQ3UEHBBZANCNFSM5C5NFEPA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Decouple piet and druid-shell

It is not currently possible to use druid-shell without using piet, and I think this is an unnecessary coupling, and it makes druid-shell strictly less useful.
I would like to move all of the piet-specific code from druid-shell into druid. In practice this means:

Any shared PietText objects should live somewhere in druid (unclear where, exactly, druid doesn't really have an application-global object? maybe the AppHandler?)
instead of passing a RenderContext to the paint method, druid-shell should pass a window handle
druid should construct the RenderContext itself, from the window handle

This does violate the principal that platform-specific code should generally be in druid-shell instead of druid. Is there a viable alternative? I'm not sure if there's a good one, although we could perhaps have a from_raw_handle(handle: &RawWindowHandle) -> RenderContext method in piet-common? I'm not sure if this really makes a ton of sense, but it's an option?
If someone is interested in taking this on, I am happy to answer questions.

instead of passing a RenderContext to the paint method, piet should pass a window handle
piet-> druid-shell?

I am not sure how easy it is to decouple piet and druid-shell. GTK3 only has cairo/some ogl support, gtk4 has better GPU support, but in the end we're limited by these fixed backends.
Maybe its an idea to have some kind of thing that allows druid-shell to provide an interface that can be rendered to. So that a widget can draw into the a surface, and druid-shell then draws the final result to the cairo-surface.
Like an efficient version of make_image+draw_image for, for example, ogl. Like make_ogl+draw_ogl that can be efficienlty projected onto the RenderContext without converting image data too much.

instead of passing a RenderContext to the paint method, piet should pass a window handle

piet-> druid-shell?

Oops, yes. fixed. :)

I am not sure how easy it is to decouple piet and druid-shell. GTK3 only has cairo/some ogl support, gtk4 has better GPU support, but in the end we're limited by these fixed backends.
Maybe its an idea to have some kind of thing that allows druid-shell to provide an interface that can be rendered to. So that a widget can draw into the a surface, and druid-shell then draws the final result to the cairo-surface.
Like an efficient version of make_image+draw_image for, for example, ogl. Like make_ogl+draw_ogl that can be efficienlty projected onto the RenderContext without converting image data too much.

I don't want to limit druid-shell based on the capacities of the most limited backend, and I also don't want to over-complicate the API; I think consumers can decide what makes the most sense for them (such as only supporting x11?).
Another way to think about this: everything that is currently possible remains possible, and some set of things that were not possible become possible?

I don't want to limit druid-shell based on the capacities of the most limited backend, and I also don't want to over-complicate the API; I think consumers can decide what makes the most sense for them (such as only supporting x11?).

Yes I know, but I assume there are similar limitations on other platforms. I also dont think this would be a limmiting API, are there any usecases that wouldnt be covered by this? besides using an unsupported API.

As far as I understand it, these limitations are not present on other platforms. I would basically point to the winit crate: we should generally try to do what they do (although they do not have a GTK backend).
I'm also not sure what you mean by limiting the API? If someone wants to make a game using openGL and they want to build that on top of druid-shell this is not possible if piet is bundled.

This does violate the principal that platform-specific code should generally be in druid-shell instead of druid. Is there a viable alternative?

We can have WindowHandle::get_render_context but behind a feature "piet"
Also I think it is OK if gtk backend does not compile if "piet" feature is not enabled and druid-shell defaults to x11 backend

yes, that would probably work. One issue is where the text state should be stored, but I'm sure that's solvable.

I'm also not sure what you mean by limiting the API? If someone wants to make a game using openGL and they want to build that on top of druid-shell this is not possible if piet is bundled.

You said that you dont want to limit the API on one backend, but I dont think what I outlined limits what people can do. We can let the user draw using OGL, and then we can paint their rendered image onto the cairo surface. I dont know exactly what this API should look like but it should be achievable.

You said that you dont want to limit the API on one backend, but I dont think what I outlined limits what people can do. We can let the user draw using OGL, and then we can paint their rendered image onto the cairo surface. I dont know exactly what this API should look like but it should be achievable.

This would require extracting the frame from the GPU as a bitmap and then drawing that bitmap into a cairo context. This might be possible, but it would be hugely inefficient and a ton of additional work for minimal obvious gain. I think we should keep things simple, and not worry overly much about compatibility: my goal is just to remove limitations, and then users of druid-shell can experiment however they want. :)


feat: featuresLayout and design improvements

As well as small improvements visually :)

Thanks!! I have made a small refactor to introduce this as a new layout only. Both might make sense in the future but this way we don't introduce two new keys for one purpose (to keep config simple)

Much better indeed!


‘make test-e2e-beta‘ failed with permission error

Steps to reproduce: (Copy pasted from slack conversation)
The env I am using is OCP 4.2 created by IBM Z UPI .
I cloned the odo project into GORoot and build the binary by make cross .
I created some pvs with nfs.
I changed the directory to odo/ and run make test-e2e-betato run e2e core beta tests.

I ran the command make test-e2e-beta to run e2e tests on OCP 4.2 Z platform. I got the error below:
odo core beta flow
/root/go/src/github.com/openshift/odo/tests/e2escenarios/e2e_beta_test.go:13
  when component is in the current directory
  /root/go/src/github.com/openshift/odo/tests/e2escenarios/e2e_beta_test.go:95
    create local java component and push code [It]
    /root/go/src/github.com/openshift/odo/tests/e2escenarios/e2e_beta_test.go:116

    No future change is possible.  Bailing out early after 29.932s.
    Running odo with args [odo push]
    Expected
        <int>: 1
    to match exit code:
        <int>: 0

    /root/go/src/github.com/openshift/odo/tests/helper/helper_run.go:34

The detail log is
Created dir: /tmp/279047315
Creating a new project: anjfgllnxu
Running odo with args [odo project create anjfgllnxu -w -v4]
[odo]  •  Waiting for project to come up  ...
[odo] I0512 05:28:34.979481   28613 occlient.go:531] Status of creation of project anjfgllnxu is Active
[odo] I0512 05:28:34.979579   28613 occlient.go:536] Project anjfgllnxu now exists
[odo] I0512 05:28:34.983657   28613 occlient.go:571] Status of creation of service account &ServiceAccount{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:default,GenerateName:,Namespace:anjfgllnxu,SelfLink:/api/v1/namespaces/anjfgllnxu/serviceaccounts/default,UID:f3a4f4cf-9432-11ea-9b6d-025539722618,ResourceVersion:11539496,Generation:0,CreationTimestamp:2020-05-12 05:28:34 -0400 EDT,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,Initializers:nil,},Secrets:[{  default-token-b74qd    } {  default-dockercfg-zksfp    }],ImagePullSecrets:[{default-dockercfg-zksfp}],AutomountServiceAccountToken:nil,} is ready
 ✓  Waiting for project to come up [511ms]
[odo]  ✓  Project 'anjfgllnxu' is ready for use
[odo] I0512 05:28:34.993868   28613 odo.go:80] Could not get the latest release information in time. Never mind, exiting gracefully :)
[odo]  ✓  New project created and now using project: anjfgllnxu
Current working dir: /root/go/src/github.com/openshift/odo/tests/e2escenarios
Setting current dir to: /tmp/279047315
Running oc with args [oc get is -n openshift -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}']
[oc] 'cli
[oc] cli-artifacts
[oc] installer
[oc] installer-artifacts
[oc] java
[oc] must-gather
[oc] nodejs
[oc] php
[oc] redhat-openjdk18-openshift
[oc] tests
[oc] 'Running oc with args [oc get is java -n openshift -o jsonpath='{range .spec.tags[*]}{.name}{"\n"}{end}']
[oc] '11
[oc] 8
[oc] latest
[oc] 'Running odo with args [odo component create redhat-openjdk18-openshift:1.8 mycomponent --app myapp --project anjfgllnxu]
[odo] Validation
[odo] Warning: redhat-openjdk18-openshift:1.8 is not fully supported by odo, and it is not guaranteed to work
[odo]  •  Validating component  ...
 ✓  Validating component [8ms]
[odo]
[odo] Please use `odo push` command to create the component with source deployed
Running odo with args [odo config set --env FOO=bar]
[odo]  ✓  Environment variables were successfully updated
[odo]
[odo] Run `odo push --config` command to apply changes to the cluster
Running odo with args [odo url create --port 8080]
[odo]  ✓  URL mycomponent-8080 created for component: mycomponent
[odo]
[odo] To apply the URL configuration changes, please use `odo push`
Running odo with args [odo push]
[odo] Validation
[odo]  •  Checking component  ...
 ✓  Checking component [12ms]
[odo]
[odo] Configuration changes
[odo]  ✓  Initializing component
[odo]  •  Creating component  ...
 ✓  Creating component [106ms]
[odo]
[odo] Applying URL changes
[odo]  ✓  URL mycomponent-8080: http://mycomponent-8080-myapp-anjfgllnxu.apps.ocp-test.redhat.com created
[odo]
[odo] Pushing to component mycomponent of type local
[odo]  •  Checking files for pushing  ...
 ✓  Checking files for pushing [3ms]
[odo]  •  Waiting for component to start  ...
 ✓  Waiting for component to start [29s]
[odo]  •  Syncing files to the component  ...
 ✓  Syncing files to the component [296ms]
[odo]  •  Building component  ...
[odo]  ✗  Building component [306ms]
[odo]  ✗
[odo] Unable to exec command [/opt/odo/bin/assemble-and-restart]:
[odo] + set -eo pipefail
[odo] + export ODO_UTILS_DIR=/opt/odo
[odo] + ODO_UTILS_DIR=/opt/odo
[odo] + export ODO_IMAGE_MAPPINGS_FILE=/opt/odo/language-scripts/image-mappings.json
[odo] + ODO_IMAGE_MAPPINGS_FILE=/opt/odo/language-scripts/image-mappings.json
[odo] ++ /opt/odo/bin/getlanguage
[odo] + IMAGE_LANG=java
[odo] + '[' '!' -z /home/jboss ']'
[odo] + '[' /tmp '!=' /home/jboss ']'
[odo] + '[' -n /opt/app-root/src-backup ']'
[odo] + '[' '!' -d /opt/app-root/src-backup ']'
[odo] + rsync -rlO /tmp/src/. /opt/app-root/src-backup/src/
[odo] rsync: mkstemp "/opt/app-root/src-backup/src/.dummy.UjB3Bc" failed: Permission denied (13)
[odo] rsync: mkstemp "/opt/app-root/src-backup/src/.gitignore.uepFZe" failed: Permission denied (13)
[odo] rsync: mkstemp "/opt/app-root/src-backup/src/.pom.xml.u835lh" failed: Permission denied (13)
[odo] rsync: mkstemp "/opt/app-root/src-backup/src/.odo/.config.yaml.QJ32hk" failed: Permission denied (13)
[odo] rsync: mkstemp "/opt/app-root/src-backup/src/.odo/.odo-file-index.json.ALg3Hq" failed: Permission denied (13)
[odo] rsync: mkstemp "/opt/app-root/src-backup/src/src/main/java/.AnotherMessageProducer.java.gP788w" failed: Permission denied (13)
[odo] rsync: mkstemp "/opt/app-root/src-backup/src/src/main/java/.Application.java.grzzwD" failed: Permission denied (13)
[odo] rsync: mkstemp "/opt/app-root/src-backup/src/src/main/java/.MessageProducer.java.oxieSJ" failed: Permission denied (13)
[odo] rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]
[odo]
[odo]  ✗  command terminated with exit code 23
Setting current dir to: /root/go/src/github.com/openshift/odo/tests/e2escenarios
Deleting project: anjfgllnxu
Running odo with args [odo project delete anjfgllnxu -f]
[odo] This project contains the following applications, which will be deleted
[odo] Application myapp
[odo] This application has following components that will be deleted
[odo] component named mycomponent
[odo] This component has following urls that will be deleted with component
[odo] URL named mycomponent-8080 with host mycomponent-8080-myapp-anjfgllnxu.apps.ocp-test.redhat.com having protocol http at port 8080
[odo] No services / could not get services
[odo]  •  Deleting project anjfgllnxu  ...
 ✓  Deleting project anjfgllnxu [28s]
[odo]  ✓  Deleted project : anjfgllnxu
Deleting dir: /tmp/279047315

I created the PersistentVolume for tests with yaml file:
apiVersion: v1
kind: PersistentVolume
metadata:
  name: pvnfs001
spec:
  capacity:
    storage: 2Gi
  accessModes:
  - ReadWriteOnce
  nfs:
    path: /nfs01/
    server: <IP_ADDRESS>
  persistentVolumeReclaimPolicy: Retain

@amitkrout Hi , I reproduced the permission error. Could you please help check this issue? I am not sure if it is the PersistentVolume definition error or not. For upstream CI, how to provide the PV for those tests? Thanks.

The nfs exports is
/nfs06 *(rw,sync,no_wdelay,root_squash,insecure,fsid=0)
/nfs05 *(rw,sync,no_wdelay,root_squash,insecure,fsid=0)
/nfs04 *(rw,sync,no_wdelay,root_squash,insecure,fsid=0)
/nfs03 *(rw,sync,no_wdelay,root_squash,insecure,fsid=0)
/nfs02 *(rw,sync,no_wdelay,root_squash,insecure,fsid=0)
/nfs01 *(rw,sync,no_wdelay,root_squash,insecure,fsid=0)

@zhengxiaomei123 this is the same issue to the PV permission that discussed before?
I think they requested default project for some reason ,we followed that?

this is the same issue to the PV permission that discussed before?

The PV definition is same as the before one. Maybe the tests cases need the different PV definition.

I think they requested default project for some reason ,we followed that?

Sorry , What's the meaning?

Slack conversation:
On AWS SC is configured by default. In our test environment we uses cluster hosted on AWS, that is why we did not hit the issue you are facing with OCP 4.2 created by IBM Z UPI .
To make your PVC binding to a PV,

First you need a storage server somewhere which is accessible from/to your cluster.
Then follow docs [1] to create PVs pointing to above storage servers.
Create storage class to group above PVs, which is optional.
The example links to an NFS one, you can choose NFS/iSCSI/local volume or any one appropriate.
Also the simplest HostPath PV [2] can be used for test purpose.
[1]
https://docs.openshift.com/container-platform/4.2/storage/persistent-storage/persistent-storage-nfs.html
[2]
https://docs.openshift.com/container-platform/4.2/storage/persistent-storage/persistent-storage-hostpath.html

Even these above steps did not work for @zhengxiaomei123. Actually this looks more like devops kind stuff. @girishramnani can you take a look if it is a miss from odo side by any chance ?

@amitkrout Hi, I found it is related to the s2i image for applications. The error occured while there is warning "Warning: redhat-openjdk18-openshift:1.8 is not fully supported by odo, and it is not guaranteed to work".

The image used is "registry.redhat.io/redhat-openjdk-18/openjdk18-openshift:1.8" . It can not worked for odo.

The error occurred not only with the imagestream for java but also with the imagestream for NodeJS.
The same image stream worked well for make test-e2e-beta, but failed for make test-integration .

[jboss@mycomponent-myapp-1-7jpnr src]$ rsync -rlO /tmp/src/. /opt/app-root/src-backup/src/
rsync: recv_generator: mkdir "/opt/app-root/src-backup/src/src" failed: Permission denied (13)
*** Skipping any contents from this failed directory ***
rsync: mkstemp "/opt/app-root/src-backup/src/.dummy.xrXXmC" failed: Permission denied (13)
rsync: mkstemp "/opt/app-root/src-backup/src/.gitignore.y3wCy4" failed: Permission denied (13)
rsync: mkstemp "/opt/app-root/src-backup/src/.pom.xml.bFy6Qx" failed: Permission denied (13)
rsync: mkstemp "/opt/app-root/src-backup/src/.odo/.config.yaml.imJ930" failed: Permission denied (13)
rsync: mkstemp "/opt/app-root/src-backup/src/.odo/.odo-file-index.json.jMCPbu" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]

[jboss@mycomponent-myapp-1-7jpnr src]$ ls /opt/app-root/src-backup/src/ -all
total 24
drwxr-xr-x. 3<PHONE_NUMBER> 65534 4096 May 13 07:32 .
drwxr-xr-x. 3<PHONE_NUMBER> 65534 4096 May 13 07:32 ..
-rw-r--r--. 1<PHONE_NUMBER> 65534    0 May 13 07:32 .dummy
-rw-------. 1<PHONE_NUMBER> 65534   25 May 13 07:32 .gitignore
drwxr-xr-x. 2<PHONE_NUMBER> 65534 4096 May 13 07:32 .odo
-rw-r--r--. 1<PHONE_NUMBER> 65534  329 May 13 07:32 package.json
-rw-r--r--. 1<PHONE_NUMBER> 65534  543 May 13 07:32 server.js

@zhengxiaomei123
Are those on s390x or on x86 platform?

@zhengxiaomei123
Are those on s390x or on x86 platform?

s390x, occurred sometimes.

The user group is<PHONE_NUMBER>  but the app-root user permission is 65534.

ls -lah /nfs12
total 16K
drwxrwxrwx.  4 root       root      4.0K May 18 02:26 .
dr-xr-xr-x. 32 root       root      4.0K May 12 23:10 ..
drwxr-xr-x.  6<PHONE_NUMBER> nfsnobody 4.0K May 13 03:29 app-root
drwxrwxrwx.  2 nfsnobody  nfsnobody 4.0K May 18 02:27 deployment

I am not sure if it is related to the PVs. I change the definition of PV and then haven't met this error again.
apiVersion: v1
kind: PersistentVolume
metadata:
  name: pvnfs009
spec:
  capacity:
    storage: 5Gi
  accessModes:
  - ReadWriteOnce
  - ReadWriteMany
  - ReadOnlyMany
  nfs:
    path: /nfs/odotest/09
    server: <IP_ADDRESS>
  persistentVolumeReclaimPolicy: Recycle

I will close this issue and If I meet this error again I will reopen it.


Error: Python interpreter version (3.6) is lower than PyO3's minimum supported version (3.7)

  error: the configured Python interpreter version (3.6) is lower than PyO3's minimum supported version (3.7)
warning: build failed, waiting for other jobs to finish...
💥 maturin failed
  Caused by: Failed to build a native library through cargo
  Caused by: Cargo build finished with "exit status: 101": `"cargo" "rustc" "--release" "--target" "x86_64-unknown-linux-gnu" "--manifest-path" "/home/runner/work/nutpie/nutpie/Cargo.toml" "--message-format" "json" "--lib"`
Error: The process '/usr/bin/docker' failed with exit code 1
    at ExecState._setResult (/home/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:1702:25)
    at ExecState.CheckComplete (/home/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:1685:18)
    at ChildProcess.<anonymous> (/home/runner/work/_actions/PyO3/maturin-action/v1/dist/index.js:1579:27)
    at ChildProcess.emit (node:events:390:28)
    at maybeClose (node:internal/child_process:1064:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5)
Error: The process '/usr/bin/docker' failed with exit code 1

This is the PR: https://github.com/pymc-devs/nutpie/pull/29
I don't see Python 3.6 specified anywhere, just 3.9.

The default python3 in manylinux2014 x86_64 docker image is Python 3.6.
Don't copy abi3 example for a non-abi3 project, you can refer to https://github.com/messense/py-dissimilar/blob/main/.github/workflows/CI.yml instead.

Thanks! And while I have you, don't I need to set a token somewhere?

don't I need to set a token somewhere?

The PyPI upload token needs to be set in secrets, see https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository
https://github.com/messense/py-dissimilar/blob/86bb5e95826d9818a02b4a9f67c3d41be5df3760/.github/workflows/CI.yml#L232, it's called PYPI_PASSWORD (Maybe it's better to be named as PYPI_TOKEN).

The default action built with maturin generate-ci github > .github/workflows/CI.yml uses "--find-interpreter" instead of listing out the versions as in the example @messense linked: https://github.com/messense/py-dissimilar/blob/main/.github/workflows/CI.yml
This leads to the issue mentioned above for python3.6 on targets [aarch64, armv7, s390x, ppc64le].
Should the default maturin action not be compatible with the default pyo3 project? It seems to use python3.6 I need to use the abi3 feature and use abi3-py36


Create non-root user and disable diagnostics

We also did it in the previous version, now it crashes with "Failed to create CoreCLR, HRESULT: 0x80004005"
This site explains the problem https://www.ais.com/net-diagnostics-in-kubernetes-deployments/

Thanks, we will probably turn diagnostics back on at a later time :-)


bug: duplicate errors and warnings

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the exsiting issues of plugins related to this issue

Neovim version (nvim -v)
v0.8.3
Operating system/version
macOS Ventura 13.2.1
Describe the bug
I am seeing the same errors and warnings multiple times from the LSP. Do you know why this might be happneing?

I have tsserver and eslint running on this example.
Steps To Reproduce

Create an typescript project with eslint
Break on of the eslint rules

Expected Behavior
I expect to see the provided error message once.
Repro
No response

Hey, so I figured it out! I had eslint both configued in null-ls and the LSP config.


Worker node taints

Issue #, if available:
https://github.com/aws/eks-anywhere/issues/189
Description of changes:
This PR will act as a continuation of https://github.com/aws/eks-anywhere/pull/693
dependent on Node Group Configuration PR:

[x] index WorkerNodeGroupConfigurationsSliceEqual taint comparison using WorkerNodeGroupConfiguration name

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

https://github.com/mrajashree/cluster-api/pull/5

https://github.com/aws/eks-anywhere/issues/1125


Strange regexp replace

Hi.
Could you explain please next string of code?
value = (value + '').replace(/[^!#$&-+\--:<-\[\]-~]/g, encodeURIComponent);

If value would be json - '[{"name":"test"}]' would be => '[{%22name%22:%22test%22}]'

Hey @LastRide ,
The regex replaces all characters in the cookie value that are illegal, according to RFC6265, by replacing them with a URL encoded representation (percent encoding).
See the "A Note About Encoding" section of the README for more info.


ability to disable a provisioner

Tell us about your request
when something goes wrong during node bootstrap I want to be able to disable the provisioner so they do not add or remove nodes
Are you currently working around this issue?
No

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Why not delete the provisioner instead?

Deleting the provisioner without the --cascade=orphan would cause the nodes that were created by the provisioner to also be removed. You could delete the provisioner but you would then have to manage the nodes on your own and wouldn't be able to transfer the ownership of nodes back to a Provisioner when debugging is done.
@grosser There are a couple of workarounds to enable "disabling" behavior without explicitly having the field surfaced in the Provisioner API:

Add a .spec.taint to the Provisioner that none of the workloads deployed onto the nodes can tolerate
Add requirements to the provisioner that make it impossible to schedule any node, such as including a DoesNotExist requirement on a label that Karpenter will always provision to a node

requirements:
- key: "karpenter.sh/capacity-type"
   operator: DoesNotExist

When you mean "shutting down nodes", what do you mean? Are you referring to consolidation, emptiness of nodes, or expiration?

all of them (but atm we don't plan on using expiration)

So can you update the provisioner to have the additional requirement listed above along with ensuring that you do not have ttlSecondsAfterEmpty set and consolidation is not enabled?

I'm also trying to get to root of the use-case here. What do you need the provisioner disabled for? My assumption is that you want to do debugging on the node and you don't want the provisioner to interfere.

if there is for example an az outage or we have trouble with node bootstrap (new nodes cannot boot) we want to disable the provisioner (and everything it does) to have a stable environment
also for blue-green rollouts we want to disable the old provisioner and slowly roll out a new one so it would be useful there too

So can you update the provisioner to have the additional requirement listed above along with ensuring that you do not have ttlSecondsAfterEmpty set and consolidation is not enabled?

Can you explain the problems with this solution in your opinion? In this case, if you did this to your provisioner, no new nodes would launch and karpenter wouldn't delete any nodes for you on your behalf.
The only caveat here is if you went about deleting the provisioner, the cascading deletion would still take effect but you probably shouldn't be doing this with an AZ outage or blue-green rollout anyways.

yes it would be a workable workaround
but:

it's complicated (we'd need tooling to do disable+enable and also store the before to be able to undo the change)
it's not future-proof since we'd need to update the disable logic every time a new feature gets added to karpenter

Relevant to https://github.com/aws/karpenter/issues/2737

I think we likely need a more holistic solution to control different actions that karpenter takes, e.g.
provisioning
deletion
replacement
drift
interruption
expiration

Why not set limits to 0? This will stop provisioning, but not deprovisioning.

Do you want this at the provisioner level or karpenter globally? It's likely that another provisioner will still work if you just disable one.

I'd want to stop provisioning and de-provisioning.
Global would be a good start, but ideally per-provisioner so I can for example disable some az or some group instead of everything (for example during an az-outage)

disable some az

This is currently possible by modifying requirements to exclude the impacted AZ.

would that make the az no longer scale-down either ?
afaik that is all done by provisioner-name

would that make the az no longer scale-down either ?

I'm not grokking the big picture that you're imagining. During an AZ outage, the node lifecycle controller will disable taint based eviction, so pods won't get evicted, the nodes won't become empty, and scale down shouldn't occur.

during an az outage (or other problem in 1 az) we drain the nodes in that az from everything except pods with pvcs, but we keep the nodes around (we could delete the ones that get empty though)
we block CAS by setting the asgs to min==max
is there some annotation we could set to make karpenter not scale down certain nodes ? (would be useful for another usecase we have too, which is marking nodes as no-scale when they run long-running pods) and maybe set max so it does not scale up
but overall this feels a bit hacky and I was hoping a "off switch" would be easier to use

we drain the nodes in that az

Highly recommend against this: https://github.com/aws/aws-eks-best-practices/pull/247/files?short_path=19e909f#diff-19e909fa40e2670b64ac33aa645bc59b7b2335cdad31d7d5070d8dddb5cefc70

is there some annotation we could set to make karpenter not scale down certain nodes ?

You can always set the karpenter.sh/do-not-evict annotation on a pod to prevent karpenter from scaling down. You can also add karpenter.sh/do-not-consolidate onto a node to disable consolidation.

yeah good article, the way we drain is that we create copies first and only drain if these copies are healthy, so some of the gotchas don't apply
a kind of karpenter.sh/do-not-scale-down for nodes would be helpful then (since I assume the node would still be removed if it's semi-empty)
... or a "disable" flag for the provisioner so we don't have to juggle multiple labels on the node :)

Playing with this: https://github.com/aws/karpenter-core/pull/87

thx, sounds godd
On Wed, Aug 9, 2023 at 11:54 AM Nick Tran @.***> wrote:

Closed #2491 https://github.com/aws/karpenter/issues/2491 as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/aws/karpenter/issues/2491#event-10051114059, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAACYZ2I232MX4BRDHJRUHLXUPMHPANCNFSM6AAAAAAQKUHT3M
.
You are receiving this because you were mentioned.Message ID:
@.***>


Keyboard navigation for slider component

Is your feature request related to a problem?
The current slider lags of a keyboard navigation, should probably be handled with arrow keys and mouse wheel if possible.
Related issue: https://github.com/btzr-io/Villain/issues/23
See for possible implementation: https://github.com/sghall/react-compound-slider/blob/master/docs/src/pages/slider-demos/horizontal/components.js#L106

Fixed on this PR: https://github.com/btzr-io/Villain/pull/44


add LSTM module in DDLite

add LSTM module in DDLite
update GeneTaggerExample_Learning.ipynb to show how to run LSTM in DDLite

@SenWu sorry, one more: can you delete the pkls in test/data/lstm_test/?


Place env debug to a separate container.

Fixes https://github.com/babel/babel/issues/5657

Verified the issue is fixed, though I wonder if we want to tab out debug vs console output? Not sure that discussion needs to block this though


[Bug] Next.js self is not defined

Reproduction
https://codesandbox.io/p/sandbox/focused-mahavira-muvl5k

resolved by dynamic import.
https://github.com/Crossbell-Box/xLog/pull/497/commits/fa3e22be712437c2e776edda4ebdc5d1e407d81e


Updating to support chef master

Chef 12.5.0 defines Chef::NOT_PASSED and chef-provisioning-aws was also defining this.  The double defining was causing issues with param validation.
\cc @jkeiser @randomcamel

Looks reasonable, though I'm not in touch with the 12.5 changes, so that needs other eyes.


Added + modified translations of zh-CN

Looks great! Thanks for the contribution. I will be sure to get this into the next release.


Add CLI11

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (cli11) have been updated in this PR. Please review the changes.


Several notifications popup as the envs get created for each workspace

Testing #22295

The "select python Interpreter" button does not do anything.

Steps to repro?

Follow the TPI https://github.com/microsoft/vscode-python/issues/22295

Can you provide a minimal repro? The TPI seems too large.

Do all of this outside of vscode: Create a folder project, with some python file in it. Add a few more folders under it like project1, project2, project3 in it. Add few python file in those as well. Add a requirements.txt folder in each of folders, including the root.
Open the project folder in VSCode. Follow the steps to open mono repo as a multi-root repo. After you have created the project.code-workspace. Use create environment for one of the repos, once it finishes. It will select the environment for the workspace. Other workspaces will trigger the notification you see.
The reason I asked you to follow the TPI is because it minimizes the chances of following steps that can circumvent this issue.

It will select the environment for the workspace

Thanks, can you point me to where this happens?

https://github.com/microsoft/vscode-python/blob/71a451cb4f7cb6a2e0b192ad0ed4d1ec202a001c/src/client/pythonEnvironments/creation/createEnvApi.ts#L83-L87

Sorry, unable to repro it while following the exact steps in https://github.com/microsoft/vscode-python/issues/22295:

Let me know when you have some time and we can quickly have a look.

After discussion with Karthik, closing as it's not reproducible.


Theme editor immediately closing after opening any theme item or simply clicking on viewport

Godot version
218bef90af2091afde3b1be816c87286c194a2a8
System information
Windows 11
Issue description
I think it's incorrect behaviour - clicking on theme items override or even a main viewport (regardless of 2D or 3D) immediately hides the theme editor.

Steps to reproduce
Open and try to use the theme editor
Minimal reproduction project
TestTheme.zip

I can confirm this on Linux X11.
Looks like this bug got introduced between Beta14 and Beta15.

CC @KoBeWi

Just want to mention that it also automatically hides itself if you make any changes to the theme while it is set as the global (custom) theme in the project settings. It produces the following error every time:

When you click a stylebox, it gets edited instead of the Theme, hence the editor gets closed. I think there used to be some hack to prevent that.
As for the error, _update_type_list() is called with a Timer and throws error if you click the stylebox too fast. To fix it we can stop the debounce timer when the Theme gets unassigned.

I think there used to be some hack to prevent that.

It still exists, the theme editor reports that it handles subresources of the currently edited theme, see https://github.com/godotengine/godot/blob/master/editor/plugins/theme_editor_plugin.cpp#L3715
However, I guess it doesn't prevent the edit null call from happening, which closes the editor.

edit(null) is needed to free the resource. Otherwise once the editor edits a resource, it will never get unloaded.
Part of this issue can be fixed now, but for complete fix I think we need a better way to handle editor persistence. I'm thinking of something like close button in the Theme editor to allow unloading the resource. Then we could make the editor an editing owner, so it doesn't receive null and allows to edit the Theme without disturbing.

So in the end all contextual editors will become persistent editors? 🤔 We "solved" the shader editor issues the same way, basically. I'm not sure this is a good direction, as it removes the perceived simplicity of Godot a bit. We also end up with a bunch of editors with their own open resource list this way, without any unified approach.
Overall, I think editing a subresource of a resource should not drop the context for the parent resource. Intuitively it doesn't make much sense. And that's where the root of the issue is.

No, the editor would be not visible until you edit a resource. Then once you edit it, you'd need to close it manually.

Overall, I think editing a subresource of a resource should not drop the context for the parent resource.

The problem is that inspector is the "editing owner" of the Theme. Once you click StyleBox, the inspector will display it instead of the Theme, hence the editor is closed. For the Theme to keep being edited, the editor needs to be still used in some editing context.

Link the same problem https://github.com/godotengine/godot/issues/72262

I forgot to mention it before, but there was a plan to use instanced inspectors directly inside of the theme editor for all resources, which would solve the usability problem introduced here. Though this was more of a nice-to-have and thus bumped to an unknown release in a future. I could work on it for 4.0 though, if it would solve this more pressing issue,

I have this problem too, is there any workaround for this?

I can also confirm this issue. It occurs whenever pressing the + button to make a new override, and then when selecting an existing resource. (This is using a custom build I compiled today straight from master branch)

It seems in some cases, most commonly the "Fonts" type, this bug causes crashes.

Crashing is tracked in another issue and should be fully fixed by https://github.com/godotengine/godot/pull/73098. The editor closing unexpectedly is partially addressed by that PR, but only for regular properties. For sub-resources it's a big inconvenience, but a proper solution has to wait for the next version, where I'll use embedded inspectors in the Theme editor and avoid using the main inspector for that. You can click the back button in the inspector to go back to the theme once you're done with a font or a stylebox.

The theme editor does not close if you use the inspector for editing instead of the in-editor buttons.

Yeah, because I'm pretty sure I explicitly call the edit method of the main inspector, so it switches context. But your workaround is nice for those who are affected.

I've found making the theme part of the properties for one of the Control nodes, and clicking/editing the theme from there, can be a temporary solution.


Support of "docking" branch on NuGet

Like the previous issue, I'am interessing too for a docking support on NuGet. (https://www.nuget.org/packages/ImGui.NET/1.87.3)
(If you consider this issus is a duplicate of the previous, we can merge it, sorry)
I see this repo have a "docking" branch but not a package built with it.
I can build a proper package with docking version. But I don't think it's durable solution.
Do you think we can have a kind of "1.87.3-docking" version on NuGet ?
Thank you very much.

Hey @mrpierrot, there's actually no difference in the native bindings between the two branches here in this repository. The master branch (which the NuGet package is generated from) is already using the docking branch of the native library, and exposes all of the necessary functionality in it.
The only difference in the docking branch here is that the example project uses multi-viewports.

Okay. Sorry I would try to use the multi viewport and I don't succeeded.. And I think that can be due to a "no support" of the docking branch.
But I 'am happy to know there is a example for Multi Viewport. But the Xna example is not updated with the multiviewport.
Can that be possible to use MultiViewport with Monogame ? That imply create multiple windows that write ?  (Monogame documentation/articles not seems very exhaustive on this subject.
Thank you.


Return statement indentation in Registrar._handle_data

I think the indentation on this line might be wrong:
https://github.com/LSSTDESC/dataregistry/blob/9631093d17301c36d1846aec47ca4c0b62040ebb/src/dataregistry/registrar.py#L125
if old_location is not True there will be no return value.
Sorry for the noise if not!

I think you're right. Thanks for catching it!

Thanks Joe, I've put this in #29


Move all -Xcc flags into OTHER_SWIFT_FLAGS

I don't plan on merging this, at least not yet. This reverts too much of the optimizations made around memory and cpu. After the incremental generator exists, that one can do this sort of thing much more efficiently.

This fixes the Jump to symbol definition issue for us as isystem is now present in the SourceKit request, successfully completing the lookup done by the module loader.


Grayed out image is confusing

Here in <IP_ADDRESS>5~9375a8b there is confusion of what the grayed out image means. Only on the second page now do we realize that it's not indicating a half uploaded image, but just indicating which image we are answering questions about. Please resolve such confusion via some redesign so basic uses don't get confused. Thanks.

Could you suggest a modification that would make it clearer to you which picture is active?

Could you suggest a modification that would make it clearer to you which picture is active?

To me, highlighting the currently active image using a contrasting border comes to mind.

Yup, so greyed-out or one side of a single image itself being greyed-out should indicate partial uploading states. And then a border around an image, no matter if it's greyed out or not, could indicate this is the current selected image that we are adding notations to.

To me, highlighting the currently active image using a contrasting border comes to mind.

Great idea! I think this would be a nice task for a beginner. :)

I would like to work on this issue. Please assign me this issue.


Change hook name for Webpack 4

Using 'compilation' I was receiving many 'Building X' logs before a single build completed. I tried this on a few projects and 'compile' seems to instead be correct. compile is also what is used on Webpack <= 3.x and as far as I can tell nothing changed with that event between 3 and 4 so they should probably be consistent anyways.

Any chance you could have a look at this @lukeed ?

Thanks!


Incorporate PEP 740

These are now available on PyPI: https://blog.pypi.org/posts/2024-11-14-pypi-now-supports-digital-attestations/
Suggestions for ways uv could incorporate these:

When adding a package to uv.lock, include the identity of the publisher in the CLI output
When upgrading a package in uv.lock, display (as a warning or error) the identity if it changes, or if it goes from identity->no identity
Some sort of configuration to allow pinning packages to a given identity (and erroring if they don't come from that)

gh-action-pypi-publish now produces and publishes PEP 740 digital attestations to PyPI by default. Would be nice if uv publish could do the same so that it can be a full replacement for the action.


Cant load pdf from URL

why i can load pdf from URL example aws s3??
defaultOptions.defaultUrl = {
value: "asw pdf url",  ##wont work, works if the pdf is in localhsot
kind: OptionKind.VIEWER
};

It could be e.g. a CORS issue, see https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-xhr

When opening an issue, please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md since there's unfortunately no actionable information provided here.
Please see https://github.com/mozilla/pdf.js/blob/master/.github/CONTRIBUTING.md (emphasis mine):

If you are developing a custom solution, first check the examples at https://github.com/mozilla/pdf.js#learning and search existing issues. If this does not help, please prepare a short well-documented example that demonstrates the problem and make it accessible online on your website, JS Bin, GitHub, etc. before opening a new issue or contacting us in the Matrix room -- keep in mind that just code snippets won't help us troubleshoot the problem.