Installation of suricata-update may be failing due to pyyaml pre-req

    logger: changing mode of /usr/local/bin/suricata-update to 755
    logger: running install_egg_info
    logger: Writing /usr/local/lib/python2.7/dist-packages/suricata_update-1.2.0dev0.egg-info
    logger: error: pyyaml is required
    logger: error: pyyaml is required
    logger: error: pyyaml is required
    logger: error: pyyaml is required

Fixed: https://github.com/clong/DetectionLab/pull/488/files#diff-a089f10bb0379ebfa193cea95a76a3e9R432


PostLogoutRedirectUri from LogoutContext always null

In my client app in startup.auth.cs
app.UseOpenIdConnectAuthentication(new OpenIdConnectAuthenticationOptions
            {
                AuthenticationType = "oidc",
                ClientId = Clients.FORMATION,
                SignInAsAuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
                Authority = ConfigurationManager.AppSettings["Authority"],
                RedirectUri = ConfigurationManager.AppSettings["RedirectUri"], // http://fedecp.local
                **PostLogoutRedirectUri = ConfigurationManager.AppSettings["PostLogoutUri"],**
                ClientSecret = "secret", // TODO
                ResponseType = "code id_token",
                Scope = "openid profile offline_access",
                RefreshOnIssuerKeyNotFound = true
            });

In my IndetityServer project
new Client
                {
                    ClientId = Clients.FORMATION,
                    ClientName = "FEDECP Formation MVC Client",
                    AllowedGrantTypes = GrantTypes.HybridAndClientCredentials,
                    RequireConsent = false,
                    ClientSecrets =
                    {
                        new Secret("secret".Sha256()) // TODO
                    },

                    RedirectUris = redirectUris,
                    PostLogoutRedirectUris = postLogoutRedirectUris, // ["http://fedecp.local"]
                    AllowedScopes =
                    {
                        IdentityServerConstants.StandardScopes.OpenId,
                        IdentityServerConstants.StandardScopes.Profile,
                        IdentityServerConstants.StandardScopes.OfflineAccess,
                        ApiResources.SSO
                        //"some other api",
                    },
                    AllowAccessTokensViaBrowser = false,
                    AlwaysIncludeUserClaimsInIdToken = true,
                    AllowOfflineAccess = true // Specifies whether this client can request refresh tokens (by requesting the offline_access scope)
                },

I started my project based on one of your samples.
In the AccountService class -> BuildLoggedOutViewModelAsync(string logoutId)
var logout = await _interaction.GetLogoutContextAsync(logoutId);
In the logout object PostLogoutRedirectUri attribute is always null
Here are the logs
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://id.fedecp.local:9000/connect/endsession?post_logout_redirect_uri=http%3a%2f%2ffedecp.local
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[3]
      HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Identity.Application.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
dbug: IdentityServer4.Hosting.EndpointRouter[0]
      Request path /connect/endsession matched to endpoint type EndSession
dbug: IdentityServer4.Hosting.EndpointRouter[0]
      Mapping found for endpoint: EndSession, creating handler: IdentityServer4.Endpoints.EndSessionEndpoint
info: IdentityServer4.Hosting.IdentityServerMiddleware[0]
      Invoking IdentityServer endpoint: IdentityServer4.Endpoints.EndSessionEndpoint for /connect/endsession
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
dbug: IdentityServer4.Endpoints.EndSessionEndpoint[0]
      Processing signout request for A186C135-0D2E-4BE6-A116-8E397B339C6D
dbug: IdentityServer4.Validation.EndSessionRequestValidator[0]
      Start end session request validation
info: IdentityServer4.Validation.EndSessionRequestValidator[0]
      End session request validation success
      {
        "SubjectId": "unknown",
        "Raw": {
          "post_logout_redirect_uri": "http://fedecp.local"
        }
      }
dbug: IdentityServer4.Endpoints.EndSessionEndpoint[0]
      Success validating end session request from (null)
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 73.562ms 302
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://id.fedecp.local:9000/account/logout?logoutId=5bf382b6289eec963f71a966a4431c93
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[3]
      HttpContext.User merged via AutomaticAuthentication from authenticationScheme: Identity.Application.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[1]
      Executing action method Fedecp.Identity.Server.Web.Controllers.AccountController.Logout (Fedecp.Identity.Server.Web) with arguments (5bf382b6289eec963f71a966a4431c93) - ModelState is Valid
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Fedecp.Identity.Server.Web.Controllers.AccountController[0]
      geeks logout.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[8]
      AuthenticationScheme: Identity.Application was successfully authenticated.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[11]
      AuthenticationScheme: Identity.Application signed out.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[11]
      AuthenticationScheme: Identity.External signed out.
info: Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware[11]
      AuthenticationScheme: Identity.TwoFactorUserId signed out.
info: Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewResultExecutor[1]
      Executing ViewResult, running view at path /Views/Account/LoggedOut.cshtml.
info: Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker[2]
      Executed action Fedecp.Identity.Server.Web.Controllers.AccountController.Logout (Fedecp.Identity.Server.Web) in 85774.3312ms
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 85789.3811ms 200 text/html; charset=utf-8
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[1]
      Request starting HTTP/1.1 GET http://id.fedecp.local:9000/connect/endsession/callback?sid=27dd6dddd525cb7540ed938648f85719&logoutId=5bf382b6289eec963f71a966a4431c93
dbug: IdentityServer4.Hosting.EndpointRouter[0]
      Request path /connect/endsession/callback matched to endpoint type EndSession
dbug: IdentityServer4.Hosting.EndpointRouter[0]
      Mapping found for endpoint: EndSession, creating handler: IdentityServer4.Endpoints.EndSessionEndpoint
info: IdentityServer4.Hosting.IdentityServerMiddleware[0]
      Invoking IdentityServer endpoint: IdentityServer4.Endpoints.EndSessionEndpoint for /connect/endsession/callback
dbug: IdentityServer4.Endpoints.EndSessionEndpoint[0]
      Processing signout callback request
dbug: IdentityServer4.Validation.EndSessionRequestValidator[0]
      No client end session iframe URLs
info: IdentityServer4.Endpoints.EndSessionEndpoint[0]
      Successful signout callback. Client logout iframe urls:
info: Microsoft.AspNetCore.Hosting.Internal.WebHost[2]
      Request finished in 33.6936ms 200 text/html; charset=UTF-8

I suspect it's related to: "SubjectId": "unknown",

How do I set a value to SubjectId ?

This is my logout method.
I see there is a RedirectUri member available in the authenticationProperties; Should I set it to me desired redirect URI ?
public void Logout()         {             _authManager.SignOut(new AuthenticationProperties());         }

I'd suggest starting with our working samples to understand how it should work.

My MVC Client is not in .Net Core. So I am not using Microsoft.AspNetCore.Authentication.OpenIdConnect this package. I am using Microsoft.Owin.Security.OpenIdConnect and Microsoft.Owin.Security.OpenIdConnect does not seem to set anything else then the redirectUri.
Have you ever seen something like this ?

We do have samples using OWIN/Katana: https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/Clients/MVC OWIN Client (Hybrid)

@lemieuxs can you share some info/code if you got it worked?
I can not signout also in "core IdentityServer4 server" and "client MVC non core" configuration.
endsession endpoint is not being called in my case.
regards.

@lemieuxs all set -- can we close this?

I am having this exact problem with that client as well, and doing the above has not fixed it.

This is so weird, I have the example and I can see the n.ProtocolMessage.PostLogoutRedirectUri is set appropriately, however it's null in IDS
return Redirect(logoutRequest.PostLogoutRedirectUri);
how can I go about troubleshooting this? Very weird :/
logs just say that param can't be null, which I think we all agree with :)

I have resolved this by adding
[HttpPost]
        [ValidateAntiForgeryToken]
        public async Task<IActionResult> Logout(LogoutInputModel model)
        {
            // build a model so the logged out page knows what to display
            var vm = await BuildLoggedOutViewModelAsync(model.LogoutId).ConfigureAwait(false);

            if (User?.Identity.IsAuthenticated == true)
            {
                // delete authentication cookie
                await HttpContext.SignOutAsync().ConfigureAwait(false);
                // delete local authentication cookie

                await HttpContext.SignOutAsync(IdentityConstants.ApplicationScheme).ConfigureAwait(false);

                // set this so UI rendering sees an anonymous user
                HttpContext.User = new ClaimsPrincipal(new ClaimsIdentity());

            }

......
And in MVC Client Application,
Add Logout Action Method
 public IActionResult Logout()
        {
         return   SignOut("Cookies", "oidc");

        }

Add In startup.cs
.AddOpenIdConnect("oidc", options =>
                {
   options.SignedOutCallbackPath = "your logout url";
....


Add greeting subtitle

For my website I'd like to add an optionnal subtitle.
See changes. Would you be interested to add the feature in the main project?

Hi @vlebert!  Thank you for the PR. Can you please share a screenshot so that we can see how it looks?

Hi @hossainemruz
For the moment the result is very simple. I was thinking more style element could be added afterward in the custom style.css. I tried to set font to italic but the result was ugly ^^
I am open to artistic suggestion though :)


Add blurb about backwards compatability to upgrading-sdk-version docs

for #5032
It's been a while since we talked about this, so I hope this encapsulates everything we discussed about this.

@jberkhahn you forgot to sign your commit.

woops, fixed it

@asmacdo updated

Nit (dont fix, just next time) if you include Closes #5032 in the commit message it will connect the issue to the PR


Player state is wrong (PLAYING but it is not playing)

While I cannot easily reproduce, I can confidently say the player state is sometimes wrong.
Full Description
My app relies on the player state to decide if it should let other audio play.
print(audioPlayer.state)
if (audioPlayer.state == PlayerState.PLAYING) {
  return;
}
...play audio here

However I notice it sometimes gets "stuck." While this is probably a sign I should change my design, I printed the state above the check and see this: PlayerState.PLAYING. My audio files are maximum 20 seconds so for sake of illustrating that the state is definitely wrong, I can wait 5 minutes, press the play button again and it will print the state is PlayerState.PLAYING before I get to any code that plays it.
iOS 14.6
Flutter 2.2.3 (stable)
This plugin: 0.19.1

Can you recheck with audioplayers: ^1.1.0?

Closing as stale.


Compilation failure

On git main (2f85245e6bf8fa89dd0f11a1f18fbe3f6e54612d), I get this error while trying to compile all binaries:
error[E0433]: failed to resolve: could not find `format_smolstr` in `smol_str`
  --> otl-normalizer/src/glyph_names.rs:47:43
   |
47 | ...                   smol_str::format_smolstr!("uni{raw:04X}")
   |                                 ^^^^^^^^^^^^^^ could not find `format_smolstr` in `smol_str`

error[E0433]: failed to resolve: could not find `format_smolstr` in `smol_str`
  --> otl-normalizer/src/glyph_names.rs:49:43
   |
49 | ...                   smol_str::format_smolstr!("u{raw:X}")
   |                                 ^^^^^^^^^^^^^^ could not find `format_smolstr` in `smol_str`

error[E0433]: failed to resolve: could not find `format_smolstr` in `smol_str`
  --> otl-normalizer/src/glyph_names.rs:55:39
   |
55 |                     None => smol_str::format_smolstr!("glyph.{:05}", gid.to_u16()).into(),
   |                                       ^^^^^^^^^^^^^^ could not find `format_smolstr` in `smol_str`

error[E0432]: unresolved import `smol_str::format_smolstr`
  --> glyphs-reader/src/propagate_anchors.rs:12:16
   |
12 | use smol_str::{format_smolstr, SmolStr};
   |                ^^^^^^^^^^^^^^ no `format_smolstr` in the root

error[E0433]: failed to resolve: could not find `format_smolstr` in `smol_str`
   --> glyphs-reader/src/glyphdata.rs:261:38
    |
261 |             let new_part = smol_str::format_smolstr!("{part}-{script}");
    |                                      ^^^^^^^^^^^^^^ could not find `format_smolstr` in `smol_str`

Using Rust 1.79.0 on Ubuntu 22.04 inside WSL2.

what command are you using, exactly? I can't reproduce on 1.79 (macos)

I'm running cargo build --release. Same in debug mode.

have you done a full cargo clean?

Ah! cargo update seems to have fixed it.


Pointer not being drawn on second vnc connection

Fix pointer not being drawn on second VNC connect.
Use global_remove event to clean-up seat map.

Looks good to me. Please resolve the CI failure.


Could we see default values on properties in the Documentation?

Library Affected:
workbox-sw, workbox-build, etc.
Browser & Platform:
E.g. Google Chrome v51.0.1 for Android, or "all browsers".
Issue or Feature Request Description:
Could we see default values on properties in the Documentation? I think it would be easier to read the documentation with an example below it too.
At runtimeCachingEntry, under 'Parameter', at 'options', I see 'backgroundSync'.
Parameter
--
backgroundSync

Optional

Object

... then there's no link to offer where this comes from or what module it is based on. This does not really give me a clue how to use it. The search bar isn't helpful either. It does a google search. I want to see the word used in the documentation.
I think it would be more welcoming to newcomers.

see default values of properties if exist, otherwise say none assigned
examples of properties
list of properties' properties
links to the properties
better search result

I know there's some links to properties but it's really only a few.

Oh, I am not a season TypeScript user. I hope in the future, you find an alternative to update the doc besides the exclusivity with TypeScript.
Thank you.

Closing this in favor of https://github.com/GoogleChrome/workbox/issues/2711, which I realize is already tracking the same thing.


Status bar content fades into light grey background

Status bar background be black with 40% opacity to ensure proper text contrast.
Link to styleguide: https://xd.adobe.com/view/1ac84b48-4eed-4334-a59a-9a99e3633e1b-4f9b/screen/1c09d1cc-17e4-44b7-8535-3a1ee2b141c7/
ex.

The status bar on android (build 175) now has black text on a blue background, rendering the status bar illegible.

On iPhone SE: loading screen still has status bar as white text on a light background

Also effecting the PIN creation screen

I have one last PR in to try and fix this. If it does not work well on both iOS and Android we will need to hide the status bar.


can't flash firmware to original Pi Pico W

I've now tested both bt and usb firmware on the pi pico w and it won't show up as an USB device in windows 11 at all.
Important to know is that the very first firmware gives a game controller device, so something must have happened after the release of 1.0.0.
Note: I have no soldered any connections at all at this point.

@DavidPagels if I offended you in anyway I would like to apologize, I thought we really had a good conversation 4 weeks ago, but I haven't heard from you since. I hope all is well with you, health comes first!

Resolved in #31


(node:366) UnhandledPromiseRejectionWarning: TypeError: client.broadcastEval is not a function

I'm using your blacklist command, and when I try to blacklist my alt, in my console, it sends (node:366) UnhandledPromiseRejectionWarning: TypeError: client.broadcastEval is not a function
My code is
module.exports = {
  name: "blacklist",
  run: async(client, message, args) => {
	if (!args[0]) return message.channel.send('I uh.. I need an ID');
	if (args[0] === message.author.id) return message.channel.send('no, bad');

	let user;
	try {
		user = await client.users.fetch(args[0]) || (await client.broadcastEval(`this.users.fetch('${args[0]}')`)).filter(item => !!item)[0];
	} catch (e) {
		user = undefined;
	}

	let guild = client.guilds.cache.get(args[0]) || (await client.broadcastEval(`this.guilds.cache.get('${args[0]}')`)).filter(item => !!item)[0];

	if (!user && !guild) return message.channel.send('Could not find user or guild by that ID. rip');

	let deleteEntry = false;
	let result = await sql.get('SELECT * FROM hardBlacklist WHERE id = ?', [ args[0] ]);
	if (result) deleteEntry = true;

	if (user) {
		deleteEntry ? await sql.run('DELETE FROM hardBlacklist WHERE id = ?', [ args[0] ]) : await sql.run('INSERT INTO hardBlacklist (id, type) VALUES (?, ?)', [ args[0], 'user' ]);
		message.channel.send(deleteEntry ? `Removed \`${user.tag}\` from blacklist. But did they really learn their lesson?` : `Added \`${user.tag}\` to blacklist. *May they never bother you again*.`);
	}

	if (guild) {
		deleteEntry ? await sql.run('DELETE FROM hardBlacklist WHERE id = ?', [ args[0] ]) : await sql.run('INSERT INTO hardBlacklist (id, type) VALUES (?, ?)', [ args[0], 'guild' ]);
		message.channel.send(deleteEntry ? `Guild \`${guild.name}\` removed from blacklist. Anti-uf.` : `Guild \`${guild.name}\` added to blacklist. ***Uf***.`);
	}

	client.hardBlacklist = undefined;
}
};```

Hey @KainesLaw, it would be appreciated to have more information to reproduce your environment
Can you give me your...

Node.js version
discord.js version

It's more likely an issue with discord.js since they deprecated client.broadcastEval
Switching to client.shard.broadcastEval might fix the issue. Needs testing though!

Weird, I didn't have email notifications on for repositories I watch, so my apologies for the delayed response. Anyways, this isn't an issue pertaining to Arthur itself, so I'm closing this.
That being said, Arthur is designed with sharding in mind, and broadcastEval is only available to bots that are sharded. To get this command in specific working on a bot that isn't set up for sharding, simply remove references to broadcastEval (so remove the parts of the guild and user lines including and past the || symbol).
If you need further help, feel free to join the support server - it's linked in the readme.


Problems in yacl/link/context

(1)	In yacl/link/context,
should Context.stats_ be a const std::shared_ptr?
(2)	In
void SendAsync(size_t dst_rank, ByteContainerView value, std::string_view tag);
what does tag mean? It is not defined in secretflow’s interconnection protocol.
(3)	If every party holds one context, then the following code implies that everyone should maintain the counter of every p2p-channel.
Context::Context(…)
…
for (size_t src = 0; src < world_size; ++src) {
    for (size_t dst = 0; dst < world_size; ++dst) {
      p2p_counter_[std::make_pair(src, dst)] = 0U;
    }
  }

I don't think there is any benefits to use const std::shared_ptr

tag holds debug information use by link tracer

Yes, that's what happens in NextP2PId

There is still a little problem in (3). context.cc always use
NextP2PId(rank_,...)
or
NextP2PId(..., rank_)
I don't see the necessity for every party to maintain every p2p_counter_.
Maybe one party only need to maintain the p2p_counter_ of channels where he is the sender or receiver.

I have more questions.
(4) Does the p2p_counter_ of some channel coincide with the seq_id of the channel?
(5) In Context::Context(…)
...
  channels_(std::move(channels)),
      receiver_loop_(std::move(msg_loop))

...
Then in Context::Spawn()

 …
auto sub_ctx =
      std::make_unique<Context>(sub_desc, rank_, channels_, receiver_loop_);
…

Does it mean that the sub-context robs the this->channels_ and this-> receiver_loop_? When do we need to spawn a context?

(6)	When do we need to invoke Context::SubWorld?

Context is used in the MPC protocol. The execution process of the MPC protocol must be completely symmetrical, and Send and Recv need to be 1-to-1 correspondence.

Channel is shared by all Contexts, and all p2p_counter_ of each Context is starts from 0, there is no correspondence between p2p_counter_ and seq_id.

The constructor of Context is std::vector<std::shared_ptr<transport::IChannel>> channels , it will copy channels instead of directly move the original channels_.

SubWorld is used when the MPC protocol is switched, such as switching from 3PC-SPDZ to 2PC-SPDZ.

(3) (5) are not solved.
(3) Assume there are three parties whose ranks are 0, 1, 2 respectively. Why party 0 maintains the p2p_counter_ [1,2]?
(5) It seems that three variables are moved.
  desc_(std::move(desc)),
  ...
  channels_(std::move(channels)),
  receiver_loop_(std::move(msg_loop))

When do we need to spawn a context?

There are unnecessary variables in p2p_counter_, but this does not cause any problems

The constructor of Context is

Context::Context(ContextDesc desc, size_t rank,
                std::vector<std::shared_ptr<transport::IChannel>> channels, // copy channels_ to channels
                std::shared_ptr<transport::IReceiverLoop> msg_loop,
                bool is_sub_world)
    : desc_(std::move(desc)),
      rank_(rank),
      channels_(std::move(channels)),                                        // then move channels to this->channels_
      receiver_loop_(std::move(msg_loop)),
      recv_timeout_ms_(desc_.recv_timeout_ms),
      is_sub_world_(is_sub_world)

When do we need to spawn a context?
Please read the comments for Context:
https://github.com/secretflow/yacl/blob/main/yacl/link/context.h#L147

(3) (5) are not solved. (3) Assume there are three parties whose ranks are 0, 1, 2 respectively. Why party 0 maintains the p2p_counter_ [1,2]? (5) It seems that three variables are moved.
  desc_(std::move(desc)),
  ...
  channels_(std::move(channels)),
  receiver_loop_(std::move(msg_loop))

When do we need to spawn a context?

Context::Context(…)
…
for (size_t src = 0; src < world_size; ++src) {
for (size_t dst = 0; dst < world_size; ++dst) {
p2p_counter_[std::make_pair(src, dst)] = 0U;
}
}
This does cause some waste of space when the number of parties is big, almost O(world_size^2) space.

Context::Context(…) … for (size_t src = 0; src < world_size; ++src) { for (size_t dst = 0; dst < world_size; ++dst) { p2p_counter_[std::make_pair(src, dst)] = 0U; } }
This does cause some waste of space when the number of parties is big, almost O(world_size^2) space.

number of parties usually won't be that large. usually at most 4.
Other things will get worse much faster than this...

One More question: (7) In the Scatter protocol defined in https://www.secretflow.org.cn/docs/interconnection/latest/zh-Hans/protocols/transport#scatter, the global counter begins at 0. That is, the key begins like "root:0:SCATTER".
But in the code
std::string Context::NextId() {
return fmt::format("{}:{}", desc_.id, ++counter_);
}
It seems that the first key looks like "root:1:SCATTER" instead of "root:0:SCATTER".

One More question: (7) In the Scatter protocol defined in https://www.secretflow.org.cn/docs/interconnection/latest/zh-Hans/protocols/transport#scatter, the global counter begins at 0. That is, the key begins like "root:0:SCATTER". But in the code std::string Context::NextId() { return fmt::format("{}:{}", desc_.id, ++counter_); } It seems that the first key looks like "root:1:SCATTER" instead of "root:0:SCATTER". This is just a consistency problem. @warriorpaw

This is a mistake in the document, can you submit a PR to fix it.

Sorry, I don't know how to change the document in https://www.secretflow.org.cn/docs/interconnection/latest/zh-Hans/protocols/transport#scatter.

Sorry, I don't know how to change the document in https://www.secretflow.org.cn/docs/interconnection/latest/zh-Hans/protocols/transport#scatter.

Here is the code
https://github.com/secretflow/interconnection/blob/main/docs/protocols/transport.rst


App not verified

Says app not verified when I try and send the verification code

I have not really been updating this project due to being busy, I will try to fix things up soon. For now, check out Rvaiduns version

Same issue with his one

Yeah it doesn't work at the moment. 400 Error app not verified. Trying it with a +41 number. Please fix it

Swiss phone numbers (+41), I don't they have worked from the start. I haven't been able to figure out why and they don't work on the two other big projects

Yeah it doesn't work at the moment. 400 Error app not verified. Trying it with a +41 number. Please fix it

Might be working now


Bitlocker Decryption Error

Hello!
Have another error when i run the script in a TS, i've moved the steps so it runs in the current OS and not in WinPE, this is the error i get:

Please attach the logfile so I can have a look.

Here you go:
BiosSledgehammer.ps1.log-04.txt

Thanks. I think we have changed the BitLocker Decryption function about six times already, it's really hard to get it right.
Based on the output and the error message I believe this is caused by a volume that is BitLocker enabled but has no drive letter which makes the function to go BOOM.
I just pushed 3.4.1 which should include the fix. Please download the repo with this link: https://github.com/texhex/BiosSledgehammer/archive/master.zip
Copy BiosSledgehammer.ps1 and try again

Works like a charm now :)
Got another small issue though, when the TPM upgrade is in progress and the script exits with 3010 because it needs the restart to finish my, Task Sequence fails and reports 3010 as a failure, got any idea what it might be?

Good to hear, thanks for your patience.
Regarding the exit code: You need to tell SCCM/MDT that 3010 is an expected error code and does not indicate an error. This should be explained in the docs.
I'm closing this issue now.


add app "weweChat"

Thanks! It looks like this app's UI is not in English. Can you add supported locale(s) to the metadata?
See https://github.com/electron/electron-apps/blob/master/contributing.md#locales


source_code property of inner classes should return source.

3.1
The source_code property of scripts has been very helpful in parsing GDScripts dynamically for plugins. However when it comes to inner classes, the source_code will always return empty.
extends Node

class Example:
    func greet():
        print("Hello World")

func _ready():
    print(Example.source_code.empty())

Outputs true
Returning source_code for inner classes would be a huge benefit for more complex tool-making. It could also have the extra benefit of
var source = Inner.get_base_script().source_code
making more sense if dealing with non-inner class parents.

I can reproduce this on 3.2.2 and https://github.com/godotengine/godot/commit/f97280a0127950f5ae7d2e38f239ab9633afb041.


There was a problem communicating with the license server

Hello,
A problem started after sometime. There was nothing changed on CI/CD pipeline.
I'm getting: There was a problem communicating with the license server
Logs:

12:53:34 Step 5/15: WebGL - EXEC (LICENSE) (Command Line)
12:53:34   Starting: /opt/buildagent/temp/agentTmp/custom_script15947779215146769774
12:53:34   in directory: /opt/buildagent/work/a0cf9f7531cf2be
12:53:34   Unity Editor version:    2020.3.43f1 (75bff06b76bf)
12:53:34   Branch:                  2020.3/staging
12:53:34   Build type:              Release
12:53:34   Batch mode:              YES
12:53:34   System name:             Linux
12:53:34   Distro version:          #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023
12:53:34   Kernel version:          5.4.0-148-generic
12:53:34   Architecture:            x86_64
12:53:34   Available memory:        32112 MB
12:53:34   [LicensingClient] Channel doesn't exist: "LicenseClient-root"
12:53:34   [Licensing::Module] Successfully launched the LicensingClient (PId: 48)
12:53:35   [SignatureVerifier] Application signature verification not supported on this platform.
12:53:35   [Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-root" (connect: 0.61s, validation: 0.07s, handshake: 0.00s)
12:53:35   [Licensing::Module] Connected to LicensingClient (PId: 48, launch time: 0.00, total connection time: 0.68s)
12:53:35   Entitlement-based licensing initiated
12:53:35   [LicensingClient] Licenses updated successfully
12:53:36   [UnityConnectServicesConfig] config is NOT valid, switching to default
12:53:39   User @.com logged in successfully
12:53:40
12:53:40   LICENSE SYSTEM [2023512 12:53:40] Starting license activation with account @.com
12:53:40
12:53:40
12:53:40   LICENSE SYSTEM [2023512 12:53:40] Opening https://license.unity3d.com/update/poll?cmd=9&tx_id=&(serial removed)
12:53:40
12:53:40   LICENSE SYSTEM [2023512 12:53:40] Posting C.UTF(unset)Linux 5.4 Ubuntu 18.04 64bit504Intel(R) Xeon(R) Platinum 8280L CPU @ 2.60GHz25938832112PC2020.3.43f16.x
12:53:40
12:54:01
12:54:01   LICENSE SYSTEM [2023512 12:54:1] Headers:
12:54:01
12:54:01
12:54:01   LICENSE SYSTEM [2023512 12:54:1] Error fetching https://license.unity3d.com/update/poll?cmd=9&tx_id=***&(serial removed)
12:54:01   Cancelling DisplayDialog: Information There was a problem communicating with the license server. Would you like to do a manual activation instead?
12:54:01   This should not be called in batch mode.
12:54:01   Process exited with code 1
12:54:01   Process exited with code 1 (Step: WebGL - EXEC (LICENSE) (Command Line))
12:54:01   Step WebGL - EXEC (LICENSE) (Command Line) failed

I know this problem is not really related to GameCI but could you give me a clue please?

Incredible... Unity started forcing using TLS1.3, which was not supported by the host machine. apt-get update and upgrade solved the problem.

@ErcinDedeoglu How did you manage to do it inside a GitHub runner? I'm stuck with the same error


Add commands module to define asdftool entry point

This commit adds the entry point asdftool  in the setup.py script

Thanks.  I think that got moved at some point.


add scansnap-manager-s1100

add scansnap-manager-s1100
Adding a new cask

[x] Checked there aren’t open pull requests for the same cask.
[x] Checked there aren’t closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] Commit message includes cask’s name.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.

Thank you for the contribution. It needed some fixes, so they were made in c45ad625b612eeeb64eff73cb91e459b43db2b04. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.


merge from arlac77/template-arlac77-github,arlac77/template-esm-only,arlac77/template-node-component

package.json

chore(deps): add ^17.2.2 remove ^17.2.1 (devDependencies.semantic-release)

:tada: This PR is included in version 3.1.14 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Best practice for adding non-angular2 library

Team,
What's the best practice on adding a non angular2 JS library that resides in CDN?
Also, what's the best practice to use google fonts?
Thanks!

You can use both in script tags or personally I would prefer if the library could be npm installed and loaded in vendor.ts

Thanks for the quick answer.
So if this is not npm-installable, best practice is to simply add this in index.html then?

It is weird to not have a library not npm-installable. You can raise a bug for that.
You can use cdn or perhaps add a folder with third party vendors and put them there and load them into vendor.ts.
It is all about your projects and your conventions, you just need to be consistent.

Font Awesome comes with font files as well. So, dropping the font awesome css into vendor.js doesn't copy over the font files. Any native solution for this or one must fiddle with webpack's config file?

Thanks

I tried to add jquery as an external, non angular2 lib. I added
npm install jquery
import "jquery" appended to vendor.ts
typings install dt~jquery --global
When running the app it throws EXCEPTION: ReferenceError: $ is not defined when I try to use $ in the app.component's constructor. Any idea what went wrong?

@Foxandxss can you please provide simple example? I was update my project to rc.5 and have some imports in vendor.ts
import  'jquery/dist/jquery.js'; import 'tether/dist/js/tether.js'; import 'bootstrap/dist/js/bootstrap.js';,
but get error ' Bootstrap's JavaScript requires jQuery', all npm's was installed, also how i must use lib's like bootstrap-datepicker and others third part? I don't understand all this stuff with *.d.ts files, where to put it and how to use... Google search for this topic just create more questions and don't give any answers...

Everything is a bit more complicated when you put jQuery into the game. I never ever used it in any latest project, but I do remember having to modify the webpack 2 configuration to preload jQuery or similar. Will ask to this friend where we did that.

@Foxandxss ok thanks, looks like for simple date picker create it from scratch will be much easy than using from jquery of bootstrap.

I think we solved this issue, right? I will make third party inclusion easier in the near future.


Documentation build is failing

The documentation fails to build since a week or two. It looks like something is going wrong with an import.
The same problem appeared on CircleCI, but there it seems to have solved itself after a few failed builds about two weeks ago: https://app.circleci.com/pipelines/github/ESMValGroup/ESMValTool?branch=main
Stack trace from CircleCI:
autodoc: failed to import module 'compute_eofs' from module 'esmvaltool.diag_scripts.monitor'; the following exception was raised:
Traceback (most recent call last):
  File "/opt/conda/envs/esmvaltool/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 61, in import_module
    return importlib.import_module(modname)
  File "/opt/conda/envs/esmvaltool/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/root/project/esmvaltool/diag_scripts/monitor/compute_eofs.py", line 54, in <module>
    from esmvaltool.diag_scripts.monitor.monitor_base import MonitorBase
  File "/root/project/esmvaltool/diag_scripts/monitor/monitor_base.py", line 11, in <module>
    from mapgenerator.plotting.timeseries import PlotSeries
  File "/opt/conda/envs/esmvaltool/lib/python3.10/site-packages/mapgenerator/plotting/timeseries.py", line 203, in <module>
    class YearLocator(mdates.DateLocator):
  File "/opt/conda/envs/esmvaltool/lib/python3.10/site-packages/mapgenerator/plotting/timeseries.py", line 270, in YearLocator
    @cbook.deprecated("3.2")
  File "/opt/conda/envs/esmvaltool/lib/python3.10/site-packages/matplotlib/_api/__init__.py", line 224, in __getattr__
    raise AttributeError(
AttributeError: module 'matplotlib.cbook' has no attribute 'deprecated'

@valeriupredoi Would you have time to take a look at this?

@bouweandela it's been discussed here, bud https://github.com/ESMValGroup/ESMValTool/issues/2800

Thanks! I already thought I saw a mention of this problem somewhere, but couldn't find the issue.

let me close this if that's OK with you @bouweandela - am gonna change the title to #2800 have it mention the docs build fails (for bookkeeping)


Improve logging when launching processes

When launching a process (unity_server or pylambda_worker in this
commit) make sure that if the process errors out, the error message is
delivered to the user in some form (either to terminal or log). Also
some commands in the top namespace to print the location of the log to
look for errors.
Testing was in the form of manual adversarial tests, as it involved
breaking a current installation by moving files around, or changing
other system stuff.

Looks like this conflicts with https://github.com/dato-code/SFrame/pull/43; let's get this one in first, and I can update mine.


Provider users can configure their notifications

Context
Enable provider users to control their email notifications
Changes proposed in this pull request
Add a new notification settings page where provider users can check/uncheck a component to opt in or our of receiving email notifications.

Link to Trello card
https://trello.com/c/hgYZ0Cqi/3026-provider-users-can-choose-whether-or-not-they-receive-emails-from-apply
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

Now that we've got notifications do we need to move to the 4-up design @adamsilver?

UI looks like a radio in the prototype, rather than a checkbox.
(I don't think updating the flash styles is part of this PR, but we should do it soon!)

@duncanjbrown Updated. I was not aware about these changes being part of the prototype as it was not mentioned in the card. Can you share the link to this please.


Script and head::Link settings for development

If the following sections are removed from the Dioxus.toml file in the next release
# include `assets` in web platform
[web.resource]
style = [“/tailwind.css”]
script = []
[web.resource.dev]
script = []

add the ability to add resources for development that will not be taken into release during compilation
For example
Script::dev
head::Link::dev

This should actually be more flexible with the head elements! You can use any config statement in rsx to only include assets if you are targeting a specific platform or feature:
rsx! {
    if cfg!(feature = "dev") {
        head::Link {...}
    }
    if cfg!(debug_assertions) {
        head::Link {...}
    }
    if cfg!(target_arch = "wasm32") {
        head::Link {...}
    }
}


feat: use UnsafeVec to replace Vec<Mutex<>>

last_locations will only be updated in record(), validate_read_locations(), and convert_writes_to_estimates(). For the same TxIdx, these functions cannot execute concurrently, so we can replace Vec<Mutex<>> with UnsafeVec.

@jackwener Nice insight as always!
Actually, there can be concurrent validation tasks for the same transaction index.
There can only be one execution task when the status transitions from ReadyToExecute to Executing:
https://github.com/risechain/pevm/blob/cce4fc9216017d0e216cc3278396956e26d9a192/src/scheduler.rs#L125-L131
But a new validation task doesn't transition state, so multiple can be scheduled for the same executed/validated transaction:
https://github.com/risechain/pevm/blob/cce4fc9216017d0e216cc3278396956e26d9a192/src/scheduler.rs#L133-L140
We don't want a blocking Validating status as we want the latter task to start (with the latest data) as soon as possible. A relevant optimization I want to do is to have a way to signal the on-going validation task(s) to exit when a new one (of the transaction) starts.
Anyway, that is just extra information, as it should still be safe to have concurrent reads.
I had a local branch but with Vec<SyncUnsafeCell<LastLocations>>, which is much shorter than rolling our own UnsafeVec. Do you think it's worth re-trying it that way?


New package: OmniParserIconDetectors v0.1.0

Registering package: OmniParserIconDetectors
Repository: https://github.com/svilupp/OmniParserIconDetectors.jl
Created by: @svilupp
Version: v0.1.0
Commit: b676f328a460caaba965c7d7b8349ffb3d3bf544
Reviewed by: @svilupp
Reference: https://github.com/svilupp/OmniParserIconDetectors.jl/commit/b676f328a460caaba965c7d7b8349ffb3d3bf544#commitcomment-149776885

Closed in favor of #120462.


fix default output displayed

This PR changes the default output displayed in the CCC output page to reflect the what is checked by the radio buttons as a default.  In particular, when the CCC output page is loaded, this PR ensures that METTRs by industry for the reform as displayed.

@talumbau - could you review.  I think this fixes the issue with the default radio buttons and the order of the output variables listed (order should be mettr, metr, cc, deprec).

@jdebacker thanks for this fix. It took me a second to understand, but your change is definitely right. I'll merge and deploy as I consider this a high priority bug fix. Thanks!


Operating Train with extending Route, an Undo should Undo entire Route with one Click

When the Undo Button on Corporation Frame is selected after Operating a Train, should Undo the entire chain of a single Train Route, rather then just the last one (ie. These Actions should be chained to Previous Actions)

When Confirm Route is selected, walk through all Extend Route Actions backwards to the Start Route
Reuse Route is selected, set state that allows Extend Route Action to add to the Route
Have an effective "Reverse Route" that swaps the sequence of Route Steps
When in the Select Route Mode, Selecting a Map Cell to extend the Route, test if the extend route allows for the next going from the End of the Route, but also test if the route can be extend from the beginning of the Route. If it allows both, extend first from the end, a second click will swap to extend from the beginning (just like the swap to the alternate route if available).


feat(congregation): use firebase storage to save congregation persons

:tada: This PR is included in version 2.39.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Introduce kubernetes event logging

It'd be create to have a kubernetes event logging for important to the user events.
Such as:

new objects creation for Create client method.
objects deletion with Delete client method.
reconciliation loop errors ( object already modified error must be skipped).

Operator writes kubernetes events since v0.43.0 release


Activation

Hi..
I just added Project Time to my vscode and it works fine on my stationary computer.
However, i tried adding it to my laptop as well but under the Runtime Status tab i keep getting this 'Not activated yet.' notice.
I've tried to uninstall and installed it again, but it doesnt work, the extansion is still not activated.
Where can activation be done manually, and how..?
Thx..

Hi @e-bw
I haven't experienced this issue before, but here are few things you could maybe try:

Restart VS Code
Enable all extensions by hitting Ctrl + Shift + X > Click on ... > Click Enable All Extensions
From the command palette, run Output: Show output channels... > Extension Host.  Then, again from the command palette, run Developer: Restart Extension Host. Hopefully something useful will show up there.

What operating system are you on?

Hello again.. and thx for answering..
I'm starting a programmer school now at old age (60) and thought I
needed something that clocks my time with a computer..
I don't know if this means anything but.. the only difference between the
installation on my stationary and my laptop was that i had Wakatime
extension on my laptop when i installed Project time..
But I had Wakatime uninstalled before installing Project time on my
stationary.. it might have made a difference..? I'm not high tech on this
stuff yet.. :)
Maybe I have a 'letter combination' as we call it here.. me being
'obsessed' with having similar, familiar extensions on both computers..
And Wakatime did not work with the same key on both computers.. So
I removed Wakatime and chose Project time instead..
Soo.. I did what you asked of me, unfortunately without any success..

I restarted VS Code 2 times.. nothing happened..
I enabled all extensions.. and to be sure is disabled them and enabled
them again.. nothing happened..
I ran your third request and noticed some errors to Project time..

I find this whole thing weird since my stationary swallowed the whole
installation in seconds without any tampering..
Since this doesn't make any sense for me I'll add a screenshot of what my
laptop gave me after running your instructions..
And if you want more then just ask me and I'll try to fix it..
This is not a big thing for me, I just thought you want to know what's
going on with your extension..
Thx again for the help..
Med vänlig hälsning - Bertil Wallman

--------------------------------------------------------

  Please consider the environment    Do you really need to print this

email?If not then keep this email when answering*
--------------------------------------------------------
"Undrar du, så har jag svaret på din fråga"
--------------------------------------------------------
Den tis 4 juli 2023 kl 19:24 skrev Ratul Maharaj @.***>:

Hi @e-bw https://github.com/e-bw
I haven't experienced this issue before, but here are few things you could
maybe try:

Restart VS Code
Enable all extensions by hitting Ctrl + Shift + X > Click on ... >
Click Enable All Extensions
From the command palette, run Output: Show output channels... > Extension
Host. Then, again from the command palette, run Developer: Restart
Extension Host. Hopefully something useful will show up there.

What operating system are you on?
—
Reply to this email directly, view it on GitHub
https://github.com/RatulMaharaj/project-time/issues/1#issuecomment-1620559133,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJLZ6EC23W5BBAQYEJR73LXORGU7ANCNFSM6AAAAAAZ5RUAG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update using-the-windows-device-portal.md

Need to add a note that recording is only available on the HoloLens 1st gen.

@joyjaz : Thanks for your contribution! The author(s) have been notified to review your proposed change. @hamalawi


Hook up previously ignored n_logistic_mix FLAG in PixelCNN++

Also remove whitespace from line endings and some other minor style tweaks.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #446   +/-   ##
=======================================
  Coverage   73.75%   73.75%
=======================================
  Files          54       54
  Lines        4009     4009
=======================================
  Hits         2957     2957
  Misses       1052     1052

Continue to review full report at Codecov.

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


Delta creation makes image with "t:latest" tag if no tag is provided

Description
When running balena-engine image delta ..., it will create a delta with t:latest tag if no --tag is supplied.
Steps to reproduce the issue:

have two images
calculate delta between them with balena-engine image delta <image1> <image2>
See how Successfully tagged t:latest

Describe the results you received:
When running balena-engine image delta ..., it will create a delta with t:latest tag if no --tag is supplied.
Describe the results you expected:
Feels like no tag should be applied to the image unless --tag is set explicitly.
Additional information you deem important (e.g. issue happens only occasionally):
Output of balena-engine version:
Client:
 Version:           v18.9.7
 API version:       1.39
 Go version:        go1.12.7
 Git commit:        87ef8e0dc-unsupported
 Built:             Mon Jul 22 16:28:12 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server:
 Engine:
  Version:          v18.9.7
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.12.7
  Git commit:       87ef8e0dc-unsupported
  Built:            Mon Jul 22 16:28:12 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Output of balena-engine info:
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 5
Server Version: v18.9.7
Storage Driver: overlay2
 Backing Filesystem: extfs
 Supports d_type: true
 Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null
 Log: journald json-file local
Swarm:
 NodeID:
 Is Manager: false
 Node Address:
Runtimes: runc bare
Default Runtime: runc
Init Binary: balena-engine-init
containerd version:
runc version: b3d5036b6520060db00c81352d533a5dd919aaaf
init version: N/A (expected: )
Kernel Version: 5.2.5-arch1-1-ARCH
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 19.34GiB
Name: hydra
ID: X4SL:4L5J:4NH5:QDK5:CRWI:DJEI:BXDV:WD5P:A423:Y6WC:ET7U:FFKA
Docker Root Dir: /var/lib/balena-engine
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Live Restore Enabled: false

Additional environment details (AWS, VirtualBox, physical, etc.):

physical, ArchLinux

Haha when implementing the delta feature I made a mistake when adding the flag to the cli codebase that made "t" the default value for --tag, when I intended to make -t an alias of --tag


cast values as floats before reattributing them to form

please check all equilibration methods involving numpy
as an example:

this is to ensure that attributes are not np.float64 but float
so that the form diagrams can be json-serialisable, and therefore makes it possible for form diagrams to be saved.........................................................................................

this is unnecessary
>>> from numpy import float64
>>> from compas.datastructures import Mesh
>>> import compas
>>> mesh = Mesh.from_obj(compas.get('faces.obj'))
>>> mesh.vertex_attribute(mesh.get_any_vertex(), 'x', float64(1))
>>> mesh.to_json('test.json')
>>>

It is true that the use of numpy floats per se does not create any issue now.
But it can easily lead to downstream complications when one is then working with the stored attributes, such as with logical operators, since not all numpy datatypes with python analogues can be serialised...

again, unnecessary...
>>> from numpy import bool_
>>> from compas.datastructures import Mesh
>>> import compas
>>> mesh = Mesh.from_obj(compas.get('faces.obj'))
>>> mesh.vertex_attribute(0, 'x', bool_(1))
>>> type(mesh.vertex_attribute(0, 'x'))
<class 'numpy.bool_'>
>>> mesh.to_json('test.json')
>>>

Ah, you mean Gonzalo added the functionality in the Sep 21 merge.  I see now, thanks.


Add knob to allow user to select kube-proxy in IPVS mode

To run in this mode, kubeadm.conf needs to have the lines:
kubeProxy:
    config:
        mode: "ipvs"

Currently, the only way to do this, is to modify the kubeadm.conf.tmpl file and then build the DinD image locally. It would be useful to be able to select this via a knob.
Related questions are:

Should we provide a knob to allow masqueradeAll to be set to false, or is this required to be true for k-d-c (and if so, why)?
Should we provide an option for the user to be able to specify the value for clusterCIDR used by kube-proxy? For IPv4 it is set to the docker0 network, for IPv6 it is set to "".

As I understand it, IPVS will use ipset, when masqueradeAll is true and/or clusterCIDR != "".
Ref: https://kubernetes.io/blog/2018/07/09/ipvs-based-in-cluster-load-balancing-deep-dive/

I hope that bot will not close it again


UseRetry works incorrectly

Hello, thanks you guys for your library.
I have found bug, please see link below, and say me if it is realy bug or I missed something.
http://stackoverflow.com/questions/40884861/useretry-set-interval-with-masstransit
If it is really bug, please say me how I can write code to work with this like I discribe?

As state in the reply on SO, this isn't a bug, it's the lock timeout of Azure Service Bus causing your issue.


RawKeyboardEvents triggers KeyUp when a second key is pressed

Steps to Reproduce

Run flutter create bug.
Update your main with the following:

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(
    MaterialApp(
      home: MyWidget(),
    ),
  );

   RawKeyboard.instance.addListener((event) {
    final isKeyDown = event is RawKeyDownEvent;
    final key = event.logicalKey.keyLabel;

    print('$isKeyDown - $key - ${event.runtimeType}');
  });
}

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Text(
          'Build some widgets!',
          style: Theme.of(context).textTheme.headline4,
        ),
      ),
    );
  }
}

flutter run -d Chrome
When Chrome opens, press, and keep pressed W (or any other key), then press other key. After a while release both keys.

Expected results:
On the console:
true - w - RawKeyDownEvent
true - d - RawKeyDownEvent
false - w - RawKeyUpEvent
false - d - RawKeyUpEvent

Actual results:
TLDR: Key keeps triggering the event when pressed, and when a another is pressed, the previous key gets a RawKeyUpEvent, even if it is still pressed.
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
false - w - RawKeyUpEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
false - d - RawKeyUpEvent
false - w - RawKeyUpEvent

verbose log is on attachment
verbose.log
flutter analyze
Analyzing bug...
No issues found! (ran in 6.1s)

flutter doctor -v
[✓] Flutter (Channel master, 1.19.0-2.0.pre, on Mac OS X 10.15.3 19D76, locale pt-BR)
    • Flutter version 1.19.0-2.0.pre at /Users/erick/flutter
    • Framework revision 9d58a87066 (13 days ago), 2020-05-22 22:37:01 -0700
    • Engine revision 9ce1e5c5c7
    • Dart version 2.9.0 (build 2.9.0-10.0.dev 7706afbcf5)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/erick/Library/Android/sdk
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/erick/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4.1, Build version 11E503a
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] VS Code (version 1.44.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • macOS      • macOS      • darwin-x64     • Mac OS X 10.15.3 19D76
    • Web Server • web-server • web-javascript • Flutter Tools
    • Chrome     • chrome     • web-javascript • Google Chrome 83.0.4103.61

! Doctor found issues in 2 categories.

Hi @erickzanardo
I tested your code with both the latest beta and the latest master;
I cannot reproduce the issue you are describing

BETA logs
[+13353 ms] true - w - RawKeyDownEvent

[ +470 ms] true - w - RawKeyDownEvent

[  +86 ms] true - w - RawKeyDownEvent

[  +82 ms] true - w - RawKeyDownEvent

[  +84 ms] true - w - RawKeyDownEvent

[  +86 ms] true - w - RawKeyDownEvent

[  +81 ms] true - w - RawKeyDownEvent

[  +85 ms] true - w - RawKeyDownEvent

[  +82 ms] true - w - RawKeyDownEvent

[  +87 ms] true - w - RawKeyDownEvent

[  +81 ms] true - w - RawKeyDownEvent

[  +83 ms] true - w - RawKeyDownEvent

[  +84 ms] true - w - RawKeyDownEvent

[  +85 ms] true - w - RawKeyDownEvent

[  +81 ms] true - w - RawKeyDownEvent

[  +84 ms] true - w - RawKeyDownEvent

[  +84 ms] true - w - RawKeyDownEvent

[  +25 ms] true - p - RawKeyDownEvent

[ +114 ms] false - p - RawKeyUpEvent

[ +276 ms] false - w - RawKeyUpEvent

BETA doctor
[✓] Flutter (Channel beta, 1.18.0-11.1.pre, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.18.0-11.1.pre at /Users/nevercode/development/flutter_beta
    • Framework revision 2738a1148b (3 weeks ago), 2020-05-13 15:24:36 -0700
    • Engine revision ef9215ceb2
    • Dart version 2.9.0 (build 2.9.0-8.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (2 available)
    • Web Server • web-server • web-javascript • Flutter Tools
    • Chrome     • chrome     • web-javascript • Google Chrome 83.0.4103.61

• No issues found!

MASTER logs
[ +187 ms] Launching lib/main.dart on Chrome in debug mode...
[  +66 ms] Updating assets
[ +195 ms] Syncing files to device Chrome...
[  +70 ms] Generating /Users/nevercode/Desktop/projects/master/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +39 ms] <- reset
[  +21 ms] /Users/nevercode/development/flutter_master/bin/cache/dart-sdk/bin/dart
/Users/nevercode/development/flutter_master/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/nevercode/development/flutter_master/bin/cache/flutter_web_sdk/ --incremental --target=dartdevc --debugger-module-names -Ddart.developer.causal_async_stacks=true
--output-dill /var/folders/c3/l5jpznsj5k37yrj47l__xpw40000gn/T/flutter_tools.MsOUFX/flutter_tool.AFAOvV/app.dill --libraries-spec
file:///Users/nevercode/development/flutter_master/bin/cache/flutter_web_sdk/libraries.json --packages .packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --filesystem-root /var/folders/c3/l5jpznsj5k37yrj47l__xpw40000gn/T/flutter_tools.MsOUFX/flutter_tools.yFVsRZ --filesystem-scheme org-dartlang-app
--initialize-from-dill build/cache.dill.track.dill --platform file:///Users/nevercode/development/flutter_master/bin/cache/flutter_web_sdk/kernel/flutter_ddc_sdk.dill
[  +12 ms] <- compile org-dartlang-app:/web_entrypoint.dart
[+22236 ms] Syncing files to device Chrome... (completed in 22,378ms, longer than expected)
[   +2 ms] Synced 22.7MB.
[   +1 ms] <- accept
[   +1 ms] Caching compiled dill
[ +927 ms] [CHROME]:
[   +2 ms] [CHROME]:DevTools listening on ws://<IP_ADDRESS>:52479/devtools/browser/0becd22d-51bb-4e94-8a4d-a79dea2ea7b7
[+5078 ms] Debug service listening on ws://<IP_ADDRESS>:52512/bPOwrqaXVqc=

[ +618 ms] Debug service listening on ws://<IP_ADDRESS>:52512/bPOwrqaXVqc=
[   +2 ms] Warning: Flutter's support for web development is not stable yet and hasn't
[        ] been thoroughly tested in production environments.
[        ] For more information see https://flutter.dev/web
[        ] 🔥  To hot restart changes while running, press "r" or "R".
[   +1 ms] For a more detailed help message, press "h". To quit, press "q".
[+3021 ms] true - w - RawKeyDownEvent

[ +423 ms] true - w - RawKeyDownEvent

[  +84 ms] true - w - RawKeyDownEvent

[  +83 ms] true - w - RawKeyDownEvent

[  +83 ms] true - w - RawKeyDownEvent

[  +84 ms] true - w - RawKeyDownEvent

[  +83 ms] true - w - RawKeyDownEvent

[  +82 ms] true - w - RawKeyDownEvent

[  +87 ms] true - w - RawKeyDownEvent

[  +79 ms] true - w - RawKeyDownEvent

[  +84 ms] true - w - RawKeyDownEvent

[  +87 ms] true - w - RawKeyDownEvent

[  +82 ms] true - w - RawKeyDownEvent

[  +80 ms] true - w - RawKeyDownEvent

[  +41 ms] true - p - RawKeyDownEvent

[ +139 ms] false - p - RawKeyUpEvent

[ +539 ms] false - w - RawKeyUpEvent

MASTER doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.19.0-4.0.pre.73, on Mac OS X 10.15.5 19F101, locale en-GB)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] VS Code
[✓] Connected device (2 available)

• No issues found!

are you experiencing the issue with the latest master?
Thank you

@iapicca Thanks for the response.
I was on the master channel already, but to be sure, I have updated it to the latest. And the issue still happens.
By looking on your logs, it seems that you released the second key, soon after you pressed it. You will see the problem when you press the second, and keep pressing both.
Let me try to make a better explain of the logs
true - w - RawKeyDownEvent <- I started pressing W here, and kept pressing it
true - d - RawKeyDownEvent <- Soon after, I started pressing D here, and kept pressing it
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
false - w - RawKeyUpEvent <- This shoudn't have occored, I haven't released the W key here
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
true - d - RawKeyDownEvent
false - w - RawKeyUpEvent <- Released W
false - d - RawKeyUpEvent <- Released D

Hi @erickzanardo
thanks for clarifying it,
testing your code sample with the latest master
I now experience the behaviour you are describing

logs
🔥  To hot restart changes while running, press "r" or "R".
For a more detailed help message, press "h". To quit, press "q".
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - w - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
false - w - RawKeyUpEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
false - w - RawKeyUpEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
true - p - RawKeyDownEvent
false - p - RawKeyUpEvent

doctor
[✓] Flutter (Channel master, 1.19.0-4.0.pre.99, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.19.0-4.0.pre.99 at /Users/nevercode/development/flutter_master
    • Framework revision<PHONE_NUMBER> (41 minutes ago), 2020-06-08 02:03:01 -0400
    • Engine revision dfdd88deb7
    • Dart version 2.9.0 (build 2.9.0-13.0.dev 87c5e3612b)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/nevercode/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (2 available)
    • Web Server • web-server • web-javascript • Flutter Tools
    • Chrome     • chrome     • web-javascript • Google Chrome 83.0.4103.61

• No issues found!

thank you for reporting this

Hi! Is there any news on this?
If I can get some basic directions on where to look for this issue, I can give this a try myself :D
Thanks

I was able to reproduce this as well on web (chrome), but not on macOS, so my suspicion is that this is a difference in how the web processes auto-repeated key events.
@mdebbar Do you have any idea why the web might send a keyup to one of the keys when the other starts to auto-repeat?

Also, this doesn't seem to be inherent to the way the web does events: I tried the same thing here, and it doesn't have the spurious keyup.

/cc @mdebbar possibly related to: https://github.com/flutter/engine/pull/17742

This line: https://github.com/flutter/engine/blob/master/lib/web_ui/lib/src/engine/keyboard.dart#L109 seems to have something to do with the issue (thanks for pointing that @ditman on Discord)


ARM MacOS Build

Is there any information on how to install this on ARM MacOS M1?

You can use the same command as for MacOS intel (x86_64) to build asl ARM MacOS M1 e.g.
mkdir build
cd build
cmake .. -DBUILD_CPP=ON -DBUILD_EXAMPLES=ON -DBUILD_F2C=ON
make -j

(if you build it on MacOS M1).


Make session Ember.inject.service compatible

When the simple-auth-session is registered it uses the name simple-auth-session:main.
However, Ember.inject has only two functions allowed controller and service each resolves to either controller:name or service:name respectively. This means that someone who wants to use Ember.inject.service in unable to because the helper looks for service:simple-auth-session not simple-auth-session:main.
The register setup should be ok with the former for the typical injection.

see #522 - the session will be a service in 1.0.


Dev to Main

Codecov Report

Merging #13 (2d6f9a2) into main (d99258c) will increase coverage by 3.07%.
The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main      #13      +/-   ##
==========================================
+ Coverage   94.40%   97.47%   +3.07%
==========================================
  Files           6        9       +3
  Lines         125      277     +152
==========================================
+ Hits          118      270     +152
  Misses          7        7

Impacted Files
Coverage Δ

opta/algorithms/explosion_search.py
100.00% <100.00%> (ø)

opta/algorithms/flower_pollination_algorithm.py
100.00% <100.00%> (ø)

opta/algorithms/particle_swarm_optimization.py
100.00% <100.00%> (ø)


Building createChallenge(), visualization, configuration and saving of challenge maps

Implemented simple tile map with a row of 6 tiles and a 2nd row of 1 tile, able to click through tiles to change color of tiles, and save map config to local flask server's working directory. TODO: Handle response of saving flask function to display success/failure of save, and add additional states to tiles to indicate start and stop tiles

Completed


vite(alpha): fw tests results

Describe the bug
this is not a bug, I'm helping @patak-dev to check the new alpha version, I'll add some frameworks...
Reproduction
https://github.com/userquin/vite-3-alpha-6-test
System Info
npx envinfo --system --npmPackages '{vite,@vitejs/*}' --binaries --browsers

  System:
    OS: Windows 10 10.0.19044
    CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
    Memory: 41.21 GB / 63.95 GB
  Binaries:
    Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.1.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 102.0.5005.62
    Edge: Spartan (44.19041.1266.0), Chromium (101.0.1210.53)
    Internet Explorer: 11.0.19041.1566

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Thanks for your help. Fixed in:

https://github.com/vitejs/vite/pull/8358

Released as<EMAIL_ADDRESS>


'NoneType' object has no attribute 'string'

Python version:  3.6
Bandcamp-dl version:  0.0.7-09
Bancamp-dl options:  bandcamp-dl --artist=iamsleepless --album=mirrors-of-a-still-sky
url: https://iamsleepless.bandcamp.com/track/mirrors-of-a-still-sky
options:
Describe the issue:
$ bandcamp-dl --artist=iamsleepless --album=mirrors-of-a-still-sky
bandcamp-dl
Usage:
bandcamp-dl [url]
bandcamp-dl [--template=
Options:
-h --help                   Show this screen.
-v --version                Show version.
-a --artist=        The artist's slug (from the URL)
-b --album=          The album's slug (from the URL)
-t --template=
Traceback (most recent call last):
File "/usr/local/bin/bandcamp-dl", line 11, in
load_entry_point('bandcamp-downloader==0.0.7.post9', 'console_scripts', 'bandcamp-dl')()
File "/usr/local/Cellar/bandcamp-dl/HEAD-609ad3a/libexec/lib/python3.6/site-packages/bandcamp_dl/main.py", line 100, in main
album = bandcamp.parse(url)
File "/usr/local/Cellar/bandcamp-dl/HEAD-609ad3a/libexec/lib/python3.6/site-packages/bandcamp_dl/bandcamp.py", line 45, in parse
bandcamp_json = BandcampJSON(self.soup).generate()
File "/usr/local/Cellar/bandcamp-dl/HEAD-609ad3a/libexec/lib/python3.6/site-packages/bandcamp_dl/bandcampjson.py", line 34, in generate
self.js_to_json()
File "/usr/local/Cellar/bandcamp-dl/HEAD-609ad3a/libexec/lib/python3.6/site-packages/bandcamp_dl/bandcampjson.py", line 58, in js_to_json
self.get_js()
File "/usr/local/Cellar/bandcamp-dl/HEAD-609ad3a/libexec/lib/python3.6/site-packages/bandcamp_dl/bandcampjson.py", line 46, in get_js
self.js_data = self.body.find("script", {"src": False}, text=re.compile(self.target)).string
AttributeError: 'NoneType' object has no attribute 'string'

Don't feed it an album name if you are only attempting to download a single track.

What is the syntax for one track then?

You don't actually need to use artist/album, just feed it the url directly. Those options are there if you want to download a specific album from a specific artist without using the url. Track downloading wasn't originally supported (But now is) and a --track option hasn't been added yet (Mostly because most tracks are part of an album, so tricky)

@Evolution0 I'm having this problem, except I want to download an album. The --artist=... --album=... nor artist.bandcamp.com/album/album_name approach work, both arrive at this apparent issue with beautifulsoup.


Refactor CSS/JS for Home Page

This includes the create account/sign in tabs and forms:
Refer to the work done in #555 and #554

remove the <form> tag from the register_form.html.erb and instead just keep the input fields in the partial so that it can be included in the views/devise/invitations/edit.html.erb which is what a user is brought to when they receive an invitation to collaborate on a plan but do not yet have an account.
I updated the wording of the existing invitation page to try and make it clearer why the user is being asked to create a new account. But we may as well capture the rest of the fields from the normal create account form

closing. sign in/create account were handled in #558 and we will be changing up the content of the page later on.


Fixed #34789: filter_horizontal duplicates entries in "Chosen" column after instance is added via in another field using the "plus" JS action

This is largely based off the work of @yokeshwaran1 and the closed PR https://github.com/django/django/pull/17219.
This PR replaces the Selenium Test with a more active walkthrough to recreate the bug.
Ticket Link: https://code.djangoproject.com/ticket/34789#no1

Resolved the issue commented on above. Interestingly, the failure was actually caused when using a model with casing like this:
FooBar
The uppercase results in data-model-ref checking foobar against foo bar, and therefore data-model-ref does not pick up the match.
By changing the model name to this: Foobar, it prevents the added space and therefore data-model-ref is able to make the correct match.
This issue already exists in main so not relevant to this specific fix. I think @yokeshwaran1 already posted a ticket for the adjacent bug, but if not we can create a new one.

Hey @devin13cox, thank you for your work so far!
I have restarted my review in this branch/ticket but I have an issue, I'm not being able to reproduce the original report using latest main (nor Django 5.0.3 nor Django 4.2). Can you confirm if you are still able to reproduce?
I'm using the same models as before:
from django.db import models

class State(models.Model):
    label = models.CharField(max_length=255)

    def __str__(self):
        return self.label

class Transition(models.Model):
    source = models.ManyToManyField(State, related_name="transition_source")
    target = models.ForeignKey(State, related_name="transition_target", on_delete=models.CASCADE)

    def __str__(self):
        return f"Sources: {', '.join(s.label for s in self.source.all())} -- Target: {self.target.label}"

And the same admin:
from django.contrib import admin

from .models import State, Transition, TransitionTriple

class TransitionAdmin(admin.ModelAdmin):
    filter_horizontal = ["source"]

admin.site.register(State)
admin.site.register(Transition, TransitionAdmin)

Let me know! Thank you.

@devin13cox  I spent quite some time debugging why I wasn't able to reproduce. Finally I realized I was trying to reproduce a slightly different issue :facepalm:. We have two bugs to solve (as we have said in the past), unclear whether we want to solve them in the same PR or not:

One issue is the reported one, when adding a new related entry using the "+" sign from the FK field, the M2M with the filter_horizontal gets incorrectly updated. For this, I think your proposed solution could work, I will go back to review this diff with that in mind, will submit updates on this soon.
The other issue is when adding a new related entry using the "+" sign from from the M2M field. In this case, no other widget gets updated, but really it should update all other fields listing instances of the related model just added. For this, I tracked down the issue to the selector used in dismissAddRelatedObjectPopup to decide whether to call updateRelatedSelectsOptions or not. Basically the id used in the document.getElementById is wrong for the M2M widget (but correct for the single FK field, so we may need to fix the call site to pass the proper name):

--- a/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js
+++ b/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js
@@ -119,7 +119,7 @@

     function dismissAddRelatedObjectPopup(win, newId, newRepr) {
         const name = removePopupIndex(win.name);
-        const elem = document.getElementById(name);
+        const elem = document.getElementById(name + '_from');
         if (elem) {
             const elemName = elem.nodeName.toUpperCase();
             if (elemName === 'SELECT') {

Resolved the issue commented on above.

:trophy:

Interestingly, the failure was actually caused when using a model with casing like this: FooBar

I think this is in fact another issue, not the one reported in ticket-34789.

The uppercase results in data-model-ref checking foobar against foo bar, and therefore data-model-ref does not pick up the match.
By changing the model name to this: Foobar, it prevents the added space and therefore data-model-ref is able to make the correct match.
This issue already exists in main so not relevant to this specific fix. I think @yokeshwaran1 already posted a ticket for the adjacent bug, but if not we can create a new one.
Note if trying to reproduce: The model with the casing issue was resolved by turning TransitionState into Transitionstate

When I first read this comment, I wasn't sure what you mean. Now, after having been debugging things in this code for a few hours, I understand that we have 3 issues: the two I detailed in my previous comment, and a third one which can be described as:
The update of related objects fails in the admin when the related model has a name in camel case.
Do you agree? I don't think we have tickets for each of the three issues, would you fancy filing ticket for 2 and 3?

The update of related objects fails in the admin when the related model has a name in camel case.
Do you agree? I don't think we have tickets for each of the three issues, would you fancy filing ticket for 2 and 3?

After some more debugging, I believe the fix for the third issue should something along these lines:

diff --git a/django/contrib/admin/templates/admin/widgets/related_widget_wrapper.html b/django/contrib/admin/templates/admin/widgets/related_widget_wrapper.html
index 8e4356a95c..99b20545af 100644
--- a/django/contrib/admin/templates/admin/widgets/related_widget_wrapper.html
+++ b/django/contrib/admin/templates/admin/widgets/related_widget_wrapper.html
@@ -1,5 +1,5 @@
 {% load i18n static %}
-

+

     {{ rendered_widget }}
     {% block links %}
         {% spaceless %}
diff --git a/django/contrib/admin/widgets.py b/django/contrib/admin/widgets.py
index fc0cd941d1..9633ebb1a1 100644
--- a/django/contrib/admin/widgets.py
+++ b/django/contrib/admin/widgets.py
@@ -328,6 +328,7 @@ class RelatedFieldWidgetWrapper(forms.Widget):
             "name": name,
             "url_params": url_params,
             "model": rel_opts.verbose_name,
+            "model_name": rel_opts.model_name,
             "can_add_related": self.can_add_related,
             "can_change_related": self.can_change_related,
             "can_delete_related": self.can_delete_related,

Would you have some time to create the ticket and propose a patch? :medal_sports:

Hey @nessita, thank you for taking a deep dive into this! I was not aware of the m2m issue, but that makes sense. I can set aside some time next week to introduce the patch and some tests.
Would it make sense to make alterations to the scope of this ticket due to the related nature and push it all together? Or would you prefer separate patches for these items?

Hey @nessita, thank you for taking a deep dive into this! I was not aware of the m2m issue, but that makes sense. I can set aside some time next week to introduce the patch and some tests.

Amazing, thank you!
I had the Selenium tests running for this PR (see actions outcome) and there was a failure, would you also have time to see if that's related to your work?

As for the third issue, that's exactly what I was describing. Simply a naming issue.
Would it make sense to make alterations to the scope of this ticket due to the related nature and push it all together? Or would you prefer separate patches for these items?

I think we should have separated patches, that allows to have a tidier git history and it also helps in the unlikely case that we need to revert a given change due to a regression.

Adding to this ticket would likely simplify it, especially for the third issue (could simply alter the existing test to utilize camel casing). The M2M would need a slightly different setup.

Yeah, I know that merging fixes is simpler in the short term, but in the medium to long term, it really pays off to have a clean git history.
Thank you!!!
/remind me to check on progress in 2 weeks

Just commenting on this, I've been pretty busy lately so haven't had much time to fix this. I did have a chance to peek at the failed test, and it could be fixed by removing two lines but I'm actually questioning if that would be the functionality we want. Basically, when there are multiple foreign key fields pointing to the same object, like so:
class State(models.Model):
    label = models.CharField(max_length=255)

class Foo(models.Model):
    first = models.ForeignKey(State)
    second = models.ForeignKey(State)

And we add to one of the first Foreign Key, then currently (in main), the added option would appear under the dropdown for second. However with this fix, that no longer occurs. Not sure immediately where to white-list this to allow for it without impacting the original fix (this was originally @yokeshwaran1 logic so need to take a deeper look, my initial suggestion was just to block the chosen component).
Not sure if I'll be able to resolve it this week so dropping this here in case there is no update by 4/1.

Altered the approach to add the context variable for RelatedWidgetWrapper instead of the Select widget based on whether or not allow_multiple_selected was chosen. This still works for the bug in this ticket, and appears to allow previous desired functionality to persist. Might still be sort of a blacklist-type approach, I think it's a little better than the frontend tweak I initially proposed.
Let me know what you think of this new direction, as it does divert from the original fix. Thanks!

Just commenting on this, I've been pretty busy lately so haven't had much time to fix this.

Thanks for sharing that. As mentioned before, we understand that contributors work when they can, so that's fine!

I did have a chance to peek at the failed test, and it could be fixed by removing two lines but I'm actually questioning if that would be the functionality we want. Basically, when there are multiple foreign key fields pointing to the same object, like so:
class State(models.Model):
    label = models.CharField(max_length=255)

class Foo(models.Model):
    first = models.ForeignKey(State)
    second = models.ForeignKey(State)

And we add to one of the first Foreign Key, then currently (in main), the added option would appear under the dropdown for second. However with this fix, that no longer occurs. Not sure immediately where to white-list this to allow for it without impacting the original fix (this was originally @yokeshwaran1 logic so need to take a deeper look, my initial suggestion was just to block the chosen component).

Let me know what you find, I can help if you have a concrete theory.

Not sure if I'll be able to resolve it this week so dropping this here in case there is no update by 4/1.

No worries, at all! The reminders I set are for me to check on progress, with a focus in knowing whether a contributor has (eventually) the time to continue the work or if we should free the ticket for someone else to work on. So really if you work on this when you can, that helps!
Thank you.

Altered the approach to add the context variable for RelatedWidgetWrapper instead of the Select widget

I like the change of the data-context out of Select and into RelatedFieldWidgetWrapper, though I'm not a fan of the pop in AutocompleteMixin. Could we instead only add the data-context to the RelatedFieldWidgetWrapper when necessary?

based on whether or not allow_multiple_selected was chosen.

I'm a little lost on how the latest proposal matches the above, could you elaborate a bit? Thank you!

I'm a little lost on how the latest proposal matches the above, could you elaborate a bit? Thank you!

Wording was a bit awkward, the previous approach added data-context to Select widgets based on if allow_multiple_selected was True. Now we don't need that logic since it's in the wrapper.
I'll take a look at not including the removal during AutocompleteMixin and get back to you.

Hey @nessita , altered the approach to only add data-context if the widget is not an instance of AutocompleteMixin. Similar concept but a cleaner approach to not add it when it's not needed.

@devin13cox As with the other PR, thank you for your patience, I haven't forgotten about this PR either, it's also in my list and I'll get to this ASAP.

@devin13cox we can add asserts to SeleniumTests.test_related_object_update_with_camel_casing rather than creating new models/admin/test for this case
--- a/tests/admin_views/test_related_object_lookups.py
+++ b/tests/admin_views/test_related_object_lookups.py
@@ -117,3 +117,6 @@ class SeleniumTests(AdminSeleniumTestCase):
             <option value="1">{interesting_name}</option>
             """,
         )
+        # Check the newly added instance is not also added in the "to" box.
+        m2m_to = self.selenium.find_element(By.ID, "id_m2m_to")
+        self.assertHTMLEqual(m2m_to.get_attribute("innerHTML"), "")

Then you can delete all the added test Models/admin etc.
Otherwise this looks good to me, when you're done can you reduce this down to a single commit with @yokeshwaran1 as a co-author 👍

Thank you for the reviews @sarahboyce @nessita and sorry about the delay! Was on vacation and missed the update on this. Should be good to go.


Does it support Django 2?

yes. I did that in django2 and found no problems. Everything was fine :)


Preliminary VTK 7 support

Works on VTK 7.0 rc1
Fixes #1139

The Metaclass fix breaks on VTK 6.

Thias has been merged into #1143


mongo 3.4?

I've specified this line on my mongodb.rb recipe:
node.default['mongodb']['package_version'] = '3.4'

include_recipe 'mongodb3::default'

Nevertheless, a 3.2.x version is installed on ghest machine.
Do I need to specify anything more?

I'm getting this message:

ERROR: yum_package[mongodb-org-server] (mongodb3::default line 26) had an error: Chef::Exceptions::Package: Version ["3.4-1.el7"] of ["mongodb-org-server"] not found. Did you specify both version and release? (version-release, e.g. 1.84-10.fc6)

Should be version instead of package_version

Also see https://github.com/sunggun-yu/chef-mongodb3/pull/59/files

I was able to build a 3.4 server using the following variables
default['mongodb3']['package']['repo']['apt']['key'] = '0C49F3730359A14518585931BC711F9BA15703C6'
default['mongodb3']['package']['repo']['apt']['components'] = ['multiverse']
default['mongodb3']['version'] = '3.4.4'

Has anyone had any success installing 3.4 on CentOS 7?
If I set ['mongodb3']['version'] = '3.4.9', the repo file /etc/yum.repos.d/mongodb-org-3.4.repo is created.  However it has the wrong url:  baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.2/x86_64.  The 3.2 should be 3.4
If I try to force the correct url by setting _['mongodb3']['package']['repo']['url'] = 'https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/3.4/x86_64/' it still doesn't work and I end up with the same incorrect baseurl in the mongodb-org-3.4.repo.

I was upgrading an existing node from 3.2 to 3.4.
If you see 3.2 url being hardcoded, delete the existing node attributes using knife node edit <node-name> and run chef-client. The cookbook should set new attributes to node.
Chef-client is not overriding existing 3.2 url and node attribute takes precedence to cookbook parameter. So, deleting attributes should help.
These are the attributes set to node after 3.4 Changes:
"normal": {
    "tags": [

    ],
    "mongodb3": {
      "package": {
        "version": "3.4.21-1.amzn1",
        "repo": {
          "url": "https://repo.mongodb.org/yum/amazon/2013.03/mongodb-org/3.4/x86_64/",
          "apt": {
            "name": "3.4",
            "keyserver": null,
            "key": "EA312927",
            "components": null
          }
        }
      }
    }
  },```

Hope this helps.


Bug: lqs failed to trigger.

When I using the v0.01, the function of search was normal to use.
But the v0.02 was failed.
There are screenshots:

Logseq version: 0.6.6
Alfred version: 4.6.4

@mzwlevi how did you resolve it?
it doesn't work for me either.

@mzwlevi how did you resolve it?
it doesn't work for me either.

thanks, that works


Migrate to Python 3.9 for docker container

Dockerfile was migrated to Python 3.8. Python 3.9 has some dependencie issues for now.


Update GAP.netkan

need to update recommended mods.

Thanks! This will also update the other file automatically.


Authorization

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Documentation:

Does this PR introduce a user-facing change?:

NONE

Why do we need this exactly? Why not just perform the operation in the users name and let the k8s handle if it's allowed or not?

/retest

/retest

/hold

/lgtm

/retest

/lgtm

/unhold

/retest

/retest

/retest

/lgtm

/test pull-kubecarrier-e2e-v1.17
/test pull-kubecarrier-e2e-v1.16

/retest

/retest

/test pull-kubecarrier-e2e-v1.16

/retest

/retest

/retest

/retest


Add a CircleCI config file

Adds a CircleCI config file
Does npm test and npm run build

For https://github.com/ExtensionEngine/pino-cloudwatch/issues/4

Hi @ikovac,
As mentioned, here's a PR to set up CircleCI.
https://github.com/getlocalci/pino-cloudwatch/pull/1 shows the jobs passing.
Will package.json have a lint script, maybe with eslint or prettier?
If so, this could run it with:
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 81cbbef..83ce87a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -7,5 +7,7 @@ workflows:
   test-lint:
     jobs:
       - node/test
+      - node/run:
+          npm-run: lint
       - node/run:
           npm-run: build

@kienstra Yeah, the plan is to add eslint: https://github.com/ExtensionEngine/pino-cloudwatch/issues/3. I will add eslint rule after I finish that ticket.
Thank you for your work!


Running python soundscrape rabbit-i-am returns exception

The exception says "can't find 'main' module in 'soundscrape

System? Python version?

Also they took their tracks down. :(

I'm running this on a 64bit Windows 10 Enterprise
I'm running it on Python 3.6.2
I tried it with other artists on soundcloud

They don't have any tracks any more, that's probably why:
https://soundcloud.com/rabbit-i-am/tracks
On Thu, Aug 10, 2017 at 1:45 PM, jzhanglsw<EMAIL_ADDRESS>wrote:

I'm running this on a 64bit Windows 10 Enterprise
I'm running it on Python 3.6.2
I tried it with other artists on soundcloud
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Miserlou/SoundScrape/issues/189#issuecomment-321623683,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIi0wPtYspRC2lWAEM3MK9ACejRAM0lks5sW0GOgaJpZM4OzwNd
.

I just tried it with chillchildren
They definitely have tracks:
https://soundcloud.com/chillchildren/tracks

Running the test file works though. So I find that very odd...

Doesn't look to be an issue any longer.


Issue when running with srun

Hello,
I tried to used wi4mpi with srun and I found that srun is not able to detect that the application is an MPI application and instead it run the same processes several times.
Any ideas?

Hello Cristian,
try to use srun with the option needed for your mpi target.
Our tests are made using srun on our cluster.


refactor: remove unused timeout parameter in portIsFree

timeout is specified as an optional parameter with a default value of
9999. portIsFree doesn't have any callsites that use this optional
parameter, so this removes the parameter and leaves the timeout value as
a local variable in the function. portIsFree isn't exported outside of
_inspect.js, so this doesn't change any public function interfaces.

Hi, there! node-inspect is now part of Node.js core. If you want to open a PR for this in the main repository, I'd be supportive of the change. The relevant file is in lib/internal/inspector/_inspect.js although there is a PR open to move it to lib/internal/debugger/_inspect.js so if that previous file is missing, look for that latter file.
In the meantime, this repository is being tidied up in preparation for archiving, so I'm going to close this PR. Sorry it didn't land back when you opened it!


I've tried disabling the battery entities for the 2 FmF devices, but they are re-enabled on HA restart.

FmF devices do not report battery level. Trying to disable these entities so that they don't show up in low-battery notifications, etc.
I've tried disabling the battery entities for the 2 FmF devices, but they are re-enabled on HA restart.

I just uploaded Beta 9. Reopen this issue if you are still having problems after installing and using it.
See the Configurator > Sensors > Exclude Sensors. Let me know if you have any problems with it.
Gary

Icloud3 Configuration > Sensors > Exclude Sensors at the bottom. Select the sensors to exclude. You can use the filter to only show ‘battery’ sensors

Icloud3 Configuration > Sensors > Exclude Sensors at the bottom. Select the sensors to exclude. You can use the filter to only show ‘battery’ sensors

Thanks, but can you set it to only exclude battery sensors for FmF devices and not FamShr?

Possibly. They are created before everything else but I have the config for the device. If the FamShr and iOSApp config is both None and it's a bettery, I could not create it, It would then create the next time HA restarts. That might work. Let me think about it.


Make compatible with new GitHub API

It looks like GitHub is changing the way they deliver webhook payloads
EDIT, better link to the post
https://developer.github.com/changes/2014-10-21-deployment-webhook-payload-changes/

Would it be possible to merge this patch? Right now Hookshot is broken unfortunately.

If there's still no movement on this, I'll put my fork with the fix onto npm.


The active/inactive toggle on client edit not working properly

What is the bug you are getting with the toggle? It seems to works perfectly for me.