Recieve error "Something went wrong..." when upload data from PostgreSQL database

I have uploaded information about my postgresql tables. When I try to see Information about tables I see error "Something went wrong... "
Expected Behavior
I want to see metadata information about tables.
Current Behavior
I can see that upload was succesfull because information about tables availible in neo4j store.
I have used docker-amundsen.yml script for deloyment. In amundsenfrontend container logs recieve this error
2021-03-14T13:11:33+0000.463 [ERROR] v0._get_table_metadata:149 (11:MainThread) - Encountered exception: {'columns': {0: {'col_type': ['Field may not  be null.']}, 1: {'col_type': ['Field may not be null.']}}} Traceback (most recent call last):   File "/app/amundsen_application/api/metadata/v0.py", line 143, in _get_table_metadata     results_dict['tableData'] = marshall_table_full(table_data_raw)   File "/app/amundsen_application/api/utils/metadata_utils.py", line 109, in marshall_table_full     table: Table = schema.load(table_dict).data   File "/usr/local/lib/python3.7/site-packages/marshmallow/schema.py", line 588, in load     result, errors = self._do_load(data, many, partial=partial, postprocess=True)   File "/usr/local/lib/python3.7/site-packages/marshmallow/schema.py", line 711, in _do_load     raise exc marshmallow.exceptions.ValidationError: {'columns': {0: {'col_type': ['Field may not be null.']}, 1: {'col_type': ['Field may not be null.']}}}        2021-03-14T13:11:33+0000.463 [DEBUG] action_log_callback.on_post_execution:70 (11:MainThread) - Calling callbacks: [<function logging_action_log at 0x7f26506bf8c0>] 2021-03-14T13:11:33+0000.464 [DEBUG] action_log_callback.logging_action_log:85 (11:MainThread) - logging_action_log: ActionLogParams(command='_get_table_metadata', start_epoch_ms=1615727493322, end_epoch_ms=1615727493463<EMAIL_ADDRESS>host_name='ee9f995f6b9d', pos_args_json='[]', keyword_args_json='{"table_key": "postgres://ioekgftt.public/demo", "index": "0", "source": "search_results"}', output='{"tableData": {}, "msg": "Encountered exception: {\'columns\': {0: {\'col_type\': [\'Field may not be null.\']}, 1: {\'col_type\': [\'Field may not be null.\']}}}", "status_code": 500}', error=None)
Steps to Reproduce

Deploy amundsen on docker
Use sample_postgres_loader.py to upload data

Your Environment

Amunsen version used:  amundsen-frontend:3.1.0, amundsen-search:2.4.1, amundsen-metadata:3.3.0
Data warehouse stores: postgresql
Deployment (k8s or native): native(docker)

@allisonsuarez @dkunitsk I thought this is not an issue with the latest version. I think we may want to specify it in the FAQ/installation doc.

I am also facing same issue and we have already data available into Neo4J with column type , column name , column description is available. so I feel this issue is not related to data coming from PostgreSQL as we have store Hive Metastore data and still we are facing this issue.

I am getting the same error as above ^^. After updating to a newer metadata version (one with Badge support), this started to break. I am on on latest for both metadata and frontend-oidc.

@alldoami did you upgrade to the latest databuilder version?

@feng-tao where would I specify the latest databuilder version? I don't see it in the values.yml

@alldoami the version you defined in your airflow cluster

ah that worked! Thank you @feng-tao! I'm on the latest for everything btw. Hopefully that will work for others!

@feng-tao also, I found that after updating to amundsen-databuilder==4.2.1, I had to add amundsen-rds>=0.0.3 to my requirements.txt, but that broke my scheduler... I reverted that change and it works again. But I still get No module named 'amundsen_rds' as an import error.

I think we add the deps in CI but miss in setup.py (https://github.com/amundsen-io/amundsendatabuilder/pull/462#pullrequestreview-621620935) which will fix it. The new release will be release once pr is merged.

@alldoami could you use https://pypi.org/project/amundsen-databuilder/4.2.2/ which should fix the issue?

@feng-tao odd... my circle deployment broken when updating it to 4.2.2... I would just do amundsen-databuilder==4.2.2?

@feng-tao updated to amundsen-databuilder==4.2.2 but still get the same issue 😢  I still get the No module named amundsen_rds``

@alldoami I wonder how do you installed the package? is there any cache for previous installed?

@feng-tao i have this in my Dockerfile:
COPY requirements-dev.txt ./
RUN pip install --no-cache-dir -r requirements-dev.txt

Where the packages are listed as a normal requirements.txt would be formatted.

I also just ran:
# pip freeze | grep amundsen-databuilder
amundsen-databuilder==4.2.2

So the package is updated.

@alldoami I was confirmed with a different deployment that amundsen-databuilder==4.2.2 should fix your initial issue. I am not sure what else could cause your current error.

@feng-tao so I shouldn't need to include the amundsen-rds package in the requirements.txt?

@alldoami  I see this issue now... your airflow dependency is a static defined one in requirements.txt. Currently Amundsendatabuilder puts the dependency in setup.py (https://github.com/amundsen-io/amundsendatabuilder/blob/master/setup.py#L21) in installed-required which will pulled any transient dependency as well.
I think instead of hand-writing requirements.txt, you need to use https://github.com/jazzband/pip-tools to generate requirements.txt from a requirements.in / setup.py which defined all the must-have dependencies. Then the generated requirements.txt will include the must-have dependencies as well as transient dependencies.

tldr, amundsen-rds is needed but you shouldn't manually updated your requirements.txt

@feng-tao  , We are also facing the same Issue , do i need to drop the data in neo4j and Ingest the data from using latest amundsen-databuilder==4.2.2 or else should i mention this in the front requirments.txt is fine ?


Coordinator Dynamic Config changes to ease upgrading with new config value

Fixes #10723

Description

Fixed the bug introduced in #10723
The mentioned change introduced undesirable behavior during upgrade. The new config value percentOfSegmentsToConsiderPerMove requires a value of 1 - 100. Default is 100. However on upgrade the coordinator will load the dynamic config from metastore using CoordinatorDynamicConfig for deserialization. Since the config will not have existed pre-upgrade, it will be null for the constructor which violates the precondition check on the value. This would cause the code to load the Builder default of CoordinatorDynamicConfig at startup. I believe this is undesirable. Instead we want Druid to load the existing persisted config with the default for the new config while logging a warn to the operator telling them their persisted config is out of date.

This PR has:

[x] been self-reviewed.
[x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[x] been tested in a test Druid cluster.

Key changed/added classes in this PR

CoordinatorDynamicConfig

@suneet-s I have added you as reviewer since you were reviewer on initial PR.

@capistrant It looks like CI is complaining about a missing file for a newly added (I think) integration test 🤔 I'm not sure how this PR could have caused that failure - https://travis-ci.com/github/apache/druid/jobs/468930258 (I tried re-triggering this job a couple times just incase)
Could you maybe try merging master back into this PR to see if that will make Travis happy

@capistrant It looks like CI is complaining about a missing file for a newly added (I think) integration test 🤔 I'm not sure how this PR could have caused that failure - https://travis-ci.com/github/apache/druid/jobs/468930258 (I tried re-triggering this job a couple times just incase)
Could you maybe try merging master back into this PR to see if that will make Travis happy

@capistrant the code changes LGTM, but could you add a unit test that verifies JSON deserialization of CoordinatorDynamicConfig with missing percentOfSegmentsToConsiderPerMove?

@capistrant the code changes LGTM, but could you add a unit test that verifies JSON deserialization of CoordinatorDynamicConfig with missing percentOfSegmentsToConsiderPerMove?


Fix git permissions issue

Changes in Git v2.35.2 cause permissions issue for reviewdog actions
ref: https://github.com/reviewdog/reviewdog/issues/1158

Also includes changes requested by reviewdog #2

This is great, we're also dealing with the same issue.

@DanMegaGamer I was able to get around the issue by running chown after checkout and before standardrb. Hopefully that helps you for now.
name: reviewdog
on: [pull_request]
jobs:
  standardrb:
    name: standardrb
    runs-on: ubuntu-latest
    steps:
      - name: Check out code
        uses: actions/checkout@v3
      - run: sudo chown -R root:root $GITHUB_WORKSPACE
      - name: standardrb
        uses<EMAIL_ADDRESS>        with:
          github_token: ${{ secrets.github_token }}
          reporter: github-pr-review # Default is github-pr-check
          rubocop_version: 1.0.1
          rubocop_flags: --format progress

@carl-printreleaf Thanks, that's really helpful 👍🏼

bump on the review


function 'XGDMatrixSetStrFeatureInfo' not found

Hello,
I installed the xgboost-gpu version, but when I run the test code as below, got the error "function 'XGDMatrixSetStrFeatureInfo' not found".
Does anyone know how to figure it out? Thanks~
I tried python 3.6 and 3.7 but got the same result.
CUDA : 10.0
import xgboost as xgb
from sklearn.datasets import load_boston

boston = load_boston()

# XGBoost API example
params = {'tree_method': 'gpu_hist', 'max_depth': 3, 'learning_rate': 0.1}
dtrain = xgb.DMatrix(boston.data, boston.target)
xgb.train(params, dtrain, evals=[(dtrain, "train")])

# sklearn API example
gbm = xgb.XGBRegressor(silent=False, n_estimators=10, tree_method='gpu_hist')
gbm.fit(boston.data, boston.target, eval_set=[(boston.data, boston.target)])

output
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-1-94717a6e6cf2> in <module>
      6 # XGBoost API example
      7 params = {'tree_method': 'gpu_hist', 'max_depth': 3, 'learning_rate': 0.1}
----> 8 dtrain = xgb.DMatrix(boston.data, boston.target)
      9 xgb.train(params, dtrain, evals=[(dtrain, "train")])
     10

~\anaconda3\envs\finlabgpu\lib\site-packages\xgboost\core.py in __init__(self, data, label, weight, base_margin, missing, silent, feature_names, feature_types, nthread)
    442         self.set_info(label=label, weight=weight, base_margin=base_margin)
    443
--> 444         self.feature_names = feature_names
    445         self.feature_types = feature_types
    446

~\anaconda3\envs\finlabgpu\lib\site-packages\xgboost\core.py in feature_names(self, feature_names)
    770         else:
    771             # reset feature_types also
--> 772             _check_call(_LIB.XGDMatrixSetStrFeatureInfo(
    773                 self.handle,
    774                 c_str('feature_name'),

~\anaconda3\envs\finlabgpu\lib\ctypes\__init__.py in __getattr__(self, name)
    359         if name.startswith('__') and name.endswith('__'):
    360             raise AttributeError(name)
--> 361         func = self.__getitem__(name)
    362         setattr(self, name, func)
    363         return func

~\anaconda3\envs\finlabgpu\lib\ctypes\__init__.py in __getitem__(self, name_or_ordinal)
    364
    365     def __getitem__(self, name_or_ordinal):
--> 366         func = self._FuncPtr((name_or_ordinal, self))
    367         if not isinstance(name_or_ordinal, int):
    368             func.__name__ = name_or_ordinal

AttributeError: function 'XGDMatrixSetStrFeatureInfo' not found

It seems your xgboost Python package is on latest master branch, but the shared library is older.  How did you install XGBoost?

It seems your xgboost Python package is on latest master branch, but the shared library is older. How did you install XGBoost?
Ah, thanks for your hint.
I installed by the pre-compiled xgboost.dll file, like here: https://medium.com/@SeoJaeDuk/how-to-install-xgboost-gpu-no-gpu-on-window-10-x64-for-python-3-8c2ffa00fb29
It doesn't work, so I tried to compile by myself through Cmake, it still has some problem.
Finally I installed by this way: https://github.com/dmlc/xgboost/issues/5706
It works for me.

Thanks~


Localize all missing strings

What

[ ] https://github.com/openfoodfacts/smooth-app/blob/498ddc149e41e96ed955cef1b8a139d4daf6a799/packages/smooth_app/lib/pages/product/common/product_list_page.dart#L239
[ ] https://github.com/openfoodfacts/smooth-app/blob/498ddc149e41e96ed955cef1b8a139d4daf6a799/packages/smooth_app/lib/pages/product/common/product_list_page.dart#L248
[ ] https://github.com/openfoodfacts/smooth-app/blob/498ddc149e41e96ed955cef1b8a139d4daf6a799/packages/smooth_app/lib/pages/product/common/product_list_page.dart#L85
[ ] https://github.com/openfoodfacts/smooth-app/blob/1dc14544051dac37f58b873dc6895d5b81890a4a/packages/smooth_app/lib/pages/user_preferences_profile.dart#L82
[ ] https://github.com/openfoodfacts/smooth-app/blob/1dc14544051dac37f58b873dc6895d5b81890a4a/packages/smooth_app/lib/pages/user_preferences_profile.dart#L137
[ ] https://github.com/openfoodfacts/smooth-app/blob/d7b36bd7ea899cabbe87c0f3f1da7f96f2e93fec/packages/smooth_app/lib/generic_lib/loading_dialog.dart#L42
[ ] https://github.com/openfoodfacts/smooth-app/blob/d7b36bd7ea899cabbe87c0f3f1da7f96f2e93fec/packages/smooth_app/lib/generic_lib/loading_dialog.dart#L25
[ ] https://github.com/openfoodfacts/smooth-app/blob/0d611343752ba45ba38bed95ab4172c19edc1e5c/packages/smooth_app/lib/data_models/onboarding_loader.dart#L24
[ ]  https://github.com/openfoodfacts/smooth-app/blob/e874bbeea04134d9dd676d0ca030625fa95c3fd8/packages/smooth_app/lib/generic_lib/dialogs/smooth_category_picker.dart#L110

hello @srinjoyghosh-bot, yes you may :-)  just assigned you

Unassigning you @srinjoyghosh-bot

A few more untranslated strings:

[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/generic_lib/dialogs/smooth_category_picker.dart#L114
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/generic_lib/dialogs/smooth_category_picker.dart#L111
[ ] (All hard-coded strings in this file) https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/user_preferences_dev_mode.dart#L71
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/product/common/product_query_page.dart#L324
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/product/common/product_query_page.dart#L329
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/product/new_product_page.dart#L230
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/product/edit_ingredients_page.dart#L343
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/product/edit_ingredients_page.dart#L351
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/product/edit_ingredients_page.dart#L362
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/user_management/sign_up_page.dart#L186
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/user_management/sign_up_page.dart#L194
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/user_management/forgot_password_page.dart#L151
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/onboarding/consent_analytics_page.dart#L29
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/onboarding/knowledge_panel_page_template.dart#L64
[ ] https://github.com/openfoodfacts/smooth-app/blob/develop/packages/smooth_app/lib/pages/onboarding/preferences_page.dart#L45


Enable/disable connection check made with DTR

This gives users the option to disable DTR check.
this fixes issues #906, #921
Problem:
tud_cdc_connected is using DTR bit which is used in stdio_usb.c If DTR is not set by host (PC terminal or other device), we can't send anything to host.
src/class/cdc/cdc_device.h
static inline bool tud_cdc_connected (void)
{
  return tud_cdc_n_connected(0);
}

src/class/cdc/cdc_device.h
bool tud_cdc_n_connected(uint8_t itf)
{
  // DTR (bit 0) active  is considered as connected
  return tud_ready() && tu_bit_test(_cdcd_itf[itf].line_state, 0);
}

how to fix
PICO_STDIO_USB_CONNECTION_CHECK_WITH_DTR option added to config file for who needs to disable.
It doesn't change current behavior because it's enabled by default. Just gives user to option to disable it.
Usage
add this to your CMakeLists.txt file and DTR check will be disabled.
add_definitions(-DPICO_STDIO_USB_CONNECTION_WITHOUT_DTR=1)

I guess this might affect the behaviour of the PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS and PICO_STDIO_USB_POST_CONNECT_WAIT_DELAY_MS options? :shrug:

I guess this might affect the behaviour of the PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS and PICO_STDIO_USB_POST_CONNECT_WAIT_DELAY_MS options? 🤷

sorry about that. I will come with better one. just min.

@lurch
It depends on future plans for stdio_usb_connected so I respect that and change the code but I think it doesn't make any difference.
I mean I don't think this affect the behavior of the those 2 defs.

I dunno, it's entirely up to @kilograham , but I was just wondering if it might be e.g. worth doing a compile-time #warning if PICO_STDIO_USB_CONNECT_WAIT_TIMEOUT_MS is non-zero, and PICO_STDIO_USB_CONNECTION_CHECK_WITH_DTR is zero? :shrug:
And IMHO you probably don't want a sleep inside of stdio_usb_connected, given how often it gets called?

to be clear PICO_STDIO_USB_CONNECTION_CHECK_WITH_DTRis default enabled. so sleep will be called if PICO_STDIO_USB_CONNECTION_CHECK_WITH_DTR disabled and if PICO_STDIO_USB_POST_CONNECT_WAIT_DELAY_MS is set other than 0.
in here, when stdio_usb_connected called it will be always true so, if PICO_STDIO_USB_POST_CONNECT_WAIT_DELAY_MS != 0 I though its best wait it in stdio_usb_connected.
        do {
            if (stdio_usb_connected()) {
#if PICO_STDIO_USB_POST_CONNECT_WAIT_DELAY_MS != 0
                sleep_ms(PICO_STDIO_USB_POST_CONNECT_WAIT_DELAY_MS);
#endif
                break;
            }
            sleep_ms(10);
        } while (!time_reached(until));

@kilograham Thanks. LGTM.

@kilograham Thanks,
I add a fix,

There was a typo on comments.
PICO_STDIO_USB_CONNECTION_WITHOUT_DTR was enabled by default -> disabled
if you want to revert let me know.

nice, thanks


[google_maps_flutter] [webview_flutter] GoogleMap is blocking pop action from another screen with WebView widget, after app is paused.

An issue that occurs in Release Mode on IOS when from a page containing a GoogleMap widget (google_maps_flutter) a second page is pushed that contains a WebView (webview_flutter).
The issue is that a white screen is shown when returning to the GoogleMap page from the WebView page, if the app has been paused from the WebView page, then resumed.
This issue does not occur when running in debug mode, or on Android.
Code of a simple app that illustrates the issue is at [Edit: fixed url] https://github.com/admarwick/issue_map_webview
Steps to Reproduce

Merge the repo (link above) into a fresh Flutter app project.
Add the needed google map keys to ios/Runner/AppDelegate.swift and
android/app/src/main/AndroidManifest.xml
Run the app on IOS in Release Mode.
Navigate to the second page by pressing the button.
Press the iPhone "Home" button to pause the app, then return to the
running app.
Use the back button on the second page's app bar. Instead of returning
to the first page, a white screen is shown.

Logs
[no runtime output from flutter run --release --verbose]

[no issues found by flutter analyze]

flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G95, locale en-US)
    • Flutter version 1.9.1+hotfix.2 at /Users/alan/Documents/util/flutter
    • Framework revision 2d2a1ffec9 (5 days ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/alan/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/alan/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Community Edition (version 2018.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 31.3.4
    • Dart plugin version 183.5153.38

[✓] Connected device (1 available)
    • Alan’s iPhone 5S • fb2c341f9cecedf031922c7a9f3977426a476bf6 • ios • iOS 12.4.1

• No issues found!

I can't reproduce it with flutter v1.12.13+hotfix.8, iOS 12.4 simulator, and
webview_flutter: ^0.3.19+8
google_maps_flutter: ^0.5.24+1

May be fixed. Closing
@admarwick
Comment please if you are still experiencing this and I'll reopen


Fix Session Storage methods for HttpFoundation 6.*

Fixes issue #969.

This isn't compatible with PHP 5, which the 0.4 branch still supports.

Hey @mbabker
Just found my way to this issue after upgrading my Symfony 5.4 to 6.1 with gos/web-socket-bundle.  I took a peek at the 0.5 branch, but it still has PHP 5 as supported in its composer.json too.
Is the plan for Ratchet 0.5 to drop PHP 5 and pick up PHP 8.1?  Is there a way to progress this forward so that Ratchet can be used with Symfony 6.1?
Many thanks.
Damo.


Type misuse in Ring Average: int32_t sum

Use of int32_t for variable sum means loosing in accuracy for types other than int, especially for float type.
Type of sum should be same as type defined for the class in the template, i.e.:
line 29:
    int32_t sum = 0;
should be:
    TYPE sum = 0;

So what if T is float/uint8_t


GEOPY-947: replace os.path by libpath (based on release branch) 🚧

GEOPY-947 - replace os.path by libpath
same as https://github.com/MiraGeoscience/param-sweeps/pull/20 but based on the release branch, just for testing

Codecov Report

Merging #21 (893fe22) into release/0.1.5 (1e6a29a) will decrease coverage by 0.78%.
The diff coverage is 84.61%.

@@                Coverage Diff                @@
##           release/0.1.5      #21      +/-   ##
=================================================
- Coverage          89.44%   88.66%   -0.78%
=================================================
  Files                  4        4
  Lines                199      203       +4
  Branches              32       33       +1
=================================================
+ Hits                 178      180       +2
- Misses                14       15       +1
- Partials               7        8       +1

Impacted Files
Coverage Δ

param_sweeps/driver.py
89.28% <73.33%> (-1.30%)
:arrow_down:

param_sweeps/constants.py
100.00% <100.00%> (ø)

param_sweeps/generate.py
78.94% <100.00%> (ø)


Converting userinfo authorization to a config var

@jplana - Unfortunately this PR broke with our SSO provider. It's difficult for us to test the flow locally. I've converted this to use a configuration variable. Could you let me know your thoughts?

Coverage decreased (-0.02%) to 60.556% when pulling 0eacbd42d7b7624d9a0c5f413f02444c99f91f14 on castrapel:fix_bearer_token into 65f594fc293aee5490c2734f0d2ff32624757888 on Netflix:master.

@castrapel Sorry about that! Didn't expect it, as userinfoendpoint is standarized in https://openid.net/specs/openid-connect-core-1_0.html#UserInfo and should accept the Authorization: Bearer header.
Researching a little I found that PING even document the userinfo endpoint here: https://www.pingidentity.com/content/developer/en/resources/openid-connect-developers-guide.html#userinfo_endpoint
With the following example:
Authorization: Bearer <access token>```

And found other examples (like here: https://www.pingidentity.com/content/ping/en/company/blog/posts/2013/userinfo-endpoint-and-scope-in-openid-connect.html)

Have you checked removing the token from the query parameters while keeping the header? (just curious). I agree that this is very hard to test locally, if you don't have any other measures in place (like limiting where to initiate authentication so you cannot initiate from your laptop) you could try with #2775 (this is how I tested our integration).

In any case, while I haven't checked the specific solution in this PR It looks like it would work, I'll check it and let you know.

BTW, thanks for the update, I might have missed this change otherwise :-)


Allow VPN network layer to provide their own routes

Task/Issue URL: https://app.asana.com/0/488551667048375/1204139172818658/f
Description
See asana task for more details
Steps to test this PR

[ ]

Current dependencies on/for this PR:

develop

PR #2940   👈

This comment was auto-generated by Graphite.


Upload backward-cpp to conan-center

Howto: http://docs.conan.io/en/latest/uploading_packages/bintray/conan_center_guide.html#conan-center-flow
@Manu343726 Do you have any experience with this? Is it better to go via bincrafters?

I will look at it, thanks for pointing this out.

I've been checking the requirements for Conan center (basically having a good quality recipe CI-tested) and it seems we qualify.
So if you don't mind @bombela I will collect a changelog with the merges since the last release to submit the package with a latest version.

sounds good to me, please do :)
On Sun, Mar 11, 2018, 23:36 Manu Sánchez<EMAIL_ADDRESS>wrote:

I've been checking the requirements for Conan center (basically having a
good quality recipe CI-tested) and it seems we qualify.
So if you don't mind @bombela https://github.com/bombela I will collect
a changelog with the merges since the last release to submit the package
with a latest version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bombela/backward-cpp/issues/98#issuecomment-372206720,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANMjHqCxEop4RcfL5wZASlQ25LSF1Piks5tdhdngaJpZM4STKwm
.

I've uploaded an v1.3.1 package to my conan repo (referencing the latest changes in the package recipe https://github.com/bombela/backward-cpp/commit/a77728bfd81d9e1d9be1da9c50aa81ab62468138), and submitted a request for including a future v1.4 with all master changes into conan-center.

I'm already working in the v1.4 release template BTW

@Manu343726 how did this fare with the public conan repo?

The request has been blocked until I do some fixes to the recipe (It has to
clearly fail on windows since the lib does not support it)
Also managers required to have some compiled packages
El lun., 2 jul. 2018 14:57, John Andre Hestad<EMAIL_ADDRESS>escribió:

@Manu343726 https://github.com/Manu343726 how did this fare with the
public conan repo?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bombela/backward-cpp/issues/98#issuecomment-401795515,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABfSbeFKevCTfkINpS6qKae_tVgcbRKPks5uChiwgaJpZM4STKwm
.

This issue can be closed.
https://conan.io/center/backward-cpp


Case study materials pediatrics

Documentation and video included

coverage: 94.31%. remained the same when pulling 7593cb5a8b84e7a6f1cbf3e913dc6551fcaa9dbe on reshma-s-case-study into 787db1ca18e79dfbfd7dd52174eedadd5b6b97b2 on main.

This copy came from a previous iteration of the partner website, which has since been updated.  Will resubmit with new copy.


🎉 New extension: Stripe

Here is the open API spec
https://api.apis.guru/v2/specs/stripe.com/2022-11-15/openapi.json

@harshithmullapudi Hey, can I pick this up?

Hey @Sadaf-A thanks for the interest. We are currently in the process of writing the documentation. We will get back to you by End of the week with the details so that you can get started.

Hey @Sadaf-A are you still interested in this?

@harshithmullapudi Yes, i am would love to work on it

Hey @Sadaf-A have you worked before on stripe APIs? Do you have access to stripe APIs?

@harshithmullapudi sadly not, it's my first time

Hey then could you pick something like google calendar? Which you can easily test?

hey @harshithmullapudi absolutely I'm up for anything. if you could provide link to the issue that would be great

Hey sure. Could you join our community slack? We are getting the docs ready, we can coordinate there.

Closing this issue as we are focusing more on the ticketing vertical. Feel free to reopen this when we start the work again


I produced 65536 messaged but got only hundred of them consumed

Versions
Sarama Version: 1.15.0
Kafka Version: 1.0.0
Go Version:  1.9.1
Configuration
What configuration values are you using for Sarama and Kafka?
for sarama:
config := sarama.NewConfig()
config.Version = sarama.V1_0_0_0
config.Producer.Return.Successes = true
config.Producer.RequiredAcks = sarama.WaitForAll

for kafka, I removed config including zookeeper and broker id, listeners, log.dirs:
delete.topic.enable=true
offsets.topic.num.partitions=50
offsets.topic.replication.factor=3
num.partitions=8
default.replication.factor=3
min.insync.replicas=1
unclean.leader.election.enable=true
log.retention.hours=168
auto.create.topics.enable=false
auto.leader.rebalance.enable=true

Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set sarama.Logger to a log.Logger to capture Sarama debug
output.
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:115: [Initializing new client]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/config.go:351: [ClientID is the default of 'sarama', you should consider setting it to something application-specific.]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/config.go:351: [ClientID is the default of 'sarama', you should consider setting it to something application-specific.]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:646: client/metadata fetching metadata for all topics from broker <IP_ADDRESS>:9092
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/broker.go:146: Connected to broker at <IP_ADDRESS>:9092 (unregistered)
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:429: client/brokers registered new broker #2 at <IP_ADDRESS>:9092
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:429: client/brokers registered new broker #5 at <IP_ADDRESS>:9092
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:429: client/brokers registered new broker #4 at <IP_ADDRESS>:9092
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:429: client/brokers registered new broker #1 at <IP_ADDRESS>:9092
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:429: client/brokers registered new broker #3 at <IP_ADDRESS>:9092
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:429: client/brokers registered new broker #6 at <IP_ADDRESS>:9092
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:161: [Successfully initialized new client]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/config.go:351: [ClientID is the default of 'sarama', you should consider setting it to something application-specific.]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:601: producer/broker/5 starting up
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/27
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/config.go:351: [ClientID is the default of 'sarama', you should consider setting it to something application-specific.]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/config.go:351: [ClientID is the default of 'sarama', you should consider setting it to something application-specific.]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:601: producer/broker/2 starting up
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/54
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/15
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/33
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/60
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:601: producer/broker/1 starting up
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/config.go:351: [ClientID is the default of 'sarama', you should consider setting it to something application-specific.]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:601: producer/broker/3 starting up
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/51
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/config.go:351: [ClientID is the default of 'sarama', you should consider setting it to something application-specific.]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/broker.go:144: Connected to broker at <IP_ADDRESS>:9092 (registered as #2)
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/42
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/broker.go:144: Connected to broker at <IP_ADDRESS>:9092 (registered as #5)
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:601: producer/broker/4 starting up
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/53
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/61
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/broker.go:144: Connected to broker at <IP_ADDRESS>:9092 (registered as #1)
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/57
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/19
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/63
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/39
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/8
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/44
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/broker.go:144: Connected to broker at <IP_ADDRESS>:9092 (registered as #4)
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/2
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:601: producer/broker/6 starting up
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/28
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/52
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/37
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/58
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/43
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/broker.go:144: Connected to broker at <IP_ADDRESS>:9092 (registered as #6)
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/45
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/11
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/21
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/23
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/9
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/30
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/5 state change to [open] on fire-6/3
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/5
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/46
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/34
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/4
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/62
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/24
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/59
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/0
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/10
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/36
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/25
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/48
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/32
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/12
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/50
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/16
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/14
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/22
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/26
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/6
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/56
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/38
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/2 state change to [open] on fire-6/18
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/4 state change to [open] on fire-6/20
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/49
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/1
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/41
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/55
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/config.go:351: [ClientID is the default of 'sarama', you should consider setting it to something application-specific.]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/29
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/6 state change to [open] on fire-6/40
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/7
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/31
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/35
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/3 state change to [open] on fire-6/13
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/17
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:612: producer/broker/1 state change to [open] on fire-6/47
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/broker.go:144: Connected to broker at <IP_ADDRESS>:9092 (registered as #3)
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/async_producer.go:823: [Producer shutting down.]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/client.go:194: [Closing Client]
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/broker.go:189: Closed connection to broker <IP_ADDRESS>:9092
2018-02-05T13:52:34+08:00 INFO: github.com/Shopify/sarama/broker.go:189: Closed connection to broker <IP_ADDRESS>:9092
2018/02/05 13:52:34 Successfully produced: 65536; errors: 0

my test code
func main() {
	config := sarama.NewConfig()
	config.Version = sarama.V1_0_0_0
	config.Producer.Return.Successes = true
	config.Producer.RequiredAcks = sarama.WaitForAll
	// config.Producer.Flush.Frequency = 10 * time.Second
	// config.Producer.Flush.Bytes = 1024 * 1024
	// config.Producer.Flush.MaxMessages = 1024
	producer, err := sarama.NewAsyncProducer(strings.Split(*brokers, ","), config)
	if err != nil {
		panic(err)
	}

	// Trap SIGINT to trigger a graceful shutdown.
	signals := make(chan os.Signal, 1)
	signal.Notify(signals, os.Interrupt)

	var (
		wg                          sync.WaitGroup
		enqueued, successes, errors int
	)

	wg.Add(1)
	go func() {
		defer wg.Done()
		for range producer.Successes() {
			successes++
		}
	}()

	wg.Add(1)
	go func() {
		defer wg.Done()
		for err := range producer.Errors() {
			log.Println(err)
			errors++
		}
	}()
	counter := 0

ProducerLoop:
	for {
		if counter >= 65536 {
			producer.AsyncClose() // Trigger a shutdown of the producer.
			break ProducerLoop
		}
		message := &sarama.ProducerMessage{
			Topic: *topics,
			// Key:       sarama.StringEncoder(fmt.Sprintf("%d", counter)),
			// Partition: int32(counter),
			Value: sarama.StringEncoder(fmt.Sprintf("%d,%d", counter, time.Now().UnixNano())),
			// Timestamp: time.Now(),
		}
		select {
		case producer.Input() <- message:
			enqueued++

		case <-signals:
			producer.AsyncClose() // Trigger a shutdown of the producer.
			break ProducerLoop
		}
		if *verbose {
			fmt.Printf(".")
		}
		if *sleep {
			// fmt.Println(100 * time.Millisecond)
			time.Sleep(1 * time.Millisecond)
		}
		counter++
	}

	wg.Wait()

	log.Printf("Successfully produced: %d; errors: %d\n", successes, errors)
}

Problem Description
I used program like above to send messages to kafka, 65536 in total. but when I consumed from this topic, there are only hundreds messages, what's wrong ?

Could you try to remove the config.Version and retest?
#1032 reported seeing some inconsistencies on number of messages produced with config.Version added. Removing it seems to produce all messages.

@getachew  great, when I remove the config it works!
This is a serious bug thougn

The sync producer uses the async producer under the hood, so this is not a relevant difference.
It sounds a lot like the same issue to me, hopefully it is easy to fix but I have not had a lot of time recently to look into it.

Marking this as a duplicate of #1032.


Upgraded mysql to 5.7

@taylorotwell When I looked through the error logs there were a few issues, one was that the debian config commands were trying to be in interactive mode and two the name of the config keys changed.
I tested running bash build.sh and then importing the virtualbox.box file into vagrant and then running homestead vagrant up with my custom image and it is working for me.
We may want to document that flow in the readme to ensure future contributions are throughly tested.
bash build.sh
vagrant box add virtualbox.box --name homestead/test
// Set homestead.yaml box to laravel/settler
// Run vagrant up from homestead dir

Now I get:
vagrant@homestead:~/Code$ mysql --version
mysql  Ver 14.14 Distrib 5.7.9, for Linux (x86_64) using  EditLine wrapper

Thanks for your help!

:+1:

Eh, I get the same error on this box:
http://d.pr/i/1fxKO/4SxBNq04

To me it looks like MySQL is not starting by default.

Suggestions?

I'm clearing out all my boxes and trying again. I double checked it all end to end from settler build image to running in homestead so I'm really wondering what happened.

@taylorotwell I'm really at a loss for why it isn't working for you. I looked at the build.sh in settler and it doesn't delete the built box file. I also removed my /var/folders/* just in case. Is there any way the old version was tested by mistake?
Here's my entire CLI log:
https://gist.github.com/dmyers/16b4b6a7b2f0534061c4
The list is very long, but the commands I used were:
bash build.sh
vagrant box add virtualbox.box --name homestead/test
cd ../homestead/
// Pointed Homestead to new box
vagrant up

If I manually start MySQL with "sudo service mysql start" it works, but it
is not started by default, which we need to figure out why.
On Thu, Nov 12, 2015 at 5:34 PM, Derek Myers<EMAIL_ADDRESS>wrote:

@taylorotwell https://github.com/taylorotwell I'm really at a loss for
why it isn't working for you. I looked at the build.sh in settler and it
doesn't delete the built box file. I also removed my /var/folders/* just
in case. Is there any way the old version was tested by mistake?
Here's my entire CLI log:
https://gist.github.com/dmyers/16b4b6a7b2f0534061c4
The list is very long, but the commands I used were:
bash build.sh
vagrant box add virtualbox.box --name homestead/test
cd ../homestead/
// Pointed Homestead to new box
vagrant up
—
Reply to this email directly or view it on GitHub
https://github.com/laravel/settler/pull/59#issuecomment-156271052.

@dmyers @taylorotwell did a fresh clone of settler, build the box added it locally, fresh clone of homestead edited the box to point to the local build. Everything works. :+1:

That's because mysql is not going to start on startup! I halted the box and started it again and got the same error.
I think we should add this command:
update-rc.d mysql defaults


Reverse Proxy with MinIO Server availability problem

Hey, Proxy Manager is really really awesome, it saves me a lot of time but I am facing a little issue with my personal single mode deployment MinIO server.
I have deployed on my Synology NAS (DS415+) a MinIO server though Docker, here is the command (these are not the real root user credentials obviously):
docker run -d --name minio  \
    -p 9100:9000 -p 9101:9001 \
    -e "MINIO_ROOT_USER=root" \
    -e "MINIO_ROOT_PASSWORD=pass" \
    -e "MINIO_DOMAIN=s3.chainyo.tech" \
    -v /volume1/docker/minio/data:/data \
    -v /volume1/docker/minio/config:/root/.minio \
    quay.io/minio/minio server /data --console-address ":9101"

Everything is running well in local, I can access the console (192.168.1.x:9101) and the API (192.168.1.x:9100) though Python script.
But I am using Ngninx Proxy Manager to make this service available outside my local network with my own domain name which is chainyo.tech.
So I added the minio container in the proxy network to make them communicate.
I have setup two redirections:

Console: on s3.chainyo.tech I can access to the console on port 9101, everything is running well, it's working I can access to the console, I can login and manage the server without any restrictions.
API: on s3.api.chainyo.tech I can't use this endpoint in my Python script, the client seems to connect but finally timeout after a long long time.

Here is my simple test script, which timeout after the "client connected" print:
from minio import Minio

def connect(endpoint, access_key, secret_key):
    minioClient = Minio(endpoint, access_key=access_key, secret_key=secret_key, secure=False)

    return minioClient

client = connect("s3.api.chainyo.tech:9100", "root", "pass")
print("client connected")

buckets = client.list_buckets()
for bucket in buckets:
    print(bucket.name, bucket.creation_date)

bucket = "public-bucket"
object_to_push = "test.txt"

client.fput_object(bucket, "test.txt", object_to_push)
print("Uploaded object to minio")

And finally this is my Nginx conf file inspired from the MinIO documentation I have found here:
    server {
        set $forward_scheme http;
        set $server         "minio";
        set $port           9100;

        listen 80;
        listen [::]:80;

        server_name s3.api.chainyo.tech;

        # To allow special characters in headers
        ignore_invalid_headers off;
        # Allow any size file to be uploaded.
        # Set to a value such as 1000m; to restrict file size to a specific value
        client_max_body_size 0;
        # To disable buffering
        proxy_buffering off;

		# Block Exploits
        include conf.d/include/block-exploits.conf;

        access_log /data/logs/proxy-host-15_access.log proxy;
        error_log /data/logs/proxy-host-15_error.log warn;

        location / {
            proxy_set_header Host $http_host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;

            proxy_connect_timeout 300;
            # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
            proxy_http_version 1.1;
            proxy_set_header Connection "";
            chunked_transfer_encoding off;

            proxy_pass http://minio:9100
        }
    }

This is the error trace while trying to interact with the api in Python:
Traceback (most recent call last):
  File "/home/chainyo/code/minio/upload_to_minio.py", line 12, in <module>
    buckets = client.list_buckets()
  File "/home/chainyo/.local/lib/python3.8/site-packages/minio/api.py", line 633, in list_buckets
    response = self._execute("GET")
  File "/home/chainyo/.local/lib/python3.8/site-packages/minio/api.py", line 397, in _execute
    return self._url_open(
  File "/home/chainyo/.local/lib/python3.8/site-packages/minio/api.py", line 266, in _url_open
    response = self._http.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/poolmanager.py", line 330, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 747, in urlopen
    return self.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 747, in urlopen
    return self.urlopen(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 747, in urlopen
    return self.urlopen(
  [Previous line repeated 2 more times]
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 719, in urlopen
    retries = retries.increment(
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 436, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='s3.api.chainyo.tech', port=9100): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd11dc65e20>: Failed to establish a new connection: [Errno 110] Connection timed out'))

Is there anything I am missing ? Anyone have already achieved that kind of stuff ?
P.S. I used ports 9100 and 9101 because I'm already using port 9000 for portainer service.

No one ever deployed a MinIO server ? 😢

Hit the same issue, here's how I ended up getting it working:

Enable HTTP/2 in the 'SSL' section
Make sure your api subdomain is pointing to whatever the equivilent of port 9000 is. So on the example in your code above that would be port 9100

Hit the same issue, here's how I ended up getting it working:

Enable HTTP/2 in the 'SSL' section
Make sure your api subdomain is pointing to whatever the equivilent of port 9000 is. So on the example in your code above that would be port 9100

Hey thanks for your answer, I understand the SSL section part, but what do you mean by API subdomain ?

So I found I basically had to have two domains. 1 for the web ui and one for anything interacting with minio from a script or command line. It has to be a separate domain pointing at port 9000.
One other step I missed out, in Nginx proxy manager make sure you've ticked the box to enable 'Websockets support' as this will force proxy manager to forward any host headers, which are needed for most applications.

So I found I basically had to have two domains. 1 for the web ui and one for anything interacting with minio from a script or command line. It has to be a separate domain pointing at port 9000.

OK! Good to know! Thanks for your insights!

So I found I basically had to have two domains. 1 for the web ui and one for anything interacting with minio from a script or command line. It has to be a separate domain pointing at port 9000.

OK! Good to know! Thanks for your insights!

@ChainYo Did you ever get this working? I have a minio docker image running, Nginx Proxy Manager has two sub domains pointing at ports 9001 (web console) & 9002 for the block storage. I want to be able to backup a Synology NAS using HyperBackup. If I set HyperBackup up pointing at the sub domain on port 9002 I can connect as far as creating a new bucket, but it then informs me that the connection has been dropped. If I use your settings above edited to match my own settings. The Proxy host immediately goes offline once I save the config.

So I found I basically had to have two domains. 1 for the web ui and one for anything interacting with minio from a script or command line. It has to be a separate domain pointing at port 9000.

OK! Good to know! Thanks for your insights!

@ChainYo Did you ever get this working? I have a minio docker image running, Nginx Proxy Manager has two sub domains pointing at ports 9001 (web console) & 9002 for the block storage. I want to be able to backup a Synology NAS using HyperBackup. If I set HyperBackup up pointing at the sub domain on port 9002 I can connect as far as creating a new bucket, but it then informs me that the connection has been dropped. If I use your settings above edited to match my own settings. The Proxy host immediately goes offline once I save the config.

I decided to use Cloudflare Tunnels. That's so easier!!

OK thanks, someone somewhere must have gotten this to work!

OK thanks, someone somewhere must have gotten this to work!

Create 2 domains and create 2 entries with different ports

@ChainYo Hello. Did you manage to solve this problem? I ran into exactly the same problem and can't seem to find a solution to the problem.

MINIO_SERVER_URL=https://files.test.com

legend. worked for me

I still have the same issue after trying all of the above.
@mathiznogoud.  Is it possible you share your configuration of the nginx PM and the docker compose with us?

I finally got this working after setting MINIO_SERVER_URL and MINIO_BROWSER_REDIRECT_URL environment variables in Docker.
See documentation here and below: https://min.io/docs/minio/linux/integrations/setup-nginx-proxy-with-minio.html

You must also set the following environment variables for the MinIO deployment:
Set MINIO_SERVER_URL to the proxy host FQDN of the MinIO Server (https://minio.example.net)
Set the MINIO_BROWSER_REDIRECT_URL to the proxy host FQDN of the MinIO Console (https://example.net/minio/ui)

So I found I basically had to have two domains. 1 for the web ui and one for anything interacting with minio from a script or command line. It has to be a separate domain pointing at port 9000.

OK! Good to know! Thanks for your insights!

@chainyo Did you ever get this working? I have a minio docker image running, Nginx Proxy Manager has two sub domains pointing at ports 9001 (web console) & 9002 for the block storage. I want to be able to backup a Synology NAS using HyperBackup. If I set HyperBackup up pointing at the sub domain on port 9002 I can connect as far as creating a new bucket, but it then informs me that the connection has been dropped. If I use your settings above edited to match my own settings. The Proxy host immediately goes offline once I save the config.

I decided to use Cloudflare Tunnels. That's so easier!!

@chainyo i am also trying to use Cloudflare Tunnels but i am not able to get the MinIO Console Page to load.

So I found I basically had to have two domains. 1 for the web ui and one for anything interacting with minio from a script or command line. It has to be a separate domain pointing at port 9000.

OK! Good to know! Thanks for your insights!

@chainyo Did you ever get this working? I have a minio docker image running, Nginx Proxy Manager has two sub domains pointing at ports 9001 (web console) & 9002 for the block storage. I want to be able to backup a Synology NAS using HyperBackup. If I set HyperBackup up pointing at the sub domain on port 9002 I can connect as far as creating a new bucket, but it then informs me that the connection has been dropped. If I use your settings above edited to match my own settings. The Proxy host immediately goes offline once I save the config.

I decided to use Cloudflare Tunnels. That's so easier!!

did you use Cloudflare Tunnels completely in place of Ngninx?  or in combination with Ngninx?

So I found I basically had to have two domains. 1 for the web ui and one for anything interacting with minio from a script or command line. It has to be a separate domain pointing at port 9000.

OK! Good to know! Thanks for your insights!

@chainyo Did you ever get this working? I have a minio docker image running, Nginx Proxy Manager has two sub domains pointing at ports 9001 (web console) & 9002 for the block storage. I want to be able to backup a Synology NAS using HyperBackup. If I set HyperBackup up pointing at the sub domain on port 9002 I can connect as far as creating a new bucket, but it then informs me that the connection has been dropped. If I use your settings above edited to match my own settings. The Proxy host immediately goes offline once I save the config.

I decided to use Cloudflare Tunnels. That's so easier!!

did you use Cloudflare Tunnels completely in place of Ngninx? or in combination with Ngninx?

Hi @tech1-baps tbh I don't really remember precisely the manipulation I did to make it run as it was a long time ago I did that.
If I remember well I dropped totally nginx for cloudflare tunnels as it re-route the service correctly, but the cloudflare documentation is always evolving so I can't give you the exact manipulation I did.

Hi.
From my test, it appers that Host is the problem of this issue.
If manually override the proxy_set_header Host $host; into proxy_set_header Host $http_host;, the minio start to respond as expect.
Hope this get fixed soon since it's impossible to overwrite this head from UI nor custom configs but have to overwrite /etc/nignx/conf.d/proxy.conf since proxy_set_header cannot be re-set.

I started using docker-compose and then mounted the modified proxy.conf successfully.
add_header       X-Served-By $host;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Scheme $scheme;
proxy_set_header X-Forwarded-Proto  $scheme;
proxy_set_header X-Forwarded-For    $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP          $remote_addr;
proxy_pass       $forward_scheme://$server:$port$request_uri;

version: '3.8'
services:
  app:
    image: nginx-proxy-manager:2.11.1
    restart: unless-stopped
    entrypoint: bash -c "pip install zope -i https://pypi.tuna.tsinghua.edu.cn/simple && exec /init"
    ports:
      - '8000:80'
      - '8002:81'
      - '8001:443'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
      - ./proxy.conf:/etc/nginx/conf.d/include/proxy.conf

如果你需要部署对象存储的网站是https，需要在Nginx Proxy Manager里将9080端口进行反代，并进行端口映射。例如端口映射到99，那你的endpoint就变成了https://域名:99，同理url就变成了https://域名:99/siyuan。

# Allow special characters in headers
   ignore_invalid_headers off;
   # Allow any size file to be uploaded.
   # Set to a value such as 1000m; to restrict file size to a specific value
   client_max_body_size 0;
   # Disable buffering
   proxy_buffering off;
   proxy_request_buffering off;

   location / {
      proxy_set_header Host $http_host;
      proxy_set_header X-Real-IP $remote_addr;
      proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header X-Forwarded-Proto $scheme;

      proxy_connect_timeout 300;
      # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
      proxy_http_version 1.1;
      proxy_set_header Connection "";
      chunked_transfer_encoding off;

      proxy_pass http://minio:9000;
      }


Tests for getData method of px-data-grid

Fixes #235

Preventing your questions: tested in IE, passed.


[suggestion] make relay send info to a detector on top of the block even when off

So I was testing some setups today, and the most common use I have on the detector is for the relay, probably everyone agrees on that.
Here is the setup I did.
Cable -> relay - > cable, and on top of the relay a detector.
In this specific case I wanted it to collect water from a nearby source using the destructor. So I set the relay to only be ON on redstone signal, I set the detector to check if water is under 10.000 millibuckets then send a signal.
Of course at this point the relay is off, and the detector on top (that looks absolutely awesome on top of the relay) is not getting any information from the network since the relay is off... and I said.. bummer.
I had to change my setup to
cable -> detector -> relay - > cable
but to be honest the cable going into the detector is not the prettiest setup there is, visually it just looks like its not connecting... but the detector itself is a beautiful block and very useful. So here is when I wondered, if the relay would send network information to the detector when it is on top, even when the relay is off, then this should work fine, and look pretty at the same time.
=D, still just a thing to make it look pretty, something maybe for one of those days when you say.. hmm... nothing to do, lets work on making things prettier..

no


⚠ Bofrost.be has degraded performance

In d10a6cf, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2986 ms

Resolved: Bofrost.be performance has improved in cebe6c3.


Update RadioButtonGroup to allow setting an initialValue

Hi Erik,
First thank you for both redux-form and this wrapper library.  I'm currently implementing a complex form that I need to know if it is "pristine" or not, and these libraries have been a huge time saver for me!
While working on this, I noticed that the initialValues were not getting set for RadioButtonGroup.
It turns out that this is because RadioButtonGroup expects the selected value to be passed in as valueSelected, not value.
This pull-request maps that value.
I tried to match your coding style as close as possible, but please leave me feedback, and I'll gladly make any changes you wish.
Thanks in advance!
-Matt

Thanks @erikras !  Would it be possible to get a tagged/npm release with these recent merges?

@erikras Sorry to pester, but it would still be great to see a release with the recent merges if possible.
Thanks again for all of your work here.

Published in v4.1.0.


Fix broken links to exporter writing page

These links work fine for me.

The links when viewed in the repo intentionally don't work. They require rendering by our static site generator.

Got it, thanks, sorry for the noise.


consider collapsing included resources

currently if the same resource if referenced by a lot of items when relationships are inlined, we will repeat that resource throughout the response.
one of the patterns used to avoid this duplication is to use referenced and pull out all resources at one level. wdyt?

this is exactly what we proposed.  we just hadn't worked out how to map the de-duped resources to all the things that they might be related to yet

Closing as a duplicate of: https://github.com/cloudfoundry/cc-api-v3-style-guide/issues/35


[DOCFIX] Adding YARN_HOME usage

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12470/
Test PASSed.


Web arg is back + Pglet 0.5.2

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


fixed typo

@tspascoal Thank you for for fixing this. I am merging this PR and it should be live soon.


Seeders

@kirakoki not yet, I don't think it actually generates the INSERT queries yet. I need to spend a few more hours on it.


[3.x] - Update Tracing Context on return

Resolves #7161

when do we expect this change to get merged.
Please let us know.

@tomas-langer May be you could have a look?


Failed to create file system for "od-plex": didn't find section in config name

I'm facing a strange issue, I run 4 rclone jobs every night using a shell script so all jobs are using the same command with source and destination set differently.
Script found below:
`sync() {
LOG=$3
SOURCE=$1
DEST=$2
echo "Syncing $SOURCE to $DEST, logs: $LOG"

rm -Rf $LOG
touch $LOG

./rclone sync -vv  --transfers 1 --delete-after --retries 999  --log-file $LOG  $SOURCE  $DEST

SUBJECT="$SOURCE  to $DEST complete"
BODY="`tail -n 20  $LOG`"

curl -F "AuthorizationToken=sometoken" -F "Title=$SUBJECT" -F "Body=$BODY" https://pushalot.com/api/sendmessage

curl -s \
  --form-string "token=sometoken" \
  --form-string "user=token2" \
  --form-string "message=$BODY" \
  --form-string "title=$SUBJECT" \
  https://api.pushover.net/1/messages.json

}
cd /home/gz/scripts/rclone
if [ ! -f syncing.lock ]
then
touch syncing.lock

sync /mnt/media/Pictures od-paul:Pictures/HTPC pictures-sync.log

sync /home/gz/cloud/joanne/iPhone-pictures od-joanne:Pictures/iPhone joanne-pictures-sync.log

sync /mnt/media/backups/server/ od-paul:Backups/htpc backups-sync.log

sync /mnt/media/plex-optimized/ od-plex:/Plex plex-sync.log

rm -f syncing.lock

else
echo "Syncing already running"
fi
`
I'm running it as root as a cron.
Where it gets weird is that if i run the script as root (sudo) or via run-parts /etc/cron.daily it works fine.
Only when triggered via the cron job I get the error and only for one of the four  synchronizations.
I checked the config in /root/.config and in my own home folder /home/gz/.config/rclone and the od-plex is present in both.
It's pretty weird.  is cron using a different config location ? but in that case, all 4 jobs would fail and not only one ?
The 4 jobs are all using different OneDrive accounts.

What is your rclone version (eg output from rclone -V)
1.37

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu 16.04 64bits

Which cloud storage system are you using? (eg Google Drive)
OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp)
./rclone sync -v  --transfers 1 --delete-after --retries 999  --log-file plex-sync.log  /mnt/media/plex-optimized   od-plex:/Plex
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

2017/07/25 15:18:48 DEBUG : rclone: Version "v1.37" starting with parameters ["./rclone" "sync" "-vv" "--transfers" "1" "--delete-after" "--retries" "999" "--log-file" "plex-sync.log" "/mnt/media/plex-optimized/" "od-plex:/Plex"] 2017/07/25 15:18:48 Failed to create file system for "od-plex:/Plex": didn't find section in config file

Do they run simultaneously the jobs?  I wonder if they are all updating the config file at the same time?
If you want to rule out a different config file location you could add the --config flag.  I suppose if cron's HOME directory was set differently they could use a different file but it seems unlikely.

The jobs were run sequentially but to be sure, i added a one minute sleep between each. Then i used the --config parameter as well. It seems to be working now.
Thanks !


sap.tnt.SideNavigation no property for width

Hello,
Could you provide a property width for sap.tnt.SideNavigation control?
Right now is fixed to 15rem (expanded) 3rem ( not expanded ) via code for animation:
https://github.com/SAP/openui5/blob/f47ef99cdf8ea96218b697ab180fe0714caf758d/src/sap.tnt/src/sap/tnt/SideNavigation.js#L169
And also fixed via CSS:
https://github.com/SAP/openui5/blob/7672ca39cd0fdaf9e822172dd52e5d861aa0bd12/src/sap.tnt/src/sap/tnt/themes/base/SideNavigation.less#L23
It would be great to have a property, it's not strange to have texts with width greater than 15 rem
Thanks a lot

Hi @JoseMunozHerrera ,
Thank you for share your enhancement proposal.  I have contacted the PO of responsible for the control team, and they will write you here if this will be done.
Kind Regards,
Gery

I have the same issue. its almost two years with no changes, updates.

Hi,
Currently and by-design specification the width is hard-coded to 15 rem
we will discuss this requirement with Kalin Milanov (BTP UX/VD lead) about this feature request

This item will be covered in FIORITECHP1-26797.

The "width" property of sap.tnt.SideNavigation will be available with version 1.120.

Implemented with https://github.com/SAP/openui5/commit/809177bdc3eb28d90645b8b836335e4c7694701d


Feature: Error handling and updated deps

Thanks for creating this!
Here are some updates I've made that might be useful to other users of this project too.
In this PR:

Added some error handling to catch invalid input.
Clarified TypeScript types
Updated dependencies. Based on what I can see, there are no breaking changes that should affect this project.

Hi @Greenheart , thanks for your time creating this PR, I will review it and merge it.


Removed unnessecary new lines from sim programmer command.

Hi @corndog2000!
In this case I've put the blank lines specifically for the README visualisation so that at any time when reading or copying the info (all the parameters) can be seen:

That makes sense. It's just easier to copy the command into a terminal when it's all on one line.
One thing that needs to be fixed is that the spn option needs to be --spn instead of -spn.

You are right the option should be --spn!
Thanks!


Submit to JSDelivr

Would be great to have this on JSDelivr so we can download it with our other scripts (via JSDelivr's concatenation feature).
See https://github.com/jsdelivr/jsdelivr/blob/master/CONTRIBUTING.md

+1

PR prepared :rocket:
https://github.com/jsdelivr/jsdelivr/pull/10049

Merged. It may take some time for the JSDelivr machine will actually load the scripts, but maybe soon.
Thanks.

Nice, thanks!
Em ter, 23 de fev de 2016 13:33, Jun<EMAIL_ADDRESS>escreveu:

Merged. It may take some time for the JSDelivr machine will actually load
the scripts, but maybe soon.
Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/noraesae/perfect-scrollbar/issues/439#issuecomment-187775940
.

the link for usage: https://www.jsdelivr.com/projects/perfect-scrollbar

Thanks all!


highlight the changes left to sync

Hey! love the edit in search results panel then sync it back feature. I think it could be even better if there was some highlighting of the diff between whats in the panel and whats in the files.

Unfortunately, the calculation of that diff and application of the highlight would have to happen on every text change event. I think this could be prohibitively expensive performance wise as you would basically be doing a poor mans treesitter on the results listing.

diffing is not that expensive, nowhere close to doing a treesitter parse. and most of the time the number of highlights to apply would be pretty small. I think its worth try, I may attempt it this weekend

Hmm, maybe if you wrap it in a vim.schedule and do it in chunks so it does not block input?. Idk I am still pretty wary of doing this on a buffer where there are thousands of lines of results. I've had the experience of opening large files in treesitter before, haha. What would you show for deleted text?

Have you tried gitsigns diff mode or diffview? Diffing is super optimized so I'm pretty sure if we use vim.diff it calls a c routine that just goes through it for us. Treesitter is doing way more complicated work: state machines and branching and regex and everything. Diffing is a pretty straight shot linear comparison.
I think either a little red highlight around the position the deleted text was, or the deleted text itself but highlighted in red. Probably keep it similar to gitsigns.

I haven't tried those but am assuming those still operate on smaller files.
Treesitter does not do regex as far as I know. That is the whole idea, it has C code for each file type that parses/tokenizes the files and generates an AST.
For our case, I guess we could do straight string comparison if the assumption is that the amount of places manually changed is small.
vim.diff does not give me anything very useful though. For example:
= vim.diff('something one', 'something extra one', {result_type = 'indices'})

--> { { 1, 1, 1, 1 } }

(same result for removing the text)

I think either a little red highlight around the position the deleted text was, or the deleted text itself but highlighted in red. Probably keep it similar to gitsigns.
Yeah, I want to keep the text as close as possible to what rg generated, so don't want to have the deleted text in there.

So I think the most we could show would be a gitsigns style vertical bar or somesuch in the sign column. Essentially an indicator that you edited that text.

Ok, so I luckily happened to watch a video by tjdevries that talked about the vim.api.nvim_buf_attach() function and that turned out to be what was needed to fix our perf issues since it tells you which lines changed on every change event. So I can incrementally update the change indicators.

The change is in: https://github.com/MagicDuck/grug-far.nvim/pull/73
Note that there's a new icon and highlight for the indicator in the sign column. I tried to make it look like gitsigns 😄
Closing as it's addressed, but feel free to provide further feedback!


Error in use

File not found: '/home/runner/work/_actions/hmanzur/actions-set-secret/2.0.2/dist/index.js'
Another Problem is the latest version is 2.0.2 not v2.0.2
Would it cause this Problem?

it appears that there are two separate issues at play:
a) in v2.0.1 dist/index.js stopped being published to the repo, making it so consumers are unable to use the action.
b) in v2.0.2 the wrong tag format was used, making it so hmanzur/actions-set-secret@v2 will no longer work.
@hmanzur please run npm run build, push the changes and create a new tag v2.0.3. also please delete this malformed tag.
in the mean time to continue using this action you must hardcode to the last working version by doing this:
uses<EMAIL_ADDRESS>

it appears that there are two separate issues at play:
a) in v2.0.1 dist/index.js stopped being published to the repo, making it so consumers are unable to use the action.
b) in v2.0.2 the wrong tag format was used, making it so hmanzur/actions-set-secret@v2 will no longer work.
@hmanzur please run npm run build, push the changes and create a new tag v2.0.3. also please delete this malformed tag.
in the mean time to continue using this action you must hardcode to the last working version by doing this:
uses<EMAIL_ADDRESS>

uses<EMAIL_ADDRESS>is no longer available in github actions; only v1.0.0.  Is there a plan to release a new versioned action shortly?


AutoML's best val_loss is still incorrect for TransformersEstimator

There's a bug that makes AutoML's best val_loss is still incorrect (and larger) for TransformersEstimator.

To reproduce, run the experiment in Jupyter notebook.

in seqclass.log, validation_loss is smaller than the min of eval_automl_metric.


⚠ Bofrost.at has degraded performance

In 27cc680, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1270 ms

Resolved: Bofrost.at performance has improved in 3eafffb after 313 days, 4 hours, 35 minutes.


How i inject custom css and js files in my webview from local asset folder

How i inject custom css and js files in my webview
for eg :
<html>
<head>
<link rel="stylesheet" href="bootstrap.min.css">
<script src="jquery-3.2.1.min.js"></script>
<script src="bootstrap.min.js"></script>

<script type="text/javascript">
</script>
	$(document).ready(function() {
		try {
			console.log("onReady called...");
		} catch(err) {
			onError("Error in On Ready Function..! "+err.message);
		}
	});
</head>
</html>

Hi @urvesh-educloud
I see you already opened a question on stackoverflow,
that's the right approach since this platform is not met for assistance on personal code.
Please see https://flutter.dev/community for resources for asking questions like this.
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


Status

What is the status of this SDK?

It's used for several add-ons for built-in DevTools (like e.g. FireQuery, PixelPerfect, WebSocketMonitor, etc.). But, it isn't currently actively maintained and there are no specific further plans.
Honza


Run coverage on Python 3.12 for hopeful speed boost

📚 Documentation preview 📚: https://datasette--2245.org.readthedocs.build/en/2245/

That didn't seem to make a notable difference - in fact this took 4m47s to run the tests compared to 4m34s on an older Python 3.9 run.
I'm going to land it anyway, may as well do the upgrade.


Script not compatible with Posh-ACME version 4.7.0 or above

Fixes Issue #4 and adds some improvements from other suggestions / PR's. I believe it also may fix #9 and #5 as well.

This sorted the issues I was having setting this up.  Many thanks.

Can confirm the two Powershell scripts work fine with Posh-Acme 4.14.0.


Domain block copy function doesn't work

Domain block copy function doesn't work. Behaviour of this function doesn't change even if I change params.
`
from := fmt.Sprintf("%s/disks/%s.img", ct.StoragePath, domainuuid)
to := fmt.Sprintf("%s/backups/%s_%d.img", ct.StoragePath, domainuuid, time.Now().Unix())
params := libvirt.DomainBlockCopyParameters{
	BandwidthSet:   true,
	Bandwidth:<PHONE_NUMBER>,
	GranularitySet: true,
	Granularity:    512,
}

xmlTmpl := fmt.Sprintf("<disk type='file'>
<driver type='qcow2'/>
<source file='%s'/>
</disk>", to)

// Undefine if domain is not transient
//err = domain.Undefine()
//if err != nil {
//	ct.Log.Error(err)
//	return false, err
//}

err = domain.BlockCopy(from, xmlTmpl, &params, libvirt.DOMAIN_BLOCK_COPY_SHALLOW)
if err != nil {
	ct.Log.Error(err)
	return false, err
}

`
`SIGABRT: abort
PC=0x7f8c805a5428 m=10
signal arrived during cgo execution
goroutine 24 [syscall, locked to thread]:
runtime.cgocall(0x8ceb50, 0xc820045318, 0xc800000000)
/usr/lib/go-1.6/src/runtime/cgocall.go:123 +0x11b fp=0xc8200452e0 sp=0xc8200452b0
github.com/libvirt/libvirt-go._Cfunc_free(0x7f8c5c000b50)
??:0 +0x36 fp=0xc820045318 sp=0xc8200452e0
github.com/libvirt/libvirt-go.(*Domain).BlockCopy(0xc820154070, 0xc82012a5c0, 0x39, 0xc82014c240, 0x8c, 0xc820128870, 0x1, 0x7f8c6ee634f0, 0xc8201288d0)
/root/development/projects/vs-agent/vendor/src/github.com/libvirt/libvirt-go/domain.go:1966 +0x55f fp=0xc820045440 sp=0xc820045318
main.DomainBackup(0xc820073ce0, 0x24, 0x0, 0x0, 0x0)
/root/development/projects/vs-agent/src/vs-agent/domain.go:303 +0xa3f fp=0xc820045620 sp=0xc820045440
runtime.call64(0xc82012a580, 0xbfb730, 0xc820128840, 0x1000000028)
/usr/lib/go-1.6/src/runtime/asm_amd64.s:473 +0x3e fp=0xc820045668 sp=0xc820045620
reflect.Value.call(0x9b8400, 0xbfb730, 0x13, 0xad92b8, 0x4, 0xc82012e8a0, 0x1, 0x1, 0x0, 0x0, ...)
/usr/lib/go-1.6/src/reflect/value.go:435 +0x120d fp=0xc8200459b8 sp=0xc820045668
reflect.Value.Call(0x9b8400, 0xbfb730, 0x13, 0xc82012e8a0, 0x1, 0x1, 0x0, 0x0, 0x0)
/usr/lib/go-1.6/src/reflect/value.go:303 +0xb1 fp=0xc820045a18 sp=0xc8200459b8
github.com/RichardKnop/machinery/v1.TryCall(0x9b8400, 0xbfb730, 0x13, 0xc82012e8a0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, ...)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:249 +0xef fp=0xc820045a98 sp=0xc820045a18
github.com/RichardKnop/machinery/v1.(*Worker).Process(0xc820100200, 0xc8200e42c0, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:91 +0x64a fp=0xc820045bd8 sp=0xc820045a98
github.com/RichardKnop/machinery/v1/brokers.(*AMQPBroker).consumeOne(0xc8201040c0, 0x7f8c8136cb38, 0xc820184100, 0x0, 0xc82019a020, 0x10, 0x0, 0x0, 0x2, 0x0, ...)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/brokers/amqp.go:175 +0x5ba fp=0xc820045e18 sp=0xc820045bd8
github.com/RichardKnop/machinery/v1/brokers.(*AMQPBroker).consume.func2(0xc8201040c0, 0xc820096640, 0x7f8c6ee5e000, 0xc820100200, 0xc82006d140, 0x5, 0xc82006d0e0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/brokers/amqp.go:207 +0x77 fp=0xc820045f68 sp=0xc820045e18
runtime.goexit()
/usr/lib/go-1.6/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820045f70 sp=0xc820045f68
created by github.com/RichardKnop/machinery/v1/brokers.(*AMQPBroker).consume
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/brokers/amqp.go:212 +0x277
goroutine 1 [chan receive]:
main.main()
/root/development/projects/vs-agent/src/vs-agent/main.go:60 +0x5bf
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/go-1.6/src/runtime/asm_amd64.s:1998 +0x1
goroutine 20 [syscall]:
os/signal.signal_recv(0x0)
/usr/lib/go-1.6/src/runtime/sigqueue.go:116 +0x132
os/signal.loop()
/usr/lib/go-1.6/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/lib/go-1.6/src/os/signal/signal_unix.go:28 +0x37
goroutine 21 [chan receive]:
vs-agent/context.virtConnect(0xc82006cf00)
/root/development/projects/vs-agent/src/vs-agent/context/context.go:103 +0x5c
created by vs-agent/context.NewContext.func1
/root/development/projects/vs-agent/src/vs-agent/context/context.go:78 +0x4e4
goroutine 34 [syscall, locked to thread]:
github.com/libvirt/libvirt-go._Cfunc_virEventRunDefaultImpl(0x7f8c00000000)
??:0 +0x45
github.com/libvirt/libvirt-go.EventRunDefaultImpl(0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/libvirt/libvirt-go/events.go:53 +0x28
vs-agent/context.libvirtEvents(0xc82006cf00)
/root/development/projects/vs-agent/src/vs-agent/context/context.go:148 +0x178
created by vs-agent/context.NewContext.func1
/root/development/projects/vs-agent/src/vs-agent/context/context.go:88 +0x549
goroutine 35 [chan receive]:
github.com/RichardKnop/machinery/v1.(*Worker).Launch(0xc820100160, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:50 +0x11a6
created by main.main
/root/development/projects/vs-agent/src/vs-agent/main.go:52 +0x35b
goroutine 36 [chan receive]:
github.com/RichardKnop/machinery/v1.(*Worker).Launch(0xc820100200, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:50 +0x11a6
created by main.main
/root/development/projects/vs-agent/src/vs-agent/main.go:53 +0x384
goroutine 37 [chan receive]:
github.com/RichardKnop/machinery/v1.(*Worker).Launch(0xc8201000c0, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:50 +0x11a6
created by main.main
/root/development/projects/vs-agent/src/vs-agent/main.go:54 +0x3ad
goroutine 38 [select, locked to thread]:
runtime.gopark(0xbfbf18, 0xc8200fa728, 0xade0b8, 0x6, 0x18, 0x2)
/usr/lib/go-1.6/src/runtime/proc.go:262 +0x163
runtime.selectgoImpl(0xc8200fa728, 0x0, 0x18)
/usr/lib/go-1.6/src/runtime/select.go:392 +0xa67
runtime.selectgo(0xc8200fa728)
/usr/lib/go-1.6/src/runtime/select.go:215 +0x12
runtime.ensureSigM.func1()
/usr/lib/go-1.6/src/runtime/signal1_unix.go:279 +0x358
runtime.goexit()
/usr/lib/go-1.6/src/runtime/asm_amd64.s:1998 +0x1
goroutine 50 [select]:
github.com/RichardKnop/machinery/v1/brokers.(*AMQPBroker).consume(0xc8201040c0, 0xc82006d020, 0x7f8c6ee5e000, 0xc820100200, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/brokers/amqp.go:196 +0x2d5
github.com/RichardKnop/machinery/v1/brokers.(*AMQPBroker).StartConsuming(0xc8201040c0, 0xb6c1c0, 0x18, 0x7f8c6ee5e000, 0xc820100200, 0x0, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/brokers/amqp.go:88 +0x7bd
github.com/RichardKnop/machinery/v1.(*Worker).Launch.func1(0x7f8c81324000, 0xc8201040c0, 0xc820100200, 0xc820132060)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:39 +0xa0
created by github.com/RichardKnop/machinery/v1.(*Worker).Launch
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:48 +0x116d
goroutine 3 [select]:
github.com/RichardKnop/machinery/v1/brokers.(*AMQPBroker).consume(0xc820104080, 0xc820132660, 0x7f8c6ee5e000, 0xc820100160, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/brokers/amqp.go:196 +0x2d5
github.com/RichardKnop/machinery/v1/brokers.(*AMQPBroker).StartConsuming(0xc820104080, 0xb6c1e0, 0x18, 0x7f8c6ee5e000, 0xc820100160, 0x0, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/brokers/amqp.go:88 +0x7bd
github.com/RichardKnop/machinery/v1.(*Worker).Launch.func1(0x7f8c81324000, 0xc820104080, 0xc820100160, 0xc820130060)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:39 +0xa0
created by github.com/RichardKnop/machinery/v1.(*Worker).Launch
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:48 +0x116d
goroutine 39 [select]:
github.com/RichardKnop/machinery/v1/brokers.(*AMQPBroker).consume(0xc820104000, 0xc820130480, 0x7f8c6ee5e000, 0xc8201000c0, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/brokers/amqp.go:196 +0x2d5
github.com/RichardKnop/machinery/v1/brokers.(*AMQPBroker).StartConsuming(0xc820104000, 0xb6c200, 0x1c, 0x7f8c6ee5e000, 0xc8201000c0, 0x0, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/brokers/amqp.go:88 +0x7bd
github.com/RichardKnop/machinery/v1.(*Worker).Launch.func1(0x7f8c81324000, 0xc820104000, 0xc8201000c0, 0xc82010c180)
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:39 +0xa0
created by github.com/RichardKnop/machinery/v1.(*Worker).Launch
/root/development/projects/vs-agent/vendor/src/github.com/RichardKnop/machinery/v1/worker.go:48 +0x116d
goroutine 40 [IO wait]:
net.runtime_pollWait(0x7f8c6ee5ef20, 0x72, 0xc820163000)
/usr/lib/go-1.6/src/runtime/netpoll.go:160 +0x60
net.(*pollDesc).Wait(0xc820152060, 0x72, 0x0, 0x0)
/usr/lib/go-1.6/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc820152060, 0x0, 0x0)
/usr/lib/go-1.6/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc820152000, 0xc820163000, 0x1000, 0x1000, 0x0, 0x7f8c81364028, 0xc82006e0a0)
/usr/lib/go-1.6/src/net/fd_unix.go:250 +0x23a
net.(*conn).Read(0xc820160000, 0xc820163000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/go-1.6/src/net/net.go:172 +0xe4
bufio.(*Reader).fill(0xc82010c3c0)
/usr/lib/go-1.6/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Read(0xc82010c3c0, 0xc82012cc68, 0x7, 0x7, 0x1, 0x0, 0x0)
/usr/lib/go-1.6/src/bufio/bufio.go:207 +0x260
io.ReadAtLeast(0x7f8c81324210, 0xc82010c3c0, 0xc82012cc68, 0x7, 0x7, 0x7, 0x0, 0x0, 0x0)
/usr/lib/go-1.6/src/io/io.go:297 +0xe6
io.ReadFull(0x7f8c81324210, 0xc82010c3c0, 0xc82012cc68, 0x7, 0x7, 0xc82010c360, 0x0, 0x0)
/usr/lib/go-1.6/src/io/io.go:315 +0x62
github.com/streadway/amqp.(*reader).ReadFrame(0xc820149ee0, 0x0, 0x0, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/read.go:49 +0xbd
github.com/streadway/amqp.(*Connection).reader(0xc82010a360, 0x7f8c81324178, 0xc820160000)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:503 +0x172
created by github.com/streadway/amqp.Open
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:221 +0x3e8
goroutine 52 [IO wait]:
net.runtime_pollWait(0x7f8c6ee5efe0, 0x72, 0xc82016a000)
/usr/lib/go-1.6/src/runtime/netpoll.go:160 +0x60
net.(*pollDesc).Wait(0xc82014e060, 0x72, 0x0, 0x0)
/usr/lib/go-1.6/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc82014e060, 0x0, 0x0)
/usr/lib/go-1.6/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc82014e000, 0xc82016a000, 0x1000, 0x1000, 0x0, 0x7f8c81364028, 0xc82006e0a0)
/usr/lib/go-1.6/src/net/fd_unix.go:250 +0x23a
net.(*conn).Read(0xc820154008, 0xc82016a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/go-1.6/src/net/net.go:172 +0xe4
bufio.(*Reader).fill(0xc82010c420)
/usr/lib/go-1.6/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Read(0xc82010c420, 0xc82019a037, 0x7, 0x7, 0x0, 0x0, 0x0)
/usr/lib/go-1.6/src/bufio/bufio.go:207 +0x260
io.ReadAtLeast(0x7f8c81324210, 0xc82010c420, 0xc82019a037, 0x7, 0x7, 0x7, 0x0, 0x0, 0x0)
/usr/lib/go-1.6/src/io/io.go:297 +0xe6
io.ReadFull(0x7f8c81324210, 0xc82010c420, 0xc82019a037, 0x7, 0x7, 0xc820132240, 0x0, 0x0)
/usr/lib/go-1.6/src/io/io.go:315 +0x62
github.com/streadway/amqp.(*reader).ReadFrame(0xc820173ee0, 0x0, 0x0, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/read.go:49 +0xbd
github.com/streadway/amqp.(*Connection).reader(0xc820168000, 0x7f8c81324178, 0xc820154008)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:503 +0x172
created by github.com/streadway/amqp.Open
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:221 +0x3e8
goroutine 53 [IO wait]:
net.runtime_pollWait(0x7f8c6ee5ee60, 0x72, 0xc82016c000)
/usr/lib/go-1.6/src/runtime/netpoll.go:160 +0x60
net.(*pollDesc).Wait(0xc820150060, 0x72, 0x0, 0x0)
/usr/lib/go-1.6/src/net/fd_poll_runtime.go:73 +0x3a
net.(*pollDesc).WaitRead(0xc820150060, 0x0, 0x0)
/usr/lib/go-1.6/src/net/fd_poll_runtime.go:78 +0x36
net.(*netFD).Read(0xc820150000, 0xc82016c000, 0x1000, 0x1000, 0x0, 0x7f8c81364028, 0xc82006e0a0)
/usr/lib/go-1.6/src/net/fd_unix.go:250 +0x23a
net.(*conn).Read(0xc820154018, 0xc82016c000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/go-1.6/src/net/net.go:172 +0xe4
bufio.(*Reader).fill(0xc820132420)
/usr/lib/go-1.6/src/bufio/bufio.go:97 +0x1e9
bufio.(*Reader).Read(0xc820132420, 0xc82000ef38, 0x7, 0x7, 0x6, 0x0, 0x0)
/usr/lib/go-1.6/src/bufio/bufio.go:207 +0x260
io.ReadAtLeast(0x7f8c81324210, 0xc820132420, 0xc82000ef38, 0x7, 0x7, 0x7, 0x0, 0x0, 0x0)
/usr/lib/go-1.6/src/io/io.go:297 +0xe6
io.ReadFull(0x7f8c81324210, 0xc820132420, 0xc82000ef38, 0x7, 0x7, 0xc8201323c0, 0x0, 0x0)
/usr/lib/go-1.6/src/io/io.go:315 +0x62
github.com/streadway/amqp.(*reader).ReadFrame(0xc820145ee0, 0x0, 0x0, 0x0, 0x0)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/read.go:49 +0xbd
github.com/streadway/amqp.(*Connection).reader(0xc820168120, 0x7f8c81324178, 0xc820154018)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:503 +0x172
created by github.com/streadway/amqp.Open
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:221 +0x3e8
goroutine 41 [select]:
github.com/streadway/amqp.(*Connection).heartbeater(0xc82010a360, 0x2540be400, 0xc82010c480)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:533 +0x506
created by github.com/streadway/amqp.(*Connection).openTune
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:754 +0x805
goroutine 4 [select]:
github.com/streadway/amqp.(*Connection).heartbeater(0xc820168000, 0x2540be400, 0xc820130120)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:533 +0x506
created by github.com/streadway/amqp.(*Connection).openTune
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:754 +0x805
goroutine 54 [select]:
github.com/streadway/amqp.(*Connection).heartbeater(0xc820168120, 0x2540be400, 0xc820132480)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:533 +0x506
created by github.com/streadway/amqp.(*Connection).openTune
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/connection.go:754 +0x805
goroutine 55 [chan receive]:
github.com/streadway/amqp.bufferDeliveries(0xc8201326c0, 0xc820132660)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/consumers.go:38 +0x7b
created by github.com/streadway/amqp.(*consumers).add
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/consumers.go:74 +0x10b
goroutine 6 [chan receive]:
github.com/streadway/amqp.bufferDeliveries(0xc8201304e0, 0xc820130480)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/consumers.go:38 +0x7b
created by github.com/streadway/amqp.(*consumers).add
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/consumers.go:74 +0x10b
goroutine 22 [chan receive]:
github.com/streadway/amqp.bufferDeliveries(0xc82006d080, 0xc82006d020)
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/consumers.go:38 +0x7b
created by github.com/streadway/amqp.(*consumers).add
/root/development/projects/vs-agent/vendor/src/github.com/streadway/amqp/consumers.go:74 +0x10b
rax    0x0
rbx    0x55
rcx    0x7f8c805a5428
rdx    0x6
rdi    0x7c5a
rsi    0x7c62
rbp    0x7f8c6de5ab10
rsp    0x7f8c6de5a778
r8     0x10
r9     0x400
r10    0x8
r11    0x206
r12    0x55
r13    0x7f8c6de5a928
r14    0x7f8c6de5a928
r15    0x2
rip    0x7f8c805a5428
rflags 0x206
cs     0x33
fs     0x0
gs     0x0`

Thanks for the report, I'll write a integration test to cover this scenario and figure out a fix

Fun, this is non-deterministic - works locally for me but fails under travis some of the time

Turns out to be memory corruption from failing to setup typed parameters correctly, but only impacts certain libvirt versions. It is fixed in
commit 1dfd5832a97b19c1ac136973a495c085f66ca21f
Author: Daniel P. Berrange<EMAIL_ADDRESS>Date:   Tue Dec 20 14:33:28 2016 +0000
Ensure we set parameter type correctly

When allocating a new virTypedParameter array we were forgetting
to initialize the parameter type, causing non-deterministic
failures

Signed-off-by: Daniel P. Berrange<EMAIL_ADDRESS>


Implement std::variant as bit::stl::variant

This adds the C++17 utility, std::variant, as bit::stl::variant.
It is implemented to follow the standard's spec for the following:

noexcept status on constructors/assignment
constexpr status on constructors/get

Currently missing functionality is noexcept status for swap, due to the non-existent is_nothrow_swappable.
Additionally, std::visit is left unimplemented

Closes #11


Sort out html tags on main.md

The use of 'article' to wrap everything isinconsistent with the rest of the site
Makes formatting that page different to all the rest.
Probably just needs stripping out
Assignees:
Labels:

Closed via #39


provide archetype

Might speed up setting up new camunda spring boot projects if we would provide an archetype

Copied to https://app.camunda.com/jira/browse/CAM-8297.
Please continue working on this in Jira.