Beta-testing 'mini.hues'

Please leave your feedback about new mini.hues module here. Feel free to either add new comment or positively upvote existing one.
Some things I am interested to find out (obviously, besides bugs):

Do all supported integrations have proper highlight groups?
Are configuration and function names intuitive enough?
Are default values of settings convenient for you?
Is documentation and examples clear enough?

Thanks!

@echasnovski I have been looking forward to this for a quite some time. Many colour schemes are too colourful for me (when it comes to highlighting). I like it a bit more stripped down, so I will try to recreate my favourite ones. The n_hues option is naturally a big win for me. Thanks for creating another useful plugin! 🙂

Thanks for the feedback!

The n_hues option is naturally a big win for me. Thanks for creating another useful plugin! slightly_smiling_face

Beware that it will only replace non-base colors and not remove them. So it it will be less like a rainbow but still colored (like in a video demo). For anything more involved I'd recommend checking 'mini.colors' (like filtering out colors within certain hue ranges).
This is mostly because I also prefer using more colors for more information. But, of course, not too much. I found that 8 hues were just enough (original attempt with 6 did not allow describe all needed information).

Yes, that's a nice hint. I will play with that for a while. Currently trying to come up with something that looks like nord, but suits my eyes even better.

Two comments I already have:

Is there a simple way to construct a light theme from the colours I am already generating. Maybe an easy reverse() would work. Pretty sure that if I would start reading about colour theory again, I would learn that it's not just that easy.
I wonder how I could make use of this module also outside neovim. Wezterm can execute Lua, or there could be a function that prints out the current generated colour scheme as configuration for a given tool. I like to have the same look in multiple tools I use throughout the day. Any thoughts about this one?

Is there a simple way to construct a light theme from the colours I am already generating. Maybe an easy reverse() would work. Pretty sure that if I would start reading about colour theory again, I would learn that it's not just that easy.

Use light background and dark foreground. If you want particular hue, I'd recommend using Oklch interactive picker.
For Nord palette it seems to be { background = '#ECEFF4', foreground = '#434C5E' }.

I wonder how I could make use of this module also outside neovim. Wezterm can execute Lua, or there could be a function that prints out the current generated colour scheme as configuration for a given tool. I like to have the same look in multiple tools I use throughout the day. Any thoughts about this one?

Yes, there is make_palette(). Give it the config as input, and it will return all colors used (and slightly more). Try this, for example: := require('mini.hues').make_palette({ background = '#11262d', foreground = '#c0c8cc' }). If you want it as text in regular buffer, there is put_text in 'mini.misc'.

Two comments I already have:

Not the plugin author, but I think I can address these:

mini.colors can do that (e.g. chan_invert('lightness', {gamut_clip = 'cusp'}))
I have a colorscheme exporter that has Wezterm support (source code, feel free to repurpose it)

mini.colors can do that (e.g. chan_invert('lightness', {gamut_clip = 'cusp'}))

True, this is also a valid approach. Using manual "light bg, dark fg" colors with saturation = 'high' will usually result into cleaner color scheme. Plus you can adjust lightness of both background and text like this.

This is awesome! randomhue is my main colour scheme now ☺ I notice though that by default the StatusLine highlight looks almost like the Normal. Is it intentional? I would like to suggest using the same background as StatusLineNC, and change the foreground colour instead to something with higher contrast 🙏
I'm also thinking of submitting a PR with values for hl-User1..9, but I would like to know if you agree that changing only the foreground makes sense.
Regardless, this is a great plug-in, and it motivated me to try the other modules in the repo. Thanks so much for it!

Thanks for kind words!

I notice though that by default the StatusLine highlight looks almost like the Normal. Is it intentional? I would like to suggest using the same background as StatusLineNC, and change the foreground colour instead to something with higher contrast

Background of StatusLine is accent with background lightness. By default accent uses background hue, so this appears the same as Normal.
This is intentional. If you want something different, I'd suggest using custom accent or override StatusLine manually (maybe inside ColorScheme event).

I'm also thinking of submitting a PR with values for hl-User1..9, but I would like to know if you agree that changing only the foreground makes sense.

I am not sure the whole hl-User1..9 is a good idea, as it seems to mostly be reserved to be defined by the user (as name suggests). I can't remember seeing recent-ish color scheme defining those.

Background of StatusLine is accent with background lightness. By default accent uses background hue, so this appears the same as Normal

Right, I noticed that. Would it be possible to adjust the accent for randomhue? I already tried setting it up, but it's ignored. I haven't dived into the code that much, so I'm not sure if what I'm asking would be possible. In any case, I already use ColorScheme to adjust some stuff, so I will go that route for now

I am not sure the whole hl-User1..9 is a good idea, as it seems to mostly be reserved to be defined by the user (as name suggests). I can't remember seeing recent-ish color scheme defining those.

This may be weird, but I always wanted schemes to define those, so I could just use them 😅 But fair enough, ColorScheme is the way to go!

Right, I noticed that. Would it be possible to adjust the accent for randomhue? I already tried setting it up, but it's ignored. I haven't dived into the code that much, so I'm not sure if what I'm asking would be possible. In any case, I already use ColorScheme to adjust some stuff, so I will go that route for now

Not for the 'randomhue' per se, but you can create your own randomhue-like color scheme with different background:

Create file 'colors/my_randomhue.lua' in your home config directory ('~/.config/nvim/' if you are on Unix).
Copy lines from original 'randomhue'.
Change saturation option to your liking. Also I'd recommend changing vim.g.colors_name = 'my_randomhue'.
Source it with :colorscheme my_randomhue.


Adde RegEx support for K/V Matching

I feel it is more perfect to support regular

This is a great idea. I'm not actively working on this library day-to-day, but I will slate this for work next time I'm looking at the code.

Moved this to the 1.6 milestone -- I haven't forgotten, I've just been unable to work on this. I'm welcome to any pull requests you might have for this change.


tail bones

i have values put in tail c and tail d, but they aren't showing up in game anymore. is this a bug? they were showing before

https://github.com/Aether-Tools/CustomizePlus/issues/11


Commit messages are not properly formatted.

Gitea version (or commit ref):
commit 144fa5a53746387b1c124c10cd7d70cb5cebc26f
Date:   Wed Oct 7 23:24:41 2020 +0100
Plus https://github.com/go-gitea/gitea/pull/13071. Built from source.

Git version:
git version 2.28.0

Operating system:
"18.04.5 LTS (Bionic Beaver)"

Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[] No

Description
The long lines in the git commit message are broken inappropriately.
Typically, I use the vim auto-wrapping feature to format the message. (type "gqip" in the normal mode)
As you can see in the screenshot, additional line breaks are inserted between the real lines.
Screenshots

Could you push/reproduce on try for others to see?

@mrsdizzie
Yes. https://try.gitea.io/typeless/wrapping/commits/branch/master

I am not sure if there is any way to fix this other than rewrapping the text before displaying it, which would be quite a complex task since you might not want some things wrapped (e.g. lists). An alternative would be to set overflow-x: scroll on the CSS, which would add a scroll bar to the CSS, or maybe just make this section 80ch wide, which should fit the message.

could also follow GitHub's lead and show it below the other things

I think this would fix it.
From 13a36fa6a803ccbe6ec5aac064ebea48a0479665 Mon Sep 17 00:00:00 2001
From: Andrew Thornton<EMAIL_ADDRESS>Date: Sun, 25 Oct 2020 20:08:38 +0000
Subject: [PATCH] Set overflow-x and white-space: pre for commit-body

Fix #13274

Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>---
 web_src/less/_repository.less | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index e84060b06..1db010e88 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -3020,7 +3020,8 @@ tbody.commit-list {
 }

 .commit-body {
-  white-space: pre-wrap;
+  white-space: pre;
+  overflow-x: scroll;
 }

 .git-notes {
--
2.25.1

Horizontally scrolling is pretty annoying, wouldn't it be better if we could show the commit message body below, like GitHub does it? This would certainly fix the issue, but it'd make it pretty annoying to read having to scroll back and forth.

I think Github style would be better and more readable in general -- current view is already pretty cramped and I don't think horizontal scrolling in a tiny area would be good.

@pta2002 @mrsdizzie  Yeah, I think that is the responsibility of the message author to make it right. That seems to be how Git and the third-party tools should handle the commit messages too.  The chances that we are going to be bothered by long lines of commit messages should be slim.
@zeripath Thanks for the patch :) I'll try it out.

Fixed by #21564?


Wrong prediction every time using the person detection model on ESP32-WROVER-IE board

Hi guys,
I am using the ESP32-WROVER-IE board with the ov2640 camera connected to it. I am trying to run the person detection example and see if I can get some output results based on the captured image. Every time I get same result where the higher value is assigned to not_a_person prediction even if I am present on the picture. I also tried with the existing example but there as well the prediction is always negative (I mean it's always like there is nobody on the picture). Is there any possible solution for this issue? Any kind of help is welcome.
P.S. I am using MicroPython!

Did you check if you are feeding correct input?
person detection example expects input to be greyscale 96x96. From ov2640, you most likely are obtaining 240x240x3(rgb) image.

In the meantime, I switched to using the Arduino Nano BLE Sense board as the documentation for it is a bit more clear. Now, I am facing another issue as I am not able to connect my camera (OV2640 module) and capture the image in an appropriate way. I am following this tutorial: [https://community.element14.com/challenges-projects/project14/nano-rama/b/blog/posts/tinyml-on-arduino-nano-33-ble-sense---person-detection-with-ble]. Do you maybe know what can cause a problem in this case? From my experience, all Arduino boards should be very easy to use :/

Agree that your first issue is probably related to image format. You should try building and running the person_detection_test and verify that gives you the correct result. This uses the two images in tensorflow/lite/micro/examples/person_detection/testdata as positive and negative examples. The input images should be 96x96 greyscale images.
In addition, the GetImage(...) function that needs to be provided by your camera/system should return 8-bit \signed// integers. This is an unnatural act for most cameras, so you'll probably need a conversion loop somewhere that takes unsigned 8-bit values, subtracts 128, and stores the result in a signed 8-bit value. If you visualize the person.bmp image in testdata/ you'll see that it has already been converted to signed 8-bit values, and hence "looks funny" when viewed with a normal imaging program that will interpret the data as unsigned values.
Hope this helps.

Yes, I first tried with the test images, and there as well I got different results for the different orders of images in my code. For example, if I test first the image with a person on it and then the opposite one, the result will be fine, but if I switch them the result will be completely different. I also thought that problem could be with the size and non-grayscale format of images, but using MicroPython there are no available libraries that can be run on the board directly and convert these images into the right format/size. Based on the last suggestion that I got from the creator of MICROLITE firmware for MicroPython boards the problem can be with the memory and he suspects I am getting memory corruption because the micropython heap and the camera frame buffer are overlapping. By setting the CONFIG_SPIRAM_USE_MALLOC=y flag the heap and frame buffer will be kept separate. But again without the right library for image conversion (the one that already exists for Arduino boards for example), I will again face the issue as the input will not be correct.


Feature Request: Allow for $searchIndexFieldDefinition refresh via Dashboard

Following up from this thread:
https://www.concrete5.org/community/forums/customizing_c5/seach-index-field-definition-attributes
Attempting to update a custom attribute types indexing methodology took me down a rabbit hole that eventually was resolved by stumbling on the code by pure luck. The solution was to run some one-off code (posted in the above thread) in a tool file to force the index update manually.
My first instinct is to provide a small interface to provide a "refresh" button either per attribute type or globally on the /dashboard/system/attributes/types page. Another possible avenue could be to attempt to refresh this structure when doing the index refresh job.

I think we could provide a method on the attribute type to do this, I add a new method in https://github.com/concrete5/concrete5/pull/5198 which should help. and we can add the method in the type to call that. We don't want to do this on the index job as it can be realllllly expensive to do.


turtlebot3_autorace: 1.2.0-0 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository turtlebot3_autorace to 1.2.0-0:

upstream repository: https://github.com/ROBOTIS-GIT/turtlebot3_autorace.git
release repository: https://github.com/ROBOTIS-GIT-release/turtlebot3_autorace-release.git
distro file: melodic/distribution.yaml
bloom version: 0.7.2
previous version for package: null

turtlebot3_autorace
* modified for gazebo mode
* added node_mission
* added travis for ROS Melodic version
* updated the CHANGELOG and version to release binary packages
* Contributors: Gilbert, Pyo

turtlebot3_autorace_camera
* modified for gazebo mode
* added node_mission
* added travis for ROS Melodic version
* updated the CHANGELOG and version to release binary packages
* Contributors: Gilbert, Pyo

turtlebot3_autorace_control
* modified for gazebo mode
* added node_mission
* added travis for ROS Melodic version
* updated the CHANGELOG and version to release binary packages
* Contributors: Gilbert, Pyo

turtlebot3_autorace_core
* modified for gazebo mode
* added node_mission
* added travis for ROS Melodic version
* updated the CHANGELOG and version to release binary packages
* Contributors: Gilbert, Pyo

turtlebot3_autorace_detect
* modified for gazebo mode
* added node_mission
* added travis for ROS Melodic version
* updated the CHANGELOG and version to release binary packages
* Contributors: Gilbert, Pyo

Holding for sync https://discourse.ros.org/t/preparing-for-melodic-sync-2019-02-06/7766


change title on README

Left reviews and line comments
Created a file and made a commit
Opened a pull request

de


Use async fn over a custom Future Type

💡 Feature description
I would be willing to perform the change to convert from and get rid of the related cruft as a result. But I wanted to make sure that was a contribution this repo was up to receiving before doing it. This appears to be the most up-to-date and maintained GitHub integration for rust.
💻 Basic example
fn foo() -> Future<T> to an async fn foo() -> Result<T>

I'm open to this but since async is sugar for the same thing I'm curious what you believe the net impact would be.
I'll take an example from an existing method.
from
  /// Create a new pull request
    pub fn create(&self, pr: &PullOptions) -> Future<Pull> {
        self.github.post(&self.path(""), json!(pr))
    }

to
  /// Create a new pull request
    pub async fn create(&self, pr: &PullOptions) -> Result<Pull> {
        self.github.post(&self.path(""), json!(pr))
    }

Would you really be gaining much and what would the related cruft amount to?

Sorry! I should have been a bit more clear with my intentions. My motivations are not largely technical. I am mostly thinking about understandability. For those coming from other languages, or at least not familiar with the history Rust's concurrency model, the use of a custom future might be a bit confusing.
In the current documentation, taking your method example above, the documentation says the method returns a Future<Pull>. Clicking that takes you to the  docs for the type alias being used. From there, you can parse the type and click on StdFuture. Those docs, intended mostly for people writing futures, has a one sentence description about using .await.

I've got you. To fill in missing context async can be used with functions that impl the Std libs Future trait. In the case of hubcaps the reqwest crate provides that impl. Since hubcaps meets async/await contract types you can use that syntax today. Here's an example from the repos list of examples
https://github.com/softprops/hubcaps/blob/master/examples/pulls.rs

I've got you. To fill in missing context async can be used with functions that impl the Std libs Future trait. In the case of hubcaps the reqwest crate provides that impl. Since hubcaps meets async/await contract types you can use that syntax today. Here's an example from the repos list of examples
https://github.com/softprops/hubcaps/blob/master/examples/pulls.rs

I am mostly thinking about understandability.

Ye, I've noticed the same. I usually code without type hints from my editor. Reading the documentation about Labels denotes the return type as Future<Label>. I didn't expect it to be wrapped Future<Result<Label>, Error>. Having async functions with the real return type in the signature makes it easier to work with :)
Maybe a better name would have been FutureResult<T>, but at that point you can also just refactor it into async. I'd gladly do the refactor if it gets merged! :)


South Africa: added 27 Dec 2022 public holiday

Alternative for #837 and #839, using special_holidays

Coverage increased (+7.0e-06%) to 99.936% when pulling a3a09ab61b09678d27c76608788e8eb0968af1bf on KJhellico:upd-south-africa into a4dab537ca45fe9ae4132affd92733cb5e233061 on dr-prodigy:beta.

Thank you @KJhellico ! :+1:


linux-firmware licence issue

Hello guys,
I'm using meta-raspberrypi@rocko. Since I need the firmware for the raspberri3b+ I've taken the linux-firmware recipe from the actual master branch.
When I try to bitbake it I get the following error:
 linux-firmware-1_0.0+gitAUTOINC+bf04291309+86e88fbf03+e28cd7ee86-r0 do_populate_lic: Could not copy license file /home/worker/iagocto/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+bf04291309+86e88fbf03+e28cd7ee86-r0/git/LICENCE.cypress to /home/worker/iagocto/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+bf04291309+86e88fbf03+e28cd7ee86-r0/license-destdir/linux-firmware/generic_Firmware-cypress: [Errno 2] No such file or directory: '/home/worker/iagocto/build/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+bf04291309+86e88fbf03+e28cd7ee86-r0/git/LICENCE.cypress'

You need to update your poky/oe-core to the current head of whichever release you're using (sumo or master).  The linux-firmware version you're using (bf04291309 on 2017-10-09) pre-dates the addition of the Cypress license (7f93c9deb4 on 2017-12-06).

The linux-firmware version you're using (bf04291309 on 2017-10-09) pre-dates the addition of the Cypress license (7f93c9deb4 on 2017-12-06).  Rocko's version pre-dates that.  You can try a bbappend to bring SRCREV up to what's in sumo or master, both of which work.
However, I think there was comment elsewhere that 3B+ won't work on rocko, so I suggest updating to sumo.

@ikoes we don't actively work on rocko anymore so the first recommendation would be for you to update to sumo. Otherwise, we count on you in contributing the backports to rocko as needed.

Closing due to no activity. We can re-open it if needed.


Gas optimization: don't check registry on mint

This saves an external contract call and read on mint transactions which are quite common and never filtered by the operator filterer pattern.
This saves gas by preventing an external contract read / lookup during a mint.

Minting usually happens outside of transfer methods, which means that, if implemented according to the examples, minting will not normally invoke registry checks.


A perl 6 language server

It would be really great if Perl 6 had a really good Language Server Protocol language server.
A couple of people have made a start.
scriplit has made a vscode-specific langserver plugin based on the javascript/typescript example in the vscode docs.
And azawawi has started a langserver module, though it's not very fleshed out and hasn't had a commit since October 2018.
I think it would be a really good thing to put time into because it would help improve the Perl 6 development experience for users of many different text editors.
On issue 19 of this repo, "Make sure that all editors play well with Perl 6" there is a list of text editors with their Perl 6 support. A good LSP language server would mean it's a lot easier to add that support for a quite a few of them, and that development work on a single codebase would benefit all of those LSP-based editor plugins.
Brackets currently has no Perl 6 support, but has recently added LSP support. Sublime's isn't great, but it has an LSP plugin. VSCode and Atom and neovim and IntelliJ and Eclipse and Emacs could all benefit.
This is a great thing to have for just about any language. But with the depth and texture of Perl 6, having one officially-driven codebase for powering completion, navigation, hover, symbols, references and linting would be extra valuable.
I'm not sure of the actions from this issue. Probably trying to get some more people working on azawawi's module.
sorry if this isn't the right repo for this, or if i don't know what im talking about

#19 Related.

There was a new attempt to create an LSP for Raku not so long ago: https://github.com/bscan/RakuNavigator. Also I think we've had some constructive discussion about how to progress at https://github.com/Raku/atom-language-perl6/issues/90


Force reboot of CI runner if any stage in pipeline fails

Pipeline hangs of CI job seems to hang future jobs even if we reset the board:
Earlier run:
https://github.com/tenstorrent-metal/tt-metal/actions/runs/8069571134/job/22044884678
Later run:
https://github.com/tenstorrent-metal/tt-metal/actions/runs/8074277340/job/22059324009
We should force reboot a CI machine if any step in the job fails

don't think this is necessary anymore as WH reset has been improved drastically and GS doesn't respond any better after a VM reboot


hidpp10: remove empty callback

write_profile is deprecated and none of the other drivers have an empty
implementation like this.

the ubuntu CI failure is the startup race condition again, can be ignored here


The API  '/serverinfo/statusoverrides' from class ServerInfoResource don't work.

Describe the bug
Class ServerInfoResource provides a HTTP API looks like '/serverinfo/statusoverrides'.
The contents of the ServerInfoResource are as follows
@Path("/serverinfo")
public class ServerInfoResource {
    @GET
    @Path("statusoverrides")
    public Response getOverrides() throws Exception {
         // omit...
    }
}

But when I use PostMan or other API-Tools send HTTP request. always reponse 404
The url is http://localhost:8761/eureka/serverinfo/statusoverrides

Sample
I review the source code. I think the EurekaServerAutoConfiguration inject a Bean by the method that name is 'jerseyFilterRegistration'.
@Bean
public FilterRegistrationBean<?> jerseyFilterRegistration(javax.ws.rs.core.Application eurekaJerseyApp) {
    FilterRegistrationBean<Filter> bean = new FilterRegistrationBean<Filter>();
    bean.setFilter(new ServletContainer(eurekaJerseyApp));
    bean.setOrder(Ordered.LOWEST_PRECEDENCE);
    bean.setUrlPatterns(Collections.singletonList(EurekaConstants.DEFAULT_PREFIX + "/*"));
    return bean;
}

It blocks all HTTP requests beginning with '/eureka'.
But jersey does not have a rule matching ‘/eureka/serverinfo’.  jersey only has a rule match '/serverinfo'.
So I can't request the API that ServerInfoResource provides anyway

Hello @suojinxing, that class is part of the https://github.com/Netflix/eureka project and not Spring Cloud Netflix.


Does the more parts mod work on android?

I wouldn't mind having a great mod like this on my phone

mods are only available in PC and not on mobile, sorry


Nutch crawl script could be able to select the folder with the configuration to use.

Does nutch even take configurations?


How to replace PUBLIC_URL or PUBLIC_URL_PLACEHOLDER in web html?

how to generate web path in index.html? like   , mypath is self defined

Hi @youamanb, I'm not sure I fully understand the question. Could you let me know what your goal is by doing this?

您好，我已收到您的邮件，谢谢！

Hi @nate-wandb ,
I run the wandb-local docker image with version wandb/local:0.50.2, and in the docker container,I found the index.html file under the folder /var/app/frontend, the  "/var/app/frontend/index.html" is generated from "/var/app/orig_frontend/index.html"，and   "PUBLIC_URL_PLACEHOLDER" is in /var/app/orig_frontend/index.html.So I want to replace "PUBLIC_URL_PLACEHOLDER" with my own defined URL prefix such as “wandb-api”，so I hope the generated file "/var/app/frontend/index.html" has content src path like this " "，can we do this？

WandB Internal User commented:
youamanb commented:
Hi @nate-wandb ,
I run the wandb-local docker image with version wandb/local:0.50.2, and in the docker container,I found the index.html file under the folder /var/app/frontend, the  "/var/app/frontend/index.html" is generated from "/var/app/orig_frontend/index.html"，and   "PUBLIC_URL_PLACEHOLDER" is in /var/app/orig_frontend/index.html.So I want to replace "PUBLIC_URL_PLACEHOLDER" with my own defined URL prefix such as “wandb-api”，so I hope the generated file "/var/app/frontend/index.html" has content src path like this " "，can we do this？

Hi @youamanb , you shouldn't need to manually edit these files on your end. Passing the host variable, the FQD of your instance, i.e. https://my.domain.net/ should work. Please set the host and then launch your docker container, you'll see we'll populate the placeholder automatically after parsing it from the host var value. If this doesn't happen in your case, please let us know and we'll investigate this further.
Example cmd:
\docker run --rm -d \
   -e HOST=https://YOUR_DNS_NAME \
   -e LICENSE=XXXXX \

您好，我已收到您的邮件，谢谢！

Hi @youamanb , I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.

Hi @youamanb , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


Merge credentials for kubernetes if credentials already exist.

Fixes https://github.com/Azure/azure-cli/issues/1350
Fixes https://github.com/Azure/azure-cli/issues/1311
@lostintangent

LGTM!

@yugang-msft @derekbekoe  friendly ping on this PR?  Is there anything more required before merging?
Thanks!
--brendan

Ah pylint failed. It should be logger.warning('Failed to merge credentials to kube config file: %s', exc) and similiarly with the other logger message.

@brendandburns and @colemickens: There are 4 PRs that touch the same method acs_get_credentials().
Since this PR is ready to be merged, are you okay to have this PR merged and then rebase the others (https://github.com/Azure/azure-cli/pull/1444/, https://github.com/Azure/azure-cli/pull/1451, https://github.com/Azure/azure-cli/pull/1448).

@derekbekoe If this is still mergeable and Brendan is happy with it, we should merge it. I'm happy to rebase the other two I have open.

A small side-effect of the way these changes went in:
Basically, get-credentials doesn't work as advertised with clusters deployed with the -k8s-masters suffix... since it no longer does the string concat.
Almost surely not worth fixing, though I guess it could try {dns-prefix} and then if that doesn't resolve try {dns-prefix}-k8s-masters.
Mostly just noting for future reference if someone winds up confused, maybe this will help.

Actually, I guess now I can be using the resource name anyway, making that a mostly moot point...


feat: add Dylan Hitt

I support opentf's decision
Thank you

Added in https://github.com/opentffoundation/manifesto/pull/203


Added dataValidation Support

OK, after several hours. i think i got this working pretty well. the getter/setter is working, let me know if there are any improvements you want :P

At first glance this looks really good. Obviously we'll need some test coverage, but let me pull this down locally and do a more thorough review.

awesome :D that makes me super happy to hear haha

OK. I reviewed this in-depth. From an architecture perspective it's spot on. I would've designed the methods in the exact same way. It also passes all of the tests including the E2E ones that make sure you aren't breaking existing workbooks. Well done!
There are a number of updates we'd need to make to get this ready for merging and publishing:

All three methods could use some cleanup of the JSDoc. It's used to generate the API documentation in the README so it's important that it is clear and well-written. We should also add a table for the DataValidation object in the README like Style to show the user what all of the various properties and values are. And the setter for Sheet.dataValidation should be @ignore'd as well.
Are there any shortcut overloads we should add? Like using an array of strings will set the validation to a pick list?
It should be clear from the Range.dataValidation documentation that this gets/sets the data validation for the entire range and not just a collection of all of the cell data validations (like value).
There are a few ESLint errors in Sheet.dataValidation. You can run gulp lint to see them or configure your IDE (if applicable) to show them.
We need to make sure we're considering all options for data validation. In a quick test I see we are missing errorTitle, prompt, promptTitle, and formula2. A suggestion to future-proof would be to just make a copy of the obj variable to set as the attributes but remove formula1 and formula2. Right now calling cell.dataValidation(cell.dataValidation()) will result in data loss for many cases.
The getters return the boolean values like allowBlank as a 1 or 0 as that is how the XML is encoded. I'd much prefer an actual boolean to make the API more natural. We could just convert between 1/0 and true/false in the getter/setters like we do for Styles.
In the same vein, it might be nice to make the formula1 and formula2 named in a more useful way depending on the type. So if type is 'whole' you would use the properties minimum and maximum instead to make it more friendly and match the Excel UI. I did a lot of this in Style.js.
We'll need full unit test coverage for these new methods. There are loads of examples. You can run gulp to run the tests and watch for changes.
We should probably add some basic E2E generation test coverage to make sure we're creating these correctly. These E2E test do require a Windows computer with Excel and .NET though.

Ok I will attempt to do some of those things haha, don't even know what half of that is.. like I said, super new to the whole node programming thing, and super super new to programming with other people's code styles and documentation style xD didn't even know you could generate the documentation automatically haha.

seems my IDE decided to space stuff on that one... huh weird...

Sorry for the delay; things have been hectic at work lately. The updates all look great! I have just 3 more requests before I merge, if you don't mind.

There are 12 ESLint errors in Sheet.js. If you run "gulp lint" you'll see them.
Could we add a table of documentation for the DataValidation object so folks know what values to expect? Just add another section after Style Reference at the bottom of docs/template.md.
Add yourself as a contributor in package.json. :)

Thanks!

Also, we need to add unit test coverage for all of these methods before we can released.

I fixed all the ESLint errors, but it also complained about me returning true or false when getting a DataValidation object, so I removed them to fix the errors, but I know you talked about having it not return 0 or 1 but return true or false
not sure if you still want that to be the case, as far as the README do I just add the block in the table of contents and then the corresponding block below ? or do you want me to add all of the docs?

Just noticed you said the bottom of the docs.... Want me to move them?
I also did a little of an addition for a shortcut as well. I looked at the test folder.. and I'm not sure how I would go about adding in a test for dataValidation.. any explanation on how to go about doing that?

Hope all is going well with work XD haha let me know when you get time if the changes are good, if not I'll do my best to fix them

Cool! The list shortcut looks great! And the ESLint fixes look good.
The only thing missing is tests. If you look in the test/unit folder you'll see a .spec.js file for each file in lib. These are Jasmine unit test scripts. You'll need to create a describe block for each method you added and then add at least one it block to assert that the behavior is correct. You can see the pattern from the other tests. If you run gulp from a command line the tests will be continuously rerun why you modify them and the source code.

Alright awesome, i'll look into that tonight hopefully.

is there a way to say...
expect(cell.dataValidation()).toBeObject();

Nope, but you can use toEqualJson to compare to an expected object structure. See this line for example.

Oh, well that will do what I wanted :D
On Aug 29, 2017 5:03 PM, "Dave T. Johnson"<EMAIL_ADDRESS>wrote:

Nope, but you can use toEqualJson to compare to an expected object
structure. See this line
https://github.com/dtjohnson/xlsx-populate/blob/15c6fcf19d23d909338c8968960b30793eb08766/test/unit/Cell.spec.js#L337
for example.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dtjohnson/xlsx-populate/pull/69#issuecomment-325838660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF7q0aamgoVVEW6xfVlSborirgGVYWfVks5sdKbEgaJpZM4Ob5nN
.

how does that test look ? (its not in the right area.. its at the beginning of the file, i was going to put it after the hyper-link tests to keep with the spec, and it also does not do verification of the json yet)

ok... so I'm only having one issue.. and I'm not sure why, but I feel like its due to the tests.
        let cell = workbook.sheet('Sheet1').cell('A1');
        console.log('false: ', cell.dataValidation());
        cell.dataValidation('test1, test2, test3');
        console.log('Json: ', cell.dataValidation());
        console.log('true : ', cell.dataValidation(false));
        console.log('false: ', cell.dataValidation());

but if i do that with the tests..
it('should return false', () => {
            expect(cell.dataValidation()).toBe(false);
        })

it('should return the cell', () => {
            expect(cell.dataValidation({ type: 'list',
                allowBlank: false,
                showInputMessage: false,
                prompt: '',
                promptTitle: '',
                showErrorMessage: false,
                error: '',
                errorTitle: '',
                operator: '',
                formula1: 'test1, test2, test3',
                formula2: ''
            })).toBe(cell);
        })

it('should return JSON object', () => {
            expect(cell.dataValidation()).toEqualJson({ type: 'list',
                allowBlank: false,
                showInputMessage: false,
                prompt: '',
                promptTitle: '',
                showErrorMessage: false,
                error: '',
                errorTitle: '',
                operator: '',
                formula1: 'test1, test2, test3',
                formula2: ''
            });
        })

 it('should return true', () => {
            expect(cell.dataValidation(false)).toBe(true);
        })

 it('should return true', () => {
            expect(cell.dataValidation(false)).toBe(false);
        })

i get this from the normal test that i ran first.
false:  false

Json:  {
  type: 'list',
  allowBlank: false,
  showInputMessage: false,
  prompt: '',
  promptTitle: '',
  showErrorMessage: false,
  error: '',
  errorTitle: '',
  operator: '',
  formula1: 'test1, test2, test3',
  formula2: ''
}

true :  true

false:  false

but the unit tests..

Failures:
1) Cell dataValidation should return false
  Message:
    Expected undefined to be false.
  Stack:
    Error: Expected undefined to be false.
        at UserContext.it (/code/Node/xlsx-populate/test/unit/Cell.spec.js:203:43)
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
        at processImmediate [as _immediateCallback] (timers.js:617:5)

2) Cell dataValidation should return JSON object
  Message:
    SyntaxError: Unexpected token u in JSON at position 0
  Stack:
    SyntaxError: Unexpected token u in JSON at position 0
        at Object.parse (native)
        at compare (/code/Node/xlsx-populate/test/helpers/toEqualJson.js:11:35)
        at UserContext.it (/code/Node/xlsx-populate/test/unit/Cell.spec.js:211:43)
        at ontimeout (timers.js:386:14)
        at tryOnTimeout (timers.js:250:5)
        at Timer.listOnTimeout (timers.js:214:5)

3) Cell dataValidation should return true
  Message:
    Expected undefined to be true.
  Stack:
    Error: Expected undefined to be true.
        at UserContext.it (/code/Node/xlsx-populate/test/unit/Cell.spec.js:227:48)
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
        at processImmediate [as _immediateCallback] (timers.js:617:5)

4) Cell dataValidation should return JSON object
  Message:
    SyntaxError: Unexpected token u in JSON at position 0
  Stack:
    SyntaxError: Unexpected token u in JSON at position 0
        at Object.parse (native)
        at compare (/code/Node/xlsx-populate/test/helpers/toEqualJson.js:11:35)
        at UserContext.it (/code/Node/xlsx-populate/test/unit/Cell.spec.js:246:43)
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
        at processImmediate [as _immediateCallback] (timers.js:617:5)

5) Cell dataValidation should return true
  Message:
    Expected undefined to be true.
  Stack:
    Error: Expected undefined to be true.
        at UserContext.it (/code/Node/xlsx-populate/test/unit/Cell.spec.js:261:48)
        at runCallback (timers.js:672:20)
        at tryOnImmediate (timers.js:645:5)
        at processImmediate [as _immediateCallback] (timers.js:617:5)

@dtjohnson  any support on the tests ? or should i just simplify the tests it does ? i was hoping to have it test all the features though.

Hey @alandoyle95, the Range and Cell setter tests look good! You'll notice that the Sheet class gets mocked with a Jasmine spy in the test setup. This is because the unit tests are just testing the individual classes. So your Cell tests should just test behavior in Cell, not Sheet. All you want to test in Cell is that it is making the correct calls to Sheet and returning the correct values.
You should also add a quick test to make sure the Call/Range dataValidation getters work well too. You should have the mock Sheet.dataValidation return some dummy value (like this) and then expect that if you call your getter it will return that value (like this).
You'll also need to add tests on the Sheet.dataValidation, toXmls, and _inits methods. For the getter in your dataValidation method, you'll need to simply manually set the data in your _dataValidations property and then write expectations against the method call. For the setters, you call the method first and then write expectations against the value stored in _dataValidations. See the hyperlinks tests for an example. You should see similar code you can follow for the _init and toXmls.

ahh so its not really "using" the code and setting up a fake xlsx file.. so
you have to tell it what you are going to return.. thats why the getters
where not working, ok that makes a lot more sense now.
On Mon, Sep 4, 2017 at 4:35 AM, Dave T. Johnson<EMAIL_ADDRESS>wrote:

Hey @alandoyle95 https://github.com/alandoyle95, the Range and Cell
setter tests look good! You'll notice that the Sheet class gets mocked with
a Jasmine spy in the test setup. This is because the unit tests are just
testing the individual classes. So your Cell tests should just test
behavior in Cell, not Sheet. All you want to test in Cell is that it is
making the correct calls to Sheet and returning the correct values.
You should also add a quick test to make sure the Call/Range
dataValidation getters work well too. You should have the mock
Sheet.dataValidation return some dummy value (like this
https://github.com/dtjohnson/xlsx-populate/blob/15c6fcf19d23d909338c8968960b30793eb08766/test/unit/Cell.spec.js#L36)
and then expect that if you call your getter it will return that value
(like this
https://github.com/dtjohnson/xlsx-populate/blob/15c6fcf19d23d909338c8968960b30793eb08766/test/unit/Cell.spec.js#L191
).
You'll also need to add tests on the Sheet.dataValidation, toXmls, and
_inits methods. For the getter in your dataValidation method, you'll need
to simply manually set the data in your _dataValidations property and then
write expectations against the method call. For the setters, you call the
method first and then write expectations against the value stored in
_dataValidations. See the hyperlinks tests
https://github.com/dtjohnson/xlsx-populate/blob/15c6fcf19d23d909338c8968960b30793eb08766/test/unit/Sheet.spec.js#L624
for an example. You should see similar code you can follow for the _init
and toXmls.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dtjohnson/xlsx-populate/pull/69#issuecomment-326940603,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF7q0aReWAUNPHiDxeM3n5H__tvzsKPYks5se-CRgaJpZM4Ob5nN
.

Exactly. The point of unit tests is to test the behavior of small pieces of
code in isolation. So we replace other classes and functions with
mocks/spies with predefined behavior so we can verify that the code of
interest is behaving correctly.
There are also end-to-end tests in the tests folder that test the full
behavior with real workbooks. Those are slow so they are not run all the
time like the unit tests.
On Sep 4, 2017 6:15 PM, "Alan"<EMAIL_ADDRESS>wrote:

ahh so its not really "using" the code and setting up a fake xlsx file.. so
you have to tell it what you are going to return.. thats why the getters
where not working, ok that makes a lot more sense now.
On Mon, Sep 4, 2017 at 4:35 AM, Dave T. Johnson<EMAIL_ADDRESS>wrote:

Hey @alandoyle95 https://github.com/alandoyle95, the Range and Cell
setter tests look good! You'll notice that the Sheet class gets mocked
with
a Jasmine spy in the test setup. This is because the unit tests are just
testing the individual classes. So your Cell tests should just test
behavior in Cell, not Sheet. All you want to test in Cell is that it is
making the correct calls to Sheet and returning the correct values.
You should also add a quick test to make sure the Call/Range
dataValidation getters work well too. You should have the mock
Sheet.dataValidation return some dummy value (like this
<https://github.com/dtjohnson/xlsx-populate/blob/
15c6fcf19d23d909338c8968960b30793eb08766/test/unit/Cell.spec.js#L36>)
and then expect that if you call your getter it will return that value
(like this
<https://github.com/dtjohnson/xlsx-populate/blob/
15c6fcf19d23d909338c8968960b30793eb08766/test/unit/Cell.spec.js#L191>
).
You'll also need to add tests on the Sheet.dataValidation, toXmls, and
_inits methods. For the getter in your dataValidation method, you'll need
to simply manually set the data in your _dataValidations property and
then
write expectations against the method call. For the setters, you call the
method first and then write expectations against the value stored in
_dataValidations. See the hyperlinks tests
<https://github.com/dtjohnson/xlsx-populate/blob/
15c6fcf19d23d909338c8968960b30793eb08766/test/unit/Sheet.spec.js#L624>
for an example. You should see similar code you can follow for the _init
and toXmls.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/dtjohnson/xlsx-populate/pull/69#
issuecomment-326940603>,
or mute the thread
<https://github.com/notifications/unsubscribe-
auth/AF7q0aReWAUNPHiDxeM3n5H__tvzsKPYks5se-CRgaJpZM4Ob5nN>
.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dtjohnson/xlsx-populate/pull/69#issuecomment-327033919,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANWk1bPjyg6_yQOPPYOmlEKVVzCytj4ks5sfHZqgaJpZM4Ob5nN
.

OK! i think i got everything in there and it all passes :) so should be good to go, let me know if there is anything else!

Fantastic! Merged. I did a little tweaking of the docs. Also, you put the docs in the README.md instead of the docs/template.md file. The README is autogened by gulp to build the ToC and the API reference. I moved it to the right place.
I just published v1.11.0 with your change. Many thanks!

Ahh, I'll note that for when I do another feature xD well. If I do haha I
do need image support so I'm going to start to look I to that xD but I'm
not sure of the stored jszip  will allow overrides and it will not care
about a new image size if I just swap and image
On Sep 6, 2017 6:29 PM, "Dave T. Johnson"<EMAIL_ADDRESS>wrote:

Fantastic! Merged. I did a little tweaking of the docs. Also, you put the
docs in the README.md instead of the docs/template.md file. The README is
autogened by gulp to build the ToC and the API reference. I moved it to the
right place.
I just published v1.11.0 with your change. Many thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dtjohnson/xlsx-populate/pull/69#issuecomment-327656609,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF7q0YK3OgwnLx9mQGeU_qE0gZB5yN6uks5sf0btgaJpZM4Ob5nN
.


API for listing Vendors

Fixes Issue #185

@vasundhara-digitalairtech could you also add request specs for this endpoint?

@damianlegawiec  I have added request specs in readme for this endpoint.

@damianlegawiec  I have added request specs in readme for this endpoint.

I mean automatic request specs. We cannot merge new features without tests.
https://relishapp.com/rspec/rspec-rails/docs/request-specs/request-spec

errors with specs fixed


External dependencies upgrade - Spring Boot 3.1.3 and Spring Cloud 2022.0.4

Description
Updates external dependencies to align with Spring Boot version 3.1.3 from 3.1.2 and Spring Cloud version 2022.0.4.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-core

/azp run java - spring - tests

/azp run java - keyvault - tests

/azp run java - cosmos - tests


If less than half of string, subtract difference in letters

https://github.com/schollz/goagrep/commit/37bffd135ebb0de78d436c4481d5334a986587f4


Added code for implementation of Stacks

Hi Ayush! I have added code for implementation of Stacks in C++ from scratch. Hope you'd like it

Hey @Anmol-Prasad
I appreciate this but I'd request you to read CONTRIBUTING.md once
I have mentioned that:

Only add solutions to the questions which are on any coding platform, with the link to that question.
No need to add driver-code for the problem or the main() function.
File should contain the solution code as well as the link to that question (as comment in the code).
The name of the file should follow snake_case convention.
Create file under appropriate folder (topic).

Ok sure I'll add my solutions for some good problems I practised on CodeChef

Okay, please add the link to that question (as a comment) and only include solution (not entire driver code and main() function)

Yes sure, I have uploaded the code once again in exactly the way you asked
for in CONTRIBUTING.md. You may check it once
Thanks


Bluetooth connection status

Is your feature request related to a problem? Please describe:
No way to make an automation to auto unlock based on when phone connects via bluetooth to the lock.
Describe the solution you'd like:
A way to see if a phone is connected to the lock via bluetooth. A characteristic with bluetooth status info with the value of the bluetooth mac adress from the phone

Hi,
Sorry, I’m not sure exactly what you’re asking for here? The phones only connect to the lock as they are preparing to operate the lock, not in the background.  Are you looking for an event on the API to notify when a phone is connected, or am event in the app that can be used to trigger an automation on the device?
The lock is broadcasting a BLE advertisment, that you may be able to use in your projects to know when it is nearby. However we do not have any documentation for customers to work directly with the lock, so I wouldn't be able to help you with interpreting that data.
Andy

Hi!
Ok so the phone only connects via bluetooth the second I unlock the door for example?
I'm looking for a way to auto-unlock based on bluetooth proximity.

Hi!
Ok so the phone only connects via bluetooth the second I unlock the door for example?
I'm looking for a way to auto-unlock based on bluetooth proximity.

Correct, the lock tries to spend as little time connected as it can, because it's quite rough on the batteries. If you're comfortable writing your own code, the lock does send out a BLE packet that you can listen for.
If all you want to know if when the lock is close, it's probably easier to just use a Geofence on your device to know when you get home. Remember to keep it really small, though, you don't want to accidentally unlock your door when you don't expect it.

Ok, I understand. I’m not very good at coding but I managed to change the ”lock target state” via an Invoke-RestMethod command from powershell to the Homebridge accessory (this plugin). Is it possible to get the BLE packet data with this method as well?
My plan is to start looking for the BLE data when I’m coming home (geo fence) to get a more accurate result.

Its not - it would be quite a lot more complicated. If you're using HomeBridge you should be able to do what you need though iOS automations anyway -> When you enter a Geofence, unlock the door.

I don’t think it’s good enough to just depend on geofence. What type of approach should I use to accomplish this,  what script language and integration do I need?


How to hide keyboard when scrolling tableview?

I tried in scrollViewWillBeginDragging method and keyboard hiding, but keyboard after it doesn't work (keys are not pressed).

(void)scrollViewWillBeginDragging:(UIScrollView *)scrollView
{
[self.view hideKeyboard];
}

Try [self.view endEditing:YES];


404 Client Error: Not Found

Home Assistant release with the issue:

0.76.0
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Component/platform:

When i try to upgrade from 0.76.0 -> 0.76.2 i get this. "No such image"
18-08-22 20:30:08 INFO (SyncWorker_0) [hassio.docker.interface] Update docker 0.76.0 with homeassistant/raspberrypi3-homeassistant:0.76.2
18-08-22 20:30:08 INFO (SyncWorker_0) [hassio.docker.interface] Pull image homeassistant/raspberrypi3-homeassistant tag 0.76.2.
18-08-22 20:30:10 INFO (MainThread) [hassio.api.security] /supervisor/logs access from core_ssh
18-08-22 20:30:14 ERROR (SyncWorker_0) [hassio.docker.interface] Can't install homeassistant/raspberrypi3-homeassistant:0.76.2 -> 404 Client Error: Not Found ("no such image: homeassistant/raspberrypi3-homeassistant:0.76.2: No such image: homeassistant/raspberrypi3-homeassistant:0.76.2").

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

Did you happen to see this yet?
https://community.home-assistant.io/t/hass-io-wont-update-to-0-52-1-error-404/25915/8
It worked for me.  Cheers!

Iam running hassio. Have enabled ssh.
But when i ssh in to HA the disk look like this
How do i ssh into the main system to run "sudo nano /etc/dphys-swapfile" ??
i have tried ssh "ssh<EMAIL_ADDRESS>-p 2222" but than i get "Permission denied (publickey)"
core-ssh:~# df -h
Filesystem                Size      Used Available Use% Mounted on
none                     13.4G      1.8G     10.8G  14% /
tmpfs                   486.1M         0    486.1M   0% /dev
tmpfs                   486.1M         0    486.1M   0% /sys/fs/cgroup
/dev/mmcblk0p2          294.1M    225.8M     48.7M  82% /dev/init
/dev/mmcblk0p6           13.4G      1.8G     10.8G  14% /addons
/dev/mmcblk0p6           13.4G      1.8G     10.8G  14% /backup
/dev/mmcblk0p6           13.4G      1.8G     10.8G  14% /share
/dev/mmcblk0p6           13.4G      1.8G     10.8G  14% /data
/dev/mmcblk0p6           13.4G      1.8G     10.8G  14% /config
/dev/mmcblk0p6           13.4G      1.8G     10.8G  14% /ssl
/dev/mmcblk0p6           13.4G      1.8G     10.8G  14% /etc/resolv.conf
/dev/mmcblk0p6           13.4G      1.8G     10.8G  14% /etc/hostname
/dev/mmcblk0p6           13.4G      1.8G     10.8G  14% /etc/hosts
shm                      64.0M         0     64.0M   0% /dev/shm
tmpfs                   486.1M         0    486.1M   0% /proc/timer_list
tmpfs                   486.1M         0    486.1M   0% /proc/timer_stats
tmpfs                   486.1M         0    486.1M   0% /proc/sched_debug
tmpfs                   486.1M         0    486.1M   0% /sys/firmware

Sorry, I'm not much help as I used the generic installer (script) on an existing Debian installation on my Raspberry Pi 3, so I already had SSH access to the host.  However, I believe you'd need to follow the instructions here for hass.io:
https://developers.home-assistant.io/docs/en/hassio_debugging.html

/move to home-assistant/hassio


DCOS-37791: Connect to MesosStream on all pages

On a bigger clusters fetching state can take a while. With this fix we connect to the stream as soon as we can so that when a user opens a page that requires the data it's already there (or half way there at least)
Testing
Remember that the UI doesn't connect to the stream on the Dashboard - now it will. Please keep in mind that even in the current version once we connect to the stream we never unsubscribe.
Checklist

[x] Did you add a JIRA issue in a commit message or as part of the branch name?
[ ] Did you add new unit tests?
[ ] Did you add new integration tests?
[ ] If this is a regression, did you write a test to catch this in the future?

Closes DCOS-37791

Legit Integration test failure

Hey, @Fabs I addressed the commen!


Let contracts not abuse the event system

There are no explicit restrictions in wasmd right now for contracts to emit events. We should make sure that this is not abused by malicious actors.
We could charge SDK gas per byte after the contract execution as suggested by @webmaster128.

We could charge SDK gas per byte after the contract execution as suggested by @webmaster128.

The reason behind this is: the contract does not call any function for sending events (there is no such thing as "emit"). It returns them as part of the execution result. So the first point at which we know the events/attributes is after the VM is done. So we need to charge SDK gas for processing and persisting the result.
Do we have the exact same issue for the result data?

I think we have the same problem with contract generated error messages and VM generated error messages including user data as well.

I think a hard cap would be too arbitrary and hit some limits we do not want.
I think charging "per byte" or each event attribute would be break expectations of other modules.
I would propose a "soft cap" of some reasonable limit based on other modules usage (say 1 event, 5 attributes, 60 chars each). And then charge some small fee for everything that goes over it.

I guess the same would apply to user-returned errors. If the string length is less than say 500, it is free.
Otherwise charge 0.5 gas for every byte over (or something like that)


[FIX][PyCryptoBot.py] Invoke api.marketSell on SELL order

There is a copy-error, invoking api.marketBuy on the marketSell.
This triggers the "raise ValueError('Trade amount is too small (>= 10).')" and the bot stops.

Thanks very much


add OpenTelemetry support for Observability

Is your feature request related to a problem? Please describe.
Add standard tool for observability tool to support diffent backends.
Describe the solution you'd like
OpenTelemetry provides a single set of APIs to capture distributed traces and metrics from the application.
You can export those traces and metrics to a collector and be agnostic of different backends like Prometheus, Jaeger, and other observability tools.
The start point would be to instrument the HTTP server and then propagate that instrumentation to the HTTP hooks.
Describe alternatives you've considered
Opencensus is in a more stable version and is compatible with OpenTelemetry.
Can you provide help with implementing this feature?
I can prepare a PR
Additional context
I think that instead of giving support to multiple observability backends, project like this, should use solutions like OpenTelemetry.

tusd currently exposes metrics in the Prometheus format as explained in https://github.com/tus/tusd/blob/master/docs/monitoring.md. What would the benefit of OpenTelemetry or OpenCensus be? In my experience a lot of tools understand the Prometheus format.

Yes, you are right, but with OpenTelemetry you can export metrics to different backends, not just to Prometheus.
Te biggest advantage is that OpenTelemetry also supports traces (and logs in the future). I would like to create and propagate traces through tusd server and hooks. This way, I will have more visibility of my entire workflow.
In other words, it will give a more powerful observability tool.

Yes, you are right, but with OpenTelemetry you can export metrics to different backends, not just to Prometheus.

If I understand correctly, OpenTelemetry is also able to pull in data using the Prometheus format, isn't it? At least that's how I understand https://github.com/open-telemetry/opentelemetry-collector.
Another point is that OpenTelemetry is not stable, right? According to https://github.com/open-telemetry/opentelemetry-specification/blob/master/milestones.md it is still going to take a few months and I would like to avoid have to adapt to the changes in half a year again.

If I understand correctly, OpenTelemetry is also able to pull in data using the Prometheus format, isn't it? At least that's how I understand https://github.com/open-telemetry/opentelemetry-collector.

Opentelemetry-collector is the service that would receive metrics/traces from different aplications. You can export metrics to Prometheus directly or export to a opentelemetry-collector and from there to Prometheus. My proposar is:

Instrument tusd server with ochttp server plugin.
Add ocagent exporter to send metrics/traces to opencensus-service or opentelemetry-collector
Instrument hooks with ochttp client

Another point is that OpenTelemetry is not stable, right? According to https://github.com/open-telemetry/opentelemetry-specification/blob/master/milestones.md it is still going to take a few months and I would like to avoid have to adapt to the changes in half a year again.

OpenTelemetry is the merger of OpenTracing and Opencensus. Now it's still in development and it's risky to use it in production, but you can use opencensus and in the future, upgrade it to opentelemetry.
Opencensus is compatible with opentelemetry. You can use applications instrumented with opencensus along with the opentelemetry-collector.

To me this sounds like quite an undertaking when the primary mentioned metric target is still prometheus, and most other frameworks have prometheus-compatible aggregators available. Adding to this that I'd never heard of OT or OC (could totally be my fault!), and that they're currently undergoing some organizational shift, it's not so very attractive to me to build/maintain this?

Adding to this that I'd never heard of OT or OC (could totally be my fault!)

OpenTelemetry is a Cloud Native Computing Foundation sandbox project

Ah thanks, that helps a lot! I think for a project like tusd, i makes sense for it to leave the sandbox stage and then we can reconsider, what do you think?

Ah thanks, that helps a lot! I think for a project like tusd, i makes sense for it to leave the sandbox stage and then we can reconsider, what do you think?

I agree.
I think that could be interesting to add some observability tools like opentelemetry to ### tusd in the future. Thanks for considering it.

Thanks for bringing this up, @inigohu, but I agree with @kvz that its not beneficial for tusd to pull in OpenCensus just to change it to OpenTelemetry after a few months. That being said, I am always open to add more metrics and instrumentation to tusd, preferably with the current setup.


✨ Add cert-manager as a dependency to helm-chart

What this PR does / why we need it:
To work properly CAPI Operator needs cert-manager. To ensure it is installed, we add a cert-manager dependency to the helm chart.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Partially-Fixes: https://github.com/kubernetes-sigs/cluster-api-operator/issues/130

Blocked by https://github.com/kubernetes-sigs/cluster-api-operator/pull/145

How does this behave when the cluster already has cert manager installed in a different way and not through Helm?
How does this behave when the cluster already has cert manager installed via Helm but that's a different version from the one linked here as a dependency?

Yeah, I think this change just over-complicates the helm chart. Moreover, they don't support installing CRDs and some manual actions are required anyway.
I'm going to close this PR.

Seems working now. I tried it with helm install cluster-api-operator out/package/cluster-api-operator-0.3.0.tgz --set cert-manager.enabled=true --create-namespace -n capi-operator-system --set cert-manager.namespace=cert-manage
Everything is installed successfully in related namespaces.

@Fedosin is there an option to disable cert-manager installation?

/lgtm
thanks a lot for doing this!

@alexander-demicev Helm installation is disabled by default: https://github.com/kubernetes-sigs/cluster-api-operator/pull/144/files#diff-eb3428ea28fccc0ad2deffddc87823203d05dc4a3b5e9d73f3f093ecc40f5a53R3
You need to explicitly set cert-manager.enabled=true to install it. I provided an example of helm command that does it: https://github.com/kubernetes-sigs/cluster-api-operator/pull/144#issuecomment-1605185676

I'm okay with merging this if others have no objections @damdo @furkatgofurov7 we should also update docs in a follow-up PR

We can also download cert-manager chart during make release instead of keeping it in repo

@alexander-demicev yeah, it makes sense. I also did it for cert-manager-v1.12.2.tgz binary, so we won't store it in our repo.


Improve the module doc parser - subcategories/empty defaults

Fixes #10706
@hamishwillee this adds support for empty defaults and subcategories (we currently have module docs only for one distance driver). The subcategories need to be added to the TOC of the dev-guide as well.

This breaks the build on px4_fmu targets with my Ubuntu16.04LTS build machine withtoolcahin installed using latest scripts.
In file included from ../../src/platforms/px4_module.h:44:0,
from ../../src/platforms/common/module.cpp:39:
../../src/platforms/px4_atomic.h: In instantiation of 'class px4::atomic':
../../src/platforms/px4_module.h:421:42:   required from here
../../src/platforms/px4_atomic.h:72:2: error: non-constant condition for static assertion
static_assert(__atomic_always_lock_free(sizeof(T), 0), "atomic is not lock-free for the given type T");
^
compilation terminated due to -Wfatal-errors.

@priseborough do you mean https://github.com/PX4/Firmware/pull/11328? Which toolchain version do you use?

If you look under artifacts in the Jenkins build "continuous-integration/jenkins/branch" you'll see the generated metadata from the PR. http://ci.px4.io:8080/blue/organizations/jenkins/PX4%2FFirmware/detail/module_docs_updates/5/artifacts

Apologies, I meant https://github.com/PX4/Firmware/pull/11328. Toolchain is as installed following Linux install instructions as of 1 Feb 2019.

@priseborough what's the output of arm-none-eabi-gcc --version? CI is on 7.2.1.
@hamishwillee did you have time to look at this?

By code inspection looks good. I'll try it out this afternoon.

Testing shows this does as I would hope - thanks! I don't have ability to give approving review though, so you'll need that from someone else.


Filter out messages with external references

This will do what we mentioned on the hallway regarding filtering out messages that reference individuals that aren't in the hallway. I think this will be a good idea for people that are using twtxt and not just following people in the hallway. This way messages can't be targeted at people not in the hallway, and then those messages just get filtered out.
I also did a bit of cleanup on various things.

Thanks for cleaning up the underscores :)


Update alsa ucm scripts for dunfell

Depends: https://review.linaro.org/c/openembedded/meta-backports/+/37730
https://review.linaro.org/c/openembedded/meta-backports/+/37729

@alimon this is a backport of current master patches + #260 to Dunfell.
Could you please check that it works for you (note the meta-backports dependencies).
@ndechesne this is another PR targeting forthcoming RB5 release.

I suppose we don't really need patch #2 and #3 in dunfell, since #4 does it all again. perhaps we can clean up the PR?

@ndechesne cleaned up the PR

@lumag I checked 1.2.4 on Debian and is working in DB410c and DB845c, is ok to me merge the backports.


Javadoc comments for Kunji module

I'm closing tickets that we realistically aren't going to get to.  This is one of them.


Source Code is not working

Hi,
I have try to open the demo that provided. After I clicked the "submit job" there is nothing happen.
I have another question. Where can I get these 3 information? Is it from Azure Speech Service or Azure Communication Service?
SUBSCRIPTION_KEY=<your_subscription_key>
SERVICE_REGION=<your_service_region>
SERVICE_HOST=<your_service_host>

Hi,
The resource group I created during this project was initially free but
later incurred charges. As a result, I revoked the resource group and
credentials. Due to this action, the app is currently non-functional.
You can create an* Azure Speech Service* through Azure Portal, create a
resource group of your choice, and get the credentials.
Check out the Azure Speech Studio here https://speech.microsoft.com/!
Best regards,
S G V Kamalakar
@.***
Portfolio https://sgvkamalakar.github.io/ | LinkedIn
https://www.linkedin.com/in/sgvkamalakar | GitHub
https://github.com/Sgvkamalakar
On Mon, Apr 29, 2024 at 2:22 PM justintham @.***> wrote:

Hi,
I have try to open the demo that provided. After I clicked the "submit
job" there is nothing happen.
I have another question. Where can I get these 3 information? Is it from
Azure Speech Service or Azure Communication Service?
SUBSCRIPTION_KEY=<your_subscription_key>
SERVICE_REGION=<your_service_region>
SERVICE_HOST=<your_service_host>
—
Reply to this email directly, view it on GitHub
https://github.com/Sgvkamalakar/Azure-Talking-Avatar/issues/1, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AYXIPSOXOUNQ35DULR3JHRLY7YC5DAVCNFSM6AAAAABG543THCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DQNBWHE4TMOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi, The resource group I created during this project was initially free but later incurred charges. As a result, I revoked the resource group and credentials. Due to this action, the app is currently non-functional. You can create an* Azure Speech Service* through Azure Portal, create a resource group of your choice, and get the credentials. For more info check out the Azure Speech Studio .. https://speech.microsoft.com/

HI,
But I unable to find the "SERVICE_HOST" from the "Azure Speech Service". Is the Endpoint indicate as "SERVICE_HOST"??

You have the choice to use a preset one such as customvoice.api.speech.microsoft.com
https://{SERVICE_REGION}.customvoice.api.speech.microsoft.com/api/texttospeech/3.1-preview1/batchsynthesis/talkingavatar


Fix the residual norm reduction criterion for CUDA devices

This MR does everything that can be done to accelerate the Residual Norm Reduction Stopping Criterion for GPUs. Multiple optimizations are done to ensure no temporary data are allocated on the GPU, and therefore no cudaFree (and related) are called.
1. An array to store the residual norms is always created to accelerate the norm computation (it is used only in the case we have a GPU executor AND the solver doesn't provide residual norms, which is currently all of Ginkgo).
2. A small temporary array of two bytes is always created (used on the GPU) to represent the following booleans: all_converged, one_changed. There, I directly call executor->copy_from() as I found that was the most fitting function for that purpose.
Currently, results show on a P100 that the total criterion check takes 130 us, roughly 60us of that is the norm computation. A SpMV (with CSR and thermal 2 matrix) is 367 us by comparison. On the P100, the total criterion check time was divided by two. When looking at the BiCGSTAB solver time, it got down to 0.75289 s from 0.81687 s with thermal2 in CSR format (roughly 8% speedup).
I think that it would be possible to accelerate this further (make it almost perfect, i.e. divide the time by two again) but the only way to do it would be to migrate all of our copies towards using the "Async" modes for CUDA and/or using different streams.
The traces are available there:
before fix
after fix

I did some quick tests which used Asynchronous copies in Ginkgo, and this confirms that the final compression of the stopping criterion time happens in that case (the preconditionner copy also gets overlapped). The problem is that making such a mode work correctly needs more thinking: we need to add cudaStreamWaitEvent() functions (or equivalent using the new cuda graphs and dependencies) to ensure kernels wait for the correct memory copy, among other things. This should require a non trivial evolution of the CUDA executor (and/or operation) model.

The problem is that making such a mode work correctly needs more thinking: we need to add cudaStreamWaitEvent() functions (or equivalent using the new cuda graphs and dependencies) to ensure kernels wait for the correct memory copy, among other things. This should require a non trivial evolution of the CUDA executor (and/or operation) model.

Could you create an issue about that. I'll throw in some ideas there as soon as I find some time to do it.

@tcojean can you please add screenshots of the nvvp output? I know, you cannot catch everything with a screenshot, but it is easier to grasp the overall story.

I improved the performance one last time by using a kernel for the initialization of the booleans on the GPU instead of a synchronous copy. I think for the moment this is the most performance we can get out of the current stopping criterion design.
Here is a trace obtained on the FineCI system (K20). One spmv is 1.2ms, a dot 85us.


Downgrade dependencies and move csproj to use PackageReference

Sounds good to me, this is probably a better idea than #16 .

Closes #15


feat(#296): Repair XmlBytecodeTest

Generate correct XML class with generic method for XmlBytecodeTest.
Closes: #296.

History:

feat(#296): generate xml program with class that contains generic method
feat(#296): add javadoc for xml generator method
feat(#296): remove the puzzle description
feat(#296): fix all qulice suggestions

PR-Codex overview
Focus:
This PR focuses on making the DirectivesMethod constructor public and adding a return type to the opcode method.
Detailed summary:

Made the DirectivesMethod constructor public.
Added a return type of DirectivesMethod to the opcode method.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here


Remove griefing collateral from mandatory replace request

Is your feature request related to a problem? Please describe.
Presently, when the old_vault initiates a redeem::request_replace action, it locks griefing collateral using the request_vault_issue call within redeem::request_replace. This seems unnecessary since the old_vault has already locked collateral, known as backing collateral, which can be used as griefing collateral. This additional collateral requirement places an undue burden on the old_vault.
Describe the solution you'd like
The preferred solution is to refrain from locking collateral in the old_vault during the redeem::request_replace process. Instead, if the old_vault fails to submit the BTC transaction before the expiry, the backing collateral should be slashed.
Describe alternatives you've considered
An alternative solution, which is currently implemented, involves locking extra collateral through the request_vault_issue call.
Additional context
The original issue was discussed in this comment.

Dry Run for removing griefing collateral


Wazne

Description
[Insert description of issue here]
Detailed Information
Is available here

Copy your entire server log to Pastebin for me to see.

No reply from @Valkarm in almost 7 days.  I guess this issue is resolved.


Use 2.2.9 2.3.6 2.4.3 2.5.0

Description
ref. https://github.com/travis-ci/travis-ci/issues/8978#issuecomment-354036443
Completed Tasks

[x] I have read the Contributing Guide.
[x] The pull request is complete (implemented / written).
[x] Git commits have been cleaned up (squash WIP / revert commits).
[x] I wrote tests and ran bundle exec rake locally (if code is attached to PR).

@aycabta I will have to close this unless we can get the comment above addressed.


What is an engine? How should swish be run?

Swish is described as a concurrency engine. Does engine imply it's related to engines in chez? Is swish meant to be run in place of chez when running or compiling scheme programs? Running swish on my terminal seems to bring up a scheme repl. Is swish just chez scheme with added functionality?

Swish is an extension of Chez Scheme for concurrency-oriented programming. Its engine is loosely related to engines in Chez Scheme in that it uses software timer interrupts and continuations to provide concurrent processes.

Ok thanks! Let me see if I can build something with it. I see the version is 0.0.0, does that mean it's not ready for serious use yet?

Much of the code comes from the Windows-only version that has been used in production. The new code is the libuv-based operating system interface. The version of 0.0.0 indicates that we've not yet completed our full inspection and testing of the system. We may make some breaking API changes before the first release.

Sounds good, is there an timeline estimate for the release process?

We're making good progress towards our first release.

Thanks for your interest! We're about a year overdue on making a release, but it has finally happened. 2.0.0 is out.  We're light on examples and tutorials, but we believe Swish itself is solid.


[4.5.0] Bug-fix: Remove schema name from provider-to-auth-delegate query

Fix formatting

retest this please


[BUG] The error message should be dismissed if the physical NIC has been corrected from an invalid one

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Go to the VLAN edit page
Enable the default physical nic and set it to 1, then save
Edit the default physical nic, and set it to eth0, which is fetched from one of the cluster hosts.

Result
Even though the physical nic has been corrected, the error message displays on the networks page all the time

Expected
The error message should be dismissed after the physical nic has been corrected.
Environment:

Harvester ISO version: master-head
Installation Mode: ISO

@DoNotSayYes   The modification of the defailtPhysicalNIC attribute will not affect the existing nodeNetwork crd object, so it is correct that the error message did not disappear

We shouldn't show errors if the configurations are correct. It needs to be fixed in the backend in this case


When a moderator reports another user, they should not receive a notification email

Probably a good idea to check all the places in the codebase where moderators are receiving emails to check that they're not getting anything they're not supposed to.
Will need to improve unit tests to cover this too.

This is only an issue when the moderator reports another user, not when they are being reporting by another user.

Fixed with 5760ff71bd244f9043d57545429318b62d598713

Can you point me in the commit above the line that test this behavior please?

Whoops.  Wrong commit.  Here it is @Natim:
https://github.com/nlhkabu/connect/commit/8081ff92724c6a3b8b87bdcc1824a28a788b9011


Socket integration

This PR is linked to #22.

Current progress:

Working socket.io integration for the API
Tasks socket endpoints for moving and editing tasks

Going to merge current progress for first deployment tests.


Bonnie 1.98

Motivation for this change
Update to latest version:
https://metadata.ftp-master.debian.org/changelogs//main/b/bonnie++/bonnie++_1.98_changelog
Make the bon_csv2txt untility work. It is a perl script and thus requires the correct perl interpreter.
Closure size increased from 34'006'536 bytes to  90'289'456 due to perl.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I think the closure increase is absolutely sane in this case, because perl is a true runtime dependency.


rickshaw-run: provide simple json validation of the bench-params.json…

… input

While working on multiplex I accidentally created a bad bench-params.json and submitted it to rickshaw.  That resulted in all kinds of nastiness so it would be nice to have simple JSON validation that ensure that the file is properly formatted and has the correct properties present.


WIP CASSGO-29

Closes #465

@joao-r-reis, could you please check it out? It is still a little bit muddy, but it is more about the architecture. Also, I use type aliases to provide users with functionality that should be able to use, but can't be easily separated from internal logic.

Hmm this will be harder than I thought. There's a lot of issues that I can see in this diff because previously exported stuff is going into an internal package.
Let's try a different approach, instead of trying to do the separation between "public" and "internal" + partioning code into different packages at the same time let's focus only on having a single internal package and let's move everything that we see is possible to move (and is unexported) to that new internal package.
We can worry about creating multiple internal packages afterwards, the difficult and complex part is making this separation of public and internal so let's focus on that first.
In this first draft let's keep everything that is exported on the public gocql package for now.

Okay, I will make one more implementation, and then we can compare it.


Missing some emojis

Hi 👋, I found this repository which is very useful for me. I am using this font to replace the system default emoji font in my web development, but when I replace it, I found that some of the emojis are not showing up. My question is, is this the reason for the font, or something else?
Which os are you using?

Windows10 Professional Version 22H2
Chrome browser 119.0.6045.200(64bit)

What did you do?
step 1
I downloaded this font to my asset folder and referenced it in css using @font-face like this:
@font-face {
    font-family: 'My Apple Color Emoji';
    src: url('./AppleColorEmoji.ttf');
}

html,body {
    margin: 0;
    font-family: system-ui,'Apple Color Emoji','My Apple Color Emoji', -apple-system, BlinkMacSystemFont, sans-serif, 'Segoe UI' !important;
}

I then typed windows keyboard emoji in the input box and found it worked as expected.
step 2
I'm making an emoji panel using Vue. So I referenced<EMAIL_ADDRESS>as the list of emoji metadata that the emoji panel needs to contain.
The structure of this file is a json list with unified fields for each item:
[
    {
        "name": "HASH KEY",
        "unified": "0023-FE0F-20E3",
        "non_qualified": "0023-20E3",
        "docomo": "E6E0",
        "au": "EB84",
        "softbank": "E210",
        "google": "FE82C",
        "image": "0023-fe0f-20e3.png",
        "sheet_x": 0,
        "sheet_y": 0,
        "short_name": "hash",
        "short_names": [
            "hash"
        ],
        "text": null,
        "texts": null,
        "category": "Symbols",
        "subcategory": "keycap",
        "sort_order": 1521,
        "added_in": "0.6",
        "has_img_apple": true,
        "has_img_google": true,
        "has_img_twitter": true,
        "has_img_facebook": false
    },
    ...
]

step 3
I use the following code to generate emoji unicode from javascript:
String.fromCodePoint(emoji.unified.split('-').map(it => `0x${it}`))

When I use v-for to display all the items, I found that some of the emoji slots are empty (empty because I use try-catch syntax to do the processing, otherwise it will have an error), and more of them are missing, even the 👁 emoji is not there, I am very puzzled, and I would like to ask if there is something wrong with my code or the Apple coloe emoji.ttf file?
I would be very grateful if you could answer!
Here is my emoji panel code (simplified with some logic):
<template>

                <button
                    v-for="(emoji) in emojis"
                    :key="emoji.unified"
                    :title="emoji.name">
                    {{ emojiCode(emoji) }}
                </button>

<template>

The rendering is below, with a lot of emoji missing because they report errors:

When an error is reported (with the try-catch protection removed), the console output is as follows:
Uncaught (in promise) RangeError: Invalid code point NaN
    at Function.fromCodePoint (<anonymous>)
    at Proxy.emojiCode (EmojiPanel.vue:104:19)
    at EmojiPanel.vue:9:26
    at renderList (runtime-core.esm-bundler.js:2755:16)
    at Proxy._sfc_render (EmojiPanel.vue:12:22)
    at renderComponentRoot (runtime-core.esm-bundler.js:816:16)
    at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5701:46)
    at ReactiveEffect.run (reactivity.esm-bundler.js:178:19)
    at instance.update (runtime-core.esm-bundler.js:5814:51)
    at setupRenderEffect (runtime-core.esm-bundler.js:5822:5)

Here are some missing emoji unifieds that I used the try-catch statement and printed in the catch:
1F3F3-FE0F
1F3F3-FE0F-200D-1F308
1F3F3-FE0F-200D-26A7-FE0F
1F3F4-200D-2620-FE0F
1F1E6-1F1E8
1F1E6-1F1E9
1F1F8-1F1EA
1F1F8-1F1EC
1F1F8-1F1ED

Ok, i'll try another repository, thanks for reply. I'm really like apple color emojis.


Can overlay run in SteamVR Home or steam game?

Thank you for your tutorial.
I have tested the "Tutorial 2: Your first in VR overlay" project and it runs successfully in Hello XR. However, when I open SteamVR Home or VRChat on the Steam platform, the overlay is not displayed. I'm not sure why this is happening.

Hmm neither SteamVR home nor VR Chat use OpenXR.
This project is an OpenXR API layer for OpenXR applications. It will only work with an OpenXR application running.

If you are looking for something that runs into SteamVR regardless of the app (OpenVR or OpenXR), look at IVROverlay. But using that solution will not work for users that don't use SteamVR (eg: OpenXR via native platform support). Hence the existence of this tutorial.

Thank you for your advice. Your suggestion has been very helpful to me.


Endpoint to expose for readiness probe

It would be nice in the deployment if there was a health endpoint, which would validate general health of the system. This could mean exposing anything from inability to connect to the k8s api. not having the proper RBAC permissions, etc.

This is addressed in the Helm chart PR.


[CS] No static properties rule for PHPStan

E.g.
/**
 * @var array
 */
private static $customFileNames = [];

@samsonasik Hi, I need help with PHPStan rules in Symplify.
Would you like to try it?

@TomasVotruba could you give information what part that need to be added/modified?

We basically need a new PHPStan rule that will check Property::class
and look for static. If found, report it as an error.

Thank you, I will try.

I've assigned you few other issues here. So you can pick anything you like.
We'll work on Symplify a bit now.

I've created PR https://github.com/symplify/symplify/pull/2188 for it.


feat: add support for notStartsWith and notEndsWith operators

Description
Implements support for the "NotStartsWith" and "NotEndsWith" operators.

Issue #91

Change checklist

[x] Code follows the code rules guidelines of this project
[x] Commit messages follow the commit rules of this project
[x] I have self-reviewed my changes before submitting this pull request
[x] I have covered new/changed code with new tests and/or adjusted existent ones
[x] I have made changes necessary to update the documentation accordingly

Please also check the I want to contribute guidelines and make sure you have done accordingly.
Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

Not exactly sure why the build step is failing, neither how to proceed to fix it 😕

Hi @t3nma
The build seems to be fixed. I've used your branch to fix it, hope you don't mind! 😉

No problem @luispfgarces , thank you! 👌

Merged ✔ thank you for your contribution @t3nma!


Adding my beginner projects folder

I want to add some of my basic javascript projects to this repo.

Thanks for the PR @joypatel9.


Add a gitattributes file for linguist

This commit adds a new gitattributes file to mark the documentation
and release note directories as containing documentation (and therefore
excluding them from language statistics on github). This is documented
here: https://github.com/github/linguist/blob/master/docs/overrides.md

This was part of my futile effort to get this to show up as a rust repo first and a python repo second since the addition of the visualization module it's flipped to be python first. But, even with this change the language breakdown it reports is:
50.51%  Python
49.23%  Rust
0.27%   Shell

while just the packaged code (what gets shipped via pypi and people actually use) has a breakdown of:
84.85%  Rust
14.69%  Python

I could remove the tests from the statistics to provide a better representation of what's included in the package but that doesn't seem correct either. I guess we can just take it as an indication of the level of testing we do.

Pull Request Test Coverage Report for Build 946458588

0 of 0   changed or added relevant lines in 0 files are covered.
19 unchanged lines in 2 files lost coverage.
Overall coverage increased (+1.002%) to 96.865%

Files with Coverage Reduction
New Missed Lines
%

src/isomorphism.rs
1
97.61%

src/lib.rs
18
99.32%

Totals

Change from base Build 942675601:
1.002%

Covered Lines:
8714

Relevant Lines:
8996

💛  - Coveralls


the question is that Incompatible versions of springboot and springcloud-eurka

My springboot version is 2.0.3, and my spring-cloud-eurka version is 1.4.5.RELEASE. But when prompted, it prompts java.lang.NoSuchMethodError: org.springframework.boot.builder.SpringApplicationBuilder. ([Ljava). When I change my version of springboot to 1.5.14, it will be OK.

I use  the Finchley and

my spring boot is 2.0.3

Those are compatible


Migrations break when upgrading from django-social-auth

My project was using django-social-auth and we decided to upgrade to use this newer package. The problem is the migrations didn't seem prepared for this:

If I run manage.py migrate, I get a "Table social_auth_association already exists" error.
If I fake the initial migration, subsequent ones will fail because the table for the Code model (which didn't exist in dsa and is created in that initial migration) is missing.
If I fake all the migrations it doesn't fail, but the social_auth_code is never created.

My solution was to edit the migrations so the social_auth_code table is not created in the initial migration but in the second. Then, the first migration can be faked and the rest will be applied without issues.

I'm closing this since it's very outdated by now.
Thanks!


Jupyter Variable very slow to update/buggy

Issue Type: Performance Issue
When working with VSC's inbuilt npython notebook, the Jupyter: Varaible tab next to the terminal can be either very slow in updating or buggy. Please fix =)
VS Code version: Code 1.62.3 (ccbaa2d27e38e5afa3e5c21c1c7bef4657064247, 2021-11-17T08:11:14.551Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

Thanks for filling this issue.
Please could you enable logging as follows:

Open settings & go into Jupyter->Logging
Change the value to verbose
Reload VS Code,
Attempt to repro the issue & then copy the output from the Jupyter output panel.

Closing this issue as its been over 4 weeks, since the information was requested.
We'll be happy to reopen the issue when the requested information has been provided.

I have the same problem. the jupyter variable windows is too slow and it may cause my code run slowly. How can it load as fast as spyder‘s variable window？


DropDown list is not visible

Please can you help me out with my issue I have posted the issue on this link https://stackoverflow.com/questions/46646491/multiselect-in-react-native. I am trying to implement  your component, thank you for sharing this amazing component. but I got some problem implementing it.
Actually i am fetching the data from API in the JSON format, my data would be somewhat like this [{"id":"14","name":"Ondo"},{"id":"15","name":"Ogun"},{"id":"16","name": "Calabar"}]
and am saving this data to state. And the state is passed to the Item prop of multiselect. But i am not able to get the list of name in dropdown it shows the message as "No item to display". According to your doc items should contain the array of object which is the same i am passing to it. but still unable to view the list.

@aniketparab4 have you been able to get this fixed?

@aniketparab4 I please check the Stackoverflow page, I dropped a comment there.

No. the issue is not fixed. I have made the changes on stackoverflow...!!
The question is how do I fill the dropdown list by fetching the data from API.

how do i display the name in dropdown list?? as the data is fetch from API in JSON format !!

Any solutions or alternates???

@aniketparab4 can you share your repo? I already read your post. But I am not sure how the data comes. The multiselect components works but I think that you are passing a string and not and object to the component.

@abhi-nahi did you check the example on the link? https://github.com/AugustoAleGon/react-native-multiple-select-sample this version


rails 5.2 : Update localized_date_time_parser.rb to dup the datetime since ActiveSupport returns frozen string

ActiveSupport 5.2 returns frozen string

[ ] @cmayor

[36] pry(main)> Time.zone.now
=> Mon, 18 May 2020 11:35:23 UTC +00:00
[37] pry(main)> Time.zone.now.to_s.frozen?
=> true
[38] pry(main)> Time.zone.now.to_s.gsub!(/[2020]/, '*')
FrozenError: can't modify frozen String
from (pry):32:in `gsub!'
[39] pry(main)> Time.zone.now.to_s.dup.gsub!(/[2020]/, '*')
=> "****-*5-18 11:35:34 UTC"

@cmayor  @aergonaut
I have updated the file
datetime = +datetime

datetime = Time.current.to_s.freeze
=> "2020-05-19 05:33:03 UTC"
[62] pry(main)> datetime = +datetime
=> "2020-05-19 05:33:03 UTC"
[63] pry(main)> datetime.frozen?
=> false
[64] pry(main)> translated.each_with_index { |name, i| datetime.gsub!(/2020/, "****") }
=> ["January",
 "February",
 "March",
 "April",
 "May",
 "June",
 "July",
 "August",
 "September",
 "October",
 "November",
 "December",
 "Jan",
 "Feb",
 "Mar",
 "Apr",
 "May",
 "Jun",
 "Jul",
 "Aug",
 "Sep",
 "Oct",
 "Nov",
 "Dec",
 "Sunday",
 "Monday",
 "Tuesday",
 "Wednesday",
 "Thursday",
 "Friday",
 "Saturday",
 "Sun",
 "Mon",
 "Tue",
 "Wed",
 "Thu",
 "Fri",
 "Sat"]
[65] pry(main)> datetime
=> "****-05-19 05:33:03 UTC"

IF the string is frozen it will duplicate it and assign. Thus ensuring that the object is mutated.
Using Map did not mutate the object.  It would need to be selected again
eg:
 datetime = Time.current.to_s.freeze
=> "2020-05-19 05:32:07 UTC"
[41] pry(main)> translated.each_with_index { |name, i| datetime.dup.gsub(/2020/, "****") }
=> ["January",
 "February",
 "March",
 "April",
 "May",
 "June",
 "July",
 "August",
 "September",
 "October",
 "November",
 "December",
 "Jan",
 "Feb",
 "Mar",
 "Apr",
 "May",
 "Jun",
 "Jul",
 "Aug",
 "Sep",
 "Oct",
 "Nov",
 "Dec",
 "Sunday",
 "Monday",
 "Tuesday",
 "Wednesday",
 "Thursday",
 "Friday",
 "Saturday",
 "Sun",
 "Mon",
 "Tue",
 "Wed",
 "Thu",
 "Fri",
 "Sat"]
[42] pry(main)> datetime
=> "2020-05-19 05:32:07 UTC"

Ah okay, so the method was using that block for its side-effect on the datetime argument being passed in to the method, and it's actually void? Confusing 😅

@torumori  Can you please provide your inputs on this ?

@anukthim What this method does is replacing the translated month/day names with English names so that DateTime.strptime can apply in the parse method.
AFAIK, our time formats (which are defined by the value of I18n.t('time.formats') don't include month/day names in all locales currently. Thus, probably that gsub! call won't be executed in the production luckily and this failure is only caused by the Time.zone.now in our test for now.
Having said that, I believe your fix is harmless for the function and should be good.

@torumori are there unit tests to verify that delocalize is working correctly with this change?

@cmayor Currently we don't have tests specifically verify that methods in our app. We're supposed to be able to run gem's tests by rake default in the gem repo, but the entire test suite seems to be broken since it's a very old version which doesn't support the recent rails.


Update angular module reference

@NathanWalker A minor update to make these snippets compatible with the latest RC.

Thanks Ken! I'll merge and publish tomorrow.

@NathanWalker any chance you could merge this in? It would be very helpful. Thanks!

Ah yes! Lost track of this one, thank you @kenhowardpdx !! And for the ping @jmarchello
I'll push a release in just a moment with this fix.

1.1.0 released now!


[ENH] create a folder within <output_dir> if needed for results zipping

Latest fMRIPrep uses BIDS layout (fMRIPrep v21.0+, 12/14/2021-). It does not have a folder (or two folders) that cover all results. Therefore BABS needs to create a folder within <output_dir> to make sure all results are in one folder for zipping.

Consult Matt what output directory of QSIPrep will look like if both preprocessing + reconstruction are on?
If --recon-only, seems QSIPrep 0.14.2 won't create an extra output layer? See bootstrap script from TheWay for example (This script is a bit old, last update: Nov 2021).

QSIPrep: will generate qsiprep folder; if recon is also on, will generate another folder qsirecon. If just recon is on, it will be one output folder ”qsirecon”. Either case, these two folders will wrap all derivatives.
XCP-D: will generate xcp_d folder which wrap all derivatives.