[WIP] Bug fix of election contract and aedpos contract.

Fix bugs:
Contracts:

[x] Check sender in ChangeVotingOption
[x] Maintain AllObtainedVotedVotesAmount in ChangeVotingOption
[x] GetCurrentMinerPubkey method in AEDPoS Contract.

Network:

[x] Request metrics were recorded twice.

:x: Build AElf <IP_ADDRESS>02 failed (commit https://github.com/AElfProject/AElf/commit/9da17a3182 by @llypb)

:x: Build AElf <IP_ADDRESS>18 failed (commit https://github.com/AElfProject/AElf/commit/a78d95ff90 by @rosona)


Develop

Fixed problem with locating start position when read are unaligned
Fixed problem when pointing directly to bam file

Thanks for this PR.
Regarding setting the default start position, this was originally discussed issue #27. My thought then was that we only need to look at the first read in a BAM file, since the reads need to be sorted anyway and so if there are any unaligned reads they should be at the end of the file. With the current change, one could end up examining every read in a potentially very large BAM file to set the default location, which could take a very long time. Thoughts?

For your test case, was the bam file sorted? Was it perhaps sorted by name rather than coordinate?
We could limit the number of reads to go through as you suggest, but first I'd like to understand why your example didn't work with the current method.

Ok I've checked this now. The first two reads in my file have 0 in mapping quality and is flagged as unmapped. I guess that the reason for them to not be in the end of the file is that their mates are mapped, but I'm not 100%.
Anyway there might be different explanations to this that is also dependent on what software that performed the mapping.
So maybe it's a good thing to look further into the bam than only the first read?

Was your BAM file indexed and sorted by coordinate? Could you possibly paste the SAM file with the first ~5 reads here?
Anyway, if this is the case, I agree it could make sense to check the first n reads where n is something small.

HISEQ:63:H82C9ADXX:1:2215:2626:72342	101	20	60076	0	*	=	60076	0	TCCTACTGAGAGAAACCAAAATATTGAGTAAACTATCCCACTTTGAACAGAATTTTTAAGAGAAAAAACTGAAAGTTAATAGAGAGGTGACTCAGATCCAG	BBBFFFFFFFFFFIIIIIIIIIIIIIIIIFIIIIIIIIIIIIIIIIIIFFIIIIIIIIIIIIIIIIIIFFFFFFFFFFFFFFFFFFF<BBFFFFFFFFFFF	ZA:Z:<@;0;;;0;;><&;27;;;1;101M;101>	RG:Z:118-1-2A.140113_H82C9ADXX_GATCAG.lane1
HWI-D00450:67:H8AHNADXX:1:1111:11290:19503	101	20	60076	0	*	=	60076	0	TCCTACTGAGAGAAACCAAAATATTGAGTAAACTATCCCACTTTGAACAGAATTTTTAAGAGAAAAAACTGAAAGTTAATAGAGAGGTGACTCAGATCCAG	BBBFFFFFFFFFFIIIIIIIIIIIIIIIFFIIIIIIIIIIIIIIIIIIFFIIIIIIIIIIIIIIIIIIFFFFFFFFFFFFFFFFFFFBBFFFFFFFFFFFF	ZA:Z:<@;0;;;0;;><&;27;;;1;101M;101>	RG:Z:118-1-2A.140128_H8AHNADXX_GATCAG.lane1
HISEQ:63:H82C9ADXX:1:2215:2626:72342	153	20	60076	27	101M	=	60076	0	AACAGGTGGTAAGGAAGGAGAGAGTGAAGGAACTGCCAGGTGACACACTCCCACCATGGACCTCTGGGATCCTAGCTTTAAGAGATCCCATCACCCACATG	FFFFFFFFFFFFBBFFFFFFFFFFFFFFFFFBFFFFIIIIIIFFFBBIIIIFBIIIIIIFIIIIIIIIIIIIIIIIIIIIIIIIIIIIFFFFFFFFFFBBB	ZA:Z:<&;0;;;0;;><@;27;;;1;;>	MD:Z:101	RG:Z:118-1-2A.140113_H82C9ADXX_GATCAG.lane1	NM:i:0
HWI-D00450:67:H8AHNADXX:1:1111:11290:19503	1177	20	60076	27	101M	=	60076	0	AACAGGTGGTAAGGAAGGAGAGAGTGAAGGAACTGCCAGGTGACACACTCCCACCATGGACCTCTGGGATCCTAGCTTTAAGAGATCCCATCACCCACATG	FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFIIIIIIIIFFBIIIIFFIIIIIFFIIIIIIIIIIIIIIIIIIIIIIIIIIIIFFFFFFFFFFBBB	ZA:Z:<&;0;;;0;;><@;27;;;1;;>	MD:Z:101	RG:Z:118-1-2A.140128_H8AHNADXX_GATCAG.lane1	NM:i:0
HISEQ:63:H82C9ADXX:1:1210:6887:65615	99	20	60760	33	101M	=	61000	340	GTAACCTGTTTGTCAGCCACAACATCTTCCTAAGGGAGCCTTGTGTCCGGGAAAAACTGACAGACCAGTGATCTGGGTGCAGAAGGCTTGAGACAAAACTA	BBBFFFFFFFFFFIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIFIIIIIIIIIIIIIFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF	ZA:Z:<@;33;;;1;;><&;32;;;1;101M;98C2>	MD:Z:101	RG:Z:118-1-2A.140113_H82C9ADXX_GATCAG.lane1	NM:i:0
HISEQ:63:H82C9ADXX:1:1210:6887:65615	147	20	61000	32	101M	=	60760	-340	TGCCATGCCCAGGATCCTCTGCCCTTGATCCTGAATCAACAGACCACTTGCAGATATACTTCACAGCCCACGCTGACTCTGCCAAGCACAGACAACCATTG	FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFIIIIIIIIFFFFFFIIIIIIIIIIFFIIIIFIIIIIFFIIIIIFIIIIIIIIIIIIFFFFFFFFFFBBB	ZA:Z:<&;33;;;1;101M;101><@;32;;;1;;>	MD:Z:98C2	RG:Z:118-1-2A.140113_H82C9ADXX_GATCAG.lane1	NM:i:1
HWI-D00450:67:H8AHNADXX:2:2112:6252:95594	73	20	61055	27	101M	=	61055	0	ATACTTCACAGCCCACGCTGACTCTGCCAAGCACAGACAACCATTGGGCCCCAGGGGAGCTGCAGGTCTCCTGGTCACCTAATCTTTTTTTTTTTTATACT	BBBFFFFFFFFFFIIIIFIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIFFFFFFFFFFBFFFFFFFBFFFFFFFFFFFFFFFFFFFFFFFFFF	ZA:Z:<@;27;;;1;;><&;0;;;0;;>	MD:Z:43C57	RG:Z:118-1-2A.140128_H8AHNADXX_GATCAG.lane2	NM:i:1
HWI-D00450:67:H8AHNADXX:2:2112:6252:95594	133	20	61055	0	*	=	61055	0	GTTTGATAGTTTGCTGAGAATGATGGTTTCCAGCTTCATCCATGTCCCTGCAAAGGGCATGAACTCATCATTTTTTATGGCTGCATAGTATTCCATGGCAC	BBBFFFFFFFFFFIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIFFFFFFFFFFFFFFFFFFFFFFFFFF	ZA:Z:<&;27;;;1;101M;43C57><@;0;;;0;;>	RG:Z:118-1-2A.140128_H8AHNADXX_GATCAG.lane2
HISEQ:63:H82C9ADXX:1:1215:15890:18485	101	20	61443	0	*	=	61443	0	AACAGGCCCTGGTGCCATGGAATACTATGCAGCCATAAAAAATGATGAGTTCATGCCCTTTGCAGGGACATGGATGAAGCTGGAAACCATCATTCTCAGCA	BBBFFFFFFFFFFFIIIIIIIIIIIIIIIIIIFIIIIIIIIIIIIIIFFIIFFIIIIIIIIIIIIIFFFFFFFFFFFBFBFFFFFFFFFFFFFFFFFFFFF	ZA:Z:<@;0;;;0;;><&;27;;;1;101M;101>	RG:Z:118-1-2A.140113_H82C9ADXX_GATCAG.lane1
HISEQ:63:H82C9ADXX:1:1215:15890:18485	153	20	61443	27	101M	=	61443	0	TCACTCATAGGTGGGAATTGAATAATGAGAACACATGGACACAGGAAGGGGAACATCACACATCGGGACCTAATCTTAAGCTAAGTGTGGCTAAGAGCCTA	FBBBFFFFFFFFFFFFFFFFFFFFFFFFIIFFFIIIIFFFFIIIIFIIIFIIIIIFFBFFIFFIIIFFIFFIIFIFFIIIIIIIIIIIFFFFFFFFFFBBB	ZA:Z:<&;0;;;0;;><@;27;;;1;;>	MD:Z:101	RG:Z:118-1-2A.140113_H82C9ADXX_GATCAG.lane1	NM:i:0

I see. Even though the first two reads are unmapped they have a coordinate listed and get put at the top of the sorted bam file, which as you say probably differs between mapping software. According to the SAM specification an unmapped read "may also have an ordinary coordinate such that it can be placed at a desired position after sorting" which I was not aware of.
Anyway, so yes I think it makes sense to only look at the first "n" reads, where I was thinking n=~100. Sound good?

Nice to understand the problem!
Yes I guess 100 reads should be enough.

ok, would you like to add it :) and then I'll merge the PR? Should just need to add a simple counter.
Thanks for pointing this issue out!

Sure, I'll fix it tomorrow

Fixed this in the latest commit:)

looks good, just merged. thanks!


Reimplement ColorBox + ColorPicker

Reimplemented ColorBox and ColorPicker. Appearance/Functionality should be the same, just don't know how it behaves previously.
Breaking Changes:

ColorId on ColorBox is now readonly and the consumer of the ColorBox needs to provide the Gw2Sharp Color-Object for the box. This removes the need of an api call.

Here the control(s) in action: https://drive.google.com/uc?id=1uZsMH836PYzjTTy2X-dWcP4ULg-pmQkO
The position of the cursor seems off bc of YoloMouse

Thanks!


Can I translate README ?

Hello, i'm Web Developer from South Korea.
I am using clipboard.js very useful.
and i interested in translating README file to korean.
can i do it?

Although I love the idea of translating, I also know how hard it is to maintain translations. It's very easy to get things outdated as the project evolves, so for that reason, I would rather we not invest time on this issue. But thank you so much for willing to do that.


bug: The course content overflowing into the heading, also decreases the visibility of closing icon.

Describe the bug
The course content overflowing into the heading, also decreases the visibility of closing icon.
To Reproduce
Steps to reproduce the behavior:

Open a course.
Click on "Show Contents".
Scroll down in the Course Content(if scroll is not available, you just have to open enough sub-folders).
See the content overflowing.

Expected behavior
It shouldn't overflow into heading, which will make even the closing icon more visible.

This is the code for the background color in the codebase for the sidebar header !

This is the code thats being exicuted in the browser !

The background classnames are not being applied in the browser even if it is defined the code base ..

It's working perfectly fine on local and this is the screenshot i got from browser in development mode.

Meanwhile this issue is persent in Production..

Yeah ..

why would you close it?

@raghavdutt28 closing a lot of issues that are a duplicate to one another


Add explicit fall through comments.

 Last update 9db4aee...8bc39fc


Add an option for turning on a digital output pin for a user-specified duration in seconds

Add an option for turning on a digital output pin for a user-specified duration in seconds
Useful projects for this issue: Plant watering (only turn on a pump for 2 seconds), IoT projects which physically display notifications (If I get an email, briefly turn on a light. Discord event alerts. Webhook->WipperSnapper), briefly turning on/off solenoids.
We may want to consider this as a different component, or an "advanced option" for the digital output generic component.

This will be handled by an upcoming Action (Timer Action) instead of within the WipperSnapper messaging API.


ModelSelect2Widget is only two characters wide, Select2Widget works

ModelSelect2Widget is only two characters wide, Select2Widget works
See screenshot:

Do you have a clue what could be wrong here?

Hi @guettli ,
select2 automatically takes the size of the original input. You might want to check your CSS to change the select size.
Besides, this is a select2 issue. Please refer to their documentation and help desk.
Cheers,
joe

I solve my issue with this css:
.django-select2 {
    width: 14em;
}

:+1:

This works for me. Essentially, you can add any options that Select2 offers via data-* attributes this way:
        widget=ModelSelect2MultipleWidget(model=MyModel,
                                          queryset=MyModel.objects.all(),
                                          search_fields=['value__icontains'],
                                          attrs={
                                              'data-placeholder': 'Search for MyModel values',
                                              'data-width': '50em'
                                          })


[Starter Projects] Download Foundation 6 button skips page with download options

Expected Behavior
According to the Starter Projects video, the Download Foundation 6 button should take the user to a page which offers several options for selecting which Foundation package should be downloaded.
Current Behavior
Clicking on that button instead bypasses the download options page and proceeds to download Foundation-sites-6.6.3-CSS.zip immediately. Entering the URL shown in the video for the download options page results in the following error message.

Possible Solution
Restore the download options page.
How to reproduce:

Navigate to https://foundation.zurb.com (as instructed in the video)
Click on Download Foundation 6 (as instructed in the video)
Notice that the download options page does not appear
Note that a zip file is selected for you and downloaded.
Navigate to https://foundation.zurb.com/site/download.html (URL shown in the video)
Read error message

Context
The behavior described above removes the options to select a packaging of Foundation appropriate for the needs of the user.
Your Environment

Foundation version(s) used: 6.6.3
Browser(s) name and version(s): N/A (happens with any browser)
Device, Operating System and version: N/A (same behavior on MacOS, Linux, Windows)
Link to your project: haven't gotten that far

Checklist

[x] I have read and follow the CONTRIBUTING.md document.
[x] This is a bug report or a feature request.
[x] There are no other issues similar to this one.
[x] The issue title and template are correctly filled.

5\. Navigate to [foundation.zurb.com/site/download.html](https://foundation.zurb.com/site/download.html) (URL shown in the video)

This doesn't exists anymore since the project was given to the community. The zip file is what you are looking for.
What you are currently looking for is the customizer. Please see the pinned issue at https://github.com/foundation/foundation-sites/issues/12189 and carefully read my comments there.

Well, what I was really looking for was the correct forum for reporting the discrepancy between the documentation on the https://get.foundation web site describing how the download page for that site works and the actual behavior of that download page for that site, in the hopes that such a report would eventually result in getting that documentation of the site's behavior and the actual behavior to match again. According to https://get.foundation/get-involved/faq.html this is where such reports are supposed to be filed (see the link to this issue tracking page at that bottom of that page). What you're implying is that's not true, and this is not the place for such discrepancies to be reported. Can you please tell me where is the appropriate place?

Hi @bkline,
this is the correct place, but the videos are old and outdated.
Nothing that we can fix (we could only remove all old videos).


Improvements to /learn

Here are the discussed improvements:

[ ] add a button to the button stack to take user to the next challenge if the user has already completed some challenges.
[ ] remove "If you are new to coding, we recommend you start at the beginning." message if the user has completed a certain number of challenges.

i can help with this issue

sure, @Upinder123. I am getting these changes approved. They should be up for grabs in a day.

@ahmadabdolsaheb Even though I'm already logged in, when I go to fcc.org and click on the CTA, I'm redirected to the login page. We need a redirect to \learn if user is logged-in and not already present

[ ]  remove clutter from learn (most likely to shared elements between landing and learn should be removed) to make it learning focused

What do you mean by clutter? Can you please give me an example?

@ahmadabdolsaheb I've figured out how to check if a user has completed a challenge or not but how are we going to redirect a user to the next page?

[ ]   remove clutter from learn (most likely to shared elements between landing and learn should be removed) to make it learning focused

What do you mean by clutter? Can you please give me an example?

You are right. it was ambiguous,  so I removed it for now until we have a more concrete direction.

I've figured out how to check if a user has completed a challenge or not but how are we going to redirect a user to the next page?

No redirection is needed here. Just a button with a link to the right challenge.
If you need this functionality for the front page issue, I removed that feature request for now.

@ahmadabdolsaheb Even though I'm already logged in, when I go to fcc.org and click on the CTA, I'm redirected to the login page. We need a redirect to \learn if user is logged-in and not already present

Hmm, I am not sure if I am understanding this correctly, but login.js should navigate to learn if you are signed in.
const createOnClick = (navigate, isSignedIn) => e => {   e.preventDefault();   gtagReportConversion();   if (isSignedIn) {     return gatsbyNavigate('/learn');   }   return navigate(${apiLocation}/signin); };

@ahmadabdolsaheb apologies. I missed this.
When I'm on:

it does not redirect me to https://www.freecodecamp.org/learn even if I'm signed in.


Method to retrieve light levels from optics installed

This is a feature request.
It would be nice to have a method implemented across the various vendor drivers, such that light levels, ie, tx power and rx power, can be retrieved from the optics attached to the ports on the switch.
Is this something that is on the roadmap for napalm?

I think I've seen this request a couple of months ago - don't remember exactly where.
It would be interesting indeed, but I don't have it on my roadmap.
Do you have any output structure in mind? You can open a PR to discuss if interested.

I am working on modeling this. I will open a PR to discuss it once I have something tangiable to show for.

There was a proposal long ago but it led nowhere. Here it is in case it's useful:
napalm-automation/napalm#139
However, moving forward new getters should comply with the OC model unless there is no model. In this particular case this seems like a good candidate:
https://github.com/openconfig/public/blob/master/release/models/platform/openconfig-platform-transceiver.yang
As this is completely knew, I can probably try to help defining our model and maybe mocking something.

That's helpful 😄

It was just for reference, we should use the OC model anyway.

Sure, I was just trolling the previous "proposal"

@dbarrosop Sure David! It would be great if you could define a model based off of OC and we can discuss that before any code is written around it.

The model part should be easy, the tricky part is going to be adding the OC framework in napalm-base. But I will try to get something mocked over the weekend so you can work on the parsing side while I put the OC framework together.

sounds like a plan!

I am still trying to figure out what's the best way to do this. However, the dict that your object will have to return will be something like this:
{
   			"openconfig-platform:components": {
	    		"component": [
	    			{
	    				'name': 'et1',
	    				'transceiver': {
	    					'physical_channels': {
	    						'channel': [
	    							{
	    								'index': 0,
	    								'state': {
	    									'input_power': {
	    										'instant': 0,
	    										'avg': 0,
	    										'min': 0,
	    										'max': 0,
	    									},
	    									'output_power': {
	    										'instant': 0,
	    										'avg': 0,
	    										'min': 0,
	    										'max': 0,
	    									},
	    									'laser_bias_current': {
	    										'instant': 0,
	    										'avg': 0,
	    										'min': 0,
	    										'max': 0,
	    									},
	    								}
	    							}
	    						]
	    					}
	    				}
	    			}
	    		]
	    	}
	    }

There is an explanation of the attributes here:
https://github.com/openconfig/public/blob/master/release/models/platform/openconfig-platform-transceiver.yang

@dbarrosop Thanks for putting that together!
I am still curious as to whether the vendors support such granular information from the transceivers, ie, instant power, avg power, min/max power? The only info I have been able to find using cli commands on the vendor boxes thus far, is tx and rx power in Watts. Can you please help understand your thoughts behind the same?

The idea is that the models should work with any network device, that includes optical switches so those will most surely give more information. Nobody expect to have all the values on all the devices. For example, you can find this note on the definition:

If avg/min/max statistics are not supported, the target is expected to just supply the instant value";

A benefit of using OC vs building our own is that a lot of people is thinking how to structure those models so I guess the result will be less biased than if we would design our own model which would probably fix our current use case : ) Another benefit is that at some point this might be an industry standard so we might be able to get these from the devices directly without any sort of parsing.

Oh I completely understand the intent behind Openconfig and its applicability in the industry moving forward. Was curious to know your thoughts on the values that are not readily available from the vendors themselves. Thanks for clarifying that!

@dbarrosop I was looking at the proposed data model for this again, and was wondering what the 'physical_channels' and 'channel' values for a regular SFP port on a IOS/IOSXR, Junos or Arista Switch would be?

rule of thumb; if you have no idea what means use 0 as that's the default : )

Created a PR #58

Closing this one : )


Limit access to user directories?

Is there a way to limit each user's access to their own directory?

Look at these files https://github.com/mikedeboer/jsDAV/tree/master/lib/DAV/plugins/auth
I haven't gotten that far yet but I want to say that there is a method called to authenticate every action before it is performed. You will most likely need to fork jsDAV and create another "auth plugin". You can then add the git path as a dependency in your apps package.json file.


Looking for collaborators

As you could all see, I have no time to work on this anymore...
If some of you still use it and anyone is interested in becoming a collaborator, please lemme know!
/cc @dioptre @lukemcfarlane @maxbritto ...

Hello @huafu , sorry I'm no longer working on an emberjs project. Hope you'll find someone to take care of this.

Yes I miss ember! I wish it would have gained in popularity and I could have stayed on it. I have to come back to web development for a new projet and I don't really like those new frameworks. Which one did you choose ?

Thanks for the feedback! I was also going towards Vue, so this is reassuring to see you went down this path and ended up happy with it. Didn't know Quasar but it looks awesome! Thanks!
I think the word you're looking for regarding Ember is "opinionated" or "convention over configuration". Loved that too, once I got to understand it fully.

Yeah, it was on the tip of my tongue. The exact one I was looking for is "convention over configuration", but "opinionated"  actually describes better what I meant ;-)


coroutine

getting coroutine instead of g_response

in which method?

HCaptchaProxyless

Solved on PR https://github.com/andrersp/aioanticaptcha/tree/1-coroutine

did u releas it?

yeah.
https://pypi.org/project/python3-aioanticaptcha/


New command : move channel within cat

Needs a better name, obviously. But move channel within a category up or down.
Probably similar functionality as movecat. Needs a consistent naming between the two though
Will be similar to sortcat
Possibly just merge into move Chan (no)

Done in 425b89f as ~shiftchan
Movecat is renamed to ~shiftcat (alias kept for now)


tweak create-image.sh script and modify document about its deployment

Codecov Report

Merging #1022 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1022   +/-   ##
=======================================
  Coverage   67.53%   67.53%
=======================================
  Files         114      114
  Lines       20425    20425
=======================================
  Hits        13794    13794
  Misses       5985     5985
  Partials      646      646

Continue to review full report at Codecov.

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


Replace non-animated cache with animated cache

Hello there,
I found a bug when I try to switch the .abc file from a non-animated cache (exInframe=1,exOutFrame=1) to an animated cache (exInframe=1,exOutFrame=20) in the 'ExocortexAlembicFile1'
Last exocortex crate sources built on Centos6
Maya 2015

export a 'non-animated'
cache from a scene with transforms

from ExocortexAlembic import _export
/* select your mesh transforms */
_export.doIt(exportPath,1,1)

from the same scene, make an animated cache

/* make a fake anim /
/ select your mesh transforms */
_export.doIt(exportPath,1,20)

with the same scene, attach the non-animated cache to create all exocortex nodes

path = 'the non-animated.abc file'
importNormals = '0'
importUvs = '1'
importFaceSets = '1'
overTransforms = '1'
overDeforms = '1'
job = "filename=" + path + ";normals=" + importNormals + ";uvs=" + importUvs + ";facesets=" + importFaceSets + ";attachToExisting=1;overXforms=" + overTransforms + ";overDforms=" + overDeforms
cmds.ExocortexAlembic_import(j=job)
=> it creates the exocortex nodes but the in time of any 'ExocortexAlembicXform' and 'ExocortexAlembicPolyMeshDeform' is not connected to anything

Switch the filename in 'ExocortexAlembicFile1' with the animated.abc

=> the animation is not there
=> if I connect 'ExocortexAlembicFile1.inTime' on 'ExocortexAlembicXform.inTime', still not there
=> if I connect 'ExocortexAlembicTimeControl.inTime' on 'ExocortexAlembicXform.inTime' I got the animation
So would it be possible to have the time connected, no matter what the frame range of the export ?
If I did something wrong in my workflow, please let me know
Thanks,
Antoine

Hi Antone. I have the same problem. in my case i cant do attach alembic with deformed and with namespace. If you resolve the problem please tell me. Thanks.


docs: update README.md

Description
Github -> GitHub
Types of changes

[ ] Fix bugs
[ ] Add new feature
[x] Update documentation

📚 Documentation preview 📚: https://RDAgent--252.org.readthedocs.build/en/252/

Thanks for your contribution! We have merged your pull request.


Installation Error on windows 10

Hi,
I getting the following error while installing outline-client on windows 10. Please help.
Can anyone provide me 1.2.x version of outline-client

It looks like you downloaded two different versions of the Outline client.  The one marked Outline-Client (1).exe is newer and may have a fix for this issue.  In general our releases should come from raw.githubusercontent.com or s3.amazonaws.com/outline-releases.  Where did you get the top client from?

The best way to fix this is to uninstall outline client to your machine. Re-install the latest provided in releases links.

Hello @JonathanDCohen
I downloaded latest release from raw.githubusercontent.com but in installation progress failed and don't work.
please help.
thanks.


US: Documentation

[ ] Project Setup
[ ] DB-Setup : info about liquidbase
[ ] Swagger : setup and token info with code snippet and video
[ ] Authentication : JWT token info + code snippet
[ ] Logger : Logger config + Snippet of AOP logging
[ ] Actuator : Health check and monitoring info

Documentation & video added in
https://github.com/NeoSOFT-Technologies/rest-java-spring-boot/wiki
https://github.com/NeoSOFT-Technologies/rest-java-spring-boot/wiki/Accessing-protected-APIs-in-Swagger


Changing category resets porduct query but not SortBy option

Current behavior
Choosing sorting and then navigating from one category to another may be misleading. If user follows this behaviour he/she will see choosen (active) SortBy and unsorted products.
Expected behavior
Navigating to another category resets SortBy select option or (I think less reasonable) sorting query is not resetted after category change.
Steps to reproduce the issue

Go to any category
Choose any sort option
Go to any other category by clicking Sidebarmenu category
SortBy option is still selected when products are not sorted

Repository
https://demo.vuestorefront.io/
Can you handle fixing this bug by yourself?

[ ] YES
[X] NO (I am not sure if my solution will be appropriate)

Which Release Cycle state this refers to? Info for developer.
Pick one option.

[ ] This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from develop branch and create Pull Request 2. Feature / Improvement back to develop.
[ ] This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from release branch and create Pull Request 3. Stabilisation fix back to release.
[X] This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from hotfix or master branch and create Pull Request 4. Hotfix back to hotfix.

Environment details

Browser: Chrome
OS: linux, Ubuntu 18

Additional information
Not sure, but could be resolved by listening to change category event and listening to that event in CategorySort.ts to update current option.

Hi! There was huge refactoring effort made into 1.11 (develop branch) - can you please test out if this issue still exists in develop?

Bug does not exist in v1.11.0-rc.1 :)


feat: edit recurrent events

Ticket
https://agile-jira.pearson.com/browse/PADV-1699
Description
Edit recurrent events
Changes made
Upgrade version of paragon-topaz library
Update values for availability
Add service for edit single recurrent event
Screenshots

How to test
Clone the Institution Portal MFE
Run npm install.
Run npm run start
Go to http://localhost:1990/my-profile -> Availiability tab

@AuraAlba There's some conflicts pending :eyes:


rescu 2.1.0 ?

As the rescu library has a new feature: SOCKS proxy support, @mmazi  are you going to release 2.1.0 version? Rescu has been not released for over 2 years

Yes, we could do a release soon. I'll see if I can do it this week.

Released rescu 2.0.4:
https://github.com/mmazi/rescu/releases/tag/rescu-2.0.4


rate limit exceeded

I have many experiments in parallel and I am using wandb to track experiments, but suddenly on wandb all processes crashed but experiments on my server are still in progress. What should I do to get the control again without interrupting my processes?
from wandb log file
"rate limit exceeded, retrying in 2.040469904300563 seconds), retrying request "

This issue has gone stale and we are now closing it. Please comment to reopen.


Updated Netatmo Welcome api description

Code cleansing
Terminology coherence,
Some added entry points.

@cbornet : travis complains but the file works fine, I do not understand where the problem is. Can you help ?

@cbornet : are you able to take a look ?

Strange : it also works on my machine... I don't understand Travis's issue...
I have a warning though: #/definitions/NAWebhookCameraEvent: Definition is defined but is not used: #/definitions/NAWebhookCameraEvent
Can you check if this needs to be removed ?

@cbornet : yes, it's used to define the class that handle webhooks sent by Netatmo servers.

Webhooks are supported only in OAS v3 but the current spec is written in v2 so I don't think we should keep it for now.
I will update to v3 when swagger-codegen supports it.

I'm merging this and will do the cleanup later as I intend to do #21 and move to yaml

Actually travis was right : there's an issue with the PR. I think it's because you PR'd from your master. You should always do it from a branch.
Don't worry I'm fixing it

Thanks a lot


Add search to docs

Issue: #1177
What I did
I added the search field on the home page and connected it to algolia.
How to test

run docs locally
open homepage
type in a search query into the search field

Sounds pretty easy to do what you want @shilman But would you mind doing it?
I have the feeling you know how you want it, and I don't want this to take too long.
Not being able to search on documentation sites drives me mad 😜


await function calls

I referred to https://github.com/dotnet/samples/pull/318, but I don't know vb. Please directly modify them.
Fixes https://github.com/dotnet/docs/issues/8652.

@rpetrusha @KathleenDollard I think the right solution is to use GetAwaiter().GetResult() in the Main sub:
Imports System.IO
Imports System.Threading.Tasks

Module Module1

    Sub Main()
        ReadCharacters().GetAwaiter().GetResult()
    End Sub

    Async Function ReadCharacters() as Task
        Dim result As String

        Using reader As StreamReader = File.OpenText("existingfile.txt")
            Console.WriteLine("Opened file.")
            result = Await reader.ReadLineAsync()
            Console.WriteLine("First line contains: " + result)
        End Using
    End Function
End Module

Is there an easier VB idiom?

I want to run that by the community. I'm fine to merge it and then see if they have a better approach, or to wait. That is up to you.
VBLang question on this

@BillWagner, @KathleenDollard, instead of GetAwaiter.GetResult, isn't Wait simpler?
I think, though, that we should merge this PR and but address the VB code separately in another PR -- it generally doesn't produce any output, since Main completes before the async method has completed.

I'll :shipit: with the C# samples.
See dotnet/VBLang#352 for thoughts on the VB samples.


refactor: propose the API semantics of abort_task

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
What's changed and what's your intention?
Working on a draft PR of cancel task and I found that an important problem is how we define abort_task() API semantics.
Now, abort_task will succeed only if the task is cancelled by exact that request. Means if a task A has already stopped execution (may be because self-failure or complete) before that request, in this case abort_task still fail cuz it is not abort by exact that request.
I want to change that semantics of API to "As long as the task is die, no matter in what ways, return success".  This may means task execution failure, previous aborted, task_id not found (Already cleaned by task manager), abort_task will still returns success cuz the task is die.
 We can not handle Abort Failure in scheduler.
When task A fails, we are only expect call abort_task RPC on B, C, D and filter out A. This is because call abort_task on A will fail cuz it's already "die". But unfortuantely, B, C, D may also encounters execution failure and makes the abort_task fail. This makes the control flow really complex.

I found this problem worth seperate discussion so I pick it up from draft prs. The code is just for demo.
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)

cc @liurenjie1024 @fuyufjh Do you agree the proposal with this PR?


C++: Would like a better view of expanding of preprocessors

I would like a in vscode view, side by side, what what my macro preprocessor expands to. Currently I need to invoke the compile commandline to see the result. Would be cool to see it side by side.

/extC++


Fix systemd unit

Variables like %i don't appear to be supported in systemd unit files.  This means a config file cannot be created and hyperiond fails to start.  It might be possible that some distributions have newer versions of systemd that have fixed this, but not all.

@brindosch What do you say to this problem?

That's a placeholder which should be replaced by systemd. The idea is to select the current user as owner.
Did this task fail? And on which OS? It wasn't a problem with Ubuntu 16.04 and Debian 9.

I'm running OSMC (Debian Stretch based).
systemd --version

systemd 232

I understood that it should be substituted by the user name, but that wasn't working.
It sounds like it was reported and fixed in systemd a long time ago.  As I said, I assumed our version of systemd was too old for this method?
But wouldn't you know it, I've just tried to replicate it again to post the errors and it's ok.  We've just had a system update so perhaps that was part of it.  Still seems like it should have been a long time ago...
Thank you for your attention, but I'll close this now.


Call onboarding when switching project

As an onyxia administrator i want that the namespace creation is handle at login of user and not a first service launched.
Indeed, i could have implemented some kind of namespace onboarding that deploy some resource in the namespace at creation and needed before service is launched.
The first step for that is:

[ ] call /onboarding endpoint already existing at conection for the projet that is selected. When i switch project the ui could recould onboarding that does nothing if the namespace exist.

It could have next step like :

[ ] showing the process of onboarding at user the first time if namespace and bucket do not exists then call onboarding and wait for them with a user experience mapped on it.

Onboarding API has a group parameter : this group is the owner of the project ( which is the name of the oidc group )
You should get it from the api because it's included in the model as shown below :
https://github.com/InseeFrLab/onyxia-api/blob/ed09d5660ec582f3e14ed79ea1160cf15bce0eb2/onyxia-model/src/main/java/fr/insee/onyxia/model/project/Project.java#L10C1-L11C26
I think you don't get it from the API because I don't see it in the web model :
https://github.com/InseeFrLab/onyxia-web/blob/15ef50db369d02d80784b2ad15598a124728865a/src/core/ports/OnyxiaApi.ts#L186
This is what you should send to the onboarding call.

It's done in 2.21.0.
Note to prevent any missunderstanding that if Bob and Alice both belong to project-foo, when Alice select project-foo the POST /api/onboarding is called but when Bob do the same it won't be because the goup has already been onboarded by Alice.

Great improvement! However this feature created some issues if onyxia is run as single namespace. I think the fix should be done in the backend and has thus created this PR: https://github.com/InseeFrLab/onyxia-api/pull/245


allow for exclusion of certain proto files

With the old script we did not generate TS for all files but excluded some (like this events.ts). But I'm not sure what the best strategy is.

closes with https://github.com/osmosis-labs/telescope/pull/173


Add LayoutAnimation support

Animation duration does not seems work for now.

Wow, thanks! Will take a deeper look later and drop some thoughts. I think we also should add support for componentDidMount animation to the example (it doesn't work either).

Sure. Thank you!

Sorry, I'm not familiar with Cocoa animation.

It's ok, i will try to emulate that
On Wed, 30 Dec 2015 at 09:13, beretboat<EMAIL_ADDRESS>wrote:

Sorry, I'm not familiar with Cocoa animation.
—
Reply to this email directly or view it on GitHub
https://github.com/ptmt/react-native-desktop/pull/25#issuecomment-167943966
.


Can't open example because of missed prefab

Hi, you need to install blender in order to view the objects as the file type is .blender (i did not export as fbx for a reason, ill discuss later in my video series) : )

Thank you! I'll try!


@containerless causes issues with event delegation

On the latest build, I using the following delegation on a @containerless view model stopped working ( handlerFn isn't called ):
<div repeat.for="a of arr">
   <div click.delegate="$parent.$parent.handlerFn($index,$event);">hi</div>
</div>

Full Plunker Example
All of the references are set correctly; this code worked prior to upgrading.   Using the Plunker, if I remove @containerless from custom-element.js, the code starts working again.
Please let me know if I can provide other info -- I'm assuming this is still supported ?

I just pushed a new release out for templating which I believe shold fix your bug. Please try it out and let me know.

Working again!  Huge thanks for resolving this so quickly!

Sorry about that. We fixed some issues related to shadow dom..but a few cases got missed in the change we made to handle that. Glad this was an easy fix ;)


[AIRFLOW-284] Fx for cursor scope for get_results

Dear Airflow Maintainers,
Please accept this PR that addresses the following issues:

(replace with a link to AIRFLOW-X)

Detail:
The function get_results implemented in the HiveServer2Hook does not execute multiple commands passed to it in a list, in the singular cursor scope. This has caused SQL statements that depend on the execution of add jar and set commands to fail as they are being executed in different cursor scopes which are not persistent.
The code has been updated to have the cursor object persistent.
Testing Done:
Reminders for contributors:

Your PR's title must reference an issue on Airflow's JIRA. For example, a PR called "[AIRFLOW-1] My Amazing PR" would close JIRA issue #1. Please open a new issue if required!
Please squash your commits when possible and follow the 7 rules of good Git commits.

@mistercrunch

[Current coverage][cc-pull] is 64.10%

Merging [#1629][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.01%

@@             master      #1629   diff @@
==========================================
  Files           121        121
  Lines          8472       8472
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           5432       5431     -1
- Misses         3040       3041     +1
  Partials          0          0

Powered by Codecov. Last updated by [d15f8ca...64c1b14][cc-compare]
[cc-base-branch]: https://codecov.io/gh/apache/incubator-airflow/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/apache/incubator-airflow/compare/d15f8ca370b746087eb4f9241acbe543d35ae191...64c1b14a49c20c0b54db43124508ae14fb05013f
[cc-pull]: https://codecov.io/gh/apache/incubator-airflow/pull/1629?src=pr

LGTM, merging


Scheduler

Integrating schedule(https://github.com/dbader/schedule/) to provide in-process job scheduling.
Requirements
Installing schedule package. (already updated in requirements.txt)
pip install schedule

Add periodic jobs
With schedule, we can put periodic jobs into waiting queue by plugin handlers like this:
import re
from datetime import datetime
from mmpy_bot.bot import respond_to
from mmpy_bot.scheduler import schedule

@respond_to('reply \"(.*)\" every (.*) seconds', re.IGNORECASE)
def reply_every_seconds(message, content, seconds):
    schedule.every(int(seconds)).seconds.do(message.reply, content)

@respond_to('cancel jobs', re.IGNORECASE)
def cancel_jobs(message):
    schedule.clear()
    message.reply('all jobs canceled.')

You can talk to bot reply "buy birthday gift" every 60 seconds, and the bot will repeat "buy birthday gift" every 60 seconds until you issue another command cancel jobs.
The schedule itself provide human-readable APIs to schedule jobs. Check out schedule.readthedocs.io for more usage examples.
Add onetime job
schedule is designed for periodic jobs. In order to support one-time-only jobs, I made a monkey-patching on integrated schedule package.
We can schedule a one-time-only job by schedule.once method. You should notice that this method takes a datetime object, which is different from schedule.every methods.
The following handler example uses schedule.once to schedule a job. This job will be trigger at t_time.
import re
from datetime import datetime
from mmpy_bot.bot import respond_to
from mmpy_bot.scheduler import schedule

@respond_to('reply \"(.*)\" at (.*)', re.IGNORECASE)
def reply_specific_time(message, content, trigger_time):
    t_time = datetime.strptime(trigger_time, '%b-%d-%Y_%H:%M:%S')
    schedule.once(t_time).do(message.reply, content)

Settings
All jobs added will be triggered periodically. The trigger period can be configured by JOB_TRIGGER_PERIOD in settings.py or local_settings.py. If JOB_TRIGGER_PERIOD is not set, the default trigger period will be 60 seconds.
Reminder
The schedule package provides only in-process job scheduling, which means if the bot stops, all job will be gone. If you need to keep jobs after bot back to service again, please consider write jobs to a fixture json file and load them back.
I think the most difficult part of job scheduling is how you specify the trigger time, job type, and job content to bot by natural language-like syntax. So I left it to you bot developers :stuck_out_tongue_closed_eyes:


Thanks for fixing!


Localizer doesn't support TextBlocks with Run elements

I guess these is because the Text in Run is just a property, not a DependencyProperty.

Closed by bc9928eac9063a7623288ec5e9b6a7f302b43d04.


Fix typo in chapter 2

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


pack switch/install fails if an executable is invoked while pack is still installing

Steps to reproduce
pack switch nightly-...

(where nightly-... is a new/not yet installed package set)
While that is running
idris2

The pack switch ... then fails
This problem is also triggered when installing idris2-lsp and starting that.
(This is mainly caused when I am to impatient to wait for pack switch to finish before starting to code)

I'm afraid I can't reproduce this. Are you on the latest pack version (otherwise, run pack update)? I think this could be related to #139, where a similar issue has been fixed.

I have not updated pack, but that should fix it.


Unit tests

Can we have some unit tests? The logic has quite a lot of conditions.

I'd be happy to accept a PR, but I doubt I'll have time to add these in the near future.

I'd probably be able to initialize a PR and share some of my unit tests but they're not passing at the moment.

There's an IndexOutOfBoundsException when parsing sample ARN values from: http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-lambda
None of the sample Lambda ARN values correctly parse at the moment. Specifically, stage, httpMethod, and resource seem to be missing.
Is that because those values are only added to the ARN when called on a live environment versus the non-live examples post on the ARN help page?

@seantcanavan The arn is formatted specifically for Api Gateway. see http://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html#arn-syntax-apigateway


@cheong00 Please move this issue to https://github.com/dotnet/dotnet-api-docs/issues

@cheong00 Please move this issue to https://github.com/dotnet/dotnet-api-docs/issues
Originally posted by @rootsmusic in https://github.com/MicrosoftDocs/feedback/issues/2261#issuecomment-886350420

Pressed wrong button. Closing issue now...


DLL Loading

Dynamically loading Steam DLLs.

It should be also noted that some DLLs, like in steamclient.dll, in our case, depend on other DLLs that are likely located inside of the bin folder. We should append that to the local env before attempting to load libraries.


Replace verificationMethod checks with JSON Schema based validation (JsonWebKey2020)

Replace with JSON Schema based validation for JsonWebKey2020. More info about the JsonWebKey2020 type can be found here: https://www.w3.org/TR/did-spec-registries/#jsonwebkey2020
https://github.com/TBD54566975/dwn-sdk-js/blob/fcea84929e12dd3e3ef0e8866b0e592a025786fa/src/jose/jws/general/verifier.ts#L66-L73

WIP PR

Hey there! 👋
Big apologies - I goofed for accidentally marking my PR as requesting review first - I have changed it to a draft!

In looking at verification method spec it looks like controller is required, so I went ahead and updated current jws tests where verification methods are defined to include controller property. Any thoughts on this?


Can not seen the meshing in the windows

Description:
When I run the program in the datasets V2_03_difficult, I can see the camera moving in the windows, but can not see the meshing process. What it happen, and if the program can generate mesh without kimera sementic?
Command:
# replace this line with the command(s) you used

Console output:

# remove this line and paste your console output HERE - no screenshots please

Additional files:
Please attach all the files needed to reproduce the error.
Please give also the following information:

Kimera-Vio branch, tag or commit used
GTSAM version used:
OpenGV version used:
OpenCV version used: type opencv_version
Operating system and version (e.g. Ubuntu 16.04 or Windows 10):
Did you change the source code? (yes / no):

I accidentally switched off the visualization of the mesh, it should now be fixed, feel free to re-open if it isn't the case.


WIP: Update Elixir/Rust implementations to match new C interface

In addition to updating the Elixir/Rust Vault APIs to use the new C interface, this changset also moves Elixir from the placeholder OpenSSL-based Vault to the C vault, updating the tests and internal implementation details which used the previous API.
This PR currently has two fixes in the C default software vault to address two issues I found during porting:

When generating secrets, a secret size mismatch check had an incorrect guard that would always result in failure when generating new secrets (but likely worked fine for regenerating or importing secrets)
When creating a new secret (i.e. import), there was an invalid guard that prevented creating secrets with non-null, but empty content. This is a edge case present in key agreement, as the channel keys created when finalizing the handshake are generated by performing ecdh on the key contained in the cipher state, and an empty key. There are tests based on this behavior, so it is not strictly necessary to allow this edge case, if we disallow it, we'd ideally need to find another pattern which has well-known test data we can verify against.

This is marked work-in-progress, as it is based against Mark's work-in-progress branch, and will need to be rebased once that branch is merged, and before this branch is merged.

merged


Do not print environment variables on console

Environment variables are likely to contain confidential information.
Many build logs are public, therefore printing process.env constitutes a security concern even when being a verbose flag.
On the other hand, printing the names of each environment variable should be ok, although less useful for debugging.

addressed by https://github.com/bencao/netlify-plugin-inline-functions-env/commit/438513b9b9506e7324974153ea98282e853b95dc


Allow run_script to return?

This library fits my MQTT needs nicely. I would however like run_script(...) to be able to spawn a thread and then return when calling eg. run_script(callback, ..., non_blocking = True). Would you be interested in a PR for this? I know I could start a thread on my own but it would be convenient not to ;)

Hi, thanks for your interest. That sounds like a good feature, I'd be keen to hear more about your use case. Please feel free to submit a PR. :)

Raised a PR, looking forward to your input.


Max retries exceeded with url: /o/oauth2/token

I am trying to push a very large dataset to gcs via the xarray / zarr / gcsfs / dask stack. I have encountered a new error at the gcsfs level.
Here's a summary of what I am doing
# manually created an xarray dataset called `ds` by concat-ing together many individual ones
token = 'cache'
fs = gcsfs.GCSFileSystem(project='pangeo-181919', token=token)
gcsmap = gcsfs.mapping.GCSMap(bucket + path, gcs=fs, check=True, create=False)
delayed_store = ds.to_zarr(store=gcsmap, encoding=encoding, compute=False)
persist_store = delayed_store.persist(retries=10)

I'm doing this via a distributed client connected to a local multithreaded cluster.
There are almost a million tasks in the graph. It will generally get about 5% in and then hit some sort of intermittent, non-reproducible error.
This is the error I have now.
distributed.utils - ERROR - None: Max retries exceeded with url: /o/oauth2/token (Caused by None)
Traceback (most recent call last):
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/utils.py", line 237, in f
    result[0] = yield make_coro()
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/tornado/gen.py", line 1055, in run
    value = future.result()
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/tornado/concurrent.py", line 238, in result
    raise_exc_info(self._exc_info)
  File "<string>", line 4, in raise_exc_info
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/tornado/gen.py", line 1063, in run
    yielded = self.gen.throw(*exc_info)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/client.py", line 1356, in _gather
    traceback)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/six.py", line 692, in reraise
    raise value.with_traceback(tb)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/protocol/pickle.py", line 59, in loads
    return pickle.loads(x)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/zarr/core.py", line 1930, in __setstate__
    self.__init__(*state)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/zarr/core.py", line 123, in __init__
    self._load_metadata()
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/zarr/core.py", line 140, in _load_metadata
    self._load_metadata_nosync()
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/zarr/core.py", line 149, in _load_metadata_nosync
    meta_bytes = self._store[mkey]
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/mapping.py", line 67, in __getitem__
    with self.gcs.open(key, 'rb') as f:
  File "<decorator-gen-28>", line 2, in open
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 51, in _tracemethod
    return f(self, *args, **kwargs)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 944, in open
    metadata=metadata)
  File "<decorator-gen-31>", line 2, in __init__
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 51, in _tracemethod
    return f(self, *args, **kwargs)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 1068, in __init__
    self.details = gcsfs.info(path)
  File "<decorator-gen-17>", line 2, in info
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 51, in _tracemethod
    return f(self, *args, **kwargs)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 802, in info
    return self._get_object(path)
  File "<decorator-gen-3>", line 2, in _get_object
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 51, in _tracemethod
    return f(self, *args, **kwargs)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 492, in _get_object
    bucket, key))
  File "<decorator-gen-2>", line 2, in _call
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 51, in _tracemethod
    return f(self, *args, **kwargs)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 441, in _call
    raise e
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py", line 431, in _call
    r = meth(self.base + path, params=kwargs, json=json)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/requests/sessions.py", line 521, in get
    return self.request('GET', url, **kwargs)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/auth/transport/requests.py", line 198, in request
    self._auth_request, method, url, request_headers)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/auth/credentials.py", line 121, in before_request
    self.refresh(request)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/oauth2/credentials.py", line 126, in refresh
    self._client_secret))
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/oauth2/_client.py", line 237, in refresh_grant
    response_data = _token_endpoint_request(request, token_uri, body)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/oauth2/_client.py", line 106, in _token_endpoint_request
    method='POST', url=token_uri, headers=headers, body=body)
  File "/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/auth/transport/requests.py", line 124, in __call__
    six.raise_from(new_exc, caught_exc)
  File "<string>", line 3, in raise_from
google.auth.exceptions.TransportError: None: Max retries exceeded with url: /o/oauth2/token (Caused by None)
---------------------------------------------------------------------------
TransportError                            Traceback (most recent call last)
<ipython-input-25-5fcf41d2c0b1> in <module>()
----> 1 persist_store.compute()

/home/rpa/dask/dask/base.py in compute(self, **kwargs)
    153         dask.base.compute
    154         """
--> 155         (result,) = compute(self, traverse=False, **kwargs)
    156         return result
    157

/home/rpa/dask/dask/base.py in compute(*args, **kwargs)
    402     postcomputes = [a.__dask_postcompute__() if is_dask_collection(a)
    403                     else (None, a) for a in args]
--> 404     results = get(dsk, keys, **kwargs)
    405     results_iter = iter(results)
    406     return tuple(a if f is None else f(next(results_iter), *a)

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/client.py in get(self, dsk, keys, restrictions, loose_restrictions, resources, sync, asynchronous, **kwargs)
   2039                 secede()
   2040             try:
-> 2041                 results = self.gather(packed, asynchronous=asynchronous)
   2042             finally:
   2043                 for f in futures.values():

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/client.py in gather(self, futures, errors, maxsize, direct, asynchronous)
   1476             return self.sync(self._gather, futures, errors=errors,
   1477                              direct=direct, local_worker=local_worker,
-> 1478                              asynchronous=asynchronous)
   1479
   1480     @gen.coroutine

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/client.py in sync(self, func, *args, **kwargs)
    601             return future
    602         else:
--> 603             return sync(self.loop, func, *args, **kwargs)
    604
    605     def __repr__(self):

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/utils.py in sync(loop, func, *args, **kwargs)
    251             e.wait(10)
    252     if error[0]:
--> 253         six.reraise(*error[0])
    254     else:
    255         return result[0]

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/six.py in reraise(tp, value, tb)
    691             if value.__traceback__ is not tb:
    692                 raise value.with_traceback(tb)
--> 693             raise value
    694         finally:
    695             value = None

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/utils.py in f()
    235             yield gen.moment
    236             thread_state.asynchronous = True
--> 237             result[0] = yield make_coro()
    238         except Exception as exc:
    239             logger.exception(exc)

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/tornado/gen.py in run(self)
   1053
   1054                     try:
-> 1055                         value = future.result()
   1056                     except Exception:
   1057                         self.had_exception = True

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/tornado/concurrent.py in result(self, timeout)
    236         if self._exc_info is not None:
    237             try:
--> 238                 raise_exc_info(self._exc_info)
    239             finally:
    240                 self = None

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/tornado/util.py in raise_exc_info(exc_info)

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/tornado/gen.py in run(self)
   1061                     if exc_info is not None:
   1062                         try:
-> 1063                             yielded = self.gen.throw(*exc_info)
   1064                         finally:
   1065                             # Break up a reference to itself

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/client.py in _gather(self, futures, errors, direct, local_worker)
   1354                             six.reraise(type(exception),
   1355                                         exception,
-> 1356                                         traceback)
   1357                     if errors == 'skip':
   1358                         bad_keys.add(key)

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/six.py in reraise(tp, value, tb)
    690                 value = tp()
    691             if value.__traceback__ is not tb:
--> 692                 raise value.with_traceback(tb)
    693             raise value
    694         finally:

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/distributed/protocol/pickle.py in loads()
     57 def loads(x):
     58     try:
---> 59         return pickle.loads(x)
     60     except Exception:
     61         logger.info("Failed to deserialize %s", x[:10000], exc_info=True)

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/zarr/core.py in __setstate__()
   1928
   1929     def __setstate__(self, state):
-> 1930         self.__init__(*state)
   1931
   1932     def _synchronized_op(self, f, *args, **kwargs):

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/zarr/core.py in __init__()
    121
    122         # initialize metadata
--> 123         self._load_metadata()
    124
    125         # initialize attributes

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/zarr/core.py in _load_metadata()
    138         """(Re)load metadata from store."""
    139         if self._synchronizer is None:
--> 140             self._load_metadata_nosync()
    141         else:
    142             mkey = self._key_prefix + array_meta_key

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/zarr/core.py in _load_metadata_nosync()
    147         try:
    148             mkey = self._key_prefix + array_meta_key
--> 149             meta_bytes = self._store[mkey]
    150         except KeyError:
    151             err_array_not_found(self._path)

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/mapping.py in __getitem__()
     65         key = self._key_to_str(key)
     66         try:
---> 67             with self.gcs.open(key, 'rb') as f:
     68                 result = f.read()
     69         except (IOError, OSError):

<decorator-gen-28> in open()

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in _tracemethod()
     49         logger.log(logging.DEBUG - 1, tb_io.getvalue())
     50
---> 51     return f(self, *args, **kwargs)
     52
     53

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in open()
    942         if 'b' in mode:
    943             return GCSFile(self, path, mode, block_size, consistency=const,
--> 944                            metadata=metadata)
    945         else:
    946             mode = mode.replace('t', '') + 'b'

<decorator-gen-31> in __init__()

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in _tracemethod()
     49         logger.log(logging.DEBUG - 1, tb_io.getvalue())
     50
---> 51     return f(self, *args, **kwargs)
     52
     53

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in __init__()
   1066             raise NotImplementedError('File mode not supported')
   1067         if mode == 'rb':
-> 1068             self.details = gcsfs.info(path)
   1069             self.size = self.details['size']
   1070         else:

<decorator-gen-17> in info()

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in _tracemethod()
     49         logger.log(logging.DEBUG - 1, tb_io.getvalue())
     50
---> 51     return f(self, *args, **kwargs)
     52
     53

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in info()
    800
    801         try:
--> 802             return self._get_object(path)
    803         except FileNotFoundError:
    804             logger.debug("info FileNotFound at path: %s", path)

<decorator-gen-3> in _get_object()

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in _tracemethod()
     49         logger.log(logging.DEBUG - 1, tb_io.getvalue())
     50
---> 51     return f(self, *args, **kwargs)
     52
     53

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in _get_object()
    490
    491         result = self._process_object(bucket, self._call('get', 'b/{}/o/{}',
--> 492                                                          bucket, key))
    493
    494         return result

<decorator-gen-2> in _call()

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in _tracemethod()
     49         logger.log(logging.DEBUG - 1, tb_io.getvalue())
     50
---> 51     return f(self, *args, **kwargs)
     52
     53

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in _call()
    439                     # retry
    440                     continue
--> 441                 raise e
    442         try:
    443             out = r.json()

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/gcsfs/core.py in _call()
    429             try:
    430                 time.sleep(2**retry - 1)
--> 431                 r = meth(self.base + path, params=kwargs, json=json)
    432                 validate_response(r, path)
    433                 break

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/requests/sessions.py in get()
    519
    520         kwargs.setdefault('allow_redirects', True)
--> 521         return self.request('GET', url, **kwargs)
    522
    523     def options(self, url, **kwargs):

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/auth/transport/requests.py in request()
    196
    197         self.credentials.before_request(
--> 198             self._auth_request, method, url, request_headers)
    199
    200         response = super(AuthorizedSession, self).request(

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/auth/credentials.py in before_request()
    119         # the http request.)
    120         if not self.valid:
--> 121             self.refresh(request)
    122         self.apply(headers)
    123

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/oauth2/credentials.py in refresh()
    124             _client.refresh_grant(
    125                 request, self._token_uri, self._refresh_token, self._client_id,
--> 126                 self._client_secret))
    127
    128         self.token = access_token

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/oauth2/_client.py in refresh_grant()
    235     }
    236
--> 237     response_data = _token_endpoint_request(request, token_uri, body)
    238
    239     try:

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/oauth2/_client.py in _token_endpoint_request()
    104
    105     response = request(
--> 106         method='POST', url=token_uri, headers=headers, body=body)
    107
    108     response_body = response.data.decode('utf-8')

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/google/auth/transport/requests.py in __call__()
    122         except requests.exceptions.RequestException as caught_exc:
    123             new_exc = exceptions.TransportError(caught_exc)
--> 124             six.raise_from(new_exc, caught_exc)
    125
    126

/home/rpa/.conda/envs/dask_distributed/lib/python3.5/site-packages/six.py in raise_from()

TransportError: None: Max retries exceeded with url: /o/oauth2/token (Caused by None)

Hm, not too much to go on there, except that it's clearly trying to re-authenticate. I wonder if we could be doing a better job of caching the GCSFileSystem instances in a given worker, or if this is just a too-many-concurrent-requests kind of thing. In any case, I would first suggest trying to throttle the number of workers that are writing, to see if that helps.

I would first suggest trying to throttle the number of workers that are writing, to see if that helps.

Can I accomplish that using a write lock?

Certainly, but then you would loose parallelism. Perhaps Variable would allow you to limit the number of workers/threads (@mrocklin , suggestions?)

I tried this with zarr's thread synchronizer to prevent simulataneous writes to GCS. No luck, same errors. I am still stuck with issue and unable to move forward.
I am also seeing these errors on my worker logs
distributed.worker - WARNING - Compute Failed Function: getter args: (ImplicitToExplicitIndexingAdapter(array=CopyOnWriteArray(array=LazilyOuterIndexedArray(array=_ElementwiseFunctionArray(LazilyOuterIndexedArray(array=<xarray.backends.netCDF4_.NetCDF4ArrayWrapper object at 0x7f7fba5ddf28>, key=BasicIndexer((slice(None, None, None), slice(None, None, None), slice(None, None, None), slice(None, None, None)))), func=functools.partial(<function _apply_mask at 0x7f7fba631488>, dtype=dtype('float32'), decoded_fill_value=nan, encoded_fill_values=[-1e+20]), dtype=dtype('float32')), key=BasicIndexer((slice(None, None, None), slice(None, None, None), slice(None, None, None), slice(None, None, None)))))), (slice(66, 67, None), slice(43, 44, None), slice(0, 2700, None), slice(0, 3600, None)), True, <SerializableLock: 376ac45c-c1c4-4946-8f5a-3719b667d218>) kwargs: {} Exception: OSError('Too many open files',)

I guess it could be related.

I wonder, would it be useful to provide an insecure token mode, i.e., where the actual access token is passed to all the instances, rather than using local renew tokens which cause the calls to the /token/ endpoint? I call this insecure, since the tokens would be passed in open channels, but this is not an issue within the isolated network of kubernetes.
I think the following should do it: you should set up a gcsfs instance, and perform any operation on it (the first operation will cause the token refresh) and then
token=gcs.session.credentials

in storage parameters

Was this issue completely resolved? I've been running into this exact problem when moving very large datasets (~1TB). Reducing Dask cluster size seems to help. I am using,
token=gcs.session.credentials
As mentioned by @martindurant above.

No, I don't think we have a concrete solution, the problem comes from some sort of rate limit accessing the google metadata service.

I ran into the same problem. I found this stack overflow that says it could also be too many open file descriptors (i.e. network connections), but I think you are probably right that it's a Google rate limit.
https://stackoverflow.com/questions/15286288/what-does-this-python-requests-error-mean
I wonder if it would be possible to let these connections share the DNS / auth information.


[🔶 Change request ]: Activations should be case insensitive

Change
We could use toLocaleLowerCase to specify the activations functions without worrying about capitalization.
Type

[x] Dann
[ ] Matrix
[x] Layer
[x] Activation functions
[ ] Loss functions
[ ] Pool functions
[ ] Datasets
[ ] Documentation
[ ] tests & examples
[ ] Other

Examples
these statements would all be valid if we ignore capitalization.
nn.addHiddenLayer(x, 'leakyrelu');
nn.addHiddenLayer(x, 'LEAKYRELU');
nn.addHiddenLayer(x, 'leakyReLU');

Additional context
This also means all activation names need to be in lowercase, and when we add a new activation with Add.activation, we should also convert the input name to lowercase.
Changes should be in these methods:

Layer.stringToFunc parses the activation names into an object containing, the derivative & the activation.
Add.activation adds new activations, and also needs to respect the case insensitivity.
Other Dann methods using activation strings will need some minor adjusments.

Hi @matiasvlevi ,
I have been looking into this issue. Is it okay if I work on this?

Yep it is! I am assigning you to this issue.


More metrics

docsrs_used_db_connections Used database connections
docsrs_idle_db_connections Idle database connections
docsrs_open_file_descriptors Number of opened file descriptors
docsrs_running_threads Number of threads used by docs.rs

Is the metric for number of connections still needed now that #769 is merged?

Yes, that’s why it was added. Seeing the number of database connections is still very relevant

LGTM if @pietroalbini approves.


Popup error on quit

@keybase/react-hackers
Fixes the popup error you get when a remote component is alive and you quit.
It was because we registered a handler that we never cleared from the remote obj. at first I tried to simply clear the listener before we quit the main window, but it seems the window is quit before we have a chance to react to it.
This seems like this simplest and easiest approach. It replaces the registered remote handler with a handler that relies on ipc. Ipc won't give a popup error message (because it doesn't bind itself to a remote instance), so it something else down the line gives us a popup a similar approach to this would probably fix it.

:+1:


Update Accounting Integration API docs

Modify sample API payloads and responses to be semantically accurate
Update API descriptions for List and Vendor endpoints to clarify the scope of operations
Update swagger schema to indicate required attributes

@jonikamelcher - requesting a review to update the preview docs for Accounting Integration. Please let me know if you have any questions/concerns with the changes

:shipit:


Cannot use custom --version with DisableVersion

Rust Version
rustc 1.18.0-nightly (5e122f59b 2017-04-01)
Affected Version of clap
clap 2.22.2
Expected Behavior Summary
Overriding --version should allow use of a custom version flag.
Actual Behavior Summary
The default version provided by clap is used.
Steps to Reproduce the issue
Specify an Arg with short("v") and long("version").
Sample Code or Link to Sample Code
extern crate clap;

use clap::{App, Arg, AppSettings};

fn main() {
  let matches = App::new("clap-bug")
    .setting(AppSettings::DisableVersion)
    .arg(Arg::with_name("version")
      .short("v")
      .long("version")
      .help("custom version"))
    .get_matches();

  println!("{}", matches.is_present("version"));
}

Debug output
Output

Thanks for taking the time to file this! I do have a question however; why are you using DisableVersion? You can override the default --version by only supplying an arg with a long of version.
As I understand it, and please correct me if I'm wrong, this would be an area where I could improve the docs.

From what I understood, you needed to use DisableVersion to override the default --version, but now I know that it's not necessary! I agree that a note in the docs would be helpful to clear any misunderstandings.
I can still reproduce the issue when not using DisableVersion, though.

Ah ok, then that is a bug!


[Material] Redesign Time Picker

Description
This is a large PR that redesigns the time picker to match the upcoming Material spec. The main changes include:

Redesigned header with more obvious selection for hours/minutes/am/pm
Redesigned 24 hour layout with a single ring of numbers instead of the double ring
Text input mode
Theming capabilities
Updated screenreader experience to make the picker easier to use (require less swipes)

Before
After

No text input

Related Issues
Fixes #53905
Fixes #56465
Tests
I added the following tests:

Updating existing tests to match new behavior
Adding tests for text input mode
Adding tests for theming

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: https://flutter.dev/go/breaking-changes-template Replace this with a link to a pull request that adds the migration guide to https://flutter.dev/docs/release/breaking-changes

The documentation for showTimePicker already includes several examples, and it's just one function you call, so I don't think a dart pad example would add much more
https://api.flutter.dev/flutter/material/showTimePicker.html

When will this change be live?

When will this change be live? @rami-a

This is already live on Flutter's master channel

So I'm guessing its not in the stable channel? @Zazo032 Thank you for the fast reply.

Uh, my users actually reported the 24h dial as a bug and I had to revert this.
(If this is not the appropriate place to discuss it, which I think is very likely, I'd be grateful if someone could point me to the right venue.)
The point of the ring mode for the time picker is to emulate an analog clock; people are used to these, and can tell at a glance what hour it's pointing to. While there is such a thing as 24h analog clocks, those are novelties, and I've never seen someone actually use one. So a 24h ring makes very unintuitive UX, and is therefore basically useless.
The PR mentions it reflects the upcoming Material spec. Is that visible anywhere public, or is it internal to Google? Last I checked, the published guidelines said a time picker ‘is not under development’.

hi @lalomartins
Thanks for reaching out! We always appreciate feedback from the community!
One of the main goals was to improve the accessibility of selecting time, since this was a commonly reported issue with the previous design.
We are continuing to study this component design to make sure it is usable and behaves as expected for most users.
If you could share some details on the app use-cases you are targeting with the Time Picker and some info on the locale of the users, that would be very helpful.

@andrelabonte just here or do you want me to contact you by email? My address is… easy to find.
It's a private app with a very small audience, but quite international, and I'm very happy to give feedback.
The app in which I got feedback basically tracks events. It makes an usually correct guess about when it happened, but gives users the option to edit it. People who gave me feedback love the Material picker because they can type the number if they want, or pick from the dial when they prefer that, and the dial mimics an analog clock, so they know by reflex where the hours and minutes go. When I showed them a version built against Flutter dev, the only complaint I got was that the dial was no longer useful.

Now that 1.20 has been released and the time picker spec has actually been published, I can't help but make two observations:

The spec doesn't actually state you should draw 24h on a single dial. Unfortunately, it also doesn't say you shouldn't, and all screenshots are in 12h mode.

In ‘Principles’, it states the reason is that the dial is ‘Familiar’, which is exactly why I wanted to use it in the first place. I quote: “The analog clock face option provides an added level of assurance and confirmation when picking times.” To me, this heavily implies the 24h mode should stick to a clock layout, and keep 12h. Whether you do this by having two concentric dials as it was before, or a separate AM/PM switch, I'll have to leave to the designers; but clearly the ‘24h analog clock’ mode fails to fulfil this principle.


Fix documentation for g2config.Load

The configHandle is an output parameter. It's not documented that way.
https://github.com/Senzing/g2-sdk-go-base/blob/3f0acd7433ec6a890f6a73fd73eac9a7a6790ae9/g2config/g2config.go#L481-L515

Pull requests:

https://github.com/Senzing/g2-sdk-go-base/pull/132


ARM Template Language server fails to start when using WSL2

Does this occur consistently? Yes
Repro steps:

Start VS Code
VS Code tries to start the ARM Template Language Server, fails 5 times in a row, then never tries again

Action: Language Server Error
Error type: Error
Error Message: The connection to the ARM Template Language Server got closed.
Version: 0.15.1
OS: win32
OS Release: 10.0.19042
Product: Visual Studio Code
Product Version: 1.55.0
Language: en

Call Stack
extension.bundle.js:239:61005extension.bundle.js:239:61005
Object.callWithTelemetryAndErrorHandlingSync extension.bundle.js:16:144558
WrappedErrorHandler.closed extension.bundle.js:239:60851
LanguageClient.handleConnectionClosed vscode-languageclient/client.js:2044:55
LanguageClient.handleConnectionClosed vscode-languageclient/main.js:127:15
closeHandler vscode-languageclient/client.js:2023:18
CallbackList.invoke vscode-jsonrpc/events.js:62:39
Emitter.fire vscode-jsonrpc/events.js:120:36
closeHandler vscode-jsonrpc/main.js:226:26
CallbackList.invoke vscode-jsonrpc/events.js:62:39
Emitter.fire vscode-jsonrpc/events.js:120:36
StreamMessageReader.fireClose vscode-jsonrpc/messageReader.js:111:27
Socket.<anonymous> vscode-jsonrpc/messageReader.js:151:46
Socket.emit events.js:327:22
Pipe.<anonymous> net.js:674:12

Full stack trace and error
[Info  - 10:51:06 a.m.] Connection to server got closed. Server will restart.
Unhandled exception. System.UriFormatException: Invalid URI: The hostname could not be parsed.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString, UriKind uriKind)
   at OmniSharp.Extensions.LanguageServer.Protocol.Serialization.Converters.AbsoluteUriConverter.ReadJson(JsonReader reader, Type objectType, Uri existingValue, Boolean hasExistingValue, JsonSerializer serializer)
   at Newtonsoft.Json.JsonConverter`1.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable(JsonConverter converter, JsonReader reader, Type objectType, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonSerializer.Deserialize(JsonReader reader, Type objectType)
   at Newtonsoft.Json.Linq.JToken.ToObject(Type objectType, JsonSerializer jsonSerializer)
   at OmniSharp.Extensions.LanguageServer.Server.LspRequestRouter.FindDescriptor(String method, JToken params)
   at OmniSharp.Extensions.LanguageServer.Server.LspRequestRouter.FindDescriptor(IMethodWithParams instance)
   at OmniSharp.Extensions.LanguageServer.Server.LspRequestRouter.GetDescriptor(Request request)
   at OmniSharp.Extensions.LanguageServer.Server.LspRequestRouter.OmniSharp.Extensions.JsonRpc.IRequestRouter<OmniSharp.Extensions.JsonRpc.IHandlerDescriptor>.GetDescriptor(Request request)
   at OmniSharp.Extensions.JsonRpc.InputHandler.HandleRequest(String request)
   at OmniSharp.Extensions.JsonRpc.InputHandler.ProcessInputStream()
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()
Error: The connection to the ARM Template Language Server got closed.

Solved the issue myself. For others that may get the same issue: Found it the issue started happening once I added other folders in my Workspace; those folders were located in 2 different WSL2 distros. Once those folders were removed and VS Code restarted, issue was solved.
This is still a problem though if we need to run ARM Template Language server on WSL2-based files.

@alexpilon666 Thanks for taking the time to enter this issue!  I'm out for a couple of weeks then will take a look when I'm able.

I had the same issue. If i open the folder from \wsl$ directly, the arm template language server crashes.
workaround was to map the \$wsl\ubuntu folder as network drive and open the folder using the mapped drive.

@anttirokka Thanks for the additional info!

@StephenWeatherford any idea when this might get fixed ?
Thanks!

It's been difficult to get time lately, so good to hear when issues are important, thanks.  I'll try to take a look in the next couple of weeks, but not very familiar with WSL2.  Feel free to make suggestions or even fixes yourself in the meantime.

Priorities have not been kind for getting time to looking into this.  Any chance someone would like to take a crack at it themselves?

I think I've identified a work-around for this issue:

Open a folder in vscode (instead of the workspace with multiple folders added)
Open an ARM template to start the server
Open the workspace containing multiple folders
Open the ARM template, the language server seems to work as desired for the remainder of the VS Code session

Triage: Due to changing priorities, I don't see us getting to fix this unless we get more customer upvotes or a customer-provided fix.


Switches module to QUnit.module

According to http://qunitjs.com/upgrade-guide-2.x/ module will be removed from the global scope.
This was also causing me issues where this use of module was somehow conflicting with https://github.com/ModuleLoader/es6-module-loader and/or https://github.com/systemjs/systemjs

Looks good, I left a comment with a few more suggestions to make the output more QUnit 2.x ready.
Thanks for tackling!

Sure, I'll pick that up a little later. Thanks for suggesting the extra 2.x steps. (I was mostly just fixing the part breaking for me now, but I switched to the fork for now anyway.)

Requested changes added

Awesome, sorry for the delay!


386 datasetlastmodifieddate is not updated

Description

Review Time Estimate

[ ] Immediately
[ ] Within one week
[x] When possible

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[x] I have updated the CHANGELOG.md.
[x] I have signed the CLA
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

I pushed a small change. I was getting some errors but they were small fixes.
I have tried adding files and deleting them, but it doesn't seem my dataset is showing the lastUpdated time changing. Will delete this db and start over and try again.

@tcnichol Thanks, I am looking into this.

I made one commit - in datasets.submit i added the same update of the time you had elsewhere. I think that catches it when files are uploaded through the web interface and not the API and will now update the last modified time.

Adding last modified date to UI


Design the phone number formatting

Is your feature request related to a problem? Please describe.
The account team will is looking to add phone number support to the auro-input
Describe the solution you'd like

Describe alternatives you've considered
No formatting
Additional context
Reach out to Shelby for questions.

If there is a need for this, I would like to piggyback this work onto the updates needed for date format support as well. That is an update that is needed prior to the re-development of the datepicker element.
Both of these are things supported by https://nosir.github.io/cleave.js/

Updating this to be a design story for follow up with @leeejune. Once the design is complete, a new issue will be created for the feature work.
Removing from release candidate milestone until this is decided to be a feature to work on.


Deprecations in Ember 2.3.0

DEPRECATION: Using the injected `container` is deprecated. Please use the `getOwner` helper instead to access the owner of this object.

Official documentation recommends to use ember-getowner-polyfill
http://emberjs.com/deprecations/v2.x/#toc_injected-container-access

Should be fixed by https://github.com/DockYard/ember-in-viewport/pull/56


Fail on delete [code: 1105, message: "symbol ts.Address.addressId not found", state: "HY000" ]

Bug description
When i try to delete an address i get the following error message:
Error occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Server(ServerError { code: 1105, message: "symbol ts.Address.addressId not found", state: "HY000" })) })
T.S. I inpect the index.d.ts and Address looks like:
/**
Model Address
*/
export type Address = {
addressId: number
address: string
zipCode: string
city: string
floor: number | null
doorNumber: string | null
}
How to reproduce

Expected behavior
Delete the addresses.
Prisma information
prisma.schema
model Address {
addressId  Int         @id @default(autoincrement())
address    String      @db.VarChar(50)
zipCode    String      @db.VarChar(50)
city       String      @db.VarChar(50)
floor      Int?
doorNumber String?     @db.VarChar(50)
orderFrom  Order[]     @relation("addressFrom")
orderTo    Order[]     @relation("addressTo")
telephones Telephone[]
company    Company?
recipient  Recipient?
}
// delete and deleteMany get the same error
await prisma.address.deleteMany({
where: {
OR: [
{
addressId: 9,
},
{
addressId: 10,
},
],
},
});
await prisma.address.delete({
where: {
addressId: 9,
},
});
Environment & setup

OS: Windows
Database: PlanetScale
Node.js version: v16.13.0

Prisma Version
"prisma": "^3.10.0"

Is this potentially a duplicate of https://github.com/prisma/prisma/issues/10758? If so, just close this issue. Thanks.

Closing as duplicate of #10758


showprogress setting

https://github.com/timholy/ProgressMeter.jl is essentially thread safe.

Brainstorming further, this could maybe be a Pkg extension: On loading ProgressMeter.jl we enable setting an option showprogress=true which automatically calls next! for each task/iteration.

We could open a PR with ProgressMeter.jl to fix their implementation of @showprogress to make it extensible.
Currently, they detect just based on the AST if the mapping function is allowed:
julia> @macroexpand @showprogress map(f, 1:10)
:(ProgressMeter.progress_map(f, 1:10, progress = ProgressMeter.Progress(ProgressMeter.ncalls(map, (f, 1:10))), mapfun = map))

julia> @macroexpand @showprogress tmap(f, 1:10)
ERROR: ArgumentError: Final argument to @showprogress must be a for loop, comprehension, map, reduce, or pmap; got tmap(f, 1:10)
Stacktrace:

This really should instead be checked when the types are known, not during macroexpansion I think.


Update consent language on the calculator

Description
We are updating our consent language on the calculator to ensure users know how we handle their data. This is needed ahead of storing calculator submission data in the PEP database.

Asana
Email/Data Opt-In Consent Language
Slack thread

Translation questions:

I am not a Spanish speaker.  I saw that Veekas used Deepl in a previous PR updating the terms language, so that's what I used here to translate the new copy. Do we have a more formal translation process?
Because of the links I split the copy into multiple strings. The Spanish translation appears to correspond with the English such that think I can translate each of these substrings and combine them, but I know that wouldn't necessarily work for other languages. Do we have an existing solution for cases like these that I should use?

Changes

Updates the language below the email field, where we currently have the language for our terms.
Removes the privacy language at the top of the calculator to avoid user confusion.

Test Plan

Temporarily hard-coded this.lang in state-calculator.tsx to 'es' to verify that the Spanish translation renders (Is there a better way to test this locally?)
Verified that the "terms" and "privacy policy" links redirect to the correct pages in a separate tab

Current state

New state (English)

New state (Spanish)

I updated the screenshot in the PR description for the Spanish translated page.

@oyamauchi @veekas Quentin caught and Anissa confirmed one mistake with my latest translation. I updated the first sentence to: Al compartir su correo electrónico, usted acepta nuestros términos y recibir actualizaciones de Rewiring America.
Anissa reviewed the full Spanish translation here. I think we're good to go.


Pdfjs in angular module with requirejs

I'm using PDFJS (v1.1) in my angular app. The code to load it is posted below. This is working but I found that the getDocument function leaks memory. The memory usage goes up as and when I load new pdf documents on the browser. I thought upgrading to v1.5 might solve problems but the code below doesn't work when I try to load PDFJS in the window namespace.
I have two questions:

How can I fix the memory leak? I tried calling pdf.destroy() and pdf.cleanup() before every render but the memory usage keeps increasing albeit at a slower pace.Please note pdf object here is the response of the getDocument promise.
How can I ensure below code works with V1.5? Am I missing something? My assumption was that as soon as I load pdfjs via amd, it should be available on the window namespace.

require.config({
paths: {
'angular': '../utils/angular/angular',
'angular-route': '../utils/angular/angular-route',
'pdfjs':'../utils/pdfjs',
}
});
define([
'angular',
'pdfjs/pdf',
'pdfjs/pdf.worker',
'pdfjs/compatibility'
], function(angular) {
'use strict';
var pdf = angular.module('pdf', []);
pdf.factory('PDFJS', function () {
return window.PDFJS;
});
return pdf;
});
Thanks in advance.
I also tried loading pdfjs 1.5 as below but I get an error. PDFJS is undefined.
require([
'http://mozilla.github.io/pdf.js/build/pdf.js'
], function (PDFJS) {
PDFJS.workerSrc = '../../src/worker_loader.js';
});

Guys - Any help is really appreciated here. Did no one report a memory leak problem with pdfjs before?

Did no one report a memory leak problem with pdfjs before?

In this case, it could very well be caused by Angular, so it's difficult to say what the problem is given the information provided.
Regarding the problems with PDF.js version 1.5.x, as outlined in CONTRIBUTING.md, please provide access to a working example, since it's generally difficult to troubleshoot with only code snippets.

Thanks for replying. We ruled out angular as a possible cause for memory leak. Also, when the getDocument api call is commented, the memory leak goes away. Using pdf.destroy() api actually slows down the leak.
Coming to 1.5x issue, the code snippet i thought was pretty straightforward. I have nevertheless created a fiddle - https://jsfiddle.net/pq1tm0y0/. Please take a look. Thanks

Closing as duplicate of #7287 - you did not specify the correct AMD module name and, also, the path to the library:
require.config({
  paths: {'pdfjs-dist': 'https://npmcdn.com/pdfjs-dist'}
})
require(['pdfjs-dist/build/pdf'], function (PDFJS) {
alert(PDFJS);
alert(window.PDFJS);
});


Implement initial website for desktop app once DApp browser functionality is ready

Low poly videos -> https://www.istockphoto.com/gb/videos/low-poly?sort=mostpopular&offlinecontent=include&phrase=low poly


private-gpt module package setting not used in preStart

Describe the bug
If attempting to override the package using the services.private-gpt.package option the original package is still used in the service preStart:
cp ${pkgs.python3Packages.private-gpt}/${pkgs.python3.sitePackages}/private_gpt/settings.yaml ${cfg.stateDir}/settings/settings.yaml

It looks like the fix for this will need a passthru.python that could be accessed to get the correct directory (unless there's a better way).

Add a :+1: reaction to issues you find important.

Should be able to get to it via .pythonModule already