Update Get-Recipient.md

There are some discrepancies in this article that are leading to customer escalations -

Filter parameter uses OPATH filters instead of LDAP. There is a reference to filterable properties in Exchange server content which is not accurate for EXO. There are some properties like ExternalDirectoryObjectId which cannot be used and others like ExchangeGUID that don't accept wildcards. There should be reference to this article for most up-to-date supported attributes for EXO - https://docs.microsoft.com/en-us/powershell/exchange/filters-v2?view=exchange-ps.

RecipientPreviewFilter parameter doesn't use OPATH, it uses LDAP. The information provided in this parameter section is incorrect. Query must be in different format (unable to find official docs content on LDAP filtering), but an example would be -

(&(mail=*)(msExchArchiveGUID=*))

LDAP uses the ActiveDirectory name of the property and different operators. Also allows more wildcard options than OPATH.

Docs Build status updates of commit 6fe9afe:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-Recipient.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@kellybos, be advised that the Filter parameter with this exact same description exists in 29 other Exchange cmdlet reference topics, so I used my edited version of your update in those other descriptions.

Docs Build status updates of commit e3002d5:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-Recipient.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 15f0c89:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-Recipient.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit e55db85:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/Get-Recipient.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


externalize pronouns into configuration

Pronouns are defined in a Pronoun enum but it's likely that different MUDs will want to support more or fewer or different pronouns. It would be helpful to define them in a file and load the file at startup so it didn't require a code change to modify them.

Not going to do this for now.


Video playback bug in Electron

Hi,
I'm building an app with Electron and Videojs.
When I test my app in browser with a simple Apache web server, everything works fine, I have no problems.
But when I build my app within an asar file and run it with Electron, the video will play but I'll got the following error when I try to close the video or advance the video (because I change the currentTime) in the electron console:
VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) The video playback was aborted due to a corruption problem or because the video used features your browser did not support.
I also got this error coming from linux:
[24548:0825/114251:ERROR:ffmpeg_video_decoder.cc(289)] Error decoding video: timestamp: 28716567 duration: 16667 size: 30781 side_data_size: 0 is_key_frame: 0 encrypted: 0 discard_padding (ms): (0, 0)
[24548:0825/114251:ERROR:render_media_log.cc(18)] MediaEvent: PIPELINE_ERROR pipeline: decode error
And then the video will show an error message with the same text and won't play. I can still close the video and play it again.
Here is some informations about the video:
Dimensions: 1920*1080
Codec: H.264
Framerate: 25 frames per second
Bitrate 5009
I've test with lighter videos and the bug don't reproduce. How can I fix this ?
You can find a demo repo here. Don't forget to add 1920*1080 mp4 videos.

I think this bug is linked to the asar file in which I bundled my app.
I've tried to put directly the files of my app in resources/default_app folder of prebuilt binaries, and then I don't get the bug I described before.
I don't know why, but try not bundle your app in asar file if you're concerned. Hope that will help


Cherry pick some patches to dunfell

Hi, maintainers:
Could we have these two fixes for dunfell?

Hi, maintainers:
Could we have these two fixes for dunfell?

LGTM, and the only failing test is the flakiest one. @aodukha do you have any objections or comments here?


Implement auto-assigned ticketing

This PR changes the "file a ticket" link so that it automatically assigns the user's ticket to the writer who is covering the docs in that directory.
CC @sanscontext @joaofnfernandes @mstanleyjones @londoncalling

Deploy preview processing.
Built with commit edf553f89235eb2a677a2c53fed018eeb3a56489
https://app.netlify.com/sites/docker-docs/deploys/582501ba66867431d054da45

LGTM, things under engine seem to be assigned to me.
Note that this might break as we reorg to be less org-chart organized.

LGTM

@joaofnfernandes @sanscontext Addressed feedback, WDYT?

Feedback handled, thanks guys!


xgb.cv seems to ignore early_stopping rounds

Hi,
I am using xgb.cv and it works great. However today I noticed that if I want to use the early_stopping_rounds, it is not obeyed. My guess is that algorithm is somehow using the train scores instead of the test scores to decide when to stop. But with my tests I could not conclude this with certainty.
Below I include a reproducible example, so you can see what I have tried, and that score (binary cv error) seems to be decreasing still, and it is stopped pre-maturely.  Any help with this would be highly appreciated.
I installed the latest version of xgboost from conda-forge (0.81).
import numpy as np
import pandas as pd
import xgboost as xgb
from sklearn import metrics
from sklearn.datasets import load_breast_cancer
from sklearn.model_selection import train_test_split

# Load the data
X, y = load_breast_cancer(return_X_y=True)

# Split in train and test sets
Xtrain, Xtest, ytrain, ytest = train_test_split(X, y, test_size=0.1, random_state=42)

# Add them into the format for xgboost native API
dtrain = xgb.DMatrix(data=Xtrain, label=ytrain)
dtest = xgb.DMatrix(data=Xtest, label=ytest)

# Initial guess of the parameters
params = {'learning_rate': 0.1,
          'gamma': 0,
          'max_depth': 5,
          'min_child_weight': 1,
          'subsample': 1,
          'colsample_bytree': 0.5,
          'colsample_bylevel': 1,
          'colsample_bynode': 1,
          'reg_alpha': 0,
          'reg_lambda': 1,
          'tree_method': 'auto',
          'scale_pos_weight': 1,
          'objective': 'binary:logistic',
          'eval_metric': ['error'],
          'seed': 42,
#           'nthread': 4,
          'silent': 1,
         }

# Just checking that this works, and reasonably fast so, so we can test this thing in action.
cv_res = xgb.cv(params, dtrain, num_boost_round=1000, nfold=5, stratified=True, maximize=False,
                early_stopping_rounds=10, verbose_eval=False, show_stdv=False, seed=42, shuffle=False)

print(cv_res['train-error-mean'].min(), cv_res['test-error-mean'].min())
print(cv_res)

@JovanVeljanoski You should set verbose_eval to True and see the progress of test-error. When I ran your example, training ran up to 26 and the CV table display the 17th iteration, the best iteration.
In the documentation, note that the last entry of the table returned by xgboost.cv always corresponds to the best iteration.


Support 0 effective reserve weights

App fails to support V2 pools with no reserve weights, expecting data to be there that won't be and throwing.

@yudilevi Let me know when we've got an empty pool on ropsten.

@Velua the latest version doesn't do that so you'll need to emulate it (or create a new pool and not even activate it)

Btw, if the pool isn't activated, we shouldn't show it - so need to make sure that's the case for v2 (regardless of the weights).


add yaml file for goodtables validation

I've added a goodtables.yml file in order to tell Goodtables.io to look only into datapackage.json and ignore public-body-schema.json (which is just the table schema part).

@augusto-herrmann
It was a datapackage bug (regarding the schema). Now it's fixed. Also, I tried a new PR and it validated it
So closing this PR because it seems goodtables.yml is not needed


Modify the structure and functionality of Reconverge's data requests

Change Log, PeriodicTimeSeries to ReqRange in enum MessageCode. So when requesting data for analysis, REconverge use MessageCode::ReqRange.
remove RequestTimeSeriesRange structure. So when requesting data for analysis, REconverge use RequestRange structure.
Change the data types that send_raw_events and receive_raw_events send and receive to Vec<(i64, String, Vec<u8>)>.

related : #32

Codecov Report
Patch coverage: 50.00% and project coverage change: -0.09 :warning:

Comparison is base (81f5f07) 43.95% compared to head (96331d5) 43.86%.

:exclamation: Current head 96331d5 differs from pull request most recent head 2b8f456. Consider uploading reports for the commit 2b8f456 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #43      +/-   ##
==========================================
- Coverage   43.95%   43.86%   -0.09%
==========================================
  Files          11       11
  Lines         496      497       +1
==========================================
  Hits          218      218
- Misses        278      279       +1

Impacted Files
Coverage Δ

src/ingest/network.rs
5.98% <ø> (ø)

src/publish/range.rs
11.76% <0.00%> (-0.74%)
:arrow_down:

src/publish.rs
82.03% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


TestSidecarTaskSupport e2e test case fix for custom base image

Changes
This PR resolves #1253 TestSidecarTaskSupport e2e test. When a base image of nop contains the command sidecar is executing, sidecar is not terminated. The detailed cause is already discussed at #1347. I faced the exact same issue when I used registry.access.redhat.com/ubi8/ubi:latest as base for nop image. There is already a merged PR #1464 which documents this behavior.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[X] Commit messages follow commit message best practices
[X] Release notes block has been filled in or deleted (only if no user facing changes)

Release Notes
TestSidecarTaskSupport e2e test will execute successfully when base image of nop contains the command sidecar is trying to execute

/kind bug

/ok-to-test

/retest

We need this fix to be able to use custom base images guided by policies. Also it's a fairly simple fix for test case & should not impact existing working. Do let me know if there are any questions around.


Web Components support?

Are there any plans to make it possible to just apply this to a single web component without changing any global state? For example with https://lit.dev/ ?

Not yet. In general, ShadowDOM is not supported (I need to add that to the list!)

Updated the README. Gonna leave this open in case anyone has an idea how to handle ShadowDOM without doing something horrible.

Thanks. Yeah I guess that would require quite a few changes. The API could be something like (unless I'm missing something):
import {unsafeCSS, css, html, LitElement} from 'lit';

export class Simple extends LitElement {

    static get styles() {
        this.qc = new QC();
        return unsafeCSS(this.qc.transpileStyleSheet(css`something`.toString()));
    }

    connectedCallback() {
        super.connectedCallback();
        this.constructor.qc.connect(this.shadowRoot);
    }

    disconnectedCallback() {
        this.constructor.qc.disconnect(this.shadowRoot);
        super.disconnectedCallback();
    }

    render() {
        return html`bla`
    }
}

For web components, we typically use constructable stylesheets which would add another layer of complexity. Supporting web components would be a huge win though.

Is anyone working on it? if not is there a general "plan of attack"?
would a transpileStyleSheet method be something to look into?
For lit specifically, I think there it will need another method before in order to convert constructible stylesheets and css results into a string...
besides that @lazka suggestions could work right? or is there more to take into account besides a mutation observer and converted css rules?
hmmm thinking about it... lits styles are "static" but I assume those styles will need to be updated whenever the mutation observer "fires" 🤔

Ping !

Thank you for your issue!
As of the latest version (currently in alpha), Shadow DOM is unfortunately not supported yet, but we'd gladly consider PRs.
Generally speaking, I don't think we'd want to expose and force you to use non-standard APIs and hooks to get things working though. Instead, I think the approach we'd like to see would e.g. monkey patch Element.attachShadow() in order to subscribe to mutation events on shadow trees, and process any <style> nodes inside appropriately.

@devknoll monkey patching Element.attachShadow() seems to work well however, the biggest hurdle I am running into is that the CSS_Object_Model does not have the CSSContainerRule yet.

When the CSS text is passed in via replaceSync it is simply "dropped" and never makes it to the adoptedStyleSheets

https://developer.mozilla.org/en-US/docs/Web/API/CSS_Object_Model
any thoughts/ideas around this?

@devknoll Think I may have it sorted, update PR now.

We've moved the polyfill to maintenance mode and aren't currently considering additional features. For Web Component + Shadow DOM support, I'd encourage you to continue to follow @Marshal27 who was working on support for this in #57.

Posting the link here for posterity.
https://github.com/Marshal27/shadow-container-query-polyfill


FE: transfers should show transaction addrs + links

As a crypto native person I am expecting a familiar crypto expereince, centered around transaction numbers and etherscan links.
In that mindset though, right now the FE is a little unsettling -- it is a click and pray and doesn't provide cryptonative feedback.
It would be assuring for this persona to have transaction links in toasts or something. Also, perhaps a transaction log page.

added https://github.com/webaverse/webaverse.com/compare/b40dda6a55a9...07216fbb8958


Migrate Swift 3 Darwin for Coder/Archival

Brings NSCoder and NSKeyed{A,Una}rchiver to Swift3 compliant API.

@swift-ci please test and merge


Is this still maintained?  autorun() isn't on publish anymore...

It appears the Meteor.publish() has removed the undocumented this.autorun() function.  This is the case for meteor 1.10 at least.
Any workaround?

This is maintained. this,autorun() was never provided by Meteor, but is by this package.


[NEW]: Luxury cars seized from 23-year-old 'Crypto King' as investors try to recoup millions

Date
2022-09-20
Description
Luxury cars seized from 23-year-old 'Crypto King' as investors try to recoup millions
Links
https://www.cbc.ca/news/canada/toronto/luxury-cars-seized-crypto-king-investors-try-recoup-millions-1.6583982
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
Harry Bekkema
Personal link
No response

Thanks! https://web3isgoinggreat.com/?id=investors-seek-to-recoup-around-35-million-from-canadian-crypto-king-in-his-20s


WIP: watchAllNamespaces

Implemented a flag, which allows to watch to changes in all namespaces.

I thought about this a bit longer and going to test my changes first. I will close this and reopen, if neccessary.


[visionOS] Add 2.2

visionOS 2.2 released today
See https://support.apple.com/en-us/100100 and https://support.apple.com/en-us/121845
Note that https://support.apple.com/en-us/121164 isn't yet listing v2.2

Unsure if this means visionOS 1.3 is EOL / End of Security Support?


[ROCm] Adding ROCm support for the reduction ops

This PR adds ROCm support for the reduction ops
The changes in this PR are mostly trivial, please review and merge.
Notes:

ROCm does not have support for complex datatype for some BLAS operations. As a consequence you will see #ifdef GOOGLE_CUDA around code related to complex datatype
This PR merge (https://github.com/tensorflow/tensorflow/commit/41c36223dcd265603ca6916fec0a88016eb9abaa#diff-dfb288ce4a5f0ff51ccd12df2c86edac) seems to have accidentally undone ROCm support for the where op. The second commit in this PR, re-enables the ROCm support for the where op. It is included as a part of this PR, because ROCm support for where op is required for the --config=rocm build to complete, when ROCm support for reduction ops is also enabled.

@tatianashp @whchung @chsigg

@rthadur , I will push out a rebase shortly to resolve the merge conflict.

rebase done.
@chsigg , please re-approve...thanks

@rthadur
this is the 3rd of 4 PRs that seem to be stuck in the merge pipeline.
Please let me know if there is anything that needs to be done on my end.
thanks
deven

@rthadur
this is the 3rd of 4 PRs that seem to be stuck in the merge pipeline.
Please let me know if there is anything that needs to be done on my end.
thanks
deven

trying to pull this in again , thank you

@deven-amd there are some internal test failures happening for this change , @chsigg can you please help to resolve those ?

@rthadur @chsigg gentle ping. thanks.

@chsigg while we have your attention, can you please also propose next steps for this PR?

@chsigg gentle ping.


currently ignores escaped characters.

further playing around with this library, it seems that you're not correctly treating escaped backslashes (\) and curly braces ({ and }) correctly, they're not coming up as text, but either control or group types.

Do they not appear in the output at all?

At the low-level tokenization level, escaped backslashes and curly braces are treated as other control symbols / words, so \{, \par, \ldblquote, \someRandomThing are all emitted as type CONTROL, as technically they are, and it's up to the higher level stream (DeEncapsulate as an example) to interpret these special control symbols / words as text.
It would be possible for the tokenizer to emit these special control words as text, but then it would need knowledge about the meanings / symantics of specific control words. I wanted to keep the tokenizer just focused on the syntax, so I left this symantic interpretation as the responsibility of a higher level.
I'm willing to listen to any arguments against this, however. If you're using just the tokenizer and not the de-encapsulater, it may be a bit too low-level... perhaps there is room for another layer in between that does more symantic interpretation but isn't focused solely on de-encapsulation.
Please let me know if you have an example of slashes or curly braces not coming out as text through the DeEncapsulate layer.


Add CMAKE flag for disabling unifurcation sanitization

Following a discussion with @mgeplf the other day, I think it may be worth it to temporarily add a CMAKE flag to disable the unifurcation sanitization to be able to easily work with circuits that already have them (and until the edges and morphologies in those circuits get updated).
What do you think @mgeplf ?

I've been on the fence about this for a while - having a mode where the morphology is represented exactly it is on disk would be useful (ie: no sanitization) but the problem is that we need to take this pain, since some of the representations aren't compatible with single children - namely SWC.
As such, this is a can of worms I'd prefer not opening at this point.  However, I'm open to being convinced.  What do you think @wizmer?

Allowing unifurcations is a bit dangerous in the context of morphologies. I am not sure what the impact is for neuronal functionality, but there are issues associated to structural analysis. Namely, some file formats (SWC) cannot support unifurcations. Therefore, the same cell in different formats (SWC, ASC, H5) will have different section indexing (as well as different total number of sections and all related measurements). So all analysis, will depend on the file format. This issue breaks continuity and consistency for biological datasets, and from our point of view it is considered a reconstruction error that the labs need to correct before we accept their data.

A bit in the continuity of Lida's comment. I think not correcting the unifurcation is just delaying the point of failure later in the pipeline. We don't really know how the various software behave with unifurcation so it's a bit problematic. And yes, the fact that it creates a mismatch in section ID between SWC and ASC/H5 is also problematic.
The problem is that we have been building circuits with unsanitized data in the past. We need to take actions internally so that it does not happen again. I'll try to think about it on my side, I don't have any solution right now.

To give you a bit of context: I'm working on a way to use MorphIO for morphology loading (to support H5 but also ASC/SWC). For me this would be just temporary, for "read" purposes only, and it would be set to False by default, like if you know you are doing simulations on a circuit with unifurcations, then you set up your MorphIO like that so you can use the new solution.

Disabling unifurcation is a feature that has been asked multiple times so I can't really ignore it. However, I think it is a double edge sword, since it is just postponing the problem.
For that reason I will create a branch with an additional opening flag: no-sanitize
However I do not plan to merge this branch into master at any point. Let's consider this branch only useful for checking things.

The branch is available there:
https://github.com/BlueBrain/MorphIO/tree/no-sanitize
auto m = morphio::Morphology("sample.asc",  options=morphio::NO_SANITIZE);

Allows you to open the file without any sanitization.
This means, it does not merge unifurcations but it also does not add missing duplicate points (ie. the first point of a section should in principle be the last point of the parent section).

Thank you @wizmer

section mapping can be got with usual MorphIO:
def _get_merged_section_ids_map(m: Morphology):
    annotations = [annotation for annotation in m.annotations if
            annotation.type == AnnotationType.single_child]
    original_section_num = len(annotations) + len(m.sections)
    merged_section_ids_map = OrderedDict({i: i for i in range(original_section_num)})
    merged_sections_annotations = []
    for annotation in annotations:
        merged_sections_annotations.append(annotation)
        merged_id = annotation.section_id
        for i in range(merged_id, len(merged_section_ids_map)):
            merged_section_ids_map[i] -= 1
    return merged_section_ids_map

You will get the mapping from the previous sections to the new ones and the previous sections can be accessed via m.annotations.

FYI: I had some issues with this branch because I was going back and forth from immutable to mutable (since some data is only accessible through the mutable API - e.g. section_types).
So to cut things short I created another branch that simply doesn't do sanitisation whatsoever. Available here:

https://github.com/BlueBrain/MorphIO/tree/unifurcation

Will work with that for the time being.

There is also a feature that sanitization does not work on h5 morphologies prior the latest 2.3.8 version. With 2.3.7 you can load h5 morphology and it won't be sanitized. The PR for that is https://github.com/BlueBrain/MorphIO/pull/181.

This should really have been an opt-in change, IMO. I'm still fixing fallout from this in our checks and unit tests. Rather than changing behavior for old circuits and morphologies, couldn't we have just generated "proper" ones going forward, with an option to read in old morphologies without the unifurcations?

@mgeplf @matz-e, do you think it is (temporarily) worth having this? If yes, change would be fairly straightforward (sanitization opt-out - spack driven). If not, we can close this ticket.
cc: @wizmer

To be resurrected if needed.


Add disableAutoscroll

Useful when dragging outside list to drop somewhere else. Otherwise list would continue scrolling.

Would you mind rebasing your PR? Looks good otherwise

Done

Thank you! Will go out with the next release

i met the same promble


[INT] Replaced vue-clipboard2 library with clipboard-polyfill

Summary
Fixes #9536

Replaced vue-clipboard2 library with clipboard-polyfill as recommended by @nwmac.
clipboard-polyfill was chosen because it is supported by older browser versions. In the future, this library is unlikely to continue being maintained and should be eventually replaced by navigator.clipboard.writeText(...)
Occurred changes and/or fixed issues

Replaced all uses of $copyText with a new function. Everything that needs to copy to clipboard is affected
Technical notes summary

Areas or cases that should be tested

Verify that the following copies content to the clipboard

Go to 'Cluster management' -> select a cluster -> click 'Copy KubeConfig to Clipboard'
Go to 'Users & User administration' -> 'Create' -> 'Generate a random password' -> Copy
Harvester -> Virtual machine image -> Copy image URL
First time login -> Both commands should be copied to clipboard on click.
Any other areas that allow copying to clipboard

Areas which could experience regressions

There should be no change in the behaviour.
Screenshot/Video

Have you tried to merge all the components into one and replace the markup with the component? It is so inconvenient to have it in so many places and the part of the migration would include at least to try to reduce the number. If it turned complex we may obviously deal in a separated issue, but would be great if you could create it so you can add directly there the report. E.g. the style is different, so we put a screenshot of the 2 versions.

@cnotv sorry, which markup are you referring to?

@cnotv sorry, which markup are you referring to?

The markup in shell/components/form/Password.vue, although I remembered just a moment after that we have already an issue for that, so forget what I say. Sorry 🙇


Add Transfer list

Short Description:
Fixes:

Change pokemon.json, items.json to relative so we can call pokecli from anywhere in cli
Add feature: Transfer list (Transfer all of these pokemons regardless their CP)

Thanks for the PR.


RightOn Host: Create New Screens

Build out the UI for these 3 new screens that were added to the RightOn Host flow.

2022-09-17: UI done, need to know about states to properly hook them up


feat(endpoint): Added controller to enable endpoint

PR related to this trello task --> https://trello.com/c/24GJsY5h

:tada: This PR is included in version 1.3.0 :tada:
Your semantic-release bot :package::rocket:


find() raises error when unable to find any files matching, expected to return empty array.

Node version (or tell us if you're using electron or some other framework):
node v7.4.0 and v5.9.0
ShellJS version (the most recent version/Github branch you see the bug on):
^0.7.6
Operating system:
MAC OS X 10.12.2 (16C67)
Description of the bug:
Raise and error ENOENT when shelljs can't find a directory or file matching the criteria.
Expected result to be an empty array instead.
Propose solution, wrap it in a try/catch block. Not sure able the implications here.
http://stackoverflow.com/a/33401005
Example ShellJS command to reproduce the error:
shell.find(`${overrideDirectory}**/*.json`);

ShellJS: internal error
Error: ENOENT: no such file or directory, stat 'overrides/dev/amp/**/*.json'
    at Object.fs.statSync (fs.js:907:18)
    at /Users/christ11/Workspace/v-configs/node_modules/shelljs/src/find.js:45:12
    at Array.forEach (native)
    at Object._find (/Users/christ11/Workspace/v-configs/node_modules/shelljs/src/find.js:42:9)
    at Object.find (/Users/christ11/Workspace/v-configs/node_modules/shelljs/src/common.js:365:25)
    at Object.exports.mergeOverrides (/Users/christ11/Workspace/v-configs/script/util.js:42:11)
    at portals.forEach.portal (/Users/christ11/Workspace/v-configs/script/build.js:27:14)
    at Array.forEach (native)
    at environments.forEach.env (/Users/christ11/Workspace/v-configs/script/build.js:20:13)
    at Array.forEach (native)

Thanks for reporting this. Yes, any internal error is a bug on our part. This should actually do something like:
common.error("'" + filename + "': No such file or directory");
// 'filename' in this case would resolve to 'overrides/dev/amp/**/*.json'

I'm busy right now, but if someone wants to investigate, that'd be great. Otherwise, @freitagbr should take this up when he has spare time.
As a workaround, you should be able to get away with using ls() instead (they're pretty much the same thing in ShellJS, but ls is a bit better tested).


Implement basic node-red kick-the-tires branch that won't actively try to eat people

Time-estimate: 3 days remaining(ish)

Created some new repositories for this.
Nrmodules, to create editors inside node-red for the front-end modules;
https://github.com/psvensson/nrmodules
A sample project which uses the new front-end parser for node-red flow files;
https://github.com/psvensson/nrfe-hello-world
The actual widgets to be created in the mobile front-end, styled (where applicable) by material design lite;
https://github.com/psvensson/nrfe-widgets
The nrfe parser, which consumes a node-red flows file definind nrfe-widget relations, and slaps out the widgets found in the nrfe-widgets project + wires them together;
https://github.com/psvensson/nrfe
Had to switch module system from requuireJS to browserify mid-run since requireJS counterindicates with cordova.
The build of the actual studio packages introduced a subtle and alien-smelling bug where the wrong version of express was started, which in turn made node-red silently break when trying to load icons only (the api had changed from sendfile to sendFile - very funny to hunt down).
The .gitignore file of evothings-examples happily filters out any directory named 'ui' or 'lib' which makes total sense since noone would ever use those kind of names in A FRONT END WEB APPLICATION. Of course.


Injection attempting connection to: <IP_ADDRESS>:31442

Hi,
I have removed the KZPlayground from the project but it still shows "Injection attempting connection to: <IP_ADDRESS>:31442" in console ,How do i remove this log too ?
Thanks,
Ian

You can remove Pods directory, and Podfile.lock. next run pod install.
Damian.


perf: improve "ad app/sp list" commands

Fix #1150

[x] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

@williexu, can you take a look?


Add Community item to navigation

User feedback suggest introducing a new menu item specifically for community. It would help with engagement and user experience.  It would allows easier navigation for finding PTS communities.

A good example from https://v0-4-2--getdoks.netlify.app/


jail creation not succeeding with -m src= option

Hello,
I'm trying to create a jail using the -m src=, but not succeeding.
The man page for -m src= tells me poudriere expects that the src is already built from. So I have build world before attempting to create the jail.
I have tried the following steps:
echo "export MAKEOBJDIRPREFIX=$MAKEOBJDIRPREFIX" >> /usr/local/etc/poudriere.conf
export MAKEOBJDIRPREFIX=/home/jev/obj
make -C /home/jev/src buildworld

this populates /home/jev/obj as expected. Then I run;
poudriere jails -c -j freebsd110_amd64  -m src=/home/jev/src -v 11.0

Which fails as follows;
--------------------------------------------------------------
>>> Installing everything
--------------------------------------------------------------
cd /usr/home/gitlab-runner/builds/61301fc6/0/pbx/freebsd11; make -f Makefile.inc1 install
===> lib (install)
===> lib/csu (install)
===> lib/csu/amd64 (install)
cc -target x86_64-unknown-freebsd11.0 --sysroot=/usr/home/gitlab-runner/builds/61301fc6/0/pbx/freebsd11/tmp -B/usr/home/gitlab-runner/builds/61301fc6/0/pbx/freebsd11/tmp/usr/bin -O2 -pipe -I/usr/home/gitlab-runner/builds/61301fc6/0/pbx/freebsd11/lib/csu/amd64/../common  -I/usr/home/gitlab-runner/builds/61301fc6/0/pbx/freebsd11/lib/csu/amd64/../../libc/include -fno-omit-frame-pointer    -std=gnu99  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments  ERROR-tried-to-rebuild-during-make-install -S -o crt1.s /usr/home/gitlab-runner/builds/61301fc6/0/pbx/freebsd11/lib/csu/amd64/crt1.c
/tmp/install.bH7WALSC/sh: cc: not found
*** Error code 127

Am I missing some crucial steps?
I'm also curious why the vcs commands (svn, git) will happily build from source, but the -m src= option asks that I pre-build world.
Thank you

It's because MAKEOBJDIRPREFIX is trimmed from the environment. Add it into poudriere.conf and it will work.
I'll keep this bug to fix passing through MAKEOBJDIRPREFIX from the environment.

I actually am doing that already I believe.
I have "export MAKEOBJDIRPREFIX=$MAKEOBJDIRPREFIX" in /usr/local/etc/poudriere.conf as someone suggested on issue #368
I'll retry without using the variable on the RHS.

Duped to #368


cursor position on input

I was going to request some way to guide the user on entering the date in input field. A version of this is raised already here https://github.com/airbnb/react-dates/issues/237
But, at the least there should be some kind of feedback to the user that the date input field is editable. Currently, there is no cursor on the input field, and no way to know which field (date/ month, ..) are editing. I initially thought it may be a button / span or not editing supported until I see the last commit and https://github.com/airbnb/react-dates/issues/274
Please bring the cursor position back on input.

looks like the actual input is masked by a div for the display https://github.com/airbnb/react-dates/blob/master/src/components/DateInput.jsx#L133

Hey, wondering if there's any discussion on this. This has been brought up in a bug report in our usage of this library. Thanks!

Is there a way anyone could find to have the cursor active to just type in the date?

@sjain-mi9 the drawback is that displayFormat has no effect on a value inside DateInput__input =(

@liubko not sure what you mean by displayFormat? I'm able to type in my dates, navigate via input cursor and it reads it well.

<DateRangePicker
  ...
  displayFormat="DD/MM/YYYY"
  ...
/>

@sjain-mi9 when selecting dates in a calendar with a mouse the value in the input will not be formatted according to the displayFormat prop. It only formats text inside DateInput__display-text

I started writing a PR branch for potential changes. My approach is to remove the display-text node and instead merge those class names into the DateInput__input node.
Any thoughts, @majapw or anyone else?
Here is an example:

Hey @ConAntonakos! I would like this functionality as well, so if you have a PR I'd really appreciate if you shared it :) If not, I'll probably give this one a try. Thanks!

Hey, @timhwang21! I started something, but never got around to finishing it. I also wanted to hear back from other maintainers/contributors to see if there was a consensus with the solution. Please feel free to give it a try, and I'd love to contribute to it. 😄

This is fixed now that we use real inputs (instead of the fake one) as per previous suggestions in this issue. :)

Even though the UI changed a bit, I like the solution. Thanks for address this!


Ll insertions

It's so weird to see that you fixed append/insertBefore, but no tests changed to prove it. 😎


thunderbird-unwrapped: 102.2.1 -> 102.2.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for thunderbird-unwrapped is: "A full-featured e-mail client"
meta.homepage for thunderbird-unwrapped is: "https://thunderbird.net/"
meta.changelog for thunderbird-unwrapped is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 102.2.2 with grep in /nix/store/wdd1ivmcir5r4mvzv3p0zrgiicglyr51-thunderbird-unwrapped-102.2.2
found 102.2.2 in filename of file in /nix/store/wdd1ivmcir5r4mvzv3p0zrgiicglyr51-thunderbird-unwrapped-102.2.2

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
thunderbird-unwrapped
thunderbirdPackages.thunderbird
thunderbirdPackages.thunderbird-102

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wdd1ivmcir5r4mvzv3p0zrgiicglyr51-thunderbird-unwrapped-102.2.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A thunderbird-unwrapped https://github.com/r-ryantm/nixpkgs/archive/0c64c73c7fd86334891ecd2be2f3608fd52b466b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wdd1ivmcir5r4mvzv3p0zrgiicglyr51-thunderbird-unwrapped-102.2.2
ls -la /nix/store/wdd1ivmcir5r4mvzv3p0zrgiicglyr51-thunderbird-unwrapped-102.2.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

thunderbird
thunderbird-unwrapped
thunderbird-wayland

Maintainer pings
cc @edolstra @lovesegfault @nbp @vcunat for testing.

Duplicate.  This update is included in PR https://github.com/NixOS/nixpkgs/pull/190456

Maybe it's because I don't use the "-unwrapped" suffix?  (I consider it weird to use the suffix this way.  It's just an implementation detail where we split the build into two layers.)


I'm getting fetch failed errors when trying to get data from a remote server

My Environment

ArangoDB Version:        3.12.1
Deployment Mode:       Single Server
Deployment Strategy:   Manual Start
Configuration:               N/A
Infrastructure:               Own
Operating System:        Ubuntu 22.04.2 LTS
Total RAM in your machine:        2GB
Disks in use:        HDD
Used Package:              Ubuntu .deb

Component, Query & Data
Affected feature:
with driver (Arangojs)
AQL query (if applicable):
The query doesn't really matter. All queries sometimes return this error.
AQL explain and/or profile (if applicable):
N/A
Dataset:
Any dataset would so
Size of your Dataset on disk:
16MB
Replication Factor & Number of Shards (Cluster only):
N/A
Steps to reproduce

Use Arangojs to perform any operation on the database (Using ArangoJs version 9.1.0)

Problem:
I get a fetch failed error. Note that my database is on a different server
Expected result:
The operation should succeed.
I went on Stackoverflow looking for answers. The link with all the extra details can be found here: https://stackoverflow.com/questions/79047921/how-do-i-make-my-logical-server-always-connect-successfully-to-data-on-my-databa

Oh. I've fixed this issue. I just installed ArangoDB on my logical server and moved all my data into it so all my database calls are now to localhost. Problem solved.


Ignore layers with ! in name

Would be great if you could ignore layers that have an exclamation mark in their title. This way the user can control what is being exported in the assets and what not.

Do you mean artboards?

Could also be implement for art-boards (or does that work already)? But initially I mean layers, so you can automatically not export background layers for example.

Ok I see what you mean. There isn't a notion of including/excluding layers at all right now though. I don't have time to look into it anytime soon, but you are welcome to contribute.


intellisense stuck or hang with specific module

Environment data

Language Server version: v2022.10.30+
OS and version: Linux 6.0.2-arch1-1 (Arch Linux)
Python version (& distribution if applicable, e.g. Anaconda): 3.10.8

Code Snippet
from collections import deque

d = deque()

Repro Steps

My python project imports many modules and custom libraries
After 10.30(now 10.40), intellisense and F12(go to definition) for collections.deque not working("Loading...") and vscode seizes one cpu core 100% until killed manually.
Vscode itself still works without intellisense and F12
10.20 and earlier versions work well
With clean(empty) codebase, works well

Expected behavior

Intellisense and Go to definition work well

Actual behavior

Intellisense not working(with "Loading..." message)
Go to definition not working(keep loading progress bar animating)
code process seizes one cpu core to 100% (hang)

Logs
No specific log for this problem.
(Output panel appears to be frozen after the problem occurs)

Looks like this https://github.com/microsoft/pylance-release/issues/3548
You may want to check if installing the prerelease version fixes the issue

Had same issue until upgraded to pre-release version. Every time I've used defaultdict language server hanged until manually killed.

Seems to be much better with prerelease

@Object905 which prerelease version did you try? 10.40.1?
There was a hang with large projects that should be fixed in 10.40.1. https://github.com/microsoft/pylance-release/issues/3513
If the prerelease you were using is 10.40.1, can you give more details on your setup?

As far as my problem is concerned, it seems to have been solved.
(v2022.11.10)


Mission

Hello guys, i would like to thank u all for the effort to keep this great project that all of us love, congratulations ! But i am not able to get Easy missions on the bot anymore... only medium or hard missions, so i would like to ask u guys to implement this on a new version if possible! Thanks!!! :)

Thanks. I'll try to work on it soon. :)


Yang-Explorer database is not initialized

hello, I'm new to linux and I'm getting this error when try to launch yang-explorer :
Yang-Explorer database is not initialized .. please run setup.sh first !!
I installed python2.7, created an V-environment using :
virtualenv -p /usr/bin/python2.7 yang-exp, activated it and executed setup.bsh .
I also tried to do the same without the activating the env , but the problem persist

You are on the right path, Yang-Explorer was built using Python2, I spend myself quite a bit of time trying to run it using Python3 but it never worked, I got the same error as you did no matter how many times I tried to reinstall it.
After a while I made it work, and this is what I did:

Make sure you install all the recommended dependencies as follow:
python,  python-dev,  zlib1g-dev,  libxml2-dev,  libxslt1-dev,  graphviz
pip install --upgrade pip, pip install --upgrade setuptools
pip install pyang
Use python 2.x

Have in mind the following:

Go to your yang-explorer folder and do cat start.sh

Go to this section: echo "Setting up initial database .."
-- In this section the bash script is going to create the necessary directories like: users, session, collections and annotation.
-- Django Models are used: python manage.py migrate and python manage.py setupdb

You can run these commands by yourself under the server folder, you don't need to run the setup.sh again and again...

cd server/
mkdir -p data/users
mkdir -p data/session
mkdir -p data/collections
mkdir -p data/annotation
python manage.py migrate
python manage.py setupdb
The outputs from here helped me to find my issue.
Good luck, let me know if this was helpful for you.

Hey , tank you for the answer but I figured it out. I used docker with a pre-build image (I guess this is what it's used for; compatibility issues ). Man this software is good especially for learning, but eugh... pyhton2 pip2 flash


Unsupported major.minor version 52.0

Hi,
very nice framework. In our project we're currently using Java 1.7. And your datumbox version in maven seems to be compiled only in Java 8 without backward compatibilty. Is it possible to add a version that is compatible to Java 1.7?
Best regards

Hi,
The framework uses several Java 8 features and that is why by default it is compiled like that. Nevertheless given that the source is provided, feel free to clone the project and make the appropriate changes.

Easiest way would be to download and include the library manually, then make any changes to things that are not reverse compatible.


Does it work on Windows ?

Does it work on Windows ?

It should be doable with named pipes supported by mpv (https://github.com/mpv-player/mpv/pull/2959). Currently both the backends mpv.el and empv.el use socket file and have no code for supporting windows. I don't know if Emacs supports named pipes or not. And I don't have a windows machine to test it right now.


Gitlab merge requests

If the version of gitlab is prior to 7.3 the paylod doesn't contains infomation about the commit and the commiter, and the build is not open. With this additional the build will be open as a manual build.

PHP Mess Detector
Undefined offset: 286 in /phpci/PHPCI/Model/Build/GithubBuild.php line 224

@lukzgois are you still interesting in maintaining this fix? Please let us know if not. Please rebase with changes from master as well. Thanks!

@mikebronner Hi, I'll rebase it ASAP. I was traveling but tomorrow I'll be home again and sending corrections.


Interleaving filling and rendering hits for reducing memory footprint of returning large number of hits

Context: https://vespatalk.slack.com/archives/C01QNBPPNT1/p1679393750104969
https://vespatalk.slack.com/archives/C01QNBPPNT1/p1679396240114009
"The content nodes will in any case produce a list of matches starting from 0 to hits (by default a bit less than hits due to an optimization) in one go, which is then merged in the container to produce a final list [0, n] of hits.
Each of these hits are then filled by asking for the data of each surviving hit from the right content nodes (fill phase).
After that the list is rendered back to the client by a pluggable renderer (by default the JSONRenderer). This part in itself is already async and streaming (meaning, it’s not completely buffered).
What could make sense (in theory) is to save memory by interleaving filling and rendering to avoid ever storing all hits in memory before starting rendering. The tradeoff is that this would lead to more calls in total to the content nodes to fill (since currently all hits from each node is fetched in one go), but you would save memory, and start rendering a bit earlier. Also, you would need to make sure no Searchers ever need to look at the hit data, as they would need to fill to do that.
It is not possible currently, but it would be a trivial change to support, so if that’s what you want to try let me know. I’m pretty sure it won’t pay off with just 5k hits, but at some point, sure."  - Jon

Changed the title as as streaming search is a reserved word.

Surely this can not be soon ...


UnboundLocalError: local variable 'pokecount' referenced before assignment

File "/home/ubuntu/workspace/PokemonGo-Bot/pokemongo_bot/init.py", line 423, in get_inventory_count
return pokecount
UnboundLocalError: local variable 'pokecount' referenced before assignment
Steps to Reproduce
Other Information
OS:
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

I just had this same problem, couldn't find the source but did manage to get around it by running git pull.


Feature/UI/UX: Add borders (bottom) for the header (with title) in the settings flyout

Fixed by 2b2c49e commit


New filter widgets

Existing (Coder) filter widgets are not sufficient and confusing. We want widgets (and model) that are easily to understand and use.

The new filter widgets:

It is possible to switch between old and new widgets using
GtPharoStreamingMethodsFiltersElementStencil  beDescriptorsStencilDefault

and
GtPharoStreamingMethodsFiltersElementStencil  beModelStencilDefault


Print Style

I am working on this on my end, however, any suggestions would be appreciated. I am trying to support printable large tables using print css. Because the table is large (~150% of view port) and overflow is set to scroll, the table is cut off when printing. I am resolving this by re-sizing the table via print css. The only issue with this is that floatTheader uses JS to calculate its col widths, so print css will not work. I was thinking about hiding the floatTheader table and show the original thead, but floatTheader removes the content from them, so that will not work either. Any ideas about direction?

2 thoughts here:
I dont know much about how print css works, but you can try hiding the following elements with display:none within your table (select it by class to be sure to select the floated table as well):
colgroup, col, fthfoot {
  display:none;
}

that will deactivate the cols that floatThead adds widths to, so maybe the widths you set with css will take effect.
if that doesnt work, you can destroy the plugin on print and reinit after printing is done
finally another useful method might be .floatThead('getRowGroups') which Returns the table's thead, tbody and tfoot elements, you might be able to clone them and shove them into a new table used solely for printing
Let me know what you end up doing, I would be interested in putting a code sample on the docs page about how to do this

Ah! Awesome suggestions. I will certainly report back....

so, how did it go?

Hey!
I got pulled in another direction at work. I'll be revisiting this in the
next few days.
Regards,
Paul Palladino
On Mon, May 4, 2015 at 11:17 PM, Misha Koryak<EMAIL_ADDRESS>wrote:

so, how did it go?
—
Reply to this email directly or view it on GitHub
https://github.com/mkoryak/floatThead/issues/192#issuecomment-98921455.

Ok, so I finally have been able to come back to this. But, unfortunately, the plugin no longer works. I have multiple tbody elements (which is perfectly legal) and seems to be breaking things. I am sure this is an edge case.....

I didnt know that having multiple tbody elements is legal, but now that I do, ill file myself a bug and fix it

Wow, OK that is awesome! Yeah, multiple tbody elements is kinda useful if you are aware that it is valid....

why is it useful though? easier selection of groups of stuff in scripts?

yeah exactly, so in this case, each record has 2 rows. One with basic info and another with optional info that can be collapsed. It makes scripting and styling much more simple. Again, I know this an edge case ;)

I like to think that the reason that this plugin is better than the others is that it works in non-trivial use cases. That being said, it appears to work with multiple tbody elements:
http://mkoryak.github.io/floatThead/tests/issue-201/
maybe you can create a jsfiddle with your code and ill see if I can make it work. You are probably missing a $table.trigger('reflow') somewhere after modifying the table's dom.
One thing you can try (in latest chrome only) is initializing the plugin like this:
$table.floatThead({autoReflow: true});

which uses MutationObserver to make the plugin magically work in most cases.

Sweet! Will do....

going to close this, but if you end up coming up with a style you can share, please reopen. Thanks!


scripts/install-deps.sh is not present

This file in mentioned by README.md and HACKING.md in the initial install steps. Was this file accidentally deleted, or is it no longer needed?

Is this the script you're referring to?
https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/scripts/install-services.sh

It was removed in commit 98cb243a7cba2d7b084e3e1be23f60d3908fe8d4

I am having the same issue.  I want to upgrade my voicekit installation to the latest version but I am stuck now due to no functioning installation instructions.


b_u585i_iot02a_ns: Can't build TFM enabled samples (TF-M 1.7.0)

Describe the bug
Since https://github.com/zephyrproject-rtos/zephyr/pull/53899, TFM samples compilation fails on b_u585i_iot02a_ns target:
Traceback (most recent call last):
File "/local/mcu/zephyrproject/zephyr/scripts/build/mergehex.py", line 28, in merge_hex_files
ih.merge(to_merge, overlap=overlap)
File "/local/home/frq07517/.local/lib/python3.8/site-packages/intelhex/init.py", line 858, in merge
raise AddressOverlapError(
intelhex.AddressOverlapError: Data overlapped at address 0xC094000
To Reproduce
Steps to reproduce the behavior:

west build -p always -b b_u585i_iot02a_ns samples/tfm_integration/tfm_secure_partition
See error

Expected behavior
Compilation should be successful

Issue spotted. Due to changes in flash partition in TF-M v1.7.0 on board b_u585i_iot02a, b_u585i_iot02a_ns flash partition should be updated to have NS primary slot starting at 0x98000 (instead of 0x74000 with v1.6.0).
I will check if other targets could be impacted and push an update.

You might want to add this board to one of the samples (tfm_ipc, for example) so that CI catches these builds errors. I didn't notice it wasn't on the list: https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/tfm_integration/tfm_ipc/sample.yaml#L8

You might want to add this board to one of the samples (tfm_ipc, for example) so that CI catches these builds errors

Good point. Will do

Fixed by https://github.com/zephyrproject-rtos/zephyr/pull/54269


The SLA violation table options are not preserved after data refresh

If the user selects some kind of sorting inside the violation list table in Application -> SLA View, when the dashboard refreshes the data, the setup is cleared displaying the default options.

If we can generate DAM files with SLA agreeements at time, this could be part of #222


Create README.hin.md

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: swetax sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Assignment 01 -- Platform preparation

Check your today present on SIX (30 mins)
Create GitHub account and report your link to your user profile (30 mins), e.g. https://github.com/dudung.
Create account and report link to user profile (30 mins), e.g. https://medium.com/@6unpnp.
Create OSF account and report link to user profile (30 mins), e.g. https://osf.io/pkc6z/.
Create a story on Medium about motivation why you want to take this course and what knowledge you would like to have by taking this course in a 10-minutes story and provide the link to the story here (4 hours).

Github profile: https://github.com/tamibachrurozy
Medium profile<EMAIL_ADDRESS>OSF profile: http://osf.io/bjv2q
Story on Medium<EMAIL_ADDRESS>

Github profile: https://github.com/veri-trisnawan
Medium profile<EMAIL_ADDRESS>OSF profile: https://osf.io/w6b8m/
Story on Medium<EMAIL_ADDRESS>


Segmentation fault after ctrl-c

I was running a substrate node on 9040ca90 and after I hit ^C I got this message
48709 segmentation fault  ./target/debug/substrate --dev

it reproduces sometimes after a clean start.

Are you on Mac?
On Linux, running at that revision, I receive the attempting to canonicalize unknown block-Error. I believe that might have caused the issue here but has been fixed meanwhile.
@pepyakin does this still happen to you? If so, please reopen and provide more info (if you have).

I just hit this when doing a workshop running against v1.0 at 53df5619 cut Fri May 31 13:29:55.
# macOS
$ sw_vers -productVersion
10.14.5
$ rustc --version
rustc 1.35.0 (3c235d560 2019-05-20)

I had two nodes running locally and it errored when I CTRL+C on the second:
First:
./target/debug/node-template   --base-path /tmp/alice   --chain=local   --key //Alice   --port 30333   --validator   --name AlicesNode

Second:
./target/debug/node-template   --base-path /tmp/bob   --chain=local   --key //Bob   --port 30334   --validator   --name BobsNode   --bootnodes /ip4/<IP_ADDRESS>/tcp/30333/p2p/

Restarting both, I am able to reproduce it reliably on both nodes.

@colindean could you run it with RUST_BACKTRACE=full and provide the output?

Uh… yeah. I'll reinstall it when I get a chance. I mindlessly cleared the installation after the workshop.

Looks like it's not unwinding. It's just… dying.
$ RUST_BACKTRACE=full ./target/debug/node-template   --base-path /tmp/alice   --chain=local   --key //Alice   --port 30333   --validator   --name AlicesNode
2019-06-05 23:13:07 Substrate Node
2019-06-05 23:13:07   version 1.0.0-53df5619-x86_64-macos
2019-06-05 23:13:07   by Anonymous, 2017, 2018
2019-06-05 23:13:07 Chain specification: Local Testnet
2019-06-05 23:13:07 Node name: AlicesNode
2019-06-05 23:13:07 Roles: AUTHORITY
2019-06-05 23:13:08 Best block: #101
2019-06-05 23:13:08 Using default protocol ID "sup" because none is configured in the chain specs
2019-06-05 23:13:08 Local node identity is: QmbQ6Xaf9xypwpYmEL7MnS5Mp6THTSsSBf3E5fmexiudaJ
2019-06-05 23:13:08 Libp2p => Random Kademlia query has yielded empty results
2019-06-05 23:13:08 Listening for new connections on <IP_ADDRESS>:9944.
2019-06-05 23:13:08 Using authority key 5FA9nQDVg267DEd8m1ZypXLBnvN7SFxYwV7ndqSYGiN9TmTd
2019-06-05 23:13:11 Libp2p => Random Kademlia query has yielded empty results
2019-06-05 23:13:13 Idle (0 peers), best: #101 (0x7e6b…f011), finalized #0 (0x8835…5614), ⬇ 0 ⬆ 0
2019-06-05 23:13:15 Libp2p => Random Kademlia query has yielded empty results
2019-06-05 23:13:17 Libp2p => Random Kademlia query has yielded empty results
2019-06-05 23:13:18 Idle (0 peers), best: #101 (0x7e6b…f011), finalized #0 (0x8835…5614), ⬇ 0 ⬆ 0
2019-06-05 23:13:23 Idle (0 peers), best: #101 (0x7e6b…f011), finalized #0 (0x8835…5614), ⬇ 0 ⬆ 0
2019-06-05 23:13:23 Libp2p => Random Kademlia query has yielded empty results
2019-06-05 23:13:28 Idle (0 peers), best: #101 (0x7e6b…f011), finalized #0 (0x8835…5614), ⬇ 0 ⬆ 0
2019-06-05 23:13:33 Idle (0 peers), best: #101 (0x7e6b…f011), finalized #0 (0x8835…5614), ⬇ 0 ⬆ 0
2019-06-05 23:13:37 Discovered external node address: /ip4/<IP_ADDRESS>/tcp/30333/p2p/QmbQ6Xaf9xypwpYmEL7MnS5Mp6THTSsSBf3E5fmexiudaJ
2019-06-05 23:13:38 Idle (1 peers), best: #101 (0x7e6b…f011), finalized #0 (0x8835…5614), ⬇ 0.4kiB/s ⬆ 0.4kiB/s
2019-06-05 23:13:40 Starting consensus session on top of parent 0x7e6b3cfb6fa363692d1a9f3bacb3c7c7feace05acdae8a6afc522a0333d2f011
2019-06-05 23:13:40 Prepared block for proposing at 102 [hash: 0x2aa637ab1d2de0f4285d51972e7072fcc53991ff8dedeb1d03a044de44ec6393; parent_hash: 0x7e6b…f011; extrinsics: [0xd2b9…9366]]
2019-06-05 23:13:40 Pre-sealed block for proposal at 102. Hash now 0xdf9ce627d33272a904ade7069412416eaa96418eb22fcc9227efe3e1b38e3198, previously 0x2aa637ab1d2de0f4285d51972e7072fcc53991ff8dedeb1d03a044de44ec6393.
2019-06-05 23:13:40 Imported #102 (0xdf9c…3198)
2019-06-05 23:13:43 Idle (1 peers), best: #102 (0xdf9c…3198), finalized #0 (0x8835…5614), ⬇ 0.3kiB/s ⬆ 0.4kiB/s
2019-06-05 23:13:48 Idle (1 peers), best: #102 (0xdf9c…3198), finalized #0 (0x8835…5614), ⬇ 73 B/s ⬆ 55 B/s
2019-06-05 23:13:50 Imported #103 (0xb6c7…027b)
2019-06-05 23:13:53 Idle (1 peers), best: #103 (0xb6c7…027b), finalized #0 (0x8835…5614), ⬇ 0.3kiB/s ⬆ 0.2kiB/s
^CSegmentation fault: 11

$ RUST_BACKTRACE=full ./target/debug/node-template   --base-path /tmp/bob   --chain=local   --key //Bob   --port 30334   --validator   --name BobsNode   --bootnodes /ip4/<IP_ADDRESS>/tcp/30333/p2p/
2019-06-05 23:14:05 Substrate Node
2019-06-05 23:14:05   version 1.0.0-53df5619-x86_64-macos
2019-06-05 23:14:05   by Anonymous, 2017, 2018
2019-06-05 23:14:05 Chain specification: Local Testnet
2019-06-05 23:14:05 Node name: BobsNode
2019-06-05 23:14:05 Roles: AUTHORITY
2019-06-05 23:14:06 Best block: #103
2019-06-05 23:14:06 Using default protocol ID "sup" because none is configured in the chain specs
2019-06-05 23:14:06 Not a valid bootnode address: /ip4/<IP_ADDRESS>/tcp/30333/p2p/
2019-06-05 23:14:06 Local node identity is: QmYoaeNTpJisrVLVjD9UZHhSQfiCxhsd4HDLFH1bsMR4dk
2019-06-05 23:14:06 Libp2p => Random Kademlia query has yielded empty results
2019-06-05 23:14:06 Listening for new connections on <IP_ADDRESS>:9944.
2019-06-05 23:14:06 Using authority key 5GoNkf6WdbxCFnPdAnYYQyCjAKPJgLNxXwPjwTh6DGg6gcWn
2019-06-05 23:14:09 Libp2p => Random Kademlia query has yielded empty results
2019-06-05 23:14:11 Idle (0 peers), best: #103 (0xb6c7…027b), finalized #0 (0x8835…5614), ⬇ 0 ⬆ 0
2019-06-05 23:14:13 Libp2p => Random Kademlia query has yielded empty results
2019-06-05 23:14:16 Idle (0 peers), best: #103 (0xb6c7…027b), finalized #0 (0x8835…5614), ⬇ 0 ⬆ 0
2019-06-05 23:14:20 Libp2p => Random Kademlia query has yielded empty results
2019-06-05 23:14:21 Idle (0 peers), best: #103 (0xb6c7…027b), finalized #0 (0x8835…5614), ⬇ 0 ⬆ 0
2019-06-05 23:14:21 Discovered external node address: /ip4/<IP_ADDRESS>/tcp/30334/p2p/QmYoaeNTpJisrVLVjD9UZHhSQfiCxhsd4HDLFH1bsMR4dk
2019-06-05 23:14:26 Idle (1 peers), best: #103 (0xb6c7…027b), finalized #0 (0x8835…5614), ⬇ 0.7kiB/s ⬆ 0.7kiB/s
2019-06-05 23:14:30 Starting consensus session on top of parent 0xb6c7d25ca9a568ab217429125fc67e87a5e622a09a776b42aee1439a8e9b027b
2019-06-05 23:14:30 Prepared block for proposing at 104 [hash: 0x38d036575831fde40ecd0b0f4fcd9dbde3ced9385367ea4c1e742bfc6773908a; parent_hash: 0xb6c7…027b; extrinsics: [0x163e…646a]]
2019-06-05 23:14:30 Pre-sealed block for proposal at 104. Hash now 0x64b85179cfc103e6d5cbb550be5f40d88d066a0b5f8832391a74a80103afc349, previously 0x38d036575831fde40ecd0b0f4fcd9dbde3ced9385367ea4c1e742bfc6773908a.
2019-06-05 23:14:30 Imported #104 (0x64b8…c349)
2019-06-05 23:14:31 Idle (1 peers), best: #104 (0x64b8…c349), finalized #0 (0x8835…5614), ⬇ 24 B/s ⬆ 45 B/s
2019-06-05 23:14:36 Idle (0 peers), best: #104 (0x64b8…c349), finalized #0 (0x8835…5614), ⬇ 63 B/s ⬆ 0.1kiB/s
^CSegmentation fault: 11


Rest catalog task/Job

depends on: https://github.com/RackHD/on-core/pull/312
This PR adds a new tasks/job to update a node catalog based on a south bound rest api call.
This call could be to Dell IDRAC, Cisco NXAPI or on-network.
This also fixes some dependencies and tests issues.

@tannoa2 can you have a look at this

ok to test

The Copyright Check has failed!
The files listed below do not have a valid copyright statement:

package-lock.json - package.json

BUILD Archiving » tian » PR_GATE #4 : FAILURE

test this please

BUILD Archiving » tian » PR_GATE #10 : FAILURE

BUILD on-tasks #264 : FAILURE

test this please

The Copyright Check has failed!
The files listed below do not have a valid copyright statement:

package-lock.json

BUILD on-tasks #266 : FAILURE

The Copyright Check has failed!
The files listed below do not have a valid copyright statement:

package-lock.json

BUILD Archiving » tian » PR_GATE #13 : FAILURE

BUILD on-tasks #267 : FAILURE

BUILD Archiving » tian » PR_GATE #14 : FAILURE


[Question] [Broken Link] EventMesh Community Slack

Search before asking

[X] I had searched in the issues and found no similar issues.

Question
I'm new to the project and was looking forward to connect to people on Slack.
I tried the link posted in README.md and seems like the link is broken.
Do we have an alternate link that could be used for Slack?
Broken link: https://join.slack.com/t/apacheeventmesh/shared_invite/zt-1blhcbedu-9b7yvwAQcDs3fddZxnZXag

@VenkatDatta I will update it.

@VenkatDatta https://join.slack.com/t/apacheeventmesh/shared_invite/zt-1fal6hggw-PJ3~N6Js_ZFlEvPtpQR7jg


.jpg file instead of displaying loot

🐛 Bug Report
Givesa file to click on instead of displaying the image, not sure if bug or just something went wrong but throwing in here below are the pics of the files to click and one of the usual of course. Thanks!

was a discord issue


API constants has wrong type

The API constants have the wrong type: usize, while it should be u32.
Wrong constants:
pub const VK_MAX_PHYSICAL_DEVICE_NAME_SIZE: usize = 256;
pub const VK_UUID_SIZE: usize = 16;
pub const VK_LUID_SIZE: usize = 8;
pub const VK_MAX_EXTENSION_NAME_SIZE: usize = 256;
pub const VK_MAX_DESCRIPTION_SIZE: usize = 256;
pub const VK_MAX_MEMORY_TYPES: usize = 32;
pub const VK_MAX_MEMORY_HEAPS: usize = 16;
pub const VK_TRUE: usize = 1;
pub const VK_FALSE: usize = 0;
pub const VK_MAX_DEVICE_GROUP_SIZE: usize = 32;

While it would be handy to leave them usize (e.g. for arrays), it may use the wrong registers when returning them from functions in the API (like debug report callback)

While it would be handy to leave them usize (e.g. for arrays), it may use the wrong registers when returning them from functions in the API (like debug report callback)

Sorry I don't see the problem. Could you provide an example where this would be illegal? They are essentially type less in the vulkan header.
#define VK_MAX_EXTENSION_NAME_SIZE 256
And how do you know they are supposed to be u32? Because of the enum tag? Aren't enums with a value of type i32?

it may use the wrong registers when returning them from functions in the API (like debug report callback)

Any function call that crosses the FFI boundary should have an concrete return type that would make this impossible. For example, the debug report callback returns Bool32.


Fix Union(...) -> Union{...}

This should be fairly straightforward...

I don't know why the build won't start, but since this will be merged with #47 I'm not going to spend time figuring it out.


Dataset download is too slow

Hi, I want to evaluate pretrained model on VQA, however, it is too slow (about 30KB~100KB/s) to download dataset.
Is there any alternative link?
Thank you

I guess it's temporal problem.
After a few hours, it got much faster to 9MB/s.

I guess it's temporal problem.
After a few hours, it got much faster to 9MB/s.


Add grid section support

Description
Add support for the new grid section.

Motivation and Context

How Has This Been Tested

Types of changes

[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[x] 🚀 New feature (non-breaking change which adds functionality)
[ ] 🌎 Translation (addition or update a translation)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have tested the change locally.
[ ] I followed the steps if I add a new language .

Great work @piitaya! Could we also get grid support for the Title card?
Thanks

It works, right? Do you have issue with the title card?

It works, right? Do you have issue with the title card?

Title card acts like a header and only works in 1x1 format. You can't put another card besides it with Sections unfortunately.

It’s designed as a header. So it’s a limitation for now. Future releases of home assistant will provide a way to resize card.


decode P frame

thanks for your project, I find a problem that if there is many P frames, then decode P frames failed, i cant get the correct frames

Hi, well, that's by definition how P frames work. They highly depend on the previous frame. If one frame is broken due to data corruption or encoding errors, then all following P frames will be broken as well, until the next I frame is decoded. We cannot do anything about that.

happy to receive your reply, first my problem is that you project can not decode P frame, finally i find your project can't decode P frame that encoded by baseline (profile), if mp4 encoded by main (profile), it's ok. i just find this situation but i don't know why

If all P-frames fail to decode, then there is a problem with the specific file encoding you have. We use ffmpeg as decoding library, and of course generally it can decode P-frames very well. Either you have a bad encode, or there is a bug in the ffmpeg lib version we are currently using.
If you can upload a sample file, we could investigate further.
Oh and you can also try to disable hardware decoding. In the sample app, there is a slider for that. Maybe it is only the GPU that fails to decode, and software decoding through ffmpeg would work.

yes i decode with GPU In pursuit of performance, software decoding is ok i tested. it seems the resolution is  very high
test.zip

Somehow I forgot about this one, sorry @lihongyi1234
I have just tested the file. The file is only few seconds long, I hope this is the right file. It plays find on my machine with HW acceleration enabled. I tried on both Intel iGPU and NVidia dGPU. It must be a limitation of your GPU, that it somehow cannot cope with the high resolution or encoding settings.

Hi @lihongyi1234, I recently found a file where I had broken P frames with HW acceleration. I found out that the problems went away when I disabled multi threading. Using CPU multi threading does not make sense when GPU does the decoding. Usually the codecs will internally disable multi threading, but some do not, as it seems.
If you want to test this, you can try the ffmpeg-5.0 branch, it contains the changeset.

I think this is solved, closing this...


fix: fix breathitinCharges tracking

Breathitin™ charges are also spent when another reason caused an outdoor adventure to be free (https://kol.coldfront.net/thekolwiki/index.php/Breathitin™#Notes). In this case, the Breathitin message does not show, so tracking is incorrect in these cases. Simply always try to decrement the breathitinCharges counter in outdoor locations.

Does this make sense, or is there a better place to track this?


Create an overload for com.snowflake.snowpark.functions.sum

Please answer these questions before submitting your pull requests. Thanks!

What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes # SCT-2665

Fill out the following pre-review checklist:

[X] I am adding a new automated test(s) to verify correctness of my new code
[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency

Please describe how your code solves the related issue.
Added an overload for the sum function which supports a string parameter.

Pre-review checklist
(For Snowflake employees)

[x] This change has passed precommit
[ ] I have reviewed code coverage report for my PR in  (Sonarqube)

@sfc-gh-bli Thanks, I fixed all the comments, please review again.


export-excel [float issue] - 5,05 = 5,050000191

Hello, can someone explain this?
Thank you.
$array = @()
$a = New-Object -TypeName PSObject -Property @{a=1;b=2;c=3}
$array += $a
[float]$lol = "5.05"
$a = New-Object -TypeName PSObject -Property @{a=4;b=5.05;c=$lol}
$array += $a
$array
$array | Export-Excel -now

I have Excel 2016, where do you see the extras decimals?

thanks for reply.
Can you please make "c" column wider?
Number is show up correctly, when opened, but you cant see it in low above.

Hmm, wondering if it is the culture setting on your machine.

I will try ti change my cunture settings, nice guess. I will let you know the result.
Anyway merry Christmass!

cool, let me know. Merry Christmas

I tried to change culture settings to "english (U.S), relust the same .. :(

Hmm, what version of Excel?

Version 16, I didn't reach my desktop yet. It's the same in libre office. I would understand another rounding, but there are extra decimal values, somehow. I tried to set export only on 2 decimals, but it did things like 1,00, but 5.05 by var $lol was still on 6 decimal places. Sorry for my english.

No problem, your English is good. What if you do this, remove the quotes.
[float]$lol=5.05

same result :(
btw this is how this code looks like :
$array = @()
$a = New-Object -TypeName PSObject -Property @{a=1;b=2;c=3}
$array += $a
[float]$lol = 5.05
$a = New-Object -TypeName PSObject -Property @{a=4;b=5.05;c=$lol}
$array += $a
$array
$array | Export-Excel -numberformat "0.00" -now

Thanks for trying these, what if you cast it to [double]?

Nice, it works this way... it should work for my case ( this was just an easy example how to describe my issue). I just wonder why float makes this issue 😕 and only for me ( still have no luck to reach desktop in home)
Thank you very much for your help. Enjoy holidalys! :) 👍

Good question, may be tough to track down because I cannot reproduce that with my setup.

Sure, I have problem with subtraction some numbers with double/single, but [decimal] works great for me.
Thank you one more time, happy new year!


[sysrst_ctrl] Add pre-condition feature for combos

This adds support for programmable pre-conditions to the combo detection circuit. See #16928 for more details.
Signed-off-by: Michael Schaffner<EMAIL_ADDRESS>

@jesultra can you double check whether this would fit your needs?
CC @a-pronin @toshaq

Strictly speaking, Chrome OS does not need a key-pressed time for the precondition. Precoditions always being instantly active would be ok, such that as long as the leading edge of the "final" key appears the same instant or later as the leading edge of the "precondition" keys, the combo would fire.
If you already have the logic for precondition minimum time before the "final" edge, that is of course fine as well.

As mentioned above, I just reused the same debounce module and connected the detection timer to add a bit more generality to this logic.
One note on the timing: since the precondition keys first have to be debounced before they can activate the subsequent detector, there will be a delay equal to the configured debounce time before an active edge on the "final" combo can be detected.

This PR seems to have what Chrome OS needs, in order to avoid separate hardware circuitry for disconnecting the battery.

Thanks for the reviews!
Let me merge this so that @jesultra can make progress.
If there is anything related to this change that needs to be amended, please let me know.

@marnovandermaas FYI


added vertex matching engine solutions nb

2 solutions notebooks for vertex matching engine.
_ann.ipynb creates a VPC network, an index, and deploys the index to an endpoint in the VPC network.
_query.ipynb must be ran from a notebook (or vm) within the VPC network created in _ann.ipynb and walks through how to query the endpoint for nearest neighbors.

Got that error due to a timeout. Maybe we should have a check here:


v3 module naming causes error when requested

Hello,
The v3.0.0 release introduced this package as a module. And I'm having troubles requesting that specific version.
go get github.com/go-gorp/gorp/v3
gives
go get github.com/go-gorp/gorp/v3: module github.com/go-gorp/gorp@upgrade found (v2.2.0+incompatible), but does not contain package github.com/go-gorp/gorp/v3
Maybe because the module path is not as per indications here. Module path should be github.com/go-gorp/gorp/v3.
Thank you,
Andrei

Whoops!  Thanks for letting us know!

I've released v3.0.1 with a fixed module statement in go.mod.  Please reopen if that doesn't resolve the issue for you (i.e. if I need to scrap v3.0.0 because of the borked go.mod file).

Looks good, thank you!


[feat] Better logging

When things aren't working, there often aren't useful logs to see what's been happening. I'm not an expert on HA logging but perhaps more logging would be consistent with all of the logging from other parts of HA.
Specifically, in the general logging that shows up in the log book (like info level), it would be great to see when this component starts or stops something, with the reason. I.e:

starts heating due to low threshold reached
stopped due to high threshold reached
stopped due to sensor stall

At the moment I see the switch turn off, and the heat pump turn off, so it feels like im missing the component initiating this. You could argue this is what the debug log is for, but its means you can't look back immediately, and its a fair bit of effort to wait foe issues to happen again after debug is enabled. I also don't see this stuff in the debug log either.

Lastly, not really a logging issue, but for the logs above, does it call stop if the climate is already idle or off. I believe the logs above are mostly for an entity that is off, in which case it would be great if it checked and turned it off if it was on, the put that in the log book, and debug logs if its already off.
Thanks,
Jacob

Changer many debug level logging to info level. Also, the component provides the hvac_action_reason state attribute that explains why the thermostat is in its current state.

The improved logging will be included in the next release

Thanks for doing this, Im looking forward to seeing the new logs when this is released.
I had a Quick Look through the commit and I couldn't see if the logging will include information about which entity is causing the issue in the log, i.e:
01.194 WARNING (MainThread) [custom_components.dual_smart_thermostat.climate] Sensor is stalled, call the emergency stop

This doesn't say which sensor is stalled, and which entity the emergency stop has been called on.
I realise hvac_action_reason is set, but often this is empty by the time I want to look at it, which is why it would be good to log it so I can correlate it with an issue.


MeTA Docker Image

Hi, I've built a Docker image for MeTA. I'm not sure if this merits a PR, but I wanted to reach out and make it available to the community. I built it for the Coursera Text Mining and Analytics course.
https://github.com/stevefox/meta-docker

Thanks! We have another docker image in our contrib/ directory, but I don't see why you couldn't add yours as well. I would just distinguish it from the other one with a different name.
What do you think, @skystrife ?

Sorry for my incredibly slow response...
I'm fine with including this in the contrib/docker folder. Maybe contrib/docker/coursera?


loadinitialdata command doesn't work when certain models exists

Story
In demo, when we run the loadinitialdata --demo command, we get a stacktrace like this:
WARNING:workflow.signals:Working on branch "demo" but any of the default programs does not exist. Maybe initial data was not loaded with loadinitialdata?
ERROR:tola.management.commands.loadinitialdata:Error: the data could not be populated in the database. Check that the affected database tables are empty.
Error: the data could not be populated in the database. Check that the affected database tables are empty.
Traceback (most recent call last):
  File "manage.py", line 21, in <module>
Creating basic data
Creating demo data
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
    return func(*args, **kwargs)
  File "/code/tola/management/commands/loadinitialdata.py", line 2942, in handle
    self._create_workflow_2s()
  File "/code/tola/management/commands/loadinitialdata.py", line 1235, in _create_workflow_2s
    status="green",
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 46, in __call__
    return cls.create(**kwargs)
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 568, in create
    return cls._generate(enums.CREATE_STRATEGY, kwargs)
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 505, in _generate
    return step.build()
  File "/usr/local/lib/python2.7/site-packages/factory/builder.py", line 279, in build
    kwargs=kwargs,
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 314, in instantiate
    return self.factory._create(model, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/factory/django.py", line 165, in _create
    return manager.create(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 394, in create
    obj.save(force_insert=True, using=self.db)
  File "/code/workflow/models.py", line 1204, in save
    super(WorkflowLevel2, self).save(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 807, in save
    force_update=force_update, update_fields=update_fields)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 837, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 923, in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 962, in _do_insert
    using=using, raw=raw)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 1076, in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1099, in execute_sql
    cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 80, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique constraint "workflow_workflowlevel2_pkey"
DETAIL:  Key (id)=(2) already exists.

Traceback (most recent call last):
  File "manage.py", line 21, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
    return func(*args, **kwargs)
  File "/code/tola/management/commands/loadinitialdata.py", line 2943, in handle
    self._create_levels()
  File "/code/tola/management/commands/loadinitialdata.py", line 1588, in _create_levels
    sort=0,
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 46, in __call__
    return cls.create(**kwargs)
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 568, in create
    return cls._generate(enums.CREATE_STRATEGY, kwargs)
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 505, in _generate
    return step.build()
  File "/usr/local/lib/python2.7/site-packages/factory/builder.py", line 279, in build
    kwargs=kwargs,
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 314, in instantiate
    return self.factory._create(model, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/factory/django.py", line 165, in _create
    return manager.create(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 394, in create
    obj.save(force_insert=True, using=self.db)
  File "/code/indicators/models.py", line 157, in save
    super(Level, self).save(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 807, in save
    force_update=force_update, update_fields=update_fields)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 837, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 923, in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 962, in _do_insert
    using=using, raw=raw)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 1076, in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1099, in execute_sql
    cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 80, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique constraint "indicators_level_pkey"
DETAIL:  Key (id)=(1) already exists.

Traceback (most recent call last):
  File "manage.py", line 21, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
    return func(*args, **kwargs)
  File "/code/tola/management/commands/loadinitialdata.py", line 2944, in handle
    self._create_frequencies()
  File "/code/tola/management/commands/loadinitialdata.py", line 1803, in _create_frequencies
    organization=self._organization,
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 46, in __call__
    return cls.create(**kwargs)
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 568, in create
    return cls._generate(enums.CREATE_STRATEGY, kwargs)
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 505, in _generate
    return step.build()
  File "/usr/local/lib/python2.7/site-packages/factory/builder.py", line 279, in build
    kwargs=kwargs,
  File "/usr/local/lib/python2.7/site-packages/factory/base.py", line 314, in instantiate
    return self.factory._create(model, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/factory/django.py", line 165, in _create
    return manager.create(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 394, in create
    obj.save(force_insert=True, using=self.db)
  File "/code/indicators/models.py", line 243, in save
    super(Frequency, self).save(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 807, in save
    force_update=force_update, update_fields=update_fields)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 837, in save_base
    updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 923, in _save_table
    result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/base.py", line 962, in _do_insert
    using=using, raw=raw)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py", line 1076, in _insert
    return query.get_compiler(using=using).execute_sql(return_id)
  File "/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1099, in execute_sql
    cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 80, in execute
    return super(CursorDebugWrapper, self).execute(sql, params)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
    return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique constraint "indicators_reportingfrequency_pkey"
DETAIL:  Key (id)=(2) already exists.

Or with --restore:
Traceback (most recent call last):
  File "manage.py", line 21, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python2.7/site-packages/django/utils/decorators.py", line 185, in inner
    return func(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/django/db/transaction.py", line 223, in __exit__
    connection.commit()
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 262, in commit
    self._commit()
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 236, in _commit
    return self.connection.commit()
  File "/usr/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 236, in _commit
    return self.connection.commit()
django.db.utils.IntegrityError: insert or update on table "workflow_historicalsiteprofile" violates foreign key constraint "workflow_historicalsiteprofile_organization_id_81386851_fk_work"
DETAIL:  Key (organization_id)=(2) is not present in table "workflow_organization".

Acceptance criteria
GIVEN I run manage.py loadinitialdata --demo
AND data exists already in db
THEN I don't get any traceback

Tested it on Staging and Demo and works


Refactor Read/Write primitives

Resolves #601.
Signed-off-by: Michael Smith<EMAIL_ADDRESS>

This doesn't match what I described in #601 yet, particularly for writing. Reading may be close.


Honor quiet mode in cross-validation in Matlab

Currently cross-validation messages are not suppressed even when -q flag is passed. This commit checks the -q flag and prints cross-validation messages only if -q has not been passed.

This isn't a issue specific to matlab.. For svm-train cmd, even with -q, now we print CV accuracy. This is a controversial issue. The main problem is that -q -v will lead to no output and many users got confused.


Why export const INCREMENT_ENTHUSIASM then export type INCREMENT_ENTHUSIASM  again

Why export const INCREMENT_ENTHUSIASM then export type INCREMENT_ENTHUSIASM  again, what's the meaning?

You can open src/actions/index.tsx to understand more.

Hi @yeongjet, have a look at typeof type guards and string literal types.
Basically, it means a variable that has the type INCREMENT_ENTHUSIASM can only has 'INCREMENT_ENTHUSIASM' as a value (in other words, it can't only be a string, it must also has this specific text as a value).
It's the same as writing export type INCREMENT_ENTHUSIASM = 'INCREMENT_ENTHUSIASM'.
On line 2 value INCREMENT_ENTHUSIASM is exported.
On line 3 type INCREMENT_ENTHUSIASM is exported.
TypeScript is smart enough to know when a variable is used as a value, and when it is used as a type.


Remove old site scaffolding project and Update/package dependencies

Hiya All, this pull request is open with intent to cater the #1276  ❤🙏☕
Currently this repo do not have Dependabot and other scanning enabled, the plan is that long term it will be beneficial if we update these things and take the auto updates of packages and stay ahead of any vulnerability updates in the underlying packages.
What does this PR caters

Removes the old site folder which I think is never worked on and its half done.  I do have Ivan's old knowledge recollection here (Please do suggest if anyone differs and thinks they can contribute to finish the intent to maintain separate doc website via same repo)

I believe the intent was that back then where there was full team working on this that folks will create separate sites for extension and apis. The current status of this site is half done and very old packages in yarn. screenshot attached below or navigate to the link here:  https://vscode-kubernetes-tools.github.io/vscode-kubernetes-tools

I enabled the dependants locally at my fork and there were over 41 Security issues, with these changes inside this PR the security alerts were down to 4.
Add Dependabot workflow.

Thank you co much all, kind cc and fyi to @squillace ,  @gambtho , @qpetraroia, @hsubramanianaks 🙏

@Tatsinnit, thanks for taking initiative here and maintaining this CNCF project. As a Kubernetes extension user these are all welcomed changes.


In batched convolution mode Before is actually mode After

In the docs that plot the response curves it is visible that the default argument is Before, and it mixed with mode After.

Need to

[ ] Change the default argument in https://github.com/pymc-labs/pymc-marketing/blob/369a5054398dbb6bbb372ef1eb61bb953be26fd2/pymc_marketing/mmm/transformers.py#L16
[ ] Change if else choice in https://github.com/pymc-labs/pymc-marketing/blob/369a5054398dbb6bbb372ef1eb61bb953be26fd2/pymc_marketing/mmm/transformers.py#L101-L104
[ ] be explicit about mode argument in

[ ] https://github.com/pymc-labs/pymc-marketing/blob/369a5054398dbb6bbb372ef1eb61bb953be26fd2/pymc_marketing/mmm/transformers.py#L188
[ ] https://github.com/pymc-labs/pymc-marketing/blob/369a5054398dbb6bbb372ef1eb61bb953be26fd2/pymc_marketing/mmm/transformers.py#L260

[ ] make sure the plots look good

I had to play around the legend and exact labels in order to get it to fit. But the current version has it on the side and is looking alright.
Just saying, it was a bit of trial and error