stray field of rotor cage

Reported by ahaumer on 11 Jul 2014 20:46 UTC
same as #1536, but for quasistatic machine models.

Migrated-From: https://trac.modelica.org/Modelica/ticket/1537

Comment by christiankral on 21 Jul 2014 13:41 UTC
The rotor cage models

BasicMachines.Components.SymmetricMultiPhaseCageWinding
BasicMachines.Components.SaliencyCageWinding

are now re-designed in faa5ded870370edb08fe62cdcaa0a027d8db3078.
The original models are not stored as backwards compatibility issues are not relevant, since the initial release of this package is MSL 3.2.2.

Comment by beutlich on 29 Oct 2015 15:17 UTC
No release notes set since already documented by #1536.

Modified by christiankral on 2 Nov 2015 06:31 UTC

Changelog modified by christiankral on 2 Nov 2015 06:31 UTC
Changed electrical stray inductances of rotor cage models to stray reluctances in the magnetic domain; this change was required to have symmetrical implementations of stator and rotor models; the change applies to the quasi static FundamentalWave packages


Expose metadata from CartoCSS/TurboCarto styles

Developers should be able to get the metadata associated to the CartoCSS/TurboCarto that was given to the Maps API. Also, since CartoCSS/TurboCarto can be changed on runtime, developers should be able to detect when metadata of a given "style" has changed.
Here's some pseudocode:
// We also want the legend to be refreshed when new metadata is available
citiesStyle.on('change:metadata', function (metadata) {
  console.log(metadata);
});

The 'metadataChanged' event is going to be added to the Layer object:
layer.on('metadataChanged', function (metadata) {
  metadata.isBubble();
  metadata.isCategory();
  metadata.isChoropleth();
  console.log(metadata);
});

@Jesus89
One way to distinguish buckets and categories is by data type. Below are some ideas.
Of course, the pairs don't have to go together in all cases, so there could be a way to mix and match.
Value and Type
var value = styleMetadata.getValue();
var type = styleMetadata.getType();
Quantity and Quality
var quantity = styleMetadata.getQuantity();
var quality = styleMetadata.getQuality();
Value and Class
var value = styleMetadata.getValue();
var class = styleMetadata.getClass();

this could be confusing because the word class could also be used as a synonym for bucket

Measure and Type
var measure = styleMetadata.getMeasure();
var type = styleMetadata.getType();
Scale and Group
var scale = styleMetadata.getScale();
var group = styleMetadata.getGroup();
Range and Theme
var range = styleMetadata.getRange();
var theme = styleMetadata.getTheme();

I know range in TurboCARTO scales a property and for creating a choropleth map we don't use range but it is distributing values over a range of colors.

Thanks @makella. We will use a getType() function to distinguish the type of the styleMetadata.


postfixadmin migration script don´t create amavis records

I´ve configured modoboa before I fire up the postfixadmin migration script but after a sucessful import the needed records in the amavis database are missing.

Now that I look at the code, amavis records should be created when you run the migration script unless the amavis extension is not enabled.
Are you sure the extension was enabled when you ran the script ?

This issue was moved to modoboa/modoboa-pfxadmin-migrate#1


added an option to allow the window to always be on top.

:P would be nice addition since you usually want them to always be on top when you ask the user something

Thanks for the PR, i have merged the conflicts and set the default value to false.
To avoid such conflicts remember to always sync upstream before working on a feature and/or doing the PR.

yea I forgot to do that before I started programming and already pushed it before I noticed... my bad haha I'll make sure to do that before I do anything more. also, this code change is not being pulled with NPM currently... is that due to no version change? I even tried a fresh install of all modules as well.


how to remove oriDomi by click?

Hello!
I use oridomi by your example with jquery i.e
$('#startButton').click(function(){
var $folded = $('.paper').oriDomi({/* options object */});
// when using jQuery, iterate OriDomi methods over multiple elements like this:
$folded.oriDomi('accordion', 20);
// to access the OriDomi instance at the top of the jQuery selection directly:
var folded = $folded.oriDomi(true);
});

How to remove oridomi by click?
$('#cancelButton').click(function(){
// remove oridomi?
});

Sorry for the noob question!

To simply reset the element to its flat state you can call folded.reset().
To destroy OriDomi's modifications entirely and restore the original element, call folded.destroy().

Thanks dmotz, but I got TypeError: $folded.destroy is not a function,
reset the same

Ohh my bad i write it with $, removed and all is OK, thanks


About paired-view consistency

Hello! I have some questions about the sentence: "This is based on insight that the high-level feature in the test image can be affected by domain shifts, and all parameters should be adjusted to increase adaptation performance." in Section 3.1. Why the domain-invariant block still affected by domain shifts ?

Hello, thank you for your attention in our work.
We wrote the sentence "This is based on insight that the high-level feature in the test image can be affected by domain shifts, and all parameters should be adjusted to increase adaptation performance." based on two insights.
First, the image with significant domain shifts can have object with different shape and may need to adjust high-level blocks. For example, a blurred image can present objects with blurry shapes.
Second, in practice, the blocks do not solely involve in either domain-invariant feature extraction or domain-specific feature extraction. For example, the middle block can be involved in both domain-invariant and domain-specific feature extraction.
Therefore, we believe that all blocks should be adjusted to further increase adaptation performance in the current test domain.
Hope this is helpful for your understanding.


KIP-875: First-class offsets support in Kafka Connect

Issue submitter TODO list

[X] I've searched for an already existing issues here
[X] I'm running a supported version of the application which is listed here and the feature is not present there

Describe the feature you're interested in
KIP-875 just debuted on Kafka 3.6 and it would be great to be able to leverage this feature using the UI
Provides first-class admin support for offsets in Kafka Connect. KIP-875 Part 1 added endpoints to get offsets and a new STOPPED state for connectors. The alter offsets and reset offsets endpoints have now been added.

Action
Description

GET /connectors/{connector}/offsets
Retrieve the offsets for a connector; the connector must exist

PATCH /connectors/{connector}/offsets
Alter the offsets for a connector; the connector must exist, and must be in the STOPPED state

DELETE /connectors/{connector}/offsets
Reset the offsets for a connector; the connector must exist, and must be in the STOPPED state

PUT /connectors/{connector}/pause
Pause the connector; the connector must exist

Describe alternatives you've considered
No response
Version you're running
56fa824
Additional context
No response

PUT /connectors/{connector}/pause was supported before KIP-875, the support for stop is needd PUT /connectors/{connector}/stop
KIP-875

if a connector is stopped Kafka Connect page in kafka-ui is broken:
{
    "code": 5000,
    "message": "JSON decoding error: Cannot construct instance of `com.provectus.kafka.ui.connect.model.ConnectorStatusConnector$StateEnum`, problem: Unexpected value 'STOPPED'",
    "timestamp":<PHONE_NUMBER>142,
    "requestId": "c6e97ec9-923",
    "fieldsErrors": null,
    "stackTrace": "org.springframework.core.codec.DecodingException: JSON decoding error: Cannot construct instance of `com.provectus.kafka.ui.connect.model.ConnectorStatusConnector$StateEnum`, problem: Unexpected value 'STOPPED'\n\tat org.springframework.http.codec.json.AbstractJackson2Decoder.processException(AbstractJackson2Decoder.java:275)\n\tSuppressed: The stacktrace has been enhanced by Reactor, refer to additional information below: \nError has been observed at the following site(s):\n\t*__checkpoint ⇢ Body from GET http://some-host:8083/connectors/xyzt/status [DefaultClientResponse]\n\t*__checkpoint ⇢ Handler com.provectus.kafka.ui.contr
    .   .   .  .


Initial text mining- Avoid ...

These are terms that were identified by the initial pass at GeneReviews for 'avoid x'.
The number is the number of times the term was found.  I do not think all of these should be added, but maybe we can come up with some broad categories?  Note: some I did add. We may wish to get rid of them.
@nicolevasilevsky @laurenechan
avoid the following:	34
the following should be avoided:	30
alcohol	5
dehydration	5
smoking	4
fasting	4
agents	4
valproic acid	3
contact sports, competitive sports, and isometric exercise	3
the following are appropriate:	3
avoidance of sunlight and uv light	3
, estrogens)	3
medications	3
obesity	3
european porphyria network	2
excess protein intake	2
obvious exposure to communicable diseases	2
radiation exposure	2
click here for an up-to-date list	2
blood transfusions	2
in general, activities that traumatize the skin (e	2
see www	2
intramuscular injections	2
diabetes mellitus	2
saffron	2
nuts	2
mussels	2
dark chocolate	2
high meat and seafood intake could exacerbate gout	2
hypertension	2
neuroleptic treatment may exacerbate parkinsonism	2
activities that cause joint injury or pain	2
, scuba diving)	2
circumstances	2
, contact sports)	2
psychological stress	2
hbh disease	1
inappropriate iron therapy	1
oxidant drugs including sulphonamides	1
some antimalarials because of the risk of hemolytic crisis	1
iron supplements	1
affected individuals should avoid medications known to prolong qt intervals	1
see crediblemeds® for a complete and updated list	1
if physiologic stress is unavoidable (e	1
excessive alcohol consumption and smoking should be avoided	1
the drug database for acute porphyria	1
the american porphyria foundation	1
porphyria south africa	1
welsh medicines information centre - porphyria information service	1
british national formulary (subscription required)	1
individuals with liver disease should avoid alcohol consumption	1
sudden changes in environment and over-sedation should be avoided	1
splenectomy as it worsens the hypertriglyceridemia	1
azathioprine should be avoided by individuals taking xdh inhibitors	1
large boluses of protein or amino acids	1
less than recommended intake of protein	1
prolonged fasting or starvation	1
intravenous steroids	1
hepatotoxic drugs in those with hepatic involvement	1
individuals with aved should avoid:	1
occupations requiring quick responses or good balance	1
iron-containing preparations	1
arc welding	1
asbestos	1
unnecessary and prolonged sun exposure	1
the use of rectal thermometers in those with neutropenia	1
diagnostic x-rays should be used sparingly	1
excessive sun exposure increases the likelihood of developing bccs	1
testing of relatives at risk	1
cigarette smoking	1
high ambient pressures, which may precipitate spontaneous pneumothorax	1
febrile state	1
vagotonic agents	1
α-adrenergic agonists [miyazaki et al 1996]	1
β-adrenergic antagonists	1
tricyclic antidepressants	1
first-generation antihistamines (dimenhydrinate)	1
cocaine toxicity	1
class 1c antiarrhythmic drugs including flecainide and propafenone	1
class 1a agents including procainamide and disopyramide	1
excessive dietary fat intake should be avoided	1
stressful emotional and physical situations (e	1
, extreme temperatures)	1
increased doses of glucocorticoids are recommended in these situations	1
potentially exacerbating circumstances:	1
methionine restriction	1
other medications that increase risk of hemorrhage (e	1
see malignant hyperthermia susceptibility for more details	1
activities with a high impact on joints (e	1
, jogging) should be avoided	1
avoid any preparation containing iron	1
no known agents exacerbate the severity of cdls	1
bisphosphonates	1
excess phosphate	1
over-exposure to heat	1
individuals with cfc syndrome report heat intolerance	1
exposures	1
therefore, the following should be avoided:	1
exposure to mulch	1
potting of plants or gardening	1
raking leaves or mowing lawns	1
swimming in stagnant water, brackish water, or ponds	1
transfusion considerations	1
seizure-provoking circumstances (e	1
, sleep deprivation, alcohol intake)	1
anticonvulsants that may worsen involuntary movements (e	1
, carbamazepine, lamotrigine)	1
the following should be noted:	1
baclofen used to treat spasticity can sometimes worsen muscle weakness	1
avoid flickering lights that may provoke seizures	1
all nonsteroidal anti-inflammatory drugs (nsaids) (e	1
low-protein/high-caloric (high-carbohydrate) diet	1
infusion of sugars including glycerol, fructose, and glucose	1
adoii	1
activities with high fracture risk should be avoided	1
obesity because of its negative effect on gait and balance	1
for neuromuscular disorders	1
for skeletal dysplasias	1
excessive sun exposure should be avoided	1
smoking because it increases the global risk of stroke	1
hypertension because it increases the risk of stroke	1
anticoagulant use [gould et al 2006]	1
extended fasting and prolonged exercise are to be avoided	1
valproic acid [kottlors et al 2001]	1
general anesthesia	1
ibuprofen	1
diazepam in high doses [bonnefont et al 1999]	1
dehydration, which compromises remaining renal function	1
sun exposure, which can exacerbate photophobia	1
competitive sports and other strenuous exercise are always contraindicated	1
individuals with dmd/bmd should avoid botulinum toxin injections	1
drugs (e	1
live viral vaccines should be avoided if agammaglobulinemia is present	1
some medications used to treat behavioral problems (e	1
73 m2 (ckd stage 3b)	1
individuals with hearing loss should avoid the following:	1
known environmental factors for hearing loss (e	1
, loud noises)	1
ototoxic medications	1
individuals with ts-nsan	1
avoid excessive body temperatures when possible	1
all blood products should be leukodepleted and irradiated	1
radiation	1
androgens and growth factors	1
cancer prevention	1
catabolic stressors	1
liver-toxic medications	1
general factors that predispose to late-onset diabetes (e	1
discontinuation of levodopa treatment usually results in return of symptoms	1
certain medications may be contraindicated in individuals with arrhythmias	1
see treatment of manifestations	1
seizure triggers (e	1
known triggers of attacks should be avoided	1
phenytoin has been reported to exacerbate symptoms	1
silicone-based products provide a good substitute for tape	1
excessive heat may exacerbate blistering and infection in ebs	1
avoiding activities that traumatize the skin (e	1
obesity, which increases stress on joints	1
exercise that causes repetitive strain on affected joints	1
sports involving joint overload are to be avoided	1
acetylsalicylate (aspirin)	1
joint hyperextension may not need to be avoided	1
resistance exercise can exacerbate joint instability and pain	1
trauma	1
arteriography	1
furthermore, injection pressure may lead to arterial aneurysms	1
routine colonoscopy	1
elective surgery	1
cigarette smoking, which can worsen emphysema	1
sun tanning, which can damage skin	1
contact sports are not advisable in those with splenomegaly	1
in some individuals, exercise can trigger symptoms	1
unsafe sex practices increase the risk for hpv-associated malignancy	1
therefore, affected individuals should be discouraged from smoking	1
surgery and desmoid risk	1
individuals at high risk for desmoids (women	1
those with apc pathogenic variants in codons 1395-1493	1
surgery and fecundity	1
smoking is contraindicated	1
symptoms tend to be worse in hot or humid weather	1
environmental situations associated with hypobaric hypoxia (e	1
cisplatin	1
met694ile [sasaki et al 2009]	1
alcohol can exacerbate ataxia and should be consumed in moderation	1
, rough surfaces) should be avoided	1
further studies are needed to clarify this issue	1
lactose- or galactose-containing drug preparations	1
, ibuprofen)	1
acetaminophen, which is hepatotoxic in overdose	1
barbiturates	1
methylxanthines (e	1
carbonated drinks and alcohol consumption may exacerbate hypocalcemia	1
caffeine intake may contribute to or worsen anxiety	1
3 deletion have reduced perspiration and tend to overheat easily	1
maintain a low-sucrose, low-fructose diet	1
limit galactose and lactose intake to one serving per day	1
hypotension and volume depletion should be avoided	1
exposure to infectious agents is to be avoided	1
long-term steroid usage itself can cause muscle weakness	1
use the following with caution:	1
statins for control of hyperlipidemia	1
beta blockers as they can induce hypoglycemia	1
static muscle contractions (e	1
, handgrip exercises)	1
, weightlifting)	1
dynamic exercises at a high-intensity level (e	1
, competitive ball games)	1
, jumps)	1
very intense dynamic aerobic exercise (e	1
general anesthetics	1
lipid-lowering drugs	1
arg50ter, p	1
liver phk deficiency	1
affected individuals with should avoid the following:	1
prolonged fasting	1
the final decision is based on clinician judgment	1
alcohol, as this may predispose to hypoglycemia	1
muscle phk deficiency	1
affected individuals should avoid the following:	1
vigorous exercise	1
medications that can cause rhabdomyolysis (e	1
, succinylcholine)	1
extreme caloric deprivation (i	1
, total fasting, gastric bypass surgery)	1
female reproductive hormones	1
birth-control pills are risky and not recommended	1
some drugs are clearly unsafe for cpox heterozygotes	1
porphyriafoundation	1
com and www	1
porphyria-europe	1
com	1
any agents that increase ataxia should be used with caution	1
, in individuals with atherosclerotic cardiovascular disease)	1
alcohol consumption in those with hepatic involvement	1
persons of all ages should avoid exposure to sunlight	1
older individuals should avoid the known precipitating factors (e	1
malnutrition	1
infection with human immunodeficiency virus (hiv)	1
immunosuppression (e	1
, after renal transplantation)	1
hepatotoxic medicines should be avoided	1
medicines	1
org	1
not be given to neonates known to have hfi	1
excessive sun exposure, which may exacerbate the rash	1
exposure to heat because of heat intolerance secondary to hypohidrosis	1
physical activity should be self-limited	1
excess dietary protein intake	1
prolonged fasting during an illness or weight loss	1
use of intravenous steroids	1
valproic acid, which exacerbates hyperammonemia in urea cycle disorders	1
exposure to communicable diseases	1
prolonged fasting of any sort should be avoided	1
live vaccinations	1
exposure to infections	1
foods very high in manganese (cloves	1
5 n saline at 1	1
if fluids at 1	1
biphosphonates are relatively contraindicated in hypophosphatasia	1
it is contraindicated in children with hypophosphatasia	1
unusually strenuous effort	1
excess of carbohydrate-rich meals	1
sweets	1
prolonged immobility	1
bleeding	1
pulmonary fibrosis	1
hot or cold environments	1
hot or cold foods	1
hot showers or baths	1
jumping or high-impact activities and sports	1
opiates are contraindicated as this is a chronic disorder	1
l-dopa-containing compounds may increase chorea	1
alcohol and smoking are discouraged	1
fresh frozen plasma should be avoided (i	1
pregnancy	1
some chemotherapeutic agents (e	1
avoid exercise in extreme environmental conditions and maintain adequate hydration	1
use jacuzzis, steam rooms, saunas with caution	1
and avoid the following:	1
medications that decrease afterload (e	1
, ace inhibitors	1
medications for erectile dysfunction (e	1
, sildenafil, tadalafil)	1
the use of other analgesics/antipyretics should be considered	1
exertion under extreme conditions (e	1
see prevention of primary manifestations and prevention of secondary complications	1
high intake of saturated and trans unsaturated fat	1
excessive intake of cholesterol	1
sedentary lifestyle	1
iron-containing preparations and supplemental vitamin c	1
crediblemeds	1
triggers for intense or sudden emotion	1
competitive sports	1
amusement park rides	1
frightening movies	1
jumping into cold water	1
individuals with liver impairment should avoid hepatotoxic medications	1
medications to avoid:	1
carbamazepine [nanba & maegaki 1999]	1
oxcarbazepine [kaddurah & holmes 2006]	1
weight should be controlled to avoid obesity	1
while the specific mechanism whereby cholesterol-lowering agents (e	1
skin irritants and overheating should be avoided	1
corneal contact lenses	1
artificial lens implants	1
large boluses of protein or amino acids should be avoided	1
positive pressure ventilation unless needed to treat life-threatening conditions	1
people with respiratory infections	1
individuals with any degree of hearing loss	1
avoid exposure to ototoxic drugs	1
individuals with cervical spine anomalies	1
individuals with a single kidney	1
manage diabetes mellitus to maintain good control and avoid hyperglycemia	1
caffeine can aggravate a tendency for arrhythmia	1
agents that cause vasoconstriction, including triptans	1
lasik correction of visual deficits	1
alcohol consumption, in particular acute alcohol intoxication (e	1
while a strong association between gsp mutations (i	1
, radiation exposure) and encourage vigilance and monitoring	1
drugs known to be nephrotoxic should be avoided	1
however, patients should avoid chronic daily use	1
about 10% of the individuals with the 15q13	1
3 microdeletion develop schizophrenia	1
phenytoin [eldridge et al 1983]	1
medications known to impair mitochondrial function (e	1
, valproic acid) should be avoided	1
dopamine d2 receptor antagonists (e	1
other medications including monoamine oxidase inhibitors, sympathomimetics (e	1
tobacco and alcohol use	1
medications known to impair mitochondrial function	1
, on a long airplane flight)	1
control weight to avoid obesity	1
stress	1
increased dietary protein	1
risk for malignant hyperthermia	1
depolarizing muscle relaxants (e	1
, succinylcholine) and inhalational agents (e	1
avoid drugs that interfere with mitochondrial function	1
avoid physical trauma to reduce the risk of fractures	1
prolonged fasting can lead to hypoglycemia and should be avoided	1
1555a>g	1
mt-rnr1 pathogenic variant	1
bleeding tendency	1
drugs that inhibit platelet function or blood coagulation:	1
other substances that interfere with platelet function including some antibiotics	1
cardiovascular, psychotropic, and oncologic drugs	1
drugs that affect platelet camp	1
some anesthetics	1
antihistamines	1
hearing loss	1
ototoxic drugs (e	1
exposure to hazardous noise	1
, earplugs, headphones) to attenuate intense sound	1
nephropathy	1
cataract	1
elevation of liver enzymes	1
patients should be aggressively counseled not to smoke	1
avoid sustained fatiguing physical exertion	1
the overall frequency of complications was 8	1
2% (18 of 219)	1
(see malignant hyperthermia susceptibility	1
lamotrigine may exacerbate seizures and myoclonus especially in cln2 disease	1
czp is a sedative and can cause behavior disturbances	1
water intake must not be restricted	1
nephrotoxic agents, e	1
individuals with liver function impairment should avoid hepatotoxic medication	1
no limitations are necessary for most individuals with nf1	1
similarly, unnecessary exposure to ionizing radiation should be avoided	1
author, personal observation]	1
individuals who have splenomegaly should avoid contact sports	1
prolonged unprotected sun exposure should be avoided	1
avoid prolonged exposure of the skin to the sun	1
contact sports should be avoided	1
ideally, children with cchs should not go swimming	1
individuals with an opa1 pathogenic variant are advised:	1
not to smoke	1
to moderate their alcohol intake	1
to use sunglasses to limit uv exposure	1
valproate	1
haloperidol	1
stress, especially physical stress	1
potentially also psychological stress	1
at the same time, preemptive measures (e	1
high-risk activities such as contact sports	1
sdhc, sdhd, sdhaf2, or max	1
the ketogenic diet, which aggravates life-threatening metabolic acidosis	1
for individuals with hearing loss:	1
avoid ototoxic medication such as aminoglycosides if alternatives are available	1
use of central respiratory depressants (e	1
agents that increase risk of glaucoma (e	1
, corticosteroids) are to be avoided	1
avoid:	1
any activity that would potentially increase blood viscosity	1
intravascular volume depletion	1
the importance of maintaining dilute urine cannot be overemphasized	1
excessive ascorbate (i	1
, vitamin c	1

1000 mg/day)	1
delays in treatment of acute stone episodes	1
nephrotoxic agents	1
marked dietary oxalate excess	1
high-dose ascorbic acid	1
, pain, deformity) are significant	1
inactive, sedentary lifestyle	1
exposure to medications or chemicals that exacerbate neuropathy	1
foods that are likely to lead to choking	1
medications acting on d2 receptor blockers (e	1
susceptibility factors (if known) (e	1
exposure to sunlight in symptomatic phase	1
appetite-suppressant medications (e	1
hypoxia	1
avoid immobilization (e	1
, casting)	1
neuroleptic antiemetics (e	1
anchovies, sardines) in excess	1
dehydration worsens episodes of acute pancreatitis	1
f2 20210g>a heterozygotes:	1
participation in such activities should be discouraged	1
there is no known reason to avoid vaccinations	1
rdp	1
fever	1
excessive exercise (such as running track)	1
ahc	1
emotional excitement	1
excessive or atypically strenuous exercise (e	1
illness	1
irregular sleep, missing a nap, delayed bedtime	1
capos syndrome	1
prokinetic agents (e	1
, cisapride)	1
antipsychotics (e	1
, thioridazine), tricyclic antidepressants (e	1
, imipramine)	1
antiarrhythmics (e	1
, quinidine, sotolol, amiodarone)	1
anesthetic agents (e	1
, thiopental, succinylcholine)	1
antibiotics (e	1
, erythromycin, ketoconazole)	1
avoid dietary restriction of riboflavin	1
no adverse drug effects have been documented in rotor syndrome	1
the list includes:	1
ezetimibe	1
anticancer drugs - methotrexate and irinotecan	1
sartans – olmesartan and valsartan	1
rifampicin	1
mycophenolic acid	1
torsemide	1
thiazolidine diones – pioglitazone and rosiglitazone	1
glinides – nateglinide and repaglinide	1
lopinavir	1
fexofenadine	1
vitamin e may adversely affect the course of rp	1
, 400 iu/d) [berson 2000]	1
pregnancy management	1
lifestyle modifications are advised based on genotype	1
ibuprofen (brufen®):	1
give with care in those with evidence of cardiomyopathy	1
avoid in those with congestive heart failure	1
, diphenylhydantoin)	1
alcohol and sedating drugs can exacerbate ataxia	1
alcohol and sedation may make gait and coordination worse	1
, isoniazid)	1
, salicilates)	1
environmental noise at work and in everyday life (e	1
affected individuals should get plenty of rest	1
symptoms are often aggravated by fatigue	1
some drugs (e	1
activities that cause joint pain or injury	1
environmental controls include avoiding the following:	1
extremes of temperature (e	1
physical exhaustion	1
extremely high altitude without oxygen supplementation	1
cocaine	1
heat, stress, and lack of sleep	1
vaccinations with live vaccines	1
anti-cancer therapies	1
environmental manganese exposure (i	1
high manganese content of total parenteral nutrition	1
foods very high in manganese, including: cloves	1
and pumpkin, sesame, and sunflower seeds	1
drugs with anti-dopaminergic side effects (e	1
significant changes in her sleep pattern were also documented	1
neuroleptics and other dopamine antagonists (e	1
, metoclopramide)	1
the refractory epilepsy was finally controlled with magnesium valproate	1
in addition, the eeg demonstrated improved background organization	1
margarines and other products containing stanols (e	1
medications that cause renal or otic toxicity should be avoided	1
medicinal iron	1
mineral supplements	1
excess vitamin c	1
aspiration of food should be avoided to prevent pneumonia	1
drugs and dietary practices that could lead to hypoglycemia	1
avoid or eat in moderation	1
drugs that are metabolized by the fmo3 enzyme	1
for example, the antipsychotic clozapine	1
the monoamine oxidase b inhibitor deprenyl	1
the anti-histamine ranitidine	1
the anti-estrogen tamoxifen	1
these compete for residual fmo3 activity	1
avoid the following	1
estrogen use in adolescent and adult females	1
nephrectomy (see treatment of manifestations, renal angiomyolipoma)	1
avoid inappropriate protein intake	1
heavy muscle force training of weak muscles should be avoided	1
they should therefore exercise caution while swimming	1
myocardial irritation (e	1
, cardiac catheterization)	1
dehydration (risk for acute tubular necrosis)	1
agents known to predispose to hvod (e	1
smoking and excess weight increase the risk of atherosclerosis	1
trauma to the extremities should be avoided	1
individuals with severe hypohidrosis can have marked heat intolerance	1
live vaccines	1
transfusion of non-irradiated blood products	1
artificial sources of uv	1
certain light sources (e	1
cigarette smoke	1
individuals with zap70-related cid should avoid the following:	1
non-irradiated blood products	1
live virus vaccinations	1
contaminated water sources	1
exposure to fungus-enriched environments (e	1

Nutrition avoidance MAXO.xlsx
Here's some initial findings I have from FOODON or other ontologies to address our avoidance terms. Most of these are likely appropriate for a DOSDP pattern for food_intake_aviodance (I think that's what we had determined for our term choice?). Others may need additional consideration as they relate to either micro or macronutrients and are not a distinct food.

Github doesn't support excel files and I cannot read this. Can you attach a txt or tsv? I believe copy and paste will give markdown format as well.

Sorry about that, I think I knew that but didn't remember which format it did like.
Nutrition avoidance MAXO.txt

INITIAL   QUERY- MACRO avoid | FOODON_# | FOODON_term_name | FOODON_def | Other ontology | Other_term_name | Other_def |   |
-- | -- | -- | -- | -- | -- | -- | -- | --
excess protein intake    2 | FOODON_03420236 | protein | Extract, concentrate or isolate high in protein; may contain amino acids,   polypeptides and enzymes. Includes casein, gelatin, and gluten. | CHEBI_36080 | protein | A biological macromolecule minimally   consisting of one polypeptide chain synthesized at the ribosome.
excess dietary protein intake    1 |   |   |   |   |   |   |   |
large boluses of protein or amino   acids    1 |   |   |   |   |   |   |   |
large   boluses of protein or amino acids should be avoided    1 |   |   |   |   |   |   |
increased dietary protein    1 |   |   |   |   |   |   |   |
avoid inappropriate protein intake    1 |   |   |   |   |   |   |   |
less than recommended intake of   protein    1 |   |   |   |   |   |   |   |
methionine restriction    1 |   |   |   | CHEBI_16811 | methionine | A sulfur-containing amino acid that   is butyric acid bearing an amino substituent at position 2 and a methylthio   substituent at position 4.
  |   |   |   |   |   |   |   |
excessive dietary fat intake should be   avoided    1 | FOODON_03420190 | fat or oil | Food substance or component consisting predominantly of mixed glycerol   esters of fatty acids and, in far lesser amounts, of fatty acids, sterols and   pigments. A fat is a solid at room temperature, an oil is a liquid at room   temperature (20 degrees C.). Ex | CHEBI_35366 | fatty acid | Any aliphatic monocarboxylic acid   derived from or contained in esterified form in an animal or vegetable fat,   oil or wax.
high intake of saturated and trans   unsaturated fat    1 |   |   |   | CHEBI_26607, NCIT_C68421 | saturated fatty acid | Any fatty acid containing no carbon   to carbon multiple bonds. Known to produce adverse biological effects when   ingested to excess.
  |   |   |   | NCIT_C68440 | trans fatty acid | A class of dietary fatty acids   containing at least one double bond in the trans formation., A type of fat   that has certain chemical properties and is usually found in processed foods   such as baked goods, snack foods, fried foods, shortening, margarine, an
  |   |   |   |   |   |   |   |
excessive intake of cholesterol    1 |   |   |   | CHEBI_16113 | cholesterol | A cholestanoid consisting of   cholestane having a double bond at the 5,6-position as well as a   3beta-hydroxy group.
  |   |   |   | OMIT_0004111 | cholesterol,dietary | none? |   |
low-protein/high-caloric   (high-carbohydrate) diet    1 | FOODON_03510060 | high energy food | none? | CHEBI_16646 | carbohydrate | Any member of the class of   organooxygen compounds that is a polyhydroxy-aldehyde or -ketone or a lactol   resulting from their intramolecular condensation (monosaccharides);   substances derived from these by reduction of the carbonyl group (alditols),   by oxi
  |   |   |   | CMO_0002651 | total calorie intake level | The entire number of calories, i.e.   the total amount of energy, consumed by an organism, regardless of source.
excess of carbohydrate-rich meals    1 |   |   |   |   |   |   |   |
  |   |   |   |   |   |   |   |
infusion of   sugars including glycerol, fructose, and glucose    1 |   |   | CHEBI_17754 | glycerol | A triol with a structure of propane   substituted at positions 1, 2 and 3 by hydroxy groups.
  | FOODON_03316754 | fructose | none? | CHEBI_28757 | fructose | A ketohexose that is an isomer of   glucose.
  |   |   |   | CHEBI_17234 | glucose | An aldohexose used as a source of   energy and metabolic intermediate.
maintain a low-sucrose, low-fructose   diet    1 | FOODON_03316754 | fructose | none? |   |   |   |   |
  |   |   |   | CHEBI_17992 | sucrose | Sucrose is a disaccharide formed by   glucose and fructose units joined by an acetal oxygen bridge from hemiacetal   of glucose to the hemiketal of the fructose.
limit   galactose and lactose intake to one serving per day    1 |   |   | CHEBI_28260 | galactose | An aldohexose that is the C-4 epimer   of glucose.
  |   |   |   | CHEBI_17716 | lactose | A glycosylglucose disaccharide,   found most notably in milk, that consists of D-galactose and D-glucose   fragments bonded through a beta-1->4 glycosidic linkage. The glucose   fragment can be in either the alpha- or beta-pyranose form, whereas the   galactose f
  |   |   |   |   |   |   |   |
INITIAL QUERY- MICRO avoid | FOODON_# | FOODON_term_name | FOODON_def | CHEBI_# | CHEBI_term_name | CHEBI_def |
iron supplements    1 | FOODON_03401301 | single mineral supplement | A single mineral supplement is defined as containing one mineral, e.g.   calcium supplement. | CHEBI_18248 | iron | An iron group element atom that has   formula Fe. An iron group element that has formula Fe.
iron-containing preparations    1 | FOODON_03401300 | multi-mineral supplement | A multi-mineral supplement contains   more than one mineral, e.g. calcium-magnesium supplement.
medicinal iron    1 |   |   |   |   |   |   |   |
inappropriate iron therapy    1 |   |   |   |   |   |   |   |
avoid any preparation containing   iron    1 |   |   |   |   |   |   |   |
iron-containing preparations and   supplemental vitamin c    1 | FOODON_03413763 | vitamin c | no def | CHEBI_21241 | vitamin c | none |   |
excessive ascorbate (i    1 |   |   |   | CHEBI_22652 | ascorbic acid | none |   |
high-dose ascorbic acid    1 |   |   |   |   |   |   |   |
excess vitamin c    1 |   |   |   |   |   |   |   |
, vitamin c    1 |   |   |   |   |   |   |   |
excess phosphate    1 | NCIT_C68277 | dietary phosphorus |   | CHEBI_26020 | phosphate | Salts and esters of phosphoric and   oligophosphoric acids and their chalcogen analogues. In inorganic chemistry,   the term is also used to describe anionic coordination entities with   phosphorus as central atom.
foods very high in manganese (cloves    1 |   |   |   | NCIT_C68266 | dietary manganese | Forms of the element manganese found   in foods.
  | FOODON_03541323 | cloves buds | Spices from the buds of the plant   classified under the species Syzygium aromaticum (L.). Merr. & Perr or   Eugenia caryophyllata or Caryophyllus aromaticus L., commonly known as Cloves   buds. The part consumed/analysed is not specified. When relevant, inform
high manganese content of total   parenteral nutrition    1 | FOODON_03430169 | parenteral preparation | Parenteral preparations are not   dietary supplements per se, but are included in this classification because   of their importance in nutrient intake. Parenteral preparations are sterile,   pyrogen-free liquids (solutions, emulsions, or suspensions) or solid d
marked dietary oxalate excess    1 |   |   |   | CHEBI_132952 | oxalates | A dicarboxylic acid anion obtained   by deprotonation of at least one of the carboxy groups of oxalic acid.
  |   |   |   | NCIT_C82078 | oxalates | A salt or ester of oxalic acid.
avoid dietary restriction of   riboflavin    1 | FOODON_03544476 | vitamin b2 | The group includes Vitamin B2 used for fortification or enrichment of   foods. Riboflavin, also known as vitamin B2, is the vitamin formerly known as   G. It is an easily absorbed colored micronutrient with a key role in   maintaining health in humans and other | CHEBI_17015 | riboflavin | D-Ribitol in which the hydroxy group   at position 5 is substituted by a   7,8-dimethyl-2,4-dioxo-3,4-dihydrobenzo[g]pteridin-10(2H)-yl moiety. It is a   nutritional factor found in milk, eggs, malted barley, liver, kidney, heart,   and leafy vegetables, but the
mineral supplements    1 | FOODON_03401300 | multi-mineral supplement | A multi-mineral supplement contains   more than one mineral, e.g. calcium-magnesium supplement.
  |   |   |   |   |   |   |   |
INITIAL QUERY- SPECIFIC   FOOD/GROUP avoid |   |   |   |   |   |   |   |
alcohol      5 | FOODON_03310661 | beverage alcohol | none | CHEBI_30879 | alcohol | A compound in which a hydroxy group,   -OH, is attached to a saturated carbon atom.
to moderate their alcohol intake    1 | FOODON_03302013 | food containing alcohol | none | NCIT_C2190 | alcohol | A volatile liquid prepared by   fermentation of certain carbohydrates. Alcohol acts as a central nervous   system (CNS) depressant, a diuretic, and a disinfectant. Although the exact   mechanism of CNS depression is unknown, alcohol may act by inhibiting the op
saffron      2 | FOODON_03301867 | saffron (ground) | none |   |   |   |   |
  | FOODON_03411459 | saffron (plant) | none |   |   |   |   |
  | FOODON_03541288 | saffron | Spices from the flower pistil of the   plant classified under the species Crocus sativus L., commonly known as   saffron. The part consumed/analysed is not specified. When relevant,   information on the part consumed/analysed has to be reported with additional
nuts      2 | FOODON_03301367 | nuts (mixed) | none |   |   |   |   |
  | FOODON_03510221 | nuts and products thereof | none |   |   |   |   |
mussels      2 | FOODON_03411223 | mussel | Mussel is the common name used for   members of several families of bivalve molluscs, from saltwater and   freshwater habitats. These groups have in common a shell whose outline is   elongated and asymmetrical compared with other edible clams, which are often m
anchovies, sardines) in excess    1 | FOODON_03542405 | anchovies (esfa foodex2) | Marine fishes classified under the   species Engraulis encrasicolus or Engraulis japonicus or Engraulis mordax or   Engraulis capensis, commonly known as Anchovies. The part consumed/analysed   is not specified. When relevant, information on the part consumed/a
  | FOODON_03542630 | canned anchovies | The group includes any type of   Canned anchovies. The part consumed/analysed is by default the whole, or a   portion representing the heterogeneity observed in the product. When   relevant, information on the part consumed/analysed has to be reported with   addi
  | FOODON_03542401 | herrings, sardines, anchovies | The group includes any type of   marine fish belonging to the ISSCAAP group 35: Herrings, sardines, anchovies.   ] and [https://www.google.co.uk/search?tbm=isch&q=edible fish Herrings,   sardines, anchovies]
high meat and seafood intake could   exacerbate gout    2 | FOODON_03315240 | meat (solid) | none |   |   |   |   |
  | FOODON_00001006 | meat food product | A food product made of meat, the   skeletal muscle and associated fat, and other edible tissues such as organs,   livers, skin, brains, bone marrow, kidneys, or lungs, of mammals. [
  | FOODON_00001046 | seafood product | A seafood product is a vertebrate or   invertibrate organism from anaquatic environment.
dark chocolate    2 | FOODON_03303588 | dark chocolate | none |   |   |   |   |
sweets      1 | FOODON_03316428 | sweets | none |   |   |   |   |
hot or cold foods    1 |   |   |   |   |   |   |   |
  |   |   |   |   |   |   |   |
water intake must not be restricted    1 | FOODON_00002340 | water (food product) | none | ENVO_00003064 | drinking water | Drinking water is water which may be   consumed by humans with no adverse effects on their health.
foods very high in manganese, including:   cloves    1 |   |   |   | NCIT_C68266 | dietary manganese | Forms of the element manganese found   in foods.
  | FOODON_03541323 | cloves buds | Spices from the buds of the plant   classified under the species Syzygium aromaticum (L.). Merr. & Perr or   Eugenia caryophyllata or Caryophyllus aromaticus L., commonly known as Cloves   buds. The part consumed/analysed is not specified. When relevant, inform
and pumpkin, sesame, and sunflower   seeds    1 | FOODON_03304870 | pumpkin seed (shelled) | none |   |   |   |   |
  | FOODON_00002232 | sesame food product |   |   |   |   |   |
  | FOODON_03310306 | sesame seed |   |   |   |   |   |
  | FOODON_03304876 | sesame seed (hulled) |   |   |   |   |   |
  | FOODON_03304874 | sesame seed (roasted) |   |   |   |   |   |
  | FOODON_03304154 | sesame seed (paste) |   |   |   |   |   |
  | FOODON_03304869 | sunflower seed (raw) |   |   |   |   |   |
  | FOODON_03309990 | sunflower seed (shelled) |   |   |   |   |   |
margarines and other products containing   stanols (e    1 | FOODON_00002022 | margarine food product |   | DRON_00016316 | plant stanol ester |   |
  |   |   |   |   |   |   |   |
  |   |   |   |   |   |   |   |

Now the excel files are showing up. Weird. Okay thanks, I will take a look. best.

Closing this as nearly all are in other tickets or have been added.


Is it possible to add cluster through config?

Seems the only way to add a cluster is from the UI, wondering is it possible to add cluster through config (before starting the Kafka Manager server)?

You need to set your zookeeper hosts with the
kafka-manager.zkhosts parameter in the configuration file.
You can then point to the file with
-Dconfig.file as in https://github.com/yahoo/kafka-manager#starting-the-service

Thanks @jthompson6, but that is not for adding cluster. IIUC, KM itself uses ZK (specified via kafka-manager.zkhosts) as data store to manage cluster configs, but after that, you have to add cluster through the UI. I guess it might be possible to directly write config to the ZK, but there is no doc for that, and that is internal implementation detail, which might change over time.

Since KM can manage more than one kafka cluster, its store a configuration (related to kafka cluster) in ZK DB (kafka manager config is not the best place for it). If you want to add a kafka cluster to your kafka manager w/o UI, use API (e.g. you can deploy a kafka manager via ansible and after that add a cluster via API by ansible).

@jomendoz, why you don't want to try to find this information by yourself? It's very easy. I'm just a Kafka manager user, not a developer or contributor.
API routes are here - https://github.com/yahoo/kafka-manager/blob/master/conf/routes


Add check on client-side to see if KnitServer exists before destroying it

I was testing a module that uses utility modules from Knit using the command bar on the client-side when Knit threw an error saying "KnitServer" does not exist.
I realized this was because the Knit module had already been required by client-side scripts, thus had deleted the KnitServer module, but since the command bar runs in a separate scope/context (not sure of the correct terminology here) it requires it again, then tries to find an instance that is no longer under the Knit module and errors.
This would allow for modules to be tested via the command bar during the run-time on the client-side.

I wonder if there is a better way to go about testing modules than through the command line? I don't have any issues with this change, but it does highlight a possible need for a tool or something to help test

I sometimes test code from the command bar as sometimes it's more convenient than writing some temporary code in some file somewhere, just to make sure a module works properly before starting work on a gameplay feature.

I sometimes test code from the command bar as sometimes it's more convenient than writing some temporary code in some file somewhere, just to make sure a module works properly before starting work on a gameplay feature.

Oops, forgot to mention: yes, there probably is a better way of going about testing modules.

My bad didn't know that I need to re-request a review once I've implemented the changes the review wants. I'm still pretty new to GitHub pull request stuff😅


Report Findings

Close with pull request
https://github.com/JoaquinAyzanoa/made-template_ws2324/pull/24


refactor(oauth2-core): only set jwsAlgorithm in constructor

Pipeline needs to be restarted due to a timeout connecting to a dependency repo.


isExpandable : true not working while updating the whole tree structure

Hi,
I am using latest version of angular tree component. My requirement is i have to update the whole tree nodes on some action.
Here is the sample :
HTML :
<input type="text" placeholder="Search" #HierarchyField class="hiearchy-search form-control"
id="hiearchy-search">

<button class="btn btn-secondary button-search" (click)="searchNodes(HierarchyField.value)" type="button">

<tree-root #tree *ngIf="nodes.length > 0" [nodes]="nodes" [options]="options">
<ng-template #treeNodeWrapperTemplate let-node let-index="index">

<tree-node-expander [node]="node">

<tree-node-content [node]="node" class="HIERARCHY-node" [index]="index">

ANGULAR :
import { TreeModule, TreeNode, TreeComponent } from 'angular-tree-component';
private tree: TreeComponent;
export const FakeSearchedData = [
{
id: 1,
nodeName: 'root1',
isExpanded: true,
"nodeType": "HIERARCHY",
hierarchyNodeList: [
{
id: 2,
"nodeType": "HIERARCHY",
nodeName: 'child1'
}, {
id: 3,
"nodeType": "HIERARCHY",
nodeName: 'child2'
}
]
}
];
searchNodes(){
this.nodes = FakeSearchedData ;
this.tree.treeModel.update();
}
Description :
When i am setting this data on first time the is isExpanded is working perfectly. But when i am updating the tree with whole new nodes and calling this.tree.treeModel.update() but the tree is getting updated with new nodes but isExpanded not working, all nodes are collapsed.
Please help me.
Thank you

Hi,
as a workaround you can use tree.treeModel.expandAll();

A solution that that works for me, is creating a custom function that can be triggered after the tree was updated.
expandExpandedNodes() {   this.tree.treeModel.doForAll((treeNode) => {       if (treeNode.data.isExpanded === true) {         treeNode.expand();       }   }); }


Update to PSR-7 1.1/2.0

Feature Request

Q
A

New Feature
yes

RFC
no

BC Break
yes

Summary
PSR-7 has just released tags for 1.1 and 2.0. 1.1 adds parameter type hints, and 2.0 adds return type hints.
For our purposes, we'll need to do a new minor and a new major:

The new minor will bump to ^1.1 of the spec, and basically require no changes on our part. Since you can widen parameter types, we can omit them from in this release and still conform to the spec. We already provide return type hints in our implementation; again, these conform to the LSP, as you can have more specific RTH.
The new major will bump to ^1.1 || ^2.0, and add parameter type hints.

I've actually already done the work for these releases when I worked on the PSR-7 errata that introduced the new tags, and will get patches submitted this week.
The bigger issue will be updating all code depending on Diactoros and/or PSR-7.

FYI
https://github.com/php-http/psr7-integration-tests/pull/65

Resolved with #136


send truss version on patch

:rocket: What

sends the truss version on patch
cleans up dead code
does a small refactor for repeated code

:computer: How

:microscope: Testing

corollary: https://github.com/basetenlabs/baseten/pull/9978


[feature request] Rolling CQ resampling

Feature Request
Proposal: CQ resample perform an incremental build based on new entries since last sample entries.
Current behavior: CQ sampling needs to rerun aggregations over all elements, even elements that were counted since the last sample window.
Desired behavior: Have an option when creating a CQ to ignore previously sampled entries and only "diff" against new entries that are within the sample window.
Use case: We deal with "big data" at a rate of about a billion entries of time series data per day. We want to run rolling aggregates of the data per hour, week, year for queries that include the current/present time window as new data is entering the database. As such, current CQ sampling would take a massive amount of time to process versus only aggregating new events to the existing/last total aggregation.
Feature proposed from question #5727
Current docs on CQ: https://docs.influxdata.com/influxdb/v0.10/query_language/continuous_queries/

We may also want to remove the non-aggregate data past the one month window, as it's a huge amount of data. However, we would want the rolling yearly CQ sampling to retain the count of that data while adding to it's aggregate new data that's coming in.


⚠ Turnos 24x7 has degraded performance

In 37518b9, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 953 ms

Resolved: Turnos 24x7 performance has improved in 80d9239.


Preview not refreshing w/LiveReload

I've followed the steps in #347 but they don't help.
I'm using Markdown Preview, and LiveReload.
Steps to reproduce:

Open .md file in Sublime
Palette -> Markdown Preview: Preview in Browser
Preview opens in browser, looks great
Palette -> LiveReload: Enable/disable plug-ins -> Enable - Simple reload
Status bar message reads: "Simple Reload" the LiveReload plugin as been enabled!
Edit .md file
Save .md file
Status bar message reads: LiveReload refresh from SimpleReloadPlugin
Browser preview does not change
Manually reloading browser page does not change preview, suggesting that Markdown Preview is not writing an updated .html

Running:

macOS Sierra 10.12.4
Sublime Text 3 Stable, build 3126
Markdown Preview 1.4.2
LiveReload 0.1.3
Chrome 57.0.2987.133 (but also reproduced the issue in Safari)

Any suggestions?
Thanks,
James

Same here

Hi, sorry for this, you now have to set enable_autoreload to true in your settings.
Can you please try and confirm it works ok for you ?
Thanks

Hi @revolunet, thanks for the followup!
I tried again to set enable_autoreload to true, and restarted Sublime.
It still does not work -- but I notice that the browser window is actually refreshing.  It was not refreshing before.  However, the content in the browser window still does not update to match the changes to the file.
Additionally, I now see this error in the console, which I was not seeing when enable_autoreload was false:
{"apply_css_live": null, "apply_images_live": null, "apply_js_live": null, "path": "README.MD", "command": "reload"}
INFO:WebSocketClient:Remove from clients table <LiveReload.server.WebSocketClient.WebSocketClient object at 0x10a2373d0>
ERROR:WebSocketClient:WebSocket error
Traceback (most recent call last):
  File "/Users/jhogan/Library/Application Support/Sublime Text 3/Packages/LiveReload/server/WebSocketClient.py", line 84, in __init__
    data = self.socket.recv(1024)
OSError: [Errno 9] Bad file descriptor
INFO:WebSocketClient:Remove from clients table <LiveReload.server.WebSocketClient.WebSocketClient object at 0x10a2373d0>
INFO:WebSocketClient:new client ('<IP_ADDRESS>', 62746)
INFO:WebSocketClient:new client ('<IP_ADDRESS>', 62748)
INFO:WebSocketClient:Add to clients table <LiveReload.server.WebSocketClient.WebSocketClient object at 0x10a2a5250>
INFO:WebSocketClient:{'mask': b'\x1f\xf0\x97h', 'close_reason': None, 'opcode': 1, 'payload': b'{"command":"hello","protocols":["http://livereload.com/protocols/official-6","http://livereload.com/protocols/official-7"],"ver":"2.0.8","snipver":"1"}', 'left': 0, 'hlen': 4, 'fin': 1, 'length': 151, 'close_code': None}
INFO:WebSocketClient:Command: hello
INFO:WebSocketClient:{'mask': b'\x90\xf5\xb9\xb7', 'close_reason': None, 'opcode': 1, 'payload': b'{"command":"info","plugins":{"less":{"disable":false,"version":"1.0"}},"url":"file:///var/folders/ym/mdc1nynx0l1g7shy16xb77_40000gn/T/30.html"}', 'left': 0, 'hlen': 4, 'fin': 1, 'length': 143, 'close_code': None}
INFO:WebSocketClient:Command: info
b'{"command":"info","plugins":{"less":{"disable":false,"version":"1.0"}},"url":"file:///var/folders/ym/mdc1nynx0l1g7shy16xb77_40000gn/T/30.html"}'

For me, after being reinstalled, the Markdown Preview plugin works now.

Can you please try this solution : https://github.com/revolunet/sublimetext-markdown-preview/issues/389#issuecomment-301921456

Yeah, #389 is identical to what I did, with the exception that I already had LiveReload installed (so steps 5-6 were steps 1-2).

FYI, retried the steps again from #389 for good measure, and the same problem w/the same console error message still persist.

@jhogan4288, I think I've found the issue with Chrome. Over in #389 I describe my findings here: https://github.com/revolunet/sublimetext-markdown-preview/issues/389#issuecomment-305989535.
It is possible I can make a bug fix release with the livereload async patch soon.

I will close this issue in favor of #389 to cut down on duplicate issues.  Further discussion can be made in issue #389.  I am hoping to have this fixed moving forward.


Add in a code coverage plugin

Make sure the code is covered by including a code coverage plugin. Options can be found in The Ruby Toolbox.

Completed by #26


ci: Security scanning

Proposal
Add security scanning into PRs

Code scanning
Secrets
Dependencies

#44 enables CodeQL for static security testing (SAST).
@codebymatthew @laurelayounis  I've also enabled Dependabot in the project settings. This might not immediately have an impact until a dependency management framework is enabled (NodeJS package.json, etc.). Instead, it comes in preparation for later refactoring.

This is amazing! Thank you for all your hard work.


Feature: Nested admin main menu

Recently I updated ajshorts GroupedCMSMenu from 2.4 (see link below) to SS3 compatibility. I noticed that there seems to be an incomplete implementation of this already in SS3, consisting of the necessary CSS and Javascript, but missing the template markup and a way of defining parent/child menu items.
I think it would be great to have the implementation complete in core. So what do you think of the groupedcmsmenu approach? Let me know your thoughts, happy to make a pull request to get it integrated/documented.
https://github.com/sheadawson/silverstripe-groupedcmsmenu

I'm going to close this for now; Please stick any further feature requests into https://silverstripe.uservoice.com/forums/251266-new-features if you would still like to see this in core.


Testing comments

Hello how are you?

Good you?

What's up?

I like this problem

This is a snippet
def check_letter(idx, letter, min_len, strs):
    for string in strs:
        if idx >= min_len:
            return False
        if letter != string[idx]:
            return False
    return True

Conwell was born about 1748 in Moneymore, County Londonderry, Ireland (present-day Northern Ireland), the son of Owen Conwell and his wife, Mary (Keegan) Conwell.[a][1][2] He studied at the Irish College in Paris and was ordained to the priesthood there in November 1776.[2][3] Conwell was well-educated, being fluent in Latin, French, Spanish, and Italian, but had a reputation as a preacher of only modest ability.[4] Around 1785, he contemplated moving to the United States but was concerned about the still uncertain financial state of the new country's parishes, and ultimately decided not to apply for a position there.[3] He was appointed parish priest of Dungannon in 1792 or 1793 and Vicar General of the Archdiocese of Armagh in 1794.[1][5] After the death of Archbishop Richard O'Reilly in 1818, Conwell served as acting Archbishop.[6]


Update English-to-Spanish translation with a sequence-to-sequence Transformer

In the exmaple code, the author used 3 models, an encoder model, a decoder model and a transformer model. It worked fine but I got a little bit confused when I was learning. I think it's better to use just one transformer model, the encoder part and decoder part can be seen as a layer.

Thanks for the suggestion! The formulation you propose is more concise. However the code is written to match the example in the book, which is written to be consistent across a RNN formulation and a Transformer formulation. We'll keep it as-is.

Thanks for the suggestion! The formulation you propose is more concise. However the code is written to match the example in the book, which is written to be consistent across a RNN formulation and a Transformer formulation. We'll keep it as-is.

ok,I got it.Thank you very much:)


Caliper container failing

If using the caliper image to benchmark, it can fail and result in "hanging" the benchmark execution.
Scenario:

Follow the tutorial, but apply testing with the caliper image
Increase the loading applied during the benchmark round

Observations
Worker logging reveals:
2020.10.09-16:42:47.038 info  [caliper] [caliper-worker]        Worker #1 starting workload loop
node[1]: ../src/node_http2.cc:893:ssize_t node::http2::Http2Session::ConsumeHTTP2Data(): Assertion `(flags_ & SESSION_STATE_READING_STOPPED) != (0)' failed.

After which the worker is essentially dead (if launched by manager, the manager process will continue, resulting in a continued null update from any txMonitors)
Is visible for all possible container operational modes:

container with internal workers spawned
container with internal workers using mqtt communication
distributed workers using mqtt with a central manager (in this case the workers are the only items to report the error)

This appears to occur under high loading
There are issues raised against nodeJS that are in this area:

https://github.com/nodejs/node/issues/29393

With indication that fixes have been added to 13.3.0, 12.14.1 and 10.18.1
Initial proposal is to jump immediately to 10.18 in the container (remaining within the v10 stream) and investigate v12 levels going forwards as a part of #965

Bumped node version of caliper image to 10.18 and ran a local test that was failing when using the existing container ... test passed without showing the node::http2::Http2Session::ConsumeHTTP2Data() failure


TINKERPOP3-995 Add Authenticator.newSaslNegotiator(InetAddress)

https://issues.apache.org/jira/browse/TINKERPOP3-995
This change is non-breaking despite the deprecation. Reviewers should focus on validating that there are no regressions:
mvn clean install
mvn verify -DskipIntegrationTests=false -pl gremlin-server

VOTE: +1

All the tests passed for me and the doc updates & code look good.
VOTE +1

VOTE +1.


Attempted to retain deallocated object

I got this error whenever the view is about to be rendered.
_libswiftCore.dylib`swift_abortRetainUnowned:
0x1111def00 <+0>:  leaq   0x2ae8c(%rip), %rax       ; "attempted to retain deallocated object"
0x1111def07 <+7>:  movq   %rax, 0x6beaa(%rip)       ; gCRAnnotations + 8
0x1111def0e <+14>: int3
->  0x1111def0f <+15>: nop
It happens in DropDown.swift
dispatch_async(dispatch_get_main_queue()) { [unowned self] in
self.tableView.flashScrollIndicators()
}

Hello @bendaniel10,
Can you show the code where you use the DropDown, please?
Note that if you don't retain the DropDown, it will release when right away, here's an example:
func someFunction() {
   let dropDown = DropDown()
   dropDown.anchorView = someView
   dropDown.dataSource = ["1", "2", "3"]

   dropDown.show()
   // At the end of the function, dropDown is not held by any other object so it will be freed from memory
}

To fix that, you will need to retain the DropDown like this for example:
class ViewController: UIViewController {
   let dropDown = DropDown()

   fun someFunction() {
      // Rest of the code above without the dropDown declaration
   }
}

Hope that helps!

It works now, thanks.


The back button on mobile not working and scroll issues

ticket 446
'Back' button does not appear to function when trying to navigate backward after drilling down into menu
Scroll function does not work after drilling down a couple of levels when there are lots of items to display

This may be a tricky one but ill try to get the back button in order first


Use Private Repos whenever Private API Keys are used

All guides like this one can be updated to use Private repos now that those are free for everyone. This protects private API keys!
https://github.com/Microsoft/computerscience/blob/master/Labs/Web Development/Azure Web Apps and GitHub/Deploying a Cognitive Services Web Site to Azure via GitHub.md
Steps:

Create a new private repo -- leave it empty.
On next screen choose import and enter the GIT clone URL of the repo you would have forked.

Now you are using a private repo to which you can safely commit your API credentials (even though this isn't a best practice, at least no bad actor can use the API keys)

We're actually moving these Labs all to Learn, so probably won't update this here, but it's a great idea!


Errors deploying buildpack on Bluemix

What version of Cloud Foundry are you using?
v279
What version of the buildpack you are using?
1.5.8
If you were attempting to accomplish a task, what was it you were attempting to do?
Deploying buildpack on IBM Bluemix
What did you expect to happen?
I should be able to deploy Python application with this buildpack
What was the actual behavior?
I am getting this error:
Unpacking Tesseract-OCR binaries
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime'
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime'
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
bin/
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
bin/tesseract
lib/
lib/libgif.so.4
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
lib/libjpeg.so.62
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
lib/libjpeg.so.8
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
lib/liblept.so.4
lib/libpng.so
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
lib/libtesseract.so.3
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
lib/libtiff.so.4
lib/libtiff.so.5
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
lib/libwebp.so.5
Getting Tesseract-OCR training data
eng training data
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  1596  100  1596    0     0  15753      0 --:--:-- --:--:-- --:--:-- 15960
gzip: stdin: not in gzip format
tar: Child returned status 1
Exit status 223
Staging failed: STG: Exited with status 223
Destroying container
tar: Error is not recoverable: exiting now
Failed to compile droplet: Failed to compile droplet: exit status 2
Stopping instance 6048037e-b517-4cbd-a5e9-d5f757889b13
Successfully destroyed container
FAILED
Error restarting application: BuildpackCompileFailed
Please confirm where necessary:

[Yes ] I have included a log output
[ Yes] My log includes an error message
[ Yes] I have included steps for reproduction

Hi Pankaj,
I just had a look at the code where the build pack tries to download the training data for tesseract.
It looks like the domain https://tesseract-ocr.googlecode.com doesn’t exist anymore, that’s where the build pack used to download the training data.
Unfortunately, there is nothing I can do about that.
If you find another server that hosts this training data, you could fix the build pack.
Have a look at the code where it tries to download the training data, it should be self explanatory how to replace the URL.

Hi Leo,
Thank you for responding. While doing a little search I found that the code has moved to github:
https://code.google.com/archive/redirect/a/code.google.com/p/tesseract-ocr?movedTo=https:%2F%2Fgithub.com%2Ftesseract-ocr
Could you please help me with replacing the url, I am pretty new to python and trying to figure things out.
Thank you in advance for your help.
Regards,
Pankaj Dubey

That's actually not Python but a bash script.
The curl command downloads the file and the tar command unpacks the .tar.gz file. Have a look at Bash programming to learn how to use bash.
I just had a look at the tesseract-ocr GitHub and it also seems like they don't offer the training data as .tar.gz files anymore but the raw files instead. I don't remember anymore what was specifically inside the .tar.gz file, was it just one file like the eng.traineddata?
If so, you could try to download it with curl and then to move it to the proper location. The code should look something like this:
curl $TRAINING_DATA_URL
mv $TRAINING_DATA_FILE $INSTALL_DIR_TRAINING_DATA/

I found the link where the training files are available: https://sourceforge.net/projects/tesseract-ocr-alt/files/tesseract-ocr-3.02.eng.tar.gz
But I still get this error when I updated the the link in the code:
Getting Tesseract-OCR training data
eng training data
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   443  100   443    0     0   1889      0 --:--:-- --:--:-- --:--:--  1977
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
Failed to compile droplet: Failed to compile droplet: exit status 2
Exit status 223

It looks like the source forge link is not the actual link to the file. I followed the link forwarding and was able to download the actual file from here. I will update the code.

Should be fixed now. Reopen the issue if not.

Thank you Leo 😀
On Fri, Nov 10, 2017 at 1:43 PM, Leo Kotschenreuther <
<EMAIL_ADDRESS>wrote:

Closed #3
https://github.com/LeoKotschenreuther/python-tesseract-buildpack/issues/3
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/LeoKotschenreuther/python-tesseract-buildpack/issues/3#event-1336595978,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Af9JORRPldjc-mn8LYyKxIA-q_HcnK3-ks5s1JlVgaJpZM4QZzVS
.


Fix Searchfield ref

When updating, using this pattern, the ref would often be null after a state change. This fixes that by simply always calling the ref callback on render and not relying on the following render to then call the ref callback.

@alburdette619  Looks good!


Create a branch named centos

Waiting we finalize the integration of updated X11 with the image based of centos, I suggest we maintain a branch named centos-2016.10.20
This will allow us to publish an image named thewtex/opengl:centos-2016.10.20 that will be used for Slicer CI.
Ultimately, we will address the remain issues related to update of X11 and get rid of the debian based on .
Cc: @MayeulChassagnard

Done.

Pull request reference: #1

I've created a branch named centos. We can make centos PR's against this branch.
Before merging centos to master, we should add MicroBadger / revision labels / tagged versions of the Debian image so folks can still get access to the old version.


Update git test

What does this PR do?
After the migration of Alizer test resources to their new Repository: alizer-test-resources it updates the flow of git_test_recongizer.go in order to apply tests independently. More detailed:

Updates the git_test.json in order to have the correct resources and not using the git repos.
Updates the flow of TestExternalRepos in order to clone the alizer-test-resources and loop through its different directories.

Which issue(s) this PR fixes:
Fixes https://github.com/redhat-developer/alizer/issues/155

@mike-hoang I have added a test case for #200 (I've imported the hypershift project with this PR).
I'm putting WIP because:

We have to merge the alizer-test-resources PR
Update the commit hash.
Merge the #200 and rebase this branch to main.

@mike-hoang all sub-tasks have been completed and I think we are ready now :)


openshift-ci: Fix CSV images

The images in he CSV are now pointing to quay.io/openshift repo. We need to fix CI deploy script to replaces them with CI builds.

/override ci/prow/ingress-node-firewall-e2e-metal-ipi
/lgtm
/approve

/override ci/prow/ingress-node-firewall-e2e-metal-ipi


How enable Saturday and Sunday

Would like to know how to enable Saturday and Sunday and be able to select.

Hi @ScottHitachi
For enable weekend day's, set NguiDatetime.weekends to null
Example: NguiDatetime.weekends = [null, null];
In your module.
import { NguiDatetimePickerModule, NguiDatetime } from '@ngui/datetime-picker';
// Override Weekends day's object formatter
NguiDatetime.weekends = [null, null];
@NgModule({
imports: [BrowserModule, FormsModule, NguiDatetimePickerModule],
declarations: [AppComponent],
bootstrap: [ AppComponent ]
})
export class AppModule { }

@kurodaSensei thanks, I even forgot about that although I designed and coded it :( (getting old)


new domain for Shavatz high school

https://shavatz.co.il/shimon-ben-zvi-high-school/

@yonatan007ziv Thank you for the update! Pull request merged.


Just FYI, a few issues with the kitchen sink on the web site

Sorry to jump in and bug you guys, as there is a high probability that you have already identified these issues.
The first few items in the iPhone kitchen sink worked fine, but clicking on Modals did not work, nor did subsequent clicks on other items. Screenshot of console output:

Please let me know if further information would help!

First issue!
Looks like something with how we are embedding it. You can access it directly at kitchen.reapp.io. We are pre-launch still though, I will check into it further.
What browser are you using?

I'll admit to being a little excited to be the guy opening the first issue on this going-to-hit-big repo :)
I am using Chrome, latest version. Which is, at the time of this comment, 40.0.2214.93 (64-bit).

Thanks for this ticket again, I'm going to close it because I've iterated a bunch on the Kitchen Sink, but in general there are a number of bugs with that. Feel free to open individual ones on the repo though, though I understand if you don't.