Cannot deploy to Azure function - Kudu gives 'username or password is incorrect'

Repro steps.
-Function  Url is https://tiqsubcriptions.azurewebsites.net.

Attempting to access https://tiqsubcriptions.scm.azurewebsites.net/ gives 500 Username or password is incorrect.
Slots feature is enabled.

The log/error given by the failure.
Server Error in '/' Application.
The user name or password is incorrect.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.IOException: The user name or password is incorrect.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[IOException: The user name or password is incorrect.
]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +12701600
System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) +12468710
System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) +82
System.IO.Directory.CreateDirectory(String path) +33
System.IO.Abstractions.DirectoryWrapper.CreateDirectory(String path) +11
Kudu.Core.Infrastructure.FileSystemHelpers.CreateDirectory(String path) in C:\Kudu Files\Private\src\master\Kudu.Core\Infrastructure\FileSystemHelpers.cs:32
Kudu.Core.Environment.get_DeploymentToolsPath() in C:\Kudu Files\Private\src\master\Kudu.Core\Environment.cs:183
Kudu.Core.Infrastructure.PathUtilityBase.GetPathFolders(IEnvironment environment) in C:\Kudu Files\Private\src\master\Kudu.Core\Infrastructure\PathUtils\PathUtilityBase.cs:23
Kudu.Services.Web.App_Start.NinjectServices.PrependFoldersToPath(IEnvironment environment) in C:\Kudu Files\Private\src\master\Kudu.Services.Web\App_Start\NinjectServices.cs:758
Kudu.Services.Web.App_Start.NinjectServices.RegisterServices(IKernel kernel) in C:\Kudu Files\Private\src\master\Kudu.Services.Web\App_Start\NinjectServices.cs:152
Kudu.Services.Web.App_Start.NinjectServices.CreateKernel() in C:\Kudu Files\Private\src\master\Kudu.Services.Web\App_Start\NinjectServices.cs:129
Ninject.Web.Common.Bootstrapper.Initialize(Func`1 createKernelCallback) +16
Kudu.Services.Web.App_Start.NinjectServices.Start() in C:\Kudu Files\Private\src\master\Kudu.Services.Web\App_Start\NinjectServices.cs:95
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +79
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +101
WebActivatorEx.BaseActivationMethodAttribute.InvokeMethod() +73
WebActivatorEx.ActivationManager.RunActivationMethods(Boolean designerMode) +637
WebActivatorEx.ActivationManager.Run() +84
[InvalidOperationException: The pre-application start initialization method Run on type WebActivatorEx.ActivationManager threw an exception with the following error message: Exception has been thrown by the target of an invocation..]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection1 methods, Func1 setHostingEnvironmentCultures) +615
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +141
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +102
System.Web.Compilation.BuildManager.ExecutePreAppStart() +157
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +549
[HttpException (0x80004005): The pre-application start initialization method Run on type WebActivatorEx.ActivationManager threw an exception with the following error message: Exception has been thrown by the target of an invocation..]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +10043436
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +95
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
Mention any other details that might be useful.
I tried to deploy from Visual Studio 2017 today and got the "username or password is incorrect" error. The only thing I did relative to the previous successful deployment (24 hours ago) was add a new function to the project.

Most likely unrelated to Kudu. Check that your WEBSITE_CONTENTAZUREFILECONNECTIONSTRING has a valid storage connection string.

Yes it has a valid connection string.

I tried what was suggested here: https://github.com/Microsoft/vsts-tasks/issues/6513 . Setting WEBSITE_CONTENTSHARE = 0 doesn't fix the issue for me.

While not Kudu related, I do think there is a bug in how slots deal with Azure Files. What's slightly unusual in your scenario is that you are using a different storage account for the two slots. One uses trainingqigprod, and the other one trainingqigdev. And then each has a different content share name. Then I think when you swapped some wires got crossed and it ended up trying to use the storage account from one with the share name from the other, or something like that.
@ruslany can probably comment further.

I wonder if those settings should be set slotted? As a workaround, I'm creating two separate function apps - one for deployment and one for production without using the slots feature. But I'll leave existing app up if anyone wants to poke around. I will try swapping again and see if that helps.

No, slot settings don't make sense here since you really want your files to move back and forth as you swap (kind of the main point of swapping!).
There is a clear bug here, so until we figure it out, it's best to avoid slots with Function Apps (they are only in Preview BTW).

But yeah, please do keep the app around in case we can't repro.

What I found was WEBSITE_CONTENTSHARE wasn't slotted (not sure if, but after setting it to be slotted, and swapping again, things worked once more. So you're saying WEBSITE_CONTENTAZUREFILECONNECTIONSTRING shouldn't be slotted either?

Oh, but the staging slot isn't working now. However, prior to setting WEBSITE_CONTENTSHARE to be slotted, neither the master nor staging slot were working. Yeah, I'll avoid slots for now, but they would be very useful once in release.

Oh, you have WEBSITE_CONTENTAZUREFILECONNECTIONSTRING as slotted? How did it end up that way? That feels very wrong to me. If you slot both, it may look like it's not broken, but for all practical purpose, your swap will not work, since each slot will be stuck to the same files. Does that make sense? Does everything work if you unslot both (after starting from a working state)?

I'll try unslotting both and see what happens.

Unslotting both settings seemed to work. I believe I created the slot through the portal. But WEBSITE_CONTENTAZUREFILECONNECTIONSTRING was pointed to production, and I changed it to point to my development storage account (intuitively, that's where I want all  my development files to be). So you're saying all the slots should probably use the same storage account as the parent, regardless of their purpose?

Yes it makes sense now. Thanks a lot for your help.

I encountered the problem when the connection string did not contain:
;EndpointSuffix=core.windows.net
Once it was added the exception went away.


backlight: enable changing via scroll

Hi, thanks for helping out :)
I couldn't test this yet, but this tries to write to /sys/class/backlight/.../backlight, doesn't this require root?

@patrick96 many systems are configured for the video group to have write on backlight (usually this coincides with people who use bars/i3/bspwm/etc, for exactly this reason)

ping


Fixed https urls

Fixed https urls to be used on secure web sites.

First of all thanks for your merge request.
Could you please separate your MR according to different concerns?
I.e. undo moving the border weight slider and the css changes? Thanks!


[SecurityScan] Create default policies

Q
A

Bug fix?
yes

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
fixes #3127 , related https://github.com/banzaicloud/anchore-image-validator/issues/59

License
Apache 2.0

What's in this PR?
The Banzai Cloud Pipeline will create default Anchore policy bundles if security scan integrated service is enabled.
Why?
The policy activation is triggered before the default policy creator K8s job finish, so the integrated service activation seems failed for the first time.
Checklist

[x] Implementation tested (with at least one cloud provider)
[x] Code meets the Developer Guide
[x] User guide and development docs updated (if needed)
[x] Related Helm chart(s) updated (if needed)

Additional info
This modification works with the current anchore-policy-validator chart as well despite the default policy creator K8s job isn't necessary anymore.

Instead of mounting the default policies directory, adding them into the docker images.


Release 1.0.9

Could you please release the latest version with the :foo/bar -> "foo/bar" preservations? Thanks!

@royvandewater done. Thanks 👍


Migrate Teaching Materials

Even if the screenshots are old, it would be good to migrate https://avogadro.cc/teaching/

Would the plan be to add a "Teach" item to the menu bar in https://two.avogadro.cc?
If so, I could try to work on this. Are there any guideline for screenshots (size etc) if I wanted to replace them with newer ones?

Yes, absolutely. I'm struggling a bit with how many items I can add to the top header, but I definitely want a "Teach" section. There's actually someone who wrote a full textbook.
No particular guidelines on size, but generally 400-600 px is a useful width. In some cases, downsizing by 75% can still be useful.

I have migrated the materials in PR #55. The screenshots and instructions are stale from Avogadro 1, but I have inserted a warning to that effect at the Teach top level.
I'm not sure who contributed the original materials, or the best way to attribute them.

I'll take a look - I know I have attributions somewhere for "Romanov"

I'm going to leave this open as a reminder to find the attribution.

Okay, I absolutely cannot find the attribution - it was from the Avogadro wiki.
Hopefully before we release 2.0 I can find the original author.


Could not install lastest CU for SQL 2019 (2019SP0CU12) using Update-DbaInstance

Verified issue does not already exist?
No
What error did you receive?
Hi,
Could not install lastest CU for SQL 2019 (2019SP0CU12) using Update-DbaInstance.
We got this message: [Get-SqlInstanceUpdate] Couldn't find an exact build match with specified parameters while updating SQL2019
However, CU12 is listed as the lastest CU for 2019 on https://sqlcollaborative.github.io/builds.
I had downloaded latest CU: SQLServer2019-KB5004524-x64.exe
Steps to Reproduce
Set-DbatoolsConfig -Name Path.SQLServerUpdates -Value '\..._Microsoft\SQL Server installationsmedia\SQL Server SP & CU'
$Patch_path = (Get-DbatoolsConfigValue -Name 'Path.SQLServerUpdates')
$ListOfServers = "SQLLAB1", "SQLLAB2"
Update-DbaInstance -ComputerName $ListOfServers -version 2017SP0CU25, 2019SP0CU12 -Path $Patch_path -Restart -Confirm:$true -ExtractPath "C:\temp" -Credential ...
Are you running the latest release?
Yes
Other details or mentions
No response
What PowerShell host was used when producing this error
Windows PowerShell (powershell.exe), Windows PowerShell ISE (powershell_ise.exe)
PowerShell Host Version
PSVersion                      5.1.19041.1023
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1023
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
SQL Server Edition and Build number
Installed version: CU10 (15.0.4123.1) - KB5001090

You might need to update your local build reference with Update-DbaBuildReference: https://docs.dbatools.io/Update-DbaBuildReference

Aha, Thank you! Will test that next week, when we are going to upgrade dev environment!
Kind Regard,
/Fari

Ok, I will close this now. If you still have problems next week, you can reopen it.


ci: build proxyv2 image and push it to dockerhub

Signed-off-by: seeflood<EMAIL_ADDRESS>
What this PR does:

build proxyv2 image
and then push it to dockerhub

reference:
https://mosn.io/docs/user-guide/start/istio/
todo:

[x] build layotto/proxyv2:latest image with make script
[x] build image in CI
[x] push to dockerhub in CI

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Generally LGTM, need to confirm that if we should add this to release pipeline?

@Xunzhuo Yes we do. Since I haven't deployed the image with istio, I'm not sure if I have to modify it again.
So I want to add it in release pipeline after building up the whole istio lab


[Spinner] Issue

don't  import from themes

I'm not sure I understand—what are you trying to say? What's the issue?

Hello, sorry, I tried to use the spinner in nextjs14, but it does not
recognize the import from radix-themes , it throws an error, it also did
not auto-import like the other elements do.
On Tue, Apr 9, 2024, 12:12 AM Vlad Moroz @.***> wrote:

I'm not sure I understand—what are you trying to say? What's the issue?
—
Reply to this email directly, view it on GitHub
https://github.com/radix-ui/themes/issues/448#issuecomment-2044218869,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZU53VOWOQHCATNDK544CNLY4OBD5AVCNFSM6AAAAABF5W6IT2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGIYTQOBWHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Are you on the latest version? Spinner was added in 3.0


Code translation from Hubhop to MFConnector does not add necessary spaces

Describe the bug
Event updated with new code for CJ4 RUNSTOP button, when I updated the event to MF and received the code in the input code box, it had a missing space before the els clause.
Steps To Reproduce
Steps to reproduce the behavior:

Create an event in Hubhop that has an els clause at the beginning of a line, like this...

(A:GENERAL ENG MIXTURE LEVER POSITION:1, Percent) 0 >
if{     0 (>K:MIXTURE1_SET) 0 (>K:SET_FUEL_VALVE_ENG1) }
els{ 16384 (>K:MIXTURE1_SET) 1 (>K:SET_FUEL_VALVE_ENG1) }
Note that the code has a space at the end of the preceding line but no space before the "els"

Save the event in Hubhop
Update events in MF Connector
Look for the event code in the Input config UI.
Note that the spacing and linefeeds have been stripped in the conversion and the els has no preceding space.

Expected behavior
As the custom input box can handle the linefeeds in the same way as Hubhop can handle line feeds, there is no need to strip the linefeeds from the code in Hubhop any more (it is not events.txt).  I suggest the linefeed stripping not be done in the import into MF Connector.  This also has the benefit of maintaining the code readability already established in Hubhop.  Then allow MF Connector to strip linefeeds, as it already does, when sending to the simulator.
Actual behavior
The conversion before sending code from Hubhop to MFConnector is stripping linefeeds (and not replacing with spaces), but also stripping spaces at the end of lines, thus the els had no preceding space.  This is the code received.  Note there is no preceding space in the els:

Details

MobiFlight Version: <IP_ADDRESS>
FlightSim: irrelevant
AddOn: irrelevant

Additional context
If my suggestion is followed, then no processing of the code text is necessary when updating events into MF Connector, so that readability is maintained consistent between Hubhop and MF Connector.  This should be very easy to implement.

@JaimeLeon2 can you please verify  that this is not the case anymore after moving to the new Preset system.

The custom input code box is not rendering the CRLF properly from the Hubhop code text received.
This is what is causing the visually missing spaces, invisible characters and lack of proper spacing in the code.
When the same code text is copied over to Notepad++ the code spacing and CRLF are properly shown, so it seems it is an issue only with the code box itself not displaying the contents as expected.


error: queryHandler: no querying endpoint provided

Hi,
So I'm following the example listed as part of the prometheus.yml configuration.
{
                  viewer {
                    zones(filter: {zoneTag: "abc123"}) {
                      httpRequests1mGroups(limit: 1, filter: { datetime_gt: "2021-04-28T13:00:00Z", datetime_lt: "2021-04-28T14:01:00Z"}) {
                        dimensions {
                          datetime
                        }
                        sum {
                          bytes
                        }
                      }
                    }
                  }
                }

Executing the above on a graphQL application, it works successfully and returns correct values, however as part of the prometheus configuration I'm getting error on graphql_exporter  - error: queryHandler: no querying endpoint provided>
Can you kindly indicate me if i'm missing something

This is weird.
I just tested the same query (except I use Cloudflare Free and don't have access to httpRequests1mGroups, I used httpRequests1hGroups) and it works.

This is my exact prometheus.yml:
scrape_configs:
  - job_name: "cloudflare-analytics"
    metrics_path: "/query"
    bearer_token: "abc"
    params:
      endpoint: ["https://api.cloudflare.com/client/v4/graphql"]
      query:
        - |
          {
            viewer {
              zones(filter: {zoneTag: "xyz"}) {
                httpRequests1hGroups(limit: 1, filter: { datetime_gt: "2021-04-28T13:00:00Z", datetime_lt: "2021-04-28T14:01:00Z"}) {
                  dimensions {
                    datetime
                  }
                  sum {
                    bytes
                  }
                }
              }
            }
          }
    static_configs:
      - targets: ["localhost:9199"]

Both the example on the repo and this work for me.
Can you please look for differences in your setup?
What Prometheus version are you running? I am using 2.26.0 built on Go 1.16.3.

Running prometheus, version 2.23.0 which it seems does not support go 1.16.3.
Will upgrade prometheus version to 2.26.0 and will post an update

Still, don't think that'll fix it.

Consider going to Prometheus > Targets and click on the URL, it should contain the endpoint query param.

Yes and the endpoint is listed as UP

And endpoint shows up there?

It's very weird...

Wait, if it shows as UP, then you're not seeing any errors, are you?

Same error message?

See, this is the line that you're running into.
If the endpoint query string parameter is not sent, then r.FormValuereturns an empty string, which causes the error to be returned and throws an HTTP 400, but if the target shows as UP, then it's not sending any 4xx/5xx, which makes me think that you may have fixed it somewhere along the process.
Do you see metrics?
They all begin with query_.

Same error message?
See, this is the line that you're running into.
If the endpoint query string parameter is not sent, then r.FormValuereturns an empty string, which causes the error to be returned and throws an HTTP 400, but if the target shows as UP, then it's not sending any 4xx/5xx, which makes me think that you may have fixed it somewhere along the process.
Do you see metrics?
They all begin with query_.

I was trying to load the host with port to check the returned metrics,
curl localhost:9199/query
and that was giving me  the error above.
Now checked the metrics from prometheus directly and yes they are available.
The setup is tiny bit different than other exporters.
Apologies for this silly mistake.
Thanks


The JENKINS_UC_DOWNLOAD environment variable seems not working

I hava configured the JENKINS_UC_DOWNLOAD environment variable with docker-compose.yml，but it seems not working.
Docker commands that you execute
docker-compose up
and the docker-compose.yml file is below:
version: "3.7"

services:
  jenkins:
    container_name: jenkins
    image: jenkins/jenkins:2.204.6
    restart: unless-stopped
    privileged: true
    ports:
      - "8080:8080"
      - "50000:50000"
    dns:
      - <IP_ADDRESS>
      - <IP_ADDRESS>
    environment:
      JENKINS_UC_DOWNLOAD: "https://mirrors.tuna.tsinghua.edu.cn/jenkins"
      JAVA_OPTS: "-Djava.awt.headless=true -Duser.timezone=Asia/Shanghai -Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8"
    volumes:
      - ./jenkins_service/jenkins_certs:/certs/client
      - ./jenkins_service/jenkins_home:/var/jenkins_home
      - ./jenkins_service/jenkins_backup:/var/jenkins_backup
    deploy:
      resources:
        limits:
          memory: 2048M
          cpus: '2'
    networks:
      - jenkins_network

networks:
  jenkins_network:
    external: true

Actual result
The jenkins download plugin not from configed url but from jenkins office download center.
Expected outcome
The Jenkins should download plugin from my configed url.

No.
Output of docker version
[jenkins@centos ~]$ docker  version
Client:
 Version:           18.09.5
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        e8ff056
 Built:             Thu Apr 11 04:43:34 2019
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.5
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.8
  Git commit:       e8ff056
  Built:            Thu Apr 11 04:13:40 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Other relevant information
2020-08-15 01:33:02.597+0000 [id=76]	SEVERE	h.model.UpdateCenter$DownloadJob#run: Failed to install ant
java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
	at java.net.SocketInputStream.read(SocketInputStream.java:171)
	at java.net.SocketInputStream.read(SocketInputStream.java:141)
	at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:848)
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1593)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
	at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:3061)
	at java.net.URLConnection.getHeaderFieldLong(URLConnection.java:629)
	at java.net.URLConnection.getContentLengthLong(URLConnection.java:501)
	at java.net.URLConnection.getContentLength(URLConnection.java:485)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1225)
Caused: java.net.SocketTimeoutException: Read timed out
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1950)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1945)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1944)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1514)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1241)
Caused: java.io.IOException: Failed to load http://updates.jenkins-ci.org/download/plugins/ant/1.11/ant.hpi to /var/jenkins_home/plugins/ant.jpi.tmp
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1248)
Caused: java.io.IOException: Failed to download from http://updates.jenkins-ci.org/download/plugins/ant/1.11/ant.hpi (redirected to: http://mirror.serverion.com/jenkins/plugins/ant/1.11/ant.hpi)
	at hudson.model.UpdateCenter$UpdateCenterConfiguration.download(UpdateCenter.java:1282)
	at hudson.model.UpdateCenter$DownloadJob._run(UpdateCenter.java:1830)
	at hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:2101)
	at hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1804)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:111)
	at java.lang.Thread.run(Thread.java:748)
2020-08-15 01:33:02.601+0000 [id=76]	INFO	h.model.UpdateCenter$DownloadJob#run: Starting the installation of ace-editor on behalf of admin

I have the same issue.
Plugins are downloaded from JENKINS_UC_DOWNLOAD related path, but plugin dependencies are downloaded from url="$JENKINS_UC_LATEST/latest/${plugin}.hpi"
This url depends on JENKINS_UC (http://updates.jenkins-ci.org by default)
    jenkinsUcJson=$(curl "${CURL_OPTIONS:--sSfL}" -o /dev/null -w "%{url_effective}" "${JENKINS_UC}/update-center.json?version=${jenkinsVersion}")
    if [ -n "${jenkinsUcJson}" ]; then
        JENKINS_UC_LATEST=${jenkinsUcJson//update-center.json/}
        echo "Using version-specific update center: $JENKINS_UC_LATEST..."
    else
        JENKINS_UC_LATEST=
    fi

So install-plugins.sh uses JENKINS_UC to resolve transitive dependencies  even if I set custom JENKINS_UC_DOWNLOAD value.

We recently ran into the same issue as well.  JENKINS_UC_DOWNLOAD is used for the plugins that get specified by the user, but plugin dependencies do not use it.

This doDownload function uses different plugin urls depending on whether the version is passed in or if the version is ‘latest’: https://github.com/jenkinsci/docker/blob/jenkins-docker-packaging-2.235.1/install-plugins.sh#L70-L113
The resolveDependencies function only passes the plugin name into the download function; it does not pass a version with it: https://github.com/jenkinsci/docker/blob/jenkins-docker-packaging-2.235.1/install-plugins.sh#L153-L158
The main() function does pass in the version with the plugin name: https://github.com/jenkinsci/docker/blob/jenkins-docker-packaging-2.235.1/install-plugins.sh#L263

As a workaround, I am specifying all plugins and dependencies at the same time so that resolveDependencies never ends up trying to install the latest version of any plugin.

Hi @justyns and @Mr-LiuDC
Script install-plugins.sh has been deprecated:
https://github.com/jenkinsci/docker/commit/bc906140bcfba9d5435b1f94dbf5e5e109791815#diff-a4d47ab66a34ee55556a6fe9980384b4cac99cd08afd4f9d882606b70c21f618
To solve the issue:

Upgrade docker image to the current LTS (2.249.3-lts) or higher version from repo
Use plugin-installation-manager-tool instead of install-plugins.sh:

via jenkins-plugin-cli - https://github.com/jenkinsci/docker/blob/master/jenkins-plugin-cli.sh
or run it directly like java -jar /usr/lib/jenkins-plugin-manager.jar --plugin-file plugins.txt

This issue can be closed I think.


build(enhancement):enhance apps to support independent out-of-tree builds

Summary
Add a PREFIX extension to your application compilation.
by defining the PREFIX variable and setting it to an external path,
make -C /some/app can be called independently to build a separate application out_of_tree.
modify Make.defs and Application.mk so that their dependent variables can be overwritten.
Usage:
# in some app's Makefile
PREFIX = out/of/tree/dir/

compiled products and intermediate products can be separated from the source tree
Impact
forward compatibility
Testing
CI build

[Experimental Bot, please feedback here]
The PR Summary is missing some details:

What functional part of the code is being changed?  Specify which files (Make.defs, Application.mk) are modified.
How does the change exactly work? You mention overwriting dependent variables. Briefly explain how this is achieved.

Impact:

Is new feature added? Is existing feature changed?  This seems like a new feature. Specify that.
Impact on user:  While you say "forward compatibility", be explicit: Will existing users be affected? Will they need to change anything in their workflow?
Impact on build:  You mention changes to the build process. Briefly explain what changes users might see.
Impact on documentation: A new feature like this likely requires documentation updates. Mention if you've included those.

Testing:

Build Host(s): Be specific. List the OS, CPU architecture, and compiler used for testing.
Target(s): List the specific architectures and boards you tested on.
Testing logs:  "CI build" is not sufficient. Provide snippets of logs showing the build process working as expected before and after the change, specifically highlighting the new PREFIX functionality.

In short: The PR description is a good start but needs more details, especially in the Impact and Testing sections, to meet the NuttX requirements.

Does that allow full out of tree app build with no source tree modification?
Can similar approach be applied (in separate PR) for nuttx repo and out of tree boards - that is build for board:config that is out of tree without touching the source tree? This seems highly demanded feature :-)
Instead Makefile modification maybe env variable can be used too? PREFIX has some standard use, so maybe NXAPP_PREFIX would be better here? This part needs extra explanation in the docs as it may be widely used :-)

Does that allow full out of tree app build with no source tree modification?
Can similar approach be applied (in separate PR) for nuttx repo and out of tree boards - that is build for board:config that is out of tree without touching the source tree? This seems highly demanded feature :-)
Instead Makefile modification maybe env variable can be used too? PREFIX has some standard use, so maybe NXAPP_PREFIX would be better here? This part needs extra explanation in the docs as it may be widely used :-)

thanks @cederom
I think our CMake base can achieve a complete out-of-tree build.
This patch serves the Makefile base, and is used for independent apps to be compiled into separate .a static libraries for external use.
For example, directly calling like:
# in my applications Makefile i can set BIN:=custom.a

make -C /my/app/path context
make -C /my/app/path depend
make -C /my/app/path all


fix(board): add label to type dropdown

add a label to the type dropdown to call out the work item type that you are currently viewing
fixes https://github.com/fabric8io/fabric8-planner/issues/1659

@mindreeper2420 snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1660-fabric8-planner.int.rdu2c.fabric8.io

@mindreeper2420 Type dropdown is not align properly.

@mindreeper2420 snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1660-fabric8-planner.int.rdu2c.fabric8.io


Authorization is required on every system restart

Every time I am restarting the device, I need to manually enable authentication on Phosconn web app:
12/19/2023, 6:03:37 PMDeconz BridgeLoaded plugin 'homebridge-deconz'
12/19/2023, 6:03:37 PMDeconz BridgeLoading 1 platforms...
12/19/2023, 6:03:37 PMDeconz BridgedeCONZhomebridge-deconz v1.0.9, node v16.20.2, homebridge v1.6.0, homebridge-lib v6.7.3
12/19/2023, 6:03:38 PMDeconz BridgeBridge is running on port 51846.
12/19/2023, 6:03:38 PMDeconz BridgedeCONZhardware: Raspberry Pi 3B+ 1.3 (1GB)
12/19/2023, 6:03:38 PMDeconz BridgedeCONZos: Raspbian GNU/Linux 11 (bullseye) [32 bit]
12/19/2023, 6:03:38 PMDeconz BridgedeCONZrestored 19 accessories from cache
12/19/2023, 6:03:38 PMDeconz BridgedeCONZui server: listening on http://<IP_ADDRESS>:41207/
12/19/2023, 6:03:39 PMDeconz BridgedeCONZ<IP_ADDRESS>: request 1: GET /config
12/19/2023, 6:03:39 PMDeconz BridgedeCONZWARNINGwarning: <IP_ADDRESS>: request 1: connect ECONNREFUSED <IP_ADDRESS>:8080
12/19/2023, 6:03:39 PMDeconz BridgedeCONZWARNINGwarning: <IP_ADDRESS>:8080: connect ECONNREFUSED <IP_ADDRESS>:8080 - retrying in 60s
12/19/2023, 6:03:59 PMWARNINGplugin site unavailable

I have no idea what you mean by “the device”.  I don’t see any log messages requesting to enable authentication, and you’re running on hoobs using old versions of Homebridge and NodeJS.  Best ask hoobs support.


How to debug on TV model 2018?

I have a TV with platform tv-samsung-4.0, hospitalbility TV
I use C# on visual studio 2019, when I debug (start without debugging), nothing happen.
When I see the command line, the "sdb shell" not working.
So how can I debug on Smart TV model 2018?
By the way, can it run the .Net application?

https://developer.samsung.com/smarttv/develop/specifications/general-specifications.html
I think, your tv running tizen 4.0. You can follow this link to enable sdb from tv
https://stackoverflow.com/questions/33329781/connecting-to-tizen-tv-via-the-tizen-ide-or-sdb
before, you can test your app on emulator:
https://docs.tizen.org/application/dotnet/get-started/tv/first-app/#deploy-and-run-your-application
or deploy and install .tpk on yout tv

https://developer.samsung.com/smarttv/develop/specifications/general-specifications.html
I think, your tv running tizen 4.0. You can follow this link to enable sdb from tv
https://stackoverflow.com/questions/33329781/connecting-to-tizen-tv-via-the-tizen-ide-or-sdb
before, you can test your app on emulator:
https://docs.tizen.org/application/dotnet/get-started/tv/first-app/#deploy-and-run-your-application
or deploy and install .tpk on yout tv
BTW: i'm using vs2017, vs2019 can't create signed package tpk

I follow your it, but nothing working.
When I use Tizen Studio, it's working (Javascript, .wgt package).
But using C# on v2019 or vs2017 (.tpk package), it has error:
7/27/2021 11:15:27 AM : Start Device Monitor...
SetIsXamlProject : False
7/27/2021 11:15:27 AM : Device monitor started.
7/27/2021 11:16:41 AM : Device attach/detach detected.
7/27/2021 11:17:28 AM : <<< Start without debugging "org.tizen.example.STVXamarinApplication1.Tizen.TV" (secure protocol) >>>
7/27/2021 11:17:28 AM : Try to terminate running application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:17:28 AM : No application to be terminated: 255
WARNING: Your data are to be sent over an unencrypted connection and could be read by others.
pushed org.tizen.example.STVXamarinApplication1.Tizen.TV-1.0.0.tpk	  0%	      0KB	    0KB/s
pushed org.tizen.example.STVXamarinApplication1.Tizen.TV-1.0.0.tpk	100%	    383KB	    0KB/s
1 file(s) pushed. 0 file(s) skipped.
C:\Nam\Outsource Projects\SamsungTV\projects\STVXamarinApplication1\STVXamarinApplication1\STVXamarinApplication1.Tizen.TV\bin\Debug\tizen40\org.tizen.example.STVXamarinApplication1.Tizen.TV-1.0.0.tpk   1782KB/s (392515 bytes in 0.215s)
path is /home/owner/share/tmp/sdk_tools/org.tizen.example.STVXamarinApplication1.Tizen.TV-1.0.0.tpk
spend time for pkgcmd is [1505]ms
7/27/2021 11:17:30 AM : Try to launch application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:17:30 AM : Application launched.
7/27/2021 11:18:36 AM : <<< Start without debugging "org.tizen.example.STVXamarinApplication1.Tizen.TV" (secure protocol) >>>
7/27/2021 11:18:36 AM : Try to terminate running application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:18:36 AM : Application is not running: 1
7/27/2021 11:18:36 AM : Try to launch application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:18:36 AM : Application launched.
7/27/2021 11:24:47 AM : <<< Start debugging "org.tizen.example.STVXamarinApplication1.Tizen.TV" (secure protocol) >>>
7/27/2021 11:24:47 AM : Try to terminate running application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:24:47 AM : Application is not running: 1
Check package failed for "lldb-tv" (secure). Cannot parse package version "none"
Pushed "C:\Nam\tizen-sdk\platforms\tizen-4.0\common\on-demand\signature-3.8.1-armv7l" to "/home/owner/share/tmp/sdk_tools/on-demand/signature"
Pushed "C:\Nam\tizen-sdk\platforms\tizen-4.0\common\on-demand\lldb-tv-3.8.1-armv7l.tar.gz" to "/home/owner/share/tmp/sdk_tools/on-demand/lldb.tar.gz"
Successfully installed "/home/owner/share/tmp/sdk_tools/on-demand/lldb.tar.gz"
7/27/2021 11:25:00 AM : Launching org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:25:00 AM : ... successfully launched
7/27/2021 11:28:38 AM : <<< Start without debugging "org.tizen.example.STVXamarinApplication1.Tizen.TV" (secure protocol) >>>
7/27/2021 11:28:38 AM : Try to terminate running application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:28:38 AM : Application is not running: 1
7/27/2021 11:28:39 AM : Try to launch application: org.tizen.example.STVXamarinApplication1.Tizen.TV
7/27/2021 11:28:39 AM : Application launched.

I think.. you can find some information from this page:
https://developer.samsung.com/smarttv/develop/tizen-net-tv/getting-started/creating-net-tv-applications.html


3ds2 cancellation error is now mapped to a PaymentCancelledByUser payment result

Hey, could you please create a new enum strictly for 3ds cancel? Just so it can be mapped to a new subclass of the sealed class PaymentResult, called for example Payment3DSCancelledByUser, instead of mapping it to already existing one PaymentCancelledByUser
It would be greatly appreciated for analytics purposes, to know if user cancelled the 3ds payment process or non 3ds one.
Thanks alot.

Hey @drekyyy, we also thought about splitting the cancellation origin but had to use the existing PaymentCancelledByUser. I like your idea but unfortunately at the moment we don't have the data needed for that.
The reason for not introducing a new 3DS based cancellation sealed class is that we cannot exactly tell if it's purely a 3DS cancellation. That is because the SDK supports two 3DS flows: the native one & the web redirect. Only for the native flow, we know with certainty that it is a 3DS cancellation. This will be added with this PR.
However, 3DS might also be resolved through a web redirect. If this challenge is cancelled, the shoppers are sent back to the app and on Android they need to press the cancel button again. This is resolved as a normal cancellation even though it actually started as a cancellation of the redirect based 3DS challenge. So regardless of a second sealed class, there will be 3DS cancellations that are always resolved as CancelledByUser.


Test Pointing Default on Minecraft

Type of Issue
Select the type of issue:

[ ] Bug report (to report a bug)
[ ] Feature request (to request an additional feature)
[ ] Tracker (I am just using this as a tracker)
[ ] Documentation Ask
[x] Test

Description
Test "where is the flower" (or any relevant object) in minecraft and see if the agent also points to it. I made a change where pointing is now a default action for a specific path in get_memory_handler - specifically when the attribute type is a location for the object being queried.
More details at https://github.com/facebookresearch/droidlet/pull/17

Tagging @kavyasrinet @aszlam @snyxan to triage this.

I don't understand - is the ask to write a test for "where is the flower" or to check if this works in-game ?

I don't understand - is the ask to write a test for "where is the flower" or to check if this works in-game ?

Just check that it works in game. Basically, we need to test the changes in https://github.com/facebookresearch/droidlet/pull/17 in minecraft. I don't have the mc agent setup yet, so if you guys can do it would be great. Or I can come around to it in a bit.

Sound good.
Conforming that GET_MEMORY is calling a Point task after fetching from memory.
But Point is currently broken on Minecraft. Issue to track here: #95 .

Thanks. Closing this issue.


Hands-On TEST 10 Release Test Results 23.12

Release Test Results 23.12
Source in Catena-X Confluence and Expert Contacts here(Source only accessible for Catena-X Consortia members in current transition phase).

[x] E2E System Integrations Tests

To pass the Consortia Gate 4, evidence has to be made available that all test criteria up to and including TRL 4 & TRL 6 have been achieved.
Expected evidence = outputs of TRL 4 and TRL 6.
Test Management has mapped and described all mandatory tests for Consortia Quality Gates HERE(Source only accessible for Catena-X Consortia members in current transition phase).
Please focus on the columns "Derived Criteria" and "Outputs"
Document your test results in Catena-X JIRA XRAY
Use the fields “DoD” and “Status” (story & solution level) to approve requirements.
Interim test results are required after Tests of each Sprint, this is pre-requisite to participate in E2E test phase

Contact:

TEST MANAGEMENT

[x] Approval of User Journey

CX Business Owner confirms: All acceptance criteria met (as defined in PI documentation)
Relevant evidence is available

Artifact Repository

Jira Solution Level(Source only accessible for Catena-X Consortia members in current transition phase)

Best Practise

PO to obtain BO approval prior to Gate review.
BO therefore to evaluate progress by participation at iteration demos.
BOs provide E2E test cases.
BOs welcome to act as tester.
BOs expected to participate in System Demo.

Contacts:

FOSS Product Owners &
CX Business Owners

Hey @kelaja please confirm my evidence for the upcoming Gate Review

@RolaH1t alright I see the evidence and it's approved from my side.

2023-10_GH Test Evidence A.xlsx

@RolaH1t Expert Review provided, and passed


Ones Complement of Binary Number

Have you read the Contributing Guidelines on Pull Requests?
Yes,I have.
Description
A C program to input binary number from user and find ones complement of binary number.
Ones complement of a binary number is defined as value obtained by inverting all binary bits.
It is the result of swapping all 1s to 0s and all 0s to 1s.
Example
Input binary number: 01000011
Ones complement: 10111100
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#6564

Kindly review  my pr @ankitaggarwal23  @HarshCasper


[Feature Request]: Implementing Google auth

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I can implement google auth feature so that user can signin using one click easily.
Use Case
User experience will get increased
Benefits
No response
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

assigning you to this issue, looking forward to this


Add support for configuration extensions

Allow blocks prefixed with x- in the configuration as a place to declare reusable blocks with YAML anchors and aliases.
Borrowed from the Docker Compose configuration file format - https://github.com/compose-spec/compose-spec/blob/main/spec.md#extension
Thanks to @ruyrocha for the suggestion.
Resolves #867

Nice 👍 I've used erb so far.


Unable to see logs

Hi,
I'm unable to view the logs even though I've set config.enableLogging to true.
config.enableLogging = true;

fixed in 1.2.1
thx for raising this issue.


[ADAM-600] Adding RegionJoin trait.

Resolves #600. @tdanford @laserson thoughts about this?

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/634/
Test PASSed.

+1.  I'll wait for possible comments before merging

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/640/
Test PASSed.

Thanks @fnothaft!


[MINOR][PS][DOCS] Add DataFrame.plot.kde to API reference

What changes were proposed in this pull request?
1, add DataFrame.plot.kde to API reference;
2, sort the plotting function alphabetically;
Why are the changes needed?
DataFrame.plot.kde is a public function in Pandas https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.plot.kde.html
And it was already implemented in PS, but never exposed to users.
Does this PR introduce any user-facing change?
Yes, doc-only changes
How was this patch tested?
CI
Was this patch authored or co-authored using generative AI tooling?
No

Merged to master.


Adapt the frontend lambda to the subgraph definition

The subgraph definition and the query from the frontend did not match. This PR adapts the frontend lambda so that the query conforms to the schema from the subgraph definition. In particular, it adapts the token part of the query and

kills tokenUri entirely
renames metadata to ipfsUri
kills attributes entirely.

Changes look good. Approval pending a test deployment.

end to end test successful with e2e deplyoment script


FR: Adding tvOS Support

I'm making use of a old version of the Firebase SDK which tweaked the v2 SDK to allow it to be used in tvOS applications.
This is working well right now but missing out on some additional features that have been added since, also worried using such an old SDK may stop working in the production app in the future.
I'm aware there would be significant changes needed due to the limitations on persistent storage and happy to have data load on launch as it is doing in the current solution. Would love to kick off a discussion around this.

Hi,
i am working on it.
1.) support GoogleToolBoxForMac for tvOS, which should work on my fork:
https://github.com/mariohahn/google-toolbox-for-mac
so I am now able to Run Firebase/Core.
Next I wanted to run Firebase/Database. Here you have leveldb-library as dependency. But I wasn't really able to find a podspec in your Repo, I found it on https://github.com/CocoaPods/Specs/blob/master/Specs/a/d/a/leveldb-library/1.18.3/leveldb-library.podspec.json but you don't event use your own version it is a fork from https://github.com/matehat/leveldb.git.
So I also fork that Repo and wrote my own Podspec:
Pod::Spec.new do |s|
  s.name             = 'leveldb-library'
  s.version          = '1.18.3'
  s.author           = 'The LevelDB Authors'
  s.license          = 'New BSD'
  s.homepage         = 'https://github.com/google/leveldb'
  s.source           = { :git => 'https://github.com/mariohahn/leveldb.git',
                         :tag => "v1.18.1" }
  s.summary          = 'A fast key-value storage library'
  s.description      = <<-DESC
      LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
                       DESC

  s.osx.deployment_target = '10.7'
  s.ios.deployment_target = '5.0'
  s.tvos.deployment_target = '9.0'

  s.requires_arc = false

  s.header_dir = "leveldb"
  s.source_files =
      'db/*.{cc}',
      'port/*.{cc}',
      'table/*.{cc}',
      'port/*.{cc}',
      'util/*.{cc}',
      'include/leveldb/*.h'

  s.compiler_flags =
      '-DOS_MACOSX',
      '-DLEVELDB_PLATFORM_POSIX'

  s.preserve_paths =
      'db',
      'port',
      'table',
      'util'
  s.exclude_files =
          '**/*_test.cc',
          '**/*_bench.cc',
          'port/win'

  s.xcconfig = {
                 'CC' => '"clang"',
                 'CXX' => '"clang++"',
                 'HEADER_SEARCH_PATHS' => '"\"${PODS_ROOT}/leveldb-library/\" \"${PODS_ROOT}/leveldb-library/include\""',
                 'WARNING_CFLAGS' => '"-Wno-shorten-64-to-32"',
                 'OTHER_LDFLAGS' => '"-lc++"'
               }

end

But I am not able to run it successfully :(
Why are you using a fork of your own Product?
Is it even possible to build leveldb-library for tvOS?

Hi Mario,
Thanks for diving in!
As you've noticed, the leveldb-library dependency is somewhat stale and we plan to get it updated. However, we don't expect the stale dependency to cause any issues for Firebase/Database.
What is the build issue you're seeing?

Maybe my podspec isn't correct.
/var/folders/g1/wmtly35542vbzmmdxg4y3nwc0000gn/T/CocoaPods/Lint/Pods/leveldb-library/util/coding.cc:5:10: fatal error: 'util/coding.h' file not found
#include "util/coding.h"
^
1 error generated.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/mariohahn/Library/Developer/Xcode/DerivedData/App-glcppnhpejkrnwayvgpwyrucoxdv/Build/Intermediates/Pods.build/Release-appletvsimulator/leveldb-library.build/Objects-normal/x86_64/coding.o leveldb-library/util/coding.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
-> leveldb-library (1.18.3)
- WARN  | source: The version should be included in the Git tag.
- ERROR | xcodebuild: Returned an unsuccessful exit code.
- NOTE  | xcodebuild:  leveldb-library/db/builder.cc:5:10: fatal error: 'db/builder.h' file not found
- NOTE  | xcodebuild:  leveldb-library/table/block_builder.cc:29:10: fatal error: 'table/block_builder.h' file not found
- NOTE  | xcodebuild:  leveldb-library/util/arena.cc:5:10: fatal error: 'util/arena.h' file not found
- NOTE  | xcodebuild:  leveldb-library/table/block.cc:7:10: fatal error: 'table/block.h' file not found
- NOTE  | xcodebuild:  leveldb-library/util/coding.cc:5:10: fatal error: 'util/coding.h' file not found
Analyzed 1 podspec.

It looks like you're running into https://github.com/CocoaPods/CocoaPods/issues/5152 - CocoaPods 1.x currently does not support libraries with C++ headers. The workaround is use the new option --skip-import-validation.

But I am sure that I am doing something wrong because --skip-import-validation is a new com but https://github.com/matehat/leveldb.git created the podspec months ago when the com wasn't even available. But he hasn't committed his podspec 😞

The original podspec was probably validated with CocoaPods 0.x

even with --skip-import-validation it it's not working.

    - ERROR | xcodebuild: Returned an unsuccessful exit code.
    - NOTE  | xcodebuild:  leveldb-library/util/coding.cc:5:10: fatal error: 'util/coding.h' file not found
    - NOTE  | xcodebuild:  leveldb-library/table/block.cc:7:10: fatal error: 'table/block.h' file not found
    - NOTE  | xcodebuild:  leveldb-library/table/block_builder.cc:29:10: fatal error: 'table/block_builder.h' file not found
    - NOTE  | xcodebuild:  leveldb-library/util/arena.cc:5:10: fatal error: 'util/arena.h' file not found
    - NOTE  | xcodebuild:  leveldb-library/db/builder.cc:5:10: fatal error: 'db/builder.h' file not found

Analyzed 1 podspec.

It looks like there are extra quotes in the xcconfig above. It runs pod spec lint with only a warning about the version if I replace it with the following:
 s.xcconfig = {
    'CC'  => 'clang',
    'CXX' => 'clang++',
    'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/leveldb-library/" "${PODS_ROOT}/leveldb-library/include"',
    'WARNING_CFLAGS' => '-Wno-shorten-64-to-32',
    'OTHER_LDFLAGS' => '-lc++'
  }

Hi! How is tvOS support coming? Was so excited to see the macOS support pushed!

Do you have any progress on tvOS support?

tvOS is not on the near-term Firebase roadmap, but we'd be happy to review and accept PRs if anyone wants to pick up where @mariohahn left off.

Hi! I see there is some activity in https://github.com/firebase/firebase-ios-sdk/tree/tvOS_master branch, does it mean there is a change we're getting tvOS support any time soon?

Unfortunately we really can't promise timelines. Yes there's some work underway but other priorities might come up that halt our progress on it.
As always, PRs welcome :-).

Because Firebase Analytics is dependent on Google Analytics and Google Analytics is not open source and not supporting tvOS, Firebase Analytics won't be available on tvOS. Is that right?

Firebase Analytics does not depend upon Google Analytics, and neither are open source.
Open source is not a requirement to add support for tvOS - however there are no public plans to make Firebase Analytics available for tvOS.  cc: @baolocdo

Question about Firebase Analytics for tvOS. I don't understand.  Can I use last version of FirebaseCore for tvOS for Firebase Analytics? Now I add sdk to my tvOS app and try to start it, But every time I have "1671911] 5.0.0 - [Firebase/Core][I-COR000022] Firebase Analytics is not available."

You can safely ignore that warning. Firebase Analytics is not available for tvOS.
I'll send a PR to get rid of the warning.

Will firestore be available on tvOS anytime soon ?

We're not opposed to adding tvOS support for Firestore (and seems like it should mostly just work--we use very little outside of the Foundation and SystemConfiguration frameworks) but Firestore is a very young product and unfortunately we have too many other things to do that are higher priority.
Pull requests welcome!

I tried adding tvos platform to the local podspec, but now the dependencies (gRPC and nanopb) do not support tvOS platform.
Is there another workaround I should be looking at?

Unfortunately, no. gRPC and nanopb are both very lightweight and have few external dependencies (i.e. on UIKit), so they might already build on tvOS.

Is Crashlytics supported in tvOS?
Was trying Crashlytics in tvOS but I can't even get the firebase crashlytics setup to be successful.
I ran in my tvOS application and it seems nothing is being sent to google's server.

+1 Would be great to get Firestore, Functions and RemoteConfig support for TVOS!

Functions and Firestore are both open source and we'd happy to work with any contributors.   Functions should be a matter of a bit of configuration, build and validation.  Firestore is more complex because of its gRPC dependency but should still be doable.

tvOS Community support for Core, Auth, Database and Storage landed in #590 along with a tvOS sample app. See https://github.com/firebase/firebase-ios-sdk#community-supported-efforts.

I just got Firebase/Database working on tvOS by following the above example app and wanted to provide a TL;DR Podfile for those just getting started with Firebase/Database on tvOS:
platform :tvos, '12.0'

target 'FooTV' do
  use_frameworks!

  # Firebase is only partially supported on tvOS.
  # These podspecs (and these Podfile lines) are taken from:
  # https://github.com/firebase/firebase-ios-sdk/blob/master/Example/tvOSSample/Podfile
  pod 'FirebaseCore', :git => 'https://github.com/firebase/firebase-ios-sdk.git'
  pod 'FirebaseDatabase', :git => 'https://github.com/firebase/firebase-ios-sdk.git'
end

Thanks to those who contributed to this thread!

Any particular reason why functions are not supported on TvOS?
I just modified the FirebaseFunctions.podspec to add support for TvOS and MacOS and the module build just fine.
thanks

@acerbetti It just hasn't been implemented and tested yet. We'll be happy to review a PR.
It should be a lot easier after the recently submitted testspec PR #1864 since no Xcode project setup is required for testing.

@acerbetti I just made the #2506 to add tvOS and macOS for FirebaseFunctions. You're right that it's a seamless port. Thanks for the push.

That's great, I was planning to test it better today and provide a PR, but you beat me.
thanks

Oh sorry for beating you to it.  If you have some real-life tests that go beyond what's in the packaged unit and integration tests, that would still be appreciated.

@paulb777 Using the latest gRPC-C++ & gRPC-Core I was able to get Firestore running and returning data.
Only error I came across was sigaltstack which isn't available on tvOS used here... https://github.com/firebase/firebase-ios-sdk/blob/f250f50c530ac9c467b120a1b49dea3c53833c24/Firestore/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc#L153-L155 commenting this out allows it to build successfully.

@ay8s are you using the code #2506 ?

@ay8s That's great to hear.  Are you able to send us a PR. Otherwise, hopefully we can get to this soon. cc: @wilhuff

@paulb777 If you have any thoughts on an adjustment to the snippet below for tvOS, as its third-party I'm hesitant to simply comment it out or wrap in a tvOS check.
https://github.com/firebase/firebase-ios-sdk/blob/f250f50c530ac9c467b120a1b49dea3c53833c24/Firestore/third_party/abseil-cpp/absl/debugging/failure_signal_handler.cc#L153-L155
@samsidd This is using a fork of master 👍

@ay8s Checking TARGET_OS_TV should be fine

@paulb777 https://github.com/firebase/firebase-ios-sdk/pull/2592 left as WIP as it requires dev gRPC pods right now.

I am currently trying to use FirebaseFirestore in my tvOS app, the sdk pod installation ran smoothly and everything. The app doesn't crash but it doesn't connect to Firebase and can't read or write from the Database (Cloud Firestore).
I am using Xcode 10.1, and the latest pod for FirebaseCore, FirebaseFirestore, FirebaseAuth and FirebaseDatabase.
Anything I should check regarding my problem? The app doesn't crash or anything it simply does nothing when trying to add documents into a collection.

My tvOS app is not connecting to the Firebase Console. I follow all the steps taking into account from giving the ID bundle, to installing the pods but when it reaches step 5 it never connects. Has anyone the same problem? Is there an extra step necessary for tvOS ?

@erickavb just wanted to say thanks for blazing the path for the rest of us with Firestore on Apple TV.  We are going to have migrate from Firebase DB to Firestore soon to overcome the 100k concurrent limit of Firebase DB.

@erickavb re: not connecting to the Firebase Console. When the console waits for the "connect" step it is looking for a specific Analytics event which will never happen since Analytics isn't currently supported on tvOS. It's safe to ignore this warning and things should work as expected.

Going to close this since we now have community tvOS for most of Firebase and specific issues for missing coverage like #2011.

Hi everyone,
I am Mayank, a Product Manager at Firebase.
I am excited to share that we are in the process of improving Firebase SDKs to support additional Apple platforms.
If you are already using Firebase in your app which supports multiple Apple platforms (tvOS/macOS/Catalyst/watchOS) or are looking to add support for those platforms, we'd love to get your feedback.
If you're interested in chatting with us and getting early access to future updates, please sign up using this form : https://forms.gle/odseGnshb3Jq8wuz5
Once approved, we will share further information on how to proceed.
Thank you!

Mayank (on behalf of Firebase SDK team)


PHP Fatal error: Cannot redeclare Composer\Autoload\includeFile()

please help me, I had this problem after installing this extension
https://stackoverflow.com/questions/50791200/php-fatal-error-cannot-redeclare-composer-autoload-includefile?noredirect=1#comment88588517_50791200

Also https://stackoverflow.com/questions/36064067/composer-error-installing-laravel-cors
Here it says that the problem can be, if you require package not in root directory, You cannot have any vendor folder in the config folder, so you wrote "composer install .." in config folder.
Please write down what folders you have in config/vendor.


Unbreak unit tests

While working on #140, I was hit by some problems with tests only passing when they were run in the whole test suite, but not alone. For example when running the tests from tests/output on the main branch:
$ pytest tests/output
========================================================================================================= test session starts =========================================================================================================
platform linux -- Python 3.8.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /home/agateau/src/ggshield, configfile: pyproject.toml
plugins: pyfakefs-4.5.3, socket-0.4.1, snapshottest-0.6.0
collected 54 items

tests/output/test_json_output.py FFFF....                                                                                [ 14%]
tests/output/test_message.py ......................                                                                                [ 55%]
tests/output/test_text_output.py ........................                                                                                [100%]

============================================================================================================== FAILURES ===============================================================================================================
_________________________________________________________________________________________________ test_json_output[_MULTIPLE_SECRETS] _________________________________________________________________________________________________
tests/output/test_json_output.py:75: in test_json_output
    snapshot.assert_match(JSONScanCollectionSchema().loads(json_flat_results))
.venv/lib/python3.8/site-packages/marshmallow/schema.py:753: in loads
    return self.load(data, many=many, partial=partial, unknown=unknown)
.venv/lib/python3.8/site-packages/marshmallow/schema.py:719: in load
    return self._do_load(
.venv/lib/python3.8/site-packages/marshmallow/schema.py:904: in _do_load
    raise exc
E   marshmallow.exceptions.ValidationError: {'secrets_engine_version': ['Field may not be null.']}

After much head scratching, I found out this happens because we recently added a feature to store the version of the secrets engine to py-gitguardian. This version number is returned by our servers as a new header of their HTTP responses. py-gitguardian saves the version in a global variable when it communicates with our servers.
The problem is: if the cassette was recorded before the time the version number has been added, then the replayed response does not contain it, the global variable is not set, and the test fails.
pytest-socket
While fixing that, I found out pytest-socket was getting in the way: updating the cassettes required modifying the pyproject.toml to remove the --disable-socket flag. To make it simpler, I removed --disable-socket from the default pytest flags, and added it to the flags used when running pytest in the CI.
sendgrid secrets issues
Some of our tests use sendgrid secrets to exercise the code reporting a secret validity, but sendgrid secrets are no longer checkable, so I changed these tests to use GitGuardian test tokens instead.
Related issue
This fixes #148

Codecov Report

Merging #154 (72732fe) into main (d36f9f9) will decrease coverage by 0.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #154      +/-   ##
==========================================
- Coverage   91.91%   91.59%   -0.32%
==========================================
  Files          29       29
  Lines        1571     1595      +24
==========================================
+ Hits         1444     1461      +17
- Misses        127      134       +7

Flag
Coverage Δ

unittests
91.59% <ø> (-0.32%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

ggshield/utils.py
96.45% <0.00%> (-2.13%)
:arrow_down:

ggshield/output/text/message.py
94.85% <0.00%> (-1.48%)
:arrow_down:

ggshield/output/text/text_output.py
92.85% <0.00%> (-0.39%)
:arrow_down:

Continue to review full report at Codecov.

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


How to deal with rate limits of JSON RPC?

Hello,
I found documentation regarding limitations but couldn't find any information regarding proper rate limit controls.

https://docs.solana.com/cluster/rpc-endpoints#mainnet-beta
Normally I would expect some header to tell me regarding my quota information to be able to sleep my code for some time but I was able to only get HTTP 429 after I got an error and then retry failed requests which is not the most efficient approach. I am wondering if you figured out already some solution for this problem.

I think the answer is to use private RPC services recommended on the Solana website. https://solana.com/rpc

Hey @faridmovsumov which RPC service did you end up using? I'm currently handling the rate limits with a cache key that is set and releases the jobs back to the queue after the time is up.

Hehe same @faridmovsumov, ran into more rate limits and thinking about giving QuickNode a try.

Seems like for production-ready applications some solid RPC server is a must.


jshon: 20140712 -> 20160111.2

Semi-automatic update. These checks were done:

built on NixOS
ran /nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2/bin/jshon help got 0 exit code
found 20160111.2 in filename of file in /nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2

cc @rushmorem

Success on x86_64-linux (full log)
Partial log (click to expand)
install -D jshon.1 /nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2/share/man/man1//jshon.1
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2
shrinking /nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2/bin/jshon
gzipping man pages under /nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2/bin
patching script interpreter paths in /nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2
checking for references to /tmp/nix-build-jshon-20160111.2.drv-0 in /nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2...
/nix/store/pdxydl7lg0pbpcmh2332yygbb7b4vbq2-jshon-20160111.2

Success on aarch64-linux (full log)
Partial log (click to expand)
install -D jshon.1 /nix/store/43plgxrazwx4nns2da0n2mx2zv9lcnh6-jshon-20160111.2/share/man/man1//jshon.1
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/43plgxrazwx4nns2da0n2mx2zv9lcnh6-jshon-20160111.2
shrinking /nix/store/43plgxrazwx4nns2da0n2mx2zv9lcnh6-jshon-20160111.2/bin/jshon
gzipping man pages under /nix/store/43plgxrazwx4nns2da0n2mx2zv9lcnh6-jshon-20160111.2/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/43plgxrazwx4nns2da0n2mx2zv9lcnh6-jshon-20160111.2/bin
patching script interpreter paths in /nix/store/43plgxrazwx4nns2da0n2mx2zv9lcnh6-jshon-20160111.2
checking for references to /build in /nix/store/43plgxrazwx4nns2da0n2mx2zv9lcnh6-jshon-20160111.2...
/nix/store/43plgxrazwx4nns2da0n2mx2zv9lcnh6-jshon-20160111.2

Success on x86_64-darwin (full log)
Partial log (click to expand)
installing
install flags: install SHELL=/nix/store/pkjmwq7sqrvjg7cjiph6hq0khsmfl6p8-bash-4.4-p12/bin/bash
install -D jshon /nix/store/96z9pqzjifbx5ljyxn0g8cyq9zhfnwbn-jshon-20160111.2/bin/jshon
install -D jshon.1 /nix/store/96z9pqzjifbx5ljyxn0g8cyq9zhfnwbn-jshon-20160111.2/share/man/man1//jshon.1
post-installation fixup
gzipping man pages under /nix/store/96z9pqzjifbx5ljyxn0g8cyq9zhfnwbn-jshon-20160111.2/share/man/
strip is /nix/store/4sdh09gmvl15cy0zb6i7mbvxh5syz206-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/96z9pqzjifbx5ljyxn0g8cyq9zhfnwbn-jshon-20160111.2/bin
patching script interpreter paths in /nix/store/96z9pqzjifbx5ljyxn0g8cyq9zhfnwbn-jshon-20160111.2
/nix/store/96z9pqzjifbx5ljyxn0g8cyq9zhfnwbn-jshon-20160111.2

Thanks!


Buttons and input elements not inheriting $font-family-base

It seems like normalize is overriding the body with font-family: sans-serif, instead of reboot's setting of $font-family-base

I think it's a duplicate of #21595

_reboot.scss
// Normalize includes `font: inherit;`, so `font-family`. `font-size`, etc are // properly inherited. However, `line-height` isn't inherited there.
But normalize doesn't inherit the font anymore.

Dupe of #21588.


Consume Sarif SDK from NuGet, not checked-in binaries.

@michaelcfanning is added to the review. #Closed

@EasyRhinoMSFT is added to the review. #Closed

@cfaucon is added to the review. #Closed

@rtaket is added to the review. #Closed

@Evmaus-MS is added to the review. #Closed

Thanks, @Evmaus-MS!


Custom dialog X moved

It's on the left in Insiders, the right in stable, was that on purpose?

@misolori ?


Update MLH banner when they release the 2025 Season Banner

Just a reminder for myself before we deploy in June

it seems like this banner will be released when the season opens on  July 15 so in the month between June 15 (website launch day) and July 15 I will remove the MLH banner

fixed in #63


Cannot use chat

Type: Bug
I restarted my PC from an earlier restoration point because my touchpad stopped working. Now when I open VSC my gGitHub Copilot chat is not working, I cannot write it anything. I have tried to delete the cache folder to no success and also sync my settings with GitHub, but I dont know if that went through because I still cant use the chat, also dont think the settings updated.
Extension version: 0.13.0
VS Code version: Code 1.87.0 (019f4d1419fbc8219a181fab7892ebccf7ee29a2, 2024-02-27T23:41:44.469Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 7 5700U with Radeon Graphics          (16 x 1797)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.34GB (6.68GB free)

Process Argv
C:\Users\enorz\Documents\IMWT\VT24\1ME333 - Interaktionsdesign 3\U2 --crash-reporter-id 97b17d21-b9cb-4e11-b7f0-c274f86bbbff

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30968132
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:30979542
d34g3935:30971562
fegfb526:30973843
bg6jg535:30979843
78248357:30976999
dsvsc020:30976470

I managed to copy old settings from the sync log manually FYI

Same, my company got a business trial license and now the chat is gone. Was there before on my personal preview license
Version: 1.88.0-insider (user setup)
Commit: d73fa8b14a6c873958d00a7d7ad13fcb540a052c
Date: 2024-03-05T05:47:29.930Z
Electron: 28.2.5
ElectronBuildId: 27336930
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

hi @roblourens @lramos15  just wanted to ask if you know who I could route this to?

Same on VS20222 17.9.2

same on VS Code Insiders 1.88.0

Got it back, also received email "[GitHub] You have been granted access to Copilot Chat in the IDE"
Version: 1.88.0-insider (user setup)
Commit: ea142b5ccdcb797b1de6b1a46fecbf25dea2e229
Date: 2024-03-06T05:47:45.312Z
Electron: 28.2.5
ElectronBuildId: 27336930
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

Got it back, also received email "[GitHub] You have been granted access to Copilot Chat in the IDE"
Version: 1.88.0-insider (user setup) Commit: ea142b5ccdcb797b1de6b1a46fecbf25dea2e229 Date: 2024-03-06T05:47:45.312Z Electron: 28.2.5 ElectronBuildId: 27336930 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Windows_NT x64 10.0.22631

Did you do anything to get it back?

Still cannot send any message to the chat

I got this when clicking "Send Chat Feedback"
command 'github.copilot.interactiveSession.feedback' not found

No sorry, my issue was different, I didn't have chat window/button at all, likely due to the license change

I have the same issue, Copilot Chat window is blank, it will not launch in a separate window either. It was playing up before it completely went blank. Previously it accepted one comment, it would respond, then after that I'd get nothing. Now it is just completely blank and non responsive. Any ideas?
Just a thought I have copilot on my windows machine now as part of the windows update. I'm not sure if this has anything to do with it .

Please make sure you have the latest version of VS Code and the Copilot Chat extension installed. If so, please share the log from the Copilot Chat channel

Might be resolved now. Had a similar issue with VS code version 1.87.2
Did a vs code user install for the previous version 1.86.2 and that fixed it. Seems like a missing file in the new version
https://update.code.visualstudio.com/1.86.2/win32-x64-user/stable

Sorry for the late response, I forgot to reply here.
I fixed it with a clean reinstall of the IDE and all my extensions. After my recovery from last saved point on Winodws it messed with either the IDE or extensions.


[Bug]: Unintended Description Formatting

Is there an existing issue for this?

[X] I have searched the existing issues

Project Name
WinGet Automation
What happened?
I'm not sure if this is an issue from WinGet Automation or Komac, but one of them is splitting every sentence into new lines in the Description field of the manifest, ending up too many paragraphs.
For example:
https://github.com/microsoft/winget-pkgs/pull/116460/files#diff-8daa0413cffc563ee1bbd60ecfd15bf0906bbc9812d97aec069331b01de795d5R17-R23
There were only 4 paragraphs in the description field, but now there are 7.

It's a Komac bug @russellbanks

This is intentional for description formatting to avoid really long lines with multiple sentences. Each sentence is put on a new line to make it more readable and formatted.
If you don't want it, I could add a toggle to Komac for this behaviour?

@SpecterShell

Sorry for late reply. I prefer not as it could break the structure of the text, especially for those with cascading lists such as the one in Redisant.RabbitMQAssistant. 🤔
What do you mean by "making it more readable and formatted"? It may look good in terminal but strange in GUI or webpage (if exist). 🤔
BTW Does it also affect ReleaseNotes? In this PR part of the text disappeared after "updating".

BTW Does it also affect ReleaseNotes? In this PR part of the text disappeared after "updating".

I think the release notes formatter has missed that part. Rest everything is fine, I guess.
/cc @russellbanks

Another example for ReleaseNotes from https://github.com/microsoft/winget-pkgs/pull/115107, where some whitespaces were replaced by another character.

@russellbanks


Allow anonymous schema introspection from federation gateway

Product
Hot Chocolate
Is your feature request related to a problem?
We have several graphql domain services we are federating through a gateway, via federation with schema polling → Federation with Polling

Each of our domain services has a fallback authentication policy that enforces authentication on all end points in the service. This is in place so that a developer does not have to remember adding authentication to every end point.

Below screenshot shows a snip of how we add this fallback policy to our domain service:

Our problem is that → this fallback authentication policy also enforces authentication on the “/graphql”endpoint produced by Hot Chocolate. This is fine, except for the purposes of schema introspection from the gateway. When the gateway starts up and polls for schemas, schema introspection fails with a 401-UnAuthorized response because the domain service is expecting authentication from caller (gateway)

Is there a setting in Hot Chocolate’s authorization middleware that will allow for anonymous introspection of schemas while requiring authentication on other types of queries?
We do have a temporary solution to get around this problem:

When calling MapGraphQL(), we open up the “/graphql” endpoint to be completely anonymous by calling AllowAnonymous()
Then we decorate our queries and mutations with the [Authorize] attribute which adds authentication to the “/graphql” endpoint.

We have already tried the following things in our domain services, to make schema introspection anonymous. But none of these have worked:

The solution you'd like
In this comment and this one in similar issues reported previously, you mentioned that it was now possible in Hot Chocolate.
Can you please provide instructions on how to allow schema introspection without being authenticated, or running into 401-Unauthorized responses? Thanks!

There are I think some misconceptions ... The AllowAnonymous on MapGraphQL is transport authentication ... which has nothing to do with the GraphQL authorization. In most cases I would say this creates most problems.
You can secure your GraphQL types and remove and authentication from the MapGraphQL method.

Have you considered just dumping the schema at build time ... its far more efficient.

Hi @michaelstaib No, we have not tried this --> "Have you considered just dumping the schema at build time ... its far more efficient."
Can you give us some clues on how we can do this, or where to start? Thanks!

Did you end up finding any solution @hrshv6 ? I'm struggling with the same issue.


Correct cbor encoding of integers 2^53 < N < 2^64 as 64bit

Currently, any number that isn’t a "safe integer" in JavaScript definition is encoded as a CBOR big number. The issue is that also includes numbers in the range 2^53 < N < 2^64 that should instead be encoded as 64bit CBOR numbers. This is especially important for hardware wallets that doesn’t support bignums.
The relevant code is here: https://github.com/mpizenberg/elm-cardano/blob/e23413ab78d70ce4168670b0202352f2bead219b/src/Cbor/Encode/Extra.elm#L31

Starting to work on a fix for this.

Done in #69


Corrupt list in ipc_task, causes infinite loop

Watchdog reset because of infinite loop,
pxNext points to self and finds itself stuck in an infinite loop.
v2,0 works fine,
This was with version f9fba35d1d226d8cab513e400d5a3012d4cf5a0e
(gdb) where
#0  0x4008529e in vListInsert (pxList=0x3ffae5f4, pxNewListItem=0x3ffaeb88)
at /home/olas/esp/esp-idf/components/freertos/./list.c:188
#1  0x400847cb in vTaskPlaceOnEventList (pxEventList=0x3ffae5f4, xTicksToWait=4294967295)
at /home/olas/esp/esp-idf/components/freertos/./tasks.c:2847
#2  0x400836f3 in xQueueGenericReceive (xQueue=0x3ffae5d0, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0)
at /home/olas/esp/esp-idf/components/freertos/./queue.c:1586
#3  0x4008108b in ipc_task (arg=0x0) at /home/olas/esp/esp-idf/components/esp32/./ipc.c:52
(gdb) p *pxIterator
$7 = {xItemValue = 1, pxNext = 0x3ffaeb88, pxPrevious = 0x3ffaeb88, pvOwner = 0x3ffaeb6c, pvContainer = 0x3ffae5f4}
(gdb) p pxList->xListEnd
$8 = {xItemValue =<PHONE_NUMBER>, pxNext = 0x3ffaeb88, pxPrevious = 0x3ffaeb88}
void vListInsert( List_t * const pxList, ListItem_t * const pxNewListItem )
{
...
	for( pxIterator = ( ListItem_t * ) &( pxList->xListEnd ); pxIterator->pxNext->xItemValue <= xValueOfInsertion; pxIterator = pxIterator->pxNext ) /*lint !e826 !e740 The mini list structure is used as the list end to save RAM.  This is checked and valid. */
	{
		/* There is nothing to do here, just iterating to the wanted
		insertion position. */
	}

Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0)
Register dump:
PC      : 0x40080b34  PS      : 0x00060034  A0      : 0x800842df  A1      : 0x3ffaea40
0x40080b34: ipc_task at /home/olas/esp/esp-idf/components/esp32/./ipc.c:106
A2      : 0x3ffae5e0  A3      : 0x3ffaeb74  A4      : 0x00060020  A5      : 0x3ffe3b30
A6      : 0x00000000  A7      : 0x00000000  A8      : 0x3ffaeb74  A9      : 0x3ffaeb74
A10     : 0x00000001  A11     : 0x00000001  A12     : 0x00060020  A13     : 0x3ffe3b10
A14     : 0x3ffb13dc  A15     : 0x00000000  SAR     : 0x00000000  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000
Backtrace: 0x40080b34:0x3ffaea40 0x400842df:0x3ffaea60 0x400832bf:0x3ffaea80 0x40080b63:0x3ffaeac0
0x40080b34: ipc_task at /home/olas/esp/esp-idf/components/esp32/./ipc.c:106
0x400842df: xPortGetCoreID at /home/olas/esp/esp-idf/components/freertos/./tasks.c:4415
(inlined by) vTaskPlaceOnEventList at /home/olas/esp/esp-idf/components/freertos/./tasks.c:2852
0x400832bf: xQueueGenericReceive at /home/olas/esp/esp-idf/components/freertos/./queue.c:2034
0x40080b63: ipc_task at /home/olas/esp/esp-idf/components/esp32/./ipc.c:106
If you find your application is crashing here then likely causes are
                             1) Stack overflow -
                                see http://www.freertos.org/Stacks-and-stack-overflow-checking.html
                             2) Incorrect interrupt priority assignment, especially on Cortex-M
                                parts where numerically high priority values denote low actual
                                interrupt priorities, which can seem counter intuitive.  See
                                http://www.freertos.org/RTOS-Cortex-M3-M4.html and the definition
                                of configMAX_SYSCALL_INTERRUPT_PRIORITY on
                                http://www.freertos.org/a00110.html
                             3) Calling an API function from within a critical section or when
                                the scheduler is suspended, or calling an API function that does
                                not end in "FromISR" from an interrupt.
                             4) Using a queue or semaphore before it has been initialised or
                                before the scheduler has been started (are interrupts firing
                                before vTaskStartScheduler() has been called?).
                     **********************************************************************/

#0  0x40084dbe in vListInsert (pxList=0x3ffae5e0, pxNewListItem=0x3ffaeb74)
at /home/olas/esp/esp-idf/components/freertos/./list.c:188
#1  0x400842df in vTaskPlaceOnEventList (pxEventList=0x3ffae5e0, xTicksToWait=4294967295)
at /home/olas/esp/esp-idf/components/freertos/./tasks.c:2847
#2  0x400832bf in xQueueGenericReceive (xQueue=0x3ffae5bc, pvBuffer=0x0, xTicksToWait=4294967295, xJustPeeking=0)
at /home/olas/esp/esp-idf/components/freertos/./queue.c:1586
#3  0x40080b63 in ipc_task (arg=0x0) at /home/olas/esp/esp-idf/components/esp32/./ipc.c:52

This looks very much like https://github.com/espressif/esp-idf/issues/496, could you please check the workaround suggested there?

Should be fixed in 8915c18. If you are still getting the issue, please reopen.

It did not solve the problem, it moved the problem.
Removing nvs_flash_init(); got me further but tasks get stuck later. If you make a few resets works for a while.
in esp-idf version 47b8f78cb0e15fa43647788a808dac353167a485 my example runs fine.
Are you sure that esp-idf does not
3) Call an API function from within a critical section or when
the scheduler is suspended, or calling an API function that does
not end in "FromISR" from an interrupt.
4) Use a queue or semaphore before it has been initialised or
before the scheduler has been started (are interrupts firing
before vTaskStartScheduler() has been called?).

Are you able to reproduce this with one of the examples? Is this in single core mode?

Yes.  Problems in both singel core and multicore mode. I use the i2c driver and write to a display. This Will most likely  cause lots of i2c data traffic and lots of interupts. I Will test again With The i2c exemple.  But also please check The Ipc_task and Ipc_task init functions.

I was able to reproduce with examples/protocols/https_request
Just add a blinky task.
xTaskCreatePinnedToCore(&blink_task, "blink", 4096, NULL, 20, NULL,0);
#define BLINK_GPIO 5
void blink_task(void *pvParameters)
{
gpio_pad_select_gpio(BLINK_GPIO);
gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT);
for (;;) {
      gpio_set_level(BLINK_GPIO, 0);
      vTaskDelay(1000 / portTICK_RATE_MS);
      gpio_set_level(BLINK_GPIO, 1);
      vTaskDelay(1000 / portTICK_RATE_MS);
}

}

Note. I retested on a clean devboard and the example runs fine. It could be hardware related.
This was the example with problems.
https://github.com/Ebiroll/qemu_esp32/tree/master/examples/06_1306_interactive
I will test some more but  note that when running in qemu, breaking in ipc_task always gives,
internal-error: inline_frame_this_id: Assertion `!frame_id_eq (*this_id, outer_frame_id)' failed.
Is ipc_task getting enough stack space?
I will investigate more.

OK. The example actually worked on the duino. The error might have been my poor soldering skills. :-(
However I am not able to run in QEMU single core or multicore anymore because pxIterator is the same as pxIterator->pxNext when called from ipc_task. (stuck in a loop) Also my example works with the poorly soldered board but earlier version of esp-idf. I will continue to investigate this.

Is the cross-core interrupt implemented in Qemu? It is currently used quite extensively in FreeRTOS, even in single core mode.

Oh, No. You mean this isr?
static void IRAM_ATTR esp_crosscore_isr(void *arg)
xtensa_irq_init() results in
io write 164,c
So I guess qemu should generate interrupt 12 (0xc)
Whenever someone writes to,
WRITE_PERI_REG(DPORT_CPU_INTR_FROM_CPU_0_REG,DPORT_CPU_INTR_FROM_CPU_0);
I can try that.
void esp_crosscore_int_send_yield(int coreId) {
assert(coreId<portNUM_PROCESSORS);
//Mark the reason we interrupt the other CPU
portENTER_CRITICAL(&reasonSpinlock);
reason[coreId]|=REASON_YIELD;
portEXIT_CRITICAL(&reasonSpinlock);
//Poke the other CPU.
if (coreId==0) {
WRITE_PERI_REG(DPORT_CPU_INTR_FROM_CPU_0_REG,DPORT_CPU_INTR_FROM_CPU_0);
} else {
WRITE_PERI_REG(DPORT_CPU_INTR_FROM_CPU_1_REG, DPORT_CPU_INTR_FROM_CPU_1);
}
Thanks for the tip.

When DPORT_CPU_INTR_FROM_CPU_0 is written, ETS_FROM_CPU_INTR0_SOURCE is triggered.
When DPORT_CPU_INTR_FROM_CPU_1 is written, ETS_FROM_CPU_INTR1_SOURCE is triggered.
Currently we connect ETS_FROM_CPU_INTR0_SOURCE to CPU0 and ETS_FROM_CPU_INTR1_SOURCE to CPU1 (in crosscore_int.c).

I have implemented crosscore interrupts in qemu. Also fixed an issue with qemu that caused spi_flash_mmap to overwrite flash.rodata at adress 0x3f400000, DPORT_PRO_FLASH_MMU_TABLE[0] was used. https://github.com/Ebiroll/qemu_esp32
Anyway, qemu has never run better, both in single core and multicore mode. Thanks for the tip.


Update php packages

Motivation for this change
Update php packages to version 7.1.27, 7.2.16 and 7.3.3
Things done

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

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

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

Changelogs:
http://www.php.net/ChangeLog-7.php#7.1.27
http://www.php.net/ChangeLog-7.php#7.2.16
http://www.php.net/ChangeLog-7.php#7.3.3
PHP should usually be backported to stable, so if you wish to create backport PR's for the 19.03 and 18.09 branch that would be great :-)

@GrahamcOfBorg build php71 php72 php73

@Izorkin Maybe focus at the task at hand for this PR? Only the update and make sure that works? Options sure are great, but it's a separate PR.

@GrahamcOfBorg build php73

@GrahamcOfBorg build php73-embed php73

php73 just did build on #57361 on darwin. So I'll go ahead and merge this.


Azure Spot maxPrice integer with decimal places

MaxPrice is everywhere specified as an integer but it seems to allow decimal places. Looking at the datatype for integers it does not specify anything about being able to use decimal places.
Is an integer actually a floating point type? Is this documented somewhere?

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

ID: 5f8ccb0a-fdfe-431c-30ff-95597a1ed193
Version Independent ID: 49aa1650-ae08-d465-0b59-f8c26a15b9f7
Content: Use a template to deploy Azure Azure Spot Virtual Machines - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/spot-template.md
Service: virtual-machines
Sub-service: spot
GitHub Login: @cynthn
Microsoft Alias: cynthn

@mweibel Thank you for bringing this to our attention!  We are reviewing the documentation and will get back to you shortly.

VM ARM template example:
https://docs.microsoft.com/en-us/azure/templates/microsoft.compute/virtualmachines?pivots=deployment-language-arm-template

Red Hat OpenShift documentation:
https://docs.openshift.com/container-platform/4.7/machine_management/creating_machinesets/creating-machineset-azure.html

@mweibel As an update, I'd like to confirm that decimals are currently allowed for maxPrice.  We are waiting for confirmation on future behavior and the documentation will be updated accordingly.

@mweibel The documentation will be updated if needed (and I'll let you know if anything changes) but for now you are correct in that maxPrice allows decimal values.  Thank you for helping to improve the Azure docs!  We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@mweibel I wanted to follow up and confirm that we are updating maxPrice to be listed as an integer.  Thank you again for bringing this to our attention and for helping to improve the documentation!

@mweibel Decimal values are allowed for maxPrice and as such, it should not be considered an integer.  Looking at the ARM data types documentation that you linked however, it's unclear exactly what the correct update should be to properly reflect decimal values being accepted.  This is being further reviewed.

how about documenting a float? :)

@mweibel I believe that's the idea however we would need to confirm that there isn't language specific nuance that would make this inaccurate (as float describes a degree of precision in some cases).

@mweibel Digging into this further, it appears that floats are a bit more complicated in the context of an ARM template.  Since int is supported but float is not, there is a workaround that allows a string to be accepted as a float and a similar technique appears to be used here.  This is not terribly intuitive, however, and may distract from the goal of describing what value to use for maxPrice.  I've notified the document author but for the context of this document, the initial description is correct:

You have option to set a max price you are willing to pay, per hour, for the VM. The max price for a Azure Spot Virtual Machine can be set in US dollars (USD), using up to 5 decimal places. For example, the value 0.98765would be a max price of $0.98765 USD per hour. If you set the max price to be -1, the VM won't be evicted based on price. The price for the VM will be the current price for Azure Spot Virtual Machines or the price for a standard VM, which ever is less, as long as there is capacity and quota available. For more information about setting the max price, see Azure Spot Virtual Machines - Pricing.

Example of decimal-as-string
https://docs.microsoft.com/en-us/azure/templates/microsoft.sql/servers/databases?pivots=deployment-language-bicep


Colorblind support

Problem
The ARC palette is not friendly for colorblind people.
Solution
Make a settings page where the color theme can be changed.
Store the settings in local storage.

I have added a Settings page, where the theme can be changed.
https://neoneye.github.io/arc/settings.html


handling session key

With SystemWebadapters mandating the session key type, it's would be quite inconvenient for web form apps to find all session keys and put as an extension with type information in the startup. Let's brainstorm the solution around the same.

ISessionKeySerializer can be implemented to handle dynamic keys/types if needed. Does that work?

yes.. closing

working


Refresh values only instead of fields on page value refresh

Is your feature request related to a problem? Please describe.
When using the workflow prompt step of refresh field values it hampers user experience to see the whole page flash.
Describe the solution you'd like
Instead of redoing the entire field value layout, you can refresh the values only and create a smoother user experience.
Additional context
See GIF for what I mean

We had this implemented the way you suggested, not sure what happened. Should be fixed/improved so it works like you described.

Are you unable to reproduce this on the latest release?

I can and will try to squeeze it into the 2022.9.1 release, sometime next week.

Glad you could reproduce it. No rush. Let me know if there's something I can do to help.


Use HTTPS for site

Please use https for the website. It's embarrassing to use http these days. Obviously you can get a free cert from https://letsencrypt.org/ .
Also, the repo hasn't been updated in over a year even though there are so many Issues and PRs. If it's dead, please admit it and say so.

Still alive!  See https://github.com/jmespath/jmespath.site/issues/65#issuecomment-592613602.
You're right, this should be using HTTPS.  I'm working on this now.


Make available on Vcpkg

Ref: https://github.com/microsoft/vcpkg/issues/21210

Feel free to submit a PR to vcpkg that adds Luau support. If there are any changes required to CMakeLists.txt et al then of course we'll be happy to take them.


boards: Add support 01space esp32c3 0.42 oled

From https://github.com/01Space/ESP32-C3-0.42LCD/
Adapted from the XIAO ESP32C3 board.

[x] Depends on: https://github.com/zephyrproject-rtos/zephyr/pull/74885

rebased


add link to succesful xfer toast

resolves #259

hm remote isn't updating here for some reason

duping with #264


Can not update avatar url cache completely?

e.g:
I had three sizes,  (30,30), (50,50), (80,80), update cache just delete specific avatar size,   In the nav, it called {% avatar 30 %}, and invalidate_cache just deleted (30,30) avatar, and (50,50), (80,80) would not deleted.
May be can specific all sizes configuration, e.g ALL_SIZES, in setting, and
invalidate_cache looking for ALLEN_SIZES, and delete all sizes of avatar in cache backend.

I also had this issue.  We use a custom size for a thumbnail in our navbar, and the cache is not invalidated for this size when the user changes their avatar.

I was experiencing the same issue, then found some info in the documentation that fixed it for me. It seems to be solved by including any custom sizes in AVATAR_AUTO_GENERATE_SIZES, described at http://django-avatar.readthedocs.io/en/latest/index.html?highlight=AVATAR_AUTO_GENERATE_SIZES (leaving AVATAR_CACHE_ENABLED = True, the default). There's even a related management command for rebuilding the cached avatar sizes on command: https://github.com/grantmcconnaughey/django-avatar/commit/7d6c3f70d515282df64036eb46613a2335388bd8. @grantmcconnaughey this issue can probably be closed?

Sure thing, thanks for the heads up, @troyshu!


[core]Show the latest modification time of a specified partition.

Show the latest modification time of a specified partition.
for example:
A table has 3 partitions: dt, hour, and eventid, but the modify time of only one specified parition dt should be show
2023-10-30/22/click, modifyTime:100
2023-10-30/23/show,modifyTime:101
2023-10-31/00/show,modifyTime:102
tranfer to
2023-10-30,modifyTime:101
2023-10-31,modifyTime:102
Tests
FileStoreTableTestBase#testMultiParitionModifyTime

You can use SELECT MAX(update_time) FROM T$files WHERE partition='xxxx' to compute update time.


Example for TomoChain Name Service

[x] Get address
[x] Get multihash
[x] Get resolver

Added in #17