Suggestion unnecessarily intrusive

Close the registry editor, and restart your computer

I found that restarting the Remote Desktop Services service (TermService) does the job. No need to reboot the server.

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

ID: 13054e70-b770-f803-4596-6d0ab3fe865c
Version Independent ID: 3e474a79-1129-fdf6-bbd4-a12e0e7ebe27
Content: Change the listening port in Remote Desktop
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/change-listening-port.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @lizap
Microsoft Alias: elizapo

(Ref. Pull Request #4646 )


proposal: runtime: add a default, non-destructive signal handler that creates a stack dump

Proposal Details
By default, Go produces a stack dump and exits on various signals:

A SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGSTKFLT, SIGEMT, or SIGSYS signal causes the program to exit with a stack dump.

It is commonly desired to create such a stack dump using a mechanism such as a signal but without exiting. Such thread dumps may be used to investigate hangs or as a rudimentary sampling profiler. Such built-in handlers are common in other languages such as Java (e.g. using SIGQUIT).
One way for a program to handle this requirement is to handle a signal such as SIGUSR1, generate a stack dump by calling pprof.Lookup on the goroutine profile and then write that to a file with Profile.WriteTo.
Alternatively, native debuggers and tools such as pstack may be used but they generally lack the detail of Go stack dumps.
This proposal is for Go to have a built-in signal handler that non-destructively writes a thread dump to stderr in response to a signal such as SIGUSR2. This would be a behavior change that may cause unintended side effects for any programs that already have a SIGUSR2 handler.

In theory you could build this as a library using runtime.Stack and signal.Notify.

I also think this is fairly simple to implement in a separate package, and one might depend on different conditions for it to trigger.  Here we are discussing signal handlers, but maybe someone else wants to create a dump when memory reaches a certain threshold, or some other condition is reached. I like the idea of a general runtime.Stack that is triggered by some custom condition and writes to a io.Writer of choice.


Add clang CI

THIS ONLY APPLIES TO THE CI, NOT RELEASES
Builds Northstar with the Microsoft provided clang-cl build.
Anything that downloads GH Actions artifacts like FlightCore (@GeckoEidechse) will need to be updated.
Alternative I could check for a way of only having a LLVM suffix for clang builds.

This PR would also need the required build to be changed

Anything that downloads GH Actions artifacts like FlightCore (@GeckoEidechse) will need to be updated.

FlightCore is the only application I'm aware of that downloads builds from CI. Will keep in mind o7


updating MRAN date

post build-section on jenkins revised, where it won't replace updated versions of packages with our fixed versions, changing the date on mran.

Coverage remained the same at 99.04% when pulling be778f2bb3a216687370d5519d94125f54c30620 on mhines-usgs:master into 99da6fa35a1c1b6f642b63624dd8207661076619 on USGS-R:master.

Coverage remained the same at 99.04% when pulling be778f2bb3a216687370d5519d94125f54c30620 on mhines-usgs:master into 99da6fa35a1c1b6f642b63624dd8207661076619 on USGS-R:master.


release-v1.12: back port #9509 http: Fix ASSERT failure and infinite loop when attempting to unset readDisable state on a closed connection

…eadDisable state on a closed connection. (#9509)
Description: Handle calls to ConnectionImpl::readDisable on Closed connections more gracefully. There are several places under source/common, including ClientConnectionImpl::onMessageComplete, where Connection::readDisable(false) is called on a loop to clear the readDisable state as part of the process of preparing upstream connections for reuse. It is possible to end up in an infinite loop if proxying an HTTP/1 response is framed by connection close, the call to onData triggers readDisable(true), and there is a pending PostIoAction::Close action. The closeSocket call on the upstreamConnection triggers the call to ClientConnectionImpl::onMessageComplete
Risk Level: medium
Testing: unit and integration tests
Docs Changes: n/a
Release Notes: n/a
Fixes #9508
Signed-off-by: Antonio Vicente<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

/assign @PiotrSikora

backport #9509

/azp run envoy-presubmit

/retest ci/circleci: coverage

The failing test is a KP: https://github.com/envoyproxy/envoy/pull/10287

Not sure what is missing. The request is not complete because of "[2020-04-20 19:26:30.184][14][debug][client] [source/common/http/codec_client.cc:124] [C0] protocol error: http/1.1 protocol error: HPE_INVALID_EOF_STATE"
The good part is that it is not a inf loop.
Will investigate.
[2020-04-20 19:26:29.182][22][debug][router] [source/common/router/router.cc:724] [C1][S554159968252536995] upstream timeout
[2020-04-20 19:26:29.182][22][debug][router] [source/common/router/router.cc:1564] [C1][S554159968252536995] resetting pool request
[2020-04-20 19:26:29.182][22][debug][client] [source/common/http/codec_client.cc:111] [C2] request reset
[2020-04-20 19:26:29.182][22][debug][connection] [source/common/network/connection_impl.cc:104] [C2] closing data_to_write=0 type=1
[2020-04-20 19:26:29.182][22][debug][connection] [source/common/network/connection_impl.cc:193] [C2] closing socket: 1
[2020-04-20 19:26:29.182][22][debug][client] [source/common/http/codec_client.cc:88] [C2] disconnect. resetting 0 pending requests
[2020-04-20 19:26:29.182][22][debug][pool] [source/common/http/http1/conn_pool.cc:136] [C2] client disconnected, failure reason:
[2020-04-20 19:26:29.182][22][debug][http] [source/common/http/conn_manager_impl.cc:200] [C1][S554159968252536995] doEndStream() resetting stream
[2020-04-20 19:26:29.182][22][debug][http] [source/common/http/conn_manager_impl.cc:1791] [C1][S554159968252536995] stream reset
[2020-04-20 19:26:29.182][22][debug][connection] [source/common/network/connection_impl.cc:104] [C1] closing data_to_write=0 type=2
[2020-04-20 19:26:29.182][22][debug][connection] [source/common/network/connection_impl.cc:682] [C1] setting delayed close timer with timeout 1000 ms
[2020-04-20 19:26:30.183][22][debug][connection] [source/common/network/connection_impl.cc:671] [C1] triggered delayed close
[2020-04-20 19:26:30.184][22][debug][connection] [source/common/network/connection_impl.cc:193] [C1] closing socket: 1
[2020-04-20 19:26:30.184][22][debug][conn_handler] [source/server/connection_handler_impl.cc:88] [C1] adding to cleanup list
[2020-04-20 19:26:30.184][14][debug][connection] [source/common/network/connection_impl.cc:549] [C0] remote close
[2020-04-20 19:26:30.184][14][debug][connection] [source/common/network/connection_impl.cc:193] [C0] closing socket: 0
[2020-04-20 19:26:30.184][14][debug][client] [source/common/http/codec_client.cc:124] [C0] protocol error: http/1.1 protocol error: HPE_INVALID_EOF_STATE
[2020-04-20 19:26:30.184][14][debug][client] [source/common/http/codec_client.cc:88] [C0] disconnect. resetting 1 pending requests
[2020-04-20 19:26:30.184][14][debug][client] [source/common/http/codec_client.cc:111] [C0] request reset
test/integration/integration_test.cc:244: Failure
Value of: response->complete()
  Actual: false
Expected: true
Stack trace:
  0x1366070: Envoy::IntegrationTest_ResponseFramedByConnectionCloseWithReadLimits_Test::TestBody()
  0x312f6b4: testing::internal::HandleSehExceptionsInMethodIfSupported<>()
  0x312107e: testing::internal::HandleExceptionsInMethodIfSupported<>()
  0x310b933: testing::Test::Run()
  0x310c51d: testing::TestInfo::Run()
... Google Test internal frames ...

[2020-04-20 19:26:30.274][14][info][testing] [test/integration/server.cc:221] stopping integration test server
[2020-04-20 19:26:30.279][14][debug][upstream] [source/common/upstream/upstream_impl.cc:250] transport socket match, socket test selected for host with address <IP_ADDRESS>:80
[2020-04-20 19:26:30.279][14][debug][client] [source/common/http/codec_client.cc:31] [C4] connecting
[2020-04-20 19:26:30.279][14][debug][connection] [source/common/network/connection_impl.cc:733] [C4] connecting to <IP_ADDRESS>:32931
[2020-04-20 19:26:30.279][14][debug][connection] [source/common/network/connection_impl.cc:742] [C4] connection in progress
[2020-04-20 19:26:30.280][14][debug][connection] [source/common/network/connection_impl.cc:581] [C4] connected
[2020-04-20 19:26:30.280][14][debug][client] [source/common/http/codec_client.cc:69] [C4] connected
[2020-04-20 19:26:30.280][16][debug][conn_handler] [source/server/connection_handler_impl.cc:335] [C5] new connection
[2020-04-20 19:26:30.280][16][debug][http] [source/common/http/conn_manager_impl.cc:259] [C5] new stream
[2020-04-20 19:26:30.280][16][debug][http] [source/common/http/conn_manager_impl.cc:708] [C5][S7148877827187577247] request headers complete (end_stream=true):
':authority', 'host'
':path', '/quitquitquit'
':method', 'POST'
'content-length', '0'

Not, stale. @lambdai any luck with the failing test?

@PiotrSikora  Sorry I have been working on 1.6. I didn't find an obvious error when I looked at this with my fragment time.

@antoniovicente I need your help. Can you share any light why the test is failing? Any suspicious PR should go with this PR?

/assign @antoniovicente

HPE_INVALID_EOF_STATE is set by the http_parser library.  I'm going to guess that the issue may be related to the version of http_parser used by 1.12 or envoy changes to correctly handle HTTP/1.0 responses without content-length.

HPE_INVALID_EOF_STATE is set by the http_parser library. I'm going to guess that the issue may be related to the version of http_parser used by 1.12 or envoy changes to correctly handle HTTP/1.0 responses without content-length.

Thanks! Since you mention http1.0 while the protocol in log is http1.1, maybe envoy 1.12 need extra steps to set up http1.0. I will run more experiment

The issue is with backend responses without content-length or transfer-encoding:chunked.  HTTP/1.1 prefers having transfer-encoding:chunked on responses like this one, but should accept ones without it.  In HTTP/1.0 transfer-encoding:chunked is not supported so framing by connection close is the only option if content-length is not available.
My guess is about http_parser version, but there may be some envoy specific changes also.  You may need help from people that have been involved with Envoy longer than I have.

The issue is with backend responses without content-length or transfer-encoding:chunked. HTTP/1.1 prefers having transfer-encoding:chunked on responses like this one, but should accept ones without it. In HTTP/1.0 transfer-encoding:chunked is not supported so framing by connection close is the only option if content-length is not available.
My guess is about http_parser version, but there may be some envoy specific changes also. Have you tried updating the version of http_parser dependency? You may need help from people that have been involved with Envoy longer than I have.

Did you try this?  Just making sure you're not blocked on me.

@lambdai any update?


Bumped-up versions

@saurabhagas @myronkscott @chrisdennis : FYI, updated to passthrough -pre17.

Note: PR build not passing because of a bug - see PR #2817 2817


Feature/catalogue toggle sort filter bar

Closes #1127

@nnn I added a few changes to the code here, mainly to fix syntax errors.

Comments from review mtg:

Remove blue bar / box background
Page title: API catalogue
Remove text helpers and icons for View, Filter
Remove helper icon for sort and rename Sort as Sort by
Remove the word Toolbar

Reassigning to @frenchbread, because @nnn made so many code change. Please review and test.

👍

What happened to the sorting feature here?

@brylie If I'm recalling correctly, @nnn removed sorting functionality since we were not able to fix it and decided to hide it for now to be able to make a release.

It looks like there was a regression added in the following commit:
https://github.com/apinf/api-umbrella-dashboard/pull/1165/commits/5f77c9e5ee0376a5a0abc2d5052206d7aee51ab1


ModuleNotFoundError: No module named 'aiohttp'

root@bbmachine:~/tools/OpenRedireX# python3 openredirex.py -h
Traceback (most recent call last):
File "openredirex.py", line 3, in
import aiohttp
ModuleNotFoundError: No module named 'aiohttp'

Hello
you can install this package with the below command:
pip3 install aiohttp

@simrotion13 try this
https://github.com/devanshbatham/OpenRedireX/issues/14

Closing this issue as I have updated the entire script. File a new issue if you face any problems running it


hardhat introduction

You submitted high quality work but I have chosen a different winner.  I have paid you out half the bounties worth for your efforts as a thank you for participating.


Creating a geometry from a pdf file through inkscape

I'm creating an issue as it will be better for discussing
Idea:
We could use this new svg functionality to show users how they copy copy a published tokamak geometry and easily reproduce it in tofu:

open inkscape and import an image of a tokmaka poloidal cross-section taken from a published article
draw the elements you are interested it
save as svg
open ipython, import tofu, load config from svg

What do you think ?
Do you think you could make a tuto video using fig 1 of the article attached (DIIID) and include it in the doc on the same page as the one you just created ?
DIIID.pdf
I don't know yet what the result should be,
Can you do a try or two trying to get a reasonable representation of the figure ?
It's also an opportunity to figure out what functionality ay be missing to make users' life easier.
It would be nice to get:

all PF coils
The double vessel (grey hash on the figure), as 2 vessels
The innermost vessel (what looks like a unique first wall approximation), as a third vessel

Just a first draft:
https://youtu.be/l6CSlLGDuV0

This is already very good 1
The main issue now is how to get the proper scale (important for R in toroidal geometry), since R = 0 does not appear on the axis of the figure.
Any idea ?

I propose: the user just draws a line between 2 points of known coordinates, and tells tofu about these coordinates, tofu will find the lin and points, and will deduce the scale and (r0, z0) from it.
I can try an implementation in ~1 hour

what about a bounding box? so a bezier curve with 4 points, with ID = "boundingbox" and when loading the config:
conf = tf.geom.Config.from_svg("from_pdf.svg", Exp="test", Name="test", boundingbox=[(0.7, -2), (2.8, 2)])

A bounding box is a good idea, but it requires that at least 4 points are known, whereas the line only requires 2 points and should be sufficient.
Since we do not know in advance what figures will be used and how many points are known, I guess the minimum information is needed, the better.
Can we do less  than 2 points ?
2 points = 4 coordinates
1 points + 1 length = 3 coordinates
Would it make sense to ask for the first point only the length of the line ? that could be sufficient too

do you know if it is possible to draw a single point in Inkscape?

Not as far as I know,
So i'm testing the line solution right now, I'll push in ~30 min and you'll tell me if it is practical (let's hope so :-))


Issue#1189: changes in arktos-up-scale-out-poc.sh for automation of local dev 1X1 scale-out setup

What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR automatically helps to set up local dev  1 X 1 scale-out cluster by adding the following three automation steps:

Automatically install Arktos network controller on TP node,
Automatically set podCIDR on RP node,
Automatically install flannel cni on RP node. Before daemonset is fully supported by Arktos, the simple daemonset-based flannel installation is not an option. As a work around, flanneld is installed and running as process on RP node.

Which issue(s) this PR fixes:
Fixes # 1189
Special notes for your reviewer:
this PR depends on following PRs in queue:
#1181
#1190
#1191
The step "Set up environment variables" for TP setup and RP setup in https://github.com/CentaurusInfra/arktos/blob/master/docs/setup-guide/scale-out-local-dev-setup.md needs to be updated, respectively.
The code changes are verified in PR owner's local dev 1 X 1 scale-out cluster.
Does this PR introduce a user-facing change?:
YES

/lgtm

/approve


Problem with Tabs component

Im not sure why, but tabs component not work.
I copy file structure from example https://github.com/Tommertom/svelte-ionic-app/blob/main/src/routes/components/tabs/ but im still getting error tab with id: "undefined" does not exist when i try to make any actions.

Hi there,
Can you share a minimal repo? Please note that the ion-tabs interface has changed, and the ionic-svelte demo app does not have the latest version
Please check -
https://github.com/Tommertom/ionic-svelte-tabs-howto
for the latest API

Thank for example repo, now i see what i need to do


Add linker root xml documentation

This change gives simple examples of rooting an assembly or type using
the xml root descriptor file.

@sbomer,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Beta

name: Ability to activate/deactivate diagnostic log ++
about: Resolve an issue and add an improvement to homebridge-cmd4-AdvantageAir.
title: "[Pull Request] Ability to activate/deactivate diagnostic log ++"
labels: pull-request
assignees: mitch7391

In order to minimize "write" events to the temporary directory, the diagnostic logging is deactivated by default. However, it can be re-activated, if required, via a suffix "-debug" to the IP address in the config file.  Moreover, the fresh getSystemData is checked and only write to disk if it is different from the cached myAirData.txt.
Some Linux distros do not have "/tmp" as temporary directory but has $TMPDIR defined and is pointing to a different directory.  In this version we will use $TMPDIR as the default temporary directory if defined, otherwise we will use "/tmp".
Is your pull request related to a problem or a new feature? Please describe:

Enhancement/new feature:
To minimize "write" events to the disk.

Issue:
AdvAir.sh fails with writing to "/tmp" denied in some Linux distros.

Describe the solution you'd have implemented:

To minimize write events to the disk by
(1) deactivating the diagnostic logging by default but can be activated, if required, by adding a suffix -debug to the IP address in the config file.
(2) checking the fresh getSystemData and only write to the disk if it is different from the cached myAirData.txt.

To resolve the writing to "/tmp" denied issue:
The issue was due to the absent of "/tmp" in some Linux distros but have $TMPDIR defined pointing to a different directory.  The possible solution is to use $TMPDIR as temporary directory if defined, otherwise use "/tmp".

Do your changes pass local testing:

[x] Yes, passed shellcheck, all unit tests and has been running flawlessly for couple of days on my E-zone system and JohnW's MyPlace system.
[ ] No

Additional context:

All enhancements/new features are under the hook changes, no user action is required.
However, if any diagnostic log is desired, activate it  by adding a suffix -debug to the IP address in the config file as shown below:

An additional Unit Test was also added to test this -debug suffix.

For debug, you might have been able to trigger of the debug flag in Cmd4
instead of creating another. Just a thought. This works as well.
John
On Wed, May 11, 2022 at 9:59 AM uswong @.***> wrote:

name: Ability to activate/deactivate diagnostic log ++
about: Resolve an issue and add an improvement to
homebridge-cmd4-AdvantageAir.
title: "[Pull Request] Ability to activate/deactivate diagnostic log ++"
labels: pull-request
assignees: mitch7391
In order to minimize "write" events to the temporary directory, the
diagnostic logging is deactivated by default. However, it can be
re-activated, if required, via a suffix "-debug" to the IP address in the
config file. Moreover, the fresh getSystemData is checked and only write to
disk if it is different from the cached myAirData.txt.
Some Linux distros do not have "/tmp" as temporary directory but has
$TMPDIR defined and is pointing to a different directory. In this version
we will use $TMPDIR as the default temporary directory if defined,
otherwise we will use "/tmp".
Is your pull request related to a problem or a new feature? Please
describe:

Enhancement/new feature:
To minimize "write" events to the disk.
2.
Issue:
AdvAir.sh fails with writing to "/tmp" denied in some Linux distros.
Describe the solution you'd have implemented:

To minimize write events to the disk by
(1) deactivating the diagnostic logging by default but can be
activated, if required, by adding a suffix -debug to the IP address in
the config file.
(2) checking the fresh getSystemData and only write to the disk if it
is different from the cached myAirData.txt.
2.
To resolve the writing to "/tmp" denied issue:
The issue was due to the absent of "/tmp" in some Linux distros but
have $TMPDIR defined pointing to a different directory. The possible
solution is to use $TMPDIR as temporary directory if defined, otherwise use
"/tmp".
Do your changes pass local testing:

Yes, passed shellcheck, all unit tests and has been running
flawlessly for couple of days on my E-zone system and JohnW's MyPlace
system.
No

Additional context:
To active the diagnostic logging, add a suffix `-debug' to the IP address
in the config file as shown below:
[image: image]
https://user-images.githubusercontent.com/96530237/167862733-44ab38b5-fc09-44af-a4c1-21b2bdecf8d2.png
You can view, comment on, or merge this pull request online at:
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60
Commit Summary

05aaa35
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/05aaa35b871189fae093fc21e1ae86e65a4f9159
for test on lights
1273d93
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/1273d93aa41419850e486b32896a745e3fe126af
test: add setLight, setTemp and fan + bug fix
f023134
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/f0231349a7870d05e762be432144b3ff291645ce
test: added sub-directory structure
df63561
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/df63561c94a30cfa0a52d2d29297e4b537479fe8
test: added sub-directory structure
22a2894
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/22a2894d798c8f852308aadfe8cf02996a978bba
test: added sub-directory structure
1bdf4f3
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/1bdf4f3e546508762cef56da8517507614a3a963
test: added sub-directory + test for lights
9d08504
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/9d08504edc04b96c5cb7a2a4fae0f3b9b2dc7dcf
test: added sub-directory structure
876ae90
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/876ae90b08a6134ab3b82d6070837b53be23c79b
test: added sub-directory structure
e5d96fd
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/e5d96fdf7cf370b96b33c8cb94fe7a78193fecda
test: added sub-directory structure
890a52e
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/890a52e2bd6e09133b29373a49537bb36488c3c9
test: added sub-directory + test for lights
d234a80
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/d234a8004139bd37dccd282d686dcf57186debcc
test: added sub-directory structure
884f487
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/884f4876ea6b42c5913b967f790b025dc1c3e9f4
test: added sub-directory structure
0f0e627
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/0f0e62727d22e35a58646e59de8aca6f973634d8
test: added sub-directory structure
18ec39f
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/18ec39f814acef6b6e025e7964195f9c817182c3
test: added sub-directory structure
3bc569a
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/3bc569af834e5d46c8d7beab15d18831905268e1
test: added sub-directory structure
3ed9d30
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/3ed9d30fa9052d5459197d570e69e948818c044c
test: added sub-directory structure
8f36020
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/8f360202781d67835730ae8af6f49fa737d941d3
test: added sub-directory structure
7bdb67e
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/7bdb67efc5c1067101c8b1a9bf9a14f5165fe097
test: added sub-directory + test on lights, etc
afc626b
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/afc626b463a0ba203904a86b663eef4ae0a10c0f
test: added sub-directory + test on lights, etc
c3e7fda
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/c3e7fdad87d4d37c39e83c81f61ad86de2f5e4d7
test: added sub-directory structure, etc
85dca04
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/85dca04e6fffa43aacf530bc0d283c0cbacbe94a
test: added sub-directory structure
aecb563
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/aecb563e0384dcbb5621532241cbd7de3974de63
test: NEW test on set target temperature
0a52a14
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/0a52a145a261d11d03ee3d60081787894edbf69f
test: added sub-directory structure
723e87b
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/723e87bac653562afb80398549da6c87b0cb280e
test: added sub-directory structure
0455ea0
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/0455ea002c9f3cb30a7c764c9522f0efc268de36
test: added sub-directory structure
3b313ad
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/3b313ad180ebafb54970b128a09dfebe6161561d
test: added sub-directory structure
2d93714
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/2d93714613f7afe9cd168970ca0234f63a57f5df
Performance enhancements for large AirCon systems
99ec0e8
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/99ec0e8d0119ec6ce86ee84175af07b9be2c1922
test: NEW test for large AirCon systems
08b6bc1
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/08b6bc10c18608176f99343528786fc34a4b87e8
Update BigAirConSystem.bats
2701bdb
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/2701bdb21bd43b54d626204dfb1cc17d05982719
Merge branch 'mitch7391:beta' into beta
9672aab
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/9672aabad04e20c30924c2020c4fd2966ceea4ba
bug fix - some "Set" does not write to server
babda0f
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/babda0fda3b031e1b0bb2244764dc099361fd994
bug fix - double quotes removed for numbers
730ca53
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/730ca5384b1299428ff5929f9b3a097e104b9056
bug fix - turn off countDownToOn when aircon is on
28c001f
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/28c001ffbf6e13e0f563f6c720c08f505ec57fa4
Merge branch 'mitch7391:beta' into beta
074d496
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/074d496c2839f6016b218cb07b171544ed680dac
Ability to activate/deactivate diagnostic log ++
7845e14
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/7845e147f5e96b1648e964a257c5b2d27a0cf2d6
Use $TMPDIR as temporary directory if defined
30d1204
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/30d12049bd2874a69590dd069cb140464bb61a72
Use $TMPDIR as temporary directory if defined
17ad6e5
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/17ad6e50b2c6e7bea1ebe429a22dfdf663ff8448
Use $TMPDIR as temporary directory if defined
9b2e207
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/9b2e207abaf30414f5079be738ec645d215b2b64
Use $TMPDIR as temporary directory if defined
d9346d7
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/d9346d76f95fdd2468391c82c1924f32ee92cb70
Use $TMPDIR as temporary directory if defined
a3dade0
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/a3dade008a99b13d492f0dfd18657214e5f796b6
Use $TMPDIR as temporary directory if defined
94f6560
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/94f6560a941eb30c43e415e81a551f13d84ac7c4
Use $TMPDIR as temporary directory if defined
f0c9368
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/f0c93689bda32082cc6d8e931530e68f4de5b892
Use $TMPDIR as temporary directory if defined
a305fa3
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/a305fa3a115143418fa57a32272cf411f837eed7
Use $TMPDIR as temporary directory if defined
3a3878e
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/3a3878ee76adc5de11301a2d67bfd58eec418c1d
Use $TMPDIR as temporary directory if defined
32479e8
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/32479e8cd05be571c5b772a3545c861309a84627
Use $TMPDIR as temporary directory if defined
7c72926
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/7c72926ed9674f468351e47497a0d0eadccce92f
Use $TMPDIR as temporary directory if defined
6e17933
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/6e1793349d35252890e3719db73f2d63dfaf1bf7
Use $TMPDIR as temporary directory if defined
eacec08
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/eacec08ddbc8a6fdd1b5b915b023ba7c20ee65bb
Use $TMPDIR as temporary directory if defined
0a5dcad
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/0a5dcaddf8a20f384187136bdbe23bff36e038bb
Use $TMPDIR as temporary directory if defined
8137c48
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/8137c48b5246d6aac08bf1413d500289d25130cd
Use $TMPDIR as temporary directory if defined
7462588
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/746258869a50c1a894aa776d38a436a60e77946d
Add IP-debug test & use $TMPDIR
2b72e0b
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/2b72e0b785783e6d008925ef9bed705360df4c16
Use $TMPDIR as temporary directory if defined
a0c6831
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/a0c6831c2d3783ac33c858404b8a1b802afef0f1
Use $TMPDIR as temporary directory if defined
979ee90
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/979ee9047db6108303e3bb797200bd9f251d347d
Use $TMPDIR as temporary directory if defined
8a7d417
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/8a7d4171a8010dbd86bdc5831f162db2c53b5943
Use $TMPDIR as temporary directory if defined
da8c0ba
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/da8c0ba7286767b50700674156e85ae5bcd60fa9
Use $TMPDIR as temporary directory if defined
69bc6a0
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/69bc6a02ea536e089fb9806807edd5943dfeb87f
Use $TMPDIR as temporary directory if defined
629bca3
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/629bca3a82857aba8940bbc3db5d3f056faa6a0e
Use $TMPDIR as temporary directory if defined
1b85d87
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/1b85d87af907f38710a8840fcaefde02166014c6
Use $TMPDIR as temporary directory if defined
93d67bb
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/93d67bb320175acf11453b867084909f55b99ec6
Use $TMPDIR as temporary directory if defined
182c241
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/182c241056129ac6b8daad1d509b3f8261008f26
This file been replaced with a new version
d4731ef
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/commits/d4731ef2411ea84a6a063468b677e78656820ab4
Use $TMPDIR as temporary directory if defined

File Changes
(29 files
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files)

M AdvAir.sh
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-573bdf7722be3241b74222b96704f0eb187adca833d5cadcd49d01b0cc77bd42
(140)
M test/AirConServer.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-5238dd18ef6366d156c227773996cb735f4a0d46313f62ea5dd047146522b929
(110)
M test/AirConServer.js
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-0e92e989766875672a5d08fc79457c8bbe47b8d2fff32ff63b422506d9b5598c
(27)
M test/BigAirConSystem.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-5951d1358013381338665e12f336c0f4f66ebfc65981322b6544aefa563a8977
(48)
M test/GetAc2CurrentTemperature.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-cdbcb647d314a603e1b949463d6c10b99e2ccae93f7a002e53e146ca09855272
(32)
M test/GetAirConConstants.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-f0a17e6362cace02b32eb58201914dd8ad85f70b3d2616f492fc79d87f8fdb9b
(36)
M test/GetBrightness.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-b42ae6cdb3db02021d5a7e208cab3bfd20e93c72d7d73b03a060368883ed8070
(20)
M test/GetCurrentDoorState.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-a78d78f51eccc9c28897511c71b429f475cf33615ed0b33671ccd6756be2a448
(16)
M test/GetCurrentHeatingCoolingState.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-dd937a6bcc9586c46aad68759c8979ba5248106518ad20e9ad9116c30026cd1d
(12)
M test/GetCurrentTemperature.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-7348015312ca990ef8dff9ecdf6a769aa144117d32b77bf6bcad9f4edf261a31
(32)
D test/GetCurrentTemperature.bats_old
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-86a9b5e4740848457aa9f94eda41ab649833c2c1a15be3fce7e0fab7eefc0f9a
(210)
M test/GetOn.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-21a8dbad2765cec3b67d9988b3a7e1a958667e52cbc9f54eae5e4e985d607921
(20)
M test/GetRotationSpeed.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-7eed8fc7abee882342d3d805b7854380a712be10d03cdb4a27eeb6528db74438
(12)
M test/GetSetRetry.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-a04319f31940b43ef6715b7f5a06b926c7cca420d908c1cd555fa461153191b3
(50)
M test/GetStatusLowBattery.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-e9ddeb9cedc5f3aa91f891ef90288c69596615611a1c61325a0a1d8ea06fabf3
(12)
M test/GetTargetDoorState.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-efe9200bc0b7777cef20a0d32d05fa48bbf80c659b751973535f30bf030bb4b3
(16)
M test/GetTargetHeatingCoolingState.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-b42cd01c42f2b3d30a3b6541eac75cdf48a04cca601f95ed61ef6ece24118b4d
(12)
M test/GetTargetTemperature.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-bbfd52203de16b9e959ffc2740a14a2c2ea6494a48d332606b5dfed5e74594fc
(12)
D test/GetTemperatureDisplayUnits.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-19cf55aa9f8ad72b786299ad0a6a032838f8f496e5200fa9ad8a6b8f67421dda
(27)
M test/InvalidOption.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-e63d7804b67711da4c04a9fb959915953956346700c29a4b38bbfa6f16a3ef9c
(115)
M test/SetBrightness.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-4e8d6690cc362adaf2f750c4ef17b1c4d593194a03234a680e4b1a55816c2d91
(20)
M test/SetOn.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-89ac6ccf8020f5268a4182a35a89cdc1d1922d86e819fbcfcb0606a8eb4dcd57
(25)
M test/SetTargetDoorState.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-28a24ce648b6a00d29052ae97ea7d23b3b36cfe571df39b32fc64f76deb9cd15
(16)
M test/SetTargetHeatingCoolingState.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-a39ffbe66ecd88351ef1652d4aa4f4afdc32fcf84c94cce9d43ec83b67655834
(12)
M test/SetTargetTemperature.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-63180eac9e70f444055162e4e53b7e165436c1a1dc33f2dcefd067c0de795543
(12)
M test/StartServer
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-6c43d9c961c782557af0bcb252cd447865e0cc6dabf6e3bb7995154290a33349
(15)
M test/StopServer
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-2bd6b3bf9da4607f3d272bbeca5fcd0ccf0274537caa600e32ea5b8c590cb1eb
(12)
M test/sampleTest.bats
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-d5e83812640954244478024aabc0521f28c03f319d2589acb96b037f2fa38c45
(16)
M test/setup
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60/files#diff-fd052f662a1e4154ab2c42a081a2e451d873b4102b1d9636c15cbd2f9e7fa0d3
(4)

Patch Links:

https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60.patch
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60.diff
—
Reply to this email directly, view it on GitHub
https://github.com/mitch7391/homebridge-cmd4-AdvantageAir/pull/60, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABSBCXZFAQC7DMWXOC2BZFDVJO4MNANCNFSM5VVBK2MA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

For debug, you might have been able to trigger of the debug flag in Cmd4
instead of creating another. Just a thought. This works as well.

The -debug suffix to the IP address is for the activation and deactivation of the additional general logging we coded in the AdvAir.sh during the development phase for MyPlace Extras.  General users do not need them but thought that it would be good to have the option to activate it just in case if they have any issue and we can check what is going on.

The Unit Test on Test homebridge-ui/server.js passed all if it is run on MAC but 15 out of 31 tests failed if run on RPi???
This is the log if Unit Test run on a MAC:

and this is the log if Unit Test run on RPi:

@uswong just catching up on this, looks like I should hold off on the merge at this point..?

Hi Mitch, you can go ahead to merge the PR.  The AdvAir.sh passed all unit tests with flying colors.

The issue is the test on  homebridge-ui which passed all tests when run in Mac but have some errors when run in RPi.  Apparently node_modules is platform dependant as stated by John in his server.js.

// node_modules is platform dependant. We need to figure this out
// in order for testing to work on all platforms

Thanks @uswong and sorry for the hold up on my end!


There's no user-friendly way to specify the model

User needs to be able to specify the model in a friendly way.  As a start/evolution for this, proposing that we restructure the yolo object detector model directory structure to separate out each set of model related files (anchors, classes, weights) in a separate directory.  Maybe something like this from the top level:

models

yolov3

anchors.txt
classes.txt
weights.h5

yolov3-tiny

anchors.txt
classes.txt
weights.h5

...

Then we could update the node to work from this to allow selection of the model at runtime.

@jamestharpe @bleggett - Will create a branch for this to start with the proposal above.  Let me know if you have any specific thoughts on usage/implementation.  Thanks.

Merged changes closing.


bug: the course content overlaps with the "Course Content" heading in show Courses

Describe the bug
When scrolling through the course content, the content appears behind the "Course Content" heading, making it look visually unappealing.
To Reproduce
Steps to reproduce the behavior:

Scroll through the courses page.
Observe that the course content scrolls behind the "Course Content" heading.

Expected behavior
The heading should remain visible, and the course content should not overlap or show behind the heading area. The content should scroll underneath without affecting the heading.
Screenshots or GIFs
Screencast from 2024-09-12 00-14-53.webm

-Browser: Chrome, Brave
-Version: latest

#1176 has a fix for this


Use Druid's extension loading for integration test instead of maven

Description
Currently, our integration test uses maven to pull in dependencies for some extensions instead of Druid's extension loading system. The discrepancy in how Druid loads extension dependencies between in production and in integration tests makes our integration tests less trust-able especially when it comes to class loading. This PR fixes it to use Druid's extension system for every extension.
This PR also cleans up a bit how integration test configuration system works.

Before this PR, some integration tests use a fixed loadList that is set in setupData in druid.sh. This loadList is not overrideable which is confusing and also hard to debug. This PR removes the fixed loadList.
docker-compose.override-env.yml is deleted. Every docker-compose file should support override-configs now.
An empty override.config.path is allowed now. environment-configs/empty-config will be used in that case.
This PR also removes unnecessary docker compose settings for custom-coordinator-duties and shuffle-deep-store groups. The docker compose setting should be used only when the test group requires extra nodes besides the default nodes defined in docker-compose.yml.

Key changed/added classes in this PR

copy_resources_template.sh
druid.sh

This PR has:

[x] been self-reviewed.

@clintropolis thanks for the review!


Fix runtests.sh on OS X

mktemp doesn't work without template on OS X.

@vkurchatkin Thanks for the quick PR, but a diff to fix this is already in flight and should land soon.

See f44e0fc

:+1:


Delightfulapps

Adds in https://delightfulapps.co to the dev directory under the company blogs section

Thanks Matt! 👋


Do we need to project mosaics before predicting birds?

The current snakemake workflow performs project_mosaics.py before predict_birds.py. For those colonies that have no georeferencing, this breaks the workflow and predictions are never made. There isn't any reason we can't run predictions on non-projected data, it just can't be used in bird-bird-bird or aggregated into the single .shp. I currently just added a raise value to more gracefully kill the job, but we need to decide if we want to make these predictions and stash them somewhere for other uses. For example, Lindsey often flies these colonies to get us rarer species.

I'm looking into dynamic DAGs in snakemake,
https://stackoverflow.com/questions/69044425/snakemake-ignore-failed-path-and-redefine-inputs-for-a-common-rule
so that we can 'branches' in our snakefile. We want to run predict_birds on all files, but don't need them all to end up in nest_detection.

All of the orthos should have georeferencing right? It just won't be as precise for the ones without ground control points. I've added #130 to address the orthos that are missing projections for some reason. If you agree please go ahead and close.

Everything is work now for all orthos after cleaning up missing projections.


Owned Proxy - consider improved set owner scripting

With forc releasing a proxy deployment feature; deploying and updating the proxy target is now handled by forc; however functionality to change the proxy owner is not included in the forc proxy deployment feature.
Either such functionality could be included in extending the forc proxy feature; or the script could remain in this repo.
Additional considerations:

https://github.com/FuelLabs/sway/pull/6294
mutlisigs as owners
predicates as owners

Awaiting forc release with https://github.com/FuelLabs/sway/pull/6069


Add back bits, semigroupoids, and streams

New versions of bits, semigroupoids, and streams were uploaded to Hackage, which all should work with GHC 8 (including their test suites).

Thank you! :+1:

Unfortunately not semigroupoids, see #1615.


Geom.line plot order seems odd.

Hello, and first, thanks for all your hard work.
I'm very new to the Julia/Gadfly/Juno ecosystem, I've been working in Ipython/numpy/matplotlib for some time, but I'm an engineering analysis person, not a software person.
I find this behaviour odd:
plot(x = [1,2,3], y = [1,3,2], Geom.line)
plot(x = [1,3,2], y = [1,2,3], Geom.line)
produce the same plot.
I would expect the line to be drawn (1,1) > (2,3) > (3,2) in the first case, and (1,1) > (3,2) > (2,3) in the second, but both plots draw the same line.
In a less trivial case, I would have expected a = linspace(0,2pi,50)
plot(x = cos(a), y = sin(a), Geom.line) to draw a circle, when the plot aspect ratio is correct. Instead the line appears to link the points in order of increasing x.

I'm running Julia 0.4.2, Gadfly installed through the Julia Pkg.add(), Packages updated as of yesterday (20160314).
Again, thanks for all your hard work.

You want Geom.path.  Geom.line will sort the data by x value.
On Tue, Mar 15, 2016 at 10:34 AM, RobertM314<EMAIL_ADDRESS>wrote:

Hello, and first, thanks for all your hard work.
I'm very new to the Julia/Gadfly/Juno ecosystem, I've been working in
Ipython/numpy/matplotlib for some time, but I'm an engineering analysis
person, not a software person.
I find this behaviour odd:
plot(x = [1,2,3], y = [1,3,2], Geom.line)
plot(x = [1,3,2], y = [1,2,3], Geom.line)
produce the same plot.
I would expect the line to be drawn (1,1) > (2,3) > (3,2) in the first
case, and (1,1) > (3,2) > (2,3) in the second, but both plots draw the same
line.
In a less trivial case, I would have expected a = linspace(0,2pi,50)
plot(x = cos(a), y = sin(a), Geom.line) to draw a circle, when the plot
aspect ratio is correct. Instead the line appears to link the points in
order of increasing x.
[image: circle]
https://cloud.githubusercontent.com/assets/17785367/13781284/2a7dbc26-ea99-11e5-8337-7cf216425ad5.png
I'm running Julia 0.4.2, Gadfly installed through the Julia Pkg.add(),
Packages updated as of yesterday (20160314).
Again, thanks for all your hard work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dcjones/Gadfly.jl/issues/814

Oops, palm-to-face.
Thanks


Something went wrong with QL

QuantumLeap used to work, but for some time now it returns "Something went wrong with QL. Error: SQLActionException[SQLParseException: Invalid index name: mtdefault]" when I try to access entity history.
QuantumLeap 0.7.6 with docker and docker-compose on debian 9.
orion
http://host:1026/v2/entities/test
{     "id": "test",     "type": "test",     "temperature": 19 }
http://host:1026/v2/subscriptions/test
{         "id": "5f6afd0271c7d684323e715c",         "status": "active",         "subject": {             "entities": [                 {                     "id": "test",                     "type": "test"                 }             ],             "condition": {                 "attrs": [                     "temperature"                 ]             }         },         "notification": {             "timesSent": 1,             "lastNotification": "2020-09-23T07:45:06.131Z",             "attrs": [                 "temperature"             ],             "attrsFormat": "normalized",             "http": {                 "url": "http://quantumleap:8668/v2/notify"             }         }     }
quantum leap
http://host:8668/v2/entities/anything
(with any entity, existing or not)
"Something went wrong with QL. Error: SQLActionException[SQLParseException: Invalid index name: mtdefault]"
http://host:8668/version
{ "version": "0.7.6" }
http://host:8668/health
{ "status": "pass" }
200
Docker-compose log
quantumleap_1       | Something went wrong with QL. Error: SQLActionException[SQLParseException: Invalid index name: mtdefault]
quantumleap_1       | Traceback (most recent call last):
quantumleap_1       |   File "/src/ngsi-timeseries-api/src/reporter/query_1T1ENA.py", line 45, in query_1T1ENA
quantumleap_1       |     entities = trans.query(attr_names=attrs,
quantumleap_1       |   File "/src/ngsi-timeseries-api/src/translators/sql_translator.py", line 713, in query
quantumleap_1       |     entity_type = self._get_entity_type(entity_id, fiware_service)
quantumleap_1       |   File "/src/ngsi-timeseries-api/src/translators/sql_translator.py", line 1073, in _get_entity_type
quantumleap_1       |     self.cursor.execute(stmt, [entity_id, ])
quantumleap_1       |   File "/usr/local/lib/python3.8/site-packages/crate/client/cursor.py", line 53, in execute
quantumleap_1       |     self._result = self.connection.client.sql(sql, parameters,
quantumleap_1       |   File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 331, in sql
quantumleap_1       |     content = self._json_request('POST', self.path, data=data)
quantumleap_1       |   File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 458, in _json_request
quantumleap_1       |     _raise_for_status(response)
quantumleap_1       |   File "/usr/local/lib/python3.8/site-packages/crate/client/http.py", line 187, in _raise_for_status
quantumleap_1       |     raise ProgrammingError(error.get('message', ''),
quantumleap_1       | crate.client.exceptions.ProgrammingError: SQLActionException[SQLParseException: Invalid index name: mtdefault]
quantumleap_1       | host - - [23/Sep/2020 07:56:44] "GET /v2/entities/anything HTTP/1.1" 500 -

Hello @josselin-pierre, thanks for using QuantumLeap. The error trace hints at a problem with your Crate schema. Can you check if there's a schema called mtdefault? My guess is that all your entities where in that schema and at some point some other process or script dropped the schema? Or did you upgrade Crate skipping a major version?

@c0c0n3 Thank for your reply, i'm using Crate 3.1.6 and I haven't upgraded it.
But i have probably upgraded quatum leap from 0.7.5 to latest.
Sorry but i am not familiar with crate, how can i connect to it to do a query ?

Thank for your reply

Pleasure!

using Crate 3.1.6 and I haven't upgraded it.
upgraded quatum leap from 0.7.5 to latest.

Okay, there could be a QuantumLeap backward compat issue but let's first try to rule out the obvious, i.e. making sure the schema is there. You should be able to just browse to the Crate admin console at http://your-crate-host:4200---assuming you deployed vanilla Crate without tweaking any config. From there you should be able to see what tables and schemas are in your DB.

A graphical interface, better than expected!
Here are the existing tables in Crate :

There is indeed a table mtdefault.ettest :

Data are correctly saved in Crate :

@josselin-pierre thanks for this. Is there any chance you could post here your docker compose file too? That'd help us debugging...

@josselin-pierre i would revert to 0.7.5, i don't think - also by doc - we support anymore crate 3.1.6 with newer versions

@c0c0n3 sure
.env
https://pastebin.com/vrTVu3AN
docker-compose.yml
https://pastebin.com/khmhR5Cp
@chicco785
I tried to revert QL to 0.7.5 but it still not working.
I also tried to upgrade Crate to 3.3.5, same problem.
But if it's a specific problem don't bother, I've deployed a new clean install of all modules and it's working again.
But this time with QL 0.7.6 and Crate 3.3.X and I froze versions so that it doesn't happen anymore!

But if it's a specific problem don't bother, I've deployed a new clean install of all modules and it's working again.

Glad to hear that! Also I tried to reproduce myself using the docker compose file you posted above, but everything went smoothly, I could create a default tenant with test entities and then retrieve the entities through the API. If I had to guess, I'd say the backing Lucene index on  your old/data got corrupted, but have no idea how or why.
Since it doesn't look like there's anything we can do about this, I'm closing this issue. @josselin-pierre please feel free to reopen it if you think we have a backward compat problem and we'll dig deeper.


Cosmwasm: (HAL-03) NEW QUERIES ARE NOT ADDED INTO THE HANDLER

Summary
In the recent branch, SlashWindow query has been added. SlashWindow
queries the current slash window progress of the oracle. However, the
query is not added into the wasm handlers.
Proposal
It is recommended to handle all available GRPC queries through wasm.

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Is there  a way for cosmwasm smart contract to automatically access all SDK queries?

Is there a way for cosmwasm smart contract to automatically access all SDK queries?

Not right now, but with generics we could build something ^^

I think @gsk967 did it.


Best way to extract all Fantasy Scoring from NFLGame

I am still fairly new to Python and Git, if this isn't the right location to post this question please instruct me.
I wish to extract all scoring play and apply a standard FF scoring schema to compare actual versus projection.  Surprisingly enough I was expecting something in the cookbook but maybe I didn't find it.
So how can I load all scoring play for Week 1 2017 in a Pandas DF ?
EDIT: Here the code I have so far, just looking for advice.
import nflgame

players = nflgame.combine_game_stats(nflgame.games(2017, 1))

scoring = {
    # Passing
    'passing_yds' : lambda x : x*.04,
    'passing_tds' : lambda x : x*4,
    'passing_twoptm'  : lambda x : x*2,
    # Rushing
    'rushing_yds' : lambda x : x*.1 + (2 if x >= 100 else 0),
    'rushing_tds' : lambda x : x*6,
    'kickret_tds' : lambda x : x*6,
    'rushing_twoptm' : lambda x : x*2,
    # Receiving
    'receiving_tds' : lambda x : x*6,
    'receiving_yds' : lambda x : x*.1 + (2 if x >= 100 else 0),
    'receiving_rec' : lambda x : x*.5,
    'receiving_twoptm' : lambda x : x*2,
    # Various
    'fumbles_lost' : lambda x : x*-2,
    'passing_ints' : lambda x : x*-2,
}

def score_player(player):
    score = 0
    for stat in player._stats:
        if stat in scoring:
            score += scoring[stat](getattr(player,stat))
    return score

for p in players.limit(10):
    score = score_player(p)
    print (p,score)

You may get more advice on a site like stackoverflow or https://softwareengineering.stackexchange.com.
This LOOKS like a good start, knowing nothing of fantasy football .
If you are looking for something you can just plug-n-play you may try browsing the network of repo's that have forked.


valueEnum支持自定义色值,status值不区分大小写

#575  #642

Codecov Report

Merging #660 into master will increase coverage by 0.05%.
The diff coverage is 10.00%.

@@            Coverage Diff             @@
##           master     #660      +/-   ##
==========================================
+ Coverage   17.17%   17.22%   +0.05%
==========================================
  Files          21       21
  Lines        1153     1155       +2
  Branches      378      378
==========================================
+ Hits          198      199       +1
- Misses        955      956       +1

Impacted Files
Coverage Δ

src/component/util.tsx
28.57% <0.00%> (ø)

src/component/status/index.tsx
25.00% <14.28%> (+8.33%)
:arrow_up:

Continue to review full report at Codecov.

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

我们换了新仓库，有兴趣搬一下吗？

我们换了新仓库，有兴趣搬一下吗？
我复制代码提交了一份新的，有个测试是旧写法没通过，不知是否这样就行了


Refactor to fix compile error with noImplicitAny

Some refactorings

Introduced index signature.
Fixed to use ES6 Map properly.
Fixed type signature.
Fixed to use foo.bar instead of foo[bar]

All of these changes fix compile errors which occur if noImplicitAny in tsconfig.json is set to true.

@katainaka0503,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

More types :+1:

👍

👍

LGTM, thanks 👍

Merged. Thanks @katainaka0503 for the PR.

No problem, tho keep in mind that larger PRs esp. those that cut across different owners are harder for us to coordinate and it's better send a heads up note first

I am terribly sorry.


Bootstrap metadata generation to NodeJS

Port metadata generation (package.js) from Packman to GAPIC

TODO:

Implement index.js generator
Retrieve metadata from a static file instead of hard-coded in generator

Current coverage is 82.20% (diff: 94.59%)

Merging #847 into master will increase coverage by 0.03%

@@             master       #847   diff @@
==========================================
  Files           323        325     +2
  Lines         12514      12551    +37
  Methods           0          0
  Messages          0          0
  Branches       1641       1642     +1
==========================================
+ Hits          10282      10317    +35
- Misses         1804       1806     +2
  Partials        428        428

Powered by Codecov. Last update 0c874d6...5c76cd3

@garrettjonesgoogle I think we're going to keep GAPIC metadata generation separate from MetadataGen. AFAIK, there are no features in the metadata generator tool useful for GAPIC metadata that aren't already available in the GAPIC code generator tool.

@geigerj oh, that was unclear. I think the two things need to be better distinguished by their names then.

@garrettjonesgoogle Ummm any suggestions on the class name?
http://www.wordhippo.com/what-is/another-word-for/metadata.html

"metadata" is the correct term, it just needs to be qualified (I just made a couple suggestions making use of "package metadata"). Potentially the existing metadatagen directory should be renamed grpcmetadata or something like that.

Filed an issue to rename metadatagen: https://github.com/googleapis/toolkit/issues/849

Is this an urgent PR? Can't the rename be done in this PR?

Sure it can be done in the same PR. I was thinking of separating the renaming stuff from the new stuff but it maybe unnecessary.

@garrettjonesgoogle @geigerj @landrito I think I have addressed all comments. PTAL.

@garrettjonesgoogle @jmuk Comments addressed. PTAL.

The generator changes LGTM.


Use Docker Compose to speed up relayer setup

Currently several steps are required to run the relayer and, depending on the host environment, different issues may arise. Moreover, the section "Running Relayer as Docker container" of the documentation seems not up to date:

During the build of Relayer.Dockerfile the process throws on this step
RUN --mount=type=cache,target=/var/cache/yarn \  bash -i -c "yarn" \   && rm -rf /var/lib/yarn/lists/*
the final CMD is commented

My suggestion is to add a docker-compose.yml file to orchestrate all the components of the relayer (prover + db + relayer core service), in order to simplify the setup process.

Thanks for the feedback, this will be useful to decentralize our relayer. The docker file is a bit out of date as well.

@guidocazzaniga Can you run the Dockerfile again and share the logs?

Sure, sorry for the late reply. When I build the Docker image, the process stops with the following error:
> [stage-0  7/12] RUN --mount=type=cache,target=/var/cache/yarn     bash -i -c "yarn"     && rm -rf /var/lib/yarn/lists/*:
0.222 bash: cannot set terminal process group (1): Inappropriate ioctl for device
0.222 bash: no job control in this shell
0.502 yarn install v1.22.22
0.601 [1/5] Validating package.json...
0.611 [2/5] Resolving packages...
1.010 [3/5] Fetching packages...
63.37 error Command failed.
63.37 Exit code: 128
63.37 Command: git
63.37 Arguments: clone https://github.com/sampritipanda/snarkjs.git /usr/local/share/.cache/yarn/v6/.tmp/474b65c5f6b3eb2df7af062f1c2abfa6
63.37 Directory: /relayer
63.37 Output:
63.37 Cloning into '/usr/local/share/.cache/yarn/v6/.tmp/474b65c5f6b3eb2df7af062f1c2abfa6'...
63.37 error: 6476 bytes of body are still expected
63.37 fetch-pack: unexpected disconnect while reading sideband packet
63.37 fatal: early EOF
63.37 fatal: fetch-pack: invalid index-pack output
63.37 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
Relayer.Dockerfile:29
--------------------
  28 |     # Install Yarn dependencies with caching
  29 | >>> RUN --mount=type=cache,target=/var/cache/yarn \
  30 | >>>     bash -i -c "yarn" \
  31 | >>>     && rm -rf /var/lib/yarn/lists/*
  32 |
--------------------
ERROR: failed to solve: process "/bin/bash -c bash -i -c \"yarn\"     && rm -rf /var/lib/yarn/lists/*" did not complete successfully: exit code: 128

Unfortunately I'm currently working on Windows 10 on my home network (no proxies), but my colleague noticed the same issue on macOS as well (on a different network).

Resolved on the latest version of MacOS with cb85247.


MSID: 91678 Version: 1 DOI: 2<IP_ADDRESS>0647

[PLACE MANUSCRIPT AND EDITOR DETAILS HERE WHEN AVAILABLE] See step 3
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=91678)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/91678/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[ ] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>0647)
[ ] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/91678/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/91678)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/91678

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/91678

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/91678/v1/91678-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/91678)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

elocations missing from references.


Failed to load the remote-sync package

Whenever I start Atom, it shows up a FatalError Notification with the following message:

Failed to load the remote-sync package
Unexpected token } in JSON at position 11178 in /Users/maximilianschmidt/.atom/packages/remote-sync/package.json

Stack Trace:

SyntaxError: Unexpected token } in JSON at position 11178
at JSON.parse ()
at parseObject (/Applications/Atom.app/Contents/Resources/app/node_modules/season/lib/cson.js:58:25)
at parseContentsSync (/Applications/Atom.app/Contents/Resources/app/node_modules/season/lib/cson.js:72:22)
at Object.readFileSync (/Applications/Atom.app/Contents/Resources/app/node_modules/season/lib/cson.js:184:20)
at PackageManager.loadPackageMetadata (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:843:33)
at PackageManager.loadAvailablePackage (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:586:29)
at config.transact (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:530:20)
at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app/src/config.js:342:22)
at PackageManager.loadPackages (/Applications/Atom.app/Contents/Resources/app/src/package-manager.js:528:23)
at /Applications/Atom.app/Contents/Resources/app/src/atom-environment.js:821:34
at /Users/maximilianschmidt/.atom/packages/remote-sync/package.json:1:1

Steps to reproduce:

Start Atom

Installed Packages:

Community Packages (18) /Users/maximilianschmidt/.atom/packages
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>(disabled)
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├── remote-sync
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

That's kinda strange, have you been changing anything manually in the .atom folder? That file gets updated automatically by apm, and other than that it hasn't been changed in over a year, so I suspect this is in fact an apm/npm issue.
You should try uninstalling and reinstalling remote-sync. I imagine that will resolve it. If it still happens after that, then please attach the file: /Users/maximilianschmidt/.atom/packages/remote-sync/package.json.
Cheers.

I did not manipulate the package.json manually. I'm developing packages myself, therefore I know about the sensitivity of such files.


Feature. Add a refresh button to the video screen

When on this screen, sometimes the videos shown are not the most recent. User needs to go back to the main screen, click the "current season" art to see the most recent (or live) videos.
There should be a refresh button, or when the user clicks the GrandPrix name on the left menu, it should refresh the video contents

Technically there is a auto-refresh every 1 minute... I don't really know if a refresh button would be the best option there

Maybe a visual progress bar before the next refresh? 1 minute just seems like a lot to wait. Sometimes i open the app and it goes straight to that screen (if i have used the app recently). So, having to stare at the screen for almost 1 minute is a bit awkward

Don't know for you guys, but yesterday's (last) apk does refresh very fast, in fact so fast that i cannot choose items on the most right (oldest) anymore :) 1, minute refresh was better. Just mine view on that.


Add Nakadi-Docker based integration tests

Adds docker-compose based integration tests for the three httpclient integrations.
Closes #271 , builds ontop of #276 (to be rebased once merged)
Because of cyclic dependencies (fahrschein -> fahrschein-http-simple -> fahrschein-test-support -> fahrschein), I cannot put the AbstractRequestFactoryTest into fahrschein-test-support, but we could put the e2e-suite into a new module fahrschein-e2e-test, WDYT?
The metadata chages are also up to debate, I just realised there were some missing fields when running jackson with FAIL_ON_UNKNOWN_PROPERTIES.
TODO

[x] Documentation (README)

:+1:

👍


Enter district information for Pittsfield.

No regulations other than "Flood Hazard and/or River Corridor Protection Area" bylaws, which are also empty. Future Land use districts are included in town plan, but with no dimensional aspects. No GIS maps included in VCGI.


python bindings: Node

Query node properties (operation, neighbours, ...) given a Node and a circuit.

Closing this in favour of https://github.com/CQCL/tket2/issues/671


fs.glob() takes >3 minutes on a few thousand files

What happened:
globing a few thousand files consistently takes 3-5+ minutes
What you expected to happen:
would expect it to take seconds, is this unreasonable?
Minimal Complete Verifiable Example:
%%time
from adlfs import AzureBlobFileSystem

container_name = "isdweatherdatacontainer"
storage_options = {"account_name": "azureopendatastorage"}
fs = AzureBlobFileSystem(**storage_options)
files = fs.glob(f"{container_name}/ISDWeather/year=*/month=*/*.parquet")

Anything else we need to know?:
Environment:

Dask version: latest on pypi
Python version: 3.8.5
Operating System: macOS
Install method (conda, pip, source): pip

It depends on the size of the files and your connection bandwidth.  Have you tried this operation using the Azurite storage?  That would eliminate bandwidth issue.

@lostmygithubaccount -- is this still a concern?

sorta but closing until I can investigate more - appreciate all the work on this package, it's great!


ERA-10348: Support EFB schemas in ER > Field

What does this PR do?

Adds support for Text types
Adds feature flag logic
Adds Schema selector under settings pane

How does it look
Form with a schema with short and text type fields

Schema selector

Relevant link(s)

Tracking tickets: ERA-10348
Hosted demo environments

I just noticed I didn't before 😅 The field to select the schema is exactly over the view where QA should be testing the correct rendering of the form:

I don't think that's a good idea, we want them to be able to see how the full event view will show to the user. We should put that field somewhere else, maybe in the settings tab?

I just noticed I didn't before 😅 The field to select the schema is exactly over the view where QA should be testing the correct rendering of the form:
I don't think that's a good idea, we want them to be able to see how the full event view will show to the user. We should put that field somewhere else, maybe in the settings tab?

Sure I agree, but not sure what you refer by settings tab 😅

Before reviewing, I see some conflicting files 👀

@tiffanynwong you may want to test this!


RFC: Auditing CNAMEs

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

For the resolution check, would we simply do a DNS lookup against the CNAME to ensure that it resolves (vs an NXDomain)?
I suppose that when we load the zone, we could run that process (or kick off a background process) that would set some kind of flag or message on the record set to indicate that it was not resolved?
A few questions:

What would this status be called, "Unresolved"?
How should that materialize to the user in the user interface?
Would we provide a "button" in the user interface to allow people to run an "Audit"?
We would similarly provide an API endpoint.
Would we want to generate a "report" separate from somehow decorating the records to indicate they don't resolve?

For implementation, we could just use straight java to run the CNAME audit in parallel.

Close as this is moved to the new rfcs repo


Unable to manage machines from Cluster Management UI

Setup

Rancher version: v2.6-head

Describe the bug
The three-dot menu next to a machine in the machine pool view isn't working currently.
To Reproduce

From the Cluster Management UI, click on a cluster to go to a URL similar to https://RANCHER_URL/dashboard/c/CLUSTER_ID/manager/provisioning.cattle.io.cluster/fleet-default/CLUSTER_NAME#machine-pools
Click on the three dots next to a machine in a pool.

Result
Nothing happens in the UI and the following error appears in the browser console:
TypeError: Cannot read properties of undefined (reading 'top')
    at c (position.js:19:17)
    at n.fitOnScreen (position.js:75:15)
    at f.updateStyle (ActionMenu.vue:149:1)
    at f.<anonymous> (ActionMenu.vue:102:1)
    at Array.<anonymous> (vue.runtime.esm.js:1980:12)
    at ie (vue.runtime.esm.js:1906:12)

Expected Result
The menu to delete the machine or SSH to the machine should appear.
Screenshots

Note to QA. These two issues are most probably the same issue

#5710
#5719

Verified on v2.6-head https://github.com/rancher/rancher/commit/d5e68641e8f5f2d05bfa82731e5d8148e0f45017.
ENVIRONMENT DETAILS

Ubuntu 20.04: Docker Install
Rancher version: v2.6.5-rc3 and v2.6-head https://github.com/rancher/rancher/commit/d5e68641e8f5f2d05bfa82731e5d8148e0f45017
Browser: Chrome

TEST RESULT
PASS
VERIFICATION STEPS

Setup Rancher and create a user with Standard global permissions.
As the created standard user, navigate to Rancher UI > Cluster Management > Create.
Create an RKE2 cluster and navigate to the cluster.
Click on the ellipses on each of the nodes in the Machine Pool; results below:


Problem with two-way binding

I am having something like
$http.get(path)
    .success(function(data){
    $scope.data = data;
    $rootScope.$broadcast('elastic:adjust'); // as mentioned in the docs
  });

Here data is modelled to the textarea
But this is an issue as expected. Sometimes the textarea is set to precise length, and sometimes it fills up the entire page (almost 4 times the expected size). Is this something to do with the $digest cycles?

Hi
Did you get any further with this? Be good to see a plunker... And thanks for the contribution :+1:

Archiving repository.


[Discussion] parse, toPlainJson, toPlainArray, toPlainMap, toPlainSet should not return undefined

Returning undefined instead of throwing an error is an old approach and quite annoying because it requires a !== undefined check or non-null assertion on every call.
I would like these methods to throw instead of returning undefined.
This will not change that, for example, array elements that fail to deserialize get substituted with undefined.

WIP: https://github.com/JohnWeisz/TypedJSON/compare/master...MatthiasKunnen:parser-no-undefined


Syncer tweaks

Codecov Report

Merging #390 (e65264d) into main (ae1a682) will decrease coverage by 0.0%.
The diff coverage is 0.0%.

:exclamation: Current head e65264d differs from pull request most recent head e0ca59f. Consider uploading reports for the commit e0ca59f to get more accurate results

@@           Coverage Diff           @@
##            main    #390     +/-   ##
=======================================
- Coverage   13.6%   13.6%   -0.0%
=======================================
  Files         27      27
  Lines       7558    7574     +16
=======================================
  Hits        1028    1028
- Misses      6530    6546     +16

Impacted Files
Coverage Δ

src/syncerd/bitcoin_syncer.rs
0.0% <0.0%> (ø)

src/syncerd/monero_syncer.rs
0.0% <0.0%> (ø)

src/lib.rs
11.9% <0.0%> (-0.2%)
: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 ae1a682...e0ca59f. Read the comment docs.


Can't save Redis

Hello,
i want to keep routing prettey urls in redis like: pretty-url-value => actionName. So after every update on record in db i have to save data for Redis. I'm using Predis client and i found that i can run raw command eg: $client->executeRaw(['SAVE']);
How can i execute raw command using this lib ? Or if there is a better way to do that ?

@skrobek Do you still have this issue? If not please close this issue.


[MRG] Fixes

Minor fixes.

addresses https://github.com/mne-tools/mne-python/pull/2234#issuecomment-114761718

Let me know when fixed

@agramfort fixed. tested it and it works

Thanks


Login with custom JAAS module results in "No LoginModule found..."

I'm using the bug template for this - but this is clearly more of a question. TLDR; how do I add or load a JAAS module?
Describe the bug
I developed a JAAS LoginModule and configured Ghidra to load it when users login. However when I connect to the server and login I get the error in the server log:
ghidra_server | 81/0|INFO  Authentication callbacks requested by <IP_ADDRESS> (GhidraServer)
ghidra_server | 81/0|INFO  Repository server handle requested<EMAIL_ADDRESS>(RepositoryManager)
ghidra_server | 81/0|INFO  Login failed (No LoginModule found for org.test.ghidra.KeyCloakLoginModule<EMAIL_ADDRESS>(RepositoryManager)

There is a exception being thrown in JAASAuthenticationModule.authenticate from loginCtx.login().
I've tried to get Ghidra to find the module by:

Adding the .jar containing org.test.ghidra.KeyCloakLoginModule in the patch/ folder.
Setting wrapper.java.additional.###=-Dclass.searcher.search.all.jars=true in server.conf.
Adding the .jar path to the classpath.frag file.

To Reproduce
Steps to reproduce the behavior:

Add a .jar with a JAAS LoginModule to Ghidra ( some how? ).
Open Ghidra
Create a new Shared Project
Enter user credentials
Login fails
See error in server logs & red-text on login prompt.

Expected behavior
The LoginModule class is loaded and invoked.
Screenshots
N/a
Attachments
Attached are my jaas.conf ( added .txt so I could attach it here. ) and server.conf
jaas.conf
server.conf
Environment (please complete the following information):

OS:  Ubuntu 20.04
Java Version: openjdk 11.0.12
Ghidra Version: 10.0.4
Ghidra Origin: Github assets ( here )

I've also switch to using the blacktop/ghidra:10.0.4 docker image to make sure I'm trying this in a clean environment.

have you tried putting the jar in Ghidra/Features/GhidraServer/lib?

@dev747368 This does work. Thanks. Adding them directly to the server.conf is the only thing I didn't try.


Update configuration philosophy

To be honest I'm not sure those explanations are super necessary. This is Philosophy after all. I think they're a bit too detailed and distracting compared to other points.


Separate Invocation Image from Artifacts

The current spec includes all artifacts used to deploy a bundle within the invocation image. This means that any change to a helm chart, a compose file, an OPA Bundle will require the invocation image to be rebuilt. It also avoids the ability to have common invocation images shared across different bundles, or have the common invocation image signed by an external entity.
The proposal is to separate invocation images to be just the binaries, and possibly mix-ins required to do a deployment, from any other artifact used for that deployment.
Scenario: Azure, AWS, Google make a invocation images available for deploying to their respective clouds. The cloud specific invocation images have mix-ins packaged within the invocation image. The invocation images are signed by the respective clouds, so they know what is capable.
A developer wishes to deploy an app that includes Kubernetes, storage, IP addresses, and a Redis Cache instance.
They reference the cloud providers invocation image.
The Helm chart and ARM template are also referenced in the bundle.
When the bundle is "built", the Helm chart is pushed to the registry as an individual OCI artifact type. The ARM template can be pushed as an OCI artifact type, or it could be pushed as a cnab.artifact, meaning CNAB provides for generic artifacts that don't yet have an OCI CLI.
An OCI Index is created that references these artifacts, with a reference to an invocation image, and the images used to run the app in AKS.
Any CNAB configuration information is placed in the invocation images config. Alternatively, the specific CNAB config for this bundle could be a separate artifact as well.
By separating these elements out, we get:

Builds don't actually require docker build. In most cases, a developer is likely referencing existing invocation images and only iterating on the artifacts used for the deployment
Invocation images are well known, signed and approved by the different clouds, or different IT shops of companies. They don't have to worry about any code executing at deployment time.
By referencing mix-ins within an invocation image, the execution environment can understand the intent of the CNAB and decide if this bundle should have specific mix-in rights. If not, it can be blocked before a partial deployment is started, making it near impossible to rollback.
Referencing artifacts as external entities allows re-use, as multiple bundles may reference the same helm chart, OBA, singularity image, Terraform template, ...

Hey @SteveLasker, thanks tons for the issue. Before I think about this as deeply as I want to, I want to clarify the current problems the issue sees. I read above the following issues with the current implementation:

Any change to invocation image will cause the bundle to be rebuilt.

.... and that seems to be it for current problems with the spec.
On the positive side, if the invocation image were anything other than a specific image (as it is currently), that would enable a complete injection experience and enable lots of sharing/storage benefits. I can see these, but the first thing I want to point out is that so far as I can see there's now nothing of consequence to sign, as there's no coherent statement that can be made about whatever the injected item is, nor can there be any coherent statement about what the runtime does with the thing.
If I am understanding things correctly -- and I expect others to help me here -- we gain the benefits of separation of concerns while losing one of the most critical things: any certainty in the specification about signatures for both import and exported (thick) bundles. Functionally, that would drop the certainty of signature aspect down onto the tooling. Each could in fact make strong guarantees, but only for itself, and not for other tools.
So, first question is simple: Do I understand the knock-on effects of the proposal correctly?

Closing, for discussion on the cnab-spec


Type tagging of Method semantics

We currently have types to represent whether a method is Safe or Idempotent.  We use this information in client middlewares, but we never use it at type level.  Would we lose anything demoting these to instance level?

They're gone in 0.22.


Rework plugin config system #2

Small follow-up for #596 because I was too quick

First the test class and test methods here have public visibility, while the other classes have no visibility keyword. That's just a JUnit convention 🤷; if they don't need to be public, they get package visibility.

Ah, okay, wasn't aware of that. Will change.

To make the coverage reports work, I had to add these dependencies to commandapi-codecov

Yeah, I am aware of that and it exists as a local change already.

ConfigGenerator#generate never returned null

A test for that exists locally already.

Still some parts of the code untested: the branches in BukkitConfigurationAdapter#tryCreateSection, the saveDefaultConfig method, and the rest is stuff saveDefaultConfig calls. Those methods look good but the edge cases are important for the functionality, so I think it would be nice to get them covered in tests.

I generally agree, but the tryCreateSection method is not too important now since we have one section and I honestly don't see that changing in the near future plus the features that are supposed to work, do work which is verified in manual tests.
saveDefaultConfig in my opinion also doesn't need tests since that is functionality that is easily verified in manual tests which did happen. Same with the newlines between options, easily verifiable in manual tests.
Before merging, I am also definitely going to do those manual tests a last time so that shouldn't be problem.


fix: link to new "Nachhaltigkeit" starting page

Changelog
Changed

Link to new "Nachhaltigkeit" starting page (#796)

Why? Isn't /nachhaltigkeit the starting page and /17744 only the taxonomy?

because they wanted it like that ^^'


C# (Xamarin) client unable to receive SignalR (Core) event with custom object

[EDIT by guardrex to add code blocks]
My web (JS) client has no issue receiving the event with custom object but my Xamarin (C#) one does.
Eventually I had to go back and list all the properties on the server hub and config the client accordingly to read and parse these.
So given the type:
NewMessageResponse {
    public string Message{ get; set; }
    public Guid ID { get; set; }
}

The following doesnt work:
ServerHub:
Clients.Clients(stringIds).NewMessage(new NewMessageResponse () {
    Message = "Test", ID = Guid.Empty
});

C#/Xamarin client:
hubConnection.On<NewMessageResponse>("NewMessage", (response) => {
    // print message
});
hubConnection.On<string, Guid>("NewMessage", (Message, ID) => {
    // print message
});

The following approach works:
ServerHub:
Clients.Clients(stringIds).NewMessage("Test", Guid.Empty);

C#/Xamarin client:
hubConnection.On<string, Guid>("NewMessage", (Message, ID) => {
    // print message
});

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

ID: 2f06ca2b-9d96-9979-46a8-d09900af0653
Version Independent ID: 0f0d321d-46ed-25cb-6bb4-e4611343b131
Content: SignalR API design considerations
Content Source: aspnetcore/signalr/api-design.md
Product: aspnet-core
Technology: aspnetcore-signalr
GitHub Login: @anurse
Microsoft Alias: anurse

This doesn't reproduce with a C# client outside of Xamarin, which points to some linker issue probably.
Could you try running your app with the linker disabled to rule out linker issues? https://docs.microsoft.com/xamarin/android/deploy-test/linker#linker-behavior

@BrennanConroy Sorry for the late response. The issue turns out to be a server config. It works after I added and configed NewtonsoftJsonProtocol in my NET Core API.


Make content in template/index.html configurable

Number of Volunteers: 1
Currently the content are hard-coded. It's better to make them configurable so we can upstream this to Mini-Conf in future.

[ ] Revert these lines back to {{readme | markdown }}.

create a README-ACL2020.md in the main repo, and let the main.py loads this file instead of the README.md. Maybe make the filename as a variable in config.yml.

[ ] Replace these lines with {{contributor | markdown}} or ``{{acknowledgement | markdown}}. Or just merge them into README-ACL2020.md`.

closing this b/c we don't have bandwidth for it.


Update create-a-custom-sensitive-information-type.md

@chrfox Added a note to indicate which SITs can not be copied.

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks


jqBootstrapValidation.js is missing

JS file used in contact page is missing in js/ folder.
Adding js file from here: https://reactiveraven.github.io/jqBootstrapValidation/ fixed the error

This has been added back in.


Improve scaling quality of Windows direct3d renderer

On Windows, the default renderer is direct3d which is nice because it's much faster than opengl.
But unfortunately this renderer doesn't seem to support trilinear filtering as is evident from the log:
[server] INFO: Device: samsung SM-N910C (Android 6.0.1)
INFO: Renderer: direct3d
WARN: Trilinear filtering disabled (not an OpenGL renderer)
INFO: Initial texture: 1440x2560

Is there any chance of improving the jagged scaling with Direct3D? Tried forcing hardware-accelerated antialiasing via NVIDIA control panel to no avail.
Environment

OS: Windows 10 x64
scrcpy version: scrcpy 1.13
dependencies:
SDL 2.0.12
libavcodec 58.54.100
libavformat 58.29.100                                                                                - libavutil 56.31.100
installation method: Windows release

Ref: https://github.com/Genymobile/scrcpy/issues/1394#issuecomment-629345068

@rustyx Are you sure about direct3d being much faster than opengl, even on NVIDIA hardware? I know that other vendors do not have good enough opengl drivers for Windows (thus direct3d support for trilinear filtering is still needed), but NVIDIA's opengl driver should be as fast as direct3d.

@cjxgm yes, direct3d definitely feels more responsive and uses much less CPU, too:

--max-fps=20 --render-driver=opengl : 80% of 1 CPU used
--max-fps=20 --render-driver=direct3d: 1% of 1 CPU used

Wow that's unexpected and strange. Looks like bug to me (VSync issue?). Should probably open a new issue for that.

thanks for this thread...
i have had huge issues with 1.16, sessions have bneen so sluggish, i wasnt able to even throw a ball in pokemon remote
i downgraded from 1 16 to 1.14 and got the same error message about direct3d , with 1.16 i didnt got the message, thanks to the error message, i found this thread, and now..i run 1.16 with sdl2 file from 1.12 and its fine

Do you fix the problem? I get it too.

I submitted an issue on SDL few months ago: https://github.com/libsdl-org/SDL/issues/4156