Breaking up beats in a pattern

I started writing a PR that would allow you to to put spaces in patterns for organization:
pattern: 'x_x_  x_x_  x_x_  xxxx'

The pattern would simply remove the spaces before processing the clip. However, I'm not entirely sure that is the best approach, as users may want to get the length of the pattern. This would lead to more work for the user to remember to filter out spaces. Instead, I wonder if a simple example of string concatenation in the docs would suffice. Something like this:
pattern: 'x_x_' + 'x_x_' + 'x_x_' + 'xxxx'

Any thoughts?

The README.md  includes a .repeat(3) example for using string operations on patterns.
If you are looking for more ways to break up patterns visually in your codebase, you could try a joined array:
const scribble = require("scribbletune");

// Each line is 4 beats of music.
let melody = [
	'c3', 'd3', 'e3', 'd3', 'c3',
	'd3', 'e3', 'd3', 'g2'
];
let pattern = [
	'x___'.repeat(3), 'x_x_',
	'x___'.repeat(3), 'x_--'
].join('');

let clip = scribble.clip({
	notes: melody,
	pattern: pattern
});
scribble.midi(clip, 'song.mid');

Another idea is to make a function to print a clip's patterns in a broken-up way, if you just want to see the input pattern with spacing by beat. Maybe by outputting the pattern in a loop with a space added after every 4th character.
The tool works without a whitespace filtering feature, so maybe this issue could be labeled as an enhancement or feature request?
Personally I enjoy the simplicity, since it errors if I input incorrect characters for a pattern.

Hmm, I was thinking of something more akin to Rust's numeric literals. For example 1_000 === 1000. it's simply a way to improve readability of the code. Or, in this case, readability of a pattern. If you have a complex pattern of 32 x, _, and -, it may help to break those up into identifiable beats. To avoiding adding anything to the codebase, it may be better to use simple concatenation, as I suggested before.

Looks like you guys asked and answered yourself :D Thanks so much!
I agree simple concatenation or joins on arrays is the best way forward 👍


Add a progress bar to the diagnose subcommand

Gives some feedback about how long diagnostic bundle generation still takes. As always with progress indicators, everything is an estimate but I feel that giving some progress estimate gives some valuable feedback that something is happening. It also allows us to show the current state inline without accumulating a huge log of previous states.

@swift-ci Please test

@swift-ci Please test


get() returned more than one RedirectHit -- it returned 2!

can cause:
MultipleObjectsReturned at /
get() returned more than one RedirectHit -- it returned 2!
=> caused by concurrent hits from same referrer, so, not a multi site issue

fixed by using a unique_together constraint, on referer and redirect fields.

released in 0.4.2

let's see if transaction.atmic block is still needed

#22


Fix form error linking in the provider relationship permissions form

Context
When a validation error occurs on the provider relationship permission form, the Gov UK error summary appears, but the page does not correctly show (in red) which section of the form is invalid, nor do the error links anchor to the correct place on the page.
Changes proposed in this pull request
Use the govuk_check_boxes_fieldset to allow the grouping of permission checkboxes, which will auto link them to the error correctly.
Pass in a custom name and checked value to the checkbox inbox field to allow it to behave correctly when pre-filling and on form submission.
Guidance to review
Although we are setting the name/checked on the checkbox input field we can still use the ProviderRelationshipPermissions model on the forms.
Link to Trello card
https://trello.com/c/jyduUkbk/3975-errors-are-not-linked-correctly-when-changing-organisation-permissions

Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] Required environment variables have been updated added to the Azure KeyVault

closing in favour of https://github.com/DFE-Digital/apply-for-teacher-training/pull/5190/files


Bug or memory leak / allocation error at RANS3PSed

CLF number is not updated properly - zeros values are added
Receving nan output at residual array for RANS3PSed - though not always
If print statement are inserted in RANS3PSed2D.h, then CFL values are not zero anymore (might indicate memory leak - allocation errors)
To reproduce the error, use the gco_rans3p branch and this air water vv case https://github.com/erdc/air-water-vv/tree/gco_sed/2d/sediment/bed_sediment
CFL number is updated in https://github.com/erdc/proteus/blob/gco_rans3p/proteus/mprans/RANS3PSed.h#L1075

I will keep working on it, but could you also give it a fresh look yourselves

@manuel-quezada are you able to reproduce this on the master branch?

No, after changing the definition of the cfl (to avoid having negative entries) my simulation goes all the way through.

Is that change in master now?

Not that I am aware. I think that @adimako incorporated that change in gco_rans3p.

Yes I did that change, but it did not solve the problem for me

I verified that you get nan residuals in rans3psed after sufficiently many steps have been taken. Looks to me like the vos or the sediment velocity is unstable.

Copy that, I did also play with the parameters a bit and it looks better. I am closing the issue.


Regarding Camera Coordinate

Hi,
Apologies for reaching out again. Could you please confirm if the coordinates used are in the OpenCV format?
Thank you!

Yes, both the data generated by Taichi and our real captured data are in OpenCV coordinate.

Thank you!


bitwarden: user customization

ability to set whitelist IP's to allow access to bitwarden using
bitwarden_ip_whitelist

This looks good, but why test-ipwhitelist?

Hey, I've renamed the middleware to bitwarden-ipwhitelist. test-ipwhitelist was just used when I was preparing it.


hyperlink in the template

I have created hyperlink in the template but then it disappear in the new rendered document. Why does it happen?

@poyomunandar hi, i haven't supported this package in a while, but the problem with the Xml serial at Reading and preservation of docx, I did not describe the support of all types. (see decode/encode methods https://github.com/legion-zver/go-docx-templates/blob/83e215e5caecdbd2ec412cff0f28ff4b7e7f53ce/docx/document.go#L54)


55 fix tests upgrade dependencies

Summary
Resolves #55

Changes Unknown when pulling f0b340e00f539d6b874ea7343f097e8a87b4b81c on 55-fix-tests-upgrade-dependencies into ** on master**.

Changes Unknown when pulling fa6e1dab9aebe2f0fce0aa2beecb137b7fe59704 on 55-fix-tests-upgrade-dependencies into ** on master**.


searchbar recommendations for some items in calculus section

Hi! I would like to add searchbar recommendations for some items in calculus section Ex- convergence divergenc,laplace transform,tangent and normal,application of derivatives,maxima minima of functions

Go ahead
Deadline 19 April,2021 11:59 PM IST


Release 0.1.0

Motivation
Bump component versions

@wtrocki I have still having problems with the release and since I have all day meeting tomorrow, I won't be able to progress this. Do you mind taking a look?
All my changes are pushed to this branch: https://github.com/aerogear/aerogear-ios-sdk/tree/0.1.0.
However, I get all sorts of different errors when I try to run this command to verify the core module:
bundle exec pod spec lint --swift-version=4.0

It looks like Cocoapods is trying to compile the example app and it always failing for me and complaining about missing dependencies.
can you try it and see if you are having the same problem.
Thanks.

Cocoapods is using cache to build and lint resources. Additionally lint command is using target (git repository) version of the podspec.
To prevent from issues we need to run: pod cache clean AGSCore and additionally make sure that all the changes are part of the release branch/tag.

cool. Did you get it work now?
On Fri, Apr 6, 2018 at 11:13 AM, Wojciech Trocki<EMAIL_ADDRESS>wrote:

Cocoapods is using cache to build and lint resources. Additionally lint
command is using target (git repository) version of the podspec.
To prevent from issues we need to run: pod cache clean AGSCore and
additionally make sure that all the changes are part of the release
branch/tag.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aerogear/aerogear-ios-sdk/pull/69#issuecomment-379211039,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA3tWQGWBPeQrE4jXoi8s0CrkTf7orbvks5tlz_igaJpZM4TIDJh
.

--
WEI LI
Principal SOFTWARE ENGINEER
Red Hat Mobile https://www.redhat.com/
<EMAIL_ADDRESS>  M: +353862393272
https://red.ht/sig

Configuration was using invalid option (we were using tag instead of branch).
Documentation: https://guides.cocoapods.org/syntax/podspec.html#source
Despite changes lint was always relying on the same tag.

@wei-lee As agreed we moving out from the releasing each of the modules into releasing them all:

Having single podspec file that list all SDK's
Individual files will be listed as subspecs

Going to release them and adjust scripts. Closing this PR as it imposes different aproach.


License Update

Hello Contributors! We first wish to thank everyone for the contributions so far, we are planning on changing our actual license  LGPL-3.0 to MIT. We want to know if any of the actual contributors has anything against the license change. We are planning on making the change by 1-september-2020.
@danilodeveloper @GouveaHeitor @omatron @Horaddrim @hermescanutodesouza @msAlcantara @bieeldeveloper @coderamos

I agree.

Cool! MIT license is more permissive than LGPL-3.0 so IMO is the best approach for Insider grow.
I agree.

This is a very interesting choice! You have my OK too

I agree.

I agree.

New License is up https://github.com/insidersec/insider/blob/master/LICENSE commit: https://github.com/insidersec/insider/commit/fe5d2febc6cfa8138dc6507b5c0ccbb68f971dd4
Thanks to all! 🚀


Add cluster-name param to CM and addons

Load balancers created by Kubernetes are prefixed by the cluster name, which defaults to "kubernetes". If this is not overridden, then load balancers (and potentially other resources) from different clusters in the same cloud can conflict.  This uses the cluster tag we already generate as the cluster name (and passes it through to cdk-addons for the external OpenStack provider) to ensure uniqueness and consistency with the way we annotate resources belonging to this cluster.
Fixes lp:1842941
Depends on https://github.com/charmed-kubernetes/cdk-addons/pull/147

Tested with Octavia-enabled cloud, and verified K8s-created LBs include the UUID to ensure uniqueness.


Add Count Triplets code in java

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Description
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
issue number #815

@SKAUL05 @siddharth25pandey @Kajol-Kumari @atarax665 can you verify and review this pr.


bug(tap-runnner): time spent not shown when tap result has no time spent

Added custom time calculation for a test run which is used when the tap result does not include the time spent.
Fixes #4331

Looks 👍


[BEAM-12356] Fixed last non-cached usage of DatasetService in BigQuery WriteFiles

This change complements the https://github.com/apache/beam/pull/14949 and https://github.com/apache/beam/pull/15480 in trying to fix not closed BigQueryWriteClient

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

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

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @reuvenlax
R: @chamikaramj

LGTM


Failed test

Seems minor
TEST 4/4 [tests/004_audio_query.phpt]
========DIFF========
--
     int(44100)
     int(32784)
     int(2)
005+ string(40) "Couldn't open /etc/timidity/timidity.cfg"
005- string(0) ""
========DONE========
FAIL sdl_mixer_test1() Basic test [tests/004_audio_query.phpt]

It seems the library search  /etc/timidity/timidity.cfg before  /etc/timidity.cfg (which exists), so report this, but seems only a warning (can probably be ignored)

This error is for the Mix_Init function, I'll add the Mix_ClearError after module initialization.


refactor: Extract color_class module.

I haven't manually tested this yet.  Happy to hear bikeshedding on the naming decisions here.  (The class in color_class is a CSS class that is either "dark_background" or "").

Merged, thanks @showell!

Maybe I should have paused a bit before merging; I'm not sure color_class is the right name but it's kinda hard to come up with something better.  I think the right naming would look something like color_util.color_requires_dark_background function returning a boolean, and a color_util.get_background_class_for_color() wrapper?


add e2e s3 test

Proposed Changes
adds e2e test checking s3-etcd-snapshot functionality, closes https://github.com/k3s-io/k3s/issues/7441

Types of Changes

Verification

Testing
go test -timeout=15m ./tests/e2e/s3/...

Linked Issues

User-Facing Change

Further Comments

You need to go fmt your files for CI to pass.


feat: bump up CRD version to v1beta1

Description
What this PR does / why we need it:
Update CRD version from v1alpha1 to v1beta1
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes https://github.com/deislabs/ratify/issues/602
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Test passed.
Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

instead of this being a breaking change, you should consider creating a seperate v1beta1 api and converting between different versions https://book.kubebuilder.io/multiversion-tutorial/tutorial.html
example: https://github.com/Azure/eraser/pull/544


Refactor BitMap and add tests

Co-authored by @resul4e.
Detailed changes:

Add basic tests for BitMap
Change all occurrences of type Vector2 to Vector2i (+ its aliases) where it makes sense (not in clip_opaque_to_polygons)
Change get/set_bit operations to make the API similar to Image/Noise/etc.:

rename get_bit(Vector2i) to get_bitv(...) and set_bit(Vector2i, val) to set_bitv(...)
add get_bit(x,y) and set_bit(x,y,val)

Fix blit method always writing to the same pixel
Fix comment style
Change behavior of the resize operation to better fit its name (simple image scaling)

(before: resize could only make the bit map smaller, content was just cut)

Thanks!


Update extraction of hostname from X-Forwarded-Host to favour AEM hostname

To better surface the relevant hostname of the service in the logs, the rum collector should not just take the first value in the X-Forwarded-Host header, but rather look for an AEM-related one in there as it would point better at the running service.
X-Forwarded-Host may contain multiple values separated by commas, in this list look for a value that matches the following regex:
[.](aemcloud|aem|hlx)[.](page|live|net)

and use that value instead, if found.

:tada: This issue has been resolved in version 2.7.0 :tada:
The release is available on:

v2.7.0
v2.7.0
GitHub release

Your semantic-release bot :package::rocket:


[BUG] - DNS servers field randomly reset to empty

Describe the bug
I don't know how and when, but sometimes the DNS servers field gets reset to an empty value
Smartphone (please complete the following information):

Device: ObePlus 8T
Android Version: Android 14
App Version 3.6.3
Backend: Userspace

To Reproduce
Steps to reproduce the behavior:

Randomly without user interaction

Expected behavior
DNS servers should not reset at all without user intentions
Screenshots (Only if necessary)
Additional context
Add any other context about the problem here.

Hello! I think this should be fixed on the latest changes to the config screen as I fixed a few bugs with how tunnel configs were being saved. I'll mark it as closed for now. If you notice this issue happening again in 3.6.4 just send another message and I'll reopen the ticket.


[SPARK-44561][PYTHON] Fix AssertionError when converting UDTF output to a complex type

What changes were proposed in this pull request?
Fixes AssertionError when converting UDTF output to a complex type by ignore assertions in _create_converter_from_pandas to make Arrow raise an error.
Why are the changes needed?
There is an assertion in _create_converter_from_pandas, but it should not be applied for Python UDTF case.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Added/modified the related tests.

cc @xinrong-meng Could you take a look and see if we want to apply this to Arrow Python UDF too?

cc @allisonwang-db

Thanks! merging to master/3.5.


Listener#doesAccept(Object) to prevent endless list of instanceof checks?

Isn't it a better way to ask the listener if it may accept the Object by calling a Listener#doesAccept(Object):bool  or Listener#doesAccept(Class):bool? (I don't care the actual name, but I prefer the class variant).

No, such a method would have to do the logic to see if it can accept the object, return a boolean, then received would be called and that same logic would need to be done again. A listener does not need to use a list of instanceof checks, it can use a HashSet or any other technique it wants. If you have a large number of types, you could use a wrapper with an int or enum, eg:
switch (wrapper.type) {
case something:
    YourClass object = (YourClass)wrapper.object;
    break;
}


fix logsoftmax math

I think the math equations here is corrupted.

In addition, it is somewhat confusing that the definition of argument x is different with between explanation of softmax and logsoftmax.
In logsoftmax, x is input array, but in softmax, f(x) is input array.

I agree that the current document makes no sense, and wrote the draft. How about the following?
This function computes its logarithm of softmax along the second axis.
For each index :math:`x` in the input array, it computes the logarithm
of the probability :math:`\log p(x)` defined as

.. math::
    p(x) = {\\exp(f(x_1, x_2, \\dots, x_d)) \\over \\sum_{x'_2} \\exp(f(x_1, x'_2, \\dots, x_d))}.

This method is theoretically equivalent to ``log(softmax(x))`` but is more
stable.

I think the 2nd equation is no needed.

I agree with you.
2nd equation is redundant.

Thank you! I would like to merge this one.


Update tdr-generated-graphql to 0.0.252

Updates uk.gov.nationalarchives:tdr-generated-graphql from 0.0.251 to 0.0.252.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives", artifactId = "tdr-generated-graphql" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "uk.gov.nationalarchives", artifactId = "tdr-generated-graphql" }
}]

labels: library-update, early-semver-major, semver-spec-patch, commit-count:1

Superseded by #2009.


Feat/hyperliquid vault

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
add vault feat for hyperliquid
Tests performed by the developer:
unittest
Tips for QA testing:

Merged to development and part of release version 1.25.0


Update Java to v17

I tested a number of packages without issue, but I couldn't reproduce the reported output on my system to begin with, so that's not necessarily a solid benchmark

@sohbaker Those folders had no references to Java 11. But while checking, found and fixed references to Java SE 8, so thanks. 🙂

All good. The PR said update to 17 so when they weren't listed I wondered whether they would have needed updating.

(Hit the wrong button whilst adding a comment)


[AzureMonitorExporter] POC collect telemetry via eventsource

POC. This PR is for discussion.

API change check
API changes are not detected in this pull request.


refactor(api): move temperature module hardware interactions to core

Overview

Changelog

Review requests

Risk assessment

Current dependencies on/for this PR:

edge

PR #11480

PR #11496   👈

This comment was auto-generated by Graphite.

@jbleon95 and I tested a Temperature Module GEN2 on an OT-2 with the branch from #11504.
All temperature module functionality behaved as expected. Test procedure:

Print idle temperature / target / status
Move to labware
Set and wait for heating target
Print temperature etc.
Set cooling target without waiting
Print temperature etc.
Wait for target
Print temperature etc.
Deactivate
Print temperature etc.

Will save Jupyter Notebook for future testing


chore: cache blob csi driver image

What type of PR is this?
/kind feature
What this PR does / why we need it:
chore: cache blob csi driver image
v1.19.5 is used on AKS 1.24, 1.25, and v1.21.2 is used on AKS 1.26
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
chore: cache blob csi driver image

https://github.com/Azure/AgentBaker/pull/3311


floating point of image classifier is broken in tflite demo

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

== cat /etc/issue ===============================================
Darwin Zhongleis-MBP 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64 x86_64
Mac OS X 10.13.4
== are we in docker =============================================
No
== compiler =====================================================
Apple LLVM version 9.1.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
== uname -a =====================================================
Darwin Zhongleis-MBP 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar  5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64 x86_64
== check pips ===================================================
numpy (1.14.0)
== check for virtualenv =========================================
False
== tensorflow import ============================================
Traceback (most recent call last):
File "", line 1, in
File "tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "tensorflow/python/pywrap_tensorflow.py", line 25, in
from tensorflow.python.platform import self_check
ImportError: No module named platform
== env ==========================================================
LD_LIBRARY_PATH is unset
DYLD_LIBRARY_PATH is unset
== nvidia-smi ===================================================
./tools/tf_env_collect.sh: line 105: nvidia-smi: command not found
== cuda libs  ===================================================
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
In current tflite demo, if I enable floating point image classifier, the app doesn't work.
The error message is
04-17 19:56:31.538 29418 29418 E TfLiteCameraDemo: Exception java.lang.NullPointerException: Can not allocate memory for the interpreter
I think it's caused by
$ git show 91c3199
commit 91c31997e6854a3d07acc76381cff7436df1c1dd
Author: A. Unique TensorFlower<EMAIL_ADDRESS>Date:   Fri Apr 13 08:12:42 2018 -0700
Add support to TFLite for dilated convolution.

PiperOrigin-RevId: 192770919

Source code / logs
The error message is
04-17 19:56:31.538 29418 29418 E TfLiteCameraDemo: Exception java.lang.NullPointerException: Can not allocate memory for the interpreter

@zhongleiwang How did you determine that it was due to that commit? That just sounds like you're out of memory.

I'm bit puzzled by out of memory problem, however, git bisect seems to indicate the breakage happened from this cl. Maybe the author say more.

I have the same issue.

Nagging Assignee @aselle: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.


Can Cocopods be supported?

Thank you.

Of course, it can technically be supported.
But I dropped support long ago since the present and future of Swift dependency management clearly is the Swift Package Manager.
So I won't invest time in maintaining legacy Cocoapods support or even finding out how to automate that.
There exist platforms to discover Swift packages:

https://swiftpackageregistry.com
https://swiftpackageindex.com

And the infrastructure for hosting Swift package registries is also growing:

Package Registry Service (implemented since Swift 5.7)
GitHub Registry Support

I'm curious: Do you have technical or other reasons that prevent you from using Swift packages?

Thanks for your reply. At present, we use more Cocoapods.


[maia] enable application credentials

fix issue using application-credential by name on the CLI

Coverage increased (+0.05%) to 59.464% when pulling 20b57176f916b8deb6f94404c5d3c1258b3bed6f on enable-application-credentials into<PHONE_NUMBER>c2d11e9a4ecf106a1f40e559415fdb on master.


Effect question

Is there a way to make a ripple effect with a single color? i've checked around a bit but not in depth

Umm... Set both colors to the same color?

Would I go into free style mode and do such a thing or would I have to assign keys?

i figured it out! just took some tweaking on the gradient shift setting


Improve the error messages when failing to solve with pypi dependencies

Problem description
Right now if you have conda and pypi dependencies and the pypi dependencies fail to solve, you'll see that something is locked but you won't know why it's locked (ie. what top level target you have in your conda deps section that's pulling it in and the recursive requirements from that target). Ideally you'd get enough information in the error for you to resolve it without ever needing to reference a lockfile (which might not exist at all if you're failing to solve from the beginning).

We're currently thinking on how we should get more information to the solver. This will hopefully help with giving better issues.

Closing because this got a huge overhaul in the last year


Update README.md

Fixed Typo causing error

Hi @Dowlatabadi, just out of curiosity, what was the error being caused by this typo in the readme.md file?

Hi @jtranquilli
Here you can find the error I get:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "....../python3.10/site-packages/jsii/_runtime.py", line 118, in __call__
    inst = super(JSIIMeta, cast(JSIIMeta, cls)).__call__(*args, **kwargs)
TypeError: Spot.__init__() got an unexpected keyword argument 'apiSecret'

hi @jtranquilli, why did you delete your comment in which you asked a question after I answered it?


Current Storage component

Add a storage component to the bottom of the sidebar, displaying the maximum number of allowable file uploads and the current status of ongoing uploads.

Hi! Can I have this assigned to me please

Sorry for the late assignment.. you can do it now.

Thanks For Assignment...
Working on It
I had one query: will this count in Hacktoberfest?
Thanks

@vishnurchityala Please Verify it

@vishnurchityala  Hi! I have a little request...
Can you please add hactoberfest tag to repo and hactoberfest-accepted to the merged PR that will enable this to be considered on my hacktoberfest dashboard
Thanks


Cannot see any result from example

Following step 1 to 10, I was able to bring up all nodes without any errors. But I can only see image topics from ros bag playback. I try to  monitor some topics under nvblox_node (pointcloud2, marker etc.) but got nothing in rviz.

What am I missing?

It seems like you may have forgotten to change the fixed frame from map to odom. The quickstart includes a prepared .rviz file that automatically loads an RViz window with all of the appropriate settings arranged for your convenience.


table expression index 0 never exists

give issue for inputs[ 0 ]

hmm, probably need to add it to some rule
division by constant zero might fit into the same rule


Request: assume closing connection on HTTP/1.0

This is the correct behaviour according to
https://datatracker.ietf.org/doc/html/rfc2068#section-19.7.1.
This makes ApacheBench work properly.

Thanks for this. This is quite interesting because if I read the RFC correctly, it means an http/1.0 client is still allowed to create a persistent connection using the Connection: keep-alive header. This means that besides this fix, the logic in the .header branch for setting the connection_type also needs some touch-ups to handle this correctly. This doesn't block your PR tho, I've created an issue to track this so someone or I can fix this someday. #55
Once again, thanks for bringing this up!


Correct spelling on rubocop's index.md

Modify some phrases to make them semantically correct.
Minor punctuation fixes.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


[v3] Add custom sentry tags

By default sentry tags the server name. This PR allows to set optional additional custom tags for a lavalink server instance, which then can be sorted by in sentry. This PR is useful when running more than one LL instance on one machine for example, or otherwise group and sort through reports of various instances.
Moved the sentry configuration into its own configuration key / class to avoid cluttering the server configuration. The previous dsn location is deprecated, but still supported and will result in a friendly warning detailing the new location / configuration key, until it is removed in a version post v3.

Thought this one was not a breaking change either, but it kinda builds upon<PHONE_NUMBER>1b8b55603ad8eacd77c1356a5fa33a so...nope, not backporting it to dev.

It kinda is a breaking change, as it changes the location of the DSN and deprecates the old one.


Create second-level-items.js helper function

This helper function will build the secondLevelItems prop for NavigationAccordion.
To test this function, I pulled real data from 4 sites (android, api, vector-tiles, gl-js) and then used the function to make sure it returns the same data that the site currently returns. (This work is shown in the test file in this PR.)
🐌

I'm going to punt on this


tlwg: 0.7.3

Checklist

[x] Checked the nixpkgs master branch

[x] Checked the nixpkgs pull requests

Project name
nix search name:

current version: 0.6.4
desired version: 0.7.3
Notify maintainers

maintainers: @yrashk
Note for maintainers
It's been several years since the dependency has been updated, and the latest release is a year old (https://github.com/tlwg/fonts-tlwg/releases/tag/v0.7.3).
I tried to do the low-hanging, quick update, but it did not work because of a error with autoreconf. I'm unfamiliar with the toolchain.
stdenv.mkDerivation rec {
  pname = "tlwg";
  version = "0.7.3";

  src = fetchFromGitHub {
    owner = "tlwg";
    repo = "fonts-tlwg";
    rev = "v${version}";
    sha256 = "sha256-hWiH5KJnYTdcrm+Kzn9HUQry8ry3SKzjA6/0536kCLQ=";
  };
  # ...
}

https://github.com/NixOS/nixpkgs/pull/203014


Please support search for multiple vectors

Describe the feature:
the client should support search for multiple vectors
See https://github.com/milvus-io/milvus/issues/25639
Describe a specific use case for the feature:
Some collection need multiple vectors to represent them. The should be indexable and searchable.

I think you can search with mulitple vectors.
client.search({
  collection_name: 'my_collection',
  data: [vector1, vector2],
  limit: 5
 }) ;

Well, the current Node SDK allows you to search multiple vectors across an entire collection. However, the feature you're referring to, where a single collection can have two or more vector fields, is not yet available. Please stay tuned for the upcoming release of Milvus.  : )

import { RRFRanker, WeightedRanker } from '@zilliz/milvus2-sdk-node';
// single-vector search on a collection with multiple vector fields
const search = await milvusClient.search({
  collection_name: collection_name,
  data: [1, 2, 3, 4, 5, 6, 7, 8],
  anns_field: 'vector', // required if you have multiple vector fields in the collection
  params: { nprobe: 2 },
  filter: 'id > 100',
  limit: 5,
});

// multi-vector search on a collection with multiple vector fields
const search = await milvusClient.search({
  collection_name: collection_name,
  data: [
    {
      data: [1, 2, 3, 4, 5, 6, 7, 8],
      anns_field: 'vector',
      params: { nprobe: 2 },
    },
    {
      data: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16],
      anns_field: 'vector1',
    },
  ],
  limit: 5,
  rerank: RRFRanker(),
  filter: 'id > 100',
});

You can check the test case:
https://github.com/milvus-io/milvus-sdk-node/blob/main/test/grpc/MultipleVectors.spec.ts


[iOS] Show "LIVE" tag only in living.

Kind (Required)

Improvement

Overview (Required)

In SessionView, there are "LIVE" tag for all cells now. It should show in living only.
Please show "LIVE" tag only in living.

"LIVE" tag represents following.

Links

I'd like to try this issue if possible!

Of course, assigned 👍


Tag 0.1.7

Description

Reference: https://github.com/kubewarden/ui/issues/244

This adds the new questions scaffolding for sequence[ type

Git tag created


Make subscript notation behave as dotted notation

Fixes #16 - I was looking on PR #17 but couldn't quite understand what was missing. So I have created this new PR to start fresh, thus, feedback is very welcome.

Looks good. PR #17 's implementation looked fine, but its tests did not actually test the desired behavior.


MODE-1727 Allows the possibility of setting a custom Locale instance when querying

This will be used in turn when performing string comparisons.

Looks good.


Error

Hello again,
I implemented your hardware project nearly the same using the tutorial. I do not see the MCPs using i2cdetect, but using some test code they are displayed via the TCA Multiplexer at x20 and the following addresses. What I want to say is, that the wiring should not be the problem. I get the following error and hope that you can give me a hint what is going wrong. I am very grateful for any help.
python3 main.py
Traceback (most recent call last):
File "/home/daniel/.local/lib/python3.9/site-packages/adafruit_bus_device/i2c_device.py", line 175, in __probe_for_device
self.i2c.writeto(self.device_address, b"")
File "/home/daniel/.local/lib/python3.9/site-packages/adafruit_tca9548a.py", line 80, in writeto
return self.tca.i2c.writeto(address, buffer, **kwargs)
File "/home/daniel/.local/lib/python3.9/site-packages/busio.py", line 203, in writeto
return self._i2c.writeto(address, buffer, stop=stop)
File "/home/daniel/.local/lib/python3.9/site-packages/adafruit_blinka/microcontroller/generic_linux/i2c.py", line 52, in writeto
self._i2c_bus.write_bytes(address, buffer[start:end])
File "/usr/local/lib/python3.9/dist-packages/Adafruit_PureIO-1.1.11-py3.9.egg/Adafruit_PureIO/smbus.py", line 303, in write_bytes
self._device.write(buf)
OSError: [Errno 121] Remote I/O error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/daniel/.local/lib/python3.9/site-packages/adafruit_bus_device/i2c_device.py", line 181, in __probe_for_device
self.i2c.readfrom_into(self.device_address, result)
File "/home/daniel/.local/lib/python3.9/site-packages/adafruit_tca9548a.py", line 74, in readfrom_into
return self.tca.i2c.readfrom_into(address, buffer, **kwargs)
File "/home/daniel/.local/lib/python3.9/site-packages/busio.py", line 193, in readfrom_into
return self._i2c.readfrom_into(address, buffer, stop=stop)
File "/home/daniel/.local/lib/python3.9/site-packages/adafruit_blinka/microcontroller/generic_linux/i2c.py", line 59, in readfrom_into
readin = self._i2c_bus.read_bytes(address, end - start)
File "/usr/local/lib/python3.9/dist-packages/Adafruit_PureIO-1.1.11-py3.9.egg/Adafruit_PureIO/smbus.py", line 170, in read_bytes
return self._device.read(number)
OSError: [Errno 121] Remote I/O error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/daniel/SmartChessboard/src/main.py", line 47, in
player = HardwareClient.HardwareClient(chess.WHITE) if successful_import else
File "/home/daniel/SmartChessboard/src/Clients/HardwareClient.py", line 57, in init
self._hwi: HardwareInterface = HardwareImplementation.HardwareImplementation()
File "/home/daniel/SmartChessboard/src/Hardware/HardwareImplementation.py", line 37, in init
mcp = [self._perform_safe(lambda i: MCP23017(tca[i], address=0x20))(i) for i in range(4)]
File "/home/daniel/SmartChessboard/src/Hardware/HardwareImplementation.py", line 37, in
mcp = [self._perform_safe(lambda i: MCP23017(tca[i], address=0x20))(i) for i in range(4)]
File "/home/daniel/SmartChessboard/src/Hardware/SafeDecorator.py", line 35, in safe_wrapper
return func(*args, **kwargs)
File "/home/daniel/SmartChessboard/src/Hardware/HardwareImplementation.py", line 37, in
mcp = [self._perform_safe(lambda i: MCP23017(tca[i], address=0x20))(i) for i in range(4)]
File "/usr/local/lib/python3.9/dist-packages/adafruit_mcp230xx/mcp23017.py", line 69, in init
super().init(i2c, address)
File "/usr/local/lib/python3.9/dist-packages/adafruit_mcp230xx/mcp23xxx.py", line 39, in init
self._device = i2c_device.I2CDevice(bus_device, address)
File "/home/daniel/.local/lib/python3.9/site-packages/adafruit_bus_device/i2c_device.py", line 62, in init
self.__probe_for_device()
File "/home/daniel/.local/lib/python3.9/site-packages/adafruit_bus_device/i2c_device.py", line 184, in __probe_for_device
raise ValueError("No I2C device at address: 0x%x" % self.device_address)
ValueError: No I2C device at address: 0x20

Ahhh you are even reusing my hardware implementation. I was expecting users to reimplement HardwareInterface.HardwareInterface. Since it is very difficult to get everything exactly the same on the same ports. Well anyway

I implemented your hardware project nearly the same using the tutorial. I do not see the MCPs using i2cdetect, but using some test code they are displayed via the TCA Multiplexer at x20 and the following addresses. What I want to say is, that the wiring should not be the problem. I get the following error and hope that you can give me a hint what is going wrong. I am very grateful for any help.

This statement worries me slightly. Just to be sure, do you understand what the multiplexer does? The multiplexer is a switch between i2c channels. Normally you have a 1 channel for i2c. i2cdetect scan this one channel. If you hook up everything to one channel then it will be too busy and things will break all the time. This is why we have the multiplexer, The multiplexer is a device you can talk to and which will forward your message to one of 8 other i2c channels. However you will need to send the message to the correct address and on the correct channel number. (You can have multiple devices at the same address as long as they are on different channels)

Many thanks for the quick response. I adopted your hardware setup because you don't have to reinvent the wheel. In addition, the description of “chess-fortherapy” is also very good. But at the same time I have to correct myself when I said that I reused your whole setup because I haven't installed the buttons yet. If I understand you correctly, one of the reasons for the error is that the buttons cannot be found? Based on the error message, I would have thought that it was related to the MCPs. I've now experimented a bit with the code, but it turns out to be quite difficult and tedious if you only have moderate knowledge of Python. I'll stay tuned and get back to you. Thank you again

The buttons themselves do not matter but the buttons are connected to an MCP. That needs to be there. I also have an MCP for a 9th row of LEDs. If you do not have that then you will need some changes there as well.
Medium python knowledge should be enough to implement the hardware but understanding my implementation can indeed be a bit tricky since I use some advanced tricks. I would advice reading this page carefully if you haven't yet https://wouterschols.github.io/SmartChessboard/_build/html/InterfaceImplementation.html.


autocompletion with nvim-cmp now emits E730: using List as a String

While editing a SQL file, when attempting to autocomplete fields (for instance, I type TableName. then any letter) I get the following error:
Error detected while processing TextChangedI Autocommands for "*":
Error executing lua callback: Vim(call):E730: using List as a String
stack traceback:
        [C]: in function 'vim_dadbod_completion#omni'
        ...tart/vim-dadbod-completion/lua/vim_dadbod_completion.lua:39: in function 'complete'
        ...re/nvim/site/pack/paqs/start/nvim-cmp/lua/cmp/source.lua:314: in function 'complete'
        ...hare/nvim/site/pack/paqs/start/nvim-cmp/lua/cmp/core.lua:289: in function 'complete'
        ...hare/nvim/site/pack/paqs/start/nvim-cmp/lua/cmp/core.lua:169: in function 'callback'
        ...hare/nvim/site/pack/paqs/start/nvim-cmp/lua/cmp/core.lua:219: in function 'autoindent'
        ...hare/nvim/site/pack/paqs/start/nvim-cmp/lua/cmp/core.lua:161: in function 'on_change'
        ...hare/nvim/site/pack/paqs/start/nvim-cmp/lua/cmp/init.lua:312: in function 'callback'
        .../site/pack/paqs/start/nvim-cmp/lua/cmp/utils/autocmd.lua:49: in function 'emit'
        .../site/pack/paqs/start/nvim-cmp/lua/cmp/utils/autocmd.lua:23: in function <.../site/pack/paqs/start/nvim-cmp/lua/cmp/utils/autocmd.lua:22>

Here is how I have configured autocompletion for SQL:
cmp.setup.filetype("sql", {
	view = {
		entries = "native",
	},
	snippet = {
		expand = function(args)
		    require("luasnip").lsp_expand(args.body)
		end,
	},
	mapping = cmp.mapping.preset.insert({
		["<C-d>"] = cmp.mapping.scroll_docs(-4),
		["<C-f>"] = cmp.mapping.scroll_docs(4),
		["<C-Space>"] = cmp.mapping.complete(),
		["<C-e>"] = cmp.mapping.close(),
		["<CR>"] = cmp.mapping.confirm({ select = true }),
	}),
	sources = cmp.config.sources(
		{ { name = "vim-dadbod-completion" }, { name = "luasnip" } },
		{ { name = "buffer" } }
	),
})

I am likely doing something wrong, but this used to work until quite recently. Other completion sources appear to be working fine, as far as I can tell.
I am using Neovim 0.8.0, and nvim-cmp commit aee40113c2ba3ab158955f233ca083ca9958d6f8

Unfortunately, I'm not able to reproduce this.
Since I'm trying to isolate the issue, can you try this?

Remove cmp setup completely
Open up an sql file
Run this command: :setlocal omnifunc=vim_dadbod_completion#omni
Type something, like TableN, and press <C-x><C-o> to trigger omnifunc completion

Do you still get an error? If yes, please post the stack trace.
Also, let me know which database type are you using.

Thank you for these tips! I have done what you suggest. Upon pressing <C-x<C-o> I receive the following:
E730: using List as a String
-- Omni completion (^O^N^P) Pattern not found

But I should point out that this is only when autocompleting columns

Thanks, this is very helpful.
Since there is no any stacktrace, could you please run :set debug=msg in command line before trying <C-x><C-o> again?
Also, can you try pulling latest changes from master and see if issue is maybe resolved?

No worries, I actually did find and fix a few bugs from this issue, so it was useful.


Using costs in OpenNebula

Description
Sometimes, when I apply a cost value for “Disk”, it disappears and, then, when I calculate VM cost, I get an incorrect value.
Description
I’m assigning theses values:

Memory: 0.0015 per GB (and hour)

CPU: 0.01 per CPU (and hour)

Disk: 0.000768 per GB (and hour)

However, as you can see at attached files, total VM cost is the same…
To Reproduce
Assing value in a template, click on "Update" and then, recheck template
Expected behavior
When you recheck template, you could see values previously assigned.
Details
OpenNebula version: 5.10.1
Hypervisor: KVM

Consider also unifying the TOTAL calculations to reduce complexity

and how can I unify the TOTAL calculations in OpenNebula 5.10.1?

Sorry, my comment is an annotation to guide the development, Sunstone can show only the TOTAL cost and not split per VM attribute. This won't help with an OpenNebula 5.10.1 unfortunately.

Hi @sysadmincaos,
This issue cannot be replicated,
Anyway, we recommend you update to a more recent version such as 5.12
You can check more information here about upgrading from 5.6.x+
Will reopen if additional feedback is given

Hi @sysadmincaos,
This issue cannot be replicated,
Anyway, we recommend you update to a more recent version such as 5.12
You can check more information here about upgrading from 5.6.x+
Will reopen if additional feedback is given


SAKIII-4067 adjust keyboard bindings for topnavigation

https://jira.sakaiproject.org/browse/SAKIII-4067

@jhumb can you review this one please?

I am working on it, but I have some other urgent requests from IU to take care of first

@jhumb Can you review this one again when you get a chance to ensure all the accessibility fixes are in place and the top navigation is working as you'd like?

Merged via squash


PreferenceUnion Serializer deserializes to UNKNOWN

When using the XRPCSerializerModule the getPreferences response (https://pastebin.com/ttpQJjHG)
        val json = Json {
            serializersModule = XrpcSerializersModule
        }

        val preferencesResponse = json.decodeFromString<GetPreferencesResponse>(responseString)
        Log.d("TAG", "Preferences: ${preferencesResponse.preferences}")

The value of preferences will be unknown

Based on the code snippet shared, this is somewhat expected – AT Protocol uses "$type" as the json key for the class discriminator, instead of the default "type" that a kotlinx serialization Json instance will use [documentation link]. If this isn't being set, it won't be able to determine which serializer should be used for union types, so they will all default to using the fallback Unknown type. There is a convenience method that you can use to build a Json with the appropriate configuration:
val json = buildXrpcJsonConfiguration(XrpcSerializersModule)

Alternatively you can just use BlueskyJson member directly, which is configured in the same manner for you [documentation link].

buildXrpcJsonConfiguration(XrpcSerializersModule)

Worked as expected. Thank you for the help!


fix(crop_box_filter): fix bug

Description
Fix bug in https://github.com/autowarefoundation/autoware.universe/pull/2908.
Resolve https://github.com/autowarefoundation/autoware.universe/issues/2970.

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Although it is not related to the bug, I think there is another problem with the implementation: the last point of the point cloud is ignored:
https://github.com/autowarefoundation/autoware.universe/blob/4c9868953c4f88bf3e8e422f9036ce740472f63e/sensing/pointcloud_preprocessor/src/crop_box_filter/crop_box_filter_nodelet.cpp#L125-L126
Let's take a simple example: input cloud is 1D and has 1 point. Then:

input->point_step = 1
input->data.size() = 1
So when the loop starts (global_offset = 0), the clause global_offset + input->point_step < input->data.size() is false and we immediately leave the loop, ignoring the first (last) point.

Could you fix that as well?


Not an issue but an implementation

Not an issue but I've been working on my own RFID system and i thought lets merge these projects. So heres some code to implement a timing system
The timing system makes it available so someone can select times for each day to allow someone to enter.

I'm still working on converting my logging system to this project. Feel free to ask questions
Code is in attached zip file
RFID_ESP.zip
Edit:
Also it might be handy to use Gitt to improve communication around your projects

[ ] Add Captive Portal
[ ] Add Timed entry

from @rneurink 's fork

[ ] Add ability to choose administrative password
[ ] Add ability to choose time zone, NTP Server, Browser Time Sync (for AP Mode)

What else for v0.2?

This project is coming along very nicely since I last checked, loving the direction being taken!
Are they any plans to change the SS and RST pin selection (esp if rst is redundant now) in GUI to Enter and Exit pin selection so it can support 2 mfrc522 units connected to the same mcu? Perhaps the default is Enter and Exit being optional.
So one can do logs like;
Name BOB Card A1235B Entered [Door-Name] at [Date and Time]
...
Name BOB Card A1235B Exited [Door-Name] at [Date and Time]

Hello @akeilox, what you are asking is already in my to do list, but it may take a long time to get there, maybe v0.4? because i do not have an another RC522 at the moment and there are other things that really really need to be done before this.

Hi @omersiar understand, I been side tracked now catching up from stored email notifications and code updates, this is a great learning tool with very cool practical applications.
I saw the progress on SPIFF, and was wondering if you will consider adding support for paired-access.
Say like for a store room or file room, where two cards (person) need to be tapped to gain access.
When cardid stored in EPROM, perhaps it can have an optional pair field (name,cardid,pairid... ), and if this field is filled with another card id then mcu will await that card to be scanned too, to give access.
Is it something that can be factored in to the design for future implementation.
I am interested to hear your thoughts on this.

Yeah totaly esp-rfid can work like this, you can divide users into two groups, one have direct access, one have to wait for another person to validate access, actually you can do it now, for second group, you do not even have to deal with eeprom or know them. Just give users rfid tags, and do not let them access, give security guy the valid tag, lets people to enter

i assume there is a security guy, but if there are multiple parties for access, i do not know how to actually maintain this. design your work flow, perfect it, then coding will be easy.

Are they any plans to change the SS and RST pin selection (esp if rst is redundant now) in GUI to Enter and Exit pin selection so it can support 2 mfrc522 units connected to the same mcu? Perhaps the default is Enter and Exit being optional.
So one can do logs like;

I've got 2 readers so i will work on this after i get the SD card with logging working.

This was done there nicely: https://github.com/torehc/carontepass-v2/blob/master/arduino/caronte-esp8266/caronte-esp8266-two-rfid.ino

@rneurink Also I am still trying to convince my self about timed entry.
I am thinking about global Open-Close hours in Settings Page
https://codepen.io/jasesmith/pen/reLEyb
and also beside from that setting, every user can also be individually configured as you did it. I need somehow more easy approach for Timed Access, for example selecting boxes for hours of day and day of week like they are doing with torrent clients.
https://www.raymond.cc/blog/schedule-bittorrent-to-automatically-start-and-stop-downloading/
Also for future reference MomentJS is very promising: https://momentjs.com/

Timed Access (Entry) will likely be in V0.4


InstallSignalHandler does not work as expected

Pistache::Address addr(Pistache::Ipv4::any(), Pistache::Port(options.get_port()));
auto opts = Pistache::Http::Endpoint::options().threads(2).flags(Pistache::Tcp::Options::InstallSignalHandler);;

Pistache::Http::Endpoint server(addr);
server.init(opts);
server.setHandler(Pistache::Http::make_handler<HttpHandler>());

log("Serving the API on %s:%d.", addr.host().c_str(), static_cast<uint16_t>(addr.port()) );
server.serve();
server.shutdown();

Sending CTRL+C to the terminal does nothing although I would expect server.serve() to return and process to properly shut down. What purpose does the InstallSignalHandler serve? Also, isn't it a bad design choice that a multi-threaded lib attempts to handle signals? Signals in a multi-threaded process are already tricky enough, so having a lib to have its own signal handler only adds to the complexity with questionable benefits.

Anyway, this is how I solved it:
First before any threads are created I have this code:
    if (sigemptyset(&signals)        != 0
    ||  sigaddset(&signals, SIGTERM) != 0
    ||  sigaddset(&signals, SIGINT)  != 0
    ||  sigaddset(&signals, SIGQUIT) != 0
    ||  sigaddset(&signals, SIGPIPE) != 0
    ||  sigaddset(&signals, SIGALRM) != 0
    ||  pthread_sigmask(SIG_BLOCK, &signals, nullptr) != 0) return false;

It should ensure that no thread will be able to get any signals. Since Pistache is running in threaded mode I can just keep polling for any signals from the main thread.
Pistache::Address addr(Pistache::Ipv4::any(), Pistache::Port(options.get_port()));
auto opts = Pistache::Http::Endpoint::options().threads(2);
Pistache::Http::Endpoint server(addr);
server.init(opts);
server.setHandler(Pistache::Http::make_handler<HttpHandler>());

log("Serving the API on %s:%d.", addr.host().c_str(), static_cast<uint16_t>(addr.port()) );
server.serveThreaded();

bool terminate = false;
while (!terminate) {
    int number = 0;
    int status = sigwait(&signals, &number);
    if (status != 0) {
        log("sigwait() returned %d, shutting down.", status);
        break;
    }

    switch (number) {
        case SIGINT : log("\rCaught signal %d (SIGINT).",  number); terminate = true; break;
        case SIGTERM: log("\rCaught signal %d (SIGTERM).", number); terminate = true; break;
        case SIGQUIT: log("\rCaught signal %d (SIGQUIT).", number); terminate = true; break;
        case SIGPIPE: log("\rCaught signal %d (SIGPIPE).", number);                   break;
        case SIGALRM: log("\rCaught signal %d (SIGALRM).", number);                   break;
        default     : log("\rCaught signal %d.",           number);                   break;
    }
}

log("Shutting down the HTTP server.");
server.shutdown();

Ah, interesting.  So I attempted to implement your solution into my code, but received the following crash.  I need to recompile pistache with no optimizations and full debugging symbols so I can set some breakpoints and track down my failure.  I'm not sure why/when the "impl_" member is getting reset twice.
sigwait() returned non-zero, exiting.
Shutting down
terminate called after throwing an instance of 'std::runtime_error'
what():  Invalid object state, you should call init() before
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	}
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff5c9fc5a in __GI_abort () at abort.c:89
#2  0x00007ffff681d12d in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6
#3  0x00007ffff681aef6 in ?? ()
from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6
#4  0x00007ffff681af41 in std::terminate() ()
from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6
#5  0x00007ffff681b158 in __cxa_throw ()
from /usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/libstdc++.so.6
#6  0x00005555556286af in Pistache::Aio::Reactor::impl() const ()
#7  0x0000555555628618 in Pistache::Aio::Reactor::shutdown() ()
#8  0x0000555555606d3a in Pistache::Tcp::Listener::shutdown() ()
#9  0x0000555555605250 in Pistache::Http::Endpoint::shutdown() ()

@dennisjenkins75
Here is the full working example that I used to write my code for Pistache:
https://gist.github.com/kristopherjohnson/4a1e8630cfe9fca26a56
Basically what I did was calling sigwait from the main thread instead of spawning a dedicated thread for polling signals.
You could show me how you have initialized your signal set.
According to http://man7.org/linux/man-pages/man3/sigwait.3.html
it returns errors if set contains an invalid signal number.

I'd also like to point out that signal(2) is deprecated and we should be using sigaction(2) instead - assuming we want Pistache to trap any signals at all.

The issue is produced in the epoll_wait loop, that does not check whether the EINTR result is produced by a termination signal from the user, and just repeats the call.
I've created a patch that removes this loop (there is another similar loop in the caller function) and adds the option of choosing which signal(s) you want the endpoint to react with a shutdown (usually daemons react to SIGTERM and SIGHUP too). It still needs some work because it does not work if the Tcp::Options object goes out of scope when the endpoint is initialized, but I thought it may be useful to share.
0001-Better-signal-handling.patch.txt

Are there any chances to daemonize pistache?

I have not fixed the signal handler.  If someone puts forth a working PR, I'll gladly review and merge it.
Work-around:
I recently changed my own app from using "Endpoint::serve()" to "Endpoint::serveThreaded()".  I instlll my own signal handlers in my main thread, and when I get SIGINT, SIGTERM, SIGHUP, the main thread calls "Endpoint::shutdown()".  pistache shuts down just fine, allowing my main thread to do cleanup work.

Are there any chances to daemonize pistache?

What do you mean by daemonize Pistache? Pistache is just a library. An application is free to daemonize itself if it wants to.

@kiplingw Yes, You are right, but this library provides http server and  server should be daemonized. But of course, everybody can daemonize themselves if it want. Pistache provides .flags(Pistache::Tcp::Options::InstallSignalHandler). This suggest that this can be daemonized but there is no docs about it :/

Yeah. Last I checked it was broken. I resorted to manually setting signal masks. I also use daemon(3).

I stayed away from this discussion until @dennisjenkins75 wrote his comment. I couldn't agree more.
Ideally, I would see pistache throw away even networking and threading so it would operate solely on stdin and stdout. But if you're not doing that then at least get rid of signals. The host program would implement threading, networking and signals the way it sees fit.
I would love to be able to set up a HTTP server written in C++, using pistache and a wonderful linux tool named tcpserver which will handle the networking for me.

@nicraMarcin, don't worry. As they said, it's very easy to daemonize an application. If your target platform has glibc, then just use daemon(3). Otherwise it's a little bit longer with fork(3), setsid(3), etc.

@kiplingw exacly, I'ts trivial :) I'm new in C++ :) I learnt C many years ago, recently I write in php and html :) It's time to start writing in serious language :)

@nicraMarcin, yes indeed! Time to leave the four corner prison of a web browser behind!


Stop using XRay in Firefox

Reviewer:

Description:

https://app.asana.com/0/1201614831475344/1207277833550158/f
Firefox now supports execution worlds for content scripts in their MV2 manifest. This allows us to remove xray code. See also
Steps to test this PR:

Automated tests:

[ ] Unit tests
[ ] Integration tests

Reviewer Checklist:

[ ] Ensure the PR solves the problem
[ ] Review every line of code
[ ] Ensure the PR does no harm by testing the changes thoroughly
[ ] Get help if you're uncomfortable with any of the above!
[ ] Determine if there are any quick wins that improve the implementation

PR Author Checklist:

[ ] Get advice or leverage existing code
[ ] Agree on technical approach with reviewer (if the changes are nuanced)
[ ] Ensure that there is a testing strategy (and documented non-automated tests)
[ ] Ensure there is a documented monitoring strategy (if necessary)
[ ] Consider systems implications

@sammacbeth the test failures seem unrelated, the amp ones seem to be broken in main too, and others do pass locally. I assume it's not related to the change?


Docker container communications

Hi, I was trying to run separate containers for each robot. However, I am not sure how can we make it all visible in a single display environment. Shall we create another container for that, as you showed during the webinar? Is it possible to get some more insights into the docker container communication pipeline? Where do we need to give the IP of individual containers from the docker network...and those details.

From the high level, there will be a simulator container, multiple bridge containers, and multiple robot containers. I've temporarily uploaded the diagram to this page: https://github.com/osrf/mbzirc/wiki/Infrastructure. We will add more information over the next few weeks as we work on the infrastructure setup for evaluation.

However, I am not sure how can we make it all visible in a single display environment.

Not sure the issue you're running into. For local testing, we will look into providing Dockerfiles for building a bridge container and an example team solution (robot) container.

From the high level, there will be a simulator container, multiple bridge containers, and multiple robot containers. I've temporarily uploaded the diagram to this page: https://github.com/osrf/mbzirc/wiki/Infrastructure. We will add more information over the next few weeks as we work on the infrastructure setup for evaluation.

In this image, let's assume that I create a docker network and run two separate images in that network wherein one image I run USV and in another a quad, so if I just want to send a message from USV image to quad image using the method explained here, how would the quad docker image find the USV image just through the model name as an address, is there some backend code that gets IP of the images for communication?

Not sure the issue you're running into. For local testing, we will look into providing Dockerfiles for building a bridge image and an example team solution (robot) image.

This will be great! Looking forward to seeing this.

how would the quad docker image find the USV image just through the model name as an address, is there some backend code that gets IP of the images for communication?

yeah so when a robot is spawned, it registers itself as an endpoint using with its name. When the USV sends a message to a quad, the message goes to the simulator first, who will run it through the comms model and determine if it should be dropped or not. If the message can be delivered, the simulator sends that message to the quad.

There is no direct communication between the robot containers.

The simulator will be running in a different container than the robot itself, so how would the robot container know where is the simulator container? Is it possible for you to add an example of that? I don't see that there is any robot-bridge docker container available in the package to create communication between the simulator and the robot container.

I got it to work. I think I was missing out on the presence of the new DDS mechanism in the backend in ROS2.


⚠ Bofrost.at has degraded performance

In 6145b52, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1904 ms

Resolved: Bofrost.at performance has improved in dbff960 after 6 minutes.


add "name" to system

a name field in the system would be useful

Considerations:

[ ] Which constructors should support name passing?
[ ] Serialization/Deserialization of the system

Fixed in #945


Made Logout button functional in Settings screen. Fixes #38

Related Issue

Fixes #38 .

Proposed Changes

Created a default logout() method in auth_service.dart
Called that same method in drawer_view.dart
Called that same method in settings_item.dart by creating an object of auth_service.dart

Additional Information

I created a new logout() function because in the signOutGoogle() function, there was no popping but in userSignOut() function there was. And previously, in the drawer_view popping on signOutGoogle() was being done by using .then(). So to make things consistent and proper, I removed the .then() code from signOutGoogle, and popping code from userSignOut(), and created a new function logout() where I called both the signOutGoogle() and userSignOut() functions and added the popping functionality there only and called the logout() function wherever needed.

Checklist

[X] Tested
[X] No Conflicts
[X] Change In Code
[ ] Change In Documentation
[X] Follows linting rules

@SapinderSingh With the .then method, even if the user is not signed it'll navigate him to the login screen before the work. So do this:

[ ] pull the latest code,
[ ] use async-await for logging out
[ ] use .then before navigating
[ ] show indicator on Ttpping the login button(the async await will work in the background, till then show the indicator)


In ui segment dropdown not overflow

In the ui segment somehow does not go beyond the dropdown.
http://i.imgur.com/vWpVCZt.png

Is there a reason why Semantic UI doesn't use something like tether?

Anyone has a solution to this ?


nn.Identity bugfix

Resolve #123

LGTM, but when did we introduce the Identity layer? I thought we had a functional identity also under texar.core, and in decoder we check whether output_layer is the functional identity?

I didn't realize that. But I think the logic is exactly the same here. Maybe both of them are OK for this PR?


[Accordion][Collapsible] styled(Content) seems to break animation

Bug report
Current Behavior
Collapsible or Accordion (maybe others?) receive inline styles of
transition-duration: 0s;
animation-duration: 0s;
animation-fill-mode: none;

when component state is managed externally
Expected behavior
Components receive the same style attributes regardless of where component state is managed
Reproducible example
https://codesandbox.io/s/laughing-meitner-nqu71w?file=/src/App.js
Suggested solution
Components don't get the following inline styles
transition-duration: 0s;
animation-duration: 0s;
animation-fill-mode: none;

Additional context
I don't see anywhere in the docs that this is mentioned so it feels like a bug to me. I'm particularly running into issues when I need to access the state of an Accordion or set the default value when the page loads. But this causes my components to never animate when open or closing.
Your environment

Software
Name(s)
Version

Radix Package(s)
Accordion, Collapsible
0.1.6

React
n/a
17.0.2

Browser
Firefox
102.0

Assistive tech
n/a

Node
n/a
v16.14.0

npm/yarn
yarn
1.22.19

Operating System
MacOS
12.4

Hi @IHIutch,
Thanks for reporting.
I looked into it a bit, this is actually quite weird. I couldn't reproduce it locally on main, so I thought we'd fix the issue recently and you'd just need to upgrade to the latest release candidate. But I tried that in your sandbox and it didn't work still. The only difference I could see was that in our storybook we use stitches core API (css()) and you use styled() so it creates a new element.
It looks like that's what breaks it, but I'm really stumped as to why it does…

Oh! I found what your issue is, you are re-defining the animations/styled component in render!
This bit:
  const open = keyframes({
    from: { height: 0 },
    to: { height: "var(--radix-collapsible-content-height)" }
  });

  const close = keyframes({
    from: { height: "var(--radix-collapsible-content-height)" },
    to: { height: 0 }
  });

  const CollapsibleContent = styled(Collapsible.Content, {
    overflow: "hidden",
    '&[data-state="open"]': {
      animation: `${open} 200ms ease-in-out forwards`
    },
    '&[data-state="closed"]': {
      animation: `${close} 200ms ease-in-out forwards`
    }
  });

needs to be outside of the main component (App), they need to be static at the module level.
I'll close the issue now.
✌

Oohh I see. Thank you very much for your help!

No, those styles are necessary for the animation handling.


README: add Flatcar Container Linux

See change of our landing page readme: https://github.com/kinvolk/Flatcar/commit/8be84189560eb2c7a90f846d3d8fce4291501a25

Thanks!


New path to godoc

Fixed warning:
warning: code.google.com is shutting down; import path code.google.com/p/go.tools/cmd/godoc will stop working
the code.google.com/p/go.tools/cmd/godoc command has moved; use golang.org/x/tools/cmd/godoc instead.

Thanks!


IE Browser Support

Any plans to get this working, atleast partly on IE?

in rails views it not display


Enhancement: not call GetCurrentTime when possible

Note: this merge request will regard expire <= 0 as "not has expire", maybe break the constraint before.
This mr solves issue https://github.com/apache/incubator-kvrocks/pull/709

ASAN:DEADLYSIGNAL
=================================================================
==30388==ERROR: AddressSanitizer: SEGV on unknown address 0x0000000000f0 (pc 0x55c5e3f1823b bp 0x7fb31cbe58b0 sp 0x7fb31cbe5888 T103)
==30388==The signal is caused by a READ memory access.
==30388==Hint: address points to the zero page.

emmm, does this caused by my commits? No idea why this occurs

ASAN:DEADLYSIGNAL
==30388==ERROR: AddressSanitizer: SEGV on unknown address 0x0000000000f0 (pc 0x55c5e3f1823b bp 0x7fb31cbe58b0 sp 0x7fb31cbe5888 T103)
==30388==The signal is caused by a READ memory access.
==30388==Hint: address points to the zero page.

emmm, does this caused by my commits? No idea why this occurs

Yes, this failure isn't related to current PR, will record the stack and rerun CI.

Yes, this failure isn't related to current PR, will record the stack and rerun CI.

It might be some concurrency problems on shutdown, since 0x0000000000f0 is a strange address.

This mr solves issue https://github.com/apache/incubator-kvrocks/pull/709

@mapleFU there is no "issue" #709 .

@mapleFU there is no "issue" #709 .

So sorry for making the mistake, I have update it to https://github.com/apache/incubator-kvrocks/issues/708. PTAL

I think it's from redis: https://redis.io/commands/ttl/ @tisonkun
We can use a enum to represent them

Thanks all, merging...


Increase smartanswers unicorn works 4 => 8

There is a chance that a new smart-answer may attract an increase in traffic.
This PR is prepared in case we need to quickly act and increase capacity by doubling unicorn workers.
trello

this pre-emptive PR was not needed, so closing it


Persistent tabs

From @flakerimi on November 11, 2016 15:21
Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
An option to Enable tabs always. Best way to check is when you go to account page, you have only side menu, and if side menu does not have pages that are tabs, you cant switch back to tabs ever.
What behavior are you expecting?
Tabs should be treated as bottom menu and should stay there always, unless you want them go, I saw a lots of posts that they do .tabbar {display:none} which is not best but it works, si easy to hide but impossible to show them.
Steps to reproduce:

From TabsPage click Account Page
Tabs will disappear and you cant go back to tab page, if no other sidemenu item is tabpage

Other information:
https://forum.ionicframework.com/t/persistent-tabs/43579/4
https://forum.ionicframework.com/t/sidemenu-tabs-together/37738/22
Copied from original issue: driftyco/ionic-conference-app#310

From @flakerimi on November 11, 2016 19:50
I was able to produce desired results by doing this:
Added on tabs.html
<ion-tab [root]="tab5Root"></ion-tab>   <ion-tab [root]="tab6Root"></ion-tab>   <ion-tab [root]="tab7Root"></ion-tab>   <ion-tab [root]="tab8Root"></ion-tab>   <ion-tab [root]="tab9Root"></ion-tab>   <ion-tab [root]="tab10Root"></ion-tab>   <ion-tab [root]="tab11Root"></ion-tab>
Then on scss
.tab-button {display: none;}
.tab-button.has-icon {display: block;}

Then on tabs.ts
  tab5Root: any = DashboardPage;   tab6Root: any = PhonePage;   tab7Root: any = InvitationPage;   tab8Root: any = SettingsPage;   tab9Root: any = TermsPage;   tab10Root: any = SupportPage;   tab11Root: any = PrivacyPage;
And finally on app.component.ts
appPages: Page[] = [     { title: 'Dashboard', component: TabsPage,  index: 4,icon: 'speedometer' },     { title: 'Numrat e telefonit', component: TabsPage, index: 5, icon: 'ios-grid-outline' },     { title: 'Ftesat', component: TabsPage, index: 6, icon: 'paper-plane' },     { title: 'Settings', component: TabsPage, index: 7, icon: 'cog' },     { title: 'Përkrahja', component: TabsPage, index: 8, icon: 'help-buoy' },     { title: 'Kushtet dhe Afatet', component: TabsPage, index: 9, icon: 'paper' },     { title: 'Privaciteti', component: TabsPage, index:10, icon: 'person' },     { title: 'Logout', component: TabsPage, icon: 'log-out', logsOut: true }   ];
IT IS very bad practice since its an app with 11 tabs. Crazy.

Hello everyone! Thanks for the feature request. I'm going to move this issue over to our internal list of feature requests for evaluation. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to driftyco/ionic-feature-requests#149


Amazon Apis sends campaignId as number/integer

I came through a problem where I can see clear disparency in data.
When I send the request from postman the data is different and when I send it from amazon-advertising-api-sdk the data is different.
The reason is amazon ads API send campaignId as a number https://advertising.amazon.com/API/docs/en-us/sponsored-products/2-0/openapi#/Campaigns/listCampaigns and javascript cannot support long numbers so it just rounds offs.
For example, when I hit the API through postman the campaign id is<PHONE_NUMBER>23456789 but when I hit from sdk it becomes<PHONE_NUMBER>23456780.
Any work around this?  @moltar @nguyentoanit

Hey NishealJ, thank you for opening this issue.
We are aware of this problem and have been in a discussion with Amazon Ads API support. We did not arrive at any solutions yet.
The value is documented as a number type, and yes, as you have correctly pointed it out, it is a "bigint", and thereby JS cannot handle it.
But the value is numerical in JSON that comes from the API. So I don't understand how a JSON parser in JS is supposed to handle it?
{
 "campaignId":<PHONE_NUMBER>23456789
}

I think it is actually wrong to use the ID as a number, and should have been a string, but I didn't design the API 😁
Do you have any suggestions?

Correct @moltar, now bigInt campaignIds are more frequent.
So javascript HTTP client will actually try to parse the response and because of bigInt, it won't parse it the right way.
Right now I also don't see any solution but I would try to get a plain text response and then play with it.
By sending campaignId as a 64-bit integer clearly makes ads API unsupported in JS right?

Sending campaignId as a 64-bit integer clearly makes ads API unsupported in JS right?

Yeah, pretty much.

Right now, I also don't see any solution but I would try to get a plain text response and then play with it.

That is what I am thinking.
But there are other caveats though. I have tried using bigint stuff, but then it will stringify internally and can lead to other type issues later in the code.
If JS will coerce it to string, and you send it back down the API pipe, the API may not accept the string version of the ID.
Maybe we could use: https://www.npmjs.com/package/json-bigint

The weirdest part is that Amazon's own UI uses these IDs too, and it is also using browser JSON.parse 🤷🏼 I really don't get it!

@NishealJ Started a PR attempt, but ran into too many errors in the parser and have to shelve it for now. If you feel like picking it up, please do!

We are currently working on the next version of this API where this ID will be modeled as a string. Would that solve this problem?

@AdsAPIPM It certainly would. Thanks for jumping in with the discussion!
Generally, I believe all IDs should be strings.
My sort-a heuristic is like this: will we do calculations with it? If no, then it is a string.
In other words, does it make sense to do ID1 + ID2? In 99% of cases the answer is no. So even if as a developer I decide to use ints or bigints, I'd stringify it, and document it as a "dumb string".

fix: convert number IDs to BigInt #976

Cool, I'll try to pull & help too.

@AdsAPIPM yes that would help a lot


step of "az aks create" failed in Azure Cloud Shell

Versions
azure-cli (2.0.50)
ACC_VERSION=master_20181107.3
az aks create --resource-group myAKSCluster --name bfAKSCluster --node-count 1 --enable-addons monitoring --generate-ssh-keys
400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
Traceback (most recent call last):
File "/opt/az/lib/python3.6/site-packages/knack/cli.py", line 197, in invoke
cmd_result = self.invocation.execute(args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 373, in execute
six.reraise(*sys.exc_info())
File "/opt/az/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 347, in execute
result = cmd(params)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/commands/init.py", line 182, in call
return self.handler(*args, **kwargs)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/init.py", line 440, in default_command_handler
result = op(**command_args)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py", line 1458, in aks_create
location=location, name=name)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py", line 2049, in _ensure_aks_service_principal
service_principal = _build_service_principal(rbac_client, cli_ctx, name, url, client_secret)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py", line 510, in _build_service_principal
start_date=start_date, end_date=end_date)
File "/opt/az/lib/python3.6/site-packages/azure/cli/command_modules/acs/custom.py", line 1175, in create_application
return client.create(app_create_param)
File "/opt/az/lib/python3.6/site-packages/azure/graphrbac/operations/applications_operations.py", line 83, in create
response = self._client.send(request, stream=False, **operation_config)
File "/opt/az/lib/python3.6/site-packages/msrest/service_client.py", line 219, in send
pipeline_response = self.config.pipeline.run(request, **kwargs)
File "/opt/az/lib/python3.6/site-packages/msrest/pipeline/init.py", line 203, in run
return first_node.send(pipeline_request, **kwargs)  # type: ignore
File "/opt/az/lib/python3.6/site-packages/msrest/pipeline/init.py", line 156, in send
response = self.next.send(request, **kwargs)
File "/opt/az/lib/python3.6/site-packages/msrest/pipeline/requests.py", line 65, in send
self._creds.signed_session(session)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/adal_authentication.py", line 25, in signed_session
scheme, token, _ = self._token_retriever()
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 497, in _retrieve_token
return self._get_token_from_cloud_shell(resource)
File "/opt/az/lib/python3.6/site-packages/azure/cli/core/_profile.py", line 337, in _get_token_from_cloud_shell
auth = MSIAuthentication(resource=resource)
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 576, in init
self.set_token()
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 582, in set_token
self.scheme, _, self.token = get_msi_token(self.resource, self.port, self.msi_conf)
File "/opt/az/lib/python3.6/site-packages/msrestazure/azure_active_directory.py", line 485, in get_msi_token
result.raise_for_status()
File "/opt/az/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token

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

ID: 6115d555-45a1-6539-4af6-fbc20a99f008
Version Independent ID: 21f80c83-ba10-9b7e-c54f-51a9c140517c
Content: Quickstart - Azure Kubernetes cluster for Linux
Content Source: articles/aks/kubernetes-walkthrough.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

Thanks for the feedback! We are currently investigating and will update you shortly.

Me too

@BellaLi @brucedkyle I just ran through the doc and was able to create a cluster first try.
micah@Azure:~$ az --version
azure-cli (2.0.50)

micah@Azure:~$ az group create --name MicahAKSCluster2 --location eastus
{
  "id": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX/resourceGroups/MicahAKSCluster2",
  "location": "eastus",
  "managedBy": null,
  "name": "MicahAKSCluster2",
  "properties": {
    "provisioningState": "Succeeded"
  },
  "tags": null
}
micah@Azure:~$ az aks create --resource-group MicahAKSCluster2 --name myAKSCluster --node-count 1 --enable-addons monitoring --generate-ssh-keys
 - Running ..
{
  "aadProfile": null,
  "addonProfiles": {
    "omsagent": {
      "config": {
        "logAnalyticsWorkspaceResourceID": "/subscriptions/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX/resourcegroups/defaultresourcegroup-eus/providers/microsoft.operationalinsights/workspaces/defaultworkspace-XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXX-eus"
      },
      "enabled": true
    }
  },
  "agentPoolProfiles": [
    {
      "count": 1,
      "maxPods": 110,
      "name": "nodepool1",
      "osDiskSizeGb": 30,
      "osType": "Linux",
      "storageProfile": "ManagedDisks",
      "vmSize": "Standard_DS2_v2",
      "vnetSubnetId": null
    }
  ],
  "dnsPrefix": "myAKSClusXXXXXXXXXX-b83c1e",
  "enableRbac": true,
  "fqdn": "myaksclust-micahakscluster2-t-XXXXXXX-XXXX-XXXX-XXXX-X.hcp.eastus.azmk8s.io",
  "id": "/subscriptions/t-XXXXXXX-XXXX-XXXX-XXXX-X/resourcegroups/MicahAKSCluster2/providers/Microsoft.ContainerService/managedClusters/myAKSCluster",
  "kubernetesVersion": "1.9.11",
  "linuxProfile": {
    "adminUsername": "azureuser",
    "ssh": {
      "publicKeys": [
        {
          "keyData": "ssh-rsa t-XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX
        }
      ]
    }
  },
  "location": "eastus",
  "name": "myAKSCluster",
  "networkProfile": {
    "dnsServiceIp": "XX.XX.0.10",
    "dockerBridgeCidr": "XXX.XX.0.1/16",
    "networkPlugin": "kubenet",
    "networkPolicy": null,
    "podCidr": "XX.XXX.0.0/16",
    "serviceCidr": "XX.XX0.0/16"
  },
  "nodeResourceGroup": "MC_MicahAKSCluster2_myAKSCluster_eastus",
  "provisioningState": "Succeeded",
  "resourceGroup": "MicahAKSCluster2",
  "servicePrincipalProfile": {
    "clientId": "XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX",
    "secret": null
  },
  "tags": null,
  "type": "Microsoft.ContainerService/ManagedClusters"
}

Try deleting the Storage account used for your Cloud shell. Then when you go to start cloud shell again it will have you create a new container with all the correct and updated versions. This might resolve the issue.

Sure. Thanks for the investigation!

BTW, I had to add a role to yaml file, otherwise browsing Kubernetes Dashboard will complain "user "system:serviceaccount:kube-system:kubernetes-dashboard" cannot list nodes at the cluster scope".
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: kube-dashboard
rules:

apiGroups: [""]
resources: [""]
verbs: ["*"]

apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: rook-operator
namespace: rook-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: kube-dashboard
subjects:

kind: ServiceAccount
name: kubernetes-dashboard
namespace: kube-system

@BellaLi thanks for the extra information.
Since you were able to deploy the cluster and I have confirmed the doc works I will close this for now.
If anyone is still having issues just let me know.

For the current, default AZ CLI (2.0.60 w/Python 3.6.5) installation, the documented commands fail both standalone or in the Cloud Shell. Some  have deviated their settings from the default with varying levels of success, but the majority of users will use the standard configuration or the Cloud Shell. There are many reports of this issue, so the documentation needs to be changed or annotated as such until a patch is released for this.
This provided command sequence fails as it attempts to create a secret with the error, "The password must contain at least 1 special character"

az group create --name myResourceGroup --location eastus

This provided command sequence fails as it attempts to create a secret with the error, "The password must contain at least 1 special character"

az aks create
--resource-group myResourceGroup
--name myAKSCluster
--node-count 1
--enable-addons monitoring
--generate-ssh-keys

This sequence of commands do work:

az ad sp create-for-rbac --skip-assignment

az aks create
--resource-group myResourceGroup
--name myAKSCluster
--service-principal
--client-secret

For the current, default AZ CLI (2.0.60 w/Python 3.6.5) the documented commands fail standalone or in the Cloud Shell. It seems there needs to be some upfront Service Principal work to occur first. As currently documented, starting from scratch the generate-ssh-keys fails.
This provided command sequence fails as it attempts to create a secret with the error, "The password must contain at least 1 special character"

az group create --name myResourceGroup --location eastus

az aks create
--resource-group myResourceGroup
--name myAKSCluster
--node-count 1
--enable-addons monitoring
--generate-ssh-keys

This sequence of commands works:

az group create --name myResourceGroup --location eastus

az ad sp create-for-rbac --skip-assignment

az aks create
--resource-group myResourceGroup
--name myAKSCluster
--service-principal
--client-secret

@stevekmicrosoft I just responded to your internal email about this - it only impacts internal tenant deployments through CLI. Should be resolved on next CLI release, this was caused by an unannounced breaking change by AAD and work arounds include non-CLI deployments or using existing SPs.

@jluk I've just reported getting this error msg to this issue: https://github.com/Azure/azure-cli/issues/9345.


Added note in conversation control topic regarding width and height of container

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


docker stop, then docker stop puts vMX container to Unhealthy state

Hello @plajjan ,
Thanks for this awesome tool. I explored this with vMX image and built a sample topology. It worked like a charm.
One question that I don't find answer in that,
Can we stop and start the containers, so that I can resume my topology later ?
I did tried stopping the container with docker stop MX1 and tried to start it again with docker start MX1 but my vMX container is not coming back-up. Its going to unhealthy state.
Just wondering if there any known issues or do have any special trick to stop and start the vrnetlab containers so that user can load the lab with previous work he did.
root@nel17-lab1-vagrantserver1:/home/kalmanoharan/vrnetlab/vmx# docker stop MX1
MX1
root@nel17-lab1-vagrantserver1:/home/kalmanoharan/vrnetlab/vmx# docker ps
CONTAINER ID        IMAGE                       COMMAND                  CREATED             STATUS                     PORTS                                                 NAMES
c7192ee3f101        vr-xcon                     "/xcon.py --p2p MX2/…"   2 hours ago         Up 2 hours                                                                       bridge-MX2-4-MX3-4
39108eca38f4        vrnetlab/vr-vmx:17.4R1.16   "/launch.py"             2 hours ago         Up 2 hours (healthy)       22/tcp, 830/tcp, 5000/tcp, 10000-10099/tcp, 161/udp   MX4
23c9cd15839b        vrnetlab/vr-vmx:17.4R1.16   "/launch.py"             2 hours ago         Up 2 hours (healthy)       22/tcp, 830/tcp, 5000/tcp, 10000-10099/tcp, 161/udp   MX3
5c34476960c6        vrnetlab/vr-vmx:17.4R1.16   "/launch.py"             6 hours ago         Up 6 hours (healthy)       22/tcp, 830/tcp, 5000/tcp, 10000-10099/tcp, 161/udp   MX2
2ae7a8b77d56        vrnetlab/vr-vmx:17.4R1.16   "/launch.py"             6 hours ago         Up 3 minutes (unhealthy)   22/tcp, 830/tcp, 5000/tcp, 10000-10099/tcp, 161/udp   MX1```

see https://github.com/plajjan/vrnetlab/issues/220

Ack, Thanks for the update @aaglenn  !!


calling search with an empty string returns an empty array instead of entire collection

exactly as it states. i am using in react so i'm doing something like:
{this.engine.search(this.state.search).map((v,i)=><FAQItem question={v.question} answer={v.answer} key={i} />)}

I can't fix or comment on a bug report without a repro case. If you want me to take a look, link me to a running example (e.g. CodeSandbox or Codepen) that shows the bug happening.

its pretty simple, just call search with an empty string and returns an empty array.

An empty string isn't a valid search token. If you want all documents, just bypass search and use all documents.

lol. couldn't you just return the array in such a case? wouldn't it make logical to do so, especially within the context of fp? I mean most people who are using your library are going to want to do so with the results. the change has no bearing on my codebase as i've already worked around this, just thought you might want to consider changing this behavior as it would be a major buff for using the library. thanks.

That's a good point. I suppose there are people who are wanting an empty array when their input field is empty. at any rate, i think there are likely to be an equal amount of people who want to show everything and only use their input field to narrow down the results. so, perhaps as a compromise there could be a note about passing empty strings to search added to the readme?

I can see both sides of this.
If you want the full data set, it seems slightly preferable to skip search entirely and just use the entire data set. (Then again, the same argument could be made in reverse I suppose.)
Any interest in updating the README? 😄

I suppose i could do that. What should it say though? I'm quite terrible with words haha

Writing docs is exhausting. I don't know. Take a stab at it and I'll make suggestions or tweaks on the PR!

To me the behaviour suggested by @r3wt would be preferred as well.


Error TODO in Repository Explorer for cocoMDS5 (proxy)

WHen using Repository Explorer in the coco pharma environment against cocoMDS5 the following message is shown

cocoMDS5 is a repository proxy to coco pharma's business systems, and therefore afaik does not support enterprise queries.
The error text has a TODO that needs resolving -- in this case the main error text is correct but system detail/user action needs updating
I also noted error text cannot be cut/paste - would be useful for users recording issues.

Was fixed in PR #4150. If you are using 2.5 maybe worth including that PR or cherry picking from it?

Thanks. As not a regression and 2.5 is already running late I'd propose we leave for next release.

Cut and paste seems to be browser specific.
It works in Safari for example:

(I'm not sure why that ECONNREFUSED error is not being handled properly. Thought I'd caught all of them. Will double check and raise a separate issue if necessary.

this error has been corrected. closing


gRPC cpp client : CreateCustomChannel hang forever

What version of gRPC and what language are you using?
Protobuf : version 3.15.6
gRPC : version 1.36.4
Cmake command when compile gRPC : cmake -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCARES_SHARED:BOOL=ON -DgRPC_BUILD_TESTS:BOOL=OFF -DgRPC_CARES_PROVIDER:STRING=package -DgRPC_PROTOBUF_PROVIDER:STRING=package -DgRPC_RE2_PROVIDER:STRING=package -DgRPC_SSL_PROVIDER:STRING=package -DgRPC_ZLIB_PROVIDER:STRING=package -Dprotobuf_WITH_ZLIB:BOOL=ON -DgRPC_ABSL_PROVIDER:STRING=package -DBUILD_SHARED_LIBS:BOOL=ON  -DCMAKE_BUILD_TYPE:STRING=Release ../
What operating system (Linux, Windows,...) and version?
Ubuntu 20 server
What runtime / compiler are you using (e.g. python version or version of gcc)
gcc/g++
What did you expect to see?
`D0402 15:41:15.496300422   31895 ev_posix.cc:173]            Using polling engine: epollex
D0402 15:41:15.496423476   31895 init_unsecure.cc:30]        Using insecure gRPC build. Security handshakers will not be invoked even if secure credentials are used.
D0402 15:41:15.496583361   31895 dns_resolver_ares.cc:491]   Using ares dns resolver
D0402 15:41:15.496624282   31895 lb_policy_registry.cc:42]   registering LB policy factory for "grpclb"
D0402 15:41:15.496631937   31895 lb_policy_registry.cc:42]   registering LB policy factory for "priority_experimental"
D0402 15:41:15.496635137   31895 lb_policy_registry.cc:42]   registering LB policy factory for "weighted_target_experimental"
D0402 15:41:15.496638988   31895 lb_policy_registry.cc:42]   registering LB policy factory for "pick_first"
D0402 15:41:15.496641767   31895 lb_policy_registry.cc:42]   registering LB policy factory for "round_robin"
`
What did you see instead?
`
            std::string pUriStr = "<IP_ADDRESS>:6667" ; // This is Port of gRPC server

           grpc::ChannelArguments args;

           grpc::CreateCustomChannel(pUriStr, grpc::InsecureChannelCredentials(), args); // Code hang forever HERE

`

gRPC server :

Hang at line 162 (grpc_tracer_init();) in init.cc file

@linuxpham Can you manage to get a callstack when it hang and give us a reproduction code?

It's been more than 30 days since "disposition/requires reporter action" was added. Please feel to re-open/create a new issue if the issue persists.


Chorop[keth hillshade errors

Hillshade_errors_18Dec_1104.docx
Hi there! Trying to work with this tool, but with no success... I attached a file with the error.
I'm working on a polygon layer (converted from a raster) with an average data field.
I First tries on a national projection, understood that was wrong and swiched to WGS 1984. still, no luck! What am I doing wrong?

@orenraz007 it appears to be failing with your input polygon when it tries to do the feature to raster conversion. I would click on the error link you are seeing in the tool messages to learn more for ArcMap.  In ArcGIS Pro app here is some of the error info. A quick google search of this error code also led to this potential solution.
There is also a different version (totally different script code) of choropleth hillshading available in this toolset:
https://blogs.esri.com/esri/arcgis/2015/05/21/take-your-terrain-mapping-to-new-heights/

Closing due to inactivity.  Feel free to reopen if necessary.