Proposed Darwin Core Vocabulary Enhancement - ChronometricAge

Introduction
The ChronometricAge Task Group of the Earth Sciences and Paleontology Interest Group has prepared a vocabulary enhancement for Darwin Core consisting of a ChronometricAge class and its properties. Unlike previous term change or addition proposals for Darwin Core, this proposal is for a complete package of terms meant to act as an extension to Darwin Core, enabling Darwin Core Occurrences to be enriched with one or more ChronometricAge records. Also unlike previous proposals, the extension has its own separate (this) Github repository and the terms in the extension have their own namespace (chrono:). Documentation for this extension follows the same pattern as Darwin Core, with a separate normative term list (human and machine readable) and a human-friendly Quick Reference Guide. Though the documentation is separate from Darwin Core in this way, the extension will be managed by the Darwin Core Maintenance Interest Group and supported via the Darwin Core Questions & Answers site. Once ratified, the Darwin Core RDF Guide will be updated to include the IRI versions of appropriate terms from this vocabulary, in the chronoiri: namespace, for use in RDF (e.g., as Linked Open Data).
What to do
The purpose of this GitHub issue is to capture and respond to feedback during the minimum 30-day open public commentary period, starting 2020-11-21. Public commentary is part of the process of making changes to an existing standard, as described in the TDWG Vocabulary Maintenance Specification. Please use the "Comment" feature at the bottom of this issue to share your thoughts. If for any reason you can not or do not wish to comment here, it is also acceptable to send a message to the tdwg-content list (tdwg-content@lists.tdwg.org), or feel free to send a message via email to the Task Group Convenor (gtuco.btuco@gmail.com). If you use the latter option, please indicate what part of the content of the message can be shared here on your behalf.
Reviewing the extension:

To best evaluate the proposal, it is recommended to begin where the work on the proposal began, with the information captured in the brief Feature Report, to understand what the extension was meant to accomplish.
After the Feature Report, it would be best to review the Implementation Experience Report, which explains the history of development, prototype implementations, and provides explanations of and links to all other relevant documents of the proposed vocabulary enhancement.
Finally, and if you look at nothing else, review the term list document, which contains the normative definitions of the terms.

Other pages of interest:

ChronometricAge web page - The primary page introducing the vocabulary and providing links.
Chronometric Age Quick Reference Guide - A human-friendly reference to the vocabulary that is likely to be the go-to reference of choice in practice.
Darwin Core Archive Extension - The definition of the extension to include ChronometricAges in Darwin Core Archives.
Data sets available that use the ChronometricAge Extension:

Source: Florida Museum Environmental Archaeology Baptizing Springs Zooarchaeological Data; On GBIF
Source: UF Environmental Archaeology Tick Island Zooarchaeological Data; On GBIF
Source: UF Environmental Archaeology North Midden Zooarchaeological Data; On  GBIF
Source: UF Florida Archaeology Parnell Mound Site (8CO326), Feature 1 Zooarchaeological Data; On GBIF
Source: Condon Fossil Collection - Oregon Museum of Natural and Cultural History; On GBIF

I would like to see a definition of chronometric age somewhere in the documentation (e.g., in abstract; introduction) as the existing definitions used are circular (defining the term using the term). See https://onlinelibrary.wiley.com/doi/pdf/10.1002/9780471915256.app2 for ideas.

Thanks @gkampmeier. Would something like the following suffice within the abstract?
"The Chronometric Age Vocabulary is standard for transmitting information about chronometric ages - the processes and results of an assay used to determine the age of a sample. This document lists all terms in namespaces currently used in the vocabulary."

Yes, @tucotuco  that helps.  Thanks!

Is there a mechanism to supply IRI values for  chrono:chronometricAgeDeterminedBy, either with an id term chrono:chronometricAgeDeterminedByID or an IRI namespace chronoiri:chronometricAgeDeterminedBy?  Such a mechanism would be needed to allow an RDF representation to express a list of chronometric age determiners as repeated id terms, each pointing to a determiner agent by  ORCID or other agent identifier.

I see the statement "Once ratified, the Darwin Core RDF Guide will be updated to include the IRI versions of appropriate terms from this vocabulary, in the chronoiri: namespace, for use in RDF (e.g., as Linked Open Data)." in the issue above, however, this feels like something that should be an explicit part of the chrono vocabulary, not relegated to the RDF guide, and some possible future action on the RDF guide.

In the definition of  chrono:ChronometricAge  "The age of a specimen or related materials that is generated from a dating assay.", the word "related" worries me a lot, particularly when combined with some of the example values "stratigraphically pre-1104" "Double Tuff".  This implies that related means stratigraphically correlated, which extends to pretty much any fossil placed within any chronostratigraphic unit.  This definition allows the term to be used with any dwc:geologicalContext to provide a date range for that geological context, rather than reporting on dates directly derived from samples, which I understand to be the intent of this proposal.  I'd be much happier with either (1) the term being restricted to application to a material sample, with the removal of "related material", or (2) the explicit expansion of the vocabulary to include correlation, with a term that allows the assertion of whether a chronometricAge is derived directly from the material sample, is derived from a material sample in the same continuous section/exposure/core, or whether the age applies by stratigraphic correlation (probably with discussion of how to handle specimens identified to taxa that define biostratigraphic zones), or (3) an explicit statement that related applies only within a single continuous section/exposure/core, and a term that distinguishes between dates obtained from the material sample itself, or from another material sample.

As an environmental archaeologist I'd interpret 'related materials' to include the sediment sample which included the macrofossils (insects, seeds, pollen etc). With the exception of bones, recording of the exact material dated is often missing, especially in legacy data, so dates are generally on samples and not specimens in the databases. Whether and how the specimens and the sample are actually correlated is often missing information, and many samples are fuzzily dated relative to archaeological contexts or artefacts. However, suggestion (1) appears to work in this context. From my perspective suggestion (2) sounds useful, but will generally be blank for most of our datasets (unless anyone can fund someone to look it all up!). (3) Probably doesn't work for many archaeological excavations, which can be a mess.
Apologies for butting in here! I'm monitoring this discussion as we are intending to use the extension to feed data from www.sead.se into https://biodiversitydata.se/.

It feels like the example for chrono:materialDatedID should use a materialSampleId instead of an occurrenceID.  The material which was dated was not an occurrence, but a material sample.   Consider a set of radiometric dates made from samples of tree rings from a core of a long lived tree, correlated by tree rings to a burned log found in a midden, clarity of what got dated how requires reference to the material sample that was dated.  In RDF, linking through materialDatedID to an occurrence instead of a material sample is likely to lead to confused inferences about the related occurrence.  I'm inclined to think that this goes beyond the example, and the definition of the term should be explicit about it relating to a material sample, not an occurrence.  materialDatedID also indicates that chrono and chronoiri need to be explicitly brought into and dealt with within the chronometric age vocabulary.   chrono::chronometricAgeDeterminedBy, chronoiri::chronometricAgeDeterminedBy, and chronoiri:materialDatedID (but no chrono:materialDatedID), sound like they need to be explicitly discussed in the vocabulary.  There are likely chronoiri terms that can relate to time: terms (time:timeTRS, thors;ReferenceSystem, time:interval, time:instant, etc),  e.g. chronoiri:maximumChronometricAgeReferenceSystem/minimumChronometricAgeReferenceSystem might relate closely with time:timeTRS and thors:ReferenceSystem (or not, I haven't looked closely - but more attentions needs to be given to potential chronoiri terms and their definitions).

Makes sense to map dates to samples rather than occurrences to me. Although for mapping to GBIF we have to use occurrenceID's for every instance of a taxon, and thus in our export we will have to derive the dating information for every occurrence from the sample in which it was found. This will inevitably be a compromise, as many samples have many (forms of) dates, the resulting age range will be the min and max of these with information on how they were derived. (If this information is out of context just ignore me!)

We've been using this for the FuTRES metadata template and it is working well for paleontological and archaeological data.
I like the idea of relating it to the class materialSampleID as if related materials are sampled it's important to distinguish that from the specimen, which is tied to the occurrenceID.

I have added a change term request that I think is sufficient to take care of the issue raised about materialDatedID pointing to a MaterialSample. If there is further discussion on that solution, let's take it to that issue. There remain other issues from the discussion so far about IRI terms. I'll try to comment or make a separate issue for those as soon as I can.

I have opened an issue to cover the IRI term concerns. Please follow the commentary there.

I have opened an issue to cover the question of the treatment of IRI terms in the RDF Guide versus elsewhere. Please follow the commentary there.

When discussing geologic time, the terms maximum, minimum, upper, and lower may be confusing to non-geologist informatics personnel tasked with mapping data onto an exchange schema.  It may be advisable to include oldest and youngest in the definitions for maximumChronometricAge and minimumChronometricAge instead of, or in addition to upper and lower.

When discussing geologic time, the terms maximum, minimum, upper, and lower may be confusing to non-geologist informatics personnel tasked with mapping data onto an exchange schema. It may be advisable to include oldest and youngest in the definitions for maximumChronometricAge and minimumChronometricAge instead of, or in addition to upper and lower.

Would usage comments be sufficient to cover this, or is it necessary to be in the definition?

I have opened an issue to cover the question of what the ChronometricAge refer to. Please follow the commentary there.

I have separated out two issues from one of the comments of @chicoreus above, one for the materialDatedID term and one for ID terms vs IRI terms. Please use those issues to continue those discussions.

@tucotuco  in reference to oldest/youngest:

Would usage comments be sufficient to cover this, or is it necessary to be in the definition?
By analogy to (and for consistency with) the dwc:gGeologicalContext terms, where earlyest and latest are used in the definitions for terms which can take temporal concept values  "latest possible geochronologic", "earlyest possible geochronologic", the normative definition feels like the place to do this, and for consistency earlyest and latest may be the words to use instead of oldest and youngest.

I have added a change term request for the suggestion to clarify that maximumAge refers to the oldest age and minimumAge refers to the most recent age. If there is further discussion on that solution, let's take it to that issue.

It looks like all the concerns I raised have been dealt with in the related issues, except for #20 where I still have concerns about "related".

It looks like all the concerns I raised have been dealt with in the related issues, except for #20 where I still have concerns about "related".

All issues resolved in public review.

Ratified!  Closing.


BIG-IP requiring reboot - DO not understanding the device needs to be rebooted

f5-declarative-onboarding-1.7.0-3.noarch.rpm
DO declaration license with BIG-IQ, provisions, and then waits for the device to become active.
The device prompt shows: [root@bigip:INOPERATIVE:Standalone]
But the UI shows "The system must be rebooted for some changes to take effect" (screenshot included) immediately as the module provisioning.
DO goes through its 90 retries waiting for the device to become active, which it never does successfully. DO rolls back and then reboots the device. The DO process on a local disk takes several minutes. (again, the GUI shows the banner warning immediately after provisioning).
DO then proceeds to return the following invalid JSON:
# curl -u 'admin:' http://localhost:8100/mgmt/shared/declarative-onboarding
{"code":500,"message":"java.net.ProtocolException: status:500, body:{\"id\":\"87716877-6e66-494d-9e7e-10f4cb529e4f\",\"selfLink\":\"https://localhost/mgmt/shared/declarative-onboarding/task/87716877-6e66-494d-9e7e-10f4cb529e4f\",\"code\":500,\"status\":\"ERROR\",\"message\":\"invalid config - rolled back\",\"errors\":[\"tryUntil: max tries reached: Device not active.\",\"tryUntil: max tries reached: Device not active.\"],\"result\":{\"class\":\"Result\",\"code\":500,\"status\":\"ERROR\",\"message\":\"invalid config - rolled back\",\"errors\":[\"tryUntil: max tries reached: Device not active.\",\"tryUntil: max tries reached: Device not active.\"]},\"declaration\":{\"async\":true,\"schemaVersion\":\"1.0.0\",\"Common\":{\"dnsServers\":{\"nameServers\":[\"<IP_ADDRESS>\"],\"search\":[\"internal.local\"],\"class\":\"DNS\"},\"ntpServers\":{\"class\":\"NTP\",\"servers\":[\"0.pool.ntp.org\",\"1.pool.ntp.org\",\"2.pool.ntp.org\"]},\"configsync\":{\"configsyncIp\":\"<IP_ADDRESS>\",\"class\":\"ConfigSync\"},\"provisioningLevels\":{\"ltm\":\"nominal\",\"class\":\"Provision\",\"asm\":\"nominal\"},\"hostname\":\"bigip.grubernet.org\",\"poolLicense\":{\"licensePool\":\"BIGIPVEREGKEYS\",\"licenseType\":\"licensePool\",\"bigIqHost\":\"<IP_ADDRESS>\",\"bigIqUsername\":\"admin\",\"bigIpUsername\":\"admin\",\"reachable\":true,\"class\":\"License\",\"overwrite\":false,\"unitOfMeasure\":\"monthly\"},\"net_1_2\":{\"interfaces\":[{\"tagged\":false,\"name\":\"1.2\"}],\"tag\":4092,\"class\":\"VLAN\",\"mtu\":1500,\"cmpHash\":\"default\"},\"selfip_1_2\":{\"trafficGroup\":\"traffic-group-local-only\",\"vlan\":\"net_1_2\",\"allowService\":\"all\",\"class\":\"SelfIp\",\"address\":\"<IP_ADDRESS>/24\"},\"selfip_1_3\":{\"trafficGroup\":\"traffic-group-local-only\",\"vlan\":\"net_1_3\",\"allowService\":\"all\",\"class\":\"SelfIp\",\"address\":\"<IP_ADDRESS>/24\"},\"dbvars\":{\"ui.advisory.enabled\":true,\"ui.advisory.text\":\"This device is under centralized management.\",\"class\":\"DbVariables\",\"ui.advisory.color\":\"orange\"},\"selfip_1_1\"

This obviously will cause problems for any upstream orchestration expecting the DO to return with valid JSON.
System information:
# cat /VERSION
Product: BIG-IP
Version: 14.1.2
Build: 0.0.37
Sequence: 14.1.2-<IP_ADDRESS>
BaseBuild: 0.0.37
Edition: Final
Date: Wed Aug  7 09:56:44 PDT 2019
Built:<PHONE_NUMBER>44
Changelist: 3117120
JobID: 1129690

Declaration:
{
	"async": true,
	"schemaVersion": "1.0.0",
	"Common": {
		"dnsServers": {
			"nameServers": ["<IP_ADDRESS>"],
			"search": ["internal.local"],
			"class": "DNS"
		},
		"ntpServers": {
			"class": "NTP",
			"servers": ["0.pool.ntp.org", "1.pool.ntp.org", "2.pool.ntp.org"]
		},
		"configsync": {
			"configsyncIp": "<IP_ADDRESS>",
			"class": "ConfigSync"
		},
		"provisioningLevels": {
			"ltm": "nominal",
			"class": "Provision",
			"asm": "nominal"
		},
		"hostname": "bigip.grubernet.org",
		"poolLicense": {
			"licensePool": "BIGIPVEREGKEYS",
			"licenseType": "licensePool",
			"bigIqHost": "<IP_ADDRESS>",
			"bigIqUsername": "admin",
			"bigIpPassword": "XXXXXX",
			"bigIpUsername": "admin",
			"bigIqPassword": "XXXX",
			"reachable": true,
			"class": "License"
		},
		"net_1_2": {
			"interfaces": [{
				"tagged": false,
				"name": "1.2"
			}],
			"tag": 4092,
			"class": "VLAN",
			"mtu": 1500
		},
		"selfip_1_2": {
			"trafficGroup": "traffic-group-local-only",
			"vlan": "net_1_2",
			"allowService": "all",
			"class": "SelfIp",
			"address": "<IP_ADDRESS>/24"
		},
		"selfip_1_3": {
			"trafficGroup": "traffic-group-local-only",
			"vlan": "net_1_3",
			"allowService": "all",
			"class": "SelfIp",
			"address": "<IP_ADDRESS>/24"
		},
		"dbvars": {
			"ui.advisory.enabled": true,
			"ui.advisory.text": "This device is under centralized management.",
			"class": "DbVariables",
			"ui.advisory.color": "orange"
		},
		"selfip_1_1": {
			"trafficGroup": "traffic-group-local-only",
			"vlan": "net_1_1",
			"allowService": "all",
			"class": "SelfIp",
			"address": "<IP_ADDRESS>/24"
		},
		"net_1_3": {
			"interfaces": [{
				"tagged": false,
				"name": "1.3"
			}],
			"tag": 4091,
			"class": "VLAN",
			"mtu": 1500
		},
		"class": "Tenant",
		"net_1_1": {
			"interfaces": [{
				"tagged": false,
				"name": "1.1"
			}],
			"tag": 4093,
			"class": "VLAN",
			"mtu": 1500
		},
		"failoverAddress": {
			"class": "FailoverUnicast",
			"address": "<IP_ADDRESS>"
		}
	},
	"class": "Device",
	"label": "generated from DHCPv4 metadata"
}

Logs and UI banner screenshot attached.

logs.tgz

I can cause this effect intermittently and it appears to be timing related.  On some created VE instances, the device will stay in the INOPERATIVE state, others with the same hypervisor and declarations complete just fine.
The tell tale sign is of the XUI shows the warning message that a reboot is required. DO needs to 'understand' the reboot require as the XUI does.

DO already checks the sys db provision.action variable and the shell's PS1 line to check for reboots. Do you happen to know what else we should be checking?

Do we have a plan to fix this now？

Tracking in the internal product backlog as AT-850.

We are having a hard time reproducing this. @jgruberf5 @jikui Can either of your provide more information about the environment you are seeing this in, steps to reproduce the issue, or the frequency of the issue?

4 interfaces with DHCP enabled using tmos-cloudinit tmos_dhcpv4_tmm.
Duplicated in two environments:
4 linux bridge networks with dnsmasq DHCP services on each interface (libvirt enable)
4 OVS bridge networks with dhsmasq DHCP services on each interface (OpenStack Stein)

@jgruber is this still an issue that is being seen on recent versions of Declarative Onboarding?

Closing for inactivity. If you are still encountering issue, please reopen this ticket for a file a new one.


redirect trailing slashes

fixes #805
I removed the trailing slash apache rule so that it behaves more like the website.

@dstockto once you're good with the changes we're good to merge

fixed with !866


Cannot read property 'priority' of undefined

vue 2.2.6
vue-touch  2.0.0-beta.4
hammerjs  2.0.8
vue error  Cannot read property 'priority' of undefined

var VueTouch = require("vue-touch");
Vue.use(VueTouch, {name: "vtouch"});

Please provide a reprodution onm jsfiddle or some similar service so I can debug this. thanks.

same issue after i upgrade my vue version

He is already using vue-touch 2.0.0-beta.4 appearantly.

same issue

@daidi 你的这个问题解决了么？我下载的就是最新的版本？报这个错误

Are you using Vue 1?

Closing for inactivity. Please open a new issue with a proper reproduction if this is still a problem.


Login labels over each other

⚠ Please verify that this bug has NOT been reported before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
When I login I get the following with the labels in Safari:

For some reason they are overlapping...
I think that I see the both Dutch (in my case) and English translation displayed both.
👟 Reproduction steps
Go to the login page with a translation and view the input fields without placing the focus on them.
👀 Expected behavior
See only one label :)
😓 Actual Behavior
I see two labels/placeholders in 1 input field.
Looking at the HTML source I think it has something to do with this:
<div data-v-e469ef08="" class="form-floating mt-3">
   <input data-v-e469ef08="" id="floatingPassword" type="password" class="form-control" placeholder="Password" autocomplete="current-password" required="">
   <label data-v-e469ef08="" for="floatingPassword">Wachtwoord</label>
</div>

You get the "Password" as a placeholder and a "Wachtwoord" (Dutch version of "Password") as a label.
I think the label is placed over the input field and that why I'm seeing both Dutch and English...
I guess that the problem is solved when the translation of the place holder is fixed or... when the placeholder is disabled or... when the label is only shown when the focus is on the field.
Dockge Version
1.4.1
💻 Operating System and Arch
Synology NAS + Docker
🌐 Browser
Chrome 120.0.6099.199 / Safari 17.2.1 (196<IP_ADDRESS>.12)
🐋 Docker Version
Lastest version of Synology
🟩 NodeJS Version
No response
📝 Relevant log output
No response

I opened a pull request to fix this issue two days ago. #342

Closed by https://github.com/louislam/dockge/pull/342


[Fix] fix a yolox bug when applying bbox rescaling in test mode (reopened)

This bug is triggered only when batch_size > 1. For example, given batch_size = 20,
the tensor on the left side has shape [20, x, 4], while the tensor on the right size
has shape [20, 4]
Motivation
fix a yolox bug when applying bbox rescaling in test mode.
Modification
reshape a tensor so that the assignment can be carried on successfully. (code had been tested on both batch_size = 1 and batch_size > 1)
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Menghua Zhai seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @viibridges ,
Could you sign CLA so that we can merge this PR？

Hi @viibridges ,
Could you sign CLA so that we can merge this PR？

done

@viibridges Please fix the lint.

@viibridges Please fix the lint.

the lint issue has been fixed


Remove bunting for 2020 Easter Monday

Given the COVID-19 pandemic and people being asked to stay at home, it would be inappropriate to decorate GOV.UK with bunting at this time.

😢

@boffbowsh I think we should put up bunting when we get a vaccine for Covid-19


util: Fix backoff wait logic

The previous code didn't actually make use of cap so it increased the
wait interval indefinitely..
Sigh.. I wrote the original patch, and I'm not sure what happened 🙈

Since Kevin is away I'm just going to merge this ...


When an entity is created, the form on the right should shown the new entity

Not solved in Entity Module


what's the runDeFA in  test.m line 37 ?

I run the test.m in matlab2018b, with complied matconvnet cpu, but it show me the error
`未定义函数或变量 'runDeFA'。
出错 test (line 37)
[A3D,landmark68] = runDeFA(im,DeFA)`
and I didn't find any function or document named runDeFA, can you help me or tell me what's it mean?
thx

I've found a function runDeFa here
matlab/runDeFA.m
But it doesn't work for me .
I get the error:
error: invalid use of script /home/pavlovskaya/Downloads/ICCVW2017-DenseFaceAlignment-master/matlab/vl_nnconv.m in index expression
error: called from
vl_test_simplenn at line 297 column 14
runDeFA at line 18 column 5
test at line 38 column 17
But in the file  vl_test_simplenn.m we have at line 297 exacltly basic computing of the outputs:
output = vl_nnconv(res(i).x, l.weights{1}, l.weights{2}, ...
'pad', l.pad, ...
'stride', l.stride, ...
l.opts{:}, ...
cudnn{:}) ;
I don't understand what is wrong here with the index expression.
Unfortunately I'm not proficient in matlab, so I wanted just use this code as a blackbox to get 3D map of the face. But can't even run the script on the test image(((

I've found a function runDeFa here
matlab/runDeFA.m
But it doesn't work for me .
I get the error:
error: invalid use of script /home/pavlovskaya/Downloads/ICCVW2017-DenseFaceAlignment-master/matlab/vl_nnconv.m in index expression
error: called from
vl_test_simplenn at line 297 column 14
runDeFA at line 18 column 5
test at line 38 column 17
But in the file vl_test_simplenn.m we have at line 297 exacltly basic computing of the outputs:
output = vl_nnconv(res(i).x, l.weights{1}, l.weights{2}, ...
'pad', l.pad, ...
'stride', l.stride, ...
l.opts{:}, ...
cudnn{:}) ;
I don't understand what is wrong here with the index expression.
Unfortunately I'm not proficient in matlab, so I wanted just use this code as a blackbox to get 3D map of the face. But can't even run the script on the test image(((

thx, I find it, because I replaced the original matlab file with the one I compiled, and the compiled one has no runDeFA.mat. And now it works.
I downloaded the matconvnet , compiled it and raplaced the original matlab with compiled matconvnet's matlab file, then it works ,  you can have a try i think

I close this issue since it's solved.


Move edxapp vars to app

Purpose
This is the second step of our application driven migration, now targeting the edxapp application
Proposal

[x] fix app/services labels in templates
[x] define an host+port for the patient0/development project
[x] move edxapp variables from group_vars/all/main.yml to apps/edxapp/vars/all/main.yml and use them in templates
[x] all synchronous sequential job execution :tada:
[x] test edxapp's deployment in the CI
[x] wait for all services to be up before running jobs
[x] ~add support for multiple hosts per-service~ edit: postponed to another PR (see #90)
[x] ~add lms host definition and test it~ edit: postponed to another PR (see #90)

We still have a timeout from CircleCI's test-bootstrap job. We decided to merge this as-is and address this timeout issue in a new PR: the idea is to split the test-bootstrap job in a per-app job, to hopefully prevent job failure due to a timeout issue.


[TIR][Hybrid] Hybrid Script Support for TIR

In [RFC] Hybrid Script Support for TIR, we plans to utilize a subset of Python AST that can express every TIR node. In this PR, we introduce hybrid script printer&parser with basic infra and a complete parsing/printing feature.

cc @tqchen @junrushao1994 @Hzfengsy

Thanks @spectrometerHBH , some quick items:

run ./tests/lint/git-clang-format.sh -i to format the code
add testcases to cover some of the existing logics

cc @Hzfengsy @weberlo @junrushao1994 @were please help to review the PR

Thanks! I will take a look this weekend :-)

cc @Hzfengsy @junrushao1994 please take another look. @spectrometerHBH  please add the testcase about report error then it looks good from my side.

Thanks @spectrometerHBH @junrushao1994 @Hzfengsy . This PR is now merged


Displaying string value of enums.

I am not able to generete swagger using string value of enums. I have both tried using [JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]  and DescribeAllEnumsAsStrings() in SwaggerGenOptions.
No matter it dipsplays int32 value.
I wish to display YES and NO instead of 0 and 1

As this package (Newton) is obsolete, some functionality has been moved to Swashbuckle.AspNetCore.Newtonsoft package
Have you tried to use AddSwaggerGenNewtonsoftSupport()?
Please, create a repro if it won't work.

In my project the extension method AddSwaggerGenNewtonsoftSupport() doesnt work.
Its a DotNetCore 3.1 function with the newest stable NuGet.
My solution was to implement a custom filter (ISchemaFilter) and overwrite the enum definition.

I am having the same issue.
I've updated to the latest versions of AzureExtensions.Swashbuckle and Swashbuckle.AspNetCore.Newtonsoft
and added
public class WebJobsStartup : IWebJobsStartup
{
...
            services.AddSwaggerGenNewtonsoftSupport();
...
}

I've decorated the enum with [JsonConverter(typeof(StringEnumConverter))] and also on the property itself.
@vitalybibikov Would you mind updating your sample to include an enum property to show us how to make this work correctly without having to write custom filters? That should not be necessary.

I took a different route by removing all refs to Newtonsoft and just using the new System.Text.Json attributes and this works for me now.

I'm not sure whether Newtonsoft support should be added at all, as multiple Serializers will definitely give me an extra amount of work during testins/development.
Moreover, Newtonsoft is already "deprecated" (link) in .NET core 3, and upcoming .NET 5 adds even more benefits to System.Text.Json.
So, at the moment, I'm just going to wait and  see whether this support is actually required by the masses.

I took a different route by removing all refs to Newtonsoft and just using the new System.Text.Json attributes and this works for me now.

Can you provide the sample code for what you did ?
is this what you added ?
services.AddMvcCore().AddJsonOptions(x =>
{
x.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter());
});

@amitvig22 No, since this was entirely for Azure Functions I didn't need to configure anything related to MVC. I just stopped using the Newtonsoft attributes and used the System.Text.Json ones.
[System.Text.Json.Serialization.JsonConverter(typeof(JsonStringEnumConverter))]

So, I guess I'm going to close this one, as Newtonsoft is not the future of .NET Core/.NET 5 and Azure Functions

@vitalybibikov I thought that the current Azure Functions libraries explicitly rely on NewtonSoft libraries and do NOT use STJ... Am I wrong?

@vitalybibikov I thought that the current Azure Functions libraries explicitly rely on NewtonSoft libraries and do NOT use STJ... Am I wrong?

Azure Functions can definitely be a confusing landscape.
Here is a working example of now to decorate types containing enums in case it helps anyone running into this issue. (NOTE: This also includes other decorators for Newtonsoft serialization.)
Swagger can now generate the docs so that enums are described as strings.

using System.Runtime.Serialization;
using System.Text.Json.Serialization;
using Newtonsoft.Json.Converters;

namespace Swagger
{
    [Newtonsoft.Json.JsonConverter(typeof(StringEnumConverter))]
    [JsonConverter(typeof(JsonStringEnumMemberConverter))]
    public enum GeoJSONObjectType
    {
        [EnumMember] Point,
        [EnumMember] MultiPoint,
        [EnumMember] LineString,
        [EnumMember] MultiLineString,
        [EnumMember] Polygon,
        [EnumMember] MultiPolygon,
        [EnumMember] GeometryCollection,
        [EnumMember] Feature,
        [EnumMember] FeatureCollection,
    }
}
------
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
using Newtonsoft.Json;

namespace Swagger
{
    public class FeatureCollection
    {
        [Required]
        [JsonRequired]
        [JsonProperty(PropertyName = "type", Required = Required.Always, DefaultValueHandling = DefaultValueHandling.Include)]
        [JsonPropertyName("type")]
        public GeoJSONObjectType Type { get; }

        [Required]
        [JsonRequired]
        [JsonProperty(PropertyName = "features", Required = Required.Always)]
        [JsonPropertyName("features")]
        public List<Feature> Features { get; private set; }
    }

    public class Feature
    {
        [Required]
        [JsonRequired]
        [JsonProperty(PropertyName = "type", Required = Required.Always, DefaultValueHandling = DefaultValueHandling.Include)]
        [JsonPropertyName("type")]
        public GeoJSONObjectType Type { get; }

        [JsonProperty(PropertyName = "id", NullValueHandling = NullValueHandling.Ignore)]
        [JsonPropertyName("id")]
        public string Id { get; }

        [JsonProperty(PropertyName = "geometry", Required = Required.AllowNull)]
        [JsonPropertyName("geometry")]
        public IGeometryObject Geometry { get; }

        [JsonProperty(PropertyName = "properties", Required = Required.AllowNull)]
        [JsonPropertyName("properties")]
        public Dictionary<string, object> Properties { get; }
    }

    public interface IGeometryObject
    {
        GeoJSONObjectType Type { get; }
    }
}


Express-fileupload options

Documentation Issue

The default upload behaviour is to load everything to memory. This is not really feasible when dealing with large files.
Further, the docs are confusing. It is implied that all valid express-fileupload options (like useTempFiles) are supported, however adding anything but upload.limits.fileSize throws an error due to validation failure.
If this limited behaviour is intended, then the docs should probably reflect that.
Additional Details

none

Thank you for the report @EKMN! We'll look into either supporting all options or a subset, then updating the docs accordingly.

Hey @EKMN —
Good call here. Just some bad schema validation. All express-fileupload options are available for your use and are now validated / typed accordingly.
Give the new version a shot and thank you!


Group Creation

Things are getting easier now!
Summary

This pull request introduces the ability to create activity groups using multi-select.
It also fixes the issue with group type editing to make the group style editor work.

https://user-images.githubusercontent.com/4214172/166807083-70cd0588-b5ff-4595-82aa-b1962b800566.mp4
part of #850

Discussion
Some areas are still incomplete

I haven't worked out the UI for editing participation ranges yet.  I think this might require customer feedback
The logic to actually edit the activity group members when multi-select changes is not hooked up.  Save doesn't get triggered.  This is more to demonstrate the UI.
I changed my mind about not being able to select multiple things at once.  While editing a group, it seems useful to be able to select an individual track in order to identify it uniquely among other tracks in the group to signify which frame ranges (or activity participangs) you want to change.
Certain conveniences, like jumping to time stamp when group is selected and auto-scrolling the group list when a track is selected and stuff like that is not yet done.   These will be polish tasks.  Also, auto-switching to the track details tab when group edit mode is entered
Deletion hasn't been thought about yet.  Probably want 2 different delete mechanisms: delete group only and delete group and all members.
I don't like the difference between clicking the track number (triggers selection) and clicking group number (triggers editing).  I did this because "selection" of a group is useless.  I think that the group editor sidebar can function as everything: showing what tracks are in it, letting you see all the frame ranges and edit the type, etc.  Adding distinct selected and editing states for a group adds complexity for no reason IMO.  Also, since you can't "right click" a group, there's no way to enter editing state without clicking some button on the group list item.   Probably will end up making the ID number not clickable and adding a dedicated edit button for consistency.

Thanks Bryon, I'll address these in the next PR.


Parsing months in PL locale in strict mode

Hello,
This is the issue I stumbled upon: http://jsfiddle.net/oo0v17xy/
In Polish language there are actually two ways of writing month, both correct (22 march could be '22 marca' or '22 marzec'), and both should be considered valid in strict mode parsing.
As I can see those variations are already defined in moment.js codebase for polish locale, but not taken into account while parsing.

@szwacz : Just wanted to note that '22 marzec' is not correct either. Only '22 marca' is correct in this example.
There also seems to be an issue with calendar dates. It says 'W niedziela' instead of 'W niedzielę'.

I wasn't even aware that one of those forms is incorrect. BTW, it's not about what is correct, is about what people use.
But still. Form '22 marzec', even though not correct, is very often used in computer world (because Polish language nuances are so difficult to implement).

Closed via #2278.

I think this issue should be reopened because now when we just want to get months with pl locale like that:
moment.months()

we get this:
["(stycznia|styczeń)", "(lutego|luty)", "(marca|marzec)", "(kwietnia|kwiecień)", "(maja|maj)", "(czerwca|czerwiec)", "(lipca|lipiec)", "(sierpnia|sierpień)", "(września|wrzesień)", "(października|październik)", "(listopada|listopad)", "(grudnia|grudzień)"]

For the next person running into this issue that @savchenkoto reported, you can get the data via moment.localeData().months();

Any chance that the original author @szwacz could have a look at the bug report #5369?
Fixing it seems to be a no-brainer, but I don't speak polish and should not decide which month names should be taken. Otherwise the original patch should be reverted completely.

Ok, the fix might be easy, but it suggests there is no test coverage for moment.localeData().months();? Otherwise I'd get it right the first time.


feat: add sectionsTitles parameter

If the website is composed of multiple sections, we could want to define different titles templates for each of them. For example:

documentation: Title - My documentation
blog: Title - My blog
guides: Title - My guides

With this PR, the user can define a new entry params, sectionsTitles to define per section title, used in the title of section pages. If none is defined, the default title is used.
Example:
title: My documentation

params:
  sectionTitles:
    blog: My blog
    guides: My guides

thanks! we need to take into account that our site supports multiple languages. the current approach might not work for multi-language sites. we should probably figure out a different approach.

For multi-languages it works too, you just have to put sectionTitles in a languages > lang code > params section. For example for a french version of above parameters:
languages:
  fr:
    params:
      sectionTitles:
        blog: Mon blog
        guides: Mes guides

@imfing is it still ongoing or shoud I close ?


Is there a c version?

Thanks for your great job, it performs good and have better quality than photoshop.
I'm looking for a c version, is there a c port?

Ok, I've wrote one by myself. GifEncoder


[Feature Request]: Hand Gesture

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
If we are talking about the safety , then we should definite add the hand gesture movement.
For Example:- There are 3-4 peoples trying to cover the girl/boy face then there that person can use the hand movement so that it can gave the signal.
Use Case
We can use this feature to add on more efficient to this project and it will work more scalable.
Benefits
Implementing this feature will make this project more scalable and efficient.
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[x] I want to work on this issue

a special gesture would give it away and would alert the attackers, a normal gesture would be captured too many times
need to look into it more

yes sure!


Jira intergration adds "Copy the link to this issue" to the title

OS version: Windows 10
Browser version: Chrome version 79.0.3945.117
Extension version: 1.56.1

Relevant integration (if any): Jira
myorganizationname.atlassian.net
🐛 Describe the bug
When you click "Start Timer", if you then to to toggl.com/app/timer, it shows "Copy the link to this issue" directly after the issue number in the title of the toggl item.
Expected behaviour
it should not include the text "Copy the link to this issue"
Steps to reproduce
Steps to reproduce the behaviour:

Go to a Jira issue
Click "Start Timer"
Go to toggl.com/app/timer
The title will include the text "Copy the link to this issue"

Hey, sorry you are experiencing this problem. We'll fix it as soon as possible 👍
For future selves: I tracked it down, it happens only when viewing an issue in a project of the "Next generation scrum" project format.

Case reference

Case reference


I been looking for over an hour for a fix but can't find it, when I try running it with index or shard it gives me this

SyntaxError: C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\config.json: Unexpected token / in JSON at position 169     at parse (<anonymous>)     at Object.Module._extensions..json (node:internal/modules/cjs/loader:1169:22)     at Module.load (node:internal/modules/cjs/loader:981:32)     at Function.Module._load (node:internal/modules/cjs/loader:822:12)     at Module.require (node:internal/modules/cjs/loader:1005:19)     at require (node:internal/modules/cjs/helpers:102:18)     at Object.<anonymous> (C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\shard.js:1:16)     at Module._compile (node:internal/modules/cjs/loader:1103:14)     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)     at Module.load (node:internal/modules/cjs/loader:981:32)

SyntaxError: C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\config.json: Unexpected token / in JSON at position 169 at parse (<anonymous>) at Object.Module._extensions..json (node:internal/modules/cjs/loader:1169:22) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object.<anonymous> (C:\Users\ladyg\Videos\My Discord Bots\Pogy-main\shard.js:1:16) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10) at Module.load (node:internal/modules/cjs/loader:981:32)

I also have been facing this issue

Just replace the config.json with this:
{ 	"main_token": "", 	"mongodb_url": "": "", 	"developers": [""], 	"datadogApiKey": "", 	"dashboard": "true", 	"prefix": "!r", 	"arc": "", 	"youtube_key": "", 	"cat_api_key": "", 	"webhook_id": "", 	"webhook_url": "" }

For those that don't know, .json files DO NOT support comments, this is why you are getting this error, make sure to delete the comments before running the bot, any further issues will be investigated.


Pull

Sorry, foutje

Ow wauw, I think you are about to contribute something nice. Let me know if you need some help.


Performance issues since auctions were added to Android App

What happened:
Since the auctions are live as non beta feature, the app is very laggy and often shows connection outages.
All interactions with the UIs feel like they have a 0.5s delay which was not present with previous versions. The overall snappy feeling for previous versions is gone.
Devices where these delays happen:

Samsung Galaxy S20+
Samsung Galaxy Tab S7
Amazon Fire 10

What you expected to happen:
That the UI stays as smooth as it was on 0.8 or 0.9
How to reproduce it (as minimally and precisely as possible):
Install v.0.8 and compare the overall smoothness and delays to v.11
Anything else we need to know?:
This is my first public github issue, sorry if i missed anything

Hi @MTNST-AL, thanks for the feedback. We will be working on these performance issues soon.

Hi @MTNST-AL, we have introduced some improvements with 1.3.0. Please have a look and let us know if you noticed any difference.


Gut vectormath: Remove matrix, plane, parallelogram, and utils

Only Vector classes are actively used. The remaining classes are
saved on a branch for further development.

Current coverage is 77.82% (diff: 100%)

Merging #17 into dev will increase coverage by 2.60%

@@                dev        #17   diff @@
==========================================
  Files             6          2     -4
  Lines           460        239   -221
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            346        186   -160
+ Misses          114         53    -61
  Partials          0          0

Powered by Codecov. Last update 3358529...fe645d2


[AUTOMATIC BUMP] Updates purchases-hybrid-common to 10.6.0

This is an automatic bump.
Updates purchases-hybrid-common to 10.6.0

          1 Message

:book:
Size increase: 0.00 KB

  Generated by :no_entry_sign: Danger


help: Update "Emoji and emoticons" and "Mention a user or group" instructions.

This PR updates and replaces #25086.

Updates emoji example screenshot to use modern Google emoji, rather than Google blobs.
Updates mentions screenshot to match the new example text.

Screenshots and screen captures:

https://zulip.com/help/format-your-message-using-markdown#emoji-and-emoticons

https://zulip.com/help/format-your-message-using-markdown#mentions

Thanks! I looked at this on /help/format-your-message-using-markdown, and the font size on the second screenshot looks too big to me -- it's significantly than other screenshots on the page. (The emoji may be kind of big too? It's harder to tell there.)

Thanks! I looked at this on /help/format-your-message-using-markdown, and the font size on the second screenshot looks too big to me -- it's significantly than other screenshots on the page. (The emoji may be kind of big too? It's harder to tell there.)

I updated the PR. I think it should look good now, what do you think?

Sure, that works for me!

Nice, merged, thanks @drrosa!


V 2 time to life

The version 1 was a very short time to life.

What you mean

What is the time of live expected of the version 2?

Who knows.

Each version change means having to delete the device and reconfigure it. If you have environments, shortcuts and automations as in my case, it is a big problem because it costs a lot to leave the configuration as it was before. I commented on this because the change to version 1.0 has been a little disappointing, because of how little it has lasted. If you now have to repeat the whole process with version 2.0, at least I would like to know if the lifetime is expected to be longer than version 1.0. I hope you have understood me. Thank you

Only update to v1 need to remove and add devices to home kit again, v2 just changes properties in config for MQTT and RESTFul all other still working as before. All shortcuts and automations will not be deleted. If devices need to be deleted and added again then this is described in changelog.

P still inv 0. I cann update to v 2 without reconfigure nothing?

Yes, update direct to 2.2.2

Update from v0 to v1, v2, vx need remove and add the devices to the HomeKit again.

If I have to remove the device and reconfigure it, for me it is a complicated process because I am blind and it takes me a lot of time and a lot of problems. Losing the scenes and automations are a real headache for me, so although I would like to try version 2.0, if it is necessary to do all that process I will continue in the Zero version. X, which at the moment works very well for me. Thank you for everything

To make backup of HomeKit and store all scenes and automations you can use Controller app.

I know that application and also its backup function. But in reality that does not solve anything, because if you have to delete the device and reconfigure it, you also have to reconfigure the scenes and environments, and there the backup, does not solve anything. It can help to recover an old scene or shortcut, but you still have to reconfigure it with the new device. For me, because of my disability, that action costs me a lot. I use VoiceOver and in the end I get it, but it's very, very slow and very tedious for me. I appreciate all the information but as long as the zero version continues to work well, I will continue with it. Thanks a lot


Capturing screen question

Hello, I am trying to use this awesome library for screencapture, but it returns MMBitmapRef and actually I cannot get how to convert this to byte[] or image types golang supports. How can I do that? Please, help

You can save the image and then manipulate the image.

@vcaesar  there is a performance question, as I am going to use image recognition like opencv lib, there should be a way to get pure data out there. Is this really the only way? What are the reasons behind this? Memory management?

@vcaesar  btw is there a way to get image of window not the screen?

I will consider adding a similar conversion method. You can set the length, breadth and width, but not yet able to intercept a window, but you can activate the window.

@vcaesar Cool! Your library is quite complete, but adding similar to FindWindow/EnumWindow  and GetWindowRect functionality as well as method for retrieving raw data will eliminate need in others like 	github.com/lxn/win and github.com/shirou/w32 and in writing own code

fpid, err := robotgo.FindIds("Google")
  if err == nil {
    fmt.Println("pids...", fpid)

    if len(fpid) > 0 {
      robotgo.ActivePID(fpid[0])

      robotgo.Kill(fpid[0])
    }
  }

  robotgo.ActiveName("chrome")

Similar to FindWindow/EnumWindow.

@vcaesar yes, I`ve looked through available apis. But why I am asking is because of my particular use case, as i need to find a window to capture screen from it.

Closed because of the new API, you can convert bitmap to bytes. About FindWindow/EnumWindow should not be in this issue.


Fix that columns named « toString » are displayed as collapsed (#2451)

./refine build to build

./refine to run an instance

add column by using existing column

verify column header and content are added correctly

Root cause is there are default properties in a empty dict of javascript
we have to enhance the element existence by checking the value type

Hi @james-cui: I see your modification.
I wonder, do you think it's possible to fix it before?
We have this: typeof(self._collapsedColumnNames[column.name]) !== 'function'
But, instead of checking AFTER that it's a function, could the title of the column be stored in self._collapsedColumnNames[column.name] as a string, rather that a function?
One of the reason I'm asking is because we are moving towards Vue.js for our main grid, so this patch could have to be done again in the new code. But if we clean this before so it a normal string, we might not have this problem…
Regards, Antoine

@wetneb improved based on code review comments, can you take a look?

@james-cui: good job and thank you. Nice fix.
Regards, Antoine.


Jimmy code refactor

Coverage increased (+0.05%) to 35.723% when pulling 202b19fb3dd3dc3e5502054f1242bd13c2c77572 on jimmy-code-refactor into c4af6bd0ba8e2d999e2bd3c21b72695e1819a991 on master.


Update to onnxruntime 1.16.0 from v1.15.1

https://github.com/microsoft/onnxruntime/releases
Onnxruntime v1.16.0 is just released. We will update sherpa-onnx to use that.

Note: After the update, you may need to use GCC >= 9 or Visual Studio 2022 to build sherpa-onnx

Already updated to onnxruntime 1.16.0


Just wondering if you really plan to implement a provider for GCP?

Yes, we are deep dive into the GKE.
But it doesn't look like AWS, We still not find how to add a node directly. Or for eatch node, cteate a gke nodepool(not karpenter nodepool), which is too complex.

Hi @mastersingh24 , do you have any suggestions about how to register node with gke?

OK, we find a way to manage the node without gke nodepool

@jwcesign, don't you mind sharing this info somewhere?

@jwcesign, don't you mind sharing this info somewhere?

And you will be notified once it's ready


MIREOT code OMRSE and Repo files

Hey @dillerm !
For reference, would you mind sharing the commands you are using to MIREOT information from external ontologies, and merge them into omrse?
Another question: I can see this is the current import structure:

omrse.owl

education.owl

omrse-core.owl (importing some old fragment of BFO, IAO, PNO, and d-acts (IAO subsets I assume))

language.owl

omrse-core.owl

Is it fair to say that:

omrse.owl is the main ontology which imports everything
omrse-core contains the core omrse concepts
education and language are the two primary specialised components of omrse, which depend on the core terms.
what we call OMRSE (the whole ontology) are all of the above together (core, language, education).

This leaves the following file generally disconnected:

language-individuals.owl (importing language.owl)

What is its role in OMRSE?

We use the MIREOT plugin for Protege, the repo of which can be found here: https://github.com/UAMS-DBMI/MIREOT-plugin.
Yes, that is the import structure for OMRSE and each of the statements in the four bullet points below that are correct.
The reason for why we do not import language-individuals.owl into any of the other files is that we want to keep the language individuals demarcated from language classes. @hoganwr might have a more detailed explanation than that.

We use the MIREOT plugin for Protege, the repo of which can be found here: https://github.com/UAMS-DBMI/MIREOT-plugin.
Yes, that is the import structure for OMRSE and each of the statements in the four bullet points below that are correct.
The reason for why we do not import language-individuals.owl into any of the other files is that we want to keep the language individuals demarcated from language classes. @hoganwr might have a more detailed explanation than that.

Thank you @dillerm !

Thank you @dillerm !

Nothing further to do here.  We have, incidentally, moved to the OBO ODK methodology for maintaining OMRSE, so MIREOT no longer goes through the Protege plugin, but instead via the ODK process.


not able to sort on columns created with ng-repeat

when you click on question column all the columns by question collection is selected and also sorting method is not called either
<table md-table>                                             <thead class="student-list-header" md-head md-order="dialogCtrl.query.order">                                                 <tr md-row>                                                     <th md-column md-order-by="student.firstName">                                                         Name                                                      </th>                                                     <th md-column md-numeric md-order-by="getPercentageScore">                                                         Score                                                     </th>                                                     <th md-column md-numeric ng-repeat="question in dialogCtrl.studentList.questionTitles" md-order-by="getScoresByQuestionId(question)">                                                         {{question}}                                                     </th>                                                 </tr>                                             </thead>

@shroffshyam: I think you got your md-order-by attribute wrong. Are you trying to order by the value returned by the getScoresByQuestionId(question) call? What does it return? The md-order-by attribute should refer to a field name that is part of the row data set. So to take an example from the demo, if you have <tr ... ng-repeat="dessert in desserts.data ..." ...>  then in your calories column, you should have <th md-order-by="calories.value" ... > which comes from dessert.calories.value.
Could you also include the rest of the table definition?


Refactor Refactor some unreasonable code in exec

Proposed changes

Add TODO comment in join
comment change
auto pointer type
change copy to reference

run buildall

run buildall


Fix kerberos service generateKeyTabs()

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/ambari-rest-client-pull-request/114/


chore(ci): node v17

Description
As we discussed in the meeting today, we want to support (at least linux/ubuntu) the newest version of node.
So we will always support the latest LTS versions and the newest one unless it's the LTS.
Also we only support the newest LTS on mac and windows
Additional context

What is the purpose of this pull request?

[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

I was seeing some strange bugs on the initial release of 17.x but I assume those have been patched with this passing test.
I don’t know what was discussed, but personally I’m a bit hesitant to say we’ll support an unstable, odd-numbered Node version immediately upon release (for the reasons above). But, it’s very important to make sure it works for odd-numbered versions as it stabilizes and the next even gets closer to release. I don’t really have a set number or timeline on when that switch happens.
Since this is passing I think this is good to add. But if we get a failure due to a major API change in Node 17 or something, then I’d probably advocate disabling this test and adding as a dedicated scope of work to fix.

Ignore my deleted comment; sorry! I was bouncing back-and-forth between Astro and Vite PRs and got projects mixed up.


Fixed autodl-irssi on ubuntu 16.04 and added support for file manager plugin

Just added support for the file manager plugin and fixed a bug on autodl-irssi.
Hope you accept my contribution.
Thanks.

Have made some changes to fix the autodl issue. With regards to file manager I won't be including it, as it brings with it a whole host of support issues, that I am not equipped to deal with. People are of course welcome to add it as you have to their own installations.

Thank you for your support, just saw that you made a much better implementation of my suggestion.
Anyway, one thing that still missing is the installation of openssh during the entire process, 'cause not every distribution comes with it bundled.

Yes though if you don't have it installed, because for example you are using a home server, you may not want it installed, so I will implement a check to see if it is installed, and if not ask the user if they wish to install it.
I will add this to my todo list.


Fix mesa rendering outside window borders on wayland

This PR essentially reverts https://github.com/jwilm/alacritty/commit/62eb1e293898357ee46a9ba6c4e7cf87a6af1ea2 but fixes issue https://github.com/jwilm/alacritty/issues/1517.
This PR may lead to a significant slowdown on mesa systems due to a bug in mesa however it is necessary for wayland support, its a bit of a conundrum of support vs performance.

Benchmarking this change it introduces a 3000% performance penalty on my X11/mesa system.
Running the alt-screen-random-write benchmark in vtebench the benchmark finishes in 4 seconds on the latest master and takes 2:03 minutes with this PR.

@chrisduerr I would be grateful if you could re-benchmark this PR with the latest commit https://github.com/jwilm/alacritty/pull/1518/commits/5e5e3ad906dd20d9112ca9e1d7104064ca67508e to see if the performance issue still persists

@jedahan According to the discussion in https://github.com/jwilm/alacritty/pull/410, the performance issue was never reported to mesa. I'm not 100% familiar with what's going on since I've never investigated it myself, but potentially it makes sense to report this upstream.
I probably makes sense either way for @jwilm to review this since iirc he's the only one who ever looked into this. Maybe it makes sense to report this upstream at this point? Even though this patch seems to 'do the job' at first glance.

So I just looked into my TODO and noticed that the issue https://github.com/jwilm/alacritty/issues/1227 seems like it might be affected by it.
So I tested things out and noticed that this PR also fixes a few other issues I've been struggling with for a long time.
In i3 when a new window is spawned, sometimes the old window is cleared without being properly redrawn. Another issue is that when closing a window (which grows the other tiled alacritty windows), the window would not visually resize itself until an event is received. Both these issues are solved with this PR.

I think it's fine the way it is right now. You can change it if you have an idea for a better title though. It can still be changed when merging though, so it's not a huge deal.

Nice work. I tested a combined branch with https://github.com/jwilm/alacritty/pull/1403 and this on sway master (with wlroots) and it fixes the issue.


TypeError: password.toLowerCase is not a function

Hi!
I am just trying this amazing library but unfortunately after almost copying / pasting the demo from the docs I get an error.
Unhandled Runtime Error
TypeError: password.toLowerCase is not a function

From this line:
zxcvbn(password)
related line in zxcvbn:
const passwordLower = password.toLowerCase(); // eslint-disable-next-line complexity
Im using:
    "next": "^12.1.4",
    "react": "^17",
    "react-dom": "^17",
    "@zxcvbn-ts/core": "^2.0.1",
    "@zxcvbn-ts/language-common": "^2.0.1",
    "@zxcvbn-ts/language-en":
    "typescript": "latest"

Do I do anything wrong or it is not compatible with something used?

Hey,
this seems weird can you post your setup and which password is used?
I would guess that the password that you give to the library is not a string 🤔
On the other hand this should be catched but maybe it isn't.
So can you double check this on your site if you enter a real string?

Hey,
@MrWook you are right. It's my fault I pass object instead of string by mistake.
Thanks for help!


Changing color of .selectboxit-text if an item has been selected

I'm trying to change the color of the span.selectboxit-text if a selection has been made in the dropdown. There doesn't seem to be a class applied if you have made a selection. I tried adding a class via the events, but I'm using the dropdown on a search page, and it doesn't hold the class once the page refreshes (even though the selected <option> does retain the selected class).
Is there a way to add a class to the selectboxit-container or selectboxit-text if any selected option (other than the default option) exists in its associated dropdown?

Were you able to resolve this? I'm trying to do the same thing. Thanks

I was able to achieve this with CSS by using the data-val attribute to set the 'placeholder' colour e.g:
.selectboxit-text[data-val=""] {
    color: #999;
    font-style: italic;
}

.selectboxit-selected a.selectboxit-option-anchor {
color: #FFFFFF;
}


moving ParseSelector to Parse for labels only.

@smarterclayton @thockin
In this PR labels.ParseSelector is systematically replaced with labels.Parse. For the moment I didn't create the fields package as agreed in https://github.com/GoogleCloudPlatform/kubernetes/issues/341#issuecomment-75712472
In this PR I've also slightly modified selector.go following @smarterclayton suggestion and this.

file plugin/pkg/scheduler/factory/factory.go try to parse DesiredState.Host!=. Restored the old ParseSelector but I'm not sure about. Is this a field?

Yes, DesiredState.Host is a v1beta1 pod field.

Thanks

We use labels all over the place in e2e tests in hack/e2e-suite/*.sh
Can you update the calls there too?
Also, needs rebase.

I am not going to have time to review this in the next week.  Brian - who
else can we loop in on this area?
On Thu, Feb 26, 2015 at 2:58 AM, Salvatore Dario Minonne <
<EMAIL_ADDRESS>wrote:

@smarterclayton https://github.com/smarterclayton @thockin
https://github.com/thockin
In this PR labels.ParseSelector is systematically replaced with
labels.Parse. For the moment I didn't create the fields package as agreed
in #341 (comment)
https://github.com/GoogleCloudPlatform/kubernetes/issues/341#issuecomment-75712472
In this PR I've also slightly modified selector.go following
@smarterclayton https://github.com/smarterclayton suggestion and this
https://code.google.com/p/go-wiki/wiki/CodeReviewComments.
You can view, comment on, or merge this pull request online at:
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835
Commit Summary

moving ParseSelector to Parse for labels only.

File Changes

M hack/test-cmd.sh
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-0
(12)
M pkg/apiserver/resthandler.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-1
(2)
M pkg/apiserver/watch.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-2
(2)
M pkg/client/cache/listwatch_test.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-3
(2)
M pkg/client/client_test.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-4
(16)
M pkg/client/request.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-5
(2)
M pkg/client/request_test.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-6
(2)
M pkg/kubectl/resource/builder.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-7
(2)
M pkg/labels/selector.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-8
(228)
M pkg/labels/selector_test.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-9
(59)
M pkg/registry/generic/registry_test.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-10
(2)
M pkg/registry/pod/etcd/etcd_test.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-11
(2)
M plugin/pkg/scheduler/factory/factory.go
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835/files#diff-12
(2)

Patch Links:

https://github.com/GoogleCloudPlatform/kubernetes/pull/4835.patch
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835.diff

--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835.

@nikhiljindal is working on versioning of field selectors, which is related.

@nikhiljindal @brendanburns @thockin I've rebased.
I've also modified e2e tests but I couldn't run them  to verify them. (I've no gcloud account) and vagrant env is broken. For the moment I'm updating the new code. Working on my side to run the e2e.

Can you please rebase.
We should be able to delete labels.ParseSelector method after rebase.
And then you can move labels.ParseAndTransformSelector to fields.ParseSelector whenever you plan to do that as per https://github.com/GoogleCloudPlatform/kubernetes/issues/341#issuecomment-75712472

@nikhiljindal working on this

@nikhiljindal rebased. How do you want to proceed to replace ParseSelector with ParseAndTransformSelector?

@sdminonne I'd like to get this merged. Did you pick up some other files by mistake, such as hack/e2e-suite/pd.sh?

pd.sh was removed:
https://github.com/GoogleCloudPlatform/kubernetes/commit/7bb7ba65774165bcd72acf308420274cf405431f
Please also check hack/e2e-suite/monitoring.sh and hack/lib/test.sh. Those changes don't look relevant to this PR.
Maybe try to rebase again?
When you get this cleaned up, I'd like to merge and iterate from there.

My bad. I'll fix it asap.
Not  at my desk now.
Dario
@sdminonne https://github.com/sdminonne I'd like to get this merged. Did
you pick up some other files by mistake, such as hack/e2e-suite/pd.sh?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4835#issuecomment-77422615
.

At some point -- doesn't have to be this PR, please update labels.md with the extended syntax.

@bgrant0607 PTAL

removed hack/e2e-suite/pd.sh
hack/e2e-suite/monitoring.sh get rid of spurious modif
hack/lib/test.sh needs to be there since hack/test-cmd.sh has been modified with the new syntax and we now have '-l name in (valid-pod)' in single quote.

I'll modify labels.md tomorrow

LGTM


Drop support for EOL Python 3.4 and 3.5

Also:

Upgrade syntax for Python 3.6+: hello f-strings!
Remove Python 2 and 3.4 imports
Update pre-commit and apply changes
Add pre-commit lint to GitHub Actions to make sure it stays in sync

Awesome work @hugovk!!  i changed the base branch to v3.0 release. There are some conflicts to resolve, mostly with supporting sms, verify and voice only with their independent classes and removing these methods from the client. Also with tests. Would you be interested on continuing the conflict resolution?

Oops, wrong branch! Will update!

Updated!


Why .gitignore ignores "settings/local.py"

Whats the motivations to ignore */settings/local.py in .gitignore if in settings/__init__.py, local.py are imported?

Some people subscribe to the idea that local and system-specific settings (database URIs, passwords, SECRET_KEYs, api keys, etc) should never be added to version control, and you should have some other method of deploying the local.py file to your servers. I agree with this idea, especially since there are so many instances of projects accidentally adding AWS keys to their repos on GitHub which are then stolen. The reason it throws an error is just to remind you to create the file.
It is easy enough to git add -f or remove the line from .gitignore if you disagree with this method. If you don't want a local settings file at all, you just need to remove the exception from settings/__init__.py.

Ok. Thanks xenith. I agreen with you about not put sensitive informations on control version.
Currently use a approach with environment settings( using python-decouple) and the settings inside a .env out of version control. I think that this may be a good practice to be added to django-base-template.


nodes

Hi! 0 connections, need nodes

ATM the KCC network is being reprogramed and a new client built, had a few issues to resolve on it.
The system will be changing to Quark Algo, using masternodes and reg nodes, will put up a update later, when compiles finish, also changed to NWC Currency in a partnership with another dev
We both wanted to use the blockchain on the ledgers, so to make it simple both our systems will use the same blockchain and coin, we wont be using tokens so no gas fees. I will pop the new builds when the finish compile, and also I might be adding MacOS and Pi builds soon

How to get your coins? Only 10 blocks were available for mining; they all immediately went into premine.

It is a premine coin, its purpose is for the Kolo projects, and our
partnership with a few other devs as a in game currency, users can purchase
coins threw the hosts and pay other players in real money and can then sell
the coins back to the host for money, its a cash based real world economy,
npc dont buy or sell only players
On Tue, Mar 5, 2024 at 9:43 AM grand96 @.***> wrote:

How to get your coins? Only 10 blocks were available for mining; they all
immediately went into premine.
—
Reply to this email directly, view it on GitHub
https://github.com/peacemakers109/KoloCryptoCoin/issues/1#issuecomment-1978930894,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARULBHIIJSOE37OLJOWYSWLYWXK2BAVCNFSM6AAAAABEFDVM5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZYHEZTAOBZGQ
.
You are receiving this because you commented.Message ID:
@.***>

It is very interesting. Thanks for answers. Good luck to you.

projectkolo.com is the social media site kolo runs,
https://planet-postmoderna.com/ is one of the partners with there game
Advent
and on you tube you can look up Project kolo like
https://www.youtube.com/watch?v=1bRqUHu0CDE&pp=ygUTcHJvamVjdCBrb2xvIGRyYWdvbg%3D%3D
for some of the MMO client stuff
On Tue, Mar 5, 2024 at 9:54 AM grand96 @.***> wrote:

It is very interesting. Thanks for answers. Good luck to you.
—
Reply to this email directly, view it on GitHub
https://github.com/peacemakers109/KoloCryptoCoin/issues/1#issuecomment-1978954272,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARULBHJNXIQ4FVI5S4VVJJTYWXMAZAVCNFSM6AAAAABEFDVM5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZYHE2TIMRXGI
.
You are receiving this because you commented.Message ID:
@.***>


CDN merchant logos

It appears we're hot-linking merchant logos in our YAML data. We should #CDN these on Slack to prevent these logos from spontaneously disappearing or changing. It may also help prevent us from running into CORs issues when rendering on the client side.

+1


Unable to extract header archive checksum

node-cmake version: 2.1.1
Node versions: v6.9.4, v4.7.2
OS: Ubuntu 12.04.5 LTS
Output: (for full output, see Travis CI builds below)
-- Enabling assertions
-- Downloading: https://nodejs.org/download/release/v6.9.4/SHASUMS256.txt
CMake Error at cmake/NodeJS.cmake:280 (message):
  Unable to extract header archive checksum
Call Stack (most recent call first):
  CMakeLists.txt:93 (nodejs_init)

Travis CI Builds:

https://travis-ci.org/Project-OSRM/node-osrm/jobs/194239977
https://travis-ci.org/Project-OSRM/node-osrm/jobs/194239975

I have the same version on Ubuntu 14, but it works on Mac.

Typically, this is caused by either (1) The checksum file failing to download, or (2) The checksum file not saving to disk. I suspect that Travis may be the cause of the issue here; is it allowing the checksum file to be written to disk during the build? Does it allow your build to download files during the build process?
I've double checked that it this version's checksum file contains a header entry per the regex search:
http://regexr.com/3f5de
Does this behaviour persist if you build locally against the same version of node?

This could be an instance of the issue described in https://github.com/cjntaylor/node-cmake/pull/23

Aah, might be that Travis has the file cached in this particular instance, triggering the #23 case.
It does work fine locally, and with other repos running on Travis.

Do you still have this behaviour on 2.2.0? I'm still skeptical that something deeper is going on within Travis. Is the repo filesystem R/W during a travis build? This would occur if the file couldn't be saved to disk.
Contrary to what #23 might lead you to believe, I do download the files to a temporary location (local to the project, specifically ${CMAKE_CURRENT_BINARY_DIR}/temp) validate them before saving them. Subsequent runs remove any temporary files before attempting to download again, and just to be sure, 2.2.0 removes the whole temporary directory when nodejs_init is called.

I just bumped in to the same error; this is due to libcurl not supporting https in Ubuntu 12 (the default linux distro in travis). It would be much easier to diagnose such issues if the download log was included in the output, i.e. file(DOWNLOAD ... LOG ...).
As for travis, use dist: trusty instead.

Thanks for the suggestion. I've added this in 2.3.0; the download output is written to ${TEMP}/download.log for debugging. This file will only persist for one execution; and will be cleared on subsequent executions after a successful download (since ${TEMP} is removed).


Add username_type option

Description

Fixes #3956
The type of username you want to use in the project. This can be eitherusername or email. If you choose username, the email field will be included. If you choose email, the username field will be excluded. It is best practice to always include an email field, so there is no option for having just the username field.
Checklist:

[X] I've made sure that tests are updated accordingly (especially if adding or updating a template option)
[X] I've updated the documentation or confirm that my change doesn't require any updates

Rationale
I encounter needing to exclude username field several times.

stuck trying to fix all the linting problems. Will come back later.

Thanks @sorasful for the review!

Let's get this reviewed and merged this please. It is very much a standard nowadays to go ahead with email instead of username(s).

Let's get this reviewed and merged this please

@DonExo I assume it wasn't intentional, but FYI that came across as an order from a manager to its subordinates. You're welcome to become "my boss" and give me a financial push by hitting the sponsor button at the top of the page 😄  Otherwise, this project is run by volunteers, on their free time.
In terms of this pull request, you're right that it's a pretty common use case, and it would indeed be nice to get this merged! However, as it stands, this change is blocked, and to unblock it, here is what needs to happen:

The build on CI should be green
Resolve merge conflicts
Write tests for the UserManager when email is selected.
Ideally, cover this option in the e2e tests (add a job under the bare section of the CI jobs)
Do a bit of manual testing to make sure it works on prod

Honestly, the hardest part is already done, this is a pretty solid PR already as it stands, thanks @Andrew-Chen-Wang

Let me know if you're unable to edit the branch @browniebroke No time to fix it up, sorry but thanks so much!

Thanks for putting this together @Andrew-Chen-Wang. I had to do it after generation recently on a new project and this PR even unmerged saved me a ton of time. Hopefully it'll save even more time by being an option now 🚀


linker errors

When I try to run the example line: val len = py.Dynamic.global.len(List(1, 2, 3).toPythonProxy), I get the following error:
[info] running (fork) Main
[error] Exception in thread "main" java.lang.UnsatisfiedLinkError: 'void me.shadaj.scalapy.interpreter.CPythonAPIInterface.Py_Initialize()'
[error] 	at me.shadaj.scalapy.interpreter.CPythonAPIInterface.Py_Initialize(Native Method)
[error] 	at me.shadaj.scalapy.interpreter.CPythonInterpreter$.<init>(CPythonInterpreter.scala:9)
[error] 	at me.shadaj.scalapy.interpreter.CPythonInterpreter$.<clinit>(CPythonInterpreter.scala)
[error] 	at me.shadaj.scalapy.py.package$.<init>(package.scala:15)
[error] 	at me.shadaj.scalapy.py.package$.<clinit>(package.scala)
[error] 	at Main$.main(Main.scala:6)
[error] 	at Main.main(Main.scala)
[error] Nonzero exit code returned from runner: 1
[error] (Compile / run) Nonzero exit code returned from runner: 1
[error] Total time: 0 s, completed Dec 27, 2020 8:00:49 PM

I also get an error when trying with scala native:
[error] cannot link: @me.shadaj.scalapy.py.Any
[error] cannot link: @me.shadaj.scalapy.py.Any::as_me.shadaj.scalapy.readwrite.Reader_java.lang.Object
[error] cannot link: @me.shadaj.scalapy.py.Dynamic
[error] cannot link: @me.shadaj.scalapy.py.Dynamic$global$
[error] cannot link: @me.shadaj.scalapy.py.Dynamic$global$::applyDynamic_java.lang.String_scala.collection.Seq_me.shadaj.scalapy.py.Dynamic
[error] cannot link: @me.shadaj.scalapy.py.package$
[error] cannot link: @me.shadaj.scalapy.py.package$::SeqConverters_java.lang.Object_scala.Function1_me.shadaj.scalapy.py.package$SeqConverters
[error] cannot link: @me.shadaj.scalapy.py.package$SeqConverters
[error] cannot link: @me.shadaj.scalapy.py.package$SeqConverters::toPythonProxy_me.shadaj.scalapy.readwrite.Writer_me.shadaj.scalapy.py.Any
[error] cannot link: @me.shadaj.scalapy.readwrite.Reader
[error] cannot link: @me.shadaj.scalapy.readwrite.Reader$
[error] cannot link: @me.shadaj.scalapy.readwrite.Reader$::intReader_me.shadaj.scalapy.readwrite.Reader
[error] cannot link: @me.shadaj.scalapy.readwrite.Writer
[error] cannot link: @me.shadaj.scalapy.readwrite.Writer$
[error] cannot link: @me.shadaj.scalapy.readwrite.Writer$::intWriter_me.shadaj.scalapy.readwrite.Writer
[error] unable to link
[error] (Compile / nativeLink) unable to link

I'm not able to reproduce this error when building locally. Could you ensure that you've added the Scala Native version of ScalaPy (libraryDependencies += "me.shadaj" %%% "scalapy-core" % "0.4.0") and are using Scala Native 0.4.0-M2?

Actually I was on an 0.3.8. When I try 0.4.0-M2, I get a different error:
[error] (Compile / nativeLink) java.util.NoSuchElementException: key not found: Top(me.shadaj.scalapy.py.package$)

@joprice could you try with the latest master? The Scala Native build has been updated to use 0.4.0

@joprice could you try with the latest master? The Scala Native build has been updated to use 0.4.0

Closing since there hasn't been much activity on this and the type of crashes reported should be fixed with Scala Native 0.4.x.


Invalid gemspec

This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
authors may not be empty

This is to old

Hey Mitch. What up. Not sure why I'm still getting these comments.


Merge production into master

See: https://github.com/fleetdm/osquery-in-a-box/pull/12#issuecomment-991390023.


CUxD devices no longer working after upgrade from beta3 to beta4

I ran RaspberryMatic beta3 on an rbpi2 and updated to beta4 by following the "official" process. I had the following plugins installed on beta3 during the backup process:
hm_pdetect, CUxD, XML-API
Restoring the backup under beta4 went flawlessly with one exception: My CUxD devices were still there but stopped working. I had two of those installed: One System-->Exec with id CUX2801001 (which I will just call exec) and one System-->Timer with id CUX2800001 (which I will just call timer).
The exec produced the following error log (CUxD console):
[1] homematic-raspi daemon.warn cuxd[599]: setValue 'CUX2801001:1.CMD_EXEC=tclsh /usr/local/setparam_virtdev.tcl INT0000004 WEEK_PROGRAM_POINTER int 1' not found!
[2] homematic-raspi daemon.info cuxd[599]: delete CUX2801001
[3] homematic-raspi daemon.info cuxd[599]: create CUX2801001 '' dtype=28&dtype2=1&dserial=1&dname=&dbase=10022&dcontrol=0'

What the script attempted to do (first log entry) was to set the data point WEEK_PROGRAM_POINTER of a virtual device (heating group) to 1. I suspect the actual command does not matter and any call to the exec would have failed ("not found"). As shown in the logs I then deleted the exec and created it again. The script has since been run several times and is working again.
The timer stopped working as well. It had lost all channel configuration (I actively use two timer channels). After having configured it again it still would not trigger the related programmes. So as with the Exec I removed and recreated the timer which corrected the issue.
The problem is that by removing CUxD devices they have to be added to all HM programmes again.

Please provide the /usr/local/setparam_virtdev.tcl program for better debugging this issue. Also potentially provide the file /usr/local/addons/cuxd/cuxd.ps file (but please make sure it doesn't contain any secret information) so that I can check what the problem might be all about.

Please also note that I did the same switch like you did several times and I never had the situation that my Exec CUxD devices stopped working.

Thanks for pretty printing the log entries. I did not know how to do that. :-)
I attached the files. They should not contain secret information. I did not tinker with those files manually ever before. Just so you know. They should have always been in "factory" state or have been manipulated only by the system.
Note that I made the switch to RaspberryMatic in February of 2016. So beta2 was probably my first beta and I upgraded to every beta since then (skipped the alpha). I also did not have this problem before and iirc at least the exec device was carried over from the CCU2.
Also note that I still have the beta3 backup. Since the process is relatively straight forward - use ApplePi baker to write the image and restore the backup - I might be able to reproduce it. I will order an additional SD-Card today which I wanted to do anyway for backup purposes. So I might be able to recreate the inconsistent state if that helps.
rpbimatic_issue_#50_tcl_ps.zip

I think i had the same issue after migrate from CCU2 with an older CUxD Version as on the RaspberryMatic was installed. In my case i manually copied the cuxd.ps, cuxd.ps.bak and cuxd.ps.old and changed the second line of this files to the CUxD Version of the Pi. The line looks like this: 1.8a 0 After a reboot the old config are back and working fine.

I am sorry, but I couldn't reproduce the problem at all. Until someone else can provide more evidence that there is something wrong, I will close that ticket.


Migrate code from github.com/benoitf/che-pr-check-gh-action

Signed-off-by: David Kwon<EMAIL_ADDRESS>
Description

This PR migrates over the core functionality from https://github.com/benoitf/che-pr-check-gh-action.
Files under benoitf/che-pr-check-gh-action/src were copied over to redhat-actions/try-in-web-ide/src, with small changes.
The dist/index.js file is being generated with npm run bundle.
Tests can be run with npm run test

Checklist

[x] This PR includes a documentation change
[ ] This PR does not need a documentation change

[ ] This PR includes test changes
[ ] This PR's changes are already tested

[ ] This change is a patch change
[ ] This change is a minor change
[ ] This change is a major (breaking) change

TODO

[x] Actions (create PR link, create status, change web IDE base url) are working
[x] Replace  "Che" with "Web IDE"
[x] No errors/warnings from npm run lint
[x] Pass 'Check Input and Output enums' CI check
[x] Pass 'Check Distribution' CI check
[x] Migrate tests from https://github.com/benoitf/che-pr-check-gh-action
[x] Finish updating README, add images

This yaml file can be added to .github/workflows to test the action for this PR:
name: web-ide

on:
  pull_request:
    types: [opened, synchronize]

jobs:
  add-link:
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - name: Web IDE Pull Request Link
        id: try-in-web-ide-testing
        uses: dkwon17/try-in-web-ide@migrate
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

          # Defaults
          # add-comment: true
          # add-status: true
          # web-ide-instance: https://workspaces.openshift.com
          # comment-badge: https://img.shields.io/badge/Eclipse_Che-Hosted%20by%20Red%20Hat-525C86?logo=eclipse-che&labelColor=FDB940


Fix corrupted filenames if cwd=="/"

Otherwise it breaks build

@nryabkov could you provide a test? thx

There is also a conflict to fix, sorry

Hi @nryabkov
I am helping to maintain this package.
Please, provide a test for this.

Great! It fixed a problem when using eslint-loader in Electron. Because Electron's process.cwd() is /.


Reminder Emails

I'm looking for a way to send email reminders for past due invoices.
I have a query to get all the ID's of the past due invoices but I'm stuck after that.
What action and what parameters should we use?

Try using https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/invoice#send-an-invoice also for non SDK related questions, please post on our help community.
https://help.developer.intuit.com/s/


More flexible Interval representations

At the moment intervals are represented as a type enum. This occurs to not be flexible enough. As we also want to be able to represent "augmented" and "diminished" intervals, which are not actual intervals in semitones, but rather, "qualities" of intervals/chords and as such have to be represented as relative to an interval.
Therefore it might be necessary to modify the Interval type so it includes a "quality" as such:
type Quality
  = Perfect
  |  Major
  |  Minor
  | Augmented
  | Diminished

type alias Interval
  = {degree: Degree, quality:  Quality}

PS: this problem also arises because an augmented fifth from the root would have the same value as a minor sixth and would basically mess with every convertion functions in place.

At the moment I don't see any good ways to do this. The previous example sounds like a good idea, but would make pattern matching a hell, and would also allow intervals that don't physically exist. Let's sleep a few days on that and see if a better ideas comes around.
For now I simply extended the Interval type to expose Augmented and Diminished intervals too.


Templating: event listener not working alongside .value on HTMLInputElement unless reversed in order

Description
Text input not responding to @input event listener alongside .value property-setter on native HTMLInputElement
Could work this around by changing the order of directives.
Non-working code:
<input type="${question.type}" inputmode="${question.type}" .value=${this.currentValue} @input=${(e: Event) => this.handleChange((<HTMLInputElement>e.target).value)}/>

Working Code:
<input type="${question.type}" @input=${(e: Event) => this.handleChange((<HTMLInputElement>e.target).value)} inputmode="${question.type}" .value=${this.currentValue} />

(This happens only on our production build - will describe all the rollup plugins involved)
The difference between the two is that the working code places the @input directive before the the .value directive.
Checked using the chrome dev tools and saw that there are no listeners on the input element when the first block is in the code.
Additional info:
lit version "2.0.0-rc1"
Rollup plugins

resolve "@rollup/plugin-node-resolve": "9.0.0"
minifyHTML "rollup-plugin-minify-html-literals": "1.2.6" - production build only
typescript "rollup-plugin-typescript2": "0.30.0"
terser "rollup-plugin-terser": "7.0.2" - production build only

Terser configuration:
    environment === 'production' && terser({
      ecma: 2017,
      module: true,
      warnings: true,
      mangle: {
        properties: {
          regex: /^__/,
        },
      },
    }),

Steps to Reproduce
Could reproduce multiple times on the project itself. Cannot reveal the code. Please advise on that.
Expected Results
Both code blocks should work the same
Actual Results
Accidently found that re-ordering works around it.
Browsers Affected

[ X] Chrome
[X] Mobile Chrome

If this is happening on the production build only, can you reduce the build steps further to try to see which one is causing the issue? I would suspect rollup-plugin-minify-html-literals could have a bug around the templates themselves, or Terser if it's running against Lit source.
If it's possible to located and paste in the minified template that might help too.

rollup-plugin-minify-html-literals to be blamed. Closing, will create an issue there.
Thanks.


(#282) Extend DCM energy timeout from 10s to 30s

Fixes #282
Instructions to reviewer on how to test:

Tests pass and changes are sensible.
Energy can now vary through the whole range without timeout

Checks for reviewer

[ ] Would the PR title make sense to a scientist on a set of release notes
[ ] If a new device has been added does it follow the standards

Looks good. Are you sure we don't also need to increase the timeout of status &= self.parent.undulator.gap_motor.move on line 69 of undulator_dcm.py?

Looks good. Are you sure we don't also need to increase the timeout of status &= self.parent.undulator.gap_motor.move on line 69 of undulator_dcm.py?

as per Neil's slack message:
Robert Tuck
10:19 AM
I notice in the code the undulator gap has the same timeout as the energy change - is 10s long enough for that or does that need to be increased as well?
Neil Paterson
:3robots:  10:24 AM
undulator should be fast, but we can check once we have control of it again