The connection to the terminal's pty host process is unresponsive, the terminals may stop working.

Type: Bug
The connection to the terminal's pty host process is unresponsive, the terminals may stop working.
Every single time I start the app. Tried on a different machine, same problem. Fresh install, same problem. Cleared roaming directories, same problem.
I've searched for others reporting this problem and looked at the troubleshooting, from looking at the developer tools, the code isn't allowing enough time for the process to complete before it throws an error.
If this is not fixed soon I will find another app. Really disappointed with VSCode.
VS Code version: Code 1.79.1 (4cb974a7aed77a74c7813bdccd99ee0d04901215, 2023-06-12T16:14:05.102Z)
OS version: Windows_NT x64 10.0.19045
Modes:

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.79.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Same error. Both machines. No special changes to the environment.

/duplicate https://github.com/microsoft/vscode/issues/130320

I spared myself the annoyance by adding the script to the ignore list as shown below via the Developer Tools, examining the code, it's truly not hard to fix and the fact it's still happening is appalling. Poor show.

I spared myself the annoyance by adding the script to the ignore list as shown below via the Developer Tools, examining the code, it's truly not hard to fix and the fact it's still happening is appalling. Poor show.

Please downgrade the version to 1.77.0. I also have this issue on 1.79.2

Please downgrade the version to 1.77.0. I also have this issue on 1.79.2 @exosomal

Noted, thanks. This makes sense as it was likely this problem started a few updates ago.


Add shared e2e.sh script

Seems this script (the basic part to run the tests) is pretty much the
same across projects, hence adding a shared version that acknowledges
cluster_settings to generate the correct test contexts.
Also changed the CI config to run the e2e, and use the proper make
variables.

Had to force push due to conflicts with the master, only thing that was changed was removal of -gonkgo.noColor flag


chore: change readme composer instructions

@Orkuncakilkaya What is that script for? scripts/functional.sh

@Orkuncakilkaya What is that script for? scripts/functional.sh

install.sh
test.sh
functional.sh
Are for development purposes. With these scripts we can just run the command(like run dependency install, unit test, functional tests) without trying to remember how to run unit tests with docker commands. Like an alias.

:tada: This PR is included in version 0.3.0-develop.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


No option to Link clone a container

I would like to clone a container in link mode and not full. I can't find an option to do this with the pulumi-proxmox plugin.

actually is this the case for pulumi-proxmoxve as well:
https://github.com/search?q=repo%3ATelmate%2Fterraform-provider-proxmox container link clone&type=code

full - When cloning, create a full copy of all disks. This is always done when you clone a normal CT. For CT
template it creates a linked clone by default.

this provider is based on https://github.com/bpg/terraform-provider-proxmox. hence, it maps functionality provided by the upstream terraform provider to pulumi.
i suggest opening an issue in the upstream provider and cross-referencing it here.

Here is the reply I received
https://github.com/bpg/terraform-provider-proxmox/issues/1367#issuecomment-2155660973


Scheduled Task Service (for Data Egress Loader)

Add template for cron job task with the first use case of:

Data Egress record loader needs to be triggered everyday to have the latest data as possible. This also prevents each on-demand egress loader to be faster as it will have a lesser interval time to query.

Happy for it to be even less that daily .. like every hour etc. I guess depends on the speed v cost of cloudtrail queries etc

I mean the beauty of having a cron expression control it is that possibly it goes into the elsa config and the admins can control it


Be able to deploy custom module extension subsystems in swarm

I have a subsystem that I deploy in WildFly's /modules and add it to standalone.xml via <extension> and <subsystem> and I was wondering how to take that and deploy it in WF-Swarm? There isn't a specific example in WildFly Swarm github that does this (the datasource-subsystem looks close, but I don't think that's it exactly.)
Also, how does one configure their custom subsystem (in WildFly app server installs, you configure it in subsystem's entry inside standalone.xml, but WF-Swarm doesn't have standalone.xml).
But I build using WF-Swarm mvn plugin, my subsystem module jar goes in the swarm /app location and all its dependencies go in m2repo - would this be the  proper setup for module extension subsystems in WF-Swarm or would the mvn plugin need to be enhanced for this type of thing?
In short, I need documentation to show how this can be done (if it can't be done, WF-Swarm should be enhanced to allow it).

It was certainly possible a month or so ago, as I did it for LiveOak, but I haven't tried recently, though there shouldn't be anything preventing it.
For any given WildFly subsystem, you need to create an API and Runtime, as we have for the pieces packaged within WildFly Swarm (such as JPA, Weld, etc). This utilizes the Fraction plugin to build the necessary pieces that can then be consumed by your application.
Not sure if that provides enough detail, but it's definitely possible and something we need to document and provide examples for

ken - you have link to your github repo for the LiveOak work? At minimum, I could use it to see what your mvn layout looked like (what pom dependencies you needed, mvn swarm plugin setup, etc.).

Unfortunately it's all based on Alpha1, which was when a Fraction was a single module, there was no API/Runtime split, and wouldn't be of much help. I've also not pushed it out anywhere yet. I actually need to go back and update it with the new structure.
The main piece is the plugin definition:
    <plugin>
      <groupId>org.wildfly.swarm</groupId>
      <artifactId>wildfly-swarm-fraction-plugin</artifactId>
      <executions>
        <execution>
          <phase>prepare-package</phase>
          <goals>
            <goal>generate</goal>
          </goals>
        </execution>
      </executions>
    </plugin>

In terms of the code, the existing api/runtime modules would be the best example right now.
If you need help with it, I will do my best to help

I'm going to duplicate what is done today in wildfly-swarm/api/datasources and wildfly-swarm/runtime/datasources (by that I mean I'm going to copy what they do in their poms and source structure and java code.) hopefully that gets me close.

it should do, let me know if you hit problems

Ken - I think I have all the code I need, except I dont know if I actually need a Main class. I figure someone has to configure the Fraction, but I can't figure out what I need. I did just build my swarm jar and I got this error:
Caused by: java.util.ServiceConfigurationError: org.wildfly.swarm.runtime.container.ServerConfiguration: Provider org.wildfly.swarm.runtime.connector.ConnectorConfiguration not a subtype
So I have a feeling I am missing some dependencies in my poms.
Note - the code is here (there are three mvn modules - api, runtime, and dist - the "dist" one is where I run the swarm plugin to build the fatjar): https://github.com/hawkular/hawkular-agent/tree/mazz/wf9-swarm/hawkular-agent-swarm
P.S. Is this the right forum to discuss this? (github issues) or is there a swarm mailing list to use?

There is a series of service locators to find and auto configure your fraction if no main is provided. And to find the runtime module. It's tangly but works.
--
Sent from my iPhone

On Jun 3, 2015, at 4:02 PM, John Mazzitelli<EMAIL_ADDRESS>wrote:
Ken - I think I have all the code I need, except I dont know if I actually need a Main class. I figure someone has to configure the Fraction, but I can't figure out what I need. I did just build my swarm jar and I got this error:
Caused by: java.util.ServiceConfigurationError: org.wildfly.swarm.runtime.container.ServerConfiguration: Provider org.wildfly.swarm.runtime.connector.ConnectorConfiguration not a subtype
So I have a feeling I am missing some dependencies in my poms.
Note - the code is here (there are three mvn modules - api, runtime, and dist - the "dist" one is where I run the swarm plugin to build the fatjar): https://github.com/hawkular/hawkular-agent/tree/mazz/wf9-swarm/hawkular-agent-swarm
P.S. Is this the right forum to discuss this? (github issues) or is there a swarm mailing list to use?
—
Reply to this email directly or view it on GitHub.

Ok, I see a call to RuntimeServer.applyDefaults ... so I'll assume I'll get something to start my service.
But I'm getting this and not sure why:
Caused by: java.util.ServiceConfigurationError: org.wildfly.swarm.runtime.container.ServerConfiguration: Provider org.wildfly.swarm.runtime.connector.ConnectorConfiguration not a subtype
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.wildfly.swarm.runtime.container.RuntimeServer.applyFractionDefaults(RuntimeServer.java:106)
at org.wildfly.swarm.runtime.container.RuntimeServer.applyDefaults(RuntimeServer.java:67)
at org.wildfly.swarm.runtime.container.RuntimeServer.start(RuntimeServer.java:51)
at org.wildfly.swarm.container.Container.start(Container.java:112)
at org.wildfly.swarm.Swarm.main(Swarm.java:12)

I think you might’ve copied this file verbatim:
https://github.com/wildfly-swarm/wildfly-swarm/blob/master/runtime/connector/src/main/resources/META-INF/services/org.wildfly.swarm.runtime.container.ServerConfiguration <https://github.com/wildfly-swarm/wildfly-swarm/blob/master/runtime/connector/src/main/resources/META-INF/services/org.wildfly.swarm.runtime.container.ServerConfiguration>

And instead it should list your WhateverConfiguration class in your part of the tree.
Or your copy of this file:
https://github.com/wildfly-swarm/wildfly-swarm/blob/master/api/connector/src/main/resources/META-INF/services/org.wildfly.swarm.container.RuntimeModuleProvider <https://github.com/wildfly-swarm/wildfly-swarm/blob/master/api/connector/src/main/resources/META-INF/services/org.wildfly.swarm.container.RuntimeModuleProvider>

isn’t pointing to your runtime module correctly.
Container loads the API, then service-locators up the RuntimeModuleProvider from the API half of the works.  It then queries it for the name of the jboss-module for the runtime half of the works, loads it, and then asks that module for a service-locator for the appropriate ServerConfiguration implementations.
So, there’s two META-INF/services/ you have to adjust when you copy/paste.  One in the API half, and one in the runtime half.  Either one could eventually result in what you’re seeing.
Maybe.
-Bob

On Jun 3, 2015, at 4:56 PM, John Mazzitelli<EMAIL_ADDRESS>wrote:
Ok, I see a call to RuntimeServer.applyDefaults ... so I'll assume I'll get something to start my service.
But I'm getting this and not sure why:
Caused by: java.util.ServiceConfigurationError: org.wildfly.swarm.runtime.container.ServerConfiguration: Provider org.wildfly.swarm.runtime.connector.ConnectorConfiguration not a subtype
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.wildfly.swarm.runtime.container.RuntimeServer.applyFractionDefaults(RuntimeServer.java:106)
at org.wildfly.swarm.runtime.container.RuntimeServer.applyDefaults(RuntimeServer.java:67)
at org.wildfly.swarm.runtime.container.RuntimeServer.start(RuntimeServer.java:51)
at org.wildfly.swarm.container.Container.start(Container.java:112)
at org.wildfly.swarm.Swarm.main(Swarm.java:12)
—
Reply to this email directly or view it on GitHub https://github.com/wildfly-swarm/wildfly-swarm/issues/41#issuecomment-108614050.

@jmazzitelli I'm currently working on your Fraction. Will send a PR when I know it works

Those look OK in my project - no copy-paste error. These point to my classes:
https://github.com/hawkular/hawkular-agent/blob/mazz/wf9-swarm/hawkular-agent-swarm/hawkular-agent-swarm-api/src/main/resources/META-INF/services/org.wildfly.swarm.container.RuntimeModuleProvider
https://github.com/hawkular/hawkular-agent/blob/mazz/wf9-swarm/hawkular-agent-swarm/hawkular-agent-swarm-runtime/src/main/resources/META-INF/services/org.wildfly.swarm.runtime.container.ServerConfiguration

@jmazzitelli I've fixed the problems with the Hawkular Fraction here: https://github.com/hawkular/hawkular-agent/pull/5
However, the Hawkular Subsystem is coded against WildFly 8.2.0.Final, but WildFly Swarm relies on a minimum of 9.0.0.CR1. Until the Hawkular Subsystem is updated to work with WildFly 9.0.0.CR1, WildFly Swarm won't work with it.


QUESTION: Is there still no easier method?

Anno 2023 it seems like this method is quite complex.
Is there no easier method to create and share these images across multiple orgs?
In my situation I need to setup VMSS for different azure environments. Building these images per client is quite cumbersome. How would you tackle this situation?

Well, it depends on what you define as complex and what you expect from this.
What this project is about:

Getting a VM image in your Azure Resource Group that is configured the same way Microsoft Hosted Agent images are configured
It takes the extra step to set that image in one VMSS so future VM's in that scale set would use the new image, and the VMSS is managed by the DevOps org for scaling.

I don't totally get your requirement but essentially, after the image is generated, you can create your own process:

Put it in a private Image gallery, like someone did within #18, and have your multiple VMSS configured to use the latest image from that Gallery. OR
Have multiple VMSS configured (since you cannot reuse a VMSS across multiple DevOp orgs), and adjust the PowerShell script to update not one but all your VMSS's with the latest image. OR
something totally different matching your requirement

I shared what worked for me, so none of you have to go through the hassle of figuring out how to build your own VHD from Microsoft's repo, but it for sure is sized to my requirements and not fully scalable for everyone's needs.


openpyxl==2.0.3 breaks in2csv xlsx parsing

Hi - I've come across a reproducible bug in xlsx parsing by in2csv that seems to be attributable to openpyxl 2.0.3, and is fixed by reverting to openpyxl 1.8.6:
% python --version
Python 2.7.7
% virtualenv --version
1.11.6
% virtualenv csvkit-env
% source csvkit-env/bin/activate
% pip install csvkit
% pip freeze
SQLAlchemy==0.9.4
csvkit==0.7.3
dbf==0.94.003
jdcal==1.0
openpyxl==2.0.3
python-dateutil==2.2
six==1.7.2
wsgiref==0.1.2
xlrd==0.9.3
% in2csv foo.xlsx
0,1
2,3
4,5
% pip install openpyxl==1.8.6
% in2csv foo.xlsx
column 1,column 2
foo,bar
baz,mep
% pip install openpyxl==2.0.3
% in2csv foo.xlsx
0,1
2,3
4,5

The excel file is here: http://cl.ly/1R1B2e1f3h3P/foo.xlsx
(there's a similar error in which text is replaced by numbers with the test file csvkit/examples/test.xlsx)
I'm running ubuntu 12.04 - let me know if you need any more system info.
Thanks!
Noah

Sorry to poke an old issue, but I'm getting this same error with csvkit 0.9.0 and openpyxl 2.2.0:
$ in2csv foo.xlsx > foo.csv
File-object must be opened in binary mode

If I downgrade openpyxl to 2.0.3 (instead of 1.8.6), the error goes away and in2csv works as expected.
I get the error both on a Mac running 10.10 (Yosemite) and an Ubuntu 14.04 virtual machine. Both are running Python 2.7 and the same versions of csvkit and openpyxl.

My recent issues were resolved by this week's csvkit 0.9.1 release; I can now run in2csv using the current version (2.2.ish) of openpyxl without errors.

Yay! Thanks for following up!

Thank you for fixing all the things!


The context menu of the node '(Emulator - Default Ports) (Key)' is incorrect

Storage Explorer Version: 1.25.0-dev
Build Number: 20220608.1
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Monterey 12.4 (Apple M1 Pro)
Architecture ia32\x64
How Found: From running test cases
Regression From: Previous release (1.24.2)
Steps to Reproduce

Expand 'Local & Attached' -> Storage Accounts.
Right click '(Emulator - Default Ports) (Key)'.
Check whether the context menu is correct.

Expected Experience
The context menu is correct.

Actual Experience
The context menu is incorrect.

@MRayermannMSFT Hi Matthew, Verified this issue on the build main/20220609.2.
There are two extra actions on the node context menu. So re-open this issue.

My apologies Kristine, I meant to leave a comment here yesterday. I tested those to actions against the node and they both seem to work. If your testing shows the same, I don't see any reason for us not to show those actions here. I'm going to close this issue, but if you see any problems with those actions agains the emulator node, please feel free to reopen this issue or open a new issue to share your findings.

@MRayermannMSFT There is no error when clicking 'Get Shared Access Signature... & Copy Primary Key'.
If trying to SAS attach the "devstoreaccount", Fail to expand its service node with errors.
Here is the screenshot when expanding Blob Containers.


[SUPPORT] Flink Hudi tutorial, issue with SourceFunction.

I am trying to follow the flink hudi quickstart i.e. https://hudi.apache.org/docs/flink-quick-start-guide version 0.12.1. I am using flink 1.15.0. I am following DataStreamAPI version of the tutorial.
The tutorial does not show how to create data source so I used this.

DataStreamSource<Long> ds = env.fromSequence(1, 10);
		DataStream<RowData> origData = ds.map(new MapFunction<Long, RowData>() {
			@Override
			public RowData map(Long aLong) throws Exception {
				GenericRowData row = new GenericRowData(6);
				row.setField(0, StringData.fromString(aLong+"uuid"));
				row.setField(1,StringData.fromString(aLong.toString()+"name9"));
				row.setField(2,aLong.intValue());
				row.setField(3, TimestampData.fromTimestamp(new Timestamp(System.currentTimeMillis())));
				row.setField(4,StringData.fromString("p1"));
				return row;
			}
		});
		HoodiePipeline.Builder builder = HoodiePipeline.builder(targetTable)
				.column("uuid VARCHAR(20)")
				.column("name VARCHAR(10)")
				.column("age INT")
				.column("ts TIMESTAMP(3)")
				.column("`partition` VARCHAR(20)")
				.column("ol_name VARCHAR(10)")
				.pk("uuid")
				.partition("partition")
				.options(options);

		builder.sink(origData, false);

This works fine as expected. However, If I use SourceFunction as shown below.

		DataStream<RowData> data = env.addSource(new SourceFunction<RowData>() {
			private boolean running = true;
			@Override
			public void run(SourceContext<RowData> sourceContext) throws Exception {
				int aLong =0;
				while (running){
					GenericRowData row = new GenericRowData(6);
					row.setField(0, StringData.fromString(aLong+"uuid"));
					row.setField(1,StringData.fromString(aLong+"name9"));
					row.setField(2,aLong);
					row.setField(3, TimestampData.fromTimestamp(new Timestamp(System.currentTimeMillis())));
					row.setField(4,StringData.fromString("p1"));
					sourceContext.collect(row);
					Thread.sleep(500);
				}
			}

			@Override
			public void cancel() {
				running =false;
			}
		});

		HoodiePipeline.Builder builder = HoodiePipeline.builder(targetTable)
				.column("uuid VARCHAR(20)")
				.column("name VARCHAR(10)")
				.column("age INT")
				.column("ts TIMESTAMP(3)")
				.column("`partition` VARCHAR(20)")
				.column("ol_name VARCHAR(10)")
				.pk("uuid")
				.partition("partition")
				.options(options);

		builder.sink(data, false);

This does not work, the job keeps running but nothing gets written.
To verify that source function is working correctly, when I write its output to csv or print it, both work as expected.

// works as expected
data.writeAsText("/tmp/t1csv.txt");
data.print();

What could be the reason for SourceFunction not working when used with Hudi?

@yabha-isomap Thanks for raising this issue.  Have you enabled Flink checkpoint through the code or the configuration?  This does not seem to be an issue on the Hudi side.

Thanks @yihua . Yes, missing checkpoint config was the problem.
Following solved the problem. Closing the issue.
env.getCheckpointConfig().setCheckpointInterval(10);


Add Topological Data Analysis

topological data analysis (TDA) is an approach to the analysis of datasets using techniques from topology.
This list is handy for those who want to know more about TDA's theory and Tools in both mathematics and computer science.
PRs Reviewed:
#1701
#1684
#1792
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

Don't waste my time. Do a good job, adhere to all the guidelines, and be responsive.
You have to review at least 2 other open pull requests.
Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration.
You have read and understood the instructions for creating a list.
This pull request has a title in the format Add Name of List.

✅ Add Swift
✅ Add Software Architecture
❌ Update readme.md
❌ Add Awesome Swift
❌ Add swift
❌ Adding Swift
❌ Added Swift

Your entry here should include a short description about the project/theme of the list. It should not describe the list itself. The first character should be uppercase and the description should end in a dot. It should be an objective description and not a tagline or marketing blurb.

✅ - [iOS](…) - Mobile operating system for Apple phones and tablets.
✅ - [Framer](…) - Prototyping interactive UI designs.
❌ - [iOS](…) - Resources and tools for iOS development.
❌ - [Framer](…)
❌ - [Framer](…) - prototyping interactive UI designs

Your entry should be added at the bottom of the appropriate category.
The suggested Awesome list complies with the below requirements.

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
Don't open a Draft / WIP pull request while you work on the guidelines. A pull request should be 100% ready and should adhere to all the guidelines when you open it.
Run awesome-lint on your list and fix the reported issues. If there are false-positives or things that cannot/shouldn't be fixed, please report it.
Includes a succinct description of the project/theme at the top of the readme. (Example)

✅ Mobile operating system for Apple phones and tablets.
✅ Prototyping interactive UI designs.
❌ Resources and tools for iOS development.
❌ Awesome Framer packages and tools.

It's the result of hard work and the best I could possibly produce.
If you have not put in considerable effort into your list, your pull request will be immediately closed.
The repo name of your list should be in lowercase slug format: awesome-name-of-list.

✅ awesome-swift
✅ awesome-web-typography
❌ awesome-Swift
❌ AwesomeWebTypography

The heading title of your list should be in title case format: # Awesome Name of List.

✅ # Awesome Swift
✅ # Awesome Web Typography
❌ # awesome-swift
❌ # AwesomeSwift

Non-generated Markdown file in a GitHub repo.
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate. Please search for existing submissions.
Only has awesome items. Awesome lists are curations of the best, not everything.
Does not contain items that are unmaintained, has archived repo, deprecated, or missing docs. If you really need to include such items, they should be in a separate Markdown file.
Includes a project logo/illustration whenever possible.

Either centered, fullwidth, or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.

Can be placed centered if the list has a centered graphics header.

Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of nested lists, preferably none.

Has an appropriate license.

We strongly recommend the CC0 license, but any Creative Commons license will work.

Tip: You can quickly add it to your repo by going to this URL: https://github.com/<user>/<repo>/community/license/new?branch=master&template=cc0-1.0 (replace <user> and <repo> accordingly).

A code license like MIT, BSD, Apache, GPL, etc, is not acceptable. Neither are WTFPL and Unlicense.
Place a file named license or LICENSE in the repo root with the license text.
Do not add the license name or text to the readme. GitHub already shows the license name at the top of the repo.
To verify that you've read all the guidelines, please comment on your pull request with just the word unicorn.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.
Doesn't include an Inspired by awesome-foo or Inspired by the Awesome project kinda link at the top of the readme. The Awesome badge is enough.

Go to the top and read it again.

Thanks for making an Awesome list! 🙌
It looks like you didn't read the guidelines closely enough. I noticed multiple things that are not followed. Try going through the list point for point to ensure you follow it. I spent a lot of time creating the guidelines so I wouldn't have to comment on common mistakes, and rather spend my time improving Awesome.

The repo is using a GPL license, which is not accepted per the guidelines:

A code license like MIT, BSD, Apache, GPL, etc, is not acceptable. Neither are WTFPL and Unlicense.

Hi @FatemehTarashi,
Many thanks for the list :). Here is my feedbacks;

A typo in the second paragraph of the description of repo;

If you know of any other tools, resources or... read Contribution Guidelines and feel free to fork/PR or open a new issue.

Contribution Guidelines should be linked to the contribution guideline file.

Some of the items under Theory > Algorithms section has no links to follow.

Thanks for pointing out issues, I've fixed them. :)

I think I fixed all of the issues, but I have a problem with installing awesome-lint. Is there any problem left that you can't merge it?

unicorn 🦄

I decided to rename master branch to main, and apparently that permanently closes all PRs. Ugh. Sorry about that. Can you reopen this PR targeting the main branch? Include a link to this PR in the new one, so we can quickly see what was discussed previously.


CCL and NumCosmo comparison

Hello all,
We are creating a set of unit tests to compare the CCL outputs to NumCosmo's. Our final objective is to encapsulate CCL as one of the NumCosmo -- HICosmo (homogeneous and isotropic cosmology) models such that people can use CCL as the back-end for various analyses (we already do the same with CLASS, including the comparison). At this initial point we create a constructor method in NcHICosmoDECpl (dark energy with Linder parametrization) which takes a ccl_cosmology struct and creates a mirror NcHICosmoDECpl instance (equivalent parameters). Using this, we already elaborated two unit tests to mimic ccl_test_distances.py, ccl_test_bbks, ccl_test_eh, in doing so we found some minor issues:

In the BBKS formula in CCL the definition of "q" seems to be missing a factor of (T_0/2.7K)^2 [Eq. 3.9 Sugiyama 1995], anyway, we create a CCL "compatibility mode" for our BBKS which uses the same definition of "q" as CCL and the tests went through, we agree in 5 x 10^-5 (which increases as we include more knots in CCL splines). In these tests we also included the comparison between basic background quantities as Omegas, H/H0 and growth function. (We can breakdown these number in the future to get the largest error in redshift per observable)

In the Eisenstein and Hu fitting formula, the first issue was the additional +1 in Eq. 5 (which is already documented in footnote 8 of CCL's paper) and a missing +1 in the definition of alpha_b, argument of G (Eq. 14), it should be G((1+zeq)/(1+zd)) and in CCL it is  G(zeq/(1+zd)). Again we created a CCL compatibility mode and got an accordance of 5 x 10^-5 as in the BBKS case.

During the distances comparison we found two other issues which are more serious (but simple to fix!):

In the neutrino sector the parametrization of the massless neutrinos is done in terms of Neff. The problem here is that, if Neff is smaller than the contribution of the massive neutrinos when ultra-relativistic, you end up with a negative params->N_nu_rel and, consequently, negative Omega (ccl_species_ur_label). In your tests 34/94 and 39/94 you actually use a combination of parameters that implies in negative params->N_nu_rel (the contribution from the ultra relativistic massive neutrinos is slightly larger than Neff=3 used). It may be a good idea to use the number of massless neutrinos and compute Neff from it and the ultra-relativistic massive ones (that was our choice in NumCosmo and I think it is the same as CLASS). Moreover, in a MCMC analysis the use of Neff as parameter can be trick, one would have to use a complicated prior to avoid params->N_nu_rel < 0.

The use of global variables in ccl_test_distances.py makes the script hard to read and error prone. For example, the variables Neff and Neff_mnu are defined globally early on in the script. Then, we have them being used in different contexts:

Neff as an argument to other function. It is used in compare_distances, compare_distances_hiz;
Neff as an argument of compare_distances_mnu, which shadows the global Neff, but then the argument is ignored and the global Neff_mnu is used;
Neff_mnu as an argument of compare_distances_mnu_hiz, which shadows the global Neff_mnu, but then it is ignored and the global Neff is used;
Neff as an argument of compare_class_distances which has a default value and it is correctly used;
It was time consuming to read the script and disentangle all variables to see which parametrizations are actually tested.

The use of spline "accelerator". This is nothing more than a simple struct which saves the last knot used to evaluate the spline and use it as the first place to look in the next evaluation. The accelerators should never be used by two or more different splines even when the knots represent the same quantity. For example, we found the following problem:

When comparing NumCosmo distances with CCL's we found that once in a while CCL was giving really weird results. After investigating it, we saw that it had evaluated the spline to compute the Omega of massive neutrinos and the knot used was 950 (the neutrino spline has 1000 knots by default). Then just after the spline for h_over_h0 was evaluated, since the accelerator contained the last knot used (950), it started the search by evaluating the xi[950], however, the spline for h_over_h0 (cosmo->data.E) has only 499 knots (by default) and for this reason xi[950] is actually out-of-bounds and end up reading a random place in memory. This confuses the binary search and the spline evaluation giving a random result.

Furthermore, in NumCosmo we had several problems with the accelerator, they make the spline evaluation non-reentrant which caused several problems in our multi-threaded applications. Finally, it is not clear how much this actually accelerates things. It would be efficient if the application evaluates the spline several times at very close points (for which there are faster and better ways to use the spline). In other applications where one evaluates the spline at well spaced points the accelerator can actually make things slower since it uses the last evaluation knot to start the binary search possibly leading to more steps to find the correct knot.
To perform the comparison with NumCosmo, we modified CCL by removing the accelerator (leaving it NULL), with this modification all tests were passed with 5 x 10^-5. It could be a good idea to have an option to turn off the accelerators or to just remove it altogether. In NumCosmo we have an option to use it which is disabled by default.

Thanks for the bug reports! I am going to break this into individual issues that can be addressed in turn.
I agree that the spline accelerators are problematic. I have been considering what to do when I start to add threading to the library. Removing them as you suggest may in fact be the best option.

Hello, I thought in doing it as separated issues but I ended up leaving them all together. Thanks for splitting it up! You misspelled my name in them :)

Ohhhhhh no @vitenti ! now we are pinging random people. Sorry!

@beckermr @vitenti Which of these issues have been addressed and which have not?

The only things that IDK if they hav been fixed or not are the bbks and eh98 stuff. Everything else has been addressed.

It appears that bbks has been fixed.
old code:
static double tsqr_BBKS(ccl_parameters * params, double k)
{
  double q = k/(params->Omega_m*params->h*params->h*exp(-params->Omega_b*(1.0+pow(2.*params->h,.5)/params->Omega_m)));
  return pow(log(1.+2.34*q)/(2.34*q),2.0)/pow(1.+3.89*q+pow(16.1*q,2.0)+pow(5.46*q,3.0)+pow(6.71*q,4.0),0.5);
}

new code:
static double tsqr_BBKS(ccl_parameters* params, double k) {
  double tfac = params->T_CMB / 2.7;
  double q = tfac * tfac * k / (
    params->Omega_m * params->h * params->h *
    exp(-params->Omega_b * (1.0 + pow(2. * params->h, .5) / params->Omega_m)));
  return (
    pow(log(1. + 2.34*q) / (2.34*q), 2.0) /
    pow(1. + 3.89*q + pow(16.1*q, 2.0) + pow(5.46*q, 3.0) + pow(6.71*q, 4.0), 0.5));
}

Re. the other issue with the +1 missing in the EH formula, this has already been discussed in #143 .
So we will be closing this issue now.


add option to make responsive storymap appear side-by-side vs. top-bottom?

Hi @ilyankou  -- While working on images for chapter 13, I wondered if we have an option to manually determine how the storymap appears, such as "always side-by-side" or "always top-and-bottom" or "responsive" (default). Not urgent, but let me know what you think, since I believe this is a case where side-by-side might be preferable, but I don't currently see an easy way to control it.

@JackDougherty
The default behavior is to display the scrollable container on the left, and the map on the right. When screen width is under 768px (this is a standard breakpoint for mobile devices), it switches to top/bottom view with the map on top and the scrollable container underneath. This is a simple and intuitive behavior, and I suggest we keep it this way.
I think your issue is that you don't want to see the "mobile view" in the embedded iframe. I recommend you use a static screenshot instead of the interactive version, just like we did with the searchable point map that doesn't look great when embedded.

Understood. My current thinking is to embed your animated GIF story map in the web edition, to highlight the scrolling narrative to tell a story, with the static image for the ORM editions.


[POC] ActOnArgs.join(other: ActOnArgs) provides random circuit speedup

(This is based off the ActOnArgs branch, which hasn't been merged yet. The diff is far smaller here: https://github.com/daxfohl/Cirq/compare/spliterate...daxfohl:join.)
We add an abstract ActOnArgs.join(self: TSelf, other: TSelf) -> TSelf that allows joining two quantum states of the same type into a combined quantum state. This allows a simulation strategy that evaluates unentangled states independently, and join them only when a gate entangles them. This simulation strategy works generically for any simulator whose TActOnArgs implements join, which is usually straightforward. This POC shows it for state vector and density matrix ActOnArgs.
In the new example, I create a random circuit and simulate it with the standard simulate_moment_steps, and again with the new method. I see anywhere between 5 and 100x speedups, depending on how entangled the random circuit is.
Also updated the teleportation example to use join, as a smaller example of what this POC enables. Initially the bell state and the message state are distinct, and then they're joined only when Alice has to perform the measurements.
Eventually we could offer a split that could be performed after a detangling operation such as reset or measure, though that may be more complex and less frequently valuable.
Is this a direction we may want to go?

Surprisingly this even shows a small (~50%) speedup on the MPS simulator. cc @tonybruguier


Blank screen when importing gcloud/db.dart

Whenever I add the db module of the gcloud package to any of my projects, the app just shows a blank screen.
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'dart:async';
import 'directions_api.dart';
import 'package:flutter_polyline_points/flutter_polyline_points.dart';
import 'dart:convert';

import 'package:gcloud/db.dart' as gcloud; // THIS IMPORT GIVES A BLANK SCREEN

Anyone experience this before?
EDIT: I tried running flutter clean
Here are some errors I see in the console:
E/flutter ( 9559): [ERROR:flutter/shell/common/shell.cc(209)] Dart Error: error: import of dart:mirrors is not supported in the current Dart runtime
E/flutter ( 9559): [ERROR:flutter/shell/common/engine.cc(205)] Could not prepare to run the isolate.
E/flutter ( 9559): [ERROR:flutter/shell/common/engine.cc(144)] Engine not prepare and launch isolate.
E/flutter ( 9559): [ERROR:flutter/shell/common/shell.cc(481)] Could not launch engine with configuration.
Connecting to VM Service at ws://<IP_ADDRESS>:40169/gXoJXnqv7w4=/ws
W/mple.test_app_( 9559): Reducing the number of considered missed Gc histogram windows from 138 to 100```

I've had the same issue trying to use pubsub. I now realise that this package is not compatible with flutter.
See #84.

I see. Just saw the readme and issue comment. Makes sense now, I'll close and stick to using other packages.


feat: Add reference to Biosero.DataServices.Client package

Add reference to Biosero.DataServices.Client package and remove placeholder code.
Add Logging script example
Update copyright to 2024.
Update GH actions to only push ci/dev packages to GitHub packages and official releases to NuGet.org
Update example deployment.yml file with new Transportation Manager configuration

Hey @biosero/services-tribe, when one someone has a moment, can I get a review?


Log to stderr by default

This makes pprint.log write to stderr rather than stdout. stderr looks like a better output stream to print debugging-related messages.
This has been a problem to me in applications that use stdout as a channel to exchange messages with other apps for example (with pprint.log printing unwanted messages in it).

I'm a bit reluctant to change the default. I know printing to stdout by default causes unending problems, but it's also the standard throughout Scala and other languages. I feel like this is not a place where it's worth bucking the convention.
Rather than changing the default, could we add another pprint.err.log method that prints to Console.err? That would make it a bit easier to print to stderr for someone who wants it, while still following the existing convention "print goes to stdout by default, stderr if you want"

Rather than changing the default, could we add another pprint.err.log method that prints to Console.err? That would make it a bit easier to print to stderr for someone who wants it, while still following the existing convention "print goes to stdout by default, stderr if you want"

Sure, I just changed that.
I'd still be in favor of stderr as a default for pprint.log, as AFAIK, it's really only meant for debugging, not for printing actual output. But pprint.err.log would also work for my usecase, so it's fine by me.

In the current state of this PR, I didn't add a parameter to pprint.log, not to break binary compatibility, but the out: PrintStream parameter could be moved to it, that would simplify the implementation a bit.

Anything preventing this to be merged?

@alexarchambault sorry for the delay, stamped it

sorry for the delay, stamped it

Thanks, but I don't have the rights to merge on my own 😞
As long as this is included in the next release, I guess it's fine for me.


Migrate Pinch Valve components to Inventor

What has to be done
The pinch valve components (bearing, base, rotor) need to be migrated to Inventor.
A successful migration to Inventor must take place as is.
How do you know it has to be done
The current models are .step files. Mass migration to Inventor is underway.
The following shall be created for all the components of the pinch valve:
Inventor Solid Model
Engineering Drawing (both .idw and exported PDF)
Dxf file (For laser cutting)
Don't forget

[ ] Put the issue in a milestone
[ ] Assign it to one of the projects
[ ] Add appropriate labels
[ ] Mention dependent/blocked issues if any

Please note:
The README has links to external webpage, as quoted below, that required account creation to view.

Original designs found here.

Suggest removing it if we no longer need it.

Superseded by #990


[Feature]: How to keep template source code of a stack.

Background
Currently, in every stack, a clone of code/ dir contains a backend project named 'go-gin', and a helm project named helm.
If some file content need to be updated, we have to modify all of these copies.
Solution
Keep just one copy of code/ directory. move it outside from Stack dir,  When deploying a stack, copy that code/ dir to stack temporarily.

Actually we should move them to standalone template repos: https://garywoodfine.com/how-to-use-github-repository-templates/

To avoid vendor lock-in, we should not use proprietary features. Think about what if we integrate GitLab or even offline unknown SCM one day.

Actually we should move them to standalone template repos: https://garywoodfine.com/how-to-use-github-repository-templates/

To avoid vendor lock-in, we should not use proprietary features. Think about what if we integrate GitLab or even offline unknown SCM one day.

Template source code of a stack should owns a git repo, just like every Docker image has a Dockerfile hosted in a Github repo, we have to modify or add some files of an existing tech-stack, to adapt it to Heighliner Stack Way, and keep maintain template files.
Meanwhile, we could package template source code and send it to our CDN server, then it can be distributed all over the world, just like what Docker or Terraform did.

Benefits of keeping source code templates in independent repos:

Easier to update
Easier to get contributions
Easier to test
Easier to release new version


Fix dependencies

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.07%. Comparing base (c294b7c) to head (720e0f5).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   88.07%   88.07%
=======================================
  Files          10       10
  Lines         151      151
  Branches       12       12
=======================================
  Hits          133      133
  Misses         18       18

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


Feature/ls grades

This change is

Reviewed 19 of 19 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions.

byuSuite/Apps/LearningSuite/model/LSUtils.h, line 21 at r2 (raw file):

#define SEGUE_ID_KEY            @"segueID"
#define TITLE_TEXT_KEY          @"titleText"
#define CELL_ID_KEY             @"cellId"

Do we need all of these? Or were some of these for testing?

byuSuite/Apps/LearningSuite/view/LSProgressTableViewCell.h, line 11 at r2 (raw file):

#import <UIKit/UIKit.h>

@interface LSProgressTableViewCell : UITableViewCell

Do this in Swift

Comments from Reviewable

Review status: 14 of 18 files reviewed at latest revision, 2 unresolved discussions.

byuSuite/Apps/LearningSuite/model/LSUtils.h, line 21 at r2 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
Do we need all of these? Or were some of these for testing?

All of these are being used.

byuSuite/Apps/LearningSuite/view/LSProgressTableViewCell.h, line 11 at r2 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
Do this in Swift

Done.

Comments from Reviewable

Reviewed 5 of 6 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


minimize requests when 2bit files have many sequences

I ended up creating an EnsemblSequenceSource instead of using TwoBit sources because we have some assemblies that are extremely fragmented (~500,000 scaffolds) which were taking too long to initialize

Thanks very much for this.  I guess the .2bit format isn't really optimised for the million-contigs case, but your optimisations are welcome anyway.
EnsemblSequenceSource is also good to have.  I may do a slight refactoring here before the 0.14 release, because we're trying to move away from having a proliferation of per-source-type "ensemblURI" type parameters.


Sliding Window

An advanced improvement but, anyone could want to use sliding window algorithm to determine when to ban a user.

Can you explain more about this issue. I'm unable to see what you exactly mean here.

Do you mean to detect a spike or a frequency? It's unclear for me what you ask here.. Please re-adress and I will open the ticket


fix(*): theorem to lemma

Zulip discussion

Step 1
Global replace of theorem [consecutive_chars_without_spaces] [one of [⦃({:] with lemma [same_characters] [same symbol]
git ls-files '*.lean' | xargs sed -i "s=theorem  *\([^ ]*\)  *\([⦃({\[\:]\)=lemma \1 \2="

Step 2
Build to find out the lemmas that cause problems and save the names of the files to undoHere.txt:
lake build 2>&1 | grep -o "\./Mathlib[^.]*.lean" | sed 's=^\./==' > undoHere.txt

Step 3
This is not actually enough, there seems to be one more file to undo:
echo 'Mathlib/Init/Data/Nat/Basic.lean' >> undoHere.txt
echo 'Mathlib/CategoryTheory/ConcreteCategory/Bundled.lean' >> undoHere.txt

Step 4
Revert lemma to theorem for the files in undoHere.txt
for fil in $( cat "undoHere.txt" ); do
  printf $'Reverting %s'\n' "${fil}"
  sed -i "s=lemma  *\([^ ]*\)  *\([⦃({\[\:]\)=theorem \1 \2=" "${fil}"
done

Thanks for the explanation of how you did this. I grepped for theorem not at the beginning of a line, in mathlib master, looking for gotchas, but the random sample I tried all seemed to have been dealt with correctly. This will instarot, right?

Kevin, I think that it will rot very quickly, yes: as soon as a PR that changes one of the lines touched by this PR gets merged, there will be a conflict...
I tried to be very conservative with the first replacement, then I was grepping for the remaining theorem looking for "robust" patterns.  Certailny something will have slipped through the cracks, but I hope that this looks good!


Audio Calls no longer work - no devices listed

I last successfully used Audio calls on 6/15.  When I tried on 6/22 I could no longer hear anyone nor could anyone hear me.  I updated OS/packages, removed and reinstalled liveshare with no effect.  Whenever I try to configure the microphone or speakers from within VS code, it shows no devices at all, despite having speakers and a headset hooked up.  I also see no evidence in pulse audio that vs code is trying to access any audio devices.  I have a second setup that is the same OS, everything works fine.
Product and Version [VS/VSCode]: 1.35.1
OS Version [macOS/Windows]: Linux Mint 19.1
Live Share Extension Version: 1.0.471  Audio 0.1.56
Target Platform or Language [e.g. Node.js]: Python
Steps to Reproduce / Scenario:

Start a live share session
Click on 'Start Audio Call'
Click settings gear on Audio Call Participants
Click configure speakers / Microphone
No Devices are listed
logs2.zip

@rtaft: Thanks for reporting this issue!  We have made some significant updates to our audio extension with the latest release (0.1.60). I've tried to repro using Ubuntu 19.04 with the latest VS Code and VS Live Share Audio extension and haven't been able to repro. Can you try updating VS Code, and both the Live Share & Live Share Audio extensions to the latest versions and see if this fixes your issue?
If it does still repro, can you attach the new logs? (You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue).
One thing to note is we now use an electron calling app for audio support so it could be an issue on the specific flavor of Linux you're using.

It's something in my user setup.  I created a new user and installed everything, it worked perfectly.  I'm still poking around to see exactly what is causing this.  The audio works perfectly for all other software.

@jramsay Is there a script that will scrub every bit of vscode?  I've manually removed .config/Code, /tmp/VS*, /tmp/vs*, myproject/.vscode, ~/.vscode, and .config/Visual\ Studio\ Live\ Share/ but I've made no progress.  I could completely delete this user and start over, not wanting to do that though.

update:  I downloaded and installed a fresh copy of Linux Mint 19.3.  The audio worked perfectly the first day I used it.  A week later, I went to use it again and it is doing the same thing.  It does not list any audio devices.  Fresh OS, no major changes between the two dates.

I believe I'm having this issue too. My pairing partner says he can hear me, yet pulse audio has no knowledge of anything being recorded. Also the list of speakers to play sound of of is empty. All other audio/zoom/etc works fine on this machine.
Is live share audio not using pulse audio?

@dpnova It does use pulse audio.  I have a desktop and 2 laptops using the same OS and the same headset.  I have never seen this issue on the laptops, but I've seen it on my desktop frequently even after a fresh OS install.  I haven't tested it with Ubuntu 20 yet.  I can only guess that maybe parsing of the hardware listing is causing it, maybe something specific this desktop has, though that wouldn't explain why it works sometimes, it's very odd.

Closing this as resolved. Please re-open it if you're experiencing any issues here still. Thanks!


NullReferenceException when testing with context factory.

My test code:
var browser = new Browser(
   with =>
       {
           with.Module<PatientSearchModule>();
           with.Dependencies(patientSearchService, mappingEngine);
           with.ContextFactory(new TestingContextFactory());
       });
browser.Get("/test", with => with.HttpRequest());

My test context factory is this:
public class TestingContextFactory : INancyContextFactory
    {
        public NancyContext Create(Request request)
        {
            return new NancyContext();
        }
    }

I am getting the following exception:
Object reference not set to an instance of an object.
   at Nancy.Conventions.StaticContentConventionBuilder.<>c__DisplayClass2.<AddDirectory>b__0(NancyContext ctx, String root)
   at Nancy.DefaultStaticContentProvider.GetContent(NancyContext context)
   at Nancy.NancyEngine.HandleRequest(Request request, Func`2 preRequest, CancellationToken cancellationToken)
   at Nancy.NancyEngineExtensions.HandleRequest(INancyEngine nancyEngine, Request request, Func`2 preRequest)
   at Nancy.Testing.Browser.HandleRequest(String method, Url url, Action`1 browserContext)
   at Nancy.Testing.Browser.HandleRequest(String method, String path, Action`1 browserContext)

Now, I understand that I might be doing something wrong. But a null ref isn't be the error that will help me know what to do to fix my code.

The implementation is clearly breaking the "contract" of the INancyContextFactory which requires the implementation to fully populate the returned NancyContext, which includes at least passing it the given request. I agree that the API should've enforced it better though. Preferably through the NancyContext ctor.
Not passing the request yields a null reference at https://github.com/NancyFx/Nancy/blob/7bdfb4f22d8a717a461237342e9d39044c2fb5c4/src/Nancy/Conventions/StaticContentConventionBuilder.cs#L41

I'm really not sure what we can do to protect against this though. Yes, in this case we can force the request being set by adding it as a parameter to the NancyContext ctor (which would be a major breaking change at this point), but what this boils down to is simply always checking everything, for a null reference, everywhere. At the end of the day, it's impossible to "protect" the users from themselves :wink:

@khellang What do you think of that patch?


(feat) JWT Authorization Component

Hi Tom!
As a follow up from #78 I implemented a JWT Component as part of a new file under the components module called "authorization.py" (to hold common auth components, OAUTH 1.0, OAUTH 2.0, Basic Auth, Digest Auth, AWS Signature, .. sky's the limit).
I tried to follow your current architecture patterns as best I could.
I wasn't sure if I should be including messages about why the request failed when injecting the JWT token / decoding it.
This is just a first pass and doesn't include the other half (creating a new JWT from a payload). Not hard to add but I wanted to make sure I was on the right track. Also wasn't sure how to name it, you have two components, the DecodedJWT and the EncodedJWT, maybe I should change them to that, but, my_func(request: http.Request, token: authorization.DecodedJWT) seems worse than just authorization.JWT.
The other question I had was about returning the Component, I put the payload inside the Component as payload, which requires token.payload['key'] to get at the data, there is no other information with the JWT (I don't know why we would include the secret or the algorithm used) so I wasn't sure if I should just return a typing.Dict[str, typing.Any] "json" dict, but I felt that broke the idea that we are injecting a component called JWT  but is in fact just an anonymous object.
One last thing, I didn't see any use for adding an Authorization interface to interfaces.py, there were no methods on the JWT class that I would use. But now that I think of it, I could add a decode and encode method and refactor the JWT component to handle both cases, the only issue being how to call two different init methods on the same component.
edit: Latest commit included DecodedJWT/EncodedJWT Components, one is an http method to be injected and the other is a component to be imported and used. Only hangup I have with the imported component is that mypy will fail unless the person passing the payload argument to EncodedJWT wraps it in the JSON type. Not sure if that is what we want or not. My latest commit removes it.

Good stuff. We're at the point where we ought to start pushing towards third party packages rather functionality within core. I expect the Django ORM and SQLAlchemy backends will get pushed out to third party pckages two.
We're also currently missing a generic authentication API similar to what we have in REST framework. I should be addressing this fairly shortly.

ok so break this out into a third-party package?

ok so break this out into a third-party package?

That'll certainly be one aspect, yup.
Secondly, be prepared to do a bit of rejigging once a proper auth interface lands.

haha alright 👍 ill close this then


filename in databases

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
Closes #147
What are the significant changes in functionality due to this change request?
the filename (if specified) needs to be used for both existing HDF5 and not

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?

@joshua-cogliati-inl I added a new test for testing the new functionality.

Okay, code review passes.


Deselect rows outside current month

I've implemented my own range selection and I've found an issue. If I either use deselectAll or selectDates (already selected) it never deselects dates outside current month. Is there a way to deselect cells outside current month?

What version of the calendar are you using? Master Branch or Latest 6.1.2 release?
In your ConfigureCalendar function, what is your startDate and endDate? And are you trying to select a date outside of that range?

I've tried last release. Master works, but because it doesn't allow selection before current month (I guess startDate month)
startDate is always current Date, so yes, the issue cell is outside my config startDate and endDate

Using master version seems to fix the issue. Thanks.

@bitomule Cool.
Well yes, the issue was fixed on master branch. This will be officially released soon.


Installing Benchbot on a GPU-accelerated VM?

Hi,
I have tried to install Benchbot from a Google Cloud Platform VM with GPU (Nvidia Quadro virtual workstation).
All the Nvidia drivers are mounted correctly and visible from nvidia-smi. However the Benchbot install script
fails because it cannot access the graphics card:

Is there any alternative way to install Benchbot without direct access to the physical card?
Thanks!

Thanks for sharing the issue with us @achiatti.
The check I have there is too restrictive and has caused issues in other cases. I'm doing a minor version update at the moment to improve the check, and I'd like to make sure the fix addresses the issue you're having as well. Are you able to post the output of lspci -nn on that VM for me so I can ensure my update addresses your issue?
As a hack so you can get up & running immediately, you can disable the check by commenting it out in the checks_list_pre variable in the install script:
index c96b2f7..e4fa636 100755
--- a/bin/benchbot_install
+++ b/bin/benchbot_install
@@ -105,7 +105,7 @@ checks_list_pre=(
   "Core host system checks:"
   "ubuntu1804"
   "Running Nvidia related system checks:"
-  "nvidiacard"  # Is a valid graphics card available?
+  # "nvidiacard"  # Is a valid graphics card available?
   "nvidiadriver"  # Is the driver available?
   "nvidiaversion"  # Is the driver version valid?
   "nvidiappa"  # Does the driver come from a supported PPA?

Let me know if you have any further issues.

Thanks for your reply and suggested quick-fix @btalb, and here you go:
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
00:01.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 03)
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
00:03.0 Non-VGA unclassified device [0000]: Red Hat, Inc. Virtio SCSI [1af4:1004]
00:04.0 3D controller [0302]: NVIDIA Corporation Device [10de:1eb8] (rev a1)
00:05.0 Ethernet controller [0200]: Red Hat, Inc. Virtio network device [1af4:1000]
00:06.0 Unclassified device [00ff]: Red Hat, Inc. Virtio RNG [1af4:1005]

Thanks for the information @achiatti. This confirms it is the same issue (card not being called "VGA compatible controller") which I've addressed with commit 46af27cc25af429a604f2ce58e3e37802e5b379a.
The fix will be live for everyone when I merge those bug fixes into master / do the next release in a couple of days.

Fix released in 258bd60 as part of release v1.0.2.
Simply re-run benchbot_install to update.


Rewrite the toolbox scripts with a proper CLI parameters handling framework

from @omertuc's words:

the ad-hoc / messy arg parsing each script does now is getting a bit out of hand, maybe we should consider transforming the toolbox from a bunch of shell scripts to something like https://click.palletsprojects.com/en/8.0.x/ or https://github.com/google/python-fire (or anything else we like from this list)
This will be more maintainable / give us --help for free.

Addressed by https://github.com/openshift-psap/ci-artifacts/pull/214
/close


Improve story code blocks convention

Currently, they are defined as e.g.:
```source-env:something
// some code
```

It is reasonable that:

We want to support non-Source languages
We want to have Source code that is non-executable
We want to follow standard conventions

Proposal:

Standardise to use code blocks metadata (using spaces) for settings```source env:something
// some code
```

Follow R-markdown style conventions to differentiate between executable and non-executable code blocks:

Executable:```{source}
// some code
```

Non-executable:```source
// some code
```

@martin-henz can I get your thoughts on this? It will also greatly improve parsing/other logic (see #2598, #2599) as these conventions mean we can leverage existing tools instead of creating our own hacky implementation.

@martin-henz can I get your thoughts on this? It will also greatly improve parsing/other logic (see #2598, #2599) as these conventions mean we can leverage existing tools instead of creating our own hacky implementation.

Of course, there's also the benefit for authors in that they don't have to refamiliarize themselves and can stick to their knowledge of existing conventions to write stories.


Toolbar Dropdown Options and Image upload Not working

Paragraph dropdown is not working. Also if i am trying to upload a file even though the pop up opens when I select a file nothing happens. Although uploading image using link is working.

Figured it out:
Need to import bootstrap js file.
import 'bootstrap/dist/js/bootstrap.js';


Assign zero to range when ConvexPolygonShape2D is empty.

Prevents a null pointer dereference and an array index out of bounds. Results in an empty ConvexPolygonShape2D being treated as an empty shape.
Fixes #36533

Thanks!

Cherry-picked for 3.2.2.


Where is flow folder?

Great work! But in READNE it mentioned "In this work, optical flow is estimated by [RAFT] (https://github.com/princeton-vl/RAFT), with the code provided in the flow folder.". But somehow I am not able to find the flow folder. Do I miss something here?

Thanks for pointing this out. The flow folder has now added to the repo.

Thank you!


add cron registration status updates for Android devices

It would be good to query C2DM and GCM for accurate registered/unregistered status and provide that feedback to the sender if using an unregistered device and there is no new registration id in our registration table. Perhaps this could be done daily.

Linked to #12, but will probably be rolled out separately.

There is not a goof 3rd party server status check for this like iOS, so for now we can mark registrations inactive when a message has not been received in over several weeks.


Validation not working with if.bind.

Validation does not function when interacting with if.bindings. The initial elements are bound to correctly and validate the first  However the elements that are not yet in the DOM are not bound to when they are loaded into the DOM.
There should a means of binding to these elements for validation.
this.obj = {
  foo: '',
  bar: '',
  baz: '',
  foobar: false;
};

{
  validation.on(this.obj)
    .ensure('foo')
      .isNotEmpty()
    .ensure('bar')
      .isNotEmpty();
}

loadMoreFields(){
  this.obj.foobar = true;
}

As expected an input as such works.
<input type='text' validate='foo'  value.bind='obj.baz'>

An input as below does not work.

  <input validate='bar' value.bind='obj.bar' />

Sorry I don't quite follow - you don't have a value binding in there anywhere.  When you say it doesn't work could you be more descriptive so I can reproduce what you mean?

Sorry. The issue that I am having is that the fields in the form that are not behind an if.bind are validated correctly. However, the form fields behind the if.bind do not validate.
When the page loads initially any field that is there regardless of the if bind are validating as one would expect. When the user causes the if binding to be true then the form is given further fields. These fields that were loaded after into the DOM are not validating. Even as the validation and fields are bound to the object that I am validating on.

Think I have found the same problem as this.. If you take the following form :
<form validate.bind="validation">

            <input type="text" value.bind="Forename" />

        <input type="text" value.bind="Surname" />

</form>

For me, when Forename gets displayed, even though validation does work the validationViewStrategy doesn't add the attributes to the form.  I'm using my own strategy here and prepareElement / updateElement are never called for the newly created/bound Forename element.

@PWKad With a potential rewrite will this issue be solved?

Thanks for submitting this / commenting on this.  At this time we are closing this because we have completely re-written and are deprecating the previous feature set.  If you feel this should be re-opened please feel free to review this blog post and submit either again on this repository, or on the new validatejs bridge repository
Thanks again!


Server crash

It seems our server crashed recently.
I just fixed it.
May I ask you to re-run the trigger.yml action? (or add me as a collaborator of this repository so that I could re-run it myself).
Thank you.

I just ran it, thanks for the heads up!


Set TMPDIR for tox environments

This affects Python's tempfile module, which should improve
performance for tests that scan /tmp.
Ex: If a test pipeline writes sharded files to the prefix /tmp/tmp74ic4z8l (not a directory, generated via tempfile.mkstemp or tempfile.NamedTemporaryFile), then it will very likely scan the containing directory /tmp for files matching the tmp and output file glob pattern (see FileSystems.match() calls in FileBasedSink).
Alternatively: these tests could be fixed to create a subdir in /tmp or
periodically clean up /tmp on Jenkins nodes.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Waiting for https://github.com/apache/beam/pull/10457

Run Python PreCommit

R: @angoenka @TheNeuralBit


Fixing issue https://github.com/google/tink/issues/224.

Cherrypick of https://github.com/google/tink/commit/08405fb55ba695b60b41f7f9ae198e5748152604 into 1.2 branch.
Original description:
Problem was: isOnCurve did not reduce the limbs before checking for equality.

Is there an ETA for when 1.2.3 will be released?


Add login and logout command

closes https://github.com/inductiva/tasks/issues/419
This pull request improves the user onboarding experience for both Windows and Linux users by eliminating the need for environment variables when logging in. The API key is now stored in a local file, making it easier for users to set up without having to manually configure environment variables.
Key Changes:

The INDUCTIVA_API_KEY environment variable is still supported for backward compatibility, but it will only be used if defined. If both the environment variable and the local file are present, the environment variable will take priority.
Users can now use the inductiva login command to authenticate and store their API key in a local file within the inductiva folder. inductiva logout will remove the local file and logout the user.

Possible improvements:

Fix existing bug: https://github.com/inductiva/tasks/issues/585;
Encrypt API key: huggingface and wandb do not encrypt it;

Important:

To test this command it is recommended to not have INDUCTIVA_API_KEY set, otherwise inductiva will always use the environment variable.

Example Workflow:
1.  You can obtain it from your account at https://console.inductiva.ai/account.
Please paste your API key here (input will not be visible):
Login successful.

2.
    Setting a new API key will erase the existing one.
    To log in, you need an API key. You can obtain it from your account at https://console.inductiva.ai/account.
Please paste your API key here (input will not be visible):

3. Logging Out:
$ inductiva logout
Logout successful.

4. Logging Out (Logged out:
$ inductiva logout
Error: You are not logged in.

Can't the login open a browser window to log in in the console and going that would create the file with the api key on the local computer ?

Can't the login open a browser window to log in in the console and going that would create the file with the api key on the local computer ?

It is possible to do it, however it might be too confusing for the user. Imagine a browser opens with the account page. The user has no idea what he should do and most likely he will return to the terminal to read the instructions.


Not provided optional values are returned as null in mutation

First of all thanks for this great library. I am migrating my Graphql code from the ferry package right now and the generated code here is a lot more straightforward and reusable.
I have the following mutation:
mutation CreateEmailInvites($invites: [invites_insert_input!]!) {
  insert_invites(objects: $invites) {
    returning {
      id
    }
  }
}

and using it with the generated client code for the graphql package like so:
_client.watchMutationCreateEmailInvites(
            GQLWatchOptionsMutationCreateEmailInvites(
              eagerlyFetchResults: true,
              variables: VariablesMutationCreateEmailInvites(
                invites: inviteInputs
                    .map(
                      (invite) => InputinvitesInsertInput(
                        inviteCode: invite.inviteCode,
                        email: invite.email,
                        inviterId: invite.inviterId,
                        name: invite.name,
                      ),
                    )
                    .toList(),
              ),
            ),
          )

Now the issue is that the Invites model in my graphql API has additional optional values that I am not passing along, but instead of omitting them the generated payload in the final request sets them to null:
{
  "operationName": null,
  "variables": {
    "invites": [
      {
        "created_at": null,
        "email"<EMAIL_ADDRESS>        "id": null,
        "invite_code": "VIMtrBLA40",
        "invitee_id": null,
        "inviter_id": "886f91c3-4162-4391-a187-7cad9c9b666d",
        "name": "Johannes",
        "profile": null,
        "status": null
      }
    ]
  },
  "query": "mutation CreateEmailInvites($invites: [invites_insert_input!]!) {\n  insert_invites(objects: $invites) {\n    returning {\n      id\n      __typename\n    }\n    __typename\n  }\n  __typename\n}"
}

My graphql server rejects this request as null values are not allowed on these fields.
How can one send a partial insert or update request without including other fields as null values? Thanks a lot for your help.

Thanks for reaching out. This is interesting, I'm very surprised about the servers handling of this, but I think I understand the use case. Let me have a look and a think, as a quick fix you might be able to extend the variables class  and overwrite the serialisation with a custom implementation?

@budde377 thanks a lot! Using modifying the json_serializable setting fixed this issue. I am using Hasura as a GraphQL backend server.  Hasura does not accept null values as such.

I encounter the same issue with Strapi v4 graphql backend!!
Thanks for the workaround guys!
Saved my day.

Due to issues with serialization of cache methods, there's a new option to only strip fields containing null from input serializers.
https://github.com/heftapp/graphql_codegen/tree/main/packages/graphql_codegen#strip-null-from-input-serializers


click.Abort() does not abort the current prompt

I'm trying to setup a limit of password attempts for security reasons, I had a hard time having it working and I'm using this workaround.
import click
import ftp_auth # my own module
from cryptography.exceptions import InvalidKey
import sys

class Authentication:
    COUNTER = 3

    @staticmethod
    @click.command()
    @click.password_option(confirmation_prompt=False)
    def log_admin(password):
        if Authentication.COUNTER <= 0:
         # Tried to use click.Abort()
            sys.exit(
                "Too many connection attempts. You're being disconnected.")
        password = password.encode("utf-8")
        try:
            ftp_auth.verify_password(password) # checks if hashes match to validate password
        except InvalidKey:
            click.echo("Incorrect password.")
            Authentication.COUNTER -= 1
            Authentication.log_admin() # call the login prompt again while the password is not correct
        else:
            click.echo("Successful authentication.")

if __name__ == '__main__':
    Authentication.log_admin()

In this case, abort does not abort at all and I have to use a system exit instead. Am I going the wrong way about this?
Python version : 3.9.6
Click version : 8.0.1
Thanks for the help

It's an exception, you have to raise it.


Prompt outputs failed validation CogVideoDecode: - Exception when validating inner node: tuple index out of range

Text-to-video workflow failing at cogvideo decode node after update.
cogvideo-5b-v2.json

Please read  the readme that I updated with this big update, old workflows do not work as they are, you would either have to refresh (right click and fix node, or re-create the offending node) or use one of the new example workflows after updating.

The new text to video json in the examples folder works. Thank you!


simulate media queries ?

Is it possible to simulate media queries ? I found no evidence of this in source code :
just a skipped test in travis https://travis-ci.org/threepointone/glamor/builds/148275309
can simulate media queries (skipped)

It should be possible, I haven't gotten around to it tho.

actually, I can't think of a way to do this cleanly. but now that nesting of arbitrary rules is possible, it should be simpler to design in isolation, and then wrap with a media query. closing for now, lemme know if you need anything. removing the stub test too.

I think I may have the wrong approach to this issue. I should focus on container size adaptation rather than media queries


Prepare version 0.0.9 for publishing

Hello :octocat:
Here are some changes I made to allow publishing the VSCode extension to the marketplace. Here is the published extension: https://marketplace.visualstudio.com/items?itemName=informal.quint-vscode
I published before opening the PR because I had to iterate a bit with Microsoft's verification on publishing to get things right.
The README and the CHANGELOG still need some improvements. I'll do that next (in a new PR) and cut the 0.1.0 release (after the new PR is merged).

For the future, it would be great to keep the versions of all quint packages (including the extension) in sync.

I don't think that is a good idea. There are dependencies between those packages and they are published independently (for now the server is embedded in the extension, but we'll probably publish it independently as well). Imagine that we have to cut a release of the LSP and the client every time we make a change to the tool? Or bump the tool because we change some UI thing in the extension client?

How about keeping major.minor in sync and let the revisions deviate?


revise and correct Catch time series plot

This plot needs revision:
Historical catches  should only extend to year -1
The proposal is to have a gap after historical catches and then represent the catch scenarios with markers, without lines.
To be discussed with @colinpmillar , @Milldaz and @sarahlmillar

To check:

[ ] her.27.20-24


There is medium vulnerability (CVE-2020-11022)  in golang.org/x/tools-v0.1.12 -

Vulnerability: CVE-2020-11022
Could you please update to the last version golang.org/x/tools 0.7.0

@AlekseiKromski Thanks for reporting!


how to save the oauth token for later use

how we can save the tokens for authenticated user in pur database to use it at later stage? please assist.

can anyone provide me the answer for my query please?

Hi vickyagrl,
Can you please be more specific please?
Are you interested in saving a tocken into a database?

yes. I want to save the tokens in my database so that i can use it at any later point of time to send the posts to the user profiles.

Hello,
Unfortunately saving to database is out of the scope of this API(due to various reasons - client's own database schema, client's own DB server, etc) and due to the same reasons we don't plan it to be supported in future. However you may find some useful tutorials about saving to database (depending on technology), based on the most used java APIs here:
https://docs.oracle.com/javase/tutorial/jdbc/basics/ (if you're going to vanilla jdbc as persistance layer)
http://www.tutorialspoint.com/hibernate/hibernate_tutorial.pdf  (if you're planning to use hibernate as ORM)
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/jdbc.html (if you're planning to use spring)

@vickyagri - please try
https://github.com/3pillarlabs/socialauth/tree/master/socialauth-cmd-utility
As Stefan has already mentioned that there is no direct way, however you
can use this utility to generate a long lived token for providers that
support this functionality.
On Mon, May 4, 2015 at 2:35 PM, stefanbaritchii<EMAIL_ADDRESS>wrote:

Hello,
Unfortunately saving to database is out of the scope of this API(due to
various reasons - client's own database schema, client's own DB server,
etc) and due to the same reasons we don't plan it to be supported in
future. However you may find some useful tutorials about saving to database
(depending on technology), based on the most used java APIs here:
https://docs.oracle.com/javase/tutorial/jdbc/basics/ (if you're going to
vanilla jdbc as persistance layer)
http://www.tutorialspoint.com/hibernate/hibernate_tutorial.pdf (if you're
planning to use hibernate as ORM)
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/jdbc.html
(if you're planning to use spring)
—
Reply to this email directly or view it on GitHub
https://github.com/3pillarlabs/socialauth/issues/49#issuecomment-98642474
.

You can save the serialized AccessGrant object or only accesstoken where you what to persist.
To get AccessGrant object use
AccessGrant accessGrant = provider.getAccessGrant();
Save this object or
String token = provider.getAccessGrant().getKey();
Later you can use this to get provider object.
If you are saving AccessGrant object then you can use
socialAuthManager.setSocialAuthConfig(socialAuthConfig)
socialAuthManager.connect(accessGrant) method can be used to get AuthProvider object.
If you are saving token only then you can use
AccessGrant accessGrant = new AccessGrant();
accessGrant.setKey(token); //pass saved token
accessGrant.setProviderId(providerId); //pass provider id for which this token in generated like facebook, linkedin
AuthProvider provider = socialAuthManager.connect(accessGrant);

I hope above response helped you to sort out persistence issue.

Thanks a lot Tarun. I am to store the tokens and can use it perfectly for later use.


Add MoSCoW method for requirements.

MoSCoW is a simple method which gives a bit of structure to the list of requirements. We should use it.

I think that should be part of roadmap. Currently we're missing ROADMAP.md we should think about it and I this would go into this file in my opinion.

I think what Lourens means is to use this MoSCoW method on the estep-checklist. In my opinion, if we use Github milestones correctly (I don't think any NLeSC project does), there isn't that much need for ROADMAP.md. Of course, in milestones we could also use the MoSCoW method.

I think Lourens meant MoScoW for the software. At least that's what I can tell from the file changes in pull request. @LourensVeen please correct :).
I do think roadmap becomes important when you want to attract external contributors. People will want to know that the project is going the same direction they are interested in if they're going to invest their time in it.

No, I meant using MoSCoW for the software, not for the checklist. Although of course we could apply the checklist to the checklist and ascend to a meta-recursive state of zen, but then we need to order Mateusz some wireless headphones so he can float through the office unrestrained by cabling.
Anyway, my main point is that MoSCoW is a nice tool for organising requirements, and that we should use it, mainly at the beginning of a project and at any re-plannings along the way.
The list of MoSCoW-prioritised requirements could be on the project manager's laptop, but why not make it part of the project documentation? As Mateusz says, it's nice for (potential) external contributors to have an idea of where we are going.

You can easily do it in github with Labels; just standardize on the naming. 'Must' = blocker, 'Should' = highly desired / milestone, 'Could' = potential feature, 'Would' = nice to have, but dont wait for it.
Or, an alternative interpretation:
Must: certain
Should: likely
Could: not likely
Wont: definitely not

Well, but then you'd need some rather broad issues, which would be open for the duration of most of the project. Maybe it's better to have that separate from the day-to-day work?

Migrated to https://github.com/NLeSC/guide/issues/17


Pebble.js compilation fails for Pebble 2 / Diorid

Originally posted this in https://forums.pebble.com/t/pebble-js-support-for-pebble-2-diorid/ Seems several persons have this problem, both using cloud pebble and the sdk locally

There’s now a tick box in Pebble.js for Pebble 2 / diorid. But when i tick it, the compilation fails with:
[ 51/127] diorite | c: src/simply/simply_msg.c -> build/src/simply/simply_msg.c.31.o
In file included from
/tmp/tmpzJDE1o/src/util/color.h:3
:0,
from ..
/src/simply/simply_res.h:5
,
from ..
/src/simply/simply.c:4
:
/tmp/tmpzJDE1o/src/util/compat.h:17:14: error: nested redefinition of 'enum GBitmapFormat'
/tmp/tmpzJDE1o/src/util/compat.h:17:14: error: redeclaration of 'enum GBitmapFormat'

I am added support for dioride in this pull request: https://github.com/pebble/pebblejs/pull/170

It's still a problem, both on Cloudpebble and locally, fyi. Can't compile for Diorite, but any other platform is fine.


Does it support custom receiver apps?

Nice lib BTW :)

It supports custom ids. Not sure if that solves your question.
Thanks! :)

And sending session messages?

nope so far.

ok, thanks 👍


add coder to the Open a Remote Window list

Closes #93
We added  Coder actions to the "Open a Remote Window" menu list.

Maybe you should remove the preceding Coder from
Coder: Open Workspace


add button to reset zoom on overview map

Resolves USEPA/TADAShiny#86

Codecov Report

Merging #355 (3b0890c) into develop (b025c2e) will increase coverage by 0.04%.
The diff coverage is 0.00%.

:exclamation: Current head 3b0890c differs from pull request most recent head a9266eb. Consider uploading reports for the commit a9266eb to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@             Coverage Diff             @@
##           develop     #355      +/-   ##
===========================================
+ Coverage    53.38%   53.43%   +0.04%
===========================================
  Files           12       12
  Lines         2986     2987       +1
===========================================
+ Hits          1594     1596       +2
+ Misses        1392     1391       -1

Files
Coverage Δ

R/Figures.R
0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes
:mega: Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!


Auto annotation added to the frontend

Hi, how we can do that?

Hey! is there a guide on how can I integrate my ML model endpoint into my annotation tool?


When  I inference,how to change the tone?

I do not find any param for tone change,if there are params for tone change in inferencing?

@learnerkun For fastspeech2, you can change f0_ratios, energy_ratios, let see the code here https://github.com/TensorSpeech/TensorflowTTS/blob/master/tensorflow_tts/models/fastspeech2.py#L218-L220.

Ok，Thanks！


RC npm: do not recommend publishing from CI

Automation publish tokens are explicitly one-factor, which imo is less secure than publishing directly from a dev's laptop.
If npm supported staged builds, then publishing a staged build from CI, and then a human using 2FA locally to "promote" it, would be the most secure way to publish - but lacking that, the best I think we can get is using CI to generate a tagged release commit, and then having a publisher locally download it, run npm install or npm ci, and npm publish.

Closed with #27


Allow errorHandlerSupplier to re-init

We noticed @ExceptionHandler annotated methods are not getting picked up in our application. After debugging this is because GraphQLErrorStartupListener only initializes the errorHandlerSupplier on the first ContextRefreshedEvent event. This is an issue because the application has not registered all beans. By removing the if statement we now see all factories inside GraphQLErrorFromExceptionHandler

Hi, thanks, that might resolve my issue as well! https://github.com/graphql-java-kickstart/graphql-spring-boot/issues/309
I think you should squash your 2 commits. Also, seems like your git email is wrong since these commits don't link to your github account.

Thanks!


Avoid crashing on JS exceptions when app is exiting

Motivation
Crashes
While testing awakened-poe-trade on Mac, I noticed that quitting Awakened POE Trade would cause a crash instead of exiting gracefully.
To reproduce:

Checkout the pull request for Mac at #403
yarn electron:serve in awakened-poe-trade
Open PathOfExile and use it for a little
Use the tray to quit Awakened POE Trade

It'll give a stacktrace like this and an unexpected closing error:
FATAL ERROR: uiohook_to_js_event napi_define_properties
 1: 0x112458395 node::Buffer::New(v8::Isolate*, char*, unsigned long, void (*)(char*, void*), void*) [/Users/harry/code/awakened-poe-trade/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 2: 0x112458534 node::Buffer::New(v8::Isolate*, char*, unsigned long, void (*)(char*, void*), void*) [/Users/harry/code/awakened-poe-trade/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 3: 0x1124583b9 node::Buffer::New(v8::Isolate*, char*, unsigned long, void (*)(char*, void*), void*) [/Users/harry/code/awakened-poe-trade/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 4: 0x112431ac4 napi_fatal_error [/Users/harry/code/awakened-poe-trade/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 5: 0x119a0b236 uiohook_to_js_event [/Users/harry/code/awakened-poe-trade/node_modules/uiohook-napi/prebuilds/darwin-x64/node.napi.node]
 6: 0x119a0b271 tsfn_to_js_proxy [/Users/harry/code/awakened-poe-trade/node_modules/uiohook-napi/prebuilds/darwin-x64/node.napi.node]
 7: 0x1124343ae napi_ref_threadsafe_function [/Users/harry/code/awakened-poe-trade/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 8: 0x10fb1253f uv_idle_stop [/Users/harry/code/awakened-poe-trade/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]
 9: 0x10fb0c5ac uv_run [/Users/harry/code/awakened-poe-trade/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework]

Hang when exiting
Sometimes, when I close Awakened POE Trade via the dock, it fails to exit. It seems to do this only after the error message:
CGEventTap timeout!

Fix

Added extra logging to errors where the status is not OK

We now also try to get the latest original error and add that to the printed message. From that, I saw that the error was actually caused by a pending exception

Instead of crashing on pending exceptions, just return ASAP to allow the JS to take over, per the recommendations from Node.js docs

Added new macro to return on pending exceptions

Added patch to libuiohook to avoid stopping the event thread. This prevents libuiohook from hanging and stopping the app from exiting

Testing

Run yarn prebuild on local version
yarn add ../uiohook-napi to install local version
Run through same steps. No error occurs

I'm also seeing this CGEventTap timeout! crash occur intermittently when synchronous/modal system dialogs are in use while uiohook-napi is running in Electron/Mac. Seems like it happens if a synchronous dialog is shown via dialog.showMessageBoxSync() and keyboard keys are pressed while the dialog is up. Doesn't happen totally consistently but the likelihood of it crashing seems to increase the longer the dialog remains onscreen. I'm able to mostly avoid it by making sure to call uIOhook.stop() just before spawning any sync dialog but still get the crash sometimes.

Still encountering the CGEventTap timeout! crash in an Electron app on macOS sometimes, especially on older/slower Intel Macs. Tends to happen when my Electron app is backgrounded and some intensive app is in the foreground with heavy cpu use. The result is that my app keeps running but the uiohook process stops working, and it's a real showstopper because AFAICT it's impossible for my app to detect when it enters this state, but then once it's in this state any call to uIOhook.stop() crashes the entire app.
@hsource I know this thread is old and this might have left your headspace long ago, but I was wondering what your fix here actually does on the CGEventTap timeout! event. I see that your changes prevent a crash but also seems to prevent the input listening process from restarting, is that correct? Seems like you were trying to simply avoid a crash on quitting, but the side effect is that if we're not quitting, the hook becomes disabled. If the CGEventTap timeout! occurs during normal use and not when quitting as in the case I described above, then uIOhook would have to be stopped and restarted (from JS) in order to regain key input listening?

I wonder if this recent commit to libuiohook 1.2 that changes memory allocation handling in create_event_runloop_info() and destroy_event_runloop_info() would help with this issue https://github.com/kwhat/libuiohook/pull/166

Sorry, I haven't touched this library in a while and don't think I'll have time to look into it more deeply. I'm not sure if it's related, and never really found the root cause. Your hint does seem possible!
My guess is that there's some race condition or a thrown error in native code that makes it get stuck. I haven't looked into it more deeply though.

I am also often troubled by this problem. The program stops working properly after a while. I hope this issue will be resolved soon.😵💫

I am also often troubled by this problem. The program stops working properly after a while. I hope this issue will be resolved soon.😵💫

Have this issue fixed, im facing this issue my app goes in not responding state in mac.

I noticed the recent release of uiohook-napi (v1.5.1) incorporates the above-mentioned fix in libuiohook (thanks @SnosMe!) but I haven't tested it on Mac yet. @mushan0x0 @komSh I wonder if you're still seeing this issue even in latest v1.5.1?

I noticed the recent release of uiohook-napi (v1.5.1) incorporates the above-mentioned fix in libuiohook (thanks @SnosMe!) but I haven't tested it on Mac yet. @mushan0x0 @komSh I wonder if you're still seeing this issue even in latest v1.5.1?

Thank you for your efforts. After testing, the issue still exists in v1.5.1.

Confirming that I also still get the occasional CGEventTap timeout! error in v1.5.1 which leads to silent failure of the hook and eventually crashes. Still really hard to trigger it though, tough to debug. Will try to investigate further when I have the time.

same question，When running on a mac for a while exit software will not respond

The CGEventTap timeout error is fixed by #37 or https://github.com/kwhat/libuiohook/pull/184
This does not fix that issue, so I'll close this.


Fix manila multi network fail.

Manila starts every manila-share container at the same time so each controller creates a new "Manila network" ending in a "ServiceInstanceException: Ambiguous service networks."
Reference:
https://opendev.org/openstack/manila/src/commit/9dfdc680ad9dcd7025e0e355c6e1d26359959030/manila/share/drivers/service_instance.py#L756

Thank you for contributing to openstack/kolla-ansible!
openstack/kolla-ansible uses Gerrit for code review.
If you have never contributed to OpenStack before make sure you have read the
getting started documentation:
https://docs.openstack.org/infra/manual/developers.html#getting-started
Otherwise please visit
https://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.


Is it possible for Penn Treebank Language model using MXnet In R apply on new input?

Currently, I working on NLP problem using Char-based RNN(LSTM).Is there any example on how to apply it further on new input to check whether the new input is similar to the training input or not?
I had gone through the vignettes example for MXnet in R.Hope to get some insight to move forward

Hi @SINsing Thanks for trying out MXNetR. Could you please provide more context of the question.
How does your new input data looks like and what do you exactly want to do so that we may help you over the issue.
@nswamy @sandeep-krishnamurthy Could you please tag this issue as Pending Requester Info

@sandeep-krishnamurthy @nswamy Could you please close this issue due to inactivity
@SINsing  Please feel free to reopen if closed in error


fix update secure flag to false

Proposed changes
Issue Number: close #xxx

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

run buildall