Component constantly re-renders

Contact Details
No response
What do you need?
I just added the ng-particles tag inside my component like this:
<ng-particles [id]="'particles'" [options]="particlesOptions"></ng-particles>
In my component i get some data from a service and i noticed that it calls the function in the service really really often
I commented the ng-particles tag out and then my component called the function in my service only once.
Why does the particle system rerender my component like 60 times per second?
Sorry for my bad english :)
Have a great day 😃
Version
2.40.0
Which library are you using?
Angular (ng-particles)
Code of Conduct

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

Can you share an example where I can reproduce the issue?

I tried to reproduce it on stackblitz but it gives me an error:
Error in<EMAIL_ADDRESS>(2:3030)
Automatic publicPath is not supported in this browser
https://stackblitz.com/edit/angular-ivy-8e2p8d?file=src/app/app.component.ts

I've tried creating a new angular test project, external from the monorepo.
These are the steps I've made:

ng new ng-test-updated
cd ng-test-updated
npm i ng-particles tsparticles
implemented AfterViewChecked interface in the AppComponent with a console.log("checked")
Added ng-particles

But the console.log appears only twice.


Application does not start in Starcounter 2.1.177

I cannot start the app in Starcounter 2.1.177.
There are three cryptic error messages in the log:
System.Exception:  ScErrUnhandledWeaverException (SCERR6066): An unhandled, unidentified (non-Starcounter) exception occurred in the weaver. Version: 2.1.177. Help page: https://github.com/Starcounter/Starcounter/wiki/SCERR6066. ---> System.NullReferenceException: Object reference not set to an instance of an object.    at Starcounter.Internal.Weaver.BackingInfrastructure.TypeSpecificationEmit.GetColumnHandle(String typeNameDeclaring, String fieldName) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Internal.Weaver\BackingInfrastructure\TypeSpecificationEmit.cs:line 163    at Starcounter.Internal.Weaver.ScTransformTask.Execute() in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Internal.Weaver\ScTransformTask.cs:line 227    at PostSharp.Sdk.Extensibility.Project.ExecutePhase(String phase)    at PostSharp.Hosting.PostSharpObject.ExecuteProjects()    at PostSharp.Hosting.PostSharpObject.ProcessAssemblies(ModuleLoadStrategy[] modules)    at Starcounter.Weaver.CodeWeaver.Execute() in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeaver.cs:line 316    at Starcounter.Weaver.CodeWeaver.ExecuteCurrent(CodeWeaver weaver) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeaver.cs:line 224    at Starcounter.Weaver.Program.ExecuteWeaveCommand(String inputDirectory, String outputDirectory, String cacheDirectory, String fileName, ApplicationArguments arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 205    at Starcounter.Weaver.Program.ApplyOptionsAndExecuteGivenCommand(ApplicationArguments arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 154    at Starcounter.Weaver.Program.Main(String[] args) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 36    --- End of inner exception stack trace ---
   at Starcounter.Server.WeaverService.LogAndRaiseExceptionFromFailingWeaver(ToolInvocationException e) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\Server\Starcounter.Server\CoreServices\WeaverService.cs:line 153
   at Starcounter.Server.WeaverService.Weave(String givenAssembly, String runtimeDirectory, Boolean disableEditionLibraries) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\Server\Starcounter.Server\CoreServices\WeaverService.cs:line 121
   at Starcounter.Server.Commands.StartExecutableCommandProcessor.<>c__DisplayClass7.<Execute>b__3(CommandTask task) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\Server\Starcounter.Server\Commands\Processors\StartExecutableCommandProcessor.cs:line 99
   at Starcounter.Server.Commands.CommandProcessor.<>c__DisplayClass1.<WithinTask>b__0(CommandTask t) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\Server\Starcounter.Server\Commands\CommandProcessor.cs:line 484
   at Starcounter.Server.Commands.CommandProcessor.WithinTask(CommandTask task, Func`2 func) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\Server\Starcounter.Server\Commands\CommandProcessor.cs:line 510
   at Starcounter.Server.Commands.StartExecutableCommandProcessor.Execute() in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\Server\Starcounter.Server\Commands\Processors\StartExecutableCommandProcessor.cs:line 108
   at Starcounter.Server.Commands.CommandProcessor.ProcessCommand(NotifyCommandStatusChangedCallback notifyStatusChangedCallback) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\Server\Starcounter.Server\Commands\CommandProcessor.cs:line 300
HResult=-2146233088
HelpLink=https://github.com/Starcounter/Starcounter/wiki/SCERR6066

 ScErrUnhandledWeaverException (SCERR6066): An unhandled, unidentified (non-Starcounter) exception occurred in the weaver. Version: 2.1.177. Help page: https://github.com/Starcounter/Starcounter/wiki/SCERR6066. ---> System.NullReferenceException: Object reference not set to an instance of an object.    at Starcounter.Internal.Weaver.BackingInfrastructure.TypeSpecificationEmit.GetColumnHandle(String typeNameDeclaring, String fieldName) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Internal.Weaver\BackingInfrastructure\TypeSpecificationEmit.cs:line 163    at Starcounter.Internal.Weaver.ScTransformTask.Execute() in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Internal.Weaver\ScTransformTask.cs:line 227    at PostSharp.Sdk.Extensibility.Project.ExecutePhase(String phase)    at PostSharp.Hosting.PostSharpObject.ExecuteProjects()    at PostSharp.Hosting.PostSharpObject.ProcessAssemblies(ModuleLoadStrategy[] modules)    at Starcounter.Weaver.CodeWeaver.Execute() in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeaver.cs:line 316    at Starcounter.Weaver.CodeWeaver.ExecuteCurrent(CodeWeaver weaver) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeaver.cs:line 224    at Starcounter.Weaver.Program.ExecuteWeaveCommand(String inputDirectory, String outputDirectory, String cacheDirectory, String fileName, ApplicationArguments arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 205    at Starcounter.Weaver.Program.ApplyOptionsAndExecuteGivenCommand(ApplicationArguments arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 154    at Starcounter.Weaver.Program.Main(String[] args) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 36    --- End of inner exception stack trace ---

ScErrWeavingError (SCERR2030): At least one error has been detected during weaving of the application code. Process exit code: 6066.
Arguments=--nocache --maxerrors=1 --ErrorParcelId=A4A7D6FA-EB34-442A-B579-DBB1DBB859E3 Weave "C:\www\StarcounterSamples\KitchenSink\bin\Debug\KitchenSink.exe" --outdir="c:\db\Personal\Temp\Default\Default-20160121T101125603\weaver\680264E04044CBEC8A4A0143D6BC67DC84BEEFDC"
Output:
A4A7D6FA-EB34-442A-B579-DBB1DBB859E3System.Exception: ScErrUnhandledWeaverException (SCERR6066): An unhandled, unidentified (non-Starcounter) exception occurred in the weaver.
Version: 2.1.177.
Help page: https://github.com/Starcounter/Starcounter/wiki/SCERR6066. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Starcounter.Internal.Weaver.BackingInfrastructure.TypeSpecificationEmit.GetColumnHandle(String typeNameDeclaring, String fieldName) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Internal.Weaver\BackingInfrastructure\TypeSpecificationEmit.cs:line 163
   at Starcounter.Internal.Weaver.ScTransformTask.Execute() in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Internal.Weaver\ScTransformTask.cs:line 227
   at PostSharp.Sdk.Extensibility.Project.ExecutePhase(String phase)
   at PostSharp.Hosting.PostSharpObject.ExecuteProjects()
   at PostSharp.Hosting.PostSharpObject.ProcessAssemblies(ModuleLoadStrategy[] modules)
   at Starcounter.Weaver.CodeWeaver.Execute() in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeaver.cs:line 316
   at Starcounter.Weaver.CodeWeaver.ExecuteCurrent(CodeWeaver weaver) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeaver.cs:line 224
   at Starcounter.Weaver.Program.ExecuteWeaveCommand(String inputDirectory, String outputDirectory, String cacheDirectory, String fileName, ApplicationArguments arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 205
   at Starcounter.Weaver.Program.ApplyOptionsAndExecuteGivenCommand(ApplicationArguments arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 154
   at Starcounter.Weaver.Program.Main(String[] args) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 36
   --- End of inner exception stack trace ---A4A7D6FA-EB34-442A-B579-DBB1DBB859E3
System.Exception: ScErrUnhandledWeaverException (SCERR6066): An unhandled, unidentified (non-Starcounter) exception occurred in the weaver.
Version: 2.1.177.
Help page: https://github.com/Starcounter/Starcounter/wiki/SCERR6066. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Starcounter.Internal.Weaver.BackingInfrastructure.TypeSpecificationEmit.GetColumnHandle(String typeNameDeclaring, String fieldName) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Internal.Weaver\BackingInfrastructure\TypeSpecificationEmit.cs:line 163
   at Starcounter.Internal.Weaver.ScTransformTask.Execute() in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Internal.Weaver\ScTransformTask.cs:line 227
   at PostSharp.Sdk.Extensibility.Project.ExecutePhase(String phase)
   at PostSharp.Hosting.PostSharpObject.ExecuteProjects()
   at PostSharp.Hosting.PostSharpObject.ProcessAssemblies(ModuleLoadStrategy[] modules)
   at Starcounter.Weaver.CodeWeaver.Execute() in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeaver.cs:line 316
   at Starcounter.Weaver.CodeWeaver.ExecuteCurrent(CodeWeaver weaver) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeaver.cs:line 224
   at Starcounter.Weaver.Program.ExecuteWeaveCommand(String inputDirectory, String outputDirectory, String cacheDirectory, String fileName, ApplicationArguments arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 205
   at Starcounter.Weaver.Program.ApplyOptionsAndExecuteGivenCommand(ApplicationArguments arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 154
   at Starcounter.Weaver.Program.Main(String[] args) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 36
   --- End of inner exception stack trace ---

Version: 2.1.177.
Help page: https://github.com/Starcounter/Starcounter/wiki/SCERR2030.

@per-samuelsson any idea?

I don't get this problem in current nightly, meaning it is not a problem in current Starcounter anymore. But is there anything I can do to make it work in 2.1.177? I wonder if there is some single thing causing it

I wonder if there is some single thing causing it

I am too. I'm currently looking through issues from the history to see if can find some clue: https://github.com/Starcounter/Starcounter/search?q=ScErrUnhandledWeaverException&type=Issues. The error you are experiencing is more or less an internal bug IMO.
You have to give me at least a few minutes :clock1030:

Meanwhile, can you test something for me:
Browse to the folder of the KitchenZink.exe  and run
scweaver --nocache KitchenZink.exe

when having 2.1.177 installed to see if that work.

Thanks!
Unfortunately, same problem:
C:\www\StarcounterSamples\KitchenSink\bin\Debug>scweaver --nocache KitchenSink.e
xe
System.Exception: ScErrUnhandledWeaverException (SCERR6066): An unhandled, unide
ntified (non-Starcounter) exception occurred in the weaver.
Version: 2.1.177.
Help page: https://github.com/Starcounter/Starcounter/wiki/SCERR6066. ---> Syste
m.NullReferenceException: Object reference not set to an instance of an object.
   at Starcounter.Internal.Weaver.BackingInfrastructure.TypeSpecificationEmit.Ge
tColumnHandle(String typeNameDeclaring, String fieldName) in c:\TeamCity\TeamCit
y8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Internal
.Weaver\BackingInfrastructure\TypeSpecificationEmit.cs:line 163
   at Starcounter.Internal.Weaver.ScTransformTask.Execute() in c:\TeamCity\TeamC
ity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Starcounter.Intern
al.Weaver\ScTransformTask.cs:line 227
   at PostSharp.Sdk.Extensibility.Project.ExecutePhase(String phase)
   at PostSharp.Hosting.PostSharpObject.ExecuteProjects()
   at PostSharp.Hosting.PostSharpObject.ProcessAssemblies(ModuleLoadStrategy[] m
odules)
   at Starcounter.Weaver.CodeWeaver.Execute() in c:\TeamCity\TeamCity8\buildAgen
t\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeaver.cs:line 316
   at Starcounter.Weaver.CodeWeaver.ExecuteCurrent(CodeWeaver weaver) in c:\Team
City\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1\src\scweaver\CodeWeav
er.cs:line 224
   at Starcounter.Weaver.Program.ExecuteWeaveCommand(String inputDirectory, Stri
ng outputDirectory, String cacheDirectory, String fileName, ApplicationArguments
 arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-218\Level1
\src\scweaver\Program.cs:line 205
   at Starcounter.Weaver.Program.ApplyOptionsAndExecuteGivenCommand(ApplicationA
rguments arguments) in c:\TeamCity\TeamCity8\buildAgent\work\sc-develop-daily-21
8\Level1\src\scweaver\Program.cs:line 154
   at Starcounter.Weaver.Program.Main(String[] args) in c:\TeamCity\TeamCity8\bu
ildAgent\work\sc-develop-daily-218\Level1\src\scweaver\Program.cs:line 36
   --- End of inner exception stack trace ---

In context of the search results linked above: KitchenSink does not use SO (directly nor indirectly). It defines only a single Database class: TreeItem

It defines only a single Database class: TreeItem

None of our applications do anymore, unfortunatelly. You always get all the ones from the installation too, whether you like it our not.

Unfortunately, same problem:

Argh. Try this then:
scweaver --nocache --disableeditionlibraries KitchenZink.exe

(What I'm shooting for is that its probably something with all the libraries being pulled in, rather than with your application itself).

Spot on! No error with scweaver --nocache --disableeditionlibraries KitchenZink.exe
But using just scweaver, the app is not listed in Administrator, does not respond to HTTP requests etc. Anything I can do?

But using just scweaver, the app is not listed in Administrator, does not respond to HTTP requests etc. Anything I can do?

Nah, exactly. Just wanted to first "take a few steps back" to narrow the scope a little. In Starcounter nowadays, you simply can't run a stand-alone application, as you know. You always will get those libraries, whether you like it or not.
FWIW, this October issue from @miyconst seem to be more or less the same thing. I'm trying to find out if that bug was fixed in the version you are trying to use (crossing my fingers the case is not so).

Good and bad news: this issue was fixed. Bad news: it's not fixed in 2.1.177. :cry:

If you really, really, really know what you are doing, and you absolutely want just that KitchenZink.exe to run on 2.1.177, you could go in an rename %StarcounterBin%\EditionLibraries and I think it should work. You might need to delete the application folder with weaved artifacts first though.

You might need to delete the application folder with weaved artifacts first though.

That would be this folder in this particular case:
c:\db\Personal\Temp\Default\Default-20160121T101125603\weaver\680264E04044CBEC8A4A0143D6BC67DC84BEEFDC

If you really, really, really know what you are doing, and you absolutely want just that KitchenZink.exe to run on 2.1.177, you could go in an rename %StarcounterBin%\EditionLibraries and I think it should work. You might need to delete the application folder with weaved artifacts first though.

You can disable loading the edition libraries in the setting for the database. Just change the property <LoadEditionLibraries> to False in the database config file.

Great, thanks! That's enough for me

You can disable loading the edition libraries in the setting for the database. Just change the property <LoadEditionLibraries> to False in the database config file.

Ahh, I forgot that we actually had some of that surfaced (at least to the point of manual XML config). Thanks for pointing that out @chrhol!
If you decide to take that advice up, be sure you restart the database for it to take effect.

Actually setting <LoadEditionLibraries> to false in C:\db\Personal\Personal.server.config does not help. Renaming the directory to EditionLibraries_ helps.
@chrhol can you verify if this is some bug in config reader?

This is funny because I can see that <LoadEditionLibraries>false prevents Simplified and SO from being weaved. So this is not a bug in config reader.
I guess this is not worthwhile investigating, but it is a bummer. Hopefully we will have a stable release soon.


Plain-text DIDComm messages are sent to the external outbound queue

When using an external outbound queue. messages are not packed before they are pushed to the queue. That causes problems (apart from the security) when the recipient is a multitenant Aca-py agent since the relay can not figure out who is the recipient of the message.
Messages should be packed in the similar way they are being when using the internal queue

Addressed by #1408


The new message badge doesn't go away without a refresh

If you get a message or a match, the red badge on the "Messages" button doesn't go away until you "refresh" the extension by pressing on the heart icon.
I think it should go away right after you open the match list, so that it's "empty" after you navigate back to the main screen.

are you on the latest version?


getpwnam: No such file or directory

I'm trying to run playpen on openSUSE 13.1, but I keep running into some issues. Building it was fairly easy (though it did require a small update to the Makefile), but whenever I run it I get this error message:
playpen: getpwnam: No such file or directory
playpen: application terminated with error code 1

Debugging this has been tricky as well, since when I try to get a backtrace, GDB complains about an import error (which I'm pretty sure is related to this bug). I do have some strace output, but nothing there seems very useful.
Any help would be appreciated!

It expects a passwd database in the chroot so it can switch to a non-root user (nobody by default). It seems like it's missing in that root directory.

So is that just a matter of creating an /etc/passwd file relative to the sandbox?                                                                                From: Daniel MicaySent: Sunday, February 22, 2015 12:18 AMTo: thestinger/playpenReply To: thestinger/playpenCc: Damien RadtkeSubject: Re: [playpen] getpwnam: No such file or directory (#47)It expects a passwd database in the chroot so it can switch to a non-root user (nobody by default). It seems like it's missing in that root directory.
—Reply to this email directly or view it on GitHub.

Yeah it just needs enough for getpwnam to work (probably passwd, group and shadow).

Creating {{sandbox/etc/passwd}}, {{sandbox/etc/group}}, and {{sandbox/etc/shadow}} from the system copies didn't seem to work.

You need at least sandbox/etc/nsswitch.conf aswell.
This tree works for me (from issue #44):
sandbox
├── bin
├── dev
│   └── shm
├── etc
│   ├── java-7-openjdk
│   │   └── amd64
│   │       └── jvm.cfg
│   ├── nsswitch.conf
│   └── passwd
├── extra
├── home
│   └── matej
├── lib
├── lib64
├── proc
├── run
├── sbin
├── srv
├── sys
├── tmp
├── usr
└── var
    └── tmp

You probably won't need the Java stuff.

Cool, copying /etc/nsswitch.conf over improved things a little bit. Now I'm getting a "no passwd entry for username nobody" error, even though there is a line in sandbox/etc/passwd for it. I believe I already had a "nobody" user set up for running PHP or something, so I'm surprised that it's not finding it there. The relevant line looks like this:
nobody:x:65534:65533:nobody:/var/lib/nobody:/bin/bash

which seems correct to me. Could it somehow be a permissions issue?

Does a minimal test case work for you? This works for me without problems:
Directory tree:
sandbox/
├── bin
├── etc
│   ├── nsswitch.conf
│   └── passwd
├── lib
├── lib64
├── proc
├── tmp
└── usr

nsswitch.conf:
# Begin /etc/nsswitch.conf

passwd: files
group: files
shadow: files

publickey: files

hosts: files dns myhostname
networks: files

protocols: files
services: files
ethers: files
rpc: files

netgroup: files

# End /etc/nsswitch.conf

passwd:
nobody:x:99:99:nobody:/:/bin/nologin

Command:
sudo playpen -p -b /bin -b /lib -b /lib64 -b /usr -S syscalls_all.txt -u nobody sandbox -- echo 123

Okay, I got that example to work; had to make a couple changes to nsswitch.conf (I think I needed to set passwd to files instead of compat), and it looks like I need to bind /bin, /usr, and /lib64 at a minimum.
The title of this issue isn't really relevant anymore, but I am running into one more thing that I can't figure out. =) I'm trying to use the sandbox to run rustc; I've copied all the libs and binaries into the sandbox; but it keeps failing with seccomp_syscall_resolve_num_arch. So far I've tracked this down to ptrace() returning a value of -1, but not setting errno, so it tries to pass -1 to seccomp, which then fails. Any idea what could cause ptrace() to fail but not report an error?

On error, all requests return -1, and errno is  set  appropriately.   Since
the  value  returned  by  a  successful PTRACE_PEEK* request may be -1, the
caller must clear errno before the call, and then  check  it  afterward  to
determine whether or not an error occurred.

Does seccomp_syscall_resolve_num_arch use PEEK requrests?

ptrace does, and it is properly clearing out errno beforehand, so I'm not sure what it means for a "successful" return of -1.

seccomp_syscall_resolve_num_arch just resolves a system call number to a name string. It doesn't make a system call.

But -1 isn't a valid system call number, is it? The call to seccomp_syscall_resolve_num_arch gets made because ptrace doesn't set errno to anything, but it still returned -1, which is supposed to indicate "an error occurred, please check errno to see what it was." Hence, the call fails because it's trying to resolve system call -1 to a name string.
It might be as simple a fix as "don't call seccomp_syscall_resolve_num_arch with a value of -1, even if errno is 0", but it would still be nice to know why ptrace is behaving this way.

It's not a valid system call number but so the application might really be passing -1 as the system call number.

Yes, the contents of the register probably really are -1. But could the process get trapped by something other than a syscall? Then the register might not contain a syscall at all.

I think I'm making some progress by ensuring that the returned name is non-NULL before attempting to call seccomp_syscall_resolve_num_arch (I tried just the case of a -1 syscall, but then it failed on a different syscall number, 318), but now it either seems to hang or cause a crash in the program being called.

seccomp_syscall_resolve_num_arch is what returns name so I don't know what you mean.

but then it failed on a different syscall number, 318

You're running a program that's using getrandom but your libseccomp doesn't have it in the database yet. You need to use it from Git because they haven't done a release for a while.

@nanthiel: It likely needs to check that PTRACE_O_TRACESECCOMP is the reason SIGTRAP happened to handle signals properly. It should detect a signal and then raise with in the PTRACE_CONT call. The learning mode is just there for convenience and isn't a very robust feature right now.

I think this has been resolved.
The issue with signals during learning mode has been fixed by 0d7727046ec63b2d6963fb07899f63845fbbfecd but I think the issue here was just an out-of-date libseccomp. The current stable release of the library now has getrandom.


Not receiving notifications

in HttpClient.php line 98 there is a call to $this->postJson, but this method doesn't exist in HttpClient, the closest method is called postJSON.
Is this a bug?
I can't get my errors in bugsnag even when I rename postJson to postJSON.

PHP method calls aren't case sensitive, however, that is an inconsistency that probably needs addressing. The casing of a method call is likely unrelated to your issue.
You can debug the state of the Bugsnag client by calling the getApiKey() method on the Client instance you have, to check the correct API key is loaded.


"Sep 03" is not a very human friendly date

Sep 3rd?

Here's what we're using right now as you recede into the past:
3 seconds
7 minutes
5 hours
2 days
3 weeks
Sep 03
Mar 29 2016
Here's what Facebook uses for newsfeed posts as you recede into the past:
Just now
56 mins
6 hrs
October 18 at 3:33pm
June 19
December 17, 2015
"November 30" and "November 30, 2015" forms add considerable width to the column making it less likely to
I'm thinking "Sep 3" and "Sep 3, 2015" might be a slightly more human and acceptable version.

8c2582c for the preceding zero change. We probably don't want more than that because it makes the column too wide.

I prefer "3rd September", but that might just be a pushback against US date format.

The Americans won, you're going to have to accept that. We could localize but I don't think it's worth it.


Reading fails after a few successful reads

Hello, I am trying to capture a firmware dump and am unable to get it to complete successfully. Any idea what I am doing wrong? Here's the output:
me@mycomputer ~ % bk7231tools read_flash -d /dev/tty.usbserial-A5XK3RJT -s 0 -l 0x200000 dump.bin
Connected!

Update: after trying this on a raspberry pi instead of a mac, I was able to get it to complete


feat(RingTheory/AdicCompletion): adic completion of Noetherian ring is flat

We show that the adic completion of a Noetherian ring R is flat.
More precisely, we show that on finite modules over a Noetherian ring, tensoring a module M with the adic completion of R is the same as adically completing M. From this we conclude since adic completion on such modules is exact.
Co-authored-by: Judith Ludwig<EMAIL_ADDRESS>

[x] depends on: #14358

LGTM. My only question is whether it makes sense to keep on proving stuff about the completion rather than introducing a predicate IsAdicCompletion: we will surely want it, and you are just adding more work to adapt everything.

I agree, this is the last PR in this series though. Also I think that the flatness can be rather easily obtained for IsAdicCompletion by just transferring via the isomorphism.

bors d+

Thanks for the review!
bors r+


live share not working

Issue Type: Bug
can't find extension icon on status bar and hence can' t join collabration .
Extension version: 1.0.2902
VS Code version: Code 1.50.0 (93c2f0fbf16c5a4b10e4d5f89737d9c2c25488a3, 2020-10-07T06:10:52.432Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
11.90GB (8.39GB free)

Process Argv
--crash-reporter-id 31b9f9e6-d7c5-4eab-a5ee-d97ce962fc07

Screen Reader
no

VM
0%

Thanks for reporting this, @indrajeetkanwar. Sounds like this might have been a problem with installation or activation. Have you tried uninstalling and reinstalling Live Share? Do you see the Live Share icon in the Activity Bar? What happens when you open the command palette and try typing 'Live Share'?

Closing this issue due to lack of enough information to investigate a fix for it. Thank you!


Installation problem in Laravel 5.3

I am able to install successfully in laravel 5.3. However, after that, no CSS and JS are working although I copied css and js yield.
None of the link in example post are working.

Its working fine for me. Can you post the code for your app.blade.php?

@tisuchi Would you be able to post the code for your app.blade.php that JayLancaster recommended above and I can take a look into it further for you 👍
Thanks.

Closing issue since no response from @tisuchi, please reopen if the issue still exists :)
Thanks.

I have the same Issue
This is the code for my app.blade.php
`

<!-- CSRF Token -->
<meta name="csrf-token" content="{{ csrf_token() }}">

<title> Open School </title>

<!-- Styles -->
@yield('css')
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" charset="utf-8">
<!-- Scripts -->

    @include('partials.navigation')
    @yield('content')

@yield('js')

`

Have you done php artisan vendor:publish?

@JayLancaster Yes. I have run php artisan vendor publish but the problem persists. There appears to be no css and js published to the assets directory after running the command

So when you run vendor:publish, does it say its been copied to /public/vendor/ etc?

 I'm not sure if that could be causing your problem

@JayLancaster It was copied to public/vendor/devdojo/chatter/assets/etc
I tried putting the @yield('css') above and below the bootstrap import but it's still not working.

After inspecting the page I realised the @yield('css') directive points to http://localhost/vendor/devdojo/chatter/assets/vendor/etc
Instead of http//localhost/project/public/vendor/devdojo/...etc

I realised the @yield('css') directive points to http://localhost/vendor/devdojo/chatter/assets/vendor/...etc
instead of
http://localhost/**projectname**/**public**/vendor/devdojo/chatter/assets/vendor/...etc

I also realised all links related to the package are outside of the project root

HI i also have the same issue. when i create a new discussion error well be arrived.
FatalThrowableError in ChatterBeforeNewDiscussion.php line 26:
Type error: Argument 2 passed to DevDojo\Chatter\Events\ChatterBeforeNewDiscussion::__construct() must be an instance of Illuminate\Support\Facades\Validator, instance of Illuminate\Validation\Validator given, called in /home/menan/www/fourm/vendor/devdojo/chatter/src/Controllers/ChatterDiscussionController.php on line 66

i have the same problem on laravel 5.4
ErrorException in ChatterBeforeNewDiscussion.php line 26:
Argument 2 passed to DevDojo\Chatter\Events\ChatterBeforeNewDiscussion::__construct() must be an instance of Illuminate\Support\Facades\Validator, instance of Illuminate\Validation\Validator given, called in C:\wamp64\www\elearning\vendor\devdojo\chatter\src\Controllers\ChatterDiscussionController.php on line 66 and defined

Please manually change these files #80 until it is released


Use UTC for expected times in TestServer_Query_LargeTimestamp

Required for all non-trivial PRs

[ ] Rebased/mergable
[ ] Tests pass

👍

LGTM 👍


readme update 2

Next step: improve code examples

Too many small errors to comment. Let us iterate in the doc first.

@volkfox please add comment here: https://docs.google.com/document/d/1wPy_NSLOygwRAJSQxiBROQZahJHW1d-nYJFYUZBwl2w/edit#heading=h.dqt0ahv7lnp


crypto/x509: CreateCertificate accepts zero length signatures

x509.CreateCertificate, and all of the other CreateXXX methods in the package, appear to accept zero length signatures returned by the signer. It'd require a rather broken signer to produce this, but it seems like something the package should be checking for rather than blindly accepting the returned signature. Example.
Off the top of my head I don't think there is anything that explicitly disallows this, but none of the supported signature algorithms should produce a zero length signature, so it should be safe to just disallow it.

/cc @FiloSottile

I'm not sure why special-case empty signatures. There is definitely an argument to be made about verifying the signature while generating, because Signers produce all sorts of invalid signatures (empty, PKCS #1 v1.5 when asked for PSS, wrong private key for the public key...) but I feel like we should either do a full verification or just accept that we trust the Signer's output.

Seems reasonable, in general I'd be strongly supportive of actually fully verifying the signer output so that we're not creating malformed certificates. That said I opened this because this was surprising behavior to me, this is the base broken case for a signer that requires no actual knowledge of the signature algorithm to detect, all of the supported signature schemes should produce a non-zero signature, so preventing it would be very simple and remove an entire class of signer brokenness ¯\_(ツ)_/¯.

@rolandshoemaker I'd like to see a CL that introduces a signature verification in CreateCertificate with a benchmark. If the numbers are not too bad, we can fix the whole class and avoid a lot of pain to a lot of people (and even maybe save some RSA keys from the CRT in case of bugs/faults).

See also #37845


Private Key management with NuCypher

Hi everyone,
I think NuCypher's PKE could be a really elegant solution for distributed private Key management on OpenMined that satisfy's both Jane's and AI Inc's requirements (see Andrew's slide deck). If you agree, I can set up an intro to the team. I'm sure they would be very interested in collaborating or building out a specific white-label version for Open Mined. Let me know if you guys have any ideas, comments or critiques.
NuCypher KMS Primer.pdf
NuCypher Technical White Paper.pdf

This looks like a great system. Any collaborations so far ?
Thank you.


javinizer does not work on network drives

javinizer version 2.5.9.
Window version. Window 10 21h1.

The above error occurs when routing the javinizer to a network drive or running it to a network drive folder.

It works normally on the local drive path.

Yes, I did.
The problem has been solved.
It was executed normally when it was executed in a sub-folder of the shared folder of the synology.

It was executed normally when it was executed in a sub-folder of the shared folder of the synology.


⚠ Bofrost.com has degraded performance

In dd4aa2d, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 433 ms

Resolved: Bofrost.com performance has improved in c233703 after 14 minutes.


Adding -beta versioning for beta versions of the ACF package

As ACF is currently shipping out versions on the semantic beta suffixing such as 5.8.0-beta3 it seems necessary to also support those.
That is almost mandatory as at the moment being just those 5.8.x versions are bundled with Gutenberg blocks functions (ie. acf_register_block)

And release candidates please!

Duplicate of #31?

Duplicate of #31?

It is, cheers for noticing 👍


signin stop

Hi there.
When i sign, IT stays in that page. Cant do anything more it stays static
The credencial are correct, i made previous registry them.
Thanks

You may set env var USE_INSECURE_COOKIE to 1 and see if that works.

Setting the env var worked for me.
(running in synology docker)
Thanks!


Ui revamp

@safchain (@eranra ) - coloring seems fine for light theme

looks fine for me!
sometimes(very rare) the name of the node going over another node and blocking the +/- icon


Suggestion: A command to send trade offers with recently farmed cards

So, I currently got 2 other accounts beside my main. And very often I get free games with trading cards, and I use these 2 accounts to farm them. And after that, I send a trade offer with all the cards to my main account, so that I can trade or sell the cards. A command to automatically send those trade offers would be neat.

Already possible in 1.4+.

Oops, I'm retarded. Thanks!


Contradictory Guidance on what happens in Read Region Outages

The guidance on what happens when a read region fails in multi-region scenarios has some seemingly contradictory advice.
In the section titled "Multi-region accounts with a single-write region (read region outage)" it says:
"Azure Cosmos accounts using strong consistency with three regions (one write, two read) will maintain write availability during a read region outage. For accounts with two regions and automatic failover enabled, the account will stop accepting writes until the region is marked as failed and automatic failover occurs."
I would interpret it as: if I have a multi-region deployment with a single write region and a single read region, and I lose the read region, I can no longer write to the account until some sort of failover happens (which seems wrong).
Whereas later in the document, in the section "What to Expect in a Cosmos  DB Region Outage" it says in the section under Single Write Region / Automatic Failover enabled:
"In case of outage in a read region, all clients will redirect to other regions. No read or write availability loss. No data loss."
Which is more along the lines of what you'd expect.
I think the wording of the first example above is incorrect - could we check?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 139a721d-cf90-8b72-f344-9bdf9b2f9738
Version Independent ID: b2afbc24-ebfc-b225-ee4a-8eaa27838cd0
Content: High availability in Azure Cosmos DB
Content Source: articles/cosmos-db/high-availability.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@dgpoulet we'll review your feedback and get back to you shortly. Thanks.

Hi David.
Yeah that second passage is really talking about all but strong consistency.
I have a PR in progress now to clarify.
thanks.
#please-close


chore: release  common 0.2.0

:package: Staging a new release
0.2.0 (2024-10-09)
Features

amphora-common: upgrade parent (#68) (349b49f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/carbynestack/amphora/releases/tag/common-v0.2.0 :sunflower:


Bugs with mods

I cannot aim with my gun (vehicle combat mod) if flight mode on and car is not a car.
Mode switching is janky. Why on F if that's the exit button? :D I couldn't even find it in the inputs file.
Compatiblity issue: Function + mouse scroll. Scroll brings out gun with vehicle combat mod.
Sound bug: If pause (esc) pressed mod sounds are still being played, looped.
If save is loaded where you were flying: Car slams to the ground
AI cars on the road randomly enable flight mode for themselves, wreaking havock and chaos.
Car's camera sometimes stuck with No Camera Auto Centering mod so player cannot see where he's headed.

Feel free to make individual issues for these! I can close each when they're addressed.


Relax pin of importlib-metadata

Closes #67

I've tested with py3.7 and py3.6 and also different version of importlib-metadata and it seems to be fine


Increment version for openai releases

Increment package version after release of Azure.AI.OpenAI

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.AI.OpenAI


enforced TLS 1.1 updates

Hello @ksigler7,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


geoclue2: 2.4.7 -> 2.4.8

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/geoclue/versions.
These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 2.4.8 with grep in /nix/store/94izsg39mjz2f8z4wp0z4i2kxpwj8gv4-geoclue-2.4.8
directory tree listing: https://gist.github.com/387fefa5c6ac00efbebe272c600f309f

cc @7c6f434c @garbas for review

Success on x86_64-linux (full log)
Attempted: geoclue2
Partial log (click to expand)
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/94izsg39mjz2f8z4wp0z4i2kxpwj8gv4-geoclue-2.4.8/lib  /nix/store/94izsg39mjz2f8z4wp0z4i2kxpwj8gv4-geoclue-2.4.8/libexec
patching script interpreter paths in /nix/store/94izsg39mjz2f8z4wp0z4i2kxpwj8gv4-geoclue-2.4.8
checking for references to /build in /nix/store/94izsg39mjz2f8z4wp0z4i2kxpwj8gv4-geoclue-2.4.8...
shrinking RPATHs of ELF executables and libraries in /nix/store/6nqw7fs7z3w120snnn6ia4xbf9ayggdy-geoclue-2.4.8-dev
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6nqw7fs7z3w120snnn6ia4xbf9ayggdy-geoclue-2.4.8-dev/lib
patching script interpreter paths in /nix/store/6nqw7fs7z3w120snnn6ia4xbf9ayggdy-geoclue-2.4.8-dev
checking for references to /build in /nix/store/6nqw7fs7z3w120snnn6ia4xbf9ayggdy-geoclue-2.4.8-dev...
/nix/store/94izsg39mjz2f8z4wp0z4i2kxpwj8gv4-geoclue-2.4.8

Success on aarch64-linux (full log)
Attempted: geoclue2
Partial log (click to expand)
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/2kq0qqrpfc0gwq189ibfqbwiglnxxrl7-geoclue-2.4.8/lib  /nix/store/2kq0qqrpfc0gwq189ibfqbwiglnxxrl7-geoclue-2.4.8/libexec
patching script interpreter paths in /nix/store/2kq0qqrpfc0gwq189ibfqbwiglnxxrl7-geoclue-2.4.8
checking for references to /build in /nix/store/2kq0qqrpfc0gwq189ibfqbwiglnxxrl7-geoclue-2.4.8...
shrinking RPATHs of ELF executables and libraries in /nix/store/gfjsggq3n5y5zpn3f9gzg12swcsp8pan-geoclue-2.4.8-dev
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/gfjsggq3n5y5zpn3f9gzg12swcsp8pan-geoclue-2.4.8-dev/lib
patching script interpreter paths in /nix/store/gfjsggq3n5y5zpn3f9gzg12swcsp8pan-geoclue-2.4.8-dev
checking for references to /build in /nix/store/gfjsggq3n5y5zpn3f9gzg12swcsp8pan-geoclue-2.4.8-dev...
/nix/store/2kq0qqrpfc0gwq189ibfqbwiglnxxrl7-geoclue-2.4.8

Success on x86_64-darwin (full log)
Attempted: geoclue2
Partial log (click to expand)
Patching '/nix/store/s91ciri6w5lqfa458zb1pd8l4h1r3an5-geoclue-2.4.8-dev/lib/pkgconfig/libgeoclue-2.0.pc' includedir to output /nix/store/s91ciri6w5lqfa458zb1pd8l4h1r3an5-geoclue-2.4.8-dev
Wrapping program /nix/store/zzrbqppchmalb5z8m0vjd87yzv3gaxvk-geoclue-2.4.8/libexec/geoclue
Wrapping program /nix/store/zzrbqppchmalb5z8m0vjd87yzv3gaxvk-geoclue-2.4.8/libexec/geoclue-2.0/demos/where-am-i
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/zzrbqppchmalb5z8m0vjd87yzv3gaxvk-geoclue-2.4.8/lib  /nix/store/zzrbqppchmalb5z8m0vjd87yzv3gaxvk-geoclue-2.4.8/libexec
patching script interpreter paths in /nix/store/zzrbqppchmalb5z8m0vjd87yzv3gaxvk-geoclue-2.4.8
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/s91ciri6w5lqfa458zb1pd8l4h1r3an5-geoclue-2.4.8-dev/lib
patching script interpreter paths in /nix/store/s91ciri6w5lqfa458zb1pd8l4h1r3an5-geoclue-2.4.8-dev
/nix/store/zzrbqppchmalb5z8m0vjd87yzv3gaxvk-geoclue-2.4.8

Changelog
2.4.8
=====

- Fix threshold for detecting too old location update.
- Explain in the configuration what the applications white-list is meant for.
- Allow instant location updates from modem-based GPS.
- Fix a deadlock case in the helper library.

Dependency-related changes:

Require mm-glib >= 1.6

Failure on x86_64-darwin (full log)
Attempted: geoclue2
Partial log (click to expand)
cannot build derivation '/nix/store/2lf0a6qgr6xvggrjzqpkah5f38wg3ch8-libgsf-1.14.42.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/2rkz8zpgxwf0xyghbwcqiaxn7mvnl1ir-gtk+3-3.22.29.drv': 18 dependencies couldn't be built
cannot build derivation '/nix/store/j6131vr316m46k983i3vd87cvvj4zzj4-vala-0.38.4.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/fsllh8ymk1b6f81pwfsx4xw6zvi7giz8-vala-0.40.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/hgh7ypj78w78hz353nvkz46c870hm5gz-dconf-0.28.0.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/g4h2qnyhikqkldj29d52p7bikqsph68c-librsvg-2.42.3.drv': 12 dependencies couldn't be built
cannot build derivation '/nix/store/ijfb3kqwqvh09zkdnnn39ldbnfkcr6rg-libsoup-2.62.0.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/5gkbrfpjcddx6fczdsl4z43lr46s8lkp-hook.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/x5c58xls3q2jwhszfan323n1nzxiz0xf-geoclue-2.4.8.drv': 9 dependencies couldn't be built
error: build of '/nix/store/x5c58xls3q2jwhszfan323n1nzxiz0xf-geoclue-2.4.8.drv' failed

Failure on x86_64-linux (full log)
Attempted: geoclue2
Partial log (click to expand)
[ 11%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/LowerEmuTLS.cpp.o
[ 11%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineBasicBlock.cpp.o
[ 11%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineBlockFrequencyInfo.cpp.o
[ 12%] Building CXX object lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/MachineBlockPlacement.cpp.o
building of '/nix/store/b7skk7hkp44hlvk087wsc4rjz902mhb7-rustc-1.25.0.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/i1nqppg1fvvgc772grvgpxii7wrc9a2s-cargo-0.26.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3gk25i7gi4njw6hpaawcdikjgyb3bps1-librsvg-2.42.3.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/airaylcj2zrryci39drgwrll7246rhik-hook.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/ymmlc2gwshscv6wdw83qd8pphp5g346i-geoclue-2.4.8.drv': 6 dependencies couldn't be built
error: build of '/nix/store/ymmlc2gwshscv6wdw83qd8pphp5g346i-geoclue-2.4.8.drv' failed


[stable/postgresql] fixed typo in readme.md

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] DCO signed
[ ] Chart Version bumped
[ ] Variables are documented in the README.md
[ ] Title of the PR starts with chart name (e.g. [stable/chart])

Hi @ddehghan ,
Thank you very much for the contribution!!
You need to sign your commits in order to pass the DCO test.

@ddehghan thanks! please sign the DCO and bump the chart version


IOS install not success!

Hey,
I have problem when install onesignal for ios.
I don't know how fixed it .
Thank so much!

Have you installed cocoa pods?

I had a similar issue as well. Ended up needing to remove the tests block from my Podfile so that it looked like this.
target 'OneSignalExample' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for OneSignalExample
  pod 'OneSignal', '~> 1.13.3'

source

Hi,
same for me, and after tried with the file from @spencercarli i got more failed line:

xcode 8.1

Let us know if you have any more problems.

Another suggestion:

put # before the line inherit! :search_paths on your Podfile.

after solving that it shoots this
Cannot find protocol declaration for 'OSSubscriptionObserver'

Getting this error, any idea how it is solved?


Request: add more trigonometric functions to backend

Both Theano and Tensorflow support (at least) the following basic trigonometric functions that are not currently in keras.backend:

tan
arccos
arcsin
arctan

As far as I can tell, Theano has supported these since version 0.6 and Tensorflow since v0.8.0. It's not listed in the TF release notes, but see this commit.
It should be simple to add these functions to both Keras backends. Is this a good idea? If so, I'm happy to submit the pull request.

Definitely should be added if it doesn't bloat the backend. Maintaining a giant list of trig functions sounds like a pain.
The function names are the same in both TF and theano. So, if you added one function like get_backend() that returned tf or theano.tensor, then K.get_backend.sin(...), etc., should work for most functions with either backend.
You could also write a fancy loop of function definitions copying functions by name into the backend.
Going even further, you could use __getattr__ to dynamically check function invocations. That way, K.tanh would automatically call theano.tensor.tanh or tf.tanh if it exists, otherwise throw a missing method.
Honestly, something like that could replace a large chunk of the functions in the backend. Could be an interesting experiment in meta-programming and also clean up the code.
Cheers,
Ben

Seemed like a unique project, so I just put a PR together: https://github.com/fchollet/keras/pull/4932
This adds dynamic dispatching to the keras backend. Existing functions work as they did before. If you try to call a function that isn't in the backend, it will check if the function exists in tf or theano.tensor.
So, anything listed in theano or tensorflow can be invoked through keras. If someone adds some custom functionality to the backend, your code will transparently start using that custom code instead of the theano or tensorflow function.
Since most functions are relatively straightforward and have the same name, you can instantly write code using arccos or whatever that should work on either backend.
Cheers,
Ben

Very nice pull request! I like the idea, and it looks like a clean & simple implementation.
For these trigonometric functions specifically, they have different names in Theano and TF (like theano.tensor.arccos() and tf.acos()). In these cases, the backends will need custom functions (if people agree that they'd be useful). In that case, here's the PR: https://github.com/fchollet/keras/pull/4939
I'd be interested in finding out how many equivalent functions differ in name in Theano and TF.

Thanks! We could also try an aliasing scheme in cases where we are just doing pass-through. help and dir still work correctly and then the backend functions are pre-documented.
Please let me know if anyone can find a downside to just aliasing functions to make it easier to add new functions. Hypothetically, it means one less function call required but shouldn't make a meaningful difference.
For example, add this to theano backend, using fancy python assignment:
#Aliases
acos, asin, atan = theano.tensor.arccos,  theano.tensor.arcsin,  theano.tensor.arctan

And for tf backend, if I got the names right (writing this on Windows)
#Aliases
arccos, arcsin, arctan = tf.acos,  tf.asin,  tf.atan

This will simply copy the functions in each backend with the change of names. If you use this together with https://github.com/fchollet/keras/pull/4932, then both backends will have both arcsin and asin as aliases using one line of code each.
So, if tensorflow or theano comes out with a new function, just start using it. If the other library comes out with the same function, your code will start working on the other library. If the other library has a different name, add an alias to that other library and everything should still work fine.
One of the interesting upsides, is if someone runs help(K.asin) or help(K.arcsin), they get the original theano or tensorflow documentation, which is bound to be better than ours.
We would still need to update the keras documentation accordingly.
Cheers,
Ben

OK, so we are now considering

putting trigonometric functions in the backends
creating some kind of backend dispatch abstractions

Based on #4932 I understand that point 2 is on hold for now;
to return to point 1... Is anyone doing this?
I need to take a tangent of something right now, so I'm happy to prepare a pull request... if no-one else is in the middle of doing it.

I submitted a pull request: https://github.com/fchollet/keras/pull/4939
But I don't think the maintainers are merging new APIs at the moment. For now, it may be easiest just to use theano.tensor.tan() or tf.tan().

@howthebodyworks The code @brortao put together should be good for you to use, it just hasn't been merged in yet. Please go like or comment on that PR to help it get through a little faster.
https://github.com/fchollet/keras/pull/4939
To pull his PR into your local keras:
git remote add brortao https://github.com/brortao/keras.git
git fetch brortao
git merge brortao/add_trig_functions

Use that trick for any PRs you want that aren't merged in yet.
Alternatively, you could just use theano.tensor.tanh directly until something like that gets into the backend.
@brortao Once the contrib repo is off the ground, it should be much easier to get stuff into Keras. If this still isn't in Keras by then we'll put it into contrib.
Keras has got a lot going on with trying to make new releases and integration with tensorflow, so I wouldn't be surprised if PRs are slow for a little while.
Cheers

How weird; your PR didn't show up for me in the search that turned up this issue, @brortao  - nonetheless, nice work.


Peerflix stuck on loading torrent

Hey, I seem to have successfully installed peerflix 0.31.0 on my macbook (osx10.10.3), although it does nothing when I put in 'peerflix "magnet_link" -v', just gets stuck on that command and doesn't load the peerflix interface. It used to work fine on my computer and not too sure whats changed as it was all working before (on the network I'm on) I have had to add a 802.1X config profile for my school but its inactive when using peerflix at home, this couldn't interfere could it?
I've updated node.js and when reinstalling peerflix I did get one warning:
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.6"} (current: {"node":"v0.10.26","npm":"1.4.3"})
I now this is a bit vague but any ideas what I might be doing wrong? Thanks

What's the specific error you're getting? What are you trying to run and what arguments are you providing?

This seems exactly like https://github.com/mafintosh/peerflix/issues/259.
Could you please try a different variety of magnet links? i.e. different trackers and/or type of content.

Hey thanks for your replies. It's working again, not quite sure what changed. Think it might have been my internet setup in the US, fine now I'm back in the UK.

@jakeelwes awesome, can you close the issue please?


hdfview: 3.1.2 -> 3.1.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/hdfview/versions.
meta.description for hdfview is: "A visual tool for browsing and editing HDF4 and HDF5 files"
meta.homepage for hdfview is: "https://portal.hdfgroup.org/display/HDFVIEW/HDFView"
meta.changelog for hdfview is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/i8sbsbi4z90prk2rzn1irskdrh9cj7ka-hdfview-3.1.3/bin/HDFView passed the binary check.

0 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 3.1.3 with grep in /nix/store/i8sbsbi4z90prk2rzn1irskdrh9cj7ka-hdfview-3.1.3

found 3.1.3 in filename of file in /nix/store/i8sbsbi4z90prk2rzn1irskdrh9cj7ka-hdfview-3.1.3

directory tree listing: https://gist.github.com/8002d1cb3416870b395fef6ffc15135c

du listing: https://gist.github.com/b847f7a82bcd2dde85a8002895c291cf

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

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
hdfview

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

hdfview

Maintainer pings

Result of nixpkgs-review pr 132939 at af82f262 run on x86_64-linux 1

1 package built successfully:

hdfview

1 suggestion:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/tools/misc/hdfview/default.nix:52:3:
   |
52 |   meta = {
   |   ^


Improved unittests; added Chinese font-support; removed unlicensed .ttf fonts

Another Pull Request:

I removed all the old nose tests . "nose" isn't maintained anymore since 2015. I replaced all those tests with the Python standard library unittest. So we can also drop one testing dependency.

I had to rewrite some of the tests and delete others. Some of the tests weren't even testing our code. Others had to be pretty much improved. There is still space for improvement and more test cases.

I added support for Chinese fonts (simplified Chinese and traditional Chinese). Korean and Japanese were already available.

I removed the fonts in the \tests\samples\font folder. I don't think that we have a license to upload these fonts to GitHub. Normally you have to pay for that. As an alternative I added the Noto-fonts from Google. They are licensed as open source (Apache License v.2.0) and we can freely use them. I also added one Arabic font (also open source) to play with. Somehow the arabic letters are rendering if we use this arabic font but not with the normal "Arial, Courier, etc." I'll open an issue about this in the near future.

Todo: I still have to update the documentation and mention the Chinese font support. Therefore this PR is still a draft.

Coverage increased (+0.6%) to 58.403% when pulling 5298d5919cf8139f25f11f51adb43541ce6e26bf on fbernhart:improved_unittests into c196801f9247ab8c9ec29903b69b7d724c6b2cb6 on xhtml2pdf:master.


Character position in Text differing between SpecEd - Slide Show - Upload

Character position can differ between SpecEd and Slide Show; and again once uploaded to Plotly account.

UPDATE: It is only the slide show that differs. The format in SpecEd is the format that uploads/sync.


Example code results in compiler errors?

Using Visual Studio v15.5.7 Community - What Azure Function template was used to generate the code shown in Input - C# example 2? (found at: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb#input---example-2)
using System.Net;
using System.Net.Http;
using System.Collections.Generic;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;

[FunctionName("CosmosDBSample")]
public static HttpResponseMessage Run(
    [HttpTrigger(AuthorizationLevel.Anonymous, "get")] HttpRequestMessage req,
    [CosmosDB("test", "test", ConnectionStringSetting = "CosmosDB", SqlQuery = "SELECT top 2 * FROM c order by c._ts desc")] IEnumerable<object> documents)
{
    return req.CreateResponse(HttpStatusCode.OK, documents);
}

The above code results in the following errors:
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0246	The type or namespace name 'CosmosDBAttribute' could not be found (are you missing a using directive or an assembly reference?)
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0246	The type or namespace name 'CosmosDB' could not be found (are you missing a using directive or an assembly reference?)
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0246	The type or namespace name 'ConnectionStringSetting' could not be found (are you missing a using directive or an assembly reference?)
I am trying to find examples of serverless functions that insert data into a CosmosDB collection (via POST command) as well as reading data from a CosmosDB collection (via POST or GET parameters).   Any examples, links would be most helpful.
ALSO - WHERE do I find the documentation for binding syntax, ie:
[HttpTrigger(AuthorizationLevel.Anonymous, "get")]
[CosmosDB("test", "test", ConnectionStringSetting = "CosmosDB", SqlQuery = "SELECT top 2 * FROM c order by c._ts desc")]
I have been unable to locate ANY resource in docs that explains binding syntax.  Looking for something like:
[BindingName( param1, param2, param3, ...)]
Where:
BindingName = HttpTrigger
param1 = Description of param1, required/optional?, valid values, etc.
param2 = Description of param2, required/optional?, valid values, etc.
Having examples is nice -- but I would really like the UNDERSTAND the code and have some detailed explanations as to what each parameter is used for.

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

ID: cad004df-f275-bc43-5de9-2a7eed9260d8
Version Independent ID: 84a11ee5-3e98-3c28-ab41-3b776598894c
Content
Content Source
Service: functions; cosmos-db

@bdcoder2 Thanks for reporting the issue! We are investigating and will get back to you.

[CosmosDB("test", "test", ConnectionStringSetting = "CosmosDB", SqlQuery = "SELECT top 2 * FROM c order by c._ts desc")]
Should be:
[DocumentDB("test", "test", ConnectionStringSetting = "CosmosDB", SqlQuery = "SELECT top 2 * FROM c order by c._ts desc")]

@bdcoder2 I am assigning this to the content author to better answer your question.
@ggailey777 please advise.

@tdykstra can you take a look at this issue? I think that there is a versioning issue where older packages still have the DocumentDb attribute. You made the recent change to CosmosDb, which is I think the attribute in the newer version. Thanks!

@bdcoder2 there was an API change between versions of the NuGet packages, which a result of a product name change. CosmosDBAttribute is the name in the newer version and DocumentDBAttribute is the name in the prior version.  Thanks for reporting this issue, @tdykstra  is working on a fix to clarity this in the documentation.

@bdcoder2 is it OK if we close this issue?

The code example on the original request (content page) still needs to be updated, i.e.:
        [HttpTrigger(AuthorizationLevel.Anonymous, "get")] HttpRequestMessage req,
        [CosmosDB("test", "test", ConnectionStringSetting = "CosmosDB", SqlQuery = "SELECT top 2 *

should be
        [HttpTrigger(AuthorizationLevel.Anonymous, "get")] HttpRequestMessage req,
        [DocumentDB("test", "test", ConnectionStringSetting = "CosmosDB", SqlQuery = "SELECT top 2 *

that is: "CosmosDB" should be changed "DocumentDB" in all instances; otherwise, the code will not compile and "CosmoDB" is an unknown name / reference.

I have a PR to fix that and am just waiting on a review before I can sign off on it to get it merged. I hope to get that done today.

I have same issue, is there some fix for this now?

@merso0027 If you're running 2.x and getting The type or namespace name 'CosmosDB' could not be found (are you missing a using directive or an assembly reference?) then you need to install the Microsoft.Azure.WebJobs.Extensions.CosmosDB package.


Refactor: reduce repetition of node and scm checkout between Declarative and Scripted pipelines

What problem are you trying to solve with your request?
There's lots of duplication around node and scm checkout in the Declarative/Scripted pipelines.  If we want to extend the DeclarativePipeline to allow people to write their own template, it would be good to push that duplication into Stage/Plugin so that there's less effort required to write your own template.

Split this into separate issues.  Use #69 for NodePlugin, and use #88 for ScmPlugin


WIP: EF migrations

Issue: #PutYourIssueNumberHere

[ ] Tick here to confirm that you have run RunCodeFormatter.ps1

Description:

Add migration for SqlIdentityContext

Test:
Describe how a reviewer should go ahead and test the introduced change(s) and/or what to look for.
(Make sure that all above information is provided before submitting your pull request)

Hi @stuartleeks, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor. If you're full-time or an intern, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Better support for direct from JSONL

2024-09-27 11:52:31 - optimake - INFO - optimade.jsonl doesn't exist. Converting archive.

gets printed even if the JSONL path has been specified

I think currently it works such that if you specify the jsonl directly with a different name than optimade.jsonl, it will tell you that message and then the conversion is just creating a symlink to optimade.jsonl.
But we could think how to improve this.


Add support for Azure Blob Storage connection string authentication

Motivation and context

This is a change to support Connection String authentication for Azure Blob Storage. For example, Connection String Authentication allows for Azure Blob Storage running on the IoT Edge of an edge device.
How has this been tested?

I tested it by actually running it as shown in the next image, I could not find where the E2E test for cloudstorage was done.

Checklist

[x] I submit my changes into the develop branch
[x] I have added a description of my changes into CHANGELOG file
[x] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[x] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2022 Intel Corporation
#
# SPDX-License-Identifier: MIT

Hi, @suzusuzu, thanks for the contribution! Are you still going to contribute to us? If so, could you please resolve conflicts in this PR?

@Marishka17 Thanks for the reply, I resolved the conflict. Please check it out.

/check

@kirill-sizov Can you look to full-check run? Looks like it does not work for 3rd-party PRs.

/check

@Marishka17 Have you already reviewed this PR? Or it requires additional review?

Unfortunately, I haven't, but that was planned. Need to review and test it with a container on Azure.

@Marishka17 , let's try to find sometime next week to review the PR.

@nmanovic, Ok, but in this case, I need an account on Azure for testing. I forgot to ask this again in our last meeting about this question.

@SpecLad , your check is working :). Should @Marishka17 just update it in the case?


Intermittent pipeline gRPC test failure in io.helidon.grpc.server.SslIT - 1.x

Environment Details

Helidon Version: 1.x
Helidon SE or Helidon MP
JDK version:
OS:
Docker version (if applicable):

Problem Description
I saw the following intermittent test failure in a pipeline run for 1.x.
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running io.helidon.grpc.server.SslIT
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.87 sec - in io.helidon.grpc.server.SslIT
Running io.helidon.grpc.server.ContextIT
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.789 sec - in io.helidon.grpc.server.ContextIT
Running io.helidon.grpc.server.TracingIT
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.578 sec <<< FAILURE! - in io.helidon.grpc.server.TracingIT
shouldTraceMethodNameAndHeaders  Time elapsed: 0.488 sec  <<< FAILURE!
java.lang.AssertionError:
The traces should include method name
Expected: a string containing "grpc.method_name"
     but: was "[]"
	at io.helidon.grpc.server.TracingIT.shouldTraceMethodNameAndHeaders(TracingIT.java:123)

Results :

Failed tests:
  TracingIT.shouldTraceMethodNameAndHeaders:123 The traces should include method name
Expected: a string containing "grpc.method_name"
     but: was "[]"

Tests run: 12, Failures: 1, Errors: 0, Skipped: 0

17-Nov-2021: Saw it on pipeline today.

Just saw this today.

Encountered on master again today.


error

I can't figure this one out.

I'm hosting it on replit amd when I try to run it, it spits this out. What do I do?

its error inside your replit conf file, nothung i can do about that


Add guide from xumo.tv

#1254

Where is the list of those so I can add it ? I cannot find xumo epg link to type correctly to my tv.

https://iptv-org.github.io/epg/guides/us/xumo.tv.epg.xml.gz


V3 Goals

The massive rewrite is to hopefully get things running in a more object-orientated manner. We'll be writing classes for authentication, account info, general game functions, etc. This massive codebase change will NOT be compatible with v2 or v1, of course.
I'm hoping v5 of Bootstrap comes along during the dev time of v3 Chivalry Engine so we may update to that, to make the engine look different enough from V2/V1.
Otherwise, I hope to keep things functionally the same for the end user, just future game developers will likely have a cleaner codebase to work with.

Also, we've got both @EthanL72201 and @ImJustIsabella helping with V3! Thanks dudes!


Pattern uses more memory than 'maxmempattern' on Neovim

When file source is used on my home directory.

I've rewritten everything and it seems this one is no longer exist.


Build itzo for ARM

~We might want to implement execs endpoints~

@henryprecheur I'm merging this one - it basically changes /proc pseudo file parser to one that can be compiled for ARM64; this unblocks us to have itzo ARM64 binary.


Update compiler-interface to 1.6.0

Updates org.scala-sbt:compiler-interface from 1.4.4 to 1.6.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "compiler-interface" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #121.


chore: combine-prs action + tag-based release flow

Signed-off-by: Carson Farmer<EMAIL_ADDRESS>Summary
Adds two new actions

Combine PRs is an action that can be manually triggered to merge dependabot PRs
Release action now uses a tag-based release flow that is almost entirely automatic

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

I added a commit here @joewagner, can you approve again?


Add GPO issue code to new-teams-desktop-admin.md

Closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9884

@dariomws : The explaining text is wrong. The problem is not, that a user cannot sign into the desired tenant, the reason is, that the login is restricted to certain tenants, this list could include the desired tenant.
E.g., I've experienced this at a client, whose Teams client is restricted to only sign into the company tenant. Works perfectly with the current client. But it blocks the appearance of the toggle button for testing the new Teams.
The message in the log file states: "Device is Sign-in restricted".

@mosslive, if you restrict it to a specific tenant(s), it will allow you to connect to that tenant with the old client but you won't have the toggle to switch to the new tenant. Right?

@dariomws Correct.

@JoanneHendrickson
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Closing this PR since this topic was split into different articles -- and this change is with content in the new-teams-troubleshooting-installation.md topic.  Added the new line there.


Copyright bump

Positive side effect - my linter parsed/fixed all files in the repo in the process.
Notably, tab sized was globally updated from 4 spaces to 2 spaces

Positive side effect - my linter parsed/fixed all files in the repo in the process.
Notably, tab sized was globally updated from 4 spaces to 2 spaces


IRGen: Plumb through a GenericSignature when mangling types for debug info [5.4]

The generic signature isn't used for a whole lot, so this all mostly
worked before; the test case I have hits the code path for mangling
a retroactive conformance.
Fixes https://bugs.swift.org/browse/SR-14016 / rdar://problem/72865083.

@swift-ci Please test

@swift-ci Please test

@adrian-prantl The only thing that we used the DeclContext for was getting a generic signature, so I made it more explicit by passing in the signature directly. Perhaps it was used for something else in the past.

@adrian-prantl The only thing that we used the DeclContext for was getting a generic signature, so I made it more explicit by passing in the signature directly. Perhaps it was used for something else in the past.


Always shows timeout when concurrently requesting

Problem
As my max_batch_size is set to 16 when building the engine, I set concurrency to 16 when I do inflight_batching inference. The following timeout always occurred.
Each input token length is about 1300, and took about 10~12 seconds to finish one sample.
Seems like there is no inflight_batching took place.
`Traceback (most recent call last):
File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/tritonclient/http/_client.py", line 1577, in wrapped_post
return self._post(request_uri, request_body, headers, query_params)
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/tritonclient/http/_client.py", line 290, in _post
response = self._client_stub.post(
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/client.py", line 272, in post
return self.request(METHOD_POST, request_uri, body=body, headers=headers)
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/client.py", line 253, in request
response = HTTPSocketPoolResponse(sock, self._connection_pool,
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/response.py", line 292, in init
super(HTTPSocketPoolResponse, self).init(sock, **kw)
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/response.py", line 164, in init
self._read_headers()
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/response.py", line 184, in _read_headers
data = self._sock.recv(self.block_size)
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/gevent/_socketcommon.py", line 666, in recv
self._wait(self._read_event)
File "src/gevent/_hub_primitives.py", line 317, in gevent._gevent_c_hub_primitives.wait_on_socket
File "src/gevent/_hub_primitives.py", line 322, in gevent._gevent_c_hub_primitives.wait_on_socket
File "src/gevent/_hub_primitives.py", line 313, in gevent._gevent_c_hub_primitives._primitive_wait
File "src/gevent/_hub_primitives.py", line 314, in gevent._gevent_c_hub_primitives._primitive_wait
File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_hub_primitives.py", line 55, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_waiter.py", line 154, in gevent._gevent_c_waiter.Waiter.get
File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch
TimeoutError: timed out
2023-12-25T08:50:43Z <Greenlet at 0x7fc691c22c00: wrapped_post('v2/models/ensemble/infer', b'{"id":"1","inputs":[{"name":"text_input","shape", {'Inference-Header-Content-Length': 457}, None)> failed with TimeoutError
Traceback (most recent call last):
File "/data/liaozihan/tensorrtllm_backend/tools/inflight_batcher_llm/end_to_end_test.py", line 265, in
test_performance(client, prompts, output_lens)
File "/data/liaozihan/tensorrtllm_backend/tools/inflight_batcher_llm/end_to_end_test.py", line 179, in test_performance
results = utils.get_http_results(async_requests)
File "/data/liaozihan/tensorrtllm_backend/tools/utils/utils.py", line 139, in get_http_results
results.append(async_request.get_result())
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/tritonclient/http/_client.py", line 92, in get_result
response = self._greenlet.get(block=block, timeout=timeout)
File "src/gevent/greenlet.py", line 831, in gevent._gevent_cgreenlet.Greenlet.get
File "src/gevent/greenlet.py", line 373, in gevent._gevent_cgreenlet.Greenlet._raise_exception
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/gevent/_compat.py", line 49, in reraise
raise value.with_traceback(tb)
File "src/gevent/greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/tritonclient/http/_client.py", line 1577, in wrapped_post
return self._post(request_uri, request_body, headers, query_params)
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/tritonclient/http/_client.py", line 290, in _post
response = self._client_stub.post(
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/client.py", line 272, in post
return self.request(METHOD_POST, request_uri, body=body, headers=headers)
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/client.py", line 253, in request
response = HTTPSocketPoolResponse(sock, self._connection_pool,
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/response.py", line 292, in init
super(HTTPSocketPoolResponse, self).init(sock, **kw)
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/response.py", line 164, in init
self._read_headers()
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/geventhttpclient/response.py", line 184, in _read_headers
data = self._sock.recv(self.block_size)
File "/home/liaozihan/anaconda3/envs/myniche/lib/python3.10/site-packages/gevent/_socketcommon.py", line 666, in recv
self._wait(self._read_event)
File "src/gevent/_hub_primitives.py", line 317, in gevent._gevent_c_hub_primitives.wait_on_socket
File "src/gevent/_hub_primitives.py", line 322, in gevent._gevent_c_hub_primitives.wait_on_socket
File "src/gevent/_hub_primitives.py", line 313, in gevent._gevent_c_hub_primitives._primitive_wait
File "src/gevent/_hub_primitives.py", line 314, in gevent._gevent_c_hub_primitives._primitive_wait
File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_hub_primitives.py", line 46, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_hub_primitives.py", line 55, in gevent._gevent_c_hub_primitives.WaitOperationsGreenlet.wait
File "src/gevent/_waiter.py", line 154, in gevent._gevent_c_waiter.Waiter.get
File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 61, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_greenlet_primitives.py", line 65, in gevent._gevent_c_greenlet_primitives.SwitchOutGreenletWithLoop.switch
File "src/gevent/_gevent_c_greenlet_primitives.pxd", line 35, in gevent._gevent_c_greenlet_primitives._greenlet_switch
TimeoutError: timed out`
Building scripts
python build.py --model_dir ./mistral_7b_finetune_lora_merged \                 --dtype float16 \                 --remove_input_padding \                 --use_gpt_attention_plugin float16 \                 --enable_context_fmha \                 --use_gemm_plugin float16 \                 --paged_kv_cache \                 --output_dir ./mistral_7b_finetune_lora_merged/trt_engines/weight_only/1-gpu \                 --max_input_len 4096 \                 --max_output_len 4096 \                 --max_batch_size 16 \                 --use_inflight_batching \                 --use_weight_only \                 --int8_kv_cache \                 --multi_block_mode
Model
Mistral-7b with int8 weight-only quantization and merged LORA plugin.
Environment
NVIDIA A800 80GB PCIe
tensorrt_llm:0.6.1

@ZihanLiao
Hi,
Thanks for reporting this. Can you also help follow this template to provide the concrete steps of starting the Triton backend and client?
It can ease the efforts of our investigation.
June

using grpc protocol can avoid this problem

using grpc protocol can avoid this problem

Thx! Service ran stably with grpc.


[BUG] Config option for disabled worlds not working

Minecraft's Version
Paper version 1.21-73
Plugin's Version
RealScoreboard 1.4.3
Describe the bug
The scoreboard is not enabling/disabling properly when attempting to use Disabled-Worlds. If World-Scoreboard-Switch is set to "true" and a world is listed as disabled. The expected behavior would be for the Scoreboard to show in all worlds EXCEPT the one(s) specified in the disabled-list. What happens in my case is actually the scoreboard is disabled in ALL worlds except the default "world".
If World-Scoreboard-Switch is set to "false" the scoreboard will correctly be enabled in ALL worlds.
To Reproduce

Set config.yml line to switch scoreboards on world change to true.

World-Scoreboard-Switch: true

Add a list item to  the disabled worlds list.

  Disabled-Worlds:
  - world_nether

Restart server or Reload the plugin.
Confirm the scoreboard is viewable in the Overworld "world".
Teleport to the Nether "world_nether" using commands or a physical portal.
See that the scoreboard is NOT enabled.

Additional Information
I am also using the plugin Multiverse 1.21-73-3b45454. It is worth noting that this problem occurs in both worlds added by this plugin and the default "world_nether" and "world_the_end".

Hi! Thanks for the report. I will look into this when I have time.
If you're knowledgeable about code, feel free to take a look at the repo and maybe pinpoint a possible solution!

Please test this jar file:
RealScoreboard.jar.zip

I repeated your "To Reproduce" steps and found it was working. Do the same steps continue not to work?


[Question] Do you use it in production?

Hi,
Is this project production ready?

@ifle Its thoroughly tested, so I would say so! If you use it, please let me know


Execute SQL errorneously terminate begin block with case end + semicolon

Description
dbeaver seems confused about where BEGIN block ends when CASE construct appears between BEGIN ... END blocks.
This affects "Execute SQL script" function (regardless of selection) as well as "Execute SQL query" when not selecting anything and the cursor is near BEGIN.
DBeaver Version
Community Edition Version <IP_ADDRESS>411031831
Operating System
Windows 11 23H2
Database and driver
Database: SQL Server 2008 R2 and SQL Server 2014
(I reproduced the problem in both cases)
Driver: Microsoft JDBC Driver for SQL Server
Steps to reproduce

Execute this script without any selection:

SELECT CASE WHEN 1=2 THEN 3 ELSE 4 END;

:o: A query result consists of one row with value 4 is returned.

Execute this script without any selection:

BEGIN
  SELECT CASE WHEN 1=2 THEN 3 ELSE 4 END
END

:o: A query result consists of one row with value 4 is returned.

Execute this script without any selection: (note the added semicolon)

BEGIN
  SELECT CASE WHEN 1=2 THEN 3 ELSE 4 END;
END

:x: SQLServer responded with syntax error near the semicolon.

Execute this script without any selection:

BEGIN
  SELECT CASE WHEN 1=2 THEN 3 ELSE 4 END
  SELECT 5;
END

:x: SQLServer responded with syntax error near the semicolon.

Use the same script as 3., but select all of them and use "Execute SQL query (Ctrl+Enter)" function.

:o: A query result consists of one row with value 4 is returned.

Use the same script as 4., but select all of them and use "Execute SQL query (Ctrl+Enter)" function.

:o: Two query results, one consists of one row with value 4, another consists of one row with value 5, are returned.

Additional context
It seems like in 3 and 4 above, dbeaver will split this script into two statements, one starts from BEGIN and ends on the semicolon, another for the rest. This can be observed when executing these scripts in a production database connection, the script shown by dbeaver in the execute script dialog warning contains only the first part. The syntax error returned by SQL server probably means that "I didn't see the END for the BEGIN when the script ends, I'll report syntax error on the last token (which is semicolon) since that's the last position I know".
This will have impact for statements that require semicolon are used (like WITH cte statements or MERGE) in the position where SELECT 5; is at in script 4 above, so this cannot be "solved" by simply omitting all semicolon. I discovered this problem when one of my script happened to contain a MERGE after a CASE expression inside a BEGIN .. END block, and scratched my head about the seemingly out-of-nowhere syntax error message. The only workaround I found is how step 5/6 above did (select all then "Execute SQL query") but this is rather unintuitive.

Thanks for the bug report


New device request: Tuya PCIE Remote Switch Power/Reset

Hi, would be nice to add this device. Got a CBU in it. Dump is attached. Dump was made with bk7231flasher because i already flashed openbeken but can't figure out the pinout.
dump_tuya_generic_pcie_power_trigger_31_01_2024.zip

Added as Tuya Generic PCIE Remote Switch

Hey @Technology89 thanks for providing this dump. I flashed one of these devices today.
Would you happen to know if it's possible to control the status led and button on the device? For me sometimes the status led is on and other times it's off. Pressing the button doesn't do anything, unless I hold it for 5 seconds, then I get the following message WIFI_RESET is not handled. When pressing and holding the status led does flash.
This is my current config
esphome:
  name: pcie-remote-switch
  friendly_name: PCIe Remote Switch

bk72xx:
  board: cbu #BK7231N

# Enable logging
logger:
  baud_rate: 0

# Enable Home Assistant API
api:

ota:

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  ap:

captive_portal:

web_server:

mdns:

uart:
  rx_pin: RX1
  tx_pin: TX1
  baud_rate: 9600

tuya:
  # DPIDs processed from schema model: 000003cctr

switch:
  - platform: tuya
    switch_datapoint: 1
    id: pc_power
    name: Power

select:
  - platform: tuya
    enum_datapoint: 101
    name: Modereset
    optimistic: true
    options:
      0: Reset
      1: Forcereset
      2: "-"

This is the Tuya datapoints that's outputted
[16:52:53][C][tuya:041]: Tuya:
[16:52:53][C][tuya:056]:   Datapoint 1: switch (value: ON)
[16:52:53][C][tuya:062]:   Datapoint 101: enum (value: 2)
[16:52:53][C][tuya:074]:   Product: '{"p":"na90jncjlvw5t0ba","v":"1.0.0","m":0}'

Perhaps the status led and button aren't controllable from the cbu chip due to the MCU.


Some reddit videos, are downloaded with glitches

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2019.09.28
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Some reddit videos appear glitches in the downloaded video, but playback in reddit of the same video is flawless, also sites such as https://redv.co/ download the video without glitches
for example
https://www.reddit.com/r/aww/comments/dak2t0/saw_this_video_of_this_happy_little_guy/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--write-info-json', '--write-pages', '--write-thumbnail', '--all-subs', '--restrict-filenames', '--write-annotations', '--no-mtime', '-i', '-f', 'bestvideo[ext=mp4]+bestaudio/bestvideo+bestaudio/best', '-o', '%(id)s.%(ext)s', '--', 'https://www.reddit.com/r/aww/comments/dak2t0/saw_this_video_of_this_happy_little_guy/']
[debug] Encodings: locale cp1253, fs mbcs, out cp737, pref cp1253
[debug] youtube-dl version 2019.09.28
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4, phantomjs 2.1.1
[debug] Proxy map: {}
[RedditR] dak2t0: Downloading JSON metadata
[RedditR] Saving request to dak2t0_https_-_www.reddit.com_r_aww_comments_dak2t0_.json.dump
[Reddit] 5k899ezasdp31: Downloading m3u8 information
[Reddit] Saving request to 5k899ezasdp31_https_-_v.redd.it_5k899ezasdp31_HLSPlaylist.m3u8.dump
[Reddit] 5k899ezasdp31: Downloading MPD manifest
[Reddit] Saving request to 5k899ezasdp31_https_-_v.redd.it_5k899ezasdp31_DASHPlaylist.mpd.dump
WARNING: There are no annotations to write.
[info] Writing video description metadata as JSON to: 5k899ezasdp31.info.json
[Reddit] 5k899ezasdp31: Downloading thumbnail ...
[Reddit] 5k899ezasdp31: Writing thumbnail to: 5k899ezasdp31.jpg
[debug] Invoking downloader on 'https://v.redd.it/5k899ezasdp31/HLS_540_v4.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 7
[download] Destination: 5k899ezasdp31.fhls-3372.mp4
[download] 100% of 6.85MiB in 00:04
[debug] Invoking downloader on 'https://v.redd.it/5k899ezasdp31/HLS_AUDIO_160_K_v4.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 8
[download] Destination: 5k899ezasdp31.fhls-192.mp4
[download] 100% of 810.94KiB in 00:03
[ffmpeg] Merging formats into "5k899ezasdp31.mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel "repeat+info" -i "file:5k899ezasdp31.fhls-3372.mp4" -i "file:5k899ezasdp31.fhls-192.mp4" -c copy -map "0:v:0" -map "1:a:0" "file:5k899ezasdp31.temp.mp4"
Deleting original file 5k899ezasdp31.fhls-3372.mp4 (pass -k to keep)
Deleting original file 5k899ezasdp31.fhls-192.mp4 (pass -k to keep)

The glitches appear in constant intervals 00:07, 12, 18. Probably the segments are not downloaded fully or they are joined wrong ?

@dstftw All issues that appear same with this one are closed  as duplicates  of some unknown issue.


[BUG] Modus Table Component - Column Reorder/Visibility - editing panel Options after the first render not working

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have read the contributing guidelines

Describe the issue
Scenario 1:
Modus Table Component - Column Reorder - Panel Options - If the panel options is added in controls and when tried to remove certain columns on top panel of the canvas section, "Apply" button does not update the changes
Verified on PR: https://github.com/trimble-oss/modus-web-components/pull/1517
Please refer the below screenshot:

The columns are still present:

Scenario 2
Modus Table Component - Column Visibility - Panel Options  - If the panel options is cleared on controls section the panel on canvas section should not display the options.
However, the top panel on canvas section displays with the options, it is expected that the panel should not include any data.
Please refer the below screenshot:

Reduced test cases
No response
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Chrome, Firefox, Microsoft Edge
What is the issue regarding ?
@trimble-oss/modus-web-components
What version of npm package are you using ?
No response
Priority
Medium
What product/project are you using Modus Components for ?
QA
What is your team/division name ?
QA
Are you willing to contribute ?
None
Are you using Modus Web Components in production ?
No response

Issue doesn't seem to happen now. @rthanga1 to try to duplicate or close the issue

The property 'Panel Options' has been changed to 'Toolbar Options,' and this issue is not reproduced in the current storybook.


Support string or boolean version of props

I came across an interesting issue when trying to hide the server selection in my implementation of openapi-explorer. The documentation could be more clear on how to use the props.
The Hide/Show Sections part of the docs lists show-server-selection etc.
These props should be noted that they are Strings and not Booleans as you'd think. This required a lot of debugging and shadow root manipulation to hide the server selection until I realised that there are two confusing problems;

show-server-selection is a string of a boolean (ex below)
show-server-selection is called allowServerSelection internally

This works
  <openapi-explorer
    spec-url="./openapi.yaml"
    :server-url="serverUrl"
    :show-server-selection="String(false)"
  >
  </openapi-explorer>

This does not work
  <openapi-explorer
    spec-url="./openapi.yaml"
    :server-url="serverUrl"
    :show-server-selection="false"
  >
  </openapi-explorer>

Rather than add complexity to the docs, the better solution here will be for us to accept either. It's unfortunate that parameter doesn't do that yet, but it will.

These properties have been migrated to the new hide- values for ones that have the functionality enabled by default. There is really no way to fix this because of the html specification itself. So rather than trying to make this complicated for people to understand, we are opting to avoid the issue altogether.
from now on the documentation points to these new properties in the new version 2.0,


Fix README.md

After consulting the documentation, I found that the pulseio module does not have a PWMOut class or method, only pwmio has it.
https://docs.circuitpython.org/en/latest/shared-bindings/pulseio/index.html
Did it exist two years ago (2020)?

Quite possibly just a transcription typo on my part.

Understand.