[WICKET-6476] check is added while setting filter path to prevent exc…

…eption

@martin-g Should I merge then delete the branch? Is the process of merging documented somewhere?

Should this change be cherry-picked to other branches?

yes, delete the branch

cherry-pick in 7.x


Merge changes from Hoedown

??

Sorry, trying to direct the pull request the other way (to pick up your changes since I forked...)

On Oct 12, 2015, at 6:28 AM, Xavier Mendez<EMAIL_ADDRESS>wrote:
??
—
Reply to this email directly or view it on GitHub.

Michael Sweet

Ah, okay
2015-10-12 15:07 GMT+02:00 Michael R Sweet<EMAIL_ADDRESS>
Sorry, trying to direct the pull request the other way (to pick up your
changes since I forked...)

On Oct 12, 2015, at 6:28 AM, Xavier Mendez<EMAIL_ADDRESS>wrote:
??
—
Reply to this email directly or view it on GitHub.

Michael Sweet
—
Reply to this email directly or view it on GitHub
https://github.com/hoedown/hoedown/pull/177#issuecomment-147394105.


Misleading error message when searching for repos with no issues

If no issues are found when searching for a repository the search returns

No open issue found for user/repo

However, if you then change the user or repo you are searching for, the error message automatically updates with the new user or repo you are searching for, which makes it seem as if your new query has no issues either. This is fixed after clicking the search button.

Steps to reproduce:

Open https://akashnimare.github.io/git-issues.

Search for null/null. This will return the error message as above.

Type sindresorhus/ama. For as long as you don't hit search, the error message that was generated for the last search has updated and now makes it seem that sindresorhus/ama has no issues, although this is not true.

Hit search. The issues from sindresorhus/ama will populate.

@rbstrachan yeah, I can reproduce this. I'll look into it (I was quite away from this project but now back and ready to refactor 🚀 )

@rbstrachan fixed.


req.logIn does not set req.authInfo if callback is given

Hello,
Thank you for creating this awesome library.
I am writing a SailsJS application which uses passport and oauth2orize to handle API authentication.
In my app I would like to display custom errors when the API user does not specify required parameters. Therefore I would like to "catch" errors coming out from passport.authenticate which automatically sends an error response if one occurs and no callback has been specified. Thus I wrote a callback in my SailsJS policy file which guards the route. The way policies work in SailsJS is that they have to call next() if there is no problem or next(err) if there is an error to be displayed.
POLICY
As you can see I am doing the "manual login" so that I can return a custom error when passport fails because of missing required arguments like client_id or client_secret so that I can handle the error ( which is very troublesome since it breaks the flow and I see no reason why passport does not simply call my next function with an appropriate error, rather than just exiting as fast as possible, but there is already an issue for that ).
The issue:
req.logIn does not set authInfo when I pass in a callback programmed on line 213. This is a problem because after my authentication is done through passport I handle control to oauth2orize for access tokens and it expects authInfo to be set and thus fails if I do not manually do that part as well. This combined with the aforementioned issue caused me tons of time in debugging.
My problem is that this is not something I should be doing like this.
By not setting this I get an error in my exchangePasswordHandler about missing req.session.
The solution:
I believe there a very easy solution to this problem. If you run the callback not before but rather after you have actually logged in the user it would run perfectly. Something like this

Hello ???

I may be a little late but posting this for others who might have the same issue. It's really simple:
  req.authInfo = info // Preserve req.authInfo for the next route  req.user = user // Optional if you have a serialized user object to work with  return next()


PyPi Version

Thanks for maintaining this package, it's great. Would it be possible to get the PyPi version updated? I was getting an error that was due to an incompatibility with Django 1.10, which has since been fixed in the master branch. I'm currently pip installing from master, which has fixed my issue, but it looks like the latest version of this package on PyPi is from 2014-01-12 -- would it be possible to get a new package and version up on there?
Thanks!

Bumping as it's been more than 6 months. Is this package abandoned? It seems like that on pypi.
If you don't have time, perhaps assign someone who can please?

I generated a release for those who simply want it to work with newer versions of Django.  It's based on this repository: https://github.com/benjaoming/django-money-rates
https://github.com/pl77/django-money-rates/releases
or the wheel file, if you don't feel like clicking:
https://github.com/pl77/django-money-rates/releases/download/0.3.2/django_money_rates-0.3.2-py2.py3-none-any.whl


Main User Feedback re. the Wallet Experience - too many chain-change UI interactions

Major weak point is constant L1 and L2 switching required as the user interacts with L1 and L2. So something as simple as transferring some funds to a friend on the L2, from your L1, and also, contributing to both L1 and L2 Liquidity pools, takes 3 to 5 refresh/Metamask set-L1 or set-L2 steps, which is way too many. Design target - user opens wallet and sees all their balances on both L1 and L2. Then, user selects action. If not on correct chain for that specific action, then allow user to move to correct chain for that action with one click, so the chain change and action can be performed in fewer than two clicks on average.

Documentation, Add L2 button, wallet front page probably wrong since the new L2 endpoint is https://rinkeby.omgx.network - note https
Explain meaning of greyed-out buttons = liquidity pools low?
Not clear where to click to stake -> action is called 'Details' - Perhaps we could rename 'Details'->'Staking'
[wording] Two instances of you first need to approve this. -> you first need to allow us to hold {amount} of your {tokenName}. The goal is to make it more clear what it actually means when people click approve, since most people have zero idea what happens when they click approve
[wording] _Your tokens will be deposited into the liquidity pool. Meanwhile, you are rewarded with a portion of the fees collected from the swap users. The current reward rate is 3.5%. Whenever someone fast exists, the user pays a 5% fee, of which 3.5% is added to the liquidity pool of the token they used._ Suggest: _When you deposit tokens into the liquidity pools, you will earn a share of the fees collected from the users of the Swap-On/Swap-Off system_.


fix: use unidirectional streams v0.3.x

This PR makes libp2p pubsub subsystem use unidirectional streams instead of bidirectional streams per discussion on ipfs/go-ipfs#7390.
More details about the reasoning for this can be found in https://discuss.libp2p.io/t/gossip-questions/257/6
This PR replicates #105 for the 0.3.x version range of libp2p-gossipsub
I have tested this change on all libp2p repos: js-libp2p, libp2p-daemon and interop and everything is working properly. The tests here need to be updated though, as a result of the tests being implemented considering a bidirectional stream.
Bear in mind that a lot of this "connection logic" can be abstracted. I did not worry about it and just followed what we already had in floodsub and gossipsub. Hopefully, after<EMAIL_ADDRESS>I want to create the libp2p pubsub interface and move/refactor the tests there and re-use most of them in all our router implementations.
Needs:

[ ] https://github.com/libp2p/js-libp2p-pubsub/pull/45

Codecov Report

Merging #79 into v0.3.x will decrease coverage by 1.21%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           v0.3.x      #79      +/-   ##
==========================================
- Coverage   82.79%   81.57%   -1.22%
==========================================
  Files           8        8
  Lines         494      494
==========================================
- Hits          409      403       -6
- Misses         85       91       +6

Impacted Files
Coverage Δ

src/pubsub.js
82.38% <0.00%> (-3.78%)
:arrow_down:

Continue to review full report at Codecov.

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

Per https://github.com/ipfs/go-ipfs/issues/7390#issuecomment-638298041 this should be ready to go.

Released 0.3.1 with this fix


Fix theming for auto night mode

Task/Issue URL:
https://github.com/duckduckgo/Android/issues/1729
Description
UiModeManager provides only static information about night mode (yes/no/auto/custom), needs to get dynamic info about mode from Configuration. This fix shows how to get system night mode correctly.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1203483899986858

Please accept this PR!

Thanks @simonvar. I've tested and works as expected, well done!


Add support for the Markdown API

https://developer.github.com/v3/markdown/

Implemented.

Awesome! Thanks!
Now I need to get this into the Jenkins github-api plugin...


Write model run outputs

At long last, the output schema PR is ready to go. There are a few actions failing; these should be ignored (see #49). I'm sorry about the size here -- it's really much fewer than ~1200 lines of code, but still not awesome of me.
These are the functions and documentation to go from fitted EpiNow2 model to a directory of outputs ready to be uploaded to Azure Blob. I feel good about all the functionality and that the schema includes most of what we want (in particular both pre- and post-nowcast cases).
It would be particularly helpful to get review on:

Clarity and robustness of documentation. Does the readme make clear what is produced and where? I'd like to start pointing people to the readme when they have questions.
Output schema. I went with a hybrid format on task-grouped and output-grouped. I think it'll make it easier to both glob over files and do manual investigation, but open to feedback here. Does anyone foresee issues with extensibility if there's a new output type we want? Or total dealbreakers if/when plugging in a new type of model?
Missing outputs. I tried to be reasonably comprehensive for everything we currently use. It'd be good to get feedback if there's something important missing.

Note on this that I don't know that there is an issue describing the plan for this PR (?) so in reviewing I am somewhat unsure what the goals are.

The failing check is a known, unrelated issue. It's being handled in #60


Allow base64 encoded private keys for Snowflake destination

See https://github.com/dlt-hub/dlt/issues/636

@rudolfix Looks like something is odd with the MS SQL connection? Otherwise, tests are passing now - thanks a lot for your helpful comments

@codingcyclist MSSQL on azure is unstable. we'll move to testing with local version (most probably)


README: always use go get -u

It is prefarable for newcomers who haven't discovered the -u flag
yet. If they are going through the installation steps, they're
likely to be looking for the latest version.

Feel free to merge if looks good.


mypy issue

I really don't know whether this issue belongs to this issue tracker or not, so you'll have to execuse me

I have a test project, in the folder I have a python file (typed_mod.py) containing a simple function (f()) defined as
def f(a):
    return a

a stub file (typed_mod.pyi) that annotates the f function as:
def f(a: int) -> int: ...

I was expecting that the function signature will be inspected from the stub file, and an error will be issued when using f() with a string parameter, but it doesn't, and completion is provided for b as a string, on the other hand when working with a module with type annotations "inline", I get correct results

I don't know whether this has to do with LSP, pyls or mypy.

My guess: the python-language-server should be configured so that it can find the .pyi file. I doubt this has anything to do with this plugin. Though feel free to ask around in the gitter chat.

the python-language-server should be configured so that it can find the .pyi file

I do have a mypy.ini file in my folder.

Also, consider testing with mypy from the command line (what pyls-mypy does is similar) and searching the issues from the mypy repository!

and searching the issues from the mypy repository!

Thanks, I found it here

You could compare your project with this LSP project, as we also keep the stubs in a subfolder, as configured in the mypy.ini here: https://github.com/tomv564/LSP/blob/ecd9f0f6e274341493b34389442fe55a0b628316/mypy.ini#L5

@tomv564, don't you face this problem ?

Did you run mypy from the command line and observe the same issue?
I only use stubs for code that mypy can’t reach (the sublime API is not importable by mypy as mypy doesn’t run in the sublime python environment). don’t see the point of maintaining


Incorrect SQL is generated in lean-draft handling of CDS since @cap-js/db-service "1.2.0"

Description of erroneous behaviour

When we use the lean draft handling in CDS together with the newest version of @cap-js/db-service (1.2.0), we encounter incorrectly generated SQL for SQLite in this file<EMAIL_ADDRESS>Function: onPrepare(req), Line: 1084

SELECT json_insert('{}','$."DraftAdministrativeData"',DraftAdministrativeData->'$','$."ID"',ID) as _json_ FROM (SELECT (SELECT json_insert('{}','$."InProcessByUser"',InProcessByUser) as _json_ FROM (SELECT DraftAdministrativeData.InProcessByUser FROM DRAFT_DraftAdministrativeData as DraftAdministrativeData WHERE drafts.DraftAdministrativeData_DraftUUID = DraftAdministrativeData.DraftUUID LIMIT 1)) as DraftAdministrativeData as DraftAdministrativeData,drafts.ID FROM admin_service_Requests_drafts as drafts WHERE drafts.ID = ? LIMIT 1)

Note the as DraftAdministrativeData as DraftAdministrativeData,drafts.ID double as

When we use @cap-js/db-service 1.1.0 the SQL is emited correctly:

SELECT json_insert('{}','$."DraftAdministrativeData"',DraftAdministrativeData->'$','$."ID"',ID) as _json_ FROM (SELECT (SELECT json_insert('{}','$."InProcessByUser"',InProcessByUser) as _json_ FROM (SELECT DraftAdministrativeData.InProcessByUser FROM DRAFT_DraftAdministrativeData as DraftAdministrativeData WHERE drafts.DraftAdministrativeData_DraftUUID = DraftAdministrativeData.DraftUUID LIMIT 1)) as DraftAdministrativeData,drafts.ID FROM admin_service_Requests_drafts as drafts WHERE drafts.ID = ? LIMIT 1)'

The version bump was introduced by: "@cap-js/sqlite"
Details about your project

Remove the lines not applicable, and fill in versions for remaining ones:

com.dscgmbh.payint
git@github.com:DSC-GMBH/BTP_POC_PI.git

Node.js
v18.16.1

@sap/cds
7.1.2

@sap/cds-compiler
4.2.2

@sap/cds-dk
7.1.1

@sap/cds-dk (global)
7.1.1

@sap/eslint-plugin-cds
2.6.3

@sap/cds-mtxs
1.10.0

Thanks for investigation

fyi @nlaenger

@David-Kunz could you have a look?

@fabiantschirschnitz Thanks for reporting. Could you provide a sample repository with detailed steps to reproduce this issue?

Dear @patricebender thank you the issue was resolved by upgrading @cap-js/sqlite also to version 1.2.0


Pre-fitted calibration for multiclass

We would like to be able to calibrate a pre-fitted multiclass classifier (e.g. a RandomForestClassifier). Right now, it seems to be impossible to use this implementation for this particular case, as it only seem to support IVAP and CVAP for multiclass.
We would typically like to do the same as in the simple_classification.ipynb but for multiclass as well:
# Pre-fitted Venn-ABERS calibration
X_train_proper, X_cal, y_train_proper, y_cal = train_test_split(
    X_train, y_train, test_size=0.2, shuffle=False
)

clf.fit(X_train_proper, y_train_proper)
p_cal = clf.predict_proba(X_cal)
p_test = clf.predict_proba(X_test)

va = VennAbersCalibrator()
va_prefit_prob = va.predict_proba(p_cal=p_cal, y_cal=y_cal, p_test=p_test)

Hi tuvelofstrom thank you for raising this issue. I am currently working on several enhancements to the package , which once finalised, will contain this functionality as well as the one raised by karllandheer on being able to  calibrate multi-class probabilities generated by classifiers which are not compatible with scikit-learn OnevsOneClassifier library. I should have these ready soon and will keep you posted. Thanks

Hi I have created a new branch with added functionality which can be found here:
https://github.com/ip200/venn-abers/tree/multiclass_general
Please feel free to try the code above when you have a sec,  it allows for pre-fitted multiclass probabilities to be calibrated using the Venn-ABERS method, without the need to supply an underlying scikit learn classifier.
Please also note the following:

for a given dataset and classifier, this method will give slightly different results to the equivalent IVAP procedure, as the latter fits a new instance for the classifier using scikit learn OnevsOne to the proper training set, whereas this method approximates one-vs-one probabilities from the pre-fitted training and calibration sets
for very large datasets you can also supply the precision parameter to the VennAbersCalibrator class here too, which speeds up the computation significantly, in addition, you cal also specify p0_p1_output = True in predict_proba which will return a set of p0 and p1 values for all binary pair combinations for the multiclass dataset

Once you had a chance to review, I can easily merge this into the main branch. Thanks

Hi Tuwe, please see version venn-abers 1.4.2 on PyPy pip install venn-abers==1.4.2 . Example of the new method can be found in https://github.com/ip200/venn-abers/blob/main/examples/multiclass_classification.ipynb cell 20. Hope this helps!


Why is opt.n_val_samples 3

I found that when fine-tuning UCF101, split1 partition was used to verify that the number in the dataset was 11349 instead of 3783, and why was batchsize opt.batch_size // opt.n_val_samples?

Hello, I have also encountered the same problem. Do you know why


Too many requests`

Litearlly running it for the first tiem:
INFO:sentence_transformers.SentenceTransformer:Load pretrained SentenceTransformer: multi-qa-MiniLM-L6-cos-v1
INFO:sentence_transformers.SentenceTransformer:Use pytorch device: cpu
WARNING:llama_index.llm_predictor.base:Unknown max input size for gpt-3.5-turbo, using defaults.
Using Google Web Search and searching for 'Connor Verlekar'...!
Traceback (most recent call last):
  File "/home/shubham/1-lang/test", line 5, in <module>
    answer_dict = generate_answer(query)
  File "/home/shubham/1-lang/intelliweb_GPT/generate.py", line 31, in generate_answer
    urls = [r for r in res]
  File "/home/shubham/1-lang/intelliweb_GPT/generate.py", line 31, in <listcomp>
    urls = [r for r in res]
  File "/home/shubham/.local/lib/python3.10/site-packages/googlesearch/__init__.py", line 54, in search
    resp = _req(escaped_term, num_results - start,
  File "/home/shubham/.local/lib/python3.10/site-packages/googlesearch/__init__.py", line 23, in _req
    resp.raise_for_status()
  File "/home/shubham/.local/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://www.google.com/sorry/index?continue=https://www.google.com/search%3Fq%3DConnor%252BVerlekar%26num%3D7%26hl%3Den%26start%3D0&hl=en&q=EhAqAQT5wBJQkwAAAAAAAAABGNz_kqIGIjBo0FE-QdiYqUNQu8TfYti1EdjdCwiNsQADSMA5AVcPacRbyHu-Z1sW9UTZMNn0vM8yAXI

Hi. You are getting this error because google seems to have blocked you IP address for some reason. Maybe you had tried fetching data from google earlier programmatically? In order to get this running, you'll need to use something like https://serpapi.com/ or https://serper.dev/ (cheaper) to fetch the results from google. I have been meaning to integrate these to the code as well so one can use whichever tool he/she likes.

@connorv001 I have just pushed the code that uses https://serper.dev to initially fetch the relevant urls. You'll need to create an account on  https://serper.dev and generate an API Key. It gives you 1000 requests for free initially. Copy the API key to the SERPER_API_KEY env variable in .env file. Everything should work after that. Let me know.

Still gives the same error @AdirthaBorgohain

@connorv001 Can you pull from the repo now and run the example_usage.py file? Don't forget to add the SERPER_API_KEY key to .env file before running.

Thank you it worked now.


Upgrade pitest-maven-plugin 1.17.1 -> 1.17.2

This PR contains the following updates:

Package
Type
Update
Change

pitest-maven-plugin (source)
build
patch
1.17.1 -> 1.17.2

Release Notes

hcoles/pitest (pitest-maven-plugin)
v1.17.2
Compare Source

#1362  Exclude lambdas in methods excluded by annotation (thanks @see-quick)

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade pitest-maven-plugin 1.17.1 -> 1.17.2

See:
- https://github.com/hcoles/pitest/releases/tag/1.17.2
- https://github.com/hcoles/pitest/compare/1.17.1...1.17.2


Problem: can't see the Specs of Smart Contract Specs

goal

https://github.com/Hoosling/smart-contracts/issues/1

Added specs page for the hoosling smart contracts repo.
@matthewvogas waiting for your review.

@MY-RV @sfabricito pls review too

pls provie more information abot chains, cryptos, layers, rewards, in the specs, can take some inspiration with https://thegraph.com/, provide more info about the stack, solidity, libraries, etc... and logical teck structure.
Start creating the smart contract and adding the 0x into the specs too

this info need to be in the specs too

https://thegraph.com/docs/en/quick-start/
@lmontero18

pls create tesnet sepolia wallet for test and ping me, I can send $800 eth sepolia in that testnet wallet to start

pls create tesnet sepolia wallet for test and ping me, I can send $800 eth sepolia in that testnet wallet to start

Why do we need that wallet

this info need to be in the specs too

https://thegraph.com/docs/en/quick-start/
@lmontero18

Me and @sfabricito are going to have a talk about this, but first, we need to understand what we really need for the contracts to work correctly, then we add that kind of information to the specs page.

@lmontero18 is this done? if can you close it so?

Im modifying the specs file, so its not done yet!

pls provie more information abot chains, cryptos, layers, rewards, in the specs, can take some inspiration with https://thegraph.com/, provide more info about the stack, solidity, libraries, etc... and logical teck structure.
Start creating the smart contract and adding the 0x into the specs too

Also, thegraph is something that @MY-RV is going to use, it is not use in the creation of smart contracts, this can be added in the specs of the backend repository.

@matthewvogas, @sfabricito, @MY-RV  already change to a new version of the specs file for the smart contracts, look at it and give me some feedback!

@sfabricito @lmontero18 @MY-RV I'll close this issue cause now we have the specs, so only let's keep the specs up-to-date weekly


doc(README): remove typo

Description:
This Pull Request fixes a typographical error in the README.md file.
Changes Made:

Corrected "audibooks" to "audiobooks" in the README.md file.

Additional Information:
This fix is not related to any existing issue. It's a minor typo that I noticed while reviewing the README.
Thank you for considering this contribution.

Thanks !


Automatically detect and link to Homebrew's libyaml

closes #1928
turns out there already was a test for this behaviour but it was falsely passing due to needs_yaml (that was run only from tests) was calling use_homebrew_yaml (which was otherwise not called in production)
Bash is not my native language and I've had very limited experience with BATS framework so there might be things I've done wrong :)

thanks for the review, @mislav!
I ended up reverting most of my changes and instead dropped the fixture usage in favor of an inline definition to avoid future false negatives in this test

anything else I need to do to move this forward?

I think I have issues this PR could fix. Trying to install on Ventura is bailing on not finding libyaml.

@KevDog In the meantime, you can explicitly set RUBY_CONFIGURE_OPTS=--with-libyaml-dir=/path/to/libyaml to work around this in your setup.

Friendly bump 🙏🏼 Another use case is that package managers that depend on ruby-build, e.g. asdf are failing to install ruby and need more magic trickery to get this fixed.

Thanks!


About modal

Most teams likely have this implemented already but there are some visual changes between Carbon 10 and 11 so could be relevant to v11 migrations. Probably also relevant for acquisition teams.


fix(share/discovery): fix TestDiscovery test

TestDiscovery has been increasingly unstable lately. This fix aims to make it stable

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 45.69%. Comparing base (2469e7a) to head (3807848).
Report is 178 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3699      +/-   ##
==========================================
+ Coverage   44.83%   45.69%   +0.85%
==========================================
  Files         265      281      +16
  Lines       14620    16042    +1422
==========================================
+ Hits         6555     7330     +775
- Misses       7313     7871     +558
- Partials      752      841      +89

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


Comma in serialization result

What version of Ajv are you using? Does the issue happen if you use the latest version?
Version: 8.11.0, JTD
Ajv options object
{
  coerceTypes: 'array',
  useDefaults: true,
  removeAdditional: true,
  uriResolver: fastUri,
  allErrors: false
}

JSON Schema
{
  "optionalProperties": {
    "test": {
      "type": "boolean"
    },
    "error": {
      "type": "string"
    }
  },
  "additionalProperties": false
}

Sample data
{ "error": "Something went wrong" }

Your code
const AjvJTD = require('ajv/dist/jtd')

const ajv = new AjvJTD({
  coerceTypes: 'array',
  useDefaults: true,
  removeAdditional: true,
  uriResolver: fastUri,
  allErrors: false
})
const serialize = ajv.compileSerializer(schema)
const result = serialize(object)

Serialized data (NOTICE COMMA)
{,"error":"Something went wrong"}

What results did you expect?
{"error":"Something went wrong"}
Are you going to resolve the issue?
Resolution of this issue is non actionable by me

I'm trying to achieve the result when serialized object could have some data on success or error

Also experiencing the same issue. With a schema of only optional properties, when the first optional property in the schema is missing from the object, the serialized output has a comma at the start, causing JSON validation issues downstream.

That does look like a bug - the fix should be simple - PR is welcome, otherwise I’ll fix some time next month.

@epoberezkin  Please have a look at https://github.com/ajv-validator/ajv/pull/2028


[docs] API and Configuration File: Rename outStream, file -> output

\cc @miherlosev @kirovboris

We could probably move the examples closes to the wording I've just added... but... I kind of like how they are organized into subsections and referenced from the topic's introduction now.


fix(tool): fix system tool icon

Return default icon for system tools without defined one

Thanks, for fixing it. Now it works.


admin UI 1

http://order-organic.com/inventory/dashboard
admin-->main navigation page-->overlapping

fix


Yaml for custom issues and prs

Add github pr and issue yamls to main branch for a nicer layout and guided questions.

This and I think we should also make a contributing.md for some style guidelines for adding code

Just added a yaml for questions. After contributing.md is added i'm closing this issue.


Extension causes high cpu load

Issue Type: Performance
Extension Name: python
Extension Version: 2019.8.30787
OS Version: Linux x64 4.15.0-58-generic
VSCode version: 1.37.1

:warning: Make sure to attach this file from your home-directory:
:warning:/home/juanca/ms-python.python-unresponsive.cpuprofile.txt
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

As you've failed to upload the /home/juanca/ms-python.python-unresponsive.cpuprofile.txt, there's not much we can do about it. Please upload the file and we'll be happy to reopen the issue, closing this for now.


Role permissions for vCenter 6.7

Please add permissions for vCenter 6.7. They are different from vCenter 6.5 and therefore it's hard to assign proper permissions to MABS user.

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

ID: 56ab6c2f-0846-e344-2613-808078b627cb
Version Independent ID: 4afbc90f-4e26-e4e1-b1ec-b4cddb402447
Content: Back up VMware VMs with Azure Backup Server - Azure Backup
Content Source: articles/backup/backup-azure-backup-server-vmware.md
Service: backup
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

@konopkap Thank you for your feedback, we will further look into it and get back to you at the earliest.

#reassign:SujayJDesai

Thanks for your question. We've updated the document to reflect the changes in permissions.
#please-close

Thanks for updating. I assigned MABS user a role with this set of atributes in vCenter 6.7 but unfortunately recovery point creation fails with error 3014. After changing MABS user permissions to administrator creation finished without any errors, so I'm sure it was lack of permission problem.

@BharathNimmala-MSFT  Can you please reopen this issue? Thanks.

@konopkap can you please add following additional permissions and confirm if it this is working.

DataStore.Low Level File Operations
Global.Enable Methods
Global.Disable Methods
Global. Set Custom Field
VirtualMachine.Configuration.Disk Lease(or Acquire Disk Lease)

Hello, the error is still the same (3014).

Here is the final list of permissions. We will update the document soon with this.
vCenter 6.7
Datastore cluster.Configure a datatstore cluster
Datastore.AllocateSpace
Datastore.Browse datastore
Datastore.Low-level file operations
Global.Disable methods
Global.Enable methods
Global.Licenses
Global.Log event
Global.Manage custom attributes
Global.Set custom attribute
Host.Local operations.Create   virtual machine
Network.Assign network
Resource. Assign virtual machine   to resource pool
vApp.Add virtual machine
vApp.Assign resource pool
vApp.Unregister
VirtualMachine.Configuration. Add Or Remove Device
Virtual   machine.Configuration.Acquire disk lease
Virtual   machine.Configuration.Add new disk
Virtual   machine.Configuration.Advanced configuration
Virtual machine.Configuration.Toggle   disk change tracking
Virtual   machine.Configuration.Configure Host USB device
Virtual   machine.Configuration.Extend virtual disk
Virtual   machine.Configuration.Query unowned files
Virtual   machine.Configuration.Change Swapfile placement
Virtual machine.Guest   Operations.Guest Operation Program Execution
Virtual machine.Guest   Operations.Guest Operation Modifications
Virtual machine.Guest   Operations.Guest Operation Queries
Virtual machine .Interaction   .Device connection
Virtual machine .Interaction   .Guest operating system management by VIX API
Virtual machine .Interaction   .Power Off
Virtual machine   .Inventory.Create new
Virtual machine   .Inventory.Remove
Virtual machine   .Inventory.Register
Virtual machine   .Provisioning.Allow disk access
Virtual machine   .Provisioning.Allow file access
Virtual machine .Provisioning.Allow read-only disk access
Virtual machine   .Provisioning.Allow virtual machine download
Virtual machine .Snapshot   management. Create snapshot
Virtual machine .Snapshot   management.Remove Snapshot
Virtual machine .Snapshot   management.Revert to snapshot

@dcurwin Please update the document.

#assign:dcurwin

The document has been updated - the changes will show in the next few hours.
#please-close


fix(ymap): set default parentIndex to -1

Default parentIndex should be -1 and not 0.
This caused an issue in each generated YMAPs where the first entity was visible in CW but invisible in game.

so that's why I had that issue, lmai


Create roundUpDown.md

Description
Added a python script "roundUpDown" which rounds a number to an integer up or down based on user input.

PR Type

[yes ] Snippets, Tests & Tags (new snippets, updated snippets, re-tagging of snippets, added/updated tests)
[ ] Tools, Scripts & Automation (anything related to files in the scripts folder, Gatsby, website, Travis CI or Netlify)
[ ] General, Typos, Misc. & Meta (everything related to content, typos, general stuff and meta files in the repository - e.g. the issue template)
[ ] Other (please specifiy in the description above)

Guidelines

[ yes] I have read the guidelines in the CONTRIBUTING document.

This is the first time I contribute to anything , I can change anything you don't like.


chore (newrelic-dotnet-agent): Add/update .json and .mdx files for the New Relic .NET agent

Added src/data/projects/newrelic-newrelic-dotnet-agent.json
Renamed existing src/data/project-main-content/newrelic-dotnet-agent.mdx to newrelic-newrelic-dotnet-agent.mdx and updated content.

Thanks @nr-ahemsath for the PR. Merging and deploying now.


[GDScript 2.0] [regression] parse error on statement-less file

Godot version
master #fb176d5f6e6dc2b43c630a041a8ab7d737173ec4
System information
manjaro linux
Issue description
While empty (0 bytes) file will get parsed successfully, the following files will not (they did in Godot 3.x):

newline, newlines:

comment + newline

# asd

Error:
SCRIPT ERROR: Parse Error: Unexpected "Newline" in class body.

Steps to reproduce
compile
Minimal reproduction project
No response

I think it is acceptable for empty files to produce an error.
Empty files can be indicative of problems the user may wish to know about, such as files being overwritten or cleared. Is there any usecase in which having an empty gdscript file (without extends) is useful?
If an empty class is desired (for example, a common superclass with no behavior), it is good practice to declare the GDScript as extends RefCounted or extends Node, etc.

Most scripting languages don't produce an error when running an empty file, but I agree it makes sense to produce an error in Godot's context. That said, the error message should be changed to be more helpful (e.g. "Missing extends  declaration.").

@lyuma scripts extend Object (or Reference - I'm  not sure) by default. I don't see any point of writing such statement in case of e.g. utility scripts where one has only e.g. static functions. To me, putting misleading extends in such circumstances ishould be considered a code smell.
Moreover - what about situation where someone, for whatever reason selects all the code in the file and turns it into comments?
I don't think some newbies will know they have to put statement like extends or pass to make it working - while such situation may be quite common. Imagine a newbie that is frustrated due to code not working - if he must finish his session, he will select all, comment all and save file with 3 shortcuts. I don't see a reason why such person's project should fail on file full of newlines and comments.

Ok, I think I understand the original issue a bit better. I missed the fact that entirely empty scripts are allowed even in current master.
So the issue is that even though entirely empty scripts are currently allowed, for some reason in Godot master, adding comments and newlines to empty scripts is not allowed. So there is clearly some inconsistency, and thus the issue isn't about scripts without 'extends`.
(also of note, adding an empty annotation like @tool will cause the otherwise-empty script with comments to be accepted, even though it shouldn't have any effect.)
Furthermore, although I've never written GDScript without it, you seem to be correct that the extends line is not required. In fact, extends seems to be utterly ignored on scripts assigned through the Script field. (For example, Godot seems to allow a script which says extends Node to be assigned as the script on a Resource.)
In short, I agree with you that there's clearly some bug here. I also get the usecase of being allowed to comment out everything in the script.


[Best Practice] Limit policy to specific api endpoints

Hello,
first of all, thanks for creating this, it really helps a lot!
I am currently using py-abac to protect our api endpoints and searching for a way to limit the policies to a specific path.
My current solution is to just perform a regex match on the resource like this.
Endpoint: /v1/user/604g7bh4av2aj54114c14600
Policy
{
        "uid": "2",
        "description": "Allow user to get his own account",
        "effect": "allow",
        "rules": {
            "subject": {
                "$.user_id": {
                    "condition": "RegexMatch",
                    "value": ".*"
                }
            },
            "resource": {
                "$.path": {
                    "condition": "RegexMatch",
                    "value": "^\/v1\/user\/[0-9a-fA-F]{24}$"
                },
                "$.id": {
                    "condition": "EqualsAttribute",
                    "ace": "subject",
                    "path": "$.user_id"
                }
            },
            "action": {
                "$.method": {
                    "condition": "IsIn",
                    "values": [
                        "get"
                    ]
                }
            },
            "context": {}
        },
        "targets": {},
        "priority": 0
    }

Access Request
{
   "subject":{
      "id":"",
      "attributes":{
         "user_id":"604g7bh4av2aj54114c14600",
         "role":"user"
      }
   },
   "resource":{
      "id":"",
      "attributes":{
         "path":"/v1/user/604g7bh4av2aj54114c14600",
         "id":"604g7bh4av2aj54114c14600"
      }
   },
   "action":{
      "id":"",
      "attributes":{
         "method":"get"
      }
   },
   "context":{

   }
}

Would the target or context section be better fit to limit this policy only on to this specific api endpoint ?
Some API Endpoints also don't have path parameters with user id's etc, thus we have to perform a database lookup first and then use the owner and member attributes inside the database object to perform the validation.

Hi @tplueer
Glad to hear you found Py-ABAC useful!
Regarding your question, using targets is the correct way to limit the number of policies evaluated by the PDP during an access request. From what I am understanding, you are defining polices based on the accessed path. You can thus restrict the number of policies by using the following:
Policy:
{
        "uid": "2",
        "description": "Allow user to get his own account",
        "effect": "allow",
        "rules": {
            "subject": {
                "$.user_id": {
                    "condition": "RegexMatch",
                    "value": ".*"
                }
            },
            "resource": {
                "$.path": {
                    "condition": "RegexMatch",
                    "value": "^\/v1\/user\/[0-9a-zA-Z]{24}$"
                },
                "$.id": {
                    "condition": "EqualsAttribute",
                    "ace": "subject",
                    "path": "$.user_id"
                }
            },
            "action": {
                "$.method": {
                    "condition": "IsIn",
                    "values": [
                        "get"
                    ]
                }
            },
            "context": {}
        },
        "targets": {
             "resource_id": "/v1/user"
        },
        "priority": 0
    }

Access Request:
{
   "subject":{
      "id":"",
      "attributes":{
         "user_id":"604g7bh4av2aj54114c14600",
         "role":"user"
      }
   },
   "resource":{
      "id":"/v1/user",
      "attributes":{
         "path":"/v1/user/604g7bh4av2aj54114c14600",
         "id":"604g7bh4av2aj54114c14600"
      }
   },
   "action":{
      "id":"",
      "attributes":{
         "method":"get"
      }
   },
   "context":{}
}

Note that I have changed the regex in the policy slightly to match the user ID in your example.
The above policy and any other policies having "resource_id": "/v1/user" inside their target block will be selectively retrieved from the storage by PDP when accessing the account endpoint.
Hope that was of help!

Thanks for the quick answer @ketgo !
I am using the targets section for that now.


fusion/matching should also use some and none instead of Some and None:

Ref https://github.com/nim-lang/Nim/pull/17147#issue-577813481

Discussed in https://github.com/timotheecour/Nim/issues/612. Some and None are chosen for similarity with kind prefix drop.
It would be trivial to implement some and none support too, but the intended way of writing would still be Some and None. (i.e. I can add check for "some", but don't want to switch whole documentation to new style). Is that acceptable?


filter: ability to use negative patterns

This is quite similar to gitignore. If a pattern is prefixed by an
exclamation mark and match a file that was previously matched by a
regular pattern, the match is cancelled. Notably, this can be used
with --exclude-file to cancel the exclusion of some files.
Like for gitignore, once a directory is excluded, it is not possible
to include files inside the directory. For example, a user wanting to
only keep *.c in some directory should not use:
~/work
!~/work/*.c

But:
~/work/*
!~/work/*.c

I didn't write documentation or changelog entry. I would like to get
feedback if this is the right approach for excluding/including files
at will for backups. I use something like this as an exclude file to
backup my home:
$HOME/**/*
!$HOME/Documents
!$HOME/code
!$HOME/.emacs.d
!$HOME/games
# [...]
node_modules
*~
*.o
*.lo
*.pyc
# [...]
$HOME/code/linux/*
!$HOME/code/linux/.git
# [...]

There are some limitations for this change:

Patterns are not mixed accross methods: patterns from file are
handled first and if a file is excluded with this method, it's not
possible to reinclude it with --exclude !something.

Patterns starting with ! are now interpreted as a negative
pattern. I don't think anyone was relying on that.

The whole list of patterns is walked for each match. We may
optimize later by exiting early if we know no pattern is starting
with !.

Fix #233
Checklist

[x] I have read the Contribution Guidelines
[x] I have added tests for all changes in this PR
[x] I have added documentation for the changes (in the manual)
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Looks good, although at present I don't think it handles this case:
$HOME/**/*
!$HOME/local/bin

i.e. the current logic excludes $HOME/local and so the negate for $HOME/local/bin is missed.
This solution needs special handling of the childMayMatch combined with negate case.
I've worked some logic which appears to work and will add tomorrow. It needs to consider both exclude and include cases.

Yes, you are right, this is not handled correctly.

Understood, thanks, although I think highly preferable to handle this as per the two-line formulation. Thoughts?
Also, this PR does not currently handle restore presently (same filter code used in cmd_restore.go).
e.g. this should restore local/bin files starting with 'a' through 'm' but restores nothing
restic restore -v --include '/local/bin' --include '!/local/bin/[a-m]*' latest

For this example, yes. But what about:
$HOME/build
test.*
!test.c

Should we include $HOME/build/something/something/test.c (and then walk $HOME/build)?

Regarding general logic, I think you are right. The additional terms are better than the requirement to walk additional subtrees. Thanks.
In regards to the restore, I'm presuming you mean --include not --exclude. But in any case the modification of the term to /local/bin/* does not help.
I believe the issue is that the childMayMatch should not reset in the same way as the primary match term - it should retain the behaviour of triggering to true if any pattern indicates that a child may match.
So
childMayMatch = childMayMatch && !c || c && !negate

becomes
childMayMatch = childMayMatch || c && !negate

This works for my restore case. Thoughts?

I also suggest another expansion of the filter tests is warranted - a few extra cases and capturing the childMayMatch return value in the tests. See https://github.com/danielsharvey/restic/commit/7cb1815dc70f7fd10ea841b0142de15ba02c325a
Thoughts?

You said e.g. this should restore local/bin files starting with 'a' through 'm' but restores nothing, but you have --include "!local/bin/[a-m]*", so it should not restore files starts with 'a' through 'm', right? So, I am a bit confused by the example.
But you are right, there is something different about restore. Just using a negative pattern is enough to make it fail. We should add tests for the this as there is currently none.

You said e.g. this should restore local/bin files starting with 'a' through 'm' but restores nothing, but you have --include "!local/bin/[a-m]*", so it should not restore files starts with 'a' through 'm', right? So, I am a bit confused by the example.

Argh! Sorry - the test restore (that works with the change I suggest) is to exclude 'a' through 'm' and include 'n' through 'z'.

But you are right, there is something different about restore. Just using a negative pattern is enough to make it fail. We should add tests for the this as there is currently none.

Yes. The tests I suggest in my commit https://github.com/danielsharvey/restic/commit/7cb1815dc70f7fd10ea841b0142de15ba02c325a and https://github.com/danielsharvey/restic/commit/6a4938affc559d16ed98e28d7f137431c5ff5ab5 that capture this and the other checks we've been discussing are:
{[]string{"/**/*", "!/foo", "/foo/*", "!/foo/bar"}, "/foo/other/test.go", true, true},
{[]string{"/**/*", "!/foo", "/foo/*", "!/foo/bar"}, "/foo/bar/test.go", false, false},
{[]string{"/**/*", "!/foo", "/foo/*", "!/foo/bar"}, "/foo/bar/test.go/child", false, false},
{[]string{"/**/*", "!/foo", "/foo/*", "!/foo/bar", "/foo/bar/test*"}, "/foo/bar/test.go/child", true, true},
{[]string{"/foo/bar/*", "!/foo/bar/[a-m]*"}, "/foo", false, true},
{[]string{"/foo/**/test.c"}, "/foo/bar/foo/bar/test.c", true, true},
{[]string{"/foo/*/test.c"}, "/foo/bar/foo/bar/test.c", false, false},

But, I still had not properly considered the childMayMatch case in the negation case. I think the logic needs to be:
matched = matched && !m || m && !negate

if negate {
  // a matching negation will 'cover' child matches
  if m && c {
    childMayMatch = false
  }
} else {
  childMayMatch = childMayMatch || c
}

Hey!
Sorry for the late answer, I was a bit busy lately. So you were right. I have added a commit with tests for childMayMatch before the change and I have updated the commit for the change to use your logic (but I have formatted to make it look like the logic for updating match). I agree with the results of the tests. This seems to work now as expected.

Thanks, looks good to me.

Thanks @danielsharvey for the review! I have added the documentation and the changelog entry. The PR should be ready for a formal review.

Codecov Report

Merging #2311 into master will decrease coverage by 4.42%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2311      +/-   ##
==========================================
- Coverage   50.91%   46.49%   -4.43%
==========================================
  Files         178      174       -4
  Lines       14548    14514      -34
==========================================
- Hits         7407     6748     -659
- Misses       6075     6765     +690
+ Partials     1066     1001      -65

Impacted Files
Coverage Δ

internal/filter/filter.go
76.47% <100%> (+0.56%)
:arrow_up:

internal/backend/b2/b2.go
0% <0%> (-80.69%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-78.83%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-74%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
34.69% <0%> (-57.15%)
:arrow_down:

cmd/restic/cmd_mount.go
13.75% <0%> (-42.5%)
:arrow_down:

internal/archiver/file_saver.go
81.57% <0%> (-2.64%)
:arrow_down:

internal/archiver/blob_saver.go
92.59% <0%> (-2.47%)
:arrow_down:

internal/backend/s3/s3.go
59.39% <0%> (-0.76%)
:arrow_down:

... and 4 more

Continue to review full report at Codecov.

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

@fd0 Is there any process that we should follow to progress PRs like this one? I have been using this for some time and would love to see it merged. Thanks!

Following up on the comments by @MichaelEischer would be the process, but in the end it boils down to the core developers' time constraints. There are many other changes that are being worked on, patience is needed :)

I have rebased the commit and use the second approach, suggested by @MichaelEischer

Thanks @rawtaz, I appreciate the challenge of volunteer efforts. And apologies, I had missed that @MichaelEischer's comments had not been fully responded to (now done).

To anyone else; Has anyone else tested this in production? Please let us know :)

I'm not "anyone else", but just to add clarity to my use cases (in regular use by me):

I've attached one of my standard backups, which runs off restic ... --exclude-file ~/restic-excludes-negative ~/

I also have a continuous backup script which uses a file watcher to detect filesystem updates, and then run a differential backup every 15 minutes based upon a dynamically generated exclude file similiar to #1.

Attachment: restic-excludes-negative

If there is still hope to get this merged, I can try another rebase...

I did have a look, but there are too many changes to easily rebase. If anyone wants to give it a try, they are welcome to take over this PR.

I understand, thanks for your work!

Would be really nice to expedite this work — it's been done since a while 😏 ...and it's much needed.

@x80486 Comments like that are neither helpful or make things happen more quickly. In particular when a core developer was attending the PR just two days ago.

@MichaelEischer @fd0 Thanks for all the work. Just checking in - any assistance required to finalise this?

Does the new exclamation mark functionality work for inclusions using --files-from? The documentation only mentions using it for exclusions, not inclusions.

No, the negative patterns are only available for exclusions. A negative pattern in files-from would actually be an exclude, so it should just work to specify it as such?

@MichaelEischer Are we able to represent any sort of ordering with this approach?
Meaning, can I specify the following?

Exclude /foo but
Include /foo/one, /foo/two

If I remember correctly, the exclusion of the parent directory will override any inclusion of the children directories.

@cowwoc You absolutely can.
My backup selectively backs up using this mechanism:
restic <...> --exclude-file ~/backup/readme/restic-excludes-negative ~/

My excludes file looks like this:
/*
!/Users
/Users/*
!/Users/daniel

/$HOME/*

!$HOME/Desktop
!$HOME/Documents
!$HOME/Downloads

# ...

Note the pattern:

Exclude everything
"Unexclude" the folder you want to include
Exclude everything (all contents - *) in that folder
Unexclude the contents of the folder that you want to include
Repeat

Should negative exclusion work with Windows paths? If so, what is the syntax?
I'm trying to backup my G:, ignoring everything and then not ignoring specific directories:
restic backup --exclude-file .\test.exclude G:
.\test.exclude:
G:\*
!G:\file.txt
!G:\1080p

Only the root directory is included in the backup, no content. So the exclusion pattern (G:*) works fine, but not the negative patterns. I've also tested with forward slashes, same result.


fix(windows): files read with CRLF

On Windows, Karate does not compile due to 3 errors: here is the first fix.
On Windows, a git clone will transform line terminations to Windows ones (by default, can be configured, but don't count on all developers doing this, and it triggers other bugs, especially in Eclipse).
So, I modified the test to expect a Windows file too.
Types of change :

[x] Code quality improvement
[x] Addition or Improvement of tests

thanks @slaout !


Feature Recipe Details

Hello @ybadr99 ✋
In this PR, I implemented the below Recipe Details functionality
Requirments

Should display a list of recipes created by the logged-in user as in the wireframe.
This should lead to recipe details.
If the user is the owner of the recipe, should allow the user to delete it.
Should have a modal to choose an inventory to create a shopping list with, as in the wireframe.

you did a great job lets merge it :)


Is the "Access control: network location" requires AAD Premium license?

I believe the "access control from unmanaged devices" requires an AAD Premium license, but I don't think this "access control based on network location" requires an AAD Premium license. It should work without AAD premium license.
Hence, I would recommend to delete the "important" notice" from this  document, it makes customer to confuse.
Further info,
This  article doesn't mention the "Access control: network location" requires AAD Premium license. so
/////////////////////
Security and compliance features
Unless otherwise noted, the following features are available across all plans that include SharePoint, and all SharePoint standalone plans:
Access control: network location
Access control: unmanaged devices. Requires Azure AD Premium P1.
/////////////////////

or either change "important" notice like below;
/////////////////////
Important
Azure AD conditional access policies are used for device-based controls. In order to use these, an Azure AD Premium P1 or P2 subscription is required.
/////////////////////

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Cucumber JSON files are not matching with the cucumber-json-schema

Framework - Webdriverio - Cucumber - Typescript
Reporter - Wdio-cucumber-Json-reporter
CI - Jenkins
Integration tools - Zephyr
package.json

The issue we are encountering pertains to the generated JSON files from our test executions. Our objective is to upload the JSON results into the Zephyr tool from Jenkins using either the Zephyr plugin or the Zephyr API. Unfortunately, in both scenarios, we encounter a JSON parse error.
To address this challenge, we have thoroughly examined the Cucumber JSON files generated under the framework against the official JSON schema provided by Cucumber (https://github.com/cucumber/cucumber-json-schema/blob/main/schema.json). Regrettably, the JSON files do not align with the Cucumber JSON schema. Consequently, the Zephyr API, which validates the uploaded JSON files against the same schema, triggers a JSON parse error.
Now, the question arises: How can we ensure that the generated JSON files conform to the Cucumber JSON Schema? Is there a possibility to customize the JSON files to meet the required specifications? Additionally, we are puzzled as to why the WebDriverIO-Cucumber-generated JSON files fail to match the JSON schema (https://github.com/cucumber/cucumber-json-schema/blob/main/schema.json).
We are seeking guidance on aligning the JSON files with the Cucumber JSON schema and understanding whether there is flexibility to customize the JSON files. Furthermore, we would appreciate insights into why the JSON files generated by WebDriverIO-Cucumber do not adhere to the specified JSON schema (https://github.com/cucumber/cucumber-json-schema/blob/main/schema.json).
schema.json

Thanks for reporting!

We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!

Hi @christian-bromann
Thanks for the reply.
Could you please clarify whether the WDIO-Cucumber framework supports uploading cucumber.json files to Zephyr Scale Cloud? This information is crucial for us to make an informed decision about whether to proceed with migrating from Mocha to Cucumber.
Here I am attaching the framework-generated .json file and the
FrameworkGenerated.json
expected JSON schema(https://github.com/cucumber/cucumber-json-schema/blob/main/schema.json)
schema.json

supports uploading cucumber.json files to Zephyr Scale Cloud?

Afaik it doesn't. But support can be surely added.

Thanks @christian-bromann
Your answer has helped us to postpone the framework migration from Mocha to Cucumber. We eagerly await this support, as it would provide significant business value, particularly in terms of uploading the results to Zephyr.
If possible, may I kindly inquire about the tentative timeline for the support of Zephyr?

If possible, may I kindly inquire about the tentative timeline for the support of Zephyr?

As mentioned above, there is no active development on this package due to a shortage of maintainers. If you have interest in support for this we would appreciate any contribution. Thank you.


A strange "- " character appears at the beginning of the description of the skill "Lunar Celebration Barrage"

I noticed a strange "- " character appearing at the beginning of the description of the skill "Lunar Celebration Barrage", whether playing in English or Chinese, while other descriptions do not.

Mod Version : [Forge] 1.19.4-1.0.0-beta-v6

By the way, on the CurseForge page, the description of Breezebreaker is the same as that of Crescentia.

All fixed now!


[GIF Search] Unable to reauthorize the permission for Finder to copy the GIF

Extension
http://www.raycast.com/josephschmitt/gif-search
Description

When I first used the "copy gif to clipboard" feature, it showed me a finder dialog to authorize Raycast using Finder. However, I accidentally skipped it at that time. Now, I am unable to reauthorize the permission for Finder to copy the GIF again.
Steps To Reproduce

Use the copy feature in this extension for the first time.
Skip the permission request dialog for the finder.
Attempt to copy again.
Unable to reauthorize the permission.

Current Behaviour
No response
Expected Behaviour
No response

It seems like raycastbot is broken. The provided extension URL is correct.

Solution:
https://x.com/thomaspaulmann/status/1751261026257981530?s=20


add short names for obi tasks

For example, obi template list could have a shorter invocation like obi t ls.

I think @tomjakubowski had some objections to this kind of thing...
cc @jshrake

I'm fine with having shortcuts as long as they don't clutter --help and that the descriptive names  are still the blessed defaults.

It could be too big an ask but git-style aliases configurable in both a user config file and a project's project.yaml would be amazing.

I think this is an unnecessary LOC increase and widens our bug surface. Given our current resources and lack of tests, I'd like to put this on the back burner.

@jshrake is totally right. Kindly move this issue to far in the future, or simply close.


Build slide deck for Friday

Include slide for "going-green". @carsi this needs to be done as well. Can
you handle along with recycling/composting signage?
On Mon, Sep 25, 2017 at 11:51 AM, Jason Hibbets<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/NCOpenPass/issues/757, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ARrpxixcZH0Cy1eyyXzKPk5abkd9uD8sks5sl8wYgaJpZM4Pi813
.

@suzanneccnc Yes, I can also do this. Can you give me copy and size
specifications/location of the slide deck in Drive?
On Mon, Sep 25, 2017 at 12:30 PM, suzanneccnc<EMAIL_ADDRESS>wrote:

Include slide for "going-green". @carsi this needs to be done as well. Can
you handle along with recycling/composting signage?
On Mon, Sep 25, 2017 at 11:51 AM, Jason Hibbets<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/NCOpenPass/issues/757, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/
ARrpxixcZH0Cy1eyyXzKPk5abkd9uD8sks5sl8wYgaJpZM4Pi813>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codeforraleigh/NCOpenPass/issues/757#issuecomment-331937287,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADQ6gvQsBlr59GM1nOgM2FGwugiXcJutks5sl9UUgaJpZM4Pi813
.

Are we good on the "going green" slide then? @jhibbets @suzanneccnc


Make test runner work with --watch

👓 @ajacksified @phil303 @nramadas
Quick and dirty watcher for tests. I tested in modmail by adding -w to the test command and changing the tests and the files they were testing. Running to apartment hunting for now, lemmie know if this seems good for now

Sorry for all the spam, but here's two alternatives:
First one TL;DR; uses copySync. Copy was used in the original because it seemed better positioned to handle lots of test files, but made the code messy. This branch got cleaned up a bit, so maybe that's not as big a deal anymore. Happy to go with either one.
Second, more involved one Uses md5's to only re-run tests when they've changed. This could probably get away with using timestamps instead. I'm skeptical that we need it yet, but wanted to see what looks like if we run into any performance walls.

Closing as watching as added. Mental note to look into the "only run if things changed" code here as we're ramping up the number of tests projects have.


Fix Dockerfile for devcontainer

Test plan
Rebuilt container from scratch. Previously, this resulted in an error.

closed in favor of #169


Update to VSCode 1.92

Also microsoft did change a lot how language packages work, allowing us to removing a lot of code and be way closer to how it works in VSCode itself by using the same bundled format (which is lighter because it contains only indexes instead of string keys)

@kaisalmen forgot to make it as a breaking change :(

@CGNonofr can you re-release it as 8.0.0?

@CGNonofr can you re-release it as 8.0.0?

done!


fix vars, use user for launch script

This change is

Codecov Report

Merging #211 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #211      +/-   ##
============================================
- Coverage     19.61%   19.59%   -0.03%
  Complexity      233      233
============================================
  Files            66       66
  Lines          2784     2787       +3
  Branches        256      256
============================================
  Hits            546      546
- Misses         2175     2178       +3
  Partials         63       63

Impacted Files
Coverage Δ
Complexity Δ

...yad/launcher/DockerComputerSingleJNLPLauncher.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...om/github/kostyasha/yad/steps/DockerShellStep.java
1.19% <0%> (-0.01%)
0 <0> (ø)

...yasha/yad/launcher/DockerComputerJNLPLauncher.java
17.41% <0%> (-0.1%)
15 <0> (ø)

Continue to review full report at Codecov.

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


SVProgressHUDMaskTypeClear ignored and not disabling user interaction (iOS 7.1/Xcode5.1)

Is it happening just to me or the mask types appear to be ignored and, specifically, SVProgressHUDMaskTypeClear doesn't seem to disable user interaction anymore?
I had no time to test further but I will soon and post anything on this issue, in the meanwhile I'd like to know if the problem is common or is happening just to me.

It seems to occur again in 8.1, with any maskType.

Can not reproduce, added [SVProgressHUD setDefaultMaskType:SVProgressHUDMaskTypeClear]; to the demo. Then run the demo and everything works as expected. See the video here: http://youtu.be/N81YogPeRx8

Hi, thanks for the quick reply!
If I set it as default, it works. However if I don't:
[SVProgressHUD showWithStatus:errorMessage maskType:SVProgressHUDMaskTypeBlack]
works -  disables interaction
[SVProgressHUD showErrorWithStatus:errorMessage maskType:SVProgressHUDMaskTypeBlack]
doesn't work - doesn't disable interaction
[SVProgressHUD showWithStatus:errorMessage maskType:SVProgressHUDMaskTypeBlack]
doesn't work - doesn't disable interaction

I can confirm that setting the default mask type works. Using the methods with integrated mask type, however, don't (at least showError and showSuccess).

Tried a small bugfix on the master. Please check it out.

Looks good! Thank you!

Replace below method from SVProgressHUD.m as below

(void)showWithStatus:(NSString*)status{
[self sharedView];
[self setDefaultMaskType:SVProgressHUDMaskTypeGradient];
[self showProgress:SVProgressHUDUndefinedProgress status:status];
}

SVProgressHUD.show()
SVProgressHUD.setDefaultAnimationType(SVProgressHUDAnimationType.Native)
SVProgressHUD.setDefaultMaskType(SVProgressHUDMaskType.Black)

This code worked for me.
If you are using the old classes then Replace below method from SVProgressHUD.m as below
(void)showWithStatus:(NSString*)status{
[self setDefaultMaskType:SVProgressHUDMaskTypeGradient];
[self showProgress:SVProgressHUDUndefinedProgress status:status];
}


Import Excel files directly through ogr2ogr

Which could give some benefits as having information about data types.

On the other hand, there is great feedback from the current Excel importing, even though types are not being used.

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


Evaluating models outputs mAP : 0.0000

Hello,
I'm trying to evaluate models I've made using transfer learning from a docker container.
I actually launched it with 200 experiments by mistake. However I'm trying to evaluate the first models.
cloud@serveur-cic-tempo:~/imageaitest2$ ls -la dataset/models/
total 2412288
drwxr-xr-x 2 cloud cloud      4096 Feb  4 09:14 .
drwxr-xr-x 8 cloud cloud      4096 Feb  4 09:14 ..
-rw-r--r-- 1 cloud cloud 247010224 Feb  4 09:14 detection_model-ex-001--loss-0012.120.h5
-rw-r--r-- 1 cloud cloud 247010224 Feb  4 09:14 detection_model-ex-001--loss-0019.993.h5
-rw-r--r-- 1 cloud cloud 247010224 Feb  4 09:14 detection_model-ex-002--loss-0010.218.h5
-rw-r--r-- 1 cloud cloud 247010224 Feb  4 09:14 detection_model-ex-002--loss-0015.954.h5
-rw-r--r-- 1 cloud cloud 247010224 Feb  4 09:14 detection_model-ex-003--loss-0009.916.h5
-rw-r--r-- 1 cloud cloud 247010224 Feb  4 09:14 detection_model-ex-003--loss-0015.790.h5
-rw-r--r-- 1 cloud cloud 247010224 Feb  4 09:14 detection_model-ex-004--loss-0009.739.h5

Could it be my issue here?
However, I believe the training didn't work since mAP is 0.0000. I don't really understand what could be my issue here.
Any clue please?
Below, you can find my config, the steps I followed and the outputs.
Configuration :
cloud@serveur-cic-tempo:~/imageaitest2$ lscpu
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
Address sizes:       42 bits physical, 48 bits virtual
CPU(s):              16
On-line CPU(s) list: 0-15
Thread(s) per core:  2
Core(s) per socket:  8
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Gold 6266C CPU @ 3.00GHz
Stepping:            7
CPU MHz:             3000.000
BogoMIPS:            6000.00
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            30976K
NUMA node0 CPU(s):   0-15
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 arat avx512_vnni md_clear flush_l1d arch_capabilities

Docker Container from official Tensorflow image : https://hub.docker.com/r/tensorflow/tensorflow/
root@45ab5106701d:/# pip list
Package                Version
---------------------- ---------
absl-py                0.11.0
asn1crypto             0.24.0
astunparse             1.6.3
cachetools             4.2.0
certifi                2020.12.5
chardet                3.0.4
cryptography           2.1.4
cycler                 0.10.0
decorator              4.4.2
flatbuffers            1.12
gast                   0.3.3
google-auth            1.24.0
google-auth-oauthlib   0.4.2
google-pasta           0.2.0
grpcio                 1.32.0
h5py                   2.10.0
idna                   2.6
imageai                2.1.6
imageio                2.9.0
imgaug                 0.4.0
importlib-metadata     3.3.0
Keras                  2.4.3
Keras-Preprocessing    1.1.2
keras-resnet           0.2.0
keyring                10.6.0
keyrings.alt           3.0
kiwisolver             1.3.1
Markdown               3.3.3
matplotlib             3.3.2
networkx               2.5
numpy                  1.19.3
oauthlib               3.1.0
opencv-python          <IP_ADDRESS>
opt-einsum             3.3.0
pandas                 1.1.5
Pillow                 7.0.0
pip                    20.2.4
protobuf               3.14.0
pyasn1                 0.4.8
pyasn1-modules         0.2.8
pycrypto               2.6.1
pygobject              3.26.1
pyparsing              2.4.7
python-dateutil        2.8.1
pytz                   2021.1
PyWavelets             1.1.1
pyxdg                  0.25
PyYAML                 5.4.1
requests               2.25.0
requests-oauthlib      1.3.0
rsa                    4.6
scikit-image           0.17.2
scipy                  1.4.1
SecretStorage          2.3.1
setuptools             51.0.0
Shapely                1.7.1
six                    1.15.0
tensorboard            2.4.0
tensorboard-plugin-wit 1.7.0
tensorflow             2.4.0
tensorflow-estimator   2.4.0rc0
termcolor              1.1.0
tifffile               2020.9.3
typing-extensions      <IP_ADDRESS>
urllib3                1.26.2
Werkzeug               1.0.1
wheel                  0.36.2
wrapt                  1.12.1
zipp                   3.4.0

training.py file and output below
from imageai.Detection.Custom import DetectionModelTrainer

trainer = DetectionModelTrainer()
trainer.setModelTypeAsYOLOv3()
trainer.setDataDirectory(data_directory="/data/dataset/")
trainer.setTrainConfig(object_names_array=["truck","van"], batch_size=4, num_experiments=200, train_from_pretrained_model="/data/pretrained-yolov3.h5")
trainer.trainModel()

cloud@serveur-cic-tempo:~/imageaitest2$ docker logs -f 44e073940c3f
2021-02-03 12:54:27.034598: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-02-03 12:54:27.034629: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2021-02-03 12:54:30.259959: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-02-03 12:54:30.260180: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-02-03 12:54:30.260198: W tensorflow/stream_executor/cuda/cuda_driver.cc:326] failed call to cuInit: UNKNOWN ERROR (303)
2021-02-03 12:54:30.260224: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (44e073940c3f): /proc/driver/nvidia/version does not exist
2021-02-03 12:54:30.260431: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX512F
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-02-03 12:54:30.262570: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
WARNING:tensorflow:`period` argument is deprecated. Please use `save_freq` to specify the frequency in number of batches seen.
WARNING:tensorflow:`epsilon` argument is deprecated and will be removed, use `min_delta` instead.
2021-02-03 12:54:33.302708: I tensorflow/core/profiler/lib/profiler_session.cc:136] Profiler session initializing.
2021-02-03 12:54:33.302747: I tensorflow/core/profiler/lib/profiler_session.cc:155] Profiler session started.
2021-02-03 12:54:33.302799: I tensorflow/core/profiler/lib/profiler_session.cc:172] Profiler session tear down.
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/training.py:1844: UserWarning: `Model.fit_generator` is deprecated and will be removed in a future version. Please use `Model.fit`, which supports generators.
  warnings.warn('`Model.fit_generator` is deprecated and '
/usr/local/lib/python3.6/dist-packages/tensorflow/python/data/ops/dataset_ops.py:3504: UserWarning: Even though the tf.config.experimental_run_functions_eagerly option is set, this option does not apply to tf.data functions. tf.data functions are still traced and executed as graphs.
  "Even though the tf.config.experimental_run_functions_eagerly "
WARNING:tensorflow:Model failed to serialize as JSON. Ignoring... Layer YoloLayer has arguments in `__init__` and therefore must override `get_config`.
2021-02-03 12:54:33.434020: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR optimization passes are enabled (registered 2)
2021-02-03 12:54:33.434470: I tensorflow/core/platform/profile_utils/cpu_utils.cc:112] CPU Frequency:<PHONE_NUMBER> Hz
Generating anchor boxes for training images and annotation...
Average IOU for 9 anchors: 0.83
Anchor Boxes generated.
Detection configuration saved in  /data/dataset/json/detection_config.json
Evaluating over 479 samples taken from /data/dataset/validation
Training over 2211 samples  given at /data/dataset/train
Training on: 	['truck', 'van']
Training with Batch Size:  4
Number of Training Samples:  2211
Number of Validation Samples:  479
Number of Experiments:  200
Training with transfer learning from pretrained Model
Epoch 1/200
2021-02-03 12:54:36.834218: I tensorflow/core/profiler/lib/profiler_session.cc:136] Profiler session initializing.
2021-02-03 12:54:36.834259: I tensorflow/core/profiler/lib/profiler_session.cc:155] Profiler session started.
2021-02-03 12:54:39.872902: I tensorflow/core/profiler/lib/profiler_session.cc:71] Profiler session collecting data.
2021-02-03 12:54:39.924676: I tensorflow/core/profiler/lib/profiler_session.cc:172] Profiler session tear down.
4424/4424 [==============================] - 11204s 3s/step - loss: 27.8904 - yolo_layer_loss: 3.7100 - yolo_layer_1_loss: 6.9337 - yolo_layer_2_loss: 11.2279 - val_loss: 15.9281 - val_yolo_layer_loss: 3.5156 - val_yolo_layer_1_loss: 5.6680 - val_yolo_layer_2_loss: 6.3642
Epoch 2/200
4424/4424 [==============================] - 11003s 2s/step - loss: 16.0907 - yolo_layer_loss: 2.9831 - yolo_layer_1_loss: 5.5410 - yolo_layer_2_loss: 7.3031 - val_loss: 15.3965 - val_yolo_layer_loss: 3.6108 - val_yolo_layer_1_loss: 5.7432 - val_yolo_layer_2_loss: 5.9575
Epoch 3/200
4424/4424 [==============================] - 10891s 2s/step - loss: 15.9106 - yolo_layer_loss: 2.9518 - yolo_layer_1_loss: 5.6270 - yolo_layer_2_loss: 7.2520 - val_loss: 15.5433 - val_yolo_layer_loss: 3.7602 - val_yolo_layer_1_loss: 5.6196 - val_yolo_layer_2_loss: 6.1130
Epoch 4/200
4424/4424 [==============================] - 10932s 2s/step - loss: 15.5688 - yolo_layer_loss: 2.5437 - yolo_layer_1_loss: 5.4113 - yolo_layer_2_loss: 7.5648 - val_loss: 17.7629 - val_yolo_layer_loss: 4.7392 - val_yolo_layer_1_loss: 6.3278 - val_yolo_layer_2_loss: 6.6648
Epoch 5/200
4424/4424 [==============================] - 10872s 2s/step - loss: 15.4870 - yolo_layer_loss: 2.4382 - yolo_layer_1_loss: 5.4916 - yolo_layer_2_loss: 7.5235 - val_loss: 63.7160 - val_yolo_layer_loss: 5.7094 - val_yolo_layer_1_loss: 38.9786 - val_yolo_layer_2_loss: 18.9935
Epoch 6/200
4424/4424 [==============================] - 11067s 3s/step - loss: 15.5494 - yolo_layer_loss: 2.5183 - yolo_layer_1_loss: 5.5150 - yolo_layer_2_loss: 7.4831 - val_loss: 178.7223 - val_yolo_layer_loss: 3.8561 - val_yolo_layer_1_loss: 35.8665 - val_yolo_layer_2_loss: 138.9692
Epoch 7/200
4424/4424 [==============================] - 10608s 2s/step - loss: 15.5048 - yolo_layer_loss: 2.5163 - yolo_layer_1_loss: 5.5533 - yolo_layer_2_loss: 7.4078 - val_loss: 15.5903 - val_yolo_layer_loss: 3.8752 - val_yolo_layer_1_loss: 5.5330 - val_yolo_layer_2_loss: 6.1565

evaluation.py file and output below
from imageai.Detection.Custom import DetectionModelTrainer

trainer = DetectionModelTrainer()
trainer.setModelTypeAsYOLOv3()
trainer.setDataDirectory(data_directory="/data/dataset")
metrics = trainer.evaluateModel(model_path="/data/dataset/models", json_path="/data/dataset/json/detection_config.json", iou_threshold=0.5, object_threshold=0.3, nms_threshold$

cloud@serveur-cic-tempo:~/imageaitest2$ docker logs -f f00b40aa6e65
2021-02-04 09:58:00.255022: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2021-02-04 09:58:00.255073: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2021-02-04 09:58:02.125390: I tensorflow/compiler/jit/xla_cpu_device.cc:41] Not creating XLA devices, tf_xla_enable_xla_devices not set
2021-02-04 09:58:02.125583: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-02-04 09:58:02.125600: W tensorflow/stream_executor/cuda/cuda_driver.cc:326] failed call to cuInit: UNKNOWN ERROR (303)
2021-02-04 09:58:02.125625: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (f00b40aa6e65): /proc/driver/nvidia/version does not exist
2021-02-04 09:58:02.125826: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX512F
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-02-04 09:58:02.129119: I tensorflow/compiler/jit/xla_gpu_device.cc:99] Not creating XLA devices, tf_xla_enable_xla_devices not set
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
WARNING:tensorflow:No training configuration found in the save file, so the model was *not* compiled. Compile it manually.
Starting Model evaluation....
Evaluating over 479 samples taken from /data/dataset/validation
Training over 2211 samples  given at /data/dataset/train
Model File:  /data/dataset/models/detection_model-ex-001--loss-0012.120.h5

Evaluation samples:  479
Using IoU:  0.5
Using Object Threshold:  0.3
Using Non-Maximum Suppression:  0.5
truck: 0.0000
van: 0.0000
mAP: 0.0000
===============================
Model File:  /data/dataset/models/detection_model-ex-001--loss-0019.993.h5

Evaluation samples:  479
Using IoU:  0.5
Using Object Threshold:  0.3
Using Non-Maximum Suppression:  0.5
truck: 0.0000
van: 0.0000
mAP: 0.0000
===============================
Model File:  /data/dataset/models/detection_model-ex-002--loss-0010.218.h5

Evaluation samples:  479
Using IoU:  0.5
Using Object Threshold:  0.3
Using Non-Maximum Suppression:  0.5
truck: 0.0000
van: 0.0000
mAP: 0.0000
===============================
Model File:  /data/dataset/models/detection_model-ex-002--loss-0015.954.h5

Evaluation samples:  479
Using IoU:  0.5
Using Object Threshold:  0.3
Using Non-Maximum Suppression:  0.5
truck: 0.0000
van: 0.0000
mAP: 0.0000
===============================
Model File:  /data/dataset/models/detection_model-ex-003--loss-0009.916.h5

Evaluation samples:  479
Using IoU:  0.5
Using Object Threshold:  0.3
Using Non-Maximum Suppression:  0.5
truck: 0.0000
van: 0.0000
mAP: 0.0000
===============================
Model File:  /data/dataset/models/detection_model-ex-003--loss-0015.790.h5

Evaluation samples:  479
Using IoU:  0.5
Using Object Threshold:  0.3
Using Non-Maximum Suppression:  0.5
truck: 0.0000
van: 0.0000
mAP: 0.0000
===============================
Model File:  /data/dataset/models/detection_model-ex-004--loss-0009.739.h5

Evaluation samples:  479
Using IoU:  0.5
Using Object Threshold:  0.3
Using Non-Maximum Suppression:  0.5
truck: 0.0000
van: 0.0000
mAP: 0.0000
===============================

The loss of your models is clearly too high. Your value is at loss-0012.120. The goal must be to land under 1.0.

The loss of your models is clearly too high. Your value is at loss-0012.120. The goal must be to land under 1.0.

I really don't think it's a loss problem. Even if it's not below 1, the AI should still recognize some elements. I'm getting the same issue here...

My mAP scores are all 0 also. I'm trying to figure out why.

Even at a loss of 12, that should still be a decent model. Here is a potential workaround if you are getting an mAP of 0.0 at the evaluation step (and have verified the h5 model and the training/evaluation data is not corrupted):

Flush the workspace cache with: !rm -r .../<name_of_workspace>/cache/
During the evaluation step, ImageAI will recreate this folder along with the .pkl files. Between model training and evaluation, sometimes the file becomes "corrupted", which will give a default mAP of 0.0. Flushing the cache after training resolved this issue every time it occurred for me.

I've also trained a YOLOv3 architecture for an object detection problem and get a mAP of 0.0. Can you be more specific and tell me what you mean by "flushing the cache" after training ? Do you mean deleting the cache? @TheBeastCoding

When you run the training step, there will be a folder in your model workspace named cache. Before testing, delete the entire folder named cache. Testing will automatically recreate the cache file with its contents

I see, thanks for the answer @TheBeastCoding . However, when I tried to do that it did not work. What worked for me was to not use anything in the imageai in the conda environment space while architecture was training. I guess this makes this file corrupt somehow?


ingress: Add check for kpr and nodeport

Ingress Controller and Gateway API requires either KPR or NodePort to be enabled to work properly. Similar validation was done in helm via validate.yaml script, however, user might not use helm as a method of installation.
Suggested-by: Paul Chaignon<EMAIL_ADDRESS>

/test

/test

/test

/test


Make sure the taker actually reconnects and does not get stuck in reconnecting

Taker Hotfix on top of 0.4.2

Add timeouts to all statements related to establishing the connection
Add unit test to test things
Introduce some randomness so that not all takers re-connect at exactly the same point in time

Unfortunately, unit tests have proven to be extremely hard to write - I have not been able to reproduce the failure.


Cleaning of Settings Functions and addition of tests

This PR updates the structure of SettingsFunctions.kt to be in line with other Api classes on our codebase. Additionally, it adds test cases to hit all endpoint functions.
Test Steps:

Run tests and verify they work

Linked Issues

#10599

Doing rebasing in an attempt to fix the commit signing issues I started getting

Made updates to improve the tests and added a test to check structure


Blazor component set-up with respect to Identity.Service http name in ApiGateway

This issue has become close due to success in implementation and farther inactivity.


Upgrading node version from 16 to 22

Summary

This PR upgrades node version from 16 to 22 to support firebase. https://github.com/paketo-buildpacks/paketo-website/actions/runs/9864437338/job/27239354543?pr=816
Use Cases

Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

I don't feel like approving this "on my own", but I see no reason not to update to a modern Node version. I guess that's a LGTM.


Unskip a previously skipped test suite in remote scenarios

Fixes #

[ ] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[ ] Title summarizes what is changing.
[ ] Has a news entry file (remember to thank yourself!).
[ ] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for feature-requests.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Codecov Report

Merging #10690 (91384fd) into main (5f5a5a0) will decrease coverage by 0%.
The diff coverage is n/a.

@@          Coverage Diff           @@
##            main   #10690   +/-   ##
======================================
- Coverage     70%      70%   -1%
======================================
  Files        475      475
  Lines      28214    28214
  Branches    4737     4737
======================================
- Hits       20011    19992   -19
- Misses      6333     6341    +8
- Partials    1870     1881   +11

Impacted Files
Coverage Δ

src/kernels/errors/jupyterInvalidKernelError.ts
62% <0%> (-38%)
:arrow_down:

src/notebooks/outputs/tracebackFormatter.ts
93% <0%> (-7%)
:arrow_down:

src/platform/common/cancellation.ts
59% <0%> (-6%)
:arrow_down:

src/kernels/installer/productInstaller.node.ts
74% <0%> (-5%)
:arrow_down:

src/kernels/jupyter/session/jupyterSession.ts
72% <0%> (-3%)
:arrow_down:

src/kernels/execution/cellExecutionQueue.ts
81% <0%> (-2%)
:arrow_down:

src/kernels/execution/cellExecution.ts
71% <0%> (-2%)
:arrow_down:

src/kernels/kernelDependencyService.node.ts
85% <0%> (-1%)
:arrow_down:

...kernels/jupyter/launcher/jupyterConnection.node.ts
84% <0%> (-1%)
:arrow_down:

.../notebooks/controllers/vscodeNotebookController.ts
80% <0%> (-1%)
:arrow_down:

... and 3 more

If it works, let's go!

question is, is it flaky?
hopefully if it fails, the logs will tell us what went wrong


Drop forked-to feature

What I don't like
https://github.blog/changelog/2022-06-29-the-repository-fork-button-now-displays-existing-forks/ !!
@fregante 🎉 The first time I have seen them mention a user in a blog bost!

Anyone that takes want to do this pr. Its not just a drop the file.
We use code from this file in other places and needs to be done slowly.

Neato!!

The first time I have seen them mention a user in a blog bost!

Second: https://github.blog/2018-08-28-announcing-paper-cuts/

Whats going on with you and closing issues today?

I press cmd+enter, it defaults to "Close with comment" 😅

I press cmd+enter, it defaults to "Close with comment" 😅

I can see this default make sense for some maintainers with busy repos, otherwise it sounds like a potential feature for Refined GitHub (wink)

I think it's a momentary GitHub bug and I'm tempted to write a user script to prevent that 😰


Allow for $ characters in password / extra field of Airflow connections

What is the bug?
Whenever I try adding an Airflow connection that has a $-character in either the password or extra field, the value gets chopped off. I suspect this is because ultimately the value is passed to a bash command (airflow connections --add) that interprets $ as a bash-variable, which is obviously empty. For example, if I submit an airflow connection with password / extra 'abcd$ef', the password / extra stored in Airflow only contains 'abcd', since the variable $ef is not defined. If I manually escape the $-character with a \ in the bash-command, the value is properly added.
What are your Helm values?
scheduler:
  connections:
    - id: 'test'
      type: http
      login: 'test'
      password: 'A^Ci$c#h"GhjCofpn\R$'
      extra: 'A^Ci$c#h"GhjCofpn\R$'

What is your Kubernetes Version?:
1.17.13
What is your Helm version?:
3.4.1

@MarvinSchenkel this is resolved in versions after 7.14.3

Thanks a bunch, @thesuperzapper !


Implement bail: %meme

Resolves #172

Adds OOM checks on NockStack allocations
Implements a mote system

Current issues:

[ ] Allocation issues; see comment 1 and comment 2 below
[x] Need to redo some name changes in arguments to interpret which were made as a result of the way in which the hw_exception::catch closure can use local arguments (it can't use any &mut due to extending UnwindSafe)

Note that we now have two different crates registering signal hooks. Both SIGINT and SIGSEGV are being handled correctly, but it's something to keep in mind.

@eamsden throw appears to allocate internally, but I would assume it does so in a way that's acceptable to us, since it uses longjmp and no unwinding occurs. Might this be a rare case where we add a comment, wrap in permit_alloc, and carry on?

@eamsden On the back of the previous comment, I'm going to play around with using hw_exception for SIGINT as well, as discussed in #152

@ashelkovnykov the point of #152 is not to catch SIGINT with hw_exception, as SIGINT is asynchronous. Rather it is to turn SIGINT into SIGSEGV by mprotecting the entire NockStack, and then using hw_exception to catch the resulting SIGSEGV.

@ashelkovnykov is this PR ready to merge? Or are you planning to also address #152 in the same PR?

@eamsden I want to @eamsden I want to quickly see if I can improve the PR a little and unify how we handle interrupts + OOM

@ashelkovnykov as discussed can you mark this ready-for-review and work on #152 in a separate PR?

The nested catch statements are creating an issue due to hw_exception::run_hooks allocating internally (this function gets called when an exception is thrown to find the signal hook handler we register in serf.rs). Making this assert_no_alloc error go away requires nesting permit_alloc calls around each hw_exception::catch, which is miserable.
But it also doesn't fully resolve the issue: the longjmp inside of throw is messing up the internal state management of assert_no_alloc, which uses thread_local counters to count nested assert_no_alloc calls. Therefore, when you longjmp out, the code assumes that you're still inside of assert_no_alloc and triggers an error on Newt allocations.
To work around this, @eamsden is hacking together a Frankenstein's monster crate from both hw_exception and assert_no_alloc. While vendoring two crates into one isn't ideal, they're luckily both very small and assert_no_alloc in particular is basically frozen.

To work around this, @eamsden is hacking together a Frankenstein's monster crate from both hw_exception and assert_no_alloc. While vendoring two crates into one isn't ideal, they're luckily both very small and assert_no_alloc in particular is basically frozen.

Thinking further this isn't necessary. If we make hw_exception not allocate, and nest catch inside every assert_no_alloc (we really will only have 2, one in interpret and one in cg_interpret when codegen merges) then no longjmp from hw_exception::catch should ever jump outside of an assert_no_alloc call.

looking even further: hw_exception is overengineered for purpose and unavoidably allocates when catch-ing an exception. Not sure what to do from here.

I've come to the conclusion that we need a custom crate that provides unified functionality of both assert_no_alloc and hw_exception, but with the latter specialized to SIGSEGV handling.

@eamsden That sounds right - and luckily there's plenty of prior art

Archived this PR branch here; going to submit a new PR that just adds motes. Guard page work will now be done in collaboration w/ @matthew-levan in #202.


Share to weibo in Fragments

I have a DialogFragment in an Activity, and i share things to weibo in this Fragment. When sharing success to weibo, it navigates back to my app.But it doesn't invoke onNewIntent, just invoke onActivityResult and the intent is null.I don't know why.

You should report into official sdk: https://github.com/sinaweibosdk/weibo_android_sdk/issues . This project is a gradlize project for sinaweibosdk/weibo_android_sdk .

BTW, Do you write a test case to highlight it?


Can it be used in ThreadPool?

Hi Edward, can you elaborate further? Do you mean some ThreadPool app or some programming concept?
Let me know more about your use scenario as well, so that I can propose the best way to use the tool for that.

Closing issue for now until further inputs!


tab-sso sample fixes

Build status - All builds passed
https://github.com/OfficeDev/Microsoft-Teams-Samples/actions/runs/6966465826


[SPARK-12310] [SparkR] Add write.json and write.parquet for SparkR

Add write.json and write.parquet for SparkR, and deprecated saveAsParquetFile.

Test build #47626 has started for PR 10281 at commit e19a100.

Test build #47626 has finished for PR 10281 at commit e19a100.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47626/
Test PASSed.

Merged build finished. Test PASSed.

Test build #47638 has started for PR 10281 at commit 50d442e.

Test build #47638 has finished for PR 10281 at commit 50d442e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/47638/
Test PASSed.

LGTM

LGTM. Thanks @yanboliang and @sun-rui -- Merging this to master and branch-1.6


Async Await for Code Beauty

Is there a reason for not using async await? Would make the code much shorter and easier to read.

ES5 of course. I know that some people use the same code for web integration.


Specify types on read and write operations

When I simply run an operation that reads or writes, for instance, get & set/ push
can I simply provide what is expected through generic types ?
Like redis.get<ClassA>(key)
or
const objs: ClassB[] =[{}] // example
const redis.lpush<ClassB>(key, objs)

Thanks a lot

Sorry, my bad you are right.
But what about a function that serialize and de- serialize strings and use the generic version of the API.
I'm sure in most cases people do 'JSON.stringify(obj)' before insertion and 'JSON.parse(str)' for getting values.

I think it would make more sense in this situation:
interface UserProfile {
  id: string;
  username: string;
}

const userId = "ab4dfe5"
const user = await redis.hgetall<UserProfile>(userId)
//    ^? {} | UserProfile


[tests-only] Bump core commit id

The matching OCIS PR is https://github.com/owncloud/ocis/pull/1918

@ishank011 ready to review

@phil-davis do both this and https://github.com/cs3org/reva/pull/1642 need to be merged?

@phil-davis do both this and #1642 need to be merged?

@ishank011 merge this on first - it exactly matches a PR in owncloud/ocis. Then we can rebase the other PR and update it to whatever is the now-latest commit id.


chore(GRO-844): Don't send values that aren't used by Gravity

The type of this PR is: Enhancement

This PR solves GRO-844
Description
We don't need to mess with this since Gravity doesn't really need these fields.
Depends on https://github.com/artsy/metaphysics/pull/3903

@jonallured Sounds good! Thanks!