Pipeline is not working

Description:
The docs-apk build is not getting triggered automatically when a PR is merged.

I updated the build script and sent the following PRs
[1] https://github.com/wso2/docs-apk/pull/38 - online
[2] https://github.com/wso2/docs-apk/pull/39 - From my Forked Repo
But the issue is still there

Update
Sent an email to Maheshika in this regard to check if is it due to the change in the SSH server after the Build job was created.
Email APK docs build not getting triggered automatically

The build got triggered automatically when PR #41 was sent after Maheshika made the respective changes. As the pipeline is working as expected I am closing this issue.


Soil moisture maps are always 0

The soil moisture maps are always zero (e.g. SoilMoisture-0.img).  Maybe it's a problem with the values being less than zero?  Not sure.

I replaced these with available water maps and should be working now


Support kramdown

Is it supported? If yes, is it possible to use it and how?

would be great if this was more than a one-line request, explaining what's that and why it should be supported. from a quick google I see it's a Ruby parser with some extensions? if there's no JS library with these (it seems there's only PHP and Ruby), the answer is certainly going to be no.

I agree with @igorsantos07. Please re-open with more information on what kramdown is and what would it entail to support it. Closing for now.


Settings info doesn't belong here

How to access the settings doesn't belong in Install, it belongs with the settings reference. And you need to say what the default key assignment is to bring it up. I have a problem at the moment where something's decided not to draw my Terminal window frame, or any of the tabs or menus, and I have no way to get to the settings to change that state.

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

ID: ee133b07-2c89-7f9e-4ab4-dd682c21c37a
Version Independent ID: d7838521-160a-6b6e-6795-a8049f18ede6
Content: Windows Terminal installation
Content Source: TerminalDocs/install.md
Product: dev-environment
Technology: windows-terminal
GitHub Login: @cinnamon-msft
Microsoft Alias: cinnamon

This is a duplicate of #719.


GML3 does not always get attibutes of the of the right container node

I am trying to read 3D features from a WFS version 1.1.0 (GML3), but it fails to see the srsDimensions="3", it searches in the wrong parent container for this attribute.
My geometry looks like this:
<test:wkb_geometry>
<gml:Polygon srsName="http://www.opengis.net/gml/srs/epsg.xml#26918" srsDimension="3">
<gml:exterior>
<gml:LinearRing>
<gml:posList>
585973.5046891 4513465.32741521 8.01425936<PHONE_NUMBER>7477 4513477.85439695 -7.19886228<PHONE_NUMBER>6156 4513466.33293854 -6.57780461<PHONE_NUMBER>891 4513465.32741521 8.01425936
</gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</test:wkb_geometry>

Or:
<dk:geom3d>
<gml:Curve srsDimension="3" srsName="http://www.opengis.net/gml/srs/epsg.xml#25832">
<gml:segments>
<gml:LineStringSegment interpolation="linear">
<gml:posList>
702947.343 6160237.201 46.75363692804333 702944.863 6160236.271000001 46.723636928043334 702943.393 6160235.821 46.78363692804333 702942.064 6160235.171 46.85363692804333 702940.974 6160234.081 46.863636928043334 702940.294 6160232.691000001 46.88363692804333 702940.064 6160231.721000001 46.82363692804333 702940.333 6160230.691000001 46.863636928043334 702941.514 6160229.852000001 46.80363692804333 702946.483 6160228.091 46.95363692804333 702953.473 6160225.562000001 47.123636928043325 703020.358 6160200.103 47.363636928043334<PHONE_NUMBER>000001 6160197.0540000005 47.21363692804333 703029.358 6160197.484 47.20363692804333
</gml:posList>
</gml:LineStringSegment>
</gml:segments>
</gml:Curve>
</dk:geom3d>

The code which fails:
ol.format.GML3.prototype.readFlatPosList_ = function(node, objectStack) {
  var s = ol.xml.getAllTextContent(node, false).replace(/^\s*|\s*$/g, '');
  var context = objectStack[0];
  var containerSrs = context['srsName'];
  var containerDimension = node.parentNode.getAttribute('srsDimension');
  var axisOrientation = 'enu';
  if (containerSrs) {
    var proj = ol.proj.get(containerSrs);
    axisOrientation = proj.getAxisOrientation();
  }

This line is the cause
var containerDimension = node.parentNode.getAttribute('srsDimension');
This results in the node gml:LinearRing or gml:LineStringSegment
The actual srsDimention is 2 nodes up so it never converts the coordinates correct. It assumes that is has 2 dimensions
GML2 works fine

@jessyst does this #7368 fix this problem for you?

Unfortunately not

Could someone take a look at this? It is getting more difficult to work around this...

If someone wants to take a stab at this, we'd accept a pull request. The best way to solve this would be to carry the srsDimension around during geometry parsing, instead of looking it up in levels above.
A first step would be to add a test in test/spec/ol/format/gml.test.js in the 'when parsing srsDimension from WFS (Geoserver)' section.


Distribution as an XCFramework

When building for Apple platforms, Firebase provides a way to include it into the project without a package manager using an XCFramework. It vastly improves build times, especially in CI environments where incremental builds aren't happening (saving about 30 minutes of build times).
However, FirebaseUI isn't currently getting distributed as an XCFramework and I'd love to see it happen some day.
Cheers!
-Vadim

We don't have a good method of synchronizing FirebaseUI binary releases with Firebase upstream binary releases since they're both on different release schedules. However, you could manually include FirebaseUI as source via git submodule (though this requires manually keeping the versions in sync) and use Firebase via the XCFramework approach you described. Most of the build time savings will come from Firebase itself, since FirebaseUI is a relatively small codebase (less than 1% the size of Firestore alone, including Firestore's dependencies).

@morganchen12, thanks a lot for you response and sorry for my delayed reply.
I tried adding FirebaseUI as a git submodule while having Firebase as an XCFramework, but my attempts were not successful, mostly because of transient dependencies that are the same for FirebaseUI and Firebase iOS SDK. I think mostly it's just my lack of experience in setting up the build configuration in such a way.
I'm okay with closing this issue since I understand the fundamental constraints that you describe.
If someone from the community knows if there is any documentation or tutorial available on how to configure the project to use Firebase as an XCFramework and have FirebaseUI as a git submodule, I'd love to read it. Until then, looks like I'm destined to just use SwiftPM :)
Cheers and thanks for the great work!
-Vadim

I'll leave this issue open, since it's a significant increase in complexity to include a dependency via submodule instead of prebuilt XCFramework.


Distribution API Proposal

Please see #10 for the latest PR
Historical feedback here
Includes:

Persistence options
Reference linking options
Signature discovery options
Paging options

Signed-off-by: Steve Lasker<EMAIL_ADDRESS>

@samuelkarp @mikebrow, I've updated the persistence examples, including signing a multi-arch image.
I need to address the listing and paging APIs. That will be the next round of updates.


Update Readme.md

Added fullstops
Please note that for legal reasons we require you to sign the
Contributor Agreement
before we can accept your pull requests.

Please don't waste other peoples time just to score on hacktoberfest. Come back if you find something usefull to contribute.


Execute a real-time scrape when someone is looking at the data

Is your feature request related to a problem? Please describe.
I would like to see up-to-date data when I actively look at the dashboard containing the output of a multi scale sensor, but would like to have a long scraping interval if I don’t.
Describe the solution you'd like
not sure this is at all possible, but maybe there is some API in HASS that tells you if someone is logged in and looking at the dashboard in the browser/app. During that time, the scraping interval could be shortened to some user-set alternative so that up-to-date data appear in the plots and entity cards. Otherwise the intervals could be increased to be rare. Currently I have a rotten compromise interval of 15 minutes which is neither up to date when something sudden that causes me to log in happens, and also too detailed for my purpose of historical record.
Describe alternatives you've considered
Cannot think of any.

I see your point but I'm afraid it's hard to implement. Are you aware of any other integrations that have implemented similar functionality?
What about a service that triggers a refresh? You could add a button to your lovelace UI that will trigger the service manually.

No unfortunately I’ve not seen anything like this.
But, regarding forcing a refresh, is there some service call I can make to multiscrape to make it scrape right now irrespective of the interval. That would be good enough for me!

It's not there yet but I'll add it when I have time. (or create a pull request)

First of all thanks for your work, your extension is just what I was looking for when I started integrating external data sources, this allows for much more efficient and customized scraping compared to what is offered by the internal scraper.
Slightly related to the request made above, I'd love to be able to reinitiate scraping at a specific point of time (midnight) as I'm using your multiscraper to pull weather forecast data from an external site and it would be nice to have the forecast for today and tomorrow updated at midnight. Right now it takes some time to update as I don't scrape as often as I would have to if I was using the internal scraper, which is really nice network-traffic-wise, but which creates a mismatch between the days and the info that is displayed.

Check out release 5.1.0!!

Looks Great. Will play around with it!

So I am just trying to set this up. What I seem to have got is one service called
multiscape.reload
and then a separate service for each of the pages I am scraping
multiscape.wu_dejvice
am I right to understand that the first service reload everything while the individual reload just that one page?
in any case, the documentation refers to a multiscape.trigger service which doesn’t seem to be there.

You are right, I made a mistake with the banking of the service. I'll release a fix soon.
Anyway, it's the 2nd service you are mentioning.

Fixed in v5.1.1

@yo-less Does the new service work for you? You should now be able to schedule a refresh at midnight through an automation!

Ok everything works. Thanks!
Does multiscape.reload just trigger every integration in sequence or does it do something else?

It's not related to triggering an update. It completely reloads everything including the configuration. It is used when you choose Multiscrape under Configuration -> Server Controls -> YAML configuration reloading.

@danieldotnl This is absolutely amazing, thanks man. I've been using it for two days to see if there are any issues, but it's working as intended. It's great that every multiscrape instance can be assigned a name so that it's really easy to understand which service to call. Running an automation at midnight now and it takes 2 seconds to update the weather info, so it's pretty neat and functional. Weird that something as useful as this wasn't included in the core files of Home Assistant, but I guess that's what custom integrations are for... Keep up the great work 👍


Please refactor the new Event OnAfterAssignFieldsForNo(...) in Table 39

One more parameter has to be Property=AsVar in
TAB39 OnAfterAssignFieldsForNo(...)
Problem:
•	Parameter “xRec” with the field Quantity is used to set Rec. Quantity on the Purchase Line
Quantity := xRec.Quantity;
It is the only way  to reach the Quantity on the Purchase Line.
Solution:
•	Parameter “xRec” must be changed to Property=AsVar
Delta file built on CTP17 W1:
TAB39.zip

Rec, the first parameter, is VAR and you can access the Quentity field there.

It is not possible to change the Quantity by Rec, it must be done by the xRec
The reason to this is the line marked on the screen dump
Quantity := xRec.Quantity;

It is not like that on Table 37, there it works fine with Rec.


Add support for ruby 2.7 to the 2.2 branch

Coverage decreased (-0.8%) to 97.029% when pulling 124376bf98222b51a5bbd8146cca997c1f3e9cba on boblail:add-support-for-ruby-2.7 into a68e57284567625b0c204688f3df7eb0fe10387c on moove-it:2.2-stable.

@boblail Do you still need this? Is there something that is blocking you from upgrading sidekiq-scheduler to v3?

@marcelolx, I don't think we need this anymore — we're able to upgrade to v3. Thanks!


localized calendar and tag template generation

How do I configure the blog extension to create calender overviews and tag pages not only for the default language, but also for all other ones?
At the moment I have the impression that this is a still missing feature.
I tried to set blog.calendar_template = "calendar.:lang.html" but :lang doesn't get resolved.

As a quick fix while new I18n extension is being developed you can add this in tag and calendar pages:
<% I18n.locale = articles.first.lang %>


Phone number validation

Valid phone number formats are being returned as invalid if they contain spaces.
I'm using the phonenumber validator and when a user enters 020 7946 0937 or 07700 900579 (example numbers used on the hackpad) it returns invalid.
I also noticed that the tests for ukmobilephone treat numbers with spaces as invalid. Is there a reason for this?
If not, I will add a PR to trim whitespace before running the regex.

IMHO we should be very allowing - and strip characters we don't need. So strip  , /, -, etc.
FYI this list of formats came up on slack the other week.

Running that list of numbers against the current validator returns this (numbers indicate a fail and show count):
        ✓ string<PHONE_NUMBER>6
        ✓ string +447700900456
        1) string (+44)<PHONE_NUMBER>6
        2) string 07700 900 456
        3) string 07700 900456
        4) string +447700 900456
        ✓ string<PHONE_NUMBER>3
        ✓ string +441144960573
        5) string +44114 4960573
        6) string 0114 4960573
        7) string 0114 496 0573
        8) string (0114) 496 0573
        9) string (0114) 4960573
        ✓ string<PHONE_NUMBER>0
        ✓ string +442079460000
        10) string<PHONE_NUMBER>0
        11) string 020 7946 0000
        ✓ string<PHONE_NUMBER>3
        ✓ string +441632960123
        12) string +441632 960123
        13) string 01632 960123
        14) string 01632 960 123
        15) string (01632) 960123
        16) string (01632) 960 123
        ✓ string<PHONE_NUMBER>
        ✓ string +44169772551
        17) string 0169 772551
        18) string 0169 772 551
        19) string (0169) 772551
        20) string (0169) 772 551

Wonder whether this should be used as part of the test case?

On passports we're applying formatters to phone number fields in the fields config. You'll want to start with removespaces (https://github.com/UKHomeOffice/passports-form-controller/blob/master/lib/formatting/formatters.js#L21).
Validating a phone number, accounting for brackets and dashes etc. could get quite complicated. Applying formatters simplifies this

@gavboulton ah, I see. I just tried this by adding a formatter to the field I'm validating. It does now pass the validation with spaces in the value but it actually changes the format before replaying on the page. So if they error on another field on that page it sends the formatted value but to the form and when replaying later on, like on a check your answers page, it displays the formatted value rather than the value they entered.
This goes against the guidance currently on the hackpad.
Is there a way to apply the formatter only to validate the input?

The formatters need to be applied before validation. I agree that it's a problem that the user input is changed. Later on, when replaying the value to the user, you have control as to how this value is displayed in the view.
The main problem we've seem with user input being changed is with dates. We currently have a custom controller that preserves the input values until all validation has passed. It seems like this type functionality needs adding in this module.

@gavboulton do you have a link to this controller somewhere? Curious to see if something similar could be used on our app.

It's behind closed doors at the moment but we do have a plan to open it soon.

@teneightfive Are you happy for me to close this now?


OpenML application to sktime

Reference Issues/PRs

Solution to Issue #2821. See also Issue #2777
What does this implement/fix? Explain your changes.

Demonstrate how OpenML's data format is incompatible with sktime.
TLDR:

In an OpenML dataset, each variable is in a column, each time point is a row, just like in a DataFrame.
Correction from daily stand-up: Not required to have target column but since OpenML does not support Pd.Series inside DataFrame => Need to turn time series into rolling-window format.
Because dataset has to be rolling window, adapters need to be made for .ts format, estimator, CV splitter and metrics
Still not sure how to make a 1:1 conversion of MultiIndex DataFrame to OpenML Dataset

Does your contribution introduce a new dependency? If yes, which one?

Yes, OpenML
What should a reviewer concentrate their feedback on?

Performance, design and viability of implementing OpenML in sktime
Any other comments?

PR checklist

For all contributions

[x] I've added myself to the list of contributors.
[ ] Optionally, I've updated sktime's CODEOWNERS to receive notifications about future changes to these files.
[x] I've added unit tests and made sure they pass locally.
[x] The PR title starts with either [ENH], [MNT], [DOC], or [BUG] indicating whether the PR topic is related to enhancement, maintenance, documentation, or bug.

For new estimators

[ ] I've added the estimator to the online documentation.
[ ] I've updated the existing example notebooks or provided a new one to showcase how my estimator works.

past experimental PR - moving to kotsu based implementation


newbie having trouble with restarting kernel

Problem Description
Dear advisors, i am totally new to python / spyder.
I am facing trouble to restart the kernel after changing the python interpreter from the default setting to a user selected file (where the additionally downloaded python3.9 is located).
The error code listed below keeps showing.
Could you please guide me as to how i may approach this error?
The python interpreter is changed as i wish to use pip that is within the folder.
Thank you.
Traceback (most recent call last):
File "C:\Users\Sehoon\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in run_module_as_main
return run_code(code, main_globals, None,
File "C:\Users\Sehoon\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Program Files\Spyder\pkgs\spyder_kernels\console_main.py", line 23, in
start.main()
File "C:\Program Files\Spyder\pkgs\spyder_kernels\console\start.py", line 253, in main
import_spydercustomize()
File "C:\Program Files\Spyder\pkgs\spyder_kernels\console\start.py", line 43, in import_spydercustomize
import spydercustomize
File "C:\Program Files\Spyder\pkgs\spyder_kernels\customize\spydercustomize.py", line 28, in
from spyder_kernels.comms.frontendcomm import CommError, frontend_request
File "C:\Program Files\Spyder\pkgs\spyder_kernels\comms\frontendcomm.py", line 17, in
from jupyter_client.localinterfaces import localhost
File "C:\Program Files\Spyder\pkgs\jupyter_client_init.py", line 4, in
from .connect import *
File "C:\Program Files\Spyder\pkgs\jupyter_client\connect.py", line 21, in
import zmq
File "C:\Program Files\Spyder\pkgs\zmq_init.py", line 125, in
from zmq import backend
File "C:\Program Files\Spyder\pkgs\zmq\backend_init_.py", line 32, in
raise original_error from None
File "C:\Program Files\Spyder\pkgs\zmq\backend_init_.py", line 27, in
ns = select_backend(first)
File "C:\Program Files\Spyder\pkgs\zmq\backend\select.py", line 32, in select_backend
mod = import_module(name)
File "C:\Users\Sehoon\AppData\Local\Programs\Python\Python39\lib\importlib_init.py", line 127, in import_module
return bootstrap.gcd_import(name[level:], package, level)
File "C:\Program Files\Spyder\pkgs\zmq\backend\cython_init.py", line 6, in
from . import (
ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (C:\Program Files\Spyder\pkgs\zmq\backend\cython_init.py)
What steps reproduce the problem?

restarting the kernel

What is the expected output? What do you see instead?
 How are you creating that python installation? Maybe out documentation could be useful here: https://github.com/spyder-ide/spyder/wiki/Working-with-packages-and-environments-in-Spyder#the-modular-approach
Let us know if the info above helps :)

They mentioned is a bug and they will fix it in few days in version 5.0.1 ?

Yes, it's a duplicate of issue #15091 and it'll be fixed in 5.0.1.


EAS Update in github actions

Build/Submit details page URL
https://expo.dev/accounts/h1-card/projects/h1-card-expenses
Summary
Project has managed workflow and connected to github actions. After every push to branch action works and make eas update.yml according docs https://docs.expo.dev/eas-update/github-actions/.
But after I made a simple commit build has failed and I did not figure out why, cause changes were only in JS code and did not touch any of configurations.

Should I check something like EXPO token or branches configurations? Thanks.
Managed or bare?
Managed
Environment
expo-env-info 1.0.5 environment info:
System:
OS: macOS 12.6
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.0 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.15.0 - /usr/local/bin/npm
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9014738
Xcode: 14.0/14A309 - /usr/bin/xcodebuild
npmPackages:
expo: ~46.0.7 => 46.0.15
react: 18.0.0 => 18.0.0
react-dom: 18.0.0 => 18.0.0
react-native: 0.69.5 => 0.69.5
react-native-web: ~0.18.7 => 0.18.9
npmGlobalPackages:
eas-cli: 2.1.0
Expo Workflow: managed
Expected package<EMAIL_ADDRESS>Found invalid:
<EMAIL_ADDRESS>(for more info, run: npm why expo-modules-autolinking)
Expected package<EMAIL_ADDRESS>Found invalid:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>(for more info, run: npm why @expo/config-plugins)
Expected package<EMAIL_ADDRESS>Found invalid:
<EMAIL_ADDRESS>(for more info, run: npm why @expo/prebuild-config)
Some dependencies are incompatible with the installed expo package version:

@sentry/react-native - expected version: 4.2.2 - actual version installed: 4.6.1
expo-dev-client - expected version: ~1.3.0 - actual version installed: 1.2.1
expo-firebase-analytics - expected version: ~7.2.0 - actual version installed: 7.1.1
react-native - expected version: 0.69.6 - actual version installed: 0.69.5
Your project may not work correctly until you install the correct versions of the packages.
To install the correct versions of these packages, please run: expo doctor --fix-dependencies,
or install individual packages by running expo install [package-name ...]

Error output
No response
Reproducible demo or steps to reproduce from a blank project
It relates to deploy.

Update: I have changed  eas-version from 'latest' to 2.1.0 in eqs-update.yml file
and github actions start working.


Support Graphics added to FeatureLayer

According to the Feature Layer JS docs, a Feature in ArcGIS JS is just a Graphic.

Add the ability to add and register Graphics as subcomponents of FeatureLayer
Alter add, remove, and update logic for graphics to make sure it handles feature layer graphics as well as GraphicLayer graphics and those placed directly on MapView.

While that's true, A Feature Layer represents a database table. So we wouldn't want to just "register" graphics as a subcomponent of a FeatureLayer. Would those Graphics being added go to the actual layer (database table)? We do want to support add/update/delete methods on these though so that you could programmatically get a Graphic, edit attributes, and then update the FeatureLayer.
Note that the edit tools are doing this already, but that's a UI component, I'm thinking more of a way to do this in code so that you could have a custom UI or some other custom process that is updating data.

This is for in-memory, or on-client rendering. Here is the exact section I was referring to, Add an array of client-side Features. I think the idea is that this is used in place of a url to a feature service. Since it's all client-side, I don't think a database is involved.

Ohh, I see! Okay, yeah, this would be nice to have b/c it is kind of simulating your own "database table" with a schema and stuff. This would be especially useful if we could construct a way to connect it directly with a set of c# objects. So I'm thinking that you create an ObservableCollection<T> (or something like that) and then that gets mapped directly to the FeatureLayer for you, and you don't need to do much other than add/remove/edit things on that collection and they are synced to the map.
I'm not sure this is a good idea yet, but worth discussion.


OPA - Create constraint name input field placeholder shows null

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):

Create a cluster, navigate to dashboard, enable gatekeeper.
Click Create a constraint.

Result:

Environment information

Rancher version:

master-head (05/20/2020) b85ea695f
2.4-head (05/20/2020) 8e20687a4 with CATTLE_DASHBOARD_INDEX=https://releases.rancher.com/dashboard/latest/index.html

Installation option (single install/HA): Single

Validated no longer displaying null in:

Rancher version master-head (05/27/2020) d9184e914
Rancher version v2.4-head (05/27/2020) aae934198

Checked both light and dark themes.


Add support for securing APIs using Mutual SSL

Description:
Currently API Manager provide support for securing APIs using OAuth2. Requirement of this feature is to provide support for securing APIs using mutual SSL
Suggested Labels:
New Feature, APIM 2.6.0
Suggested Assignees:
N/A
Affected Product Version: APIM 2.6.0
OS, DB, other environment details and versions:    N/A
Steps to reproduce: N/A
Related Issues: N/A

Please refer https://docs.google.com/document/d/1jCSQdwa1MJqNVwGkSSVUgdswu4lP1flRxCd1kXZbmjg/edit?usp=drive_web&ouid=110551225216137639380 for documentation

Please refer https://docs.google.com/document/d/1syUw22Re9wLbomyYfQAP-EI-UWl9FnBrCGLHJ0L54Kg/edit for userstories


import error: undefined symbol:  _gfortran_concat_string

Hello Davis, I am trying do face recognition using face_recognition module of Adam Geitgey which uses dlib library. I installed the face_recognition through pip and dlib using these commands:
cd dlib
mkdir build
cd build
cmake .. -DDLIB_USE_CUDA=1 -DUSE_AVX_INSTRUCTIONS=1
cmake --build .
cd ..
sudo python setup.py install --yes USE_AVX_INSTRUCTIONS --yes DLIB_USE_CUDA --no DLIB_USE_BLAS --no DLIB_USE_LAPACK

Here is the output of command:
running install
running bdist_egg
running egg_info
writing dlib.egg-info/PKG-INFO
writing top-level names to dlib.egg-info/top_level.txt
writing dependency_links to dlib.egg-info/dependency_links.txt
package init file 'dlib/__init__.py' not found (or not a regular file)
reading manifest file 'dlib.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'dlib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
Removing old directory /home/rohit/dlib/build/temp.linux-x86_64-2.7
Building extension for Python 2.7.12 (default, Dec  4 2017, 14:50:18)
Invoking CMake setup: 'cmake /home/rohit/dlib/tools/python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/rohit/dlib/build/lib.linux-x86_64-2.7 -DPYTHON_EXECUTABLE=/usr/bin/python -DDLIB_USE_BLAS=no -DDLIB_USE_LAPACK=no -DUSE_AVX_INSTRUCTIONS=yes -DDLIB_USE_CUDA=yes -DCMAKE_BUILD_TYPE=Release'
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.2.2
-- Using CMake version: 3.5.1
-- Compiling dlib version: 19.13.99
-- SSE4 instructions can be executed by the host processor.
-- AVX instructions can be executed by the host processor.
-- Enabling AVX instructions
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Looking for png_create_read_struct
-- Looking for png_create_read_struct - found
-- Looking for jpeg_read_header
-- Looking for jpeg_read_header - found
-- Searching for BLAS and LAPACK
-- Searching for BLAS and LAPACK
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cblas'
--   No package 'cblas' found
-- Checking for module 'lapack'
--   Found lapack, version 0.2.18
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Found OpenBLAS library
-- Looking for sgetrf_single
-- Looking for sgetrf_single - found
-- Using OpenBLAS's built in LAPACK
-- Looking for cblas_ddot
-- Looking for cblas_ddot - found
-- Looking for sgesv
-- Looking for sgesv - not found
-- Looking for sgesv_
-- Looking for sgesv_ - not found
-- Found CUDA: /usr/local/cuda (found suitable version "9.0", minimum required is "7.5")
-- Looking for cuDNN install...
-- Found cuDNN: /usr/local/cuda/lib64/libcudnn.so
-- Building a CUDA test project to see if your compiler is compatible with CUDA...
-- Checking if you have the right version of cuDNN installed.
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
-- Enabling CUDA support for dlib.  DLIB WILL USE CUDA
-- C++11 activated.
 I am using GTX 1080 with CUDA 9. While i ran my script for face recognition i stuck into this error:
Traceback (most recent call last):
  File "encode_faces.py", line 6, in <module>
    import face_recognition
  File "/usr/local/lib/python2.7/dist-packages/face_recognition/__init__.py", line 7, in <module>
    from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
  File "/usr/local/lib/python2.7/dist-packages/face_recognition/api.py", line 4, in <module>
    import dlib
ImportError: /usr/local/lib/python2.7/dist-packages/dlib.so: undefined symbol: _gfortran_concat_string

Can you suggest what i am doing wrong here?

Something is wrong with your OpenBLAS install.  How did you install OpenBLAS?

I install it python pip package.

I install it python pip package.

What did you type to install OpenBLAS. Post exactly what you type.

Sorry for the late reply. I had two versions installed which were causing the issue. I have resolved this now. Thanks for your cooperation. Closing this now.


[BEAM-4046] Allow running gradlew from repo subdirs (windows)

Adopts changes from https://github.com/apache/beam/pull/8656 also for windows batch wrapper.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @udim


Timeout configuration for Goutte client

It's not currently possible to configure a timeout for the Guzzle client which is used to make HTTP requests when spidering a site. Without a default, Guzzle defaults to 0 timeout – i.e. it'll wait indefinitely until a response is received. (Which arguably isn't a sensible default anyway.)
I'm trying to spider a site which contains a link to a dead server. Requests to the URL never timeout, meaning the spider process gets stuck on this URL and never proceeds.
The timeout is configured when constructing a new Guzzle client, which is currently done in Arachnid\Crawler::getScrapClient():
protected function getScrapClient()
{
    $client = new GoutteClient();
    $client->followRedirects();

    $guzzleClient = new \GuzzleHttp\Client(array(
        'curl' => array(
            CURLOPT_SSL_VERIFYHOST => false,
            CURLOPT_SSL_VERIFYPEER => false,
        ),
    ));
    $client->setClient($guzzleClient);

    return $client;
}

It would be really helpful if a timeout was configured here. To do that, all we need to do is change the configuration array which is passed to the Guzzle client constructor method:
$guzzleClient = new \GuzzleHttp\Client(array(
    'curl' => array(
        CURLOPT_SSL_VERIFYHOST => false,
        CURLOPT_SSL_VERIFYPEER => false,
    ),
    'timeout' => 30,
    'connect_timeout' => 30,
));

I think a sensible default would be a 30 second timeout, but it would be great to have that configurable. That could either be an additional parameter in the constructor method, or alternatively an object property which can be changed.
In fact – it might make sense to allow us to add anything to the Guzzle constructor configuration. Perhaps again by means of a class property or constructor parameter whereby we can pass in an array of configuration options. This could be useful when configuring other client options, for example HTTP authentication:
$crawler = new Crawler($url, 3, array(
    'timeout' => 5,
    'connect_timeout' => 5,
    'auth' => array('username', 'password'),
));

Thoughts? I'd be happy to put together a PR for this, provided we can get some agreement on how this should be configured (class constructor, public property, static property, getter/setter, etc.)

Hello @ollietreend
sorry for being late in reply,
I think your suggestion is really useful, and I prefer that it is implemented either as optional parameter passed to constructor or as setter method, something like setCrawlerOptions(array $options)
please feel free to put a PR for this..

Hello @ollietreend
the capability to pass options  to guzzle client is now added,
As you suggested, this can be done by passing options as third parameter to constructor or by using setCrawlerOptions method
<?php
//third parameter is the options used to configure guzzle client
$crawler = new \Arachnid\Crawler('http://github.com',2,
                         ['auth'=>array('username', 'password')]);

//or using separate method `setCrawlerOptions`
$options = array(
    'curl' => array(
        CURLOPT_SSL_VERIFYHOST => false,
        CURLOPT_SSL_VERIFYPEER => false,
    ),
    'timeout' => 30,
    'connect_timeout' => 30,
);

$crawler->setCrawlerOptions($options);

Does this config now look like this, as there's no setCrawlerOptions method ?

//or using separate method `setCrawlerOptions`
$options = array(
    'curl' => array(
        CURLOPT_SSL_VERIFYHOST => false,
        CURLOPT_SSL_VERIFYPEER => false,
    ),
    'timeout' => 30,
    'connect_timeout' => 30,
);

$crawler = new Crawler($url, $linkDepth, $options);

I have performed a major change on the package in order to allow two types of scrapper; one is the usual Goutte client and the other is headless browser mode - based on Symfony Panther that supports javascript rendering;
that's why settings CrawlerOptions is now different according to each adapter


Add APEX port forwarding

Addresses issue #82
Signed-off-by: Gerald Venzl<EMAIL_ADDRESS>

See my comment in #82 ...

Closing in favor of the upcoming APEX vagrant box.


”Zăbala” is listed in the drop-down menu

Description:
"Zăbala" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Zăbala" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Zăbala, COVASNA".


Add More Loss Functions in Shifu NN

Current NN in Shifu only support loss function is RMS, LogLoss should also be supported. Others like absolute loss can be investigated

https://github.com/encog/encog-java-core/blob/master/src/main/java/org/encog/neural/error/CrossEntropyErrorFunction.java
https://github.com/encog/encog-java-core/blob/master/src/main/java/org/encog/mathutil/error/ErrorCalculation.java

add new Loss in train#params for Neural Network support, by default it is ‘squared’， ‘log’ and 'absolute' can also be evaluated. In NN, log and squared loss have been tested.

Updating doc please


customCodeCops for BusinessCentral.LinterCop does not seem to work

I have added the setting customCodeCops to my AL-Go-Settings.json:
  "customCodeCops": [
    "https://github.com/StefanMaron/BusinessCentral.LinterCop/releases/download/v0.30.0/BusinessCentral.LinterCop.current.dll"
  ],

(similar to Stefan Maron is using here)
On a seperate branch, I've removed a caption from an action, so the BCLinterCop givess the warning.

If I commit this and create a PR, the pipeline triggers.
But it doesn't seem to use the BCLinterCop.
  .\alc.exe /project:"c:\sources\App" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\ESC bv_Calculation_21.0.2147483647.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /ruleset:c:\shared\.github\.vscode\module.ruleset.json /enableexternalrulesets /SourceRepositoryUrl:"https://github.com/ESCbv/TestALGOAppSource2" /SourceCommit:"709c6ede636df90d80624c325e73a840e1d25ca9" /BuildBy:"AL-Go for GitHub,v4.0" /BuildUrl:"https://github.com/ESCbv/TestALGOAppSource2/actions/runs/6625078712" /assemblyprobingpaths:"C:\Program Files\dotnet\shared","C:\ProgramData\BcContainerHelper\Extensions\bcCalculation6625078712\.netPackages\Service"
Other warnings are given
  Warning: AL0749 The type 'CalculationHeader' of the parameter 'Calculation Header ESCA' of the public method 'RecalculateCalculationPrices' has 'Internal' accessibility. The method will not be callable outside of this module without an implicit conversion.
  Warning: AL0603 An implicit conversion is being performed from a value of type 'Enum Microsoft.Foundation.Enums."Unit Cost Calculation Type"' to a value of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
  c:\sources\App\src\codeunit\CalculationEventMgt.codeunit.al(146,9): info AA0210: The table Calculation Line ESCA does not contain a key with the field Status.

What am I missing to make customCodeCops work?
Thanks in advance.

Your setting looks correct.
If you include the full log, I will be be able to see whether this is because the setting isn't read and which version you are running etc. etc.

Sorry for the delay.
The full logs:
logs_44 (1).zip

I'm experiencing the same problem. Here's my log, starting from the beginning of the Run Pipeline step, and ending after listing the parameters.
As you can see, I've provided a URL for the customCodeCop property, but when listing the parameters, the array is empty. There's no log about whether the download succeeded, or was even attempted.

Is there any progress with this? We're starting to have problems with checks that succeed when they should fail.

We have been caught up with BC 24 issues, so unfortunately nothing yet.

@freddydk any timeline on this? It's a bit annoying our custom codecops are not executed.

The reson for this is, that despite the documentation saying so, CustomCodeCops cannot be a URL today.
The fix for this is in BcContainerHelper and in a PR here: https://github.com/microsoft/navcontainerhelper/pull/3488
When that has merged, you would need to add "vsixFile": "latest" to your settings file as well as the Lintercop from @StefanMaron requires the latest AL Language Exrension.
You can see a test run with the Lintercop here: https://github.com/BusinessCentralApps/buildorder/actions/runs/8679462223


Add country name along with the currency.

There should be a country name along with the currency name. This will be very useful to the users.

Hi @gambhirsharma, sure it would be great but the current API doesn't provide country names along with current name. If you can help in finding a good API which provides this feature, please contribute to the project as open-source buddy. 😊

Added currency name #2
Exchange Rate API do provide the Country name along with the currency code but that's in their paid plan.
I used Intl constructor to convert the currency code to the currency name.


Best way to get the Mongo _ID

What is the best way to use the Mongo _ID. I am building a shopping cart and PayPal checkout experience for my client.  And I would like to assign the Mongo ID as a data attribute so I can pull that data into the check out or  shopping card view of the process.  I would fetch the details for the product upon rendering the shopping cart this way I only have to pass around the I'd rather than the full product

The _id property is available on all snippets, pages, etc. in Apostrophe.
Maybe you should clarify exactly what kind of object you're asking about.
On Fri, Dec 11, 2015 at 12:41 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

What is the best way to use the Mongo _ID. I am building a shopping cart
and PayPal checkout experience for my client. And I would like to assign
the Mongo ID as a data attribute so I can pull that data into the check out
or shopping card view of the process. I would fetch the details for the
product upon rendering the shopping cart this way I only have to pass
around the I'd rather than the full product
—
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/393.

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

That's great.  I probably went over boarding with the explanation.  I
suppose the general question is how do I access it from within the
template.
On Fri, Dec 11, 2015, 11:53 AM Tom Boutell<EMAIL_ADDRESS>wrote:

The _id property is available on all snippets, pages, etc. in Apostrophe.
Maybe you should clarify exactly what kind of object you're asking about.
On Fri, Dec 11, 2015 at 12:41 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

What is the best way to use the Mongo _ID. I am building a shopping cart
and PayPal checkout experience for my client. And I would like to assign
the Mongo ID as a data attribute so I can pull that data into the check
out
or shopping card view of the process. I would fetch the details for the
product upon rendering the shopping cart this way I only have to pass
around the I'd rather than the full product
—
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/393.

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER> | punkave.com
—
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/393#issuecomment-164016717.

._id
(:
On Fri, Dec 11, 2015 at 2:38 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

That's great. I probably went over boarding with the explanation. I
suppose the general question is how do I access it from within the
template.
On Fri, Dec 11, 2015, 11:53 AM Tom Boutell<EMAIL_ADDRESS>wrote:

The _id property is available on all snippets, pages, etc. in Apostrophe.
Maybe you should clarify exactly what kind of object you're asking about.
On Fri, Dec 11, 2015 at 12:41 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

What is the best way to use the Mongo _ID. I am building a shopping
cart
and PayPal checkout experience for my client. And I would like to
assign
the Mongo ID as a data attribute so I can pull that data into the check
out
or shopping card view of the process. I would fetch the details for the
product upon rendering the shopping cart this way I only have to pass
around the I'd rather than the full product
—
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/393.

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER> | punkave.com
—
Reply to this email directly or view it on GitHub
<https://github.com/punkave/apostrophe/issues/393#issuecomment-164016717
.

—
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/393#issuecomment-164029996.

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

(That is, if the object in question is "page", it's "page._id")
On Fri, Dec 11, 2015 at 3:00 PM, Tom Boutell<EMAIL_ADDRESS>wrote:

._id
(:
On Fri, Dec 11, 2015 at 2:38 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

That's great. I probably went over boarding with the explanation. I
suppose the general question is how do I access it from within the
template.
On Fri, Dec 11, 2015, 11:53 AM Tom Boutell<EMAIL_ADDRESS>wrote:

The _id property is available on all snippets, pages, etc. in
Apostrophe.
Maybe you should clarify exactly what kind of object you're asking
about.
On Fri, Dec 11, 2015 at 12:41 PM, Ryan Watts<EMAIL_ADDRESS>wrote:

What is the best way to use the Mongo _ID. I am building a shopping
cart
and PayPal checkout experience for my client. And I would like to
assign
the Mongo ID as a data attribute so I can pull that data into the
check
out
or shopping card view of the process. I would fetch the details for
the
product upon rendering the shopping cart this way I only have to pass
around the I'd rather than the full product
—
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/393.

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER> | punkave.com
—
Reply to this email directly or view it on GitHub
<
https://github.com/punkave/apostrophe/issues/393#issuecomment-164016717>.

—
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/393#issuecomment-164029996
.

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

Ah , Thank you for the insight.
Have you or anyone within the community managed to build shopping cart like functionality within Apostrophe ?

Not in A2 I think. Not that it's terribly difficult to integrate Paypal, Braintree, etc.


Add horizon kuttl commands

Change-Id: I262fecaf8d0db8d348bffa6cfa4ab7e3f9cf8eec

recheck

@abays anything else we need prior to merging this PR?

@abays anything else we need prior to merging this PR?

We can deal with the "wait for operator controller-manager pod to be ready" issue elsewhere I suppose.  This PR doesn't cause it anyhow, it just makes it possible to notice.  I'm in the process of standardizing the operators' controller-manager pods' labeling such that we can use make wait in the near future in these KUTTL contexts to ensure operator availability before continuing with the tests.
/lgtm


Injecting a service into a Component using TestBed.overrideComponent no longer works

Bug Report or Feature Request (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.4.4
node: 6.10.0
os: win32 x64
@angular/animations: 4.4.4
@angular/cdk: 2.0.0-beta.11
@angular/common: 4.4.4
@angular/compiler: 4.4.4
@angular/core: 4.4.4
@angular/forms: 4.4.4
@angular/http: 4.4.4
@angular/material: 2.0.0-beta.11
@angular/platform-browser: 4.4.4
@angular/platform-browser-dynamic: 4.4.4
@angular/router: 4.4.4
@angular/cli: 1.4.4
@angular/compiler-cli: 4.4.4
@angular/language-service: 4.4.4
typescript: 2.3.4
Repro steps.

I am injecting a service into a component using the @Component annotation / providers property:
@Component({
    providers: HelloWorldService
})
export class HelloWorldComponent {
    constructor(private helloWorldService: HelloWorldService) {}
}

After updating to<EMAIL_ADDRESS>using the TestBed's overrideComponent function to provide the service throws an error:
Error: No provider for HelloWorldService!
TestBed.configureTestingModule({
    declarations: [
        HelloWorldComponent
    ]
}).overrideComponent(HelloWorldComponent, {
    set: {
        providers: [
            { provide: HelloWorldService, useFactory: helloWorldService => new HelloWorldService(null) }
        ]
    }
}).compileComponents().then(() => {
    // ...
});

Providing the service using the configureTestingModule function also throws an error:
TestBed.configureTestingModule({
    declarations: [
        HelloWorldComponent
    ],
    providers: [
        { provide: HelloWorldService, useFactory: helloWorldService => new HelloWorldService(null) }
    ]
}).compileComponents().then(() => {
    // ...
});

No provider for Http!
I can only get the component to compile if I provide the service in both the configureTestingModule function and the overrideComponent function.
The log given by the failure.

Desired functionality.

Mention any other details that might be useful.

@chris-jones-pixitmedia,
This looks to be an issue with the way you are testing, not the CLI.

This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.

That said, try this:
beforeEach(async(() => {
  TestBed
    .configureTestingModule({
      providers: [
        { provide: HelloWorldService, useValue: new HelloWorldService(null) }
      ],
      declarations: [HelloWorldComponent],
    })
    .compileComponents();
}));

I'm using the approach suggested in the official documentation:
https://angular.io/guide/testing
The code worked until I updated the CLI.
Your code results in the following error:
'No provider for Http!'

Without seeing the full stack trace, I would bet your HelloWorldService spec is not set up properly. It needs, since it depends on, HttpClient to be injected.
import { HttpClientTestingModule } from '@angular/common/http/testing';

beforeEach(() => {
  TestBed.configureTestingModule({
    imports: [HttpClientTestingModule],
    providers: [HelloWorldService]
  });
});

Hi Stephen,
Thanks for your response. So, I have managed to get this working, but the changes I've had to make don't seem right to me.
I have a component with a dependency on a service, which in turn has a dependency on Http.
You used to be able to do this:
providers: [
    { provide: HelloWorldService, useFactory: helloWorldService => new HelloWorldService(null) }
]

Where you pass null or undefined to the constructor instead of Http, then spy on or stub the service's functions.
With the latest version of the CLI, this now throws a 'No provider for Http!' error. In order to compile the component, you have to explicitly define the provider for Http:
providers: [
    { provide: Http, useValue: undefined }.
    HelloWorldService
]

Even if you use a test double / mock class with no dependencies instead of the service, you still have to explicitly define the provider for Http:
providers: [
    { provide: Http, useValue: undefined }.
    { provide: HelloWorldService, useClass: HelloWorldServiceMock }
]

Is that right?

I would need to see a repo because I am getting 0 errors when I run ng test with https://github.com/delasteve/angular-cli-7977.
Also note, I changed HttpClient to Http in my last post. Slight oversight on the http you were using.

Hi Steve,
Thanks for your response. I appreciate you spending so much time on this!
I've checked out your repo and the tests do indeed pass, but if you try and render your HelloWorldComponent (e.g. by adding  to app.component.html), an error is thrown (Error: No provider for HelloWorldService!) as the service isn't being provided to the component.
If you provide the service to the component:
@Component({
  selector: 'app-hello-world',
  templateUrl: './hello-world.component.html',
  styleUrls: ['./hello-world.component.css'],
  providers: [HelloWorldService]
})
export class HelloWorldComponent implements OnInit {

  constructor(
    private service: HelloWorldService
  ) { }

  ngOnInit() {
  }

}

The tests fail with 'No provider for Http!'.
I've created a repo to demonstrate: https://github.com/chris-jones-pixitmedia/angular-cli-7977

Providers ideally should be provided at the NgModule level, not the individual component level. Again, ideally. Should you however provide it on the component, here's the passing code to make it work:
  beforeEach(async(() => {
    TestBed
      .configureTestingModule({
        declarations: [HelloWorldComponent]
      })
      .overrideComponent(HelloWorldComponent, {
        set: {
          providers: [
            { provide: HelloWorldService, useValue: new HelloWorldService(null) }
          ]
        }
      })
      .compileComponents();
  }));

But if you use the NgModule way (edited for brevity):
app.module.ts
@NgModule({
...
  providers: [
    HelloWorldService
  ],
...
})
export class AppModule { }

hello-world.component.ts
@Component({
  selector: 'app-hello-world',
  templateUrl: './hello-world.component.html',
  styleUrls: ['./hello-world.component.css']
})
export class HelloWorldComponent implements OnInit {

hello-world.component.spec.ts
TestBed
  .configureTestingModule({
    providers: [
      { provide: HelloWorldService, useValue: new HelloWorldService(null) }
    ],
    declarations: [HelloWorldComponent]
  })
  .compileComponents();

I made a couple PRs to show you all the code changes. Both have all tests passing, while using HelloWorldComponent in app.component.ts.
https://github.com/delasteve/angular-cli-7977/pull/1/files
https://github.com/delasteve/angular-cli-7977/pull/2/files
NOTE: the usage of app-hello-world in app.component.ts has absolutely nothing to do with the problem you were having. You would have seen this error if you just changed hello-world.component.ts's providers. Angular's TestBed makes testing localized to that component (or directive, service, etc). The TestBed was simply setup using a different configuration than the one expected.

Hi Steve,
Yeah, I get what your saying about overriding the provider at the component level using the overrideComponent function:
  beforeEach(async(() => {
    TestBed
      .configureTestingModule({
        declarations: [HelloWorldComponent]
      })
      .overrideComponent(HelloWorldComponent, {
        set: {
          providers: [
            { provide: HelloWorldService, useValue: new HelloWorldService(null) }
          ]
        }
      })
      .compileComponents();
  }));

That's how my code was written originally. The tests compile, but try getting a reference to the injected service once you've compiled the component:
  beforeEach(async(() => {
    TestBed
      .configureTestingModule({
        declarations: [HelloWorldComponent]
      })
      .overrideComponent(HelloWorldComponent, {
        set: {
          providers: [
            { provide: HelloWorldService, useFactory: () => new HelloWorldService(null) }
          ]
        }
      })
      .compileComponents().then(() => {
        const testBed: TestBed = getTestBed();
        // Throws an error: 'No provider for HelloWorldService!'
        const injectedService = testBed.get(HelloWorldService);
      });
  }));

i've updated the repo to demonstrate: https://github.com/chris-jones-pixitmedia/angular-cli-7977

The TestBed only knows about it's providers. The component has it's own injector as well. If you were to use the component way of providing your service, use the following:
.then(() => {
  const componentFixture = TestBed.createComponent(HelloWorldComponent);
  const service = componentFixture.componentRef.injector.get(HelloWorldService);
});

Thanks Steve, my tests are passing now.
Is that a recent change? You were able to reference component providers from the test bed up until recently.

There are actually two injectors in play. The TestBed injector (acting like NgModule's injector) and the component's injector. TestBed.get() uses the providers array in configureTestingModule while the componentRef.injector is using the component's injector which uses the component level providers, which is overrode by the set in overrideComponent.

Closing this as fixed.


SchemaError raised in WritingSession.start doesn't close GDAL handle

Following discussion in #596.
If a SchemaError is raised in WritingSession.start the GDAL file handle (cogr_ds and cogr_layer) aren't closed gracefully. This means, at least on Windows, the files can't be deleted until the Python process exits.

Fixed!


Moving to a read-only fileaystem

Hi,
I am rewiring my rock64 running the latest ayufan 4.4-190 loosely following this guide https://www.domoticz.com/wiki/Setting_up_overlayFS_on_Raspberry_Pi
I am quite confused by the boot partition bit. Under /boot there is an /boot/extlinux and a /boot/efi/extlinux partition. /etc/fstab mounts label=BOOT to /boot/efi.
What do I change to mount /boot as to? /boot/efi/extlinux/extlinux.cmd or /boot/extlinux/extlinux.cmd or neither of them as I see /etc/default/extlinux is supposed to be updated so it survives upgrades? However there is only an APPEND option there, so I presume I cannot change the "rw" to "to".
Any help would be appreciated
I have the boot partition on the emmc, this is what fdisk says:
root@rock64:~# fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes

Disk /dev/mtdblock0: 4 MiB, 4128768 bytes, 8064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mmcblk0: 14.5 GiB,<PHONE_NUMBER>0 bytes, 30310400 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: C989EB79-6CD9-43DA-9AB4-9E11956FD426

Device          Start     End Sectors  Size Type
/dev/mmcblk0p1     64    8063    8000  3.9M Linux filesystem
/dev/mmcblk0p2   8064    8191     128   64K Linux filesystem
/dev/mmcblk0p3   8192   16383    8192    4M Linux filesystem
/dev/mmcblk0p4  16384   24575    8192    4M Linux filesystem
/dev/mmcblk0p5  24576   32767    8192    4M Linux filesystem
/dev/mmcblk0p6  32768  262143  229376  112M Microsoft basic data
/dev/mmcblk0p7<PHONE_NUMBER>111 3923968  1.9G Linux filesystem

Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

We do not use /boot anymore. It is a legacy thing that should go away.
You can force ro by:

edit /etc/default/extlinux and append ro
run update-extlinux.sh,
you could modify /etc/fstab to setup overlay if needed,
reboot

Thanks ayufan, I tried that before but now the extlinux options include both "rw" and "ro", I will have to check when I'm home and reboot which of the flags take precedence or whether the system refuses to boot at all.
If you are saying /boot is not used anymore, should just remove the whole line "LABEL=boot      /boot/efi       vfat..." from /etc/fstab?

Thanks ayufan, works now (in ro). Didn't solve my instability issues but this issue is resolved.


Deploy Sentinel dVPN

Deployment of the Sentinel dVPN node on Akash.
It's not a validator node, it's a dVPN backend node with v2RAY technology support.

Need to update the README.md in the source of the repo.

Add webtop deploy


Update Agents in Deployment Groups

Hello,
There is a built-in option to update the Agents in Agent Pools automatically or via REST call individually.
How can we proceed same functionality for the Agents in Deployment Groups?
Is there any way to trigger the Agent to update itself from a Release Pipeline or via REST call?
Using log4j series 1.x in TEE plugin to access TFVC resources on Linux Agents give priority to this case.
Since the TEE plugin is no longer maintained and contains some out-of-date Java dependencies, starting from Agent 2.198.0 it's no longer included in the agent distribution. However, the TEE plugin will be downloaded during checkout task execution if you're checking out a TFVC repo. The TEE plugin will be removed after the job execution. Microsoft
Thanks a lot!
Regards,
Gabor

Hey, @iambernics you can use the Updates Targets option to force an update of agents in the deployment group (doc).

@iambernics Do you have any additional questions regarding agents' updates in deployment groups?

@iambernics I am closing this ticket, for now, feel free to ping me in case of any future questions.


Unable to build mmh3 on macOS Mojave

OS X Version: 10.14.2
$ pip install mmh3
Collecting mmh3
  Using cached https://files.pythonhosted.org/packages/fa/7e/3ddcab0a9fcea034212c02eb411433db9330e34d626360b97333368b4052/mmh3-2.5.1.tar.gz
Building wheels for collected packages: mmh3
  Running setup.py bdist_wheel for mmh3 ... error
  Complete output from command /Users/pranjal/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/jd/r4rs3fq51qv90t08ljqpkkhc0000gp/T/pip-install-qi111dnd/mmh3/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /private/var/folders/jd/r4rs3fq51qv90t08ljqpkkhc0000gp/T/pip-wheel-7q_m8vvr --python-tag cp36:
  running bdist_wheel
  running build
  running build_ext
  building 'mmh3' extension
  creating build
  creating build/temp.macosx-10.7-x86_64-3.6
  gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Qunused-arguments -Qunused-arguments -I/Users/pranjal/anaconda3/include/python3.6m -c mmh3module.cpp -o build/temp.macosx-10.7-x86_64-3.6/mmh3module.o
  warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
  1 warning generated.
  gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Qunused-arguments -Qunused-arguments -I/Users/pranjal/anaconda3/include/python3.6m -c MurmurHash3.cpp -o build/temp.macosx-10.7-x86_64-3.6/MurmurHash3.o
  warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
  1 warning generated.
  creating build/lib.macosx-10.7-x86_64-3.6
  g++ -bundle -undefined dynamic_lookup -L/Users/pranjal/anaconda3/lib -arch x86_64 -L/Users/pranjal/anaconda3/lib -arch x86_64 -Qunused-arguments -Qunused-arguments -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/mmh3module.o build/temp.macosx-10.7-x86_64-3.6/MurmurHash3.o -o build/lib.macosx-10.7-x86_64-3.6/mmh3.cpython-36m-darwin.so
  clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
  ld: library not found for -lstdc++
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  error: command 'g++' failed with exit status 1

  ----------------------------------------
  Failed building wheel for mmh3
  Running setup.py clean for mmh3
Failed to build mmh3
Installing collected packages: mmh3
  Running setup.py install for mmh3 ... error
    Complete output from command /Users/pranjal/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/jd/r4rs3fq51qv90t08ljqpkkhc0000gp/T/pip-install-qi111dnd/mmh3/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/jd/r4rs3fq51qv90t08ljqpkkhc0000gp/T/pip-record-38bwkbu3/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_ext
    building 'mmh3' extension
    creating build
    creating build/temp.macosx-10.7-x86_64-3.6
    gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Qunused-arguments -Qunused-arguments -I/Users/pranjal/anaconda3/include/python3.6m -c mmh3module.cpp -o build/temp.macosx-10.7-x86_64-3.6/mmh3module.o
    warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    1 warning generated.
    gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Qunused-arguments -Qunused-arguments -I/Users/pranjal/anaconda3/include/python3.6m -c MurmurHash3.cpp -o build/temp.macosx-10.7-x86_64-3.6/MurmurHash3.o
    warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
    1 warning generated.
    creating build/lib.macosx-10.7-x86_64-3.6
    g++ -bundle -undefined dynamic_lookup -L/Users/pranjal/anaconda3/lib -arch x86_64 -L/Users/pranjal/anaconda3/lib -arch x86_64 -Qunused-arguments -Qunused-arguments -arch x86_64 build/temp.macosx-10.7-x86_64-3.6/mmh3module.o build/temp.macosx-10.7-x86_64-3.6/MurmurHash3.o -o build/lib.macosx-10.7-x86_64-3.6/mmh3.cpython-36m-darwin.so
    clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
    ld: library not found for -lstdc++
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    error: command 'g++' failed with exit status 1

    ----------------------------------------
Command "/Users/pranjal/anaconda3/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/jd/r4rs3fq51qv90t08ljqpkkhc0000gp/T/pip-install-qi111dnd/mmh3/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /private/var/folders/jd/r4rs3fq51qv90t08ljqpkkhc0000gp/T/pip-record-38bwkbu3/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/jd/r4rs3fq51qv90t08ljqpkkhc0000gp/T/pip-install-qi111dnd/mmh3/

Has anyone had any progress or idea where to resolve this issue?
warning: include path for stdlibc++ headers not found
pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]

The above seems to be the pinch point - but I am unfamiliar with building packages completely in Python - so I don't know where to look to find it to implement a fix. Any success or notes?
@hajimes Any tips?

@wotarpelo Sorry about this, we hit exactly this problem in our libraries as well. You can see how we've solved this here: https://github.com/explosion/thinc/blob/master/setup.py . Care needs to be taken to detect the new OSX versions, because otherwise we break our wheel building automation, which has to run on old OSX versions...Misery.
You should be able to work around the installation issue you're having in Prodigy (which I think is what uses mmh3) by cloning the mmh3 library, and applying the patch to the setup.py using the logic in Thinc's setup.py. This will let you build an sdist or wheel of mmh3. You can then pip install, so that the dependency is satisfied before you install Prodigy.

Just opened a PR: https://github.com/hajimes/mmh3/pull/22
You should be able to do:
git clone https://github.com/honnibal/mmh3
cd mmh3
python setup.py sdist

This should create an installable sdist for you. I don't have access to a new OSX install, so would be great to get an update on whether this works.

@honnibal Thanks very much for your help here. I've been able to build and since install all the packages with that edit implemented, however I noted on the PR there's an error thrown because of a missing import statement for sys, which you call in your regexy OS version checking (sys.platform)
Didn't want to bother creating another PR from your fork for 4 characters of code, so once that is committed that will be that, as that change I did locally had it all up and running.
(Now I just need to figure out the whole NLP thing and how to teach it to economists...)

Thanks, updated the PR.

Thanks @honnibal , I’m not sure why the PR: 22 is still open. This issue is not just limited to MacOS higher versions like Mojave, and pops up on CentOS and other distributions too. Your fix works like charm 💯

also wondering why the PR is still open -- the fork worked well, but it took me a good hour of hunting and trying all sorts of other upgrades and fix before i landed here... there are a number of other libraries using this one... and so when it fails to install, they all do..  thanks much to @honnibal for removing the immediate problem.

Was having this issue as well. Since the original library maintainer seems to no longer support the project, I don't expect this to be merged. I was able to fix the problem in our setup.py by changing
requirements = [
# ...
    , 'mmh3>=2.3'
# ...
]

to
requirements = [
# ...
    ,  "mmh3 @ git+ssh://git@github.com/honnibal/mmh3.git@8f68a372b13b1c72da4e6a14beb559f21f5f541e",
# ...
]

Hello, I'm also having trouble installing mmh3 on macOS Mojave. The error I'm seeing is pasted below. Can someone please outline the steps I need to take to bypass this problem? I'm having trouble following the comment thread above.
`pip install mmh3
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting mmh3
Using cached https://files.pythonhosted.org/packages/fa/7e/3ddcab0a9fcea034212c02eb411433db9330e34d626360b97333368b4052/mmh3-2.5.1.tar.gz
Building wheels for collected packages: mmh3
Building wheel for mmh3 (setup.py) ... error
ERROR: Complete output from command /anaconda2/bin/python -u -c 'import setuptools, tokenize;file='"'"'/private/var/folders/55/7f9jh2q15z787ctsr2q8ys_c0000gn/T/pip-install-MNroww/mmh3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/55/7f9jh2q15z787ctsr2q8ys_c0000gn/T/pip-wheel-j0WiBM --python-tag cp27:
ERROR: running bdist_wheel
running build
running build_ext
building 'mmh3' extension
creating build
creating build/temp.macosx-10.6-x86_64-2.7
llvm-gcc-4.2 -fno-strict-aliasing -I/anaconda2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda2/include/python2.7 -c mmh3module.cpp -o build/temp.macosx-10.6-x86_64-2.7/mmh3module.o
unable to execute 'llvm-gcc-4.2': No such file or directory
error: command 'llvm-gcc-4.2' failed with exit status 1
ERROR: Failed building wheel for mmh3
Running setup.py clean for mmh3
Failed to build mmh3
Installing collected packages: mmh3
Running setup.py install for mmh3 ... error
ERROR: Complete output from command /anaconda2/bin/python -u -c 'import setuptools, tokenize;file='"'"'/private/var/folders/55/7f9jh2q15z787ctsr2q8ys_c0000gn/T/pip-install-MNroww/mmh3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/55/7f9jh2q15z787ctsr2q8ys_c0000gn/T/pip-record-dsFWVd/install-record.txt --single-version-externally-managed --compile:
ERROR: running install
running build
running build_ext
building 'mmh3' extension
creating build
creating build/temp.macosx-10.6-x86_64-2.7
llvm-gcc-4.2 -fno-strict-aliasing -I/anaconda2/include -arch x86_64 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/anaconda2/include/python2.7 -c mmh3module.cpp -o build/temp.macosx-10.6-x86_64-2.7/mmh3module.o
unable to execute 'llvm-gcc-4.2': No such file or directory
error: command 'llvm-gcc-4.2' failed with exit status 1
----------------------------------------
ERROR: Command "/anaconda2/bin/python -u -c 'import setuptools, tokenize;file='"'"'/private/var/folders/55/7f9jh2q15z787ctsr2q8ys_c0000gn/T/pip-install-MNroww/mmh3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/55/7f9jh2q15z787ctsr2q8ys_c0000gn/T/pip-record-dsFWVd/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/55/7f9jh2q15z787ctsr2q8ys_c0000gn/T/pip-install-MNroww/mmh3/`

My apologies for lazy maintenance and causing inconvenience to you.
I express my gratitude to those who reported and/or tried to solve the issue, especially to @honnibal, who located the cause of the issue and offered a concrete commit.
Finally I updated mmh3 to solve the issue and will restart to maintain the library. Though recent advances in non-cryptographic hash functions saw faster/collision-less alternatives like XXH3, I hope mmh3 is still useful as @aappleby's MurmurHash3 is a now-classical, widely used algorithm and enhances interoperability across different platforms (for instance, Shodan provides MurmurHash3 values for favicons).


Update OpenShift Pipelines to latest version

Tests.Ods Dashboard.Data Science Pipelines.Data-Science-Pipelines-... | PASS |
1 test, 1 passed, 0 failed
==============================================================================
Tests.Ods Dashboard.Data Science Pipelines                            | PASS |
1 test, 1 passed, 0 failed
==============================================================================
Tests.Ods Dashboard                                                   | PASS |
1 test, 1 passed, 0 failed
==============================================================================
Tests                                                                 | PASS |
1 test, 1 passed, 0 failed
==============================================================================
Output:  /home/dlovison/github/rhods/ods-ci/ods_ci/test-output/ods-ci-2023-10-16-12-36-vbGMaVNjl6/output.xml
XUnit:   /home/dlovison/github/rhods/ods-ci/ods_ci/test-output/ods-ci-2023-10-16-12-36-vbGMaVNjl6/xunit_test_result.xml
Log:     /home/dlovison/github/rhods/ods-ci/ods_ci/test-output/ods-ci-2023-10-16-12-36-vbGMaVNjl6/log.html
Report:  /home/dlovison/github/rhods/ods-ci/ods_ci/test-output/ods-ci-2023-10-16-12-36-vbGMaVNjl6/test_report.html

Hi @jgarciao is there any reason why we don't use the channel latest at
https://github.com/red-hat-data-services/ods-ci/blob/master/ods_ci/tests/Resources/Files/redhat-openshift-pipelines.yaml#L7
and then avoid guessing a version at
https://github.com/red-hat-data-services/ods-ci/blob/master/ods_ci/tests/Resources/Page/Operators/OpenShiftPipelines.resource#L33-L51 ?

@apodhrad Here is the support matrix for OpenShift Pipelines: https://docs.openshift.com/pipelines/1.12/about/op-release-notes.html. As they support multiple versions of their operator, we try to test as many options as possible, but in an automated way (we didn't want to add another parameter in Jenkins). That's why the logic is hardcoded like this.

Done. Ready for review


Volume C1

Suspend maintenance of Volume C1.

The issue here is what to do when Vol C1 update messages are stopped. From end-2024 Vol C1 will be frozen. How will centres get updated about changes to data availability? Decisions around Vol C1 need to be proposed to INFCOM-3, plus proposal for how Members will be informed about updates to [operational] data sharing.


Possible to add new Codec?

Dear all, it's possible to add a new codec?
I've little throubble with applealc on new codec.
My Notebook uses an ALC287 codec, this codec was added to applealc but it's not working, native layout for my machine was 7 and mine uses as default layout 3.
I tried a lot so I would ask if it could possible to get it with voodoohda working, best regards, Dan

Did you try voodooHDA without AppleALC ?

Yes I did, but was not working, too

You need to ask to Developper Slice.


404 on daily

Went to check out the first puzzle of 2023 but I get a 404. Oh no!

Sigh...
I made a commit adding some new dailies... But the deploy failed.
I guess I haven't been keeping up with Svelte Kit changes recently and something broke.
Happy new year sob :'(

Sigh...
I made a commit adding some new dailies... But the deploy failed.
I guess I haven't been keeping up with Svelte Kit changes recently and something broke.
Happy new year sob :'(

I pinned adapter-vercel to some previous version and the deploy went through. The daily page should work now.

I pinned adapter-vercel to some previous version and the deploy went through. The daily page should work now.

Happy new year!
Yes framework churn is no fun.
Great puzzle though,  thanks!

Happy new year!
Yes framework churn is no fun.
Great puzzle though,  thanks!


Fixed typo

Fixed typo
@wxsms

Coverage remained the same at 98.752% when pulling cb44fd4ba57bdf6890fc3f9e78c42dfde0a99dd7 on smares:patch-1 into 8cdc54721188ad0ac4b03a4fef3eb17a4dc02f1c on wxsms:master.


minSdkVersion

Do we have this library with minSdkVersion 19?

Hi @yeodonghan
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


when debug groovy, raise "org.codehaus.groovy.control.MultipleCompilationErrorsException"

here is my stackoverflow question, which version can debug groovy?

Are you using compile static? How is your build setup?

I fork gr8confagenda to here and get screenshot,
"bar" in "variables tool window" work well, but "bar" in "watches" doesn't work

This is looks to be an issue with Android Studio. Have you tried using IntelliJ, and or submitting a bug to Android Studio? https://code.google.com/p/android/issues/list

Please refer to this issue as well https://github.com/groovy/groovy-android-gradle-plugin/issues/47
Closing this issue, but if you feel like this is a problem with the plugin feel free to re-open.


feat: filter graph by string

Added:

Whitelist/blacklist support for filtering the graph
Filters based on label and filename
Supports comma-separated and space-separated lists lists as input

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.4 out of 5 committers have signed the CLA.:white_check_mark: SeriousBug:white_check_mark: jonathanyeung:white_check_mark: hfellerhoff:white_check_mark: kevinslin:x: allcontributors[bot]You have signed the CLA already but the status is still pending? Let us recheck it.

played around with this. to enable c/p, you'll need to pass in the following option when calling createWebviewPanel

        enableFindWidget: true,

Glad it's simple - I'll make that change


google-api-go-generator is not usable for external APIs.

In order to use Google Cloud Endpoints from Go, some form of interface to the endpoint must be implemented. google-api-go-generator is almost completely up to the task; however, it is missing a few features to make external usage smooth and optimal:

Generated packages reference the internal package, which makes externally generated APIs unusable in Go 1.5+.
The user cannot override the base URL used in service instantiation (myservice.New("")). This is useful, but not necessary, when generating from a local dev_appserver.py instance, which exposes the root URL localhost:8080.
The tool cannot prepend a license header to the generated stubs. Some tools, such as pre-commit-go, enforce license checks, and this is useful to facilitate this conformity.

We've been using the generator with our own endpoints... a bit of a hack as it involves copying the googleapi folder in your own client repo. I'll post a script if you're interested.

Yeah I'm doing something similar at the moment - less copying and more forking. I'm hoping to avoid both :)
I have this CL up as a first shot at accomplishing this: https://code-review.googlesource.com/3706

@mcgreevy awesome! Thanks

@mcgreevy you missed a spot :) uritemplates are missing https://github.com/google/google-api-go-client/issues/116

Replied on #116.


[ARCTIC-1075][AMS]When use native iceberg, update catalog properties does not take effect in terminal

Why are the changes needed?

fix #1075
Brief change log
add cleanSession() method
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before making a pull request

Documentation

Does this pull request introduces a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

This issue is more complex than think, in the local mode, the terminal can't control the catalog already loaded by the spark engine. so a better idea is solve this by using ArcticSparkCatalog load native iceberg table.


os error

Traceback (most recent call last):
File "", line 28, in
File "C:\Python36\lib\os.py",
line 210, in makedirs
makedirs(head, mode, exist_ok)
File "C:\Python36\lib\os.py",
line 220, in makedirs
mkdir(name, mode)
OSError: [WinError 123] The filename, directory name, or volume label syntax is
incorrect: 'C:\Python36\emails\Thu, 30 Jul 2015 21:50:34 -0700'

A new version of this course is coming soon. Thank you.


Add Presenter

Add Presenter
Project URL
https://github.com/muukii/Presenter
Description
Screen transition with safe and clean code.
Checklist

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

@lfarah should this be moved to Modal Transition

@dkhamsing
@lfarah
I've fixed.
Could you check it?

          1 Warning

  :warning:
  Too many changes (when adding, please keep it to one project per Pull Request)

  Generated by :no_entry_sign: danger

thx

thank you!


[Enhancement/Tweak] Increase delay between failed votes OR assume re-vote chance

There is a cooldown between failed and successful votes.
Since we don't know if a vote was successful, I'd suggest to either increase the delay between votes a good bit (30-45 sec?, 60 sec?) or 'assume' if the vote is failing or not.

If a vote keeps failing (like 3 times in a row), delay the following votes until a sane result can be exprected (after a minute, on vote target switch, etc).

Edit: "If a vote keeps failing (like 3 times in a row)"
As in, if we keep initiating votes. Thus not having to "read" any additional game date as the program itself should know when it tries to initiate a vote.

The bot creators use the vote sounds to find out if votes are being called. We could also use this. And if we take it to far we could make a screenshot and somehow read the vote caller and vote target.

That could take it a bit too far. While recording sounds (or is it possible to read played sounds using developer 1?), taking screenshots and analyzing them shouldn't trigger VAC in any way as it doesn't interact with the game, actually analyzing it is probably out of the scope of this project. Imaging having to find the proper text with all these different voting boxes (custom huds).

It's actually simpler than that, and if you compile a debug build you'll see messages like

UserMessageType::CallVoteFailed
UserMessageType::VoteFailed
UserMessageType::VotePass
UserMessageType::VoteSetup
UserMessageType::VoteStart

in the chat log. For whatever reason, valve decided to give each vote update its own usermessage type, and those are visible to us in the console log if we have net_showmessage set to svc_UserMessage:
Msg from <ip>: svc_UserMessage: type <usermessage type #>, bytes <size, not really useful>

I just haven't taken any action based on these messages yet because I wanted to wait until after 1.1 was released.
Trying to use OCR to read the voting box is largely impossible due to the infinite customizability of HUDs.

issue moved to #168


asg.py has lots of hard coded Ref()s and does not allow private ELBs

I don't think Ref("PublicSubnets") is sufficiently configurable. I'm going to work on a patch for this too.

Maybe I'm wrong. Looks like I can just set "PublicSubnets" to my Private subnets, but maybe this should be called ElbSubnets instead.


Feat(variables-scss): Sort barrel files by alphabet

Description
Sorted scss/glboal/index.scss and js/global/index.js by alphabet
Additional context
Issue reference
Exporter | sorted @forwards and exports in barrel files

coverage: 78.751% (-0.7%) from 79.469%
when pulling 0c5db60d4a9c364e899e23290615a3b70e592162 on feat/ds-1502-sort-barrel-files
into 7aac16dc1c179094390f7f5eee47b4098e081ff0 on main.


feat(prettier): format for((let) of ..

Current dependencies on/for this PR:

main

PR #1429   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 19, 4:48 AM: @Boshen merged this pull request with Graphite.


Something wrong with prefix

If you click on middle of the prefix and press backspace, the letter which you trying to delete appears after the prefix. See example in video.

PR Merged, thanks @vijay-j


Add AKS sample

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[X] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Should work after https://github.com/Azure/azure_preview_modules/pull/78 merged


Investigate DefaultHttp2RemoteFlowController directly calling writePendingBytes()

Continuation of https://github.com/netty/netty/issues/6520 ...
DefaultHttp2RemoteFlowController directly calls writePendingBytes() in a few places [1][2]. We should investigate if these are still necessary. They may not be necessary because writing pending bytes is generally the responsibility of flush() [3]. Since Http2ConnectionHandler calls flush in channelReadComplete [4] this may cover all/some cases were the DefaultHttp2RemoteFlowController explicitly calls writePendingBytes().
[1] https://github.com/netty/netty/blob/4.1/codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java#L664
[2] https://github.com/netty/netty/blob/4.1/codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java#L144
[3] https://github.com/netty/netty/blob/4.1/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java#L170
[4] https://github.com/netty/netty/blob/4.1/codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java#L482

@ejona86 - FYI

Delaying the writing of bytes increases responsiveness. If there is a PING following a SETTINGS(INITIAL_WINDOW_SIZE=$veryHigh) then it would be convenient to send the PING ack before the DATA. Similarly, if there is a RST_STREAM following the SETTINGS, then delaying allows avoiding writing useless bytes.
Those aren't too important (i.e., rare), so I wouldn't go out of my way to support it. However, right now the code is explicitly writing early, which seems a bit counter-productive.


Assembler fixes

Fix a bug where shifting left segments wasn't properly filling the leftover space with Empty.
Fix #452

bors r+


hide columns on mobile

@NadavShaar I want to hide some columns on mobile, I am setting visible to false on mobile but it is not working

Hi, i am able to change the visibility of columns in the demo page (https://nadavshaar.github.io/react-grid-table/) from my phone, aren't you?

I want  some of the columns to be hidden on mobile and shown on larger screen for responsiveness

Hidden? or removed? you should be able to do so by updating the columns config.

hidden,
I am changing the visibility of the column but it's not working, visible become false but still, RGT shows that the column

Can you please share a live example?

https://codesandbox.io/s/clever-nightingale-ov2r64?file=/src/App.js
here is link to the codesandbox you can test it here

i want user column to be hidden on mobile and shown on larger screen

The issue seems to be that you're changing the configuration inside the column but it's probably returning the same instance, I tried to put the columns in the state and update them as a new instance and it works.
Let me know if it's ok.
https://codesandbox.io/s/clever-nightingale-ov2r64?file=/src/App.js

thanks so much for the help, its working fine now.


Vis generator and Stabilizer

so I was playing around with the mod and then came across the Stabilizer and thought it sounded really useful, I made it up and got a vis generator to power it, but I didn't have Immersive Engineering or any mods with power transfer quite yet so I just plugged the generator into the back of the stabilizer directly, then I got this crash report:
crash-2018-06-14_14.10.15-server.txt
I don't know if it's an issue of them being together or being run on a server, but I hope this can be fixed.

found out in a test world that it does the same thing if connected by wire so it must be a server issue.

Unless I'm mistaken, the vis generator and stabilizer do opposite things. The generator makes rf from vis and the stabilizer makes vis from rf. Putting them together sounds like an infinite loop to me.

No. The stabilizer works on the infusion alter to reduce instability.

I did this (Stabilizer directly connected to Generator), and it worked/works just fine - but I'm not on a multiplayer server. From the crash dump, it kind of looks like an issue with the particle effects from the Stabilizer being improperly synchronized between server and client. So the good news is, your Stabilizer was (briefly) powered properly and working before the visual effects crashed the world. 😄
@Dragnier  Not quite. The Stabilizer makes "stability" from RF, not vis. It's used to stabilize Infusion Matrices and rifts (and maybe other stuff in future).

@Reassembly Ah. Good to know and thanks for the clarification.

@Reassembly thanks but I know what was happening, I'm just reporting it so it can be replicated and fixed.

#969 Known and fixed


manual settings group

This allows you to specify a settings group manually (rather than just relying on putting _display: settings in a bunch of fields). It's useful when you want to guarantee the order of fields in your settings forms.
This also adds a bunch of documentation around behaviors and schemas, in order to clear up some functionality and better onboard new developers.

:cool: +1

Coverage increased (+0.02%) to 87.814% when pulling de3ed60fd1b57acb59795ce08968b5c72f2e0da4 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling de3ed60fd1b57acb59795ce08968b5c72f2e0da4 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling de3ed60fd1b57acb59795ce08968b5c72f2e0da4 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling 69f312e438bdd74a36a6b2153693583be006c88c on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling 583cef06f461b198e7e502730ada4fc778956d50 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling 583cef06f461b198e7e502730ada4fc778956d50 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling 063348d743e65b3721bb8de23c3b672b4c545171 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling 063348d743e65b3721bb8de23c3b672b4c545171 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

+1

Coverage increased (+0.02%) to 87.814% when pulling 81032ae4ab4dc985cba007b689bce0a3c6c5847c on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling 81032ae4ab4dc985cba007b689bce0a3c6c5847c on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling a1e0472c62f25409b800e0d0023270f08ed3f2d9 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling d25c22df242444a4faea1b68e9b6eded263f3230 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling d25c22df242444a4faea1b68e9b6eded263f3230 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling 4083d6a29ee1491d620dd9cb8243a19a7ad322cf on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling a49a512af2f1b492467ef12fc22f1edd529432ed on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.

Coverage increased (+0.02%) to 87.814% when pulling e4a5a6b0d7745590a1e0d3a4c25fecdb5f04ca58 on settings-group into 05c71cc427ac7521fbf0eef94f346a9fcf21756c on master.


Feature idea-Link indent level chars to chars from text in buffer

Big fan of indent-blankline, thank you for what you've made!
Just wanted to throw this out there as an idea, not trying to make a pushy demand.
I like indent guides for coding. I'd like to be able to link the indent guide characters that indent-blanklike provides to specific types of indenting. In the photo that I've included, there are indent guides placed inside of the comment block, between two lines that do not share brackets (the array initialization and the example comment underneath it, and in the line underneath the example array initialization, where I've created a sloppy example of indentation that one might use when a list of parameters are too long for one line.
What Id like to be able to do is produce indent guides only between certain characters, such as curly braces for example.
Again, just throwing that out there! Thanks for reading!

Interesting idea, but that would be pretty complicated to do.
I'll think about it!
You can get something similar now if you use tabs for indentation and spaces for the alignment.
I added an option g:indent_blankline_strict_tabs, if you turn that on, if there is a tab in a line, only tabs are used to calculate the indentation level.
Would look something like this

All indentation is tabs, but the wrapped "example" is aligned with spaces

I had an idea about about this. Would it be possible to extend the plugins ability to recognize context to the placement of guides? I personally dislike having guides for functions and methods but really enjoy them for conditionals and loops, as examples.

While possible, I won't add that.
It would be a lot of work, and I don't think a lot of people would use it.


Total time for training the DIM dataset

Hi Yaoyi,
Thank you for your great work and I hope to discuss it with you in AAAI-20 Technical Program on Feb. if applicable!
One question is that I am curious about the total time you need for training the whole DIM training set. It seems like you only include the total iterations for the training phase in your paper.
Regards,
Mingfu Liang

hi  Yaoyi,
Thank you for your great work！
I am trying to reproduce your work. But when I train the model, I found that it takes too much time each batch. you mentioned in your experiment , it is about 1s for each batch and 1min each batch for me. I just followed your code. I only use one gpu p100 and batch size is 8. Do you know what's the reason.
best wishes！

hi,dear
how to set the config file?
https://github.com/Yaoyi-Li/GCA-Matting/issues/25