Wrapper does'nt appears without scrolling on load

Hi,
with a big html page that have a preloader in Jquery, when I reload a page (so, i'm not viewing page from the top),  script needs a scroll action to appears.
Indeed, the class is-sticky isn't added to the DOM.
So, I think, scroller() function must be called after you init method. It seems it's not actually true.
I must add scroller() after sticked.push() to work, but I'm note sure it's the better way. Eg :
sticked.push({
topSpacing: o.topSpacing,
bottomSpacing: o.bottomSpacing,
stickyElement: stickyElement,
currentTop: null,
stickyWrapper: stickyWrapper,
className: o.className,
getWidthFrom: o.getWidthFrom
});
scroller();

hi
i had the same issue
i resolve this this issue by moving the init methode from
$(document).ready( function() {})
to
$(window).load(function() {})
it work fine now

Also have this issue, where currentTop is null and nothing happens.


Feature/valet: Adds an API  for reservations and parking.

Currently a WIP. Feedback welcome.

Closing because this branch seems to be dirty from some other work.


Changed color of days until Christmas for darkmode

🛠 Fixes Issue

FIxes #386
Related Issue/Addition to code

Issue goes here

👨💻 Changes proposed

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

✔ Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

Original
Updated

** original [screenshot]
** updated screenshot **

https://github.com/KendallDoesCoding/mogul-christmas/issues/386#issue-1676023696

@Jayrajrodage - thanks for your contribution.. but next time, please ask to be assigned in the issue before starting work on it and making a PR.


[ptp4u] graceful shutdown

Avoid returning an error on graceful shutdown.

Can you show any test plan please?

Can you show any test plan please?

PR description updated.


Use v33 of kcov

Fixes #9

Coverage remained the same at ?% when pulling ed42a8d9a0ded4410b163ff7bb23246ea1742778 on Fix_kcov into c4c19a236de7fe6733672fa628b95046b265cc6a on master.


Fix redundant lambda refactoring

There's one thing missing in #1029: given f (Just a) = \a -> a + a, the function name f must also be removed from subts vars. This ensures a = \x -> x won't be refactored into x x = x.

Thanks!


Ignore existing server.pid file when starting Rails server

rails server fails if a server.pid file exists in the tmp directory. The pid file is created when the server starts. However, if the server is killed or crashes unexpectedly, it may not be deleted. Thus, when Docker tries to automatically restart the container, this fails as well.
Possible solutions:

There might be a flag for rails server (or puma) to ignore an existing server.pid file (preferred).

Otherwise, we could adjust the start command to remove server.pid if it exists, e.g. like this: rm -f /app/tmp/server.pid. && bundle exec rails server

@roschaefer The latter actually is the recommended solution in this example from the Docker docs: https://docs.docker.com/samples/rails/

Next, provide an entrypoint script to fix a Rails-specific issue that prevents the server from restarting when a certain server.pid file pre-exists.

I also looked into the docker-compose config to see if there is a way to always recreate a container on restarts (because the only reason we run into this problem is because compose reuses the failed/exited container), but didn’t find anything.


Vulnerabilities fix

Coverage remained the same at 89.06% when pulling 8de728eb3567048728be423210c511aea57400a7 on vulnerabilities_fix into 8db169275d73f2b8a384adf2475313eedcbb2ac2 on master.


can share the TDD data for  deblur?

TDD 官方失效了

TDD 官方失效了

Hi @foocker  ,
I have uploaded the TDD dataset to OneDrive: TDD Dataset.
Please note that I do not have the original files anymore, so the file structure might be slightly different from the original dataset.


AxiosError: maxContentLength size of -1 exceeded

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
When sending a request to my API endpoint (on AWS) I get this error:
Error invoking remote method 'send-http-request': AxiosError: maxContentLength size of -1 exceeded

I believe it could be related to this bug?
.bru file to reproduce the bug
No response
Screenshots/Live demo link

I think it might have something to do with transfer-encoding: chunked

same error here while calling streaming api


UI of wallet income and expense chart

Tasks

[ ] create UIs of income and expense chart

References

Product doc
Design

Blocked By

https://github.com/thematters/matters-server/issues/2887

Goal has changed. Drop it.


dbeaver#18312 Complete some Simplified Chinese localization work

The missing properties files mentioned in issue #18312 haven't been created yet (PR #20464 did this, but haven't been merged yet), so localization in those places still doesn't work.
Therefore, based on the current latest version, I have localized Simplified Chinese for places that can be localized.
The list of modified or newly added property files is as follows:

  modified:   plugins/org.jkiss.dbeaver.core/OSGI-INF/l10n/bundle_zh.properties
  modified:   plugins/org.jkiss.dbeaver.data.transfer.ui/OSGI-INF/l10n/bundle_zh.properties
  modified:   plugins/org.jkiss.dbeaver.data.transfer.ui/src/org/jkiss/dbeaver/tools/transfer/ui/internal/DTUIMessages_zh.properties
  modified:   plugins/org.jkiss.dbeaver.data.transfer/OSGI-INF/l10n/bundle_zh.properties
  modified:   plugins/org.jkiss.dbeaver.data.transfer/src/org/jkiss/dbeaver/tools/transfer/internal/DTMessages_zh.properties
  modified:   plugins/org.jkiss.dbeaver.tasks.ui/OSGI-INF/l10n/bundle_zh.properties
  modified:   plugins/org.jkiss.dbeaver.ui.app.standalone/src/org/jkiss/dbeaver/ui/app/standalone/internal/CoreApplicationMessages_zh.properties
  modified:   plugins/org.jkiss.dbeaver.ui.editors.data/OSGI-INF/l10n/bundle_zh.properties
  modified:   plugins/org.jkiss.dbeaver.ui.editors.data/src/org/jkiss/dbeaver/ui/controls/resultset/internal/ResultSetMessages_zh.properties
  modified:   plugins/org.jkiss.dbeaver.ui.editors.data/src/org/jkiss/dbeaver/ui/editors/data/internal/DataEditorsResources_zh.properties
  modified:   plugins/org.jkiss.dbeaver.ui.editors.sql/OSGI-INF/l10n/bundle_zh.properties
  modified:   plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/internal/SQLEditorMessages_zh.properties
  modified:   plugins/org.jkiss.dbeaver.ui.navigator/OSGI-INF/l10n/bundle_zh.properties
  new file:   plugins/org.jkiss.dbeaver.ext.sample.database/src/org/jkiss/dbeaver/ext/sample/database/SampleDatabaseResources_zh_CN.properties
  new file:   plugins/org.jkiss.dbeaver.ui.editors.sql.terminal/OSGI-INF/l10n/bundle_zh_CN.properties

@E1izabeth
Hello, E1izabeth
I see a message saying “E1izabeth linked an issue 2 hours ago that may be closed by this pull request”, but this PR doesn't fix issue #18312, it's just to satisfy the format for submitting a PR (must specify an issue number). Issue #18312 should only be closed if PR #20464 is successfully merged.

Thank you for explanation, we haven't reviewed your PR yet. I'll unlink it from that issue.

Could you rename zh_CN files to just zh?

@E1izabeth Of course, I will change it now.

verified


feat(probe): support postgres client

@ken8203 Thanks for this contribution. It looks good so far, and once you finish this PR, please help update the README.md and put the "postgres" into the probe client section.  :-)


[Integration] main (06f40f6) -> swift/main

This should not require swift changes. But 89b80bf in this PR is required by https://github.com/apple/swift/pull/42583

@swift-ci Please test

@swift-ci Please test

@swift-ci please test

Integration tests passed in:
https://ci.swift.org/job/swift-PR-macos/1395/
https://ci.swift.org/job/swift-PR-Linux/1433/
https://ci-external.swift.org/job/swift-PR-windows/1044/


Wav2Vec Fine-tuning step cannot locate wav2letter python bindings.

I installed the python bindings for wav2letter as follows. I am using Anaconda (base is the enviornment) inside a docker container. When I run the finetuning step of wav2letter, I still get the - bindings not found - error as listed below. Please advise how I can help it find the bindings / verify the bindings installation.  I also see an assertion error below regarding the dictionary. The meaning of that error is not very clear.
(base) root@ddde7c3df79d:~/wav2letter/bindings/python# pip install -e .
Obtaining file:///root/wav2letter/bindings/python
Installing collected packages: wav2letter
Attempting uninstall: wav2letter
Found existing installation: wav2letter 0.0.2
Uninstalling wav2letter-0.0.2:
Successfully uninstalled wav2letter-0.0.2
Running setup.py develop for wav2letter
Successfully installed wav2letter
(base) root@ddde7c3df79d:~/wav2letter/bindings/python# cd ../../../fairseq/
(base) root@ddde7c3df79d:~/fairseq# source finetune.sh
2020-10-13 21:11:56 | INFO | fairseq_cli.train | Namespace(activation_dropout=0.1, adam_betas='(0.9, 0.98)', adam_eps=1e-08, all_gather_list_size=16384, apply_mask=True, arch='wav2vec_ctc', attention_dropout=0.0, batch_size=None, batch_size_valid=None, best_checkpoint_metric='wer', bf16=False, bpe=None, broadcast_buffers=False, bucket_cap_mb=25, checkpoint_suffix='', clip_norm=25.0, cpu=False, criterion='ctc', curriculum=0, data='/app/home/ngoel-00171/dh_clean_nounk_noseg/wav2vec/', data_buffer_size=10, dataset_impl=None, ddp_backend='no_c10d', decay_steps=40000, device_id=0, disable_validation=False, distributed_backend='nccl', distributed_init_method=None, distributed_no_spawn=False, distributed_num_procs=0, distributed_port=-1, distributed_rank=0, distributed_world_size=1, distributed_wrapper='DDP', dropout=0.0, dropout_input=0, empty_cache_freq=0, enable_padding=False, fast_stat_sync=False, feature_grad_mult=0.0, final_dropout=0.0, final_lr_scale=0.05, find_unused_parameters=False, finetune_from_model=None, fix_batches_to_gpus=False, fixed_validation_seed=None, fp16=True, fp16_init_scale=128, fp16_no_flatten_grads=False, fp16_scale_tolerance=0.0, fp16_scale_window=None, freeze_finetune_updates=10000, gen_subset='test', hold_steps=32000, init_lr_scale=0.01, keep_best_checkpoints=-1, keep_interval_updates=-1, keep_last_epochs=-1, labels='ltr', layerdrop=0.1, local_rank=0, localsgd_frequency=3, log_format='json', log_interval=500, lr=[2e-05], lr_scheduler='tri_stage', mask_channel_length=64, mask_channel_other=0.0, mask_channel_prob=0.5, mask_channel_selection='static', mask_length=10, mask_other=0.0, mask_prob=0.5, mask_selection='static', max_epoch=0, max_sample_size=None, max_tokens=1280000, max_tokens_valid=1280000, max_update=80000, maximize_best_checkpoint_metric=False, memory_efficient_bf16=False, memory_efficient_fp16=False, min_loss_scale=0.0001, min_lr=-1.0, min_sample_size=None, model_parallel_size=1, no_epoch_checkpoints=True, no_last_checkpoints=False, no_mask_channel_overlap=False, no_mask_overlap=False, no_pretrained_weights=False, no_progress_bar=False, no_save=False, no_save_optimizer_state=False, no_seed_provided=False, normalize=False, nprocs_per_node=1, num_shards=1, num_workers=8, optimizer='adam', optimizer_overrides='{}', patience=-1, pipeline_balance=None, pipeline_checkpoint='never', pipeline_chunks=0, pipeline_devices=None, pipeline_model_parallel=False, profile=False, quantization_config_path=None, remove_bpe='letter', required_batch_size_multiple=8, required_seq_len_multiple=1, reset_dataloader=False, reset_lr_scheduler=False, reset_meters=False, reset_optimizer=False, restore_file='checkpoint_last.pt', sample_rate=16000, save_dir='/app/home/ngoel-00171/dh_clean_nounk_noseg/wav2vec/', save_interval=1, save_interval_updates=0, scoring='bleu', seed=2337, sentence_avg=True, shard_id=0, skip_invalid_size_inputs_valid_test=False, slowmo_algorithm='LocalSGD', slowmo_momentum=None, stop_time_hours=0, task='audio_pretraining', tensorboard_logdir=None, threshold_loss_scale=None, tokenizer=None, tpu=False, train_subset='train', update_freq=[24], use_bmuf=False, use_old_adam=False, user_dir=None, valid_subset='valid', validate_after_updates=10000, validate_interval=1, validate_interval_updates=0, w2v_path='/app/home/ngoel-00171/wav2vec_out2/checkpoint_best.pt', warmup_steps=8000, weight_decay=0.0, wer_args='("/app/home/ngoel-00171/latest_LM/lm.bin","/app/home/ngoel-00171/latest_LM/lexicon.txt",2,-1)', zero_infinity=True, zero_sharding='none')
2020-10-13 21:11:56 | INFO | fairseq.data.audio.raw_audio_dataset | loaded 8492, skipped 0 samples
/root/fairseq/examples/speech_recognition/w2l_decoder.py:38: UserWarning: wav2letter python bindings are required to use this functionality. Please install from https://github.com/facebookresearch/wav2letter/wiki/Python-bindings
warnings.warn(
Traceback (most recent call last):
File "train.py", line 14, in
cli_main()
File "/root/fairseq/fairseq_cli/train.py", line 352, in cli_main
distributed_utils.call_main(args, main)
File "/root/fairseq/fairseq/distributed_utils.py", line 258, in call_main
main(args, **kwargs)
File "/root/fairseq/fairseq_cli/train.py", line 69, in main
criterion = task.build_criterion(args)
File "/root/fairseq/fairseq/tasks/fairseq_task.py", line 553, in build_criterion
return criterions.build_criterion(args, self)
File "/root/fairseq/fairseq/criterions/init.py", line 30, in build_criterion
return build_criterion_(criterion_cfg, task)
File "/root/fairseq/fairseq/registry.py", line 54, in build_x
return builder(args, *extra_args, **extra_kwargs)
File "/root/fairseq/fairseq/criterions/fairseq_criterion.py", line 61, in build_criterion
return cls(**init_args)
File "/root/fairseq/fairseq/criterions/ctc.py", line 45, in init
self.w2l_decoder = W2lKenLMDecoder(dec_args, task.target_dictionary)
File "/root/fairseq/examples/speech_recognition/w2l_decoder.py", line 150, in init
assert (
AssertionError: ['z', 'ay', 'r', 'ah', 'l'] [36, 3, 13, 3, 15]
What's your environment?

fairseq Version (master)
PyTorch Version (1.4)
OS (e.g., Linux): Ubuntu 14
How you installed fairseq (pip, source): Got the wav2letter docker image, then did git pull, and git clone for fair seq and followed install instructions from the documentation.
Build command you used (if compiling from source): Standard as documented. typically cmake .. ; make -j 16 ; make install
Python version: 3.8.3
CUDA/cuDNN version: 10.0
GPU models and configuration: Tesla V100

I've been able to use wav2letter without any issue:
My environment has been Ubuntu 20.04, Python 3.8.5, Cuda 11.1
How did you build wav2letter? Did you use v0.2 branch? Did you follow the instructions from https://github.com/facebookresearch/wav2letter/wiki/Building-Python-bindings

Probably that warning is about LexiconFreeDecoder that is missing in wav2letter in v0.2
It isn't required though, but you can add it manually like described here:https://github.com/facebookresearch/wav2letter/issues/775
Assertion error is coming most probably because of incorrect lexicon and is not related to missing class in binding

Got it. Wonderful. So is my understanding correct that the lexicon could be
phonetic?
On Thu, Oct 15, 2020 at 7:23 AM Grigory Nosyrev<EMAIL_ADDRESS>wrote:

Probably that warning is about LexiconFreeDecoder that is missing in
wav2letter in v0.2
It isn't required though, but you can add it manually like described here:
facebookresearch/wav2letter#775
https://github.com/facebookresearch/wav2letter/issues/775
Assertion error is coming most probably because of incorrect lexicon and
is not related to missing class in binding
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pytorch/fairseq/issues/2730#issuecomment-709216439,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDHE6DIALI4OCQPXXAMBJTSK3LU3ANCNFSM4SPW6F2A
.

I guess lexicon can be anything as far as it corresponds to training data the model was trained. In w2v2 example it's letters, so lexicon should look like
A       A |
A''S    A ' ' S |
A'BODY  A ' B O D Y |
A'COURT A ' C O U R T |
A'D     A ' D |
A'GHA   A ' G H A |
A'GOIN  A ' G O I N |

for example in the README

Thank You. I am guessing that "|" is the end of word marker and is
required, and cannot be anywhere else, and the individual letters like "A"
could also be 2 letters like "ax". is that correct?
On Thu, Oct 15, 2020 at 9:09 AM Grigory Nosyrev<EMAIL_ADDRESS>wrote:

I guess lexicon can be anything as far as it corresponds to training data
the model was trained. In w2v2 example it's letters, so lexicon should look
like
A       A |
A''S    A ' ' S |
A'BODY  A ' B O D Y |
A'COURT A ' C O U R T |
A'D     A ' D |
A'GHA   A ' G H A |
A'GOIN  A ' G O I N |
for example in the README
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pytorch/fairseq/issues/2730#issuecomment-709313279,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDHE6GRTQS4NMSXTAFSA53SK3X7XANCNFSM4SPW6F2A
.

If I correctly understood your question, no "A" couldn't be ax. I am talking about example in the readme when we have specific dict.ltr.txt. It is just letters based and if you will look how training data looks like when prepared you'll understand the point.
Corresponding lexicon to it is that one, it is not in the readme and is hided somewhere in the tickets, that's probably is the source of confusion.
If for example you trained on sentence pieces instead of letters, then lexicon should have mapping from words to sentence pieces.

I am not sure if I explained myself well. So what I meant is that if I were
to use a phonetic lexicon instead will it be syntactically correct to have
it look like the following:
ABDEL  AE B D EH L |
ABDELLA  AE B D EH L AH |
ABDICATE  AE B D AH K EY T |
ABDICATED  AE B D AH K EY T AH D |
ABDICATES  AE B D AH K EY T S |
ABDICATING  AE B D IH K EY T IH NG |
ABDICATION  AE B D IH K EY SH AH N |
ABDNOR  AE B D N ER |
ABDO  AE B D OW |
ABDOLLAH  AE B D AA L AH |
ABDOMEN  AE B D OW M AH N |
On Thu, Oct 15, 2020 at 9:29 AM Grigory Nosyrev<EMAIL_ADDRESS>wrote:

If I correctly understood your question, no "A" couldn't be ax. I am
talking about example in the readme when we have specific dict.ltr.txt.
It is just letters based and if you will look how training data looks like
when prepared you'll understand the point.
Corresponding lexicon to it is that one
https://dl.fbaipublicfiles.com/fairseq/wav2vec/librispeech_lexicon.lst,
it is not in the readme and is hided somewhere in the tickets, that's
probably is the source of confusion.
If for example you trained on sentence pieces instead of letters, then
lexicon should have mapping from words to sentence pieces.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pytorch/fairseq/issues/2730#issuecomment-709325339,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDHE6BY5ERHBVLUTSMTU5TSK32MRANCNFSM4SPW6F2A
.

Sure, don't see any reasons why not. But you will need to prepare your training data accordingly and have "AE", "B", "EH" etc in dict.ltr.txt + probably use something else instead of --labels ltr --post-process letter during finetuning stage.
So from my point of view lexicon here is just mapping from symbols that were used during the training to actual words in the LM

It will be great to know the alternate options to --post-process letter. Maybe there is some documentation explaining the toolkit. However, that's probably a different issue.


Fix configs not rolled back in TsFileGeneratorUtils

Codecov Report
Attention: Patch coverage is 55.55556% with 8 lines in your changes missing coverage. Please review.

Project coverage is 63.53%. Comparing base (049a108) to head (cd542a9).

Files with missing lines
Patch %
Lines

.../org/apache/tsfile/utils/TsFileGeneratorUtils.java
55.55%
8 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #274      +/-   ##
===========================================
- Coverage    63.53%   63.53%   -0.01%
===========================================
  Files          495      495
  Lines        31747    31763      +16
  Branches      4110     4110
===========================================
+ Hits         20172    20180       +8
- Misses       11120    11128       +8
  Partials       455      455

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


EDU-763 Add comments view to document page

Closes https://educandu.atlassian.net/browse/EDU-763
Closed:

Open:

Closes https://educandu.atlassian.net/browse/EDU-763
Closed:
Open:

Nice :heart_eyes:


App: idle animations gorilla

Currently the animations we are using is a straight copy from Mixamo, which do not look great on VRMs.
We need to fix the idle/walk animations to be less of a gorilla pose (with the shoulders hunched), and more just a regular stand. Additionally,. the idle foot separation does not look good.

Fixed.


fix words for more accurate.

Signed-off-by: yanggang<EMAIL_ADDRESS>/kind cleanup
fix words for more accurate.

Same here - docs are now at github.com/tigera/docs, so we'll need to re-open this there.
CC @ctauchen


Try composer.phar when composer unavailable

Although composer is the most popular filename for PHP dependency manager, it's named composer.phar by default (i.e. when installed from the official installer without any flags). This change introduces fallback to composer.phar, as well as multiple other executable locations, when composer isn't available.

I think we should not try to guess composer location as it is unreliable. There should be a way to get bin dir reliably. Maybe we could use COMPOSER_BIN_DIR env var to get the custom bin location like this:
$bindir = getenv('COMPOSER_BIN_DIR') ?: 'vendor/bin';
Then just pass it when running the installer: COMPOSER_BIN_DIR=my/custom/path/to/bin ./vendor/bin/local-php-security-checker-installer. This way we do not have to call composer.

I understand why you don't like this solution but TBH I think it's important for the installer to use composer to determine the bin directory path. While bin directory location is part of the project configuration, the composer location is part of the environment configuration. Passing bin-dir to installer would mean this path has to be set in two separate configs. As far as my work experience goes, these two configs are usually managed by two separate people (developer vs. devops).
I analyzed GitHub's most popular projects that have the COMPOSER_BIN variable set and these 4 locations (and 2 filenames) are the most popular values. As an alternative I'd propose to pass the composer location instead. Is that acceptable?
$composer = getenv('COMPOSER_BIN') ?: 'composer';

$composer = getenv('COMPOSER_BIN') ?: 'composer';

I'm okay with this solution.


Is there an issue, a smaller value is updated to mtime register after software doing PTP like linux?

Situation: As privilege spec mentioned, mtime is read-write memory-mapped register which also works at a RTC. so it's possible that software can do PTP and update mtime periodically.
Question: If smaller value is returned in PTP, how would mtime to be updated? If mtime is updated immeidately, it would affects the read of time CSR from cores, which violate the definition and requirement in https://github.com/riscv/riscv-isa-manual/issues/1113.

Updating mtime, whenever one does it, is going to be disruptive to the system, especially if jumping backwards in time by more than a very small amount.  And when firmware changes or jumps mtime in any material way, that is change is going to propagate to all the time CSRs and result in a delayed change or jump in time values.
Either that needs to be avoided or needs to be done "carefully" enough such that there won't be any serious impacts.  Jumping the timebase backwards that system software is using, irrespective of whether that is an RTC, or mtime, or something else that isn't RISC-V-specific, presents the same problem.  And ditto for systems based on other architectures.
Now as far as the monotonicity and cross-hart synchronization requirements regarding RISC-V 'time', these will be inherently and unavoidably violated when software changes or jumps mtime (and indirectly all the time CSRs).  But one can consider these requirements to only apply after mtime is written by firmware (and its value has propagated to all the time CSRs) - and up until firmware writes mtime again.

Updating mtime, whenever one does it, is going to be disruptive to the system, especially if jumping backwards in time by more than a very small amount. And when firmware changes or jumps mtime in any material way, that is change is going to propagate to all the time CSRs and result in a delayed change or jump in time values.
Either that needs to be avoided or needs to be done "carefully" enough such that there won't be any serious impacts. Jumping the timebase backwards that system software is using, irrespective of whether that is an RTC, or mtime, or something else that isn't RISC-V-specific, presents the same problem. And ditto for systems based on other architectures.
Now as far as the monotonicity and cross-hart synchronization requirements regarding RISC-V 'time', these will be inherently and unavoidably violated when software changes or jumps mtime (and indirectly all the time CSRs). But one can consider these requirements to only apply after mtime is written by firmware (and its value has propagated to all the time CSRs) - and up until firmware writes mtime again.

Since modifying mtime is suggested to be avoid/careful, why not to move RTC an separate device from mtime. (As most of other architectures (like x86), has set RTC to be separate device from APIC Timer and TSC).

@gfavor Appreciate the clarification.
If mtime is not RTC, I can't imagine when will writable property be applied, seems it's better to be read-only as most time-stamp-counter.
Thanks,
Steven Li

Mtime and time are the time reference for system software.  If system software is using PTP to periodically synchronize system time between systems (as this thread started out being about), then that would imply updating mtime (as well as other relevant "time" devices like an RTC).  Although I don't know if that is what would actually be done (e.g. maybe only an RTC is updated and the mapping between mtime and RTC time is modified accordingly?)
In any case, mtime needs to be writable so that, at a minimum, it can be initialized at system boot and can be re-initialized when exiting a deep system sleep state.


Add additional nginx config to route asset traffic

Mid-migration we serve assets both from Carrenza and AWS at the same
time.

For this we introduce an assets-carrenza and draft-assets-carrenza
proxy configuration

solo: @schmie

Had a bit of back and forth with a rebase and revert - sth went wrong with git - checked out again and files another pr


Fix for issue #2056

Added .editorconfig file to customize environment
Updated .eslintrc config file to match rules

Thanks!  This looks fine to me; I'll give it some time to see if any other maintainers might have an opinion on this.

Did adding these editor settings not change any files?  Was the intent to add editor settings that matched what was already in the repo?  If so, this is fine with me, no strong feelings either way.

Did adding these editor settings not change any files? Was the intent to add editor settings that matched what was already in the repo? If so, this is fine with me, no strong feelings either way.

Yes, I adapt the config according to existing files (Windows EOL, 2 spaces indent, etc.)

No strong feelings here so long as we're consistent.

Great!

Fixes #2056
I'll merge this in a couple days if no one else chimes in on this.

It seems like we didn't merge master into this or something before merging this PR.  Master is failing all CI checks due to weird line endings which are coming from the updated settings here.  npm run lint should pass.  @BBE78 Can you please investigate this and perhaps revert and parts of your PR (e.g. related to line endings) that are causing all the CI failures?  Thanks!

@DABH I will have a look, seems to be bad EOL in my modified files... 🤔

If you're talking about this job, it looks strange.
When I run the npm run lint script, it says:
><EMAIL_ADDRESS>lint
> populist lib/*.js lib/winston/*.js lib/winston/**/*.js

C:\Users\Benoît\Documents\GitHub\winston\lib\winston\logger.js
   81:12  warning  Method 'configure' has a complexity of 17                               complexity
   81:12  warning  Method 'configure' has too many statements (20). Maximum allowed is 15  max-statements
  201:6   warning  Method 'log' has a complexity of 12                                     complexity
  201:6   warning  Method 'log' has too many statements (26). Maximum allowed is 15        max-statements

C:\Users\Benoît\Documents\GitHub\winston\lib\winston\tail-file.js
  63:57  warning  Arrow function has a complexity of 13                               complexity
  63:57  warning  Arrow function has too many statements (30). Maximum allowed is 15  max-statements

C:\Users\Benoît\Documents\GitHub\winston\lib\winston\transports\console.js
  44:6  warning  Method 'log' has too many statements (19). Maximum allowed is 15  max-statements

C:\Users\Benoît\Documents\GitHub\winston\lib\winston\transports\file.js
  263:18  warning  'buff' is already declared in the upper scope     no-shadow
  324:29  warning  'options' is already declared in the upper scope  no-shadow

✖ 9 problems (0 errors, 9 warnings)

But the job has been executed on an Ubuntu OS, and if I remember every *nix OS doesn't like CRLF ending lines...
So, to fix this issue, I'will downgrade the CRLF ending lines to a warn (instead of error) in the ESLint config.

Fix proposed in Pull Request #2070

Hmm this is interesting as all the checks on the branch passed without issue. Since I merged this I'll also do some investigation.


template validation: log, if var was found in template, but not in input

Any chance to easily validate if the used template contains placerholders that are not provided by the input and thus will be omitted automatically?
delimiters: ["<<", ">>"]

Template: „Lorem <<foo>> ipsum dolor sit amet, <<bar>> consectetur adipisici elit  …“

input data contains only KVP for "foo"

We're trying to increase DX in that regard.
Thanks for the feedback!

@jjhbw Awesome, thank you very much. Didn't notice that feature but that is exactly what we am looking for.


Support for DB upgrades from CLI and performance improvements

Fixes for #3427:

Updated yourls_upgrade_to_506() to perform a single ALTER on the same table to improve efficiency.
Added yourls_upgrade_to_507() to add additional indexes (admin page takes over a minute to count clicks on a large DB).
Added support for upgrading DB from the CLI because a web browser times out when the DB is large.

Hello
That's a very interesting proposal
A couple remarks :
This would be much better suited for a plugin or 3rd party tool. That is, modify core functions-upgrade.php as required but make the CLI part itself an external tool.
Several reasons :

95% of people don't know how to use a CLI, don't need, or just don't have access to (basic share hosting for instance). The core philosophy of the project is to bundle things that everybody needs, and allow external tools to be plugged in -- see https://github.com/YOURLS/awesome-yourls
The CLI tool could get its own development pace (fixes, future devs and why not new features) without requiring releasing a new YOURLS version.

The simplification of the SQL query in yourls_upgrade_to_506() is valid : several changes are not included any longer in your patch
Side note concerning core patches : function naming need to follow our code convention


Is the docker version of the wallet updated?

Seems to be still launching the ZCL wallet.

Not yet.

Yes.


Add Time Complexities of all methods for all functions / algorithms.

Add Time Complexities of all methods for all functions / algorithms.
If Time Complexities of all methods will also be available handy, it'll make the repo more useful.

I would like to take up work of adding Time Complexities in all methods of vector as of now.

Hello there. I would like to work on adding the Time Complexities for all of the methods in the  section.

I would like to work on adding Time Complexities of methods in

i would also like to do the same

Would like to work on the issue.

Woulid love to work on the issue.

I would like to work on adding Time Complexities of methods in algorithm

I would like to work on this. Can you please assign me this task?


Add on-page side navigation feature

This is a feature that has been requested by a couple development teams working on uportal-app-framework applications.
In this PR:

Adjusted HTML hierarchy to allow main menu to sit alongside content
Side navigation menu now part of the <frame-page> directive (thus is dependent on frame-page to work)
Added APP_OPTIONS configuration option enablePushContentMenu. Only affects medium and large screen sizes. When set to true:

Side navigation is open on initial page load
Menu has transparent background (looks like part of the page)
Page content is pushed to the right
Page content slides back to be centered on screen when menu is closed

Documented how to use new feature
Adjusted styling for DOM parent elements to rely less on explicit height (favoring flex positioning to fill space)
Misc. formatting fixes in markdown files (why why why are there spaces before the colons?)

Potential problem areas (UX):

Should menu button have "active" state indication?
Should frame-page be built-in (i.e. not optional)? Making it part of the app structure (before custom content is transcluded) would mean the app-header and side navigation are always present and would enable us to greatly reduce the number of parent elements in HTML.

Screenshot

Demo

Disclaimer
This implementation is a bit messy and will likely cause downstream breaking changes that are difficult to anticipate. Most of the hurdles here have to do with working around the existing app architecture (which is something framework devs have complained about in the past). Working on it has brought to light some convincing arguments for further simplifying (i.e. shrinking) the framework's footprint. With the addition of the side navigation, there are some steps we can safely take (probably) that will enable us to create more "portal-wide" features, improve the ones we have, and significantly clean up and reduce the HTML, JS, and CSS payload of this project. I've backlogged the following stories for discussing/grooming these things:

MUMMNG-3978: Remove the app-header
MUMMNG-3979: Remove the built-in footer

Contributor License Agreement adherence:

[x] This Contribution is under the terms of Individual Contributor License Agreements (and also Corporate Contributor License Agreements to the extent applicable) appearing in the Apereo CLA roster.

Usability testing of the design with four users showed us that users know how to interact with the side navigation, and other apps are interested in using the feature. Thumbs up.

I like it! Would it be possible to see click and active state when you select a navigation item for both the slide in and over navigation? In the slide in menu, I'd also like just a bit more vertical padding between the first item and the app name grey bar. Thanks, @thevoiceofzeke !

@prtreige: There is currently no active state, in keeping with the implementation of angular material. I think there's room for debate that there should be an active state, but that's perhaps better left for after a round of user testing. I'd say the same goes for vertical padding and other fine-tuning decisions. This PR is more about the bare minimum functionality. Thanks for your input!


Sprockets horks in an unfriendly way on bad symlinks.

If you have a symlink that points to a non-existent file in your asset path(s), the stat() command in lib/sprockets/base.rb will return nil instead of an object.  So the test to determine if a path is a directory will then fail by calling .directory? on that nil.
I'd suggest either warning that the symlink is nonsense and proceeding without registering it as a known path, or terminating with a more meaningful error message.

Testing suggests it's fixed in the current version, presumably via a different mechanism (catching the relevant exception or some such).  Either that, or there's a difference in how stat is behaving on OSX vs. Linux...

Scratch that -- I cannot reproduce via test case.  Unsure what the difference is between the environments I'm using (OSX and Ubuntu 11.04) and the one where I'm encountering the error (Heroku Cedar stack, asset compilation step) but the short form is a directory was being stripped at deploy-time, and another directory contained a relative symlink into the now-non-existent directory (I.E. "../test/debug.js"), and Sprockets 2.0.3 is horking in a way that doesn't present information about which file was the cause.  On top of that, the reference is coming from an asset path we shouldn't even be compiling in this context (not sure if that's intentional behavior or not).

I will investigate the use of Sprockets from ActionPack...


Parking operator project

Added a new project.
Check List (Check all the applicable boxes)

[ x] I have updated the documentation accordingly.
[x ] I have added a new Project.
[x ] I have added a README.md file for the Project.
[ x] The title of my pull request is a short description of the requested changes.

Display history is not working as intent to

LGTM , very nicely done , Leave a ⭐ and also try to contribute more work.


Fastlane.swift crashes after first installation

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Hi folks!
It is my first time using Fastlane.swift. I followed the getting stared guide, selecting the "manual setup" option.
When the installation process ended, I run fastlane custom to test the recently installation but it is crashing.
Command executed

fastlane custom
Complete output when running fastlane, including the stack trace and command used

[✔] 🚀
[17:44:15]: loading manifest: /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/swift/upgrade_manifest.json
[17:44:15]: FastlaneSwiftRunner project is up-to-date
[17:44:15]: $ ./fastlane/FastlaneRunner lane custom swiftServerPort 2000 > /dev/null
[17:44:15]: ▸ Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/jmbrocal/Workspace/iOS/mistica-ios/fastlane/swift/LaneFileProtocol.swift, line 121
# terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	9: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/swift_lane_manager.rb:223:in `block in start_socket_thread'
	8: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/server/socket_server.rb:38:in `start'
	7: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/server/socket_server.rb:158:in `listen'
	6: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/server/socket_server.rb:49:in `receive_and_process_commands'
	5: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/server/socket_server.rb:49:in `loop'
	4: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/server/socket_server.rb:62:in `block in receive_and_process_commands'
	3: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/server/socket_server.rb:81:in `parse_and_execute_command'
	2: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/server/command_parser.rb:12:in `parse'
	1: from /Library/Ruby/Gems/2.6.0/gems/json-2.3.1/lib/json/common.rb:263:in `parse'
/Library/Ruby/Gems/2.6.0/gems/json-2.3.1/lib/json/common.rb:263:in `parse': 784: unexpected token at '' (JSON::ParserError)
[17:44:15]: ▸ sh: line 1: 32158 Illegal instruction: 4  ./fastlane/FastlaneRunner lane custom swiftServerPort 2000 > /dev/null
# terminated with exception (report_on_exception is true):
Traceback (most recent call last):
	4: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/swift_lane_manager.rb:97:in `block in cruise_swift_lane_in_thread'
	3: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/helper/sh_helper.rb:12:in `sh'
	2: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane/lib/fastlane/helper/sh_helper.rb:80:in `sh_control_output'
	1: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
/Library/Ruby/Gems/2.6.0/gems/fastlane-2.159.0/fastlane_core/lib/fastlane_core/ui/interface.rb:153:in `shell_error!': Exit status of command './fastlane/FastlaneRunner lane custom swiftServerPort 2000 > /dev/null' was 132 instead of 0. (FastlaneCore::Interface::FastlaneShellError)
Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/jmbrocal/Workspace/iOS/mistica-ios/fastlane/swift/LaneFileProtocol.swift, line 121
sh: line 1: 32158 Illegal instruction: 4  ./fastlane/FastlaneRunner lane custom swiftServerPort 2000 > /dev/null
+-----------+--------+
|    Lane Context    |
+-----------+--------+
| LANE_NAME | custom |
+-----------+--------+
[17:44:15]: 784: unexpected token at ''
[17:44:15]: fastlane finished with errors

Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.15.6

Ruby
2.6.3

Bundler?
true

Git
git version 2.24.3 (Apple Git-128)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.15.6 (19G73)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.7

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile.swift`
// This file contains the fastlane.tools configuration
// You can find the documentation at https://docs.fastlane.tools
//
// For a list of all available actions, check out
//
//     https://docs.fastlane.tools/actions
//

import Foundation

class Fastfile: LaneFile {
	func customLane() {
	desc("Description of what the lane does")
		// add actions here: https://docs.fastlane.tools/actions
	}
}

No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.159.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

bundler
2.1.0

rake
13.0.1

CFPropertyList
3.0.2

public_suffix
4.0.6

addressable
2.7.0

atomos
0.1.3

aws-eventstream
1.1.0

aws-partitions
1.367.0

aws-sigv4
1.2.2

jmespath
1.4.0

aws-sdk-core
3.105.0

aws-sdk-kms
1.37.0

aws-sdk-s3
1.80.0

babosa
1.0.3

claide
1.0.3

colored
1.2

colored2
3.1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.20

declarative-option
0.1.0

digest-crc
0.6.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.7.6

emoji_regex
3.0.0

excon
0.76.0

multipart-post
2.0.0

faraday
1.0.1

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.0

gh_inspector
1.1.3

jwt
2.2.2

memoist
0.16.2

multi_json
1.15.0

os
1.1.1

signet
0.14.0

googleauth
0.13.1

httpclient
2.8.3

mini_mime
1.0.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.38.0

google-cloud-env
1.3.3

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

google-cloud-storage
1.28.0

json
2.3.1

mini_magick
4.10.1

plist
3.5.0

rubyzip
2.3.0

security
0.1.3

naturally
2.2.0

simctl
1.6.8

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

nanaimo
0.3.0

xcodeproj
1.18.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

generated on: 2020-09-11

@jmbrocal I opened a PR to fix this issue, it will probably be in this week's release 🙏 thanks for your report!


[Bug] Incompatible big sur system with M1 chip

when I start the masterServer or workerServer locally with IDEA， it occurs this error:
Exception in thread "MasterSchedulerThread" java.lang.UnsatisfiedLinkError: /private/var/folders/x8/xyx6h_fx61b57m5cqgpgb7d80000gn/T/jna-97543/jna4949441333799720080.tmp: dlopen(/private/var/folders/x8/xyx6h_fx61b57m5cqgpgb7d80000gn/T/jna-97543/jna4949441333799720080.tmp, 1): no suitable image found.  Did find:
	/private/var/folders/x8/xyx6h_fx61b57m5cqgpgb7d80000gn/T/jna-97543/jna4949441333799720080.tmp: no matching architecture in universal wrapper
	/private/var/folders/x8/xyx6h_fx61b57m5cqgpgb7d80000gn/T/jna-97543/jna4949441333799720080.tmp: no matching architecture in universal wrapper
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
	at java.lang.Runtime.load0(Runtime.java:810)
	at java.lang.System.load(System.java:1088)
	at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:947)
	at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:922)
	at com.sun.jna.Native.<clinit>(Native.java:190)
	at com.sun.jna.Pointer.<clinit>(Pointer.java:54)
	at com.sun.jna.Structure.<clinit>(Structure.java:2130)
	at oshi.hardware.platform.mac.MacGlobalMemory.<init>(MacGlobalMemory.java:46)
	at oshi.hardware.platform.mac.MacHardwareAbstractionLayer.getMemory(MacHardwareAbstractionLayer.java:65)
	at org.apache.dolphinscheduler.common.utils.OSUtils.availablePhysicalMemorySize(OSUtils.java:90)
	at org.apache.dolphinscheduler.common.utils.OSUtils.checkResource(OSUtils.java:440)
	at org.apache.dolphinscheduler.server.master.runner.MasterSchedulerService.run(MasterSchedulerService.java:122)

my system is:

The branch is 1.3.8-release and start it with vm options -Dlogging.config=classpath:logback-master.xml -Ddruid.mysql.usePingMethod=false

This issue seems caused by oshi.
And oshi has already support M1 https://github.com/oshi/oshi/blob/master/FAQ.md#does-oshi-work-on-apple-m1-hardware.
In the 1.3.8-release and dev branch, we use oshi 3.9.1, and the jna is 4.5.2, so it doesn't support M1, I think we can upgrade the oshi version.
@bingexxx Could you please upgrade the oshi version to 5.8.1 and try again?
You can set the version in ${rootProject}/pom.xml
<oshi.core.version>5.8.1</oshi.core.version>


Issue #9 resolved

Classes related to handling todos now exist with proper constructors

Getting this part of the lab done somehow took me a whole hour due to me fighting with the rules outlined in the Gradle build file... I had to try several times to increase test coverage for classes that don't even have any functionality yet on top of fighting with styling rules like unused imports and lines that were too long (even though the line itself was only a comment). I'm hoping that things like this don't come up in the future but I think having to go through this battle was undesirable for a lab as dense and time-consuming as this one.


Small typo fix

Looks like a great project!

This is a glorious contribution from a fantastic person -- took me long enough!


[Event Request] Codeunit 99000830 OnAfterSetQtyToHandleAndInvoice

We Need a new Event OnAfterSetQtyToHandleAndInvoice in codeunit 99000830:
[External] SetQtyToHandleAndInvoice(QtyToHandleBase : Decimal;QtyToInvoiceBase : Decimal)
InsertReservEntry."Qty. to Handle (Base)" := QtyToHandleBase;
InsertReservEntry."Qty. to Invoice (Base)" := QtyToInvoiceBase;
//++++++++++++++++++++++++++++++
OnAfterSetQtyToHandleAndInvoice(VAR InsertReservEntry);
//------------------------------
QtyToHandleAndInvoiceIsSet := TRUE;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


[feature] Unique string aggregator plugin

Addresses #1084
This plugin takes an array of strings and creates a list of API resources (one per unique string value) for an output API namespace. For example, for two arrays - tags: ["animation", "family", "martial arts"],tags: ["animation", "family"]  - in movies API namespace, 3 API resources will be created under movie_tags (the output API namespace in this case):
{ "tags" => "animation", "representation" => "Animation" },
{ "tags" => "family", "representation" => "Family" },
{ "tags" => "martial arts", "representation" => "Martial Arts" }

https://user-images.githubusercontent.com/73725297/192908391-21560b30-1977-4451-ae15-5564d4289eb4.mp4
Metadata
The following metadata properties are required:

INPUT_PROPERTY: the name of the property that is mapped to an array of strings in the input API namespace (the API namespace that the plugin will run against)
OUTPUT_API_NAMESPACE: the slug of the API namespace under which API resources will be created
PRISTINE: a boolean indicating whether or not the plugin will run in pristine mode

If PRISTINE is true, then existing API resources in the output API namespace will be deleted after creating new API resources. If PRISTINE is false, then old API resources will not be deleted and new ones will be created only for new unique strings.

Pristine mode
https://user-images.githubusercontent.com/73725297/192908436-351d44b3-c738-4973-b851-7f2529008aed.mp4
Non-pristine mode
https://user-images.githubusercontent.com/73725297/193096865-63780536-dad0-4753-82ef-1e834c1ed362.mp4
Shape of the output API namespace
Each API resource of the output API namespace must have the following two properties:

<INPUT_PROPERTY>: this property must be the same as INPUT PROPERTY provided in the plugin metadata
representation: the value of this property can be used as the display text for an <option></option> HTML element

@Ayon95 has this been tested on nikean.org?

I haven't tested it on nikean.org yet. I had a question regarding PRISTINE metadata property. What should the plugin do if PRISTINE is set to false?

@Ayon95 if pristine is set to false it shouldn't remove the existing data set.
if pristine is set to true it will replace the API resources in a ZDT (zero down time) way (as described in the task)

Okay, thanks for clarifying. That's what the plugin does currently.

@Ayon95 I just merged your PR for the compliance plugin, can you fix the merge conflicts on this branch?

Added documentation.

@Ayon95 Have we considered the following flow:

an admin adds a new story
runs the connections for generating the tags

Do they have to manually fix the representations because they added 1 more piece of content?
If so we should change the algorithm such that its additive when pristine is not selected. It should create any tags that are missing (with no duplication). If pristine is set, then it should delete everything and rebuild from scratch.
This way, we need to only adjust the representation for the tag that was newly created

Okay, I'll make the change.

@Ayon95 the the changes in place we should update the connection code on ‘Nikean.org‘ before we make any changes to the video library

Agreed. Should PRISTINE be set to false?

Yeah let's leave pristine as false @Ayon95


Homework/Assignment/Assessment 7

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
14

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0

Metric	Value
alert_status	✅ OK
bugs	0
code_smells	14
reliability_rating	A (0 Bugs)
Note: A being best, E being worst
security_rating	A (0 Vulnerabilities)
Note: A being best, E being worst
vulnerabilities	0

10 code smells are of field injection


kubernetes: 1.14.0 -> 1.14.1

Motivation for this change
Bump kubernetes.
Things done
Ran tests locally:
nix-build nixos/release.nix -A tests.kubernetes.dns.singlenode -A tests.kubernetes.dns.multinode -A tests.kubernetes.rbac.singlenode -A tests.kubernetes.rbac.multinode

/nix/store/2lw8z03wbrn33kbl92jbkzy15cyfrd1c-vm-test-run-kubernetes-dns-singlenode
/nix/store/b3layq239cj4i5lkplv4bxkx1fvgz807-vm-test-run-kubernetes-dns-multinode
/nix/store/5nxvylc1brk1z9synhlxq6flv5qmdgcs-vm-test-run-kubernetes-rbac-singlenode
/nix/store/mapxdsc78pw47hym00ahj6qzqjyl32nb-vm-test-run-kubernetes-rbac-multinode

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Looks good, thanks!


proposed Structure of README.md

I am suggesting a structure of the readme file, if ok, we can fill the sub-headings with the corresponding text.
README.md.zip

Hi @foundjem Thank you for creating a pull request.
Unfortunately, this is not what I expected. Can I ask you to follow the following three step to create a new pull request?

Fork the repository by clicking the "Fork" button at the top right. This will create a copy of the wg-gmd repository under your profile.

You should see something like this:

In your copy of the repository, edit the README.md. You can click on it and edit with your new text OR you can upload your changed README.md file that you included with your zip file on this pull request. Here is where you find these two options:

Once you made the change, you can create the pull request from within your copy of the repository. The pull request then alerts us of the change:

I think the rest of the steps are self explanatory but I'm happy to help. Shoot me an email<EMAIL_ADDRESS>with any questions you have.

In summary, the change to the README.md should be done in the repository and you do not need to attach any files when creating the pull request.

Thanks @GeorgLink for the clarifications. I'm closing this pull request (I see a new one, anyway).


.NET Standard + Platform Extensions, Version 2.0 => HttpTransportBindingElement.KeepAliveEnabled marked as unsupported

Hi,
i've one question. We have a .NET Framework 4.7 component which is currently using the following Property
HttpTransportBindingElement.KeepAliveEnabled
If i'm running the Portability Analyzer with the option ".NET Standard + Platform Extensions, Version 2.0" this Property is marked as unsupported. If i'm looking at MSDN, this property is available since Platform Extensions 2.1.
Does ".NET Standard + Platform Extensions, Version 2.0" means that it will only check versus the Platform Extensions Version 2.0? If yes, is it possible to add checks vs. newer Platform Extensions?
Thanks and best regards
Thomas

@thomasmiko This is an interesting question. To help me understand the scenario that you try to address, why you target ".NET Standard + Platform Extension" insteads of ".NET Core + PlatForm Extensions"?

@Lxiamail In our application we have a large number of .NET Framework 4.7.2 assemblies (~ 700 assemblies) and we use technologies which are no longer available in .NET Core (like WCF). For new projects / extensions we want to use a gRPC service (.NET Core). For this we want to bring some of our core assemblies to .NET standard, so we can use them in the new .net core service and in the current .net framework 4.7.2 services / client.

Closing as API Port was deprecated in favor of binary analysis in .NET Upgrade Assistant.


Introduce UI state for Store

We have UI state for entity store which is a great thing. It would be great to have UI state for the store as well. Maybe there are ways already. I store both UI state and data state in the same store which triggers unnecessary rxjs change events.

Just create a ui property and add the UI data in there. https://engineering.datorama.com/ui-state-management-made-easy-with-akita-and-angular-6e460566ec7c

That's my current setup. But every time there is a change in the UI property the whole store emits, unlike Entity Stores where entities and UI have different BehaviourSubjects. UI state changes in Entity stores don't conflict with entity changes and vice versa.

But every time there is a change in the UI property the whole store emits
That's not true. If you update a UI property and you have a subscriber to a selectEntity for example, it'll not emit.


feat(changesets): add the ability to skip commit

Enables the ability to skip the git commit commands in changeset-renovate
Closes #1704

Can we add this option into the README at the root of this package  @wrighbr
Thanks for contributing

Can we add this option into the README at the root of this package @wrighbr
Thanks for contributing

@philibea I've added some documentation to the README file.


Game Crash

OS: Mac
ChatTriggers Version: 2.0.3
Minecraft Version: 1.8.9
Java Version: 17.0.1

Crash log:
crash-2022-03-10_15.43.17-client.txt

Could you try Java 8 instead?

Apologies for my lack of knowledge, but how can I do that? I've had trouble finding a way that works online

What launcher are you using? The official one should have the right version selected by default and MultiMC makes it simple to change it.

Ah well in that case it is likely using Java 8, I simply found that out from running $ java --version, sorry!

If this is still an issue, please reach out on the Discord


Additional logging for non-retryable responses

We faced that sometimes druid returns 4xx error code, but we can't figure out why. It would be nice to have the uri and response body in logs for further investigation of non-retryable error.

:+1:

:+1:


[next] Update next.config.js

Bundle size will be reported once CircleCI build #490 finishes.

  Generated by :no_entry_sign: dangerJS against 14c55811b6ab150b806f53db59f14acd5b6c8a7b


Prevent bad ssl_multicert.config load from being swapped in

retStatus contains the load status of the config file, but wasn't used
to check if it successful before being swapped in
This is a follow up to #8256

[approve ci]

Cherry-picked to v9.1.x branch.
Cherry-picked to v9.2.x


Change some simplified Chinese to traditional Chinese in zh-Hant.yaml

Purpose
The translation in line 154 is in simplified Chinese. So changing it to traditional Chinese.

@naomiyjchen thanks for contributing!


bower search d3 doesn’t find D3

Apologies if I’m being dumb, but I was surprised to discover that neither http://bower.io/search/?q=d3 nor bower search d3 returns any information about the d3 package. Instead it returns a lot of D3-related packages:
nvd3 git://github.com/novus/nvd3
angularjs-nvd3-directives git://github.com/cmaurer/angularjs-nvd3-directives.git
d3-tip git://github.com/Caged/d3-tip.git
angular-nvd3 git://github.com/krispo/angular-nvd3.git
d3-plugins git://github.com/d3/d3-plugins.git
d3-cloud git://github.com/jasondavies/d3-cloud.git
d3cloud git://github.com/rajenms/d3-cloud.git
r2d3 git://github.com/mhemesath/r2d3.git
d3.chart git://github.com/misoproject/d3.chart.git
d3js git://github.com/henrytao-me/d3js.git
angularD3 git://github.com/WealthBar/angular-d3.git
dagre-d3 git://github.com/cpettitt/dagre-d3.git
d3.chart.base git://github.com/d3-chart-components/d3.chart.base.git
d3.chart.bubble-matrix git://github.com/benbria/d3.chart.bubble-matrix.shim.git
d3-timeline git://github.com/jiahuang/d3-timeline.git
d3pie git://github.com/benkeen/d3pie.git
d3-angular git://github.com/beefsack/angular-d3.git
d3-geo-projection git://github.com/d3/d3-geo-projection.git
amd-d3-cloud git://github.com/Mirajjj/d3-cloud.git
d3-measure-text git://github.com/jprichardson/d3-measure-text.git
d3-amd git://github.com/Moviri/d3
angular-d3 git://github.com/angular-d3/lazy-panda.git
id3 git://github.com/43081j/id3.git
d3-helpers git://github.com/bahmutov/d3-helpers.git
github-d3 git://github.com/github/d3.git
line-chart git://github.com/angular-d3/line-chart.git
d3-treelayout git://github.com/MfgLabs/d3-treelayout.git
ember-nvd3 git://github.com/Glavin001/ember-nvd3.git
webapps-bower-d3 git://github.com/xl8/webapps-bower-d3.git
d3.chart.legend git://github.com/knownasilya/d3.chart.legend.git

However, bower info d3 does return the expected package information.
Perhaps it’s unlikely that someone would search for a package when they already know its name, but it still seems like registry search should index package names, or at the least, check whether the search query is an existing package.
Is this something I need to fix in my bower.json or is this a bug in Bower’s search?

Doesn't work for me either on the command line or at http://bower.io/search/?q=d3 - I get the same behaviour for the jQuery package, but strangely not for Angular.  Will do a little more digging.

In general bower info is working as expected and what you're looking for.
bower search x is admittedly not ideal, as it ignores the actual package itself. As mentioned above same happens with jQuery and every other package. It is partly designed to discover related packages, such as d3-timeline, which works. Not displaying the actual package itself however is pretty questionable. I'd suggest to tackle this in a future version of the registry, as we have already put something tohether using elasticsearch for all the packages, which allows the use of fulltext search and filtering by importance throughout the packages. It can also differ between exact matches and matches containing x + some more.

Should we close this issue? FWIW http://bower.io/search/?q=d3 does seem to be working now.

Not sure why this was closed. Contrary to @accommodavid’s comment, the d3 package still doesn’t show up either on the website or using bower search.

I didn't see bower.json file in d3js official repo. https://github.com/mbostock/d3

That’s because it’s here: https://github.com/mbostock-bower/d3-bower
$ bower info d3
bower d3#*                      cached git://github.com/mbostock-bower/d3-bower.git#3.5.16
bower d3#*                    validate 3.5.16 against git://github.com/mbostock-bower/d3-bower.git#*

{
  name: 'd3',
  description: 'A JavaScript visualization library for HTML and SVG.',
  main: 'd3.js',
  license: 'BSD-3-Clause',
  ignore: [],
  homepage: 'https://github.com/mbostock-bower/d3-bower',
  version: '3.5.16'
}

Wow this is super strange! :-/
I actually clicked the link provided by @accommodavid before closing to make sure it appeared, as it seemed weird that this was fixed. d3 was definitely in the results, right on top! However I have no idea why it disappeared again or how this is even possible. When I closed I was under the impression that indexing took literally forever and now it just finished and everything is okay. Apparently that's not the case.

Hi @mbostock, it looks like the package is registered under the name of test-d3 and not just d3. I'm worndering if you named it like that when you registered the package.
$ bower info test-d3#3.5.16
bower cached        git://github.com/mbostock-bower/d3-bower.git#3.5.16
bower validate      3.5.16 against git://github.com/mbostock-bower/d3-bower.git#3.5.16

{
  name: 'd3',
  description: 'A JavaScript visualization library for HTML and SVG.',
  main: 'd3.js',
  license: 'BSD-3-Clause',
  ignore: [],
  homepage: 'https://github.com/mbostock-bower/d3-bower',
  version: '3.5.16'
}

And it still working for bower search test-d3
$ bower search test-d3

Search results:

    test-d3 git://github.com/mbostock-bower/d3-bower.git

If the test-d3 package is a duplicate package definition, why would that effect the behavior of the d3 package or searching for d3?
I don’t recall creating the test-d3 package. I tried to unregister it, but it looks like that’s temporarily disabled.
$ bower unregister test-d3
? You are about to remove component "test-d3" from the bower registry (https://bower.herokuapp.com). It is generally considered bad behavior to remove versions of a library that others are depending on. Are you really sure? Yes
bower unregister    test-d3
bower EFORBIDDEN    Unpublishing bower packages is temporarily disabled

(Also, there’s nothing to prevent people besides the author, i.e. the owner of the git URL, from registering multiple aliases pointing to the same URL, right?)

I tested it, I clone a package and registered pointing to an existing repository and bower let me do that. It looks that just the name has to be unique. So, if you didn't register the name test-d3 then someone else did it. My question is, did you already registered the package with the name d3 right?

The unregister option is temporarily disable as in this issue says #2210

@echavezNS Sorry, but I don’t understand how your comments are relevant to this issue. This issue pertains to Bower search, i.e., the bower search command and http://bower.io/search/?q=d3. I registered the d3 package years ago and bower info d3 and bower install d3 both work fine.

What I'm trying to say is that there is a package called test-d3 and you can't unregister it because in fact that feature is disabled. So, if info and install works then there is something wrong with search.

The query behind bower search {{name}} is actually a request to http://bower.herokuapp.com/packages/search/{{name}} which performs a query to the database with a LIKE statement in the WHERE clause and a default limit of 30 resulst, sorted descending by hits. Now you do the same query with a limit of 300 (http://bower.herokuapp.com/packages/search/d3?limit=1000) you'll notice, that there is something like {"name":"d3","url":"git://github.com/mbostock-bower/d3-bower.git"} fairly close to the end, and it's the one, right? The result's the same when you execute the fetch request (http://bower.herokuapp.com/packages/d3), which performs a query with a exact name check in the WHERE clause. Might that be the case?

I improved search results so they should be better now.


[Question] Disabling the control

Is it possible to disable the component based on some condition so that user cannot edit/add values to the control?

sorry just saw this mentioned in the docs


[RTM] Removed dependency on setScrollableView**()

setScrollableView(View) and its matching xml attribute umanoScrollableView may easily be replaced by simply looping over the slidable view's childrens. This allow for a cleaner API, for example when working with scrollable fragments as slidable view.

This is a bad idea. You are effectively going through the entire view hierarchy. The performance would be pretty bad for large list views.

In 99% of cases, the scrollable view will be at the root. The main advantage is that the slidable content shouldn't have to be static anymore: the current implementation can't easily handle dynamic fragments as slidable contents... Using that simple trick, you can effectively swipe your content dynamically.
BTW, that's how Flipboard's BottomSheet is doing.

Interesting, I see your point. Though, as far as I can tell you are calling canScrollVertically recursively, so if you have a large number nested viewgroups, this would hinder the performance as well, no?

Sure, the performance will degrade if the scrollable view is deeply nested. But as I said, in 99.9% of cases the depth won't go above 1 or 2. IMO, the benefits of having dynamic contents are worth it.
Now, I can use SlidingUpPanelLayout as a generic slidable bottom sheet, from my BottomSheetActivity.

Ok, cool. Let me digest this and play around with it when I get home tonight. Thanks for the idea and the contribution!

 I'll stick with my fork until then ;)

As a side note: we could add a simple switch to explicitly enable (or disable) that feature in case the user knows there's no scrollable content.

I'm still debating this. I tested it a bunch and I was really close to merging this, but then I thought about WebViews, which is where this approach doesn't work well. They could be really complex layouts with lots of children & sub children, which could lead to decreased performance. Thoughts?


Returning 200 Instead of 422 for Requests with Domains Containing Special Characters in the Body When Issuing TLS Server Certificates

The system demonstrates inconsistency in its HTTP status code responses when handling requests containing domains with special characters in the body for issuing TLS server certificates. Instead of returning the expected 422 Unprocessable Entity status code, the system consistently responds with a 200 OK status code. This deviation from the expected behavior poses potential risks to security and data integrity.
Details:

Observed Behavior:

Requests containing domains with special characters in the body for issuing TLS server certificates consistently receive a 200 OK HTTP status code in response.
The response status code of 200 indicates successful processing of the request, which is misleading and inaccurate given the presence of invalid data (domains with special characters) in the request body.
This inconsistency occurs across all instances of such requests, indicating a systemic issue in the processing logic related to handling domains with special characters in TLS certificate issuance requests.

Expected Behavior:

According to RESTful API conventions and best practices, requests containing invalid or unprocessable entity data should result in a 422 Unprocessable Entity status code.
The response should accurately reflect the presence of invalid data in the request body, prompting the client to rectify the issue and resubmit the request.

Impact:

Security Implications:

Allowing TLS server certificates to be issued with domains containing special characters may introduce security vulnerabilities, as such certificates might not be properly recognized or validated by client systems.
Malicious actors could potentially exploit this inconsistency to manipulate or bypass certificate validation mechanisms, leading to unauthorized access or data breaches.

Data Integrity Risks:

Inconsistent handling of requests with domains containing special characters compromises the integrity of the data exchange process between clients and servers, increasing the likelihood of data corruption or loss.

Test Data:
{
  "validity": {
    "from": "2024-03-09",
    "until": "2024-08-07"
  },
  "key_strength": "VERY_HIGH",
  "address": {
    "country": "PT",
    "state": "Lisboa",
    "locality": "Constantia",
    "street_address": "Patrice, Q12"
  },
  "name": "tmonblpsdj",
  "domains": ["example@domain!com"],
  "organization": "vxnrrltlkn"
}

Resolved


Namespace and class with same name

For typedoc-github-wiki-theme
If a namespace and class have the same name e.g.
export class Duck {
  public age: Duck.Age;
}

export namespace Duck {
   export type Age: number;
}

This causes the namespace to not be available in the docs. Maybe URL should contain what type it is? Like /wiki/class-Duck or /wiki/Duck-class.
Example of behavior is here:

https://github.com/S222em/hue.ts/wiki/Exports

Oh I see - because of the flat structure types with same name are getting overridden. I agree the solution here is to prepend the type. Thanks - will sort it.

<EMAIL_ADDRESS><EMAIL_ADDRESS>


Refined C++20 couroutune example.

All coroutine code is woking on the strand.

Codecov Report

Merging #105 (8c8f1fe) into main (626ccc1) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #105   +/-   ##
=======================================
  Coverage   89.04%   89.04%
=======================================
  Files          94       94
  Lines       10187    10187
=======================================
  Hits         9071     9071
  Misses       1116     1116


hidden overlap items

Signed-off-by: Hailong Cui<EMAIL_ADDRESS>Description
hide overlap items in source and destination in reindex page
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #471 (dc891ab) into index-operation (54f6e41) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@                 Coverage Diff                 @@
##           index-operation     #471      +/-   ##
===================================================
- Coverage            60.69%   60.66%   -0.04%
===================================================
  Files                  249      249
  Lines                 8228     8234       +6
  Branches              1444     1446       +2
===================================================
+ Hits                  4994     4995       +1
- Misses                2892     2894       +2
- Partials               342      345       +3

Impacted Files
Coverage Δ

...public/pages/Reindex/container/Reindex/Reindex.tsx
79.89% <0.00%> (-2.58%)
:arrow_down:

...ges/Reindex/components/IndexSelect/IndexSelect.tsx
100.00% <0.00%> (ø)

...boards-plugin/public/pages/Reindex/utils/helper.ts
93.10% <0.00%> (+1.43%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Request for tutorial on how to convert a channel first Keras model to channel last model?

Hello,
I have a pre-trained Keras model (in h5 format) where all the layers operate on channel first data format. I want to convert this model to operate on the channel last data format (the default data format).
For some clarity, the current model summary looks like this:
Model: "model"
__________________________________________________________________________________________________
Layer (type)                    Output Shape         Param #     Connected to
==================================================================================================
input0 (InputLayer)             [(None, 3, 240, 320) 0
__________________________________________________________________________________________________
259_pad (ZeroPadding2D)         (None, 3, 242, 322)  0           input0[0][0]
__________________________________________________________________________________________________
259 (Conv2D)                    (None, 16, 120, 160) 432         259_pad[0][0]
__________________________________________________________________________________________________
260 (BatchNormalization)        (None, 16, 120, 160) 64          259[0][0]
__________________________________________________________________________________________________
261 (Activation)                (None, 16, 120, 160) 0           260[0][0]
__________________________________________________________________________________________________
262_pad (ZeroPadding2D)         (None, 16, 122, 162) 0           261[0][0]
__________________________________________________________________________________________________
262 (DepthwiseConv2D)           (None, 16, 120, 160) 144         262_pad[0][0]

As you can see, it's in the channel first format. I want to convert each layer in the model to operate on channel last format. So the ideal model summary will be as follows:
Model: "model"
__________________________________________________________________________________________________
Layer (type)                    Output Shape         Param #     Connected to
==================================================================================================
input0 (InputLayer)             [(None, 240, 320, 3) 0
__________________________________________________________________________________________________
259_pad (ZeroPadding2D)         (None, 242, 322, 3)  0           input0[0][0]
__________________________________________________________________________________________________
259 (Conv2D)                    (None, 120, 160, 16) 432         259_pad[0][0]
__________________________________________________________________________________________________
260 (BatchNormalization)        (None, 120, 160, 16) 64          259[0][0]
__________________________________________________________________________________________________
261 (Activation)                (None, 120, 160, 16) 0           260[0][0]
__________________________________________________________________________________________________
262_pad (ZeroPadding2D)         (None, 122, 162, 16) 0           261[0][0]
__________________________________________________________________________________________________
262 (DepthwiseConv2D)           (None, 120, 160, 16) 144         262_pad[0][0]

I raised an issue at TensorFlow and from a bit of searching I understood that this situation is not uncommon.
From this comment, I understood that we have to do a "network surgery" to accomplish this.

The above solution works when the training files were available. In the case where I had only the output of tf.estimator.export_savedmodel, I had to do a network surgery. I made a clone of the graph, in channel_last format, loaded it in and assigned all variables, values from the trained model. This new graph runs fine on CPU.

It would be great if you could provide a sample code on how to do this.
Any help/pointers are really appreciated.
Thank you.

You can convert between channels-first and channels-last with an n-dimensional matrix transpose.
The Keras 'Permute' layer does exactly this:
https://www.tensorflow.org/api_docs/python/tf/keras/layers/Permute


Error: Collection is not valid

Hello, thanks for you project!
Im get one error, but not understand why.
Model:
defaults(){
        return {
            places:new PlacesCollection(),
        }
}

Component:
MyModel.places.add();

Collection is not valid

Why its happen?

We're working on better support for nested models and collections. We're looking into why this is happening in this case and will get back to you asap. The error occurs when an undefined collection is registered on the model. Do you have a stack trace?

This will be enough?
Error: Collection is not valid

Stack trace:
registerCollection@http://cabinet.myproject.rudev/cabinet/vue/app.js line 1351 > eval:2883:23
onAdd@http://cabinet.myproject.rudev/cabinet/vue/app.js line 1351 > eval:1522:13
add@http://cabinet.myproject.rudev/cabinet/vue/app.js line 1351 > eval:1570:13
add@http://cabinet.myproject.rudev/cabinet/vue/app.js line 1351 > eval:1554:24
created@http://cabinet.myproject.rudev/cabinet/vue/app.js line 318 > eval:26:9
callHook@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:2897:9
initMixin/Vue.prototype._init@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:4562:5
VueComponent@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:4730:7
createComponentInstanceForVnode@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:4244:10
init@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:4061:45
createComponent@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:5514:9
createElm@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:5462:9
patch@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:6036:9
lifecycleMixin/Vue.prototype._update@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:2639:16
updateComponent@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:2767:7
get@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:3117:13
Watcher@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:3106:7
mountComponent@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:2774:3
Vue$3.prototype.$mount@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:8431:10
Vue$3.prototype.$mount@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:10792:10
initMixin/Vue.prototype._init@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:4572:7
Vue$3@http://cabinet.myproject.rudev/cabinet/vue/app.js line 146 > eval:4661:3
@http://cabinet.myproject.rudev/cabinet/vue/app.js line 2644 > eval:77:24
@http://cabinet.myproject.rudev/cabinet/vue/app.js:2644:1
webpack_require@http://cabinet.myproject.rudev/cabinet/vue/app.js:20:12
@http://cabinet.myproject.rudev/cabinet/vue/app.js:64:18
@http://cabinet.myproject.rudev/cabinet/vue/app.js:1:11
app.js%20line%20146%20%3E%20eval:1719:5

The problem is with the _uid property
Every time a new collection/model is created, vue-mc assigns a "uniqueId"(lodash function)
Object.defineProperty(this, '_uid', {       value: uniqueId(),       enumerable: false,       configurable: false,       writable: false     });
And it's actually not enumerable.
I think a possible solution for this could be to check if the property is already a collection and "listen" for it in a different way(maybe even using the IDs as you are already using it for add/remove)
I got it to work using
let uid = uniqueId(); Vue.set(this, '_uid', uid);
before the Object.define line, and changing it to be "enumerable"
I know it's not a real fix, but maybe someone would like to use it in a custom build


Update OWNERS

Proposed Changes

Remove @Harwayne from OWNERS.

Release Note

NONE
``

/test pull-knative-sandbox-eventing-kafka-broker-integration-tests

/retest

/retest


CLOUDSTACK-9992 : Failed to change cluster to managed state

ISSUE
Failed to change cluster to managed state.
STEPS TO REPRODUCE

Create an environment having zone with 2 Clusters and atleast 1 host associated with each cluster.
Verify that all clusters are in managed state and all hosts are in up state.
Change the value of global setting "direct.agent.load.size" to 1.
Restart management server.
Check "id" of both clusters.
Change state of both the clusters to Unmanaged state.
Try to change the cluster which has higher "id" to managed state. Cluster will come to manage state.
But host associated with it will never come to UP state, till the time cluster with lower "id" is changed to manage state.

Screenshot of DB before applying fix :

Screenshot of DB after applying fix :

ACS CI BVT Run
Sumarry:
Build Number 956
Hypervisor xenserver
NetworkType Advanced
Passed=106
Failed=7
Skipped=12
Link to logs Folder (search by build_no): https://www.dropbox.com/sh/r2si930m8xxzavs/AAAzNrnoF1fC3auFrvsKo_8-a?dl=0
Failed tests:

test_deploy_vm_iso.py

test_deploy_vm_from_iso Failing since 18 runs

test_volumes.py

test_06_download_detached_volume Failing since 2 runs

test_vm_life_cycle.py

test_10_attachAndDetach_iso Failing since 18 runs

test_routers_network_ops.py

test_01_isolate_network_FW_PF_default_routes_egress_true Failing since 51 runs

test_02_isolate_network_FW_PF_default_routes_egress_false Failing since 51 runs

test_01_RVR_Network_FW_PF_SSH_default_routes_egress_true Failing since 51 runs

test_02_RVR_Network_FW_PF_SSH_default_routes_egress_false Failing since 51 runs

Skipped tests:
test_vm_nic_adapter_vmxnet3
test_01_verify_libvirt
test_02_verify_libvirt_after_restart
test_03_verify_libvirt_attach_disk
test_04_verify_guest_lspci
test_05_change_vm_ostype_restart
test_06_verify_guest_lspci_again
test_static_role_account_acls
test_11_ss_nfs_version_on_ssvm
test_nested_virtualization_vmware
test_3d_gpu_support
test_deploy_vgpu_enabled_vm
Passed test suits:
test_deploy_vm_with_userdata.py
test_affinity_groups_projects.py
test_portable_publicip.py
test_vm_snapshots.py
test_over_provisioning.py
test_global_settings.py
test_scale_vm.py
test_service_offerings.py
test_routers_iptables_default_policy.py
test_loadbalance.py
test_routers.py
test_reset_vm_on_reboot.py
test_deploy_vms_with_varied_deploymentplanners.py
test_network.py
test_router_dns.py
test_non_contigiousvlan.py
test_login.py
test_list_ids_parameter.py
test_public_ip_range.py
test_multipleips_per_nic.py
test_metrics_api.py
test_regions.py
test_affinity_groups.py
test_network_acl.py
test_pvlan.py
test_nic.py
test_deploy_vm_root_resize.py
test_resource_detail.py
test_secondary_storage.py
test_disk_offerings.py

Test caeses which are failing are not related to this fix.

LGTM code changes.

LGTM for Testing
Screenshot of DB:

tag:This is Ready to Merge

@borisstoyanov Can you please trigger trillion tests for this PR?

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-960

@blueorangutan test

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Thanks, @borisstoyanov for triggering the tests.

sure no probs @sateesh-chodapuneedi

Trillian test result (tid-1377)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 37215 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2173-t1377-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_password_server.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 55 look OK, 2 have error(s)

Test
Result
Time (s)
Test File

test_01_vpc_remote_access_vpn
Failure
50.83
test_vpc_vpn.py

test_04_rvpc_privategw_static_routes
Failure
391.13
test_privategw_acl.py

test_change_service_offering_for_vm_with_snapshots
Skipped
0.00
test_vm_snapshots.py

test_09_copy_delete_template
Skipped
0.02
test_templates.py

test_06_copy_template
Skipped
0.00
test_templates.py

test_static_role_account_acls
Skipped
0.02
test_staticroles.py

test_11_ss_nfs_version_on_ssvm
Skipped
0.02
test_ssvm.py

test_01_scale_vm
Skipped
0.00
test_scale_vm.py

test_01_primary_storage_iscsi
Skipped
0.06
test_primary_storage.py

test_vm_nic_adapter_vmxnet3
Skipped
0.00
test_nic_adapter_type.py

test_nested_virtualization_vmware
Skipped
0.00
test_nested_virtualization.py

test_06_copy_iso
Skipped
0.00
test_iso.py

test_deploy_vgpu_enabled_vm
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

test_3d_gpu_support
Skipped
0.03
test_deploy_vgpu_enabled_vm.py

@niteshsarda Can you please check the 2 test failures? Those seems to be intermittent though.

@sateesh-chodapuneedi  : Test Cases which are failing are not related to my changes. Can you please merge this PR ?

@niteshsarda ok.


upgrades for ES 2

These changes allow gathering metrics from elasticsearch 2 instances. Prior to these changes, many warnings about missing stats would be logged.

I didn't test this yet, but thanks!

This works and is backwards compatible.  Only issue that I saw is that you now need to use X.Y.Z version numbers.  In the original plugin it  was enough to use X.Y version numbers.  Now the plugin breaks.  But it can be changed in the config file.
Also #17 is worth noticing.  People running 2.X.Y are probably using the python elasticsearch module provided by Elastico and that clashes with the module naming...

This works, and is backwards compatible, HOWEVER, not a drop-in replacement as the config needs to be modified for X.Y.Z as noted above.
<Plugin "python">
    ModulePath "/usr/lib64/collectd/"

    Import "elasticsearch"

    <Module "elasticsearch">
        Verbose false
-        Version "1.0"
+        Version "2.2.0"
        Cluster "elasticsearch"
    </Module>
</Plugin>

LGTM!!


NavBar Glitch

This glitch appends when the View Controller is not the top-level VC of a Navigation Controller (when you've got a Back Button in the navBar etc.) When the Modal Controller is pushed, the navBar of the previous ViewController is cropped from the top.

Thanks for the bug and reproduction steps. As soon as I read about this behaviour happening only with a UINavigationController with a pushed VC, it all clicked.
Turns out I’d seen this bug before. Apple’s own modal implementation does this exact same thing in iOS 11. I’ve attached a video of the same below. So I’m guessing this is an issue with UINavigationController itself, considering the number of new features added.
I’m guessing/hoping Apple fixes this especially seeing it's happening in a major first party app, and I’ll be filing a radar about it too. Don’t think there’s anything I can do about UINavigationController’s default behaviour, however.

I've filed rdar://33794596: UINavigationBar's background shrinks when the visible ViewController presents its own modal about this in case anyone wants to dupe

Seems like this is fixed on the Apple Music app in the latest iOS 11 beta, but it's not working with DeckTransition. Hmm, maybe there's a workaround on what's happening with the NavBar on iOS 11..

Any updates on this? I'm experiencing this as well. I used to work around this by inserting a UIView in the UINavigationBar with the solid color of the UINavigationBar, but as I'm presenting the modal from a UISplitViewController as of now that doesn't work anymore.

I don't think I can fix this from my side. Radars seem like the only option

It's still broken on the GM build too for iOS11, on the Music app too. I wonder if there's a workaround.

So I figured out the root cause of the bug (safe area insets), and turns out that causes a whole bunch of other bugs as well. #39 addresses this, I'd really appreciate if you could folks could take a look, thanks

This has been fixed in 1.3.0


Airline modifies the vim's theme unexpectedly

It seems airline modifies the vim's main theme. How can I disable this feature? I want my original theme back.
:colortheme xxx doesn't work

Does that still happen?

no reply, closing.


can't drop continuous query

this is with 0.9.0-rc22
# create a db
curl -G http://<IP_ADDRESS>:8086/query --data-urlencode "q=create database mydb"
{"results":[{}]}

# create a continuous query
curl -G http://<IP_ADDRESS>:8086/query --data-urlencode "db=mydb" --data-urlencode "q=create continuous query test on mydb BEGIN select count(*) as count into \"10m.test\" from test group by time(10m) END"
{"results":[{}]}

# show the continuous queries
curl -G http://<IP_ADDRESS>:8086/query --data-urlencode "db=mydb" --data-urlencode "q=show continuous queries"
{"results":[{"series":[{"name":"mydb","columns":["name","query"],"values":[["test","CREATE CONTINUOUS QUERY test ON mydb BEGIN SELECT count(*) AS count INTO \"mydb\".\"default\".\"10m.test\" FROM \"mydb\".\"default\".test GROUP BY time(10m) END"]]}]}]}

# drop the continuous query - this result doesn't look right
curl -G http://<IP_ADDRESS>:8086/query --data-urlencode "db=mydb" --data-urlencode "q=drop continuous query test on mydb"
{}

# show the continuous queries - should be empty
curl -G http://<IP_ADDRESS>:8086/query --data-urlencode "db=mydb" --data-urlencode "q=show continuous queries"
{"results":[{"series":[{"name":"mydb","columns":["name","query"],"values":[["test","CREATE CONTINUOUS QUERY test ON mydb BEGIN SELECT count(*) AS count INTO \"mydb\".\"default\".\"10m.test\" FROM \"mydb\".\"default\".test GROUP BY time(10m) END"]]}]}]}

duplicate of #2141


Fix issue in removing items with LayoutAnimation on Android. When LayoutAnimation is enabled, indicesToRemove are incorrect, which makes adjacent views disappear.

Fix issue #11828 Removing items with LayoutAnimation causes adjacent views/texts to disappear on Android

I explained my solution in https://github.com/facebook/react-native/issues/11828#issuecomment-273434006

@janicduplessis Please take a look. Thanks.

Ping @janicduplessis

Thanks for the PR! I'll have a look this week ;)

Could you provide a test plan that describe how you tested this?
Also are you sure that indicesToRemove and tagsToDelete are always the same? I tried fixing the indices a while back but ended up finding some edge cases where it didn't work. https://github.com/facebook/react-native/pull/7959

@janicduplessis
I explained my solution in https://github.com/facebook/react-native/issues/11828#issuecomment-273434006
Test plan:
Tested that this fixed the bug in https://github.com/vinceyuan/ReactNativeOpacityBugDemo. See screenshot with this fix:

I am not sure that indicesToRemove and tagsToDelete are always the same. Probably they are not same when LayoutAnimation is not enabled. If we totally ignore indicesToRemove, there will be problems in removing items without animation. You can see some views are not removed after I tap Remove without animation button in the following screenshot:

Probably this fix is not perfect. But with this fix, everything works well with/without LayoutAnimation. 😸

Does this solve #9549 as well?

@freakinruben Probably not. This PR fixes an issue in LayoutAnimation on Android. #9549 doesn't seem to be animation related.

@janicduplessis Any comment about this PR? Is it good?

@janicduplessis Right. shouldAnimateLayoutChildrenInView is not necessary. I have removed it. Thanks!
Let me think about the ideal solution you mentioned.

@janicduplessis @vinceyuan Is this good to go? Currently, removing items with Layout Animation throws on Android :/

@f0rr0 My PR solved the issue. But janicduplessis doesn't think it is good enough. I am trying to find time to work on it.

Hi
Any update on this ?
Thank's

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/fix-issue-in-removing-items-with-layoutanimation-on-android-when-layoutanimation

@vinceyuan thanks for your contribution! After reviewing the comments here, it looks like this PR is not going to be accepted in its current state. I'll set it back to closed.

@vinceyuan @janicduplessis @hramos what is keeping this PR from being merged? Still a bit confused by that. Would love to help in anyway I can. This issue has existed on Android for a long time now, and I think it is also in react-native-windows, so learning how to fix it here will help there.

@jpshelley the PR has been closed for a while, which is a huge blocker for getting it merged in. If you're interested in making this change, I suggest going back through the thread and understanding why the reviewers pushed back on the change. If I recall correctly, I closed this PR for two reasons: reviewers rejected the changes and the PR laid dormant without activity for months afterwards.