CVSS import error while importing vulnerabilities from Nessus

Be informative
While trying to import vulnerability scan data from Nessus, seeing an error for CVSS import field
Bug description
An exception error occurred during the report import:Malformed CVSS3 vector "AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N" is missing mandatory prefix or uses unsupported CVSS version
Steps to reproduce
Steps to reproduce the behavior:

Export scan data from Nessus
Create a new Engagment and Test
Import scan data
An error is received on the UI

Deployment method (select with an X)

[X] Docker Compose
[ ] Kubernetes
[ ] GoDojo

Environment information

Operating System: [e.g. Ubuntu 20.04]
DefectDojo version 2.18.2

Logs
[23/Jan/2023 14:23:22] ERROR [dojo.test.views:754] Malformed CVSS3 vector "AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N" is missing mandatory prefix or uses unsupported CVSS version
Traceback (most recent call last):
File "/app/dojo/test/views.py", line 745, in re_import_scan_results
reimporter.reimport_scan(scan, scan_type, test, active=active, verified=verified,
File "/app/dojo/importers/reimporter/reimporter.py", line 383, in reimport_scan
parsed_findings = parser.get_findings(scan, test)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/dojo/tools/nessus/parser.py", line 264, in get_findings
return NessusXMLParser().get_findings(filename, test)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/dojo/tools/nessus/parser.py", line 197, in get_findings
cvssv3 = CVSS3(item.findtext("cvss3_vector")).clean_vector()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/cvss/cvss3.py", line 96, in init
self.parse_vector()
File "/usr/local/lib/python3.11/site-packages/cvss/cvss3.py", line 123, in parse_vector
raise CVSS3MalformedError('Malformed CVSS3 vector "{0}" is missing mandatory prefix '
cvss.exceptions.CVSS3MalformedError: Malformed CVSS3 vector "AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N" is missing mandatory prefix or uses unsupported CVSS version
Screenshots

Can you give an example?

we have the same challenge for few other parsers. it needs some logic in the parser.

Same for me, no cvss imported either via api or UI. Sample Tenable (Nessus) report to test attached
nessus_report.csv

Please check this again in 2.23.0 which will be out the first week of May - #8072 updates the parser.


Bug - Next button not working while importing an account

While importing an account , the next button is not working, not able to navigate further

@surekabpm Have you tried to paste/write your backed-up mnemonic and still facing that problem? If yes can you please share your mnemonic?

@bassemmagdy , i have tried with mneumonic phrase , it is working , previously i have seen qr code import/download apart from mneumonics ,that is why is raised this issue, if this functionality is for only mneumonics import , then i can close this issue.but please confirm from your side

thanks, @surekabpm for reporting. The issue should be resolved in the latest release


Request Add Logo for xSatoshi token

Dear Trader JOE Team,
Please help  update our logo on your platform.

Our contract : 0x1AdB3ebE3aE7aA4d16b56A8133A14fc3a6ab28A1
Our logo : https://xsatoshi.finance/xSatoshiImg/logo.png

xSatoshi Avax  is real meme & dex token with a 100% decentralized community for experiment.
🔹 Website: https://xsatoshi.finance
🔹 Twitter: https://twitter.com/XsatoshiFinance
🔹Telegram Group: @xSatoshiAvax_EN
🔹Telegram Channel: @xSatoshiAvax
Thank
xSatoshi Team

added, closing.


refactor: simplify challenge.block usage

challenge.block is dasherized at the outset, so we can rely on that fact when it's used.

Not that I can see, no. I'll see if I can validate that with the schema or just create some simple checks if not.


Unable to install via cask with emacs 26.1

I'm using Arch Linux 64 bit with their emacs package.
emacs: 26.1
cask : 0.8.4
I'm trying to install pdf-tools via cask which is unsuccessful.
Next I tried to build and install pdf-tools from source which also fails indicating that cask can't install undercover from melpa.
Using Emacs 26.1
cask install
Dependency undercover failed to install: Variable binding depth exceeds max-specpdl-size
Output:
Setting `package-selected-packages' temporarily since "emacs -q" would overwrite customizations
Contacting host: melpa.org:443
Checking /home/bhrgunatha/scratch/pdf-tools/.cask/26.1/elpa/shut-up-20150423.522...
Compiling /home/bhrgunatha/scratch/pdf-tools/.cask/26.1/elpa/shut-up-20150423.522/shut-up-autoloads.el...
Compiling /home/bhrgunatha/scratch/pdf-tools/.cask/26.1/elpa/shut-up-20150423.522/shut-up-pkg.el...
Compiling /home/bhrgunatha/scratch/pdf-tools/.cask/26.1/elpa/shut-up-20150423.522/shut-up.el...
~/.cask/cask-cli.el:Error: Variable binding depth exceeds max-specpdl-size
Done (Total of 0 files compiled, 2 skipped)
Error loading autoloads: (error Variable binding depth exceeds max-specpdl-size)
Error in package--load-files-for-activation: (error Variable binding depth exceeds max-specpdl-size)

make: *** [Makefile:44: .cask/26.1] Error 255

The Cask file for pdf-tools is:
(source gnu)
(source melpa)

(package-file "lisp/pdf-tools.el")

(files "lisp/*.el"
       "README"
       "server/epdfinfo")

(development
 (depends-on "let-alist")
 (depends-on "tablist")
 (depends-on "ert-runner")
 (depends-on "undercover"))

let-alist, tablist and ert-runner are installed OK but undercover fails.

Hi @bhrgunatha, sorry for the late response, but I'm afraid I cannot help with this one.
The error message means nothing to me. Could you please create an issue in cask repository and link it here?

I successfully installed pdf-tools on Arch Linux 64 bit with emacs 26.1 and cask 0.8.4. It looks like resolving metioned cask issue helped.
I think that this issue can be closed.

@macie, great, thank you!


Fix error when posix_getpwuid returns false

The posix_getpwuid function can return false if it fails (see docs).
If this happens, it results in a notice output in the CMS/front-end and broken functionality.
Notice: Trying to access array offset on value of type bool in ***/vendor/silverstripe/framework/src/Core/TempFolder.php on line 42

Since there is a cascade in the getTempFolderUsername() function, I would assume it is safe to have $user set to false if it fails and to continue to look for another method to populate it successfully.

Observed in PHP 7.4.28 + PHP 7.4.29, macOS 12.3.1, M1 pro

@edwilde I've retargetted this at the new 4.11 branch. Normally this would go in a patch release but in this case since 4.11 is in beta it'll be in the 4.11.0 minor release.

Sweet, thanks @GuySartorelli 👍


[DISCUSSION GUIDE] Stationarity is Dead

Agenda:

[ ] Check in on climate coding challenge. Most people seem to be finished with the example Boulder, CO coding challenge -- make sure that everyone's has committed and synced all their work (15 min) GitHub Classroom link. People may have trouble syncing that can be fixed by running Pull > Pull (Rebase) before syncing.
[ ] Check in on the climate portfolio posts. Most people are not done with these...if anyone is finished they could show them to the class. (15 min) Link to the rubric
[ ] Go over the climate portfolio submission process -- it's a bit different this week. Take some time in class to have a student demo (30 min):
1. Exporting a notebook to HTML
2. Uploading HTML files to their portfolio
3. Link to post from the main page
4. Upload a Markdown file to the posts/02-climate folder with a link to the portfolio post
[ ] Discuss Stationarity is Dead article (15 min)
[ ] Look at an example of a species distribution plot: https://rachelsadler.github.io/Projects/migration_no_sci.html

/adminteamassign @earthlab-education/ea-instructors


Issues with token auto generation in API Chat

Description
Once we open Configure Key drawer a token is auto generated. This will revoke any token that was previously generated. This limits any modifications we can do on the token.
Steps to Reproduce

Publish an API
Subscribe the API and generate a token. Copy the token and keep aside.
Go to API Chat. Open Configure Key drawer.
Remove the auto generated token and paste the token generated at step 2.
Use API chat to invoke a resource.

Affected Component
APIM
Version
4.3.0-alpha2
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Token auto-generation capability was removed via https://github.com/wso2/apim-apps/pull/657


Specify path for rxjs-5-to-6-migrate

It would be really helpful if I could pass a path to rxjs-5-to-6-migrate in order to migrate in chunks, because our code base is too big to do at once.
So something like:
rxjs-5-to-6-migrate -P [path/to/some/route-module] -p [path/to/tsconfig.json]
I've tried modifying baseUrl in tsconfig.json, but it's ignored.

You can have multiple tsconfig.json files corresponding to the lazy-loaded modules in your application. This way you can migrate your application incrementally. Otherwise, it's not easy to migrate partially if the individual modules cannot be compiled separately since the rules use type checking.


Add test group for repeatable testing in virtual machines

A test group should be added with settings that are repeatable and testable in a virtual machine (no partitions for example)

Merged into master


Start qFit residue from multiple backbone positions

We want qFit to be able to take in multiple backbone positions to model its alt conf.
This would occur if the user inputs multiple backbones, we would take all input backbones to start sampling from.
This will also need to work with qFit segment to piece the protein back together.

This is implemented.


Add reconfiguration methods to LegacyComponentSerializer.Builder

Adds methods to LegacyComponentSerializer builder to undo options already set on it.

@A248 do you plan to update this PR with the requested changes to since tags and annotations?

I have no plans to do such things myself. Anyone else is free to continue this PR where I left off.


Offcanvas content does not scroll

When its height is bigger than the viewport, the offcanvas cannot be scrolled. All demos but https://codepen.io/vmitsaras/pen/wrLePg exhibit this behaviour.
I tried to make it work by absolute positioning the offcanvas container. The scrolling works, but when opening, the offcanvas makes the body scroll to top, which is an undesirable behaviour. I suppose one way of solving this would be reading the scroll position at the opening time, then setting the top Css property.
Is there an easier way of achieving scrollable offcanvas?

@vmitsaras you should open this again.

the focus of the scroll action should be in in the menu (setting the main page [html/body] to  overflow:hidden, and the container of the menu to overflow-y:auto, and when the menu closes restoring the default values of the page [similar to 'popup' modals])


:matches() issue

I'd noticed an issue with my CSS containing :matches() which don't work in Firefox. I can't find the exact plugin that performs this transformation, but I'm positive that it's cssnano because once removing it from my build script, all instances of :matches() disappeared.

The issue might be caused by caniuse.com stating that :matches() is supported in Firefox, which is not true. It supports :any().

Can you provide a minimal test case, please?

Sorry for wasting your time and thank you for the quick response. It's an issue with another plugin.


CI: fix release drafter

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@93b9c9c). Learn more about missing BASE report.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##             main        #2   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         9
  Lines           ?       253
  Branches        ?         9
========================================
  Hits            ?       253
  Misses          ?         0
  Partials        ?         0

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


add arr.slice() as valid array clone/copy method

Propose adding .slice to regex test expression, instead of forcing .concat as only solution.
MDN encourages using slice over concat to clone arrays in their documentation.
In my personal opinion slice is more readable as well.
cloneArr = arr.slice(0);
cloneArr = [].concat(arr)
source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #XXXXX

The problem is the description reminds you about using concat and the test tells you "Your code should use the concat method", so the test is valid.  There are other ways to solve this challenge without using concat or slice, but the current state of the challenge is clear as what it expects from the user.
I am closing this PR, due to there being no bug in the current tests.  That being said, if you wish for the challenge to be more flexible in what solutions it expects, please create an issue, so others can join into the discussion, finalize on what should happen (e.g. test modification, verbiage change, etc.) before accepting PRs.
Thank you.

Alright, thank you for the reply. I see there is no current bug. I'll take a look at opening an issue to make this challenge open to more solutions.


Fix up docs and features; default to enabling eh1 instead of eh02

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[x] I have updated existing examples or added new ones (if applicable).
[x] My changes were added to the CHANGELOG.md in the proper section.

Extra:

[x] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description
This PR defaults the enabled eh impl to be eh1 instead of eh02. It also improves some of the docs, by enabling more things when building the docs.
Testing

I think to resolve the remaining CI failures, we just need to add embedded-can to the examples package's dependencies and add the required imports for the relevant example.


Find more liblsl variants

This PR searches a bit harder for liblsl, namely liblsl with or without debug suffices (-debug), bitness suffices (32, 64 depending on the platform) and in the pylsl.py directory and the default system search path.
Also, users can set the PYLSL_LIB environment variable (see #13) to load a specific library.

Have you fixed the CI builds since this PR?

The CI builds just fine now, I've also switched from full builds to the prebuilt binaries fron sccn/liblsl releases so the build is a lot faster now (6m->21s). I'm not sure if the tag is correct (cp27-cp27m-manylinux2010_x86_64). I've already set the python-tag to py3, but I'm hoping that you know the magic setup.py parameter to fix it :-)

I've never had to do anything to specify the tag because cibuildwheel takes care of that automatically. Specifying the tag manually won't make pypi accept it, it has to pass auditwheel.

I think you can just do auditwheel repair <wheelname.whl> and it will create a properly named wheel for you.

I removed the has_ext = True in the setup.py because even though not a pure python package it doesn't depend on a specific python version. bdist_wheel now generates the right packages automatically, so auditwheel doesn't have to do anything.


Setting some blocks no longer seems to work

To reproduce:
On a page, set the scripts or pageScripts block.
Expected: that block changes in the browser.
Actual result: nothing changes on the page in the browser.
Setting the parent block bodyEnd does work, so this might be a problem with child blocks?

sorry this was my mistake - these blocks don't exist in layout in /doc. We should probably add them.


Feature: Add toggle to make custom walls relative to the light

Baileywiki discord:
https://discord.com/channels/746091041890762852/811286937377308702/920370293220990976
Problem
How to move custom cached lights/sounds between scene.
Potential solution
Add a toggle to the light/sound configuration, "Relative to light/sound". Flow:

User adds custom walls. Coordinates stored in flag.
User toggles relative on. Current light/sound origin recorded. If coordinates present, relative location is calculated when constructing the custom walls for ClockwiseSweep.
User moves light --- custom walls move with light b/c the new light location is compared to the recorded location.
User toggles relative off. Ideally, custom walls should be set at the new location or user should be asked if they want the custom walls to move?

Added with v0.1.2.


Endpoints instead of Endpoint for getting service endpoints

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

@tsloughter thanks for your interest in contributing to the project.
I checked and changing  "Endpoint" by "Endpoints" generates the following error: unknown kind: 'Endpoints' in the tests because the fake REST mapper must also be updated.

@pablochacin ok, will fix :+1:

Fixed.


Authorisation error

Error 403: access_denied
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer

Go through this article.
You need to change the publishing status of your project from testing to production


Outlook is terrible

Outlook doesn't seem to handle <style> tags correctly, at least for tables. I'll need to investigate either:

A special function that manually makes table styles look ok
Some generic cssinline conversion process that turns everything in <style> to inline styles.

I have used BeautifulSoup and cssutils to essentially turn CSS into inline styles (at least a lot of them. via cb991a2)
This works when I know what my starting CSS is, going to be harder with user-defined CSS…


Create patient cut function

Create a function to drop patients not included in DCUT, also rename DCUTDT to TEMP_DCUTDT for dropping purposes later

Initial draft already pushed to devel.


SlidingTabLayout not scrolling

Hi! I'm using SlidingTabLayout and when i set DistributeEvenly on true I get this (not always, only on a few devices like the nexus 5 with default dpi):

Obsolete


Add vk.com authentification options

Many videos on vk.com are private and can be watched only when logged in. Would be nice if you could add authentification options for vk.com. I can watch this video in browser when I logged in.
youtube-dl -vg http://vk.com/video-8871596_164049491
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-vg', 'http://vk.com/video-8871596_164049491']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.01.23
[debug] Python version 2.7.3 - Linux-3.2.0-39-generic-i686-with-LinuxMint-13-maya
[debug] Proxy map: {}
ERROR: Unable to extract vars; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/home/pavel/apps/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 497, in extract_info
ie_result = ie.extract(url)
File "/home/pavel/apps/bin/youtube-dl/youtube_dl/extractor/common.py", line 157, in extract
return self._real_extract(url)
File "/home/pavel/apps/bin/youtube-dl/youtube_dl/extractor/vk.py", line 46, in _real_extract
data_json = self._search_regex(r'var vars = ({.*?});', info_page, 'vars')
File "/home/pavel/apps/bin/youtube-dl/youtube_dl/extractor/common.py", line 352, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract vars; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

Can you please take a look at this issue with authentication on vk.com ? https://github.com/rg3/youtube-dl/issues/4967


countries_50 and countries_110 from natural earth defined regions raise an exception

Hi, not sure if this is related to installation or dependencies problems, but I get a KeyError exception whenever I try to use countries_50 or countries_110 with regionmask:
In [1]: import regionmask

In [2]: regionmask.__version__
Out[2]: '0.3.1'

us_states_50 works fine:
In [4]: regionmask.defined_regions.natural_earth.us_states_50
Out[4]:
51 'Natural Earth: US States 50m' Regions ()
AK AL AR AZ CA CO CT DC DE FL GA HI IA ID IL IN KS KY LA MA MD ME MI MN MO MS MT NC ND NE NH NJ NM NV NY OH OK OR PA RI SC SD TN TX UT VA VT WA WI WV WY

countries_50 does not:
In [5]: regionmask.defined_regions.natural_earth.countries_50
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
/Users/stefano/anaconda/lib/python3.6/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
   2392             try:
-> 2393                 return self._engine.get_loc(key)
   2394             except KeyError:

pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas/_libs/index.c:5239)()

pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas/_libs/index.c:5085)()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas/_libs/hashtable.c:20405)()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas/_libs/hashtable.c:20359)()

KeyError: 'name'

During handling of the above exception, another exception occurred:

KeyError                                  Traceback (most recent call last)
<ipython-input-5-f6fe97505925> in <module>()
----> 1 regionmask.defined_regions.natural_earth.countries_50

/Users/stefano/anaconda/lib/python3.6/site-packages/regionmask/defined_regions/natural_earth.py in countries_50(self)
     70                        title='Natural Earth Countries: 50m')
     71
---> 72             self._countries_50 = _obtain_ne(**opt)
     73         return self._countries_50
     74

/Users/stefano/anaconda/lib/python3.6/site-packages/regionmask/defined_regions/natural_earth.py in _obtain_ne(resolution, category, name, title, names, abbrevs, coords, query)
     22     # GET NECESSARY DATA FOR Regions_cls
     23     numbers = np.array(gp.index)
---> 24     names = gp[names]
     25     abbrevs = gp[abbrevs]
     26     coords = gp[coords]

/Users/stefano/anaconda/lib/python3.6/site-packages/geopandas/geodataframe.py in __getitem__(self, key)
    396         GeoDataFrame.
    397         """
--> 398         result = super(GeoDataFrame, self).__getitem__(key)
    399         geo_col = self._geometry_column_name
    400         if isinstance(key, string_types) and key == geo_col:

/Users/stefano/anaconda/lib/python3.6/site-packages/pandas/core/frame.py in __getitem__(self, key)
   2060             return self._getitem_multilevel(key)
   2061         else:
-> 2062             return self._getitem_column(key)
   2063
   2064     def _getitem_column(self, key):

/Users/stefano/anaconda/lib/python3.6/site-packages/pandas/core/frame.py in _getitem_column(self, key)
   2067         # get column
   2068         if self.columns.is_unique:
-> 2069             return self._get_item_cache(key)
   2070
   2071         # duplicate columns & possible reduce dimensionality

/Users/stefano/anaconda/lib/python3.6/site-packages/pandas/core/generic.py in _get_item_cache(self, item)
   1532         res = cache.get(item)
   1533         if res is None:
-> 1534             values = self._data.get(item)
   1535             res = self._box_item_values(item, values)
   1536             cache[item] = res

/Users/stefano/anaconda/lib/python3.6/site-packages/pandas/core/internals.py in get(self, item, fastpath)
   3588
   3589             if not isnull(item):
-> 3590                 loc = self.items.get_loc(item)
   3591             else:
   3592                 indexer = np.arange(len(self.items))[isnull(self.items)]

/Users/stefano/anaconda/lib/python3.6/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance)
   2393                 return self._engine.get_loc(key)
   2394             except KeyError:
-> 2395                 return self._engine.get_loc(self._maybe_cast_indexer(key))
   2396
   2397         indexer = self.get_indexer([key], method=method, tolerance=tolerance)

pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas/_libs/index.c:5239)()

pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc (pandas/_libs/index.c:5085)()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas/_libs/hashtable.c:20405)()

pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item (pandas/_libs/hashtable.c:20359)()

KeyError: 'name'

I installed regionmaske via pip:
stefano  ~  $  pip install regionmask
Collecting regionmask
  Downloading regionmask-0.3.1-py3-none-any.whl
Requirement already satisfied: cartopy in ./anaconda/lib/python3.6/site-packages (from regionmask)
Requirement already satisfied: shapely in ./anaconda/lib/python3.6/site-packages (from regionmask)
Collecting geopandas (from regionmask)
  Downloading geopandas-0.3.0-py2.py3-none-any.whl (888kB)
    100% |################################| 890kB 656kB/s
Requirement already satisfied: matplotlib in ./anaconda/lib/python3.6/site-packages (from regionmask)
Requirement already satisfied: numpy in ./anaconda/lib/python3.6/site-packages (from regionmask)
Requirement already satisfied: six in ./anaconda/lib/python3.6/site-packages (from regionmask)
Requirement already satisfied: pyshp>=1.1.4 in ./anaconda/lib/python3.6/site-packages (from cartopy->regionmask)
Requirement already satisfied: setuptools>=0.7.2 in ./anaconda/lib/python3.6/site-packages/setuptools-27.2.0-py3.6.egg (from cartopy->regionmask)
Requirement already satisfied: pandas in ./anaconda/lib/python3.6/site-packages (from geopandas->regionmask)
Requirement already satisfied: pyproj in ./anaconda/lib/python3.6/site-packages (from geopandas->regionmask)
Collecting descartes (from geopandas->regionmask)
  Downloading descartes-1.1.0-py3-none-any.whl
Collecting fiona (from geopandas->regionmask)
  Downloading Fiona-1.7.10.post1-cp36-cp36m-macosx_10_9_intel.macosx_10_9_x86_64.whl (24.7MB)
    100% |################################| 24.7MB 35kB/s
Requirement already satisfied: python-dateutil>=2.0 in ./anaconda/lib/python3.6/site-packages (from matplotlib->regionmask)
Requirement already satisfied: pytz in ./anaconda/lib/python3.6/site-packages (from matplotlib->regionmask)
Requirement already satisfied: cycler>=0.10 in ./anaconda/lib/python3.6/site-packages (from matplotlib->regionmask)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in ./anaconda/lib/python3.6/site-packages (from matplotlib->regionmask)
Collecting munch (from fiona->geopandas->regionmask)
  Downloading munch-2.2.0.tar.gz
Collecting click-plugins (from fiona->geopandas->regionmask)
  Downloading click-plugins-1.0.3.tar.gz
Collecting cligj (from fiona->geopandas->regionmask)
  Downloading cligj-0.4.0-py3-none-any.whl
Requirement already satisfied: click>=3.0 in ./anaconda/lib/python3.6/site-packages (from click-plugins->fiona->geopandas->regionmask)
Building wheels for collected packages: munch, click-plugins
  Running setup.py bdist_wheel for munch ... done
  Stored in directory: /Users/stefano/Library/Caches/pip/wheels/6b/a7/c4/fee97ae4038d2e41e1c862f5940237293b613d2dadd078c0b4
  Running setup.py bdist_wheel for click-plugins ... done
  Stored in directory: /Users/stefano/Library/Caches/pip/wheels/70/d7/3d/188128669f2aa42f6008217d9e2e6826d398dc3e361c0fcb75
Successfully built munch click-plugins
Installing collected packages: descartes, munch, click-plugins, cligj, fiona, geopandas, regionmask
Successfully installed click-plugins-1.0.3 cligj-0.4.0 descartes-1.1.0 fiona-1.7.10.post1 geopandas-0.3.0 munch-2.2.0 regionmask-0.3.1

Thanks for the feedback. Something must have gotten wrong when building the wheel. There is an old version of natural_earth.py in it... No idea how that happened... I'll try to fix that.
Strange enough this does not lead to an error in when I create a regionmask conda environment.

Could you tell me your pandas version?

In [8]: import pandas as pd

In [9]: pd.__version__
Out[9]: '0.20.1'

Just noticed there's a 0.21.0 out there already.

Thanks. It seems that natural_earth has changed the naming convention... So if you still have an old shapefile in your cache it works, but not if you have to download a new one.
from cartopy.io import shapereader
import geopandas

category = 'cultural'
resolution = '50m'
name = 'admin_0_countries'

shpfilename = shapereader.natural_earth(resolution, category, name)
df = geopandas.read_file(shpfilename)
df['ADMIN']
df['name']

But probably only for admin_0 and not for admin_1...

Sorry this took so long. Should be fixed in version 0.4.0. I don't know where the problem came from, but apparently, the columns where sometimes named with a lowercase name ('postal') and sometimes with uppercase ('POSTAL')... Now I try both.


Facin error like {"error":{"code":"ServiceError","message":"Unknown"}} while send message

Describe the bug
I'm using the Microsoft botframework-connector library in Nodejs. Where I can successfully create a conversation. but with using that conversation id I cannot able to send a message.
SDK version: 4.14.1

To Reproduce
Steps to reproduce the behavior:
After creating a conversation send a message using (sendToConversation). it will return an unknown error.
Expected behavior
To successfully send a message

Here I have attached the error screenshot.

Solved. I was not passing tenant Id and I was using the wrong ServiceURI. Fixed Now.

Thanks for the update, glad you were able to resolve the issue!


VideoKit iOS crash on startup (not in dyld cache)

I believe this to be the same issue as https://github.com/videokit-ai/videokit/issues/81
Shouldn't it supposedly be fixed since June?
For reference, we are using Unity 2021.3.42f1 (as you told us sometime ago it should work).
Here's our logs:
(lldb) dyld[5899]: Library not loaded: @rpath/Function.framework/Function
  Referenced from: <BE3154C3-2183-3509-B048-90BCE41B0355> /private/var/containers/Bundle/Application/3149D381-666D-4257-81D9-207B1A40F09B/Runner.app/Frameworks/UnityFramework.framework/UnityFramework
  Reason: tried: '/private/var/containers/Bundle/Application/3149D381-666D-4257-81D9-207B1A40F09B/Runner.app/Frameworks/Function.framework/Function' (no such file), '/usr/lib/swift/Function.framework/Function' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/Function.framework/Function' (no such file), '/usr/lib/swift/Function.framework/Function' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/Function.framework/Function' (no such file), '/private/var/containers/Bundle/Application/3149D381-666D-4257-81D9-207B1A40F09B/Runner.app/Frameworks/Function.framework/Function' (no such file), '/private/var/containers/Bundle/Application/3149D381-666D-4257-81D9-207B1A40F09B/Runner.app/Frameworks/Function.framework/Function' (no such file), '/private/var/containers/Bundle/Application/3149D381-666D-4257-81D9-207B1A40F09B/Runner.app/Frameworks/Function.framework/Function' (no such file), '/usr/lib/swift/Function.framework/Function' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/Function.framework/Function' (no such file), '/usr/lib/swift/Function.framework/Function' (no such file, not in dyld cache), '/private/preboot/Cryptexes/OS/usr/lib/swift/Function.framework/Function' (no such file), '/private/var/containers/Bundle/Application/3149D381-666D-4257-81D9-207B1A40F09B/Runner.app/Frameworks/Function.framework/Function' (no such file), '/private/var/containers/Bundle/Application/3149D381-666D-4257-81D9-207B1A40F09B/Runner.app/Frameworks/Function.framework/Function' (no such file), '/private/var/containers/Bundle/Application/3149D381-666D-4257-81D9-207B1A40F09B/Runner.app/Frameworks/Function.framework/Function' (no such file), '/System/Library/Frameworks/Function.framework/Function' (no such file, not in dyld cache)

@Apidcloud what version of VideoKit are you using? The fix should be simple: in Xcode, click on the 'General' tab of your target and make sure that Function.framework is set to Embed & Sign:

The latest 0.0.21 + ai fnx 0.0.26. I will let you know tomorrow when we test again

Ah, they were indeed already set to embed & sign, but we have an extra target where we had to manually add (the + button under Frameworks, Libraries, and Embedded Content) both Function.framework and VideoKit.framework and it worked.


chore: fix spelling

Please resolve conflicts - btw. you should have permission to merge your changes.


⚠ Panoramas has degraded performance

In 686885e, Panoramas ($SITE_URL_PANORAMAS) experienced degraded performance:

HTTP code: 200
Response time: 7519 ms

Resolved: Panoramas performance has improved in fcd51bb after 13 minutes.


unable to change popup button text Paystack with inline js

var paystk = new paystackpop();
paystk.newtransaction({
key : "new_key",
Email<EMAIL_ADDRESS>amount : 40,
currency : "ZAR" ,
style : {
text : "Hey"
}
})
I am unable to change the button text of the popup from "pay" to "hey"

@Handavipul such a functionality does not exist for this package nor on paystack


Contact Now button is breaking, Three github icon.

Describe the bug
The Contact now button broken in two parts. Also in the landing page, right side of navbar, three github icon is there with same information.
To Reproduce
Steps to reproduce the behavior:

Go to website.
Scroll down to "let's get started".
See the bug.

Expected behavior
It should be in sequential format. And the Github icon should be one.
Logs
Na
Environment (please complete the following information):

OS: windows 10
Browser: Chrome

Additional context

Please assign this issue to me @ridsuteri
Also please let me know if images is visible to you in PR.

@RuchiGitHu i am able to see the images in your PR which seems a bug, but when i am checking site on my browser it looks normal to me...

@RuchiGitHu i am able to see the images in your PR which seems a bug, but when i am checking site on my browser it looks normal to me...

Please let me clear if I am opening website in wrong manner.
I were opened https://vishal-raj-1.github.io/Awesome-JavaScript-Projects/ in Chrome and attached screenshots of bug. After your previous comment I Switched browser to bing and showing same error.

Note : Doing all this in Laptop.
Looking forward for your reply.
thanks in advance...

@RuchiGitHu i am able to see the images in your PR which seems a bug, but when i am checking site on my browser it looks normal to me...

Please let me clear if I am opening website in wrong manner.
I were opened https://vishal-raj-1.github.io/Awesome-JavaScript-Projects/ in Chrome and attached screenshots of bug. After your previous comment I Switched browser to bing and showing same error.

Note : Doing all this in Laptop.
Looking forward for your reply.
thanks in advance...

@RuchiGitHu this seems a bug !
maybe i am unable to see it bcz of my screen size or any other reason
hence i am assigning you the issue


remote: mktemp: failed to create directory via template

remote: mktemp: failed to create directory via template '/tmp/buildpacks/custom/meteor-XXXX': Permission denied
This is the error i get when i try to deploy a meteor app with this buildpack https://github.com/AdmitHub/meteor-buildpack-horse . I did a fresh meteor-test app and i have the same problem with it. I saw in the history someone had the same issue and he ended up not using dokku anymore. ( i want to keep use it :smile: )

related #1214 #1112

This is also a duplicate of this issue: https://github.com/progrium/dokku/issues/1048 -- I added a bunch of additional reproduction steps there, as well.

@bogdanrn
The buildpack custom path was an issue with buildstep I thought. Can you build it from scratch and try again?

Destroy any running apps and run dokku cleanup
docker rmi progrium/buildstep
BUILD_STACK=true make stack
deploy app
Profit :smile:

@michaelshobbs Thanks, it worked.

new buildstep release is out and dokku is updated.


[SPARQL] Wikidata

Reduce need for rewriting IRIs

[ ] shares IRIs for genes
[ ] shares IRIs for proteins
[ ] shares IRIs for metabolites
[ ] shares IRIs for complexes
[ ] shares IRIs for publications

Write up examples SPARQL query

[ ] write examples for the WikiPathways SPARQL book

No shared IRIs yet, but can be solved. See also: https://github.com/wikipathways/GPML2RDF/issues/46


The client does not throw an error when listing dataset from invalid host/path

I would expect the following Python code to throw an error because the endpoint used is invalid (note the v2 portion of the host). The current behavior is that the code run without error.
from nlpsandboxclient import client

data_node_host = "http://localhost:8080/api/v2"

datasets = client.list_datasets(host=data_node_host)

for dataset in datasets:
  print("Dataset name: " + dataset.name)

Tagging @yy6linda as she is now using the client to pull predictions from data nodes (first local instance then Sage data node)

@thomasyu888 My bad. The issue step from the fact that the follow python code in an R notebook will not fully return.
from nlpsandboxclient import client

data_node_host = "http://fake-data-node:8080/api/v1"

datasets = client.list_datasets(host=data_node_host)

for dataset in datasets:
  print(dataset)

Terminal output (note the ... on the last line, which show that the code block has not fully returned. Pressing ENTER in the terminal will show the print output):
>>> from nlpsandboxclient import client
>>>
>>> data_node_host = "http://fake-data-node:8080/api/v1"
>>>
>>> datasets = client.list_datasets(host=data_node_host)
>>>
>>> for dataset in datasets:
...   print(dataset)
...

@thomasyu888 @yy6linda The solution I found is to always add a blank line at the end of a Python code block:
from nlpsandboxclient import client

data_node_host = "http://fake-data-node:8080/api/v1"

datasets = client.list_datasets(host=data_node_host)

for dataset in datasets:
  print(dataset)

Back to the error issue, the error is then clearly printed in the terminal:
>>> from nlpsandboxclient import client
>>>
>>> data_node_host = "http://fake-data-node:8080/api/v1"
>>>
>>> datasets = client.list_datasets(host=data_node_host)
>>>
>>> for dataset in datasets:
...   print(dataset)
...
MaxRetryError: HTTPConnectionPool(host='fake-data-node', port=8080): Max retries exceeded with url: /api/v1/datasets?offset=0&limit=10 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fee2dff3df0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))


Tests added, small changes

Ref #1
I don't understand that autoloading part (what for?) and property autowiring.
I've added plenty package design changes, like docs syntax highlighting, .gitignore fixes, Readme fixes etc. Feel free to ask if you don't understand or don't agree with anything your find.
Note: All I use and need is ctor autowiring. I don't use neither @autowired and setters in Nette.
So I'll probably clean the package and own, smaller one.

Firstly, great work. I've added some comments to the diff.

Most importantly PHP 5.4 still needs to be supported until we get rid of Debian Wheezy in production. So no ::class :(
There are some things regarding Skrz's coding standard:

Tabs for indentation, please reformat tests using tabs.
namespace declaration should be right after <?php, no empty lines, no file doc comments.
There should be empty line after opening brace and before closing brace in class declaration.
false, true, null should be in lowercase.
Prefer " (double quotes) instead of ' (single quotes) for strings.

Thank you for moving things around to match bundle standards!

@jakubkulhan Do you have some code sniffer rules to remove manual burden? They would be much helpful.

Tests finally fixed!

Thanks!

I had to add back SkrzAutowiringBundlw::getContainerExtension(), otherwise Symfony threw exception regarding extension naming.
Also this big pull request finally pushed me to automate code style checking/fixing using PHPCS (currently only for internal projects, however same code style I used to reformat the merge). Thank you very much for that, and of course the code! :)

I don't understand the issue. What's the expected name and what's the real one? Renaming to match didn't work?
Great, I'm just integrating php-cs-fixer :).
I'm glad I could help!


Create OracleAdapter with PDO

Create a Oracle Adapter for phinx with PDO

This is looking really good!
There are a couple blockers for this to be merged:

We need a way to automatically run tests for this
It needs to conform to the new methods in the PDOAdapter

@lorenzo Hey Lorenzo, Thanks for feedback.
Now i'm making a lot of things because i'll go to Europe next Saturday and working a lot. But when i have a little time i adjust this things. I'm using this OracleAdapter in my work, and it's functional until now.

Closing due to no activity.


amazon image: fetch meta-data everytime in case if something changes

Motivation for this change
Context: this PR assumes you are running an instance in Amazon EC2.
Currently, after a reboot, a NixOS instance will re-configure itself, but to the user-data value which was set at instance creation.
AWS support changing user data while an instance is stopped. Further, if you use CloudFormation to manage your EC2 instances, and you make a change to user data, your instance will be stopped, user data updated, and instance restarted.
This PR cherry-picks a commit from unmerged PR #19031 which re-downloads user data on every boot, not just the first boot, so that changes to user-data can be picked up and applied.  This will mean that instances can be truly declaratively managed using AWS CloudFormation - a change to user-data in your CloudFormation template will cause the instance to be reconfigured to the desired state.
This PR conflicts with issue #41826, which says we shouldn't reconfigure machines after reboot at all.  That said, I think the current behaviour is confusing, and either this PR or #41826 would be better.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg eval

@philandstuff please resolve the merge conflict.

@philandstuff please resolve the merge conflict.


Fixes to #1898

Admin, can CI be enabled?

Few minor whitespace issues still. Could you please fix them and then squash commits? The latter isn't absolutely necessary in this case, but you may want to practice it with a small PR.

@robotci: Whitelist

@pekkaklarck is it possible to squash commits if i did not have separate branch on my fork? i was working directly on master.

I think it should be. Branches are generally a good idea, though.

Is this or #2001 currently active? Could you close the one that's not?


The Xcode project does not load.

When opening the Xcode project (Xcode 10) Then It's empty. (no files or anything else)

I guess your Xcode focuses on Report Navigator like below.

My Xcode was the same for some reasons. Command + 1 to focus on Project Navigator fixed this issue for my case.

Ha! I did not noticed that. Thanks


OperatorLinebreakFixer - Introduction

Resolves https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/3511

Any news on this fixer?

@dmvdbrugge @GrahamCampbell @julienfalque @SpacePossum I've reworked the fixers A LOT.
The previous version didn't handle & (which can be "bitwise and" or reference) or : (can be part of ternary operator or part of switch).

No activity for over half a year, so I guess no one is interested in having it here, and the fixer is already implemented here: https://github.com/kubawerlos/php-cs-fixer-custom-fixers#OperatorLinebreakFixer

I guess no one is interested in having it here

I am :)

I am :)

@julienfalque then go go go with review :stuck_out_tongue_winking_eye:

@kubawerlos can this be merged?

@mvorisek I guess now after getting RTM label it can :)

Should this rule be added to the php-cs-fixer ruleset?x

Should this rule be added to the php-cs-fixer ruleset?

I would like to see this in @Symfony ruleset with config described in https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4021#discussion_r499048329

@kubawerlos please review my changes. The goto-label edge case I found when running on the symfony source folder. I've copy-pasted the fix from https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5113/files so maybe someone can add a todo for making a colon-analyzer or something like that.
@GrahamCampbell done
@mvorisek I'm hesitant as there are a lot of fixes on the symfony source, so probably even far more in the symfony ecosystem. I would be more confident to add it to their set if a core member would request it. Than we don't have to deal with disappointments after 2.17 release like we had in the past releases. Thanks for the suggestion though!

@SpacePossum looks good, are you sure we want to add it to @PhpCsFixer in this PR instead of applying it to 2.15 and then merge the changes up?

Yeah good point, I might run it on 2.15 later on, but as the fixer won't be part of it new cases might get in anyways.
I was wondering though, I've added the boolean one only, because we (and on SF even more) some hits on constructs like;
$foo =
<<<TXT

TXT;

getting fixed to;
$foo
    =
<<<TXT

TXT;

WDYT, is this good, or something we want to make configurable on an operator bases?

Thank you @kubawerlos.

Why is the default value beginning?

Why is the default value beginning?

@peter-gribanov what are possible answers? ;)

@peter-gribanov what are possible answers? ;)

what are possible answers? ;)

In this project, it was customary to indicate operators at the end. I see no explanation as to why you changed the coding style for this project.

what are possible answers? ;)

In this project, it was customary to indicate operators at the end. I see no explanation as to why you changed the coding style for this project.

why you changed the coding style for this project.

I did not.

why you changed the coding style for this project.

I did not.

I did not.

Sorry. It was @SpacePossum who change CS.

I did not.

Sorry. It was @SpacePossum who change CS.

Normalizing to beginning is definitely better, at least in my opinion. I would also this is defacto standard and I would expect at least 80% of the operators in the top 1000 packages to be at the beginning. Feel free to present hard data to discuss more :)

Normalizing to beginning is definitely better, at least in my opinion. I would also this is defacto standard and I would expect at least 80% of the operators in the top 1000 packages to be at the beginning. Feel free to present hard data to discuss more :)

Sorry. It was @SpacePossum who change CS.

It was not a change. Most of the files in this project were already using that style.


RHTAPSRE-340: Add build vms to the internal env

Add 2 vms (arm and amd64) that will be used by the multi-arch controller.
ATM, add static vms, until we will decide which account should host dynamically created vms.

/lgtm


Extraction: Fixing #1072 and other things

Please don't merge this as-is.
In an attempt to fix #1072, which requires adding explicit polymorphism annotations (c.f. here), I discovered some other problems in extraction. This pull request fixes most of them, with two open problems still (hoping to get suggestions on them).
The solution I had in mind for #1072 is adding type annotations on every top-level, and annotating every polymorphic type variable.
Simply turning on type annotations for top levels (7959d37) would cause failures in many places. Mainly caused by 1) prims.ml was bad (easily fixed) 2) the value restriction in OCaml and coertions (needed to eta-expand some coertions) 3) when thunking a definition, we were not reflecting that on the type.

and 3) are easily fixed. The fix for 2) (eta-expanding) works fine, but will give rise to many many warning about unused arguments. Take for example this assumption:

assume val f : unit -> int

This used to generate something similar to
let f = Obj.magic (fun uu___5 -> failwith "Not yet implemented:f")

While now it will generate
let f : unit -> int = fun a0 -> (Obj.magic (fun uu___5 -> failwith "Not yet implemented:f")) a0

Which complains with
File "A.ml", line 3, characters 67-70:
Warning 20: this argument will not be used by the function.

Curiously, the parenthesis around Obj.magic (fun ... ) make a difference: taking them out removes the warning. Should we just ignore this warning altogether? Is there some better solution to this? The eta-expansion is needed for cases such as this one:
let f: 'a. 'a -> 'a =
    Obj.magic (fun uu____5  -> failwith "Not yet implemented:f")

Which gives a hard error
Error: This definition has type 'a -> 'a which is less general than
         'a0. 'a0 -> 'a0

As a separate issue, abstract types seem to be badly handled somewhere in extraction, since
module Abs

abstract let set a = a -> Type0

val empty : (#a:Type) -> set a
let empty = fun #a x -> False

will generate,  for empty,
let empty: 'Aa . 'Aa set = Obj.magic (fun x  -> ())

whereas without the abstract qualifier we get
type 'Aa empty = Prims.unit

which I think is the correct one? I couldn't for the life of me find out where this qualifier is interfering, maybe someone more savvy with compiler internals has a clue. In any case, anyone confirming that the second one (type ...) is the correct one would be great.
There's a (crap) commit which takes the abstract qualifier of ulib/FStar.TSet.fst, the only problematic file. With this change, the compiler bootstraps and runs, as well as pass regressions. Admittedly, I haven't tried miTLS or HACL yet. (Also, the change to the OCaml pretty printer is only for 4.02.3! I'll port it to all of them when we know this is sane)
I'd like to finish this relatively soon as it would prevent an awful hack in the tactics branch, which also only works with an OCaml-obtained snapshot, and has bitten some of us (including me after forgetting about it, Nik, Nick and Bryan).
So, main 3 questions:

Does the approach sound sane?
Should I turn off the warning about unused arguments, or is there some better solution?
What's up with the abstract qualifier?

Thanks a lot!
Guido

(regressions failed just now because of an unrelated change. Will fix, sorry)

A related question: why are the pretty printers ignoring the freshness integer for mlidents? Currently, different fresh calls might give variables that turn out identified after printing. Is this just a bug? It's surprising that it didn't show up somewhere already.

I figured why abstract is messing with extraction here. It's not about the qualifier, because we're using Inlining on every normalizer call in src/extraction. The thing is we're running extraction after checking which declarations should be exported (passing them through for_export). Since abstract should not be exported, it's replaced by an assumption assume val set : Type -> Type0, which has no definition the normalizer can use.
Should this be refactored so as to allow extraction to make use of these definitions?

I'm looking at the problem with extracting
module Abs

abstract let set a = a -> Type0

val empty : (#a:Type) -> set a
let empty = fun #a x -> bool //<--- CHANGED THIS TO bool

Both versions (with and without the abstract) look suspicious to me.
This version, e.g., seems especially bad because it breaks an invariant of the extraction about preserving the arity of symbols.
type 'Aa empty = Prims.unit
Indeed, if I try to then define
val foo : empty #int 0
let foo = true

then extraction crashes with "Substitution must be fully applied (see GitHub issue #490)"
(although it doesn't seem related to #490)
Here's the trace:
 at FStar.Extraction.ML.Util.subst(FSharpList`1 _arg1_0, mlty _arg1_1, FSharpList`1 args) in D:\workspace\everest\FStar\src\extraction\FStar.Extraction.ML.Util.fs:line 74
   at FStar.Extraction.ML.Util.udelta_unfold(env g, mlty _arg1) in D:\workspace\everest\FStar\src\extraction\FStar.Extraction.ML.Util.fs:line 79
   at FStar.Extraction.ML.Term.is_top_ty@396(env g, mlty t) in D:\workspace\everest\FStar\src\extraction\FStar.Extraction.ML.Term.fs:line 399

I'm continuing to look into this

@mtzguido About the freshness integers for mlidents, I wasn't sure what they were when I wrote the prettyprinter and it seems to me that they're basically always 0. I guess they might have been meant to stand for the counter in gensym but that doesn't seem to be the case. As an experiment, I tried removing them entirely (re-defining mlident = mlsymbol). I pushed it on branch vdum_tactics. Some tests fail but this might be because the were already failing on the branch.

Thanks Victor. Yes, Jonathan told me a bit about this, and it seems that this fresh is really just confusingly named. We should probably wire it through the environment and gensym, right?
Also thanks a lot Nik. What do you think we should do next? Fix this first, or work around it (take abstract out of FStar.TSet) and merge this for the time being?

I'm working on the fix today. I hope to complete it soon.

I have a fix in nik_private; it should merge easily into guido_tactics (at least I expect so).
It's not yet in master because of the usual suspects:
$ grep "(Error)" 1_Build.txt | grep STDERR
2017-07-19T05:34:47.8990738Z STDERR: .\FStar.Math.Lib.fst(15,0-17,41): (Error) Unknown assertion failed
2017-07-19T05:35:24.1116661Z STDERR: .\QuickSort.Seq.fst(31,0-48,15): (Error) Unknown assertion failed
2017-07-19T05:36:34.0977598Z STDERR: .\FStar.UInt128.fst(574,0-587,18): (Error) Unknown assertion failed
2017-07-19T05:36:42.6166767Z STDERR: .\FStar.Math.Lemmas.fst(215,8-218,31): (Error) Unknown assertion failed
2017-07-19T05:36:42.6186558Z STDERR: .\FStar.Math.Lemmas.fst(339,0-348,36): (Error) Unknown assertion failed
2017-07-19T05:36:42.6206862Z STDERR: .\FStar.Math.Lemmas.fst(561,0-568,41): (Error) Unknown assertion failed

Great, thanks a lot! I'll take care of the merge and make a new consistent PR.

I rebased over guido_tactics and Github's display of the PR turned to hell... moving discussion back to #1072.


PATCH request to endpoints served by grpc-gateway getting connection reset by peer

I am getting connection reset by peer when requesting to PATCH endpoints served by rk-grpc (with enableRkGwOption enabled)
 curl -vvv --location --request PATCH 'localhost:3000/v1/experiment/7' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
  "name": "Experiment model 123"
}'
*   Trying <IP_ADDRESS>:3000...
* Connected to localhost (<IP_ADDRESS>) port 3000 (#0)
> PATCH /v1/experiment/7 HTTP/1.1
> Host: localhost:3000
> User-Agent: curl/7.81.0
> Content-Type: application/json
> Accept: application/json
> Content-Length: 36
>
* Recv failure: Connection reset by peer
* Closing connection 0
curl: (56) Recv failure: Connection reset by peer

By default, enabling enableRkGwOption in your project will result in grpc endpoints and rest endpoints served in the same port using cmux as multiplexer. This is where the bug comes because cmux does not recognize PATCH HTTP methods in their default HTTP method. (https://github.com/soheilhy/cmux/blob/v0.1.5/matchers.go#L46-L55)
There are two possible solutions:

Serving different port for gRPC and REST API (configurable in yml file)
Adding PATCH method in boot/grpc_entry.go file so cmux recognize PATCH method:

httpL := tcpL.Match(cmux.HTTP1Fast("PATCH"))

@tegarajipangestu Hi, it is definitely a bug in rk-grpc. Currently, I prefer the second option. I will review the implementation of fix this bug ASAP

https://github.com/rookie-ninja/rk-grpc/pull/81

v2.2.4 has been released with bug fix. @tegarajipangestu

great, thanks for responding promptly @dongxuny!


[WIP] Add integration tests to Prefix-Span module

Once this has been worked out this can be applied to other modues.
Looking into:

How to handle test dependencies more elegantly. If we can't find another module, isn't it better to LOG instead of having a compilation error?
How to make code/gradle pretty

Codecov Report

Merging #106 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #106   +/-   ##
=========================================
  Coverage     86.03%   86.03%
  Complexity      244      244
=========================================
  Files            25       25
  Lines           537      537
  Branches        109      109
=========================================
  Hits            462      462
  Misses           24       24
  Partials         51       51

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 7a618d6...d46f467. Read the comment docs.


input minimumClusterSize  of       does not update when changing value

Issue description
input minimumClusterSize  of       does not update when changing value
Steps to reproduce and a minimal demo of the problem
https://stackblitz.com/edit/agm-map-cluster-demo?file=app%2Fapp.component.ts
Current behavior
when changing the value of minimumClusterSize , the cluster  does not update,
only works  with the initial value of minimumClusterSize
Expected/desired behavior
Cluster should update the minimumClusterSize   according to value
angular-google-maps, Angular, & any other relevant dependency versions
Some dependencies used
"@agm/core": "^1.0.0-beta.7",
"@agm/js-marker-clusterer": "^1.0.0-beta.7",
"@angular/common": "^8.1.3",
"@angular/compiler": "^8.1.3",
"@angular/core": "^8.1.3",

I'm facing the same issue

any resolution to this?

maybe #1833


error: could not parse model string:

Running nanopolish version 0.7.1
After assembly with canu, I'm trying to run nanopolish on a dataset, but I keep getting the error: could not parse model string:
I'm working with Albacore basecalled 2D data I ran on a r9.4 flow cell. I used nanopolish to extract the fastq/fasta reads. I looked at the fast5 files and I noticed that the the models are:
UniqueGlobalKey:context_tags:
local_bc_comp_model = complement_r9.4_250bps_5mer
local_bc_temp_model = template_r9.4_250bps_5mer
Do I need to import new models for nanopolish to use? I noticed there are r9 250bps 5mer models, but not for r9.4. Just a guess on my part.
INPUT command:
 python ~/nanopolish/scripts/nanopolish_makerange.py draft.fa | parallel --results nanopolish.results -P 8 \
> nanopolish variants --consensus polished.{1}.fa -w {1} -r reads.fa -b reads.sorted.bam -g draft.fa -t 4 --min-candidate-frequency 0.1

Full output:
##fileformat=VCFv4.2
##INFO=<ID=TotalReads,Number=1,Type=Integer,Description="The number of event-space reads used to call the variant">
##INFO=<ID=SupportFraction,Number=1,Type=Float,Description="The fraction of event-space reads that support the variant">
##INFO=<ID=BaseCalledReadsWithVariant,Number=1,Type=Integer,Description="The number of base-space reads that support the variant">
##INFO=<ID=BaseCalledFraction,Number=1,Type=Float,Description="The fraction of base-space reads that support the variant">
##INFO=<ID=AlleleCount,Number=1,Type=Integer,Description="The inferred number of copies of the allele">
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT  sample
[fai_load] build FASTA index.
error: could not parse model string:

The keys local_bc_temp_model would suggest that you used MinKNOW local basecalling, not standalone albacore. If you use standalone albacore could you let me know what version you used?

I used Albacore 1.1.0
Basecall_2D_000 (769123, 2)
    Group size = 3
    Number of attributes = 6
        basecall_1d = Basecall_1D_001
        component = basecall_2d
        name = ONT Albacore Sequencing Software
        segmentation = Segmentation_001
        time_stamp = 2017-May-12 09:36:12
        version = 1.1.0

The original 2D run was "live" basecalled with MinKNOW, but that version (1.43) didn't produce a 2D consensus (only the template and compliment). As a result the fast5 hierarchy has multiple basecalls in it:
Basecall_1D_000 = MinKNOW
Basecall_1D_001 = Albacore
Basecall_2D_000 = Albacore

Since there are multiple basecalls in the file, when running nanopolish extract you have to explicitly tell it to extract the albacore basecalls: nanopolish extract -b albacore

I did use that option, see below
nanopolish extract -r -b albacore -t 2d-or-template -o  output.fasta  /inputDIR

Could you try with the latest albacore (1.2.5) and if the problem still exists, send me an example fast5?

I've been avoiding upgrading to the latest albacore because of the lack of 2D basecalling support. I suppose there is trick to keeping the configuration files while upgrading that I have to figure out.
I've attached an example fast5 file in the mean time.
stuart_20170316_FNFAF16106_MN20458_sequencing_run_AntiRes_MD_20170316_55189_ch101_read13147_strand.zip

Could you use albacore 1.2.4? It includes 2D support and should write fast5 in the format nanopolish expects.

@jts We're seeing the same problem in #194 .  We've been using the latest albacore version primarily due seeing significantly more sequences from the improved barcode capture.  Though we could downgrade to the older albacore release this would cause data loss, correct?

@cjfields did you run MinKNOW local basecalling?

@cjfields #194 is now fixed

I created a subset of my fast5 files and used picopore to remove all previous basecalls. I then used Albacore 1.2.4 to basecall. I extracted the reads using the -b albacore option.
I continue to get the same error message.
error: could not parse model string:
Attached is a fresh fast5 file.
stuart_20170316_FNFAF16106_MN20458_sequencing_run_AntiRes_MD_20170316_55189_ch102_read610_strand.zip

Thanks, that is helpful. I think I know what the problem is now and I can provide a fix later.

When you say use the 1D reads, would you recommend using both template and complement 1D reads? Ideally, they should align to the same place in the draft genome.

The complement data for 2D has always been quite variable in quality so unless you are limited by coverage (<50x) I would suggest just using template.


[ClangImporter] Update the error condition when delayed inputs are used

Return error only when no inputs are available, instead of relying on checking no errors occured in diagnostics.

@swift-ci please smoke test


windows binary path

Describe your changes
install windows binary in correct directory

Need to take into consideration how this affects upgrades. Would assume this leads to a duplicate netclient.


Trades Simulation Layer

The image below shows how information is plotted below each trade:

In my view, it is not necessary to indicate TP or STOP as the reason for the exit, as that can be seen on the charts already.
If it needs to be there, it should be labeled to avoid confusion with the number indicating ROI. In such case, we should have:
Exit: TP (or STOP)
ROI: -0.32

If we get rid of TP or STOP, then the number for ROI is self-explanatory and wouldn't require a label. In such case, we would simply have:
-0.32

Also, the information disappears when the bar is pulled upwards, and in smaller screens may not even show.

It would work best if we had the ROI number in a fixed vertical position instead of variable according to each trade. The ideal position may be above the horizontal lines marking the triggered strategies... always at the bottom of the screen.

Also, the information disappears when the bar is pulled upwards, and in smaller screens may not even show.

This is by design to avoid overlaps.
Improvement made and available in next patch


WIP: Add docs about SD interface

Something I jotted down between my flights. As @fabxc is on a vacation, I wrote this down after a brief discussion with him so I expect it to be lacking or error prone.

This change is

/cc @juliusv @grandbora @TheTincho @cstyan @Verolop

:+1: besides nit comments

@cstyan Thanks, done!
@brian-brazil Can we merge this in?

@brian-brazil PTAL?
@fabxc

The TargetGroup examples are useful :+1: good suggestion @brian-brazil


REQUEST: New membership for horizonzy

GitHub Username
horizonzy
Requirements

[x] I have reviewed the community membership guidelines (https://github.com/cloudwego/community/blob/master/community-membership.md)
[x] I have joined to the Slack Channel and Feishu Group Chat (for Chinese)
[x] I am contributing (any of the following apply: issues, discussions, PRs, reviews) to 1 or more CloudWeGo repositories

List of contributions to CloudWeGo

https://github.com/kitex-contrib/registry-zookeeper/pull/1
https://github.com/cloudwego/kitex/pull/132

+1

+1

Hi, your request has been reviewed by the project management team and passed with a comfortable majority. Congratulations !

Member has been added to the CloudWeGo Organization, This issue is done !


refactor: middleware.ts for redirect optimization

Optimized the middleware.ts by refactoring redirect logic. External redirects for Discord and Blog have been handled separately to improve code maintainability and clarity.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

@cypherpepe
Thanks for this PR! This is now in our backlog, pending to be reviewed.

Hi, @wbnns!
I wanted to remind you about my pull request #1127, which optimizes the middleware.ts file to improve redirect logic. I understand you have many tasks, but I would appreciate your attention to this request when you have the opportunity.
If additional explanations or changes are needed, please let me know.
Best regards, @cypherpepe


Proposed 0.60.0-rc2

Codecov Report

Merging #2042 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #2042      +/-   ##
===========================================
+ Coverage    67.65%   67.65%   +<.01%
===========================================
  Files          680      680
  Lines        49199    49199
===========================================
+ Hits         33286    33288       +2
+ Misses       15913    15911       -2

Impacted Files
Coverage Δ

src/ripple/app/main/Amendments.cpp
100% <ø> (ø)
:white_check_mark:

src/ripple/protocol/impl/BuildInfo.cpp
82.6% <ø> (ø)
:white_check_mark:

src/ripple/ledger/impl/PaymentSandbox.cpp
60.67% <100%> (ø)
:white_check_mark:

src/ripple/protocol/impl/Feature.cpp
100% <100%> (ø)
:white_check_mark:

src/ripple/app/ledger/PendingSaves.h
100% <0%> (+6.45%)
:white_check_mark:

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 112a863...69bc58c. Read the comment docs.


Split EntityList logic (Tests & Test Suites)

This PR is trying to extract the abstract logic from the EntityList page, that was handling both Tests and Test Suites.
There may be still another stage of improving that, yet it already has decoupled a lot, reducing its code by half, and works well as such.
Changes

Note: it may be easier to check this PR commit by commit - it has been iteratively decoupling these pages, so it's easier to understand the reasoning this way
Prepare specific TestsList and TestSuitesList pages, instead of the EntityListBlueprint
Avoid all the related configuration files and data layer
use ModalContext instead of local Modal
avoid adding testIcon property into the Test - compute it dynamically
Delete unused or unnecessary code
Simplify deep-linking logic (filters in the URL) - handle it fully in EntityListContent

Fixes

part of https://github.com/kubeshop/testkube/issues/3958

How to test it

screenshots

Checklist

[x] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

Filters is supposed to be remain when you refresh, or paste a link with them applied. I see it has been removed in this PR, is it meant to happen?

It worked fine for the production build, it wasn't working for the StrictMode available for development. Fixed now 👍

Abort option looks not really great when the item is on the right

Also according abortion, I am not sure it is a great idea to display this option when there are no running executions. I click on it and nothing happens

Also according abortion, I am not sure it is a great idea to display this option when there are no running executions. I click on it and nothing happens

@fivenp, what do you think about it?

I think: https://github.com/kubeshop/testkube/issues/3988 :)


Azure CLI under WSL2

Describe the bug
This error occurs when executing az functionapp config appsettings set in WSL2 (Ubuntu-20.04). For parsing the --settings values, it's requesting the parent (or grandparent) of the executing proc_name see here, but this throws an AccessDenied error.
Command Name
az functionapp config appsettings set
Errors:
The command failed with an unexpected error. Here is the traceback:
psutil.AccessDenied (pid=18944)
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/util.py", line 506, in shell_safe_json_parse
  File "json\__init__.py", line 370, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/util.py", line 512, in shell_safe_json_parse
  File "ast.py", line 59, in literal_eval
  File "ast.py", line 47, in parse
  File "<unknown>", line 1
    ASPNETCORE_ENVIRONMENT=development
                          ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\psutil/_common.py", line 447, in wrapper
AttributeError: _cache

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\psutil/_pswindows.py", line 679, in wrapper
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\psutil/_common.py", line 450, in wrapper
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\psutil/_pswindows.py", line 766, in exe
PermissionError: [WinError 24] The program issued a command but the command length is incorrect: '(originated from NtQuerySystemInformation)'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 657, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 720, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 712, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/commands.py", line 37, in _ex_handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 691, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/custom.py", line 260, in update_app_settings
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/util.py", line 525, in shell_safe_json_parse
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/util.py", line 1266, in get_parent_proc_name
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/util.py", line 1254, in _get_parent_proc_name
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\psutil/__init__.py", line 617, in name
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\psutil/_pswindows.py", line 750, in name
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\psutil/_pswindows.py", line 681, in wrapper
psutil.AccessDenied: psutil.AccessDenied (pid=18944)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

az functionapp config appsettings set --ids {} --settings ASPNETCORE_ENVIRONMENT=development FUNCTIONS_EXTENSION_VERSION=~3

Expected Behavior
The command runs without errors (as it does on a Hosted Agent)
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer:

azure-cli 2.26.1
azure-cli-iot-ext 0.8.9

Extensions:
application-insights 0.1.14
azure-cli-iot-ext 0.8.9
log-analytics-solution 0.1.1
notification-hub 0.2.0

Additional Context
Azure CLI was installed via Azure Agent setup (https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-linux?view=azure-devops), later executed sudo apt remove azure-cli -y && sudo apt autoremove -y and curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash to ensure the latest AZ CLI version.
Ran following commands in python3:
>>> import psutil
>>> import os
>>> psutil.Process(os.getpid())
psutil.Process(pid=2564, name='python3', status='running', started='15:14:04')

>>> psutil.Process(os.getpid()).parent()
psutil.Process(pid=24486, name='bash', status='sleeping', started='13:11:19')

>>> psutil.Process(os.getpid()).parent().parent()
psutil.Process(pid=24485, name='init', status='sleeping', started='13:11:19')

route to service team

Oh interesting -- thanks @svdlinde42 for investigating, I'll take a look

@haroonf can you check if you can repro this one. there was a similar report from Logic apps as well.


Run perf tests without separate package.json

This change removes the separate package.json and in the process adds a couple large dev dependencies in the form of cypress webpack plugins. The extra plugins were necessary to tell cypress where the typescript binary was located. If this can be achieved without the plugins, that would be even better. I'm not confident this is the most optimal way to setup all these configs without needing a separate package.json for the perf tests but this was the way that worked. Much of the frontend tooling assumes that you are running underneath the package root at ./kiali/frontend but since the tests run at ./kiali/tests/perf, this is not the case. An alternative might be to just move the tests underneath ./kiali/frontend.
In summary:

Adds a few makefile commands to make running the performance tests easier
Removes the separate package.json for the perf tests
Adds a couple large dev dependencies for pre-processing the cypress config

Moved everything under frontend folder at frontend/cypress/perf. IMO this is the simplest setup as we can share deps without having a separate package.json but lmk what you think.

Tested changes and working correctly.


Fixed Get Adjustment and related test

fixes #149

Thanks @MuffinMan10110 ! I've been out of town. Should get this merged today or tomorrow.

@bhelx I reverted the change in question back to what it was.

Thanks @MuffinMan10110 !


Fix test for new group keys behavior for Pandas 2

In Pandas 2, groupby().apply() will append group keys to an index that already has them in cases where the apply is really a transform (the resulting index is same as the incoming one). This is a change from Pandas 1.5.
When running the original test with Pandas 1.5, we get the following warning:
To preserve the previous behavior, use

	>>> .groupby(..., group_keys=False)

To adopt the future behavior and silence this warning, use

	>>> .groupby(..., group_keys=True)
  df.groupby(['provider']).apply(lambda x: x)

So I set group_keys to False to retain the 1.5 behavior.

R: @tvalentyn


DSND-3116: Modify behaviour of the delete endpoint

Refactor endpoint take in delta_at as a request header
Refactor behaviour to compare on delta_at and check when its null
Refactor API service and seperate transformation into new mapper class
Refactor and use new ExceptionHandler class for controller
Add new exception classes to be thrown instead of returning response entity
Update unit and cucumber tests
Passes local testing

Resolves DSND-3116

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!


Not able to open DBB metadata file (BuildReport.html and BuildReport.json)  in browser

I have created DBB metadata reports in Mainframe USS file path and exported it through DBB CLI .BuildReport.html and BuildReport.json files are in my Mainframe USS path . I am not able to  open the files in VScode USS .It is opening in binary format in VScode editor . I want to open it in the browser to see the metadata and dependency reports.
Could you please help me on this?

Hi @ratnamGT. Which UI are you trying to use to open the files (Zowe Explorer, z/OS Resources Table, etc.)? If you could attach a screenshot or video that would be helpful.

@benjamin-t-santos  Thanks for your response ,I am trying Zowe Explorer ,I opened the BuildReport.html with encoding ISO8859-1 and it opened in HTML source code . But I want to use that file in browser from Zowe Explorer .
I am attaching the screenshot.

Thanks. Zowe Explorer is a VS Code extension published by Zowe. It is open-source and not maintained by IBM. If this is a feature you would like to see in Zowe Explorer, I would recommend creating an enhancement request on their repository: https://github.com/zowe/zowe-explorer-vscode
When a USS file is opened in Zowe Explorer, it is downloaded locally to a temporary folder and opened in a new editor. You can see at the top of your editor the path to this temporary folder. You should be able to open the HTML file in a browser from there. Another option is downloading your files from USS using Zowe CLI.


chore: release 0.5.0

:robot: I have created a release *beep* *boop*
0.5.0 (2021-01-12)
Features

Allow optional return_type parameter when creating blocks (ab737bd)

Bug Fixes

add arch & os restrictions for opam (#41) (421b45d)
provide type to select instruction (#46) (2096a3c)

Documentation

add section about static linking (#37) (f9afda1)

Miscellaneous Chores

Add --no-browser flag to opam-publish (#43) (f47f2bb)
Switch back to official setup-opam action (#44) (f4338bd)

This PR was generated with Release Please. See documentation.

Killing this for the bot to do it's magic.

Killing this for the bot to do it's magic.


Refactor code structure

The code base has grown and things are getting a bit sloppy.  Our /data/ directory has some data files that we may not be using. This all needs to get tidier so that folks can jump in to the project more easily.
I need to introduce a templating helper and I'm leaning towards Jekyll since Github Pages can host it easily.
https://help.github.com/articles/using-jekyll-with-pages/
This will be a high priority for me before I jump into any new features.

Jekyll seems like overkill.
Instead of repeating the head, body, etc. html everywhere, create a base template?

You were right @luqmaan, Jekyll would've been a hassle to refactor for and since I'm already using gulp, so I just added gulp-file-include and a few other gulp plugins to manage the template generation.
Found this blog post that had some code example of the gulp file and templating architecture:
https://medium.com/objects-in-space/considering-a-static-site-tool-learn-gulp-2fd5f9821fc4

:deciduous_tree:


Selected Element getting disappeared

Hi ,
Whenever i try drag an element the element disappears and after drag finish the element appears.
Please help me. Component is excellent and perfect
Thanks

Ok the issue is my Sortable component is inside react-boostrap Modal component.
The dragged component is behind the Popup,
Can you please help me

You can add the helperClass prop to your enhanced SortableContainer component to style the helper and give it a higher z-index value.
For example:
...
render() {
 return (
   < SortableList helperClass='sortableHelper' />
  )
}

And then in your css:
.sortableHelper {
   z-index: 10;
}

I did the same its not working :(

You'll need to adjust the z-index to your specific use case. If in doubt, just try incrementing the value until it starts working (for instance, try z-index: 9999)

Hmm Thanks for reply , its still not working .  i have one question , the dragged mini opaque element that appear . Is it part of SortableList ? or it is is also a some popup? . because i am suspicious that react-bootstrap popup is making it self at that highest z order. But i have no way to debug

Ok
<SortableItem key={item-${index}} index={index} value={fieldName} style = {{zIndex: 100000}}/>
This worked can u please tell me why this worked and it didnt work whne applying css to sortableList

"<SortableItem key={item-${index}} index={index} value={fieldName} style = {{zIndex: 100000}}/>"

Ok This worked <SortableItem key={item-${index}} index={index} value={fieldName} style = {{zIndex: 100000}}/>
Can u please tell me why the above mentioned way worked and sortableHelper class on sortbale list didnt ?

The above applies the style directly on the element, which then gets cloned and appended to the document.body element when you start sorting (this is the sortable helper).
The above mentioned solution instead adds a class of your choice to the helper when it is cloned.
Both should work, I'd need to diagnose why the first option isn't working for you.

https://github.com/Miteshdv/Form-Creator/blob/master/formElementsReorder/FormReOrderView.jsx  you can go to Miteshdv/form-creator on github download project npm install nd check it pls

@Miteshdv @clauderic I had the same problem with Popover in react-bootstrap. z-index has to be marked with !important to override bootstrap styles.
.sortableHelper {
   z-index: 10000 !important;
}

@Miteshdv as this element that you drag is appended at the end of the BODY, make sure you don't put the definition of .sortableHelper in the scope of some other CSS class (like you probably do with the styles for the elements) as it will simply not work.

For me, it works when I add  to class to :
const SortableItem = SortableElement(({value}) =>

{value}

);

and CSS
.sortableHelper {
   z-index: 9999;
}

if a style of a draggable element does not satisfy you. Please make adjustment in .sortableHelper

Inside of a material-ui modal, this worked nicely:
// file `ReorderThingsForm.styles.js`
import { makeStyles } from "@material-ui/core";

export const useStyles = makeStyles(
  theme => ({
    sorting: {
      zIndex: theme.zIndex.modal + 100,
    },
  }),
  {
    classNamePrefix: "ReorderThingsForm",
  },
);

// file `ReorderThingsForm.jsx`
import ...;
import { useStyles } from "./ReorderThingsForm.styles";

const MySortableContainer = SortableContainer(...);

export function ReorderThingsForm() {
  const classes = useStyles();
  return (
    <...>
      <MySortableContainer helperClass={classes.sorting} />
    </...>
  );
}

if you use it in a modal component，then the z-index will not be used;
the correct way is to use useRef and helperContainer
const modalBody = useRef<any>(null);
...
<Modal.Body ref={modalBody} className={styles.sortModalBody}>
  <SortableList
    items={sorts}
    helperContainer={modalBody.current}
    onSortEnd={sortEnd => handleSortEnd(sortEnd)}
  />
</Modal.Body>

if you use it in a modal component，then the z-index will not be used;
the correct way is to use useRef and helperContainer
const modalBody = useRef<any>(null);
...
<Modal.Body ref={modalBody} className={styles.sortModalBody}>
  <SortableList
    items={sorts}
    helperContainer={modalBody.current}
    onSortEnd={sortEnd => handleSortEnd(sortEnd)}
  />
</Modal.Body>

on first sort element still invisible and when i sort second time then it is working fine. can you help me out asap.

https://github.com/clauderic/react-sortable-hoc/issues/87#issuecomment-556145361
If you are using another component besides modal from Material-UI you can get the z-index by looking at https://material-ui.com/customization/z-index/

If you want to control the zIndex more dynamically:
use updateBeforeSortStart event:
updateBeforeSortStart={(node) => {         node.node.style.zIndex=9999;       }}

If anyone finds themselves using (maintaining a project with) react-select with react-sortable-hoc.
My solution was to style the class for the multiValue item, as of now
.css-1rhbuit-multiValue```

Make z-index value higher like 10000

Hi ,
I'm using drag and drop with react-sortable-hoc when i use drag and drop functionality i'm able to do , but after i close the drog and drop container  pop up what ever the fields i dragged those are coming on top of the UI .
I have been trying to resolve it but i'm not able to .
Could you please help me with this ?


ERROR: Unable to extract content ID Yahoo/Plus7

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.09.11. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.09.11

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v https://au.tv.yahoo.com/plus7/first-dates-uk/-/watch/36801412/first-dates-uk-tue-22-aug-season-2-episode-4/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://au.tv.yahoo.com/plus7/first-dates-uk/-/watch/36801412/first-dates-uk-tue-22-aug-season-2-episode-4/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.09.11
[debug] Python version 2.7.13 - Linux-4.9.0-3-amd64-x86_64-with-debian-9.1
[debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[Yahoo] first-dates-uk-tue-22-aug-season-2-episode: Downloading webpage
ERROR: Unable to extract content ID; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 776, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 434, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/yahoo.py", line 302, in _real_extract
    CONTENT_ID_REGEXES, webpage, 'content ID')
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 797, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract content ID; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description of your issue, suggested solution and other information
I've come across this a couple of times now. I d'loaded some 800 Words on the weekend (090917) with no issue.
Keep up the excellent work and cheers for a great program.

Seems to be site wide. I've tried a few other shows - same error.
Clips used to dl'd (I think - correct me if I'm wrong) - now passed to generic and unsupported url.
$ youtube-dl -v https://au.tv.yahoo.com/plus7/sunrise/-/watch/37083565/clown-entertainers-say-it-is-hurting-their-business/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://au.tv.yahoo.com/plus7/sunrise/-/watch/37083565/clown-entertainers-say-it-is-hurting-their-business/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.09.11
[debug] Python version 2.7.13 - Linux-4.9.0-3-amd64-x86_64-with-debian-9.1
[debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] clown-entertainers-say-it-is-hurting-their-business: Requesting header
WARNING: Falling back on generic information extractor.
[generic] clown-entertainers-say-it-is-hurting-their-business: Downloading webpage
[generic] clown-entertainers-say-it-is-hurting-their-business: Extracting information
ERROR: Unsupported URL: https://au.tv.yahoo.com/plus7/sunrise/-/watch/37083565/clown-entertainers-say-it-is-hurting-their-business/
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2116, in _real_extract
doc = compat_etree_fromstring(webpage.encode('utf-8'))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2539, in compat_etree_fromstring
doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2528, in _XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
self._raiseerror(v)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
raise err
ParseError: not well-formed (invalid token): line 34, column 33
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 776, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 434, in extract
ie_result = self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2964, in _real_extract
raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://au.tv.yahoo.com/plus7/sunrise/-/watch/37083565/clown-entertainers-say-it-is-hurting-their-business/

youtube-dl --verbose --ignore-config -o ./%(title)s.%(ext)s "https://au.tv.yahoo.com/plus7/heists-that-shook-the-world/-/watch/36774851/heists-that-shook-the-world-sun-20-aug-season-1-episode-2/"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '--ignore-config', '-o', '~/Movies/%(title)s.%(ext)s', 'https://au.tv.yahoo.com/plus7/heists-that-shook-the-world/-/watch/36774851/heists-that-shook-the-world-sun-20-aug-season-1-episode-2/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.09.15
[debug] Python version 3.4.4 - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-82759-g1f5630a-Sherpya, ffprobe N-86977-g5859b5b, rtmpdump 2.3
[debug] Proxy map: {}
[Yahoo] heists-that-shook-the-world-sun-20-aug-season-1-episode: Downloading webpage
ERROR: Unable to extract content ID; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpl1klaw4y\build\youtube_dl\YoutubeDL.py", line 776, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpl1klaw4y\build\youtube_dl\extractor\common.py", line 434, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpl1klaw4y\build\youtube_dl\extractor\yahoo.py", line 302, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpl1klaw4y\build\youtube_dl\extractor\common.py", line 797, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract content ID; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Dash request URL was:
https://yahoo7pdash-a.akamaihd.net/2376984108001/2376984108001_5546047511001_5546040089001.mpd

I don't believe this is completely fixed.
Now for some videos (not all) I'm getting a 404 looking for the JSON metadata.
> youtube-dl "https://au.tv.yahoo.com/plus7/sunrise/-/watch/37263964/sunrise-episode-wed
-27-sep/" --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://au.tv.yahoo.com/plus7/sunrise/-/watch/37263964/sunrise-episode-wed-27-sep/', u'--v
erbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.09.24
[debug] Python version 2.7.14 - Windows-10-10.0.15063
[debug] exe versions: ffmpeg N-87353-g183fd30, ffprobe N-87353-g183fd30
[debug] Proxy map: {}
[Yahoo] sunrise-episode-wed: Downloading webpage
[brightcove:new]<PHONE_NUMBER>001: Downloading webpage
[brightcove:new]<PHONE_NUMBER>001: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on
https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be
sure to call youtube-dl with the --verbose flag and include its complete output.
  File "c:\python27\lib\site-packages\youtube_dl-2017.9.24-py2.7.egg\youtube_dl\extractor\common.py", line 503, in _requ
est_webpage
    return self._downloader.urlopen(url_or_request)
  File "c:\python27\lib\site-packages\youtube_dl-2017.9.24-py2.7.egg\youtube_dl\YoutubeDL.py", line 2184, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "C:\Python27\lib\urllib2.py", line 435, in open
    response = meth(req, response)
  File "C:\Python27\lib\urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "C:\Python27\lib\urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "C:\Python27\lib\urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "C:\Python27\lib\urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)```

I doubt this is a geo-restriction problem for Australian residents.
Commercial software that uses youtube-dl, FFmpeg and FFprobe is able to DL from Plus7.  See www.allavsoft.com.  I don't know how they do it.  But, it looks like Allavsoft have their own URL parsing routine unique for each site.
There is also an Kodi plug-in that works [for streaming only].  There site is here: http://aussieaddons.com/addons/plus7/.  Although they advise DRM stops some videos, I think there are Widevine add-ins that enable nearly all videos to work in Kodi.
Plus7 is a major provider in Oz - equivalent to CBS, CNN or NBC.  Please consider continuing work on a Plus7 extractor if only for Aussies.


Added KDCalendar

Project URL

Description

Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 3 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          2 Warnings

:warning:
Please rebase to get rid of the merge commits in this Pull Request

:warning:
Found 1 link issue, a project collaborator will take care of these, thanks :)

Link issue by awesome_bot

Line
Status
Link

880
Error
https://pspdfkit.com/  Cannot assign requested address - connect(2) for "pspdfkit.com" port 443

  Generated by :no_entry_sign: Danger