Mark PYI025 fix as safe in more cases for stub files

Summary
The fix for PYI025 is currently marked as unsafe in non-global scopes for both .py and .pyi files, on the grounds that all global-scope symbols in Python are implicitly exported from the module, so changing the name of something in the global scope could break other modules that import the module we're fixing. Unlike in .py files, however, imported symbols are never implicitly re-exported from stub files. Symbols are only understood by static analysis tools as being re-exported from stubs if they are marked as explicit re-exports, which take three forms:
from foo import *  # all symbols from foo are re-exported from the stub

# the "redundant" alias marks it as an explicit re-export
# (note that the alias needs to be identical to the symbol's "actual" name
# in order for it to be a re-export)
from bar import barrr as barrr

# inclusion in __all__ also marks it as an explicit re-export,
# just like in `.py` files
from baz import bazzz
__all__ = ["bazzz"]

This is specc'd in PEP 484, and means that we can mark the fix for PYI025 as safe in more cases for .pyi files.
Test Plan
cargo test. An existing test case goes from being an unsafe fix to a safe fix in a .pyi fixture. I also added a new fixture so we have coverage of global-scope imports that are marked as re-exports using "redundant" from collections.abc import Set as Set aliases.

Fun fact: I wrote a version of this PR on Thursday, but bumped into #10508 while writing tests for it. That then meant I had to do https://github.com/astral-sh/ruff/pull/10525 and https://github.com/astral-sh/ruff/pull/10527 first, before I could file this 😄


User Story 1.1 - Issue 4: Location Icon

Per discussion noted on issue 4 , this issue can be closed


Why should we add np.pi/2 to rot angle?

https://github.com/charlesq34/frustum-pointnets/blob/2ffdd345e1fce4775ecb508d207e0ad465bcca80/train/provider.py#L224-L227
I don't know why adding np.pi/2.0 can help us to get the center view?
Why does shifting the rot angle by pi/2 can be helpful to adjust GT heading angle directly?
What is the function of np.pi/2?
Thanks

In order to change the coordinate to the center view.

Since frustum angle is different from heading angle. First, you need to calculate the rotate angle,
rotate angle= pi/2-arctan(z/x),  frustum angle=-arctan(z/x).  the defination of heading angle is ry if you check the label information. After the coordinate is transfered to a center view, you need to do the same operation to the heading angle.

Since frustum angle is different from heading angle. First, you need to calculate the rotate angle,
rotate angle= pi/2-arctan(z/x), frustum angle=-arctan(z/x). the defination of heading angle is ry if you check the label information. After the coordinate is transfered to a center view, you need to do the same operation to the heading angle, GTs of heading angle = heading angle -rotate angle.

Hello, the heading angle should be = - self.heading_list[index] - rot_angle right?
self.heading_list[index] or ry corresponds to the "correction" angle right? It is a clockwise angle to essentially get 0 heading angle. What am I missing?


use ES6?

So what do we plan to use for ows.js?
ES6 modules seem the way forward. Since there are transpilers (https://babeljs.io) or shims ( https://github.com/paulmillr/es6-shim/)
What do people think?

+1 for going with the latest available technology.

+1

+1!

is this issue still active ?


[DropdownMenu] Expose explicit Sub part

Provides Sub part in place of implicit nesting to create sub menus
Renames TriggerItem to SubTrigger to align with the additional part

I looked into this again briefly https://github.com/radix-ui/primitives/issues/1016#issuecomment-989842648 but the static typing limitations (having two different element and prop types for one part) remains the same.

There's something weird going on with Chromatic, it says there are 2 changes, but I only see one.

There's something weird going on with Chromatic, it says there are 2 changes, but I only see one.

Github has also been behaving oddly recently so perhaps related. The changes looked fine though so I've accepted them.

I did accept it, but then it was showing one pending still which i couldn't accept so it was kinda stuck 😀


fix: typo swap_letter

I've identified and fixed a typo that was probably made by mistake in this commit last month.
Naturally, fixing this speeds up the engine.

nice thanks @shrihari1999


The new OpenStack will utilize project resource

Hi! Tudanuma Rock Start!!
I want to use kashime with OpenStack mitaka!
will you please check and merge!

thanks!


Implement sbt keys and tasks for use as plugin

This PR is the initial implementation of this project as a proper sbt plugin. I have tested this locally and I can confirm that it works as expected, i.e.
pekko > sourceDistHomeDir
[info] /Users/mdedetrich/github/incubator-pekko
pekko > sourceDistTargetDir
[info] /Users/mdedetrich/github/incubator-pekko/target/dist
pekko > sourceDistName
[info] pekko-root
pekko > sourceDistVersion
[info] 0.0.0+26544-4c021960+20230202-1726-SNAPSHOT

The actual task to generate the archives also works, i.e.
[success] Total time: 3 s, completed 2 Feb 2023, 17:42:23
pekko > sourceDistGenerate

The files are then contained within target/dist as expected.
If you want to test this locally you can just do sbt publishLocal in this project, add the sbt plugin using addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.0-SNAPSHOT") and then you can add it into pekko root project with .enablePlugins(SourceDistPlugin). Note that because the pekko-root project is actually called "pekko-root", as documented you need to override it so the final pekko root project would look like
lazy val root = Project(id = "pekko", base = file("."))
  .aggregate(aggregatedProjects: _*)
  .enablePlugins(PublishRsyncPlugin)
  .settings(
    name := "pekko-root")
  .settings(rootSettings: _*)
  .settings(
    UnidocRoot.autoImport.unidocRootIgnoreProjects := Seq(
      remoteTests,
      benchJmh,
      protobuf,
      protobufV3,
      akkaScalaNightly,
      docs,
      serialversionRemoverPlugin))
  .settings(
    Compile / headerCreate / unmanagedSources := (baseDirectory.value / "project").**("*.scala").get,
    sourceDistName := "pekko")
  .settings(PekkoBuild.welcomeSettings)
  .enablePlugins(CopyrightHeaderForBuild)
  .enablePlugins(SourceDistPlugin)

Note that this is just the initial implementation, more work is still necessary, i.e. we have to handle the case where if a pre-existing archives already exist (should we overwrite and should we warn?). I also have done some slight refactoring of packages.

There is a merge conflict, let me fix it

I reverted my commit that caused the conflict but the PR is still conflicted - could you do a git fetch and pull to ensure you have latest code?


consolidated getter/setter for userdata to just "data", also added deprecations

http://codeigniter.uservoice.com/forums/40508-codeigniter-reactor/suggestions/2162587-consolidate-userdata-flashdata-getters-and-setters
example new usage for userdata

<?

// setting
$this->session->data('key', 'information');

// set with array
$array = array('key' => 'information')
$this->session->data($array);

//getting
$this->session->data('key');

// get all
$this->session->data();

bump?

Nice addition, will this once be merged ?


Feature/logging

Improves the logging through the use of the logging library, assigning some logs as debug so they don't clutter the production log and adding more error handling.

No need for a full review as the changes are mostly formatting, but can you have a look at the way I've modified the error handling in archive.main() @kilicomu ? Reraising any exceptions in reading, adding the header, or compressing all under RuntimeError makes it easy to do a nice single catch in the main function and have a single point of exit, but is that good practice? Or should the functions reraise the same exception type (FileNotFoundError, BadZipFile etc...).?


Callback with DWORD and recommendation for while(1) loops?

I am trying to get a NaN module working and I have it all working but one part, it's a read which reads a i/o card constantly and returns what it says
I have the following...
NAN_METHOD(moxa_read) {
	NanScope();

	v8::Local<v8::Function> callbackHandle = args[0].As<v8::Function>();

	int iRet;
	int	iHandle;
	BYTE bytStartChannel = 0;
	BYTE bytCount = 8;
	DWORD dwValue[16] = {'\0'};

	while(1)
	{
		bytStartChannel = 0;
		bytCount = 8;

		iRet = E1K_DI_Reads(iHandle, bytStartChannel, bytCount, dwValue);

		NanMakeCallback(NanGetCurrentContext()->Global(), callbackHandle, 0, dwValue[0]);
	}

	NanReturnUndefined();
}

But I can't figure out how to return a DWORD, I need to cast it to a v8::Handle(v8::Value) according to what it says. error: invalid conversion from ‘unsigned int’ to ‘v8::Handle<v8::Value>*’. But I can't seem to find any examples on how to convert it properly.
Also is there a better way to do this in NaN, the while loop and read inside that is?

Using uv_timer or uv_poll would be better.
A DWORDis just a 32-bit unsigned integer. NanMakeCallback(NanGetCurrentContext()->Global(), callbackHandle, 1, NanNew(dwValue[0])); should work.

Yah I tried that and kept getting a  error: no matching function for call to ‘NanMakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>&, int, NanIntern::FactoryBase<v8::Uint32>::return_t)’
I will investigate uv_timer and uv_poll thanks.

The error is that the last argument to NanMakeCallback should be a pointer.
v8::Localv8::Value v = NanNew(dwValue[0]);
NanMakeCallback(NanGetCurrentContext()->Global(), callbackHandle, 1, &v);


tests/kernel/gen_isr_tables only runs on ARM

This test ought to run on any platform which uses CONFIG_GEN_ISR_TABLES and has code to trigger an interrupt line from software. The test used to run on ARC and RISCV32.
The bug is in the testcase.yaml which has an incorrect filter line:
filter: CONFIG_GEN_ISR_TABLES and CONFIG_ARMV7_M_ARMV8_M_MAINLINE

tests/kernel/gen_isr_tables does run on arm, arc, riscv32, and riscv64, currently, but there are a few other platforms that select or depend on GEN_ISR_TABLES, like

mips
arm64
sparc
nios2
xtensa

Additionally, of the riscv64 variety, adp_xc7k_ae350 is excluded from this test, but it really should be included.


bevy_log: Support Windows CMD formatting

What problem does this solve or what need does it fill?
ANSI Escape sequences make logs unreadable in cmd
What solution would you like?
Either disable ASII escape codes for cmd or use the Windows CMD-specific ones
What alternative(s) have you considered?
N/A
Additional context

This boils down to detecting whether the current environment is a terminal (TTY) that supports ANSI codes, which probably requires a helper dependency crate to do that for us.
I did some quick research:

crates like atty or crossterm return true when querying "is a TTY?" while running in any Windows terminal I tried (CMD.exe, Terminal, VSCode embedded term), so don't give the right info (admittedly, because this is the wrong question; but mentioning anyway for completeness).
crates like ansi_term allow manipulating colors, but already assume that ANSI codes are supported, so are of no use (mentioning because ansi_term is quite popular).
the solution seems something like the enable-ansi-support crate, which tries to enable ANSI code support on Windows (this is no-op on other platforms since they all support it), and returns an error code if it fails; this gives us 2 nice things:

we know if we're on an older Windows terminal and need to disable ANSI codes (and in particular colors)
if on a Windows 10 terminal, the call enables support for colors, so brings the Windows experience on par with other platforms as an added bonus


ensure every record in wal is only applied once

What problem does this PR solve?
Issue Number: close #7915
Problem Summary:
After dumping snapshot to checkpoint file, we only remove log files which max sequence is smaller than the sequence used to dump snapshot.
So the remaining wal files may have some overlap with the checkpoint file.
And at restart, we will apply all records in the checkpoint file and other wal files which will cause some records to be applied more than once.
This may cause some problem like the following picture.

Because page 88 was already deleted, it is not shown in the checkpoint file log_100_1. But the operation ref 90 -> 88 is still in later log files. So at restart, when it try to apply this record, it will fail to complete the ref operation.
What is changed and how it works?
Record the snap sequence used to dump checkpoint in the filename of checkpoint file. Specifically, change it from log_100_1 to log_100_1_400.
When restart, after apply all records in checkpoint file, we will skip later record which sequence is smaller than the snap sequence in the checkpoint file name.
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Breaking backward compatibility

Can not downgrade to a version earlier than v7.4.0

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

Fix the problem that tiflash may fail to restart under some cases.

/run-all-tests

/run-all-tests

https://github.com/pingcap/docs-cn/blob/master/tiflash-upgrade-guide.md
https://github.com/pingcap/docs/blob/master/tiflash-upgrade-guide.md
Please also update those two docs

https://github.com/pingcap/docs-cn/blob/master/tiflash-upgrade-guide.md https://github.com/pingcap/docs/blob/master/tiflash-upgrade-guide.md
Please also update those two docs

OK.

/rebuild

/rebuild

/run-integration-test

https://github.com/pingcap/docs-cn/blob/master/tiflash-upgrade-guide.md https://github.com/pingcap/docs/blob/master/tiflash-upgrade-guide.md
Please also update those two docs

https://github.com/pingcap/docs-cn/pull/14751
https://github.com/pingcap/docs/pull/14479

/run-all-tests

/run-all-tests

/run-unit-test

/run-cherry-picker


add possibilities to add capabilities and devices to docker container

I have to run a container that use fuse to mount an AWS S3 bucket with:
https://github.com/s3fs-fuse/s3fs-fuse
But to use fuse with docker, the container needs additional capabilities and access to /dev/fuse on host machine.
In this issue https://github.com/docker/docker/issues/514 they used 2 ways to solve this problem:

Fake the fuse installation to not use /dev/fuse
Run the container as --privileged (perhaps too excessive)

But according also with this user (https://github.com/xueshanf/docker-s3fs) we "only" need two additional capabilities (mknod, sys_admin) and the access to /dev/fuse
Thanks

Is this still relevant?

no :)


EF PersistedGrantStore.RemoveAllAsync not removing multiple Persisted Grants

Currently using version 4.0.4
Issue / Steps to reproduce the problem
If a user logs out of any of our apps or out of IS, we figure that we might as well kill the persisted grants (refresh_tokens) for the current subject + session.
Trying to use IIdentityServerInteractionService.RevokeTokensForCurrentSessionAsync() in the [HttpPost] Logout of the AccountController.
[HttpPost]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Logout(LogoutViewModel model)
{
    // build a model so the logged out page knows what to display
    var vm = await BuildLoggedOutViewModelAsync(model.LogoutId);

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

        // raise the logout event
        await _events.RaiseAsync(new UserLogoutSuccessEvent(User.GetSubjectId(), User.GetDisplayName()));
    }

    // check if we need to trigger sign-out at an upstream identity provider
    if (vm.TriggerExternalSignout)
    {
        // build a return URL so the upstream provider will redirect back
        // to us after the user has logged out. this allows us to then
        // complete our single sign-out processing.
        string url = Url.Action("Logout", new { logoutId = vm.LogoutId });

        // this triggers a redirect to the external provider for sign-out
        return SignOut(new AuthenticationProperties { RedirectUri = url }, vm.ExternalAuthenticationScheme);
    }

    await _interaction.RevokeTokensForCurrentSessionAsync(); // ??? this isn't killing all the session tokens in the PersistedGrants table?

    if (vm.PostLogoutRedirectUri != null)
    {
        // If it's null, an exception is thrown
        return Redirect(vm.PostLogoutRedirectUri);
    }

    return View("LoggedOut", vm);
}

https://github.com/IdentityServer/IdentityServer4/blob/18897890ce2cb020a71b836db030f3ed1ae57882/src/IdentityServer4/src/Services/Default/DefaultIdentityServerInteractionService.cs#L185-L194
... eventually calls ...
https://github.com/IdentityServer/IdentityServer4/blob/9558fac524057f42ac7a35eabe72f880df2468a7/src/EntityFramework.Storage/src/Stores/PersistedGrantStore.cs#L129-L148
But only a single persisted grant is deleted.  The rest of the session tokens are still there.
I understand I may be doing/understanding this wrong. But I'm not sure why calling that function would NOT do as it says: RemoveAll.

Have you traced the SQL to the DB to see if the filter is correct?

I haven't watched the actual SQL being generated because the LogDebug shows that it's removing 0 grants.  I'll try to pull the code in the next couple days and step thru.
trce: IdentityServer4.Endpoints.TokenRevocationEndpoint[0]
      Calling into token revocation request validator: IdentityServer4.Validation.TokenRevocationRequestValidator
trce: IdentityServer4.Validation.TokenRevocationRequestValidator[0]
      ValidateRequestAsync called
dbug: IdentityServer4.Validation.TokenRevocationRequestValidator[0]
      Token type hint found in request: refresh_token
dbug: IdentityServer4.Validation.TokenRevocationRequestValidator[0]
      ValidateRequestAsync result: IdentityServer4.Validation.TokenRevocationRequestValidationResult
trce: IdentityServer4.Endpoints.TokenRevocationEndpoint[0]
      Calling into token revocation response generator: IdentityServer4.ResponseHandling.TokenRevocationResponseGenerator
trce: IdentityServer4.ResponseHandling.TokenRevocationResponseGenerator[0]
      Hint was for refresh token
dbug: IdentityServer4.EntityFramework.Stores.PersistedGrantStore[0]
      roJWoApfn7gFYD8kB5GP3Y9+IxxemmgbgMpWUYHXynQ= found in database: True
dbug: IdentityServer4.ResponseHandling.TokenRevocationResponseGenerator[0]
      Refresh token revoked
dbug: IdentityServer4.EntityFramework.Stores.PersistedGrantStore[0]
      removing roJWoApfn7gFYD8kB5GP3Y9+IxxemmgbgMpWUYHXynQ= persisted grant from database
dbug: IdentityServer4.EntityFramework.Stores.PersistedGrantStore[0]
      removing 0 persisted grants from database for IdentityServer4.Stores.PersistedGrantFilter

Yea, I'm curious what's happening around the filter logic.

I put the await _interaction.RevokeTokensForCurrentSessionAsync(); after I've come back from logging out of Azure Active Directory... at which point, I'm signed out.  Which means, that var user = await _userSession.GetUserAsync(); should indeed be coming back null.
I've been staring at this stuff for too long, my head is spinning.
Now, the question is, do I really want to revoke everything before I've redirected to Azure AD to sign out of them?

I know you guys are swamped.  I'll go ahead and close this out since it's not a bug.
If you ever get a wild hair and want to answer the "second question," it'd be appreciated.
Thank you SO much for all the hard work you and leastprivilege do.

Second question: Is it not common place to want to revoke all the tokens of the session when logging out of IS?

Depends :)
And it's tricky. For example: what if the RT you issued really is meant to be long-lived?


Add ja redirect for learning environment

Add redirection for https://kubernetes.io/ja/docs/setup/learning-environment/ to behave the same way as EN version
Fixes https://github.com/kubernetes/website/issues/41724
Before:
No redirect
After:
Redirection to https://kubernetes.io/ja/docs/tasks/tools/

/lgtm
This PR update the redirect setting in ja with the same manner in other languagees.
It looks good as a ja reviewer.

/cc @nasa9084
Could you review this PR as a ja approver perspective?

Maybe we should do below same as https://github.com/kubernetes/website/commit/a6b52520cdf645440973ceecef7cb8b875645161

Remove kind.md and minukube.md in the directory
Add redirect configuration for these files

/language ja

@nasa9084

Thank you for your first contribution tada Maybe we should do below same as a6b5252

Remove kind.md and minukube.md in the directory
Add redirect configuration for these files

Do you say that:

we should do those updates in this PR?
we should do those in follow-up PRs?

I prefer the option 2.

Either is fine for me :)

We should move forward this PR as-is for quick progress, I think.

/assign @tengqm
Could you review this PR and approve if this is OK.
This PR is OK for ja reviewers.

/approve


Can't see the logs printed out in production

Hi! I'm new to Axiom, this looks like an awesome tool, thank you for building it!
I'm trying to set it up with Next.js and Vercel, and ran into an issue - in my production deployment, I don't see the logs printed out in the devtools console or in the function logs in Vercel's UI.
In your README it says:

When env vars are not detected, Pretty printing to console is enabled by default, to disable it set the environment variable:
AXIOM_PRETTY_PRINT_ENABLED=false

My guess was that if I'd set this variable to true in production, it should enable printing the logs into the console, but it doesn't look like it's working. Even with this variable set to true, I don't see errors in my devtools.
Can you help me out? How can I enable pretty printing logs in production?

The pretty print only affects how logs are formatted and is only enabled on non-prod builds.
If you use the logger provided by this library logs are sent to Axiom directly on prod builds and not printed to console. If we printed them to we'd have duplicates because we capture the stdout of functions as well.
One solution would be to switch to console.log in you function, at the cost of parsed fields and metadata.

@lumenwrites I hope this solved your problem, if it didn't please re-open 🙏🏻

Can you point to this logic in the codebase? I am seeing logs printed in the console and sent to axiom, and trying to understand how that is happening.


Type definition NfcManager.requestTechnology

A small update to requestTechnology, previous declaration only accepted a single NfcTech and no options param.
The update makes tech argument accept single value or array of NfcTech and adds options parameter as optional RegisterTagEventOpts (I believe that's the correct type).
Thanks for creating, sharing and maintaining this library!

Thanks!


Deploy

This is an automatically generated release PR!

Co-assigning to @icirellik since the collection* template changes are included in this release.

Co-assigning to @icirellik since the collection* template changes are included in this release.


[3.x] Make Animation's SceneTreeDialog filter nodes properly

'3.x' version of https://github.com/godotengine/godot/pull/46938 😄

Thanks!


TeraChem: Added terachem input generator

@dgasmith Hi Daniel, the input generator for basic TeraChem job is added here.

This pull request introduces 2 alerts when merging 66576b1a65e144f3d5e0f3572a1bf4df3830b98a into 835b291986069669e4be0e708ec4846ebfd858d6 - view on LGTM.com
new alerts:

2 for Unused import

Comment posted by LGTM.com


Decrease the learning rate during stochastic learning

I think it is not a bad idea to decrease the learning rate during stochastic learning
by tf.train.exponential_decay.
I modified the codes slightly to let model._optimize_tf() accept this option (and other for the future extension).
See test_adam_option method in test_model.py for the usage.
I'm looking forward to any comments.

I think this is a good option. Often, stochastic optimisation does fail to converge if the step size is too large.
Just curious, does the Adam test fail if the exponential decay is not used? This would be an actual functional test over just running the code.

@markvdw
Thank you for the comment.
You are right. Test does not fail even without exponential decay.
I will update it.

Current coverage is 99.40% (diff: 100%)

No coverage report found for master at 3778ae9.

Powered by Codecov. Last update 3778ae9...b7233f0

I updated the test to make sure the global_step is certainly used.

Adopt GradientDescent rather than Adam
Decrease the threshold
Added test code to make sure this test fails without the global_step

@fujiisoup, Sorry that this PR has been unnoticed for a while. While it's a useful contribution, we're working on some modifications to GPflow that would make doing things like this a lot easier. I'm closing this PR for now while we come up with a more general solution.
Apologies for the long wait, we'll aim to merge PRs like this one faster in the future.


1.2.0

Gurobi interface is officially not under construction anymore
Tolerances can now be changed via the Model.configuration.tolerances interface
Objectives with constant terms will now be handled correctly
Getting solution values from GLPK is now more efficient

Codecov Report

Merging #110 into master will increase coverage by 0.17%.
The diff coverage is 94.93%.

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
+ Coverage   89.25%   89.43%   +0.17%
==========================================
  Files           8        8
  Lines        2439     2460      +21
  Branches      548      542       -6
==========================================
+ Hits         2177     2200      +23
- Misses        160      171      +11
+ Partials      102       89      -13

Impacted Files
Coverage Δ

optlang/cplex_interface.py
91.63% <100%> (+0.61%)
:arrow_up:

optlang/glpk_interface.py
86.77% <100%> (+0.69%)
:arrow_up:

optlang/expression_parsing.py
84.14% <88.88%> (+4.97%)
:arrow_up:

optlang/scipy_interface.py
82.86% <90.9%> (-2.3%)
:arrow_down:

optlang/interface.py
90.68% <95.83%> (+0.45%)
:arrow_up:

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 b56b83b...8cb07f4. Read the comment docs.

Wow, those are a lot of improvements. Thanks!


Configure prettier

120 characters line length. This way it matches the tslint config. And the default was really small.
Do not change semicolons. Rules between JS and TS differ
Single quote = true

Side-comment: I'm starting to think that prettier causes more harm than it fixes.
For instance, configuring line width is a pain. Whatever length we choose, we'll end up with some bad-looking stuff (sometimes it's split where it shouldn't, or the contrary). This is the kind of thing I'd prefer to let up to the developer.

Ok, I've committed some works and prettier just removed ending semi-colons. Now tslint complains. Either we put "--no-semi" and there's missing semi, or we don't put it and there's too many semi. It just doesn't work with Typescript.

It's a bit better with the "typescript" parser :-)
But unfortunately some constructs seem impossible, like dealing with semi-colons on stuff like export default interface XXX {...}. I have to split it that way:
interface XXX { ... }

export default XXX;

@aljesusg Yes... and I'm even wondering if we should keep it as a pre-commit hook. Anything as a pre-commit hook must be 100% reliable (because you commit something that may be different from what you tested), and I fear it is not the case here.
What if we just set it up on build / start scripts, but not as a pre-commit hook?

Yeah, I guess this is kind of an experiment

We can try removing the precommit hook until we are comfortable?


feat: added clean npm script

this especially comes in handy in case you need to tidy up your whole folder, but leave

LGTM, shouldn't we integrate that in /mono as well?

good point – I've already added it over there: https://github.com/db-ui/mono/blob/main/package.json#L55


Wrong autocomplete for 2nd row and INSERT INTO generated expression for PostgreSQL serial type

System information:

DBeaver version 7.2.4 EA

Connection specification:

Database name and version PostgreSQL

Describe the problem you're observing:

An incorrect autocomplete of the serial cell in the second row in the table with two or more columns (autocomplete for the third and subsequent columns works correctly)
Precondition: a table with column of serial type and several others exists and only one row
Steps:
Duplicate the row and press Save
Expected: the next number in the sequence is inserted into the serial column
Actual result: a random number is inserted

Wrong SQL expression is generated via Data Editor context menu.
Steps:
Select Generate SQL>Insert into
Expected:

INSERT INTO "Xeniia"."serial" (column1)
	VALUES ('q');

Actual result:
INSERT INTO "serial"
("serial", column1)
VALUES(NULL, 'q');

Can't reproduce p.1
INSERT INTO statement in Query Manager correct and contains other columns values, not serial.
And the value that appears in the serial cell after saving comes from the database. It may be incorrect if another person also works in the same table, for example.

About 1 - This behaviour is normal for auto-generating columns.
new ticket for 2 - https://github.com/dbeaver/dbeaver/issues/10489


Bump go-winio to v0.4.2

Matches the version used in moby/moby
Full diff: https://github.com/Microsoft/go-winio/compare/f778f05015353be65d242f3fedc18695756153bb...v0.4.2

LGTM
Would be really great if we could fix the docker/client -> go-connections/sockets -> go-winio dependency, though. Projects should be able to use the Docker API client with minimal extra libraries.
Looks like go-winio gets used for Windows named pipes. I'm not sure there's a good way to avoid that library, but it might make sense to refactor code so that the client library doesn't use it directly, and that responsibility falls on the application if it wants to support named pipes (that said, there's value to code automatically working on Windows).

@johnstep any thoughts on that?


Added a Mattermost Rollout Template

This template provides sample text and links for internal distribution. It can be used by organizations to help their users get started with Mattermost, and assumes that the users are not familiar with other messaging systems.

Thanks Jeff, editor review done. +1


Logo for Sigstore's policy-controller component/project

It would be great to have a dedicated logo for the Sigstore's policy-controller component/project, is it planned?
It was/is not part of:

https://blog.sigstore.dev/new-sigstore-landscape-add-your-signed-project-dda0517723b6
https://github.com/sigstore/community/tree/main/artwork

And then it's maybe the opportunity to add it in there https://landscape.openssf.org/sigstore too?

cc @cpanato @vaikas @hectorj2f
I can help kick off a request for this - what we need first is some input for the designer aka a creative brief.
Here is the doc we used for Sigstore - https://docs.google.com/document/d/1VBauFzVIRv9Ert-CWElbVzZywsRvS1ZjDFHDTW-AHUA/edit#heading=h.uh4tgxrtvxpy
The main thing we need is the design considerations e.g do we want it to be very close to sigstore logo or unique but related (e.g. rekor).

Yeah, i agree with @cpanato here. We should remain simple and follow sigstore log with a symbol remaining rules/policies.

Actually, it seems that it will be the only one not being a stamp like the other ones, right?
https://blog.sigstore.dev/new-sigstore-landscape-add-your-signed-project-dda0517723b6/
So, what about having the stamp and the shield in white inside it? Same approach than the other ones.

I believe there is some kind of copyright issue with the stamp/wax seal but I agree that this logo should be consistent with the other new logos.

Yes, I agree with @vaikas and @mathieu-benoit, as long as it is inside a stamp :).

Just to confirm, folks here are interested in a logo that uses a dark blue wax stamp with a white shield logo inside? And the dark blue is a new color, not the same color as the Sigstore logo?
@elfotografo007 are there copyright issues I should note?
Thanks!

yes think referring to this https://github.com/sigstore/community/issues/239

Thanks! Will make a note of it in the Creative Brief.

The designer should have a draft logo next Thursday, 3/23. I'll follow up then for community feedback.

Thanks @sheesh for helping accelerate this!

Hi all! The designer came back with four different concepts for the policy-controller logo. Let me know your preference and if you have any other feedback. Thanks!
Sigstore_PolicyController_Concepts_v1.pdf

My favorites are concept 2 and 1 (in that order)

Looks fantastic, thank you so much for getting these done!!!
I like them in order of preference:
3
4
1
2

So cool!  I like 1 & 2.  I would be a little concerned about 4's shield looking like the Windows Defender logo.

Those are awesome! Love how simple and elegant they are!
I like 1, 2, 4, 3 (in order) - I cant unsee the windows defender logo from #3 now

Awesome! My vote in order goes: 1, 4, 3, 2.

They all look really good. I vote for 2, 1 and 3 in that order.

in order: 3, 1, 2, 4

Concept 1 is in the lead! But @amdawson and @tracymiranda could still swing the vote!
Is there anyone besides the 10 participants here that should weigh in?

Thanks, @amdawson! And good flag about layout--I'll let the designer know.

1, 2, 3, 4 for me.
4 has religious connotations to me, like a Knights Templar shield.

1, 3, 2, 4

2, 1, 3, 4
Excited for this!

1, 2, 3, 4... Really loving the branding!

That would be 1, 2, 4, 3 for me. Thanks!

hey @haydentherapper - good flag about the length of the project name. i'm not sure what can be done on this front at this moment (since renaming is out of scope), but i'll see if the designer has any ideas. thanks!

Thanks everyone for your votes and feedback. Concept 1 is the clear winner!
I will send on our choice to the designer and ask if she has ideas for minimizing the length of the name.  I can also let her know that if she provides an image of all the logos together, this logo should be at the bottom.

Happy Friday, everyone!
The designer sent some variations on Concept 1 that help minimize the width of the policy-controller logo. (Thanks, @haydentherapper, for the flag). Personally, I think Concept 1D might work the best but I'm interested in the group's thoughts.
Let me know if you have opinions. I'd like to send her our final decision by end of day Monday. Thanks!

Seconding Concept 1D, thank you for your work on this @sheesh !

Yes, 1D also looks good to me. Thanks everyone.

Great! I will write the designer that we prefer 1D unless I hear strong opinions otherwise before the end of the day. Thanks!

+1 for 1D, thanks @sheesh!

1d as well

@sheesh I'd say you can store them here: https://github.com/sigstore/community/tree/main/artwork

Thank you, @hectorj2f!

Hooray, new logos are added in this PR: https://github.com/sigstore/community/pull/257

Hey there! Just checking in to see if there is anything I need to do to get the logo PR merged? Tips appreciated! :)
#257

I'll ask in slack if we can get a reviewer with merge rights to look at this...


No stored credential for webassemblyhub.io

I login with wasme login -u $YOUR_USERNAME -p $YOUR_PASSWORD
Then, I can push image.
But when I try to deploy it I get the following error:
$ wasme deploy gloo webassemblyhub.io/$YOUR_USERNAME/add-header:v0.1 --id=add-header
Error: All attempts fail:
#1: error getting credentials - err: exit status 1, out: `No stored credential for webassemblyhub.io`
Usage:
  wasme deploy gloo <image> --id=<unique name> [--config=<inline string>] [--root-id=<root id>] [--namespaces <comma separated namespaces>] [--labels <key1=val1,key2=val2>] [flags]

Flags:
  -h, --help                    help for gloo
  -l, --labels stringToString   select deploy the filter to selected Gateway resource in the given namespaces. if none provided, Gateways in all namespaces will be selected. (default [])
  -n, --namespaces strings      deploy the filter to selected Gateway resource in the given namespaces. if none provided, Gateways in all namespaces will be selected.

Global Flags:
      --config string    optional config that will be passed to the filter. accepts an inline string.
      --id string        unique id for naming the deployed filter. this is used for logging as well as removing the filter. when running wasme deploy istio, this name must be a valid Kubernetes resource name.
      --root-id string   optional root ID used to bind the filter at the Envoy level. this value is normally read from the filter image directly.
  -v, --verbose          verbose output

Unable to reproduce in latest version of wasme. Closing for now, if you are still having issues we can re-open!


Visual Script's set text property does not accept text input in its string data type value box

Godot version:

Godot 3.2.4 beta4

OS/device including version:

Issue description:

Visual Script's set text property does not accept text input in its string data type value box, as shown in the screen record below:

Steps to reproduce:

Add set node in Visual Script.
Change its base type to label.
Choose the property text.
Try to type in its value box which is the string data type. And it will open the create new object window instead.

Minimal reproduction project:

test.zip

This issue is fixed as of Godot v3.4.3.rc2.official [0ea54d07f] and Godot v4.0.alpha2.official [79077e6c1], as shown in the screen recordings below:
Godot v3.4.3.rc2.official [0ea54d07f]:
https://user-images.githubusercontent.com/1403194/154781406-ca0a0136-9fbf-4caf-828f-0ca831ea3e7f.mp4
Godot v4.0.alpha2.official [79077e6c1]:
https://user-images.githubusercontent.com/1403194/154781433-7192b7e8-9ee3-40b1-be54-9774e6af326d.mp4
Therefore I will close this issue.


Cut headers in 'Sources' screen

Long titles won't fit, would be nice to have them split into multiple lines.

Can you attach a picture?

Here, first one is supposed to read 'Muzei - Bing Image of the Day'. I guess second is 'Obtenir d'autres sources'.

Here, first one is supposed to read 'Muzei - Bing Image of the Day'. I guess second one is 'Obtenir d'autres sources'.

Tablet layout, for comparison.

Thanks, we've fixed the layout to support multiple line titles - it'll be available in the next release of Muzei.
FWIW, I'd strongly suggest reaching out to the 'Muzei - Bing Image of the Day' developer - they can add an android:label to their <provider> to provide a custom label specifically for the Sources screen: there's no reason to put a prefix of "Muzei - " in front of their title since you're already in Muzei when you're seeing that title.

FWIW, I'd strongly suggest reaching out to the 'Muzei - Bing Image of the Day' developer - they can add an android:label to their <provider> to provide a custom label specifically for the Sources screen: there's no reason to put a prefix of "Muzei - " in front of their title since you're already in Muzei when you're seeing that title.

Thanks for pointing that out, keep up the good work!


Update CMake configuration

#343 missed updating the CMake build config. (Sadly this project has no working CI.)
Weirdly, the missing Sendable conformances are only causing problems on Swift 5.5 -- they must be inferred elsewhere.
Checklist

[X] I've read the Contribution Guidelines
[X] My contributions are licensed under the Swift license.
[X] I've followed the coding style of the rest of the project.
[ ] I've added tests covering all new code paths my change adds to the project (if appropriate).
[ ] I've added benchmarks covering new functionality (if appropriate).
[X] I've verified that my change does not break any existing tests or introduce unexplained benchmark regressions.
[ ] I've updated the documentation if necessary.

@swift-ci test


Contribution changes

Closes #90, closes #91
Notes:

chose put a GitHub svg with a link in the top right, for #90
for #91, uses links on text to Element and GitHub, rather than adding buttons in these markdowns. And there is the GitHub logo in top-right corner, per change above.

Let me know if there are other ideas for these.

The changelog shows changes on most lines for some reason, maybe it's a line ending issue?  What were the md files edited with (and what OS)?
We can just squash it later, but it's good to learn how to squash a PR  to less commits - https://stackoverflow.com/questions/5189560/how-do-i-squash-my-last-n-commits-together has many options that work.

I made changes using https://dillinger.io/ on my mac, by importing and exporting the .md files there. This may have caused the resulting changelog. This helped me visualize the changes, but from now on I'll make changes directly in VSCode.
I reverted these commits and now the changelog shows just the changes I made.


[DevEx]: Reorganize Vue components

Improvement Summary
In order to make it easier to find the any given component, we should groups components into subdirectories based on which page(s) they are used in
Detailed Description
Currently most of the components in src/components are “loose” in the components folder and not grouped into subdirectories. We should create one subdirectory per page (for pages that have dedicated components):
src/components/HomeView
src/components/StatsView
src/components/RulesView
src/components/LobbyView
(Note we already have src/components/GameView)
and place the relevant components into the subdirectory for the page in which they appear. All the Stats… components should go in StatsView, etc. We can leave the global navigation components in the root src/components folder for now as there aren’t many of them, and they are globally scoped to the entire application.

I've worked on this and committed the code in a forked repo as per the guidelines. However, I'm not able to run the tests using cypress after following the instructions exactly. I use WSL for development and the system OS is Windows 11.
Since this one includes just reorganizing the components, can I still create a PR for the same?

I've worked on this and committed the code in a forked repo as per the guidelines. However, I'm not able to run the tests using cypress after following the instructions exactly. I use WSL for development and the system OS is Windows 11. Since this one includes just reorganizing the components, can I still create a PR for the same?

I was able to test it eventually. I had to run to the client application as well and not just the server as stated in the documentation.


output not generated after rendering

checkpoints directory is generated but not the render directory, there were no errors also apart from few warnings,

I am working with only GPU, anyhelp please


RF: aggregation pic

in the last line we have p(yhat) in the pic.
that is not out notation
we use pi(x)

Editable link for the image - https://drive.google.com/file/d/1Ap4Okrcd9PAUNrzNQOE9WJ9Hh-nhuzLG/view?usp=sharing
I am not able to attach .svg or .xml here. Let me know what to do with that

thx.

please do check the notation on the slides in the classification chapter -- it should be $\hat\pi_1$ not $p(\hat(y))$.
the fraction at the bottom seems weird -- it's not 2 divided by 1, its 2 divided by 3. maybe just get rid of the fraction there and say 2 trees with \hat y = 1, 1 with \hat y = 0

also (and: apologies again for the back and forth and wasting your time): we would prefer google slides style graphs to draw.io, after all.... sorry.

I edited the picture again in google slides. Hope it is okay now. Let me know if anything needs to be edited.
The link: https://docs.google.com/presentation/d/1lU1qPlY-NQkvWCDrrV6PdDYkloF3eFudM9v2NFYg1rY/edit#slide=id.g60486b3cda_0_117

better, but not quite there yet.
First figure is fine, second one please do:

we do want $\hat\pi_1 = \tfrac{2}{3}$ in the classification explanation, please add
please use the 3 trees from the 1st figure here, that makes it easier to explain what's happening. 3rd tree looks wrong.
please use the entire width of the slide and put a vertical line between the trees and the classification explanation.

Edited the tree. Let me know if anything needs to be changed.
Also, I did not construct the 1st tree. I constructed 2nd one as it was in the slide. The 1st tree was already constructed, should I still change the 2nd figure?

not quite what we discussed, is it?

please use the three trees from slide 1
split the 2nd slide into three non-overlapping segments
fix the notation for classification, its \pi_1(x) not p(\hat y).

Edited it again. Hope it looks good

thx, 1st and 2nd page looks good. please render them into pdf and overwrite the old versions in the repo with new pdfs.


Update about.html.erb

Changing "applicants" to "candidates"
Context
Changes proposed in this pull request
Guidance to review
Checklist

[ ] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 Change all instances of 'applicants' to 'candidates' across Publish


After update, group.get.trackplus is not parsing URI streams

Description
I updated node-red-contrib-sonos-plus and not group.get.trackplus fails. It has reliable worked before with no changes done to my automation. I'm abit green with node in general so let me know what else would help with triage!
Here is part of the stack
group.get.trackplus:uri.replace is not a function :: Details: {"stack":"TypeError: uri.replace is not a function\n    at Function.ParseDIDLTrack (/config/node_modules/@svrooij/sonos/lib/helpers/metadata-helper.js:56:29)\n    at AVTransportService.parseValue (/config/node_modules/@svrooij/sonos/lib/services/base-service.js:253:46)\n    at /config/node_modules/@svrooij/sonos/lib/services/base-service.js:246:30\n    at Array.forEach (<anonymous>)\n    at AVTransportService.parseEmbeddedXml (/config/node_modules/@svrooij/sonos/lib/services/base-service.js:245:14)\n    at AVTransportService.handleRequestAndParseResponse (/config/node_modules/@svrooij/sonos/lib/services/base-service.js:205:21)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at AVTransportService.GetMediaInfo (/config/node_modules/@svrooij/sonos/lib/services/av-transport.service.js:127:60)\n    at Object.groupGetTrackPlus [as group.get.trackplus] (/config/node_modules/node-red-contrib-sonos-plu...

What node/command (topic)/state (payload)
node: Universal
command: group.get.trackplus
state:
In case of a bug: Are you able to reproduce the error
In my case, it fails only when I'm playing a direct uri and not a station (which I normally do).
Versions and Infrastructure
what system: Linux 6.6.16-haos x86_64
node-red-contrib-sonos-plus version: 6.7.6
Node-RED version: 3.1.7
NodeJS version: v18.19.1

Hi. What track did you play: name? From what source: Youtube, Spotify,
Radioplayer?
On Mon, Mar 25, 2024 at 8:25 PM Jeremy Olexa @.***>
wrote:

Description
I updated node-red-contrib-sonos-plus and not group.get.trackplus fails.
It has reliable worked before with no changes done to my automation. I'm
abit green with node in general so let me know what else would help with
triage!
Here is part of the stack
group.get.trackplus:uri.replace is not a function :: Details: {"stack":"TypeError: uri.replace is not a function\n    at Function.ParseDIDLTrack @./sonos/lib/helpers/metadata-helper.js:56:29)\n    at AVTransportService.parseValue @./sonos/lib/services/base-service.js:253:46)\n    at @./sonos/lib/services/base-service.js:246:30\n    at Array.forEach ()\n    at AVTransportService.parseEmbeddedXml @./sonos/lib/services/base-service.js:245:14)\n    at AVTransportService.handleRequestAndParseResponse @./sonos/lib/services/base-service.js:205:21)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at AVTransportService.GetMediaInfo @./sonos/lib/services/av-transport.service.js:127:60)\n    at Object.groupGetTrackPlus [as group.get.trackplus] (/config/node_modules/node-red-contrib-sonos-plu...
What node/command (topic)/state (payload)
node: Universal
command: group.get.trackplus
state:
In case of a bug: Are you able to reproduce the error
In my case, it fails only when I'm playing a direct uri and not a station
(which I normally do).
Versions and Infrastructure
what system: Linux 6.6.16-haos x86_64
node-red-contrib-sonos-plus version: 6.7.6
Node-RED version: 3.1.7
NodeJS version: v18.19.1
—
Reply to this email directly, view it on GitHub
https://github.com/hklages/node-red-contrib-sonos-plus/issues/285, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDZCH2T2H2I3U4U62JTNYLY2B2ZHAVCNFSM6AAAAABFHTCZHCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDMNJSGEYDSNQ
.
You are receiving this because you were assigned.Message ID:
@.***>

Currently I'm playing this stream https://kexp.streamguys1.com/kexp160.aac (https://kexp.org)
via group.play.streamhttp command and then in a seperate automation I issue the group.get.trackplus command and then it fails with the error above

... same error at my test installation.
But that is only this stream - you others streams work fine.
Does the command work for "http://www.fritz.de/live.m3u"?
On Mon, Mar 25, 2024 at 9:12 PM Jeremy Olexa @.***>
wrote:

Currently I'm playing this stream https://kexp.streamguys1.com/kexp160.aac
(https://kexp.org)
via group.play.streamhttp command and then in a seperate automation I
issue the group.get.trackplus command and then it fails with the error
above
—
Reply to this email directly, view it on GitHub
https://github.com/hklages/node-red-contrib-sonos-plus/issues/285#issuecomment-2018826877,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDZCH4D2KEA5LVIVRZAWQLY2CAJRAVCNFSM6AAAAABFHTCZHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJYHAZDMOBXG4
.
You are receiving this because you were assigned.Message ID:
@.***>

I have the same error for the fritz stream with group.get.trackplus

Hi. I have to report the bug to the ts-sonos - a library I use for this project.
Workaround:
In the Android/iPhone app go to serach tab
search for KEXP in category station
select KEXP, use the 3 dot menu, more and add it to My Sonos
You can then use "group.play.mysonos" with "KEXP" and start the station.
Then "group.get.trackplus" should work.
I tested it on my system and it works.
Does it work for your?

Yes, that workaround will work.
Do you know how to downgrade packages in the node red palette? I’d like to find when this broke.
Thanks for filing upstream, please link here so I can follow it. I appreciate your help.

Thanks for your feedback.
bug report to ts-sonos
downgrade: It was often request but still it isn't implemented in Node-RED.
To downgrade you need to use the console, go to the node-red home directory and use npm commands.
Description to downgrade

Well, I'm still not sure..
I downgraded all the way to this version:
addon-node-red@ /opt
└─┬<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
and I still have the error... 😕 Maybe the stream changed at the worse time? However, I see a similar Github issue was raised after mine, hmm. Maybe I'm testing the downgrade wrong?

I prefer the "My Sonos" usage. Then SONOS stores the data and ensures that
everything is ok. I can export/import these data.
In case of "group.play.streamhttp" the package "ts-sonos" or I have to
"suggest" the metadata and that can easily go wrong.
Most likely you did the downgrade right (at least the snippet looks fine).
Can you provide another stream or album where the error occurs?
On Tue, Mar 26, 2024 at 4:05 PM Jeremy Olexa @.***>
wrote:

Well, I'm still not sure..
I downgraded all the way to this version:
addon-node-red@ /opt
└─┬ @.***
└── @@.***
and I still have the error... 😕 Maybe the stream changed at the worse
time? However, I see a similar Github issue was raised after mine, hmm.
Maybe I'm testing the downgrade wrong?
—
Reply to this email directly, view it on GitHub
https://github.com/hklages/node-red-contrib-sonos-plus/issues/285#issuecomment-2020683409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEDZCHYVBXLUW2H4ELJQFT3Y2GFEJAVCNFSM6AAAAABFHTCZHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGY4DGNBQHE
.
You are receiving this because you were assigned.Message ID:
@.***>

I understand the workaround. I submitted this issue in case it helps to make this project more robust. 😄 I previously used TuneIn in Sonos App and that still works just fine with group.get.trackplus. In the past, TuneIn was degraded for a few hours and I decided to switch to using direct streams (when possible) instead. Afterall, Tunein (or Sonos Radio) just uses a stream anyway, so I decided to cut out the middleman and make my home more robust. If the stream is down, then tunein or sonos will be down as well and I can switch to Spotify or something. I'm not sure, but I also think the stream is better quality then other options.
I don't have other examples right now. I'm following ts-sonos issue and it looks promising (null object) but I can't confirm.

For the record, I found another stream is also having this error https://nis.stream.publicradio.org/nis.mp3
So, IMO, that rules out that a stream changed and points to an issue in some package. I’ve had these automations for 6+months without changes.

in release 6.7.7 both streams work (you have to submit once the group.play.streamhttp) and after having done that  the group.get.trackall does not throw any error.
Does it work in your environment?

Ok, updated and confirmed the fix.
Here is the group.get.trackplus debug output in case it helps anything. (from the publicradio stream link, just now)
{
  "artist": "MPR News",
  "album": "",
  "title": "Angela Davis",
  "artUri": "",
  "mediaData": {
    "NrTracks": 1,
    "MediaDuration": "NOT_IMPLEMENTED",
    "CurrentURI": "x-rincon-mp3radio://https://nis.stream.publicradio.org/nis.mp3",
    "CurrentURIMetaData": {
      "Title": "0",
      "ItemId": -1
    },
    "NextURI": {},
    "NextURIMetaData": {},
    "PlayMedium": "NETWORK",
    "RecordMedium": "NOT_IMPLEMENTED",
    "WriteStatus": "NOT_IMPLEMENTED"
  },
  "queueActivated": false,
  "serviceId": "",
  "serviceName": "",
  "stationArtUri": "",
  "positionData": {
    "Track": 1,
    "TrackDuration": "0:00:00",
    "TrackMetaData": {
      "Artist": "MPR News",
      "Title": "Angela Davis",
      "UpnpClass": "object.item",
      "ItemId": -1,
      "ParentId": -1,
      "TrackUri": "x-rincon-mp3radio://https://nis.stream.publicradio.org/nis.mp3",
      "ProtocolInfo": "x-rincon-mp3radio:*:*:*"
    },
    "TrackURI": "x-rincon-mp3radio://https://nis.stream.publicradio.org/nis.mp3",
    "RelTime": "0:00:03",
    "AbsTime": "NOT_IMPLEMENTED",
    "RelCount":<PHONE_NUMBER>,
    "AbsCount":<PHONE_NUMBER>
  }
}

Thanks for reporting the bug and for final feedback.


QUESTION

HELLO SECRET_KEY WHAT IS IT FOR? I ASK YOU, BECAUSE WHEN I RUN IT, THE ERROR IN SECRET_KEY

HELLO SECRET_KEY WHAT IS IT FOR? I ASK YOU, BECAUSE WHEN I RUN IT, THE ERROR IN SECRET_KEY

kindly read in section, Setup Web Server.
i've write it, make sure you've rename .env-example to .env.


make klusterlet owner of klusterlet agent namespace in hosted mode

Signed-off-by: Yang Le<EMAIL_ADDRESS>

/hold

Cannot merge this pr before https://github.com/stolostron/managedcluster-import-controller/pull/195 is merged.


[API] (Suggestion) feed in network by labels

I suggest using labels rather than index order when inputting tensors into a Network. Here is the proposed syntax.
Suppose I want to do a contraction of A and B matrices and set the outcome labels to j1 and j2
i1---(A)---i2-i3---(B)---i4  =  j1---Re---j2
I first define a Network as usual, where 0, 1, 2 are dummy indices only available in the network
0---(T1)---1-1---(T2)---2  =  0---out---1
    Define Network:
        T1: 0, 1
        T2: 2, 1
        remain: 0, 2
        out: 0, 1

When I feed in the tensors, I suggest to do the following. (Suppose N is the name of the network)
        N.PutUniTensor ("T1", A, (i1, i2))
        N.PutUniTensor ("T2", B, (i4, i3))
        N.out_label ((j1, j2))

In this way, one explicitly specifies the labels to the dummy indices and does not rely on the order of the indices. We also specify the outcome labels.

309c5a4


Add PDF 1.6 Spec Text (or Note) Annotation.

This add the "Text" annotation as referred to by the PDF spec. These are the "Pop-up" style annotations typically used for comments.
I'm unsure about what the proper changes are for testing so let me know if it needs modification.

This looks great! Thanks for the contribution. If you uncomment the integration test lines you added and check the file after the tests have run we can merge it in.


Part number

Sorry for not posting a real issue. I am just wondering if you guys could share the part number of those nylon/plastic mPCIE clip-on standoffs. I have never seen them before.
Thanks!

Hey @TechOverflow this is the part number for the mPCIE standoffs.

Thanks!


Update to latest SymEngine master

Instead of updating the git commit hash at 3 places now, why don't we put the hash into a symengine_version file, and then load this file from both .travis.yml and appveyor.yml and reference the file in README?

Yes, that's better. I'll do that

@isuruf I am going to merge this, since it works, but we should still do that.


Constrain Rails version to < 5.2

This gem relies on behaviour which has been deprecated in one of 5.x versions, and removed in 5.2.  It simply won't work with newest Rails without major overhaul.  For very now, let's add a version constraint.

Tests still do fail for Rails 4.2. I don't care, this gem needs overhaul anyway.


fix: log why a healNode is skipped, ping dead nodes first

will help diagnose #4566 better

@zwave-js-bot pack this


[Policy Assistant] publish pola container images?

Backlog item. Please comment on this issue if you think this would be a good feature, or if you'd like to help solve this issue.
Cyclonus was published to mfenwick100/cyclonus:latest. If desired, we would need to similarly create a POLA image repository (ideally under a k8s.io domain) and have a process to publish images there.
There could be multiple reasons to have an image of POLA, but the image is at least useful for creating a k8s Job which runs the conformance/fuzz tests within Policy Assistant (see #154).

To solve this issue, you would need to modify the Makefile and all spots with these comments: FIXME use a real image

Seems like there was some discussion to push images to GHCR in #68


Simple requirements

Use pip '-r' in the requirements files and use them to create a simple requirements hierarchy.
Use the new requirements.txt and requirements-test.txt inside of setup.py to define the requirements for each of test and install dependencies.

Coverage decreased (-0.1%) to 74.348% when pulling 9e09db5f2d258cf64581b24bdc96e5d95c1f5033 on mterzo:better_requirements into fd4051b619a0c6d5bbd7420c100ab3a52fc04337 on voxpupuli:master.

Coveralls is failing now Werkzeug is newer, and the code is not getting executed that handled the older versions.


chore(express-typorm-postgres): Minor version dep upgrades

Upgrades dependencies to latest minor versions
Closes #998

Is it possible to clear the cache on the preview deploy so we get a preview build with the updates working?


Add testimonial

I want to add testimonial section code.
Tech stack used:- Html, CSS and JS.
Please assign it to me for hacktoberfest 2022.

Assigned.

This project shows excluded on my hacktoberfest profile @maheshjainckd

@maheshjainckd I have also added the Pull request. Please do review it. This is my first time participating in hacktober fest. If there is an error from my side, do tell me.

@maheshjainckd I have also added the Pull request. Please do review it. This is my first time participating in hacktober fest. If there is an error from my side, do tell me.

This issue is already resolved.  You need to create some other issue.

This project shows excluded on my hacktoberfest profile @maheshjainckd

Yes, It got excluded from hacktoberfest2022.

This project shows excluded on my hacktoberfest profile @maheshjainckd

Yes, It got excluded from hacktoberfest2022.

Why :( . This means the contributions will not be counted

This project shows excluded on my hacktoberfest profile @maheshjainckd

Yes, It got excluded from hacktoberfest2022.

Why :( . This means the contributions will not be counted

you can contribute to below project.
https://github.com/dikshantrajput/Hacktoberfest-accepted-2022


No node named 'multiple_object_detection_node' inside detection package

On launching-
roslaunch tracking single_camera_tracking_node.launch enable_pose:=false enable_people_tracking:=false enable_object:=true
I get this error-
ERROR: cannot launch node of type [detection/multiple_objects_detection_node]: can't locate node [multiple_objects_detection_node] in package [detection]
Which seems to be correct as detection package's CMakeLists.txt doesn't create any executable named multiple_object_detection_node.
But this node is called in the launch file, single_camera_tracking_node.launch of tracking package.

Closing as this was resolved.


Fuzzy Search?

Actually nice library! Unfortunately I think I can't use it in my case.
For example, if the words are:

Red car
Blue crystal cycle

If we type "cycle", it won't select "Blue cycle". It won't select anything.
Anyway thanks for your library!
Carlos

Your proposal is way too hard. Maybe there is an alternative solution.
In your array of options have "Red car" as well as "car - Red Car",
"Blue crystal Cycle", "Cycle Blue Cristal" and so on.
Not all the permutations. Just what you think it makes sense.
It should work

okayy

Here is my code so far based on the previous code: http://jsfiddle.net/chelder86/7d941wrL/
It is short and without external dependencies. So I think it eventually could be useful for you. Anyway I'm asking about suggestion to improve it here: http://stackoverflow.com/questions/28822968/creating-my-own-datalist-to-search-within-an-autofill-combobox-with-javascript-w


installation service

Can you provide installation service?

@lucia116 what do you mean installation service?

README was improved, please take a look


More specific description about the setting of vill bit

the curent description of vill setting is very short in 3.3.4：
”The vill bit is used to encode that a previous vset{i}vl{i} instruction attempted to write an unsupported value to
vtype.”
How to judge if the value is unsupported？based only on sew/vlmul/vma/vta，or the reserved bit should also be considered？
Besides，for vsetvl，at least two cases will set vill，one is that the sew/vlmul/vma/vta combination in rs2 is not supported ( the same as vsetvli)，one is that the vill bit in rs2 is set.  Or maybe a non-zero reserved bit in rs2 will also set vill？
But the spec only writes "When the vill bit is set, the other XLEN-1 bits in vtype shall be zero." which is not easy to get the point.

Portable software can only make use of features in the relevant platform profile, but assuming it does so, the software will not have to check vill.  If there is a mistake in the software, it will cause a trap when attempting to execute a vector instruction with an illegal configuration.
The current (terse) quoted spec does capture the other cases mentioned.
It subsumes the case where a non-zero reserved bit is set and the implementation does not support that bit.
It also subsumes the case where vill is set in vtype argument, as inherently if the vill bit is set, the configuration is not supported.

Yet these two cases are not explicitly explained in the spec.
Implementations might choose to ignore the non-zero reversed bit(like other CSRs) and only base on SEW and LMUL to set vill，as this is the only case made clear in the spec “An attempt to set an unsupported SEW and LMUL configuration sets the vill bit in vtype.”

The spec does say any unsupported value will set vill, and is referring to the whole vtype value.  The sentence about SEW/LMUL is in section discussing those specific fields only. I will add clarifications.


resolving issue #299, Call data not being returned for variants/search

also raise exception when callsetid can not be found in the vcf files

Looks good, thanks @shajoezhu. I don't have a strong opinion on the getGaCall method, I'm happy either way. There's a few other minor comments, but I'm +1 otherwise.

This looks good now, thanks @shajoezhu.
+1.


Cosmetic changes to Settings panel

[ ] Inversion buttons should be a little smaller
[ ] All chord names should fit (see 7add13)
[ ] Interval buttons should be more narrow
[ ] Selected chords / inversions should be visually indicated (currently there's only a hover color)

Hello, I tried to solve the issue.
This is what I did:
Modified ChordNameDisplay.tsx and ChordNameDisplay.css to make inversion buttons smaller, ensure all chord names fit, and make interval buttons more narrow.
You can review changes in this commit: https://github.com/lattaai13/alekslovestech-chromatic-circle-97/commit/cf579546290b905e26133157ac139f0597428f5c.

[!CAUTION]
Disclaimer: The commit was created by Latta AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

This issue was tried to solve for free by Latta AI - https://latta.ai/ourmission
If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.


python3Packages.py-cpuinfo: 4.0.0 -> 5.0.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

I ran nixpkgs-review and there are no new regressions (the 9 problematic packages already fail on Hydra):
4 package marked as broken and skipped:
python27Packages.breezy python27Packages.pytest-black python38Packages.graphql-server-core python38Packages.pytest-black

9 package failed to build:
google-music-scripts python37Packages.cirq python37Packages.datashader python37Packages.google-music python37Packages.google-music-proto python38Packages.cirq python38Packages.datashader python38Packages.google-music python38Packages.google-music-proto

28 package built:
python27Packages.bravado-core python27Packages.getmac python27Packages.py-cpuinfo python27Packages.pytest-benchmark python37Packages.audio-metadata python37Packages.bidict python37Packages.bravado-core python37Packages.entrance python37Packages.entrance-with-router-features python37Packages.getmac python37Packages.google-music-utils python37Packages.graphql-core python37Packages.graphql-server-core python37Packages.promise python37Packages.py-cpuinfo python37Packages.pytest-benchmark python37Packages.sanic python37Packages.sanic-auth python37Packages.sentry-sdk python38Packages.audio-metadata python38Packages.bidict python38Packages.bravado-core python38Packages.getmac python38Packages.google-music-utils python38Packages.graphql-core python38Packages.promise python38Packages.py-cpuinfo python38Packages.pytest-benchmark

nixpkgs-review log
```
builder for '/nix/store/dqszbjkyypia6yghxvdc00snxf4k1ma9-python3.7-google-music-proto-2.5.1.drv' failed with exit code 1; last 10 log lines:
  adding 'google_music_proto-2.5.1.dist-info/top_level.txt'
  adding 'google_music_proto-2.5.1.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Finished executing setuptoolsBuildPhase
  installing
  Executing pipInstallPhase
  /build/google-music-proto-2.5.1/dist /build/google-music-proto-2.5.1
  Processing ./google_music_proto-2.5.1-py3-none-any.whl
  ERROR: Could not find a version that satisfies the requirement marshmallow<3.0,>=2.0 (from google-music-proto==2.5.1) (from versions: none)
  ERROR: No matching distribution found for marshmallow<3.0,>=2.0 (from google-music-proto==2.5.1)
cannot build derivation '/nix/store/g5iapwz6bqj5r3yrh48lkyir8nazcln5-python3.7-google-music-3.2.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3pvm3z884mvflv3c09n2lkb4bv0qv3y6-google-music-scripts-4.0.1.drv': 2 dependencies couldn't be built
builder for '/nix/store/mp2px8jxchsi9qajf37yr75bkk9lpn29-python3.8-google-music-proto-2.5.1.drv' failed with exit code 1; last 10 log lines:
  adding 'google_music_proto-2.5.1.dist-info/RECORD'
  removing build/bdist.linux-x86_64/wheel
  Finished executing setuptoolsBuildPhase
  installing
  Executing pipInstallPhase
  /build/google-music-proto-2.5.1/dist /build/google-music-proto-2.5.1
  Processing ./google_music_proto-2.5.1-py3-none-any.whl
  Requirement already satisfied: attrs<19.4,>=18.2 in /nix/store/797klcwyqhb1k24sbz4v9jcghl9sw43k-python3.8-attrs-19.3.0/lib/python3.8/site-packages (from google-music-proto==2.5.1) (19.3.0)
  ERROR: Could not find a version that satisfies the requirement marshmallow<3.0,>=2.0 (from google-music-proto==2.5.1) (from versions: none)
  ERROR: No matching distribution found for marshmallow<3.0,>=2.0 (from google-music-proto==2.5.1)
cannot build derivation '/nix/store/bzp5wysh4lazkqrfi2nvw2qx0xsgs992-python3.8-google-music-3.2.1.drv': 1 dependencies couldn't be built
builder for '/nix/store/x2r3j6433mzjg82y6lzx2jh5rm0i6kf7-python3.7-cirq-0.6.1.drv' failed with exit code 1; last 10 log lines:
  test_example_runs_superdense_coding                   73,461.6910 (80.99)     79,572.3570 (75.87)     74,231.6063 (79.92)     1,559.1434 (289.22)    73,792.4220 (79.67)       548.7850 (105.11)        1;1     13.4714 (0.01)         14           1
  test_example_runs_phase_estimator_perf                84,367.8860 (93.02)     90,556.8370 (86.34)     87,780.0082 (94.51)     2,002.8955 (371.53)    87,839.4230 (94.84)     3,484.6505 (667.40)        4;0     11.3921 (0.01)         12           1
  test_example_runs_hello_line_perf                    391,031.3600 (431.11)   461,431.6740 (439.95)   422,249.4362 (454.63)   27,868.5901 (>1000.0)  414,329.8020 (447.34)   42,112.4747 (>1000.0)       2;0      2.3683 (0.00)          5           1
  test_example_runs_bcs_mean_field_perf                395,670.3860 (436.22)   425,269.1380 (405.47)   408,981.7430 (440.35)   14,210.8227 (>1000.0)  404,308.6980 (436.52)   27,015.9148 (>1000.0)       1;0      2.4451 (0.00)          5           1
  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Legend:
Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
OPS: Operations Per Second, computed as 1 / Mean
===== 4 failed, 8327 passed, 69 xfailed, 221 warnings in 320.46s (0:05:20) =====
builder for '/nix/store/d1nymdwwqlwahas5y6ncr42dz96g72qd-python3.8-cirq-0.6.1.drv' failed with exit code 1; last 10 log lines:
test_example_runs_superdense_coding                   71,728.0550 (77.34)     74,599.0760 (74.19)     73,098.2274 (76.99)       805.3354 (163.18)    73,208.4950 (77.17)     1,067.1620 (215.81)        5;0     13.6802 (0.01)         14           1
test_example_runs_phase_estimator_perf                85,724.2760 (92.43)     87,579.5530 (87.10)     86,771.3093 (91.39)       572.3657 (115.97)    86,735.0645 (91.43)       892.6935 (180.52)        3;0     11.5245 (0.01)         12           1
test_example_runs_bcs_mean_field_perf                327,785.3430 (353.44)   363,690.8010 (361.68)   348,000.3586 (366.54)   15,495.7663 (>1000.0)  352,330.2320 (371.38)   26,941.0643 (>1000.0)       2;0      2.8736 (0.00)          5           1
test_example_runs_hello_line_perf                    328,911.0230 (354.65)   334,609.6220 (332.76)   331,614.9000 (349.28)    2,108.4026 (427.21)   331,392.8720 (349.31)    2,702.0610 (546.42)        2;0      3.0155 (0.00)          5           1
Legend:
Outliers: 1 Standard Deviation from Mean; 1.5 IQR (InterQuartile Range) from 1st Quartile and 3rd Quartile.
OPS: Operations Per Second, computed as 1 / Mean
===== 4 failed, 8327 passed, 69 xfailed, 221 warnings in 260.87s (0:04:20) =====
builder for '/nix/store/l13q36dms01h0y66v8wxyl9cfjyiq1if-python3.8-datashader-0.9.0.drv' failed with exit code 1; last 10 log lines:
datashader/tests/test_xarray.py::test_count[source3]
datashader/tests/test_xarray.py::test_count[source3]
datashader/tests/test_xarray.py::test_count[source3]
datashader/tests/test_xarray.py::test_count[source3]
datashader/tests/test_xarray.py::test_count[source3]
/build/datashader-0.9.0/datashader/core.py:1002: PendingDeprecationWarning: dropping variables using drop will be deprecated; using drop_vars is encouraged.
source = source.drop([col for col in columns if col not in cols_to_keep])
-- Docs: https://docs.pytest.org/en/latest/warnings.html
==== 11 failed, 530 passed, 13 skipped, 1041 warnings in 264.64s (0:04:24) =====
builder for '/nix/store/31p6jbbh63i9izg5k4y19djd58ssnj26-python3.7-datashader-0.9.0.drv' failed with exit code 1; last 10 log lines:
datashader/tests/test_xarray.py::test_count[source3]
datashader/tests/test_xarray.py::test_count[source3]
datashader/tests/test_xarray.py::test_count[source3]
datashader/tests/test_xarray.py::test_count[source3]
datashader/tests/test_xarray.py::test_count[source3]
/build/datashader-0.9.0/datashader/core.py:1002: PendingDeprecationWarning: dropping variables using drop will be deprecated; using drop_vars is encouraged.
source = source.drop([col for col in columns if col not in cols_to_keep])
-- Docs: https://docs.pytest.org/en/latest/warnings.html
===== 11 failed, 530 passed, 13 skipped, 57 warnings in 281.56s (0:04:41) ======
cannot build derivation '/nix/store/k3f1684m5p1d69gwgsc6iq5rdzisjvwl-env.drv': 9 dependencies couldn't be built
[28 built (6 failed), 575 copied (2322.7 MiB), 474.2 MiB DL]
error: build of '/nix/store/k3f1684m5p1d69gwgsc6iq5rdzisjvwl-env.drv' failed
</details>


incorrect rand() usage

https://github.com/TheCruZ/kdmapper/blob/5a49a4eec2abe0a4bd1f1b761a2733fed56a36aa/kdmapper/intel_driver.cpp#L122C76-L122C76
rand() returns some number from the range [ 0 , RAND_MAX ], RAND_MAX is compiler-specific value and msvc sets it as 0x7fff.
Since the number 2348767 is greater than any number that rand can return, the action of taking the remainder of the division has no effect

Thanks fixed...


less file in webjar maven repository

Hi,
Could you add the less file into the repo maven webjar 4.7.14 ?
Thanks

please put in a pr to the dev branch.


app nao actualiza automaticamente, google play

https://stackoverflow.com/questions/27020815/play-store-having-new-version-of-the-app-but-not-showing-update

https://support.google.com/googleplay/android-developer/answer/9859350?hl=en&visit_id=637721405688092715-898981958&rd=1#zippy=%2Cconfirm-an-app-bundles-certification

https://support.google.com/googleplay/android-developer/answer/9842756?hl=en#zippy=%2Capp-signing-process%2Cdescriptions-of-keys-artifacts-and-tools

https://support.google.com/googleplay/android-developer/answer/9848633?hl=en#zippy=%2Cnative-generate-a-debug-symbols-file
A cerca de um dos erros na release:
Warning
There is no deobfuscation file associated with this App Bundle. If you use obfuscated code (R8/proguard), uploading a deobfuscation file will make crashes and ANRs easier to analyze and debug. Using R8/proguard can help reduce app size. Learn More


Trying to play streamed radio crashes the app

How to Reproduce

download an m3u / pls
open it as file in alarm settings

App crashes with the error "lateinit property sounds has not been initialized" (for some reason it gets wrapped in a RuntimeException)
java.lang.RuntimeException: Failure delivering rsult ResultInfo{who=null, request=1909897175, result=-1, flg=0x43 ... }: B2.c: lateinit property sounds has not been initialized

By the way I searched for an existing issue and found this: https://github.com/meenbeese/Chronos/pull/1
Do you have any plans on reimplementing radio alarms? They are crucial for me.
Info

Device model: Pixel Tablet
Android version: Android 14
App version: 1.6.0

I'd also like this feature, it's the best way to wake up.
If you decide to implement it, consider also implementing a fail-safe; if there's an error, or if the audio won't load even though there's a network connection - to play another predetermined sound. These are the two most common problems I've found with radio alarms.
Thanks!


An internal problem error message shows up every few seconds

Description
What steps will reproduce the problem?

This happens every time I start spyder. Nothing seems to be affected, but it is annoying.
Traceback
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 1401, in handle_folding_range
    folding_panel.update_folding(ranges)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/codefolding.py", line 231, in update_folding
    nested_regions = tree.envelop(start, end)
AttributeError: 'IntervalTree' object has no attribute 'envelop'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 1025, in emit
    msg = self.format(record)
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 869, in format
    return fmt.format(record)
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 608, in format
    record.message = record.getMessage()
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 369, in getMessage
    msg = msg % self.args
ValueError: incomplete format
Call stack:
  File "/opt/anaconda3/bin/spyder", line 11, in <module>
    sys.exit(main())
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/start.py", line 205, in main
    mainwindow.main()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 3718, in main
    mainwindow = run_spyder(app, options, args)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 3600, in run_spyder
    app.exec_()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/client.py", line 378, in on_msg_received
    handler(resp['result'], req_id)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/providers/document.py", line 234, in process_folding_range
    {'params': results})
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/plugin.py", line 302, in receive_response
    self.COMPLETION_CLIENT_NAME, req_id, response)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 120, in receive_response
    self._maybe_send_locked(req_id)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 155, in _maybe_send_locked
    send()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 143, in send
    self.gather_and_send(request_responses)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 212, in gather_and_send
    response_instance.handle_response(req_type, responses)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 940, in handle_response
    handler(params)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 1412, in handle_folding_range
    self.log_lsp_handle_errors("Error when processing folding")
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 971, in log_lsp_handle_errors
    logger.error('%', 1, stack_info=True)
Message: '%'
Arguments: (1,)
--- Logging error ---
Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 1051, in process_symbols
    self.classfuncdropdown.update_data(symbols)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/classfunctiondropdown.py", line 220, in update_data
    self.populate(self.method_cb, self.funcs, add_parents=True)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/classfunctiondropdown.py", line 151, in populate
    possible_parents = sorted(self._tree.overlap(begin, end),
AttributeError: 'IntervalTree' object has no attribute 'overlap'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 1025, in emit
    msg = self.format(record)
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 869, in format
    return fmt.format(record)
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 608, in format
    record.message = record.getMessage()
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 369, in getMessage
    msg = msg % self.args
ValueError: incomplete format
Call stack:
  File "/opt/anaconda3/bin/spyder", line 11, in <module>
    sys.exit(main())
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/start.py", line 205, in main
    mainwindow.main()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 3718, in main
    mainwindow = run_spyder(app, options, args)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 3600, in run_spyder
    app.exec_()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/client.py", line 378, in on_msg_received
    handler(resp['result'], req_id)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/providers/document.py", line 184, in process_document_symbol_request
    {'params': result})
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/plugin.py", line 302, in receive_response
    self.COMPLETION_CLIENT_NAME, req_id, response)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 120, in receive_response
    self._maybe_send_locked(req_id)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 161, in _maybe_send_locked
    send()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 143, in send
    self.gather_and_send(request_responses)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 212, in gather_and_send
    response_instance.handle_response(req_type, responses)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 940, in handle_response
    handler(params)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 1057, in process_symbols
    self.log_lsp_handle_errors("Error when processing symbols")
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 971, in log_lsp_handle_errors
    logger.error('%', 1, stack_info=True)
Message: '%'
Arguments: (1,)
--- Logging error ---
Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 1401, in handle_folding_range
    folding_panel.update_folding(ranges)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/codefolding.py", line 231, in update_folding
    nested_regions = tree.envelop(start, end)
AttributeError: 'IntervalTree' object has no attribute 'envelop'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 1025, in emit
    msg = self.format(record)
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 869, in format
    return fmt.format(record)
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 608, in format
    record.message = record.getMessage()
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 369, in getMessage
    msg = msg % self.args
ValueError: incomplete format
Call stack:
  File "/opt/anaconda3/bin/spyder", line 11, in <module>
    sys.exit(main())
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/start.py", line 205, in main
    mainwindow.main()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 3718, in main
    mainwindow = run_spyder(app, options, args)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 3600, in run_spyder
    app.exec_()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/client.py", line 378, in on_msg_received
    handler(resp['result'], req_id)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/providers/document.py", line 234, in process_folding_range
    {'params': results})
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/plugin.py", line 302, in receive_response
    self.COMPLETION_CLIENT_NAME, req_id, response)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 120, in receive_response
    self._maybe_send_locked(req_id)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 161, in _maybe_send_locked
    send()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 143, in send
    self.gather_and_send(request_responses)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 212, in gather_and_send
    response_instance.handle_response(req_type, responses)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 940, in handle_response
    handler(params)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 1412, in handle_folding_range
    self.log_lsp_handle_errors("Error when processing folding")
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 971, in log_lsp_handle_errors
    logger.error('%', 1, stack_info=True)
Message: '%'
Arguments: (1,)
--- Logging error ---
Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 1051, in process_symbols
    self.classfuncdropdown.update_data(symbols)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/classfunctiondropdown.py", line 220, in update_data
    self.populate(self.method_cb, self.funcs, add_parents=True)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/panels/classfunctiondropdown.py", line 151, in populate
    possible_parents = sorted(self._tree.overlap(begin, end),
AttributeError: 'IntervalTree' object has no attribute 'overlap'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 1025, in emit
    msg = self.format(record)
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 869, in format
    return fmt.format(record)
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 608, in format
    record.message = record.getMessage()
  File "/opt/anaconda3/lib/python3.7/logging/__init__.py", line 369, in getMessage
    msg = msg % self.args
ValueError: incomplete format
Call stack:
  File "/opt/anaconda3/bin/spyder", line 11, in <module>
    sys.exit(main())
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/start.py", line 205, in main
    mainwindow.main()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 3718, in main
    mainwindow = run_spyder(app, options, args)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/app/mainwindow.py", line 3600, in run_spyder
    app.exec_()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/client.py", line 378, in on_msg_received
    handler(resp['result'], req_id)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/providers/document.py", line 184, in process_document_symbol_request
    {'params': result})
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/languageserver/plugin.py", line 302, in receive_response
    self.COMPLETION_CLIENT_NAME, req_id, response)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 120, in receive_response
    self._maybe_send_locked(req_id)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 161, in _maybe_send_locked
    send()
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 143, in send
    self.gather_and_send(request_responses)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/completion/plugin.py", line 212, in gather_and_send
    response_instance.handle_response(req_type, responses)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 940, in handle_response
    handler(params)
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 1057, in process_symbols
    self.log_lsp_handle_errors("Error when processing symbols")
  File "/opt/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor/widgets/codeeditor.py", line 971, in log_lsp_handle_errors
    logger.error('%', 1, stack_info=True)
Message: '%'
Arguments: (1,)

Versions

Spyder version: 4.0.1
Python version: 3.7.0
Qt version: 5.9.6
PyQt5 version: 5.9.2
Operating System: Darwin 18.7.0

Dependencies
applaunchservices >=0.1.7    :  0.2.1 (OK)
atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.2.2 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.10.1 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.1 (OK)
pexpect >=4.4.0              :  4.7.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.7 (OK)
pygments >=2.0               :  2.5.2 (OK)
pylint >=0.25                :  2.4.4 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.2 (OK)
zmq >=17                     :  18.1.0 (OK)
qdarkstyle >=2.7             :  2.7 (OK)
qtawesome >=0.5.7            :  0.6.0 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.8.3 (OK)
sphinx >=0.6.6               :  2.2.2 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  0.29.14 (OK)
matplotlib >=2.0.0           :  3.2.1 (OK)
numpy >=1.7                  :  1.17.4 (OK)
pandas >=0.13.1              :  0.25.3 (OK)
scipy >=0.17.0               :  1.4.1 (OK)
sympy >=0.7.3                :  1.4 (OK)

Hi @bsierieb1 could you try to update Spyder to the latest version (4.1.4) and check again? You can update by running something like conda install spyder=4.1.4. Thanks!

I was not able to update spyder as I kept getting 'setuptools' is a dependency of conda and cannot be removed from conda's operating environment error. Instead, I updated conda by executing conda update --force conda (it did not work without the --force flag), and the issue has been solved. Thanks, @dalthviz


Deprecation warnings when running our specs

We need to track this one and fix it:
NOTE: Gem::DependencyInstaller#find_gems_with_sources is deprecated with no replacement. It will be removed on or after 2019-12-01.

Looks like we fixed this on main actually

Still there in 17 but with a new message
NOTE: Gem::DependencyInstaller#find_gems_with_sources is deprecated with no replacement. It will be removed in Rubygems 4

We don't need to do anything about this really.  When we pull in Rubygems 4 we remove that option.  We already run by default on the other codepath.  I doubt anyone even knows the old codepath exists since I've never told someone to use it before.  I built the button to go back to the old way just in case anyone complained about the new behavior, but nobody ever did.


feat: setup admin routes to be admin only

Extends #154
Now only admins are able to view /admin/* routes

/bounty $10


Wrong highlighting if the last symbol in the string is a backslash

It seems like the presence of a backslash in the string escapes the next character. And due to that all the following code is not properly highlighted:

Hmm. I just tried to reproduce this, and it appears to be working fine for me. What version of vscode and the brightscript extension are you using? Notice how in your example, there are several other items that aren't colored correctly (such as someFunc being white instead of yellow, data is white instead of light blue, etc). Is htere something above your code that's causing the rest of the file to be parsed incorrectly?

@TwitchBronBron, thank you for the quick response. Just tried in an empty file and it looks the same for me.
VS Code:
Version: 1.72.2
Commit: d045a5eda657f4d7b676dedbfa7aab8207f8a075
Date: 2022-10-12T22:16:26.920Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.14.0-1052-oem
Sandboxed: No

BrightScript Language extention:

Hmm. can you try uninstalling the extension and then re-installing the extension, and then restarting all of your vscode windows? I'd love to fix this if I can find a way to reproduce it. :)

Hmm. can you try uninstalling the extension and then re-installing the extension, and then restarting all of your vscode windows? I'd love to fix this if I can find a way to reproduce it. :)

Already did that a while ago and just tried to do it again, but unfortunately, it doesn't help. Anyway, thank you for trying to help :)

If you've got some time, I'd love to help troubleshoot this. Could you send me a message in our RokuCommunity slack? We can set up a video screen share and I can see what's going on.

If you've got some time, I'd love to help troubleshoot this. Could you send me a message in our RokuCommunity slack? We can set up a video screen share and I can see what's going on.

Thanks @TwitchBronBron
I wrote you in private.

This issue was caused by having the vscode-ide-brightscript extension installed alongside this one.

This issue was caused by having WillowTree's vscode-ide-brightscript extension installed alongside this one. Uninstalling vscode-ide-brightscript fixed the issue.

Thanks again for your help! I appreciate it.


cleanup work-directory after tar creation.

the tmp directory was not removed after tar creation.

Merged with https://github.com/Transmode/gradle-docker/commit/a9c975c497280950bf1436aafa853660490f81fe