Search no longer working

Hi,
Thank you for this wonderful plugin for Cura.
Just upgraded to version 2.1.0 and now it is no longer possible to search. When entering anything in the search box and pressing search shows no result. The spinner in the bottom of the window just keeps spinning. Is there anything I can do to get more log output to help out with this issue?
Cura 4.6.1 Linux
Thingibrowser 2.1.0

I can reproduce this for Thingiverse indeed, MyMiniFactory seems fine. Will investigate and publish a fix if needed.

I've investigated and the problem is that Thingiverse decided to make a breaking change to their API (again....). The search results now come back in a 'hits' field instead of being at the root of the JSON response. I'll patch the plugin to parse this correctly and release an update somewhere the coming week.

Awesome! You are the best!

I have submitted a release to Ultimaker to get this fix into the Marketplace. Until then you can try this out locally by dragging the .curapackage file from https://github.com/ChrisTerBeke/ThingiBrowser/releases/tag/v2.1.1 onto the build plate and restart Cura.

Works perfectly. Although "My Collections" does not work. It just keeps spinning as well. Maybe Thinigverse has changed this API too?


Cmake - make fails after a clean

Describe the bug
Using cmake, make command fails after clean previous build with make clean
To Reproduce
Steps to reproduce the behavior.

cmake -B build/
cd build
make clean
make -j 8

Expected behavior
Build should succeed
Screenshots
NA
Desktop or embedded (please complete the following information):

OS: Ubuntu
Version 22.04
Hardware x86
Compiler [g++
AREG SDK version: master

Additional context
/usr/bin/ld: cannot open output file ../product/build/gnu-c++/linux-64-x86_64-release-shared/bin/libareg.so: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/areg.dir/build.make:3057: ../product/build/gnu-c++/linux-64-x86_64-release-shared/bin/libareg.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:289: CMakeFiles/areg.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

This is probably because the bin directory has been removed with make clean

@biwiki , thank you for bug report.
Yes, this is because linux-64-x86_64-release-shared with subdirectories is removed. Technically, the solution should be restoring the directories. I need to think about the solution. It is not only creating directories linux-64-x86_64-release-shared/bin and linux-64-x86_64-release-shared/lib, but also copying files like areg.init. See the CMakeLists.txt in the framework
# copying log and router init files to 'bin/config'
file(MAKE_DIRECTORY ${AREG_OUTPUT_BIN}/config)
file(COPY ${AREG_BASE}/areg/resources/areg.init DESTINATION ${AREG_OUTPUT_BIN}/config)

if("${AREG_DEVELOP_ENV}" STREQUAL "Win32")
    file(COPY ${mcrouter_RESOURCE}/mcrouter_install.bat DESTINATION ${AREG_OUTPUT_BIN}/)
    file(COPY ${mcrouter_RESOURCE}/mcrouter_uninstall.bat DESTINATION ${AREG_OUTPUT_BIN}/)
    file(COPY ${logger_RESOURCE}/logger_install.bat DESTINATION ${AREG_OUTPUT_BIN}/)
    file(COPY ${logger_RESOURCE}/logger_uninstall.bat DESTINATION ${AREG_OUTPUT_BIN}/)
else()
    file(COPY ${mcrouter_RESOURCE}/mcrouter.service DESTINATION ${AREG_OUTPUT_BIN}/)
    file(COPY ${logger_RESOURCE}/logger.service DESTINATION ${AREG_OUTPUT_BIN}/)
endif()

I think, I found the rook cause. In the common.cmake file there is a script like this:
# Adding areg/product directory for clean-up
set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_CLEAN_FILES ${AREG_OUTPUT_DIR})

The AREG_OUTPUT_DIR is product/build/gnu-c++/linux-64-x86_64-release-shared. That's why, when call clean it deletes the directory with all content.
I added this script, thinking that it is easier to remove all. Now need to think either to remove this script or find the way to recreate the structure during build.

Yes, I came across common.cmake and found that too. I think it would be more clean to create bin directory during the compilation, not at cmake command

@biwiki , I've fixed the bug. Please check and review PR #373


Use custom error types

Replace error strings with custom error types: https://blog.soliditylang.org/2021/04/21/custom-errors/

Hi, @ItsNickBarry,
I can help with the this issue.
It will be a large commits including replacement and testing. I think it should create a branch for this issue. After everything is done, then merge into the master.

Okay, that would be appreciated.  There are two open-ended questions that will need to be answered:

Can we apply a naming convention to error types?  Should we include contract name in the error name?  For example, the existing error "Ownable: sender must be owner" could be replaced with something like OwnableSenderMustBeOwner or OwnableUnauthorized, or simply Unauthorized.
What arguments should be included in the custom errors?  This will vary case-by-case.  Use your judgment, and we'll review later.

I think it is OK for both included contract name or not. If not included the name, it should be careful that different contracts might have the same reason string. For example, "ERC20: transfer to the zero address" and "ERC721: transfer to the zero address" in Openzeppelin's implementation. But I didn't find that in solidstate-solidity.

From my opinion, it is rare that arguments are placed in reason string. For example, "Ownable: ${address} is not the owner". For most of cases, good naming of custom error is enough. Arguments are included if providing better readability.

Some of the cases below providing arguments will be better:

https://github.com/solidstate-network/solidstate-solidity/blob/0ba5ba119773ba5f4d1d10c671ec04331adeb952/contracts/utils/EnumerableMap.sol#L167

error NonexistentKey(bytes32 key)

https://github.com/solidstate-network/solidstate-solidity/blob/0ba5ba119773ba5f4d1d10c671ec04331adeb952/contracts/utils/EnumerableMap.sol#L146

error OutOfBounds(uint256 bound)

I agree.  Let's not include contract name in the error names.  Go ahead and make the changes on your branch, and PR when ready.

@ItsNickBarry
Addressing some issues here.

after adding custom error, abstract contracts and libraries also generated abi in /api. For example, ECDSA generated the abi but only error selectors. I don't think it is OK.

About testing, waffle supports custom error. Here's the PR. However, it combines reason string and custom error and make confused readability. I might propose hardhat-chai-matchers.

Right, I forgot that library ABIs would be generated separately.  I suppose that means that the errors defined in libraries only appear in the library ABIs, and not in the contract ABIs?  I've had the same issue with events in the past.
If so, that might make this change untenable until tools are available to easily include library ABIs in the relevant contracts.

I don't know if it is OK to generate abi that user don't need. If a contract is import a .sol, which will generate the same abi.

Maybe I misunderstood.  I did a test, and it seems like errors defined in libraries are properly included in the ABIs of contracts that import them.  In that case, I don't see any issues.

I don't know if it is OK to generate abi that user don't need. If a contract is import a .sol, which will generate the same abi.

It's okay if extra ABIs are generated.

@Lumyo has opened PR #139.


Footer Social Icons

Can we add social icons to the footer? What plugin do you suggest?

@joshuag65 Are you just looking for a row of icons linked to the appropriate social media page (see screenshot for example)?  If so I can create a widget for that pretty quick without the overhead of adding an entire plugin.

@joshuag65 forgot to attach screenshot, here it is

Yes.
Joshua Gale
Senior Director of Marketing
[A picture containing logo  Description automatically generated]http://chapmancommunities.org/
8020 Forsyth Boulevard | St. Louis, MO 63105-1707
M:<PHONE_NUMBER>
<EMAIL_ADDRESS>[signature_3006834026]https://www.facebook.com/ChapmanCommunities
[signature_1978767102]https://www.linkedin.com/company/chapmancommunities/
[Graphical user interface  Description automatically generated]https://www.chapmancommunities.org/
Take a classhttps://connect.chapmancommunities.org/page/events and sign up for our newsletterhttps://www.chapmancommunities.org/newsletter!
From: Space Pirate Productions @.>
Date: Monday, September 19, 2022 at 7:41 PM
To: space-pirate-productions/chapmancommunities @.>
Cc: Gale, Joshua (Chapman Communities) @.>, Mention @.>
Subject: Re: [space-pirate-productions/chapmancommunities] Footer Social Icons (Issue #28)
@joshuag65https://urldefense.com/v3/__https:/github.com/joshuag65__;!!JWpd780U2qK2pF4!Tu9h53R5N4LL1m287iod8BC0UJx5f4TqRBXShNgu9H1MqZDV9FSVrRbaZX7lUSTRvKF79RP-TqpFsfJduYsqJAAkQFiLAVEHqe35$ Are you just looking for a row of icons linked to the appropriate social media page (see screenshot for example)? If so I can create a widget for that pretty quick without the overhead of adding an entire plugin.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/space-pirate-productions/chapmancommunities/issues/28*issuecomment-1251681086__;Iw!!JWpd780U2qK2pF4!Tu9h53R5N4LL1m287iod8BC0UJx5f4TqRBXShNgu9H1MqZDV9FSVrRbaZX7lUSTRvKF79RP-TqpFsfJduYsqJAAkQFiLARqLpDck$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/A3BWJJ224WT6ZPXGLRJFN5DV7D22LANCNFSM6AAAAAAQQOTQQQ__;!!JWpd780U2qK2pF4!Tu9h53R5N4LL1m287iod8BC0UJx5f4TqRBXShNgu9H1MqZDV9FSVrRbaZX7lUSTRvKF79RP-TqpFsfJduYsqJAAkQFiLASGaxJI6$.
You are receiving this because you were mentioned.Message ID: @.***>

@joshuag65 perfect.  I'll get a widget created and added to the site.  Shouldn't take too long.  Should have it up in a day or so.

:tada: This issue has been resolved in version 0.0.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

@joshuag65 I've added a "Social Icons" widget (accessible under Apperance -> Widgets) that you can add to any of the footer columns.  You can select the platform and add whatever URL you want it to link too and it render the icons on the front end.  Let me know if there are any social media platforms that you need that I didn't include.


Scrolling modals with iOS is not fluid

If you open a modal in iOS (tested on 10) that needs to be scrolled (http://getbootstrap.com/docs/4.0/components/modal/#scrolling-long-content) the scroll of the modal is not fluid.
I'm not sure if this is related to this bug and the scroll of the modal is laggy because of the background or if it's a different bug.

Hi @natcohen thanks for reporting this. I'll close this issue since there is a discussion about this topic here #24737


Add support for the time crate

Most libraries are moving away from chrono to the time crate.
Would be nice to have the same support for openapi.
Thanks!

Neat, will do at some point probably before next release.


sfdx force:project:create generates a project with an unexpected sourceAPIVersion in the sfdx-project.json

Summary
sfdx force:project:create generates a project with a sfdx-project.json sourceAPIVersion which is hardcoded in @salesforce/templates/package.json
Steps To Reproduce:
sfdx config:set apiVersion=57.0 -g
sfdx force:project:create
Expected result
The sourceAPIVersion in sfdx-project.json should be 57.0
The sourceApiVersion in the sfdx-project.json should get the value from the sfdx-config.json first, if not defined there it should take the default value as it is now.
Actual result
It is always taken from the hardcoded "version" attribute in an internal @salesforce/templates/package.json
System Information
{
"cliVersion": "sfdx-cli/7.187.1",
"architecture": "win32-x64",
"nodeVersion": "node-v18.1.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 1.4.4 (core)",
"@oclif/plugin-commands 2.2.5 (core)",
"@oclif/plugin-help 5.2.2 (core)",
"@oclif/plugin-not-found 2.3.17 (core)",
"@oclif/plugin-plugins 2.3.0 (core)",
"@oclif/plugin-search 0.0.11 (core)",
"@oclif/plugin-update 3.1.1 (core)",
"@oclif/plugin-version 1.2.1 (core)",
"@oclif/plugin-warn-if-update-available 2.0.24 (core)",
"@oclif/plugin-which 2.2.12 (core)",
"alias 2.2.0 (core)",
"apex 1.5.0 (core)",
"auth 2.4.0 (core)",
"community 2.2.0 (core)",
"config 1.5.0 (core)",
"custom-metadata 2.1.0 (core)",
"data 2.2.0 (core)",
"generator 2.0.17 (core)",
"info 2.4.0 (core)",
"limits 2.3.0 (core)",
"org 2.3.0 (core)",
"packaging 1.14.1 (core)",
"schema 2.3.0 (core)",
"signups 1.4.0 (core)",
"source 2.4.1 (core)",
"telemetry 2.1.0 (core)",
"templates 55.3.0 (core)",
"trust 2.4.0 (core)",
"user 2.3.0 (core)",
"@salesforce/sfdx-plugin-lwc-test 1.0.1 (core)",
"salesforce-alm 54.8.5 (core)"
],
"osVersion": "Windows_NT 10.0.19044",
"shell": "cmd.exe",
"rootPath": "C:\Users\M65F134\Downloads\node-v18.1.0-win-x64\node_modules\sfdx-cli"
}
Additional information
The same erroneous behavior is also in the latest-rc version: 7.188.1

I agree that's how it should work (use an --api-version flag that respects the config value like many other commands do).

This is now in the latest CLI, 7.208.10


error: include of non-modular header inside framework module 'Log4swift.log4swift'

:1:9: note: in file included from :1:
#import "/Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h"
^
/Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h:3:9: note: in file included from /Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h:3:
#import "log4swift.h"
^
/Users/liorshalev01/heylo/heylo-ios/Pods/Log4swift/Log4swift/log4swift.h:30:9: error: include of non-modular header inside framework module 'Log4swift.log4swift'
#import <Log4swift/NSLogger.h>
^
:1:9: note: in file included from :1:
#import "/Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h"
^
/Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h:3:9: note: in file included from /Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h:3:
#import "log4swift.h"
^
/Users/liorshalev01/heylo/heylo-ios/Pods/Log4swift/Log4swift/log4swift.h:31:9: error: include of non-modular header inside framework module 'Log4swift.log4swift'
#import <Log4swift/LoggerClient.h>
^
Hi,
Xcode 7.1
Podfile:
use_frameworks!
target 'Heylo' do
pod 'Log4swift', '1.0.0b4'
pod 'AWSCore', '~> 2.3'
pod 'AWSCognito', '~> 2.3'
pod 'Fabric', '~> 1.6'
pod 'TwitterCore', '~> 1.14'
pod 'TwitterKit', '~> 1.14'
pod 'PromiseKit', '~> 3.0'
pod 'AFNetworking', '3.0.0-beta.3'
end
:1:9: note: in file included from :1:
#import "/Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h"
^
/Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h:3:9: note: in file included from /Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h:3:
#import "log4swift.h"
^
/Users/liorshalev01/heylo/heylo-ios/Pods/Log4swift/Log4swift/log4swift.h:32:9: error: include of non-modular header inside framework module 'Log4swift.log4swift'
#import <Log4swift/LoggerCommon.h>
^
:1:9: note: in file included from :1:
#import "/Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h"
^
/Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h:3:9: note: in file included from /Users/liorshalev01/heylo/heylo-ios/Pods/Target Support Files/Log4swift/Log4swift-umbrella.h:3:
#import "log4swift.h"
^
/Users/liorshalev01/heylo/heylo-ios/Pods/Log4swift/Log4swift/log4swift.h:34:9: error: include of non-modular header inside framework module 'Log4swift.log4swift'
#import <Log4swift/ASLWrapper.h>
^
:0: error: could not build Objective-C module 'Log4swift'

Hi liorshalev01,
It looks like very similar to that issue Josete89 had a few months ago : https://github.com/jduquennoy/Log4swift/issues/3
The conclusion was that there was a problem with cocoapods, that was solved with Xcode 7.0, but back with Xcode 7.1.
Here is the bug at cocoaPod for this problem : https://github.com/CocoaPods/CocoaPods/issues/3767
Can you try to compile your project with Xcode 7.0 ? That could be useful to confirm the diagnostic.
Thanks,
Jérôme

Hi again liorshalev01,
I have pushed a commit that might fix the problem of non modular header.
Can you give it a try, and tell me if it works better ?
Thanks,
Jérôme

Closing issue, as I have not more feedback.
Don't hesitate to re-open if needed !


Problem with connection to Xiaomi Vacuum X20+ (xiaomi.vacuum.c102gl) in v2.0.0b16

I'm trying to connect with version v2.0.0b16 which is theoretically compatible with Xiamo Vaccum X20+ (xiaomi.vacuum.c102gl) but when I try to connect with my cloud credentials it says that it doesn't recognize any compatible device.
https://github.com/Tasshack/dreame-vacuum/blob/272458bbe72d48bfac8262f08a432938d0abb14e/docs/supported_devices.md

Error:

It should be the DE server, but I have tried all of them and the same error occurs on all of them.
What could I be doing wrong?
Thanks

Es posible que tu dispositivo no sea c102gl¿cómo lo confirmas?

I really don't know how to confirm this. I've searched for the X20+ model and it referred to this c102gl.
I've looked at the robot and I see SKU: BHR8124EU.
If you can guide me on how to find out the exact model I'll check it without any problem.
Thanks!

Hello,
After trying several ways to identify the exact model, I have seen the model in the Wi-Fi management.

did you find any solution? I have the same issue with Xiaomi Vacuum S20+ and Xiaomi Vacum X20+.

I'm trying to connect with version v2.0.0b16 which is theoretically compatible with Xiamo Vaccum X20+ (xiaomi.vacuum.c102gl) but when I try to connect with my cloud credentials it says that it doesn't recognize any compatible device.

try beta! It's working !
https://github.com/Tasshack/dreame-vacuum/releases/tag/v2.0.0b16

I'm trying to connect with version v2.0.0b16 which is theoretically compatible with Xiamo Vaccum X20+ (xiaomi.vacuum.c102gl) but when I try to connect with my cloud credentials it says that it doesn't recognize any compatible device.

try beta! It's working ! https://github.com/Tasshack/dreame-vacuum/releases/tag/v2.0.0b16

I am already using the beta version that supports this model, but it does not work.

What could I be doing wrong?

Sorry but i dont have time for this, you need to figure it out youself...

Relax, I thought you might like to know that something you think is working is failing, my fault. My intention was not to waste your time, but to notify you of an error in your integration.
Thanks!

Hi guys, I have the same question with my Xiaomi vacuum X20+. I installed this pre release (https://github.com/Tasshack/dreame-vacuum/releases/tag/v2.0.0b16), but I can't see it in my integrations list, just in my service studio code. How can I log in my account in this pre release?
Thank you.


10116 centering layer

This PR closes #10116
We've added a new feature to allow the user to center the map view according to a particular layer, based on its content.
NEW FEATURES
Icon for centering map in layer edition

Icon also available in expert mode

Context menu option for centering map in layer list

Icon not available if layer has no geom

Context menu option not available if layer has no geom

CR @nobuti
CC @xavijam
CC @urbanphes Please check that the design is on point
CC @brittanymicek @saleiva
We've added this copy for the centering process:

Loading: Calculating coordinates...
Success: Map centered
Error: Error centering map

Could you both check that these copies above are correct and good enough, please?
Thx!!

cc @MariaCheca and please, let's open the needed ticket for the same behaviour in the widgets part. cc @saleiva

@hacheka LGTM!

Also, I've found a couple things to improve, not sure if they are possible, specially the second point:

If we press repeatedly the center map button, a new notification is shown. Not sure if we could compare the result of the center operation before to make the next one.

In the called expert mode, the result is a bit confusing, because is actually centered but only when you exit that mode. While the editor is open, some points are hidden. I guess this is because the way we handle the map container css styles

Not sure if this is right, if I resize down the window, the centering thing seems to not working right, some features left outside the map's viewport:

Not sure this is outside of scope and it belongs to cartodb.js.

Regarding https://github.com/CartoDB/cartodb/pull/10833#issuecomment-263055762

The code actually prevents to make two simultaneous requests. The issue here is that you have a very fast finger. You can check it setting the throttling of Chrome to a very bad network and clicking several times: it doesn't trigger a new request if one is ongoing.

Perhaps we could set a delay time to prevent a query some time after a request has been done. What do you think @xavijam ?

Don't get the point. For me it seems to work the same way in expert and normal mode.

Regarding comment https://github.com/CartoDB/cartodb/pull/10833#issuecomment-263056108
I think it belongs to cartodb.js. We do nothing more than calling to its setBounds() through DeepInsightsIntegration It seems to center the map correctly according to the whole screen, but if you have a reduced viewport some points seems to be left outside.

What I meant in the point 2 is that some points stay outside the viewport in expert mode. Not a big deal, but it confused me up the first time.

We should not throw a new request or a new notification either if the first interaction is ongoing yet.


fix: Remove oidc key enviornment variable from env(not required)

Signed-off-by: talwinder50<EMAIL_ADDRESS>

Adding in another pr


fix: fix comment ordering and add support for edge case

@bistaastha please to fix unit tests as well; LGTM


DBZ-5244 Retry all communication exceptions by default

https://issues.jboss.org/browse/DBZ-5244
We've originally decided to retry everything by default. Thinking about that let's try to limit it to set of exceptions that are usually related to communications like IOException, SqlException etc.

One test failure unrelated https://issues.redhat.com/browse/DBZ-5552
Other caused by this PR

@Naros Yes, it is. IIRC we agreed on not touching Oracle is it is now quite fine tuned,

Thanks @jpechane, applied to main (=2.0).


Fix concat for multi-index columns support.

Codecov Report

Merging #680 into master will decrease coverage by 2.03%.
The diff coverage is 94.87%.

@@            Coverage Diff             @@
##           master     #680      +/-   ##
==========================================
- Coverage   93.54%   91.51%   -2.04%
==========================================
  Files          32       32
  Lines        5456     5455       -1
==========================================
- Hits         5104     4992     -112
- Misses        352      463     +111

Impacted Files
Coverage Δ

databricks/koalas/internal.py
96.15% <ø> (-0.04%)
:arrow_down:

databricks/koalas/namespace.py
89.38% <100%> (+0.18%)
:arrow_up:

databricks/koalas/indexing.py
92.43% <71.42%> (-0.64%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
23.14% <0%> (-74.08%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50% <0%> (-50%)
:arrow_down:

databricks/koalas/__init__.py
74.35% <0%> (-10.26%)
:arrow_down:

databricks/conftest.py
90.69% <0%> (-6.98%)
:arrow_down:

databricks/koalas/frame.py
93.99% <0%> (-0.75%)
:arrow_down:

databricks/koalas/plot.py
93.93% <0%> (-0.34%)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks! merging.


135 upgrade python and pangeo

Updated from Enum to StrEnum and added a fix for backwards incompatibility described
here: https://tomwojcik.com/posts/2023-01-02/python-311-str-enum-breaking-change.  This
is required to support both python 3.10 and python 3.11.
Updated TEEHR-HUB to Python 3.11 and pangeo/pangeo-notebook:2024.03.13
Made all packages that use YYYY.MM.DD versioning >= instead of ^ in pyproject.toml

I did this to get python 3.11...but you should be able to still use with python 3.10.
Install pyenv:
I clone the repo and then ran the bash commands from the Readme.md to add to my ~/.bashrc.
https://github.com/pyenv/pyenv/blob/master/README.md
Install python deps:
sudo apt install libreadline-dev
sudo apt install libncurses-dev
sudo apt install tk-dev
sudo apt install libbz2-dev

Install python 3.11:
pyenv install 3.11

To upgrade poetry:
pyenv local 3.11.8
poetry env use 3.11.8
poetry install


[#66] delete_layer in geojson

seems like this fixes the error in writing the geojson

@lekoenig - can you give this a try?

Yep, thanks for looking into this! Glancing at #66 again, I must have been trying to build on my branch 36-match-segs because one of those errors is related to the variable name change I made in PR #67 that's not yet in main (i.e. offset --> bird_dist_to_subseg_m).


Contact for developing

Hi, my daughter is trying to develop on the code of Versatile, but she has a lot of problems to understand guidelines and she needs to be more in contact with You and other developers. How can she contact You ?

See on Discord jm.collin

Hi,
we are sorry but my daughter was full of works in these days (yesterday she reached a degree in python data analist).
We will start to work on Versatile soon.
We thought on some ideas only in general.


crypto::pwhash::argon2i13::test fail on libsodium 1.0.13-1

failures:

---- crypto::pwhash::argon2i13::test::test_verify_1 stdout ----
thread 'crypto::pwhash::argon2i13::test::test_verify_1' panicked at 'failed to verify password with hash', src/crypto/pwhash/argon2i13.rs:480:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.

---- crypto::pwhash::argon2id13::test::test_derive_07 stdout ----
thread 'crypto::pwhash::argon2id13::test::test_derive_07' panicked at 'assertion failed: result.is_ok()', src/crypto/pwhash/argon2id13.rs:370:9

---- crypto::pwhash::argon2id13::test::test_hash_2 stdout ----
thread 'crypto::pwhash::argon2id13::test::test_hash_2' panicked at 'failed to verify password with hash', src/crypto/pwhash/argon2id13.rs:583:9

---- crypto::pwhash::argon2id13::test::test_serialisation stdout ----
thread 'crypto::pwhash::argon2id13::test::test_serialisation' panicked at 'called `Result::unwrap()` on an `Err` value: ()', libcore/result.rs:1009:5

---- crypto::pwhash::argon2id13::test::test_verify_3 stdout ----
thread 'crypto::pwhash::argon2id13::test::test_verify_3' panicked at 'failed to verify password with hash', src/crypto/pwhash/argon2id13.rs:517:9

---- crypto::pwhash::argon2id13::test::test_verify_6 stdout ----
thread 'crypto::pwhash::argon2id13::test::test_verify_6' panicked at 'failed to verify password with hash', src/crypto/pwhash/argon2id13.rs:553:9

failures:
    crypto::pwhash::argon2i13::test::test_verify_1
    crypto::pwhash::argon2id13::test::test_derive_07
    crypto::pwhash::argon2id13::test::test_hash_2
    crypto::pwhash::argon2id13::test::test_serialisation
    crypto::pwhash::argon2id13::test::test_verify_3
    crypto::pwhash::argon2id13::test::test_verify_6

test result: FAILED. 204 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out

Same on libsodium-1.0.14

libsodium-1.0.15 and libsodium-1.0.16 passed tests

Depends on #231

@kpp we can add it to the docs above the function

Yes that should be enough at the moment. But there is more we can do. See https://github.com/maidsafe/rust_sodium/blob/master/rust_sodium-sys/build.rs#L64

Yah that's the next step :D


[stable/rabbitmq-ha] Added documentation about resources of init container.

Is this a new chart
No
What this PR does / why we need it:
Fixing documentation.
Which issue this PR fixes

fixes #21623

Checklist

[x] DCO signed
[x] Variables are documented in the README.md
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@steven-sheehy

/assign @steven-sheehy


Remove unused import

The MainViewController.h import is not used and prevents the app from building in Capacitor (https://github.com/ionic-team/capacitor/issues/1307)

Thanks!


adding a note about the scored annotation

@RinkiyaKeDad - can you resolve conflicts?

@realshuting sorry I somehow missed the notification for this. I've resolved the conflict. We should be good to merge now.

@realshuting can you please merge this, thanks!


fix for issue #23 (BulkSelectNotExisting)

I am currently optimizing a batch operation, which currently has, thanks to EF, a high number of queries against the database. Your library has already helped to reduce the UPDATE queries, but it failed after I tried to replace the INSERT queries with BulkInsertAll. I debugged your code and came to the conclusion, that the problem has to be the different names of the primary key in the database respectively the EF model and the use of BulkSelectNotExisting. Therefore, I guess it is a consequential error of #23.
The fix itself is quite simple, if I understand your code correctly. Additionally, I added a new context, which represents a simplistic view on my DB model, and added a corresponding test case to each of BulkInsertAll and BulkSelectNotExisting.
Hope this is helpful.

Works for us with the latest version. The PR is therefore obsolete.
Thank you. 👍

Happy to hear it is working well for you! Thanks for all the feedback.
/Måns
Måns Tånneryd
Tånneryd IT AB
Barrskogsvägen 19
186 53 Vallentuna
+46-705140093
https://se.linkedin.com/in/manstanneryd
https://github.com/mtanneryd/ef6-bulk-operations
https://github.com/mtanneryd/ef6-bulk-operations
Den tis 18 aug. 2020 kl 16:41 skrev hzahradnik<EMAIL_ADDRESS>
Works for us with the latest version. The PR is therefore obsolete.
Thank you. 👍
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mtanneryd/ef6-bulk-operations/pull/29#issuecomment-675508938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA2BSRNRIF7KLLS75VRPEHLSBKFE5ANCNFSM4KPXBPSA
.


Prism::AliasMethodNode and Prism::ArrayNode direct usage

Oh shoot, I didn't realize my branch was this out of date.

Cool, a bit of overlap with #1318, but looks like we're pretty close. I'll merge yours first then rebase mine. Then I'll try to make smaller PRs. 😄


Tensorboard AttributeError: 'module' object has no attribute 'cpu_count'

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Some people report having similar problems with 'module' objects having no attribute something-or-other and claim they were solved by upgrading.
Environment info
Operating System:
Ubuntu 17.04 x64
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
-rw-r--r-- 1 root root   558720 сен 15 02:02 /usr/local/cuda/lib64/libcudadevrt.a
-rw-r--r-- 1 root root   383336 дек 23 01:26 /usr/local/cuda/lib64/libcudart.so
-rw-r--r-- 1 root root   383336 дек 23 01:25 /usr/local/cuda/lib64/libcudart.so.7.5
lrwxrwxrwx 1 root root       19 дек 23 02:17 /usr/local/cuda/lib64/libcudart.so.8.0 -> libcudart.so.8.0.44
-rw-r--r-- 1 root root   415432 сен 15 02:02 /usr/local/cuda/lib64/libcudart.so.8.0.44
-rw-r--r-- 1 root root   775162 сен 15 02:02 /usr/local/cuda/lib64/libcudart_static.a
lrwxrwxrwx 1 root root       13 дек 23 02:17 /usr/local/cuda/lib64/libcudnn.so -> libcudnn.so.5
lrwxrwxrwx 1 root root       17 дек 23 02:17 /usr/local/cuda/lib64/libcudnn.so.5 -> libcudnn.so.5.1.5
-rwxr-xr-x 1 root root 79337624 дек 22 04:25 /usr/local/cuda/lib64/libcudnn.so.5.1.5
-rw-r--r-- 1 root root 69756172 дек 22 04:25 /usr/local/cuda/lib64/libcudnn_static.a

(yes, it's an unholy mess, with russian date format. sorry)
If installed from binary pip package, provide:

A link to the pip package you installed:
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-0.12.0-cp27-none-linux_x86_64.whl
as per instructions
The output from python -c "import tensorflow; print(tensorflow.__version__)".

I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcurand.so locally
0.12.0

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
cd example;
python /usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/tensorboard.py --logdir=/home/myname/example/log_simple_graph

What other attempted solutions have you tried?
See above; I've tried to run the actual tensorboard.py instead of just tensorboard --logdir=
Logs or other output that would be helpful
Running cd example;  python /usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/tensorboard.py --logdir=/home/myname/example/log_simple_graph results in:
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:128] successfully opened CUDA library libcurand.so locally
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/tensorboard.py", line 34, in <module>
    from tensorflow.tensorboard.backend import server
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/backend/server.py", line 37, in <module>
    from tensorflow.tensorboard.backend import handler
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/backend/handler.py", line 43, in <module>
    from tensorflow.tensorboard.plugins import REGISTERED_PLUGINS
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/plugins/__init__.py", line 20, in <module>
    from tensorflow.tensorboard.plugins.projector.plugin import ProjectorPlugin
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/plugins/projector/plugin.py", line 27, in <module>
    from tensorflow.contrib.tensorboard.plugins.projector import PROJECTOR_FILENAME
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/__init__.py", line 27, in <module>
    from tensorflow.contrib import factorization
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/factorization/__init__.py", line 24, in <module>
    from tensorflow.contrib.factorization.python.ops.gmm import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/factorization/python/ops/gmm.py", line 30, in <module>
    from tensorflow.contrib.learn.python.learn.estimators import estimator
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/__init__.py", line 66, in <module>
    from tensorflow.contrib.learn.python.learn import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/__init__.py", line 23, in <module>
    from tensorflow.contrib.learn.python.learn import *
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/__init__.py", line 27, in <module>
    from tensorflow.contrib.learn.python.learn import estimators
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/__init__.py", line 269, in <module>
    from tensorflow.contrib.learn.python.learn.estimators.classifier import Classifier
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/classifier.py", line 25, in <module>
    from tensorflow.contrib.learn.python.learn.estimators import estimator
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/estimators/estimator.py", line 52, in <module>
    from tensorflow.contrib.learn.python.learn.learn_io import data_feeder
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/learn_io/__init__.py", line 22, in <module>
    from tensorflow.contrib.learn.python.learn.learn_io.dask_io import extract_dask_data
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/learn_io/dask_io.py", line 26, in <module>
    import dask.dataframe as dd
  File "/usr/local/lib/python2.7/dist-packages/dask/dataframe/__init__.py", line 5, in <module>
    from .io import (from_array, from_pandas, from_bcolz,
  File "/usr/local/lib/python2.7/dist-packages/dask/dataframe/io/__init__.py", line 6, in <module>
    from .csv import read_csv, to_csv, read_table
  File "/usr/local/lib/python2.7/dist-packages/dask/dataframe/io/csv.py", line 147, in <module>
    CPU_COUNT = psutil.cpu_count()
AttributeError: 'module' object has no attribute 'cpu_count'

I've been following this intro, and the code from there worked perfectly for me (apart from some warnings about deprecations).

As your logs show, the error is thrown due to a missing function call in psutil library.
https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#200
cpu_count seems to be added in version 2.0.0 of psutil.
So running the following command should fix your problem:
sudo pip install --upgrade psutil

Also the stacktrace shows that this is a call in dask library. So this issue is better reported to dask library.

I tried upgrading psutil, but somehow that didn't work. Anyway, it does now. Thanks!

Did you solve the problem? I have upgraded psutil, however, it didn't work. My OS is  ubuntu 14.04.

@StrangeTcy how did you fix your problem? I came across  the same problem.


Add text to array example

Hi, thanks for your cool site!
I have added an example I made on the main Helix site that seemed like a good fit as the first example, it is a bit easier than the others so maybe a good intro? Feel free to port the others if you like, there are some cool solutions provided by different people.
I have never used mdx files, please confirm this is correct and also test the example :) Thanks.

Thanks, <A-J> is a new one for me! Will checkout the other ones :)


Block DNS leaks feature is missing in .ovpn files downloaded from official site !

Yours need to add a string in .ovpn files by default
String to Block DNS Leaks in OpenVPN:  block-outside-dns
Source:
https://www.dnsleaktest.com/how-to-fix-a-dns-leak.html
https://forums.openvpn.net/viewtopic.php?t=21742
https://forums.openvpn.net/viewtopic.php?t=22039

From https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage:

--block-outside-dns
Block DNS servers on other network adapters to prevent DNS leaks. This option prevents any application from accessing TCP or UDP port 53 except one inside the tunnel. It uses Windows Filtering Platform (WFP) and works on Windows Vista or later.
This option is considered unknown on non-Windows platforms and unsupported on Windows XP, resulting in fatal error. You may want to use --setenv opt or --ignore-unknown-option (not suitable for Windows XP) to ignore said error. Note that pushing unknown options from server does not trigger fatal errors.

We should push the option from the server.

From https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage:

--block-outside-dns
Block DNS servers on other network adapters to prevent DNS leaks. This option prevents any application from accessing TCP or UDP port 53 except one inside the tunnel. It uses Windows Filtering Platform (WFP) and works on Windows Vista or later.
This option is considered unknown on non-Windows platforms and unsupported on Windows XP, resulting in fatal error. You may want to use --setenv opt or --ignore-unknown-option (not suitable for Windows XP) to ignore said error. Note that pushing unknown options from server does not trigger fatal errors.

We should push the option from the server.

It would be great if someone would implement this.  As in have the softether vpn server require all devices that connect to it to send dns requests through the vpn server.  Its been two years people.  Come on.


Documentation / Sample - Oauth2 configuration to support CORS

Would it be possible document in the Oauth2 samples the java based configuration necessary to support CORS requests and the preflight OPTIONS request that accompanies them when a client (AngularJS front end) is requesting an access token.

@celkins  your link is broken now.

I also got issue with OAUTH CORS during preflight, any update?


TypeError: Cannot assign to read only property 'toJSON' of object 'Error'

Operating System version: macos 10.12.6, Node 9.5.0
Firebase SDK version: 5.9.0
Library version: 4.10.1
Firebase Product: admin (auth, database, storage, etc)

[REQUIRED] Step 3: Describe the problem
Installed firebase-admin using instructions here: https://www.npmjs.com/package/firebase-admin
Added firebase-admin to a module as instructed using:
var admin = require('firebase-admin');

in a module in a loopback node application. Application fails to start with the following error:
/Users/simon/Projects/APPICS/src/appics-backend/node_modules/firebase-admin/lib/utils/error.js:65
    FirebaseError.prototype.toJSON = function () {
                                   ^

TypeError: Cannot assign to read only property 'toJSON' of object 'Error'
    at /Users/abcdefg/Projects/APPICS/src/appics-backend/node_modules/firebase-admin/lib/utils/error.js:65:36
    at Object.<anonymous> (/Users/simon/Projects/APPICS/src/appics-backend/node_modules/firebase-admin/lib/utils/error.js:72:2)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/abcdefg/Projects/APPICS/src/appics-backend/node_modules/firebase-admin/lib/firebase-namespace.js:21:15)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Module.require (module.js:604:17)
Waiting for the debugger to disconnect...

Process finished with exit code 1

Steps to reproduce:
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Relevant Code:
'use strict';

let admin = require("firebase-admin");

What happens if you try this without loopback?

Sorry, that does not compute. This is a loopback application (basically it's a express application). I can't just run the car without the motor.

Try it without loopback to see if it's a loopback-specific issue.

Alright, so I tried this simply (in an extra file):
'use strict';
let admin = require("firebase-admin");
admin.initializeApp({
  credential: admin.credential.applicationDefault(),
  databaseURL: 'https://appics-push.firebaseio.com'
});

And I got no exception.

So far we have only received this one report about this problem. Since the problem appears to be specific to the Loopback environment, I think we need somebody from that project to take a look. If somebody thinks this is something that can be fixed in firebase-admin, please provide some details on the diagnosis and the fix, so we can follow up.

I also have this issue, it appears that it's linked with the usage of 'use strict' mode. I found some info on this mozzila dev network link.
Can strict mode be used alongside firebase admin?

Hey @abdurahmanadilovic. Do you have a repro for this issue? Ideally something that just uses TypeScript and no other frameworks? The original reporter of this issue could only repro the problem on Loopback.

I used this command to figure out where toJSON is defined as a read only property on Error objects
grep -r 'Object.defineProperty(Error.*' .

It was in my application code and not in any package. I just added writable: true to Object.assignProperty call and that fixed the issue.
@JuergenSimon can you please run the grep command and check where toJSON is defined as a read only property?


Refined inputs

Are there any future plans to allow refining of an input, and not just it's properties?
For example, I want to check that an input has at least one property, but I don't care which one.
endpointsFactory.build({
  method: "post",
  input: z
    .object({
      email: z.string().email().optional(),
      id: z.string().optional(),
      otherThing: z.string().optional()
    })
    .refine(
      x => Object.keys(x).length >= 1,
      'Please provide at least one property'
    ),
  output: z.object({
    /* ... */
  }),
  handler: async ({ input, logger }) => {
    /* ... */
  },
});

Currently the above will fail as the input is of type ZodEffects which cannot be assigned to IOSchema.
Or maybe there's a better solution to the above example

This is an interesting idea for further development. I will consider the possibility of its implementation in the future.
But for now, you can consider the following approach.
You want to check for at least one property that appears to be a property of something. For example, this is authorization using an email, phone number or token. Surely you can somehow name this entity. In this case: credentials.
endpointsFactory.build({
  method: "post",
  input: z.object({
      credentials: z.object({
        email: z.string().email().optional(),
        phoneNumber: z.string().optional(),
        token: z.string().optional()
      }).refine(
        credentials => Object.keys(credentials).length >= 1,
        'Please provide at least one property'
      ),
    }),
   // ...
});


Rework ParquetExec::metadata_size_hint

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently metadata_size_hint passed to ParquetExec has the following issues:

single value: It is a single value, but a single ParquetExec may contain multiple files. These files may require different hints.
serialization: The value is dropped during protobuf serialization.

Now these two issues are unrelated, but it feels like fixing both in one go makes sense.
Describe the solution you'd like
Move metadata_size_hint to FileScanConfig::file_groups > PartitionedFile:
https://github.com/apache/arrow-datafusion/blob/d11820aa256284f9a817c7b699a548f9c3e1c399/datafusion/core/src/datasource/listing/mod.rs#L51-L64
Describe alternatives you've considered
Leaving the status quo.
Additional context
-

Great suggestion.
But in addition to moving metadata_size_hint to PartitionedFile, we also need to consider how to get metadata_size_hint value in infer_schema and infer_stats functions of ParquetFormat.
https://github.com/apache/arrow-datafusion/blob/258af4bf69758b6307d191f072ba88a7b847fbe5/datafusion/core/src/datasource/file_format/parquet.rs#L143-L185
Maybe we need to extend ObjectMeta in arrow-rs/object_store repo, such as adding an extensions field for user defined per object metadata?
@tustvold could you provide some suggestions?

get metadata_size_hint value in infer_schema and infer_stats functions of ParquetFormat.

I think it is worth drawing a distinction between the logic for catalog-inference, i.e. ListingTable, from that of query processing, i.e. FileScanConfig. Most practical applications will need a TableProvider backed by some sort of catalog for reasonable performance, and this would be an ideal place to store information such as the footer size, schema, statistics, etc... and this can be used to populate FileScanConfig accurately.
For TableProvider that don't have access to this information, such as ListingTable, I think it is perfectly acceptable to use a single config value for the metadata size hint

For TableProvider that don't have access to this information, such as ListingTable, I think it is perfectly acceptable to use a single config value for the metadata size hint, without some sort of catalog there isn't really a way around this

@tustvold thinks for the suggestions.
So your suggestion is the following?

Catalog-inference: Reserve single config value of metadata_size_hint for infer_schema.
Query processing: Support metadata_size_hint in FileScanConfig for create_physical_plan.

Also, what about infer_stats? When ListingOptions.collect_stat is true, each file is scanned in the scan logic of TableProvider.


fabric-admin-sdk draft proposal

name fabric-admin-sdk
motivation
As gateway sdk will drop off admin capacity, we plan to recover admin capacity related things with this project proposal.
schedule(Thursdays night, BJT)
host(@davidkhala / @SamYuan1990 , @xiaohui249 , @Peng-Du )
languages: go, java, nodejs, typescript
identified features

chain code lifecycle
system chain code(as list all chain code)
channel operators

new channel
channel update(new org join into specific channel)
peer join channel
peer exit channel
list channel
inspect channel config

gate policy?(common/policydsl/policyparser.go, tool for operator)
peer discovery(optional, as ping test among peer networks when gateway disabled or fabric version below 2.5)
base on peer discovery result, generate connection profile for sdk if possible?(optional)

Resolving https://github.com/hyperledger/fabric-sdk-node/issues/541

Please vote or give feedback by emo, we are not finalize if we run meeting in Chinese or English.

Hi @davidkhala and @SamYuan1990, thank you for advancing this effort.  This is the "missing SDK" that has been hampering  Fabric deployment since the peers started coming online.
I don't wish to derail the effort on this front, but I would like to propose that a focus be placed on a golang SDK component as a priority.  Very recently, we released the open-source Kubernetes fabric-operator, with production-grade support for core Fabric configuration (CAs, peers, orderers, etc.).  What is missing from this solution, however, is an approach that solves the higher-order configuration of Fabric in a simple, declarative, Kube-native approach.  The availability of a golang-based admin SDK, relying on gRPC(s) as the primary communication protocol, would allow us to extend the operator with the higher-order features for administration of networks.  For instance, we would introduce high-order CRD structures to the Kubernetes API for:

Organizations
Consortiums   (similar to MSP and network topologies)
Channels
Chaincode
...

In addition to providing a simple, declarative mechanism to specify higher-order constructs, the operator could use fabric-admin-sdk to realize these features with a reconciliation loop, accessing native gRPC (or https for the channel participation APIs) services in software.
The last point to consider is that writing cross-platform, production grade SDKs is actually pretty hard.  Coding is generally the easy part, but ensuring that the release management, portability, functionality, CI builds, distribution, revision upgrades, security scans, etc. etc. etc. is a LOT of work.    Instead of providing cross-platform SDKs, may I suggest that we start to incorporate the Kubernetes API controller to provide some of the cross-platform portability aspects?    In other words, we could achieve a cross-platform administration function by leveraging the Kubernetes SDKs, which come generally for every possible programming language and runtime, and extending the operator with new resource types.
This will seem a bit odd, but it would work beautifully for a focused effort to administer Fabric with a common API plane.
Thank you kindly for advancing the effort.  This feature / library is long overdue!
👍 👍 👍

cross-platform portability

In the last point, we are talking about cross-platform portability. Starting from this, I assumed these general purpose languages are already equipped with cross-platform support, isn't it?


Reduce Github Action Jobs

 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.


Date format in Calendarpicker not working

Describe the bug
In the latest build, when you change the output date format from the default YYYY-mm-dd to anything else, the result is not correctly formatted.
To Reproduce
Create a input with data-role="calendarpicker", set data-format="%d %b %Y" or data-format="%d %B %Y" . Now when you pick a date from the calendar, the result is %3 %b %undefined or %2 %B %undefined. The same problem can be seen in the example here: https://metroui.org.ua/calendarpicker.html
Expected behavior
The date should be formatted correctly using the data-format format.
Screenshots

https://github.com/olton/datetime/blob/master/src/core/class.js#L236

Thank you, I will investigate this bug.


Rarefaction curves

Hi Uri,
Congrats on a very interesting project. I would like to regenerate the rarefaction plots from Figure 1 of the current Biorxiv paper. Are you able to provide the input table and code for making these plots? Apologies in advance if these were already posted somewhere.
Best,
Mike

Hi @mtisza1! thanks for the kind words!
@simroux uploaded a folder with R code to recreate the plots and and example input data.  Simon would know better than me, but the input data is "example" as it was generated by performing the bootstraping via repeated list permutation of the different metatranscriptomic info for the different sample sizes. So I suppose running a new bootstrapping for each sample size could get you slightly different numeric values,  but from what we seen the over all trend (and general "look") would be the same. btw we also got very similarly looking plots with repeated down-subsampling instead of list-permutations, and we'd be happy to share that code too if you want :)
HTH

Thank you, Uri and Simon. I was able to recreate your plots without issue.
@simroux I was able to put my own "rarefaction matrices" into the R package "micropan" rarefaction module with multiple permutations, then I could parse the tables to get mean, minimum, and maximum for the these values. Did you use a similar approach?
Best,
Mike

Hi Mike,
Yes, pretty much, except I did that with custom Perl scripts :-) But yes, looking at micropan, it seems to do the same thing.
Best,
Simon

Great, thanks!


Fixed broken link to the documentation

Since github.com pages are depreciated it is necessary github pages to github.io.

This PR fixes #32 (I won't be submitting a PR now.)


Fix yellow highlight

Problem was introduced at commit 17d6718 (Switch from moment.js to Luxon).

Coverage remained the same at 53.581% when pulling 77ff952c21e92a65b8f523249028fcaf48db0c22 on macrobug:bugfix/yellow-highlight into c6ed0fe4e7b734661da88c252e38f7325e6fcb88 on Azure:master.


 Done
N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.10' to '10.12'
N: Repository 'http://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
priley@DESKTOP-ED8AL8K:~$ uname
Linux
priley@DESKTOP-ED8AL8K:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
base-files debconf debconf-i18n dpkg gzip libc-bin libc-dev-bin libc-l10n libc6 libc6-dbg libc6-dev
libdns-export1104 libexpat1 libgmp10 libicu63 libisc-export1100 liblzma5 libssl1.1 libxml2 linux-libc-dev locales
rsyslog tzdata vim-common vim-tiny xxd xz-utils zlib1g
28 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 41.8 MB of archives.
After this operation, 76.8 kB of additional disk space will be used.
Do you want to continue?
(Reading database ... 20817 files and directories currently installed.)
Preparing to unpack .../base-files_10.3+deb10u12_amd64.deb ...
Unpacking base-files (10.3+deb10u12) over (10.3+deb10u10) ...
Setting up base-files (10.3+deb10u12) ...
Installing new version of config file /etc/debian_version ...
(Reading database ... 20817 files and directories currently installed.)
Preparing to unpack .../archives/dpkg_1.19.8_amd64.deb ...
Unpacking dpkg (1.19.8) over (1.19.7) ...
Setting up dpkg (1.19.8) ...
(Reading database ... 20817 files and directories currently installed.)
Preparing to unpack .../gzip_1.9-3+deb10u1_amd64.deb ...
Unpacking gzip (1.9-3+deb10u1) over (1.9-3) ...
Setting up gzip (1.9-3+deb10u1) ...
(Reading database ... 20817 files and directories currently installed.)
Preparing to unpack .../libc6-dbg_2.28-10+deb10u1_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.28-10+deb10u1) over (2.28-10) ...
Preparing to unpack .../libc6-dev_2.28-10+deb10u1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.28-10+deb10u1) over (2.28-10) ...
Preparing to unpack .../libc-dev-bin_2.28-10+deb10u1_amd64.deb ...
Unpacking libc-dev-bin (2.28-10+deb10u1) over (2.28-10) ...
Preparing to unpack .../linux-libc-dev_4.19.235-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.235-1) over (4.19.194-3) ...
Preparing to unpack .../libc6_2.28-10+deb10u1_amd64.deb ...
Unpacking libc6:amd64 (2.28-10+deb10u1) over (2.28-10) ...
Setting up libc6:amd64 (2.28-10+deb10u1) ...
(Reading database ... 20828 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.28-10+deb10u1_amd64.deb ...
Unpacking libc-bin (2.28-10+deb10u1) over (2.28-10) ...
Setting up libc-bin (2.28-10+deb10u1) ...
Aborted (core dumped)
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path /lib/x86_64-linux-gnu' given more than once ldconfig: Path /usr/lib/x86_64-linux-gnu' given more than once
/usr/lib/wsl/lib:
/usr/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
debconf debconf-i18n libc-l10n libdns-export1104 libexpat1 libgmp10 libicu63 libisc-export1100 liblzma5 libssl1.1
libxml2 locales rsyslog tzdata vim-common vim-tiny xxd xz-utils zlib1g
19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0 B/19.8 MB of archives.
After this operation, 19.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Setting up libc-bin (2.28-10+deb10u1) ...
Aborted (core dumped)
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path /lib/x86_64-linux-gnu' given more than once ldconfig: Path /usr/lib/x86_64-linux-gnu' given more than once
/usr/lib/wsl/lib:
/usr/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo dpkg --configure -a
Setting up libc-bin (2.28-10+deb10u1) ...
Aborted (core dumped)
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path /lib/x86_64-linux-gnu' given more than once ldconfig: Path /usr/lib/x86_64-linux-gnu' given more than once
/usr/lib/wsl/lib:
/usr/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Setting up linux-libc-dev:amd64 (4.19.235-1) ...
Setting up libc6-dbg:amd64 (2.28-10+deb10u1) ...
Setting up libc-dev-bin (2.28-10+deb10u1) ...
Setting up libc6-dev:amd64 (2.28-10+deb10u1) ...
Errors were encountered while processing:
libc-bin
$ sudo apt-get install --fix-broken
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libc-bin (2.28-10+deb10u1) ...
Aborted (core dumped)
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path /lib/x86_64-linux-gnu' given more than once ldconfig: Path /usr/lib/x86_64-linux-gnu' given more than once
/usr/lib/wsl/lib:
/usr/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt clean
$ sudo apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libc-bin (2.28-10+deb10u1) ...
Aborted (core dumped)
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path /lib/x86_64-linux-gnu' given more than once ldconfig: Path /usr/lib/x86_64-linux-gnu' given more than once
/usr/lib/wsl/lib:
/usr/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo apt-get install man
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'man-db' instead of 'man'
The following additional packages will be installed:
groff-base libgdbm6 libpipeline1 libuchardet0
Suggested packages:
groff apparmor www-browser
The following NEW packages will be installed:
groff-base libgdbm6 libpipeline1 libuchardet0 man-db
0 upgraded, 5 newly installed, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
Need to get 2,351 kB of archives.
After this operation, 6,816 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian buster/main amd64 libuchardet0 amd64 0.0.6-3 [64.9 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 groff-base amd64 1.22.4-3+deb10u1 [916 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libpipeline1 amd64 1.5.1-2 [31.2 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 man-db amd64 2.8.5-2 [1,274 kB]
Fetched 2,351 kB in 6s (418 kB/s)
Preconfiguring packages ...
Setting up libc-bin (2.28-10+deb10u1) ...
Aborted (core dumped)
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path /lib/x86_64-linux-gnu' given more than once ldconfig: Path /usr/lib/x86_64-linux-gnu' given more than once
/usr/lib/wsl/lib:
/usr/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ apt-get download libc-bin
Get:1 http://deb.debian.org/debian buster/main amd64 libc-bin amd64 2.28-10+deb10u1 [795 kB]
Fetched 795 kB in 0s (2,042 kB/s)
$ dpkg -x libc-bin*.deb unpackdir/
$ sudo cp unpackdir/sbin/ldconfig /sbin/
$ sudo apt-get install --reinstall libc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for libc-bin:amd64
udo apt-get install -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libc-bin (2.28-10+deb10u1) ...
Aborted (core dumped)
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path /lib/x86_64-linux-gnu' given more than once ldconfig: Path /usr/lib/x86_64-linux-gnu' given more than once
/usr/lib/wsl/lib:
/usr/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
$ sudo dpkg --remove --force-remove-reinstreq libc-bin
dpkg: error processing package libc-bin (--remove):
this is an essential package; it should not be removed
Errors were encountered while processing:
libc-bin
$ sudo dpkg --purge libc-bin
dpkg: error processing package libc-bin (--purge):
this is an essential package; it should not be removed
Errors were encountered while processing:
libc-bin
$ sudo apt install libc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc-bin is already the newest version (2.28-10+deb10u1).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up libc-bin (2.28-10+deb10u1) ...
$ sudo mv /tmp/libc-bin.* /var/lib/dpkg/info/
$ sudo apt-get install man
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'man-db' instead of 'man'
The following additional packages will be installed:
groff-base libgdbm6 libpipeline1 libuchardet0
Suggested packages:
groff apparmor www-browser
The following NEW packages will be installed:
groff-base libgdbm6 libpipeline1 libuchardet0 man-db
0 upgraded, 5 newly installed, 0 to remove and 19 not upgraded.
Need to get 0 B/2,351 kB of archives.
After this operation, 6,816 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
Selecting previously unselected package libuchardet0:amd64.
(Reading database ... 20828 files and directories currently installed.)
Preparing to unpack .../libuchardet0_0.0.6-3_amd64.deb ...
Unpacking libuchardet0:amd64 (0.0.6-3) ...
Selecting previously unselected package groff-base.
Preparing to unpack .../groff-base_1.22.4-3+deb10u1_amd64.deb ...
Unpacking groff-base (1.22.4-3+deb10u1) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../libgdbm6_1.18.1-4_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-4) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../libpipeline1_1.5.1-2_amd64.deb ...
Unpacking libpipeline1:amd64 (1.5.1-2) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.8.5-2_amd64.deb ...
Unpacking man-db (2.8.5-2) ...
Setting up libpipeline1:amd64 (1.5.1-2) ...
Setting up libuchardet0:amd64 (0.0.6-3) ...
Setting up libgdbm6:amd64 (1.18.1-4) ...
Setting up groff-base (1.22.4-3+deb10u1) ...
Setting up man-db (2.8.5-2) ...
Building database of manual pages ...
Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer.
Processing triggers for libc-bin (2.28-10+deb10u1) ...
Aborted (core dumped)
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path /lib/x86_64-linux-gnu' given more than once ldconfig: Path /usr/lib/x86_64-linux-gnu' given more than once
/usr/lib/wsl/lib:
/usr/local/lib:
/lib/x86_64-linux-gnu:
Aborted (core dumped)
dpkg: error processing package libc-bin (--configure):
installed libc-bin package post-installation script subprocess returned error exit status 134
Processing triggers for mime-support (3.62) ...
Errors were encountered while processing:
libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
Expected Behavior
$ strace --help
-bash: strace: command not found
Not sure what you want me to send here
Actual Behavior
$ strace --help
-bash: strace: command not found
Diagnostic Logs
thats all I have

same happen here today, Win10 21H1 ver. 10.0.19043.2006:
`vmessina@MESSINA:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
`
`
vmessina@MESSINA:~$ uname -a
Linux MESSINA-OLD 4.4.0-19041-Microsoft #1237-Microsoft Sat Sep 11 14:32:00 PST 2021 x86_64 GNU/Linux
`
vmessina@MESSINA:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  avahi-daemon bind9-host bind9-libs curl dpkg-dev gir1.2-gdkpixbuf-2.0 krb5-locales libavahi-client3
  libavahi-common-data libavahi-common3 libavahi-core7 libavahi-glib1 libc-l10n libcurl3-gnutls libcurl4 libdpkg-perl
  libexpat1 libexpat1:i386 libexpat1-dev libgdk-pixbuf-2.0-0 libgdk-pixbuf-2.0-dev libgdk-pixbuf2.0-bin
  libgdk-pixbuf2.0-common libgssapi-krb5-2 libgssapi-krb5-2:i386 libhttp-daemon-perl libk5crypto3 libk5crypto3:i386
  libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libpam-systemd libpcre2-16-0 libpcre2-16-0:i386
  libpcre2-32-0 libpcre2-32-0:i386 libpcre2-8-0 libpcre2-8-0:i386 libpcre2-dev libpcre2-dev:i386 libpcre2-posix2
  libpcre2-posix2:i386 libsystemd0 libsystemd0:i386 libudev-dev libudev-dev:i386 libudev1 libudev1:i386 locales
  publicsuffix systemd systemd-sysv systemd-timesyncd udev
55 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
Need to get 0 B/25.4 MB of archives.
After this operation, 19.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Extracting templates from packages: 100%
Preconfiguring packages ...
Setting up libc-bin (2.31-13+deb11u4) ...
Aborted (core dumped)
ldconfig: Can't stat /usr/local/lib/i386-linux-gnu: No such file or directory
ldconfig: Can't stat /usr/local/lib/i686-linux-gnu: No such file or directory
ldconfig: Can't stat /lib/i686-linux-gnu: No such file or directory
ldconfig: Can't stat /usr/lib/i686-linux-gnu: No such file or directory
ldconfig: Can't stat /usr/local/lib/x86_64-linux-gnu: No such file or directory
ldconfig: Path '/lib/x86_64-linux-gnu' given more than once
ldconfig: Path '/usr/lib/x86_64-linux-gnu' given more than once
/usr/lib/x86_64-linux-gnu/libfakeroot:
        libfakeroot-0.so -> libfakeroot-tcp.so
/lib/i386-linux-gnu:
        libz.so.1 -> libz.so.1.2.11
        libutil.so.1 -> libutil-2.31.so
        libtirpc.so.3 -> libtirpc.so.3.0.0
        libtinfo.so.6 -> libtinfo.so.6.2
        libthread_db.so.1 -> libthread_db-1.0.so
        libsepol.so.1 -> libsepol.so.1
        libselinux.so.1 -> libselinux.so.1
        libSegFault.so -> libSegFault.so
        librt.so.1 -> librt-2.31.so
        libresolv.so.2 -> libresolv-2.31.so
        libpthread.so.0 -> libpthread-2.31.so
        libpcre.so.3 -> libpcre.so.3.13.3
        libpcprofile.so -> libpcprofile.so
        libnss_nisplus.so.2 -> libnss_nisplus.so.2.0.0
        libnss_nis.so.2 -> libnss_nis.so.2.0.0
        libnss_hesiod.so.2 -> libnss_hesiod-2.31.so
        libnss_files.so.2 -> libnss_files-2.31.so
        libnss_dns.so.2 -> libnss_dns-2.31.so
        libnss_compat.so.2 -> libnss_compat-2.31.so
        libnsl.so.1 -> libnsl-2.31.so
        libmemusage.so -> libmemusage.so
        libm.so.6 -> libm-2.31.so
        liblzma.so.5 -> liblzma.so.5.2.5
        libkeyutils.so.1 -> libkeyutils.so.1.9
        libgpg-error.so.0 -> libgpg-error.so.0.29.0
        libgcc_s.so.1 -> libgcc_s.so.1
        libexpat.so.1 -> libexpat.so.1.6.12
        libdl.so.2 -> libdl-2.31.so
        libdbus-1.so.3 -> libdbus-1.so.3.19.13
        libcrypt.so.1 -> libcrypt.so.1.1.0
        libcom_err.so.2 -> libcom_err.so.2.1
        libc.so.6 -> libc-2.31.so
        libBrokenLocale.so.1 -> libBrokenLocale-2.31.so
        libanl.so.1 -> libanl-2.31.so
ldconfig: /lib/i386-linux-gnu/ld-2.31.so is the dynamic linker, ignoring

        ld-linux.so.2 -> ld-2.31.so
/usr/lib/i386-linux-gnu:
        libzstd.so.1 -> libzstd.so.1.4.8
        libz3.so.4 -> libz3.so.4
        libXxf86vm.so.1 -> libXxf86vm.so.1.0.0
        libXv.so.1 -> libXv.so.1.0.0
        libXt.so.6 -> libXt.so.6.0.0
        libXss.so.1 -> libXss.so.1.0.0
        libxshmfence.so.1 -> libxshmfence.so.1.0.0
        libXrender.so.1 -> libXrender.so.1.3.0
        libXrandr.so.2 -> libXrandr.so.2.2.0
        libxkbcommon.so.0 -> libxkbcommon.so.0.0.0
        libXinerama.so.1 -> libXinerama.so.1.0.0
        libXi.so.6 -> libXi.so.6.1.0
        libXfixes.so.3 -> libXfixes.so.3.1.0
        libXext.so.6 -> libXext.so.6.4.0
        libXdmcp.so.6 -> libXdmcp.so.6.0.0
        libXdamage.so.1 -> libXdamage.so.1.1.0
        libXcursor.so.1 -> libXcursor.so.1.0.2
        libxcb.so.1 -> libxcb.so.1.1.0
        libxcb-xfixes.so.0 -> libxcb-xfixes.so.0.0.0
        libxcb-sync.so.1 -> libxcb-sync.so.1.0.0
        libxcb-shm.so.0 -> libxcb-shm.so.0.0.0
        libxcb-randr.so.0 -> libxcb-randr.so.0.1.0
        libxcb-present.so.0 -> libxcb-present.so.0.0.0
        libxcb-glx.so.0 -> libxcb-glx.so.0.0.0
        libxcb-dri3.so.0 -> libxcb-dri3.so.0.0.0
        libxcb-dri2.so.0 -> libxcb-dri2.so.0.0.0
        libXau.so.6 -> libXau.so.6.0.0
        libX11.so.6 -> libX11.so.6.4.0
        libX11-xcb.so.1 -> libX11-xcb.so.1.0.0
        libwrap.so.0 -> libwrap.so.0.7.6
        libwebp.so.6 -> libwebp.so.6.0.2
        libwayland-server.so.0 -> libwayland-server.so.0.1.0
        libwayland-egl.so.1 -> libwayland-egl.so.1.0.0
        libwayland-cursor.so.0 -> libwayland-cursor.so.0.0.0
        libwayland-client.so.0 -> libwayland-client.so.0.3.0
        libvulkan_radeon.so -> libvulkan_radeon.so
        libvulkan_lvp.so -> libvulkan_lvp.so
        libvulkan_intel.so -> libvulkan_intel.so
        libvulkan.so.1 -> libvulkan.so.1.2.162
        libvorbisenc.so.2 -> libvorbisenc.so.2.0.12
        libvorbis.so.0 -> libvorbis.so.0.4.9
        libVkLayer_MESA_overlay.so -> libVkLayer_MESA_overlay.so
        libVkLayer_MESA_device_select.so -> libVkLayer_MESA_device_select.so
        libuuid.so.1 -> libuuid.so.1.3.0
        libunistring.so.2 -> libunistring.so.2.1.0
        libudev.so.1 -> libudev.so.1.7.0
        libtiff.so.5 -> libtiff.so.5.6.0
        libtic.so.6 -> libtic.so.6.2
        libsystemd.so.0 -> libsystemd.so.0.30.0
        libstdc++.so.6 -> libstdc++.so.6.0.28
        libssl.so.1.1 -> libssl.so.1.1
        libsndio.so.7.0 -> libsndio.so.7.0
        libsndfile.so.1 -> libsndfile.so.1.0.31
        libSM.so.6 -> libSM.so.6.0.1
        libsensors.so.5 -> libsensors.so.5.0.0
        libSDL2_image-2.0.so.0 -> libSDL2_image.so
        libSDL2-2.0.so.0 -> libSDL2.so
        libpulse.so.0 -> libpulse.so.0.23.0
        libpulse-simple.so.0 -> libpulse-simple.so.0.1.1
        libpulse-mainloop-glib.so.0 -> libpulse-mainloop-glib.so.0.0.6
        libpng16.so.16 -> libpng16.so.16.37.0
        libpcreposix.so.3 -> libpcreposix.so.3.13.3
        libpcrecpp.so.0 -> libpcrecpp.so.0.0.1
        libpcre32.so.3 -> libpcre32.so.3.13.3
        libpcre2-posix.so.2 -> libpcre2-posix.so.2.0.3
        libpcre2-8.so.0 -> libpcre2-8.so.0.10.1
        libpcre2-32.so.0 -> libpcre2-32.so.0.10.1
        libpcre2-16.so.0 -> libpcre2-16.so.0.10.1
        libpcre16.so.3 -> libpcre16.so.3.13.3
        libpciaccess.so.0 -> libpciaccess.so.0.11.1
        libopus.so.0 -> libopus.so.0.8.0
        libOpenGL.so.0 -> libOpenGL.so.0.0.0
        libogg.so.0 -> libogg.so.0.8.4
        libnsl.so.2 -> libnsl.so.2.0.1
        libmount.so.1 -> libmount.so.1.1.0
        libmd.so.0 -> libmd.so.0.0.4
        liblz4.so.1 -> liblz4.so.1.9.3
        libLLVM-11.so.1 -> libLLVM-11.so.1
        libkrb5support.so.0 -> libkrb5support.so.0.1
        libkrb5.so.3 -> libkrb5.so.3.3
        libk5crypto.so.3 -> libk5crypto.so.3.1
        libjpeg.so.62 -> libjpeg.so.62.3.0
        libjbig.so.0 -> libjbig.so.0
        libidn2.so.0 -> libidn2.so.0.3.7
        libICE.so.6 -> libICE.so.6.3.0
        libibus-1.0.so.5 -> libibus-1.0.so.5.0.523
        libgthread-2.0.so.0 -> libgthread-2.0.so.0.6600.8
        libgssapi_krb5.so.2 -> libgssapi_krb5.so.2.2
        libgobject-2.0.so.0 -> libgobject-2.0.so.0.6600.8
        libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.6600.8
E: Sub-process /usr/bin/dpkg returned an error code (1)

I solved with:
$ sudo mv /var/lib/dpkg/info/libc-bin.* /tmp/
$ sudo apt install libc-bin
$ sudo mv /tmp/libc-bin.* /var/lib/dpkg/info/

switching to WSL2 solved the issue


Can different layers have different learning rates?

Can different layers have different learning rates? This would be useful in the case of using pre-trained layers and fine-tuning new layers on top (ideally the training of the new layers should have a higher learning rate).

After checking the code - different layers have to have the same learning rate. I did a pull request to allow this.


how to make the gt data?

I wonder how the gt data generated, does the competetion illustrate?

You can refer to the paper Creating cinematic wide gamut HDR-video for the evaluation of tone mapping operators and HDR-displays.


String resource app_name

You have richeditor in your resources. It's overriding the default app_name used in most android projects. It is probably not used in your code anyway, so should be removed, or renamed to have a prefix like jpre__app_name otherwise.

I appears to work without this default string. I created pull request for this issue https://github.com/wasabeef/richeditor-android/pull/18. It would be great if you could merge it and put 0.2.1 in jcenter.
Thanks for an awesome lib btw :)

@micHar
v0.2.2 relased


undefined method `namespace' for nil:NilClass (NoMethodError)

How to reproduce an issue:

create an empty .yardoc folder
specify path to it with --use-cache option.

Example:
yardoc --protected --private --use-cache .yardoc --output-dir tmp/cache/docs --no-yardopts '{app}/**/*.rb'
Results in:
yard-0.9.8/lib/yard/serializers/file_system_serializer.rb:59:in `serialized_path': undefined method `namespace' for nil:NilClass (NoMethodError)

Because YARD::Registry.root becomes nil.
OS: Ubuntu 16.04
Ruby: 2.3.3
Rails: 5.0.2
Gem version: 0.9.8

@intale thanks for reporting this. We can probably implement some safeguard to recreate the database. Can you explain how you got into this state, though? It seems like the database was corrupted somehow (files in the directory were removed).

Well, I just wanted the static docs be present in production rails app. So I added a .yardoc folder to the list of linked_dirs in my capistrano script(+ docs generation command, of course) - not doing this and not using --use-cache option results into long time docs generation. Another words, yard db is generated for each release from scratch, which is unsuitable. But when testing deploy locally, I ran into this issue.

We can probably implement some safeguard to recreate the database
From my point of view, the code shouldn't assume that db is present by .yardoc folder existence.

From my point of view, the code shouldn't assume that db is present by .yardoc folder existence.

@intale it does though-- the database is the entire directory node. There are historical reasons for this (namely YARD also supports the .yardoc being a file node), so the simplified "db exists?" check is "node exists?".
That said, recreating the db if the cache location is corrupt or cannot be unmarshaled would still probably resolve this, and probably other similar cases as well.

Looks like we just weren't properly initializing database state when loading from disk. This can now be separated from any assumptions we make about the database node on disk-- i.e., you're free to pick an empty directory (you were before too, we just had this bug).


Metadata Ingestion: 'Advanced -> Add extra pip libraries for an ingestion execution' are not installed in scheduled runs

Describe the bug
if you add new metadata ingestion and on name source step add: 'Advanced -> Add extra pip libraries for an ingestion execution' they will be installed only in manual runs but not installed in scheduled runs
To Reproduce
Steps to reproduce the behavior:

Create ingestion source following this guide -> https://datahubproject.io/docs/ui-ingestion/#creating-an-ingestion-source
Enable scheduled runs (i.e. every 5 minutes)
While creating, on step 4 (Finish up) add a library to Advanced (expand menu) -> Add extra pip libraries for an ingestion execution
Hit Save & Run -> Logs will show that additional pip library is installed
Wait for a scheduled run and inspect the log extra pip library is not installed in this case

Expected behavior
Add extra pip libraries for an ingestion execution must be installed for both scheduled and manual runs.
Screenshots
If applicable, add screenshots to help explain your problem.
Manual run:

Scheduled run (same configs):

I believe we fixed this in https://github.com/datahub-project/datahub/pull/10195 the other day.

We've bumped our deployment to the latest version and I believe the issue is still there


[Event Correction Request] Codeunit 22 - Item Jnl.-Post Line - OnBeforeAllowProdApplication

This is a correction request for #1655
In codeunit Item Jnl.-Post Line, function AllowProdApplication, please correct position and parameters of event OnBeforeAllowProdApplication as follows:
// >> NEW
OnBeforeAllowProdApplication(VAR OldItemLedgEntry,ItemLedgEntry);
// << NEW

AllowApplication :=
  (OldItemLedgEntry."Entry Type" = ItemLedgEntry."Entry Type") OR
  (OldItemLedgEntry."Order No." <> ItemLedgEntry."Order No.") OR
  ((OldItemLedgEntry."Order No." = ItemLedgEntry."Order No.") AND
   (OldItemLedgEntry."Order Line No." <> ItemLedgEntry."Order Line No."));

// >> DELETE
// OnBeforeAllowProdApplication(OldItemLedgEntry,ItemLedgEntry);
// << DELETE
EXIT(AllowApplication);

We need to change OldItemLedgEntry in order to manipulate the output of AllowApplication.

Note: This request was not implemented. We need to update our subscriber instead.


remove period in title for demo purposes

part of https://github.com/keptn/lifecycle-toolkit/issues/771

This was a nothing PR for a demo in Office Hours.


Hyundai CAN-FD: add delay between requests

I believe the gateway needs to see no traffic from the client after a request in order to do some sort of initialization where it doesn't skip any more iso-tp frames. Not sure if this is the best way to go about this yet.
Dealer software sends some diagnostic commands, then tester present 3-4 times in quick succession, then waits 200ms to do FW queries.

Going to query from the camera https://github.com/commaai/openpilot/pull/26063


Experiment config_hook does not change ingredient's config

It seems that any ingredient level changes within an experiment's config hook do not actually alter the ingredient's config. It seems they are being overwritten right about here.
Code to reproduce the issue:
import sacred

feats = sacred.Ingredient("feats")
feats.add_config({"name": "feats"})

ex = sacred.Experiment("coury_sacred_test", ingredients=[feats])
ex.add_config({"name": "experiment"})

@ex.config_hook
def ex_config_hook(config, command_name, logger):
    config["feats"]["name"] = "feats_changed"
    print("Config hook changes:", config)
    return config

@ex.automain
def main(_run):
    print(_run.config)

Output:
> python scratch_sacred_config_hook_debug.py print_config

Config hook changes: {'name': 'experiment', 'feats': {'name': 'feats_changed'}}
INFO - coury_sacred_test - Running command 'print_config'
INFO - coury_sacred_test - Started
Configuration (modified, added, typechanged, doc):
  name = 'experiment'
  seed = 149828750
  feats:
    name = 'feats'
INFO - coury_sacred_test - Completed after 0:00:00

Hi @cmditch! Thanks for reporting this. Do you have an idea how to fix this issue and would prepare a PR? Unfortunately, I currently don't have much time to work on this.


.gitmodules is using SSH protocol instead of HTTPS

We have a machine where SSH key is not yet configured. On that machine, we have the following error:
$ git submodule update --recursive
Cloning into 'doc'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:gflags/gflags.git' into submodule path 'doc' failed

At line 3 of .gitmodule file, we have
         url = git@github.com:gflags/gflags.git

after changing the line to the following one, it works.
         url = https://github.com/gflags/gflags.git

Thanks, I've made the suggested change.

:+1:

but how can we have .gitmodules with https:// only? it is automatically checkout while fetching a repository

The current .gitmodules does use the HTTPS protocol. Further, you can modify the file after cloning before initializing the submodule. If it's some automated build, you don't need to clone / update the submodule as it contains only the online documentation.

hi,
mine is the automated build through bamboo. I am including checkout repository task which does not pull submodules on its own. it gives the error as
Cloning into 'OAuthConsumer'...
fatal: unable to connect to github.com:
github.com[0: <IP_ADDRESS>]: errno=Connection refused
Clone of 'git://github.com/aaaaaaaaaa/oauthconsumer' into submodule path 'OAuthConsumer' failed
No matching processes belonging to you were found
** BUILD FAILED **

i found the answer. To resolve OAuthConsumer cloning errors, we have to give the below commands while pulling submodules
git submodule sync
git submodule update --init --recursive


feature: add option to extend CEL environment

Adding an option to extend the CEL environment used for validation with custom functions or constants. This would greatly improve the protovalidate usage in dynamic environment (e.g. when some of the constraints are not static and hence cannot be defined using existing rules like gt, min_len etc.). This would also allow for custom format support, e.g. the formats that are not widely used and thus not making sence to be supported at celext level.

 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.

Hi, @igor-tsiglyar! Thanks for the patch. However, we are not going to expose the CEL environment for extension. For a previous discussion on this topic (and others), see https://github.com/bufbuild/protovalidate-go/issues/73#issuecomment-1792999337


Failed install to Mac OS from RStudio and from terminal

I have been trying to install to Mac, and have tried several possible solutions, but nothing seems to work. Following issue 1407, I tried installing from the RStudio console:
> install_github("Microsoft/LightGBM", subdir = "R-package")
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
installing via 'install.libs.R' to /Library/Frameworks/R.framework/Versions/3.5/Resources/library/lightgbm
Error in eval(ei, envir) : Copying CMakeLists failed
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/lightgbm’
Error in i.p(...) :
(converted from warning) installation of package ‘/var/folders/bz/h_ys6bjn3h9b201nks55l9bc0000gn/T//Rtmp9TFE7v/file8de29d49380/lightgbm_2.2.3.tar.gz’ had non-zero exit status

I also tried from within the LightGBM folder and got completely a different error message:
> Rscript build_r.R
Updating lightgbm documentation
Updating roxygen version in /Users/bgppermp/Downloads/LightGBM/lightgbm_r/DESCRIPTION
Writing NAMESPACE
Loading lightgbm
Loading required package: R6
Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) :
must specify DLL via a “DLLInfo” object. See getLoadedDLLs()
Calls: <Anonymous> ... assignNativeRoutines -> getDLLRegisteredRoutines.DLLInfo
In addition: Warning message:
roxygen2 requires Encoding: UTF-8
Execution halted

So, I'm at a dead end in both cases.  I have tried to set the CXX and CC flags to (g++ or g++-8) and (gcc and gcc-8).  Your suggestions would be appreciated because with the differing error messages, this is now beyond me.
Environment info
Operating System: Mac OS X 10.13.6
CPU/GPU model: 3 GHz 8-Core Intel Xeon E5
C++/Python/R version:  R v. 3.5.1
rvm_bin_path=/Users/bgppermp/.rvm/bin
TERM_PROGRAM=Apple_Terminal
GEM_HOME=/Users/bgppermp/.rvm/gems/ruby-2.4.2
SHELL=/bin/bash
TERM=xterm-256color
IRBRC=/Users/bgppermp/.rvm/rubies/ruby-2.4.2/.irbrc
TMPDIR=/var/folders/bz/h_ys6bjn3h9b201nks55l9bc0000gn/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.nAzjTbF0wY/Render
TERM_PROGRAM_VERSION=404
OLDPWD=/Users/bgppermp/Downloads/LightGBM
MY_RUBY_HOME=/Users/bgppermp/.rvm/rubies/ruby-2.4.2
TERM_SESSION_ID=7A5FF598-D214-4F1C-A10E-D177BA13BFB4
USER=bgppermp
_system_type=Darwin
rvm_path=/Users/bgppermp/.rvm
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.wAGuhJZysJ/Listeners
rvm_prefix=/Users/bgppermp
PATH=/usr/local/opt/curl/bin:/usr/local/bin:/Users/bgppermp/.rvm/gems/ruby-2.4.2/bin:/Users/bgppermp/.rvm/gems/ruby-2.4.2@global/bin:/Users/bgppermp/.rvm/rubies/ruby-2.4.2/bin:/usr/local/opt/openssl@1.1/bin:/Users/bgppermp/anaconda/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/GDAL.framework/Programs:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/ncbi/blast/bin:/Library/TeX/texbin:/usr/local/MacGPG2/bin:/opt/X11/bin:~/bin:/Users/bgppermp/.rvm/bin
PWD=/Users/bgppermp/Downloads/LightGBM/R-package/src
LANG=en_US.UTF-8
_system_arch=x86_64
XPC_FLAGS=0x0
BLASTDB=/Volumes/lev_pearman/blastdb
_system_version=10.13
CXX=/usr/local/bin/g++
XPC_SERVICE_NAME=0
rvm_version=1.29.3 (latest)
SHLVL=1
HOME=/Users/bgppermp
LOGNAME=bgppermp
GEM_PATH=/Users/bgppermp/.rvm/gems/ruby-2.4.2:/Users/bgppermp/.rvm/gems/ruby-2.4.2@global
CC=/usr/local/bin/gcc
DISPLAY=/private/tmp/com.apple.launchd.gPxyTK0544/org.macosforge.xquartz:0
RUBY_VERSION=ruby-2.4.2
SECURITYSESSIONID=186a9
_system_name=OSX
_=/usr/bin/env

Error message

Reproducible examples

Steps to reproduce

@pbpearman Did you build the package first using the build_r.R script? (it builds and installs, actually)

Yes, I tried, but it doesn't complete.
In the second example in the original post, I showed what happened when using that script from within the LightGBM folder.  The fairly cryptic error message was:
Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) :  must specify DLL via a “DLLInfo” object. See getLoadedDLLs()
This might provide another approach to trouble-shooting, but I looked at the build_r.R script and did not find anything I could relate to the error message.

Tried to install LightGBM; kept on getting "Copying CMakeLists failed" messages

I too am getting this error, on mac osx 10.14.1 running R 3.5.1.  Perhaps this is related to #1702?
Bens-MacBook-Pro-2017:LightGBM Ben$ Rscript build_r.R
Updating lightgbm documentation
Updating roxygen version in /Users/Ben/Documents/Projects/R/LightGBM/lightgbm_r/DESCRIPTION
Writing NAMESPACE
Loading lightgbm
Loading required package: R6
Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) :
  must specify DLL via a “DLLInfo” object. See getLoadedDLLs()
Calls: <Anonymous> ... assignNativeRoutines -> getDLLRegisteredRoutines.DLLInfo
In addition: Warning message:
roxygen2 requires Encoding: UTF-8
Execution halted
Bens-MacBook-Pro-2017:LightGBM Ben$

Ping @jameslamb : DLL on Mac or generic error?

@pbpearman Can you try lgbdl to see if it provides an another error message? Make sure to use a fresh R session and to close all other R sessions.

Hmm, it seems that the line devtools::document(pkg = "lightgbm_r") in build_r.R is the culprit.  If I run the script without that line, lightgbm appears to install successfully.

@ben519 Sounds like the R session is not cleaned after generating the documentation because this DLL error appears when trying to install a package with a corresponding .so/.dll already loaded in memory (here, installing LightGBM while LightGBM is being used).

@Laurae2, @ben519 Here is what I get when running lgbdl from a fresh R session:
`> lgbdl::lgb.dl(compiler = "gcc")
Cloning into 'LightGBM'...
Submodule 'include/boost/compute' (https://github.com/boostorg/compute) registered for path 'compute'
Cloning into '/private/var/folders/bz/h_ys6bjn3h9b201nks55l9bc0000gn/T/Rtmpw8LARd/LightGBM/compute'...
Submodule path 'compute': checked out '509ebe4a9282eec8a92c65ce3bbc1925f1fdbe07'
Already on 'master'
Your branch is up to date with 'origin/master'.

installing source package ‘lightgbm’ ...
** libs
/usr/local/bin/gcc -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/usr/local/include  -O3 -Wall -pipe -pedantic -std=gnu99 -fopenmp -fPIC  -g -O3 -Wall -pedantic -std=gnu99 -mtune=native -pipe -c R_init.c -o R_init.o
/usr/local/bin/gcc -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o lightgbm.so R_init.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. Falling back to library file for linking.
installing via 'install.libs.R' to /Library/Frameworks/R.framework/Versions/3.5/Resources/library/lightgbm
-- The C compiler identification is AppleClang <IP_ADDRESS>01145
-- The CXX compiler identification is AppleClang <IP_ADDRESS>01145
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
Call Stack (most recent call first):
/Applications/CMake.app/Contents/share/cmake-3.12/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/Applications/CMake.app/Contents/share/cmake-3.12/Modules/FindOpenMP.cmake:466 (find_package_handle_standard_args)
CMakeLists.txt:78 (find_package)

-- Configuring incomplete, errors occurred!
See also "/private/var/folders/bz/h_ys6bjn3h9b201nks55l9bc0000gn/T/Rtmpw8LARd/LightGBM/lightgbm_r/src/build/CMakeFiles/CMakeOutput.log".
make: *** No rule to make target `_lightgbm'.  Stop.
Error in eval(ei, envir) : Cannot find lib_lightgbm.so

removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/lightgbm’
[1] FALSE
Warning message:
In install.packages(file.path(lgb_git_dir, "LightGBM", "lightgbm_r"),  :
installation of package ‘/var/folders/bz/h_ys6bjn3h9b201nks55l9bc0000gn/T//Rtmpw8LARd/LightGBM/lightgbm_r’ had non-zero exit status`

@pbpearman it looks like clang is not finding openmp. Can you humor me and try this as we note in the installation guide?
brew install libomp

I also have never tried from within RStudio but given my experience with that tool, I echo @Laurae2 's concern that something is being left behind.
If you run
Rscript build_r.R

from the command line, this would not be a concern because every Rscript call is a new R session by definition.

I'm getting the same thing both with the command line and with Rstudio.
C:\LightGBM>Rscript build_r.R Updating lightgbm documentation Updating roxygen version in C:\LightGBM\lightgbm_r/DESCRIPTION Writing NAMESPACE Loading lightgbm Loading required package: R6 Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) :   must specify DLL via a "DLLInfo" object. See getLoadedDLLs() Calls: <Anonymous> ... assignNativeRoutines -> getDLLRegisteredRoutines.DLLInfo In addition: Warning message: roxygen2 requires Encoding: UTF-8 Execution halted

Update:  Ran this on my digital ocean Ubuntu 18.04 server and got exactly the same thing.
$ Rscript build_r.R
Updating lightgbm documentation
Updating roxygen version in /home/pres/LightGBM/lightgbm_r/DESCRIPTION
Writing NAMESPACE
Loading lightgbm
Loading required package: R6
Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) :
must specify DLL via a “DLLInfo” object. See getLoadedDLLs()
Calls:  ... assignNativeRoutines -> getDLLRegisteredRoutines.DLLInfo
In addition: Warning message:
roxygen2 requires Encoding: UTF-8
Execution halted

@1psmith Comment the line 49 of build_r.R, I am also getting the error.

@1psmith You can try also #1868 fix.
git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM
git checkout fbd98d5
Rscript build_r.R

Update:  Ran this on my digital ocean Ubuntu 18.04 server and got exactly the same thing.
$ Rscript build_r.R
Updating lightgbm documentation
Updating roxygen version in /home/pres/LightGBM/lightgbm_r/DESCRIPTION
Writing NAMESPACE
Loading lightgbm
Loading required package: R6
Error in getDLLRegisteredRoutines.DLLInfo(dll, addNames = FALSE) :
must specify DLL via a “DLLInfo” object. See getLoadedDLLs()
Calls:  ... assignNativeRoutines -> getDLLRegisteredRoutines.DLLInfo
In addition: Warning message:
roxygen2 requires Encoding: UTF-8
Execution halted

@1psmith You can try also #1868 fix.
git clone --recursive https://github.com/Microsoft/LightGBM
cd LightGBM
git checkout fbd98d5
Rscript build_r.R

Yes! This worked perfectly.  Thanks!!!

For reference, I think the root of this issue is discussed here.