Arango Installation Failure

my environment running ArangoDB
I'm using the latest ArangoDB of the respective release series:

[ ] 2.8
[x] 3.0
[ ] self-compiled devel branch

On this operating system:

[ ] DCOS on

[ ] AWS
[ ] Azure
[x] Google Compute engine
[ ] own infrastructure

[ ] Linux

[ ] Debian .deb
[ ] Ubuntu .deb
[ ] SUSE   .rpm
[x] RedHat .rpm
[ ] Fedora .rpm
[ ] Gentoo
[ ] docker - official docker library
[ ] other:

[ ] Windows, version:
[ ] MacOS, version:

this is an AQL-related issue:
[ ] I'm using graph features
I'm issuing AQL via:

[ ] web interface with this browser:     running on this OS:
[ ] arangosh
[ ] this Driver:

I've run db._explain("<my aql query>") and it didn't shed more light on this.
The AQL query in question is:
The issue can be reproduced using this dataset:
Please provide a way to create the dataset to run the above query on; either by a gist with an arangodump, or `db.collection.save({my: "values"}) statements. If it can be reproduced with one of the ArangoDB example datasets, it's a plus.
Foxx
this is a web interface-related issue:
I'm using the web interface with this browser:     running on this OS:

[ ] authentication is enabled?
[ ] using the cluster?
[ ] _system database?

These are the steps to reproduce:

open the browser on http://<IP_ADDRESS>:8529
log in as ...
use database [ ] _system [ ] other:
click to ...
...

The following problem occurs: [Screenshot?]
Instead I would be expecting:
this is an installation-related issue:
Describe which steps you carried out, what you expected to happen and what actually happened.
Followed this steps:
cd /etc/yum.repos.d/
wget https://www.arangodb.com/repositories/arangodb3/CentOS_7/arangodb.repo
yum install arangodb3-3.0.5
and getting the error below.
failure: repodata/repomd.xml from arangodb: [Errno 256] No more mirrors to try.
https://strato1.arangodb.com/repositories/arangodb3/CentOS_7/repodata/repomd.xml: [Errno 14] HTTPS Error 403 - Forbidden

Hi, this was a problem with the webserver which is fixed meanwhile. Thanks for reporting.


DRUMS_RNN: when trying to run --eval on drums_rnn I get "ValueError: invalid every_n_iter=0."

Some very strange behavior here.
I am comparing lstm behavior here to that of LSTMetallica. So using the same midi library of metallica drums, I went through the normal drums_rnn pipeline:

I created a tfrecord (notesequence) of the entire metallica midi library
I turned that notesequence into a training and validation split of 10 percent
I started a training on the training sequence on the training data
I started a validation (--eval) on the eval data and IMMEDIATELY get a valueerror:

Traceback (most recent call last):
  File ".\drums_rnn_train.py", line 113, in <module>
    console_entry_point()
  File ".\drums_rnn_train.py", line 109, in console_entry_point
    tf.app.run(main)
  File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\platform\app.py", line 124, in run
    _sys.exit(main(argv))
  File ".\drums_rnn_train.py", line 99, in main
    events_rnn_train.run_eval(build_graph_fn, train_dir, eval_dir, num_batches)
  File "C:\Program Files\Python35\lib\site-packages\magenta\models\shared\events_rnn_train.py", line 114, in run_eval
    EvalLoggingTensorHook(logging_dict, every_n_iter=num_batches),
  File "C:\Program Files\Python35\lib\site-packages\tensorflow\python\training\basic_session_run_hooks.py", line 209, in __init__
    raise ValueError("invalid every_n_iter=%s." % every_n_iter)
ValueError: invalid every_n_iter=0.

I've played around with the training and the evaluation percentages, and if I do 40%!!! VALIDATION data then it doesn't give that error any more, but that is way too much data for validation. (the tfrecord size for training data is 103 megs and the the eval data is 75 megs).
The rest of the data sets i've tried this on has similar properties, which led me to believe that perhaps these other data sets were too small. But a weird quirk is that if I used a much smaller data set (training set size of about 20megs, and eval data of 10megs), it would still give the same error on using the validation data to run the eval, but it doesn't fail if i used the training data for evaluation. So somehow a 20 meg file of training data for a smaller data set works validation but it fails for this metallica data set if I don't give it at least 70 megs of evaluation data. Is there just a weird problem with "drums_rnn_create_dataset"
Any ideas?
Thanks in advance

I'm running into a very similar error in an experiment I'm doing with custom data on polyphony_rnn:
polyphony_rnn_train --run_dir=./polyphony_rnn/logdir/run1 --sequence_example_file=./polyphony_rnn/sequence_examples/eval_poly_tracks.tfrecord --hparams="batch_size=64,rnn_layer_sizes=[64,64]" --num_training_steps=20000 --eval INFO:tensorflow:hparams = {'rnn_layer_sizes': [64, 64], 'learning_rate': 0.001, 'clip_norm': 5, 'batch_size': 64, 'dropout_keep_prob': 0.5} INFO:tensorflow:Train dir: ./polyphony_rnn/logdir/run1/train INFO:tensorflow:Eval dir: ./polyphony_rnn/logdir/run1/eval INFO:tensorflow:Counting records in ./polyphony_rnn/sequence_examples/eval_poly_tracks.tfrecord. INFO:tensorflow:Total records: 54 INFO:tensorflow:[<tf.Tensor 'ParseSingleSequenceExample/ParseSingleSequenceExample:0' shape=(?, 259) dtype=float32>, <tf.Tensor 'ParseSingleSequenceExample/ParseSingleSequenceExample:1' shape=(?,) dtype=int64>, <tf.Tensor 'strided_slice:0' shape=() dtype=int32>] Traceback (most recent call last):   File "/Users/ianconway/anaconda/envs/magenta/bin/polyphony_rnn_train", line 11, in <module>     sys.exit(console_entry_point())   File "/Users/ianconway/anaconda/envs/magenta/lib/python2.7/site-packages/magenta/models/polyphony_rnn/polyphony_rnn_train.py", line 113, in console_entry_point     tf.app.run(main)   File "/Users/ianconway/anaconda/envs/magenta/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run     _sys.exit(main(_sys.argv[:1] + flags_passthrough))   File "/Users/ianconway/anaconda/envs/magenta/lib/python2.7/site-packages/magenta/models/polyphony_rnn/polyphony_rnn_train.py", line 103, in main     events_rnn_train.run_eval(build_graph_fn, train_dir, eval_dir, num_batches)   File "/Users/ianconway/anaconda/envs/magenta/lib/python2.7/site-packages/magenta/models/shared/events_rnn_train.py", line 114, in run_eval     EvalLoggingTensorHook(logging_dict, every_n_iter=num_batches),   File "/Users/ianconway/anaconda/envs/magenta/lib/python2.7/site-packages/tensorflow/python/training/basic_session_run_hooks.py", line 209, in __init__     raise ValueError("invalid every_n_iter=%s." % every_n_iter) ValueError: invalid every_n_iter=0.
At first I had issues because the script which prepares the tf_records expects the files be above/below a given minimum/maximum length. After I wrote a script to split my midi files into appropriately sized chunks, I was left with only about 65 files. Before on an experiment where I was using more examples, I did not get this error. Just a hunch, but I think it may have to do with the number of midi files being too small, even though you have enough data. Maybe consider splitting the files and see if that helps. If I figure out a solution on my end I will post it.

It's really strange. I encountered this error as well. However, when I change the eval radio to 40% there's no error and then I change it back to 10% and it works too. I am so confused what happened.

The issue appears to be that the number of records is smaller than your batch size which means num_batches is being set to 1. I'll add an error message specifying this issue.


Selectbox macro vs custom selectbox

Is there a way to utilize the selectbox macro for a 'new' listbox on a custom theme? I am having difficulty accessing the custom variable list and having it pre-selected in a drop down list box. It appears the state and country profile fields are macro selectboxes. I do not see a gender selectbox that is identified in the database as a profile field.

Please do not use issue tracker for questions like these. This is not a bug. Use forums or support for questions like this.


SSC30KQ NAND Flash support

Is there support for this module?
S51-P 5MP Dual light WDR Module.pdf

We have support for SSC338Q nand, which is overall very similar and even partially identical.
Chances are high that the linked module is working with mentioned ssc338q-nand firmware.

Thanks I will see if I can get it flashed

Closed for now, if you need further support please report back.


Browser compatible issue: StyleProvider hashPriority is not working.

There is this code in App.js which should disable all the :where selectors in the page and make the styles compatible to legacy browsers:
<StyleProvider hashPriority="high" transformers={[legacyLogicalPropertiesTransformer]}>
  {this.renderPage()}
</StyleProvider>

But it's not working as expected, components inside the /login page are still using the :where selector.
This happends to the latest unmodified version of casdoor.

@LaurenceYoungDev can you make a PR to fix it?

Cannot reproduce, closed


For-realsies work on this is in apple/swift#28834.

          For-realsies work on this is in apple/swift#28834.

Originally posted by @beccadax in https://github.com/swiftlang/swift/issues/26949#issuecomment-573825999

Just in case this was intended as a legit issue, please be more specific and create an issue through the template chooser.


Problem installing module mv_extractor

I try to add mv_extractor with setup.py

The module is installed but this problem persist, I only need to import mv_extractor to python. Using Ubunto 20.04

Hey dananomer,
did you try to install pkgconfig via pip? But anyway, if you want to install it like you tried it, you will also have to provide all the necessary dependencies manually, i.e. you would have to install OpenCV and FFMPEG. I would recommend to build and use the Docker image. Or if you want to install it on your host without Docker, you should follow the installation steps as specified in the Dockerfile.

Closing due to inactivity. Feel free to reopen for further discussion.


Set the description for the Hashicorp Yum repo

Signed-off-by: Lance Albertson<EMAIL_ADDRESS>

!bump patch ~

Jenkins has merged this PR into master and has automatically performed a patch-level version bump to v4.3.1.  Have a nice day!


Battle Music config inaccesible in 1.16.4

Using Dynamic surroundings version1.16.4-<IP_ADDRESS>
Forge 35.1.10
The actual Forge version - "latest" does not count.
Battle music cannot be configured to play as there is no configuration option for such a thing within the mod or the config file.
Please fix this, battle music was the sole reason I installed this pack.

Yep - was removed.  Reason is that the mod is 100% client side.  For battle music to work it would  need to be installed server side.  I may create in a separate mod.


Nginx-proxy on docker-compose v1 (old docker without docker network)

Hi!
I have a production environment which consists of CentOS 6.5, Docker version 1.7.1, and Docker-compose v 1.4.1. Unfortunately, I shouldn't upgrade the OS at this moment and I have to sustain this environment for the time being.
I managed to make nginx-proxy to run with these environment with docker-compose yml version 1. Each containers could connect to each other. However, the nginx-proxy default.conf (which supposed to include the upstream server), leave the upstream server blank (like issue https://github.com/jwilder/nginx-proxy/issues/478#issuecomment-230502324). I believe this issue happened because the docker version that I have been using is not supporting docker network.
The workaround that I have been using is to manually include the container address inside the upstream block in the default.conf. Is there any way to make it automatically updated on this environment?
Thanks!

I use v1 compose files still in production (albeit with Docker 17.09-ce) - it is defnitely supported.
Can you share a docker-compose.yml file that is giving you trouble?
In v1, unless you're doing something strange, all containers are on the same network, and when you start any container on the system, if there's a VIRTUAL_HOST=somedomain.com env var on that container, the nginx-proxy container will pick it up and include it in the nginx config.

Hi Sorry and thanks for your reply. Im not updating this issue anymore because we dropped the idea to use it. If anyone else meet this problem, feel free to update here


Load callback states while testing.

🚀 Feature
Load callback states while testing.
Motivation
https://github.com/PyTorchLightning/pytorch-lightning/pull/5161#issuecomment-759083492
Pitch
Two possible API changes:
with an additional argument restore_states:
test(ckpt_path, restore_states=True/False)  # give an option whether to load states or not
test(model, ckpt_path, restore_states=True/False)  # same as above but will just load checkpoint states and not the model

# raise an error
test(ckpt_path=None, restore_states=True)

or without any additional argument:
test(ckpt_path)  # always load states
test(ckpt_path=None)  # don't load any states.
test(model, ckpt_path)  # reload checkpoint states only from ckpt_path

Alternatives
Alternatively, one can just reload checkpoints manually, call on_load_checkpoint for all the callbacks manually, and test.
PS: There may be a better solution. Open to suggestions :)
cc: @ananthsub

@rohitgr7 what's the difference between your proposal and the existing
trainer = Trainer(resume_from_checkpoint=x)
trainer.test()

?

@rohitgr7 what's the difference between your proposal and the existing
trainer = Trainer(resume_from_checkpoint=x)
trainer.test()

?

trainer = Trainer(resume_from_checkpoint=x)
trainer.test()

in the recent PR the reload from resume_from_checkpoint was disabled completely since it was reloading the model state too also resume_from_checkpoint is meant to resume the training I guess. If we use this then while testing with different checkpoints we need to pass that checkpoint path in both Trainer(resume_from_checkpoint=ckpt) and trainer.test(ckpt_path=ckpt). I think with resume_from_checkpoint it will be easier to handle, it's just that this argument name sounds a bit misleading to me in case of testing.

trainer = Trainer(resume_from_checkpoint=x)
trainer.test()

in the recent PR the reload from resume_from_checkpoint was disabled completely since it was reloading the model state too also resume_from_checkpoint is meant to resume the training I guess. If we use this then while testing with different checkpoints we need to pass that checkpoint path in both Trainer(resume_from_checkpoint=ckpt) and trainer.test(ckpt_path=ckpt). I think with resume_from_checkpoint it will be easier to handle, it's just that this argument name sounds a bit misleading to me in case of testing.

in the recent PR the reload from resume_from_checkpoint was disabled completely since it was reloading the model state too

Isn't this a breaking API change? I commented on #5388 about this. What's the proposed workaround with the existing APIs?

in the recent PR the reload from resume_from_checkpoint was disabled completely since it was reloading the model state too

Isn't this a breaking API change? I commented on #5388 about this. What's the proposed workaround with the existing APIs?

@rohitgr7 could we still call the checkpoint connector from setup_training inside run_evaluation, but add logic inside of restore to check for trainer.testing - if it's testing, we can load the model and callback states only and ignore the trainer states. this way we don't have to expose anything new in the trainer API. what do you think?

@rohitgr7 could we still call the checkpoint connector from setup_training inside run_evaluation, but add logic inside of restore to check for trainer.testing - if it's testing, we can load the model and callback states only and ignore the trainer states. this way we don't have to expose anything new in the trainer API. what do you think?

for this, I'd suggest reloading the callback states as well along with the model state using the ckpt_path passed in .test. Open to suggestions!

@PyTorchLightning/core-contributors thoughts?

to make it load the callback state you need to pass the callbacks in the re-run.

Thanks. This could use an info message

although it's just a workaround.

I get this, but this should work as in fit

to make it load the callback state you need to pass the callbacks in the re-run.

Thanks. This could use an info message

although it's just a workaround.

I get it, but this should work as in fit

yes it should. Although just wondering this case.
test(model, ckpt_path)

should we load the callback states here since ckpt_path is passed or just simply ignore it since model is passed explictly.

should we load the callback states here since ckpt_path is passed or just simply ignore it since model is passed explictly.

ckpt_path does nothing if the model is passed
https://github.com/PyTorchLightning/pytorch-lightning/blob/20f63377f81f4771d3f128f979b3a0f9b8d219a7/pytorch_lightning/trainer/trainer.py#L569-L570

Hi @tchaton
I'm facing the same limitation as @ananthsub as I'm training with EMA. I expected that on_load_checkpoint to be callback with trainer.evaluate or trainer.predict. Lightning docs implies that they be always called when loading from a checkpoint. I believe that docs should mention that Callbacks.on_load_checkpoint is only called with trainer.fit.
You can find a working EMA callback here (apply this changes for MultiGPU support).


Do not set VCAP_APPLICATION env var during kpack staging

A short explanation of the proposed change:

We have noticed that during kpack staging, VCAP_APPLICATION is set to a Hash#to_s string. It should be a json string, although in diego staging, VCAP_APPLICATION is not set at all.
This PR excludes VCAP_APPLICATION from the environment in the same way that VCAP_SERVICES is already excluded.

An explanation of the use cases your change solves

When deploying postfacto, for example, the rails-assets precompilation triggers bundle exec rails assets:precompile which ends up trying to deserialise VCAP_APPLICATION from json. This fails as it gets the ruby hash string. In CF on VMs, VCAP_APPLICATION is not set and the staging succeeds.

Links to any other associated PRs

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the main branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

LGTM, thanks for the PR!
Thanks,
Andrew and @jspawar


make this repo private, please!

Dear Peter!
You should read Codewars code of conduct, specifically the last bullet point of the "rules" section. So You should make this repo private (as well as the related gitbook).
In addition, You do not have the right to reproduce kata description like You did.
Thx

Dear Alex!
Thanks for your feedback, I think I should hide this project if it cause anybody trouble. Before I shut it down, I have a question. You mentioned a gitbook, I don’t quite understand what you mean. Can you please give me a link or something?


Keyboard shortcuts are captured when out of focus

Issue:
When Lagrange is out of focus, I press a key combination that would be recognised by Lagrange, and Lagrange acts on it.
In this video (https://video.barbed.fr/videos/watch/fe80dc58-8807-4d3f-9850-74a19b1baf11), the top right terminal is focused (mouse pointer is over it). I press Ctrl+D to close the terminal, which has the side effect of triggering the Bookmark function in Lagrange, which was unfocused at the time of pressing.
Expected behaviour:
I would not expect Lagrange to trigger when a key combination is pressed when the Lagrange window is out of focus.
Platform:
Arch Linux x64
window manager: dwm (https://dwm.suckless.org/)
Lagrange version:
Self-compiled, 0.6 (commit: bcca576f0463df67378ece8712dc0941c67f0c9e)

How does dwm handle input focus? Is it based on mouse cursor position? (Haven't used it myself, sorry.)
Lagrange relies entirely on SDL for input events — there is no custom behavior here. When I understand exactly what is happening here I can introduce some options to improve behavior in this case, although I expect them to be disabled by default.

I accept the tiling wms aren't exactly the norm, however it's the first program that I saw behaving like this on my machine.
dwm does focus the window under the mouse cursor or alternatively cycles focus between visible windows using Super+J and Super+K
Actually I tried using a different combination (Ctrl+= to increase Zoom and Ctrl+0 to reset it) and couldn't replicate Lagrange acting on them while unfocused (in this new test, the number of layout of windows isn't changed, contrary to the video above). So I guess I'm looking at some form of race condition, as the Lagrange window was brought into focus when the terminal window was closed in the video test.

Hmm, perhaps the best workaround would then be to allow changing Lagrange's keybindings? That way you could use keys that don't overlap with dwm's bindings.

Ctrl+D isn't a dwm binding, it sends EOF on stdin, which zsh (and many others) interprets as an exit command on an empty line.

perhaps the best workaround would then be to allow changing Lagrange's keybindings

It's definitely a workaround; please bear in mind that this ticket is not a showstopper, more like a quirk, so there isn't an urgency to fix any of it. I do wonder, though, wether this is a behaviour seen on other tiling wms or just dwm. I'll try some others and get back to you.

I replicated it on openbox (non tiling wm)

Ctrl+D: https://video.barbed.fr/videos/watch/6430e4ce-0d2f-451d-b369-ff49c179dc5b
Ctrl+W: a bit more worrying, as it potentially exits lagrange https://video.barbed.fr/videos/watch/3348b1ae-cf5d-4f41-a50b-18fd1f0d5931

These behaviours are triggered when the lagrange window comes into focus after the intended target window of the key binding closes

please bear in mind that this ticket is not a showstopper, more like a quirk, so there isn't an urgency to fix any of it.

I agree, but seeing as I had overlooked the expose event I wanted to look into other window events that may require additional handling.
I checked the information in the SDL keydown events, and the Ctrl+D received by Lagrange following xterm closing is identical to a normal keydown event. Could be some glitch in the window manager event handling where the event is considered not eaten by the closed window, and thus gets passed on to the next one.
Applied a workaround although it is a bit of a kludge...


Reassign a distribution point to a Secondary Site

I understand the Reassignment of the DP has only been tested with Primary sites,
although the UI allows reassignments to secondary sites as well and I've done several tests and it worked ok, in my environments. Is there any known reason why it should not work for secondary sites as well?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b49b7692-2fba-a5b6-cc24-3b2621b7f5dd
Version Independent ID: bbc48abf-20cb-18f4-0db4-467cb0408b30
Content: Manage distribution points - Configuration Manager
Content Source: sccm/core/servers/deploy/configure/install-and-configure-distribution-points.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks @AlexCesarini for the feedback. Sorry if you got that impression, we do test and support moving DP from Primary to Primary and Secondary to Primary. We've also tested Primary to Secondary although that’s probably the least used path.

Do we think this needs to be called out specifically in the doc?  "Starting in version 1802, this feature lets you reassign a distribution point from a primary or secondary site to another primary or secondary site without redistributing the content."  perhaps?

That would be perfect IMHO,
I know of several customers that did not use it on secondary sites because it was not documented.
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Chris Kibble<EMAIL_ADDRESS>Sent: Tuesday, July 2, 2019 10:20:53 PM
To: MicrosoftDocs/SCCMdocs
Cc: AlexCesarini; Mention
Subject: Re: [MicrosoftDocs/SCCMdocs] Reassign a distribution point to a Secondary Site (#1677)
Do we think this needs to be called out specifically in the doc? "Starting in version 1802, this feature lets you reassign a distribution point from a primary or secondary site to another primary or secondary site without redistributing the content." perhaps?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/SCCMdocs/issues/1677?email_source=notifications&email_token=AIXQ74QAMYVTNUU2R2ZUUKTP5PBDLA5CNFSM4H4D55X2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZCSSYI#issuecomment-507849057, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIXQ74Q72YQC7EAROZWCUETP5PBDLANCNFSM4H4D55XQ.

Thanks @ChrisKibble for the suggestion. Perhaps divide into two sentences for simplicity:

Starting in version 1802, this feature lets you reassign a distribution point to another site without redistributing the content. The target and destination sites can be either a primary or secondary site.

Hi
I have issues with this. We are in the process to flatten our SCCM infrastructure by removing the secondary sites and replace them by distribution points and when necessary MP as well. We have a remote secondary site and a DP assigned to this secondary site. From SCCM console, when I try to reassign the DP to my primary site, I get the following error
****** [42000][50000][Microsoft][SQL Server Native Client 11.0][SQL Server]Error! Failed to update sql data for reassign distribution point. : spMoveDistributionPoint***
There are no other roles installed on the server other than the DP role. I also have checked this query and fortunately I have no records:
SELECT * FROM DistributionContentVersion DCV
LEFT JOIN DistributionPoints DP ON DP.NALPath = DCV.DPNALPath
WHERE DCV.SiteCode <> DP.SMSSiteCode
Still I do not understand what the issue really is!
From SQL, I tried to run this:
EXEC spMoveDistributionPoint 'PRI', '["Display=\FQDN"]MSWNET:["SMS_SITE=SS1"]\FQDN'
But I got the following error
Msg 50000, Level 16, State 1, Procedure spMoveDistributionPoint, Line 321 [Batch Start Line 7]
Error! Failed to update sql data for reassign distribution point.
I have looked at tons of other articles on the web, but none solved my issue


Snips update required

Home Assistant release with the issue:
0.82.1
Last working Home Assistant release (if known):
?
Operating environment (Hass.io/Docker/Windows/etc.):
DietPi +Hass.io
Component/platform:
Snips.ai component
Description of problem:
Error in addon logs
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
snips:

Traceback (if applicable):
2018-12-02 16:26:57,198 INFO spawned: 'snips-nlu' with pid 103
1543764417: New connection from <IP_ADDRESS> on port 1883.
1543764417: New client connected from <IP_ADDRESS> as 6161961aa962493fac614f35e9c9e791 (c0, k10).
INFO:snips_nlu_hermes: loading model at path "/usr/share/snips/assistant/nlu_engine"
ERROR:snips_nlu       : Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
 -> caused by: Expected model version 0.16.0 but found 0.17.0

ERROR:rumqtt::client  : 6161961aa962493fac614f35e9c9e791 Disconnected: (Error(SyncMpsc(Disconnected), State { next_error: None, backtrace: None }))
1543764417: Socket error on client 6161961aa962493fac614f35e9c9e791, disconnecting.
2018-12-02 16:26:57,238 INFO exited: snips-nlu (exit status 1; not expected)
2018-12-02 16:26:58,240 INFO gave up: snips-nlu entered FATAL state, too many start retries too quickly

Additional information:

OK, fix in progress : https://github.com/home-assistant/hassio-addons/pull/458

I still have the same issue with snips addon 5.0 on Raspberry 3B+ with hassio 141 beta channel, HA 0.84. Any idea?
1544871729: New client connected from <IP_ADDRESS> as d6c90f652fb94c90a142b3f6022ea6c1 (c0, k10).
INFO:snips_nlu_hermes: loading model at path "/usr/share/snips/assistant/nlu_engine"
/usr/bin/snips-asr: symbol lookup error: /usr/bin/snips-asr: undefined symbol: nnet3model_create_dynamic
2018-12-15 12:02:09,974 INFO exited: snips-asr (exit status 127; not expected)
ERROR:snips_nlu       : Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
 -> caused by: Expected model version 0.16.0 but found 0.17.0
2018-12-15 12:02:10,004 INFO gave up: snips-asr entered FATAL state, too many start retries too quickly
1544871730: Socket error on client d6c90f652fb94c90a142b3f6022ea6c1, disconnecting.
2018-12-15 12:02:10,008 INFO exited: snips-nlu (exit status 1; not expected)
2018-12-15 12:02:11,012 INFO gave up: snips-nlu entered FATAL state, too many start retries too quickly```

same here, updated to snips 5.0 an hass.io 0.84.3
1545151866: New client connected from <IP_ADDRESS> as cd6ebd54b09f4020b760fd0a52b7198b (c0, k10).
INFO:snips_nlu_hermes: loading model at path "/usr/share/snips/assistant/nlu_engine"
ERROR:snips_nlu       : Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
 -> caused by: Expected model version 0.16.0 but found 0.17.0

1545151866: Socket error on client cd6ebd54b09f4020b760fd0a52b7198b, disconnecting.d54b09f4020b760fd0a52b7198b, disconnecting.

Same issue here. I got both errors. If I download a new assistant.zip from snips.ai console, i got Expected model version 0.16.0 but found 0.17.0
With my old assistant.zip, I got :
ERROR:snips_tts: Could not start MQTT client on localhost:1883  -> caused by: Connection refused (os error 111) 2018-12-30 17:38:51,372 INFO exited: snips-tts (exit status 1; not expected) ERROR:snips_dialogue: Could not start MQTT client on localhost:1883  -> caused by: Connection refused (os error 111) 2018-12-30 17:38:51,533 INFO exited: snips-dialogue (exit status 1; not expected) ERROR:snips_hotword: Could not start MQTT client on localhost:1883  -> caused by: Connection refused (os error 111) 2018-12-30 17:38:51,625 INFO exited: snips-hotword (exit status 1; not expected) 2018-12-30 17:38:51,633 INFO gave up: snips-dialogue entered FATAL state, too many start retries too quickly 2018-12-30 17:38:51,634 INFO gave up: snips-hotword entered FATAL state, too many start retries too quickly ERROR:snips_audio_server: Could not start MQTT client on localhost:1883  -> caused by: Connection refused (os error 111) 2018-12-30 17:38:51,640 INFO exited: snips-audio-server (exit status 1; not expected) 2018-12-30 17:38:51,646 INFO gave up: snips-audio-server entered FATAL state, too many start retries too quickly ERROR:snips_nlu: Could not start MQTT client on localhost:1883  -> caused by: Connection refused (os error 111) 2018-12-30 17:38:51,671 INFO exited: snips-nlu (exit status 1; not expected) ERROR:snips_asr: Could not start MQTT client on localhost:1883  -> caused by: Connection refused (os error 111) 2018-12-30 17:38:51,694 INFO gave up: snips-nlu entered FATAL state, too many start retries too quickly 2018-12-30 17:38:51,707 INFO exited: snips-asr (exit status 1; not expected) 2018-12-30 17:38:54,721 INFO spawned: 'snips-tts' with pid 256 2018-12-30 17:38:54,733 INFO spawned: 'snips-asr' with pid 257 ERROR:snips_tts: Could not start MQTT client on localhost:1883  -> caused by: Connection refused (os error 111) 2018-12-30 17:38:54,910 INFO exited: snips-tts (exit status 1; not expected) ERROR:snips_asr: Could not start MQTT client on localhost:1883  -> caused by: Connection refused (os error 111) 2018-12-30 17:38:54,987 INFO gave up: snips-tts entered FATAL state, too many start retries too quickly 2018-12-30 17:38:54,994 INFO exited: snips-asr (exit status 1; not expected) 2018-12-30 17:38:55,002 INFO gave up: snips-asr entered FATAL state, too many start retries too quickly
While mosquitto's log say that snips is connected
1546187728: Warning: Mosquitto should not be run as root/administrator.<PHONE_NUMBER>: New connection from <IP_ADDRESS> on port 1883.<PHONE_NUMBER>: Socket error on client <unknown>, disconnecting.<PHONE_NUMBER>: New connection from <IP_ADDRESS> on port 1883. [INFO] found homeassistant on local database<PHONE_NUMBER>: New client connected from <IP_ADDRESS> as 8eeb973a-f150-4356-9003-d1fef857f738 (c1, k60, u'homeassistant').<PHONE_NUMBER>: New connection from <IP_ADDRESS> on port 1883. [INFO] found addons on local database<PHONE_NUMBER>: Client core-snips.main-mqtt disconnected.<PHONE_NUMBER>: New client connected from <IP_ADDRESS> as core-snips.main-mqtt (c0, k60, u'addons').<PHONE_NUMBER>: New connection from <IP_ADDRESS> on port 1883.<PHONE_NUMBER>: New client connected from <IP_ADDRESS> as mosqsub|508-core-ssh (c1, k60).<PHONE_NUMBER>: Socket error on client core-snips.main-mqtt, disconnecting.<PHONE_NUMBER>: New connection from <IP_ADDRESS> on port 1883. [INFO] found addons on local database<PHONE_NUMBER>: Client core-snips.main-mqtt disconnected.<PHONE_NUMBER>: New client connected from <IP_ADDRESS> as core-snips.main-mqtt (c0, k60, u'addons').
The components has often this issue after update hass but thanks anyway, when it's working, it's really great.

I still have the same issue, just on a newer version. Hassio 0.89.2 with snips add-on 5.1.
After the breaking change on the snips-side, I couldn't update the assistant, but the old one worked. Since hassio version 0.89, neither the old nor the new assistant works.
The error I get:
ERROR:snips_nlu_hermes: nlu thread ended with error: Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
-> caused by: Expected model version 0.17.0 but found 0.19.0
ERROR:snips_nlu       : Fail to wait end of pipeline
-> caused by: Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
-> caused by: Expected model version 0.17.0 but found 0.19.0

This should be opened in the hassio-addons repository, but in any case this should be working as of 13 days ago with version 5.2.

Looks like the problem returned although I cannot know for sure as I just started fiddling with home assistant:
INFO:snips_hotword_lib::universal: Loading model "/usr/share/snips/assistant/custom_hotword", hotword_key: Some("hey_snips"), model_id: Some("hey_snips_3.1_2018-04-13T15:27:35_model_0019")
ERROR:snips_nlu_hermes: nlu thread ended with error: Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
-> caused by: Expected model version 0.19.0 but found 0.17.0
ERROR:snips_nlu       : Fail to wait end of pipeline
-> caused by: Unable to read file '/usr/share/snips/assistant/nlu_engine/nlu_engine.json'
-> caused by: Expected model version 0.19.0 but found 0.17.0
1555738610: Socket error on client snips-nlu|56-core-snips-1, disconnecting.

Hi,
I think you need to update the snips console file assistant.zip. connect to web site snips and download again your assistant.zip file. Put in your home assistant a.d it should work again

Still getting the same error on the current version (4-July, '19). I don't know where to download the assistant.zip file from. So far all I've done is install the Hass.io add-on through the Hass Community Add-on store. Any assistance available?


Mention / link to reqwest in README

Many people will find hyper when searching for a Rust HTTP crate. Reqwest is not nearly so easy to find unless you know what you are looking for, but is what a lot of people looking for a rust http library need. Let's point them in the right direction.
I recently came across a new Rust user on Reddit who had found the hyper crate, but was trying to use libcurl bindings to make http requests because they hadn't managed to find reqwest.

Thanks!


Prevent spl_object_hash collisions

This is improved version of #1023 which will remove embedded documents' instances from their "identity map" if that's possible.
@alcaeus @AronSzigetvari @amirmab would you mind running your test suites against this branch? It's based on current dev-master so you can run the tests with PHP 7. Offhand #1429 seems to be totally different can of worms as it still fails here, will try looking into that separately.

Yes, this fixes the issues we were having. Thanks!

Superseded by #1431.


Move method to replace CRLF in Utils class

I thought the method to replace CRLF and prevent log forging is useful for all logging frameworks so I moved it from logback module to common.

Codecov Report

Merging #39 into master will decrease coverage by 44.29%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #39      +/-   ##
============================================
- Coverage     78.74%   34.45%   -44.3%
- Complexity       77       78       +1
============================================
  Files            17       34      +17
  Lines           287      656     +369
  Branches         45       81      +36
============================================
  Hits            226      226
- Misses           40      409     +369
  Partials         21       21

Impacted Files
Coverage Δ
Complexity Δ

...org/owasp/security/logging/mask/CRLFConverter.java
100% <100%> (ø)
3 <1> (ø)
:arrow_down:

...rc/main/java/org/owasp/security/logging/Utils.java
7.14% <100%> (ø)
1 <1> (?)

.../org/owasp/security/logging/util/SecurityUtil.java
0% <0%> (ø)
0% <0%> (?)

...curity/logging/util/DefaultIntervalLoggerView.java
0% <0%> (ø)
0% <0%> (?)

.../logging/util/DefaultIntervalLoggerController.java
0% <0%> (ø)
0% <0%> (?)

...security/logging/util/DefaultIntervalProperty.java
0% <0%> (ø)
0% <0%> (?)

.../security/logging/util/OutputStreamRedirector.java
0% <0%> (ø)
0% <0%> (?)

...n/java/org/owasp/security/logging/MultiMarker.java
0% <0%> (ø)
0% <0%> (?)

...java/org/owasp/security/logging/mdc/MDCFilter.java
0% <0%> (ø)
0% <0%> (?)

... and 9 more

Continue to review full report at Codecov.

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

Coverage decreased because I added tests in the common module :(


removeBanner() VS hideBanner()

Hello everybody,
performance speaking is it better to hide a banner, or to remove and create it every time it is shown?
In case the hide solution is better, does the banner stay somewhere in memory so we have to update the impression from the AdMob console, right?
thanks for support!!

Usually you only need call createBanner() to display the banner, either removeBanner() or hideBanner() is rarely used, as only banner viewed and clicked, it will bring you revenue.


Remove Invalid Hook troubleshooting entry now that it's fixed

What kind of changes does this PR include?

New or updated content

Description

Since this fix was merged, we no longer need to document this gotcha.

That said, maybe we should keep it and say that it was fixed in 1.3.0?

Yay! How exciting! LGTM, @Jutanium


Dynamically changing form schema

I have a use case where I need to change the fields in a form dynamically, removing, replacing, and adding new fields to the form.
I'm currently using a ReactiveVar to keep track of the schema, and replacing it with a new schema in order to update the form. When I do so, Autoform throws exceptions for the old, now non-existant fields:
Exception in template helper: Error: Invalid field name: questionOne

Would you recommend changing the schema on the form this way, or re-rendering the form's container template?

Same problem here as @abecks . Thank you for the destroyForm workaround. But, unfortunately the semantics of destroyForm are not clear.
What is its scope and how it is supposed to prevent the problem: I can see from the sample code that whenever the schema is updated (set) destroyForm was set to true. But how does this solve the problem and when is the right time to set it false again?
I see the this.autorun() setting it to false, but does it need to get called in particular sequence (such as first autoform should execute then autorun should execute etc.) - because I tried to mimic your example and having problem getting success.

 Set it to true right before you change the form's schema attribute value.

I tried the destroyForm approach - it was buggy for me, couldn't make it work (timing issues, the firing order of callbacks matter a lot).
Anyhow - removed it and got away with dynamic templates for creating new autoforms (with new schema) automatically whenever the schema changes.

I dont understand why this was closed. The destroyForm approach is not ver well documented, and I'm not sure how we are supposed to use it.

Pretty sure dynamic schemas should work fine without this workaround in more recent autoform versions.

Not sure if this is still working 100%.
The UI seems to work as intended, and the fields in data being inserted also seems to be ok, but the exceptions are still being fired on the console.

Hi Guys any one of u got this Dynamic thing working with Ionic ? Please share detail/workaround to get it working with ionic.
Thanks


Rework readme

Move README to Markdown format.

Codecov Report

Merging #333 (5ddd170) into master (1807ffe) will not change coverage.
The diff coverage is 67.08%.

@@           Coverage Diff           @@
##           master     #333   +/-   ##
=======================================
  Coverage   76.92%   76.92%
=======================================
  Files          40       40
  Lines         533      533
  Branches      110       74   -36
=======================================
  Hits          410      410
  Misses        115      115
  Partials        8        8

Impacted Files
Coverage Δ

health_check/contrib/psutil/__init__.py
0.00% <0.00%> (ø)

health_check/contrib/psutil/apps.py
0.00% <0.00%> (ø)

health_check/contrib/psutil/backends.py
0.00% <0.00%> (ø)

health_check/contrib/s3boto3_storage/__init__.py
0.00% <0.00%> (ø)

health_check/contrib/s3boto3_storage/apps.py
0.00% <0.00%> (ø)

health_check/contrib/s3boto3_storage/backends.py
0.00% <0.00%> (ø)

health_check/management/commands/health_check.py
91.66% <ø> (ø)

health_check/contrib/celery/backends.py
28.00% <22.22%> (ø)

health_check/storage/backends.py
85.36% <42.85%> (ø)

health_check/contrib/celery/apps.py
86.66% <80.00%> (ø)

... and 24 more

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


After a device is deleted, no more devices can be added

After a device is deleted, no more devices can be added？

可以的，具体问题详细描述下？


nio

The old implementation of https://github.com/vapor/core/blob/nio/Sources/Bits/Base64.swift would throw when it encountered errors (e.g. incompatible characters). I think the new implementation should do the same.

@MrMage see https://github.com/vapor/core/pull/94/commits/cfad3fc77f6cd14febf6f8506297affa75a6178b


Fix models scripts/notebooks

Description

Update broken reference in the hamma_inference script
Fix ABP notebook scoring of cupy/cudf output to numpy.
Fix AutoEncoder parameters in Hammah notebook.
Add peridicity_detection module for hamma inference.

Closes #1052
Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.

/merge


Very important setting for performance

After 1.5 weeks of debugging (yes i kind you not) i found the stream socket setting 'tcp_nodelay' to be very important for performance.
See http://php.net/manual/en/context.socket.php
With tcp_nodelay set to false
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.12199187278748 :       TLS connecting"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: Subscribing to heartbeat Inbox _INBOX.5be973f68b1f9"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.0010449886322021 :       Preparing data for client connect"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 8.8930130004883E-5 :       Subscribing for ConnectResponse"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.00017595291137695 :       Auto unscribing after 1 message is received"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.00022983551025391 :       Discovery"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.00027894973754883 :       After Discovery"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.04311203956604 :         Received ConnectResponse"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.04382586479187 :         After wait"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.043874025344849 :         Connect Request"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.16754603385925 :       Connecting"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.0039598941802979 :         Dispatch send request"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.17437696456909 :       Sending email"
php-fpm_1                 | <IP_ADDRESS> -  12/Nov/2018:12:37:10 +0000 "GET /index.php" 302
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: Closing down"
php-fpm_1                 | [12-Nov-2018 12:37:10] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: Closing down"

With tcp_nodelay set to true
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.074014902114868 :       TLS connecting"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: Subscribing to heartbeat Inbox _INBOX.5be974612a673"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.00038790702819824 :       Preparing data for client connect"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 7.319450378418E-5 :       Subscribing for ConnectResponse"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.0001671314239502 :       Auto unscribing after 1 message is received"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.00023007392883301 :       Discovery"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.00029301643371582 :       After Discovery"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.0010581016540527 :         Received ConnectResponse"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.0013542175292969 :         After wait"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.0013811588287354 :         Connect Request"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.076140165328979 :       Connecting"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.0015089511871338 :         Dispatch send request"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: 0.079082012176514 :       Sending email"
php-fpm_1                 | <IP_ADDRESS> -  12/Nov/2018:12:38:56 +0000 "GET /index.php" 302
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: Closing down"
php-fpm_1                 | [12-Nov-2018 12:38:57] WARNING: [pool www] child 21 said into stderr: "NOTICE: PHP message: Closing down"

Cut down response time by ~100MS

@sazo nice catch!
I rely on phpnats so once the fix is made there then one can set that with the options here.

@sazo Could you please tell me how to set it? Thanks!


Beginner Help

Hi! I am new to this. I followed the instructions provided carefully. I just wanted to try out the basic QandA on the pre-provided blogs in the boilerplate. Everything runs on localhost:3000 and I can authenticate with Clerk. However, when I go to ask questions on the document, it just circles and hangs. There seems to be no response, and no errors thrown. I tried on Firefox and Chrome. Any ideas?

Hi @JasonDanielLyle thank you for trying this out!!
Do you have logs or screenshots of the Chrome console that you can share so we can help you debug?
It could also be taking time for the first response to return, but it should happen in minutes.
Feel free to join our Discord channel so we can help you more real time https://discord.com/invite/PQUmTBTGmT


SetCellValue with DateOnly does not work on .NET 7 project

Doing this code:
cell.SetCellValue(DateOnly.FromDateTime(dateTimeValue));
was working on NPOI 2.6.0, in NPOI 2.6.1 this is failing.
Looking at the source code for Cell.cs interface you have the conditional symbol NET6_0_OR_GREATER but this is not being defined so we get a compilation error.
In this issue (https://github.com/dotnet/sdk/issues/22625) is mentioned that the NET6_0_OR_GREATER symbol is only there if the project is targeting .net 6 or greater.
I'm using NPOI in a class library that targets .NET7 so I don't understand why this could be an issue. In the nuget package manager in visual studio it only shows the dependencies for .netstandard 2.0 and .netstandard 2.1. If I choose version 2.6.0 it shows the dependencies for .netstandard 2.0, .netstandard 2.1, .netframework 4.7.2 and net6.0 thus defining the NET6_0_OR_GREATER symbol (see images below)
Version 2.6.0

Version 2.6.1

Could this be related to the way you deployed the packaged in nuget?
If anybody wants a workaround while this is not fixed you can use the code it does internally:
cell.SetCellValue(DateUtil.GetExcelDate(dateTimeValue, workbook.IsDate1904()));

What do you mean this is failing? What kind of exception do you receive?

Sorry, I explained badly... the SetCellValue(DateOnly....) does not exist in the interface for version 2.6.1.
My code is failing because it uses that method.

@lahma Sorry, it's my fault. I manually released 2.6.1 as what I did before. I don't know your GithubAction setup can do it automatically.
The main purpose of getting rid of 6.0 and 4.7.2 version is to reduce the size of the nuget package. I suppose .NET Standard 2.1 can be fully compatible with .NET 6. And all .NET 6.0 feature are usable (such as DateOnly)
I'm thinking releasing a new version. I'm still evaluating the impact of mis-release of NPOI 2.6.1. But it looks not many developers are really using DateOnly feature.

@lahma Sorry, it's my fault. I manually released 2.6.1 as what I did before. I don't know your GithubAction setup can do it automatically.

Currently the package is created for each build and follows the version number in VersionPrefix which is located in root Directory.Build.props. With your permission I can configure a preview feed for feedz.io like have for Quartz.NET. Quartz.NET also handles release process by detecting pushed tags to GitHub and then does to automatic release to GitHub. feedz.io would be start for people getting some previews before new releases.

The main purpose of getting rid of 6.0 and 4.7.2 version is to reduce the size of the nuget package. I suppose .NET Standard 2.1 can be fully compatible with .NET 6. And all .NET 6.0 feature are usable (such as DateOnly)

This might not be such an issue. Downloaded package resides in global NuGet packages directory and only target frameworks DLLs are pulled into user's solution build and release artifacts.

I'm thinking releasing a new version. I'm still evaluating the impact of mis-release of NPOI 2.6.1. But it looks not many developers are really using DateOnly feature.

👍🏻


[Automation] Generate Fluent Lite from cost-management#package-2020-06

[Automation] Generate Fluent Lite from cost-management#package-2020-06

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-resourcemanager-costmanagement


Catergory Buttons Styling Does Not Work

The styling for category buttons does not work. The buttons continue to take the styling from the buttons.
 nwg-drawer version 0.1.3
DRAWER.CSS
window {
    background-color: rgba (36, 47, 79, 0.95);
    color: #eeeeee
}

entry {
   box-shadow: 0 0 6 5 #2e3440;
   background-color: #3b4252;
   border: none;
   border-radius:10px;
}

button {
    box-shadow: 0 0 6 5 #2e3440;
    background-color: #3b4252;
    border: none;
    border-radius:5px;
    margin: 4px;
}

category-button {
    background-color: transparent;
    padding: 1px;
}

button:hover {
    background-color: rgba(129,161,193,0.7);
}

button:focus {
    background-color: #5e81ac;
}

#pinned-box {
    padding-bottom: 10px;
    border-bottom: 1px dotted gray
}

#files-box {
    padding: 10px;
    border: 1px dotted gray;
}

You missed #. Should be:
#category-button {
    background-color: transparent;
    padding: 1px;
}

No change.

Works well for me. BTW: you should also use use px in lines 7 and 14.
window {
    background-color: rgba (36, 47, 79, 0.95);
    color: #eeeeee
}

entry {
   box-shadow: 0 0 6px 5px #2e3440;
   background-color: #3b4252;
   border: none;
   border-radius:10px;
}

button {
    box-shadow: 0 0 6px 5px #2e3440;
    background-color: #3b4252;
    border: none;
    border-radius:5px;
    margin: 4px;
}

#category-button {
    background-color: transparent;
    padding: 1px;
}

button:hover {
    background-color: rgba(129,161,193,0.7);
}

button:focus {
    background-color: #5e81ac;
}

#pinned-box {
    padding-bottom: 10px;
    border-bottom: 1px dotted gray
}

#files-box {
    padding: 10px;
    border: 1px dotted gray;
}

Using the exact the drawer.css you gave me it still does work. This is installed from the Chaotic-AUR - up to date with the repo. I previously updated from the version below.
This is what shows after launching it in terminal.
lang: en_GB
Found 113 desktop files
Skipped 0 duplicates; 16 .desktop entries hidden by "NoDisplay=true"

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:20: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:22: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:21: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:23: Not using units is deprecated. Assuming 'px'.
Using style from /home/aryan/.config/nwg-panel/drawer.css

(nwg-drawer:3564): Gtk-CRITICAL **: 18:54:50.185: gtk_flow_box_set_max_children_per_line: assertion 'n_children > 0' failed
(0x56361539a718,0xc000217640)
(0x56361539a718,0xc000217b80)
(0x56361539a718,0xc000217c50)
Using XDG user dirs from /home/aryan/.config/user-dirs.dirs

** (nwg-drawer:3564): WARNING **: 18:54:50.372: gtk-layer-shell v0.6.0 may not work on GTK v3.24.30. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md
UI created in 300 ms.

Thank you for your patience and
thank you for all your quick responses!

These warnings:
(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:20: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:7:22: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:21: Not using units is deprecated. Assuming 'px'.

(nwg-drawer:3564): Gtk-WARNING **: 18:54:50.154: Theme parsing error: drawer.css:14:23: Not using units is deprecated. Assuming 'px'.

come from your version of the css file, and should be absent when using my fixed version.

Closed unintentionally. What I fixed should have nothing to do with your issue.

Sorry for the wait. No idea why those error still show. I'm using your exact drawer.css.
I'm assuming the problem is with me rather than something with nwg-drawer. Any ideas on any debug I could attempt etc...

Try another GTK theme to learn if it changes something.


Docformatter for docstrings

Docformatter for docstrings
Make write_to_file() and logme() private methods

Codecov Report

Merging #124 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #124   +/-   ##
=======================================
  Coverage   95.81%   95.81%
=======================================
  Files           2        2
  Lines         311      311
=======================================
  Hits          298      298
  Misses         13       13

Impacted Files
Coverage Δ

loggo/__init__.py
100% <ø> (ø)
:arrow_up:

loggo/loggo.py
95.79% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Error: Default namespace not found at public/locales/%{lng}/%{ns}.json

Describe the bug
getting error
Error: Default namespace not found at public/locales/%{lng}/%{ns}.json

Occurs in next-i18next version
"next-i18next": "^8.3.0"
Steps to reproduce
with the follwing config
  i18n: {
    defaultLanguage:'en',
    defaultLocale: 'en',
    fallbackLng:"en",
    locales: ['en','de','fr'],
    localeStructure: '%{lng}/%{ns}',
    interpolation: {
      prefix: '%{',
      suffix: '}',
    }
  },
}```

Please provide a reproducible repository.

@isaachinman I was trying just with the test repo, here you go I pushed it here
https://github.com/ahakem/next-i18n-test

I'm having the same error. Is it correct to pass fallbackLng option directly to i18n object?
    i18n: {
        defaultLocale: 'en',
        locales: ['en', 'es'],
        localePath: path.resolve('./public/translations'),
        fallbackLng: 'en',
    },

I'm having the same error. Is it correct to pass fallbackLng option directly to i18n object?
    i18n: {
        defaultLocale: 'en',
        locales: ['en', 'es'],
        localePath: path.resolve('./public/translations'),
        fallbackLng: 'en',
    },

@Selvdrap I'm already using a fallbackLng, but he can't find the path, also I'm using the local path

@ahakem The interpolation value is for actual i18next translations, not for lng and ns in localePath. Check this line. You will need to update your localePath value to use {{lng}} and {{ns}}.

@isaachinman yes I understand that the interprlations for the translations it self but when I do so I get no translations at all and I added the localeStructure based on your comment here
so I'm not sure what is the right configration or how to write the localePath in the right way.


[StoryBook] Improve "Multiple" U-notification story, add control elements.

Improve story allowing to configure and add notifications dynamically.

resolved in https://github.com/myownsumm/u-notifications/pull/14

resolved in https://github.com/myownsumm/u-notifications/pull/14


write and release sphinx documentation

I already see some documentation. How much is it close to your expectations?
I see for example that we are missing at least a small page for the CLI, listing the only available options. Otherwise, it seems ok

Moreover, #17 is stating that workflows already take care of deploying the doc

There is a bug in the documentation build and the doc of functions are displayed correctly.
The documentation is built by readthedoc when a commit is merged on master, I need to learn how to fix that

I have fixed it from the readthedocs.io interface


Search for Action and Milestone should sort on shortName, longName

When testing #15 , actions and milestones are sorted on the number (shortName), but not on the description (longName).  Theoretically the number should be unique and there should only be a primary sort on the number.  But numbers are not unique.  There are 152 (active) numbers that are duplicated.  The saved search results are not intuitive.
Reference item 172

As I wrote in https://github.com/NCI-Agency/anet/issues/171, searches for PoAMs are sorted on shortName ASC. As the shortName is not unique, at least an additional secondary sorting criterion is needed.
So the sort order should become shortName ASC, longName ASC.

Covered by the (now) more generic #171.


VSCode randomly semi-freezes

Issue Type: Bug

Use VSCode for a while
Eventually it will go into a state when you can't type

Sorry that this isn't reliable to reproduce. I have not had this problem with another app that uses the Monaco Editor.
VS Code version: Code - Insiders 1.52.0-insider (dbbf7079b20b3036b3ff5ac2e2106b84dd3c6d66, 2020-12-10T17:20:40.435Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (6 x 2808)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.83GB (0.97GB free)

Process Argv
--crash-reporter-id 746c4b6f-8c89-4002-834d-2cd392012f8b

Screen Reader
no

VM
0%

Extensions (27)

Extension
Author (truncated)
Version

overtype
ada
0.2.0

vscode-markdownlint
Dav
0.38.0

gc-excelviewer
Gra
3.0.40

svg
joc
1.4.2

vscode-insertdatestring
jsy
2.3.0

python
ms-
2020.11.371526539

vscode-pylance
ms-
2020.12.1

jupyter
ms-
2020.12.414227025

typescript-javascript-grammar
ms-
0.0.55

debugger-for-chrome
msj
4.12.11

terminal-command-keys
pet
0.3.0

quicktype
qui
12.0.46

LiveServer
rit
5.6.1

vscode-autohotkey
sle
0.2.2

datapack-language-server
SPG
3.2.0

vscode-nested-tags
vsc
1.7.0

mcmeta
xTe
0.0.1

markdown-all-in-one
yzh
3.4.0

html-css-class-completion
Zig
1.19.0

Can you please follow this wiki - https://github.com/microsoft/vscode/wiki/Performance-Issues and provide us necessary info that can help us in diagnosing the issue.

Here's the process explorer:

PS C:\Users\KAGfa> code-insiders --status

(electron) Sending uncompressed crash reports is deprecated and will be removed in a future version of Electron. Set { compress: true } to opt-in to the new behavior. Crash reports will be uploaded gzipped, which most crash reporting servers support.
Version:          Code - Insiders 1.53.0-insider (c927a8015b9e26bd454d6e293bb0384aa1975d06, 2020-12-18T05:27:48.567Z)
OS Version:       Windows_NT x64 10.0.19041
CPUs:             Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (6 x 2808)
Memory (System):  7.83GB (0.59GB free)
VM:               0%
Screen Reader:    no
Process Argv:     D:\My Stuff\Backups\Discord\Knowledge Base 2020-12-21\Knowledge Base - ≡ƒÿÄStaff - Γ£àreviewed-suggestions [732624340528529540].json --crash-reporter-id 746c4b6f-8c89-4002-834d-2cd392012f8b
GPU Status:       2d_canvas:                  enabled
                  gpu_compositing:            enabled
                  multiple_raster_threads:    enabled_on
                  oop_rasterization:          enabled
                  opengl:                     enabled_on
                  protected_video_decode:     enabled
                  rasterization:              enabled
                  skia_renderer:              enabled_on
                  video_decode:               enabled
                  vulkan:                     disabled_off
                  webgl:                      enabled
                  webgl2:                     enabled

CPU %   Mem MB     PID  Process
    0       76    7356  code-insiders main
    0        2    8568     C:\Users\KAGfa\AppData\Local\Temp\vscode-update-user-x64\CodeSetup-insider-4a875e23d20b64504a818834f3fa4c40adb8d480.exe /verysilent /update="C:\Users\KAGfa\AppData\Local\Temp\vscode-update-user-x64\CodeSetup-insider-4a875e23d20b64504a818834f3fa4c40adb8d480.flag" /nocloseapplications /mergetasks=runcode,!desktopicon,!quicklaunchicon    0        2   14020       "C:\Users\KAGfa\AppData\Local\Temp\is-7VISP.tmp\CodeSetup-insider-4a875e23d20b64504a818834f3fa4c40adb8d480.tmp" /SL5="$660BD2,68694668,827904,C:\Users\KAGfa\AppData\Local\Temp\vscode-update-user-x64\CodeSetup-insider-4a875e23d20b64504a818834f3fa4c40adb8d480.exe" /verysilent /update="C:\Users\KAGfa\AppData\Local\Temp\vscode-update-user-x64\CodeSetup-insider-4a875e23d20b64504a818834f3fa4c40adb8d480.flag" /nocloseapplications /mergetasks=runcode,!desktopicon,!quicklaunchicon
    0      249   15656     window (test.py - Mojira - Visual Studio Code - Insiders)
    0      145   10640       extensionHost
    0       14    3836         electron_node server.js
    0       14    6180         "D:\My Stuff\Code\Thins that help u 2 code code\VS Code Insiders\Code - Insiders.exe" "d:\My Stuff\Code\Thins that help u 2 code code\VS Code Insiders\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=10640
    0       22   11036         electron_node server.js
    0       53   16292         electron_node bundle.js
    0       12   23892         electron_node serverMain.js
    0       17   29608         electron_node eslintServer.js
    0        9   14296       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0       12   19588       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0        7   21556       console-window-host (Windows internal process)
    0        7   22396       console-window-host (Windows internal process)
    0       16   24068       watcherService
    0        6   16308         console-window-host (Windows internal process)
    0        7   32696       console-window-host (Windows internal process)
    0       13   36708       C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0       16   17224     utility
    0       46   21928     shared-process
    0      173   22736     gpu-process
    0        6   23744     crashpad-handler

Workspace Stats:
|  Window (test.py - Mojira - Visual Studio Code - Insiders)
|    Folder (Mojira): 13 files
|      File types: md(3) py(2) code-snippets(1)
|      Conf files:

Nothing suspecting from above info.
Please profile your renderer using this link - https://github.com/microsoft/vscode/wiki/Performance-Issues#profiling-the-renderer-process and share us the profile.

Nothing suspecting from above info.
Please profile your renderer using this link - https://github.com/microsoft/vscode/wiki/Performance-Issues#profiling-the-renderer-process and share us the profile.

Freezes while typing and sporadically unfreezes, this makes it pretty unusable.
Here's the VSCODE info
Version: 1.52.1
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:30:02.420Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.2.0
Extensions:
Go, Flutter, Dart

Freezes while typing and sporadically unfreezes, this makes it pretty unusable.
Here's the VSCODE info
Version: 1.52.1
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:30:02.420Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.2.0
Extensions:
Go, Flutter, Dart

Please profile your renderer using this link - https://github.com/microsoft/vscode/wiki/Performance-Issues#profiling-the-renderer-process and share us the profile.

Please profile your renderer using this link - https://github.com/microsoft/vscode/wiki/Performance-Issues#profiling-the-renderer-process and share us the profile.

Managed to get a profile.
https://cdn.discordapp.com/attachments/740615539340214382/799215104016646154/CPU-20210114T093155.cpuprofile

Managed to get a profile.
https://cdn.discordapp.com/attachments/740615539340214382/799215104016646154/CPU-20210114T093155.cpuprofile

I do not see any suspicious things in the profile
@MMK21Hub It could be also due to an extension - have you checked that?
@jrieken Do you have any other suggestions for the user to follow to know about the perf issue?

I do not see any suspicious things in the profile
@MMK21Hub It could be also due to an extension - have you checked that?
@jrieken Do you have any other suggestions for the user to follow to know about the perf issue?

Profiling is the best but sometimes it is tricky to capture the actual slowness when profiling. I can only recommend to keep trying

Profiling is the best but sometimes it is tricky to capture the actual slowness when profiling. I can only recommend to keep trying

I tried running VSCode in safe mode (code --disable-extensions) and the behavior is the same as when the extensions are enabled. As it is, I can use it for read operations only. Actual interactive operation is not usable anymore.
I attached the JS profile as per in https://github.com/microsoft/vscode/wiki/Performance-Issues#profiling-the-renderer-process
CPU-20210121T064124.cpuprofile.zip

I tried running VSCode in safe mode (code --disable-extensions) and the behavior is the same as when the extensions are enabled. As it is, I can use it for read operations only. Actual interactive operation is not usable anymore.
I attached the JS profile as per in https://github.com/microsoft/vscode/wiki/Performance-Issues#profiling-the-renderer-process
CPU-20210121T064124.cpuprofile.zip

Thanks. I see that spawning at +1.5sec which isn't good. This can happen on macOS BigSur and windows. Passing it to @deepak1556

Thanks. I see that spawning at +1.5sec which isn't good. This can happen on macOS BigSur and windows. Passing it to @deepak1556

I see that spawning at +1.5sec which isn't good.

Well - the freeze happens after the shell has spawned. So there may be two instead of one problem.

I see that spawning at +1.5sec which isn't good.

Well - the freeze happens after the shell has spawned. So there may be two instead of one problem.

Chiming in here to say I'm also getting pauses on big sur with extensions disabled, with a similar looking profiler trace as @jrieken
Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:30:02.420Z)

Chiming in here to say I'm also getting pauses on big sur with extensions disabled, with a similar looking profiler trace as @jrieken
Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:30:02.420Z)

@ucirello @bubba the issue you are facing is tracked at https://github.com/microsoft/vscode/issues/105446 , please follow that for updates. Thanks!
You can check https://github.com/electron/electron/pull/27026 and the corresponding libuv issue for more details on the root issue.

@ucirello @bubba the issue you are facing is tracked at https://github.com/microsoft/vscode/issues/105446 , please follow that for updates. Thanks!
You can check https://github.com/electron/electron/pull/27026 and the corresponding libuv issue for more details on the root issue.

@MMK21Hub do you continue to see the issue with latest insiders 1.53

@MMK21Hub do you continue to see the issue with latest insiders 1.53

@MMK21Hub can you open a new issue with the --status and cpu profile results. Thanks!


Add event to optionally abort closing the SDL2 window

Subscribing to CloseRequested and returning true will abort the close action.  This allows users to provide "are you sure?" dialogs, etc.
This will catch both programmatic Close() calls and explicit user actions (clicking the window close button, Alt+F4, Cmd+Q).
Tested on macOS by manually inserting into NeoDemo: _window.CloseRequested += () => true;

I have wanted this kind of functionality in the past, so this is a good submission. Thanks!
The one thing I find confusing about this is that CloseRequested is an event. This naturally means that you can subscribe many callbacks to it, but that does not make a lot of sense in this case. All of the callbacks will be invoked, but only the last will affect whether the window remains open, which makes it a bit misleading. I'd prefer if the API were exposed in a way that made it obvious that only one callback could be active. As an example:
public class Sdl2Window
{
    public void SetCloseRequestedHandler(Func<bool> handler) { closeRequestedHandler_ = handler; }
}

Will do.

@mellinoe are these changes ok?  Would love to get this in so we can use it on our side. 😅

@swoolcock Yes, looks great now. Thanks for making the requested change, and sorry for the delay.


Adding EnableContentResponseOnWrite to Client level settings

Pull Request Template
Description
This PR adds a new field to the CosmosClient settings to enable/disable Content Response on write operations for Documents. Currently, this needs to be configured for every item request. We can now set this when creating CosmosClient. We can also override this in ItemRequestOptions while calling any Item operation.


[ Enhancement ] Allow secure redis to be supported

Current as of Release 1.3.1, the Redis URL used by Seqera Platform / Connect is controlled by the following 2 locals:

tower_redis_url
tower_connect_redis_url

Investigate the feasibility of exposing a mechanism to change the redis:// prefix to rediss://.

TO DO:

[ ] Verify configured redis URLs are not secured

[ ] Ensure TOWER_REDIS_URL is not prefixed with rediss:// if Seqera Platform is v24.1.0, v24.1.1, v24.1.2, or v24.1.3
[ ] Ensure CONNECT_REDIS_ADDRESS is not prefixed with rediss:// if Connect is v0.7.0.


Bug in the massdownloading of data in eqtransformer

I think I have found a bug in the data downloading.
Here is an example of the issue. Toggle the two lines that define the channel_list variable. The first line works to download all 3 components of GS.ID12.00.HH*. However, the second line does not. It just downloads the HHZ component and not the horizontals. This took me a while to figure out, but it definitely causes problems and does not work as one would think given the tutorial examples.
# We are looking at this earthquake in this code:
# https://earthquake.usgs.gov/earthquakes/eventpage/us6000delq/executive

import os
json_basepath = os.path.join(os.getcwd(),"json/station_list.json")
lon0=-115.136 # [deg] E
lat0=44.4603 # [deg] N
min_lat=lat0-2.5
max_lat=lat0+2.5
min_lon=lon0-3.0
max_lon=lon0+3.0
start_time="2021-02-05 00:07:00.00"
stop_time="2021-02-06 00:08:00.00"

# compare the download results using these two lines (the second would be the example in the tutorial, which does not work).
# channel_list=["HH[ZNE12]"]
channel_list=["HH[ZNE]","HH[Z12]"]

# Create the station list for just GS.ID12
from EQTransformer.utils.downloader import makeStationList
makeStationList(json_path=json_basepath, client_list=["IRIS"], min_lat=min_lat, max_lat=max_lat,
                             min_lon=min_lon, max_lon=max_lon, start_time=start_time, end_time=stop_time,
                             channel_list=channel_list,
                             filter_network=["GM","GD","NP","NQ","RE","UI","UU","SY",  "MB","IE","XP","IW","UM","US","UW"], # skip these networks
                             filter_station=["ID11","ID13","MT04"])

# Download the data in miniseed format
from EQTransformer.utils.downloader import downloadMseeds
downloadMseeds(client_list=["IRIS"], stations_json=json_basepath, output_dir="downloads_mseeds",
                                min_lat=min_lat, max_lat=max_lat, min_lon=min_lon, max_lon=max_lon,
                                start_time=start_time, end_time=stop_time, chunk_size=1,  channel_list=channel_list,
                                n_processor=1)

Is this a bug? Or this behaving as intended?

@dylanmikesell well sometimes even with the same args the downloaded data at two different times might be different. It depends on how busy the API of the data centers are. But I’ll look at this more closely as well. Thanks for reporting this.


Adding support for Entra ID roles as resource in Access Packages or Catalogs

Identity Governance Access Packages allows to assign and manage directory roles. This is currently not covered by EntraOps.
Docs including sample of Graph API calls which needs to be integrated:
https://learn.microsoft.com/en-gb/entra/id-governance/entitlement-management-roles

Something I potentially can help with over the next couple months.


add_reference_concurrently creates "_type" column without explicitly saying polymorphic: true in migration: version 0.19.6

Hello,
I installed online_migration version "0.19.6", I was referencing columns and noticed that this "0.19.6" version creates "_type" although in migration there is no polymorphic: true option passed to "add_reference_concurrently" function.
Migration File

Console Preview

As I installed previous version: 0.19.5
There is no "_type" column added by migration. It is working as you expect.

Hello,
Are you sure you use 0.19.6? It should be fixed currently - https://github.com/fatkodima/online_migrations/commit/a1cece4f1d8a0ceecfdb0d8446f20979e5ce2290

Yes,
I was sure but I checked it again, it did not create "_type" column maybe it was bundling caching issue.
Thanks


Added persistence to Create Idea page

Features:

Added a persistence, uses lodash's debounce function, and only saves when user stops typing.
Saves component state in localStorage, so when person reloads, he gets same thing
On submit, the save is cleared. (TODO: Use API to confirm that submission was successful before removing the save)

VueVueVue!!

nice

Is this a technique we should be using across the app? For instance, is it one that I should use when capturing user input on the Profile page?

@jdmedlock yes you can use it for any page which might require persistence


0x80092012 - The revocation function was unable to check revocation for the certificate

Problem
My corporate networking software replaces certificates for all 443 connections with its own, corporate-signed cert. I don't expect Cargo to work under these circumstances as it's basically a MITM attack, but I'd like to ask for Cargo to give a better error message if that's possible. Currently, it says:
    Updating crates.io index
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `cargo-cache v0.5.1` within 30s)
warning: spurious network error (1 tries remaining): [35] SSL connect error (schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.)
error: failed to download from `https://crates.io/api/v1/crates/cargo-cache/0.5.1/download`

I know the cert is substituted and cannot be verified, which makes me think Cargo should've reported a failure to verify such-and-such certificate, maybe print its basic attributes like O, CN etc. Instead it says there is an unknown error and something in a function. Does that make sense please?
Steps

Connect to my company's VPN network
Clear the Cargo cache
Try to install/build anything with Cargo

Possible Solution(s)
Clearly state that the problem is that the cert cannot be verified due to such and such, print cert's headers?
Notes
Output of cargo version:
cargo 1.46.0 (149022bld 2020-07-17)

Windows 10 Pro, a corporate image with lots of spyware, AV, etc.

Windows is different from other systems where it checks revocation by default, but as you can see this sometimes fails. You can configure Cargo to not check for revocation, however, by setting:
# in .cargo/config.toml
[http]
check-revoke = false

or setting the CARGO_HTTP_CHECK_REVOKE env var to false

Thanks Alex. To clarify, Cargo delegates that check to Windows, and the Windows part of it can fail, so the only option is not to perform the check at all.  Without the check, there is a security risk.  So my only option would be to go for the risk.  Did I get it right?

I don't know if it makes any difference, but as soon as I disable the MITM software (Symantec WSS) or disconnect from the corporate VPN, the revocation error disappears. Presumably, the revocation check still works for the proper certificate. So the check itself works... but depends on the certificate it's asked to check.

Yes this check is being delegated to Windows, and that's where the error is coming from. IIRC Windows can be configured to not do this by default, but I don't remember how off the top of my head. I'm not really the one to comment on the security one way or another, but what I can say is that other platforms (Linux and macOS) don't do revocation checks by default.

Is there any way to improve the error message? For one, it says unknown error which is already concerning, and then on top of that the revocation check could not be performed. Not that the check determined the cert is fine or not, but basically that the check itself is broken in some way. That very well could be hidden behind the Windows API Cargo is using, but just on a chance that better info could be extracted?

We'd have to track down ehre the "unknown error" is coming from to see if we can easily improve it. It's generally always possible to improve it one way or another though! If it's from Cargo or the curl crate we can probably pretty easily fix it, but if it's from curl itself it may be harder.
Most of the certificate interactions, though, happen very deeply within native libraries, an area that Cargo only has so much control over.

I have this issue when behind my work's corporate proxy, and I'm fairly certain this is not a cargo issue.
In my case, the intermediate certificate used by the proxy lists an internal OCSP server, and the OCSP server returns "unauthorized" when attempting to check whether that certificate is revoked. In other words, it's a misconfiguration of the OCSP server.
I've verified that using the following command:
openssl ocsp -issuer .\crates-io-chain.pem -cert .\crates-io.pem -text -url <ocsp_server_url> -no_nonce

This command returns success when used to check the original certificates against the original OCSP server, but returns an "unauthorized" error when checking the proxy certificate against its own OCSP server.

Like the OP, I'm also behind a corporate firewall and have tried a number of different options within VSCode or adding certificates to my machine to no avail. In the end, I implemented @alexcrichton 's solution:

# in .cargo/config.toml
[http]
check-revoke = false

Obviously this is not ideal, but it took me a long time to work out that it was Cargo that was having issues getting the revocation info from my corp environment.

I had this problem, and the correct resolution is to have your network admin exempt crates.io from SSL decryption. Doing so will stop the error because there is no more MITM'ing and preserves revocation checks for better sec.


Add a SkipStructField config option for skipping struct fields.

This is useful for comparing structs that expose non-deterministic
internal details as public fields, such as XXX_* in the Go protobuf
implementation.

Unfortunately, Go reflection is not really the correct thing to use for protobufs, so pretty is not really designed for diffing them.  I tend to think that package cmp does a better job than pretty for most use-cases now, but especially for protobufs: it provides a protocmp library that uses protoreflect, so it can actually do a proper proto-semantic comparison.


Release RC_Triangulum-2021-07-22

Staging
Release notes: https://github.com/DataBiosphere/duos-ui/releases/tag/staging_RC_Triangulum-2021-07-22
Deployment: https://duos.dsp-duos-staging.broadinstitute.org/
Production
Release notes: https://github.com/DataBiosphere/duos-ui/releases/tag/production_RC_Triangulum-2021-07-22
Deployment: https://duos.broadinstitute.org/
Important Changes
DUOS-1339: Bug fix for SO dropdown on DAR Application (#1179)
DUOS-1349: Add googleapis.com to CSP (#1182)
DUOS-1350: Omit unnecessary info on user update (#1183)

Release complete


Custom Log Format

Describe the solution you'd like:
I would like to be able to customize the logs that are written onto self.logfile.
I would like to change the ":{}: [{}] ({}) | {} | {}" format by passing a string onto a LoggingObject() class.

Implemented in b921cdb


[mgmt] hybridcontainerservice release

https://github.com/Azure/sdk-release-request/issues/4739

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-hybridcontainerservice


⚠ ClamAV has degraded performance

In a91c89b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 195 ms

Resolved: ClamAV performance has improved in df52d51.


Adding new meal prompt

Adding new meal prompt (survey_client & admin_client)

Merged manually due to massive amount of conflicts


Add HTTP headers

PacketGen targets at parsing and generating binary protocols. And there is already plenty of ruby  HTML parser which do the job, and better than PacketGen will.
So, this will not be done.

@sdaubert Forgive me if I don't know what I'm talking about: but, I think targeting something like HTTP 1.1 would be an awesome feature for packetgen!
I could even try to implement it myself. Not terribly sure how successful I'd be / don't know everything about it. But I'd love this feature which some other parsers like nDPI and Wireshark have implemented to some extent.
Simple HTTP 1.1 Parser Example
# very rough test, maybe won't get you an HTTP packet that parseable if it's HTTPs, right?
http_packet = PacketGen.capture(iface: 'eth0', filter: 'tcp and dst port 80', max: 1)

# http header information to_hash
http_header = http_packet.body.strip.split($/).drop(1).inject({}) do |h, l|
  k, v = l.split(": ", 2)
  h[k.downcase.gsub("-", "_").to_sym] = (v.strip unless v.nil? || v.empty?)
  h
end

http_header[:host]
# =>"www.tcpdump.org"

http_header[:user_agent]
# => "I like waffles, and ruby!."

I understand if you still don't want to do this. 😅  But I figure I'd at least say I'd like this feature. Don't think we need to deal with parsing HTML or JSON or XML for people since that's usually what the http headers are helping transport. But, it'd be nice to easily identify http packets / have shortcut methods to its headers.
I appreciate all your efforts on the protocols you've implemented thus far! 👍

@picatz If you want to do it, don't hesitate. I rejected this proposal because I don't want to do it, but if someone else wants, that's not a problem.
But, if you do it, don't forget to also make generator part.
And, please, don't forget specs.
What do you think about that?

@sdaubert This could be a good compromise. 👍
Truthfully, I am not fully confident in how to implement this yet.
I will probably have some more time to work on this tonight / tomorrow. I will have to go over your previous commits of adding other protocols to see how it works. And then go back over the wiki to understand adding a custom protocol. It will be good experience to dive into it more.
Hopefully I ( or @KINGSABRI 😉 ) can figure this out, it'd be really cool!

@picatz the wiki won't help, as it explains how to implement a binary protocol. I thin you will have to start from a blank sheet.
Nevertheless, you have to implement a minimal set of methods to be compatible with Packet#parse:

packet attribute,
.protocol_name and #protocol_name,
#method_name,
#parse?,
#packet=, only if you need #added_to_packet,
#read, which really decodes header.

You may have a look at Header::ASN1Base.
You also have to implement #to_s to encode header.
I think your big job will be to write #read and #to_s, others methods should be copied from Header::Base or Header::ASN1Base.

@sdaubert I am working on the HTTP 1.1 implementation today.
Right now I've got a really simple implementation going like so:
module PacketGen
  module Header

    # An HTTP/1.1 packet.
    # @author Kent 'picat' Gruber
    class HTTP < Base
      define_field :all, Types::String

      def read(str)
        binding.pry
        self[:all] = str
        self
      end

    end

    self.add_class HTTP
    TCP.bind_header HTTP, dport: 80, sport: 80
  end
end

I understand this isn't done by any means. But, I'm working on it 👍
Binding the HTTP Header
I think I need to figure out how to bind to a TCP header correctly.
Because right now I'll end up picking up non-HTTP (TCP) requests leading up to the actual HTTP request or something like that. I think I need a ProcBinding to sort this out?
I dunno, but I'll figure it out 😹

Playing around with it some more -- hopefully all today. But I wanted to give an update just in case @KINGSABRI also wanted to work on this, so I wanted to share:
HTTP REQUEST
This seems to be a decent-ish, simple HTTP Request TCP header binding using a Proc.
TCP.bind_header HTTP, body: ->(b) { /^(CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PUT)/ =~ b }

And, for just a bit of clarification, I do plan on breaking down the actual HTTP request/response headers. It would probably be to end up breaking them up into their respective types instead of just one http header type?
I'm just using the self[:all] = str for the #read method to act as a simple catch-all because it's easier to do that for now.
I'm also not terribly sure on what to name the header. Maybe just call it HTTP and then, if http/2 was needed/added later, it could be HTTP2? 🤔
( Sorry if these thoughts are a little scattered, since I'm still forming them myself. )

TCP.bind_header HTTP, dport: 80, sport: 80

That should work, i.e. it should parse a HTTP header when TCP dport or sport is set to 80.

I do plan on breaking down the actual HTTP request/response headers.

You may create a base HTTP class which demultiplex on parsing to specialized classes (by example HTTP::Request and HTTP::Response). Have a look at EAP or Dot11 for examples.

@sdaubert Maybe this would be better for the request header type:
# when dport is port 80 and body is likely parseable
TCP.bind_header HTTP, , dport: 80, body: ->(b) { /^(CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PUT)/ =~ b }

I don't want to catch all of the stuff that hits port 80 since some of it isn't sending any HTTP data to parse, just doing your typical TCP stuff to connect from what I can tell.
HTTP Demultiplex
I'll try to follow what you did with EAP or Dot11, like you said. 👍

@sdaubert, @KINGSABRI I think you're gunna like this, even if I'm not done:
---- PacketGen::Header::HTTP::Request --------------------------------
          String       method: "GET"
          String         path: "/manpages/pcap_get_selectable_fd.3pcap.txt"
          String      version: "HTTP/1.1"
      HTTPHeaders      headers: {:host=>"www.tcpdump.org", :user_agent=>"android-async-http/1.4.4 (http://loopj.com/android-async-http)", :accept=>"*/*"}

I like the idea of presenting the headers as a hash. It feels the most natural thing to do in pry.
Also...
packet.http_request.to_s
# => "GET /manpages/pcap_get_selectable_fd.3pcap.txtHTTP/1.1\r\nHost: www.tcpdump.org\r\nUser-Agent: android-async-http/1.4.4 (http://loopj.com/android-async-http)\r\nAccept: */*\r\n\r\n"

So, I'm thinking I'm going to be able to do this! 🤘

Unnecessary Update

Fight for 20 minutes with my code. 😟
Realize my bpf filter is set to just look for outgoing requests. 📤
Realize I should have a snack. 🇭🇺
Haz snacked. 🍬
Ready to get the HTTP::Response class knocked out. 😼
Should actually commit something to my fork. 🤔
Yolo 😹

@sdaubert How do we ( or, can we ) handle streaming responses in PacketGen?
I can do something like just match for the first portion of a streaming HTTP response from a server. But, if I want to identify each following packet in the stream, is there an easy way to do this?

I guess don't really mind....
But, it won't serialize everything in a streaming HTTP response. I guess it would require PacketGen to be something like a stateful packet parser and be able to follow the different streams that can happen when parsing -- which could be out of scope / or be a separate project maybe?
HTTP Response Example
---- PacketGen::Header::HTTP::Response -------------------------------
          String      version: "HTTP/1.1"
          String  status_code: "200"
          String  status_mesg: "OK"
      HTTPHeaders      headers: {:date=>"Sun, 12 Nov 2017 23:14:02 GMT", :server=>"Apache/2.4.10 (Debian)", :last_modified=>"Sun, 22 Jan 2017 06:52:58 GMT", :etag=>"\"d17-546a9554bc680\"", :accept_ranges=>"bytes", :content_length=>"3351", :content_type=>"text/plain"}
          String         data: "PCAP_GET_SELECTABLE_FD(3PCAP)                    PCAP_GET_SELECTABLE_FD(3PCAP)\n\nNAME\n       pcap_get_selectable_fd  - get a file descriptor on which a select() can\n       be done for a live capture\n\nSYNOPSIS\n       #include <pcap/pcap.h>\n\n       int pcap_get_selectable_fd(pcap_t *p);\n\nDESCRIPTION\n       pcap_get_selectable_fd() returns, on UNIX, a file descriptor number for\n       a file descriptor on which one can do a select(), poll(), or other such\n       call to wait for it to be possible to read packets without blocking, if\n       such  a  descriptor  exists, or -1, if no such descriptor exists.  Some\n       network devices opened with pcap_create() and pcap_activate(), or  with\n       pcap_open_live(), do not support select() or poll() (for example, regu-\n       lar network devices on FreeBSD 4.3 and 4.4, and Endace DAG devices), so\n       -1 is returned for those devices.\n\n       Note  that  a  descriptor  on which a read can be done without blocking\n       may, on some platforms, not have any packets to read if the packet buf-\n       fer  timeout  has  expired.  A call to pcap_dispatch() will return 0 in\n       this case, but will not block.\n\n       Note that in:\n\n              FreeBSD prio"

Yooooo I think I did itttttt.
HTTP Request Example
---- PacketGen::Header::HTTP::Request --------------------------------
          String       method: "GET"
          String         path: "/manpages/pcap_get_selectable_fd.3pcap.txt"
          String      version: "HTTP/1.1"
      HTTPHeaders      headers: {:host=>"www.tcpdump.org", :user_agent=>"android-async-http/1.4.4 (http://loopj.com/android-async-http)", :accept=>"*/*"}

HTTP Response Example
---- PacketGen::Header::HTTP::Response -------------------------------
          String      version: "HTTP/1.1"
          String  status_code: "200"
          String  status_mesg: "OK"
      HTTPHeaders      headers: {:date=>"Mon, 13 Nov 2017 03:03:41 GMT", :server=>"Apache/2.4.10 (Debian)", :last_modified=>"Sun, 22 Jan 2017 06:52:58 GMT", :etag=>"\"d17-546a9554bc680\"", :accept_ranges=>"bytes", :content_length=>"3351", :content_type=>"text/plain"}
---- Body ------------------------------------------------------------
 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
----------------------------------------------------------------------
 50 43 41 50 5f 47 45 54 5f 53 45 4c 45 43 54 41  PCAP_GET_SELECTA
 42 4c 45 5f 46 44 28 33 50 43 41 50 29 20 20 20  BLE_FD(3PCAP)
 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
 20 50 43 41 50 5f 47 45 54 5f 53 45 4c 45 43 54   PCAP_GET_SELECT
 41 42 4c 45 5f 46 44 28 33 50 43 41 50 29 0a 0a  ABLE_FD(3PCAP)..
....

Working on the PR now to hopefully ensure it merges without too many problems.
# capture some http packets
http_packets = PacketGen.capture(iface: 'eth0', filter: 'tcp and ip host <IP_ADDRESS> and port 80', max: 10)

For a simple test:
curl http://www.tcpdump.org/manpages/pcap_get_selectable_fd.3pcap.txt

Get yo'self a HTTP::Request header.
packet = http_packets.find { |p| p.http_request }
# check data
packet.http_request.version
# => "HTTP/1.1"
packet.http_request.method
# => "GET"
packet.http_request.path
# => "/manpages/pcap_get_selectable_fd.3pcap.txt"
packet.http_request.headers
# => {:host=>"www.tcpdump.org", :user_agent=>"android-async-http/1.4.4 (http://loopj.com/android-async-http)", :accept=>"*/*"}
# edit the data?
packet.http_request.method = "PUT"
# http headers as hash
packet.http_request.headers[:host] = "www.google.com"

Get yo'self a HTTP::Response header.
packet = http_packets.find { |p| p.http_response }
# check data
packet.http_response.version
# => "HTTP/1.1"
packet.http_response.status_code
# => "200"
packet.http_response.status_code
# => "OK"
packet.http_request.headers
# => {:date=>"Mon, 13 Nov 2017 03:03:41 GMT", :server=>"Apache/2.4.10 (Debian)", :last_modified=>"Sun, 22 Jan 2017 06:52:58 GMT", :etag=>"\"d17-546a9554bc680\"", :accept_ranges=>"bytes", :content_length=>"3351", :content_type=>"text/plain"}

Will go about fixing the problems @sdaubert pointed out in my PR https://github.com/sdaubert/packetgen/pull/64 as soon as I can. Hopefully by this weekend. 👍

Working on the problems today. Hopefully I can get them all sorted out. 👀

To keep this section updated as well, for whoever may be interested. Closed https://github.com/sdaubert/packetgen/pull/64 and then opened https://github.com/sdaubert/packetgen/pull/65 🙈

Fixed by #65