[WIP] fix arm provisioning if no security_group is selected

following up #7900 here is a fix for provisioning an ARM VM without providing a security group
@bronaghs @jteehan

@miq-bot add-label wip
not sure how to test this diff though

@romaintb - Thanks for this.
One thought - a slightly simpler approach might be to replace line 119 with:
network_options[:properties][:networkSecurityGroup] = security_group.ems_ref if security_group

@bronaghs woops, missed your comment, I fixed it. If you have a clue of a way for testing this, I am listening :)

@romaintb - you would have to restart the EVM server:

bundle exec rake evm:stop
bundle exec rake evm:start

Then provision a new instance like you did when you encountered this error. Let me know if you have any questions.

@bronaghs we have to specify security_group as a Hash with :id (just checked). About testing, I was more worried about writing specs to show the bug is fixed actually :)

@romaintb - Did provisioning fail?

@bronaghs yep : [Azure::Armrest::BadRequestException]: Cannot parse the request.

@romaintb -sorry, yes you do need the [:id] key like this:
     network_options[:properties][:networkSecurityGroup][:id] = security_group.ems_ref if security_group

@bronaghs network_options[:properties][:networkSecurityGroup] is nil though, so I don't think there is a shorter way of doing this than the current one :/

@romaintb - did you give it a shot? I just successfully created a VM, without a security group, with this change in place.

@romaintb - You are right, once we try to set the [:id] it will blow up. Im having trouble provisioning right now (unrelated reason) but what I am trying to test is this:
network_options[:properties][:networkSecurityGroup] = {:id => security_group.ems_ref}  if security_group

@romaintb - are you able to test if my suggestion above worked ok?

@bronaghs yes it works, I updated the PR accordingly :)

@romaintb - super. Thanks a lot.

@romaintb - I wrote a couple of specs for this yesterday. Can you add me as a collaborator so I can push the commit to this PR?

sure !

👍

@romaintb @djberg96 @blomquisg @gmcculloug - I pushed a commit that covers spec tests, it involved a change to the model also.

@romaintb - you can remove the WIP from the PR title (don't think i have permission to)

@miq-bot rm-label wip

@gmcculloug  @blomquisg  - i do not think this failure is caused by the commit  i pushed, can one of you re-run the tests please.

thanks everyone !


Rust acronym conventions

Found this from your blog post. Very cool project! I'm looking forward to playing with it a bit.
You mentioned that style nitpicks were welcome, so here's one that's maybe unintuitive at first. Rust convention for acronyms in type names is to only capitalize the first letter of the acronym. From the style guide:

In UpperCamelCase, acronyms and contractions of compound words count as one word: use Uuid rather than UUID, Usize rather than USize or Stdin rather than StdIn. In snake_case, acronyms and contractions are lower-cased: is_xid_start.

 It's nitpicky, but style consistency is really helpful for other Rust programmers reading the code.

Hey thanks! I'm surprised Clippy didn't catch this haha. Will fix these shortly


Updated obsolete API usages in interfaces

Changes

Updated obsolete API usages in interfaces (InputModifiers -> KeyModifiers).

This is a breaking change.

Apologies for the delay @jp2masa - would it be possible to keep the old methods but mark them [Obsolete]? We try to limit breaking changes where possible. Only place this may cause a problem is on interfaces. Might be worth adding the old method signatures as extension methods to the interface.

Except for IKeyboardDevice/KeyboardDevice, I don't think that's possible, because of the default parameter values. If the objective is binary compatibility, the changes in the interfaces won't allow that anyway I think, if it's "source code compatibility" (i.e. what used to compile still compiles) is not really easy, e.g.:
public void Focus(
    IInputElement control,
    NavigationMethod method = NavigationMethod.Unspecified,
    InputModifiers modifiers = InputModifiers.None)

If we remove the default value for modifiers, it also has to be removed for method (default value parameters have to be last ones). However, if it's called like Focus(control, modifiers: modifiers) it won't compile anymore.

@kekekeks what do you think? Worth taking the breaking change here? It's not a breaking change that's difficult to fix.

if it's "source code compatibility" (i.e. what used to compile still compiles)

Yes at this point, it's source compatibility.

We are breaking binary compatibility between versions anyway, so it's better to change things before entering the 1.0 stage with stronger compatibility guarantees.


Doomed tests need to be enabled and fixed

The tests in Test/doomed are really broken. If the lit.local.cfg is removed (this is preventing them from being executed) then they hang! Some .bpl files in that directory aren't use either.
They were originally commited by schaef.

Doomed has been eliminated.


Missing working steps for Data Lake Storage Gen2 Containers

Specifically Section 4 Restore database to virtual machine from URL
RESTORE DATABASE SomeDatabase
    FROM URL = 'https://azeusanblbstranonimized.blob.core.windows.net/sql-storage/SomeDatabase.bak'
    WITH
        MOVE 'some_database_data' TO 'https://azeusanblbstranonimized.blob.core.windows.net/sql-storage/SomeDatabase.mdf',
        MOVE 'some_database_log'  TO 'https://azeusanblbstranonimized.blob.core.windows.net/sql-storage/SomeDatabase.ldf'
, REPLACE

These steps work perfectly using a Azure StorageV2 (general purpose v2) account with "Blob Service Containers",

but if you opt to enable the "Data Lake Storage Gen2" feature (a.k.a. "Hierarchical namespace") when setting up your StorageV2 account, you get "Data Lake Storage" containers,

which look and configure almost identically, but result in the following error:

The operating system returned the error '13(The data is invalid.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'https://azeusanblbstranonimized.blob.core.windows.net/sql-storage/SomeDatabase.mdf'. File 'some_database_data' cannot be restored to 'https://azeusanblbstranonimized.blob.core.windows.net/sql-storage/SomeDatabase.mdf'. Use WITH MOVE to identify a valid location for the file.

I don't know what the solution is, but this tutorial can no longer be followed with someone using the latest Azure Storage solution (DLS Gen2) :(

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

ID: 15e8e46c-01f3-a76a-761f-5206e6d878e9
Version Independent ID: 3945290e-ef38-b04c-9ee6-d3889b4b94e4
Content: Tutorial: Use Azure Blob storage service with SQL Server 2016 - SQL Server
Content Source: docs/relational-databases/tutorial-use-azure-blob-storage-service-with-sql-server-2016.md
Product: sql
Technology: ****
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@alainbryden -- Alain, thank you for your thorough feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@MashaMSFT -- Masha, please look into this issue.

@alainbryden -- Alain, thank you for your thorough feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@MashaMSFT -- Masha, please look into this issue.

Thanks for triaging this - I do have a few days old stack-overflow question up (https://stackoverflow.com/questions/65813313) but it looks like I'll be the one posting the answer, if we ever get to the bottom of it.
I also opened issue #5938 for a similar tutorial that also suffers from this same error.

Thanks for triaging this - I do have a few days old stack-overflow question up (https://stackoverflow.com/questions/65813313) but it looks like I'll be the one posting the answer, if we ever get to the bottom of it.
I also opened issue #5938 for a similar tutorial that also suffers from this same error.

Hi @alainbryden , thanks for contacting Microsoft! This article covers Azure blob storage. Azure Data Lake is a separate solution built on top of Azure Blob storage. SQL Server only supports page blob and block blobs, with block blobs being preferred. Azure Data Lake is not currently supported.
I hope that helps and please let us know if we can be of further assistance. I'll close out this Git Issue for the time being but please feel free to comment should you need additional assistance.
Thanks again for reaching out and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team

Hi @alainbryden , thanks for contacting Microsoft! This article covers Azure blob storage. Azure Data Lake is a separate solution built on top of Azure Blob storage. SQL Server only supports page blob and block blobs, with block blobs being preferred. Azure Data Lake is not currently supported.
I hope that helps and please let us know if we can be of further assistance. I'll close out this Git Issue for the time being but please feel free to comment should you need additional assistance.
Thanks again for reaching out and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team

I mean, ADL Containers specifically are supposed to be a complete
substitute for Blob. It supports both Page and Block blobs, so this
shouldnt be an issue.
They do maintain a list of "known issues" keeping it from reaching parity
here:
https://docs.microsoft.com/en-ca/azure/storage/blobs/data-lake-storage-known-issues
but this particular issue / limitation isn't listed. Perhaps it should be
added?
On Mon, Jan 25, 2021, 1:04 PM Masha at MSFT<EMAIL_ADDRESS>wrote:

Hi @alainbryden https://github.com/alainbryden , thanks for contacting
Microsoft! This article covers Azure blob storage
https://docs.microsoft.com/azure/storage/blobs/storage-blobs-overview. Azure
Data Lake
https://docs.microsoft.com/azure/storage/blobs/data-lake-storage-introduction
is a separate solution built on top of Azure Blob storage. SQL Server only
supports page blob and block blobs, with block blobs being preferred. Azure
Data Lake is not currently supported.
I hope that helps and please let us know if we can be of further
assistance. I'll close out this Git Issue for the time being but please
feel free to comment should you need additional assistance.
Thanks again for reaching out and I hope you have a wonderful rest of your
day!
Masha from the SQL Docs team
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/5936#issuecomment-766962872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARN33MBBCMRYUVJBYK4YA3S3WQDLANCNFSM4WLESQSQ
.

 It supports both Page and Block blobs, so this
shouldnt be an issue.
They do maintain a list of "known issues" keeping it from reaching parity
here:
https://docs.microsoft.com/en-ca/azure/storage/blobs/data-lake-storage-known-issues
but this particular issue / limitation isn't listed. Perhaps it should be
added?
On Mon, Jan 25, 2021, 1:04 PM Masha at MSFT<EMAIL_ADDRESS>wrote:

Hi @alainbryden https://github.com/alainbryden , thanks for contacting
Microsoft! This article covers Azure blob storage
https://docs.microsoft.com/azure/storage/blobs/storage-blobs-overview. Azure
Data Lake
https://docs.microsoft.com/azure/storage/blobs/data-lake-storage-introduction
is a separate solution built on top of Azure Blob storage. SQL Server only
supports page blob and block blobs, with block blobs being preferred. Azure
Data Lake is not currently supported.
I hope that helps and please let us know if we can be of further
assistance. I'll close out this Git Issue for the time being but please
feel free to comment should you need additional assistance.
Thanks again for reaching out and I hope you have a wonderful rest of your
day!
Masha from the SQL Docs team
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/5936#issuecomment-766962872,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARN33MBBCMRYUVJBYK4YA3S3WQDLANCNFSM4WLESQSQ
.

@alainbryden This is not a limitation of ADL, ADL is a full solution built on top of blob storage meant for big data analytics, it's not a relational database solution. SQL Server data and backup files have no way of taking advantage of the hierarchical file structure that ADL provides, so there would be no benefit of hosting SQL Server data files or backup files on ADL. This document gives an overview of what ADL is and how it works:
https://docs.microsoft.com/en-ca/azure/storage/blobs/data-lake-storage-introduction
Is there a specific feature of ADL that you were hoping to take advantage of that is missing in the existing SQL Server blob storage implementation?

@alainbryden This is not a limitation of ADL, ADL is a full solution built on top of blob storage meant for big data analytics, it's not a relational database solution. SQL Server data and backup files have no way of taking advantage of the hierarchical file structure that ADL provides, so there would be no benefit of hosting SQL Server data files or backup files on ADL. This document gives an overview of what ADL is and how it works:
https://docs.microsoft.com/en-ca/azure/storage/blobs/data-lake-storage-introduction
Is there a specific feature of ADL that you were hoping to take advantage of that is missing in the existing SQL Server blob storage implementation?

From what I've seen "Azure Storage" is sold as a a single "unit" on the Azure Portal. See https://docs.microsoft.com/en-us/azure/storage/common/storage-introduction as a general example of client-facing materials.

Azure Storage (Gen2) includes 5 "core" services (as a part of that single provisioned resource):

Azure Blobs
Azure Files
Azure Queues
Azure Tables
Azure Disks

Our project has licenced one Azure Storage instance for a couple year now and uses many of these features - we have a half a dozen blob containers, some tables, some queues, some file shares.
First our account was Gen1, and then it was "upgraded" to Gen2 as the latter got phased out - which went smoothly.
Now, Azure has expanded further on the capabilities of this resource and advertises AD DS (a.k.a. Hiererachical namespaces). The key value add is to authenticate with several services using Azure AD rather than SAS tokens. We opted to switch to purely to take advantage of those new features, with no expectation that any existing features would be "lost" - which is the general message one gets from the documentation and promotional materials.
Our use case for blob containers has not changed at all - and every aspect of the migration to the new Storage account went smoothly except for support for SQL files on blob, which mysteriously stopped working after the change. My guess is it's a bug, not an intentional lack of support as this seems to indicate, and that support will eventually be fixed. The first step is to create recognition of that oversight though - and that's proving to be quite difficult.

From what I've seen "Azure Storage" is sold as a a single "unit" on the Azure Portal. See https://docs.microsoft.com/en-us/azure/storage/common/storage-introduction as a general example of client-facing materials.

Azure Storage (Gen2) includes 5 "core" services (as a part of that single provisioned resource):

Azure Blobs
Azure Files
Azure Queues
Azure Tables
Azure Disks

Our project has licenced one Azure Storage instance for a couple year now and uses many of these features - we have a half a dozen blob containers, some tables, some queues, some file shares.
First our account was Gen1, and then it was "upgraded" to Gen2 as the latter got phased out - which went smoothly.
Now, Azure has expanded further on the capabilities of this resource and advertises AD DS (a.k.a. Hiererachical namespaces). The key value add is to authenticate with several services using Azure AD rather than SAS tokens. We opted to switch to purely to take advantage of those new features, with no expectation that any existing features would be "lost" - which is the general message one gets from the documentation and promotional materials.
Our use case for blob containers has not changed at all - and every aspect of the migration to the new Storage account went smoothly except for support for SQL files on blob, which mysteriously stopped working after the change. My guess is it's a bug, not an intentional lack of support as this seems to indicate, and that support will eventually be fixed. The first step is to create recognition of that oversight though - and that's proving to be quite difficult.

Got a reply from paid microsoft support on this.

Hello Alain,
We were able to complete the investigation and confirm we cannot use ADLS to store SQL Server datafiles because it uses Block Blob. We only use Page Blobs for storing data on Azure Storage due to requirement for Random writes.
We are working on updating the document to explicitly document the same about the supportability of ADLS Gen2.
Thank you once again for bring this to us and we hope to have this feature in future.

tl;dr Gen2's Blob storage has as a known issue that it does not yet support the Blob REST APIs for PUT Page and GET Page Ranges. SQL uses these APIs behind the scenes, hence the feature breaks when pointed towards Gen2 containers.

SQL Server only supports page blob and block blobs, with block blobs being preferred.

@MashaMSFT Unfortunately, it turns out your above statement is not true, and therein lies the nature of the bug.
ADLS Gen2 has full support for block blobs, but SQL (whether documentation realizes it or not) requires use of Page blobs in order to support this feature. Whoever documented that "block blobs are preferred" must not be aware of this limitation, or that behind-the-scenes, Page blobs are still being used regardless.

There is only one other piece of documentation I've found on MicrosoftDocs that alludes to the feature of storing SQL files on blob: SQL Server data files in Microsoft Azure
In that case, there's actually a hint in the documentation of where things might go south:

This new feature uses Page blobs, which are more efficient when ranges of bytes in a file are modified frequently.

Perhaps putting a similar disclosure near at the top of this documentation (i.e. in the "Prerequisites" section) would avoid someone going down this path with an incompatible blob storage account.
In both cases (this article and the other article), a clear statement that the blob storage containers offered by ADLS Gen2 storage are not compatible due to their lack of support for the "Page Blob" APIs would be extraordinarily helpful.

@alainbryden I have updated that document that you just referenced to indicate that we do not support ADLS, it should go live later this morning. Also as you noted in one of your comments above, ADLS does not benefit SQL Server workloads, so there is no intention on our part to support storing SQL Server data files on ADLS.

@alainbryden Also to be clear, this page that you linked to did already specify that we use page blobs for this type of storage, the comment about block blobs being preferred is only in reference to backup to URL. With backups we are streaming to the blob storage and appending to the target file, an I/O pattern that generally performs better against block blobs. With data files, we are randomly reading and writing pages so page blobs perform better.

Thanks for the clarification on the other page @bluefooted
I humbly suggest that it might also be worth adding a small disclaimer in Section 4 of the current page, right before the sample code:
 MOVE 'AdventureWorks2016_data' to 'https://<mystorageaccountname>.blob.core.windows.net/<mystorageaccountcontainername>/AdventureWorks2016_Data.mdf'
,MOVE 'AdventureWorks2016_log' to 'https://<mystorageaccountname>.blob.core.windows.net/<mystorageaccountcontainername>/AdventureWorks2016_Log.ldf'

Which (for the first time in this guide) would require use of the Page Blobs APIs to MOVE MDF/LDF files onto blob.
I agree that it's probably not worth adding a disclaimer in the "Prerequisites" section at the top of this one, because this article is predominantly regarding backups (which continue to work on ADLS Gen2) - if not for this small section describing the process of restoring the database with backing files still on blob.

@alainbryden In this tutorial you're using the same storage account for both the backups and the data files, so you don't really want to turn on hierarchical files on the account. We don't have detailed steps to create the account and the link that's there does include a note about ADLS. I can add this information to the pre-requisites bullet, but by the time you get to section 4 it's too late to point this out :)


Pin flake8<4 to have actual FLAKE8 error printed if tests fail and not garbage

Description

Sister PR to https://github.com/ESMValGroup/ESMValCore/pull/1434 and motivated by issue https://github.com/ESMValGroup/ESMValCore/issues/1405 - an example of the garbage the new flake8 spits out can be found in these failed tests
The correctly pinned flake8 will be installed from esmvalcore if we merge said PR above before v2.5.0 release but only when we make the release (or when the user installs it in development mode), until then the installation of ESMValTool results in an installation of flake8 = 4.0.1 and garbage traces when FLAKE8 tests fail:
Collecting flake8>=3.5
  Downloading flake8-4.0.1-py2.py3-none-any.whl (64 kB)

Also, @zklaus and the release boys @schlunma etc we should be careful the pin is active in the ESMValCore conda feedstock recipe!

Before you get started

[x] ☝ Create an issue to discuss what you are going to do

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Tests run successfully
[x] 🛠 Any changed dependencies have been added or removed correctly
[x] 🛠 All checks below this pull request were successful

@zklaus frenly ping ma man :grin:

@schlunma not a worry, I tagged you here simply for the reason that this shouldn't fall through the cracks and needs to land in v2.5, the test output is really garbled without pinning flake8, if tests fail :beer:

awesome, cheers, Klaus! :beer:


redis 0.13.1

I am using hiredis c client for my project.
I am using ASYNC API. I have a thread which run ev_loop.  (version 0.13.1)
I am sending 10000-20000/sec redisAsyncCommand  to create a SET entries on redis server. Everything went well but I see the memory is growing continuously.
//connect
 redisAsyncContext *c;

 c = redisAsyncConnect(ip, port);
   assert(c);
   if (c->err) {
        /* Let *c leak for now... */
        printf("Error: %s\n", t->c->errstr);
        exit(1);
  }
   c->data = (void*)t;
   redisLibevAttach(t->loop, c);
   redisAsyncSetConnectCallback(c,connectCallback);
   redisAsyncSetDisconnectCallback(c,disconnectCallback);

//connect callback is received.
//once the connection is done, I call the following code 10000/sec

  static uint64_t ipv4list = 1;
  static ipv4Nat = 1000;

  for (i = 0; i < 10000;i++)
{
    int status = redisAsyncCommand(c, onResp, t, "SADD ipv4list%lu %u:%u",
                               ipv4list, ipv4Nat,  32);

    ipv4list++;
   usleep(100);
  }

void onResp(redisAsyncContext *c, void *r, void *privdata) {
    redisReply *reply = r;
    static uint64_t count = 0;
    count++;
    if (reply == NULL)
    {
      printf("reply is NULL\n");
      return;
    }
    else if (reply->type == REDIS_REPLY_STRING)
    {
       //printf("thread:%p: %s\n", (struct redis_thread_context*)privdata, reply->str);
    }
    else if (reply->type == REDIS_REPLY_INTEGER)
    {
       //printf("thread:%p: %lld\n", (struct redis_thread_context*)privdata, reply->integer);
    }
    else
    {
      //printf("thread:%p: %s\n", (struct redis_thread_context*)privdata, reply->str);
    }
}

Closing since this is an old issue with no new activity.  Feel free to reopen if it's not actually been resolved.


Update youtube script for API v3

Starting yesterday, Google have begun to kill off the old v2 API. Because of this, Liona will sometimes link to a device support video instead of the requested video.
This PR updates the youtube script to be compatible with version 3 of the API, but it also has a downside. You can no longer use it without an API key. These steps should get you sorted:

Create a project in the Developer Console
Activate the Youtube Data API for the new project
Head to APIs & Auth > Credentials and Create new Key
Paste in the IP address that Liona lives behind
Define your API key in the start script or wherever you set your env vars:
HUBOT_YOUTUBE_KEY="your_api_key"

We seem to get 50 million quota "credits" per day on a normal account. Since the search endpoint only uses 50 credits per request, you should be pretty safe. Probably.

sweet, I will check it out soon and merge it

Thanks, Dave!


feat:add portuguese as a language support

Add Portuguese(PT) as a language support for Ory Elements.
Please make sure the strings aren't too long as to compromise the layout.
This pull request implements a new feature.
Pull requests introducing new features, which do not have a design document linked are more likely to be rejected and take on average 2-8 weeks longer to
get merged.

[X] I have read the contributing guidelines and signed the CLA.
[ ] I have referenced an issue containing the design document if my change introduces a new feature.
[X] I have read the security policy.
[X] I confirm that this pull request does not address a security vulnerability.
If this pull request addresses a security vulnerability,
I confirm that I got approval (please contact<EMAIL_ADDRESS>from the maintainers to push the changes.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added the necessary documentation within the code base (if appropriate).

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


Cant even get the setup working

Originally I couldn't even pull from the upstream remote branch without a merge error due to the "changes" I made to the package-lock.json file. After trying all the fixes with no avail. I deleted my fork, made a new one and now when I run 'npm run ci' I get a ton of errors.
Any suggestions?

node_modules/browserfs/dist/node/index.d.ts:5:15 - error TS2307: Cannot find module './core/browserfs'.
5 export * from './core/browserfs';
~~~~~~~~~~~~~~~~~~
packages/ash/src/index.ts:8:11 - error TS2339: Property 'install' does not exist on type 'typeof import("/Users/franklopez/cmsc388i/wasmos/node_modules/browserfs/dist/browserfs")'.
8 BrowserFS.install(window);
~~~~~~~
packages/fs/src/fs/index.ts:23:13 - error TS2339: Property 'install' does not exist on type 'typeof import("/Users/franklopez/cmsc388i/wasmos/node_modules/browserfs/dist/browserfs")'.
23   BrowserFS.install(global || window);
~~~~~~~
packages/fs/src/fs/index.ts:32:15 - error TS2339: Property 'configure' does not exist on type 'typeof import("/Users/franklopez/cmsc388i/wasmos/node_modules/browserfs/dist/browserfs")'.
32     BrowserFS.configure(
~~~~~~~~~
packages/fs/src/fs/index.ts:66:28 - error TS2339: Property 'configure' does not exist on type 'typeof import("/Users/franklopez/cmsc388i/wasmos/node_modules/browserfs/dist/browserfs")'.
66   await promisfy(BrowserFS.configure)({
~~~~~~~~~
packages/fs/src/fs/index.ts:72:13 - error TS2339: Property 'FileSystem' does not exist on type 'typeof import("/Users/franklopez/cmsc388i/wasmos/node_modules/browserfs/dist/browserfs")'.
72   BrowserFS.FileSystem.WorkerFS.attachRemoteListener(worker);
~~~~~~~~~~
packages/kernel/src/threading/worker.ts:28:29 - error TS2339: Property 'BFSRequire' does not exist on type 'typeof import("/Users/franklopez/cmsc388i/wasmos/node_modules/browserfs/dist/browserfs")'.
28   (ctx).fs = BrowserFS.BFSRequire("fs");
~~~~~~~~~~
Found 7 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>check: tsc -p tsconfig.ts.json --noEmit
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>check script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/franklopez/.npm/_logs/2019-05-19T16_15_47_874Z-debug.log
ERROR: "check" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>ci: npm-run-all clean bootstrap check ci:test test:as
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>ci script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/franklopez/.npm/_logs/2019-05-19T16_15_48_228Z-debug.log

Hmm strange.  Was this after another npm install?

I mean I've done the process like 5 times deleting wasmos from my local directory and re-cloning and re-running npm install

Well this was just to check the type check the typescript code.  Since we aren't using typescript you can edit package.json and change npm-run-all clean bootstrap check ci:test test:as -> npm-run-all clean bootstrap test:as.  Then npm run ci will skip checking and testing the typescript.  Just make sure that you don't commit this change.

Also you can just run, npm run test:as right away to see if the assemblyscript is working.

Alright. That ran without any errors. Have you gotten the filesystem working yet? I originally chose ls, but if the filesystem isn't up yet I'd much rather try something else.

Yep it's working.  Check out types/wasa/index.d.ts to see the fs class.  You can use fs.openDirectory to get a WasiResult<DirectoryDescriptor> which has the functionality you'll need for ls.


Re-skeletonize

🗣 Description
This pull request re-skeletonizes this repository.
💭 Motivation and context
This repository had been started from a skeleton in the distant past, but it was woefully out of date and lacked even a Lineage configuration.
🧪 Testing
All relevant automated testing passes.  The JavaScript LGTM check fails because there is no JavaScript code in this repository.
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All relevant repo and/or project documentation has been updated to reflect the changes in this PR.
[x] All new and existing tests pass.

Thanks for tackling another one of these lost lambs. In addition to my suggestions below I believe we can now remove the regex_replace() logic in the following:
https://github.com/cisagov/ansible-role-nessus/blob/99bfd7572032a2d7ccefd612df19d7a72b4bc89e/tasks/main.yml#L52-L57
Here's a reference to a commit doing so in another Ansible role: cisagov/ansible-role-clamav@8b0fb17

Good call!


How do I scroll to the top with resetting Scrollify?

Hi there, so I've been troubleshooting for a few days now and I can't seem to get something to work.
I have a simple index.html that has a table with different rows and a single column in every row.
The rows have images and I've made it so that with scrollify you snap to the next rows.
At the bottom I have a little button that when you click it, you get sent back to the top.
But then when you try to scroll again it goes to the last section (or in this case the last ) you have been.
This is the code I have:
$(document).ready(function() {
$.scrollify({
	easing: "easeOutExpo",
	scrollSpeed: 1000,
	offset : 0,
	scrollbars: false,
	setHeights: false,
	overflowScroll: true,
	updateHash: false,
	touchScroll: false
});

$(function() {
	$.scrollify( {
		section : ".section",
	});
});

$(".toTop").click(function() {

	$('.blackScreen').fadeIn(1000);
	$('.blackScreen').fadeOut(1000);

	function scrollToTop() {
		document.getElementById("home").scrollIntoView();
	}
	setTimeout(scrollToTop, 1000);
});

})
It'd be cool if someone can help me out here, I've tried using $.scrollify.disable(); and enable(); already but I probably didn't add them correctly..
Thanks in advance!
(Edit, Github is ruining the code markup. I can't get it right sorry!)

The issue here is your scrollToTop function. Use scrollify's move method instead.

The issue here is your scrollToTop function. Use scrollify's move method instead.

So you mean $.scroollify.move("#home");??
I have tried so but it sadly did not work, I can try again though. but last time I tried it stood in place without throwing an error.

Take a look at the pagination example: https://projects.lukehaas.me/scrollify/examples/pagination

I can't get it to work, I'll upload it to GitHub so you can take a look at the site itself and what I want to happen.
(The button to go back to the top is at the bottom, so you'll have to scroll down first or add #end to the adress)
https://madstonmagic.github.io/wtf-creativity/

Hi Luke, I got it to work!
Thanks for helping out.


Add URL field with GOV.UK website link

Each prison has a page on GOV.UK with information about the specific establishments. It would be good to be able to include this in the API so services can use this information without storing and updating it themselves in each specific application. The list of URLS for each prison code is shown below:

Code
Name
URL

ACI
Altcourse (HMP & YOI)
https://www.gov.uk/guidance/altcourse-prison

AGI
Askham Grange (HMP & YOI)
https://www.gov.uk/guidance/askham-grange-prison

ASI
Ashfield (HMP)
https://www.gov.uk/guidance/ashfield-prison

AYI
Aylesbury (HMYOI)
https://www.gov.uk/guidance/aylesbury-yoi

BAI
Belmarsh (HMP & YOI)
https://www.gov.uk/guidance/belmarsh-prison

BCI
Buckley Hall (HMP)
https://www.gov.uk/guidance/buckley-hall-prison

BFI
Bedford (HMP & YOI)
https://www.gov.uk/guidance/bedford-prison

BLI
Bristol (HMP & YOI)
https://www.gov.uk/guidance/bristol-prison

BMI
Birmingham (HMP)
https://www.gov.uk/guidance/birmingham-prison

BNI
Bullingdon (HMP & YOI)
https://www.gov.uk/guidance/bullingdon-prison

BRI
Bure (HMP)
https://www.gov.uk/guidance/bure-prison

BSI
Brinsford (HMP & YOI)
https://www.gov.uk/guidance/brinsford-prison

BWI
Berwyn (HMP & YOI)
https://www.gov.uk/guidance/berwyn-prison

BXI
Brixton (HMP)
https://www.gov.uk/guidance/brixton-prison

BZI
Bronzefield (HMP & YOI)
https://www.gov.uk/guidance/bronzefield-prison

CDI
Chelmsford (HMP & YOI)
https://www.gov.uk/guidance/chelmsford-prison

CFI
Cardiff (HMP & YOI)
https://www.gov.uk/guidance/cardiff-prison

CKI
Cookham Wood (HMYOI)
https://www.gov.uk/guidance/cookham-wood-yoi

CLI
Coldingley (HMP)
https://www.gov.uk/guidance/coldingley-prison

CWI
Channings Wood (HMP)
https://www.gov.uk/guidance/channings-wood-prison

DAI
Dartmoor (HMP)
https://www.gov.uk/guidance/dartmoor-prison

DGI
Dovegate (HMP)
https://www.gov.uk/guidance/dovegate-prison

DHI
Drake Hall (HMP & YOI)
https://www.gov.uk/guidance/drake-hall-prison

DMI
Durham (HMP & YOI)
https://www.gov.uk/guidance/durham-prison

DNI
Doncaster (HMP & YOI)
https://www.gov.uk/guidance/doncaster-prison

DTI
Deerbolt (HMYOI)
https://www.gov.uk/guidance/deerbolt-prison

DWI
Downview (HMP & YOI)
https://www.gov.uk/guidance/downview-prison

EEI
Erlestoke (HMP & YOI)
https://www.gov.uk/guidance/erlestoke-prison

EHI
Standford Hill (HMP & YOI)
https://www.gov.uk/guidance/standford-hill-prison

ESI
East Sutton Park (HMP & YOI)
https://www.gov.uk/guidance/east-sutton-park-prison

EWI
Eastwood Park (HMP & YOI)
https://www.gov.uk/guidance/eastwood-park-prison

EXI
Exeter (HMP & YOI)
https://www.gov.uk/guidance/exeter-prison

EYI
Elmley (HMP & YOI)
https://www.gov.uk/guidance/elmley-prison

FBI
Forest Bank (HMP & YOI)
https://www.gov.uk/guidance/forest-bank-prison

FDI
Ford (HMP)
https://www.gov.uk/guidance/ford-prison

FEI
Fosse Way (HMP)
https://www.gov.uk/guidance/fosse-way-prison

FHI
Foston Hall (HMP & YOI)
https://www.gov.uk/guidance/foston-hall-prison

FKI
Frankland (HMP)
https://www.gov.uk/guidance/frankland-prison

FMI
Feltham (HMP)
https://www.gov.uk/guidance/feltham-yoi

FNI
Full Sutton (HMP)
https://www.gov.uk/guidance/full-sutton-prison

FSI
Featherstone (HMP)
https://www.gov.uk/guidance/featherstone-prison

FWI
Five Wells (HMP & YOI)
https://www.gov.uk/guidance/five-wells-prison

FYI
Feltham (HMYOI)
https://www.gov.uk/guidance/feltham-yoi

GHI
Garth (HMP)
https://www.gov.uk/guidance/garth-prison

GMI
Guys Marsh (HMP)
https://www.gov.uk/guidance/guys-marsh-prison

GNI
Grendon (HMP)
https://www.gov.uk/guidance/grendon-prison

GTI
Gartree (HMP)
https://www.gov.uk/guidance/gartree-prison

HBI
Hollesley Bay (HMP & YOI)
https://www.gov.uk/guidance/hollesley-bay-prison

HCI
Huntercombe (HMP)
https://www.gov.uk/guidance/huntercombe-prison

HDI
Hatfield (HMP & YOI)
https://www.gov.uk/guidance/hatfield-prison

HEI
Hewell (HMP)
https://www.gov.uk/guidance/hewell-prison

HHI
Holme House (HMP & YOI)
https://www.gov.uk/guidance/holme-house-prison

HII
Hindley (HMP & YOI)
https://www.gov.uk/guidance/hindley-prison

HLI
Hull (HMP & YOI)
https://www.gov.uk/guidance/hull-prison

HMI
Humber (HMP)
https://www.gov.uk/guidance/humber-prison

HOI
High Down (HMP & YOI)
https://www.gov.uk/guidance/high-down-prison

HPI
Highpoint (HMP)
https://www.gov.uk/guidance/highpoint-prison

HVI
Haverigg (HMP)
https://www.gov.uk/guidance/haverigg-prison

ISI
Isis (HMP/YOI)
https://www.gov.uk/guidance/isis-prison

IWI
Isle Of Wight (HMP & YOI)
https://www.gov.uk/guidance/isle-of-wight-prison

KMI
Kirkham (HMP)
https://www.gov.uk/guidance/kirkham-prison

KVI
Kirklevington Grange (HMP & YOI)
https://www.gov.uk/guidance/kirklevington-grange-prison

LCI
Leicester (HMP)
https://www.gov.uk/guidance/leicester-prison

LEI
Leeds (HMP)
https://www.gov.uk/guidance/leeds-prison

LFI
Lancaster Farms (HMP)
https://www.gov.uk/guidance/lancaster-farms-prison

LGI
Lowdham Grange (HMP)
https://www.gov.uk/guidance/lowdham-grange-prison

LHI
Lindholme (HMP)
https://www.gov.uk/guidance/lindholme-prison

LII
Lincoln (HMP & YOI)
https://www.gov.uk/guidance/lincoln-prison

LLI
Long Lartin (HMP)
https://www.gov.uk/guidance/long-lartin-prison

LNI
Low Newton (HMP & YOI)
https://www.gov.uk/guidance/low-newton-prison

LPI
Liverpool (HMP)
https://www.gov.uk/guidance/liverpool-prison

LSI
Maidstone (HMP)
https://www.gov.uk/guidance/maidstone-prison

LTI
Littlehey (HMP)
https://www.gov.uk/guidance/littlehey-prison

LWI
Lewes (HMP & YOI)
https://www.gov.uk/guidance/lewes-prison

LYI
Leyhill (HMP)
https://www.gov.uk/guidance/leyhill-prison

MDI
Moorland (HMP & YOI)
https://www.gov.uk/guidance/moorland-prison

MHI
Morton Hall (HMP)
https://www.gov.uk/guidance/morton-hall-prison

MRI
Manchester (HMP & YOI)
https://www.gov.uk/guidance/manchester-prison

MTI
The Mount (HMP)
https://www.gov.uk/guidance/the-mount-prison

NHI
New Hall (HMP & YOI)
https://www.gov.uk/guidance/new-hall-prison

NLI
Northumberland (HMP)
https://www.gov.uk/guidance/northumberland-prison

NMI
Nottingham (HMP & YOI)
https://www.gov.uk/guidance/nottingham-prison

NSI
North Sea Camp (HMP)
https://www.gov.uk/guidance/north-sea-camp

NWI
Norwich (HMP & YOI)
https://www.gov.uk/guidance/norwich-prison

ONI
Onley (HMP)
https://www.gov.uk/guidance/onley-prison

OWI
Oakwood (HMP)
https://www.gov.uk/guidance/oakwood-prison

PBI
Peterborough (HMP & YOI)
https://www.gov.uk/guidance/peterborough-prison

PDI
Portland (HMP & YOI)
https://www.gov.uk/guidance/portland-prison

PFI
Peterborough Female (HMP & YOI)
https://www.gov.uk/guidance/peterborough-prison

PNI
Preston (HMP & YOI)
https://www.gov.uk/guidance/preston-prison

PRI
Parc (HMP & YOI)
https://www.gov.uk/guidance/parc-prison-and-yoi

PVI
Pentonville (HMP & YOI)
https://www.gov.uk/guidance/pentonville-prison

PYI
Parc (HMYOI)
https://www.gov.uk/guidance/parc-prison-and-yoi

RCI
Rochester (HMP & YOI)
https://www.gov.uk/guidance/rochester-prison

RHI
Rye Hill (HMP)
https://www.gov.uk/guidance/rye-hill-prison

RNI
Ranby (HMP)
https://www.gov.uk/guidance/ranby-prison

RSI
Risley (HMP)
https://www.gov.uk/guidance/risley-prison

SDI
Send (HMP)
https://www.gov.uk/guidance/send-prison

SFI
Stafford (HMP)
https://www.gov.uk/guidance/stafford-prison

SHI
Stoke Heath (HMP & YOI)
https://www.gov.uk/guidance/stoke-heath-prison

SKI
Stocken (HMP)
https://www.gov.uk/guidance/stocken-prison

SLI
Swaleside (HMP)
https://www.gov.uk/guidance/swaleside-prison

SNI
Swinfen Hall (HMP & YOI)
https://www.gov.uk/guidance/swinfen-hall-prison

SPI
Spring Hill (HMP)
https://www.gov.uk/guidance/spring-hill-prison

STI
Styal (HMP & YOI)
https://www.gov.uk/guidance/styal-prison

SUI
Sudbury (HMP & YOI)
https://www.gov.uk/guidance/sudbury-prison

SWI
Swansea (HMP & YOI)
https://www.gov.uk/guidance/swansea-prison

TCI
Thorn Cross (HMP & YOI)
https://www.gov.uk/guidance/thorn-cross-prison

TSI
Thameside (HMP & YOI)
https://www.gov.uk/guidance/thameside-prison

UKI
Usk (HMP)
https://www.gov.uk/guidance/usk-prison

UPI
Prescoed (HMP & YOI)
https://www.gov.uk/guidance/prescoed-prison

VEI
The Verne (HMP)
https://www.gov.uk/guidance/the-verne-prison

WCI
Winchester (HMP & YOI)
https://www.gov.uk/guidance/winchester-prison

WDI
Wakefield (HMP)
https://www.gov.uk/guidance/wakefield-prison

WEI
Wealstun (HMP)
https://www.gov.uk/guidance/wealstun-prison

WHI
Woodhill (HMP & YOI)
https://www.gov.uk/guidance/woodhill-prison

WII
Warren Hill (HMP & YOI)
https://www.gov.uk/guidance/warren-hill-prison

WLI
Wayland (HMP)
https://www.gov.uk/guidance/wayland-prison

WMI
Wymott (HMP & YOI)
https://www.gov.uk/guidance/wymott-prison

WNI
Werrington (HMYOI)
https://www.gov.uk/guidance/werrington-yoi

WRI
Whitemoor (HMP)
https://www.gov.uk/guidance/whitemoor-prison

WSI
Wormwood Scrubs (HMP & YOI)
https://www.gov.uk/guidance/wormwood-scrubs-prison

WTI
Whatton (HMP)
https://www.gov.uk/guidance/whatton-prison

WWI
Wandsworth (HMP & YOI)
https://www.gov.uk/guidance/wandsworth-prison

WYI
Wetherby (HMYOI)
https://www.gov.uk/guidance/wetherby-yoi

This is now included in prison-contact-details-resource endpoint


--entryPoint is broken for .d.ts files

Hello!
I am trying to use typedoc to generate documentation for .d.ts declaration file. I specify this file as an entry point via --entryPoint '\"api.d\"' like I found in this discussion.
I am getting this error:
Warning: The entry point `"api.d"` could not be found.
and --entryPoint option is ignored.
I've researched the sources and it looks like that .d suffix gets omitted here:
https://github.com/TypeStrong/typedoc/blob/master/src/lib/models/reflections/abstract.ts#L511
Are there any fixes for my issue?

Did you try with --includeDeclarations? I've managed to get it working once before, while using this flag.

I managed to get it working by passing an entryPoint as array:
const app = new td.Application({
  // ...
  theme: 'default',
  includeDeclarations: true,
  entryPoint: ['babylon.d.ts']
});
app.generateDocs(['babylon.d.ts'], config.target);

I think I managed to get it working use "--mode file" instead of --entryPoint


The host cannot be found.

The host http://gneditor.murzwin.com/snapshot does not appear to exist anymore.

Yes, I met the same issue. Is there anybody know another avaliable site for installing this plugin?

I finnally got it! Actually, this is a maven project. you can use
git clone https://github.com/chromium/eclipse-gn.git
to download source code. then use
mvn package
to compile and package.
As described in README,, you can find the result located in target directory of  org.chromium.gnsupport.site module.
for example, my clone location is: D:\project\eclipse-gn,
open your eclipse, Help -> Install New Software, click 'Add' button to add a repository.
you can use 'gn' as the repository, it doesn't mater.
but, the location you should fill as 'file:/D:/project/eclipse-gn/org.chromium.gnsupport.site/target/repository/'
click 'OK' button, congratulation, you can see 'GN Meta-Build System Support'
click Next -> Next.... as normal plugin installing progress.


chore: update Expectations

Updated Firefox in https://github.com/puppeteer/puppeteer/pull/11346 but it would be good to figure out the Chrome failures here

Note: There are test that are now passing but even after https://github.com/puppeteer/puppeteer/pull/11346 they are skippped.


Typo of MAP equation

Hi there, your post on MLE vs MAP  helped me a lot in understanding MAP, but I think I found a typo in your MAP equation, that:
The probability of parameter should be factored out after taken logarithm.
See also Wikipedia example here

Hi Yienschwen,
Thanks for the remark.
I think it is already very obvious that $\log ab = \log a + \log b$, so I didn't explicitly write that. Furthermore the current form is already sufficient for the discussion presented in the post.
Cheers,
Agustinus
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On July 19, 2018 3:51 AM, Yienschwen Tchang<EMAIL_ADDRESS>wrote:

Hi there, your post on MLE vs MAP helped me a lot in understanding MAP, but I think I found a typo in your MAP equation, that:
The probability of parameter should be factored out after taken logarithm.
See also Wikipedia example here
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thank you for your kindly reply.


Release new version of shred-derive

shred-derive's dependencies have been updated, but it has not been pushed to crates.io
It could be 0.6.2 to allow a smooth update from the ecosystem, as their is no breaking changes.

Closed by #189


docs(style-props): add boxShadow shorthand

📝 Description
Just added shadow prop to the table showing a list of style props.
💣 Is this a breaking change (Yes/No):
No

Thanks @HDisc!

@allcontributors please add @HDisc for documentation.


issue with dry-cli 0.7

Last week I did a clean install of the vite_rails gem.
Just tried to do one now, and it didn't work.
This was resolved by going into my Gemfile.lock and downgrading dry-cli to version 0.6.

Confirmed! I have the same issue. Stacktrace using Ruby 2.7.1 and Dry CLI 0.7:
bundler: failed to load command: vite (/Users/braidn/src/play/ruby/ror6-explore/.bundle/ruby/2.7.0/bin/vite)
LoadError: cannot load such file -- dry/cli/utils/files
.bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
.bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
.bundle/ruby/2.7.0/gems/vite_ruby-1.2.9/lib/vite_ruby/cli/install.rb:3:in `<top (required)>'
  .bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:26:in `require'
  .bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:26:in `require'
  .bundle/ruby/2.7.0/gems/vite_ruby-1.2.9/lib/vite_ruby/cli.rb:13:in `<class:CLI>'
 .bundle/ruby/2.7.0/gems/vite_ruby-1.2.9/lib/vite_ruby/cli.rb:7:in `<top (required)>'
.bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:26:in `require'
 .bundle/ruby/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:26:in `require'
  .bundle/ruby/2.7.0/gems/vite_ruby-1.2.9/exe/vite:9:in `<top (required)>'
 .bundle/ruby/2.7.0/bin/vite:23:in `load'
 .bundle/ruby/2.7.0/bin/vite:23:in `<top (required)>'


Use unic_langid::LanguageIdentifier for language IDs

This change was proposed by XAMPPRocky in #1040.

Thank you for your PR, and congrats on your first contribution! 🎉


Fails with F: Invalid byte sequence In windows if EOL is not UNIX

Environment
OS: Windows 7 x64 Enterprise
ruby -v
ruby 2.0.0p481 (2014-05-08) [i386-mingw32]
rubocop -v
0.28.0
Problem
In windows, source file must be UTF-8 w/o BOM and EOL must be UNIX.
Otherwise the only offense found will be:
source_fille.rb:1:1: F: Invalid byte sequence in utf-8.

I'm not sure I understand the exact nature of your problem. In any case, fatal errors come directly from parser. //cc @whitequark

Unless you specify a magic encoding comment (# encoding: windows-1251, for example), all text in files, including in comments, must be in UTF-8. This differs from Ruby's behavior somewhat.

Thanks adding the proper encoding comment fixed this for me. I was sure I tired this before. I suppose I must not have spcified the correct encoding charcter set in use.
Thanks


Support prisma migrate reset / prisma db reset on MongoDB

It would be convenient for tests and local development, in concert with db seed.

What would it do exactly?

If we want it to be the equivalent of reset on SQL connectors: drop all data, collections and indexes, recreate the collections and indexes, seed. It can't be really equivalent in the sense that there are no migrations to re-apply on Mongo. So it could be a db reset that would be different from migrate reset. Or a just a truncate/drop command that would be composable with db push and db seed to achieve the same effect.

Added as "Nice to Have". I agree this would be nice, but I could also see us adding this a couple weeks after GA without much trouble.

Do we see this one happening sometime in the next 6 weeks? If not, I'll move it to After GA

Since migrate does not support MongoDB, having migrate reset doesn't sound like an option.
A db reset or db drop command could make sense, but these don't exist for any connector.

any plans to implement it?


Sign taproot input

related to #250
with the introduction of Template based accounts, Marina should be able to sign a taproot input.
Key path
sign with schnorr, this is pretty similar of witness v0.
Script path
script path defines: spend a taproot coin via the leaf L
two cases:

either Marina has all the information needed to create the witness stack from script(L): it means that script(L) only requires marina privkeys.
or Marina need an extra array of data I.

(1) the web dev could for instance specify the leaf (mapped with input index) in signTransaction.
(2) in that case, maybe better to let the user sign the pset and build the custom I. Note that we could add another marina.getLeafInfo(L) returning the path, the script and the taproot internal key (all the data needed to fill a script path witness stack).

Note that we could add another marina.getLeafInfo(L)

Uhm what would be the need for this? can't we add the path, scritp and internal key for the user to the input witness before making the signature?

Note that we could add another marina.getLeafInfo(L)

Uhm what would be the need for this? can't we add the path, scritp and internal key for the user to the input witness before making the signature?

The user (webdev) could make the job but he needs the whole tree and key (then he uses bip341 functions on them to compute taproot witnesses). If marina provides a way to compute this, user could only care about the script's leaf. But maybe it's ok for the user to craft all the witness stack, anyway he will need to compute the script's input stack.


R*tree indexes

Hi—do you know if sql.js-httpvfs will work efficiently (or at all) on Sqlite's optional R*tree index type?

I don't know how r*tree indexes are structured internally so I can't say specifically how efficient they would be. In general though, since optimizing disk accesses which is done for normal application helps with this library as well, it should work pretty well.
To make it work at all, sqlite probably needs to be recompiled with the SQLITE_ENABLE_RTREE flag.

Thanks! I'll give it a go.

@ronancremin I know it's been 3 years but did you give it a try by any chance? 😄


Reported incompatibility with GNU Octave

The GNU Octave is a cross platform project built to use the default OS terminal. Currently we would love to be able to identify if that is the new Windows Terminal.  There is some incompatibility between conhost and the new Windows Terminal that is causing strange artifacts and program crashes for users of the new Windows Terminal that became very apparent when win11 made it the default. Octave is primarily developed on linux and crossbuilt for windows users, and we have few windows developers working that part of the program.
For now we wanted to create a script to try to identify if Octave was started in the Windows Terminal to prompt the user to switch, but so far have just settled on checking if the the registry key was set for having Windows Console Host be system default, and prompt the Windows users to switch the system default to that if it's not. Yes, it is a rather poor workaround. but it's effective. Until we have the developer resources to better troubleshoot the conhost / windows terminal incompatibility (or finish developing a separate, cross-platform compatible terminal widget to bundle with Octave), that change solves the problem for the users. But it does come with some false positives for the prompt because it gets set off when the windows setting is "let windows decide" even if that wouldn't use the new terminal, causing some other user confusion.   So, it would at least be cleaner if at startup we could positively identify the Windows terminal.
Originally posted by @NRJank in https://github.com/microsoft/terminal/issues/7434#issuecomment-2050836000

This as well - thanks for the comment! I hate for us to be incompatible with anything unless we've decreed it so (and mostly that's just "we decree it so when we think 35-year-old Windows-specific apps have had it too good")

hah, understood, and thanks again.  had looked at creating an issue when we had a better idea of what to report was the issue, but useful troubleshooting has been limited to date.  If i can find some useful snippets of that I'll link and/or summarize. I think at the moment that it's related to different terminal buffer behavior, which I have read is a known issue between old and new terminals.

I have been using Octave as a WT profile for a few weeks and I have had no problems.  Are particular incompatibilities noted anywhere?

Out of the links above, this one seems to have the most information: https://octave.discourse.group/t/octave-crashing-with-weird-characters-and-not-loading/4951

Thanks!  What's shown there is bizarre.  As I said I have had no problems.  I have sen no evidence that Octave uses VT control sequences (but coming from UNIX, it might).

apologies for letting this sit, seems i didn't catch the later comment notifications.
a small amount of debugging was done and described in this Octave developer comment/thread
Summary description:

The garbled output in the command window probably happens because escape sequence processing gets turned on even when we don’t want it and the scrolling problem happens because the new console doesn’t respect the buffer size that we want to set.
Whether it was reasonable for us to expect the previous behavior or we were just “lucky” that it worked for us, I don’t know (see comment #45 for some more about that).

coming back to this again, didn't notice the mention in the other thread.  I see this comment over there:

Yea... that thread doesn't really have anything valuable in it. https://octave.discourse.group/t/cli-is-open-together-with-gui-in-octave-7-1-on-windows-11/2753/14 has some additional info, but it sounds kinda like they just don't have the support to deal with this case.
Reading between the lines, I'm guessing they were using ShowWindow(GetConsoleWindow(), SW_HIDE) to hide a console they were spawning, instead of just requesting a hidden one to begin with.
I'd much rather help them sort that out on their side, than offer a bodgy opt-out on our side ☺
-- zadjii-msft

Didn't want to lose that nugget above as we've periodically come back to this.  the first suggestion of insufficient win gui devs to deal with WT changes to things that worked under conhost is correct. whether they were 'supposed to work' is another issue.  as we're still considering bundling another terminal widget to sidestep the problem, i'd personally prefer the 'sorting it on on our side' approach

this did trigger a bit more digging,

two issues - we do use ShowWindow(GetConsoleWindow(), SW_HIDE), and it does prevent the old windows console from appearing (removing it makes it reappear), but removing that and attempting other ways of suppressing the duplicate Windows Terminal were unsuccessful.  Would be curious what 'just requesting a hidden one to begin with' is. several rounds of playing around with something like https://stackoverflow.com/a/780512, made no difference in the visibility of that terminal.

there is still the second, and more pressing issue for us which is that whether or not the window is suppressed, we lose ability to scroll back through the screen buffer, and attempting to do so causing either 'odd' behavior or garbled screen data, for example: https://octave.discourse.group/t/octave-crashing-with-weird-characters-and-not-loading/4951
there appears to be some change to how we were accessing the screen buffer with conhost, and what works now, and that's not clear.


version bump to 0.0.64

r? @ned14
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @dirvine


chore(docs): create architecture page

SUMMARY

Adds an "architecture" page summarizing the components of a Superset installation.  A visual diagram should eventually go here too.  Please feel free to edit/add/cut.
Reorders other installation pages to follow this one
Copyediting of Configuring Superset page

This is ready for review.

hey! - I'm hoping it doesn't come across as a hostile takeover of this PR, but I threw your pages into GPT and added some comments/input in the form of bullet, and this is what came out:
Architecture
This documentation outlines the architecture of Apache Superset, with a primary focus on the backend components before introducing the frontend. This organization provides a thorough understanding of how Superset operates from data handling to user interface.
Superset Backend
The backend of Superset is composed of several critical components designed to manage data, execute tasks, and maintain the overall functionality of the system.
Core Backend Components
Web Application [Python/Flask]:

Description: Serves static assets and handles API requests from the Superset frontend.
Role: Acts as the primary communication hub for frontend interactions and immediate query processing.

Metadata Database [Required]:

Description: Stores all of Superset’s essential assets such as dashboards, charts, user configurations, and logs.
Supported Technologies: PostgreSQL or MySQL (recommended), other SQLAlchemy-supported OLTP databases

Optional Backend Components
Asynchronous Workers [Pytjhon/Celery]:

Description: Manages tasks that are too long or intense for a typical web request cycle.
Enabled Features:

Asynchronous query executions in SQL Lab.
Scheduled generation of alerts and reports.
Creation of dashboard thumbnails.

Dependencies: Requires a message queue (e.g., Redis, RabbitMQ).

Caching Layer:

Description: Enhances performance by caching query results and frequently accessed data.
Technologies: Primarily Redis, with support for other caching systems.
Enabled Features:

Accelerated access to repeated queries.
Improved responsiveness of the application.

Logging Interfaces

Standard Output and Error Logs: Essential for debugging and monitoring application health.
StatsD/Metrics Collection: Enables real-time aggregation of performance metrics.
Analytics Logging: Rich structured logs that provides insights into user behaviors and application usage patterns. Typically sent to a stream to land into a data warehouse

Other Common Infrastructure components:

Load Balancers/API Gateway: Distributes incoming traffic across multiple servers to enhance availability and manage traffic peaks.
Observability/Alerting: Provides monitoring, error tracking, and real-time alerts to maintain performance and uptime.
WSGI Server (e.g., Gunicorn in async mode):
Database Drivers: Enables communication between Superset and its databases, crucial for operational data querying and management.
Orchestration (e.g., Kubernetes): Automates deployment, scaling, and management of containerized applications, ensuring robust service availability.
Additional Security Measures: Implements network security, data encryption, and access controls to safeguard data and comply with regulations.

Superset Frontend
The frontend of Superset is a sophisticated web client built using modern web technologies to facilitate interactive data visualization.
Core Technologies:

React: Forms the foundation of the frontend, offering a responsive and dynamic user interface.
antd: Utilized for designing the visual components and layout of the UI, providing a consistent and professional aesthetic.
Plugin Architecture: Allows for the extension of visualization capabilities through custom plugins, enhancing the flexibility and functionality of visual data representation.

Functionality:

Communicates with the backend via the Superset API, enabling users to manage and visualize data efficiently.
Supports extensive customization and extension through community-developed plugins and themes.

Github needs the "face melt" emoji as a reaction.
Is it possible to "land and expand" here? My trust issues with GPT aside (did it really say "Pytjhon?") I wonder if we can merge a first iteration, then divide/expand/remove/elaborate as needed from there, rather than go deep here. We can feed it to GPT as we go for consolidation/clarification/organization.

I did a fair amount of prompt-inputs and edits to get to that, but main thing is the structure of the docs (backend/frontend) and mentioning technologies used (and technology choices) in different areas

From here, we can update the installation page to provide a little table (or similar) about how (or if) each installation method installs these components.


Locking to mainline smoltcp

That has a different behavior than the previous code. The loop count should be increased or better be infinitely draining as before with the watchdog inside the loop.

That has a different behavior than the previous code. The loop count should be increased or better be infinitely draining as before with the watchdog inside the loop.

It's a different behavior, but intentionally different. With the code as-is, running python -m miniconf -b <IP_ADDRESS> -d dt/sinara/booster/+ ? successfully lists all topics and their values.
I attempted the following diff:
diff --git a/src/main.rs b/src/main.rs
index cfbc4b1..65f8d00 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -266,11 +266,6 @@ mod app {
     #[idle(shared=[main_bus, net_devices, watchdog, settings, usb_terminal])]
     fn idle(mut c: idle::Context) -> ! {
         loop {
-            // Check in with the watchdog.
-            c.shared
-                .watchdog
-                .lock(|watchdog| watchdog.check_in(WatchdogClient::Idle));
-
             // Handle the Miniconf settings interface.
             match (&mut c.shared.net_devices, &mut c.shared.settings)
                 .lock(|net, settings| net.settings_client.update(&mut settings.booster))
@@ -318,7 +313,11 @@ mod app {
                 .unwrap();

             // Handle the network stack processing if needed.
-            c.shared.net_devices.lock(|net| net.process());
+            while c.shared.net_devices.lock(|net| net.process()) {
+                c.shared
+                    .watchdog
+                    .lock(|watchdog| watchdog.check_in(WatchdogClient::Idle));
+            }
         }
     }
 }

However, attempting a list with this code results in a hanging miniconf command.
This makes sense, as the single poll behavior ensures that we periodically process the MQTT TCP socket. With the while interface.poll() {}, the poll loop becomes infinite and we never process the TCP socket.

Ack!


Deploy broker into Istio core and add integration tests

@xiaolanz commented on Tue Oct 03 2017

Is this still the plan?

broker work is paused but we may restart anytime.

Let"s close this then, it may not be relevant later.


found a issue wht pywallett import messagebox

it works now when changed it to from tkinter import messagebox

Oh, thanks a lot mate!

anytime :)
On Fri, Aug 11, 2017 at 2:27 AM, Bishop主教<EMAIL_ADDRESS>wrote:

Oh, thanks a lot mate!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/georgezafiris/python-lab/issues/1#issuecomment-321767648,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APvZHsimcQ-6EW44gNEmQtw1SYFcjyOZks5sXB6EgaJpZM4O0NoA
.

let me know if need to test anything other than that
everything looks good.
On Tue, Aug 15, 2017 at 12:06 AM, Bishop主教<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/georgezafiris/python-lab/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/georgezafiris/python-lab/issues/1#event-1206007433,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APvZHiMst90KaCZoHatv-yli0JsskiGRks5sYUNogaJpZM4O0NoA
.


Define tasks implicitly

Hey, got similar idea and the name 😂 Great that you started working on it. I had a slightly different thing in mind. Say you install it system-wide and don't require importing anything. Could be an alternative way to use your tool. One just needs to find a way to distinguish functions defined in Pykefile from potentially imported ones. Maybe naming convention could help, e.g. task_... and/or ..._task. Or would it be too implicit?

@andreif Thanks for your interest in the project, though I'll admit I forgot about it for a long time :3
Your idea is definitely plausible, and would make the end-user experience much nicer, since having Python functions end in _task is a nice organizational convention.
The problem then is how to provide utilities like pyke.export or pyke.shell. I guess I could drop those? Seems more trouble than it's worth to remove the import, but I'll take some time to re-visit the project when I'm less busy, thanks!


MM-46246 : Move "License SKUs" type from MM-redux

Summary

Ticket Link
https://mattermost.atlassian.net/browse/MM-46246
Related Pull Requests
N/A
Screenshots
N/A
Release Note

NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

hi @M-ZubairAhmed could you please add a summary to this PR or more information to the JIRA ticket so I can get more context around this change? Thanks!


Current versions for OpenAI gym and other packages -- PongNoFrameskip-v4 is not found in current gym, atari-py

Hello Folks.
I was just wondering how to adapt the repo code to the current versions of gym and atari-py. It seems that a lot of the classic
RL control environments were migrated to the ALE packages and some other things. I tried to use the PongNoFrameskip-v4 environment, but I kept getting an error message about the environment not being registered or indexed--even though I did install the ROMs before, etc. I was testing out the new Pong-v5 or something environment to see if that will work instead, but still just trying to get it to work.
Any suggestions would be appreciated. Of course trying to keep up with all of the versions is a full time job, right. But it seems like so many of the other tutorials out there are based upon the older version of OpenAI as well, so no luck finding other implementations to emulate.
Thanks.

Hi I am facing the same issue. Did you manage to find some solution?

@dayemsiddiqui Yeah, I believe that this environment has been moved to a new package called ale-py. I have not tried it myself, as I was using the Pong-v5 or something version from gym. But someone told me that these legacy environments were moved to the new package. I know the documentation was not really updated anywhere.


zoomCtrl's broken

The zoomCtrl's (the icons) are broken in a30ea8c.  Mouse wheel zoom continues to work. The icons will work if the zoom is "started" with the mouse wheel and the +/- icons are clicked during the zoom inertia.

This appeared to have broken between 715866b (good) and 3e99ecb (bad).


Use google_rlkit_translation, the Android package size has increased by 30MB

Hi, When using google_rlkit_translation plugin for Android engineering and Flutter build apk, I found that the package size increased by about 30MB. Is there any optimization plan?
flutter doctor
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.13.2, on Microsoft Windows [版本 10.0.22631.3880], locale zh-CN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[X] Visual Studio - develop Windows apps
X Visual Studio not installed; this is necessary to develop Windows apps.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2022.2)
[√] Android Studio (version 2023.2)
[√] Connected device (4 available)
[√] Network resources
! Doctor found issues in 1 category.

Look at this:
https://developers.google.com/ml-kit/tips/reduce-app-size
And some similar issues: https://github.com/flutter-ml/google_ml_kit_flutter/labels/App size

Look at this: https://developers.google.com/ml-kit/tips/reduce-app-size
And some similar issues:  App size Issues related to increased app size by models

There is no precise expression on this link(https://developers.google.com/ml-kit/tips/reduce-app-size). The integration of google_mlkit_translation plugin into the project has already increased the project by 30MB, not to mention other google_mlkit_xxxx plugins. If we want to remove unnecessary language models, how should we remove them? Do you have any specific documents?


Raidboss addon and timeline only work once

When doing the innocence ex trial, the timeline and triggers only work on the first pull. After that they do not start up again after a wipe unless i restart ACT

Hmm! Do you have a Network_date.log file to post here so that I can look?  Does this happen on any other fight?
(Has anybody else seen this?)

how would i get that for you?

so it appears, i use in game macro to end combat and clear the log, clicking that now causes it to stop working. if i never manually end combat or clear raidboss keeps working, this is new as ive always used these actions

Hmm, this is quite strange.  Are there any errors in the plugin log?
Your network log can be found similar to this: https://github.com/quisquous/cactbot/blob/master/docs/LogGuide.md#importing-an-old-fight

Is this still happening?

If this is still happening, please let me know.


rollback logback minor upgrade to latest patch

Description
The dependency upgrade I merged in over the weekend has an issue with the logback minor upgrade. It seems the package is built past jdk8 and fails at runtime when trying to run with jdk8. I don't think a full revert is necessary since validated things look good now just going forward to the latest patch which I think still covers the cve.
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Scheduler
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[X] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[X] I signed an Apache CLA.
[X] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #5380 (44162c0) into master (084c2ad) will decrease coverage by 72.25%.
 Consider uploading reports for the commit c9ad52f to get more accurate results

@@            Coverage Diff             @@
##           master   #5380       +/-   ##
==========================================
- Coverage   76.77%   4.53%   -72.25%
==========================================
  Files         240     240
  Lines       14569   14569
  Branches      647     647
==========================================
- Hits        11185     660    -10525
- Misses       3384   13909    +10525

Impacted Files
Coverage Δ

.../main/scala/org/apache/openwhisk/core/WarmUp.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...ain/scala/org/apache/openwhisk/spi/SpiLoader.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...n/scala/org/apache/openwhisk/utils/JsHelpers.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...scala/org/apache/openwhisk/common/Prometheus.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...scala/org/apache/openwhisk/common/time/Clock.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...scala/org/apache/openwhisk/core/FeatureFlags.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...scala/org/apache/openwhisk/http/CorsSettings.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...ala/org/apache/openwhisk/common/ConfigMXBean.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...la/org/apache/openwhisk/http/BasicRasService.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/org/apache/openwhisk/common/ConfigMapValue.scala
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 195 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Tab dark when on bookmarks page

Bug Report Dump (Auto-generated)

Version 1.16.0<PHONE_NUMBER>)
Device: iPhone 6s Plus (iOS 11.2)
TestFlight: true

Wat, this is weird. Doesn’t happen on my X. Persist after a restart?
Sent with GitHawk

On hard restart it does go, but soon comes back when you start navigating to repos etc from the bookmarks page
Rushed report, but the screenshot was taken on a repo issues page navigated from bookmarks

Wonder if it’s an 11.2 regression? I’ll update stuff and check. If you get a SEV to manually debug, or can use FLEX to inspect the view hierarchy, that’d be handy.
Sent with GitHawk

@rnystrom If I bounce the overview tab horizontally then the background is a dark grey (so behind the overview VC, likely the TabBarVC background)

Closing since this doesn't seem to be a thing, no other reports


Breaking change in SpecFlow 3.3.57

Describe the bug
When upgrading SpecFlow to version 3.3.57 the constructor for ScenariInfo is changes from:
public ScenarioInfo(string title, string description, params string[] tags)
to:
public ScenarioInfo(string title, string description, string[] tags, IOrderedDictionary arguments)
This results in a failure to create the
private static readonly ScenarioInfo EmptyScenarioInfo = new ScenarioInfo(string.Empty, string.Empty);
in Allure.NUnit/AllureSpecFlow/PluginHelper.cs
To Reproduce
Run any scenario with this package combination:
    <PackageReference Include="Noksa.NUnit.Allure" Version="3.1.0" />
    <PackageReference Include="Noksa.NUnit.SpecFlow3" Version="1.1.5" />
    <PackageReference Include="NUnit" Version="3.12.0" />
    <PackageReference Include="NUnit3TestAdapter" Version="3.17.0">
    <PackageReference Include="SpecFlow" Version="3.3.57" />
    <PackageReference Include="SpecFlow.Tools.MsBuild.Generation" Version="3.3.57" />
    <PackageReference Include="SpecFlow.NUnit" Version="3.3.57" />

You can find new packages on the nuget.org


[RFC]: Time Series Generation Module

Description
This RFC proposes the addition of a Time Series Generation module to @stdlib/time module. This module will facilitate the creation of sequences of dates or timestamps based on various patterns or intervals, catering to the needs of applications requiring regularly spaced time data.
The Time Series Generation module will offer flexibility in defining intervals, allowing users to specify common patterns such as daily, weekly, monthly, quarterly, or yearly intervals. Additionally, users will have the option to define custom intervals with arbitrary durations to suit specific requirements.
Key features of the Time Series Generation module include support for specifying start and end dates for the time series, handling of leap years.
This module aims to provide a convenient and efficient solution for generating time series data, enabling users to perform tasks such as financial analysis, data visualization, and scheduling with ease and accuracy.
Example for how this function can be called
const { generateTimeSeries } = require('@stdlib/time');

const startDate = new Date('2024-01-01');
const endDate = new Date('2024-12-31');

const customSeries = generateTimeSeries({
    interval: {
        unit: 'month',
        value: 3 // every 3 months
    },
    start: startDate,
    end: endDate,
format: 'YYYY-MM-DD'
});

console.log(customSeries);
/*
[
    '2024-01-01',
    '2024-04-01',
    '2024-07-01',
    '2024-10-01'
]
*/

If this feature request gets the green light, I'd be happy trying implementing it.
Related Issues
N/A
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

For reference, while this RFC proposes a more configurable API, I'll note that we already have @stdlib/array/datespace.
I don't think the format option is particularly desirable. However, the ability to specify an increment is desirable. In which case, personally, I can possibly see an argument to add @stdlib/array/incrdatespace (similar to @stdlib/array/incrspace. However, one could also use incrspace already for this purpose; it just wouldn't be as convenient as returning Date objects directly.


Automatically refresh the page every minute

I don't know about this. If I'm currently tracking all the failures of a given run, I would hate if it was refreshed and I lost the link to the failure I wanted to investigate if it got green again.
I'm something like -0 on this :).

Well, if it's green you don't need to investigate anymore :) But I get your point. Closing it

Well, if it's green you don't need to investigate anymore :)

That's not exactly true :).
We can revisit later if we think it's more practical.


Extending the runtime error raising framework to all actors

I have changed the AmberException to WorkflowRuntimeException which takes WorkflowRuntimeError as a parameter. Whenever a piece of code ends up in an error, it raises a WorkflowRuntimeException. If the error is raised in an actor other than controller, it send a message to the controller with the WorkflowRuntimeError. When Controller sees such an error either originating within itself, or received through message, it calls eventListener's lambda to send the message to the UI through the socket.

@avinash0161 overall this PR is very good, as it integrated the error handling system into the principal, worker, and many other places. I left some high level comments regarding error handling and logging.

Took care of your comments. Added a log() function that takes in a lambda. Haven't taken care of stopping the entire workflow in this PR. But I think it should be an easy addition to the lambda that gets passed


[CWS] allocate net ns path from pid lazily (only if actually required)

What does this PR do?
In a lot of cases (if network is disabled, if netns is 0) we end up allocating a utils.NetNSPath that will be dropped 3 lines later. This PR moves this allocation into a callback to only happen if actually required.
Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


Unpausing saves the scene on library overwritting its original state T_[Unintended Action] P_[High] F_[Always]

Date of Detection

20/02/2021

Description

When pressing the play button the scene gets saved in the library but if you pause the scene to unpause you are required to press play again which saves the scene again overwritting the original scene. This could be fixed giving the function of play and stop to the Play button and the functions of pause and unpause to the Pause botton which would simplify the UI too.

Reproduction

Press play, move an object, press pause, press play again and press stop. The object wont go back to its original state.

Expected Behaviour

When pressing stop all the scene should go back to the state it was when the play button was pressed for the first time.

Engine Version

0.1

Suggested Assignees

Angel Gonzalez

This issue has been fixed


Generate Report of Unnecessary Layout Attributes in Component Tree Dev Tool

I really like the new component tree dev tool. After using it to check some components I wrote six months ago and updating them, I thought of a cool feature: generating something like a report of all the unnecessary layout attributes.
For example:
class MyComponent(rio.Component):
    text: str = "Hello, world!"

    def build(self) -> rio.Component:
        return rio.Card(
            rio.Text(
                text=self.bind().text,
                width="grow", # <- useless in my example
                height="grow", # <- useless in my example
            ),
        )

The dev tool already identifies unnecessary attributes, so it would be great if it could generate a "report" to save us from having to click through all the components. Ideally, your IDE would highlight these unnecessary attributes, but we can discuss that in a later stage. 😄
As already discussed:

Attributes might be useless now but could become useful on different screen sizes.
Alternatively, they might be needed if the siblings of a component change.

Can we close this issue? As mentioned in the original message, detecting this correctly is basically impossible, and would likely lead to more confusion than anything else. The dev-tools now also contain a plain English explanation of the layout and already point out several pointless attributes.


Build error on 0.5.3: Use of unresolved identifier 'FIRAuthUI'

Objective C or Swift: Swift
iOS version: 9.3.5
Firebase SDK version: 3.4.0
FirebaseUI version: 0.5.3
CocoaPods Version: 1.1.0-rc1
Xcode version: 8.0 GM

Step 3: Describe the problem:
I had some login code that would build in 0.5.2, but failed at runtime because defaultAuthUI() would always return nil. Now 0.5.3 won't build with a "Use of unresolved identifier 'FIRAuthUI'" error on the following function in AppDelegate.
Steps to reproduce:

Try to compile code in Swift that uses FIRAuthUI. The code in my app is basically identical to the example project, and in fact, you can reproduce this error by trying to build the samples in this repo.

Observed Results:

A build error on any line that attempts to use FIRAuthUI:

/Users/David/Documents/code/FirebaseUI-iOS/samples/swift/uidemo/AppDelegate.swift:35:8: Use of unresolved identifier 'FIRAuthUI'
Expected Results:

I expected the code to build successfully. The same code will build when version 0.5.2 is used.

Relevant Code:
In the sample project in this repo:
https://github.com/firebase/FirebaseUI-iOS/blob/0c9dfffe7ec7d1c168370e83afaaf504080c43c9/samples/swift/uidemo/AppDelegate.swift#L35
As in my code:
AppDelegate.swift
...
import Firebase
import FirebaseAuthUI
...
func application(app: UIApplication, openURL url: NSURL, options: [String: AnyObject]) -> Bool {
let sourceApplication = options[UIApplicationOpenURLOptionsSourceApplicationKey] as! String
if FIRAuthUI.defaultAuthUI()?.handleOpenURL(url, sourceApplication: sourceApplication ?? "") ?? false {
return true
}
// Any other URL handling here
return false
}

This is a consequence of #119. I haven't found a workaround other than repeatedly clean and rebuild until it compiles.
Fortunately this seems to be solved in the latest release that hasn't shipped yet, though I'm not sure which change fixed it.

About how many cycles does it take you before it builds? I've gone around and around a few times and there's never any change. I've also been removing the derived data folder and restarting Xcode, to no avail.

Anywhere between 0 and a lot :D it's fixed in #126, so hold tight while I go merge this thing

Fixed in 0.5.4.


build: tweak the Windows build to build against the internal swift-syntax

Use the internal copy of swift-syntax that the compiler uses for macros to build the LSP. By sharing the swift-syntax build, we shave ~6MiB off the LSP binary. Additionally, we avoid building swift-syntax twice as a single copy is now used.

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/257
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/257
@swift-ci please build toolchain Windows platform

Please test with following PRs:
https://github.com/apple/swift-installer-scripts/pull/257
@swift-ci please test


Emp3 web#234 excessive flickering shapes when dragging control points

Throttling time from 50 to 200 ms.

Related to issue #234. Closing this issue.


Fragment incorrect attached

Fragment incorrect attached. All code i took from sample, but i don't now, where this bug can be.
Screenshot:

Sorry, for my english

can you please send your fragment ?
it contains RecylcerView or ObservableScrollview ?
Did you try with my sample ?


Can not get novels from dummynovels.com

Hi! Seems like dummynovels change something on their site? I can't get novels from there anymore. It looks like this

By the way, I'm using termux 😁

I'll look into it asap

now you'll just need to update novelsave
pip install git+https://github.com/mHaisham/novelsave.git --no-deps --force


can't open downloaded file

I'm trying to download a file in my flutter app using the Dio plugin.
The downloaded file appears in the download folder on my phone but I can't open it.
it doesn't have a mime type.
[how the downloaded file looks in the download folder]
https://i.stack.imgur.com/JRhmR.png
Can anyone help?

How are you downloading the file? Have you tried saving the file with an extension?

@jgoyvaerts what do you mean saving with an extesion?
do you mean:
"$fileName.$fileType" ?

Right now you are saving the file on your phone without an extension, which is probably why your phone can't open it. If it's a picture, you should save it as .jpg or .png. But if you provide some code how you are downloading the file it's easier to help you

The code:
void downloadDio(Uri uri) async {     String path = (await DownloadsPathProvider.downloadsDirectory)!.path +         '/test_${DateTime.now().microsecondsSinceEpoch}';     File saveFile = File(path);     Dio()         .downloadUri(uri, saveFile.path)         .whenComplete(() => print('download done'));   }

@jgoyvaerts when I did that and tried opening the file I got a toast "cannot display pdf (invalid format)".
I tested the URL on the web and the download was successful with the correct file.

Are you sure it's a pdf you're downloading? Maybe you should post this on stackoverflow.com, this isn't really a Dio issue


feat: count all clubs in a single query

This pull request allows to query all clubs mint data since a specified timestamp in a single request. It performs a single database call.

up @0xBenaparte


Scroll is move when copy using CMD(Ctrl) + C (Wysiwyg)

Version
v1.4.0
Test Environment
Chrome
Current Behavior

Insert long text when appear scroll
Select all text
CMD(Ctrl) + C

The scroll is moved to top and if again press CMD + C, the scroll is moved to bottom.
Expected Behavior

The scroll should be not moved.

actually, any key press will move the beginning of the selection into view. which is majorly annoying if you press and hold Shift  to repeatedly press the down button to mark stuff and you leave the visible area.

when just returning from this function, it works as expected. I actually use the editor in wysiwyg-mode only, so I don't know if it causes problems in any other mode. I assume some parts of the logic here are flawed, but I'm too tired right now.
https://github.com/nhn/tui.editor/blob/929dc94510a54c2a23cd524ecec7e63738c6a781/apps/editor/src/js/wysiwygEditor.js#L1033


How to use a light theme for Syntax highlighting?

I am finding a way to set a light theme for syntax highlighting. How to use a light theme for Syntax highlighting ?

Hi,
It uses base16, you can modify the base to put a light theme in the syntax.css file.
You can have a list of theme in Chriskempson/base16 repository ;)


Feature/ferro

VVS-FER
Vault: 0xfF333D0A4C1CDC5E2d9f8a2B2c73d0BA9368224a
Strategy: 0x6aE5a9e44412B3c12118e8680958ADf315b9f5dA
Want: 0x72eFd454bBFEca458e909B99FAACBC116880b54D
poolId: 36

@pumpingGhost the format of the vaults JSON has changed, could you please review the errors on the validation and correct?

@pumpingGhost the format of the vaults JSON has changed, could you please review the errors on the validation and correct?

I just noticed as I pulled^^


removed unused use statement

Current coverage is 100.00%

Merging #2 into master will not affect coverage as of 4508b77

@@            master      #2   diff @@
======================================
  Files            1       1
  Stmts           16      16
  Branches         0       0
  Methods          5       5
======================================
  Hit             16      16
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 4508b77

Powered by Codecov. Updated on successful CI builds.


Clarify plugins used in screenshots

Some users may assume that syntax highlighting will be enabled with the theme (command colouring)  - at least I got asked once.
So it may be useful to add a note explaining which plugins are used.
AFAIK there is only zsh-users/zsh-syntax-highlighting plugin installed in the screenshots.
Edit: Other thing to add would be the terminal and rupa/z plugin.

Adding a question to the FAQ works, right?

Yeah, that will work.
DC*
Sent from mobile.

### My shell looks different to the screenshots. What is missing?

You may need `rupa/z` and `zsh-users/zsh-syntax-highlighting` plugins installed.

Oh boy, I forgot about this. I'll updated when I get to my computer, which is probably tomorrow.


Code becomes sluggish when upgrading from v0.14.2 to v0.15.0

I started experiencing a problem with VS Code and I think I've managed to track down the offending extension.
VS Code started becoming really slow and sluggish, everything just took a really long time to complete. After opening VS Code and switching to the Code for IBM i extension it took several minutes for my list of connections to appear. If I then clicked on a connection it took many minutes for the connection to complete and sometimes it failed with a timeout error.
I then tried working through my installed extensions and disabled them one by one to see if the problem would go away, it went away when I disabled the vscode-rpgle extension. Up until recently this had been working fine so I tried installing an older version of the extension and eventually found that it was v0.15.0 that was causing my problem. If I install v0.14.2 then it works fine.
Looking at the changes in v0.15.0 they seem to be related to local development and I'm pretty sure I don't have local development settings configured.
The only extensions I have installed are the IBM i development pack extensions.
I am running on a Linux desktop. I have other Linux desktops that work just fine with the latest version of the vscode-rpgle extension.
My next steps will be to reinstall VS Code to see if that resolves the issue but before doing so I thought I'd log the issue in case it would helpful to capture any settings that might help isolate the problem.

@richardm90 let me look into this today and tomorrow and see if I can find something meaningful for it.

@richardm90 Of course, it is related to 'project mode'. Do you have a local workspace open (e.g. a folder open in VS Code?) when working with source members?

@worksofliam yes, I do have a local folder open

@worksofliam I'm not sure that's the full answer though as I tried the same on another desktop (with an open local folder) and it works OK.

@richardm90 was the other desktop also Linux or a different OS?

@worksofliam both are linux

@worksofliam if it helps to jump on a screen share then let me know

@richardm90 send me an email at<EMAIL_ADDRESS>and we will organise the meeting for later this week.
I'm out of office at a conference until Wednesday.

@worksofliam that email address bounced.

Sorry<EMAIL_ADDRESS>

@worksofliam still bounced, this is the message I get
Address not found
Your message wasn't delivered to<EMAIL_ADDRESS>because the domain whoiworkfor.com couldn't be found. Check for typos or unnecessary spaces and try again.

Sent you a DM on LinkedIn 😄

Sorry, I was being really dim there!


Investigate: City States new to Maya/Columbia show non-English text

Investigate whether this is an issue with CQUI or with the game itself:
https://user-images.githubusercontent.com/8787640/83595543-23b33780-a517-11ea-9e86-c67dc84a0516.png
This appears to affect only the new city states that were added with the Maya/Columbia pack.  Does not appear to occur with the existing city states; unsure if it happens with the renamed city-states (like whatever Palenque got renamed to).

I don't recall anything "Sioux" in the vanilla game. It looks like a mod.

Hmm... perhaps.  I did see it with a few other City States though, all of them the newer ones.   Good call, though, will check that out.

I haven't seen this one in a bit.  Likely another mod conflicting.  Closing.


documentation graphql improvment

@krtk6160 : generator graphql to html
@sandipndev  + @sebastienverreault : tutorial/get started with the api: https://github.com/GaloyMoney/galoy/tree/main/src/graphql/main/docs

this has been done


Move CLI generation to slicer_cli_web

Current coverage is 55.23% (diff: 21.73%)

Merging #217 into master will decrease coverage by 2.66%

@@             master       #217   diff @@
==========================================
  Files            17          8     -9
  Lines           703        344   -359
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            407        190   -217
+ Misses          296        154   -142
  Partials          0          0

Powered by Codecov. Last update 6ba0e2c...f323b1b

I suppose I should add some tests for the main body view to get the coverage back up.

@manthey Can you please QA this?

LGTM.


Action Value documentation

We need to be more explicit on the nature of action and action_on_object definitions

The need to maintain action value integrity
The risks associated with action value life cycles

What happens if I rename an action?
What happens if I reorder action values?

Resolved by #26


[VL] Add config for show velox task metrics when finished

What changes were proposed in this pull request?
Add config spark.gluten.sql.columnar.backend.velox.showTaskMetricsWhenFinished for show velox task metrics when finished, it helps debug task level execution.

Can we use kDebugModeEnabled?

Can we use kDebugModeEnabled?

kDebugModeEnabled still works but it's a coarse-grained config, new config aims to show more details for production job.

cc @ulysses-you @liujiayi771 thank you!


add Uri::scheme_part, deprecate Uri::scheme

Closes #132

Thanks for keeping the file re-org in a separate commit. I will want to merge this PR keeping these two commits.
Could we move the uri tests -> tests/uri.rs instead? That should help speed up compiling a bit when the tests are modified.
Looks good to me though.

Looks like there a usage of ErrorKind in there, which is private. We could move all the other tests... Though, FWIW, being in a separate module should mean things are still quick when using incremental compilation.


KYAN-70: Consistency in choosing an image source in Image, Card, and Navbar item components

Consistency in choosing an image source in Image, Card, and Navbar item components
Motivation and Context
Change the way the author could choose an image to be more intuitive and consistent in all the components
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue) labeled with bug
[x] New feature (non-breaking change which adds functionality) labeled with enhancement
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code standards of this project.
[ ] My change requires updating the documentation. I have updated the documentation accordingly.

tested


How can I exempt a specific route from using compression?

Using this middleware in my starlette app but curious if anyone knows how to exclude a specific route/endpoint from using compression? e.g. for a StreamingResponse that returns a zip file

Hi @hoIIer. Right now it seems not possible but it is something that would definitely be a great feature. I'm looking to add this in the near future, maybe until the end of the month, once I get some free time. It shouldn't be difficult. Let's see what ideas/suggestions pop up from your question in the starlette repo, and we could port them into this middleware. It's okay for you?

Hi @hoIIer , would you like to test PR #21? Thanks

Hi @fullonic , I tested it and it works fine.

Great! Thanks for your feedback @bshakur8 . Next week I will integrate this new feature and release a new version to pypi

Is it ready to be merged right now? In dire need of this feature @fullonic

Hi @SavoX2. I just merged into master but I'm not able to generate a new release until Friday.

Hi @SavoX2 ! Just released version 1.2.0 on pypi which contains this new feature.