Universal Windows Platform support (iot)

Hi
I already test this lib on windows 10 x32, work very nice, but on windows 10 core (raspberry pi) don't allow me to install it by nuget.
It's possible to build an uwp version?
Thank you

With few tests i thing already working.
Thanks to this code i've changed on PLC.cs line 15
private Socket _mSocket;
to
private SocketAsyncClient.SocketClient _mSocket;
and use this code on new class file:
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading;

namespace SocketAsyncClient
{
	/// <summary>
	/// Implements the connection logic for the socket client.
	/// </summary>
	internal sealed class SocketClient : IDisposable
	{
		/// <summary>
		/// The socket used to send/receive messages.
		/// </summary>
		private Socket clientSocket;

		/// <summary>
		/// Flag for connected socket.
		/// </summary>
		public Boolean connected { get; set; } = false;

		/// <summary>
		/// Listener endpoint.
		/// </summary>
		private IPEndPoint hostEndPoint;

		/// <summary>
		/// Signals a connection.
		/// </summary>
		private static AutoResetEvent autoConnectEvent = new AutoResetEvent(false);

		/// <summary>
		/// Signals the send/receive operation.
		/// </summary>
		private static AutoResetEvent sendEvent = new AutoResetEvent(false);
		private static AutoResetEvent receiveEvent = new AutoResetEvent(false);

		/// <summary>
		/// Create an uninitialized client instance.
		/// To start the send/receive processing
		/// call the Connect method followed by SendReceive method.
		/// </summary>
		/// <param name="ip">IP of the host where the listener is running.</param>
		/// <param name="port">Number of the TCP port from the listener.</param>
		internal SocketClient(String ip, Int32 port)
		{
			// Addres of the host.
			IPAddress address = IPAddress.Parse(ip);

			// Instantiates the endpoint and socket.
			this.hostEndPoint = new IPEndPoint(address, port);
			this.clientSocket = new Socket(this.hostEndPoint.AddressFamily, SocketType.Stream, ProtocolType.Tcp);
		}

		/// <summary>
		/// Connect to the host.
		/// </summary>
		/// <returns>True if connection has succeded, else false.</returns>
		internal void Connect()
		{
			SocketAsyncEventArgs connectArgs = new SocketAsyncEventArgs();

			connectArgs.UserToken = this.clientSocket;
			connectArgs.RemoteEndPoint = this.hostEndPoint;
			connectArgs.Completed += new EventHandler<SocketAsyncEventArgs>(OnConnect);

			clientSocket.ConnectAsync(connectArgs);
			autoConnectEvent.WaitOne();

			SocketError errorCode = connectArgs.SocketError;
			if (errorCode != SocketError.Success)
			{
				throw new SocketException((Int32)errorCode);
			}
		}

		/// <summary>
		/// Disconnect from the host.
		/// </summary>
		internal void Disconnect()
		{
			clientSocket.Shutdown(SocketShutdown.Both);
		}

		private void OnConnect(object sender, SocketAsyncEventArgs e)
		{
			// Signals the end of connection.
			autoConnectEvent.Set();

			// Set the flag for socket connected.
			this.connected = (e.SocketError == SocketError.Success);
		}

		private void OnReceive(object sender, SocketAsyncEventArgs e)
		{
			// Signals the end of receive.
			receiveEvent.Set();
		}

		private void OnSend(object sender, SocketAsyncEventArgs e)
		{
			// Signals the end of send.
			sendEvent.Set();
		}

		/// <summary>
		/// Close socket in case of failure and throws a SockeException according to the SocketError.
		/// </summary>
		/// <param name="e">SocketAsyncEventArg associated with the failed operation.</param>
		private void ProcessError(SocketAsyncEventArgs e)
		{
			Socket s = e.UserToken as Socket;
			if (s.Connected)
			{
				// close the socket associated with the client
				try
				{
					s.Shutdown(SocketShutdown.Both);
				}
				catch (Exception)
				{
					// throws if client process has already closed
				}
				finally
				{
					if (s.Connected)
					{
						s.Dispose();
					}
				}
			}

			// Throw the SocketException
			throw new SocketException((Int32)e.SocketError);
		}

		internal int Send(byte[] buffer, int size)
		{
			if (this.connected)
			{
				// Prepare arguments for send operation.
				SocketAsyncEventArgs completeArgs = new SocketAsyncEventArgs();
				completeArgs.SetBuffer(buffer, 0, size);
				completeArgs.UserToken = this.clientSocket;
				completeArgs.RemoteEndPoint = this.hostEndPoint;
				completeArgs.Completed += new EventHandler<SocketAsyncEventArgs>(OnSend);

				// Start sending asyncronally.
				clientSocket.SendAsync(completeArgs);

				// Wait for the send completed.
				sendEvent.WaitOne();

				// Return bytes transferred from SocketAsyncEventArgs buffer.
				return completeArgs.BytesTransferred;
			}
			else
			{
				throw new SocketException((Int32)SocketError.NotConnected);
			}
		}

		internal int Receive(byte[] buffer, int size)
		{
			if (this.connected)
			{
				// Prepare arguments for receive operation.
				SocketAsyncEventArgs completeArgs = new SocketAsyncEventArgs();
				completeArgs.SetBuffer(buffer, 0, size);
				completeArgs.UserToken = this.clientSocket;
				completeArgs.RemoteEndPoint = this.hostEndPoint;
				completeArgs.Completed += new EventHandler<SocketAsyncEventArgs>(OnReceive);

				// Start receiving asyncronally.
				clientSocket.ReceiveAsync(completeArgs);

				// Wait for the receive completed.
				receiveEvent.WaitOne();

				for (int i = 0; i < size; i++)
				{
					buffer[i] = completeArgs.Buffer[i];
				}

				// Return bytes transferred from SocketAsyncEventArgs buffer.
				return completeArgs.BytesTransferred;
			}
			else
			{
				throw new SocketException((Int32)SocketError.NotConnected);
			}
		}

		#region IDisposable Members

		/// <summary>
		/// Disposes the instance of SocketClient.
		/// </summary>
		public void Dispose()
		{
			autoConnectEvent.Reset();
			sendEvent.Reset();
			receiveEvent.Reset();

			autoConnectEvent.Dispose();
			sendEvent.Dispose();
			receiveEvent.Dispose();

			if (clientSocket.Connected)
				clientSocket.Shutdown(SocketShutdown.Both);

			clientSocket.Dispose();
		}

		#endregion
	}
}

Hope this help.

Nice find, but I don't think we will support Universal Apps for now.

No problem.
I made some changes and added one pull request to contribute.
Thank you.

I will look into your pull request, but this will take time because you are replacing the whole .Net socket class with your own.

I know, but after several tests with S7 1200 (in my case) it was the only way to get successful results.
Take as much time as you need.

To support this we can't just merge your changes, because they are breaking changes, basically:

solution is limited only to VS 2015
untested socket class
What we can do is to extract the common parts in a common project, let's say "S7Net.Common",
then create 2 solutions:
a VS2010 compatible and uses the standard .Net 3.5 socket
a VS2015 .Net Core compatible solution with the custom socket
This is quite some work to do, but if you can do it, that would be awesome. If you can't, keep the pull request and i'll try to do it when I'll have some spare time.

You're right.
I can do it.
I will remove the current pull request and add new one as soon as i complete the task.

Ups. It's not a solution, it's a project, but i think will work if not included all at one.

I will fix it.

I created a separate solution for Universal Windows Applications.


Unnecessary CSS code fix--#1656

Fixes:  #1656
Description
Observe the unwanted CSS code displayed in the footer of about us page which is fixed now.
#1656
Type of PR
Bug fix
Screenshots / videos (if applicable)

Checklist:
[ X] I have made this change from my own.
[X ] My code follows the style guidelines of this project.
[ X] I have performed a self-review of my own code.
[ X] My changes generate no new warnings.
[X ] I have tested the changes thoroughly before submitting this pull request.
[ X] I have provided relevant issue numbers and screenshots after making the changes.

@huamanraj @anuragverma108 @RitiChandak why this pr is not merged?

have patience buddy 🤏!
it takes time to review code we all have multiple works to do!

© 2024 All Rights Reserved. Made with ❤ by Guardian Hackers.
This line is repeated twice ! Fix it and open fresh PR again


tsserver.js/typingsInstaller.js is watching ignored directories (causing CPU load)

TS Template added by @mjbvz
TypeScript Version: 3.7.3
Search Terms

watcher
watch

I have Visual Studio Code 1.41.1 on Ubuntu 18.04.
I have an Ember project, that builds into a tmp/ directory.
I have added this to the watch exclude list because it's large and changes regularly (eg. while running tests).
"files.watcherExclude": {
    "**/web-ui/tmp/**": true,
},

I turned on verbose logging for tsserver (after reading many bugs and trying to identify the source of my CPU load). The logs show that changes inside the tmp directory are triggering something, which is probably why the CPU load is so high. Also, once this starts it seems to just loop forever? (or maybe it's just queued up the notifications).
Here's a sample of the part of the log that repeats.

I can upload the whole log if it helps.

@sheetalkamat what's the follow-up recommendation for this now?

For now if the folder for web-ui was one level below i think we would skip watching it but i am not 100% sure if we do it in  all places or not (esp when creating recursive directory watching).
Moving this to 4.0 to look into watch ignore pattern specification.


Error with multiple upsert in $transaction

Bug description
When I execute query, these two errors alternately appeared. One is ConnectorError and the other is Unique constraint error.
Second error is kind of strange, because I chose this approach(upsert with $transaction) to avoid race condition, but it seams like it is happened here. (I can verify that all names and userIds are unique.)
Maybe this is because some creation in $transaction is not broadcasted to others in $transaction, so creation can happen multiple time. (Now I remember I read something similar in docs)
Anyway, then what is the right way to do what I want? And what should I do for first error message?
Thank you.
Error:
Invalid `prisma.tag.upsert()` invocation:

  Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Server(ServerError { code: 1213, message: "vttablet: rpc error: code = Aborted desc = (errno 1213) (sqlstate 40001) (CallerID: unsecure_grpc_client): Sql: \"insert into Tag(id, createdAt, updatedAt, `name`, userId) values (:v1, :v2, :v3, :v4, :v5)\", BindVars: {}", state: "40001" })) })
    at cb (/Users/yujonglee/dev/taggy.cloud/node_modules/@prisma/client/runtime/index.js:38692:17)
    at async Promise.all (index 0)
    at async createFile (/Users/yujonglee/dev/taggy.cloud/api/_build/index.js:1029:3)
    at async Promise.all (index 1)
    at async action3 (/Users/yujonglee/dev/taggy.cloud/api/_build/index.js:1202:3)
    at async Object.callRouteAction (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/data.js:36:14)
    at async handleDataRequest (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/server.js:110:18)
    at async requestHandler (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/server.js:45:20)
    at async /Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/express/server.js:45:22

Error:
Invalid `prisma.tag.upsert()` invocation:

  Unique constraint failed on the (not available)
    at cb (/Users/yujonglee/dev/taggy.cloud/node_modules/@prisma/client/runtime/index.js:38688:17)
    at async Promise.all (index 0)
    at async createFile (/Users/yujonglee/dev/taggy.cloud/api/_build/index.js:1028:3)
    at async Promise.all (index 1)
    at async action3 (/Users/yujonglee/dev/taggy.cloud/api/_build/index.js:1201:3)
    at async Object.callRouteAction (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/data.js:36:14)
    at async handleDataRequest (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/server.js:110:18)
    at async requestHandler (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/server.js:45:20)
    at async /Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/express/server.js:45:22

How to reproduce
Just run query.
Expected behavior
For all strings in tagNames, create if not exist, in batch.
(tagNames is array of string)
Prisma information
  await prisma.$transaction(tagNames.map((name) => (
    prisma.tag.upsert({
      where: {
        userId_name: {
          userId,
          name,
        },
      },
      create: {
        userId,
        name,
      },
      update: {},
    })
  )));

model Tag {
  id        String   @id @default(uuid())
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt

  name String

  User   User   @relation(fields: [userId], references: [id], onDelete: Cascade)
  userId String

  @@unique(fields: [userId, name])
}

Environment & setup

OS: Mac OS
Database: PlanetScale
Node.js version: 16.6.1

Prisma Version
prisma                  : 3.7.0
@prisma/client          : 3.7.0
Current platform        : darwin
Query Engine (Node-API) : libquery-engine 8746e055198f517658c08a0c426c7eec87f5a85f (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli 8746e055198f517658c08a0c426c7eec87f5a85f (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine    : introspection-core 8746e055198f517658c08a0c426c7eec87f5a85f (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary           : prisma-fmt 8746e055198f517658c08a0c426c7eec87f5a85f (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash    : 8746e055198f517658c08a0c426c7eec87f5a85f
Studio                  : 0.445.0
Preview Features        : referentialIntegrity

Did you try to create a row like below instead of direct insertion?
create: {
  user: {
    connect: {
      id: userId
    }
  }
},

I found this earlier that Prisma won't naturally join the foreign key in such cases without connect. Would be great to organize this in an issue or document.
@yujong-lee I hope you try this out first and come back again.

@hyochan  Thanks for your help. But I didn't work.
  await prisma.$transaction(tagNames.map((name) => (
    prisma.tag.upsert({
      where: {
        userId_name: {
          userId,
          name,
        },
      },
      create: {
        User: {
          connect: {
            id: userId,
          },
        },
        name,
      },
      update: {},
    })
  )));

I changed query like above, but I got this error.
Error:
Invalid `prisma.tag.upsert()` invocation:

  An operation failed because it depends on one or more records that were required but not found. No 'User' record(s) (needed to inline the relation on 'Tag' record(s)) was found for a nested connect on one-to-many relation 'TagToUser'.
    at cb (/Users/yujonglee/dev/taggy.cloud/node_modules/@prisma/client/runtime/index.js:38688:17)
    at async Promise.all (index 0)
    at async createFile (/Users/yujonglee/dev/taggy.cloud/api/_build/index.js:1028:3)
    at async Promise.all (index 0)
    at async action3 (/Users/yujonglee/dev/taggy.cloud/api/_build/index.js:1225:3)
    at async Object.callRouteAction (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/data.js:36:14)
    at async handleDataRequest (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/server.js:110:18)
    at async requestHandler (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/server.js:45:20)
    at async /Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/express/server.js:45:22

@hyochan Thanks for your help. But I didn't work for me.
  await prisma.$transaction(tagNames.map((name) => (
    prisma.tag.upsert({
      where: {
        userId_name: {
          userId,
          name,
        },
      },
      create: {
        User: {
          connect: {
            id: userId,
          },
        },
        name,
      },
      update: {},
    })
  )));

I changed query like above, but I got this error.
Error:
Invalid `prisma.tag.upsert()` invocation:

  An operation failed because it depends on one or more records that were required but not found. No 'User' record(s) (needed to inline the relation on 'Tag' record(s)) was found for a nested connect on one-to-many relation 'TagToUser'.
    at cb (/Users/yujonglee/dev/taggy.cloud/node_modules/@prisma/client/runtime/index.js:38688:17)
    at async Promise.all (index 0)
    at async createFile (/Users/yujonglee/dev/taggy.cloud/api/_build/index.js:1028:3)
    at async Promise.all (index 0)
    at async action3 (/Users/yujonglee/dev/taggy.cloud/api/_build/index.js:1225:3)
    at async Object.callRouteAction (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/data.js:36:14)
    at async handleDataRequest (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/server.js:110:18)
    at async requestHandler (/Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/server-runtime/server.js:45:20)
    at async /Users/yujonglee/dev/taggy.cloud/node_modules/@remix-run/express/server.js:45:22

The error is telling that there is no corresponding User record.
Try connectOrCreate.

@hyochan  I understand that's what the error message is saying, but obviously, user exists. Because that code can be only executed when user is logged in.
Maybe I should do some debugging.
Anyway, thank you for responding.

@yujong-lee If you can still reproduce this, please share a small script with enough data for reproduction. That helps a ton.

@pantharshit00 I will do by best to reproduce this in minimal example and share it.


linters: bp3: turn on and respect set of linters numb.2

https://github.com/untillpro/airs-bp3/pull/886


Add "Getting Started" to home

As a relative newcomer to VScode, I had a hard time understanding how SQLTools "worked" in the VScode ecosystem.
I felt your documentation was missing a description of how to get started. (I have to compliment you - the actual installation process is flawless, once I learned where to look.)
Here's an introductory paragraph that would have been a useful hint for me. Thanks!
Describe here what is this PR about and what we are achieving merging this.

Thank you for your contribution!
Before submitting this PR, please make sure:

[ x ] Your code builds clean without any errors or warnings
[ x ] You have made the needed changes to the docs
[ x ] You have written a description of what is the purpose of this pull request above

(Agree - this also confused me initially)

Thanks for your PR. Here are some suggestions:

Use the term "VS Code" instead of "VScode".
Instead of pointing the user to Marketplace, tell them to go to VS Code's Extensions view (a textual way is to run View: Show Extensions from Command Palette), then enter the search text @tag:sqltools-driver, then install the driver they need. A dependency will cause the core SQLTools extension to get installed too.
We don't want the official documentation to link to 3rd-party YouTube videos.

Use the term "VS Code" instead of "VScode".

Yes. I was confused about this, but in the Visual Studio site, Microsoft says, "By using VS Code, you agree to its license and privacy statement..." I'll update

Instead of pointing the user to Marketplace, tell them to go to VS Code's Extensions view (a textual way is to run View: Show Extensions from Command Palette), then enter the search text @tag:sqltools-driver, then install the driver they need. A dependency will cause the core SQLTools extension to get installed too.

I updated this as well. I'll note that this procedure hides all the good work that you've done to make the installation process flawless. (My earlier instructions just say "Go to Marketplace; Install SQLTools; Install your driver; Create the connection" and you're on the air.)

We don't want the official documentation to link to 3rd-party YouTube videos.

I get it. You should consider making your own video - it really helps newcomers get started.
Thanks!

I'm feeling dopey here... It looks as if you have merged the "Getting Started" section into mtxr:dev, but I don't see it on the main README file. What am I missing?
Oh, wait! I just figured it out. The main README and home.mdx in the /docs/... directory need to be kept in sync...
What's the best way to patch this up? Many thanks!

And the answer (to "What's the best way to patch this up?") is #1240 Thanks again.


also allow TOML

There are no plans to support TOML. Where should there be any benefit by using TOML?

TOML is easier and simpler than YAML.

That's IMHO not true, and this is nothing we consider to integrate.


Update to WormJam infrastructure

Key changes:
Introduced a databases table (Will need further development and population) that contains information about the databases used inside the wormjam model. This is important for both annotation and the conversion to SBML.
Rewrote much of the SBML converter to incorporate this change and integrate the databases table.
Improved annotation.
Improved commented and documentation in SBML converter and helper_classes.py
Tidied up identifiers - IMPORTANT: Some IDs, such as GO identifiers, begin with leading zeroes. Make sure that when editing these TSVs that the leading Zeroes are conserved.
Awaiting Travis Build results

Quick Results
Full JSON report will be posted on the WormJam server.
test_metabolite_annotation_presence:
failed
test_reaction_annotation_presence:
failed
test_gene_product_annotation_presence:
failed
test_metabolite_annotation_overview:
pubchem.compound: failed
kegg.compound: failed
seed.compound: failed
inchikey: failed
inchi: failed
chebi: failed
hmdb: failed
reactome: failed
metanetx.chemical: failed
bigg.metabolite: failed
biocyc: failed
test_reaction_annotation_overview:
rhea: failed
kegg.reaction: failed
seed.reaction: failed
metanetx.reaction: failed
bigg.reaction: failed
reactome: failed
ec-code: failed
brenda: failed
biocyc: failed
test_gene_product_annotation_overview:
refseq: failed
uniprot: failed
ecogene: failed
kegg.genes: failed
ncbigi: failed
ncbigene: failed
ncbiprotein: failed
ccds: failed
hprd: failed
asap: failed
test_metabolite_annotation_wrong_ids:
pubchem.compound: failed
kegg.compound: failed
seed.compound: failed
inchikey: failed
inchi: failed
chebi: failed
hmdb: failed
reactome: failed
metanetx.chemical: failed
bigg.metabolite: failed
biocyc: failed
test_reaction_annotation_wrong_ids:
rhea: failed
kegg.reaction: failed
seed.reaction: failed
metanetx.reaction: failed
bigg.reaction: failed
reactome: failed
ec-code: failed
brenda: failed
biocyc: failed
test_gene_product_annotation_wrong_ids:
refseq: failed
uniprot: failed
ecogene: failed
kegg.genes: failed
ncbigi: failed
ncbigene: failed
ncbiprotein: failed
ccds: failed
hprd: failed
asap: failed
test_metabolite_id_namespace_consistency:
passed
test_reaction_id_namespace_consistency:
passed
test_model_id_presence:
passed
test_genes_presence:
passed
test_reactions_presence:
passed
test_metabolites_presence:
passed
test_metabolites_formula_presence:
passed
test_metabolites_charge_presence:
passed
test_gene_protein_reaction_rule_presence:
failed
test_ngam_presence:
failed
test_metabolic_coverage:
passed
test_compartments_presence:
passed
test_protein_complex_presence:
passed
test_find_pure_metabolic_reactions:
failed
test_find_constrained_pure_metabolic_reactions:
failed
test_find_transport_reactions:
failed
test_find_constrained_transport_reactions:
failed
test_transport_reaction_gpr_presence:
failed
test_find_reversible_oxygen_reactions:
passed
test_find_unique_metabolites:
passed
test_find_duplicate_metabolites_in_compartments:
failed
test_find_reactions_with_partially_identical_annotations:
failed
test_find_duplicate_reactions:
failed
test_find_reactions_with_identical_genes:
failed
test_find_medium_metabolites:
failed
test_biomass_presence:
passed
test_biomass_consistency:
BIO0010: failed
BIO0015: failed
BIO0100: failed
BIO0101: failed
BIO0102: failed
BIO0103: failed
Biomass2: failed
deoxynucbiomass_m: failed
deoxynucbiomass_n: failed
nucbiomass_m: failed
nucbiomass_n: failed
test_biomass_default_production:
BIO0010: passed
BIO0015: passed
BIO0100: passed
BIO0101: passed
BIO0102: passed
BIO0103: passed
Biomass2: passed
deoxynucbiomass_m: passed
deoxynucbiomass_n: passed
nucbiomass_m: passed
nucbiomass_n: passed
test_biomass_open_production:
BIO0010: passed
BIO0015: passed
BIO0100: passed
BIO0101: passed
BIO0102: passed
BIO0103: passed
Biomass2: passed
deoxynucbiomass_m: passed
deoxynucbiomass_n: passed
nucbiomass_m: passed
nucbiomass_n: passed
test_biomass_precursors_default_production:
BIO0010: passed
BIO0015: failed
BIO0100: passed
BIO0101: passed
BIO0102: passed
BIO0103: passed
Biomass2: passed
deoxynucbiomass_m: failed
deoxynucbiomass_n: failed
nucbiomass_m: failed
nucbiomass_n: failed
test_biomass_precursors_open_production:
BIO0010: passed
BIO0015: failed
BIO0100: passed
BIO0101: passed
BIO0102: passed
BIO0103: passed
Biomass2: passed
deoxynucbiomass_m: failed
deoxynucbiomass_n: failed
nucbiomass_m: failed
nucbiomass_n: failed
test_gam_in_biomass:
BIO0010: failed
BIO0015: failed
BIO0100: failed
BIO0101: failed
BIO0102: failed
BIO0103: failed
Biomass2: failed
deoxynucbiomass_m: failed
deoxynucbiomass_n: failed
nucbiomass_m: failed
nucbiomass_n: failed
test_fast_growth_default:
BIO0010: passed
BIO0015: failed
BIO0100: passed
BIO0101: passed
BIO0102: passed
BIO0103: passed
Biomass2: passed
deoxynucbiomass_m: failed
deoxynucbiomass_n: failed
nucbiomass_m: passed
nucbiomass_n: passed
test_direct_metabolites_in_biomass:
BIO0010: failed
BIO0015: failed
BIO0100: failed
BIO0101: failed
BIO0102: failed
BIO0103: failed
Biomass2: failed
deoxynucbiomass_m: failed
deoxynucbiomass_n: failed
nucbiomass_m: failed
nucbiomass_n: failed
test_essential_precursors_not_in_biomass:
BIO0010: failed
BIO0015: failed
BIO0100: failed
BIO0101: failed
BIO0102: failed
BIO0103: failed
Biomass2: failed
deoxynucbiomass_m: failed
deoxynucbiomass_n: failed
nucbiomass_m: failed
nucbiomass_n: failed
test_stoichiometric_consistency:
skipped
test_detect_energy_generating_cycles:
MNXM3: skipped
MNXM63: skipped
MNXM51: skipped
MNXM121: skipped
MNXM423: skipped
MNXM6: skipped
MNXM10: skipped
MNXM38: skipped
MNXM208: skipped
MNXM191: skipped
MNXM223: skipped
MNXM7517: skipped
MNXM12233: skipped
MNXM558: skipped
MNXM21: skipped
MNXM89557: skipped
test_reaction_charge_balance:
skipped
test_reaction_mass_balance:
skipped
test_blocked_reactions:
skipped
test_find_stoichiometrically_balanced_cycles:
skipped
test_find_orphans:
skipped
test_find_deadends:
skipped
test_find_disconnected:
skipped
test_find_metabolites_not_produced_with_open_bounds:
skipped
test_find_metabolites_not_consumed_with_open_bounds:
skipped
test_find_reactions_unbounded_flux_default_condition:
skipped
test_gene_essentiality_from_data_qualitative:
experiment0: skipped
test_growth_from_data_qualitative:
experiment0: skipped
test_absolute_extreme_coefficient_ratio:
passed
test_number_independent_conservation_relations:
passed
test_matrix_rank:
passed
test_degrees_of_freedom:
passed
test_sbml_level:
passed
test_fbc_presence:
failed
test_metabolite_sbo_presence:
passed
test_reaction_sbo_presence:
passed
test_gene_sbo_presence:
passed
test_metabolic_reaction_specific_sbo_presence:
failed
test_transport_reaction_specific_sbo_presence:
failed
test_metabolite_specific_sbo_presence:
passed
test_gene_specific_sbo_presence:
passed
test_exchange_specific_sbo_presence:
passed
test_demand_specific_sbo_presence:
passed
test_sink_specific_sbo_presence:
passed
test_biomass_specific_sbo_presence:
failed
test_find_candidate_irreversible_reactions:
failed

Build passed. I'm going to merge this into devel if there are no objections, and delete devel-jake in preparation for CI curation.

A few more infrastructure changes that I'm making as I test what it's like for a new user to create a fork.


Support Lidar in ROSflight

Add Lidar to sensors list
Add streaming of lidar
For now, just support either lidar or sonar, but not both
change name of sonar topic in fcu_io to range rather than sonar

So we have a big problem with the LIDAR - it only supports 100kHz I2C, which means that we would have to run the I2C at 1/4 speed.  This is not really an option, seeing as already the i2c bus is operating at around 75% duty cycle.  LIDAR will have to be implemented on a separate microcontroller.


what does eqx.experimental.set_state do in the following code?

I am using the following code snippet (specifically the function load_torch_weights) but it uses some equinox methods(eqx.experimental.set_state and eqx.experimental.StateIndex) which seem no longer supported in the latest version of equinox. Since this function seems to be a good way of converting torch weights to equinox , I would like to know what are the alternatives to using eqx.experimental.set_state and eqx.experimental.StateIndex.
https://github.com/paganpasta/eqxvision/blob/main/eqxvision/utils.py
Regards,

Hey there! So these got replaced with a stable (no longer experimental, much better behaved) stateful API -- see here.  (In particular the example linked at the top is a useful reference.)
Unfortunately I think Eqxvision is only semi-maintained at this point. Not my project, so not much I can do! I'd love to see ths updated to the stable API.

hello Patrick! Just wanted to know if you would be able to look into this issue. Thanks!

@Basant1861 I'd love to help, but we can be much more helpful if you provided a little code snippet (MVP ideally) with the concrete issue/error you're facing. Otherwise, it's very difficult to assist you.

@Artur-Galstyan Hello....Apologies for the long delay in responding. I chose not to go down the rabbit hole so postponed this issue altogether. Is there a way to put this post on hold or something which marks it as "not an open issue but just on hold". Or shall I leave it as it is?

Hi there, one option would be to close the issue. Normally question type issues are left open for others in case they have the same problem. Unfortunately, I don't really understand the question at hand here :/ I'd say keep this open if you choose to go down the rabbit hole, otherwise you can close it :)

I think this is about a topic that is sufficiently out-of-date that I'm going to close it. :)


jczerk/add workflow dispatch

I would have liked to make the bump+publish trigger a little more full featured like Workspace Manager's, but this is really a hedge against recent flakiness in GitHub actions.

So this is for the case when we can still run some GHA, but some are stuck? No objections, but I'm not especially informed either :)

The specific issue I had yesterday was that the queued actions timed out and failed, and there was no way that I knew of to manually kick them (once GitHub was healed) without a defined workflow_dispatch (which allows you to run the action through the GitHub GUI or with the gh cli).  So the new code was available, but I couldn't consume it downstream as the artifacts weren't published to Artifactory.
Though it sounds like based on what @yonghaoy is saying, I could have just created a release (once GitHub was healed) to get the new version bumped and published?  What is the process for creating a release?

Mechanically, it's through repo homepage, tags button, release button, draft a new release button, e.g. https://github.com/DataBiosphere/terra-common-lib/releases/new
Process-wise, I'm not sure. It looks like we have some automated github bot that creates new releases on every push, so doing a one-off manual release seems fine to me.

So this is for the case when we can still run some GHA, but some are stuck? No objections, but I'm not especially informed either :)

The specific issue I had yesterday was that the queued actions timed out and failed, and there was no way that I knew of to manually kick them (once GitHub was healed) without a defined workflow_dispatch (which allows you to run the action through the GitHub GUI or with the gh cli). So the new code was available, but I couldn't consume it downstream as the artifacts weren't published to Artifactory.
Though it sounds like based on what @yonghaoy is saying, I could have just created a release (once GitHub was healed) to get the new version bumped and published? What is the process for creating a release?

See: https://github.com/DataBiosphere/terra-common-lib#publishing
Github release is for  lib-snapshot-release, and I think we never use that.
Auto release is for  lib-snapshot-local that is the one all services are using. I think at some point, once we feel confident to "officially" release this common-lib, we probably will start using the -release repo.
I think it might be helpful to enable workflow dispatch for lib-snapshot-local, not don't need it for lib-snapshot-release?

So this is for the case when we can still run some GHA, but some are stuck? No objections, but I'm not especially informed either :)

The specific issue I had yesterday was that the queued actions timed out and failed, and there was no way that I knew of to manually kick them (once GitHub was healed) without a defined workflow_dispatch (which allows you to run the action through the GitHub GUI or with the gh cli). So the new code was available, but I couldn't consume it downstream as the artifacts weren't published to Artifactory.
Though it sounds like based on what @yonghaoy is saying, I could have just created a release (once GitHub was healed) to get the new version bumped and published? What is the process for creating a release?

See: https://github.com/DataBiosphere/terra-common-lib#publishing
Github release is for lib-snapshot-release, and I think we never use that.
Auto release is for lib-snapshot-local that is the one all services are using. I think at some point, once we feel confident to "officially" release this common-lib, we probably will start using the -release repo.
I think it might be helpful to enable workflow dispatch for lib-snapshot-local, not don't need it for lib-snapshot-release?

Ah, I see what you are saying....  I hit the wrong file here, should have changed develop-push.yml, not publish-release.yml.


Very slow operations in a TextBox with large amount of characters

Describe the bug
Operations in a TextBox control (such as selecting, typing, clicking) with 50000+ characters is very slow, and it uses 100% of CPU.
To Reproduce

Create TextBox control
Add 50000+ characters
Start selecting text either with mouse or keyboard, typing or change caret position

Expected behavior
Faster operations.
Screenshots
https://user-images.githubusercontent.com/57059775/147532530-bbaf7e38-d95e-42c4-bacd-7bcb42b3091d.mp4
Desktop (please complete the following information):

OS: Windows 10, Arch (KDE), Debian (dwm)
Processor: i7-9700F @3.0GHz
RAM: 16GB
Version: 0.10.10

I don't see an issue here. TextBox isn't designed to deal with that scenario. I suggest using AvaloniaEdit here.

@Gillibald Looking at the WPF's TextBox or GTK's TextView, they can handle large text content very nicely. Seems that I pick the wrong label for this issue.

This is only slow because of selection highlighting. Each selection change cases a new text layout pass for the whole text. Nothing is cached or virtualized.  WPF caches some portion of the text layout and isn't creating a new string each time the text is edited.


package.json: Update core-js-compat package dependency

Check for any outstanding update of point version of any outstanding NPM package dependency

[ ] npm-update

npm-update in progress on 1-ci-srv-05.
Log: https://logs.cockpit-project.org/logs/npm-update-943-20200426-111414/

npm-update core-js-compat done: https://github.com/cockpituous/welder-web/commits/npm-update-core-js-compat-20200426-111616

Please manually check features related to these files:
package.json:    "core-js-compat": "3.6.5",


[$250] IOS - More features - Enabled feature is not showing in workspace page after enabling it

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.67-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Launch New Expensify app
Go to Account settings > Workspaces
Create a new workspace
Go to More features
Enable any feature

Expected Result:
App will redirect to the previous page with the enabled feature
Actual Result:
The enabled feature is not showing in workspace page after enabling it
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/e6867546-b84e-4c84-bbd3-af33a6b048ac
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~011cc719021a75da07
Upwork Job ID:<PHONE_NUMBER>020502528
Last Price Increase: 2024-04-27

@roryabraham  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #vip-vsp

Kicked off an AdHoc build for a revert of https://github.com/Expensify/App/pull/40369 to see if that fixes this problem.

As mentioned in the @Krishna2323 proposal, didScreenTransitionEnd is bugging for iOS and probably added to avoid the animation starting while the transition is happening. Removing it from the check is to fix this issue, but I'm not sure the case for the check where is needed.

Two testers tried to reproduce. One wasn't able to while the other was able to.
https://github.com/Expensify/App/assets/43996225/f197959d-6766-4427-9201-ed19273d904f
https://github.com/Expensify/App/assets/43996225/d1dba7b6-3a04-45b6-bdc7-3670b4d39442

Kicked off an AdHoc build for a revert of https://github.com/Expensify/App/pull/40369 to see if that fixes this problem.

@roryabraham did that AdHoc build fix the issue? Should we go ahead with a revert or with @Krishna2323's proposal in this case?

I was testing the adhoc, and it seemed to work fine after this revert

We're having the revert CPed


Subscriber Later Binding (GOOSE): Show connected and available ExtRef on FCDA selection

As a user of OpenSCD I want to know if an existing data point in a GSEControl element is connected to a ExtRef element.
Requirements

show all connected later binding ExtRef for the selected FCDA. That means the ExtRef element

has an existing attribute intAddress
has attributes ldInst, prefix, lnClass, lnInst, doName and daName that are equal to the same once in FCDA
has an attribute iedName equals to the name attribute of the IED element, where FCDA resides

mark all ExtRef with existing intAddress that are not connected (missing iedName, ldInst, prefix, lnClass, lnInst, doName, daName) as unsubscribed
exclude all ExtRef from the source IED (same IED as the selected FCDA)
disable elements in the unsubscribed list that cannot be connected (attributes pLN, pDO, pDA and pServT are present in the only criteria for now)

Mockups

It may be a useful feature to also display the desc field on an ExtRef to help the user in mappings. In some cases the intAddr is not sufficient to clarify meaning (e.g. in a SEL relay this describe a internal bit and does not name a function directly).

I updated the Mockup :)


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 98 ms

Resolved: ClamAV performance has improved in eebc478 after 5 minutes.


Api.local-chromium\download-Win64-706915.zip' because it is being used by another process.

Description
Getting error 'download-Win64-706915.zip' because it is being used by another process' at BrowserFetcher().DownloadAsync(BrowserFetcher.DefaultRevision).
Complete minimal example reproducing the issue
await new BrowserFetcher().DownloadAsync(BrowserFetcher.DefaultRevision);             var browser = await Puppeteer.LaunchAsync(new LaunchOptions             {                 Headless = true,                 //ExecutablePath = "C:/Program Files/Google/Chrome/Application"             });             using (var page = await browser.NewPageAsync())             {                 await page.SetContentAsync(htmlContent);                 var result = await page.GetContentAsync();                 await page.PdfAsync("a.pdf");             }
Expected behavior:
Should download chromium and work fine.
Actual behavior:
Getting error zip is used by another process at DownloadAsync().
Versions
2.0.4 for .net core app.
Additional Information
Checked by passing executable path to chrome as well but not working. Also how it will work in linux server? As I am using app on local windows for development but I deploy app on linux using docker images.

NOTE BrowserFetcher is not designed to work concurrently with other
instances of BrowserFetcher that share the same downloads directory.

Can you share the stack trace?

I was facing the same issue in my .NET Core 3.1 application.
It seems that the browserFetcher starts downloading Chrome as a Zip file, but then fails after creating the empty zipfile.
Running var browserFetcher = new BrowserFetcher().DownloadAsync(BrowserFetcher.DefaultRevision).Result; instead of await new BrowserFetcher().DownloadAsync(BrowserFetcher.DefaultRevision); worked for me. I don't have my project in production yet, so I will investigate this behavior later on - but for now, the most important thing is that I'm able to test my code 😄
I have no clue why this is happening. It worked on my PC some days ago, but after a clean Windows 10 reinstall, I was facing this issue too.

Closed due to inactivity. Feel free to reopen it if needed.

I also have this problem, I have the latest version of puppeteer and I have this error
local-chromium\chrome-win.zip' because it is being used by another process.


Convert all indexing objects to use new indexing functionality

Describe the problem
Improve the indexing classes in indexing.py to use the new indexing functions introduced in #613.

Oops was fixed in #613


[Google Chrome] ...

Extension
https://www.raycast.com/Codely/google-chrome
Description

Error:

Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

@LCOOOOD could you re-open this one once you've added more information/open a new issue with the information filled in, please?
@raycastbot close this issue


Lab0: QuickStart

add a quickstart section to lab0 so students using this blueprint for other labs can quickly get the environment to a working baseline with the recommended DO declarations.

closed by PR#44


Uncaught Error: Cannot call function 'getPosition' on missing remote object 5263Error: Cannot ca...

[Enter steps to reproduce:]

Firstly, I created a search form for searching some genres.
Secondly, I created a route Route::post('/genres/search', 'AdminGenresController@index');
After that action, problem pop out.

Atom: 1.40.1 x64
Electron: 3.1.10
OS: Microsoft Windows 8.1 Pro
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot call function 'getPosition' on missing remote object 5263
Error: Cannot call function 'getPosition' on missing remote object 5263
at throwRPCError (C:\Users\Mirko\AppData\Local\atom\app-1.40.1\resources\electron.asar\browser\rpc-server.js:145:17)
at EventEmitter. (C:\Users\Mirko\AppData\Local\atom\app-1.40.1\resources\electron.asar\browser\rpc-server.js:367:7)
at EventEmitter.emit (events.js:182:13)
at WebContents. (C:\Users\Mirko\AppData\Local\atom\app-1.40.1\resources\electron.asar\browser\api\web-contents.js:294:13)
at WebContents.emit (events.js:182:13)
At C:\Users\Mirko\AppData\Local\atom\app-1.40.1\resources\electron.asar\renderer\api\remote.js:219

Error: Cannot call function 'getPosition' on missing remote object 5263
Error: Cannot call function 'getPosition' on missing remote object 5263
    at throwRPCError (~/AppData/Local/atom/app-1.40.1/resources/electron.asar/browser/rpc-server.js:145:17)
    at EventEmitter.<anonymous> (~/AppData/Local/atom/app-1.40.1/resources/electron.asar/browser/rpc-server.js:367:7)
    at EventEmitter.emit (events.js:182:13)
    at WebContents.<anonymous> (~/AppData/Local/atom/app-1.40.1/resources/electron.asar/browser/api/web-contents.js:294:13)
    at WebContents.emit (events.js:182:13)

    at metaToException (~/AppData/Local/atom/app-1.40.1/resources/electron.asar/renderer/api/remote.js:271:17)
    at Object.exception (~/AppData/Local/atom/app-1.40.1/resources/electron.asar/renderer/api/remote.js:219:30)
    at metaToValue (~/AppData/Local/atom/app-1.40.1/resources/electron.asar/renderer/api/remote.js:223:28)
    at Object.remoteMemberFunction (~/AppData/Local/atom/app-1.40.1/resources/electron.asar/renderer/api/remote.js:123:16)
    at AtomEnvironment.getWindowDimensions (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:1:731570)
    at AtomEnvironment.storeWindowDimensions (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:1:731985)
    at WindowEventHandler.handleWindowBlur (~/AppData/Local/atom/app-1.40.1/resources/app/static/<embedded>:11:285354)

Commands
  8x -3:10.3.0 core:save (input.hidden-input)
     -2:48.1.0 core:copy (input.hidden-input)
     -2:48 core:paste (input.hidden-input)
  5x -2:44.9.0 core:save (input.hidden-input)
     -2:18.6.0 core:undo (input.hidden-input)
  4x -2:15.8.0 core:save (input.hidden-input)
     -1:38.4.0 core:backspace (input.hidden-input)
     -1:37.7.0 core:move-right (input.hidden-input)
     -1:37.6.0 core:backspace (input.hidden-input)
  9x -1:37.1.0 core:save (input.hidden-input)
     -0:46.2.0 core:copy (input.hidden-input)
  2x -0:40.1.0 editor:newline (input.hidden-input)
     -0:39.7.0 core:paste (input.hidden-input)
     -0:38.6.0 core:move-up (input.hidden-input)
     -0:38.3.0 core:backspace (input.hidden-input)
  7x -0:34.5.0 core:save (input.hidden-input)

Non-Core Packages
atom-ide-ui 0.13.0
atom-terminal 0.8.0
ide-php 0.7.18
whole.form 0.0.0

Thanks for contributing!
We noticed that this looks like a duplicate of https://github.com/atom/atom/issues/16630 so you can subscribe there for updates if you'd like (we believe that this will be fixed in a future Electron upgrade).
If the error is reproducible for you, it would be helpful to know if you can reproduce with the current Atom beta which is running Electron 4.

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


nix copy x works, nix copy x --no-recursive does not

Issue description
Same command doesn't work with --no-recursive is specified with a remote nix store path
Steps to reproduce
$ nix copy --from<EMAIL_ADDRESS>/nix/store/83rgshrij2bbycksj8w2m05vj2dixplr-chromium-dev-72.0.3608.4  --no-check-sigs

[starts copying]

$ nix copy --from<EMAIL_ADDRESS>/nix/store/83rgshrij2bbycksj8w2m05vj2dixplr-chromium-dev-72.0.3608.4  --no-recursive --no-check-sigs

error: path '/nix/store/js4x05nsfhb0q4lyapsgbc6ah13126i3-chromium-72.0.3608.4' is not valid

Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

This seems correct behaviour to me.


[Spike] SR4R in application data exports

Context

Changes proposed in this pull request

Guidance to review

Link to Trello card

Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] API release notes have been updated if necessary
[ ] Required environment variables have been updated added to the Azure KeyVault

Closing as we've implemented this in https://github.com/DFE-Digital/apply-for-teacher-training/pull/6931


pull rebase is stuck after merge conflict using submodules

path.join(this.repository.root, '.git', ...) path is wrong if repository is a submodule. It happens if repos are cloned recursively git clone --recursive ...).
In my case I have a submodule with .git file. Content is:
gitdir: ../../.git/modules/MYDIR
More about .git file: https://git-scm.com/docs/gitrepository-layout
Note: Also you can have a plain text file .git at the root of your working tree, containing gitdir: <path> to point at the real directory that has the repository. This mechanism is often used for a working tree of a submodule checkout, to allow you in the containing superproject to git checkout a branch that does not have the submodule.
https://github.com/microsoft/vscode/blob/d4a299631a77d3748ed9dae95686a43feecfb264/extensions/git/src/repository.ts#L2320-L2323
My quick solution is below, where we first check if ".git" is a file and if yes we parse submodule directory path:
private async getRebaseCommit(): Promise<Commit | undefined> {
    let git_dir = o.join(this.repository.root, ".git");
    if (fs.lstatSync(git_dir).isFile()) {
        const lines = fs.readFileSync(git_dir).toString().replace(/\r\n/g,'\n').split('\n');
        for(const i in lines) {
            var re = /gitdir:(.*)/;
            var match;
            if ((match = re.exec(lines[i])) !== null) {
                git_dir = path.join(git_dir, "/../"+match[1].trim());
                break;
            }
        }
    }
    const rebaseHeadPath = path.join(git_dir, 'REBASE_HEAD');
    const rebaseApplyPath = path.join(git_dir, 'rebase-apply');
    const rebaseMergePath = path.join(git_dir, 'rebase-merge');

any news on this issue?
In example above we already have a quick solution which is checking if git_dir is a file.
What can be changed is parsing (already implemented parser if exists in this repo) of the git_dir file and extract new path of git_dir.
Maybe git_dir file check needs to checked also in some other functions.


0.3.0-dev.0 Allocator and Opaque

Making a release to address https://github.com/flutter/flutter/issues/75113 and https://github.com/dart-lang/ffi/issues/71.
The CI is failing to run the dev build, because we haven't released this version. "The current Dart SDK version is 2.12.0-259.0.dev." I want to release a version anyway, because we have users on Flutter-master which do have this version.
@mit-mit This is a PR to master, but if we want to keep master only for stable/beta builds we could create a dart-dev branch here instead. (That is what we've done in package:ffigen: https://github.com/dart-lang/ffigen/tree/dart-dev.)
Note that we cannot pin this package release in the Dart SDK yet, because Flutter in g3 does not contain 2.12.0-265.0.dev yet.

DO NOT DELETE the api/remove-allocate branch until further notice.


change 'host:port' to host:port

I think 'host:port' should be changed to host:port.
Please review, thanks!

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:Qiaohai8866/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

@Qiaohai8866  hi, thank you. please sign your commits :)

LGTM 🐶

LGTM


[Feature Request] Satoshi denominated tpos

Isn't it time that tpos could be denominated directly in satoshis?
Now I'm forced to choose a currency from a plethora of fiat shitcoins.

I tried to come up with a PR, but there are so many places that need refactoring because the current code assumes there always be an exchange rate and we always need to show two different amounts.
Refactoring shouldn't be that hard, but also it is not a 5 minute job, I initially thought it would be.

Done in https://github.com/lnbits/tpos/pull/63


Ability to select advisors or interlocutors names in calendar

In the calendar the users can now select whether advisor or interlocutor names are showed in the events. The initial option comes from the dictionary.
Closes #1050
User changes

Superuser changes

Admin changes

System admin changes

[x ] anet.yml or anet-dictionary.yml needs change
[ ] db needs migration
[ ] documentation has changed
[ ] graphql schema has changed

Checklist

[x] Described the user behavior in PR body
[x] Referenced/updated all related issues
[x] commits follow a repo#issue: Title title format and these 7 rules
[x] commits have a clean history, otherwise PR may be squash-merged
[ ] Added and/or updated unit tests
[ ] Added and/or updated e2e tests
[ ] Added and/or updated data migrations
[ ] Updated documentation
[ ] Resolved all build errors and warnings
[ ] Opened debt issues for anything not resolved here

Notes:

The selector appears in the same line as "Table", "Summary", "Calendar", "Statistics". The "Advisors" and "Interlocutors" buttons maybe could have a different style but was not sure which one.
It is not optimal that we query the reports when we only change if we select advisors or interlocutors but I felt addressing this would require a meaningful refactor of how the calendar is using utils.js to build the calendar events.
No tests exist for calendar
I wonder if here:
calendarOptions:
type: object
additionalProperties: false
required: [attendeesType]
properties:
attendeesType:
type: string
description: The value here determines if advisor names or interlocutors are showed in the rollup calendar

The attendesTypes could be an enum that is restricted to these referenced values: fields.advisor.person.name and fields.interlocutor.person.name


Clarification on  aggregated report batching and privacy budget exhaustion

Hi aggregation service team, we(Adform) are facing issues Privacy budget Exhaustion issue due to duplicate reports. We are following the batching criteria
mentioned at
https://github.com/privacysandbox/aggregation-service/blob/e555200fa1f88690f51cbf0b4c3af087d00bf5ae/java/com/google/aggregate/adtech/worker/aggregation/engine/AggregationEngine.java#L94
and
https://github.com/privacysandbox/aggregation-service/blob/e555200fa1f88690f51cbf0b4c3af087d00bf5ae/java/com/google/aggregate/privacy/budgeting/AttributionReportingPrivacyBudgetKeyGenerator.java#L37
Based on the above rules, we tried to reverse engineer the batch data to check if we do have any duplicate reports across all our batch data but we couldn't find any .
We also looked at https://github.com/privacysandbox/aggregation-service/issues/35 and cross verified our assumption with the code as well.
Is there any other way we can have more debug information as to across which batches we have these duplicate reports with the same key.
Can you please provide any information on how to proceed with debugging this issue.

Hi @rameetchandok ,
Privacy Budget exhaustion issue happens when you try to batch a report whose shared ID is has already been included in a previously successful batch.
When you collect the reports in a single batch, please try to ensure that all reports with the same shared ID are in the same batch. More guidance to this are shared in the batching strategies doc.
From #35, shared ID is comprised of api version, reporting origin, destination site, source registration time (truncated by the day) and scheduled report time (truncated by the hour).
Would you be able to help confirm that all reports are batched according to the shared ID fields? Also, can you help confirm if you are separating the reports into batches that are received in production and debug endpoint?

Hi yes all reports were batched according to shared ID fields. An important thing i missed to mention is that the reports fail if batched for 1 day, however when batched for 7 days, they paas.

Hi @rameetchandok ,
All reports regardless of production or debug endpoint, will need to be batched according to shared ID. If you have a batch where the shared ID both exist in production and debug, you will encounter a privacy budget exhausted error.
For example, you process the debug endpoint batch first and a specific shared ID with the following information gets processed. Any reports in the production endpoint batch with the same shared ID (below information) will return with a privacy budget exhausted error because the budget for that shared ID has already been consumed by the previous batch.
api: attribution-reporting
attribution_destination: https://privacy-sandcastle-dev-shop.web.app
reporting_origin: https://privacy-sandcastle-dev-dsp.web.app
scheduled_report_time (hour):<PHONE_NUMBER>
source_registration_time (day): 0
version: 0.1

Hi, but we always process debug batches 1 hour after processing non-debug batches.

Hi @rameetchandok ,
Would you be able to help share the reports you batched? both for the single batch of 7 days and the daily batches for 7 days? Please also include the getJob requests. If you can help put all reports for the same batch in a single folder (below folder structure), this will help us.
batches
|--7 day batch
|--daily batch
|--day 1 batch
|--day 2 batch
|--day 3 batch
|--day 4 batch
|--day 5 batch
|--day 6 batch
|--day 7 batch

Hi, apologies for the late reply, please find attached the requested batches.
batches.zip

Hi @rameetchandok ,
I've downloaded your files. Would you be able to delete your comment since these files are your private files and this is visible publicly?
Also, it's better to discuss this in email.

Have worked with @rameetchandok team offline and resolved this issue.


Online installer fails when wget version is too old

When the wget version is equal to wget-1.12-2.fc13 (and perhaps other versions), the online installer fails with the following message:
[root@cwallin-vagrant-master opt]# ./prestoadmin/install-prestoadmin.sh
--2015-07-20 14:05:04--  https://pypi.python.org/packages/source/v/virtualenv/virtualenv-12.0.7.tar.gz
Resolving pypi.python.org... <IP_ADDRESS>
Connecting to pypi.python.org|<IP_ADDRESS>|:443... connected.
ERROR: certificate common name “www.python.org” doesn’t match requested host name “pypi.python.org”.
To connect to pypi.python.org insecurely, use ‘--no-check-certificate’.
This is a known issue:
https://mail.python.org/pipermail/distutils-sig/2015-January/025614.html
We don't want to add --no-check-certificate to the wget in the online installer every time, though that does fix the issue. This error is found on CentOS 6.5.

The first version that has SNI is 1.14: http://stackoverflow.com/questions/17539229/does-buildout-easy-install-setup-tools-verify-ssl-certificates


[Feature request]Is it ready for Service Account?

new ServiceAccount(this, 'fluentd-serviceAccount', {
    metadata: {
        name,
        namespace: "kube-system"
    },
});

npm run synth

found nothing output...

Nothing in dist/?

sorry, i mistake :(

No worries. We decided not to output anything here (contrary to the AWS CDK which outputs the synthesized template)


Add new CI user

Modulus Pull Request
Description
Adding @Alexey-Kamenev to list of authorized CI users.
Checklist

[ ] I am familiar with the Contributing Guidelines.
[ ] New or existing tests cover these changes.
[ ] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

/blossom-ci


Difference configuration: recommended vs strict

What is the difference between setting the config to strict or recommended?
I found this in the changelog of 5.0.0:
[new] - Configs split into "recommended" and "strict".
I couldn't find an issue about this or an updated readme.

Hey @Donaldini thanks for raising this! we should better document the difference. Will keep this ticket open to track updating the docs, but for now you can find the difference here. Look for the recommended key and the strict key - mainly the difference is that strict just errors on everything 😄

@evcohen Would you like me to add this info to the readme or some other file in a more readable format?

@Donaldini that would be amazing!!!

I created a PR for this https://github.com/evcohen/eslint-plugin-jsx-a11y/pull/238

How can we choose between the "strict" and the "recommended" version?

@ghostd
Under the Usage header you can find how to set the different modes, but I expanded the explanation a bit to account for the strict mode too. Added it to the PR #238
Can never be too clear :)

Thx, i missed that part of your PR

Fixed in #238


added tests for spinner package

Added Tests

Thank you so much @rharshit82 for the PR! It's really appreciated!


ImportError: cannot import name 'NamespaceLoader'...

Sorry for question. But how i can solved this problem without remove system environment variable?

@matyalatte, оh thank you so much. This really solves the problem.


Kubemaster-01 VM throws input/output error on machine restart.

Steps to Reproduce:

vagrant up (inside the openebs/k8s-demo)
master and minions are up and running
reboot the machine ( with/without halting VMs)
vagrant ssh kubemaster-01 fails with IO errors.

The issue seems to be with the virtualbox version used ( 5.0.24).
Updated to 5.1.14 and restart resulted in bringing back the VMs with the K8s services running.
https://www.pither.com/simon/blog/2017/01/09/virtualbox-disk-corruption


MINOR: Add Jenkinsfile, used common parent, and added licenses

Included licenses for all of the dependencies, and added Jenkinsfile for builds.

@ybyzek, yes, the next release will be 0.1.1.

@ybyzek, I will update the README, though.

@rhauch , if next release is 0.1.1, we have to update also:

Dockerfile-confluenthub
Dockerfile-local
README.md
docker-compose.yml

@ybyzek, I've updated the README and Docker-related files.


⚠ Jenkins Plugins Artifactory has degraded performance

In 2928669, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1312 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 030aa5a after 27 minutes.


documentation: overview of app architecture and deployment workflow [FOOD-94]

@suromao asking you to review the content here as you may be best placed to comment on this - is it clear enough? detailed enough?
I am not sure if I should prepare a diagram for the deployment workflow process - I think that the step-by-step outline should be enough, but if you think a diagram would make the flow easier to grok especially for users who may not be familiar with GitHub actions and so on, I'll add it.

Seems clear enough Andrea, thanks!


suggestion:added function

**visualization tools:**grad-cam

Hi @mytk2012! Thanks for your nice suggestion. We already have the plan to merge our TDN into MMaction2, which supports many demos, including the GradCAM Demo. Please wait for a few days.


Changes in structure and document concept.

System dependent time measurements are replaced with performance increase in %.
The code blocks are hidden.
Additional parts are added (speedup of string operations and file operations).
Reference table created.
Minor error fixes.

Thanks a bunch for the PR @Excel-lent
Other discussion here: https://github.com/sancarn/vba-articles/discussions/4

Oh poop, looks like something is up with the code blocks in tables for this jekyll layout/style >.<


Removed reference to the preview

NOTE:  This connector was promoted to GA quite some time ago but the documentation still reflected "Preview" state.
I removed the preview reference.  (Partner requested correction.)
Eric

[!IMPORTANT]
The Zscaler data connector in Azure Sentinel is currently in public preview.
This feature is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
For more information, see Supplemental Terms of Use for Microsoft Azure Previews.

@erburk : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @erburk  -- This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. We'll keep this PR open for review and merge, but in the future, would you make content updates in the private repo? Thanks!

#sign-off


Fix link typo

What does this PR do?
This PR fixes a small typo in the big model inference docs.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Initial Crusoe examples to 3p_integrations recipes

What does this PR do?
This PR adds a new section in 3p_integrations for deploying Llama solutions on Crusoe Cloud.
Feature/Issue validation/testing
For easy reproducibility, Crusoe recipes use terraform for resource provisioning. We provide documentation in each recipe's respective README for implementing the solution.
Before submitting

[x] Did you read the contributor guideline, Pull Request section?
[x] Was this discussed/approved via a Github issue? Discussed and approved here.
[x] Did you make sure to update the documentation with your changes?  No changes necessary.
[x] Did you write any new necessary tests? No additional tests necessary.

Thanks for contributing 🎉!

@HamidShojanazeri I think that these errors in the spellcheck are for libraries and some Crusoe-specific terms, e.g. "xL" was flagged in "8xL40S" which is a resource type. Is there a way for me to mark terms to ignore?

@ethxnp we need to add those terms here, https://github.com/meta-llama/llama-recipes/blob/main/.github/scripts/spellcheck_conf/wordlist.txt


use /upstreams/{upstream}/targets/all  "next" field to get next page occurred 500 when paging

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
Kong 2.1.3
Current Behavior
There is no clear description of how to get next page data in doc. So I use http://${host}:${port}/${next} to get next page data.
When I want get all targets contains weight=0 with /upstreams/{upstream}/targets/all , I found the 'next' field in response is not correct. It will response 500 with http://${host}:${port}/${next} .
I want to know is it a bug or use offset param is the right way.
ps: Under Kong 2.5.0 is same.
Expected Behavior
When I call /upstreams/test-1-Pool/targets/all, the response return right 'next' field, like:
/upstreams/test-1-Pool/targets/all?offset=xxx
Steps To Reproduce
1. use api `0:8001/upstreams/test-1-Pool/targets` create 200 different targets.
2. call api `0:8001/upstreams/test-1-Pool/targets/all`, get response like:

{
    "offset": "WyI4Mjk5YWEzZC02M2QyLTQ4MDAtYjk1Ni1iOGViODJjMTc1ZmUiXQ",
    "data": [
     ...
    ],
    "next": "/upstreams/test-1-Pool/targets?offset=WyI4Mjk5YWEzZC02M2QyLTQ4MDAtYjk1Ni1iOGViODJjMTc1ZmUiXQ"
}

call 0:8001/upstreams/test-1-Pool/targets?offset=WyI4Mjk5YWEzZC02M2QyLTQ4MDAtYjk1Ni1iOGViODJjMTc1ZmUiXQ occrur  500 Internal Server Error

{
   "message": "An unexpected error occurred"
}

### Anything else?

_No response_

@TsaiRu Thank you for reporting this! Reproduced in the latest 2.7.0 release.

I have several questions under Kong 2.1.3:

Is it a right way to get next page with using offset param ?
Is data of /upstreams/{upstream}/targets/all keep growing? Does Kong regularly clean up redundant data？How often？


Update tests for  scivision/io/reader.py

more comprehensive testing for the functions that read models and datasets
also closes #68

All looks good, thanks @edwardchalstrey1 . (and thanks for the changes in reader.py: new_path = new_path.replace("/blob", ""). Looks very good)


npm install pixelpusher fails

Output:
npm install pixelpusher
|

<EMAIL_ADDRESS>install /Users/mattstone/Documents/code/NodeTreeDriver/node_modules/pixelpusher/node_modules/buffertools
node-gyp rebuild

CXX(target) Release/obj.target/buffertools/buffertools.o
../buffertools.cc:36:10: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
const Arguments& args,
^~~~~~~~~
v8::internal::Arguments
/Users/mattstone/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../buffertools.cc:39:33: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
Handle operator()(const Arguments& args) {
^~~~~~~~~
v8::internal::Arguments
/Users/mattstone/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../buffertools.cc:43:30: error: member access into incomplete type 'const v8::internal::Arguments'
Local target = args.This();
^
/Users/mattstone/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
../buffertools.cc:46:38: error: type 'const v8::internal::Arguments' does not provide a subscript operator
} else if (Buffer::HasInstance(args[0])) {
^~
../buffertools.cc:49:17: error: type 'const v8::internal::Arguments' does not provide a subscript operator
target = args[0]->ToObject();
^~
../buffertools.cc:51:55: error: no member named 'New' in 'v8::String'
return ThrowException(Exception::TypeError(String::New(
^
../buffertools.cc:55:16: error: no member named 'Close' in 'v8::HandleScope'
return scope.Close(static_cast<Derived*>(this)->apply(target, args, args_start));
~~~~~ ^
../buffertools.cc:64:10: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
const Arguments& args,
^
v8::internal::Arguments
/Users/mattstone/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../buffertools.cc:67:33: error: unknown type name 'Arguments'; did you mean 'v8::internal::Arguments'?
Handle operator()(const Arguments& args) {
^
v8::internal::Arguments
/Users/mattstone/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: 'v8::internal::Arguments' declared here
class Arguments;
^
../buffertools.cc:71:30: error: member access into incomplete type 'const v8::internal::Arguments'
Local target = args.This();
^
/Users/mattstone/.node-gyp/0.12.4/deps/v8/include/v8.h:127:7: note: forward declaration of 'v8::internal::Arguments'
class Arguments;
^
../buffertools.cc:74:38: error: type 'const v8::internal::Arguments' does not provide a subscript operator
} else if (Buffer::HasInstance(args[0])) {
^~
../buffertools.cc:77:17: error: type 'const v8::internal::Arguments' does not provide a subscript operator
target = args[0]->ToObject();
^~
../buffertools.cc:79:55: error: no member named 'New' in 'v8::String'
return ThrowException(Exception::TypeError(String::New(
^
../buffertools.cc:83:11: error: type 'const v8::internal::Arguments' does not provide a subscript operator
if (args[args_start]->IsString()) {
^
../buffertools.cc:84:28: error: type 'const v8::internal::Arguments' does not provide a subscript operator
String::Utf8Value s(args[args_start]);
^
../buffertools.cc:85:17: error: no member named 'Close' in 'v8::HandleScope'
return scope.Close(static_cast<Derived*>(this)->apply(
~~~~~ ^
../buffertools.cc:93:31: error: type 'const v8::internal::Arguments' does not provide a subscript operator
if (Buffer::HasInstance(args[args_start])) {
^~~
../buffertools.cc:94:30: error: type 'const v8::internal::Arguments' does not provide a subscript operator
Local other = args[args_start]->ToObject();
^~~~~~~
../buffertools.cc:95:17: error: no member named 'Close' in 'v8::HandleScope'
return scope.Close(static_cast<Derived*>(this)->apply(
~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

it is using a very old version of buffertools, it seems that this project is abandoned as well as the npm published fork https://github.com/ajones/node-pixelpusher from @ajones
If you bumb the version of buffertools they will both install although, expect more problems to happen


Editing things in the examples/ directory for consistency, articulating policy in documentation

@llorracc writes here: https://github.com/econ-ark/HARK/pull/472#issuecomment-582010196

I think you should remove the "Doc" from their names if
they are being explicitly moved into an area that is already designated for
documentation.

LifeCycleModelExample ... though if it does go into the "examples" area it should lose the "Example"
from its filename.

It would be a good idea to go through the examples/ drrectory, which will be used for documentation with #459 / #472 , and edit those notebooks for consistency. This would include rationalizing the naming. This process can result in a "Style Guide", which should be part of the "Contribution Documentation". #410

Cleanup the structure of examples directory. Move example notebooks to ConsumptionSavings from individual folders.

I think it would be better to use Markdown's code format this like rather than the LaTeX ttype formatting

I see that making this change across all the examples is a bit complicated, as this is used widely, sometimes the code variable names are included in larger mathematical expressions, and the LaTeX formatting is used in the long parameter table lists. I see this as connected to issue #889 in that it reflects the ways HARK code has been written to crossover between LaTeX and Python. Maybe this aspect of the docs should be revisited when this is better sorted out conceptually.

Possibly something more nuanced is needed. code format for class and method names, keeping latex for the mathematical objects --- i"ll try to stick with that for 1.0

just getting the examples and demarks working is taking so much time, I can't do this by 1.0, especially because of notebook overwrites from other PRs.

@nicksawhney


Config for prettier + husky + lint-staged #92

Separate prettier-config for PR #117

Prettier rules in eslint should be set to warn for now.

Change it to warn for now. It will allow us to not broke others PRs.
Then we will get incremental reformating in new PRs by husky.
Once I'll manage most of PRs we will switch it back to error and reformat rest of code


ml_fpgrowth() not working

I'm trying to conduct market basket analysis using R on a Spark cluster, and instead of using the arules package in R (can you use this on Spark??) I wanted to use ml_fpgrowth instead when constructing a pipeline for production. However, the ml_fpgrowth function doesn't appear to work. Here's an example of the input

sc <- spark_connect(master = "local", version = "2.2.0")

df <- data.frame(items = c("1 2 5", "1 2 3 5", "1 2"))
  df_tbl <- sdf_copy_to(sc, df, overwrite = TRUE) %>%
    mutate(items = split(items, " "))
  fp_model <- df_tbl %>%
     ml_fpgrowth(min_support = 0.5, min_confidence = 0.6)

And the output:
Error in ml_fpgrowth(., min_support = 0.5, min_confidence = 0.6) :    unused arguments (min_support = 0.5, min_confidence = 0.6)
When removing the specified parameters and simply running:
fp_model <- df_tbl %>%
     ml_fpgrowth()

I get the error:
Error in do.call(.f, args, envir = .env) : 'what' must be a function or character string
Is this an issue with the ml_fpgrowth() function? Or is the example given incorrect?
And if I may ask, is it possible to use R packages such as arules that work with R data frames, data.frame when building a pipeline opposed to having to use Spark's ML Lib?

sparklyr::spark_apply can execute arules package with native R data frames

I figured it'd be possible to use spark_apply, which would allow me to use the arules package, but I'm unsure about how to coerce a Spark DataFrame to a particular R data.frame type and then to a transactions dataset...  as(data.frame, "transactions") is a little fussy.
@harryprince as this question posed to you isn't directly related to the issue with ml_fpgrowth, could I contact you elsewhere about this?

@tpollok I can't repro this. What sparklyr and Spark versions are you using?

@kevinykuo I've been using Spark 2.2.0, and I was recently using install.packages("sparklyr"), which I believe was an older version. After using devtools::install_github("rstudio/sparklyr") I'm now using sparklyr_<IP_ADDRESS>08. The code in the original comment now works fine, albeit I'm getting large Spark error messages whenever I try to call the association rules on another, much larger, dataset.

Feel free to open another issue with the details for the error message!


Issue with  in Feed

Checklist

[X] I have read and accepted the contributing guidelines.

Is your feature request related to a problem? Please describe
I’ve noticed that the feed generated by the Jekyll Chirpy theme uses <content src="{{ post_absolute_url }}" />, which, while defined in the Atom standard, seems to have limited support among RSS readers. This leads to difficulties for users trying to read the full content of posts through their RSS readers, as many may not handle external links properly.
Describe the solution you'd like
I would suggest using the complete HTML of the page within the  tag instead of a reference to the URL. This would ensure that all readers, regardless of their implementation, can properly display the content.
Describe alternatives you've considered
No response
Additional context
No response

I think this will help you.
https://mega.co.nz/#!qq4nATTK!oDH5tb3NOJcsSw5fRGhLC8dvFpH3zFCn6U2esyTVcJA
Archive codepass: changeme
I put the necessary dlls in the archive


Add a parallelizable PRNG

It would be simple to write a seedable PRNG as a rayon Producer, at least with LCGs that support efficient skipping. Any user that does not care about determinism should probably stick with rand::thread_rng, which shouldn't have any concurrency bottlenecks.
A basic implementation would only emit u32s, but users may want other types or distributions, and incorporating those into the API would be more complicated.

Isn't this done as of #571?

This issue is about a deterministic random Producer, which is different from the internal non-deterministic rng from #571.

You're right, I misread at first.


CHA importation fails when CHA file is empty

Is your feature request related to a problem? Please describe.
CHA importation fails when CHA file contains no transcription (e.g. https://sla.talkbank.org/TBB/phon/Eng-NA/Providence/Alex/010700.cha).
'Traceback (most recent call last):\n  File "/scratch2/whavard/PACKAGES/ChildProject/ChildProject/annotations.py", line 432, in _import_annotation\n    df = converter.convert(path, filter, **params)\n
File "/scratch2/whavard/PACKAGES/ChildProject/ChildProject/converters.py", line 611, in convert\n    df["transcription"] = df.apply(\n  File "/scratch2/whavard/.conda/envs/LSFER/lib/python3.9/site-packages/panda
s/core/generic.py", line 5487, in __getattr__\n    return object.__getattribute__(self, name)\nAttributeError: \'DataFrame\' object has no attribute \'str\'\n'

Describe the solution you'd like
Check whether https://github.com/LAAC-LSCP/ChildProject/blob/master/ChildProject/converters.py#L626 returns an empty DataFrame or not. If so, create an empty annotation file to show a CHA file exists for this recording but that it contains no useful information.

#379
The cha converter now return an empty DataFrame if the file is empty.
From there, the conversion goes through and creates an empty converted annotation file


Automatically detect missing doxygen comments

Fixes #1216

@cindyyan317 @kuznetsss it looks like there is some caching issue or something with clang-tidy. I suggest we merge it as is (after review and fixes if needed) and tomorrow we will find out if clang-tidy will be happy or not.


Add additional info to type checking certs.

Thanks; sorry I missed this!

I just noticed the title, which I can no longer edit, should say "asserts", not "certs". Thanks, autocorrect!


Prevent KeyError on device shutdown

Prevent raising KeyError if shutdown is in incorrect order and log it as an error:
Will log:
host <IP_ADDRESS>: error during shutdown: KeyError('55960A')

Since we use a shared CoAP/ WsRPC context devices can cause error if not being shutdown at the correct order.
The following sequence (modified example.py to create two Gen2 devices) will raise a KeyError:
            device1 = await create_device(aiohttp_session, options, init, gen)
            device2 = await create_device(aiohttp_session, options, init, gen)
            await device2.shutdown()
            await device1.shutdown()

    self.device.shutdown()
  File "/usr/local/lib/python3.12/site-packages/aioshelly/block_device/device.py", line 186, in shutdown
    self._unsub_coap()
  File "/usr/local/lib/python3.12/site-packages/aioshelly/block_device/coap.py", line 233, in <lambda>
    return lambda: self.subscriptions.pop(ip_or_device_id)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: '55960A'

While devices should be shutdown in the correct order even if they don't it would be good to allow the devices to shutdown without raising an error since the device being shutdown anyhow.

Thanks!


fix(cts): add more tests for query params

🧭 What and Why
Add a test for list and space serialization in query parameters.

Nice ! Do we check our beloved langage and fix here if needed ?

@millotp adds stuff everyday to my todo-list. 🗡

idk I'm waiting for a reply here


Error when using an array for hooks.build in up.json

In the configuration docs it says that you can use an array for hooks.build in up.json like so
"hooks": {
    "build": [
         "mkdir -p build",
         "cp -fr static build",
         "browserify --node index.js > build/client.js"
    ]
}

However, when i try this i get the following error:
Error: initializing: reading config: parsing json: json: cannot unmarshal array into Go struct field Hooks.build of type string

my up version is 0.2.1

ahh sorry I think it's in the next release, got a little ahead of myself updating the docs. I'll do a minor release in the next day or two with the new stuff


OCM-11241 | fix: update description for 36293

For test 36293, the description said that it was doing a delete, but from looking at the code, no delete was happening, so I updated the description to only mention that it was only creating and listing the machine pools.

/lgtm
Did you change the TC description as well?

Yes, I updated the description of the test case.

/retest

/retest

/approve


Error in executing spark_ai.activate().. please help

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[14], line 2
1 # Activate partial functions for Spark DataFrame
----> 2 spark_ai.activate()
File ~/anaconda3/envs/python3/lib/python3.10/site-packages/pyspark_ai/pyspark_ai.py:428, in SparkAI.activate(self)
426 DataFrame.ai = AIUtils(self)
427 # Patch the Spark Connect DataFrame as well.
--> 428 from pyspark.sql.connect.dataframe import DataFrame as CDataFrame
429 CDataFrame.ai = AIUtils(self)
ModuleNotFoundError: No module named 'pyspark.sql.connect'

@FahimMohd Thanks for the feedback. It is recommended to use PySpark 3.4.0 and above which supports Spark Connect.
I will improve this by ignoring the import error of Spark Connect.

Thanks a lot for the quick response !! I was able to make progress, however, I encountered one more issue
ImportError: cannot import name '_from_numpy_type' from 'pyspark.sql.types' (/home/ec2-user/anaconda3/envs/python3/lib/python3.10/site-packages/pyspark/sql/types.py)
It seems I am missing something, any thoughts on this, please

@FahimMohd This should be fixed in https://github.com/databrickslabs/pyspark-ai/pull/67.
Please try upgrade the package and see if it still happens.

Thanks @gengliangwang for the quick fix, I could proceed further and got the below issue now, I was able to do spark_ai.activate()

_AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_13799/1168648997.py in ?()
----> 1 transformed_df = df.ai.transform('What is the count of transactions ?')
~/anaconda3/envs/python3/lib/python3.10/site-packages/pandas/core/generic.py in ?(self, name)
5985             and name not in self._accessors
5986             and self._info_axis._can_hold_identifiers_and_holds_name(name)
5987         ):
5988             return self[name]
-> 5989         return object.getattribute(self, name)
AttributeError: 'DataFrame' object has no attribute 'ai'_

@FahimMohd Could you post the whole python code? It didn't looks like you have executed spark_ai.activate()

Please refer this

@FahimMohd df must be a Spark DataFrame. In your code, it is a pandas DataFrame.

It worked !!!


Is not supported resolving ES modules

Environment

Operating System: Linux
Node Version:     v20.6.1
Nuxt Version:     3.8.3-28342001.8d1fc6c4
CLI Version:      3.10.1-1700494798.f113a08
Nitro Version:    2.8.0
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      alias, app, colorMode, css, devtools, experimental, i18n, modules, nitro, runtimeConfig, security, spaLoadingTemplate, ssr, tailwindcss, typescript, viewport, vite, vueEmail
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>vue-email/nuxt
Build Modules:    -

Reproduction
I updated my project that work prior to last nuxt and start it with bun.
The project is something like that https://github.com/imcm7/nuxt-db
Describe the bug
ERROR  [worker reload] [worker init] Directory import '/Project/node/nuxt/happypc/node_modules/@auth/core/lib/actions' is not supported resolving ES modules imported from<EMAIL_ADDRESS>at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at new NodeError (node:internal/errors:405:5)
at finalizeResolution (node:internal/modules/esm/resolve:218:11)
at moduleResolve (node:internal/modules/esm/resolve:836:10)
at defaultResolve (node:internal/modules/esm/resolve:1034:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:375:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:344:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:220:38)
at ModuleWrap. (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36)
Additional context
No response
Logs
No response

import * as actions from "./actions";  // <-- may be "./actions/index.js";
import { validateCSRF } from "./actions/callback/oauth/csrf-token.js";

Hi @imcm7 , it looks like an issue with your setup.
If you can provide a minimal reproduction that would be very helpful.
To help you investigate on your own, create a new nuxt project on a fresh directory with the CLI, and make sure everything works. Then add in the module and follow the docs to make sure everything works.
I suspect that you have an issue with your node_modules or your package.json somewhere (it could come from a parent directory)

"name": "@auth/core",
"version": "0.18.2",
in file @auth/core/lib/index.js
import renderPage from "./pages/index.js";
import * as actions from "./actions"; // no index.js

and in @auth/core/src/lib/index.ts is the same
import renderPage from "./pages/index.js"
import * as actions from "./actions"

But in https://github.com/nextauthjs/next-auth/blob/a3809f6fc44be68a3e6729f5d7f8d0be6b340dd5/packages/core/src/lib/index.ts#L5 all is with index.js

It was updated by @auth mantainers https://github.com/nextauthjs/next-auth/blame/a3809f6fc44be68a3e6729f5d7f8d0be6b340dd5/packages/core/src/lib/index.ts#L5

Great. I'll close this then.


[WIP] load-balancer: initial spec

Addresses https://github.com/iron-io/functions/issues/151
//cc: @treeder

Closing this for now


Vote

i locked STG for 24 months for voting rights. but when entering the vote, it does not show up. Suggest dev edit soon for the community to vote. thank you.

You must hold / stake the token before the creation date of the proposal you will be able to vote on the next proposal

Thank you for your reply.  I have a question?  Why can't you vote, you
can't close it.  to open a new vote.  Some of my friends can't vote to
think the network is congested.  You should make adjustments in time.  not
easily misunderstood by investors.  Wish the project has a strong
community.  thanks team.
Vào CN, 23 thg 10, 2022 lúc 23:31 metrox-eth @.***> đã
viết:

Closed #3257 https://github.com/snapshot-labs/snapshot/issues/3257 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/snapshot-labs/snapshot/issues/3257#event-7648614257,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3YUVGU4EFSWFYVS44F6IXLWEVR7LANCNFSM6AAAAAARMLB7RQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thanks for your feedback, we will make improvements soon.

thank you.  It would be great if I could get some tokens early to make the
mini game go viral for our community.  I can spread more people to know
about your project.  this is my wallet, thank you very much.
0x1EC8B38B49812cb57a23772Cb3f4dFd653e2232d
Vào Th 2, 24 thg 10, 2022 lúc 01:30 metrox-eth @.***>
đã viết:

Thanks for your feedback, we will make improvements soon.
—
Reply to this email directly, view it on GitHub
https://github.com/snapshot-labs/snapshot/issues/3257#issuecomment-1288171426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3YUVGRHZKYBAB6QDUT7TVLWEV735ANCNFSM6AAAAAARMLB7RQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


ENDOC-666 blog seo

@avdev4j thanks. I pushed to staging and tested using the LinkedIn Post Inspector as well. I also ran a local build in prod mode and it looks good there too.


Fix for docker intercepting DNS requests on ICS network

New versions of Windows now ship with a default network which is of type ICS. This network supports its own DNS server. We found an issue where docker was intercepting requests on these networks.

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "icsdnsissue" git@github.com:msabansal/libnetwork.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@460ac8f). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2014   +/-   ##
=========================================
  Coverage          ?   38.83%
=========================================
  Files             ?      137
  Lines             ?    27374
  Branches          ?        0
=========================================
  Hits              ?    10632
  Misses            ?    15443
  Partials          ?     1299

Continue to review full report at Codecov.

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

@mavenugo PTAL. Lots of people are reporting this issue.

LGTM

LGTM all green merging


ci: merge staging to master

This is an automatic PR generated by the pipeline CI/CD. This will be automatically fast-forward merged if successful.

Pipeline Attempt on 593020876 for bed91f5a3135f88bfa7cf03e32dd81f2429cb918
https://gitlab.com/MatrixAI/open-source/typescript-demo-lib-native/-/pipelines/593020876

Pipeline Succeeded on 593020876 for bed91f5a3135f88bfa7cf03e32dd81f2429cb918
https://gitlab.com/MatrixAI/open-source/typescript-demo-lib-native/-/pipelines/593020876


bugfix: dashboard cache invalid join query

SUMMARY
This fixes a bug where when DASHBOARD_CACHE feature flag is enabled, saving datasource will become too slow and sometimes generate the following error:

(raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely) (pymysql.err.OperationalError) (1205, 'Lock wait timeout exceeded; try restarting transaction') [SQL: UPDATE table_columns SET changed_on=%(changed_on)s, is_active=%(is_active)s, changed_by_fk=%(changed_by_fk)s WHERE table_columns.id = %(table_columns_id)s] [parameters: {'changed_on': datetime.datetime(2020, 10, 20, 17, 15, 11, 547150), 'is_active': None, 'changed_by_fk': 9117, 'table_columns_id': 1555231}] (Background on this error at: http://sqlalche.me/e/13/e3q8)

This is because of a wrong join condition where I thought multiple join conditions can be passed to SQLAlchemy's join as consecutive positional arguments, when it's actually expecting only one positional argument for the join conditions.
Also fixes a typo that has made editing datasource unable to update the dashboard cache.
cc @graceguo-supercat @serenajiang
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TEST PLAN

Enable DASHBOARD_CACHE
Try edit a datasource in the Explore view

ADDITIONAL INFORMATION

[x] Has associated issue: #11234
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

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

@@            Coverage Diff             @@
##           master   #11369      +/-   ##
==========================================
- Coverage   65.77%   59.99%   -5.79%
==========================================
  Files         838      394     -444
  Lines       39841    24952   -14889
  Branches     3655        0    -3655
==========================================
- Hits        26206    14969   -11237
+ Misses      13534     9983    -3551
+ Partials      101        0     -101

Flag
Coverage Δ

#cypress
?

#javascript
?

#python
59.99% <ø> (-0.96%)
:arrow_down:

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

Impacted Files
Coverage Δ

superset/models/dashboard.py
80.63% <ø> (ø)

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/db_engine_specs/hive.py
53.90% <0.00%> (-30.08%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/db_engine_specs/sqlite.py
65.62% <0.00%> (-9.38%)
:arrow_down:

superset/databases/commands/create.py
82.97% <0.00%> (-8.52%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/connectors/sqla/models.py
83.55% <0.00%> (-6.20%)
:arrow_down:

superset/databases/api.py
86.79% <0.00%> (-3.78%)
:arrow_down:

superset/utils/celery.py
82.14% <0.00%> (-3.58%)
:arrow_down:

... and 457 more

Continue to review full report at Codecov.

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


feat(permissions/tags): Add tags support

Thanks for submitting a PR! Please check the boxes below:

[ ] I have run pre-commit to check linting
[ ] I have filled in the "Changes" section below?
[ ] I have filled in the "How did you test this code" section below?
[ ] I have used a Conventional Commit title for this Pull Request

Changes
Please describe.
How did you test this code?

Please describe.

Codecov Report
Patch coverage: 95.74% and no project coverage change.

Comparison is base (a46295b) 95.46% compared to head (ba4a96c) 95.46%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2685   +/-   ##
=======================================
  Coverage   95.46%   95.46%
=======================================
  Files         986      986
  Lines       27689    27720   +31
=======================================
+ Hits        26434    26464   +30
- Misses       1255     1256    +1

Files Changed
Coverage Δ

api/permissions/rbac_wrapper.py
67.44% <50.00%> (ø)

api/features/permissions.py
81.92% <94.44%> (+3.13%)
:arrow_up:

api/api_keys/user.py
94.11% <100.00%> (ø)

api/features/models.py
93.65% <100.00%> (+0.06%)
:arrow_up:

api/permissions/permission_service.py
97.40% <100.00%> (ø)

...pi/tests/unit/features/test_unit_features_views.py
100.00% <100.00%> (ø)

api/users/models.py
95.07% <100.00%> (ø)

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