I ran composer install --ignore-platform-reqs because of some problem in composer install, and getting these errors

Error1
PHP Fatal error:  Uncaught Error: Undefined constant "Hitrov\CURLOPT_URL" in /root/oci-arm-host-capacity/src/OciApi.php:243
Stack trace:
#0 /root/oci-arm-host-capacity/src/OciApi.php(132): Hitrov\OciApi->call()
#1 /root/oci-arm-host-capacity/index.php(74): Hitrov\OciApi->getInstances()
#2 {main}
thrown in /root/oci-arm-host-capacity/src/OciApi.php on line 243
Error 2
composer install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- Root composer.json requires PHP extension ext-curl * but it is missing from your system. Install or enable PHP's curl extension.
Problem 2
- phar-io/manifest is locked to version 2.0.3 and an update of this package was not requested.
- phar-io/manifest 2.0.3 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
Problem 3
- phpunit/php-code-coverage is locked to version 9.2.17 and an update of this package was not requested.
- phpunit/php-code-coverage 9.2.17 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
Problem 4
- phpunit/phpunit is locked to version 9.5.25 and an update of this package was not requested.
- phpunit/phpunit 9.5.25 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
Problem 5
- theseer/tokenizer is locked to version 1.2.1 and an update of this package was not requested.
- theseer/tokenizer 1.2.1 requires ext-dom * -> it is missing from your system. Install or enable PHP's dom extension.
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/8.1/cli/php.ini
- /etc/php/8.1/cli/conf.d/10-opcache.ini
- /etc/php/8.1/cli/conf.d/10-pdo.ini
- /etc/php/8.1/cli/conf.d/20-calendar.ini
- /etc/php/8.1/cli/conf.d/20-ctype.ini
- /etc/php/8.1/cli/conf.d/20-exif.ini
- /etc/php/8.1/cli/conf.d/20-ffi.ini
- /etc/php/8.1/cli/conf.d/20-fileinfo.ini
- /etc/php/8.1/cli/conf.d/20-ftp.ini
- /etc/php/8.1/cli/conf.d/20-gettext.ini
- /etc/php/8.1/cli/conf.d/20-iconv.ini
- /etc/php/8.1/cli/conf.d/20-intl.ini
- /etc/php/8.1/cli/conf.d/20-mbstring.ini
- /etc/php/8.1/cli/conf.d/20-phar.ini
- /etc/php/8.1/cli/conf.d/20-posix.ini
- /etc/php/8.1/cli/conf.d/20-readline.ini
- /etc/php/8.1/cli/conf.d/20-shmop.ini
- /etc/php/8.1/cli/conf.d/20-sockets.ini
- /etc/php/8.1/cli/conf.d/20-sysvmsg.ini
- /etc/php/8.1/cli/conf.d/20-sysvsem.ini
- /etc/php/8.1/cli/conf.d/20-sysvshm.ini
- /etc/php/8.1/cli/conf.d/20-tokenizer.ini
You can also run php --ini in a terminal to see which files are used by PHP in CLI mode.
Alternatively, you can run Composer with --ignore-platform-req=ext-curl --ignore-platform-req=ext-dom to temporarily ignore these required extensions.

Fixed :)

Fixed :)

howww

Fixed :)

..................................

this issue still persists for me even after installing php-curl

this issue still persists for me even after installing php-curl

you need to ensure that php-curl and composer version is same.


web3==6.20.1 package support on Agentverse

Prerequisites

[X] I checked the documentation and made sure this feature does not already exist
[X] I checked the existing issues to make sure this feature has not already been requested

Feature
we are planning to host some of our agents (mettalex agent) on agentverse, we would need web3==6.20.1 to be available on agentverse.
Could you tell us if this is available? if not can you add this in the next release?
Additional Information (Optional)
No response

Yes, we'll be adding this very soon.


Track reprocessed stream ID in meta to allow for later cleanup

Problem
Indexing pipelines currently don't have an automated way of cleaning up reprocessed Event streams. This often leads to data duplication within the target index, impacting search results.
While manual cleanup of reprocessed stream data is possible, it is a cumbersome process.
Recommendation
Track the ID of the reprocessed stream in meta. This would enable indexing and other pipeline elements to implement appropriate cleanup logic.

Based on discussions with @p-kimberley and @66 we think the way forward is as follows:
Create a new db meta_destination table of the form:
id -- surrogate autoincrement id
meta_id -- the stream id with a FK to the meta table
destination_type varchar -- a name for the type of destination, e.g. elastic, lucene, etc.
destination_identifier varchar -- an identifier within the scope of the destination_type and only understood by the destination service.
create_ms -- time record is create
create_user -- user that triggered the creation of the rec, e.g. the user attributed to the pipe process.

The processing of a single stream would create 0-many records in this table depending on whether it sent any data to a supported destination, e.g an elastic index.  If it sends to multiple destination_identifiers within a destination_type, e.g. multiple elastic index names, then you would have one record per destination_identifier.
A record would be written prior to sending to the destination as it is preferable to have a record of something that was never sent than the other way round.  Keeping an in memory set (pipeline scoped) of the identifiers already recorded is wise to reduce the trips to the db.
The table has a FK to the meta table to ensure that meta records cannot be physically deleted without dealing with these meta_destinations first.
A new periodic job would run that would join logically deleted meta rows to the meta_destination to identify items that need to be processed.  Likely this job would be fairly frequent to ensure it runs soon after the logical delete.  Each identified row would be passed to a service for the destination_type.  We need some interface then we can use a guice map binder to bind to impls by destination type.
The destination specific service would be responsible for reading/writing the rows in meta_destination.  If the identifier  is not primitive then it could be json to support a complex key but the service would have to handle the (de)ser.  The service can then call out to the destination to delete anything it needs to for the given meta_id(s) on each destination_identifier.
Physical deletion of meta would need to ensure it doesn't delete rows that are in the meta_destination table, either via the FK or pre-preemptively.
Failure conditions need thought, i.e. what do we do if we can't connect to the destination call delete on it.  Do we just try again next time round or track a retry count in the table as an extra col?  Some failures may be ignorable, e.g. if the destination can't find the identifier.


Regression: Enabled Multiple Active Results Set throws exception when connection string is retreived from GetDbConnection().ConnectionString and used in SqlConnection.

Describe the bug
When attempting to connect to create a SqlConnection using the connection string stored in the DbContext (derived from the SqlConnectionStringBuilder) the following exception occurs. Note that the exception does not occur when attempting to create a DbContext.
Exception message:
Stack trace:
System.ArgumentException
  HResult=0x80070057
  Message=Keyword not supported: 'multiple active result sets'.
  Source=System.Data
  StackTrace:
   at System.Data.Common.DbConnectionOptions.ParseInternal(Hashtable parsetable, String connectionString, Boolean buildChain, Hashtable synonyms, Boolean firstKey)
   at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Hashtable synonyms, Boolean useOdbcRules)
   at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
   at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key)
   at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value)
   at System.Data.SqlClient.SqlConnection..ctor(String connectionString, SqlCredential credential)

To reproduce
public static void AddTestDatabase(this IServiceCollection services) {
	var csb = new SqlConnectionStringBuilder(connection) {
		DataSource = "<server>",
		InitialCatalog = "<database>",
		UserID = "<user>",
		Password = "<password>",
		Authentication = SqlAuthenticationMethod.SqlPassword,
		Encrypt = SqlConnectionEncryptOption.Mandatory,
		TrustServerCertificate = true,
		ConnectRetryCount = 48,
		ConnectRetryInterval = 5,
		TypeSystemVersion = "Latest",
		MultipleActiveResultSets = true,
	};

	var optionsBuilder = new DbContextOptionsBuilder<TestDb>().UseSqlServer(csb.ToString(),
		sqlServerOptionsAction: sqlOptions =>
		{
			sqlOptions.EnableRetryOnFailure(
				maxRetryCount: 6,
				maxRetryDelay: TimeSpan.FromSeconds(15),
				errorNumbersToAdd: new List<int>());
		}).EnableSensitiveDataLogging();
	services.AddSingleton(optionsBuilder.Options);
	services.AddTransient<TestDb>();
	var sp = services.BuildServiceProvider();
	var db = sp.GetRequiredService<TestDb>();
	var cs = db.Database.GetDbConnection().ConnectionString;
	using var conn = new SqlConnection(cs); // Error here
}

Expected behavior
Using the DbContext.Database.GetDbConnection().ConnectionString connection string should work in SqlConnection without throwing as it worked in prior versions. (Regression)
Further technical details
Microsoft.Data.SqlClient version: 5.1.2
.NET target: Framework 4.8.1
SQL Server version: SQL Server 2022
Operating system: Ubuntu 20.04
Additional context
Is it possible that this is due to the fact that the upper-cased version of "multiple active result sets" exists in DbConnectionStringCommon.cs but not a lower-cased version and the ignore string case equality was removed at some point?

Connedtion strings between System.Data.SqlCliient and Microsoft.Data.SqlClient do not roundtrip. Update your code to use Microsoft.Data.SqlClient everywhere.

Connedtion strings between System.Data.SqlCliient and Microsoft.Data.SqlClient do not roundtrip. Update your code to use Microsoft.Data.SqlClient everywhere.

Thank you for the pointer. That was very non-obvious. There where no references to the System.Data.SqlClient package, but there was a rogue implicit reference to the SqlClient in System.Data.dll via using System.Data.SqlClient that is loaded when you need to use DataTable, et al.

https://github.com/dotnet/SqlClient/blob/main/porting-cheat-sheet.md


Connector API pulls only owned connectors

Current Behavior

the api /api/administration/Connectors/{connectorId}pulls only "owned" connectors
Expected Behavior

the api /api/administration/Connectors/{connectorId} should also provide "managed connectors"

Topic is precondition to proceed on the following ticket therefor please inform the user as soon as this is merged

https://github.com/eclipse-tractusx/portal-frontend/issues/1014

issue will be solved implicitly by https://github.com/eclipse-tractusx/portal-backend/issues/944
therefore i close it


chore(master): release 0.69.0-alpha

:robot: I have created a release beep boop
0.69.0-alpha (2024-03-21)
Features

new (b36b13e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mafqla/yalis-blog/releases/tag/v0.69.0-alpha :sunflower:


Set up validation for PRs

We should set up some kind of validation in PRs similar to CAPI. To start, we can aim for something very basic like running a linter and ensuring that the code will compile.
In the future, we can set up some basic e2e testing in the code as well as GitHub to validate PRs before merging. This would likely involve spinning up a couple workload clusters and attempting to use HelmChartProxy to install a chart on few of them.

Completed with this test-infra PR


Packaged Windows opening three Herostratus instances

After successfully performing elevation, there are three instances running:

The issue is not reproducible by running from source (npm start).

It only seems to happen when going through the elevation process (e.g: running directly as administrator behaves correctly). It's probably an issue with our elevation logic.

Compiling without elevation checking and running with user administration permissions makes the app work correctly. The issue is indeed in the elevation routine.

This seems to be magically fixed in latest master, probably related to the electron version bump (to v0.35.2). I'll re-open if we encounter this again.

Happening again with v0.35.2.


Enable customers to use gitops tooling for apps (with Flux CD)

Business value: Increase customer usage of app platform because it's increasing popularity in community and customers have been asking for it.
User value: Users can get the benefits of gitops in managing apps. There are many, incl. two important ones: (1) change approval and (2) having app state (versions in which clusters) and change control (when did that change) in git, rather than in customer's own pipeline (which they have to manage).
Ross: Yes I think we should write docs and maybe create an example repo with some of our apps to get up and running quickly
Use cases:
1/ Be able to configure managed apps upfront (before cluster creation) https://github.com/giantswarm/roadmap/issues/197
2/ Rollback changes if an upgrade has problems
A gitops workflow can help make rollbacks easier. To provide greater visibility of changes and reverting those changes.
See https://github.com/giantswarm/roadmap/issues/337 for adding rollback to App Platform if sanity checks fail.
3/ What Marcel wrote in RFC
https://github.com/giantswarm/rfc/pull/2
(I still need to read)
4/ Increase transparency and even alert on drifts between current and desired version.

JTBD - a, b, o
Criteria for success:

How many different places and repos do I have to copy and paste and make pull requests to, to configure an app with cluster-specific changes and do this promotion? (Best is ‘mono repo’.)
How much time do I have to spend sorting our merge conflict? (The less, the better)
How quickly can a new teammate understand how it works? (The quicker, the better)
How much of this seems like ‘magic’ to an outsider? (The more transparent and easier it is to understand, the better)

Jobs:

Share a global config that works across environments, but be able to override them for specific clusters. Avoid configuration duplication.
Configure and test that an upgraded app works in playground env
Configure and test that an upgraded app works in dev
Configure and test that an upgraded app works in prod
Deploy the upgraded app to all clusters

There are many others.
In other words, “How we do ‘promotion’ - testing that an upgraded app works in playground, then dev, then prod, before deploying everywhere

@giantswarm/team-batman adding this as candidate to next cycle

Let's see if we can address https://github.com/giantswarm/roadmap/issues/197 as part of this.
So customers can configure apps before cluster creation.

@puja108 made this comment in Jour Fixe slides. Valuable as an MVP, if we can do it.
As we talked about this a bit on Slack, it might be interesting to include thoughts about how maybe gitops (with argo or flux) might be a good first MVP towards having basically  appsets (and in.a way other future stories like update functionality)

As we talked about this a bit on Slack, it might be interesting to include thoughts about how maybe gitops (with argo or flux) might be a good first MVP towards having basically appsets

@cokiengchiara @puja108 @piontec Biscuit are looking at gitops tooling (Flux currently more likely than Argo) for replacing draughtsman. I think we should also write docs for how customers can use gitops to manage their app CRs.
So yes I don't think we need to rush speccing this. If it isn't enough we can still spec App Sets later.

As we talked about this a bit on Slack, it might be interesting to include thoughts about how maybe gitops (with argo or flux) might be a good first MVP towards having basically appsets

@cokiengchiara @puja108 @piontec Biscuit are looking at gitops tooling (Flux currently more likely than Argo) for replacing draughtsman. I think we should also write docs for how customers can use gitops to manage their app CRs.
So yes I don't think we need to rush speccing this. If it isn't enough we can still spec App Sets later.

Thanks @rossf7 I think we're still achieving same goal, but we're not creating our own code, right?
Maybe I'll rename this to: Write docs: How to use gitops tooling to achieve 'App Sets' functionality. WDYT?

Maybe I'll rename this to: Write docs: How to use gitops tooling to achieve 'App Sets' functionality.

@cokiengchiara Yes I think we should write docs and maybe create an example repo with some of our apps to get up and running quickly.

Should be in either Batman or Biscuit. Talk w @giantswarm/team-biscuit

Call scheduled for tomorrow.

From @pipo02mix , but customer also chatted in Slack:

To have a rollback mechanism in app platform for apps, similar to k8s offer for deployments (see: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#rolling-back-a-deployment)

There could be a use case where a user wants to roll back manually. With helm that is supported (https://helm.sh/docs/helm/helm_rollback/), but I'm not sure if a user of app-operator could trigger this manually. The thing is that with gitops tooling it the rollback would just set the version field of the app CR back to the previous version, not sure if that would result in an actual rollback, or in a rollout with an old version. Additionally, if we support this use case we need to test downgrades.
Also imagine a use case where the error is not found in normal testing but later in usage and the rollback needs to be triggered manually.

With helm that is supported (https://helm.sh/docs/helm/helm_rollback/), but I'm not sure if a user of app-operator could trigger this manually.

@puja108 We support helm rollback in chart-operator if the chart-operator.giantswarm.io/force-helm-upgrade annotation is true. But this isn't easily available or documented for users.
We implemented this for Helm 3 as an alternative to helm upgrade --force which doesn't recreate resources so isn't that useful for us. https://github.com/giantswarm/giantswarm/issues/11376

The thing is that with gitops tooling it the rollback would just set the version field of the app CR back to the previous version, not sure if that would result in an actual rollback, or in a rollout with an old version.

I agree with gitops rollback is easier and having rollback support in App Platform could be a useful feature. But I think it would be better to have a separate issue for that.
@cokiengchiara WDYT?

I agree with gitops rollback is easier and having rollback support in App Platform could be a useful feature. But I think it would be better to have a separate issue for that.
@cokiengchiara WDYT?

Yes, please. Can you create issue and link? 🙏

@cokiengchiara I created https://github.com/giantswarm/roadmap/issues/337 for rollback support and updated the use cases section to link it.

From customer in slack:
They have plans to run helm version exporter in order to increase transparency and even alert on drifts between current/desired version.
This would probably be a game changer for the way we manage app and a potential driver for us to migrate our helm charts to their own app catalogue (not a commitment that this will happen though :-P). For customer app catalogs, see:  https://github.com/giantswarm/roadmap/issues/29

@pipo02mix mentioned this in slack today, just to emphasize this is still relevant for customer, especially the rollback support.

cc @JosephSalisbury as this kinda depends on the general gitops as a interface to MCs story, the use cases mentioned here are slightly different from the ones around managing clusters, but in a way related to general features the gitops interface/tool might be able to offer.

Obi specific ticket: https://github.com/giantswarm/obi/issues/18

I just read through this ticket while looking for a specific issue on our board. IMO we can close this or WDYT is still missing for this to be possible @piontec @gianfranco-l ?

I think this can be closed but i leave the final word to @piontec

Yes, let's close this one and create a new list of stuff remaining

Yes, let's close and create the current view of what needs to be done


ONVIF Home Assistant Connection Refused

For whatever reason, the ONVIF integration in Home Assistant fails to connect to the camera, despite the ONVIF being enabled. Have tried with and without username and pass, still no dice. Ensured the port is correct. HA logs seems to suggest that the connection is refused, but Im not sure why.

Is the cam detected from discovery service?
Whel you start the integration wizard, does the cam appear in the list?

When running the discovery, it does pick up the device as existing, however the name is "unknown". I would also add that the port is incorrect for the auto discovery. I DID set the port to 5000 in admin settings to see if that would work and unfortunately it doesnt.

If the discovery finds the device, don't worry if the name is unknown.
The discovery service should forward to the correct ip/port where onvif server is  listening.
There is no standard port for onvif, if you didn't change it, default for this cam is 80.
I'm using the cam with ha 0.116 and it works correctly.

Strange. Perhaps maybe my asus merlin firmware has a firewall rule that I'm unaware of? Because even when it's detected, it still throws an "unknown error occured" problem. Logs continue to say that it's a connection refused problem.

Try with odm.

Really appreciate your help mate. I know this problem looks elementary and Im so sorry for wasting your time.
Using odm, it finds the camera, and its saying that there is no endpoint found. That must mean there is a setting problem with the camera. With onvif enabled, do I also need rtsp enabled? Because I thought Onvif was its own protocol that is independent of rtsp and such.

Reset the camera to default settings from yi-hack and it had no trouble picking up the camera. Will close the issue now as it was my fault and a settings related problem. For anyone with similar difficulties, reset your camera to default y-hack settings and try again. I  foolishly disabled several settings to lessen the stress on the camera modules performance wise without realizing that it broke the onvif capabilities. Thank you Roleoroleo for assisting and I do apologize for wasting your time.

No problem.
To answer your previous question: onvif is only a protocol descriptor so you need to enable rtsp.

Noted. Thank you very much. Im still very new to all this so I appreciate the information! Have about four other yi cams with your legendary hack to work on. ;)


Syncing fails with latest Browser addon

Hi,
as it seems, the latest firefox addon fails to sync now against bitwarden-ruby.
Maybe API changes upstream?
Greetings
...
Mike

Same problem here. Desktop app works fine.

I am working on it, see #32

Thank you!

Please see #36 and help test these changes so I can merge them into master.


testRangeRegexB can use System Foundation instead of FoundationEssentials

This unit test started failing in some configurations on macOS. This is because the range(of:) function is not defined in FoundationEssentials (just in Foundation) so this test was inadvertently calling to the system Foundation which does not have the fixed behavior on all OS's. While the test now looks a bit more clunky, it explicitly calls the internal entry point in FoundationEssentials rather than the system Foundation to ensure we're testing the right version of this function

@swift-ci please test


Maintain order of YamlSequence

Fixes #129
YamlSequence now maintains the order of reading or building.

Coverage decreased (-1.5%) to 87.942% when pulling 88781224d2ae54000ba319ef89e9d4796c9c3478 on 129 into 8d742d6795375eb0eb4587ed3d116c6ca9004fde on master.

@rultor merge it

@rultor merge it

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge it

@amihaiemil Done! FYI, the full log is here (took me 3min)


Stepper up/down buttons cause form submit

Description
When clicking on the stepper button, the form is submitted and the web page is reloaded with a new link.
Link to documentation
https://opensource.adobe.com/spectrum-css/components/form/
Additional context
This is likely a bug in the implementation of the stepper component (if there is one). The button in the stepper is resolved by the browser as the default submit button, so clicking on the button submits the form. The click event should have preventDefault() on it to prevent the form from being submitted. Alternately, there might be a designated submit button.
I'm not sure whether this should be defined as an actual documentation bug, but it was definitely annoying/puzzling to me when I encountered it.

@Harbs sounds like we need to add type="button" to the Stepper markup. Thanks!

Stepper uses button elements now so this should be fixed.


Tensor.dll error

I got this error:
Error completing request
Arguments: (0, <PIL.Image.Image image mode=RGB size=720x480 at 0x1E6DB78EF50>, None, '', '', True, 0, 2, 512, 512, True, 'None', 'None', 0, 0, 0, 0, 'u2net_human_seg', False, False, 240, 10, 10) {}
Traceback (most recent call last):
File "C:\Users\Amir\stable-diffusion-webui\modules\call_queue.py", line 56, in f
res = list(func(*args, **kwargs))
File "C:\Users\Amir\stable-diffusion-webui\modules\call_queue.py", line 37, in f
res = func(*args, **kwargs)
File "C:\Users\Amir\stable-diffusion-webui\modules\postprocessing.py", line 56, in run_postprocessing
scripts.scripts_postproc.run(pp, args)
File "C:\Users\Amir\stable-diffusion-webui\modules\scripts_postprocessing.py", line 130, in run
script.process(pp, **process_args)
File "C:\Users\Amir\stable-diffusion-webui\extensions\stable-diffusion-webui-rembg\scripts\postprocessing_rembg.py", line 53, in process
session=rembg.new_session(model),
File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\rembg\session_factory.py", line 66, in new_session
ort.InferenceSession(
File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 360, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 408, in _create_inference_session
sess.initialize_session(providers, provider_options, disabled_optimizers)
RuntimeError: D:\a_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1106 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "C:\Users\Amir\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"

I'm also getting this error.

yup i've got the same error (win10, 2080ti) updated my a1111, restarted a couple times

Confirmed. I tried rebuilding the venv folder and ran into the same issue as this. Win 11, 3060.

same here

same here

run pip install onnxruntime --upgrade onnxruntime==1.14 on my venv worked for me. Good luck

run pip install onnxruntime --upgrade onnxruntime==1.14 on my venv worked for me. Good luck

didn't work for me sadly ... updated with an error (something about a pip conflict because remBG wanted 1.13) but running it again confirms it did remove 1.13 and install 1.14.
as it has always been, the file it is looking for is where it's looking for it. "D:\Github\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dl"
RuntimeError: D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1069 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "D:\Github\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"

Confirmed. I tried rebuilding the venv folder and ran into the same issue as this. Win 11, 3060.

remove and rebuild venv, it works for me

_> run pip install onnxruntime --upgrade onnxruntime==1.14 on my venv worked for me. Good luck
didn't work for me sadly ... updated with an error (something about a pip conflict because remBG wanted 1.13) but running it again confirms it did remove 1.13 and install 1.14.
as it has always been, the file it is looking for is where it's looking for it. "D:\Github\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dl"
RuntimeError: D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1069 onnxruntime::ProviderLibrary::Get [ONNXRuntimeError] : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "D:\Github\stable-diffusion-webui\venv\lib\site-packages\onnxruntime\capi\onnxruntime_providers_tensorrt.dll"_
ah ignore all that i had to
stable-diffusion-webui\venv\Scripts> activate.ps1
first to activate the venv for a1111 first THEN run the command.
such simple things, but you have to know them to do them.

this one worked for me, big thx.
for those who need more details (steps):

go to \WebUI\venv\Scripts
run activate.bat
create .bat file in same directory and put there this command: pip install onnxruntime --upgrade onnxruntime==1.14
or run cmd in scripts folders and use same command
enjoy

Was able to fix it. Instruction step-by-step:

Open cmd
cd /d (path to webui)\venv\Scripts\
activate.bat
python -m pip install -U pip
pip install onnxruntime --upgrade onnxruntime==1.14

Was able to fix it, thanks to the replies. Instruction step-by-step:

Open cmd
cd /d (path to webui)\venv\Scripts\
activate.bat
python -m pip install -U pip
pip install onnxruntime --upgrade onnxruntime==1.14

Thanks, but still didn't work for me, do you have any idea?
Microsoft Windows [Version 10.0.19045.2728]
(c) Microsoft Corporation. All rights reserved.

 If you're running Stable diffusion then close it.

A problem with permissions. If you're running Stable diffusion then close it.

Thank you so much my friend, finally worked 🙏

add it to dependencies on install so the bug wont happen

I'd like to confirm that deleting the venv folder and letting it rebuild fixed the error for me.


Remove use of gafferStoreUtils table

The gafferStoreUtils table is no longer being used.
All references to it in the code base should be removed.

Could this table be used to check that a table has been initialised by Gaffer? There have been instances where a table has been created in Accumulo manually and then Gaffer data has been put in, and the user isn't aware that this won't function correctly because the correct iterators, etc., have not been applied.

It could be. However there must be a simpler way of doing it - perhaps by somehow setting a property on the table when a table is created by Gaffer.

True. We could insert a key with some very obscure string as the column family and record in the value when the table was created, and then check for the existence of that before doing any operation on the graph.

This has been merged into develop.


Update direct-lake-overview.md

Added clarification on RLS support outside the model
Thank you for contributing to Microsoft Fabric documentation
Fill out these items before submitting your pull request:
If you are working internally at Microsoft:
Provide a link to an Azure DevOps Boards work item that tracks this feature/update.

Who is your primary Skilling team contact? @mention them individually tag them and let them review the PR before signing off.

For internal Microsoft contributors, check off these quality control items as you go

[x] 1. Check the Acrolinx report: Make sure your Acrolinx Total score is above 80 minimum (higher is better) and with no spelling issues. Acrolinx ensures we are providing consistent terminology and using an appropriate voice and tone, and helps with localization.

[x] 2. Successful build with no warnings or suggestions: Review the build status to make sure all files are green (Succeeded).

[x] 3. Preview the pages:: Click each Preview URL link to view the rendered HTML pages on the review.learn.microsoft.com site to check the formatting and alignment of the page. Scan the page for overall formatting, and look at the parts you edited in detail.

[x] 4. Check the Table of Contents: If you are adding a new markdown file, make sure it is linked from the table of contents.

[x] 5. #sign-off to request PR review and merge: Once the pull request is finalized and ready to be merged, indicate so by typing #sign-off in a new comment in the Pull Request. If you need to cancel that sign-off, type #hold-off instead. Signing off means the document can be published at any time. Note, this is a formatting and standards review, not a technical review.

Merge and publish

After you #sign-off, there is a separate PR Review team that will review the PR and describe any necessary feedback before merging.
The review team will use the comments section in the PR to provide feedback if changes are needed. Address any blocking issues and sign off again to request another review.
Once all feedback is resolved, you can #sign-off again. The PR Review team reviews and merges the pull request into the specified branch (usually the main branch or a release- branch).
From the main branch, the change is merged into the live branch several times a day to publish it to the public learn.microsoft.com site.

@davidiseminger -  please review this PR and complete the sign off. Note that it is submitted to the public repo.

@davidiseminger
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

I updated these in a different PR, so please close this PR.


cannot resolve module 'youtube-api-search'

when trying to import YTSearch i get this error
ERROR in ./src/index.js
Module not found: Error: Cannot resolve module 'youtube-api-search' in /Users/fillipi/ReduxSimpleStarter/src
@ ./src/index.js 11:24-53
import React from 'react';
import ReactDOM from 'react-dom';
import YTSearch from 'youtube-api-search';
import SearchBar from './component/searchBar';
const API_KEY = 'AIzaSyAU9eqxZ7GpTpr8X0e_nV2h0AMVnAuJKaI';
YTSearch({key: API_KEY, term: 'surfboards'}, function(data) {
console.log(data);
});
//create new component. this should produce some html
const App = () => {
return (

 );
}
//take this components generated html and put it on the page (in the DOM)
ReactDOM.render(, document.querySelector('.container'));

Hi @fillipi1. Try to remove the existing module using npm r youtube-api-search and then re-install the module using npm install --save youtube-api-search.
I don't know why this error is occurring as when I did this project it went out all smoothly.

Hey @fillipi1 did you get this resolved?  Also note that you should check your package.json file to ensure your npm install works

Hi @fillipi1. Try to remove the existing module using npm r youtube-api-search and then re-install the module using npm install --save youtube-api-search.
I don't know why this error is occurring as when I did this project it went out all smoothly.

thanks a lot.............


handleAction allows return object with properties not pesent in the state type

I am not sure if it is a bug or feature, but this compiles just OK:
const action = { type: 'action1' as const };

function createAction() {
  return action;
}

type State = { foo: number };

createReducer<State, typeof action>({ foo: 1 }).handleAction(
  createAction,
  () => ({
    foo: 2,
    bar: 3 // bar is not in State
  }),
);

If it is the feature, why handleAction allows returning object with properties not present in the state type? This way the compiler will not catch some errors.

Is there any fix for this? It renders createReducer useless for me if handleAction cannot understand its return type

This is typescript limitation, doesn't have anything to do with the library. Just provide an explicit return type and it will work as expected.


Bug fix: Slug generation for values containing ampersand symbol

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Related tickets
-

License
MIT

Expected result
While creating/editing a page name in admin panel (/admin/pages), if it contains ampersand symbol (&), the generated slug should contain all typed letters and remove only ampersand (or other symbols) from it.
Example:

Actual result
Whole part after ampersand is cut off from slug.
Example:

Solution
As & is a special character in URLs, values containing it must be encoded while passing it as query parameter.

Hi @LinasRam, thanks for your PR! :tada: I'm merging it :muscle:


Pytest issue on Ubuntu 18.04

My CI started failing a few days ago with the following types of errors (not just for rosidl_adapter).
Finished <<< opensplice_cmake_module [4.29s]
stderr: rosidl_adapter
CMake Warning at /root/ros2_ws/ros2_base/install/share/ament_cmake_pytest/cmake/ament_add_pytest_test.cmake:73 (message):
  The Python module 'pytest' was not found, pytests can not be run (e.g.  on
  Ubuntu/Debian install the package 'python3-pytest')
Call Stack (most recent call first):
  CMakeLists.txt:31 (ament_add_pytest_test)

After some troubleshooting this seems to be due to the fact that when pytest is installed through pip, it installs version 4.6.1 which seems to clobber some of the other ROS python dependencies.
When this version is installed and I run: python3 -m pytest --version, it fails with a dist error.
If i remove the pip version everything works ok:
RUN python3 -m pip uninstall pytest -y

I think the build directions should be updated with a workaround for this issue: https://index.ros.org/doc/ros2/Installation/Dashing/Linux-Development-Setup/

The referenced instructions explicitly mention to install pytest via pip. So it is unclear why that didn't work for you.
Uninstalling it isn't the right approach since we rely on a newer version than what is available as a Debian package.

Hrmmm, I'm not sure either. I am building this in a docker container so the environment shouldn't be polluted. Here is a MWE dockerfile that follows copies and pastes from the directions and outputs the pytest error.

FROM ubuntu:18.04

RUN echo 'Etc/UTC' > /etc/timezone && \
  ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
  apt-get update && apt-get install -q -y tzdata curl gnupg2 lsb-release \
  && curl http://repo.ros2.org/repos.key | apt-key add - \
  && sh -c 'echo "deb [arch=amd64,arm64] http://packages.ros.org/ros2/ubuntu `lsb_release -cs` main" > /etc/apt/sources.list.d/ros2-latest.list'  \
  && rm -rf /var/lib/apt/lists/*

RUN apt-get update && apt install -y \
  build-essential \
  cmake \
  git \
  python3-colcon-common-extensions \
  python3-lark-parser \
  python3-lxml \
  python3-numpy \
  python3-pip \
  python-rosdep \
  python3-vcstool \
  wget \
# install some pip packages needed for testing
 && python3 -m pip install -U \
  argcomplete \
  flake8 \
  flake8-blind-except \
  flake8-builtins \
  flake8-class-newline \
  flake8-comprehensions \
  flake8-deprecated \
  flake8-docstrings \
  flake8-import-order \
  flake8-quotes \
  pytest-repeat \
  pytest-rerunfailures \
  pytest \
  pytest-cov \
  pytest-runner \
  setuptools\
# install Fast-RTPS dependencies
 && apt install --no-install-recommends -y \
  libasio-dev \
  libtinyxml2-dev

RUN python3 -m pytest --version

Error
Step 6/6 : RUN python3 -m pytest --version
 ---> Running in 4c2ae13d788f
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.6/dist-packages/pytest.py", line 102, in <module>
    raise SystemExit(pytest.main())
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 63, in main
    config = _prepareconfig(args, plugins)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 207, in _prepareconfig
    pluginmanager=pluginmanager, args=args
  File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 289, in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 87, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 81, in <lambda>
    firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 203, in _multicall
    gen.send(outcome)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/helpconfig.py", line 94, in pytest_cmdline_parse
    config = outcome.get_result()
  File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 80, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 187, in _multicall
    res = hook_impl.function(*args)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 687, in pytest_cmdline_parse
    self.parse(args)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 895, in parse
    self._preparse(args, addopts=addopts)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 836, in _preparse
    self._consider_importhook(args)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 784, in _consider_importhook
    self._mark_plugins_for_rewrite(hook)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 806, in _mark_plugins_for_rewrite
    for name in _iter_rewritable_modules(package_files):
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 625, in _iter_rewritable_modules
    for fn in package_files:
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 803, in <genexpr>
    for file in dist.files
TypeError: 'NoneType' object is not iterable
The command '/bin/sh -c python3 -m pytest --version' returned a non-zero code: 1

I'm seeing the same issue in my CI job that runs on the nightly docker image.  Things passed on May 31st with docker image sha256:1d4982c31809869c5b59892e9eaf014cb149acef28342fe6c0832dc3c586a964 for osrf/ros2:nightly
Then the same job started dying on June 2nd with docker image sha256:b364911fb43ef375043154ba0d72a3787983a0941cb55ccc0fd589b1d7976135 for osrf/ros2:nightly
I can reproduce the issue locally.  I don't have the 1d4982 docker image available, but I can test with one from a week ago and it works fine.
My CI pipelines are here.  I will continue to investigate

Sorry forgot to include this above. simplest repro case I have right now is:
$ docker pull osrf/ros2:nightly
$ docker run --rm -it osrf/ros2:nightly
[connext_cmake_module] Warning: The location at which Connext was found when the workspace was built [[/opt/rti.com/rti_connext_dds-5.3.1]] does not point to a valid directory, and the NDDSHOME environment variable has not been set. Support for Connext will not be available.
root@c1a178e62401:/# pytest
Traceback (most recent call last):
  File "/usr/local/bin/pytest", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 63, in main
    config = _prepareconfig(args, plugins)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 207, in _prepareconfig
    pluginmanager=pluginmanager, args=args
  File "/usr/local/lib/python3.6/dist-packages/pluggy/hooks.py", line 289, in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 87, in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/local/lib/python3.6/dist-packages/pluggy/manager.py", line 81, in <lambda>
    firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 203, in _multicall
    gen.send(outcome)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/helpconfig.py", line 94, in pytest_cmdline_parse
    config = outcome.get_result()
  File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 80, in get_result
    raise ex[1].with_traceback(ex[2])
  File "/usr/local/lib/python3.6/dist-packages/pluggy/callers.py", line 187, in _multicall
    res = hook_impl.function(*args)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 687, in pytest_cmdline_parse
    self.parse(args)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 895, in parse
    self._preparse(args, addopts=addopts)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 836, in _preparse
    self._consider_importhook(args)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 784, in _consider_importhook
    self._mark_plugins_for_rewrite(hook)
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 806, in _mark_plugins_for_rewrite
    for name in _iter_rewritable_modules(package_files):
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 625, in _iter_rewritable_modules
    for fn in package_files:
  File "/usr/local/lib/python3.6/dist-packages/_pytest/config/__init__.py", line 803, in <genexpr>
    for file in dist.files
TypeError: 'NoneType' object is not iterable

This looks like a regression in pytest 4.6.0 (released Jun 1st) as well as 4.6.1 and 4.6.2. The problem doesn't happen in 4.5 and older.
The bug appears when the files attribute of a importlib_metadata.PathDistribution is None. See pytest-dev/pytest#5389 for a proposed fix.

Sorry should have closed it, its been resolved.


Elasticsearch instrumentation adapter

Convert Datadog instrumentation for Elasticsearch to OpenTelemetry.
See

Datadog porting guide
Semantic Conventions
Datadog implementation

Hi 👋 !
Just wanted to know if there is any update regarding this issue, and if not, happy to help!

@mmontalvo please join in the fun!

Open a Draft PR and reference this issue so we know there is a WIP
If you have questions about the semantic conventions or porting guide ask them via this issue or join the the #otel-ruby channel in cloud-native.slack.com
The maintainers will review the PR and they approve it one of them will merge it.
🥳

Thanks @arielvalentin!
Just joined the Slack channel 👍

Thanks @mmontalvo - no updates on this yet - we'd ❤ your contributions! I've assigned this issue to you.

Thanks @fbogsany!

@mmontalvo are you still working on this?

Hi @fbogsany, sorry I haven't made any update yet..
Yes, still working on this 🙂


Clarify the use of RNGs in test_target_encoder.test_encoding

This PR to https://github.com/scikit-learn/scikit-learn/pull/26958 to attempt to simplify it by reorganizing the code of the test_encoding function to:

better separate data generation vs CV strategy defintion;
remove the need to get/set state of an RNG object (it wasn't actually needed in #26958);
also pass global_random_seed to the CV splitters and TargetEncoder instead of passing a hard-coded random_state=0;
rename some variables and add some comments to make the intent of the code more explicit.

I checked locally that this tests passes for all seeds using:
SKLEARN_TESTS_GLOBAL_RANDOM_SEED="all" pytest -v -k test_encoding -x sklearn/preprocessing/tests/test_target_encoder.py

ping @ogrisel

@lucyleeow sorry for the slow reaction. I updated the PR based on your suggestions.

Thank you!


Changelog does not pass markdownlint

:speaking_head: Foreword
Thank for taking the time to fill this bug report fully. Without it we may not be able to fix the bug, and the issue may be closed without resolution.
:ghost: Brief Description
The changelog (and likely other .md files) do not pass markdown lint, these files should be brought in line with markdownlint in order for the CI/CD pipeline to work
:pancakes: Cookbook version
Master
Steps To Reproduce
Steps to reproduce the behavior:
Install markdownlint
run markdown lint
see failures
:police_car: Expected behavior
markdown lint passes

I'd like to give it a shot ✋


Fail build if kafka example does not download or is invalid

Signed-off-by: Kevin Earls<EMAIL_ADDRESS>

@objectiser @rubenvp8510 @pavolloffay  please review


renamed classes for issue #1374

Fixes #

@... PTAL?

@EmmanuelDav Thanks for the fix! Could you kindly sign the CLA at https://cla.developers.google.com/?


⚠ ClamAV has degraded performance

In b7a3fab, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 286 ms

Resolved: ClamAV performance has improved in e0970e9.


Are small monophonic midi files being ignored?

My Magneta works fine, but ignores many monophonic midi files (possibly because of mal-formed headers). I recently found out that my Magenta also ignores the magenta/testdata/example.mid file, while working fine with the complex_example.mid file.
If I delete the complex_example.mid file leaving only the example.mid file then no melodies are found. This behaviour did not happen a few weeks ago.
Here is a text equivalent of the example.mid file

MFile 1 2 220
MTrk
0 TimeSig 4/4 24 8
0 Tempo 250000
0 KeySig 0 major
1 Meta TrkEnd
TrkEnd
MTrk
0 PrCh ch=1 p=0
0 On ch=1 n=60 v=100
209 On ch=1 n=60 v=0
220 On ch=1 n=62 v=100
429 On ch=1 n=62 v=0
440 On ch=1 n=64 v=100
649 On ch=1 n=64 v=0
660 On ch=1 n=65 v=100
869 On ch=1 n=65 v=0
880 On ch=1 n=67 v=100
1089 On ch=1 n=67 v=0
1100 On ch=1 n=69 v=100
1309 On ch=1 n=69 v=0
1320 On ch=1 n=71 v=100
1529 On ch=1 n=71 v=0
1540 On ch=1 n=72 v=100
1749 On ch=1 n=72 v=0
1750 Meta TrkEnd
TrkEnd

Here is the text equivalent of a working monophonic midi files

MFile 0 1 480
MTrk
0 Tempo 400000
0 KeySig 2 major
0 TimeSig 4/4 48 8
0 Meta TrkName "Astleys Ride"
0 Meta Text "C:Trad"
0 On ch=1 n=81 v=105
239 Off ch=1 n=81 v=0
240 On ch=1 n=78 v=80
479 Off ch=1 n=78 v=0
480 On ch=1 n=74 v=105
959 Off ch=1 n=74 v=0
960 On ch=1 n=74 v=80
1439 Off ch=1 n=74 v=0
1440 On ch=1 n=74 v=95.
.
.
.
lots of note on off's (col1.mid)
.
.
.
59999 Off ch=1 n=73 v=0
60000 On ch=1 n=74 v=105
60959 Off ch=1 n=74 v=0
60960 On ch=1 n=74 v=95
61439 Off ch=1 n=74 v=0
61920 Meta TrkEnd

We do filter out short melodies and melodies with few pitches.
There is not currently a command line flag to modify these settings, but you can change them in the code:
https://github.com/tensorflow/magenta/blob/master/magenta/models/shared/melody_rnn_create_dataset.py#L96
Try setting min_bars=0 and min_unique_pitches=0

Thanks. I will try that.

hey @danabo how do we get magenta/tensorflow to show debug errors. Is it something we request in the command line?
I want to see this output
tf.logging.debug( 'MonophonicMelody was discarded because it is too short.')

You were right. Changing min_bars and min_unique_pitches solved the problem of the "example.mid" not getting loaded. Zero's however caused an error but ones worked. still not able to load my midi files but I think the headers are that problem.

def extract_melodies(sequence, steps_per_beat=4, min_bars=1, min_unique_pitches=1):

P.S. I had to use yesterdays Magenta, the present repository has some issues that don't work on my computer.

The problem was the create dataset instructions have changed AGAIN!

Yes the flags changed again. Sorry for breaking things. We are in the middle of making some changes to how datasets are created.


Heyford OXF

An entry of Heyford has been made as an alternative to Upper Heyford OXF. It does not exist.
Please attach the search records to Upper Heyford and remove the Heyford alternative entry.
Geoff

Complete


looking for a class to validate franca packages

Currently pyfranca "only" generates the ast from the fidl file. I am looking for a way to validate the fidl files. Checking for undefined types, broken imports etc. I add franca_validator.py. You can add several fidl packages to class Validator and then validate the parsed packages. The corresponding unittests show you how to use it. franca_validator.py is far away from being finished. But it should give you an impression, what I mean.
Enclosed please find a zip file with some modifications on pyfranca.
pyfranca.zip

Thanks for opening a separate issue for this.
I assume that the archive is the same as the one in issue #2.
I will push first working version of my code merged with yours later today or tomorrow. I am working on updating your unit tests to work with the new code.

OK, I just pushed first working implementation. There are features that are still not fully supported (e.g. FQN references, extends, and proper interface member visibility). These will come soon as part of the final v0.2 .
I think all of the use cases that you suggested are covered. Your feedback will be appreciated. Also more unit tests are welcome!
I want to add two command-line tools that take advantage of the new Processor class - fidl_verify.py and fidl_dump.py (to visualize, paresed AST).

looks  good at first view.  Good Job.
After my vacation next week I get on with checking your commits.

OK. Looking forward to your input. Closing the issue for now.


Suggestions

Does an issue already cover this?

[X] I have searched for any existing issues, and didn't find any.

Issue description.

less heavy of a mod
instead of improving on fast placement can you make the random code itself faster and/or make your current solution more robust?
Could be "average Minecraft" though it seems this mod has a minor issue similar to what is trying to be solved by the mod "dynamic FPS".

This mod is not heavy at all. It contains 1 mixin and a custom implementation of Minecraft's Random class, using RandomGenerator (see RandomGeneratorRandom). This new implementation of random number generation is a lot faster than what's used in vanilla (legacy java.util.Random).
I'm not sure what Dynamic FPS does, haven't looked into it.

I want to use this mod and noisium! Right now it barely fits my specifications, and I may end up switching to other mods instead.

Faster Random is compatible with Noisium

Also, Dynamic FPS does not do anything similar to Faster Random in the slightest.  Faster Random optimizes the RNG system.

Could you optimize calls to worldgen_region_random as well.

I could, but I don't want to screw up worldgen too much, or create so many new generators that the improvement is negligible. What I could do is have a version of Faster Random that completely breaks parity, and uses random in a way that yields much more performance.


sota_qemux86-64.bbclass: Use u-boot-ota

Use u-boot-ota recipe for QEMU x86-64 bootloader.
Signed-off-by: Leon Anavi<EMAIL_ADDRESS>

@leon-anavi I'm seeing an error like this:
ERROR: Nothing PROVIDES 'virtual/bootloader'
u-boot PROVIDES virtual/bootloader but was skipped: PREFERRED_PROVIDER_virtual/bootloader set to u-boot-ota, not u-boot
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'virtual/bootloader']

Do you know what I'm missing?


Change id to query parameter instead url

Route will be "/explore/view" only. The id for post needs to be passed as query param, basically the route called will be(on localhost) localhost:3000/explore/view?id="id_here" . Note anything after the "?" is not a part of the route, and hence route here is only /explore/view. The things we pass after the "?" are query params, and they vanish when the page is loaded. In express.js, inside a route handler, you can get the param(in our case, the id of the blog) by doing req.query.id . Similar approach for opportunities.


list of tickers?

Thanks this excellent packages for yahoo finance!!!!!!!!!
It saves my group project for visualization especially my group member is non-active before DDL.
Could anyone help to make me clear where can I find tickers??
i.e. Google company stock, Gold price, foreign exchange info. like U.S.D?
Many thanks in advance!
Best,
Peter

here is a start
https://www.nasdaq.com/screening/company-list.aspx

https://github.com/pdhimal1/AI-Project/tree/master/Data


No Option to Duplicate Workflow

Describe the Bug with repro steps

Go to Logic App
Create a new Workflow
Try to create another workflow

There is no way to duplicate an existing workflow and we have to create the new one from scratch.
What type of Logic App Is this happening in?
Standard (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
All
Additional context
No response

Closing for now as this is actually going to require a solid amount of backend work to make possible. Have made them aware that this is an ask.


Error on domElementGetter on Browser Back Button.

Hello,
My page has 2 layouts in master app, one with full width and one with sidebar and main section.
I want to place my angular app inside the main section of my page.
On back button i have this message:

The domElementGetter returning null because the document.body is not ready yet.
Here is my code on main.sinlge-spa.ts
var el;
function domElementGetter() {
  el = document.getElementById('main-section');
  console.log("inside dome element")
  if (!el) {
    console.log("el doent not exist")
    return existingElement();
  }
  else{
    el = document.getElementById('main-section');
    return el;
  }
}
function existingElement(){
  var checkExist = setInterval(function() {
    console.log("test")
    console.log(document.body)
    if (document.getElementById('main-section')) {
      console.log("Element Exists!");
      clearInterval(checkExist);
      return document.getElementById('main-section');
    } }, 100);
}

Any ideas?

The domElementGetter returning null because the document.body is not ready yet.

Your code must be pretty different than the coexisting-angular-microfrontends code, since we call singleSpa.start() inside of document.body.
You should not need to worry about any of this. single-spa-angular creates a dom element container for you without you having to create it in the html file or your own custom domElementGetter.
To fix your code, just put your javascript into the  element of the HTML.
I'm closing this since this does not seem like an issue with coexisting-angular-microfrontends and I've given you a way to fix it.

The code is exacly the sameas the coexisting-angular-microfrontends code but in the navbar app i want to have a sidebar instead of navbar.So my code in the navbar html is like this:

                    Sidebar

                    Home
                    Log in

And i want to place my home-page-app inside div with id "main-section"
So in the home-page app in the main.single-spa.ts i put the function:
function domElementGetter() {
  let el = document.getElementById('main-section');
  if (!el) {
    el = document.createElement('div');
    el.id = 'main-section';
    document.body.appendChild(el);
  }
  return el;
}

All working well and i have this result:

But when back button is pressed the document.getElementById('main-section') returns undefined and this happened:

That is the reason why i changed the code in the main.single-spa.ts in the home-page app to the code i posted to find the element first and after return the DOM element.
But as i saw in the console with the comments the main.single-spa.ts is running before the DOM is generated and that is why return undefined.

For back button related issues, see https://github.com/CanopyTax/single-spa-angular/issues/94.
Your error makes no sense for it to be related to the back button. Please push your code to github and we can reopen this for me to look at. The setInterval stuff you have is incorrect and shouldn't be needed.


[posix-app] enhance reset implementation

Add posix pseudo reset

Codecov Report

Merging #6 into master will decrease coverage by 27.11%.
The diff coverage is n/a.

The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
- Coverage   77.81%   77.72%   -0.10%
==========================================
  Files         334      334
  Lines       40754    40764      +10
==========================================
- Hits        31714    31682      -32
- Misses       9040     9082      +42

Impacted Files
Coverage Δ

src/posix/platform/uart.cpp
44.06% <ø> (-28.82%)
:arrow_down:

src/posix/main.c
57.04% <25.00%> (-3.68%)
:arrow_down:

src/posix/platform/misc.cpp
77.41% <83.33%> (+1.41%)
:arrow_up:

src/posix/platform/system.cpp
94.82% <100.00%> (+0.18%)
:arrow_up:

src/core/mac/data_poll_handler.cpp
77.58% <0.00%> (-7.76%)
:arrow_down:

src/core/common/random_manager.cpp
94.91% <0.00%> (-3.39%)
:arrow_down:

src/core/mac/channel_mask.cpp
97.67% <0.00%> (-2.33%)
:arrow_down:

src/core/thread/mesh_forwarder_ftd.cpp
86.88% <0.00%> (-2.06%)
:arrow_down:

src/posix/platform/hdlc_interface.cpp
53.46% <0.00%> (-1.16%)
:arrow_down:

... and 9 more


how to run sacredboard?

I was able to install sacredboard with pip3 install sacredboard but when I simply run sacredboard I get command not found.
Maybe something like the following needs to be done?
https://stackoverflow.com/questions/36092388/adding-installed-pip-package-to-path-automatically
I'm not using virtualenv or anything tricky.

Hi,
please tell me more about your system. What OS and Python distribution are you using to run Sacredboard on?
On Linux Mint and Arch Linux, where I tried it, the installer created a startup script for sacredboard in /usr/bin, which is normally on path. Of course, I had to run pip (or pip3) as root when not in a virtualenv.
Similar for the Anaconda Python distribution that I'm using on Windows.
Thank you for letting me know about your system.

I'm on OS X but interestingly I uninstalled and reinstalled and it seems to show up now. I'll try it out now. Sorry for the trouble!


NIX IO small fixes

Some fixes and maintenance for the NIX IO:

Remove support for C++ backend
The NIX IO was meant to rely on the pure Python backend of NIX. There was some code in the IO which made it compatible with the C++ backend before the Python backend was fully complete and polished, but now it's unnecessary and has been removed.
Alias nixio import to nix
By convention, we import nixio as nix. This has the added benefit that it avoids any confusion that might arise from using the nixio package in the Neo-NIXIO.
Remove dependency on six
It was used just for checking string_types so now the variable is set in the same way six sets it and the dependency is removed.
Default file mode set to rw
Was read-only. Change is compatible with NIX and Neo tests.

Coverage increased (+0.03%) to 52.148% when pulling 8b215a72d7773441c6974855de4b4cb1b8358ff6 on G-Node:nixio-fixes into 5cdd696f41f2eb4c2a5cf4023a902b94f91631cc on NeuralEnsemble:master.

Not sure why the tests failed here. It failed for py2.6 on the PyNNIO.
Is there any chance it's related to my previous PR or something I changed in this one?

Coverage increased (+0.03%) to 52.154% when pulling 68c58cfdc611c76938dc30374768104da76ea954 on G-Node:nixio-fixes into 8915dfe9e55fd3a36be83d820bdd83ab085e9402 on NeuralEnsemble:master.

Coverage increased (+0.03%) to 52.154% when pulling 68c58cfdc611c76938dc30374768104da76ea954 on G-Node:nixio-fixes into 8915dfe9e55fd3a36be83d820bdd83ab085e9402 on NeuralEnsemble:master.

Pushed another small fix and rebased off current master.

The PyNNIO module has an intermittent test failure, which you can ignore.

Good to know, thanks.
I have a couple of more small changes/fixes coming, one of them to address #275. I'll push them to this PR if you don't mind keeping it open.

Coverage decreased (-0.04%) to 52.089% when pulling c13a3378de2b2af75ab344d47942d2583303967a on G-Node:nixio-fixes into 8915dfe9e55fd3a36be83d820bdd83ab085e9402 on NeuralEnsemble:master.

Close method and context management added to PR.

Coverage decreased (-0.05%) to 52.08% when pulling 88a4871558f17c57674b7dcb2d620a3c0c97e27c on G-Node:nixio-fixes into 8915dfe9e55fd3a36be83d820bdd83ab085e9402 on NeuralEnsemble:master.

Coverage decreased (-0.05%) to 52.08% when pulling 88a4871558f17c57674b7dcb2d620a3c0c97e27c on G-Node:nixio-fixes into 8915dfe9e55fd3a36be83d820bdd83ab085e9402 on NeuralEnsemble:master.

Is this ready to merge?

Yes, it's good to go.
Thanks!


[WIP] Add options for verbose, and JSON output

New features

[x] Added Verbose output
[x] Added JSON output
[x] Update version
[ ] Failed only JSON output
[ ] Update README.md

Closing, using #35 instead!


Milestone 1 Comment

Comments:

Did not include Teamwork contract in canvas submission (-10)
Error in markdown table in question 5.2

Final Score: 90/100

Feel free to send me your teamwork contract on slack or in this issue to receive the mark!

Hi @Glenn032787! Here is our Team Work contract: https://docs.google.com/document/d/12_ieMhBh4RPM0LjiJZU35JLZx0srPnyXWPlSboVQJ2Q/edit#


[Bug] uploadFile not working in Linux

Hello. I'm expiriencing some issues with uploadFile() in Linux. For some reason my code won't work after I call click() on <input type="file">.Then I moved my project from Ubuntu 18.04 VPS to my home workstation with Windows 10 and tried to run it there and everything worked just fine. I have no idea why this could happen but my code works fine if I comment those lines:
var fileInput = await newThread.$('#createbox input[type="file"]')
await fileInput.uploadFile(...filesToUpload)

Do you have any ideas on why is this happening? Maybe there are some access rights which might be blocking my files or something? I'm running my script via SSH console with root user. Files I need to upload belongs to root user and have 0644 oct.
Tell us about your environment:

Puppeteer version: 1.11.0
Platform / OS version: Ubuntu 18.04
URLs (if applicable):
Node.js version: 10.15.0

Guys, did you find any solution?

This should be fixed as of 532ae573d29063ffd081ed9ee340d71b25320dec as we changed the underlying implementation to use DOM.setFileInputFiles, which behaves a lot more as expected. We also fire events for change and input, too. Going to close this issue, but please let us know if it's not fixed.

I think it's still not working on Ubuntu.


Possibility to set or modify tvg-id

As you know, service providers don't pay too much attention for giving us a m3u list with valid or complete datas.
Thereby, I think a new option to set/modify tvg-id value would be useful to improve linkage with epg.
Following your latest changes, it would be easy to make it like this:
# set missing or wrong tvg_id
def set_tvg_id(tvg_id, tvg_name, array):
    for item in array:
        tvg_name_value = next(iter(item.keys()))
        tvg_id_value = next(iter(item.values()))

        if tvg_name.startswith(tvg_name_value):
            tvg_id = tvg_id_value
    return tvg_id

add this line to filter_m3u_entries()
m3u_entry.tvg_id = set_tvg_id(m3u_entry.tvg_id, m3u_entry.tvg_name, args.id_transforms)

and of course modify script to handle new argument...
Maybe the best way would be to modify your transform_string_value() function and add one source argument for search value. If search value is empty, just replace string_value with replacement_value like it's done actually.
Let you decide for the right way ;)
Thank you !

I think my previous message needs some clarifications.
It's probably better to set/modify tvg_id depending of channel name (using tvg-name or name property) rather than make string transformation like it's done for groups or channels names.
In this last case, empty tvg-ig couldn't be set with a correct value.
This is why I add tvg_name argument in set_tvg_id()

Thank you, this all makes sense.
Before I make a start on this I thought I'd ask you if you think this change should only apply updates to the tvg-id attribute value in the m3u data. In other words do you think we're able to make an assumption that the data in the epg xml is semi-reasonable and this feature will exist to attempt to match edited m3u tvg-id values to the data in the epg xml?

Yes the goal here is to change only tvg-id attribute in m3u data to attempt to match data in the epg xml.
It usefull if for example we use epg xml which are not provide by the same service provider (values used for channel property in programme element are unfortunately not standardized)

Thank you for clarifying, I'll make a start on this change asap.

One new commit pushed to the master branch.
This is the introduction of the new optional -it / id_transforms argument, i.e.:
{"id_transforms": [
    {"FILM 4": "film4.uk tvg-id edited"}
]}

Please give that a try, hopefully it will work how you intend it to.

Yeah, exactly like expected or almost :)
Strange results occured here if for example, one or several tvg-id contain tvg-name value of channel.
Suppose we have this m3u file (add voluntary bad datas for illustration):
#EXTM3U
#EXTINF:-1 tvg-id="fr.FRANCE 2" tvg-name="FR2" group-title="TNTSAT",FR2
http://xxxxxx.xxxxx/yyyyyyy/zz
#EXTINF:-1 tvg-id="fr.france" tvg-name="FRANCE 2" group-title="TNTSAT",FRANCE 2
http://xxxxxx.xxxxx/yyyyyyy/zz
#EXTINF:-1 tvg-id="fr.FRANCE 2" tvg-name="FRANCE 3" group-title="TNTSAT",FRANCE 3
http://xxxxxx.xxxxx/yyyyyyy/zz

and define new id_transforms argument like this:
"id_transforms": [
    {"FRANCE 2": "france2.fr"}
],

We expect that only tvg-id of channel with tvg-name="FRANCE 2" would be modify but it's not the case.
Give it a try please...
So finally, I modify your function like this and all is perfect:
def transform_string_value(string_value, compare_value, transforms):
    for transform_item in transforms:
        src_value = next(iter(transform_item.keys()))
        replacement_value = next(iter(transform_item.values()))
        if compare_value is not None:
            if compare_value.startswith(src_value):
                string_value = replacement_value
        elif src_value in string_value:
            string_value = string_value.replace(src_value, replacement_value)
    return string_value

I'm curious to know if you get same results...

Good catch, yes I see the same problem when testing with your sample m3u data and id_transform set. Your proposed fix works perfectly, it is pushed in now.
Thanks for that, very much appreciated.

OK thank you for test and feedback.
Do you have any explanation about not working "and" operator in this specific case ??

Yes, the explanation is that the original version https://github.com/jjssoftware/m3u-epg-editor/commit/5adb4570ec36be209abb2cf67cd34fc5dea3f88c#diff-60f6329374a8b305656a72e83f132bd7R571 was buggy:
When a compare_value was passed into the transform_string_value function and when the compare_value.startswith(src_value) condition did not match, that would cause the code to fall through to the elif src_value in string_value: check. In the case of your 3rd m3u data item this just happened to pass / match due to how the data looked. This resulted in the 3rd m3u data item getting it's tvg-id value unexpectedly and incorrectly transformed.
Very good bug spotting on your behalf, thank you :)

You're welcome.
It's clear now. Thank you for highlights ;)

Jolly good, closing.

@arjunior26 @jjssoftware
Rather than a startswith would you be open to an ==  or less preferably, a regex?
What i'm finding here is that its not possible to transform tvg_name's that are not unique enough.
For example if you want to transform name but you also have name 2 and name 3s. All 3 would are transformed and 2 are randomly deduped.

Hi @bigkraig personally I'm open to any change in this area that will generally work. This feature was introduced based on rules supplied by @arjunior26 so I'll let them decide what is / is not valid.

Hi @bigkraig @jjssoftware
For sure, it would be preferable to use equals() in some cases and in others not :)
Suppose we have channels names like "France2 SD", "France2 HD", "France2 Full HD" in our list, using startswith() will permit us to set change easily (only one definition in json file).
However, I think your suggestion is right as current script doesn't let you make changes as you need !
Using equals() will permit to use the script in all configurations ! 👍

Hi @bigkraig + @arjunior26 I've made the suggested change switching .startswith to == within the transform_string_value function since it appears that this change will work as it needs to for both of you.


update hexo page

This PR fixed the page format and added several links for hexo documentation.

Updated on jamstack.org via https://github.com/jamstack/jamstack.org/pull/420 !


Implement mark down or similar for texts

It would be good if the admin could choose a mark up language for texts in the system. Django can do this, please enable it!

@ostcar @emanuelschuetze We do have now a WYSIWYG editor. Do we need any markup?

Currently we use CKEditor with HTML markup for a lot of text fields. This should be enough for formatting. -> closed.


Python 2.7.13

root@server:/opt/cucm-exporter# python cucm-exporter.py -a <IP_ADDRESS> -v 11.5 -o "phones.csv" -u user -p pass  -t --export phones
File "cucm-exporter.py", line 18
print(f"status: starting {start_time}")
^
SyntaxError: invalid syntax

This app is only supported under Python 3.7 or later.  You may however use the bundle executables in the releases.  I will update the readme to make sure the Python 3.7 requirement is noted.  Thank you for the feedback.


TypeError: cannot deepcopy this pattern object

When using manual.py it appears that there's an issue deepcopying the pattern object. I've tried iterating over an entire directory full of mkvs, as well as directly specifying a single input file and they all receive the same error.

root@efe0b3155e10:/sickbeard_mp4_automator# python manual.py -i /unionfs/movies/The\ Hunt\ for\ Red\ October\ \(1990\)/The\ Hunt\ for\ Red\ October\ \(1990\).mkv -a
Manual processor started.
/usr/bin/python
Audio bitrate was invalid, defaulting to 256 per channel.
64bit Python.
Traceback (most recent call last):
  File "manual.py", line 370, in <module>
    main()
  File "manual.py", line 342, in main
    elif (os.path.isfile(path) and MkvtoMp4(settings, logger=log).validSource(path)):
  File "/sickbeard_mp4_automator/mkvtomp4.py", line 121, in __init__
    self.importSettings(settings)
  File "/sickbeard_mp4_automator/mkvtomp4.py", line 126, in importSettings
    settings = deepcopy(settings)
  File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python2.7/copy.py", line 298, in _deepcopy_inst
    state = deepcopy(state, memo)
  File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python2.7/copy.py", line 298, in _deepcopy_inst
    state = deepcopy(state, memo)
  File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
    y = copier(x, memo)
  File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
    y[deepcopy(key, memo)] = deepcopy(value, memo)
  File "/usr/lib/python2.7/copy.py", line 174, in deepcopy
    y = copier(memo)
TypeError: cannot deepcopy this pattern object

This change was reverted yesterday and replaced with a different solution, please update and the error should go away

On Nov 3, 2018, at 1:13 PM, Everett Southwick<EMAIL_ADDRESS>wrote:
When using manual.py it appears that there's an issue deepcopying the pattern object. I've tried iterating over an entire directory full of mkvs, as well as directly specifying a single input file and they all receive the same error.
root@efe0b3155e10:/sickbeard_mp4_automator# python manual.py -i /unionfs/movies/The\ Hunt\ for\ Red\ October\ (1990)/The\ Hunt\ for\ Red\ October\ (1990).mkv -a
Manual processor started.
/usr/bin/python
Audio bitrate was invalid, defaulting to 256 per channel.
64bit Python.
Traceback (most recent call last):
File "manual.py", line 370, in
main()
File "manual.py", line 342, in main
elif (os.path.isfile(path) and MkvtoMp4(settings, logger=log).validSource(path)):
File "/sickbeard_mp4_automator/mkvtomp4.py", line 121, in init
self.importSettings(settings)
File "/sickbeard_mp4_automator/mkvtomp4.py", line 126, in importSettings
settings = deepcopy(settings)
File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.7/copy.py", line 298, in _deepcopy_inst
state = deepcopy(state, memo)
File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.7/copy.py", line 298, in _deepcopy_inst
state = deepcopy(state, memo)
File "/usr/lib/python2.7/copy.py", line 163, in deepcopy
y = copier(x, memo)
File "/usr/lib/python2.7/copy.py", line 257, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
File "/usr/lib/python2.7/copy.py", line 174, in deepcopy
y = copier(memo)
TypeError: cannot deepcopy this pattern object
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/mdhiggins/sickbeard_mp4_automator/issues/949, or mute the thread https://github.com/notifications/unsubscribe-auth/ADcO6sdZr4GuJNPROwSxi38QQn0i48Liks5urc7MgaJpZM4YM5qa.

Thank you, that worked!


Issue #880 Merge Cache implementations

Merging back Cache implementations in a single Ehcache class
Implement Ehcache.get short circuit that invokes Store.get

This change introduces extra deserialization on put - see SerializerCountingTest. @lorban what was the perf status for put?

Not doing for now given clustering discussion with @chrisdennis, @lorban and @cljohnso


Fix GitLab CI

Specify Halide's library path while installing since the default differs between machines.
Changelog
Fixed

Specify Halide's library path while installing

Checklist

[ ] Automated tests pass
[x] Changelog updated
[x] Code style guideline is observed

Halide now also works internally, but Verilator fails as expected. @suehtamacv feel free to add potential fixes we need for Verilator to this PR as well.

Halide now also works internally, but Verilator fails as expected. @suehtamacv feel free to add potential fixes we need for Verilator to this PR as well.

Done! :tada:


fix fix some error set type

Proposed changes
datetimev2 -> columnU64
Decimal128V3 -> ColumnDecimal

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Should not restrict the status code

At the following lines it's clear that the status code is enforced to be between 100 and 599.
https://github.com/github/fetch/blob/master/fetch.js#L313-L316
But in some cases servers/APIs can return a custom status code higher than 599.

I'm not sure if we should officially support status codes higher than 599, since those don't seem to be part of the HTTP spec. HTTP/1.1 only defines the first digit to be in the range of 1–5.

That should be up to the developers using the fetch library.
We already have to check for 2xx anyway.
Getting blocked beforehand doesn't do any good for the people expecting receiving this status.

We do this check mostly because of IE, which returns large error codes to signal various network errors. If you want to support status codes > 599, you have to come up with an idea of how to detect IE network errors in another way.

Why would fetch need to filter it??
Like I said, let the developers using fetch do it.
Fecth on Chrome doesn't filter. Node doesn't filter. So why this library do?
Why adding limitation?
Doing the following by a user/developer should be enough to me.
function checkStatus(response) {
  if (response.status >= 200 && response.status < 300) {
    return response
  } else {
    var error = new Error(response.statusText)
    error.response = response
    throw error
  }
}
fetch(api).then(checkStatus);

This is a polyfill, so I would expect it to stick to standards (the standards for the fetch API, not HTTP), or if those are lacking in clarity, to do what the majority of browsers do. If that is to let the 6xx go through, I think this library should too, right? Limiting developers from receiving these codes can be a blocker. The opposite case cannot be made.

Why would fetch need to filter it??

@micky2be Please read my above comment again:

We do this check mostly because of IE, which returns large error codes to signal various network errors. If you want to support status codes > 599, you have to come up with an idea of how to detect IE network errors in another way.

So if we find a reliable way to detect IE network errors, we can remove the filter.

Good discussion about two competing concerns: passing intentionally invalid status codes from the server through to the client vs supporting IE 9's invalid client status codes. I'm closing this out though, because supporting IE 9 is more important right now.
In a few months we can consider removing the IE 9 support in a 2.0 release. Those needing legacy support could still use the 1.x line. Fetch has been stable for enough time that supporting a 1.x and 2.x line wouldn't be too much work.

Do we still need to support IE9?

v1 can support it, if someone could just release a v2 that removes that support?

We can drop IE9 support going forward. :+1:

\o/

\o/

Yeah!! Thanks guys


Update psycopg2 dependency to psycopg2-binary

Fixes a deprecation warning by using psycopg2-binary instead of psycopg2:

UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: http://initd.org/psycopg/docs/install.html#binary-install-from-pypi.

Awesome. Thanks for contributing @johnfraney! 💖 ✨


Incomplete tests: Standardized logging and error handling with dynamic log level changes

@hklai commented on Mon Oct 09 2017
Context: production readiness proposal and plan
The feature “Standardized logging and error handling with dynamic log level changes” is identified as incomplete test coverage. As a measure to reach Istio production quality in 0.3, this issue is opened to track the progress of providing sufficient test coverage for the feature in question.
This issue is initially assigned to the working group leads.
Recommendations:

Come up with a test plan for how the feature should be tested. Identify and document (in this issue, or a separate document this issue will link to) test cases and whether each will be covered by an integration test (with some level of mocking and/or starting up selected components in test environment), or end to end test (aka system test, which brings up the whole Istio to exercise the feature; currently live in the istio/istio repo).
If you expect the test plan is complex and controversial, consider having it formally reviewed.
State an ETA in the issue, and assign this to a developer who will execute the test plan.
Execute the test plan as the highest priority for 0.3.
For any bug or defect identified by the new test cases, file a new issue and link it from this one.
Close this issue only when the test plan is completely executed, and all additional issues identified in step 3 are fixed.

If you see a risk of not fixing this issue by end of 0.3, please contact<EMAIL_ADDRESS>as soon as possible. We will also periodically ping the issue for update.

@mandarjog commented on Wed Dec 13 2017
@geeknoid This is related to the new logging library PR. Does it already support dynamic log level changes? This issue reads more like an incomplete feature.
Are we promising this for 1.0 ?

@geeknoid I am closing this. You may reopen it later, but these tests should be part of the PRs that are coming in related to logging.


Use assign polyfill to support IE 11

CI errors about deprecated usage of Ember.$() seem unrelated.

sorry about the delay. @workmanw does this look ok to you?

:+1:

@jakesjews, @workmanw, thank you 👏.


Relative Predict URL

Make /predict method URL relative, not hardcoded "meshplanner.mpatrick.dev"

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Post-release 0.6.3 fixes

In particular, a classic downloading-from-the-release-page bug

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 16.449%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1373

Relevant Lines:
8347

💛  - Coveralls


get token of cookie

为静态文件也做 token 校验，需要通过 cookie

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (340aabf) 94.86% compared to head (b72cb88) 93.97%.
Report is 2 commits behind head on main.

Files
Patch %
Lines

drf_passwordless_jwt/views.py
71.42%
4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
- Coverage   94.86%   93.97%   -0.89%
==========================================
  Files          16       16
  Lines         370      382      +12
==========================================
+ Hits          351      359       +8
- Misses         19       23       +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


"Uncaught $.fn.pjax or $.pjax.click requires an anchor element"

Hey there. I am using 1.2 and can't seem to get things working at all. I get above error upon clicking a link (for a brief moment), and then the page loads as normal.
Here is how I am setting things up:
$('#main').pjax('a').on('pjax:send', function(){
    $(this).showLoader()
})

@josh i have the same error. How do i configure the server? There is only something with rails in the README. I have a PHP Setup in Wordpress. Thanks


qtox: remove opencv dependency

It doesn't depend on it for a long time.
Motivation for this change
Remove a dependency that is not needed anymore.
Things done
Tested on 17.09.

Thanks @sorokin!


Collect metrics from target nodes

When we run TryCP-based scenarios, we are running one control node and connecting to several targets that have TryCP and Holochain on them. We collect custom and host metrics from the control node but we don't yet collect any metrics from Holochain or the host on the target nodes.
We could solve this in two ways

Modify Holochain to integrate with Telegraf, and have TryCP launch Holochain with that enabled. At the end of the scenario we could have TryCP run Telegraf to push metrics to InfluxDB
Investigate a tool that could run Wind Tunnel scenarios the way that they were originally designed to run. That is, without TryCP. Then figure out how to integrate Telegraf with that tool.

I suggest that we do #111 before this, then we can decide which option we're going with and can add some AC for this issue.


WIP : v0.5.0

Codecov Report
Patch coverage: 92.59% and project coverage change: +0.63 :tada:

Comparison is base (4cabb2c) 81.99% compared to head (41e6247) 82.63%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   81.99%   82.63%   +0.63%
==========================================
  Files          33       36       +3
  Lines        3016     3144     +128
==========================================
+ Hits         2473     2598     +125
- Misses        543      546       +3

Impacted Files
Coverage Δ

src/algebra/floats.rs
100.00% <ø> (ø)

src/solver/core/cones/compositecone.rs
79.11% <ø> (ø)

src/solver/core/solver.rs
69.10% <0.00%> (ø)

src/solver/implementations/default/kktsystem.rs
84.94% <ø> (ø)

src/solver/implementations/default/residuals.rs
100.00% <ø> (ø)

src/solver/implementations/default/settings.rs
50.00% <ø> (ø)

src/algebra/native/mod.rs
80.07% <78.43%> (-1.75%)
:arrow_down:

src/solver/core/cones/nonnegativecone.rs
76.59% <80.00%> (ø)

src/solver/implementations/default/presolver.rs
95.34% <95.34%> (ø)

src/algebra/matrix_utils.rs
86.49% <97.43%> (+2.15%)
:arrow_up:

... and 18 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


findbugs: Boolen function should not return null

I agree with the change (not tested yet)
Once it does not return null, the Boolean could be boolean?

will add that change as well (why not try?)


Challenge design

Suggested Renaming for Clarity
Categories → Activity Types
Rationale: "Activity Type" is more descriptive and immediately tells the user that they are selecting the kind of activity the challenge involves.
Reps → Repetitions
Time → Time-Based Activities
Weight → Weightlifting
Distance → Distance-Based Activities
Social → Engagement Activities or Community Challenges
Explanation:
"Repetitions": Clarifies that the challenge involves counting the number of times an activity is performed.
"Time-Based Activities": Specifies that the challenge is measured in time.
"Weightlifting": Clearly indicates that the challenge involves lifting weights.
"Distance-Based Activities": Clarifies that the challenge involves covering a certain distance.
"Engagement Activities": More specific than "Social"; implies activities that involve social interaction or community participation.
Metrics → Progress Measurement
Rationale: "Progress Measurement" directly tells the user how their progress will be tracked.
Numerical → Count-Based
Duration → Time-Based
Change → Improvement Over Time
Explanation:
"Count-Based": Indicates that progress is measured by counting (e.g., number of push-ups).
"Time-Based": Clearly shows that time is the measurement (e.g., time spent running).
"Improvement Over Time": Specifies that the focus is on progress or change from a baseline.
Metric Options → Goal Types
Rationale: "Goal Types" is more user-friendly and directly relates to what users are setting for the challenge.
Min → Minimum Goal
Max → Maximum Effort
Target → Specific Target
Shortest → Shortest Time
Longest → Longest Duration
Explanation:
"Minimum Goal": Clearly states that the objective is to achieve at least a certain amount.
"Maximum Effort": Encourages users to do as much as possible.
"Specific Target": Indicates aiming for a precise number or value.
"Shortest Time": Specifies that the goal is to complete something in the shortest possible time.
"Longest Duration": Aims for the longest time spent on an activity.
Units
Suggestion: Use full names and consider adding abbreviations in parentheses for clarity.
kg → Kilograms (kg)
lb → Pounds (lb)
m → Meters (m)
ft → Feet (ft)
seconds → Seconds (s)
minutes → Minutes (min)
hours → Hours (h)
mi → Miles (mi)
km → Kilometers (km)
Explanation:
Using both full names and abbreviations ensures clarity, especially for international users who may be more familiar with one unit system over another.

@JamieGom I've dropped our business domain into gpt-o1 and asked for feedback and I found it pretty good.
Thoughts on the recommendations? I think that golden retriever might feel more included now 🐕

This is a refreshed UI based on the above changes.

Nice, that was extremely useful ! Didn't know gpt could do that, we should offer it an internship. UI looks a lot more clear and user friendly :)

Now we can handle % increase.

@JamieGom any ideas on something better than Count-based.


Update wayland.xml to 1.21.92

I think the most noteworthy change here is probably the addition of preferred_scale, which I think makes some sense to integrate considering fractional scale is already supported and implementing preferred scale on top of that should be pretty simple for compositors.

1.21.92 is a beta release, shouldn't we wait for the proper 1.22 release?
In any case, could you add changelog entries to wayland-client and wayland-server covering this update?

1.21.92 is a beta release, shouldn't we wait for the proper 1.22 release?

That's something I was pondering myself, I'm not sure about your policy on this.
To me it seems unlikely that there will be major changes to protocols after they've been officially released, but I'm not familiar with Wayland's track record here.
But since new additions don't introduce breaking changes to existing protocols, I think it should be fine to expose unstable additions like this. Wayland protocol extensions are already heavily used in unstable revisions and I think since most compositor/client developers directly using this are likely looking at the protocols themselves, they can make their own decisions about relying on unstable/beta versions.

Ok, so 1.22 has been released now, with no changes since 1.21.92. I'm good with merging this, maybe let's just adjust the changelogs accordingly?

Thanks


Allowing new/custom model names?

Just a suggestion: maybe it would make sense to allow passing a custom string as model name.
I wanted to test models/gemini-1.5-pro-latest but its not part of the ModelType enum. I don't think every new model should require an update/release for this library.

Sorry missed the fact that passing a string is possible :+1:
https://github.com/google-gemini-php/client/blob/06536196184cb6b29f096e29705a175b7b7350af/src/Resources/GenerativeModel.php#L34