App freezes when changing UI

I assume I'm doing something wrong, but I've tried on two different M5StickC devices with the same result. As I log this I'm also trying to go through the code.
Setup:
Load app onto device using "copy_for_web.py"

Connect device to https://flow.m5stack.com
Switch to "</> Python" tab
Copy/paste code from "copy_for_web.py"
Replace "00000" with actual sensor ID
Press "Play" button and wait for device to show "DONE!"

Repro:

Boot device while holding button A
Change to App list and boot WebAQI.py
Wait for "Wifi connected"

Actual:

App boots and shows "n/a" with mode R, flashing heart icon, and marching ants
Press button A to change modes - marching ants pause and "R" flashes
Press button B once - marching ants pause, "R" changes to "N" and screen shows AQI value with colored background
Press A to commit - screen freezes and doesn't update anymore. Device must be rebooted

Alternate repro:

Boot app as above
Press button B to show brightness UI
Press button A to dismiss UI - screen freezes with brightness UI still up. Device must be rebooted

You never saw "Wifi connected"?
You see n/a because the web interface doesn't return direct AQI, and I
defaulted to that. I should change the default to one that works in both
places. You can do that yourself to see if you are actually getting to the
internet by switching lines 183 and 184 in
aqi.py.
I will note that Brightness doesn't appear to actually change the
brightness, but it doesn't hang for me. (Both UI bits work for me).
If you can connect to the device--On windows, putty to the serial port
(shows up in Device Manager) with baud=115200 works--you might need to type
control-c a few times, but then you can type "repl" (without quotes), boot
the device, and when it (presumably) crashes, there should be a stack
trace. Or M5Burner has a button to connect. Don't remember its name off the
top of my head.
On Mon, Sep 28, 2020 at 11:13 AM Dan Swett<EMAIL_ADDRESS>wrote:

I assume I'm doing something wrong, but I've tried on two different
M5StickC devices with the same result. As I log this I'm also trying to go
through the code.
Setup:
Load app onto device using "copy_for_web.py"

Connect device to https://flow.m5stack.com
Switch to "</> Python" tab
Copy/paste code from "copy_for_web.py"
Replace "00000" with actual sensor ID
Press "Play" button and wait for device to show "DONE!"

Repro:

Boot device while holding button A
Change to App list and boot WebAQI.py
Wait for "Wifi connected"

Actual:

App boots and shows "n/a" with mode R, flashing heart icon, and
marching ants
Press button A to change modes - marching ants pause and "R" flashes
Press button B once - marching ants pause, "R" changes to "N" and
screen shows AQI value with colored background
Press A to commit - screen freezes and doesn't update anymore.
Device must be rebooted

Alternate repro:

Boot app as above
Press button B to show brightness UI
Press button A to dismiss UI - screen freezes with brightness UI
still up. Device must be rebooted

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dclaar/purple_air/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALAVYQD6SRMAXMCSXEOI4LSIDG4DANCNFSM4R42G2BQ
.

Sorry it wasn't clear - I do see "Wifi connected" followed by "n/a".
If I connect the device and then trigger the error, here's what Putty shows:
Traceback (most recent call last):
File "main.py", line 48, in
File "main.py", line 36, in main
File "aqi.py", line 382, in Run
File "aqi.py", line 72, in Update
KeyError: name
MicroPython 0f84002d0 on 2020-09-11; M5Stick with ESP32
Type "help()" for more information.

aqi.json line 72:
< if name in self.defaults and value == self.defaults['name']:

if name in self.defaults and value == self.defaults[name]:

I didn't catch this because I already had a config file. :(
I'll try to upload a fix tonight, but I'm on-call, so may not get there.
On Mon, Sep 28, 2020 at 11:29 AM Dan Swett<EMAIL_ADDRESS>wrote:

Sorry it wasn't clear - I do see "Wifi connected" followed by "n/a".
If I connect the device and then trigger the error, here's what Putty
shows:
Traceback (most recent call last):
File "main.py", line 48, in
File "main.py", line 36, in main
File "aqi.py", line 382, in Run
File "aqi.py", line 72, in Update
KeyError: name
MicroPython 0f84002d0 on 2020-09-11; M5Stick with ESP32
Type "help()" for more information.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dclaar/purple_air/issues/2#issuecomment-700206583,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALAVYUCAMK2LTYE7QNGA7TSIDIZDANCNFSM4R42G2BQ
.

No worries! Would manually creating the config file work? I can give that a
shot.
On Mon, Sep 28, 2020 at 11:40 AM Doug Claar<EMAIL_ADDRESS>wrote:

aqi.json line 72:
< if name in self.defaults and value == self.defaults['name']:

if name in self.defaults and value == self.defaults[name]:

I didn't catch this because I already had a config file. :(
I'll try to upload a fix tonight, but I'm on-call, so may not get there.
On Mon, Sep 28, 2020 at 11:29 AM Dan Swett<EMAIL_ADDRESS>wrote:

Sorry it wasn't clear - I do see "Wifi connected" followed by "n/a".

If I connect the device and then trigger the error, here's what Putty

shows:

Traceback (most recent call last):

File "main.py", line 48, in

File "main.py", line 36, in main

File "aqi.py", line 382, in Run

File "aqi.py", line 72, in Update

KeyError: name

MicroPython 0f84002d0 on 2020-09-11; M5Stick with ESP32

Type "help()" for more information.

—

You are receiving this because you commented.

Reply to this email directly, view it on GitHub

https://github.com/dclaar/purple_air/issues/2#issuecomment-700206583,

or unsubscribe

<
https://github.com/notifications/unsubscribe-auth/AALAVYUCAMK2LTYE7QNGA7TSIDIZDANCNFSM4R42G2BQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dclaar/purple_air/issues/2#issuecomment-700211761,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4JWNORTB6OFD5CROFSJUDSIDKCJANCNFSM4R42G2BQ
.


flam-flam/dispatcher-service#21 add more fields

Closes flam-flam/dispatcher-service#21

GH had an internal error and a re-run was successful.


[Pixel][12,6]Fill the Pixel!

-Name : Dhruv Saini,
-ID : 12140590,
-Batch : 2025
-color : Green

The pixel [12,6] has been assigned to you. Go ahead and create a PR @Dhruvs00  ✌


Add Plot1D and Plot2D: 2 specific subclasses of Plotwindow

Add Plot1D a plot widget with tools for curves enabled.
Add Plot2D a plot widget with tools for image enabled.
Add Qt designer plugins for Plot1D and Plot2D

The constructor should not call show. That can trigger unnecessary drawing.
It should follow Qt's way: one instantiates and calls show explicitly when desired.

The idea is to have high level widgets with a "simple" API to be used from ipython (thus the show in the constructor).
I'd like to keep a single call when used from ipython, so I can either call show only when I am in ipython or provide wrapper functions (i.e., plot1D and plot2D) that does it... but it makes 2 entries in the API for the same thing...
Any API review/comments?

I like the idea of having a simple one-liner to load a widget, add the curve/image and show it. I don't think it is a good idea to restrict this behavior to IPython sessions, it could be used in a regular interactive python session as well.

widget show done only when python run from the console

Finally splitted Plot1D and Plot2D widgets from functions plot1D and plot2D to use from console


No login record when use oauth

Describe the Bug
A clear and concise description of what the bug is.
no login record when login via oauth
For UI issues please also add a screenshot that shows the issue.
Versions Used
Kubernetes:
Kubeclipper:
Environment
How many nodes and their hardware configuration:
For example: CentOS 7.5 / 3 masters:  8cpu/8g; 3 nodes: 8cpu/16g
(and other info are welcomed to help us debugging)
How To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.

/milestone v1.2.0

/assign @x893675


Build refactor

Travis is still having trouble downloading the cache. There is probably something misconfigured on our end, somewhere.

Also, I am a little bit confused why this seemed to grab old commits that were already merged into master. Is this by design if I don't change the branch name after merging?

I think if you make a commit that deletes the cache, Travis will pass.  Then you can reenable the cache and it should work.  But unclear to me why it keeps happening.

Codecov Report

Merging #46 into master will decrease coverage by 0.41%.
The diff coverage is 73.91%.

@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
- Coverage   82.93%   82.51%   -0.42%
==========================================
  Files           9        9
  Lines        1295     1310      +15
==========================================
+ Hits         1074     1081       +7
- Misses        221      229       +8

Impacted Files
Coverage Δ

paprika/dummy.py
94.87% <100%> (ø)
:arrow_up:

paprika/restraints.py
67.37% <70%> (-0.26%)
:arrow_down:

paprika/utils.py
76.56% <71.42%> (ø)
:arrow_up:

paprika/build.py
88.7% <77.96%> (-1.65%)
:arrow_down:

paprika/amber.py
87.7% <0%> (-0.14%)
:arrow_down:

Continue to review full report at Codecov.

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


How to read notes of an issue - NotesApi missing

I'm trying to do a simple task of reading notes (comments) of a GitLab issue. Is this possible somehow? I can't find a way for doing this beside implementing my own NotesApi

And while implementing a NotesApi of my own it is not possible to use Pager-constructor as it is not public.


Now the spinner can be loaded as a class with MDSpinner().

Description of Changes

Whenever you add the spinner as a class (for example, with self.add_widget(MDSpinner()), it throws the error "IndexError: list index out of range". I was looking for a solution and I realised that it was because the kivy string (line 36) loaded the self.color as color = ListProperty([]), even if it is modified later in the __init__ of the MDSpinner() class.

I found three solutions:

The one you can see in this Pull Request, which basically obtains the self.theme_cls.primary_color directly from the ThemeManager() class (in case the user does not specify any primary_color, it defaults to Blue).

Specifying the color with color=[r, g, b, a] when calling the class (for example, MDSpinner(color=[1, 1, 1, 1]), where is later replaced with self.theme_cls.primary_color)

Changing the line 78 to color = ListProperty([r, g, b, a]) (for example: ListProperty([1, 1, 1, 1])), which will be later replaced with self.theme_cls.primary_color.

By the way, the color can be modified through the attribute MDSpinner().color. For example:
spinner = MDSpinner()
spinner.color = [1, 1, 1, 1]
self.add_widget(spinner)

I hope this help.
Screenshots

Then you need to edit this line too - https://github.com/HeaTTheatR/KivyMD/blob/94cd92103b69accd7698cd1f68bb566c14464bf2/kivymd/uix/spinner.py#L90


[Task] RewritePlugin supports cross application

Description
Currently, RewritePlugin only supports rewrite url in the same application, this task needs RewritePlugin to supports rewrite url cross applications which accessed in shenyu.
Task List

[ ] refactor RewritePlugin to support URL rewriting across applications.

Hi,
I'd like to take this task, but before that, I have two questions:

What is the RewritePlugin for?
What is the definition of "application" in this context?

For Q1: see https://shenyu.apache.org/docs/next/plugin-center/http-process/rewrite-plugin
For Q2: Application refers to an application that is proxied by shenyu-gateway, just like shenyu-examples-http

Hi, I'd like to take this task, but before that, I have two questions:

What is the RewritePlugin for?
What is the definition of "application" in this context?

For Q1: see https://shenyu.apache.org/docs/next/plugin-center/http-process/rewrite-plugin
For Q2: Application refers to an application that is proxied by shenyu-gateway, just like shenyu-examples-http

Hi,
Thanks for the explanation. After reading the blog, I have several follow up questions.
First of all, there are several links which are not accessible.
https://shenyu.apache.org/docs/next/plugin-center/user-guide/admin-usage/selector-and-rule
https://shenyu.apache.org/docs/next/plugin-center/quick-start/quick-start-http#run-the-shenyu-examples-http-project
I have a general idea on what's the work of rewrite-plugin: it can help the customer to replace the sub-url to other string. For example: after opening the rewrite plugin, we can replace the http://localhost:9095/http/hello to http://localhost:9095/hi

Is this what the rewrite does? Do I miss any other functions of rewrite plugin?
Do we have any real world example on the use of this plugin? It's hard for me to come up with one.
What is the real world example of this task - support rewriting the url cross different application?
How can we support rewriting the url cross different application? I didn't find how we differentiate the url from different application in the doExecute method.
I noticed in the task list, you mentioned "support adjusting traffic percentage", how are we going to achieve that?

Sorry for so many questions, I just want to clarify everything before the implementation.

First of all, there are several links which are not accessible. https://shenyu.apache.org/docs/next/plugin-center/user-guide/admin-usage/selector-and-rule https://shenyu.apache.org/docs/next/plugin-center/quick-start/quick-start-http#run-the-shenyu-examples-http-project

About links problem, can you fix them in shenyu-website ?

For example: after opening the rewrite plugin, we can replace the http://localhost:9095/http/hello to http://localhost:9095/hi
1.Is this what the rewrite does? Do I miss any other functions of rewrite plugin?

yes

2.Do we have any real world example on the use of this plugin? It's hard for me to come up with one.
3.What is the real world example of this task - support rewriting the url cross different application?

Assuming you originally had one application that needed to be split into many applications due to increasingly complex business, there would be a need for interface flow switching, and RewritePlugin would come in handy.

4.How can we support rewriting the url cross different application? I didn't find how we differentiate the url from different application in the doExecute method.

Tracking Constants.REWRITE_URI, RewritePlugin just put the attritube, use the attritube is in AbstractHttpClientPlugin#resend.

5.I noticed in the task list, you mentioned "support adjusting traffic percentage", how are we going to achieve that?

In RewritePlugin, the handle, we need to add a percentage(default 100) field, the percentagecan be changed inshenyu-admin, and the RewritePluginusepercentageto decide whether to putConstants.REWRITE_URI`.

I‘ve updated the doc, the latest doc link should be https://shenyu.apache.org/docs/plugin-center/http-process/rewrite-plugin/ rather than https://shenyu.apache.org/docs/next/plugin-center/http-process/rewrite-plugin
I read through the code base and find here(final URI newUri = RequestUrlUtils.buildRequestUri(exchange, upstream.buildDomain());) we get the new URI which has already been rewritten. So can I assume after this step we finished the work of the RewritePlugin?
My Question is:

Can I assume each URI represent an application?
What does the URI look like when there are several applications? And what does the URI look like after the rewrite? Could you provide an example?

I‘ve updated the doc, the latest doc link should be https://shenyu.apache.org/docs/plugin-center/http-process/rewrite-plugin/ rather than https://shenyu.apache.org/docs/next/plugin-center/http-process/rewrite-plugin

good job !

I read through the code base and find here(final URI newUri = RequestUrlUtils.buildRequestUri(exchange, upstream.buildDomain());) we get the new URI which has already been rewritten. So can I assume after this step we finished the work of the RewritePlugin?

Not just RewritePlugin, the other usages like below should be all changed.

Can I assume each URI represent an application?
What does the URI look like when there are several applications? And what does the URI look like after the rewrite? Could you provide an example?

shenyu-examples-http had provide servers such as /http/order/**(In OrderController) and /http/upload/**(In UploadController).
Now we need to add 2 projects to replace shenyu-examples-http, which named shenyu-examples-http-order and shenyu-examples-http-upload.
The original /http/order/** needs to be rewritten as /http-order/order/**, then the traffic can linked to shenyu-examples-http-order(not the original shenyu-examples-http project).
The same actions needs to be done like shenyu-examples-http-upload.
Can you add my wechat Z18179469818 ?

ISSUE https://github.com/apache/shenyu/issues/4923 , I have a suggestion to adjust the execution order of the plugins.
This change will increase the priority of the rewrite plugin, which may cause external users' URLs to bypass the authentication plugin.


Support Objective-C

Please Support Objective-C. i use cocoapods to install this podspec, but it say must use "user_framework", when i add it ,some podspec contains static library will not be installed.

It's not possible to not enable use_frameworks! see the discussion in https://github.com/CocoaPods/CocoaPods/issues/3839

I don't mean to nag, but I do think that backwards compatibility with Objc would be greatly appreciated by many...

@cameronehrlich you can still install the 4.X version of HexColors for full objc support

@mRs- that's what I'm doing now, but I hate seeing this:
% pod outdated
Updating spec repo `master`
Analyzing dependencies
The following pod updates are available:
- HexColors 4.0.0 -> 4.0.0 (latest version 5.0.0)

haha, I guess I should get over it... 😄
In case anyone is/was unsure of how to do this:
pod 'HexColors', :git => 'git@github.com:mRs-/HexColors.git', :tag => '4.0.0'

The main Problem is that as long as you are referring it to use it without use_framework there is no way around this :(

I am using use_frameworks! though...? I might be confused...


Boss teleports between transitions

We need to add a transition between animations so that the movements stay continuous

It could be done through adding more animations for turning in the right orientation, or simply by changing the rigidity on stop() and start() calls.

kinda done? some glitches here and there, but it's like maybe better idk lol


sbt run issue

I have an Scala sbt application. Using the sbt to compile and generate jar file from the Scala application. I installed sbt in my local machine and setup the environment variable. While running sbt its getting the below error. Can any one please support to fix the issue.
C:\tesseract-OA-testbranch>sbt
[info] [launcher] getting org.scala-sbt sbt 1.8.0  (this may take some time)...
[error] [launcher] xsbt.boot.internal.shaded.coursier.error.ResolutionError$CantDownloadModule: Error downloading org.scala-sbt:sbt:1.8.0
not found: C:\Users\UX506188.ivy2\local\org.scala-sbt\sbt\1.8.0\ivys\ivy.xml
download error: Caught javax.net.ssl.SSLHandshakeException (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo1.maven.org/maven2/org/scala-sbt/sbt/1.8.0/sbt-1.8.0.pom
download error: Caught javax.net.ssl.SSLHandshakeException (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt/1.8.0/sbt-1.8.0.pom
download error: Caught javax.net.ssl.SSLHandshakeException (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/scala-sbt/sbt/1.8.0/sbt-1.8.0.pom
download error: Caught javax.net.ssl.SSLHandshakeException (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/1.8.0/ivys/ivy.xml
download error: Caught javax.net.ssl.SSLHandshakeException (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/sbt/1.8.0/ivys/ivy.xml
[error] [launcher] could not retrieve sbt 1.8.0

Could you please use the latest stable version, sbt 1.9.7?
SSLHandshakeException might be an indication of JDK or network error. Could you update your JDK to the latest patch version of JDK 8, 11, 17 etc of a reputable JDK? I recommend Eclipse Adoptium - https://adoptium.net/

I have installed jdk <IP_ADDRESS> already but not working

There is abundant information online about these PKIX errors. It's nothing specific to sbt.


iotext v0.4.5

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[x] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/digimaun/azure-cli-extensions.git@iotext045#subdirectory=src/$EXT&egg=$EXT"

Hi @digimaun, change looks fine. Can I ask why there are two version entries kept for the iot extension?

Thanks @williexu. The initial idea for the two versions was the previous version is kept on the index in case some unforeseen breaking issue or similar event occurred such that down-revving the extension version would be the resolution. Users could see all the details about current 'live' IoT extension versions in one spot.

@digimaun gotcha.
In that case, you may want to point your users to the index.json file in your team's docs if you aren't doing so already.
Users will generally only see the latest version from the CLI if they are using the extension commands.


Update stable version in repo from 0.0.3 to 0.0.4

Think about update stable version to 0.0.4
Version: stable=0.0.3 (533 days old) => latest=0.0.4 (15 days old)
Installs: stable=70 (88.61%), latest=9 (11.39%), total=79
Click to edit

A kind reminder.
Is there any reason to delay an update of stable revision?
Feel free to drop a simple note if I should trigger an update.

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.0.4 but in the meantime an update to version 0.1.0 is suggested.
So this issue will be closed and replaced by an updated one.


Move GimmeAWSCreds class to allow Testing

bin/gimme-aws-creds needs to be refactored to move the GimmeAWSCreds class into another file within the gimme_aws_creds package to allow testing of the functions within the GimmeAWSCreds class.  This is due to the fact that the hyphens in bin/gimme-aws-creds does not allow you to import the module for testing.
This work is being done in the no-role-handling branch.

See #22

changes have been merged


Is it possible to change countries labels to another languages or custom text?

I just want to change the label that map displays when I hover on any country. Maybe change the language like "Brazil" to "Brasil" or change this text to a custom one. Is it possible?

Yes, a few ways to achieve that.
One way would be to use the onRegionTipShow prop:
function translate() {
 ....
}

onRegionTipShow: (e, el, code) => {
  el.html(translate(code));
},

Another way would be to create your own custom map, which is basically a simple JSON file that you can alter and load as you wish.
You can also patch the specific paths you wish:
import { worldMill } from "@react-jvectormap/world";

const customMap = {
  ...worldMill,
  content: {
    ...worldMill.content,
    paths: {
      ...worldMill.content.paths,
      BR: {
        ...worldMill.content.paths.BR,
        name: "Brasil",
      },
    },
  },
};


Building package geogram:x64-windows failed with: BUILD_FAILED

Win10
MSVS2017
Building package geogram:x64-windows failed with: BUILD_FAILED
See log below:

PS C:\Users\DevUser> .$env:vcpkg install geogram:x64-windows
The following packages will be built and installed:
geogram:x64-windows
Building package geogram:x64-windows...
-- CURRENT_INSTALLED_DIR=L:/vcpkg/installed/x64-windows
-- DOWNLOADS=L:/vcpkg/downloads
-- CURRENT_PACKAGES_DIR=L:/vcpkg/packages/geogram_x64-windows
-- CURRENT_BUILDTREES_DIR=L:/vcpkg/buildtrees/geogram
-- CURRENT_PORT_DIR=L:/vcpkg/ports/geogram/.
-- Using cached L:/vcpkg/downloads/geogram-1.4.9.zip
-- Testing integrity of cached file...
-- Testing integrity of cached file... OK
-- Extracting done
-- Applying patch L:/vcpkg/ports/geogram/fix-cmake-config-and-install.patch
-- Applying patch failed. This is expected if this patch was previously applied.
-- Applying patch L:/vcpkg/ports/geogram/fix-cmake-config-and-install.patch done
-- Configuring x64-windows-rel
-- Configuring x64-windows-rel done
-- Configuring x64-windows-dbg
-- Configuring x64-windows-dbg done
-- Package x64-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:43 (message):
Command failed: L:/vcpkg/downloads/cmake-3.9.1-win32-x86/bin/cmake.exe;--build;.;--config;Release;--target;install;-
-;/p:VCPkgLocalAppDataDisabled=true;/p:UseIntelMKL=No;/m
Working Directory: L:/vcpkg/buildtrees/geogram/x64-windows-rel
See logs for more information:
L:\vcpkg\buildtrees\geogram\package-x64-windows-rel-out.log
L:\vcpkg\buildtrees\geogram\package-x64-windows-rel-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_install_cmake.cmake:49 (vcpkg_execute_required_process)
ports/geogram/portfile.cmake:56 (vcpkg_install_cmake)
scripts/ports.cmake:72 (include)
Error: Building package geogram:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: geogram:x64-windows
Vcpkg version: 0.0.86-2017-09-04-97104258a782630a1a0d9a2504a533a550c50b69
Additionally, attach any relevant sections from the log files above.

Hi @aPSopt, could you please attach the contents of

L:\vcpkg\buildtrees\geogram\package-x64-windows-rel-out.log
L:\vcpkg\buildtrees\geogram\package-x64-windows-rel-err.log

Hi @ras0219-msft, here it is:
geogram.zip


A11y test fail

Purpose
To take advantage of Stencil's spec and e2e tests when a component is generated to build accessibility testing right into the component. These tests can then be used by GitHub through actions to provide an additional layer of quality control.
This pull request was authored to show a failed colour contrast accessibility test using axe-core/puppeteer.
How we can do this
Using Stencil's e2e tests, we can use the library axe-core/puppeteer to run accessibility tests, this example runs a colour contrast test but can be expanded with additional rules.
The e2e ends tests also allow testing the interactions of a component when it is loaded on a page. This example showcases a test of the gc-ds-button component being focused using keyboard navigation.
With a new GitHub action, when a pull request is authored/modified the tests will run for quality control.
Modification that caused failure
The --gcds-colour-utils-white CSS variable has been modified from a value of #FFFFFF to blue. This causes the gc-ds-button to render with a text colour of blue and background of #bf3230, which causes a contrast ratio of 1.51:1 (4.5:1 required for WCAG AA)

No longer needed


CI: drop /tmp/artifacts upload to Gitlab

Contents of this folder are uploaded to S3 with shutzbot/upload_artifacts.sh
Also fixing epel installation in the mentioned script.
This pull request includes:

[ ] adequate testing for the new functionality or fixed issue
[ ] adequate documentation informing people about the change such as

[ ] submit a PR for the guides repository if this PR changed any behavior described there: https://www.osbuild.org/guides/

We need this artifact, otherwise
https://github.com/osbuild/osbuild-composer/blob/f3c166c3fd0317a5fc3928b0fd10447cd3adc7e0/test/cases/diff-manifests.sh#L96
will break.

Oh ok sorry, didn't notice that, thanks! It should be then just that one artifact, I've updated the commit, should work like this..

@jrusz I can see
No match for argument: s3cmd
Error: Unable to find a match: s3cmd
[2022-07-26T10:48:15+00:00] Job artifacts will be uploaded to: s3://image-builder-ci-artifacts/osbuild-composer/PR-2857/2770471275/
schutzbot/upload_artifacts.sh: line 24: s3cmd: command not found

in https://gitlab.com/redhat/services/products/image-builder/ci/osbuild-composer/-/jobs/2770471275 thinking

Yeah, I had a similar issue in our Upgrade test and adding the source /etc/os-release solved that, but here it didn't seem to have helped, investigating....


Checklist for 0.17.0

New stuff:

[x] (Forge 1.19) Restore Jade & WTHIT support
[x] Add The One Probe support
[x] Better configuration for tree blocks and chopping tools
[x] Many API additions
[x] Fix spillover chops not getting visualized
[x] Fix textures for chopped mushroom stems
[x] Fix textures for bark removal on mismatched blocks
[x] Fix chop detector appearing for spectators
[x] Fix client-side rendering-related crashes due to mod conflicts
[x] Fix WTHIT widget for trees with multiple log types
[x] Stop bamboo from being choppable when using William Wythers' Overhauled Overworld
[x] Fix conflicts with TerraformersMC mods
[x] Fix chopping XP awards for Project MMO

Testing:

[x] Blacklist items
[x] Whitelist items

Released


Sorting is creating duplicate items

I'm trying to sortable working with dynamic templates, but after I re-order the items, duplicates keep being introduced. Could you shed any light on where I'm going wrong or if its a bug? Thanks.
http://jsfiddle.net/cqsv1fn3/

#83 seems to fixed the problem i was having

I can't quite tell from your fiddle, as it doesn't seem runnable, but it is likely the same as this: https://github.com/rniemeyer/knockout-sortable/issues/150 . Make sure that you strip whitespace / text nodes from the beginning and the end inside your script tags.

I had a similar issue, resolved by adding this as the afterMove hook function
this.afterMove = function( model, event, jqui ) {
  $(jqui.item[0]).remove();
};

http://jsfiddle.net/dnk43atp/
Learned the fix from this:
https://github.com/rniemeyer/knockout-sortable/pull/118

2018 solution: The problem is that we have to use ul and li DOM objects to use knockout-sortable. It is not possible to use e.g. div.
With my code

                         <button class="btn-primary btn-primary-small" data-bind="click:$parent.showImagePopup">Otwórz</button>

                             <button class="btn-main btn-main-small" type="button" data-bind="click:$parent.changeLinkUrl">Odnośnik</button>

= 3 && ($parent.availablePictures.indexOf($data) + 1) % 4 == 0">


Travis CI integration

To let every oncoming commits be reliability and do automatic check.

Why not give GitHub actions a go? It's just as simple as travis, free for open source projects, but has the added benefit of being fully integrated with your GitHub project.
You might need to sign up for the beta, it will hit GA early - mid November, but it even comes with a Maven starter.  Your GitHub Actions build script could be as simple as:
name: Maven Build

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - name: Set up JDK 1.8
      uses: actions/setup-java@v1
      with:
        java-version: 1.8
    - name: Build with Maven
      run: mvn package --file pom.xml

Sounds great! Is that something you could help with?

Your repository isn't signed up for the beta - you have to get signed up and accepted before GitHub actions can be used.

Until the Github actions are implemented on this repository, I added support for Travis CI via #12

@yiss thanks for this pr!


Support for ais-numeric-menu?

Hi!
I'm trying to figure out if the ais-numeric-menu Vue component is supported or not.
Below I have the following search box, but somehow the ais-numeric-menu component doesn't seem to apply anything to the search request to Meilisearch. The request only sends attributesToHighlight, facetsDistribution, filters, limit and q.

filters is something I have manually set in the ais-configure component to debug, see attached screenshot below

The numeric refinements are applied to the "state", but they are not applied to the search request.
Is it not supported or am I doing something wrong?
Looking forward to hear your thoughts :)

Vue markup:
<ais-instant-search :search-client="searchClient" index-name="movies">
    <ais-configure :filters="'release_date > 795484800'"/>
    <ais-search-box placeholder="Søg efter produkter..." show-loading-indicator/>
    <ais-state-results>
      <template slot-scope="{ state, results: { hits, query }}">

 0 && query.length > 0" style="display:flex;">

                {{ JSON.stringify(state, null, 4) }}

          <ais-refinement-list attribute="genres" :sortBy="sortBySettings"
            style="background-color: #ccc;padding: 1rem 1.5rem;margin-right:1rem">

              <ais-highlight attribute="item" :hit="item" />
              ({{ item.count.toLocaleString() }})

          </ais-refinement-list>
          <ais-numeric-menu attribute="release_date" :items="dateRanges" />
          <ais-hits>

          </ais-hits>

          No results

      </template>
    </ais-state-results>
  </ais-instant-search>

Screenshot of search box and network request:

My current workaround is to proxy the search request through a custom search client, like when you're doing conditional requests.
searchClient: {
  search(requests) {
    if (requests.every(({ params }) => !params.query)) {
      return Promise.resolve({
        results: requests.map(() => ({
          hits: [],
          nbHits: 0,
          nbPages: 0,
          page: 0,
          processingTimeMS: 0,
        }))
      })
    }

    requests.forEach(request => {
      if (request.params.numericFilters?.length > 0) {
        let currentFilters = request.params?.filters
        let filtersToAdd = request.params.numericFilters.join(' AND ')

        request.params.filters = [currentFilters, filtersToAdd].filter(f => f).join(' AND ')
      }
    })

    return meilisearchClient.search(requests)
  }
},

The above simply "moves" the numericFilters into the filters parameter :)

Hello @henninghorn
I'm taking a closer look at this I will come back to you

Hello @henninghorn
I have investigated and made some tests and made instant-meilisearch compatible with numeric fields.
Here is the PR that fixes the issue: https://github.com/meilisearch/instant-meilisearch/pull/372
And here is a demo if you already want to play with it:
app generated by codesandbox
Codesandbox
You can see the filter that is sent to meilisearch in the console of the dev tool.
Sorry for the delay, lots of work

Hi @bidoubiwa
That sounds great! I appreciate your work on this.


Adding simple modification from any key to eject config error

When adding a simple rule to map from one key to eject key, it seems that the rule is configured incorrectly.
The logs show:
[2018-03-29 10:51:00.877] [error] [grabber] complex_modifications json error: Unknown key: customer_key_code in {"customer_key_code":"eject"} [2018-03-29 10:51:00.877] [error] [grabber] complex_modifications json error: Invalid type in to_event_definition: {"customer_key_code":"eject"}
For example, if I map from escape to eject, the system recognises no event from pressing escape (nothing shows in karabiner event viewer). But pressing eject shows the following event:
'
eventType:SysKeyDown      code:0xe        name:                flags:                                   misc:
eventType:SysKeyUp        code:0xe        name:                flags:                                   misc:
'
Changing the field "customer_key_code" in ~/.config/karabiner/karabiner.json to either "key_code" or "consumer_key_code" enables karabiner to recognise the event - in this example pressing escape registers the correct code 0xe. However, under simple modifications in the gui, the rule shows up as escape mapped to a blank menu option.

Maybe this is beside your point, but why not just do that via the "Simple Modifications"? It seems to work for me.


Add yield package to enable interruptible behaviours

Allow interruptible behaviours in pony through tail-recursive behaviours, lambda
and consume apply.
This is working code in 0.2.1-66-g9f36f4d but no longer works on master
due to a compiler regression:
Current executable set to 'build/debug/ponyc' (x86_64).
(lldb) settings set -- target.run-args  "examples/yield"
(lldb) run
Process 40853 launched: '/Users/darach/Work/Personal/ponyc/build/debug/ponyc' (x86_64)
Building examples/yield -> /Users/darach/Work/Personal/ponyc/examples/yield
Building builtin -> /Users/darach/Work/Personal/ponyc/packages/builtin
Building collections -> /Users/darach/Work/Personal/ponyc/packages/collections
Building ponytest -> /Users/darach/Work/Personal/ponyc/packages/ponytest
Building debug -> /Users/darach/Work/Personal/ponyc/packages/debug
Building options -> /Users/darach/Work/Personal/ponyc/packages/options
Building time -> /Users/darach/Work/Personal/ponyc/packages/time
Building yield -> /Users/darach/Work/Personal/ponyc/packages/yield
Process 40853 stopped
* thread #1: tid = 0xd8a05, 0x000000010009da5c ponyc`pool_pull(thread=0x0000000101b02d90, global=0x00000001015221d0) + 28 at pool.c:490, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x7fff5f3ffff8)
    frame #0: 0x000000010009da5c ponyc`pool_pull(thread=0x0000000101b02d90, global=0x00000001015221d0) + 28 at pool.c:490
   487 	{
   488 	  pool_cmp_t cmp, xchg;
   489 	  pool_central_t* next;
-> 490 	  cmp.dw = global->central;
   491
   492 	  do
   493 	  {

Verses:
$ ./yield
yield ( --punk | --lonely | --bench ) [ OPTIONS ]
  --punk, -p      Run a punctuated stream demonstration
  --lonely, -l    Run a non-interruptible behaviour with logic that runs forever
  --bench, -b     Run an instrumented behaviour to guesstimate overhead of non/interruptive

OPTIONS
  --debug, -d     Run in debug mode with verbose output
  --help, -h      This help
DESCRIPTION

Demonstrate use of the yield package's Yieldable trait so that actors
can be written with long lived interruptible behaviours.

By Default, the actor will run quiet and interruptibly.

I'm a little confused by your example, it doesn't seem to actually need yield at all. Surely this simpler version does exactly the same thing:
actor InterruptiblePony
  var _alive : Bool = false

  be kill() =>
    _alive = false

  be forever() =>
    match _alive
    | true => this.forever()
    | false => Debug.out("Ugah!")
    end

actor Main
  new mortal(env : Env) =>
    InterruptiblePony.forever().kill() // Once and only once kill

Am I missing something? Or is this just a trivial example and more complex ones do need your yield?

@darach Note that the example in your docstring is missing the is Yieldable trait (probably just a "typo").

@andymcn Doesn't work :)
Building foo -> /Users/darach/Work/Personal/ponyc/foo
Building builtin -> /usr/local/lib/pony/0.2.1-66-g9f36f4d/packages/builtin
Building debug -> /usr/local/lib/pony/0.2.1-66-g9f36f4d/packages/debug
Generating
[1]    41736 segmentation fault  ponyc foo
(lldb) target create "build/debug/ponyc"
Current executable set to 'build/debug/ponyc' (x86_64).
(lldb) settings set -- target.run-args  "foo"
(lldb) run
Process 41763 launched:
'/Users/darach/Work/Personal/ponyc/build/debug/ponyc' (x86_64)
Building foo -> /Users/darach/Work/Personal/ponyc/foo
Building builtin -> /Users/darach/Work/Personal/ponyc/packages/builtin
Building debug -> /Users/darach/Work/Personal/ponyc/packages/debug
Process 41763 stopped
* thread #1: tid = 0xdcfcd, 0x000000010009da68
ponyc`pool_pull(thread=0x0000000101c006b0, global=0x00000001015221d0) + 40
at pool.c:494, queue = 'com.apple.main-thread', stop reason =
EXC_BAD_ACCESS (code=2, address=0x7fff5f3fffe8)
    frame #0: 0x000000010009da68 ponyc`pool_pull(thread=0x0000000101c006b0,
global=0x00000001015221d0) + 40 at pool.c:494
   491
   492  do
   493  {
-> 494    next = cmp.node;
   495
   496    if(next == NULL)
   497      return NULL;
(lldb)

@jemc Nice catch, I'll update the PR.
On Sun, Nov 8, 2015 at 1:01 AM, Joe Eli McIlvain<EMAIL_ADDRESS>wrote:

@darach https://github.com/darach Note that the example in your
docstring is missing the is Yieldable trait (probably just a "typo").
—
Reply to this email directly or view it on GitHub
https://github.com/CausalityLtd/ponyc/pull/362#issuecomment-154768459.

OK, so it doesn't work because of a bug in the compiler. But is there any reason it wouldn't work if we fixed that bug?

@andymcn Good question. If it does that's obviously better, but it depends on what's generated by the compiler and runtime behaviour.

@andymcn If your exemplar works with the compiler bug fixed, i'll go through the previous attempts to get it working and see if it turns up anything else. Either way, it means monitor and link may now be trivially supportable although @sylvanc pointed out that the runtime would still need support for monitor in case a distributed node vaporises and _final would need to allow sendable which can cause resurrection. Avoiding yield will be better performing too, natch... So it's at least a workaround and best case we can whack Yieldable and update the examples :)

My example does work for me if we avoid issue #366, which means that Main must have a create constructor or we assert.
Simply change mortal to create (and fix the flag initialisation error I had, oops) and the entire program becomes:
use "debug"

actor InterruptiblePony
  var _alive : Bool = true

  be kill() =>
    _alive = false

  be forever() =>
    match _alive
    | true => this.forever()
    | false => Debug.out("Ugah!")
    end

actor Main
  new create(env : Env) =>
    InterruptiblePony.forever().kill() // Once and only once kill

And that works as expected for me.

@andymcn Confirmed. We don't need yield at all because it's effectively built in. I'm still happily stunned we can compose behaviours tail recursively like this! Oh happy day!
I'll whack the package and update the examples. This just leaves the bug fix. It works on older versions of pony before the bug crept in...

Looks like the fix in genexe.c resolves the outstanding bug and this is now working again on master.


[GEODE-1984] #comment Fix Issue Make GatewaySender destroy a public API

Making destory API public
Added a new gfsh WAN command destroyGatewaySender
Impleted GatewaySenderDestroyFunction, which first stop gatewaysender
and then call destroy on the same.
Added a WAN Rest Controller for destroy gatewaysender
Removed the need of explicit casting of sender to AbstractGatewaySender for calling
destroy API
Renamed Test WanCommandCreateGatewaySenderDUnitTest to WanCommandCreateDestroyGatewaySenderDUnitTest
Each applicable test now also calls destroy gfsh command and verfies the result
Minor changes in the logging for each tests

Precheckin is passing.

@davinash I think you merged master into your feature branch.  I suggest closing this PR and starting a new one.

Hi @metatype Could you please deleting branch GEODE-1984 from master. I am getting error.
git flow feature start GEODE-1984
Fatal: Branch 'feature/GEODE-1984' already exists. Pick another name.

git push origin --delete feature/GEODE-1984.
You should also confirm that you've deleted the branch from your local repo (git branch -D feature/GEODE-1984).  Are you still having problems with write access?

I have no problem with write access and have deleted local branch. But I get following error.
git push origin --delete feature/GEODE-1984
error: unable to delete 'feature/GEODE-1984': remote ref does not exist
error: failed to push some refs to 'https://git-wip-us.apache.org/repos/asf/incubator-geode.git'

Sorry, I meant to write "I delete the remote branch for you".  :-)


Add polytope covjson examples and update covjsonkit minimum version

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@8f45591). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #525   +/-   ##
=======================================
  Coverage        ?   90.60%
=======================================
  Files           ?      123
  Lines           ?     8344
  Branches        ?      361
=======================================
  Hits            ?     7560
  Misses          ?      653
  Partials        ?      131

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[QUERY] EventHubsConnectionStringBuilder in Azure.Messaging.EventHubs?

Library name and version
latest
Query/Question
I have an old codebase (Microsoft.Azure.EventHubs-based) that uses EventHubsConnectionStringBuilder like this:
var connectionStringBuilder = new EventHubsConnectionStringBuilder(configConnectionString);
connectionStringBuilder.OperationTimeout = TimeSpan.FromSeconds(configOpTimeoutSeconds);

First off, there is no EventHubsConnectionStringBuilder or replacement (at least I didn't see one). Secondly, I don't see a replacement for OperationTimeout. How would I correctly translate this code to A.M.EH? Thanks.
Environment
No response

Ok, TryTimeout is the new OperationTimeout (maybe add that bit of info to the migration document?). That should be enough to migrate the existing code to its equivalent new shape.

Thanks for letting us know about the gap in the migration guide.  I'll take a note to have that updated.    I'm going to mark this as addressed, but please feel free to unresolve if you'd like to continue the discussion.


Redirect user to their new account once signup is done.

Add a button to take the user to their new account (maybe listing the dir in warp?), once the signup process is complete and the certificate is installed.

I think we should implement a welcome app and redirect users there (instead of Warp).


Trying to export a STL file throws a NullPointerException

No matter how you create a view with a mesh (add your own programmatically, run SciView>Add Box...), trying to export an STL file causes a NullPointerException at _https://github.com/scenerygraphics/SciView/blob/master/src/main/java/sc/iview/io/ExportSTL.java#L30_ because there are no viewers in DefaultSciViewService.
Steps to reproduce

Run ImageJ
Run SciView >Add>Box
Run SciView>Export>STL_

Environment

Win 8.1 64-bit
JRE 1.8.0_152
Vulkan renderer (JVM -Dscenery.Renderer=VulkanRenderer)
Lenovo G50-70

I also get a NullPointerException at https://github.com/scenerygraphics/SciView/blob/master/src/main/java/sc/iview/viewing/RotateView.java#L20 when running SciView>View>Rotate, because there are no viewers. NPEs from anything else in the View-submenu. This is probably related to the same bug. Let me know if you want me to create separate issues.

I believe this is resolved now.


Support configuring Python version and package extras in the Meltano feature

If you have any questions, feel free to ask!


I cant find figure or mark tags

Am trying to search for

https://caniuse.com/#search=<figure>

<figure> but its not found why?! same for <mark>

https://caniuse.com/#feat=html5semantic
needs search result?

I get it now, try  --> no result try figure alone there is result why !?
another example    --> no result try section alone there is result
got it
Regards

Both are found if you search for figure instead of <figure>


Question: Is cuda_library able to be used as input to cc_shared_library?

if I create a cuda_library and pass the target to a cc_shared_library, it seems that there's an error
(rule 'cuda_library') doesn't contain declared provider 'GraphNodeInfo'

IIRC, it could be used with the builtin cc_shared_library, like in 163, but is not tested for rules_cc.

Hm.. I'm using native.cc_shared_library, but using a cuda_library as a dep. The error I get is the lack of GraphNodeInfo https://github.com/bazelbuild/bazel/blob/d9dc4fde4c8d06498f39b54a81d4e7fa1e5b5b30/src/main/starlark/builtins_bzl/common/cc/cc_shared_library.bzl#L33
An example to repro this issue. building lib_shared results in the error "doesn't contain declared provider GraphNodeInfo"
Traceback (most recent call last):
        File "/virtual_builtins_bzl/common/cc/experimental_cc_shared_library.bzl", line 656, column 114, in _cc_shared_library_impl
        File "/virtual_builtins_bzl/common/cc/experimental_cc_shared_library.bzl", line 383, column 48, in _filter_inputs
        Error (rule 'cuda_library') doesn't contain declared provider 'GraphNodeInfo'

cuda_library(
    name = "vector_add",
    srcs = ["vector_add.cu"],
    visibility = ["//visibility:public"],
)

cc_shared_library(
    name = "lib_shared",
    deps = [":vector_add"],
)

vector_add.cu

#include <stdio.h>

#include <cuda_runtime.h>
#include <cuda.h>
#include <cuda_fp16.h>

#include <cudnn.h>
#include <curand_kernel.h>
#include <cublas_v2.h>

__global__ void
vector_add(const float *A, const float *B, float *C, int numElements)
{
    int i = blockDim.x * blockIdx.x + threadIdx.x;

    if (i < numElements)
    {
        C[i] = A[i] + B[i];
    }
}

It is pretty weird, I can compile liblib_shared.so with bazel 7.0, 6.3.2 and 6.2.1, So it might be a problem on your side.
What is the bazel version that you are using?

ah we're using bazel 6.3.2. I wonder if there's something different with our setup. Trying to figure out what's different from our setup. Wondering if I'm missing something here 😅

Try to build the example in rules_cuda
I used the following steps:

run a docker container

docker run --gpus 1 --env NVIDIA_DRIVER_CAPABILITIES=all -u root -v "/home/ryang/repos/testing_cuda":/home/github_actions/testing_cuda -it nvidia/cuda:12.0.1-cudnn8-runtime-ubuntu20.04

clone the rules_cuda repo

set up cuda_path

root@0ed178a2f4cf:/home/github_actions/rules_cuda/examples# export CUDA_PATH=/usr/local/cuda
root@0ed178a2f4cf:/home/github_actions/rules_cuda/examples# which gcc
/usr/local/cuda/bin/gcc
root@0ed178a2f4cf:/home/github_actions/rules_cuda/examples# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243

root@0ed178a2f4cf:/home/github_actions/rules_cuda/examples# ls /usr/local/cuda/
bin  compat  gds  include  lib64  nvidia-cuda-toolkit  targets

bazel build simple example results in weird errors of missing files even though the file exists

root@0ed178a2f4cf:/home/github_actions/rules_cuda/examples# bazel build //basic:main --action_env=CC=/usr/bin/gcc
Starting local Bazel server and connecting to it...
ERROR: /home/github_actions/rules_cuda/examples/basic/BUILD.bazel:11:10: Linking basic/main failed: missing input file '@local_cuda//:cuda/lib64/libcudadevrt.a'
ERROR: /home/github_actions/rules_cuda/examples/basic/BUILD.bazel:11:10: Linking basic/main failed: 1 input file(s) do not exist
Target //basic:main failed to build

root@0ed178a2f4cf:/home/github_actions/rules_cuda/examples# ./bazel query @local_cuda//:* | grep libcudadevrt
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=0 --terminal_columns=80
INFO: Reading rc options for 'query' from /home/github_actions/rules_cuda/examples/.bazelrc:
  Inherited 'common' options: --announce_rc
Loading: 0 packages loaded
@local_cuda//:cuda/lib64/libcudadevrt.a

The image you are using is cuda-12.0, but the nvcc is not included in the image, and from your log, your are using 10.1, V10.1.243?

🤦 🙇
I appreciate you very much.
Issue was narrowed down to our macro.

Hm.. I'm using native.cc_shared_library, but using a cuda_library as a dep. The error I get is the lack of GraphNodeInfo<EMAIL_ADDRESS>Wondering if I'm doing something wrong? 😓

I'm running into exactly this issue - @Ryang20718 can you share what the issue was with your macro? I don't quite understand how that fixed things when your reproducer was also failing at analysis time which doesn't use any macros.

original issue was that our macro was using a patched version of rules_cuda that was a couple of versions behind. @jsharpe are you on latest rules_cuda?


Version 2.0.0

A backlog for the Version 2.0.0 milestone.
The whole project will be cleaned up and rewritten to adapt the codebase of the Nord Atom Syntax project.
All sub-issues are listed below and will be merged into the main milestone branch release/ghi-#8-2.0.0.

[x] #9  Nord Atom Syntax codebase migration
[ ] #10  Adapt new project setup and documentation style

Detailed information about new features can be found in the Nord Atom Syntax documentations!
Color Palette
This major update will migrate to the new Northem Light color palette version 2.0.0.
Design
The current design is uncomfortable, unconsistent and has not been updated to the latest Atom version which results in unpredictable bugs and glitch due to changes of the Atom Core.
Northem Light Atom Syntax will adapt the Nord Atom Syntax design which provides a clean, elegant and up-to-date syntax highlighting.
Language Support
All currently supported language packages will be migrated to the new codebase and packages currently supported by Nord Atom Syntax will be added.
Documentation
All project documentations will adapt the new project setup and styles.

/cc @edwardloveall

I think this syntax theme isn't so much for me. It's nice, but I prefer something with slightly bolder and more varied colors, so I don't have much feedback. The one thing I did notice while using it was when the cursor is over a parenthetical like ( ) or [ ] the outline makes the text a bit hard to read. I think base16 does it will with a small dotted underline instead of a whole box.

Thanks for your feedback, I also realized that the bracket matching box looks find in darker tinged themes, but on light backgrounds are hardly noticed.
I think I'll add a theme setting to allow the user to choose which type of match-marker should be used.


barchart x axis tick labels can collide even if there is the ability to add a line break

see http://jsfiddle.net/4mLbok06/

Overlapping of the x-axis label can occur in a TimeSeries chart as well if there is a big jump in the time range of the ticks: http://jsfiddle.net/bpdy193t/
Though it may be a different issue than the BarChart one

As @thegyorf said, bar type is not the cause, but it's an axis tick issue.
Can you try axis.x.tick.width? This option changes the width of axis x tick text, then the texts will be multiline. Or please use axis.x.tick.rotate. By this option, tick text will be rotated, so we can see the texts without overwrap.

It's not a bug, so please let me close.


update kotlin and test k2

update Kotlin to version 1.9.*
fix build error
check k2 with kandy api

Kotlin has been updated to version 1.9.0, and the Jupyter plugin to version 0.12.0-35. DSL tests with K2 passed successfully, but the test with the Jupyter notebook resulted in a ReplCompilerException. To switch to K2, it is necessary to first update the plugin.


feat: Add Google Search Grounding static tool

Implementing static tools, using static tools feature inside of SDK

/deploy-review

/deploy-review

Implements API introduced in https://github.com/epam/ai-dial-sdk/pull/184


Reactions receives no input whatsoever.

I've added Reactions to a UIView and the animations do not change when I mouse hover or click, leading me to believe that it's receiving no input whatsoever. What could cause this?
var select = ReactionSelector()
select.reactions = Reaction.facebook.all
containerView.addSubview(select)

Solved my own issue!
It turns out the frame dimensions were too small, preventing mouse input from being detected.
By programmatically setting "select.frame = CGRect(...)" I was able to solve it.


how to combine with vue language server

sorry to disturb you.
I wanna write web editor for .vue file, but there are some trouble around me.
I need implement syntax highlighting and auto complete, go to definition and so on by lsp, but nowhere hint me vls how to work with monaco-languageclient.
I fell grateful if anyone can hint me or give sone available demo~

There is already a demo using a json language server in the repo

thanks your reply. @CGNonofr
but json lsp is completely different with vls.
could you show me vls demo~

Have same issue with volar under volar server condition.
I try following codes:
import * as rpc from "@codingame/monaco-jsonrpc";
import { createLanguageServer } from '@volar/server/out/common'
import { createConnection } from 'vscode-languageserver/node';
export function launch(socket: rpc.IWebSocket) {
    const reader = new rpc.WebSocketMessageReader(socket);
    const writer = new rpc.WebSocketMessageWriter(socket);
    const connection = createConnection(reader, writer);
    createLanguageServer(connection)
}

but got :

Maybe<EMAIL_ADDRESS>is not match<EMAIL_ADDRESS>?

@iceprosurface it looks like the issue is in volar itself


♻ k8s: Introduce Namespaces + Cleanups

What do these changes do?

Adds more makefile help comments
Adds helmfile-sync makefile target
Adds potential extra points to README.md
Adds (purely for conveniance) k8s makefile targets up & leave
Adds reflector to copy secrets between makefiles automatically
Changes: Use env-var K8S_MONITORING_FQDN  in favor of k8s.monitoring.{{ requiredEnv "MACHINE_FQDN" }}

Related issue/s
Related PR/s

https://git.speag.com/oSparc/osparc-ops-deployment-configuration/-/merge_requests/996

Checklist

[x] I tested and it works

@YuryHrytsuk please re-review thx


Fix a broken release alert in HttpSM

((UnixNetVConnection *)plugin_vc)->nh isn't expected to be nullptr.  It was only succeeding by accident.

[approve ci clang-analyzer]


Add Ranjini to authors' list

@valeriupredoi please merge if correct.

cheers @mattiarighi - @rswamina looks correct to me


Error loading plugin 'fastlane-plugin-firebase_app_distribution': No such file or directory - which firebase

The plugin is returning an error Error loading plugin 'fastlane-plugin-firebase_app_distribution': No such file or directory - which firebase...

Environment:
OS: Windows
Ruby: 2.7.1
Firebase plugin version:  0.1.4

Gem
Version
Update-Status

fastlane
2.152.0
✅ Up-To-Date

Was related to the issue 40


Redirect Page on "Unknown Errors" exception

This PR introduces a new proxy_config.yml parameter called UNKNOW_ERROR_REDIRECT_PAGE, a possibility to redirect to that page all the Users that gets UnknowError Exception as Http Response.

Added a UnknownSystemEntity message for humans in satosa.base (Why don't we use a settings_messages.py file and import them all from there?)
Added exceptions.SATOSAUnknownErrorRedirectUrl
Also fixed a unhandled Exception here: https://github.com/IdentityPython/SATOSA/pull/323/files#diff-7096df3e286d488b77d9e6f1ff6622c6

All Submissions:

[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you added an explanation of what problem you are trying to solve with this PR?
[x] Have you added information on what your changes do and why you chose this as your solution?
[ ] Have you written new tests for your changes?
[x] Does your submission pass tests?
[x] This project follows PEP8 style guide.

Refactor on a different branch


Other (e.g., implementation specific) error

Laravel Version: 5.4
Adldap2-Laravel Version: 3.0
PHP Version: 7.1
LDAP Type:

Description:
I've install the package, follow the doc to initialize my adldap.php file and when i try this:
$users = Adldap::getProvider('other-connection')->search()->users()->get();
dd($user);
in my frontend i've this error: Other (e.g., implementation specific) error

Sorry, need much more information than this.


Update iam and commonui channel

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

NONE

@horis233 I think we can delete the 0.0.1 CSV from the source code, it is useless code.

@DanielXLee

@horis233 I think we can delete the 0.0.1 CSV from the source code, it is useless code.

will do


Istio ARM binary pulls x86 images from Istio image registry

Hi,
I deployed Istio 1.9.2 with ARM binary and it is pulling x86 images from the image registry (https://hub.docker.com/u/istio) and this causing istiod pod to crash. Upon checking the registry, we realized that there is no ARM compatible image for Istio.
I was deploying this to EKS 1.19 (using Graviton node) with Helm3.
Expected behavior: ARM binary will pull arm images from image registry
Thank you

Istio does not support arm images, this is tracked in https://github.com/istio/istio/issues/21094. Thanks

@howardjohn Thanks for the quick response, really appreciate! What is the point of having Istio ARM binary if there are no ARM compatible images?

We have an istioctl client arm binary so you can interact with istio
running in an x86 cluster
On Thu, Apr 8, 2021, 8:52 PM Rahul Natarajan @.***>
wrote:

@howardjohn https://github.com/howardjohn Thanks for the quick
response, really appreciate! What is the point of having Istio ARM binary
if there are no ARM compatible images?
[image: image]
https://user-images.githubusercontent.com/16095988/114125928-f949bc00-9929-11eb-9866-d45e40c75350.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/32070#issuecomment-816381950, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXKQZHM5Q3Q3IVRJOM3THZ2XPANCNFSM42UDIDJQ
.

We have an istioctl client arm binary so you can interact with istio running in an x86 cluster
…
On Thu, Apr 8, 2021, 8:52 PM Rahul Natarajan @.***> wrote: @howardjohn https://github.com/howardjohn Thanks for the quick response, really appreciate! What is the point of having Istio ARM binary if there are no ARM compatible images? [image: image] https://user-images.githubusercontent.com/16095988/114125928-f949bc00-9929-11eb-9866-d45e40c75350.png — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#32070 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEYGXKQZHM5Q3Q3IVRJOM3THZ2XPANCNFSM42UDIDJQ .

Ah, got it!


Bad (Incomplete) "DependsOn" when updating an AppSync GraphQL Schema to be searchable

Describe the bug
Updating a model to @searchable @versioned on an existing AppSync API fails (looks like due to a race condition)
To Reproduce
Steps to reproduce the behavior:

Setup an API with models
Add a Model
Make the model searchable (in your schema.graphql
Watch amplify push (specifically the cloudformation build) fail

Expected behavior
"He fixes the cable?" — The Dude
Screenshots
Here is the (partial) log of the amplify push command:
⠋ Updating resources in the cloud. This may take a few minutes...

UPDATE_IN_PROGRESS capbase-20181117083404 AWS::CloudFormation::Stack Sun Dec 16 2018 15:23:19 GMT-0500 (EST) User Initiated
UPDATE_IN_PROGRESS analyticscapbase       AWS::CloudFormation::Stack Sun Dec 16 2018 15:23:23 GMT-0500 (EST)
UPDATE_IN_PROGRESS authcognitoab2d7a9c    AWS::CloudFormation::Stack Sun Dec 16 2018 15:23:23 GMT-0500 (EST)
UPDATE_COMPLETE    analyticscapbase       AWS::CloudFormation::Stack Sun Dec 16 2018 15:23:24 GMT-0500 (EST)
UPDATE_COMPLETE    authcognitoab2d7a9c    AWS::CloudFormation::Stack Sun Dec 16 2018 15:23:24 GMT-0500 (EST)
UPDATE_IN_PROGRESS hostingS3AndCloudFront AWS::CloudFormation::Stack Sun Dec 16 2018 15:23:25 GMT-0500 (EST)
UPDATE_COMPLETE    hostingS3AndCloudFront AWS::CloudFormation::Stack Sun Dec 16 2018 15:23:25 GMT-0500 (EST)
UPDATE_IN_PROGRESS apicapbase             AWS::CloudFormation::Stack Sun Dec 16 2018 15:23:27 GMT-0500 (EST)
⠼ Updating resources in the cloud. This may take a few minutes...

UPDATE_IN_PROGRESS capbase-20181117083404-apicapbase-1TOT5NZ1RJIJD AWS::CloudFormation::Stack Sun Dec 16 2018 15:23:27 GMT-0500 (EST) User Initiated
⠙ Updating resources in the cloud. This may take a few minutes...

CREATE_IN_PROGRESS SearchContactInquiryResolver    AWS::AppSync::Resolver      Sun Dec 16 2018 15:23:37 GMT-0500 (EST)
CREATE_IN_PROGRESS MarketingBlogPostTable          AWS::DynamoDB::Table        Sun Dec 16 2018 15:23:37 GMT-0500 (EST)
CREATE_IN_PROGRESS SearchMarketingBlogPostResolver AWS::AppSync::Resolver      Sun Dec 16 2018 15:23:37 GMT-0500 (EST)
CREATE_IN_PROGRESS ContactInquiryTable             AWS::DynamoDB::Table        Sun Dec 16 2018 15:23:37 GMT-0500 (EST)
CREATE_IN_PROGRESS MarketingBlogPostTable          AWS::DynamoDB::Table        Sun Dec 16 2018 15:23:37 GMT-0500 (EST) Resource creation Initiated
CREATE_IN_PROGRESS ContactInquiryTable             AWS::DynamoDB::Table        Sun Dec 16 2018 15:23:38 GMT-0500 (EST) Resource creation Initiated
UPDATE_IN_PROGRESS GraphQLSchema                   AWS::AppSync::GraphQLSchema Sun Dec 16 2018 15:23:38 GMT-0500 (EST)
⠋ Updating resources in the cloud. This may take a few minutes...

CREATE_FAILED               SearchContactInquiryResolver                    AWS::AppSync::Resolver      Sun Dec 16 2018 15:23:39 GMT-0500 (EST) No field named searchContactInquirys found on type Query (Service: AWSAppSync; Status Code: 404; Error Code: NotFoundException; Request ID: 7917d29f-0170-11e9-8600-bf4bca63f89b)
CREATE_FAILED               SearchMarketingBlogPostResolver                 AWS::AppSync::Resolver      Sun Dec 16 2018 15:23:40 GMT-0500 (EST) No field named searchMarketingBlogPosts found on type Query (Service: AWSAppSync; Status Code: 404; Error Code: NotFoundException; Request ID: 791a917a-0170-11e9-83e1-9f8f6a81e7b0)
CREATE_FAILED               ContactInquiryTable                             AWS::DynamoDB::Table        Sun Dec 16 2018 15:23:40 GMT-0500 (EST) Resource creation cancelled
CREATE_FAILED               MarketingBlogPostTable                          AWS::DynamoDB::Table        Sun Dec 16 2018 15:23:40 GMT-0500 (EST) Resource creation cancelled
UPDATE_FAILED               GraphQLSchema                                   AWS::AppSync::GraphQLSchema Sun Dec 16 2018 15:23:41 GMT-0500 (EST) Resource update cancelled

Desktop (please complete the following information):

OS: MacOS
Browser Terminal
Version 0.1.34 (from aws-amplify ^1.1.10)

Smartphone (please complete the following information):
N/A
Additional context
To me, this looks like a race condition / mishandled dependency in the auto-generated CF template. The SearchContactInquiryResolver that fails, DependsOn the ElasticSearchDataSource, but it should also be dependent on the update to the GraphQLSchema (which you can see has already started to update, but hasn't yet completed.
And, in fact, when I manually change the DependsOn field to include both of those items, the update works just fine.

Addressed in #596. The code had the right intentions but was calling the method incorrectly.

The fix has been released last week, I'm going to close the issue, feel free to reopen it if needed.


Fedora packaging final cleanup

This is a summary PR to show my work on packaging this into Fedora. It includes my previous CMake static library option patch.
Things have been changed:

Static library cmake option.
Bump least needed cmake version from 2.8.9 to 2.8.12 to use cmake internals without major issue. (I haven't added any LESSER or other check on cmake version since FATAL_ERROR will be thrown. And now major Linux distros have shipped CMake 2.8.11+ for a long time)
FindSPEEXDSP.cmake was from cantata or somewhere, but it's been dated since years ago. CMake has better way to handle external libs since 2.8, I've renamed this Find PKG cmake file to FindSpeexDSP.cmake to match the real name of SpeexDSP.
Better indents.

Some other suggestions/issues:

CMake can handle summary well, to_yes_no can be replaced. But it's trivial to change it for now.
CMake can handle tests well, too. But due to missing file in the repo, I can't test the library. Is it intended to be(Loudness correction sometimes will miswork)?

This PR looks good to me. Once again, I'll give a little bit of time to let @jiixyj weigh in; otherwise I'll merge it.

CMake can handle tests well, too. But due to missing file in the repo, I can't test the library. Is it intended to be(Loudness correction sometimes will miswork)?

I'm not sure what the answer to this is. It may have gotten messed up when this library was extracted from https://github.com/jiixyj/loudness-scanner

It appears that those wav files are missing:

Thank you for packaging this for Fedora!
You can download the test files here: https://tech.ebu.ch/loudness (under 'Test material').


Csharp (C#)

Hello,
I´m not able to set up the transition working with a ListView. Here is my code:
Page 1:
myList.ItemSelected += (sender, e) =>
            {
                var item = (Item)SelectedItem;
                SharedTransitionNavigationPage.SetTransitionSelectedGroup(this, item.id);
                App.Current.MainPage.Navigation.PushAsync(new Page2(), true);
            };

ViewCell:
var myImage = new CachedImage();
Plugin.SharedTransitions.Transition.SetName(myImage, "image");
Plugin.SharedTransitions.Transition.SetGroup(myImage, **???????**);

Page 2:
var myImage = new CachedImage();
Plugin.SharedTransitions.Transition.SetName(myImage, "image");

Thank you!

During your ItemSelected event you are setting the SelectedGroup with item.id
SharedTransitionNavigationPage.SetTransitionSelectedGroup(this, item.id);
So in your ViewCell you need to set group value with item.id too
The SelectedGRoup property needs to match the Group property in the selected cell, otherwise the plugin cant find what element need to be shared between the transition.
Here an example using listview with MVVM
Here an example with using Listview with ItemSelected event (inside a Shell)


Default values

I'm trying to set some default values but i dont' get it.
Example:
Multiselect::make('tag')->options([
    1 => 'First',
    2 => 'Second',
    3 => 'Third',
])

->default()  method see like doesn't exist in Multiselect
->withMeta(['value' => [1, 2])  i work around withMeta without success.
Some help with it? I looking in closed issues like #37 and #22

Did you test ->default(). Multiselect extends the Nova Field class, so it definitely has ->default().

See like default not implemented in my version of Nova in this proyect, i look in another with the last Nova version and it is.  In any case ->default() seem doesn't work.
I've managed to make it work with ->withMeta(['value' => [[1], [2]]) finally. Maybe is goo idea put a example at the readme, if you doesn't have time and accept PR i will do it.
Thanks for this great package


In the post partial, display whether a post has any comments

When you're using MS search to try and figure out whether a post is part of a pattern of posts by a single spammer, or simply a random unaffiliated user, it would be really helpful to have a look at any comments attached to past posts.
It would be easier to find relevant posts if a comment symbol was added to the post partial view (the one that appears on /search, /posts, site dashboard etc) to indicate which posts do and don't have comments.
I'm not sure how computationally expensive this would be, but it would be a really useful tool to have in the future.

There’s a comments glyphicon which would work well here.


OnChanOpenInit Implementation may not follow IBCModule docs

Maybe this is not relevant in practice, but it seems to me that our implementation of OnChanOpenInit doesn't uphold the contract specified in the doc comment of the IBCModule
:

If the version string is empty, OnChanOpenInit is expected to
return a default version string representing the version(s) it supports.
If there is no default version string for the application,
it should return an error if provided version is empty string.

In our implementation, we let the contract return a version or default to the provided one if the contract does not return a version, but we do not handle the case mentioned above, where the contract does not return a version and the provided version is empty.

Thanks for bringing this up! Your observation is correct that we do not error in case of the empty version. I am surprised to see this not handled by the ibc-go module themself. 🤷 I may open an issue with ibc-go repo to discuss this


Add Windows build

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This is a required dependency for librsvg which in turn is a required dependency for adwaita-icon-theme which we want to add to conda-forge.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I'm not sure what's happening with the OSX build, and whether it's a temporary Azure problem or something that actually needs to be fixed due to a change in the build environment since the last build.

I'll try to check out the Mac issue.
FYI, conda-build 3.19.2 is now available and I think I saw some more PR traffic on the prefix detection — maybe the issues are better now?

I'll try to check out the Mac issue.
FYI, conda-build 3.19.2 is now available and I think I saw some more PR traffic on the prefix detection — maybe the issues are better now?

I had a similar hope, but the build before the temporary pin commit shows that the issue still exists with 3.19.2. It's still something different with Azure as again it works for my local machine.

@ryanvolz Bummer. (BTW, I just noticed your affiliation — I'm a radio astronomer based at the Center for Astrophysics in Cambridge; I've been to Haystack a few times! Funny.)

@ryanvolz Bummer. (BTW, I just noticed your affiliation — I'm a radio astronomer based at the Center for Astrophysics in Cambridge; I've been to Haystack a few times! Funny.)

@pkgw Ha! I've never actually visited the CFA but I am certainly well aware of it from my astronomer co-workers (I'm on the geospace radar side). It's no wonder that we've ended up working on similar segments of the software stack then.


Channel leakage over teams

I confirm (by marking "x" in the [ ] below):

[x] This is not a feature idea. Feature ideas go here: http://www.mattermost.org/feature-ideas/
[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/
[x] This is a product defect issue that can be reproduced using the steps listed below.
[x] I have read CONTRIBUTING.md.

Summary
When setting up the application so it uses more than one team, sometimes channels from one team are shown on another tab/team. When clicking this duplicate channel, a "You do not have permission" message is displayed and some channels hidden
Steps to reproduce
Please include:

Windows 10
MM Desktop 1.3.0
Mattermost Team Edition 3.1.0

Setup server with multiple teams and channels
Setup client to access multiple teams (File > Settings > Teams > + )
Reload the application (or close and reopen)
Select one of the teams on the welcome screen (Application automatically opens separate teams on each tab)
Switch to tab 2 (Expected behavior 1)
The channel from tab/team 1 is displayed. Click it.

Expected behavior
Expected behavior 1:
Only channels from team 2 should be displayed
Observed behavior
Channels from both teams are displayed.

This aren't two different servers, but one server and two teams on that one server right? Have you checked if it also happens in your browser (preferably chrome)

One server, two teams, yes.
Yes, it also happens on Chrome (Windows 10, Version 52.0.2743.116 m)
Best,
M
On 17. 08. 2016 09:22, Razzeee wrote:

This aren't two different servers, but one server and two teams on
that one server right? Have you checked if it also happens in your
browser (preferably chrome)
—
You are receiving this because you authored the thread.

Klaro spletna agencija d.o.o.
www.klaro.si https://www.klaro.si

Thanks for the report @mjekovec2! This was indeed [an issue https://mattermost.atlassian.net/browse/PLT-3255] that was fixed in Mattermost Team Edition 3.2.

Thx for a quick reply.
Best,
M
On 17. 08. 2016 14:55, Jason Blais wrote:

Thanks for the report @mjekovec2 https://github.com/mjekovec2! This
was indeed [an issue https://mattermost.atlassian.net/browse/PLT-3255]
that was fixed in Mattermost Team Edition 3.2.
—
You are receiving this because you were mentioned.

Klaro spletna agencija d.o.o.
www.klaro.si https://www.klaro.si


Set initial X and Y and keep move to side feature

Hi @YoshihideSogawa,
I am currently using this library to implement a floating view for my application, however my projects requires two funtionalities:

Initialize position to be at the bottom corner of the screen
If user drags the floating view to the middle of the screen, it will be moved to the closest left/right side instead of letting the view stay in the middle of the application.

What I have come to realize is that if I use:
options.floatingViewX = metrics.widthPixels - sizeOfChatHead;
options.floatingViewY = (int) this.getResources().getDimension(R.dimen.general_padding);

to set the icon to bottom left corner, I lose the second functionality.
If I don't set this option, it works the way I want it but it defaults the position on the top left corner of the screen.
Is there a way around this?

Issue is solved by updating to latest version.


Ground Truth Geneartion process taking too long

Hi,
First of all, thank you for your work! It is very inspiring.
I am in the process of ground truth generation, but completing each sequence takes 2~6 hours. Is it normal?

I was able to speed up the map_from_scans.py script significantly by moving some operations to the GPU. Would you be interested in a PR for this?

@EllingtonKirby sure! Would be really nice, you can create the PR and I will check it. Thanks!


NullPointerException in smembers()

Today I've noticed quite a few of these exceptions being logged on our servers:
Caused by: java.lang.NullPointerException
        at java.util.HashSet.<init>(HashSet.java:118)
        at redis.clients.jedis.Jedis.smembers(Jedis.java:1206)
        [...]

I have tried to reproduce it locally, but was unable to. However, it seems this could be fixed by adding a null check just before return new HashSet<String>(members); in smembers():
  public Set<String> smembers(final String key) {
    checkIsInMulti();
    client.smembers(key);
    final List<String> members = client.getMultiBulkReply();
    return new HashSet<String>(members);
  }

This was noticed in version 2.6.5 on Jedis running against Redis 2.8.4.

Thanks for finding missed spot!
Could you craft a pull request if you don't mind? Thanks in advance!

@HeartSaVioR @kennethjor I'm wondering why getMultiBulkReply would return null and not an empty list. Any clues about that?

@kennethjor I'm wondering if maybe you can catch the NPE in your application and print the smembers key value. Also it would help if you could paste the whole stack so we can track the source of the problem.

@marcosnils @kennethjor
I'm also wondering what situation causes getMultiBulkReply() to return null.
Anyway if there's a probability for members to be null, returning null is proper way instead of throwing NPE.

@HeartSaVioR @marcosnils I could craft a pull request. What should it return in this case? Null or an empty Set?
That's the entire stack trace. Everything below that is within my application and wouldn't really shed any light on it.
This only happens when the server is under high load, so it might be an issue with Redis itself? I wasn't able to reproduce it unfortunately, so I don't know what data would cause the issue. Though as you say, if there is an obscure chance it might return null, it'd be wise to catch that.

@kennethjor, do you see any errors in the redis logs? Maybe that can give
us a clue if something is not working properly.
El 16/01/2015 18:10, "Kenneth Jorgensen"<EMAIL_ADDRESS>escribió:

@HeartSaVioR https://github.com/HeartSaVioR @marcosnils
https://github.com/marcosnils I could craft a pull request. What should
it return in this case? Null or an empty Set?
That's the entire stack trace. Everything below that is within my
application and wouldn't really shed any light on it.
This only happens when the server is under high load, so it might be an
issue with Redis itself? I wasn't able to reproduce it unfortunately, so I
don't know what data would cause the issue. Though as you say, if there is
an obscure chance it might return null, it'd be wise to catch that.
—
Reply to this email directly or view it on GitHub
https://github.com/xetorthio/jedis/issues/858#issuecomment-70295684.

@marcosnils Sorry no I don't have a log from Redis at hand.

I'm happy to do a pull request for this, if you can tell me whether in this event an empty set or null should be returned.

@kennethjor I'd return an empty Array because if null is returned it's probable that we break our user's code.
@HeartSaVioR what do you think?

@marcosnils I'm OK with returning empty set.
Btw, I'm still curious what parameters cause null response.

@HeartSaVioR @marcosnils Unfortunately this was a random error we saw on our system, so I don't have the logs at hand.
I wanted to dig into this a little further to see why smembers(String) might return null.
First of all BuilderFactory.STRING_LIST.build has a direct check in there to passthru null values, which would indicate that null is considered a valid return value of that method. If this is true, then all methods using that builder should have null checks before constructing any such collection objects.
Secondly, in order for the builder to return null the getBinaryMultiBulkReply() must return null, which it might do from Protocol.process(RedisInputStream) if some went weird with any of streams it reads from.

@kennethjor @marcosnils
I'm sorry, but I found that null reply in array reply should be handled with "null".
http://redis.io/topics/protocol#array-reply
The concept of Null Array exists as well, and is an alternative way to specify a Null value (usually the Null Bulk String is used, but for historical reasons we have two formats).
For instance when the BLPOP command times out, it returns a Null Array that has a count of -1 as in the following example:
"*-1\r\n"
A client library API should return a null object and not an empty Array when Redis replies with a Null Array. This is necessary to distinguish between an empty list and a different condition (for instance the timeout condition of the BLPOP command).

Unless Redis replies "null reply" to smembers, there should be no chance to return null from two spots as @kennethjor memtioned.
(First spot is for null reply, second spot will throw JedisException before returning null.)
Anyway, as Redis documentation said, we may have to handle it with "null", not "empty set".
What do you think about it?

@HeartSaVioR Personally I think responding with null makes a lot more sense. Empty lists and sets may be convenient, but do not really add anything when null is the true nature of the reply. Let me know and I'll update the pull request accordingly.

Hello guys, I'm late on this, I'm sorry.
But looking into the PR, looks a lot verbose to handle null in many places and it may cause future problems if we forget about it.
I still didn't understand why getMultiBulkReply() would return null. If this occurs when Redis had some problem, it wouldn't be nice if we check null in getMultiBulkReply() and throw a proper Jedis Exception for it?
This defensive coding with null checks everywhere doesn't looks good to me.
@kennethjor @marcosnils @HeartSaVioR

@nykolaslima
If you read Redis protocol specification deeply, you can find out Redis defines "null bulk string" or "null array", "null value" in array, and force to treat it to null.
http://redis.io/topics/protocol
I addressed null array earlier, and here's another part of Redis protocol spec, null bulk string.
When an empty string is just:
"$0\r\n\r\n"
RESP Bulk Strings can also be used in order to signal non-existence of a value using a special format that is used to represent a Null value. In this special format the length is -1, and there is no data, so a Null is represented as:
"$-1\r\n"
This is called a Null Bulk String.
The client library API should not return an empty string, but a nil object, when the server replies with a Null Bulk String. For example a Ruby library should return 'nil' while a C library should return NULL (or set a special flag in the reply object), and so forth.

Therefore, returning null from getMultiBulkReply() is just a Redis protocol spec. If it isn't, we have a bug.

I understand your point @HeartSaVioR. So the PR looks good to me. I searched and didn't find any missing spot. :+1:


use gtag inside onReady

Hi, I need to set gtag adwords' config.
I'm using onReady option with global gtag:
onReady() {
  if (typeof gtag === 'function') gtag('config', 'AW-796275892')
}

There's another way?

hi @derevandal
can't you just use the normal configuration? not sure what you're trying to achieve

I need to setup analytics and adwords inside gtag.
Analytics ID starts with UA and AdWords with AW.
Both need config event.

do you have to add it once or for all of your calls?

all times when script started
Em qui, 5 de mar de 2020 16:51, Matteo Gabriele<EMAIL_ADDRESS>escreveu:

do you have to add it once or for all of your calls?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MatteoGabriele/vue-gtag/issues/90?email_source=notifications&email_token=AAKHIXEGOB2JTDONURIBCMLRF77DPA5CNFSM4K557IU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN6VBXA#issuecomment-595415260,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKHIXCUCJ5DIGKTYZWOU2TRF77DPANCNFSM4K557IUQ
.

what about this
Vue.use(VueGtag, {
  config: {
    id: 'UA-1234567-7'
  },
  includes: [
    { id: 'AW-12345678-7' }
  ]
})

https://matteo-gabriele.gitbook.io/vue-gtag/multiple-domain-tracking

it works!
thanks a lot! <3


[missing] requestFullscreen and related APIs improperly prefixed in JS

This issue was originally filed by<EMAIL_ADDRESS>
code sample:
if (document.fullscreenEnabled) {
  if (document.fullscreenElement == null) {
    document.documentElement.requestFullscreen();
  } else {
    document.exitFullscreen();
  }
}
run on dartium by dart vm, not run on chrome by dart2js.
test env: dart sdk and editor 1.8.3, dartium 38 with dart vm 1.8.3, chrome 38 and 39.

Please re-open if this is still the case with the latest 2.0.0-dev SDK.

This is still the case, and Terry just fixed it.

requestFullscreen exists in the Chrome IDLs as well as webKitRequestFullscreen.  However, requestFullscreen is only available if RuntimeEnabled=FullscreenUnprefixed which Chrome is normally not running so I'll disable this method and we'll use webkitRequestFullscreen which still works in Chrome.