Feature Request: Manual Sensor

I'm exploring ways to integrate utility data into HA. This isn't for real time monitoring, but for record keeping. Primarily, I'm interested in tracking monthly cost and usage of power, internet, and water. It seems to me that the easiest thing to do would be to have a manual sensor that I could input manually when I get my bill.
This also relies on something like #1267 being integrated so the data could be visualized in an appropriate way (e.g. trended over a 6 month interval).
Would anybody else find something like this useful?

Why not use the api to set a state?
On Tue, Feb 16, 2016, 07:30 brusc<EMAIL_ADDRESS>wrote:

I'm exploring ways to integrate utility data into HA. This isn't for real
time monitoring, but for record keeping. Primarily, I'm interested in
tracking monthly cost and usage of power, internet, and water. It seems to
me that the easiest thing to do would be to have a manual sensor that I
could input manually when I get my bill.
This also relies on something like #1267
https://github.com/balloob/home-assistant/issues/1267 being integrated
so the data could be visualized in an appropriate way (e.g. trended over a
6 month interval).
Would anybody else find something like this useful?
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1279.

You mean make a dummy sensor (like command line sensor or something) and set it's value with Set State through the HA interface? Not a bad idea!
The only nice-to-have would be to be able to set the date when the sensor is logged. So you could add historical data or something..

As a random question, how unfeasible is it to do text entry through the HA frontend? Having something like a note "sensor" would be great for grocery lists or messaging family. You could use the templating automations (e.g. pushbullet notifications, lights) if the text matched, etc.

Home Assistant does not support setting state in the past.
You don't have to create a dummy entity either, just set state of an unused
entity_id
On Tue, Feb 16, 2016, 08:08 brusc<EMAIL_ADDRESS>wrote:

As a random question, how unfeasible is it to do text entry through the HA
frontend? Having something like a note "sensor" would be great for grocery
lists or messaging family. You could use the templating automations (e.g.
pushbullet notifications, lights) if the text matched, etc.
—
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1279#issuecomment-184747921
.

Gotcha. Thanks for the input. What about text entry though the frontend? Does that have any value or would you recommend doing that as Set State task, too?

Presumably there will some day be an input_text, to go with the input_select and input_boolean that we currently have.

Good to hear. Looking forward to that implementation!


Hello World App in Quakus

Hi @somishraredhat @rsriniva @mabulgu
Please have a look at this pull request.

Hi @somishraredhat @rsriniva @mabulgu
Please have a look at this pull request.

I will take a look ASAP. Thanks!

@shatakshi06 are the steps in the README.md valid? I want to go through the sample app so I wanted to be sure if the steps are valid or not. If they are not, can you update them so I can try out this demo. Thanks!

@shatakshi06 are the steps in the README.md valid? I want to go through the sample app so I wanted to be sure if the steps are valid or not. If they are not, can you update them so I can try out this demo. Thanks!

@mabulgu  Let me update it and let you know once it is done.

@shatakshi06 are the steps in the README.md valid? I want to go through the sample app so I wanted to be sure if the steps are valid or not. If they are not, can you update them so I can try out this demo. Thanks!

Hi @mabulgu I have updated the readme file with the procedure of serverless functions. Please Check.


Added "audiointowavformat.py" in your repo..

Script Description -
what will change -
Instructions

Create a new folder for your script and file/folder name should be appropriate.
Create a README.md in your folder for program Instructions
add requirements.txt if needed
add pytest/unittest if possible

Please add/delete options that are not relevant.

[x] Adding New Code
[x] Improving Documentation

Programming Language

[x] Python

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server  - https://discord.gg/FXyh2S3
Happy Coding,

duplicate issue. same PR is merged this week for audio format conversion


Choice of development language

Hey guys,
I don't want to start a language debate
But I am really curious why the toggle desktop client is developed in C++ and not in a language such as Java, golang or Python?

Could it be due to the runtime requirements being less or simpler to install?
Are there any other languages you considered? If so why did you choose not to go with them.
Experiences so far developing in C++?

Hi Chris,
The person best able to answer these questions is currently on vacation so there may be a delay of a few weeks before he'll get back to you.
Hopefully he'll have some answers for you soon.
Thanks.

Hey @chriscz !
I'll gladly try to explain how we got to the decision we made.
The most important criteria when starting the Toggl Desktop 7 was that the app had to be native. The previous versions of Toggl Desktops were kind of hybrid with web technologies combined with native.
So it had to be native and it had to be cross platform. This meant we wanted to create as much sharable code as we can. In a sense we have 4 different parts in Toggl Desktop:

Library (written in c++ and shared across all platforms)
Windows UI, written with WPF (C#)
Mac UI, written in Objective-C
Linux UI, written with Qt (C++)

As for other languages. We didn't really consider any. We do love Golang in Toggl and use it in our API but at the time of starting Toggl Desktop there were not good examples of Golang being used in production desktop applications so we decided to go with C++.
As with all languages, C++ has it's pros and cons. The pros are that it is low level, powerful and it is fast. You can do complex things with large amounts of data really fast. The biggest con is that everything is done manually and sometimes doing simple things can be really complicated. Now when looking back at the decision I think we made the right one as the full package works well together and has allowed us to create a great product.

Thank @IndrekV !


Alternatively, changing rm to command rm or /bin/rm would bypass any aliases the user set up and run the rm command directly. Do you have a preference?

I just changed it to /bin/rm for now since I think that's cleanest.

Thanks!


_one plural form doesn't seem to work

The docs say that _one should work, especially in English:

English has only two: _one and _other

However, the code doesn't allow count=1 to use the plural form _one because of the > 1 check.
Tests expect either a non-suffixed key withsingular or a number key withsingular_1. So the tests aren't even testing _one.

@justincy I prereleased the fix under 1.0.5-canary.3


Markdown injecting an extra backtick

Steps:

Add a single back tick at the start of a sentence
move the cursor to the end of the sentence
type backtick
🐛 2 backticks are inserted

This didn't use to be the case, I feel...

This was very likely regressed by 703a75da38519117da44e2b0a3b56200db56d756. However we really should support autoclosing single and triple backticks

I'll try to fix this

I'd love to take a crack at this one!

Is there a way to override the default behavior? The changes in https://github.com/microsoft/vscode/commit/703a75da38519117da44e2b0a3b56200db56d756 have been a source of frustration. I have to delete the extra backticks every time, and I write a lot of documentation, so it's all day lol.

@SaadMahm00d  or @mjbvz - what build is this fixed in? Just updated to latest regular/GA build and I still see both this problem and related code block ``` problem. I am constantly manually deleting backticks :(

@mandrie The issue is still open

same issue as https://github.com/microsoft/vscode/issues/192414 ?

For anyone still having issues with this who wants to disable it until MS fixes the issue, you can simply remove a couple of lines from the JSON config to effectively revert the PR that added them: https://github.com/microsoft/vscode/pull/184532
The file is in the application install directory. For me this was in the following locations:
Win11: %LOCALAPPDATA%\Programs\Microsoft VS Code\resources\app\extensions\markdown-basics\language-configuration.json
MacOS: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/markdown-basics/language-configuration.json
Just open the file and delete one or both of the following lines from the "autoClosingPairs" array to turn off this behaviour (for me it was around line 14):
{ "open": "`", "close": "`" },
{ "open": "```", "close": "```" }

Just a remainder, this issue was already fixed earlier and probably can be closed. :D

commit: 6e2ea0ed2756722d1e46caae50c8f3a8f5f427b3

Thanks @wdhongtw
yes looks fixed in my testing

Thanks @wdhongtw
yes looks fixed in my testing


[l10n] Add Translation instructions for Dummies

I would appreciate it if the README instructions on how to translate spot into different languages were a bit more accessible. Translating software is a great way to contribute if your coding skills aren't that good, so it should be easy to do so in my opinion.
Personally, I would like to make sure that the German translation includes all translatable strings before submitting a PR - but running the commands gives me the following error:
$ ninja spot-pot -C target
ninja: Entering directory `target'
ninja: fatal: chdir to 'target' - No such file or directory

When I create the target directory, the error message changes:
$ ninja spot-pot -C target
ninja: Entering directory `target'
ninja: error: loading 'build.ninja': No such file or directory

What am I supposed to do here? Thanks in advance!

 AFAIK that should create the target directory with the build files it needs

Thanks Tom, indeed the project needs to be configured before. Might be worth improving the README indeed!

@exciteabletom Yes, I did;
$ meson target -Dbuildtype=debug -Doffline=false --prefix="$HOME/.local"
The Meson build system
Version: 0.55.3
Source dir: /home/philipp/Programming/Translations/spot
Build dir: /home/philipp/Programming/Translations/spot/target
Build type: native build
Project name: spot
Project version: 0.1.10
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program glib-compile-schemas found: YES
Program appstream-util found: NO
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Found CMake: /usr/bin/cmake (3.16.3)
Run-time dependency libhandy-1 found: NO (tried pkgconfig and cmake)

src/meson.build:3:0: ERROR: Dependency "libhandy-1" not found, tried pkgconfig and cmake

A full log can be found at /home/philipp/Programming/Translations/spot/target/meson-logs/meson-log.txt

I can see that I am missing the dependency libhandy-1, but I am unable to find it in the Ubuntu repos via apt install libhandy-1.
All ninja commands mentioned in the README fail as follows:
ninja: Entering directory `target'
ninja: error: loading 'build.ninja': No such file or directory

Thank you for helping me out, the noob that I am! It is greatly appreciated.

Hmm, maybe meson is stuck because of the missing dependency and does not generate build.ninja... I might try adding a fallback to build libhandy from source (as a subproject) when it's not availble
But to get started, you don't need to use the commands mentioned in the README, it's mostly when new msgids need to be integrated or updated! Editing LINGUAS + using the .pot file as a template is enough. I'll try to write something in the README!

Thanks for the effort :)
Yes, getting meson/ninja to work is not really necessary for being able to contribute translations. It would be nice to build the application with the new translations in order to check if everything looks good, though...

I added a few lines to the README, hopefully that helps contributors!
But you're right about being able to test; I'll add the flatpak snapshot builds to the MRs as well I think.

Thank you very much, exactly what I had in mind!
Do ping me if there are new translatable strings, I'm happy to help!


New package: mtimkovich.pipe-rename version 1.6.5

Description

Resolve #124933

Checks

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem.

Maybe this portable executable does not bundle with MSVC Runtime. I'll try if adding Runtime as PackageDependency.

@wingetbot waivers Add Validation-Executable-Error


FIX - Unit tests

Codecov Report

Merging #54 (f34baf3) into develop (c71fcaf) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff            @@
##           develop      #54   +/-   ##
========================================
  Coverage    65.71%   65.71%
========================================
  Files           56       56
  Lines         1292     1292
========================================
  Hits           849      849
  Misses         443      443

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Remove my name from package.json / license

And anywhere else it appears. Otherwise folks will forget to update and it'll be published under my name.

So, @thejameskyle, you do bring up a good point, but I can't modify either of these files because they both reference this project and are a part of the project. This is one of the things Yeoman would solve for us, but if/until we switch it's got to stay this way.


OpenFAST

Hello,
Can I use openFAST to analyse a barge with moonpool (mass is not uniformly distributed due to operational machines placed over it) that is not meant to carry a wind turbine by only using hydrodyn, elastodyn for barge propeties and moordyn?
If so, in which module do I have to include the wind effects acting on the barge and how to incorporate the non-uniform mass?
Regards,

Hi @AryaThomas,
Yes, you could.  To "remove" the wind turbine from ElastoDyn, set the appropriate geometry and mass terms to zero (or close to zero) and disable all but the platform DOFs.  You can place the entire mass, center of mass, and inertias of the barge in the ElastoDyn platform.
However, OpenFAST does not currently support direct wind loading on the substructure.  AeroDyn currently only considers wind loading on the rotor and tower.
Best regards,

Thanks Jason.
Is there any way to externally add (couple) the direct wind loading on the substructure  into OpenFAST?

@AryaThomas,
If you have your own way of calculating wind loading time series (not including relative motion effects), the new Structural Control (StC) submodel of ServoDyn, released in OpenFAST v3.0 (https://github.com/OpenFAST/openfast/pull/607), allows the user to prescribe their own applied loads (forces, moments) at user-specified locations in the blades, nacelle, tower, and substructure.
Best regards,

Ok.
Thanks for the information.


Brew Install Failing at *darwin.so

I'm getting an error when attempting to install unifi-poller via Homebrew. I'm new to this sort of thing but have Grafana and InfluxDB installed and have them working but run into the issue below when I try running $ brew install golift/mugs/unifi-poller  that is listed in the wiki for the MacOS install.
Pyro-MBP:~ michaeldupaix$ brew install golift/mugs/unifi-poller --verbose
==> Installing unifi-poller from golift/mugs
/usr/bin/sandbox-exec -f /private/tmp/homebrew20200429-34497-6i0m67.sb nice ruby -W0 -I $LOAD_PATH -- /usr/local/Homebrew/Library/Homebrew/build.rb /usr/local/Homebrew/Library/Taps/golift/homebrew-mugs/Formula/unifi-poller.rb --verbose
==> Downloading https://golift.io/unifi-poller/archive/v2.0.0.tar.gz
Already downloaded: /Users/michaeldupaix/Library/Caches/Homebrew/downloads/e70b0b04eba4252ac2249c8f2008a520ae1c9f64949edafe491ab2820b4dbe96--unifi-poller-2.0.0.tar.gz
==> Verifying e70b0b04eba4252ac2249c8f2008a520ae1c9f64949edafe491ab2820b4dbe96--unifi-poller-2.0.0.tar.gz checksum
tar xof /Users/michaeldupaix/Library/Caches/Homebrew/downloads/e70b0b04eba4252ac2249c8f2008a520ae1c9f64949edafe491ab2820b4dbe96--unifi-poller-2.0.0.tar.gz -C /private/tmp/d20200429-34498-141em82
cp -pR /private/tmp/d20200429-34498-141em82/unifi-poller-2.0.0/. /private/tmp/unifi-poller-20200429-34498-ebwu1e/unifi-poller-2.0.0
chmod -Rf +w /private/tmp/d20200429-34498-141em82
==> make install VERSION=2.0.0 ITERATION=763 PREFIX=/usr/local/Cellar/unifi-poller/2.0.0 ETC=/usr/local/etc
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
go get github.com/github/hub/md2roff-bin
go build -o unifi-poller -ldflags "-w -s -X github.com/prometheus/common/version.Branch=unknown -X github.com/prometheus/common/version.BuildDate=2020-04-29T17:52:51Z -X github.com/prometheus/common/version.Revision=0 -X github.com/prometheus/common/version.Version=2.0.0-763"
go: downloading github.com/unifi-poller/promunifi v0.0.6
go: downloading github.com/unifi-poller/inputunifi v0.0.6-0.20200205010458-a1783e28d08a
go: downloading github.com/unifi-poller/poller v0.0.5
go: downloading github.com/unifi-poller/influxunifi v0.0.8
go: downloading github.com/unifi-poller/unifi v0.0.4
go: downloading github.com/github/hub v1.12.4
go: downloading github.com/prometheus/client_golang v1.4.0
go: downloading github.com/prometheus/common v0.9.1
go: downloading golift.io/cnfg v0.0.5
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d
go: downloading golang.org/x/net v0.0.0-20200202094626-16171245cfb2
go: downloading github.com/github/hub v2.11.2+incompatible
go: downloading github.com/BurntSushi/toml v0.3.1
go: downloading gopkg.in/yaml.v2 v2.2.8
go: downloading github.com/prometheus/client_model v0.2.0
go: downloading github.com/prometheus/procfs v0.0.8
go: downloading github.com/golang/protobuf v1.3.3
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1
go: found github.com/github/hub/md2roff-bin in github.com/github/hub v2.11.2+incompatible
go: downloading github.com/russross/blackfriday v2.0.0+incompatible
go: downloading github.com/mattn/go-colorable v0.1.4
go: downloading github.com/mattn/go-isatty v0.0.11
go: downloading golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
Building man page.  -
Local installation with the Makefile is only supported on macOS.
If you wish to install the application manually on Linux, check out the wiki: https://https://github.com/unifi-poller/unifi-poller/wiki/Installation
Otherwise, build and install a package: make rpm -or- make deb
See the Package Install wiki for more info: https://https://github.com/unifi-poller/unifi-poller/wiki/Package-Install

Copying the binary, config file, unit file, and man page into the env.
/usr/bin/install -m 0755 -d /usr/local/Cellar/unifi-poller/2.0.0/bin /usr/local/Cellar/unifi-poller/2.0.0/share/man/man1 /usr/local/etc/unifi-poller /usr/local/Cellar/unifi-poller/2.0.0/share/doc/unifi-poller /usr/local/Cellar/unifi-poller/2.0.0/lib/unifi-poller
/usr/bin/install -m 0755 -cp unifi-poller /usr/local/Cellar/unifi-poller/2.0.0/bin/unifi-poller
/usr/bin/install -m 0755 -cp *darwin.so /usr/local/Cellar/unifi-poller/2.0.0/lib/unifi-poller/
install: *darwin.so: No such file or directory
make: *** [install] Error 71
==> Formula
Tap: golift/mugs
Path: /usr/local/Homebrew/Library/Taps/golift/homebrew-mugs/Formula/unifi-poller.rb
==> Configuration
HOMEBREW_VERSION: 2.2.14
ORIGIN: https://github.com/Homebrew/brew
HEAD: e2bc0fa6879ce4c74ea2d8f8c654c9812f776b43
Last commit: 34 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 12d7c0db8214a80673cdb14bc2415495c8abb09b
Core tap last commit: 47 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_MAKE_JOBS: 8
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build 1001
Git: 2.20.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.6-x86_64
CLT: <IP_ADDRESS>.1.1562985497
Xcode: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/libxml2:/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.14
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk
PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/go/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: golift/mugs/unifi-poller 2.0.0 did not build
Logs:
/Users/michaeldupaix/Library/Logs/Homebrew/unifi-poller/01.make
/Users/michaeldupaix/Library/Logs/Homebrew/unifi-poller/00.options.out
/Users/michaeldupaix/Library/Logs/Homebrew/unifi-poller/01.make.cc
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/golift/homebrew-mugs/issues

This will be fixed when I get around to making another release. For now you can grab the b binary off the releases page, and the example config file from the repo.
Duplicates #200.

Version 2.0.1 fixes the issue.
brew install unifi-poller


[Question] Syntax to start a new conversation in a group channel?

I'm trying to write a bot and am running into errors when I try to create a group conversation in a channel. I roughly followed the patterns documented here, but unfortunately it seems like the sample code is for a direct conversation, which is not what I want. Below is some sample code:
ChannelAccount botAccount = new ChannelAccount(Resources.Strings.BotAppId, "Help Bot");
TeamsChannelData channelData = activity.GetChannelData<TeamsChannelData>();

// construct parameters
ConversationParameters conversationParameters = new ConversationParameters
{
	Bot = botAccount,
	IsGroup = true,
	ChannelData = channelData,
	// Members = ... do I need to fill this field out? and with what?
};

ConversationResourceResponse conversationResourceResponse = await connectorClient.Conversations.CreateConversationAsync(conversationParameters);

// construct message
IMessageActivity message = Activity.CreateMessageActivity();
message.From = botAccount;
message.Conversation = new ConversationAccount(id: conversationResourceResponse.Id.ToString());
message.Text = "Hello World";

await connectorClient.Conversations.SendToConversationAsync((Activity)message);

Am I missing parameters or using a wrong pattern here? Been trying to find some documentation on this online but it seems pretty sparse, so any help would be appreciated.

For channel conversation, you don't need to fill Members field. You need to set the channel Id in which you are creating the conversation.
var parameters = new ConversationParameters
            {
                Bot = botAccount,
                ChannelData = new TeamsChannelData
                {
                    Channel = new ChannelInfo(channelId) ,
                },
                IsGroup = true
            };

Could you please try this and let us know if you are facing any issue?

Tried the above and I'm still getting Message: Incorrect conversation creation parameters. For the channelId, I'm using channelData.Channel.Id from the activity that triggers this bot's method call.

@steven-liu - Here is the complete code for sending proactive message in a channel
        var channelData = context.Activity.GetChannelData<TeamsChannelData>();
        var message = Activity.CreateMessageActivity();
        message.Text = "Hello World";

        var conversationParameters = new ConversationParameters
        {
             IsGroup = true,
             ChannelData = new TeamsChannelData
              {
                 Channel = new ChannelInfo(channelData.Channel.Id),
             },
             Activity = (Activity) message
        };

        var connectorClient = new ConnectorClient(new Uri(activity.ServiceUrl));
        var response = await connectorClient.Conversations.CreateConversationAsync(conversationParameters);

Note: If you are calling this outside Bot's controller code need to call TrustServiceUrl on ServiceUrl as shown here:
        MicrosoftAppCredentials.TrustServiceUrl(serviceUrl, DateTime.MaxValue);
        var connectorClient = new ConnectorClient(new Uri(activity.ServiceUrl));
        var response = await connectorClient.Conversations.CreateConversationAsync(conversationParameters);

@Wajeed-msft can you please provide the code for javascript on how to create a conversation in a channel


Incorrect semver when updated to AndroidX

🐛 Bug Report

This library did not follow proper semver  when it updated to AndroidX. Version 1.0.5 was updated to AndroidX and this is a breaking change yet the previous version was 1.0.4!
This could be an even bigger problem if this library is used as a transitive dependency from another library (as it was in my case) as it is not obvious that this library is the issue.
I was able to work around this issue by doing the following in my pubspec.yaml:
dependency_overrides:
  google_api_availability: 1.0.4

Expected behavior
I should be able to put google_api_availability: ^1.0.0 in my pubspec.yaml and rely on that any versions within 1.0.x will not break me. This is proper semver and Dart's versioning relies heavily on libraries following semver. The proper version update for the AndroidX compatible release should have been 1.1.0. This would have ensured that only people who manully updated to ^1.1.0 would get the breaking change. To see an example of how to do this, look at the cloud_firestore changelog.
Reproduction steps
Put google_api_availability: ^1.0.0 in a project that has not been updated to AndroidX. You will get errors when it tries to multidex. Something like:
Execution failed for task ':app:transformClassesWithMultidexlistForRelease'.
> com.android.build.api.transform.TransformException: Error while generating the main dex list.

Configuration
A Flutter project that is not updated to AndroidX and uses multidex.
Version: 1.0.5
Platform:

[ ] :iphone: iOS
[x] :robot: Android

@jonjon1123 you are a 100% correct this was an error on our side. Thanks for the heads-up though

It looks like the there is a way to fix/revert this in Dart pub. Take a look at the firebase_analytics package changelog. They also had an issue with bumping the wrong version number but where able to revert the breaking change on Dart pub. I would highly recommend doing this so more people don't run into this issue.

Thanks for pointing that out. I have just published the fix 1.0.6+1


when i start other app the front app is also in Foreground

when i start other app the front app is also in Foreground Unless the other app goto next Activity  why ?  please help me !!

I don't understand the problem. What do you mean by "the front app is also in foreground"?

sorry my english is very bad !
A  app  launch B app
if  B  in MainActivity  A  is also in the  foreground
unless B  go to another activity ,when B back to MainActivity A in the  foreground again

@wangchengyan, can you provide a sample app that reproduces this issue?

Closing this issue. Please re-open if you can provide steps to reproduce.


Rename languages table to languagegroup

The term languages for the table is not super clear. Instead, rename to languagegroup, since it is a group of maximally 4 languages.

All changes implemented and tested.


Add custom cloze tokens

I have decided to implement custom cloze tokens (closes #556) myself.
For now, I have simply added two text field settings defaulted to empty. Empty means not using any custom cloze tokens. The existing three cloze settings are kept.
Edit: also closes #387

I did some digging around and found that this should also fix #387.
On Sun, Jan 22, 2023 at 12:56 PM polyipseity @.***>
wrote:

I have decided to implement custom cloze tokens (#556
https://github.com/st3v3nmw/obsidian-spaced-repetition/issues/556)
myself.
For now, I have simply added two text field settings defaulted to empty.
Empty means not using any custom cloze tokens. The existing three cloze
settings are kept.
You can view, comment on, or merge this pull request online at:
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607
Commit Summary

c056f10
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/commits/c056f103525dfef50db78b834cf99f7d6f26b8ff
Add settings to use custom cloze tokens

File Changes
(15 files
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files)

M README.md
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
(2)
M docs/en/flashcards.md
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-8cc885551e0a2fcae0e7002501293ad90a67f9305ea2199fed39146dbbbae68e
(2)
M src/lang/locale/cz.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-31dda5ed9bfd3bfc9678aa47835a033d490c4412319fbf893c36e910c7e499cb
(3)
M src/lang/locale/de.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-d543e2957ec07178642534615ce862c1a0e6ca85b6fb8dff84fdb0a1bfdd9097
(3)
M src/lang/locale/en.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-c38aa16c41b3b29b50dabe9019a87924f34a96ad250e28a12ea8375d856c0e4b
(3)
M src/lang/locale/ja.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-a87c53c5a6c01a49ac708ac7e0dbb2b6d463c1b65346b5f9e0ac5b4392b6b598
(3)
M src/lang/locale/ko.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-016790ca11979c1fc70969d32e56919fa04f0276bf931b282cbc3d6d8f097fae
(3)
M src/lang/locale/pt-br.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-041c59d08b157910be1e73205841a67341c67e20f2230f8f4ab41c62f2d52f54
(3)
M src/lang/locale/ru.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-ab932df2451b4031c93548f415b1cacc8fb0773826da9a0e9b3dc44d880912d7
(3)
M src/lang/locale/zh-cn.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-5f9d01164ce0665e6a55b49cacd225132eaad222657007ae84d755c1a7ac47c3
(3)
M src/lang/locale/zh-tw.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-530984cd3bab390759203c647aff73652d1952533349d90e74059783d935ddf1
(3)
M src/main.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3d
(17)
M src/parser.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-abe2818e9c29aadf84401cb7ef8286c7cbce9253eba09f6fa52e22ca4e57b17e
(10)
M src/settings.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-bb57a3bd912abc3ec2e729cb8a743838487677a5517683d0c8913a3619ac296a
(56)
M tests/parser.test.ts
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607/files#diff-39dce1fd57555dfe5477411b84ee192779f2ef703a9e24c413bf52fdf400380a
(53)

Patch Links:

https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607.patch
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607.diff

—
Reply to this email directly, view it on GitHub
https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/607, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEGXX6WJEMAYU2CFQJMK2WTWTS4ZDANCNFSM6AAAAAAUCY37JY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

it seems pretty good, @st3v3nmw  hope the master branch will merge it soon.

Done, not too hard.

Hi,
We ended up going with https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/943 instead.
I've just made a release (v1.13.0) that ships with custom cloze patterns 🥳 all thanks to https://github.com/st3v3nmw/obsidian-spaced-repetition/pull/943. The updated documentation is live here.
I'll go ahead and close this PR now.
Cheers.


Move ui package back to main sources

The 203 one isn't the same as the rest

ah, shit 😂  postpone this one until we ditch 203 then


Improve code quality and add related test cases

Changes Unknown when pulling 65f7d3b428d0793e79670096471972c8a957599f on JYL123:fix_code_quality into ** on CS2103AUG2017-W11-B1:master**.


If rethinkdb can't find the db, create it

Right now if the db is not present polipus will crash.
I propose to create it if it's not there. Like it's already done with the tables.

Coverage decreased (-0.56%) to 92.73% when pulling 1567b6b2341645270a455cc84e5776f08af027d4 on pcboy:rethinkdb-store-autocreate-db into 18fd1d8586166b648ae2a81c9d9194cc6e8b8f89 on taganaka:master.

:+1:


API request timed out

Hi guys,
I am using the new Instafeed 2 RC 1 and having an issue where occassionally the API request times out and the feed won't load. Do you know why this is happening? Is it a connection speed issue?
Thanks

Hi @nomlas-design - it's a bit hard to say what the cause might be, but there are two options you can adjust to try to track it down or mitigate the problem: accessTokenTimeout and apiTimeout. Sounds like you're timing out on the API - does increasing apiTimeout (default is 5000ms) make the problem go away?

Hi @benjamin-hull - thanks for such a quick reply.
I tried to implement a preloader and changed the apiTimeout to 10 seconds but the api still seems to timeout every few times I do a hard reset. See here https://ecd.webflow.io/ for the code.
Thank you so much for helping

Hi @benjamin-hull @nomlas-design - same problem here. Receiving console error Error: api request error: 4 Application request limit reached periodically, no apparent pattern to it?

Hey folks — sounds like there are 2 separate issues going on here:

API time-out
API request limit

The timeout is controlled by Instafeed.js, and defaults to 5 seconds, but can be changed with the apiTimeout option. This means that if the API request to Instagram hasn’t returned within 5 seconds (or whatever the timeout is set to), Instafeed.js will cancel the request.
I chose 5 seconds as the default value for the timeouts, but it sounds like those might need to be increased, if people are getting “false positives”. (cc @benjamin-hull)
The request limit however, is not controlled by Instafeed.js. It’s a limit that’s enforced by the Instagram API, and controls how many requests can come from the same access token. There is feature request to add caching to help stay below this limit (see #656), but because requests are coming from the end-users’ browsers, there is always a chance the limit could be hit if there are a large number of page views in the same hour.

Hey @kaleidografik - check the comment on 656 - there's a relatively simple way to extend your request limit by adding extra test users to your app.

Hey @benjamin-hull - Even when updating the apiTimeout to 10000, IO'm still getting pretty regular timeouts. I would say it is working correctly 7/10 times, so the timeout is occuring pretty regularly for use in production.
I wonder if a callback (similar to before and after) could be implemented to allow us to take action if the API request times out? I wouldn't mind it if I could simply hide my Instafeed container on timeout error. Unless there is another way?

Hey @kaleidografik! Thanks for the suggestion!
In the current version, the error callback should get called when the API timeout is hit:
var feed = new Instafeed({
  error: function(err) {
    // handle error
  }
});

Heads up though: the error callback actually gets called for any error that occurs, not just timeouts.

Hi @stevenschobert - great this is useful, thanks. I'm making my call via AJAX so was relying on that error callback at first, but this helps too. Just a heads up though, this doesn't fire if there is a problem with the call, such as an invalid secret.
Thanks for the help :)

@kaleidografik Which call are you making via AJAX? Is it to get your access token? If so, Instafeed.js supports doing that AJAX call inside the library, so it would get handled by the error option as well:
var feed = new Instafeed({
  error: function(err) {
    // will get called if access token call fails
  },
  accessToken: function(done) {
    $.ajax({
      url: instantTokenApiUrl,
      dataType: 'json'
    }).done(function(response) {
      if (response.Token) {
        done(null, response.Token);
      } else {
        done(new Error('error: ' + response));
      }
    });
  }
});


Stage sensor name change

The stage sensor currently uses a value received from Eskom SePush.  They changed this value and so the sensor name changed from load_shedding_south_africa_stage to load_shedding_eskom_stage.  This will cause automations to fail.  I'm looking into changing this to use a value that won't change.

Fixed in https://github.com/wernerhp/ha.integration.load_shedding/commit/2c3ba8ad03f1ef7aa61e7df85d1d762b5451b97f


Permission denied: '/home/kiru'`

Hello,  can you tell me where to download the weights file “inference.hdf5” and “weight_detection” ，I only found  “Base archive”, “Object models”, “Synt. training images”, “All test images” from BOP: Benchmark for 6D Object Pose Estimation. There are only “models”and “model_eval” folders inside，no “models_xyz” folder.
And when I execute the script:python3 tools/5_evaluation_bop_basic.py <gpu_id> <cfg_path> <dataset_name>
I get this error:
Traceback (most recent call last):   File "/home/Workspace/Project/Pix2Pose/tools/5_evaluation_bop_basic.py", line 119, in <module>     os.makedirs(output_img)   File "/home/anaconda3/envs/pix2pose/lib/python3.6/os.py", line 210, in makedirs     makedirs(head, mode, exist_ok)   File "/home/anaconda3/envs/pix2pose/lib/python3.6/os.py", line 210, in makedirs     makedirs(head, mode, exist_ok)   File "/home/anaconda3/envs/pix2pose/lib/python3.6/os.py", line 210, in makedirs     makedirs(head, mode, exist_ok)   File "/home/anaconda3/envs/pix2pose/lib/python3.6/os.py", line 220, in makedirs     mkdir(name, mode) PermissionError: [Errno 13] Permission denied: '/home/kiru'
I found no “kiru” in the “os.py”, and I change all paths in the folder “tools” with "kiru". But it doesn't work.
Can you tell me how to solve it? Thank you!

Hello.

links to the trained weights are at the bottom of the readme.md in this repository.
Repository home
There will be a models_xyz folder Inside zip files. and you have to extract them in the same folder for the dataset where you have 'models', 'model_eval'  folders.

You don't have to change your own directories to evaluate them. You can change cfg/cfg_bop2019.json file properly with respect to your environment.
I think the reason you have the permission error is you don't have proper permission to create a folder at /home/. I would recommend placing codes and bop datasets in directories where you have proper permissions to read and modify files and set the cfg_bop2019.json file properly.

Thanks for your reply. I changed "cfg_tless_paper.json" file, now I can evaluate them. But I can't download the weights file, because of it‘s unable to open goole drive link in China. I am trying to solve it. Thanks again.

Hello, I have trouble, can you tell me where to download the resnet50_tless_19_inf.h5 file?


Python package template repo

Once the dust settles around some of the recommendations being made here, we should set up a Python package template repo that includes all the bells and whistles we like (repo structure, tests, docs, ci, cd...)

This looks like a great template for new Python projects that supports multiple build backends and many other neat features: https://github.com/scientific-python/cookie


Error when use word 'substitute'

cambd.py", line 85, in get_definitions
    definition = dcon.find(attrs={"class": "ddef_d"}).get_text()
AttributeError: 'NoneType' object has no attribute 'get_text'

Also with 'urgent'

The recent changes in #26 might have cause this. Can you look into this?
The live version shows definition for both substitute and urgent just fine.

I tried with #26


Clarified Github Pages deployment

I've published my generated documentation on Github Pages (first as a private repo, then as a public one) and neither times the OOTB recommended configuration was correct.

@pelletier197 Added another update to clarify how appLogo and siteRoot work together


Loading speed of all faculty profiles

What are different variables that go into how fast the profiles load? I've been having slow loading speeds today for the past few hours and I'm directly connected via an Ethernet. Other sites load quickly for me. Is this a server issue? What happens if many people try to access the site at one time? Is there a traffic limit at a given point in time?

Here are some of the metrics that I have visibility into, from the server side (big image, recommended to click to view the image outside of comment):

"Response time" is the key one here; in the past 24 hours the slowest response has been about 250 ms, which is still likely to be fast enough to provide a good user experience. Other metrics look healthy as well; memory usage is constant and low and dyno load (a proxy for compute demand) is low. Of course, throughput is low over the past 24 hours (Sunday) and the more users request the service at the same time, the slower everything will be.
There is no currently-enforced traffic limit, so if there's a traffic spike it'll just get slower for everybody, and if a request has been waiting for 30 seconds, it will time out.
I don't have any metrics on the load time from 20 days ago, but if you notice this again, let me know and I'll take a look at the metrics at that point in time. I can also give you access to view the metrics @jjchen20 if you're interested.

Thanks for sharing the metrics, @razzius. 250 ms is an acceptable speed. On occasion, I have encountered much slower speeds compared to other sites, especially when waiting for all faculty profiles to load on the "browse faculty profiles" view. If you can give me access to view the metrics, I can pull them up in real-time if I encounter slow loading issues in the future.


Could not use typescipt declare

I saw typescript declare file in types/index.d.ts
But when i install. That's all i fetched:

Version is 1.1.24

Obviously, i can't use typescript with those files.
what should i do?

Yeah, the same

https://github.com/shakee93/vue-toasted/pull/84

this should be fixed in the latest release if not please reopen the issue. thanks 🙌


Make anomaly generator 1x3 instead of 3x3

More consistent with other tall sprites (e.g. trees)
More gameplay (can actually hide stuff behind it)
Aligns more closely with the sprite silhouette
Also made gravity gen not snap at cardinals for consistency

:cl:

tweak: Anomaly generator now occupies 1x3 space instead of 3x3 and also doesn't snap with camera rotation.

Maapers no longer wsbt to kull me. zhank you sloff


Beaker fails with docker hypervisior after beaker 2.0.0 release

Hi,
I been testing my modules with docker/beaker. It has been working before 2.0.0 release. Now it throws exception on net-ssh:
$ rvm --version
rvm 1.26.0 (master) by Wayne E. Seguin<EMAIL_ADDRESS>Michal Papis<EMAIL_ADDRESS>[https://rvm.io/]
$ bundle --version
Bundler version 1.7.4
gem --version
2.4.2
ruby --version
ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-linux]
$ bundle exec rake acceptance RS_SET=centos-65-x64-docker
/home/ksuszynski/.rvm/rubies/ruby-2.1.4/bin/ruby -S rspec spec/acceptance
Beaker::Hypervisor, found some docker boxes to create
Provisioning docker
provisioning centos-65-x64-docker
Warning: Try 1 -- Host <IP_ADDRESS> unreachable: connection closed by remote host
Warning: Trying again in 1 seconds
/home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/ruby_compat.rb:30:in `select': closed stream (IOError)
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/ruby_compat.rb:30:in `io_select'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/transport/packet_stream.rb:73:in `available_for_read?'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/transport/packet_stream.rb:85:in `next_packet'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/transport/session.rb:178:in `block in poll_message'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/transport/session.rb:173:in `loop'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/transport/session.rb:173:in `poll_message'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:460:in `dispatch_incoming_packets'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:221:in `preprocess'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:205:in `process'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `block in loop'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:169:in `loop'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/ssh_connection.rb:96:in `try_to_execute'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/ssh_connection.rb:107:in `execute'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/host.rb:270:in `block in exec'
	from /home/ksuszynski/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/host.rb:269:in `exec'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/host_prebuilt_steps.rb:495:in `block in set_env'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/shared/host_manager.rb:74:in `run_block_on'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/shared/host_manager.rb:71:in `block in run_block_on'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/shared/host_manager.rb:70:in `map'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/shared/host_manager.rb:70:in `run_block_on'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/dsl/patterns.rb:32:in `block_on'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/host_prebuilt_steps.rb:477:in `set_env'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/hypervisor.rb:110:in `configure'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/network_manager.rb:71:in `block in configure'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/network_manager.rb:70:in `each_key'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-2.0.0/lib/beaker/network_manager.rb:70:in `configure'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-rspec-4.0.0/lib/beaker-rspec/beaker_shim.rb:43:in `configure'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-rspec-4.0.0/lib/beaker-rspec/spec_helper.rb:42:in `block in <top (required)>'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core.rb:154:in `configure'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/beaker-rspec-4.0.0/lib/beaker-rspec/spec_helper.rb:5:in `<top (required)>'
	from /home/ksuszynski/git/xtreemfs/spec/spec_helper_acceptance.rb:1:in `require'
	from /home/ksuszynski/git/xtreemfs/spec/spec_helper_acceptance.rb:1:in `<top (required)>'
	from /home/ksuszynski/git/xtreemfs/spec/acceptance/001_role/001_directory_spec.rb:1:in `require'
	from /home/ksuszynski/git/xtreemfs/spec/acceptance/001_role/001_directory_spec.rb:1:in `<top (required)>'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `load'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `block in load_spec_files'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `each'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/configuration.rb:1065:in `load_spec_files'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:18:in `run'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
	from /home/ksuszynski/git/xtreemfs/.vendor/ruby/2.1.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
/home/ksuszynski/.rvm/rubies/ruby-2.1.4/bin/ruby -S rspec spec/acceptance failed

to replicate issue just:
git clone https://github.com/wavesoftware/puppet-xtreemfs.git
cd puppet-xtreemfs
rvm use 2.1
bundle install --without development --path .vendor
bundle exec rake acceptance RS_SET=centos-65-x64-docker

@cardil @tfhartmann @Yuav can you guys try the master branch of beaker and beaker-rspec?
It should all be fixed now.
If not please let us know.

Sure! Here's what I get with a hosts.yaml file that looks like this (just centos)  Maybe it's just that SSH isn't running on the centos image?
HOSTS:
  centos6:
    platform: centos-6-x64
    image: centos:centos6
    hypervisor: docker
    docker_preserve_image: true
CONFIG:
  type: foss

Beaker::Hypervisor, found some docker boxes to create
Provisioning docker
provisioning centos6
Warning: Try 1 -- Host <IP_ADDRESS> unreachable: connection closed by remote host
Warning: Trying again in 1 seconds
Failed: errored in CLI.provision
#<IOError: closed stream>
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/bin/beaker:6
Cleanup: cleaning up after failed run
/usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/net-ssh-2.9.1/lib/net/ssh/transport/session.rb:122:in `close': closed stream (IOError)
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/net-ssh-2.9.1/lib/net/ssh/transport/session.rb:122:in `shutdown!'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/gems/net-ssh-2.9.1/lib/net/ssh/connection/session.rb:127:in `shutdown!'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/lib/beaker/ssh_connection.rb:66:in `rescue in close'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/lib/beaker/ssh_connection.rb:63:in `close'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/lib/beaker/host.rb:249:in `close'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/lib/beaker/network_manager.rb:89:in `block in cleanup'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/lib/beaker/network_manager.rb:89:in `each'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/lib/beaker/network_manager.rb:89:in `cleanup'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/lib/beaker/cli.rb:114:in `rescue in execute!'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/lib/beaker/cli.rb:77:in `execute!'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bundler/gems/beaker-b78580a7ccc0/bin/beaker:6:in `<top (required)>'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bin/beaker:23:in `load'
	from /usr/local/rbenv/versions/1.9.3-p484/lib/ruby/gems/1.9.1/bin/beaker:23:in `<main>'

@tfhartmann feels like its a SSH issue indeed in the image.
I use different images that launch /sbin/init so i can manage ( and test ) the actual services parts as well
You can take a look at my node set files https://github.com/elasticsearch/puppet-elasticsearch/tree/master/spec/acceptance/nodesets how i've done it.
Cheers.

I can confirm that adding docker_cmd: '["/sbin/init"]' to the host configuration works around this issue on CentOS 6 images. Here's my full nodeset if someone is interested:
---
HOSTS:
  centos6:
    roles:
      - master
    platform: el-6-x86_64
    image: chef/centos-6
    hypervisor: docker
    docker_cmd: '["/sbin/init"]'
    docker_preserve_image: false
CONFIG:
  type: foss

This looks docker image dependent?  Any beaker changes required?  Better documentation?

I'm not sure, but I can say that the same docker image works fine with Beaker < 2.0.0

The issue here is the ssh restart required by beaker to add options to the ssh environment.  We are currently tracking in PRs.

Any chance we might see PuppetLabs images on the docker hub, something similar to the puppetlabs vagrant boxes?

Unlikely, for now.  Our internal testing is done on ec2, vsphere and openstack - so we don't have docker in the mix.

:sob:

We've switched to an ssh service reload.  This should be resolved.

Thanks! @anodelman


create installation method for windows

We can easily enough download and get the executable working with the full path to the exe but can't get it working without specifying full path. I am researching more, but this Powershell snippet gets the exe on the machine in what should be in the $PATH.
$Version = '1.0.0'
$Url = "https://github.com/stelligent/config-lint/releases/download/v1.0.0/config-lint_$($Version)_Windows_x86_64.zip"
$TempFile = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru
Write-Output("temp file: $TempFile")
Invoke-WebRequest -OutFile $TempFile $Url
$InstallDir = New-Item -Path "$HOME/AppData/Local/Programs/" -Name "Stelligent" -ItemType Directory -Force
$TempFile | Expand-Archive -DestinationPath $InstallDir -Force
$TempFile | Remove-Item

Closing for now. We can reopen this if there is a need to have a Windows installer beyond adding the executable to the path.


Implement scylladb store for new indexer

Description
As Carbonable I should be able to implement scylladb store for new indexer
inorder to fast key value store database.
In a file located at internal/storage/scylladb.go implement interface Storage located in storage.go to enable scylladb usage as a database
Additional Information
[Medium Difficulty  - Go - High Priority]
Acceptance Criteria

[ ]  scylladb store for new indexer

Contribute to Carbonable during ODHack:
Provable environmental infra

Go to the CarbonableOD Telegram: https://t.me/carbonableOD
Present yourself and tell us which issue you want to pick
Explain shortly how you want to tackle the issue
Ask a question if you need some clarity
When you're selected you will be assigned to the issue

I'd like to take this one


Change data structure

I think users use this tool to generate GFX font from the same font every time (usually), use different fonts in the same .h file is unusual, but it's also allowed to happen too.
So I designed a new data structure to save unicode block list, use unicode as primary key to store in dict, store font info, decode text and other information in value:
{
    "0026":{
        "text":"&",
        "font":"some font"
    }
}

It's also friendly to detect conflicts and block list display:

for detect conflicts: we can know the unicode is exists or not directly, and make an alert to asks the user whether he can keep the old one or overwrite it.
for list display: user can see the text corresponding to unicode directly, the specified characters can be deleted too.

If you agree, I can commit a new PR.

Thanks for your work, but I have updated some function, you can submit PR again if you are still Interested in this project.

This feature has been added.

This feature has been added.

LGTM! Well done!


SqliteParameter Issue When Object Parameter Uses HasColumnName After 6.6.5

I've been having an issue with any version after 6.6.5.
I have an object in which a parameter is named differently in the POCO than in the database.
Let's say I define my database object with a nullable enum parameter as follows:
[Table("PassingRecord")]
public partial class PassingRecord
{
     public PassingType? PassingType { get; set; }
}

Then, in the DbContext, note that this is named differently in the database, since I store the enum value as an integer:
modelBuilder.Entity<PassingRecord>()
.Property(x => x.PassingType).HasColumnName("PassingTypeID");

This used to work.  But after upgrading past 6.6.5 I instead get the following error instead when doing bulk inserts with this model:
System.IndexOutOfRangeException: 'A SqliteParameter with ParameterName '@PassingType' is not contained by this SqliteParameterCollection.'
It is as if it doesn't recognize the property mapping anymore.
I am targeting NET 7.
If I use the 6.6.5 NuGet it works again, even targeting NET 7.

Hi, I have found that problem yesterday, i jave created a PR for that fix
#1086

Hi Team, Any updates on this? It would be better if it is fixed ASAP.

PR merged, thx for contrib.
New nuget will be released in a few days.
Btw sql params are created using Property names (@SomeName), but I figure they could be created using Column names.
What would you consider to be better convention and there are special usecases.

v7.0.3 is published


Use compile_commands.json but Jumping to the header file and looking for the definition is still wrong

Please describe the problem.
Jumping to the header file and looking for the definition is still wrong

Logs
I[14:40:26.755] Ubuntu clangd version 14.0.0-1ubuntu1
I[14:40:26.755] Features: linux+grpc
I[14:40:26.755] PID: 125115
I[14:40:26.755] Working directory: /home/ajh/work/86p
I[14:40:26.755] argv[0]: /usr/bin/clangd
I[14:40:26.755] Starting LSP over stdin/stdout
I[14:40:26.756] <-- initialize(0)
I[14:40:26.757] --> reply:initialize(0) 1 ms
I[14:40:26.759] <-- initialized
I[14:40:26.764] <-- textDocument/didOpen
I[14:40:26.806] Loaded compilation database from /home/ajh/work/86p/compile_commands.json
I[14:40:26.807] ASTWorker building file /home/ajh/work/86p/nuttx/sched/group/group_childstatus.c version 1 with command
[/home/ajh/work/86p/nuttx/sched]
/home/ajh/work/86p/prebuilts/tools/ccache/bin/arm-none-eabi-gcc --target=arm-none-eabi -c -Wstrict-prototypes -pipe -Os -fno-strict-aliasing -fomit-frame-pointer -mthumb -Wa,-mthumb -Wa,-mimplicit-it=always -fno-common -Wall -Wshadow -Wundef -ffunction-sections -fdata-sections -mlittle-endian -march=armv8-m.main+dsp -mtune=cortex-m33 -mfpu=fpv5-sp-d16 -mfloat-abi=hard -isystem /home/ajh/work/86p/nuttx/include -D__NuttX__ -DNDEBUG -D__KERNEL__ -Wno-cpp -I /home/ajh/work/86p/nuttx/sched -o group_childstatus.o -resource-dir=/usr/lib/llvm-14/lib/clang/14.0.0 -- /home/ajh/work/86p/nuttx/sched/group/group_childstatus.c
I[14:40:26.809] --> textDocument/clangd.fileStatus
I[14:40:26.812] --> window/workDoneProgress/create(0)
I[14:40:26.812] Enqueueing 1520 commands for indexing
I[14:40:26.813] <-- reply(0)
I[14:40:26.813] --> $/progress
I[14:40:26.813] --> $/progress
I[14:40:26.854] --> workspace/semanticTokens/refresh(1)
I[14:40:26.857] <-- reply(1)
I[14:40:26.862] --> textDocument/publishDiagnostics
I[14:40:26.862] --> textDocument/clangd.fileStatus
I[14:40:26.963] <-- textDocument/documentLink(1)
I[14:40:26.963] --> reply:textDocument/documentLink(1) 0 ms
I[14:40:26.964] --> textDocument/clangd.fileStatus
I[14:40:27.304] --> $/progress
I[14:40:27.304] --> $/progress
I[14:40:27.366] <-- clangd/inlayHints(2)
I[14:40:27.367] --> reply:clangd/inlayHints(2) 0 ms
I[14:40:27.367] --> textDocument/clangd.fileStatus

System information
Ubuntu clangd version 14.0.0-1ubuntu1
Features: linux+grpc
Platform: x86_64-pc-linux-gnu
vim version: NVIM v0.9.0-dev
node version: v19.4.0
coc.nvim version: 0.0.82-8c0d3ef9 2023-02-03 14:32:12 +0300
coc.nvim directory: /home/ajh/.local/share/nvim/lazy/coc.nvim
term: tmux
platform: linux
Ubuntu22.04

can't use gd or gf

Loaded compilation database from /home/ajh/work/86p/compile_commands.json

Is the compile_commands.json path correct?

Loaded compilation database from /home/ajh/work/86p/compile_commands.json

Is the compile_commands.json path correct?

No,that is right.

i use vscode extension clangd use compile_commands.json ,it can use the file recognize

I'm using lazyvim, I'm not sure if other plugins hook clangd's completion and jump files

As you seen in the logs, clangd already found and loaded the DB file, but still fail to jump.
It's clangd's issue. coc-clangd just finds the DB file and send DB path to clangd.


Add current stashes to response.

Address https://github.com/cmarcusreid/git-status-cache/issues/11. Need to verify that this does not substantially impact performance before merging. (If there is overhead, we can address by making the status query a separate request.)

Many thanks...
I'll testing this in evening and give you some feedback
Sent from my Windows Phone

From: Marcus<EMAIL_ADDRESS>Sent: 06.09.2015 16:47
To<EMAIL_ADDRESS>Subject: [git-status-cache] Add current stashes to response. (#12)
Address #11https://github.com/cmarcusreid/git-status-cache/issues/11. Need to verify that this does not substantially impact performance before merging. (If there is overhead, we can address by making the status query a separate request.)

You can view, comment on, or merge this pull request online at:
https://github.com/cmarcusreid/git-status-cache/pull/12
Commit Summary

Add current stashes to response.

File Changes

M README.mdhttps://github.com/cmarcusreid/git-status-cache/pull/12/files#diff-0 (10)
M src/GitStatusCache/src/Git.cpphttps://github.com/cmarcusreid/git-status-cache/pull/12/files#diff-1 (37)
M src/GitStatusCache/src/Git.hhttps://github.com/cmarcusreid/git-status-cache/pull/12/files#diff-2 (14)
M src/GitStatusCache/src/StatusController.cpphttps://github.com/cmarcusreid/git-status-cache/pull/12/files#diff-3 (18)

Patch Links:

https://github.com/cmarcusreid/git-status-cache/pull/12.patch
https://github.com/cmarcusreid/git-status-cache/pull/12.diff

—
Reply to this email directly or view it on GitHubhttps://github.com/cmarcusreid/git-status-cache/pull/12.

I'll need to update the posh-git pull request before you will see this in the prompt, but you can see the raw information using Get-GitStatusFromCache.

Working very fast on large repo (compiled with vs2015) :-)

I also measured on my end with 10 stashes and observed no performance impact. Looks like we're good to go!


Implement edge dictionary support

As mentioned in the project's README, we do not currently support all of the features provided by Compute@Edge's production environment. One of these missing features is Edge Dictionaries.
This is a tracking issue to document ongoing work to implement this support.

The limitations section in the readme was removed in commit ba3d8a4
This is what it said:

Limitations
At the moment, Viceroy does not support the full Compute@Edge API. In
particular:

GeoIP is unsupported.
Dictionaries are unsupported.
Caching directives are ignored; no caching is ever performed.
Information about the TLS connection from the client is not available.


fix: try to get tests running in circle

Signed-off-by: Brent Hoover<EMAIL_ADDRESS>

:tada: This PR is included in version 1.2.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Installing nxppy breaks explorenfc-basic Example

When installing nxppy all the system libs are build and installed for systemwide use. After that explorenfc-basic fails:
`pi@raspberrypi:~ $ explorenfc-basic
Waiting for tag or device...
on_name_lost(): :org.neardal
(explorenfc-basic:11092): GLib-GIO-WARNING **: Received property Iso14443aUid with type ay does not match expected type s in the expected interface
(explorenfc-basic:11092): GLib-GIO-WARNING **: Received property Iso14443aAtqa with type ay does not match expected type s in the expected interface
(explorenfc-basic:11092): GLib-GIO-WARNING **: Received property Iso14443aSak with type ay does not match expected type s in the expected interface
Tag found
Segmentation fault`
Removed the libraries from /usr/local/lib and reinstalling the NXP software from it's deb files and explorenfc-basic works again. I checked that both deb files and what nxppy was downloading had the same version numbers.
Also libwiring delivered together with the nxp debs was older than the one on my Pi3. It's probably not a good idea to just pull all these libs and install them for system wide use.

This has been resolved in the latest release (1.4.0).  nxppy no longer depends on wiringPi and neardal, so there will not be a conflict with the system libraries.  Of course, if the EXPLORE-NFC is actively being used by a different process, it will not be accessible from nxppy and vice versa.  Closing this issue for now, please re-open if you still encounter issues after upgrading.


Bug/master/install unless defined

I am experiencing an issue with this package, as I have two classes that require Package['git'] and this one seems not to check whether it has already been included. I am not sure if this is the best way to handle this, but if it is , feel free to merge the change.
Thank you

Same comment as #53 ... why use the git module if you already have something managing git?

Hi Hunter,
thanks for the reply,
basically the scenario is that git is installed by another package as a
dependency, if at any point the package stops using git for any reason, I
still would like git to be installed on my system, without having to worry
about updating the files.
Essentially I want to make the installation of git explicit and not a side
effect of installing an unrelated package.
cheers
On Thu, Feb 5, 2015 at 10:56 PM, Hunter Haugen<EMAIL_ADDRESS>wrote:

Same comment as #53 https://github.com/puppetlabs/puppetlabs-git/pull/53
... why use the git module if you already have something managing git?
—
Reply to this email directly or view it on GitHub
https://github.com/puppetlabs/puppetlabs-git/pull/47#issuecomment-73148042
.

Hi @cammellos, thanks for the contribution! We prefer the implementation in #56, and we've merged that so I'm going to close this PR. Thanks again!


Correct the maven debug command

Correct the maven debug command

@cachai2

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

emailed author

@lilyjma, the author directed me to ask you--can you review this PR?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge. Or, if the PR should be closed, let us know here.
Thanks. --PR review team

emailed @lilyjma

Confirmed with @kaibocai , PR is ready to be merged.

#sign-off


Contribute remotes

Contribute remotes

Hmm this one is a bit cryptic, any ideas @wlandau? I went through the CRAN package url checking and that seems fine.

Hmm this one is a bit cryptic, any ideas @wlandau? I went through the CRAN package url checking and that seems fine.

It's an error with the API call. Probably a temporary network issue. These happen occasionally, unfortunately.

OK, yes it went through automatically the second time. I know this now.


Refactor Wallet.applyHistory

At 189 LOC, the applyHistory() function is perilously long. This refactors some of the logic out of the function into helper functions to bring its LOC down to 176 (7% reduction).

thanks for this! I think the function names could be a little more descriptive (since they're living in the top-level namespace). Another good candidate for refactoring is the ProcessedTransaction part of applyHistory. Adding an isTransactionRelevant helper and a buildProcessedTransaction helper (names not final) would clean things up a lot.

I think the function names could be a little more descriptive (since they're living in the top-level namespace)

Sure, what name would be more helpful? My only thought is something like getSiacoinSpentOutputsFromDiffs but I feel like I worry I'm adding verbosity without adding value.

Another good candidate for refactoring is the ProcessedTransaction part of applyHistory. Adding an isTransactionRelevant helper and a buildProcessedTransaction helper (names not final) would clean things up a lot.

Yeah, definitely. Do you mean within this PR? I was planning to do them in small, independent PRs to minimize the diff sizes and make it easier to spot possible mistakes in the refactoring.

This PR looks good to me, including the names. Let's move future refactoring to another PR so this one is not blocked.
Will let @lukechampine hit the merge button since he had the reservations about the names.

how about computeSpentOutputSets, which would return both maps? I prefer compute to get because you aren't really retrieving anything, just restructuring it, and I like Sets because it tells you what sort of object you're getting back (i.e. "hmm, 'set' means it's probably a map").
If combining them feels messy, computeSpentSia{coin,fund}OutputSet also works.

compute works for me.
The combined function feels a little unnatural, so I've left them as separate functions. That way it'll be easy for us to combine them when Go adds generics. I've updated the PR.


Compatible with the official generated codes?

I have writen some service using the code generated by apache official tool,then use go-thrift in the client,but the client failed to call the service.Is it compatible with codes generated by the official tool ?

The serialization and RPC protocol are fully compatible, but the generated code and package interface are not. I took a different road with this package trying to make it smaller and nicer to use by being more natural Go. This package includes a generator though that you can use to create compatible structs and RPC interfaces if you like.
If you're having difficulties with communications between client and server the cause I've most often seen is difference in either using a framing or non-framing transport.

Thank you.I have used the non-framing transport and the commutation is ok .
But in the my project.The number of one struct fields is 103 , larger than 64.So I think using a bitset struct in  structMeta more than uint64 may be better.

I opened up a separate issue to track the issue with ID >= 64: https://github.com/samuel/go-thrift/issues/62


Update compatible ruby version to 3.0 in README

sparql 3.3.0 only support Ruby >= 3.0, but README does not.

 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.

Thank you, this was a omission in the 3.3 update.

coverage: 88.934%. remained the same when pulling e9913474cac15adeab8014b227e9d897812531de on seaki:chores/compatible_ruby_version_in_readme into 0e89df4c00f3f0612a8b76baeab27f28f9d3416e on ruby-rdf:develop.


Match iOS README.md to Android README.md

Description
This PR matches the iOS README.md to the one from Android by
a) removing the obsolete screenshots from the README.md (for more information see https://github.com/corona-warn-app/cwa-documentation/issues/508)
b) adding a missing sentence which refers to the FAQ page
Link to Jira
Related: https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-5625 (reg. the outdated screenshots)
Screenshots
The new README.md would look like this:

The period at the end, which is missing on this screenshot, is already added.

@marcussc This is a minor change aligning Android and iOS readme. Please merge. Thanks.


Feature Request: Ability to change local source path during rename

There isn't a way to alter the source path when renaming through API. Unless the original  source remains the same, this will break local repair. For 3rd-party apps incorporating a local cache, this requires renamed files to be deleted and uploaded since the local source file must also be renamed.
I haven't tested the result of renaming a file that is <1x redundancy but have added an additional safeguard to prevent renaming until a safe level has been reached. I could see this also becoming an issue if rename is allowed but source has been altered from its original upload location.

I've designed around this and it doesn't appear there's much interest in this feature. Closing this as it's not something I will need in the future.


addon-a11y detects addon-info violations

Describe the bug
that's pretty funny but when I use both withInfo and withA11Y decorators globally together (in v5-rc.3)
the accessibility addon detects:
Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds
with the problematic class - .info__show-button  which belongs to the info button :D
To Reproduce
add both plugins globally
(order doesn't matter)
addDecorator(withA11Y);
addDecorator(withInfo);

check a11y panel
Expected behavior
0 issues regarding storybook addons
System:

OS:  MacOS
Device: MBR
Browser: Chrome
Framework: React
Addons: a11y, info
Version: 5.0.0-rc.3

We're going to deprecate addon-info soon and move it into the addons panel, which should address this problem: https://github.com/storybooks/storybook/issues/1147

so until then, I'll drop addon-info from my storybook :) (i guess it has issues with storyshots too)

Sorry for the inconvenience. addon-info has been a thorn in our side for a long time now -- I'm really excited to get something better in place as soon as v5 has been released!


New features and bug fixes.

Bug fixes

Panic: etcdsync.(*Locker).Lock.
Regular expression error.
Do not refresh dependence cache in query.

New features:

Support self preservation.

Others:

Update the max header size to 32KB.
Remove unused key 'epsindex'.

Coverage decreased (-0.08%) to 72.832% when pulling 21702f18217174882e1146d0dd66cede05802ba5 on little-cui:master into 100b8b317a8be4d5ee6d63caa2f886790a460c7e on ServiceComb:master.

Codecov Report

Merging #86 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
+ Coverage   68.12%   68.19%   +0.07%
==========================================
  Files          10       10
  Lines        2773     2773
==========================================
+ Hits         1889     1891       +2
+ Misses        753      751       -2
  Partials      131      131

Impacted Files
Coverage Δ

server/service/instances.go
67.48% <0%> (-0.14%)
:arrow_down:

server/service/governservice.go
66.5% <0%> (+1.41%)
:arrow_up:

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 100b8b3...21702f1. Read the comment docs.


msilbc: 2.0.3 -> 2.1.2

Semi-automatic update. These checks were performed:

built on NixOS
found 2.1.2 with grep in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2
found 2.1.2 in filename of file in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘msilbc-2.1.2’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/development/libraries/msilbc/default.nix:4 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
----------------------------------------------------------------------
make[1]: Leaving directory '/tmp/nix-build-msilbc-2.1.2.drv-0/msilbc-2.1.2'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2
shrinking /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2/lib/mediastreamer/plugins/libmsilbc.so.0.0.0
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2/lib
patching script interpreter paths in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2
checking for references to /tmp/nix-build-msilbc-2.1.2.drv-0 in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2...
/nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2

Success on aarch64-linux (full log)
Partial log (click to expand)
----------------------------------------------------------------------
make[1]: Leaving directory '/build/msilbc-2.1.2'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pjsd5fs4wxac26vya51lplhljc7j2skm-msilbc-2.1.2
shrinking /nix/store/pjsd5fs4wxac26vya51lplhljc7j2skm-msilbc-2.1.2/lib/mediastreamer/plugins/libmsilbc.so.0.0.0
strip is /nix/store/viv0il4zpdqj4p7yamwbmn2k9pb8dcnv-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/pjsd5fs4wxac26vya51lplhljc7j2skm-msilbc-2.1.2/lib
patching script interpreter paths in /nix/store/pjsd5fs4wxac26vya51lplhljc7j2skm-msilbc-2.1.2
checking for references to /build in /nix/store/pjsd5fs4wxac26vya51lplhljc7j2skm-msilbc-2.1.2...
/nix/store/pjsd5fs4wxac26vya51lplhljc7j2skm-msilbc-2.1.2

@grahamcofborg build msilbc

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘msilbc-2.1.2’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/development/libraries/msilbc/default.nix:4 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
----------------------------------------------------------------------
make[1]: Leaving directory '/tmp/nix-build-msilbc-2.1.2.drv-0/msilbc-2.1.2'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2
shrinking /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2/lib/mediastreamer/plugins/libmsilbc.so.0.0.0
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2/lib
patching script interpreter paths in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2
checking for references to /tmp/nix-build-msilbc-2.1.2.drv-0 in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2...
/nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2

Success on aarch64-linux (full log)
Partial log (click to expand)
----------------------------------------------------------------------
make[1]: Leaving directory '/build/msilbc-2.1.2'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/vg88giri5l896070anfggrn622lzni26-msilbc-2.1.2
shrinking /nix/store/vg88giri5l896070anfggrn622lzni26-msilbc-2.1.2/lib/mediastreamer/plugins/libmsilbc.so.0.0.0
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/vg88giri5l896070anfggrn622lzni26-msilbc-2.1.2/lib
patching script interpreter paths in /nix/store/vg88giri5l896070anfggrn622lzni26-msilbc-2.1.2
checking for references to /build in /nix/store/vg88giri5l896070anfggrn622lzni26-msilbc-2.1.2...
/nix/store/vg88giri5l896070anfggrn622lzni26-msilbc-2.1.2


Size of list constraints not mapped to correct swagger syntax.

I am using springfox-bean-validators v2.9.2.
I want to put bounds on the size of the List.

    @JsonProperty(value = "coordinates")
    @CoordinatesParameter(value = "point") //user defined validation
    @ApiModelProperty(example = "[10.525, -90.0]")
    @Size (min = 2, max = 2)  //Size of list should be just 2
    private List<Double> coordinates;

But it compiles to
             "coordinates": {
                    "type": "array",
                    "example": [
                        10.525,
                        -90
                    ],
                    "items": {
                        "type": "number",
                        "format": "double",
                        "minimum": 2,
                        "maximum": 2
                    }
                }

This means that it puts bounds on each element of the array to be 2 which is not right.
What we want is
             "coordinates": {
                    "type": "array",
                    "example": [
                        10.525,
                        -90
                    ],
                    "items": {
                        "type": "number",
                        "format": "double",
                    },
                    "minItems": 2,
                    "maxItems": 2
                }

As a workaround: One can add a custom ModelPropertyBuilderPlugin based on springfox.bean.validators.plugins.schema.SizeAnnotationPlugin that writes minItems and maxItems to a collectionFacet. This is then picked up later for generation of an OpenAPI spec and fills the fields as expected.


How to multiply the hashed tweak of a public key by the generator G?

This is, what I believe, is the last niggling part of this whole process that has been befuddling me.
I can successfully hash_hmac(ParentKey||ChildIndex,ParentChainCode) to get a valid hash that I can split into two sections, the left site is the tweak(the public key offset of the ParentKey), and the right is the ChildChainCode.
The next step in the process is to multiply the tweak by the generator point G to obtain the ChildPublicKey.
Once I have that, it's simply a matter of adding the result of tweak*G to the ParentPublicKey and I'll have the change-level public key and chaincode, which can then be used to create payment addresses using the PublicKey||Index and ChainCode with the same hash as above and then process those results, which eventually results in a public key that can be converted to a payment address.
If you, or someone you know, knows how to write this portion of the code using PHP7, I'm willing to provide a reward in BTC.

I’ll take a crack at it. Would you mind sharing with me the libraries/code you are using and have so far? Easiest way would be through email unless it’s already within this github repo.

Hi Carson!  Thanks for responding!
I've just been working on my server, but here's a copy of what I've been
working with.
For testing, I am using the mnemonic "abandon abandon abandon abandon
abandon abandon abandon abandon abandon abandon abandon about" plugged
into Ian Coleman's BIP39 online utility located at:
https://iancoleman.io/bip39/ and using the BIP49 tab that calculates a
set of test vectors for proof of concept/computation.
The exported ypub is found at the Account Extended Public Key field, and
corresponds correctly from a working Mycelium HD Wallet's Exported
Account-Level Extended Public Key.  In other words, I plugged the above
mnemonic into a fresh install of Mycelium, and got the same exported,
extended, account-level ypub via the wallet, so I know that it works and
my data should be on the right track.
I'm using and installation of PHP 7.4 with the php-mcrypt, php-base58,
and php-gmp extensions installed.
Remember, I'm trying to do this all WITHOUT libraries at all...just pure
PHP.
Here's the code I'm using:

THEN, this same system SHOULD be able to work for BIP44 and BIP84
addresses too.
Some of the rabbit-holes I've been traveling down:
https://www.reddit.com/r/Bitcoin/comments/9922jj/how_in_bitcoin_to_generate_a_public_key_from_a/
https://learnmeabitcoin.com/technical/extended-keys (look down near the
bottom for some php code, but it requires the bitwasp library)
https://github.com/BitcoinPHP/BitcoinECDSA.php/blob/master/src/BitcoinPHP/BitcoinECDSA/BitcoinECDSA.php
// this looks promising.
https://bitcoin.stackexchange.com/questions/62533/key-derivation-in-hd-wallets-using-the-extended-private-key-vs-hardened-derivati
On 2020-07-27 20:23, Carson Mullins wrote:

I’ll take a crack at it. Would you mind sharing with me the
libraries/code you are using and have so far? Easiest way would be
through email unless it’s already within this github repo.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
Links:
[1]
https://github.com/EAWF/Bitcoin-Merchants-Toolbox/issues/12#issuecomment-664753547
[2]
https://github.com/notifications/unsubscribe-auth/AEXMNYL273VB7TAHBUCH2I3R5ZAERANCNFSM4PJ3LFUQ

$offset = strrev(gmp_strval(gmp_init($offset,16),2));
for ($x = 0; $x < strlen($offset); $x++){
    if($offset[$x] === "1"){
        $tweak = gmp_add($tweak,gmp_pow(2,$x));
    }
}

Am I missing something here? $offset isn't defined anywhere else and when I try to run this code I'm getting an error at the first line of this section. The error is:

Warning: gmp_init(): Unable to convert variable to GMP - wrong type

Is $offset being defined elsewhere in your code?

I've finished creating a PHP script that can successfully create extended public keys for all types (xpub, ypub, zpub). However, only addresses can be retrieved from xpub and ypub, as we've yet to find a suitable library, code snippets, or extension for Bech32 encoding.
I must say, that BitcoinECDSA github repository REALLY helped! I appreciated how simple it was to integrate into a solution without being overly complex. I've integrated only the functions that are necessary. Since the script is rather long, I'm going to link you to a PasteBin instead.
At the top of the script, there are some tests for both xpub and ypub. Beginning at line 96 is where the actual script happens. A good starting place to look at would be on line 577, where a function called CKDpub takes a parent extended public key and derives a child extended public key. Line 595 and 596 is where the tweak is scalar multiplied and then added to the parent public key. I suggest that you backtrack from lines 595 and 596 and that should give you a good picture of what is happening when performing scalar multiplication and addition.

Carson,
WOW!!  You're awesome!  Thanks for the PasteBin code.
That's a lot of coding done quickly. Far beyond even my best days
programming!
Do you realize that I've been bashing my head against the wall trying to
do this for the last 3 years?
I found this at: https://bitcointalk.org/index.php?topic=4992632.0
I cut and pasted the text from the forum as I wasn't sure if you had an
account on bitcointalk or not.
I'm not sure what #4 and #8 are, but the references are located at the
bottom of this text.
Bob
===================================================================================================
FROM: https://bitcointalk.org/index.php?topic=4992632.0  (Step by step
guide to go from public key to a Bech32 encoded address)
Bitcoin wiki has a pretty good step-by-step explanation of how to go
from a public key to a base58_encoded address which contains the values
for each step of the way[1]. But unfortunately I could not find anything
similar for Bech32_encoding. Additionally I found the reference
implementations a bit confusing[2]! The information is out there[3] but
I feel like having it step-by-step like "[1]" can make it a lot easier
specially for developers. For example during unit testing I was getting
a different address (bc1qp63uahgrxged4z5jswyt5dn5v3lzsem6c0qqhg8) for
below public key and I wasn't sure where the bug was coming from, this
visualization helped me [4] realize I was appending the version byte
before converting the bits instead of after. So hopefully these steps
can help someone like me looking for them.
How to create a Bech32 address from a public key:
1 - Get a compressed[5] public key (0x02 or 0x03 followed by 32 byte X
coordinate):
0279be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798
2 - Perform SHA-256 hashing on the public key:
0f715baf5d4c2ed329785cef29e562f73488c8a2bb9dbc5700b361d54b9b0554
3 - Perform RIPEMD-160 hashing on the result of SHA-256:
751e76e8199196d454941c45d1b3a323f1433bd6
4 - The result of step 3 is an array of 8-bit unsigned integers (base
2^8=256) and Bech32 encoding converts this to an array of 5-bit unsigned
integers (base 2^5=32) so we "squash" the bytes to get:
hex:
0e140f070d1a001912060b0d081504140311021de14030c1d03040f1814060e1e16 or
numbers: 14 20 15 07 13 26 00 25 18 06 11 13 08 21 04 20 03 17 02 29
03 12 29 03 04 15 24 20 06 14 30 22 or
binary:  01110 10100 01111 00111 01101 11010 00000 11001 10010 00110
01011 01101 01000 10101 00100 10100 00011 10001 00010 11101 00011 01100
11101 00011 00100 01111 11000 10100 00110 01110 11110 10110
5 - Add the witness version byte in front of the step 4 result (current
version is 0):
000e140f070d1a001912060b0d081504140311021d030c1d03040f1814060e1e16
6 - Compute the checksum by using the data from step 5 and the H.R.P (bc
for MainNet and tb for TestNet)
0c0709110b15
7 - Append the checksum to result of step 5 (we now have an array of
5-bit integers):
000e140f070d1a001912060b0d081504140311021d030c1d03040f1814060e1e160c0709110b15
8 - Map each value to its corresponding character in Bech32Chars
(qpzry9x8gf2tvdw0s3jn54khce6mua7l) 00 -> q, 0e -> w,...
qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
9 - A Bech32_encoded address consists of 3 parts: HRP + Separator +
Data:
bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4
The final result from step 9 is the same as example in BIP-173[6]
References:
[1]
https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses
[2] https://github.com/sipa/bech32
[3] https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki
[4] https://en.bitcoin.it/w/images/en/4/48/Address_map.jpg
[5] Only compressed public keys are allowed:
https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki#restrictions-on-public-key-type
[6]
https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#examples
===================================================================================================
On 2020-07-28 08:32, Carson Mullins wrote:

I've finished creating a PHP script that can successfully create
extended public keys for all types (xpub, ypub, zpub). However, only
addresses can be retrieved from xpub and ypub, as we've yet to find a
suitable library, code snippets, or extension for Bech32 encoding.
I must say, that BitcoinECDSA github repository REALLY helped! I
appreciated how simple it was to integrate into a solution without
being overly complex. I've integrated only the functions that are
necessary. Since the script is rather long, I'm going to link you to a
PasteBin [1] instead.
At the top of the script, there are some tests for both xpub and ypub.
Beginning at line 96 is where the actual script happens. A good
starting place to look at would be on line 577, where a function
called CKDpub takes a parent extended public key and derives a child
extended public key. Line 595 and 596 is where the tweak is scalar
multiplied and then added to the parent public key. I suggest that you
backtrack from lines 595 and 596 and that should give you a good
picture of what is happening when performing scalar multiplication and
addition.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
Links:
[1] https://pastebin.com/zTpDnjhb
[2]
https://github.com/EAWF/Bitcoin-Merchants-Toolbox/issues/12#issuecomment-665110192
[3]
https://github.com/notifications/unsubscribe-auth/AEXMNYKMXCSPAHGRYALZOBDR53VPDANCNFSM4PJ3LFUQ

Bech32 support has been added. New PasteBin Link
I basically took the python code from the BIP-173 proposal and converted it into PHP code, which took care of the checksum (the hardest part). The process of determining the checksum is very efficient. The conversion of public key's hash into the bech32 characters, however, is probably a lot slower than it could be. I had to use a lot of gmp functions since my understanding of bitshift operations isn't the best. I'm sure it could be done a lot more efficiently/faster, but it does work now.

Again, awesome job!
RE: the derivation path printout in the test.
I noticed that you're not using the actual account number(child number
of the account level) for the printout.  You may want to use Ian's page,
change the account numbers for extended public key's 2, and 3, and pull
those vectors in for testing.  We have no idea which account someone is
going to use, and it's a really good idea to provide the correct path
for each address derived.
RE: spelling bug in the test for zpubs, you missed an xpub reference.
not a biggie.
RE: Git Repository
I'm thinking that now that the solution is entirely different to the
original repo, maybe the current repo should be shut down or trashed.
I've created a currently private repo named getBTC as a replacement, but
wanted to get your thoughts on what to do with what you've created?
On 2020-07-28 14:22, Carson Mullins wrote:

Bech32 support has been added. New PasteBin Link [1]
I basically took the python code from the BIP-173 [2] proposal and
converted it into PHP code, which took care of the checksum (the
hardest part). The process of determining the checksum is very
efficient. The conversion of public key's hash into the bech32
characters, however, is probably a lot slower than it could be. I had
to use a lot of gmp functions since my understanding of bitshift
operations isn't the best. I'm sure it could be done a lot more
efficiently/faster, but it does work now.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [3], or unsubscribe
[4].
Links:
[1] https://pastebin.com/xQ15TwxV
[2]
https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#bech32
[3]
https://github.com/EAWF/Bitcoin-Merchants-Toolbox/issues/12#issuecomment-665290206
[4]
https://github.com/notifications/unsubscribe-auth/AEXMNYLXHIA6JDWNZVOUPHDR546QFANCNFSM4PJ3LFUQ

Bob, normally just do a major release when there are major changes. No need to wait switch repositories. Or you can do a major branch.

Bob, normally just do a major release when there are major changes. No need to switch repositories. Or you can do a major branch.

And if I want to do a repo name change?  Do I just change the name, or do I need to branch?

And if I want to do a repo name change? Do I just change the name, or do I need to branch?

You can always change the name of the repo. The only change is that old links to the repository will reach a 404 page as they will be linking to a non-existent repo name. You have a few options with a new branch.
If you wish to keep all of your previous commit history:

git checkout -b old-master - creates a new branch for the current state of the repo to go into
git push -u origin old-master - push the newly created branch to GitHub
git push checkout master - checkout the master branch
make any changes you want, such as deleting all files, etc.  In addition, the old master branch will retain the state of how the repository was when this change occurred, in case you need to go through it and pull out files you want to keep. Eventually when you are done with the old master branch you can simply delete it:

git push -d origin old-master - deletes the old master branch from Github
git branch -d old-master - deletes the old master branch from your local Git repository

@EAWF Wouldn't it be better to keep this repo since it has Stars + Watchers already, and therefore a better reputation? It would be very simply to port over what we have on the other repo into this one. Instructions on how to do so are in the comment above this one. Let me know your thoughts.

IMHO, there's not a lot of stars and watchers to be considered valuable, however, I see your point that we have time and momentum going, and sometimes that inertia is a good thing.
The old-master idea is not a bad way to go.
My current thinking is that perhaps the focus of this repo might be better suited as a central point of tools and code to help users write paywalls, with branches for different programming languages.
If we do that, I can see that merging getBTC into here would be a good thing.