PowerShell script keeps failing

Good morning,
I am unable to deploy the App.
logs.zip
Can you help me please?

Hi @cifofs ,
Could you please go to  Resource group created --> Deployment and share the complete log of which resources failed,
kindly share the logs of app service.

Hi @cifofs,
Could you please go to Resource group created --> Deployment and share the complete log of which resources failed,
kindly share the logs of app service (resourcegroup>>App service>>deployment center>>logs>>click on number in the logs tab>>show logs).
Please refer the attached screenshot for reference.

Hello @JasthiKalyani.
Below is the log for the failed resource (teamscc-prep-function/web - Microsoft.Web/sites/sourcecontrols - BadRequest):
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"message":"Repository 'UpdateSiteSourceControl' operation failed with System.Net.WebException: The remote server returned an error: (503) Server Unavailable.\r\n   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\r\n   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Web.Hosting.Administration.Utilities.WebRequestHelper.d__7.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__41.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__31.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__5.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass323_1.<b__1>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func)\r\n   at Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl)."}]}
Update Web App Source Control Configuration error:
Error code: BadRequest
Message:
Repository 'UpdateSiteSourceControl' operation failed with System.Net.WebException: The remote server returned an error: (503) Server Unavailable. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.Utilities.WebRequestHelper.d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.TrackerContext.d__41.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.SiteRepositoryProvider.d__31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.ExternalSiteRepositoryProvider.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.Administration.WebCloudController.<>c__DisplayClass323_1.<b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Web.Hosting.AsyncHelper.RunSync[TResult](Func`1 func) at Microsoft.Web.Hosting.Administration.WebCloudController.UpdateSiteSourceControl(String subscriptionName, String webspaceName, String name, SiteSourceControl siteSourceControl).

Good morning @JasthiKalyani ,
When I try to browse the App, this is the error message:

Hi @cifofs,
Could you please try to sync the function below steps

Go to the "Deployment center" section of the function that failed to deploy.
Click on "Sync" to restart the deployment.

If the above solution does not work, please provide the screenshots of below services

Appservice(ResourceGroup>>AppService>>Deployment center>>logs).
DataFunction(ResourceGroup>>datafunction>>Deployment center>>logs).
Function(ResourceGroup>>function>>Deployment center>>logs).
PrepFunnction(ResourceGroup>>datafunction>>Deployment center>>logs).
6.Kindly mention the which version you are using.

Hi @JasthiKalyani I am really sorry for the delay on response.  I delete everything and start again (via powershell).  The deploy was successful

but when I browse the URL. I get this error:

Could you please help me with this?  Thanks in advance

This is the log:
Command: deploy.cmd
Handling ASP.NET Core Web Application deployment.
Restoring NuGet packages
Welcome to .NET Core 3.1!
SDK Version: 3.1.417
Telemetry
The .NET Core tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Find out what's new: https://aka.ms/dotnet-whats-new
Learn about the installed HTTPS developer cert: https://aka.ms/aspnet-core-https
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs
Write your first app: https://aka.ms/first-net-core-app
Determining projects to restore...
Restored C:\home\site\repository\Source\CompanyCommunicator.Send.Func\Microsoft.Teams.Apps.CompanyCommunicator.Send.Func.csproj (in 1.05 min).
Restored C:\home\site\repository\Source\Test\CompanyCommunicator.Test\Microsoft.Teams.Apps.CompanyCommunicator.Test.csproj (in 1.05 min).
Restored C:\home\site\repository\Source\CompanyCommunicator.Data.Func\Microsoft.Teams.Apps.CompanyCommunicator.Data.Func.csproj (in 6.02 sec).
Restored C:\home\site\repository\Source\CompanyCommunicator.Prep.Func\Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func.csproj (in 6.31 sec).
Restored C:\home\site\repository\Source\Test\CompanyCommunicator.Send.Func.Test\Microsoft.Teams.Apps.CompanyCommunicator.Send.Func.Test.csproj (in 1.06 sec).
Restored C:\home\site\repository\Source\Test\CompanyCommunicator.Prep.Func.Test\Microsoft.Teams.Apps.CompanyCommunicator.Prep.Func.Test.csproj (in 1 sec).
Restored C:\home\site\repository\Source\Test\CompanyCommunicator.Common.Test\Microsoft.Teams.App.CompanyCommunicator.Common.Test.csproj (in 717 ms).
Restored C:\home\site\repository\Source\CompanyCommunicator\Microsoft.Teams.Apps.CompanyCommunicator.csproj (in 2.31 sec).
Restored C:\home\site\repository\Source\CompanyCommunicator.Common\Microsoft.Teams.Apps.CompanyCommunicator.Common.csproj (in 7.95 sec).
Restoring npm packages (this can take several minutes)

<EMAIL_ADDRESS>postinstall C:\home\site\repository\Source\CompanyCommunicator\ClientApp\node_modules\babel-runtime\node_modules\core-js
node -e "try{require('./postinstall')}catch(e){}"
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\webpack-dev-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"ia32"})
Command 'starter.cmd deploy.cmd' was aborted due to no output nor CPU activity for 60 seconds. You can increase the SCM_COMMAND_IDLE_TIMEOUT app setting (or WEBJOBS_IDLE_TIMEOUT if this is a WebJob) if needed.\r\nstarter.cmd deploy.cmd
node -e "try{require('./postinstall')}catch(e){}"
Input string was not in a correct format.

Hi @cifofs ,
If this is a fresh deployment, please click on sync for  if any of the function apps or app service got  failed.  If not, please try to follow the below steps if the app service is failed.

Go to portal.azure.com. Navigate to resource group where all CC resources are deployed.
Click on the App service -> Click on Configuration
Click on WEBSITE_NODE_DEFAULT_VERSION.
Update the default value to 16.13.0 (previous value ->10.15.2)
Click on Overview and Re-Start the app service.
Once the app service is restarted. Navigate to Deployment Center and click on Sync.
Wait till the deployment is completed. You can validate this once the status changes to Success under logs.

Post this, please hit the URL to the browser and check if you are able to access and keep us posted.

Hi @gsv022 after following the steps and hitting the URL, this is the result:

Any advice?  Thanks in advance.

Hello @gsv022 , do you have any advise about the error?

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

Now, I have this error:

Hi @cifofs , If this is a fresh deployment, please click on sync for if any of the function apps or app service got failed. If not, please try to follow the below steps if the app service is failed.

Go to portal.azure.com. Navigate to resource group where all CC resources are deployed.
Click on the App service -> Click on Configuration
Click on WEBSITE_NODE_DEFAULT_VERSION.
Update the default value to 16.13.0 (previous value ->10.15.2)
Click on Overview and Re-Start the app service.
Once the app service is restarted. Navigate to Deployment Center and click on Sync.
Wait till the deployment is completed. You can validate this once the status changes to Success under logs.

Post this, please hit the URL to the browser and check if you are able to access and keep us posted.

@gsv022 this is the result now:

Hi @cifofs ,
Please share your MS Teams Id. We can connect over the call to troubleshoot the issue.

Hi @cifofs , Please share your MS Teams Id. We can connect over the call to troubleshoot the issue.

Hello @gsv022 of course, mi ID is<EMAIL_ADDRESS>

Hello @gsv022 finally the app service works.  Now, when I try to add the App on Teams, I get this error:

What I missed?

The issue was with the configuration setting and is fixed now. We did successfully sent couple of test messages hence we are closing the request.


Remove event listeners from recycled nodes that are imprecisely matched

It looks like it’s not actually possible to list events listeners for a given node. 🤔

Instead, we should probably provide a method for adding event listeners in a way that Morphlex can manage them.

Closing this for now as I don't think there's any reasonable way to support this, and none of the other DOM morphing libraries do.


Adding Thumbprint as of RFC7638

Hi Gree.
I'm using your JOSE Library for the LetsEncrypt PHP client. Thanks a lot !
I have a patch I had to create since your library was missing JWK Thumbprint (sha256 fingerprint of keys)
This pull request contains a new method named thumbprint() that returns the thumbprint of the key, and a unit test for it.
reference : https://tools.ietf.org/html/rfc7638

thanks for your contribution.
I've just released v2.1.0 :)


DOCS-5985 special character example fix

using this internally created PR to replace DOCS-5985: Fix typo in scheduler-concept.adoc #671


Fix reporting of digest type in error E097

See https://github.com/OCFL/fixtures/pull/63

In release 1.2.1


[Bug] Access mainick_keycloak_client.yaml before even created when installing the library

Using the latest version (2.1), it's trying to access the yaml config
Possible solution
When installing the library the first time, check if the yaml is properly created (check if the file yaml exist and the required fields exists). If not than create a default
appuser@cc8aad1fbc04:/var/www/symfony$ composer require mainick/keycloak-client-bundle
Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port).
Cannot create cache directory /home/appuser/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
./composer.json has been updated
Running composer update mainick/keycloak-client-bundle
Loading composer repositories with package information
Cannot create cache directory /home/appuser/.composer/cache/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
Cannot create cache directory /home/appuser/.composer/cache/repo/flex/, or directory is not writable. Proceeding without cache. See also cache-read-only config if your filesystem is read-only.
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.
Generating optimized autoload files
121 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Run composer recipes at any time to see the status of your Symfony recipes.

Executing script cache:clear [KO]
 [KO]
Script cache:clear returned with error code 1
!!  Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port).
!!
!!  In MainickKeycloakClientExtension.php line 25:
!!
!!    Warning: Undefined array key "keycloak"
!!
!!
!!  Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port).
!!  Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port).
!!  Xdebug: [Step Debug] Could not connect to debugging client. Tried: host.docker.internal:9003 (fallback through xdebug.client_host/xdebug.client_port).
!!
Script @auto-scripts was called via post-update-cmd

According to the instructions in the "Configuration" chapter of the README on GitHub, you must create the mainick_keycloak_client.yaml file before proceeding with the installation.


SD-Image Buildscript

At the moment the RaspiBlitz works with a prepared SD-Card image that can be downloaded. Its always a trust issue and the detail of this images lack of documentation.
The goal for the future would be to create a shell script that contains all the changes and installs on then OS base image. This way for anybody not trusting the prepared SD-Card image could invest some more time, take a plain Rasbian https://www.raspberrypi.org/downloads/raspbian/ ,run the shell script on and build a SD-Image fresh.

I am downloading the image at the moment. Looks to be 2.1GB compressed, how big when it's expanded and is 8GB card OK (notice you show 16GB)?

16GB card is recommended and almost same as cheap as 8GB. You could get the
image onto a 8GB .. but some cards are a little bit different in size. With
16GB card you are safe.
theCHARioT<EMAIL_ADDRESS>schrieb am Fr., 20. Juli 2018, 19:44:

I am downloading the image at the moment. Looks to be 2.1GB compressed,
how big when it's expanded and is 8GB card OK (notice you show 16GB)?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/rootzoll/raspiblitz/issues/1#issuecomment-406675443,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACW5Ifkh2gSYXrb-DID99e6kHBPjtnifks5uIhcCgaJpZM4VS8AI
.

build script is now  available - see: https://github.com/rootzoll/raspiblitz#build-the-sd-card-image
testing and feedback welcome

still some bugs after testing:

screen orientation durning 270° not effective yet
cli autologin for user pi not working

OK ... looks good so far on my test runs. So check https://github.com/rootzoll/raspiblitz#build-the-sd-card-image to build your own SD card image. Closing this issue until further bug reports.

Seeing this was the first ever issue of Raspiblitz (in this repo) is amazing, managing for zero trust since the beginning :100: :1st_place_medal:


Parameter support for cp.convolve missing

Describe the bug
cp.convolve(a, x) can give wrong results when a is parametrized. Parametrized x (and constant a) appears to be correct.
To Reproduce
n = 3
x = cp.Variable(n)
p = cp.Parameter(n)

problem = cp.Problem(cp.Minimize(cp.sum(cp.convolve(p, x))), [0 <= x, x<= 1])
assert problem.is_dpp()

p.value = np.arange(n)
problem.solve(canon_backend=cp.CPP_CANON_BACKEND)
>>> 0  # correct

p.value = -np.arange(n)
problem.solve(canon_backend=cp.CPP_CANON_BACKEND)
>>> 0  # incorrect

problem = cp.Problem(cp.Minimize(cp.sum(cp.convolve(p, x))), [x == 1])
problem.solve(canon_backend=cp.CPP_CANON_BACKEND)
>>> -9  # correct

Expected behavior
Solve correctly or have problem.is_dpp() return False.
Version

OS: Ubuntu
CVXPY Version: master (586ef7c)

Additional context

Similar issue before with cp.kron: https://github.com/cvxpy/cvxpy/issues/1656 and links therein
Python backends raise AssertionError, so only C++ is affected

Even for 1-dim case, cp.convolve(p, x) does not give a correct answer if the parameter p is negative.
import cvxpy as cp

x = cp.Variable()
p = cp.Parameter()
problem = cp.Problem(cp.Minimize(cp.convolve(p, x)), [0 <= x, x <= 1])

p.value = -1.0
problem.solve(canon_backend=cp.CPP_CANON_BACKEND)
>>> -1.274313644086471e-09  # 0, not -1

I hope to see some warning message in the documentation.

For 2-dim case, cp.convolve(p, x) does not give a correct answer even if the parameter p is nonnegative.
import cvxpy as cp

x = cp.Variable(2)
p = cp.Parameter(2)
problem = cp.Problem(cp.Minimize(cp.convolve(p, x)[1]), [0 <= x, x <= 1])

p.value = [0.0, 1.0]
problem.solve(canon_backend=cp.CPP_CANON_BACKEND)
>>> 0.4999999826934395  # 0.5, not 0 when x = [0, 0]

@chofchof can you try your example with this PR? https://github.com/cvxpy/cvxpy/pull/2427

@chofchof can you try your example with this PR? #2427

Sure. I could see the correct answer with your PR. Good work.
>>> 4.098987853038662e-11

Closed by #2427


Add barebones support for fetching a modmail conversation

This provides the basic features that bboe mentioned in #740. I've tried to leave out the parsing while making minimal changes to the surrounding code; let me know if I should include more or less.
I included a test, but it's really just a stub at this point as the test doesn't actually fetch anything.

Thanks for separating this part out. It should make the next piece even easier to review. You're awesome.


option to include only files that match a regex

my repo has both the backend and the frontend, and I'd like to be able to count only *.py files, or only *.coffee files
Can you add an option to only include files that match a regex?

I think this is a good idea, I was expecting this when I tried it

👍 for this idea.

:+1:  --exclude is definitely futile in some cases. For example, I have 100 .c files and 100 other files with DIFFERENT extensions. Do you expect me to --exclude the other 100 files or just sloc *.c?
For the moment, sloc *.c doesn't work -- it only reads one file even there are hundreds.


ReferenceError: window is not defined

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[X ] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser: None
Library version 0.2.4

Library version: 0.2.4

## Current behavior
Getting the error "window is not defined" when running in a nodejs backend api when creating new instance of Msal.UserAgentApplication. Is this not designed to be used for backend as well as frontend code? In our implementation we would be pulling the username/password from a config or secret and using the same credentials to call another API owned by a different team. Is this supported by MSAL? If not, are there plans to add such support in the future?

## Expected behavior
A new Msal.UserAgentApplication object should be  created

## Minimal reproduction of the problem with instructions

 var userAgentApplication = new Msal.UserAgentApplication(applicationConfig.clientID, null, tokenReceivedCallback, { cacheLocation: 'localStorage'});

function tokenReceivedCallback(errorDesc, token, error, tokenType) {
    if (token) {
    }
    else {
        log(error + ":" + errorDesc);
    }
}

@ksp2018 Unfortunately msal js does not support node.
Adal ( for our v1 apis ) does have a node lib adal-node
https://github.com/AzureAD/azure-activedirectory-library-for-nodejs
We will be looking at adding support for msal.js on node but have not figure out how we want to do that just yet.
Please keep an eye on our wiki (which will be getting an overhaul soon).  We will make sure to communicate roadmap for this support.

Thank you for the update


Packets get lost during copy.

Why do packets get lost during copy?
I do not even send them, just copy, merge and count and ~20% is lost somewhere.
package main

import (
	"log"
	"sync"
	"sync/atomic"
	"flag"

	"github.com/intel-go/nff-go/flow"
	"github.com/intel-go/nff-go/packet"
)

var (
	totalPackets uint64 = 10000000
	speed       uint64 = 100000

	payloadSize uint   = 16

	sentPacketsGroup1 uint64
	copyCounter uint64

	recvPackets       uint64
	testDoneEvent *sync.Cond
)

func main() {
	flag.Uint64Var(&speed, "speed", speed, "speed of 1 and 2 generators, Pkts/s")
	flag.Uint64Var(&totalPackets, "totalPackets", totalPackets, "total number of packets to receive by test")
	flag.Parse()
	// Init NFF-GO system
	config := flow.Config{
		DPDKArgs: []string{"--log-level=0"},
	}
	flow.CheckFatal(flow.SystemInit(&config))
	var m sync.Mutex
	testDoneEvent = sync.NewCond(&m)

	flow1, err := flow.SetFastGenerator(generatePacketGroup1, speed, nil)
	flow.CheckFatal(err)

	flow2, err := flow.SetCopier(flow1)
	flow.CheckFatal(err)

	flow.CheckFatal(flow.SetHandler(flow2, countCopyPackets, nil))

	checkedFlow, err := flow.SetMerger(flow1, flow2)
	flow.CheckFatal(err)

	flow.CheckFatal(flow.SetHandler(checkedFlow, checkPackets, nil))
	flow.CheckFatal(flow.SetStopper(checkedFlow))

	// Start pipeline
	go func() {
		err = flow.SystemStart()
	}()
	flow.CheckFatal(err)

	// Wait for enough packets to arrive
	testDoneEvent.L.Lock()
	testDoneEvent.Wait()
	testDoneEvent.L.Unlock()

	recv := atomic.LoadUint64(&recvPackets)
	generated := atomic.LoadUint64(&sentPacketsGroup1)
	copied := atomic.LoadUint64(&copyCounter)
	println("counted recv: ", recv)
	println("generated: ", generated)
	println("copied: ", copied)
	println("recv/generated should be 2, got: ", float64(recv) / float64(generated))
	println("lost ", generated - copied, " packets")
}

func generatePacketGroup1(pkt *packet.Packet, context flow.UserContext) {
	if pkt == nil {
		log.Fatal("Failed to create new packet")
	}
	if packet.InitEmptyIPv4UDPPacket(pkt, payloadSize) == false {
		log.Fatal("Failed to init empty packet")
	}

	// We do not consider the start time of the system in this test
	if atomic.LoadUint64(&recvPackets) < totalPackets {
		atomic.AddUint64(&sentPacketsGroup1, 1)
	}
}

// Count and check packets in received flow
func checkPackets(pkt *packet.Packet, context flow.UserContext) {
	if atomic.AddUint64(&recvPackets, 1) >= totalPackets {
		testDoneEvent.Signal()
		return
	}
}

// Count and check packets in received flow
func countCopyPackets(pkt *packet.Packet, context flow.UserContext) {
	atomic.AddUint64(&copyCounter, 1)
}

output:
counted recv:  1000384
generated:  836928
copied:  500192
recv/generated should be 2, got:  +1.195305e+000
lost  336736  packets

Please, make reproducer without merge. OR use copy test from testDivide. Will you be able to reproduce in these conditions?

Without merge:
package main

import (
	"log"
	"sync"
	"sync/atomic"
	"flag"

	"github.com/intel-go/nff-go/flow"
	"github.com/intel-go/nff-go/packet"
)

var (
	totalPackets uint64 = 1000000
	speed       uint64 = 10000

	payloadSize uint   = 16

	sentPacketsGroup1 uint64
	copyCounter uint64

	recvPackets       uint64
	testDoneEvent *sync.Cond
)

func main() {
	flag.Uint64Var(&speed, "speed", speed, "speed of 1 and 2 generators, Pkts/s")
	flag.Uint64Var(&totalPackets, "totalPackets", totalPackets, "total number of packets to receive by test")
	flag.Parse()
	// Init NFF-GO system
	config := flow.Config{
		DPDKArgs: []string{"--log-level=0"},
	}
	flow.CheckFatal(flow.SystemInit(&config))
	var m sync.Mutex
	testDoneEvent = sync.NewCond(&m)

	flow1, err := flow.SetFastGenerator(generatePacketGroup1, speed, nil)
	flow.CheckFatal(err)

	flow2, err := flow.SetCopier(flow1)
	flow.CheckFatal(err)

	flow.CheckFatal(flow.SetHandler(flow2, countCopyPackets, nil))

	// checkedFlow, err := flow.SetMerger(flow1, flow2)
	// flow.CheckFatal(err)

	// flow.CheckFatal(flow.SetHandler(checkedFlow, checkPackets, nil))
	// flow.CheckFatal(flow.SetStopper(checkedFlow))

	flow.CheckFatal(flow.SetHandler(flow1, checkPackets, nil))
	flow.CheckFatal(flow.SetStopper(flow1))
	flow.CheckFatal(flow.SetHandler(flow2, checkPackets, nil))
	flow.CheckFatal(flow.SetStopper(flow2))

	// Start pipeline
	go func() {
		err = flow.SystemStart()
	}()
	flow.CheckFatal(err)

	// Wait for enough packets to arrive
	testDoneEvent.L.Lock()
	testDoneEvent.Wait()
	testDoneEvent.L.Unlock()

	recv := atomic.LoadUint64(&recvPackets)
	generated := atomic.LoadUint64(&sentPacketsGroup1)
	copied := atomic.LoadUint64(&copyCounter)
	println("counted recv: ", recv)
	println("generated: ", generated)
	println("copied: ", copied)
	println("recv/generated should be 2, got: ", float64(recv) / float64(generated))
	println("lost ", generated - copied, " packets")
}

counted recv:  1000440
generated:  729824
copied:  474522
recv/generated should be 2, got:  +1.370796e+000
lost  255302  packets

I can't reproduce it:
counted recv:  1001290
generated:  500671
copied:  500645
recv/generated should be 2, got:  +1.999896e+000
lost  26  packets

counted recv:  1001171
generated:  500160
copied:  500584
recv/generated should be 2, got:  +2.001701e+000
lost<PHONE_NUMBER>3709551192  packets

Your reproducer is very unstable because you have speed and target number of packets that result in immediate stopping. Hard to tell the results of it, however at least scheduler can't clone copy for example. And can't slow down fast generator. If you launch multiple times you will see different results. You should make  more stable reproducer. Which works for example 3-5 seconds. To make it you should increase total number of packets or reduce speed of Fast Generator. Note that our applications are required some time for stabilize due to sched_time = 1.5 seconds by default. Due to this reason all tests have 10 seconds free period and count packets only after it. You removed this period for some reason. So you calculations are random.

It works when you set 10 seconds for system start and sends enough amount of packets.
Thanks, close this.


[Question] Formatting of header parameters based on media type

Hi,
OpenAPI 3.0.x defines 2 ways to specify the formatting of parameters:

using "schema" plus "style", for simple parameters
using "content" plus a media type, such as "application/json", for complex parameters

My doubt is: can the second option ("content") be used as well with "header" parameters?
In other words, is the following excerpt allowed? (from spec point of view, regardless of tooling support):
name: token
in: header
description: token to be passed as a header
required: true
content:
  application/json:
    schema:
      $ref: '#/components/schemas/Token'

Any view?
Thanks in advance!

I think this use case is technically correct, but is unlikely to be well supported in tooling (which I think you know). Also since this issue has been open some time without engagement, I'll now close it.


timit las loss large

i run the lastest code,and get the result maybe error.
WORKER 0: step 0/520 loss: 235.286392, learning rate: 0.001000.
the loss is to large,but old code isnot.

I changed te way the loss is computed. Now it is the sum over all timesteps instead of the average. This explains why it is so high.


lib/options: add mkAllocModule

Description of changes
Reference implementation for https://github.com/NixOS/rfcs/pull/159

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Now I need to figure out how to write automated unit tests xD


migrate to container-based Travis CI

It will make Travis CI builds faster ( and prevent problems when non-container-based gets deprecated ).

If you feel like porting https://github.com/GodotBuilder/godot-builds/blob/master/.travis.yml next :P (probably harder, though apparently for osx we can still use brew install, so only the multilib stuff needs to be added I guess).

W dniu poniedziałek, 7 marca 2016 Rémi Verschelde<EMAIL_ADDRESS>napisał(a):

If you feel like porting
https://github.com/GodotBuilder/godot-builds/blob/master/.travis.yml next

What do you think about breakin that into two branches? One for 64 and one
for 32 bits. It could be easier to maintain.

The problem is that for some platforms we need to build both arches in one build job, e.g. for iphone (as then we produce a universal binary for both arches using lipo). Also the deploy happens only when pushing a git tag, so we'd have to push two tags each time to get all builds.

iPhone is not a problem. The only platform I see that could be problematic
is X11 for 32/64 ( because of apt ). We will see.
W dniu poniedziałek, 7 marca 2016 Rémi Verschelde<EMAIL_ADDRESS>napisał(a):

The problem is that for some platforms we need to build both arches in one
build job, e.g. for iphone (as then we produce a universal binary for both
arches using lipo). Also the deploy happens only when pushing a git tag,
so we'd have to push two tags each time to get all builds.
—
Reply to this email directly or view it on GitHub
https://github.com/godotengine/godot/pull/3974#issuecomment-193326224.


Update README.md

maybe you have renamed your service provider but the one on the doc doesn't match with the actual provider.

Thanks!


Getting scaled data to plot with both banded contours and line contours

The linked notebook shows two plots.  The first is a classic linear plot with banded contours and thin black lines at the edges of the contours.  It looks great.  Below that plot is another where I have taken the base 10 log of the data.  The banded contour looks great but the black lines don't show up at the edges of contours.
@banesullivan Can you take a look at this?

I think they all should be uploaded to our shared Google Drive folder.  Please let me know if there are any specific files still missing!

Just having some trouble download large files from Google Drive... we may need to find an alternative mechanism for sharing the larger files

It appears the VTK algorithm is struggling with the -inf values (and also NaN). Perfroming a slight modification of the inut values before the log operation seems to help (adding 0.0001 to avoid a log(0)):
mesh.cell_data["data"] = np.log10(ds["cumulative_slip"][40000, :] + 0.0001)

Then, since the CONTOUR_LEVELS is a logspace, we need to set log_scale=True, in the add_mesh() arguments to make sure the n_colors are discretized in the log space so that the colors will align with the contour edges.

@banesullivan Awesome!  Can you push these changes to the repo so that it's documented in code?


Networkign blog and images

What are your changes?
What is the urgency level of this change?

[ ] Blocker
[x] High
[ ] Medium

I have completed these items:

[x] I have built locally and tested for broken links and formatting.
[x] If appropriate, I have added redirects.

If you included a comment with your commit, it appears here:

Hey, @ryadav88 I'm just waiting on this last build test to pass, and if it does, this is ready to merge. The link that the other test failed on is a link in the developer's guide to the universe blog that points to itself, so it should stop being broken as soon as that blog post goes live.


Feature/develop iris frontend

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[ ] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[ ] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[ ] I chose a title conforming to the naming conventions for pull requests.

Server

[ ] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[ ] I followed the coding and design guidelines.
[ ] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[ ] I added pre-authorization annotations according to the guidelines and checked the course groups for all new REST Calls (security).
[ ] I documented the Java code using JavaDoc style.

Client

[ ] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[ ] I followed the coding and design guidelines.
[ ] Following the theming guidelines, I specified colors only in the theming variable files and checked that the changes look consistent in both the light and the dark theme.
[ ] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[ ] I added authorities to all new routes and checked the course groups for displaying navigation elements (links, buttons).
[ ] I documented the TypeScript code using JSDoc style.
[ ] I added multiple screenshots/screencasts of my UI changes.
[ ] I translated all newly inserted strings into English and German.

Changes affecting Programming Exercises

[ ] I tested all changes and their related features with all corresponding user types on Test Server 1 (Atlassian Suite).
[ ] I tested all changes and their related features with all corresponding user types on Test Server 2 (Jenkins and Gitlab).

Motivation and Context

Description

Steps for Testing

Prerequisites:

1 Instructor
2 Students
1 Programming Exercise with Complaints enabled

Log in to Artemis
Navigate to Course Administration
...

Exam Mode Testing

Prerequisites:

1 Instructor
2 Students
1 Exam with a Programming Exercise

Log in to Artemis
Participate in the exam as a student
Make sure that the UI of the programming exercise in the exam mode stays unchanged. You can use the exam mode documentation as reference.
...

Review Progress

Performance Review

[ ] I confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[ ] I confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Exam Mode Test

[ ] Test 1
[ ] Test 2

Test Coverage

Screenshots

We try to avoid the term frontend

For me it looks like the response from Iris is cut off

@SolizerCodes I think that's how the LLM responds. Here is the content that is sent by the server
{
  "id": 112,
  "sentAt": "2023-06-02T21:00:35Z",
  "sender": "LLM",
  "content": [
    {
      "id": 112,
      "textContent": "Sure, here's an implementation of bubble sort in Java:\n\n```\npublic static void bubbleSort(int[] arr) {\n    int n = arr.length;\n    for (int i = 0; i < n-1; i++) {\n        for (int j = 0; j < n-i-1; j++) {\n            if (arr[j] > arr[j+1]) {\n                // swap arr[j] and arr[j+1]\n                int temp = arr[j];\n"
    }
  ]
}

For me it looks like the response from Iris is cut off

This is probably, because TS9 is currently configured to only generate responses up to 100 Tokens. I've increased this 500 now.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop-iris@a0b883e). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@               Coverage Diff               @@
##             develop-iris    #6640   +/-   ##
===============================================
  Coverage                ?   80.46%
  Complexity              ?    13686
===============================================
  Files                   ?     2432
  Lines                   ?    92324
  Branches                ?    12924
===============================================
  Hits                    ?    74289
  Misses                  ?     9904
  Partials                ?     8131

Flag
Coverage Δ

client
76.18% <0.00%> (?)

server
85.13% <0.00%> (?)

Continue to review full report in Codecov by Sentry.

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

tested on ts9 iris chat opened correctly, was not able to submit any messages

could u pls elaborate? did u encounter any error when clicking on the submit button? could u give the steps to reproduce that?

As I mentioned, I am able to open the Iris chat but this is what happens. No initial message, nor answer, nor showing the submitted message

As I mentioned, I am able to open the Iris chat but this is what happens. No initial message, nor answer, nor showing the submitted message

the reason could be that Iris is disabled for this exercise due to the PR from Tobias. Could you try to go Demo Course or Yao test course? Iris is enabled in those courses' exercises

As I mentioned, I am able to open the Iris chat but this is what happens. No initial message, nor answer, nor showing the submitted message

the reason could be that Iris is disabled for this exercise due to the PR from Tobias. Could you try to go Demo Course or Yao test course? Iris is enabled in those courses' exercises

Yes, on the other course it works correctly :) good job


[TypeTester] Adding more (optional) manipulation sliders to TypeTester

It would be great to have additional sliders for:

letter spacing
line height
(maybe:) word spacing

Maybe we should have a generic way to make such sliders. like:

This case would manipulate the css font-size property. But I think this would suffice to create all the sliders you are asking for, so I think the effort would be well justified.

Not sure how close this is a) to what you had in mind or b) if it's implemented thoroughly enough, but it's a starting point.
Essentially ...__slider classed elements get populated with a range input, and ..._label classed elements with text, bound together by their shared data-target-property.
In particular I'm not sure if how I've handled deducting defaults from the slider is the best way to go.
Let me know what you think ;)

When you do a PR I can post comments into the diffs.

I just created #9


Change build tool from SBT to Gradle

@CharlesAHunt @kpasagada, we discussed using Mill as our Scala Build tool of choice. If it's ok with you guys, we can change it to "migrate to Mill" and I'll grab it.

@ChallenHB Sounds good to me. As a part of the same ticket, could we also clean up unused gradle and sbt files?


SBT Launcher doesn't handle spaces in system properties

steps
sbt -v -Dsbt.override.build.repos=true -Dsbt.boot.realm='Sonatype Nexus Repository Manager' -Dsbt.boot.host='nexus.company.com' -Dsbt.boot.user='myusername' -Dsbt.boot.password='mypassword'

problem
For the above command I get the following output:
SBT Launcher doesn't handle spaces in system properties.
[process_args] java_version = '1.8.0_102'
# Executing command line:
java
-Dsbt.override.build.repos=true
-Dsbt.boot.realm='Sonatype
Nexus
Repository
Manager'
-Dsbt.boot.host='nexus.company.com'
-Dsbt.boot.user='myusername'
-Dsbt.boot.password='mypassword'
-jar
/usr/share/sbt/bin/sbt-launch.jar

Error: Could not find or load main class Nexus

It seems to be splitting on spaces naively and thus Nexus appears as a new command
expectation
Should handle spaces when it's quoted.
notes
I had a look at the launcher script /bin/sbt but I cannot put my finger on where exactly it's splitting it.
If someone can point me in the right direction I'll send in a PR.
Stumbled upon this when trying to get sbt launcher to download sbt through a proxy nexus server (#576 #731)

Fixed :)

Closing this thanks to https://github.com/sbt/sbt-launcher-package/pull/146

Sweet thanks!

A similar problem arises when one tries to set these values via SBT_OPTS:
$ export SBT_OPTS="-Dsbt.override.build.repos=true -Dsbt.boot.realm='Sonatype Nexus Repository Manager' -Dsbt.boot.host=localhost -Dsbt.boot.user=user -Dsbt.boot.password=password"
$ sbt run
Error: Could not find or load main class Nexus

What version of SBT launcher are you using? This should be fixed as of 0.13.14 (note the issue is in the launcher script I believe. setting the version in project/build.properties won't help)

This is with SBT 0.13.15.  The arguments are parsed correctly when they are defined as separate system properties.
This works fine:
$ sbt -Dsbt.boot.realm='Sonatype Nexus Repository Manager'
This does not:
$ export SBT_OPTS=-Dsbt.boot.realm='Sonatype Nexus Repository Manager'
$ sbt

@rmcloughlin have you tried $ sbt "-Dsbt.boot.realm=Sonatype Nexus Repository Manager"?


Change submitter on this resource

The Submitter for this resource has to be updated. The new submitter should be Christie Nairn<EMAIL_ADDRESS>Crystal needs this edit soon for Awards judging and communications. Note that we have a ticket request to allow us to edit submitter info in the admin - #545.
Let me know if you have any questions.

Has Christie ever logged in to the Hub? I am attempting to locate a User record for them so I can set the submitted_by value for this resource, but they do not appear to be a Hub User. I believe they could become a Hub User, simply by logging in once.
Until they become a User in the Hub, I cannot set them as the submitter.

That's strange. The user says she logged into the Hub under the<EMAIL_ADDRESS>email. Do you have that account on record, @dodget ? I can't find it in Membersuite.

Hm, no I don't see a User record with that email in the Hub.

Weird things are happening!
I will submit a separate ticket about some weird syncing issues.

Resolved - closing


Tweaked the installation instructions

Based on the edits in https://github.com/getcarina/getcarina.com/pull/612

:+1:


update for newer plots

Write recipes...

This is somewhat pressing. For now, the plotting feature has been deprecated so that SymPy will compile. It might be best to move the plotting into a package, as maintaining 0.3 compatability would be nice, but my suspicions are not possible using RecipesBase.

Okay, here is what I have tried for Plots v"0.7.0":
using RecipesBase
@recipe f{T<:Sym}(::Type{T}, v::T) = lambdify(v)

@recipe function f(ex1::Sym, ex2::Sym,  a::Real, b::Real) # for 2, 3D parametric plots
    ts = linspace(a, b, 251)
    map(lambdify(ex1), ts), map(lambdify(ex2), ts)
end

@recipe function f(ex1::Sym, ex2::Sym,  ex3::Sym, a::Real, b::Real)
    ts = linspace(a, b, 251)
    map(lambdify(ex1), ts), map(lambdify(ex2), ts), map(lambdify(ex3), ts)
end

@recipe function f(ex::Vector{Sym}, a::Real, b::Real) # for contour plots
    (map(lambdify, ex), a, b)
end

I don't think the last three are the correct way to do this.
Also, I can't seem to get quiver to work as it did before. Is there a new invocation?

Cool, it is working now for contours and parametric plots. Thanks. Does quiver work though in general? I'm never sure of the syntax, but the example code here https://github.com/tbreloff/Plots.jl/issues/262 throws an error for me.

Wait, didn't test this one:
using SymPy, RecipesBase
@recipe f{T<:Sym}(::Type{T}, v::T) = lambdify(v)
@vars x
plot([x, -x], 0,1)

That complains:
WARNING: [a,b] concatenation is deprecated; use [a;b] instead
 in depwarn at deprecated.jl:73
 in oldstyle_vcat_warning at /Applications/Julia-0.4.5.app/Contents/Resources/julia/lib/julia/sys.dylib
 in vect at abstractarray.jl:32
while loading no file, in expression starting on line 0
ERROR: DivideError: integer division error
 [inlined code] from /Users/verzani/.julia/v0.4/Plots/src/series_new.jl:104
 in __apply_recipe#70__ at /Users/verzani/.julia/v0.4/RecipesBase/src/RecipesBase.jl:235
 in _plot! at /Users/verzani/.julia/v0.4/Plots/src/plot.jl:234
 in plot at /Users/verzani/.julia/v0.4/Plots/src/plot.jl:52

Whereas
plot([x->x, x->-x], 0, 1)

Works as expected.

This works for me:
julia> using Plots

julia> using SymPy, RecipesBase

julia> @recipe f(::Type{Sym}, v::Sym) = lambdify(v)
apply_recipe (generic function with 65 methods)

julia> @recipe f{S<:AbstractVector{Sym}}(::Type{S}, ss::S) = Function[lambdify(s) for s in ss]
apply_recipe (generic function with 66 methods)

julia> @vars x
(x,)

julia> plot([x, -x], 0,1)
[Plots.jl] Initializing backend: pyplot

I'd like to eventually handle vectors and matrices of type recipes automatically, but for now you have to define the conversion yourself.
As for the quiver, I just pushed a fix to dev... that example works for me.

Closed with 5938ee4ea36c36e77250304a640649034cf91651


Spliceosome malfunction causes neurodevelopmental disorders with overlapping features

https://www.jci.org/articles/view/171235

RBFOX1 and PRPF19 are not in OMIM yet.
Added data from U2AF2


Support joint incremental Groovy compilation

Currently, incremental Groovy compilation only works for files compiled by the Groovy compiler. Java files are compiled by the Java compiler.
We need to add some tests and see how we can make that work.
One option could be that we do a full rebuild if a Java file changes.

Fixed via #9890 which ensures that there is a full recompilation when a Java file changes.


[Weekly Journal] Add the previous and following months to page-tag property if date format yyyy-MM-dd or yyyy/MM/dd

Originally posted by @YU000jp in https://github.com/YU000jp/logseq-plugin-show-weekday-and-week-number/discussions/64#discussioncomment-6353553


Tag a release

With the launch of modules and the release of dep, could you please tag a release for this repository? Thanks!

FYI going to get a version tagged but I'd like to merge #187 first

Done - 0.1.0


Feature idea: biplot

Have you considered to enhance this package by biplots, as discussed in this SO thread?
Also, I see some potential overlap with the PCA package, though prince appears fitter with regard to the methods. Also, I'm not totally convinced by the API design of the PCA package. Still, maybe there's potential to team up.
I'm dropping these ideas here for further discussion.

Hey @normanius 👋
First of all, thanks your activity.  It's on my roadmap, I just haven't allocated time to it yet. But maybe somebody would like to contribute.
I wasn't aware of the PCA package. It seems to have strong viz capabilities. I will reach out to the package maintainer to see if he wants to consider a merge. I think that's what would be best for community.

Just want to mention I've update the PCA.plot method so that the column coordinates are scaled to the scale of the row coordinates. This effectively results in the biplot many people are used to. The only difference is that there's no arrows, because those are poorly supported in Altair. But one could argue those clutter the chart.

I've contacted the author of the PCA plot, but there hasn't been much enthusiasm.


NME: document and explain expected range of "distance" on the Replace Color node

@thomlucc commented on Wed Feb 19 2020
Question: What is the expected range of "distance" on the Replace Color node? It seems as though a value of 1.0 does not cover the whole range of possible replacement color values. I'm finding around 1.22-1.24 is needed to completely replace all tones of color, or is this just an isolated instance based on what colors I'm using (black to blue to white replacing blue with green pushing the range to replace black and white as well)
answer: The distance is the distance between the two colors (as in len(a - b)) so it depends on the colors.

Can we add to the replace color block description to indicate the proper replacement distance value when connecting in a gradiant on https://doc.babylonjs.com/divingDeeper/materials/node_material/nodeMaterial#list-of-available-blocks. @Popov72 - Do you have any guidance on this?

I'm not sure to understand what is the relation between this block and a gradiant?
I think however that the description is misleading, there's no blending of colors: the output color is replacement if the distance between value and reference is less than distance, else it is value. I have created a PR in the doc and main repo to update the description.

It looks like this was largely taken care of already, but I added an example NME snippet that shows how to use the node. That should help future people see it working to understand it further.
https://nme.babylonjs.com/#98NGSE
https://github.com/BabylonJS/Documentation/pull/403


[Snippet Server] Check caching settings on the snippet server

Let's check if we can cache requests locally (using the response headers), as snippets are guaranteed to be immutable.
See https://forum.babylonjs.com/t/gui-parsefromsnippetasync-xhr-request-appears-to-bypass-browser-cache/25905

This will require setting a CDN profile to the snippet service.
@deltakosh - the snippet server is still hosted on the old subscription. Do we want to move it to the new subscription?

yes please :D

Snippet moved, caching and CDN was enabled

You rock!


chore(deps) bump Wasmer to 4.1.2

Mostly so not to fall too far behind and see what CI says.

Strange unit failures... Locally everything passed, might need work.

# Test 1
$ ./util/test.sh t/01-wasm/hfuncs/wasi/000-non_host_wasi.t

2023/08/30 11:29:09 [debug] 2776307#0: *1 wasm ops calling "wasi_vm_tests.test_wasi_non_host" in "rewrite" phase
2023/08/30 11:29:09 [debug] 2776307#0: *1 wasm creating "wasi_vm_tests" instance in "main" vm
thread '<unnamed>' panicked at 'wasmer_env_set_memory() is not supported', lib/c-api/src/wasm_c_api/wasi/mod.rs:390:5
stack backtrace:
   0: rust_begin_unwind
             at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/std/src/panicking.rs:579:5
   1: core::panicking::panic_fmt
             at /rustc/84c898d65adf2f39a5a98507f1fe0ce10a2b8dbc/library/core/src/panicking.rs:64:14
   2: wasi_env_set_memory
   3: ngx_wasmer_init_extern
             at ./src/wasm/wrt/ngx_wrt_wasmer.c:695:13
   4: ngx_wavm_instance_create
             at ./src/wasm/vm/ngx_wavm.c:993:14
   5: ngx_wasm_op_call_handler
             at ./src/wasm/ngx_wasm_ops.c:350:16
   6: ngx_wasm_ops_resume
             at ./src/wasm/ngx_wasm_ops.c:293:14
   7: ngx_http_wasm_rewrite_handler
             at ./src/http/ngx_http_wasm_module.c:675:10
   8: ngx_http_core_rewrite_phase
             at ./work/nginx-patched/src/http/ngx_http_core_module.c:929:10
   9: ngx_http_core_run_phases
             at ./work/nginx-patched/src/http/ngx_http_core_module.c:875:14
  10: ngx_http_handler
             at ./work/nginx-patched/src/http/ngx_http_core_module.c:858:5
  11: ngx_http_process_request
             at ./work/nginx-patched/src/http/ngx_http_request.c:2127:5
  12: ngx_http_process_request_headers
             at ./work/nginx-patched/src/http/ngx_http_request.c:1529:13
  13: ngx_http_process_request_line
             at ./work/nginx-patched/src/http/ngx_http_request.c:1196:13
  14: ngx_http_wait_request_handler
             at ./work/nginx-patched/src/http/ngx_http_request.c:523:5
  15: ngx_epoll_process_events
             at ./work/nginx-patched/src/event/modules/ngx_epoll_module.c:901:17
  16: ngx_process_events_and_timers
             at ./work/nginx-patched/src/event/ngx_event.c:248:12
  17: ngx_single_process_cycle
             at ./work/nginx-patched/src/os/unix/ngx_process_cycle.c:300:9
  18: main
             at ./work/nginx-patched/src/core/nginx.c:381:9
  19: __gconv_transform_ucs4le_internal
             at /usr/src/debug/glibc/glibc/iconv/../iconv/skeleton.c:786:4
  20: ucs4le_internal_loop_single
             at /usr/src/debug/glibc/glibc/iconv/gconv_simple.c:755:46
  21: __gconv_transform_ucs4le_internal
             at /usr/src/debug/glibc/glibc/iconv/../iconv/skeleton.c:565:15
  22: _start

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 3 (66.67%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.009%) to 91.074%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/wasm/wrt/ngx_wrt_wasmer.c
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.009%

Covered Lines:
7581

Relevant Lines:
8324

💛  - Coveralls


add zynqmp pmufw, update flake.lock, a bunch of stuff really

This leads nowhere, most worthy stuff was siphoned off into other PRs, closing.


import old mysql data ,get a problem

As always, please describe what you are trying to do in reproducible steps. Thank you.

sorry, when i add person or edit person, click save button ,will get this problem ,i don`t know what different with database,i have watched it

Yes. that part was clear to me.
But what did you do with your database?
What do you mean with "import old mysql data"?
You can only import directly into the database when you know exactly what you are doing.
Otherwise, data wil not be consistent anymore.

What's the status?
Can I close this issue?

Closed due to no activity.


feat: add support xxl-job 2.3.x

Add an agent plugin to support xxl-job 2.3.x

[x] Add a test case for the new plugin, refer to the doc
[ ] Add a component id in the component-libraries.yml
[ ] Add a logo in the UI repo

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[ ] Update the CHANGES log.

Please submit a description about why 2.3 is so different from 2.x?
This is a rare practice.

And you copy the whole test, which is unnecessary. You could add the new version to test version list.
Unless xxl-job community somehow uses a min version to break.

thank, I resubmit.

Please submit a description about why 2.3 is so different from 2.x? This is a rare practice.

version 2.3.0 change the method "excuate" remove arguments.
https://github.com/xuxueli/xxl-job/releases/tag/2.3.0

And you copy the whole test, which is unnecessary. You could add the new version to test version list. Unless xxl-job community somehow uses a min version to break.

version 2.3.0 change the method "excuate" remove arguments. test code not support version 2.3.x.

https://github.com/apache/skywalking-java/blob/main/test/plugin/scenarios/xxl-job-2.x-scenario/support-version.list
2.3.0 should be added here to test your new codes.

https://github.com/apache/skywalking-java/blob/main/test/plugin/scenarios/xxl-job-2.x-scenario/support-version.list
2.3.0 should be added here to test your new codes.
This variable would pick up the versions in the list file to run tests with various versions.
https://github.com/apache/skywalking-java/blob/42ea174ed9fbacf8e82f415dcf8fe7004729a8f6/test/plugin/scenarios/xxl-job-2.x-scenario/pom.xml#L86

Changes.md in the root should be updated too.

https://github.com/apache/skywalking-java/blob/42ea174ed9fbacf8e82f415dcf8fe7004729a8f6/test/plugin/scenarios/xxl-job-2.x-scenario/pom.xml#L33
I noticed a warning comment in the previous 2.2.0 testing, please make sure your 2.3.0 could work with the older server.

https://github.com/apache/skywalking-java/blob/42ea174ed9fbacf8e82f415dcf8fe7004729a8f6/test/plugin/scenarios/xxl-job-2.x-scenario/pom.xml#L33
I noticed a warning comment in the previous 2.2.0 testing, please make sure your 2.3.0 could work with the older server.

2.2.0 的版本和2.3.0的版本接口有调整，如果支持了2.3.0，必然会不支持2.2.0

https://github.com/apache/skywalking-java/blob/42ea174ed9fbacf8e82f415dcf8fe7004729a8f6/test/plugin/scenarios/xxl-job-2.x-scenario/pom.xml#L33
I noticed a warning comment in the previous 2.2.0 testing, please make sure your 2.3.0 could work with the older server.

xxl-job-2.x-scenario
The interface between version 2.2.0 and version 2.3.0 has been adjusted. If 2.3.0 is supported, 2.2.0 will not be supported

https://github.com/apache/skywalking-java/blob/42ea174ed9fbacf8e82f415dcf8fe7004729a8f6/test/plugin/scenarios/xxl-job-2.x-scenario/pom.xml#L33
I noticed a warning comment in the previous 2.2.0 testing, please make sure your 2.3.0 could work with the older server.

I prefer to create a new xxxl-job-2.3.x-scenario project.  plugin project can

https://github.com/apache/skywalking-java/blob/42ea174ed9fbacf8e82f415dcf8fe7004729a8f6/test/plugin/scenarios/xxl-job-2.x-scenario/pom.xml#L33
I noticed a warning comment in the previous 2.2.0 testing, please make sure your 2.3.0 could work with the older server.

I prefer to create a new test project, xxl-job-2.3.x-scenario. xxl-job-2.x-plugin supports xxxl-job-2.3.x-scenario and xxxl-job-2.x-scenario

https://github.com/apache/skywalking-java/blob/42ea174ed9fbacf8e82f415dcf8fe7004729a8f6/test/plugin/scenarios/xxl-job-2.x-scenario/pom.xml#L33
I noticed a warning comment in the previous 2.2.0 testing, please make sure your 2.3.0 could work with the older server.

I prefer to create a new test project, xxl-job-2.3.x-scenario. xxl-job-2.x-plugin supports xxxl-job-2.3.x-scenario and xxxl-job-2.x-scenario

https://github.com/apache/skywalking-java/blob/42ea174ed9fbacf8e82f415dcf8fe7004729a8f6/test/plugin/scenarios/xxl-job-2.x-scenario/pom.xml#L33
I noticed a warning comment in the previous 2.2.0 testing, please make sure your 2.3.0 could work with the older server.

I prefer to create a new test project, xxl-job-2.3.x-scenario. xxl-job-2.x-plugin supports xxxl-job-2.3.x-scenario and xxxl-job-2.x-scenario

Is the server incompatible or something? We only add new test if we have to. It is really rare to see 2.2 to 2.3 breaking at this level.

Is the server incompatible or something? We only add new test if we have to. It is really rare to see 2.2 to 2.3 breaking at this level.

the server incompatible.
2.3 tag : https://github.com/xuxueli/xxl-job/releases/tag/2.3.0

I can't see the incompatibility(breaking change) in the change log. Even 2.3 server is incompatible with 2.2?

I can't see the incompatibility(breaking change) in the change log. Even 2.3 server is incompatible with 2.2?

scenario code incompatibility.
https://github.com/xuxueli/xxl-job/blob/2.2.0/xxl-job-core/src/main/java/com/xxl/job/core/handler/IJobHandler.java
https://github.com/xuxueli/xxl-job/blob/2.3.0/xxl-job-core/src/main/java/com/xxl/job/core/handler/IJobHandler.java

I can't see the incompatibility(breaking change) in the change log. Even 2.3 server is incompatible with 2.2?

scenario code incompatibility.
https://github.com/xuxueli/xxl-job/blob/2.2.0/xxl-job-core/src/main/java/com/xxl/job/core/handler/IJobHandler.java
https://github.com/xuxueli/xxl-job/blob/2.3.0/xxl-job-core/src/main/java/com/xxl/job/core/handler/IJobHandler.java

I see, then please add a new one, and change the existing test scenario to 2.2.0.

I can't see the incompatibility(breaking change) in the change log. Even 2.3 server is incompatible with 2.2?

scenario code incompatibility.
https://github.com/xuxueli/xxl-job/blob/2.2.0/xxl-job-core/src/main/java/com/xxl/job/core/handler/IJobHandler.java
https://github.com/xuxueli/xxl-job/blob/2.3.0/xxl-job-core/src/main/java/com/xxl/job/core/handler/IJobHandler.java

I see, then please add a new one, and change the existing test scenario to 2.2.0.

done

You should update GHA file for new and renamed cases.

You should update GHA file for new and renamed cases.

CHANGES.md ?  is update..

GitHub control file. One scenario is added, another is renamed.

ERROR the following files don't have a valid license header:
test/plugin/scenarios/xxl-job-2.3.x-scenario/src/main/resources/tables_xxl_job.sql

License header is missing, please you have checked the codes by skywalking-eyes.

GitHub control file. One scenario is added, another is renamed.

ERROR the following files don't have a valid license header:
test/plugin/scenarios/xxl-job-2.3.x-scenario/src/main/resources/tables_xxl_job.sql

License header is missing, please you have checked the codes by skywalking-eyes.

Check and fix


fix(versions): update Activiti/activiti-cloud-dependencies versions into develop

UpdateBot pushed maven dependency: org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies to: 7.1.81

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.rb:activiti-cloud-runtime-bundle-dependencies 7.1.81


Instagram and Twitter pages no longer exist, but the links are still there

howdy, fixed here: https://github.com/LukeberryPi/phived/issues/74
please assure you're using the latest version by pressing ctrl + shift + r on your browser.
thanks for the issue!


Support JavaType in addition to Class<?> for generateJsonSchema

Currently only Class<?> is supported as argument to the schema generator. Internally I saw it's delegated eventually to jackson as JavaType. Directly providing an overload for generation of the schema of a JavaType would allow schema generation for generic classes (ParameterizedType).

Wow that was fast!

Fix included in version 1.0.24 which I released yesterday evening (Norway time)


[Bug]: Following tutorial, running npm run dev got: "could not locate@remix-run/serve"

Which Remix packages are impacted?

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[ ] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[X] @remix-run/react
[X] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
1.0.6
Steps to Reproduce
Follow the official tutorial, create Remix App Server, run npm run dev,
got this:
> remix-app-template@ dev E:\Development\Playground\React\meetupTime
> remix dev

Could not locate @remix-run/serve. Please verify you have it installed to use the dev command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! remix-app-template@ dev: `remix dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the remix-app-template@ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\Roaming\npm-cache\_logs\2021-11-27T01_02_40_408Z-debug.log

Expected Behavior
to be able to run dev server
Actual Behavior
Getting error when spinning up dev server on default project template

My bad,
after using yarn, i realise that my node is v12, minimum version is v14. Not sure why npm is not warning me but yarn warns me that my node is different version


Remove SNP modules

virtee/snp now contains our SNP modules.

Closes #33

@larrydewey I've updated the version (yet haven't published it on crates).

Have you considered using different rust features for the different functionality? I'm a bit skeptical about this being a breaking change.

@tylerfanelli
It is reasonable to separate SEV and SNP functionality, but to me creating two separate repositories (assuming that's the plan) is not idiomatic. Rust has a number of ways to handle this kind of situation. For instance, you can use workspaces to have multiple libraries within one repository or you can use features to have one library with several different configurations. Both of these approaches are more flexible, allowing you to easily create new libs/features, share code between components without any synchronization problems, etc. In contrast splitting things into a new repo seems a bit blunt.
This also creates an inconvenience for people who are already using the project (which has already had a major release). With features you can easily control what is the default functionality so you could avoid breaking changes for people who are already using the crate.
Finally, I'm not convinced that maintaining two crates separately would be easier. It seems like that would lead to fewer eyes on each, less mutual development, and more administrative overhead.

@fitzthum
Duly noted. Marking this as a draft for now and will explore using cargo workspaces.


enable userAgentSuffix in azure open ai

Issue

Change
enabled to append userAgent suffix in InternalAzureOpenAiHelper
added the userAgentSuffix argument in the azure open ai model classes
General checklist

[x] There are no breaking changes
[ ] I have added unit and integration tests for my change
[x] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
[ ] I have manually run all the unit and integration tests in the core and main modules, and they are all green

[ ] I have added/updated the documentation
[ ] I have added an example in the examples repo (only for "big" features)
[ ] I have added/updated Spring Boot starter(s) (if applicable)

Checklist for adding new model integration

[ ] I have added my new module in the BOM

Checklist for adding new embedding store integration

[ ] I have added a {NameOfIntegration}EmbeddingStoreIT that extends from either EmbeddingStoreIT or EmbeddingStoreWithFilteringIT
[ ] I have added my new module in the BOM

Checklist for changing existing embedding store integration

[ ] I have manually verified that the {NameOfIntegration}EmbeddingStore works correctly with the data persisted using the latest released version of LangChain4j

Hi @KaiqianYang how is this different from https://github.com/langchain4j/langchain4j/pull/1287?

Hi @KaiqianYang how is this different from #1287?

Hi @langchain4j  These two PR are related to the same work item. My PR extended the change to more models (the change in 1287is also included in my PR) and made the needed change in tests. Also, I updated the variable name from appendUserAgent(String) to userAgentSuffix(String)

@KaiqianYang oh, I see. I missed that it is actually a suffix, not a complete user agent. How will this be used?

@KaiqianYang oh, I see. I missed that it is actually a suffix, not a complete user agent. How will this be used?

@langchain4j by configuring a custom userAgentSuffix, such as langchain4j-azure-open-ai-spring-boot in the langchain4j-azure-open-ai-spring-boot-starter, it becomes possible to distinguish the requests made to Azure Open AI. This allows for the track of library usage. Furthermore, incorporating a version number into the suffix enables the tracking of usage of different library versions.

@KaiqianYang ok, it is clear with the spring boot starter. But it is not very clear with the version, do you expect users to set it?

@KaiqianYang ok, it is clear with the spring boot starter. But it is not very clear with the version, do you expect users to set it?

@langchain4j  The purpose of this PR is the scenario of spring boot starter. As for the possibility of giving details like version number, it's mentioned just because Julien mentioned it in comment of 1287. How about just focusing on the scenario of spring boot starter?


config.h is not being installed/shipped but being included in installed/shipped westeros-gl.h header causing dependency

Hi @jeffwannamaker,
I'm Arun Madhavan from Comcast and currently working on Amlogic platform. I'm new to westeros. Please guide me if I'm wrong.
Recent resolution change support related Compositor plugin changes includes "westeros-gl.h" but results in error for below "config.h" not found.
https://github.com/rdkcmf/westeros/blob/a8ea9f3e25aa22a3a42d8cc33d0a90515b667926/drm/westeros-gl/westeros-gl.h#L21
Could you please share details on why this header is not being packaged in the ipk ?
If this header(config.h) is for local use; could you please relocate this from here.
Thanks

Hi Arun,
The inclusion of a config.h file from westeros-gl.h shouldn't be there.  It will be removed.


TempData within a ViewComponent

It seems that ViewData and ViewBag are available from within ViewComponent.Invoke(), but that TempData isn't. Is this by design or an oversight?

It's available via ViewContext.TempData. We should add a convenience property... seems like just an oversight to me.

@rynowak I was sure I'd checked there, but you're quite right! Thanks. A convenience property would certainly clear things up.

94fa34c

Thanks @ctyar!


Added OPENAI_API_BASE_URL to openai_model reference (#338)

Description
Describe your changes in detail.
Motivation and Context
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.
You can use the syntax close #15213 if this solves the issue #15213

[ ] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)
[ ] Example (update in the folder of example)

Implemented Tasks

[ ] Subtask 1
[ ] Subtask 2
[ ] Subtask 3

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[ ] I have read the CONTRIBUTION guide. (required)
[ ] My change requires a change to the documentation.
[ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
[ ] I have updated the documentation accordingly.

Thanks @riverfor for the PR. The test failed because the merge was from a fork (a fork cannot see the GitHub secretes). I have added you to the org. So now you can create a PR with forking the repo. Please feel free to reopen a PR without forking.


Decode of session ID can fail on 32-bit platforms

Hello,
I have run into a problem whereby the SDP decode function fails, due to a session ID that is too big to be stored in a 32-bit integer. The same code runs fine on a 64-bit platform,
My suggestion to fix this would be to change SessionID and SessionVersion to be strings rather than ints, which would be a very simple change but not backwards compatible with existing code that uses the library. The same goes for changing the type to int64.
If you agree, I could submit a PR with necessary changes.

I've run into the very same issue - ie. it fails for GOARCH=arm because the fields may contain millisecond timestamps (> 32 bits).
According to RFC4566 there don't appear to be any bounds, so string might be the most appropriate choice..


Global ports are connected to GPIOs

Hello,
I am using global clock and reset pins in my architecture, however, OpenFPGA is still using GPIOs for these pins (they are connected to the global pins as well as GPIOs).
The GPIO reset and clock pins are not used in the FPGA, so disconnecting them in the testbench does not cause issues and the simulation still passes.
Is there a way to avoid connecting global pins to GPIOs as it is currently unnecessarily utilizing the ports?
Thanks!

@AhmadHouraniah Currently, I have no solution on this. It is vpr which has to connect the clock net to a GPIO. The global clock and reset pins are modelled in OpenFPGA but not in VPR. That is why VPR has not visibility on these pins.


Fix api corner cases and make chttpd pass

Overview
This is a set of commits to fix a few API corner cases and enable running chttpd as part of the make check-fdb suite.
Checklist
  make check-fdb

@davisp thank you for taking a look!
Fixed up most of the things as requested.

@jaydoane I added compiler directives to ignore unused functions in those two module and a comment for it so we know when to remove it in the future


using for asp.net core

How can i using for asp.net core?

Yes please!

Any comments from the maintainers on this?

While I agree that this support would be greatly beneficial, I don't have any current plans to do this myself. If someone wants to attempt it, I'm definitely open to further discussion. At the very least, we need to segregate Web API 2 code and ASP.NET Core code, and extract the framework-agnostic code into a separate project.

If you're looking for a .Net Core implementation, please take a look at https://github.com/Research-Institute/json-api-dotnet-core
Disclaimer: I'm the author


TessPDFRenderer datadir_ member is const char*

Reported in dev forum - https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/tesseract-dev/nLrsc3F-MDk/4HhKGYRXCQAJ

TessPDFRenderer datadir_ member is const char* rather than STRING* type as used in TessBaseAPI.

I got caught out by this because I passed a pointer to a buffer that disappeared long before the renderer.  I think it would be better/wiser if the renderer used STRING to carry its own copy of the datadir - because the renderer can be around for quite a long while, and the errors caused by such things can be hard to diagnose.

I'm using a prebuilt binary in a Delphi project. I don't have the Tesseract source set up for building (or for github access) and testing.  I was only using the source code extract to search for possible reasons for some strange problems in my project.  Having found the cause I've worked around the issue on my side.  So really all I'm doing here is offering a suggestion that I thought might be helpful to others,

I tried looking in the source code, but I do not see STRING* type as used in TessBaseAPI..

@stweil @amitdo Is there an issue here or just an erroneous report? Should I close this?

It's not really a Tesseract bug, but can be changed nevertheless to make the API more robust. Pull request #1813 addresses this.


Support for clickhouse as source of data for dashboards

i hope it will a great feature

Thanks for your suggestion, will consider adding clickhouse support in a future version

@trheyi I also need this.


PDFBOX-5687 - PDFBox 3.0 OSGi bundle requires sun.java2d.cmm.kcms package

Disable generating Import-Package statements for "Class.forName" calls completely.

Closed with a different solution, see Jira issue for details.


Should we keep workflow stuff in a common repo?

The deploy workflow I was messing with here is ready to go, at least for my preferences. There are several choices to be made for how things will go that different maintainers may make differently, so it may need tuning to style. Examples:

Bare semver tags like 1.2.3 or prefixed like v1.2.3 (my preference).
Dev rockspec in root or elsewhere? Named dev or scm?
Upload rockspecs on any file change, or only a tag matches the rockspec version?
Upload rockspecs only on change, or any time a tag is pushed?
Require all rockspecs pass tests before uploading any of them, or upload those that pass?
Test build old rockspecs if touched?
Upload from patch release branches or only the default branch?

Etc. All the machinery for these choices is worked out and most of them I've tried a few ways but settled on the option that makes the most sense to my project management style.
Also there are two places to setup those details: ⓐ they can be copied into each repo using them and adjusted there or ⓑ they could be copied into a common repo (perhaps even the .github) and referenced remotely from a workflow dispatcher. Already they are setup for use remotely, they just currently referencing the same repo. If anybody things it makes sense to stash them in a common repo I should expand the input/output options a bit to handle the choices above instead of leaving it to in-place tweaks.

I opened this PR to put these bits in a common repo.


Created Tenzies Game

Dies Game When All Numbers Become same You Won The Game

@raj03kumar Please Review my pull request for Tenzies Games

Resolve the conflicts

@Nishitbaria there is some issue with your pull request. The website got right padding because of some CSS from ur PR. Kindly Fix  this issue else we will revert your PR.

I will do it in short time

Hey, @raj03kumar, I need your help to address the problem. What would you suggest I do? Should I create a new issue specifically for this matter?


Missing icons in HPCTKFE

Describe the bug
Icons in the UI are not being presented.
Steps to reproduce
Steps to reproduce the behavior:

Installed the FETK from the GitRepo.  Have completed this twice with the same results.

Expected behavior
UI Icons to appear.
Actual behavior
No icons in UI
Version (ghpc --version)
1.13.0
Screenshot:

Fixed by #913 , released as part of v1.14.0


VPN snooze

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #3869   👈

This stack of pull requests is managed by Graphite.

Can't approve this PR because I originally created it. But LGTM!


Issues using Deck with Geoarrow

Hi Kyle,
first of all: Amazing work that you are doing! Thank you!
I just found your library and was trying out some of the things. From a blog of you I found earlier, I got this internet speeds dataset:
https://observablehq.com/@kylebarron/geoparquet-on-the-web.
And i wanted to make it run with your library but were getting into "not a polygon or multipolygon" errors when loading the parquet via parquet-wasm and then using your GeoarrowSolidpolygon layer.
For geoparquet-wasm I run into some errors of the wasm initialization. Maybe some of the parts you are doing here: https://github.com/developmentseed/lonboard/blob/main/src/parquet.ts are missing in the documentation :)
So in the end I tried to implement it with a feather of the centroids directly like you are doing in the blog. I had to adjust it somehow a little as you can see below, but am at least getting the same layer now from what I can see.
However, this layer is not showing on the map. If you could have a look, I would really appreciate it. Maybe you can spot the error I am not seeing.
So this is my script:
import React, { use, useEffect, useRef, useState } from "react";
import {Map, useControl} from 'react-map-gl';
import {MapboxOverlay} from<EMAIL_ADDRESS>import {DeckProps} from<EMAIL_ADDRESS>import {ScatterplotLayer} from<EMAIL_ADDRESS>import 'mapbox-gl/dist/mapbox-gl.css';
import { Table, tableFromIPC } from "apache-arrow";
import { fromArrow, names } from 'arquero';
// import * as d3 from 'd3';

const MAPBOX_ACCESS_TOKEN = process.env.NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN;

function DeckGLOverlay(props: DeckProps) {
  const overlay = useControl<MapboxOverlay>(() => new MapboxOverlay(props));
  overlay.setProps(props);
  return null;
}

async function fetchData() {
  try {
    // // Fetch Feather file
    const resp = await fetch("/data/2019-01-01_performance_mobile_tiles_uncomp.feather");
    if (!resp.ok) {
      throw new Error(`Failed to fetch Parquet file: ${resp.statusText}`);
    }
    // convert the response to an Arrow Table
    const arrayBuffer = await resp.arrayBuffer();
    const jsTable = tableFromIPC(new Uint8Array(arrayBuffer));

    let dt = fromArrow(jsTable);
    console.log("Arquero table", dt);
    const geometryColumn = jsTable.getChild('geometry');
    const colorsColumn = jsTable.getChild('colors');

    // Loop through each chunk in the geometryColumn.data array
    let allCoordinates = [];
    geometryColumn.data.forEach(chunk => {
      const coordinateValues = chunk.children[0].values;
      allCoordinates = allCoordinates.concat(coordinateValues);
    });

    // Create a new Float64Array with the total length times 2 (x, y)
    const totalLength = geometryColumn.length*2;
    const concatenatedArray = new Float64Array(totalLength);

    // Copy each Float64Array into the concatenatedArray
    let offset = 0;
    allCoordinates.forEach(array => {
      concatenatedArray.set(array, offset);
      offset += array.length;
    });

    // Loop through each chunk in the colors data array
    let allColors = [];
    colorsColumn.data.forEach(chunk => {
      const colorValues = chunk.children[0].values;
      allColors = allColors.concat(colorValues);
    });

    // new Float32Array with the total length times 3 (RGB)
    const totalColorLength = jsTable.getChild('colors').length*3;
    const concatenatedColorArray = new Float32Array(totalColorLength);

    // Copy each Float64Array into the concatenatedColorArray
    let colorOffset = 0;
    allColors.forEach(array => {
      concatenatedColorArray.set(array, colorOffset);
      colorOffset += array.length;
    });

    // Create the data object for the ScatterplotLayer (size: 2 for x, y and size: 3 for RGB)
    const data = [{
      length: jsTable.numRows,
      attributes: {
        getPosition: {value: concatenatedArray, size: 2 },
        getFillColor: { value: concatenatedColorArray, size: 3 }
      },
    }];

    return data;
  }
  catch (error) {
    console.error("Error fetching data", error);
  }
}

function InteractiveMap(): JSX.Element {
  const [layers, setLayers] = useState([
    new ScatterplotLayer({
      id: 'deckgl-circle',
      data: [
        {position: [0.45, 51.47]}
      ],
      getPosition: d => d.position,
      getFillColor: [255, 0, 0, 100],
      getRadius: 1000,
      beforeId: 'waterway-label' // In interleaved mode render the layer under map labels
    })
  ]);

  useEffect(() => {
    fetchData().then(data => {
      setLayers([
        new ScatterplotLayer({
          id: 'deckgl-circle2',
          data: [
            {position: [0.45, 51.47]}
          ],
          getPosition: d => d.position,
          getFillColor: [0, 130, 0, 100],
          getRadius: 1000,
          beforeId: 'waterway-label' // In interleaved mode render the layer under map labels
        }),
        new ScatterplotLayer({
          id: 'internet-speeds',
          data: data,
          getRadius: 100,
          radiusMinPixels: 0.4,
          beforeId: 'waterway-label' // In interleaved mode render the layer under map labels
        })
      ]);
    });
  }, []);

  useEffect(() => {
    console.log("Layers", layers);
  }
  , [layers]);

  return (
    <Map
      style={{  height: "100vh" }} // width: "100%",
      initialViewState={{
        longitude: 0.45,
        latitude: 51.47,
        zoom: 11
      }}
      mapStyle="mapbox://styles/mapbox/dark-v9" // {Mapstyles.dark}
      mapboxAccessToken={MAPBOX_ACCESS_TOKEN}
    >
      <DeckGLOverlay layers={layers} interleaved />
    </Map>
  );
}

const InteractiveMapMemo = React.memo(InteractiveMap);
export default InteractiveMapMemo;

This is the layer it produces:
1: Object { id: "internet-speeds", count: 14, lifecycle: "Initialized", … }
context: Object { mousePosition: {…}, userData: {}, layerManager: {…}, … }
count: 14
id: "internet-speeds"
internalState: Object { needsRedraw: false, needsUpdate: false, usesPickingColorCache: false, … }
lifecycle: "Initialized"
parent: null
props: Object { id: "internet-speeds", getRadius: 100, radiusMinPixels: 0.4, … }
	beforeId: "waterway-label"
	getRadius: 100
	id: "internet-speeds"
	radiusMinPixels: 0.4
	Symbol(component): Object { id: "internet-speeds", count: 14, lifecycle: "Initialized", … }
	Symbol(asyncPropOriginal): Object {  }
	Symbol(asyncPropResolved): Object { data: (1) […] }
		data: Array [ {…} ]
		0: Object { length: 3231245, attributes: {…} }
		attributes: Object { getPosition: {…}, getFillColor: {…} }
			getFillColor: Object { value: Float32Array(9693735), size: 3 }
				size: 3
				value: Float32Array(9693735) [ 0.6862902045249939, 0.8649733066558838, 0.843987226486206, … ]
				<prototype>: Object { … }
			getPosition: Object { value: Float64Array(6462490), size: 2 }
				size: 2
				value: Float64Array(6462490) [ -160.0186157226565, 70.63721610566131, -160.04058837890648, … ]
				<prototype>: Object { … }
			<prototype>: Object { … }
			length: 3231245
			<prototype>: Object { … }
			length: 1
			<prototype>: Array []
		<prototype>: Object { … }
	<prototype>: Object { data: Getter & Setter, visible: true, pickable: false, … }
state: Object { model: {…}, … }
<prototype>: Object { … }

Thanks a lot!

And i wanted to make it run with your library but were getting into "not a polygon or multipolygon" errors

It's not clear to me; were you trying to render points with the solid polygon layer?
You can only use the SolidPolygonLayer with Polygon or MultiPolygon data, and the geometries need to be in native GeoArrow format, not WKT or WKB.

geoparquet-wasm

geoparquet-wasm isn't really production ready yet. But you can read the README of parquet-wasm, which has most of the same information.

However, this layer is not showing on the map

First try to render with a single color for all points, so then you know the geometry data is at least rendering. You may have to set radius_min_pixels to ensure data are rendered at your current zoom level

Thanks a lot for the quick response! Radius_min_pixels actually helped to notice, that the points are all rendered at origin (see screenshot). I am trying with the centroids created from you python script.

Might this be because I am using the Mapbox Overlay for Deck?
I also tried with the /examples/point setup, but get the following errors:

I don't have a lot of bandwidth to help with this, and screenshots aren't reproducible. You should ensure that you can run the /examples/point demo as is without changing the data source, and then you can inspect what's different with your data compared to its data.
The reason I've focused on Lonboard is that it's easier to create GeoArrow-formatted data in Python than in JS, and there aren't a lot of resources yet for creating this data format in JS proper

Yes, also I think it is more of a problem with deck.gl, as also for random data it renders at origin. I started a discussion there.
Thank you anyways!
About the demo: I am running it as is in the folder and using the same data with the same script, but it throws those "destructered parameters" errors.

Oh perhaps that's an issue with https://github.com/geoarrow/deck.gl-layers/pull/124. The main library is using deck.gl v9 now but the examples (or at least the yarn.lock) hasn't been updated to use deck.gl v9, so there may be a version mismatch


Default edit button in v0 will point to live

Edit button in the share page is pointing to v0. If I have shared a page a while ago, I still would like to go to the latest instead of v0. There is a link to go to the old editor if needed.  I see most of the traffic to v0 is through this edit button. Changing the default behavior.

Also I added a second change to this. Pop out from the sandbox view also points to live now. Only way to go to v0 is to click on the Edit in old editor link.


Remove python installation as part of Linux uninstall process, Added Gnome and wget for Linux installation and .bashrc file change.

Pull request for the implementation of removal of python installation as part of Linux uninstall process, Added Genome and wget for Linux installation and .bashrc file change.
Description
This Pull request has following features,

As part Linux uninstallation process user can remove python binaries.
Added Ansys-python-Manager launch command to .bashrc file.
Added Gnome and wget as one of the dependencies in the installation process to support wsl.
Added pre-compiled python version NOTE/Warning on the installer

Related Issue
https://github.com/ansys/python-installer-qt-gui/issues/238
https://github.com/ansys/python-installer-qt-gui/issues/241

All good - this PR can be merged once CI/CD passes


commit deployment branch

Deployment artefacts for governance proposal nr 35 that pauses swapping on the Buyback contract

@DanielVF @franckc any ideas why the changes in dapp/network.mainnet.json?


Tests in collections and experiments

TODOS

FAILED

- errors=2
- failures=3

[x] - test_basic (experiments.tests.test_views.MusicianViewTestCase)

- Traceback (most recent call last):
-      File "#", line 83, in test_basic
-        response = musician_detail(request, collection=self.voices.slug,
-          record=self.nothing_but_trouble.slug,
- AttributeError: 'MusicianViewTestCase' object has no attribute 'voices'

[x] - experiments.tests.test_api (unittest.loader._FailedTest)

- ImportError: Failed to import test module: experiments.tests.test_api
- Traceback (most recent call last):
-   File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
-     module = self._get_module_from_name(name)
-  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/loader.py", line - - 369, in _get_module_from_name
-    __import__(name)
-  File "/Django-serialization-001/experiments/tests/test_api.py", line 56
-    'title': 'Django Rest framework 3', 'code': '@api_view(['GET'])\r\ndef api_root(request, --
- format=None):\r\n      return Response({\r\n      \t\t'users': reverse('user-list', request=request,
- format=format),\r\n\t\t'experiments': reverse('experiment-list', request=request, format=format)\r\n      })',
                                                               ^
- SyntaxError: invalid syntax

[ ] - test_get_artist_tracks_from_musicbrainz_api (experiments.tests.test_models.MusicianModelTestCase)

- Traceback (most recent call last):
-  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/unittest/mock.py", line - - 1179, in patched
-    return func(*args, **keywargs)
-  File "/Django-serialization-001/experiments/tests/test_models.py", line 116, in
- test_get_artist_tracks_from_musicbrainz_api
-    self.assertEqual(len(created_musicians), 2)
- AssertionError: 1 != 2

[x] - test_get_genre_from_musicbrainz_tag_list (experiments.tests.test_models.MusicianrModelTestCase)

- Traceback (most recent call last):
-  File "/Django-serialization-001/experiments/tests/test_models.py", line 126, in
- test_get_genre_from_musicbrainz_tag_list
-    self.assertEqual(Musician.get_genre_from_musicbrainz_tag_list(tag_list), 'electropop')
-  AssertionError: 'pop' != 'electropop'
- pop
+ electropop

[ ] - test_index_view_returns_musicians (experiments.tests.test_views.IndexViewTestCase)

- Traceback (most recent call last):
-  File "/Django-serialization-001/experiments/tests/test_views.py", line 49, in
- test_index_view_returns_musicians
-    self.assertEqual(len(musicians), 1)
- AssertionError: 0 != 1

self.assertEqual(Musician.get_genre_from_musicbrainz_tag_list(tag_list), 'electronic')

changed the synxtax did not work, it was not readable.

- Traceback (most recent call last):
-      File "#", line 83, in test_basic
-        response = musician_detail(request, collection=self.voices.slug,
-          record=self.nothing_but_trouble.slug,
- AttributeError: 'MusicianViewTestCase' object has no attribute 'voices'

resolves by error in writing code, the method was too many spaces back and the program could not read what where voices was coming from...

	@classmethod
	def setUpClass(cls):
		super().setUpClass()
		cls.voices = Album.objects.create(name='Voices', slug='voices')
		cls.nothing_but_trouble = Track.objects.create(name='Nothing but Trouble', slug='nothing-but-trouble', album=cls.voices)
		cls.electropop_composer = Composer.objects.create(genre='electropop', artist='Phantogram', track=cls.nothing_but_trouble,
				                                              slug='phantogram')
		cls.permanent_signal = Album.objects.create(name='Permanent Signal', slug='permanent-signal')
		cls.the_way_out = Track.objects.create(name='The Way Out', slug='the-way-out', album=cls.permanent_signal)
		cls.dream_pop_composer = Composer.objects.create(genre='dream pop', artist='Porcelain Raft', track=cls.the_way_out,
															 slug='porcelain-raft')

- Traceback (most recent call last):
-  File "/Django-serialization-001/experiments/tests/test_models.py", line 126, in
- test_get_genre_from_musicbrainz_tag_list
-    self.assertEqual(Musician.get_genre_from_musicbrainz_tag_list(tag_list), 'electronic')
-  AssertionError: 'electropop' != 'electronic'
- electropop
+ electronic

Fixed i was asserting three different genres and trying to get them to equal to each other, which would cause an assertion error, pointed it to just one.
def test_get_genre_from_musicbrainz_tag_list(self):
    	"""
    	Test that we can map tags from Musicbrainz to genres
    	"""
    	tag_list = [{'count': '3', 'name': 'electropop'}]

    	self.assertEqual(Composer.get_genre_from_musicbrainz_tag_list(tag_list), 'electropop')


React-Redux-group_Project

This is the link to the Group Project: https://github.com/KIsmoilov/Space-Traveler-s-Hub/projects/1
We are a group of two.

Hi @V-Blaze @KIsmoilov
Your project is complete  👍 💯   There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Highlights 👏🏻
✔Successfully set up your Kanban board
✔ Provide link to your GitHub project and how many people there are in your team.
✔ Successfully all cards are assigned to team members
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


OSGi Import-Package list is wrong in the dependency-reduced pom

This is the complete list of import packages in the jar that is generated from the dependency-reduced pom:
Import-Package: javax.xml.datatype,net.jodah.typetools;version="[1.0,2
 )",org.modelmapper.builder,org.modelmapper.config,org.objectweb.asm;v
 ersion="[5.1,6)",org.objectweb.asm.tree;version="[5.1,6)",org.objenes
 is;version="[2.1,3)"

As you can see, asm and objenesis are part of the required packages.
But in fact they are shaded into the modelmapper jar so they must be excluded

Additionally, it seems that the Shade plugin is embedding classes from asm, objenesis and typetools into some internal modelmapper package, i.e:
org.modelmapper.internal.typetools instead of net.jodah.typetools
Instantiating the ModelMapper then fails with java.lang.NoClassDefFoundError: net/jodah/typetools/TypeResolver, since such class is not available on the runtime since it was shaded under a wrong path

Are you up for sending a PR for this?

Sure, I will see what I can do in the next days


feat(tutorial): complete step 2

Closes #
feat(tutorial): complete step 2
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

👍 Looks good - 🎉 You are one step closer to completion of the Carbon React tutorial and earning the digital credential.


Corrected dateranges for Faker.Date.date_of_birth

So, this started out as a supposedly easy hacktoberfest PR,  trying to fix #103 and #96.
I ended up rewriting Faker.Date.date_of_birth to cover the full range of possible birthdays (if not mistaken, including situations involving leapyears), thus hopefully also covering #100 :tada:
Feel free to scrutinize, would be happy about feedback :)
I've added:

[ ] USAGE.md docs if applicable
[ ] CHANGELOG.md

I'd guess your implementation would actually work properly. I feel like it shouldn't be this complex though. I wish we could just use https://hexdocs.pm/elixir/Date.Range.html but older versions of Elixir don't support that.
I do wonder why you're using case true false instead of if else

Yeah, I'd rather use Date.Range too, but after reading #104 i tried to make do without that.
Regarding case/if: No specific reason - maybe a slight personal preference for case over if. Although it probably doesn't make much sense here :)

Thank you for your contribution :D