Reporter does not serve over https

Hi Isak,
My Grafana works on Centos7 and i have the follow error open the link using a Windows client workstation (on browser Chrome). By command line on grafana machine works fine.
grafana url:
https://sismonitor-dev.spms.min-saude.pt:3000
Link created to generate pdf:
https://sismonitor-dev.spms.min-saude.pt:8686/api/v5/report/WTXjraPmz?apitoken=eyJrIjoicE9CVUNsTjI0eHNzMDN1ZVh2OUZZWVhRM1VLNEZtR1IiLCJuIjoidG9rZW5pZCIsImlkIjoxfQ==
Error:
This site can’t provide a secure connection
sismonitor-dev.spms.min-saude.pt sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR "ERR_SSL_PROTOCOL_ERROR"
command line:
grafana-reporter -cmd_enable=1 -cmd_apiKey eyJrIjoicE9CVUNsTjI0eHNzMDN1ZVh2OUZZWVhRM1VLNEZtR1IiLCJuIjoidG9rZW5pZCIsImlkIjoxfQ== -proto https:// -ip sismonitor-dev.spms.min-saude.pt:3000 -cmd_dashboard PxPQE5jiz -cmd_ts from=now-24h -cmd_o out.pdf
I apreciated any help.

Thanks
Rui

The reporter does not currently support serving over https. You could either switch to plain http, add a proxy in front of the reporter or change the source code.

https is mandatory at our company... can you please explain the option to change the source code?

You have the right file there. The basic gist is to change the call to ListenAndServe to ListenAndServeTLS.
You will need to sort out certificate and key files.

After making changes in this file is necessary restart grafana or other service?

The reporter should be restarted since golang is a compiled language. So you need to deploy the new reporter binary. I suggest you first work through some getting started with go tutorials to get to grips with compiling a binary and setting GOPATH. For this project, the dev instructions in the readme should work.   Grafana itself doesn't need to be restarted, the reporter only queries it via the API.

Rather than maintaining your own fork, you may want to proxy in front of it.  There are many applications (especially side-car applications like this one) which serve over HTTP only, investing in an infrastructure to proxy these (or any other service) over TLS will pay dividends.
Right now it's "modify one app for TLS", then it's "modify another app, and the first app has a security fix, so you'll have to update and re-modify that".  It quickly stops scaling.
You can have grafana-reporter listen only on <IP_ADDRESS>, and have an nginx server proxy in front of it.  The second app you need to do this to, just have it listen on another port on <IP_ADDRESS>.  Done, no code modifications.

Hi,
Finally i can use this "feature" in our dashboards!!!
Resume of the steps i made:
1 - Edit main.go file and ajust to our environment (see yellow marker):
var proto = flag.String("proto", "https://", "Grafana Protocol. Change to
'https://' if Grafana is using https. Reporter will still serve http.")
var ip = flag.String("ip", "sismonitor-dev.spms.min-saude.pt:3000",
"Grafana IP and port")
log.Fatal(http.ListenAndServeTLS(*port,"
/etc/pki/CA/certs/sismonitor-dev.spms.min-saude.pt_cert.cer","/
etc/pki/tls/private/sismonitor-dev.spms.min-saude.pt.key", router))
2 - Rebuild Grafana-Reporter
Go build
3 - Replace the new file grafana-reporter (generate in the previous step)
by the old one in /home/admin/go/bin
4 - Validate changes
/home/admin/go/bin/grafana-reporter
Grafana-report start serving as pretended :)
Thanks for all!
Rui Parreira
Izak Marais<EMAIL_ADDRESS>escreveu no dia quarta, 9/10/2019
à(s) 06:39:

You have the right file there. The basic gist is to change the call to
ListenAndServe
https://github.com/IzakMarais/reporter/blob/master/cmd/grafana-reporter/main.go#L80
to ListenAndServeTLS https://golang.org/pkg/net/http/#ListenAndServeTLS.
You will need to sort out certificate and key files.
After making changes in this file is necessary restart grafana or other
service?
The reporter should be restarted since golang is a compiled language. So
you need to deploy the new reporter binary. I suggest you first work
through some getting started with go tutorials to get to grips with
compiling a binary and setting GOPATH. For this project, the dev
instructions in the readme should work. Grafana itself doesn't need to be
restarted, the reporter only queries it via the API.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IzakMarais/reporter/issues/161?email_source=notifications&email_token=ANNRNIXSKNDEMMHMJBR3IZTQNVVAJA5CNFSM4I6QJWTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWVDYI#issuecomment-539840993,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANNRNIWLPYKSWOHLDV5YT53QNVVAJANCNFSM4I6QJWTA
.

I'm glad you arrived at a solution that you are happy with.
I'm closing this issue for now. The code above is not general enough for inclusion. If someone wants to do a PR related to this in the future with proper support (configurable via optional flags), I would consider it.
As @jnovack and I mentioned above, a proxy (like nginx) can also be used to add https support over a http service.

Hi, Finally i can use this "feature" in our dashboards!!! Resume of the steps i made: 1 - Edit main.go file and ajust to our environment (see yellow marker): var proto = flag.String("proto", "https://", "Grafana Protocol. Change to 'https://' if Grafana is using https. Reporter will still serve http.") var ip = flag.String("ip", "sismonitor-dev.spms.min-saude.pt:3000", "Grafana IP and port") log.Fatal(http.ListenAndServeTLS(*port," /etc/pki/CA/certs/sismonitor-dev.spms.min-saude.pt_cert.cer","/ etc/pki/tls/private/sismonitor-dev.spms.min-saude.pt.key", router)) 2 - Rebuild Grafana-Reporter Go build 3 - Replace the new file grafana-reporter (generate in the previous step) by the old one in /home/admin/go/bin 4 - Validate changes /home/admin/go/bin/grafana-reporter Grafana-report start serving as pretended :) Thanks for all! Rui Parreira Izak Marais<EMAIL_ADDRESS>escreveu no dia quarta, 9/10/2019 à(s) 06:39:
…
You have the right file there. The basic gist is to change the call to ListenAndServe https://github.com/IzakMarais/reporter/blob/master/cmd/grafana-reporter/main.go#L80 to ListenAndServeTLS https://golang.org/pkg/net/http/#ListenAndServeTLS. You will need to sort out certificate and key files. After making changes in this file is necessary restart grafana or other service? The reporter should be restarted since golang is a compiled language. So you need to deploy the new reporter binary. I suggest you first work through some getting started with go tutorials to get to grips with compiling a binary and setting GOPATH. For this project, the dev instructions in the readme should work. Grafana itself doesn't need to be restarted, the reporter only queries it via the API. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#161?email_source=notifications&email_token=ANNRNIXSKNDEMMHMJBR3IZTQNVVAJA5CNFSM4I6QJWTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWVDYI#issuecomment-539840993>, or mute the thread https://github.com/notifications/unsubscribe-auth/ANNRNIWLPYKSWOHLDV5YT53QNVVAJANCNFSM4I6QJWTA .

Hi,
But from where did u got certificate files, I have verified in /etc folder but there is no such package.
I saw in docker file we are installing certificates,
apt-get install -y ca-certificates --no-install-recommends
But where will this certificates reside in container.
Regards
Vijaya Kumar

Hi, Finally i can use this "feature" in our dashboards!!! Resume of the steps i made: 1 - Edit main.go file and ajust to our environment (see yellow marker): var proto = flag.String("proto", "https://", "Grafana Protocol. Change to 'https://' if Grafana is using https. Reporter will still serve http.") var ip = flag.String("ip", "sismonitor-dev.spms.min-saude.pt:3000", "Grafana IP and port") log.Fatal(http.ListenAndServeTLS(*port," /etc/pki/CA/certs/sismonitor-dev.spms.min-saude.pt_cert.cer","/ etc/pki/tls/private/sismonitor-dev.spms.min-saude.pt.key", router)) 2 - Rebuild Grafana-Reporter Go build 3 - Replace the new file grafana-reporter (generate in the previous step) by the old one in /home/admin/go/bin 4 - Validate changes /home/admin/go/bin/grafana-reporter Grafana-report start serving as pretended :) Thanks for all! Rui Parreira Izak Marais<EMAIL_ADDRESS>escreveu no dia quarta, 9/10/2019 à(s) 06:39:
…
You have the right file there. The basic gist is to change the call to ListenAndServe https://github.com/IzakMarais/reporter/blob/master/cmd/grafana-reporter/main.go#L80 to ListenAndServeTLS https://golang.org/pkg/net/http/#ListenAndServeTLS. You will need to sort out certificate and key files. After making changes in this file is necessary restart grafana or other service? The reporter should be restarted since golang is a compiled language. So you need to deploy the new reporter binary. I suggest you first work through some getting started with go tutorials to get to grips with compiling a binary and setting GOPATH. For this project, the dev instructions in the readme should work. Grafana itself doesn't need to be restarted, the reporter only queries it via the API. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#161?email_source=notifications&email_token=ANNRNIXSKNDEMMHMJBR3IZTQNVVAJA5CNFSM4I6QJWTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAWVDYI#issuecomment-539840993>, or mute the thread https://github.com/notifications/unsubscribe-auth/ANNRNIWLPYKSWOHLDV5YT53QNVVAJANCNFSM4I6QJWTA .

Hi,
But from where did u got certificate files, I have verified in /etc folder but there is no such package.
I saw in docker file we are installing certificates,
apt-get install -y ca-certificates --no-install-recommends
But where will this certificates reside in container.
Regards
Vijaya Kumar

I'm running grafana on Windows box, so on the  log.Fatal(http.ListenAndServe(*port, router)) why did you put in cert info?

I'm running grafana on Windows box, so on the log.Fatal(http.ListenAndServe(*port, router)) why did you put in cert info?


Query filters Greater Than(gt and gte) not working with search(@searchable) as expacted

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.14.2
Amplify CLI Version
9.1.0
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
Made no manual changes.
Amplify Categories
api
Amplify Commands
codegen
Describe the bug
We are using open search and trying to apply a query filter on the numeric field "budget". The sample query is as follows. In the query, you can see we have used a filter (gt : 2345) on budget. As an expected result, this query should return all the jobs which have a budget greater than 2345. But in the response, we can see few records having a budget of less than 2345, which are 600, 900.
Query
query MyQuery {   searchJobs(filter: {budget: {gt: 2345}}) {     nextToken     total     items {       budget     }   } }
Result
{   "data": {     "searchJobs": {       "nextToken": "********************************************==",       "total": 4,       "items": [         {           "budget": 600         },         {           "budget": 5000         },         {           ****"budget": 900****         },         {           "budget": 40000         }       ]     }   } }
Expected behavior
We are expecting the following result:
Expected search result
{   "data": {     "searchJobs": {       "nextToken": "********************************************==",       "total": 2,       "items": [         {           "budget": 5000         },         {           "budget": 40000         }       ]     }   } }
Reproduction steps
Apply  @searchable on a model with a field of type number(Int). Then after pushing and generating the code apply "gt" or "get" filter to search the data.
GraphQL schema(s)

type Job
  @searchable
  @model
  @auth(
    rules: [
      { allow: owner }
      { allow: public, operations: [read] }
      { allow: private, operations: [read] }
    ]
  ) {
  id: ID!
  budget: Int!
  description: String
  type: String
    @index(
      name: "jobsByDate"
      queryField: "jobsByDate"
      sortKeyFields: ["createdAt"]
    )
    @default(value: "Job")
  createdAt: AWSDateTime!
}

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response

I found the issue. The budget property was a string type before then we changed it to int. Filters were working on this field as string even after changing it to int. We had to remove the @searchable and run amplify push after removing it. And then added the @searchable again. It worked this way.


Update packit source-git status to support monorepos

When provided with a SOURCE_GIT argument which is a monorepo, the command should be able to tell which package to consider either by taking the basename of the DIST_GIT argument or by taking the package provided by a --package option. This later should be supported in order to allow the name of the dist-git repo (as cloned locally) and the name of the package to be different.
An error should be raised if the package is not in the monorepo.
Functionally this should be implemented in packit.api.sync_status_string() and related methods. The former should receive a new package argument.

We decided to implement this through a decorator so that very few changes should be needed.
The changes will be linked to #1849.
Ideally we could have just one PR which adds support to the monorepo packages in Packit CLI.


Table of contents not shown in Cookie policy and Privacy Policy

Description
The table of contents section is empty in the Cookie policy and Privacy policy found in the Login page to portals.

Steps to Reproduce
Click on Cookie Policy and Privacy Policy links in the login page to portals.

Affected Component
APIM
Version
APIM 4.2.0 M1 testing pack
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

This issue is fixed in the latest branch after merging the following PR. The missing jQuery plugin link is fixed.
https://github.com/wso2/product-apim/pull/13011

Closing based on the above comment


IDNs not understood

The app does not work with IDNs as server addresses. Punycode works, but it would be nice if IDNs are accepted directly.

Could you provide me with an example so that i can debug that?

If you write me an email I will send you credentials for a Nextcloud instance with an IDN for testing.


Ka/redo snyk prs

Snyk commits are not signed. This PR is a signed version of

PR #33
PR #34
PR #35

After merging the Snyk branches, validated RAML file using npm pack and npx packfile.tgz -p mercury <>

I'd recommend also running npm audit fix to hopefully preempt some future Snyk PRs.

I'd recommend also running npm audit fix to hopefully preempt some future Snyk PRs.

Good point, Let me add this to the PR description..Thanks


Gradle 5.0 Support

It will be nice to upgrade to Gradle 5.0 but seems it might be a bit complicated since they deprecated overriding built-in tasks since 4.8 and now a plugins just fails to register them.

Thanks, I'm working on this right now.

@blindpirate wonderful! Thank you so much! I've tried to migrate it but integration tests are failing with:
Could not find method build() for arguments [{name=unrecognized1, dir=gogradle/build/tmp/resource-<...>/unrecognized1}, build_closure<...>] on object of type com.github.blindpirate.gogradle.GolangPluginSetting.


go live option is not showing

Issue Type: Bug
go live option is not showing
VS Code version: Code 1.36.0 (0f3794b38477eea13fb47fbe15a42798e6129338, 2019-07-03T13:25:46.372Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz (4 x 2594)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: unavailable_offprotected_video_decode: unavailable_offrasterization: unavailable_offskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
5.88GB (2.88GB free)

Process Argv
D:\Developer\javascript\jscode\function.html

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

LiveServer
rit
5.6.1

Sounds like an extension issue, in which case please log it at https://github.com/ritwickdey/vscode-live-server/issues and close this one here.

Agree with @gjsjohnmurray. Closing. Please report the issue with the extension you are using.


fixed-width-tabs

Add .fixed option for fixed-width tabs.
Addresses #25
(edit: apologies for preemptively adding examples in dist/, just saw the guidelines)

Nice!


Stop entity-scoped nerdstorage writes

Removes status report writes to entity-scoped nerdstorage. Ref: NR-185955.

I am not sure how this is possible, but I compiled the CLI locally, using this branch, and when I run an install on a host, I'm seeing the install results being written to NerdStorage

I'll share with you a brief demo to see if we are on the same page in regards to the install results...


Adapt to changes for next IREE integration post 20231228.

A patch like this will be necessary if syncing to an IREE at/past https://github.com/openxla/iree/pull/16011.
Syncing to c35d8e91dfd8cc724520ec652031a3279b5edd69

This has some other issues, so I'll just leave it here for the team to pick up when they are ready to move forward.

Actually - fixed it. Going to land.


[11.x] Adds Enums folder to make:enum command

It is better to create enum classes in the Enums folder, like Models

Why is this different than regular class?, isn't it possible to specify the namespace when executing the command?

Because a regular class isn't a type of object.

Would rather keep this flexible by default like classes and traits. I personally would tend to group these close to the thing they are attached to.


so i ran the hmm thing and now i have about 500 errors that dont make sense to me

Describe your problem here.
so i ran the install command in the hmm project in haxelib (haxelib run hmm install) and when i type lime test windows, it says this:

i have NO idea what any of this means
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, but it used to work. Recently i've had to reinstall all of the requirements for compiling.

also just realized that the main error is
D:/FNF/peachy funkin source/.haxelib/flixel/5,2,2/flixel/util/FlxDestroyUtil.hx:3: characters 8-32 : You cannot access the flash package while in a macro (for flash.display.BitmapData)
the rest of the stuff doesn't help

use haxe 4.2.5

ok i did that. now it says:
Warning: Could not find Visual Studio VsDevCmd
Missing HXCPP_VARS
Error: Could not automatically setup MSVC
P.S. i've seen other people have this error and i've tried the solutions, still didn't work

you need visual studio 2019

with the correct components

which exact components? i have these installed:
Windows SDK (10.0.17763.0)
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.9-16.10)

MSVC v142 - VS 2019 C++ x64/x86 build tools must be latest

it is the latest

oh wait nvm
i have to choose MSVC v142 - VS 2019 C++ x64/x86 build tools (Latest) ?

yes

ok im dumb :( thank u!!!

ok im dumb :( thank u!!!

you're welcome

a question, when I install haxe 2.5 it starts saying that i need to update and that stuff, is there any way to disable it?

you're supposed to be using 4.2.5

;-; thats alright
thanks!

yw

actually I just ran the command and it says
"include\vlc/bitmap/VlcBitmap.h(13): fatal error C1083: Cannot open include file: 'LibVLC.h': No such file or directory"
what does this mean?? also sorry for dragging this on again

make a new issue for that

alr


bug: failed to set container resource spec in playground mode

Describe the bug
The playground mode cannot correctly set the total_memory_bytes and parallelism params.
To Reproduce
Failed to set CPU limit
docker run --entrypoint "/usr/bin/bash" \
--cpu-period 100000 \
--cpu-quota 100000 \
risingwavelabs/risingwave:v0.1.15 \
-c "mkdir -p /src/config && touch /src/config/default.toml && /risingwave/bin/risingwave playground"

got
2023-01-06T07:42:30.088105Z ERROR services: risingwave_compute: error_msg="parallelism 4 is larger than the total cpu available 1 that can be acquired."
thread 'risingwave-main' panicked at 'parallelism 4 is larger than the total cpu available 1 that can be acquired.', src/compute/src/lib.rs:118:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Failed to set memory limit
docker run --entrypoint "/usr/bin/bash" \
--memory<PHONE_NUMBER> \
risingwavelabs/risingwave:v0.1.15 \
-c "mkdir -p /src/config && touch /src/config/default.toml && /usr/bin/timeout --signal=SIGKILL 120s /risingwave/bin/risingwave playground"

got
2023-01-06T07:43:35.732923Z ERROR risingwave_compute: error_msg="total_memory_bytes<PHONE_NUMBER> is larger than the total memory available bytes<PHONE_NUMBER> that can be acquired."
thread 'risingwave-main' panicked at 'total_memory_bytes<PHONE_NUMBER> is larger than the total memory available bytes<PHONE_NUMBER> that can be acquired.', src/compute/src/lib.rs:109:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Expected behavior
allow setting these two values in playgound mode
Additional context
No response

Is this solved? @mikechesterwang

Ping

this is solved.


IteratorPrototype should have no toStringTag property

Hello,
I have a conflict between regenerator and the way Iterator is polyfilled that I mentioned on regenerator's repo: https://github.com/facebook/regenerator/issues/320.
The problem is regenerator uses IteratorPrototype for its GeneratorFunction, and it crashes when it tries to write on GeneratorFunction.prototype.toStringTag which is not writable.
The spec mentions no toStringTag property for IteratorPrototype:
https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object
Is it possible to remove toStringTag from IteratorPrototype?

Great thanks for report. Fixed with 2d17786, published with v2.0.2


[Feature] Visual introspection tree for Kubernetes cluster & Visual activity in VS Code

Introspection tree: refer to below layout and the layout of https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/
Visual Activity: It should align with commands defined in Core Functionality, such as Kubernetes Get, Kubernetes Create and etc.
Below is one example of mock-up.

@testforstephen Jinbo will work on this one.

@testforstephen , once your PR merged, please close this one. We have additional requests for config and secrets. Thanks.


Update about-authentication-to-github.md

Improve grammar and readability: sentence has parallel structure and removes duplicative articles.

Why:
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require a SME review from GitHub staff.
[ ] The changes in this PR meet the docs fundamentals that are required for all content.
[ ] All CI checks are passing.

@akoper Thank you for raising this PR and your willingness to contribute! ✨ However, as these changes are mainly personal preferences on how to phrase something rather than corrections or improvements, I'm afraid we aren't able to accept this contribution 🙇
If you'd like to make changes I'd recommend raising an improvement issue here, then someone from the team can take a look at your proposal before you go ahead.
For more information about contributing, and our house style, see https://docs.github.com/en/contributing 💛


cmake does not build with docs

Hello, I tried to compile cmake with linuxbrew and faced with compile error.
==> python -c import setuptools... --no-user-cfg install --prefix=/tmp/cmake20151007-7105-fdu746/cmake-3.3.2/sphinx --single-version-externally-managed --record=installed.txt
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named setuptools
==> Formula
Path: /home/aleksey/.linuxbrew/Library/Formula/cmake.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/linuxbrew
HEAD: 512d47d84e9eca54071a6cd69ba1c92d1f575b3d
Last commit: 4 часа назад
HOMEBREW_PREFIX: /home/aleksey/.linuxbrew
HOMEBREW_REPOSITORY: /home/aleksey/.linuxbrew
HOMEBREW_CELLAR: /home/aleksey/.linuxbrew/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://linuxbrew.bintray.com
CPU: quad-core 64-bit 6
OS X: 0-x86_64
Xcode: N/A
CLT: N/A
Clang: 3.5 build 0
X11: N/A
System Ruby: 2.1.5 => /usr/bin/ruby2.1
Perl: /usr/bin/perl
Python: /usr/bin/python => /usr/bin/python2.7
Ruby: /usr/bin/ruby => /usr/bin/ruby2.1
Java: 1.7.0_85
==> ENV
CC: /usr/bin/gcc-5
CXX: /usr/bin/g++-5
OBJC: /usr/bin/gcc-5
OBJCXX: /usr/bin/g++-5
CFLAGS: -Os -w -pipe -march=core2
CXXFLAGS: -Os -w -pipe -march=core2
CPPFLAGS: -isystem/home/aleksey/.linuxbrew/include
LDFLAGS: -L/home/aleksey/.linuxbrew/lib -Wl,-rpath,/home/aleksey/.linuxbrew/lib
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /home/aleksey/.linuxbrew
PKG_CONFIG_LIBDIR: /home/aleksey/.linuxbrew/lib/pkgconfig
PATH: /home/aleksey/.linuxbrew/bin:/home/aleksey/develop/local/bin:/home/aleksey/develop/local/stbgcc-4.5.4-2.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/aleksey/.linuxbrew/Library/ENV/scm

It turns out that for compiling need sphinx?

sphinx is needed to generate the docs. also run brew gist-logs cmake and post the exact error you're getting.

Please let us know if this is still an issue against an up-to-date brew, Thanks!


remove section about upstream mentors from teamproposal.html

I suspect it was left over from HFOSS, and doesn't quite apply here. Unless we are supposed to actually talk to people at the organizations, in which case I've been doing this wrong the whole time.

This also includes an update to my yaml, because github just ASSUMES my additional commits are related to this. I assume there's probably some way to change that behavior, but I haven't bothered to figure it out.

@wywin if you used feature branches you could do separate pull requests.

@liam-middlebrook I will do that in the future.

:question: :snowflake:


Bl 798 fe cleanup header for unauthenticated state

Description
Our original ticket requested improvements to the navigation that were partially performed by another team earlier on, that included removing "Login" button from the /login page and removing "Signup" button from the header. Our ticket also requested changes to the current styling of the navigation buttons.
After our meeting with @ryan-hamblin on 10/19/2022, we as a team decided the best approach to this ticket would be to refactor the navigation fully, remove Styled Components, and implement Ant Design in our header. We were able to compress multiple components into a main navigation component that uses Ant Design and still retains its functionality. We were also able to remove a big amount of redundant code and unused styling to keep the navigation as simple as possible. Lastly, we changed the existing .css file into a .less file as suggested by Ryan.
Now we are officially switching to Ant Design to make our page buttons consistent throughout the entire codebase, and we are stepping away from Styled Components.
Fixes # (issue)
Jira Link
Loom Video
Loom Video Link
Type of change
Please delete options that are not relevant.

[ x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[ x] My code follows the style guidelines of this project
[ x] I have performed a self-review of my own code
[ x] I have removed unnecessary comments/console logs from my code
[ x] I have made corresponding changes to the documentation if necessary (optional)
[ x] My changes generate no new warnings
[ x] I have checked my code and corrected any misspellings
[ x] No duplicate code left within changed files
[ x] Size of pull request kept to a minimum
[ x] Pull request description clearly describes changes made & motivations for said changes

I think this looks pretty good. It gives the application one step closer to its initial goal

I think this looks pretty good. It gives the application one step closer to its initial goal

Looks awesome.. I feel like replacing SC will make things much simpler going forward!


Broken sentence testing page

Hi,
On this page https://duckdb.org/dev/testing the final sentence is broken off.
DuckDB also has tests for various client connectors. These are generally written

I suppose it happened when splitting the testing documentation up into multiple files. I am not sure what the best place for it is to go, or if the sentence should just be removed entirely.

Thanks for the report!
I looked through all of the git history, and I don't see where that sentence was ever complete... Unfortunately I do not know enough about DuckDB's testing to finish it! Would someone from the dev team mind taking a peek at this one when you get a chance? Many thanks!


test: fix storage e2e tests

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2663 into master will decrease coverage by 0.94%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2663      +/-   ##
==========================================
- Coverage   65.65%   64.71%   -0.95%
==========================================
  Files         201      196       -5
  Lines        9698     9839     +141
  Branches     1965     1998      +33
==========================================
  Hits         6367     6367
- Misses       3055     3197     +142
+ Partials      276      275       -1

Impacted Files
Coverage Δ

...y-appsync-simulator/src/schema/directives/index.ts

...psync-simulator/src/utils/expose-graphql-errors.ts

...ackages/amplify-appsync-simulator/src/utils/log.ts

...lify-appsync-simulator/src/velocity/util/errors.ts

...mplify-appsync-simulator/src/resolvers/function.ts

...y-appsync-simulator/src/resolvers/unit-resolver.ts

...s/amplify-appsync-simulator/src/resolvers/index.ts

...fy-appsync-simulator/src/data-loader/none/index.ts

...psync-simulator/src/velocity/util/general-utils.ts
0% <0%> (ø)

...fy-appsync-simulator/src/schema/directives/auth.ts
0% <0%> (ø)

... and 1 more

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 e285c75...83a347c. Read the comment docs.


this does not solve my issue of creating a reusable library

on my windows 10 laptop the visual studio does not behave like the steps described in this tutorial, therefor this tutorial is of no use to me.

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

ID: 8df4bc4b-88e1-a629-fcbd-6808b4f7308c
Version Independent ID: 87d3afdd-d7d5-35d7-0718-63dadc4eab1d
Content: Build a C# .NET Standard library with  Visual Studio 2017 - .NET Core
Content Source: docs/core/tutorials/library-with-visual-studio.md
Product: dotnet-core
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

May you point to the exact step that you're facing problems in it ?

As I stated, when I run the visual studio IDE, the screens I see do not
look like the ones you describe and they DEFINITELY do not act like them.
Since my screens do not look like the information in your tutorial your
tutorial is not very useful for me.,
On Wed, Nov 6, 2019 at 11:18 AM Youssef Victor<EMAIL_ADDRESS>wrote:

May you point to the exact step that you're facing problems in it ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/docs/issues/15726?email_source=notifications&email_token=AITXMYMKJPW4P7AVEWQAK7TQSL36PA5CNFSM4JJXWJEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHJZDY#issuecomment-550411407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AITXMYO47RZQM6WCC7MBB5TQSL36PANCNFSM4JJXWJEA
.

--
====================
Barry Kimelman
Winnipeg, MB, Canada

@perlmaster - This tutorial is for VS 2017 which may have received some cosmetic updates since it's initial version. VS 2019 does unquestionably look very different, but much of the same content is still present.  Can you please take a screenshot of what you see when you reach the first step that looks different to you, and share it here?

Here is the screenshot of the IDE screen
[image: image.png]
On Wed, Nov 6, 2019 at 1:52 PM Andrew Stanton<EMAIL_ADDRESS>wrote:

@perlmaster https://github.com/perlmaster - This tutorial is for VS
2017 which may have received some cosmetic updates since it's initial
version. VS 2019 does unquestionably look very different, but much of the
same content is still present. Can you please take a screenshot of what you
see when you reach the first step that looks different to you, and share it
here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/docs/issues/15726?email_source=notifications&email_token=AITXMYKBSI62C2HR5XBDWC3QSMOADA5CNFSM4JJXWJEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDHY54Y#issuecomment-550473459,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AITXMYKANVYJMQPL6JKM6J3QSMOADANCNFSM4JJXWJEA
.

--
====================
Barry Kimelman
Winnipeg, MB, Canada

@perlmaster - it does not look like that image made it through. Can you edit the post and paste the image in it again?

All I could find was the URL to my original stackoverflow..com post, so I
have attached an image to this email.
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Thu, Nov 7, 2019 at 6:40 AM Andrew Stanton<EMAIL_ADDRESS>wrote:

@perlmaster https://github.com/perlmaster - it does not look like that
image made it through. Can you edit the post and paste the image in it
again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/docs/issues/15726?email_source=notifications&email_token=AITXMYIICR7FCNWP5WN6SSDQSQECVA5CNFSM4JJXWJEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMIZXA#issuecomment-551062748,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AITXMYJBXY6OZKBS5LULE7LQSQECVANCNFSM4JJXWJEA
.

--
====================
Barry Kimelman
Winnipeg, MB, Canada

@perlmaster - please take a look at this post from the GitHub link at the bottom of the email.

here is a screenshot of my visual studio IDE running on my windows 10 laptop

It seems that you didn't create a project yet.
The first step says:

On the Visual Studio menu bar, choose File > New > Project.

The file menu is there at the top-left corner. From there, you should be able to make a new project.
You can follow the steps until you get stuck. Once you get stuck, please tell us at which step you're stuck and post a screenshot where you stuck.

On my visual studio IDE after I selected file -> new project
my choices for the new project were "Windows" , "C#" and "Console"
as you can see the "Next" button is still greyed out !!

I'm not sure, but did you try to skip creating the solution and create the class library project directly ? it might work.

I am still new to all of this. What do you mean by "skip creating the solution" ? What is a solution ?
What do you mean by "create the class library project directly" ?

@perlmaster Hi there, sorry for your troubles. I'm writing a reply but it's taking some time, I just wanted to let you know I'm here doing that :)

@perlmaster - your screenshots are of VS 2019. This means that they will not match up with the screenshots from a VS 2017 guide, but they should be close enough for you to figure out.
That being said, there are better places than a very specific documentation topic page to get the general and common assistance that you need. I have used stackoverflow.com, MSDN forums, and codeproject.com (long ago). A pluralsight course or two may also be useful, and free depending on what license level you have for visual studio.
In regards to the problem you mentioned, I'm curious to know more about the code you mean to share. With .net, two programs (different exes or apps) will generally share code by putting the shared code in an assembly project. That project is compiled to a dll file and that dll file is then referenced (used) from the two programs. Does that sound like what you are trying to accomplish?

I am so new to all of this I do not know what an assembly project is all about. I just need to be able to "share" a library/module of code among multiple projects/programs. On the Windows platform I thought that would mean to somehow build a DLL file and then use a "/reference" option on the "csc" command

Yes, building a library (dll) will let you reuse that code in another app and/or library. Assembly is a term meaning dll or executable, there isn't much different between the two except that the executable is known by windows as a double-click-to-run type of file. When you compile your project you get an output assembly.

@perlmaster are you going to be creating the programs that use this shared code, or will someone else be doing that?

I will be creating all of the code

Then start simple with making a single console application (exe) do one of the things you need. When you need to create a second exe, if you find yourself starting to copy+paste code from the first exe, that's probably the time to consider properly sharing code by using a dll (or shared project, or linked code file, or branching).

I'm going to close this issue now since it's not related to an issue with this particular documentation.


Include the binary's name when calling from_args()

from_env() takes the executable's name from the argv, but from_args() expects an argv with the name removed. This discrepancy causes a bit of trouble:

this is slightly unexpected (although documented)
if one uses from_args(), then bin_name() becomes useless (always returns None)

I think it'd be simpler for everyone involved if from_args() took the same input as from_env() does, i.e. an argv with executable's name.

It works this way for a few reasons:

For a lot of the time while I was writing it, bin_name() didn't exist at all and the first value from args_os() was just ignored. It didn't make sense to require a value from frorm_args() that would just be ignored. (This is not a good reason to keep it that way after I did reintroduce bin_name(), of course.)
I (wrongly) thought that clap and structopt worked that way (but they only do if you enable a certain option).
It's annoying to have to remember to write the command name when testing. (This really only matters for lexopt's own tests, other packages' tests don't usually have a reason to create a Parser directly, but I didn't realize that at the time.)
No other part of lexopt cares about bin_name.

These are not very strong reasons. You might be right.
But if we change it now, all code that uses from_args() breaks but still compiles. That's a worst case scenario. If we break backward compatibility people should at least get a very clear warning.
Looking back, I wish I hadn't included Parser::bin_name in the original release. It's hard to make good use of it, you e.g. can't give it to the caller when returning an error message, even though it's intended for showing in error messages. It needs a redesign to be useful.
I think that the best way forward is to deprecate bin_name, and in the next breaking release either remove it or overhaul it.
If it's overhauled, from_args(args) can perhaps be changed to something like from_args(bin_name: Option<impl Into<OsString>>, args). Then code that's broken would get a fair warning, and given an iterator you could call either from_args(iter.next(), iter) or from_args(None, iter), neither of which are very awkward.

Okay, this makes sense. I'm one of those few who do pass the name in their tests, and check that it's extracted as it should :) Although it wouldn't be hard for me to extract it manually, of course.
The suggested overhaul looks like a fine solution to me too.
Thanks for a thorough explanation!


Change SmtpCommandType to interface

Description

Change SmtpCommandType to interface
Add SmtpRFCSupportedCommandType enum to represent existing SmtpCommandType enum

Motivation and Context

Jedi needs support custom non-RFC command to talk to Proxy team, so the SmtpCommandType should include both RFC and non-RFC commands.
How Has This Been Tested?

Use previous unit test of ExtendedHelloCommand, HelloCommand and QuitCommand

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Major release (change is NOT backward compatible with prior release)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Check the comments above

@nituyahoo can you take a look at this change?


Upgrade issue 4.10.0 to 4.11.0

ISSUE TYPE

Bug Report

COMPONENT NAME

UI

CLOUDSTACK VERSION

Upgrade from 4.10.0 to 4.11.0 fails with different issues

CONFIGURATION

No networking issues yet

OS / ENVIRONMENT

Ubuntu 14.04 VM running cloudstack management agent.
2 x Ubuntu 14.04 and 16.04 running KVM as HyperVisors

SUMMARY

During the upgrade from 4.10 to 4.11 the database upgrade fails with the message

logid:) Unable to upgrade the database
com.cloud.utils.exception.CloudRuntimeException: <IP_ADDRESS>KVM SystemVm
template not found. Cannot upgrade system Vms

Second run same error. I have followed these instructions and it looks like a naming issue in the new templates.

http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.11/upgrade/upgrade-4.10.html

I managed to recover by checking the .sql file

https://github.com/apache/cloudstack/blob/3109c590e3d69de83a114ed6fdb12b706e46a7f3/engine/schema/resources/META-INF/db/schema-41000to41100.sql

The database upgrade seems to be working and after adding the upgrade statement in the version table the UI is working again.

But when clicking Account i get the following database error

DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@600d2498: SELECT user_view.id, user_view.uuid, user_view.username, user_view.password, user_view.firstname, user_view.lastname, user_view.email, user_view.state, user_view.api_key, user_view.secret_key, user_view.created, user_view.removed, user_view.timezone, user_view.registration_token, user_view.is_registered, user_view.incorrect_login_attempts, user_view.account_id, user_view.account_uuid, user_view.account_name, user_view.account_type, user_view.account_role_id, user_view.domain_id, user_view.domain_uuid, user_view.domain_name, user_view.domain_path, user_view.job_id, user_view.job_uuid, user_view.job_status, user_view.default, user_view.source FROM user_view WHERE user_view.account_id = 2 AND user_view.removed IS NULL

STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

Seems that i forgot this perform this fix in the many attempts to get this fixed
https://markmail.org/message/f42kqr3mx4r4hgih

Thanks @raymonvdm for verifying, I was going to add that you need to register the 4.11 systemvmtemplate before upgrading. Also, please test/upgrade to <IP_ADDRESS> instead of <IP_ADDRESS>. Wrt console proxy, you'll need to destroy old ones and let the new ones communicate with mgmt server. Please go through the release notes.
Closing this as the initially main reported issue is not an issue.


Assertion Failed when writing code with a dependency on C# class library

(Yes, some of these repro steps aren't related, but this is what I had when I got the exception)

f5 a new hive of the latest master
Create an F# console app.
Create a C# class library.

In the C# class library, type the following code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary1
{
    public class TheClass
    {
        public static string TheMessage(string name) => $"Hey there, {name}";
    }
}

In the F# console app, type the following code (note that the line with TheClass is not finished typing):
// Learn more about F# at http://fsharp.org
// See the 'F# Tutorial' project for more help.

open ClassLibrary1

let getTheName name = TheClass

[<EntryPoint>]
let main argv =
    printfn "%s" (getTheName "Phillip")
    0 // return an integer exit code

Assertions fail at what seems to be the error logger at this point:

that's from Add Open feature, see my comment in the PR.

I see.  Is there a way to fix that?  Not critical anymore, but still pretty annoying when testing things out in a debug hive.

Yes, it makes testing in Debug mode (and, of course, debugging) next to impossible. It's deep in call stack, somewhere in infos.fs, if I'm right. It's inconvenient that the Assertion cannot be muted. I tried to replace ErrorLogger with no-op one for the time the code fixer gathering Entities, but it did not help.


Fixed launcher so it works with ksh (Linux, Solaris) and cygwin.

In the case of korn shell, the path for 'amm' wasn't coming through, and so I added some conditioning to convert the "$0" reference to a full path.  In addition, I added a conditional expression that, if the utility 'cygpath' is available, use it to convert a UNIX path to a Windows path; otherwise, condition the path to an absolute reference.
Since Solaris was one of the possible targets, I could not depend on the existence of the 'readlink' utility.  If I had a couple more lines to write code in, I could have made this a bit less cryptic looking.  Given the constraints, this does the job.
I have tested this with these environments, both with directly specifying the full path and with adding the directory containing amm to the path, without prepending the shebang line ('#!/usr/bin/env sh') to the executable:
Solaris (SunOS) 5.10, sparc:

/bin/bash, version 3.2.57(1)-release - pass
/bin/ksh, version M-11/16/88i - pass
/bin/sh - fail (does not have $() in-line evaluation expression)
/usr/xpg4/bin/sh - pass

Red Hat Enterprise Linux Server, release 5.5, x86-64

/bin/bash, version 3.2.25(1)-release - pass
/bin/csh (tcsh), version 6.14.00 (Astron) 2005-03-25 - pass
/bin/ksh, version AJM 93t+ 2010-02-02 - pass
/bin/zsh, version 5.0.0 - pass

Ubuntu 16.04 (Xenial Xerus), x86-64

/bin/bash, version 4.3.48(1)-release - pass
/bin/csh, version 20110502-2.1ubuntu - pass
/bin/ksh (mksh), version MIRBSD KSH R52 2016/04/09 - pass

Ubuntu 18.04 (Bionic Beaver), x86-64

/bin/bash, version 4.4.19(1)-release - pass
/bin/ksh (mksh), version AJM 93u+ 2012-08-01 - pass
/bin/csh, version 20110502-3 - pass

Windows 7, 64-bit

/bin/bash (Cygwin 64-bit), version 4.4.12(3)-release - pass
cmd.exe (renamed to amm.bat) - pass

@jckeatley Did you close on purpose? I guess some of the people that could review this could be pinged else (@robby-phd? @LolHens?)

Yes, because I thought it could have been done better.  I want to rethink this a little and resubmit.


Require injectable certificate expiration policy and other time problems

Problem
ChipCertificateSet takes a ValidationContext from within CASESession, which encloses an mEffectiveTime.  This is problematic in two ways:

This prevents us from injecting an actual expiration policy.
Injection of ValidationContext from within CASESession prevents the expiration policy from being set by the app.

Without this, it is impossible for administrator to update credentials on a node whose credentials have expired unless the implementation includes invasive patches.
In addition, ChipCertificateSet is missing a check for initial certificate validity:
        // TODO - enable check for certificate validity dates
        // VerifyOrExit(context.mEffectiveTime >= cert->mNotBeforeTime, err = CHIP_ERROR_CERT_NOT_VALID_YET);

Proposed Solution
We should create an injectable expiration policy interface that can be injected from outside CASESession.  This may also alleviate the need for CASESession to have its current level of awareness of platform wall clock time interfaces, which seems potentially undesirable.
It would be presumed that with such a design, we could have cleaner solutions things like #15584 and the fact ChipCertificateSet is currently missing any check at all for initial certificate validity.

CC @tcarmelveilleux , @emargolis , @wbschiller

It turns out this is a dup of https://github.com/project-chip/connectedhomeip/issues/15584:

Proposed Solution
Implement proper minimal handling of last known-good-time, including allowing for override of expiry policy for CASE

Moving tracking there.


use versioned name for libXrdHdfsReal .so (SOFTWARE-3329)

xrootd-hdfs now ships a libXrdHdfsReal-<XRD_MAJOR>.so instead of libXrdHdfsReal.so, so this place where it was loading the latter name is broken.
This could be fixed by making a symlink, libXrdHdfsReal.so -> libXrdHdfsReal-<XRD_MAJOR>.so, but it seems a bit more correct just to load the correct one.
Feel free to add an appropriate reviewer.
Scratch build succeeded:
https://koji.opensciencegrid.org/koji/taskinfo?taskID=321088
I verified that the new /usr/lib64/libXrdHdfs-4.so.0.0.1 from this scratch build contains the string libXrdHdfsReal-4.so where the currently released xrootd-hdfs-2.1.7-8.osg35.el7 has libXrdHdfsReal.so.  So i believe this fix is working as expected.

LGTM too

LGTM too -- but no way to test this right now.

Let's do this, then! @edquist please tag a new version, cut a build, kick off VMU tests, and get this into testing for Justas.


Editor Extensions - broken homepage

The homepage link for Editor Extensions Redux is to http://forum.kerbalspaceprogram.com/index.php?/topic/127378-/ which doesn't work.
The forum insists that something follows the dash - anything, so eg http://forum.kerbalspaceprogram.com/index.php?/topic/127378-stoatface/ works.

Thanks for the heads-up


Automate a system test for #756

We want to test that an extra peer cannot participate in a PBFT consensus network once we already have N replicas
Scenario is like this:

security enabled,  PBFT N=4
start membersrvc, peer0, peer1, peer2, peer3
deploy example02
10 or more invokes ( anything, maybe a-1, b+1 )
verify value of a via query to peer0/1/2/3
start peer4
10 or more invokes ( enough so that checkpoints get sent )
verify value of a via query to peer0/1/2/3
verify that peer4 did not participate in consensus ( maybe query peer4 chain height which should be 1)

Doing this in behave requires new Python routines to start/stop individual docker containers and to map container ip addresses to endpoints we can use for the REST api.  Docker-compose doesn't give us a way to start a container in paused mode so step 6 is would require a big update to how we set up behave.
I've talked to @RicHernandez2  @ramesh @manish-sethi  about this and they will investigate.

This support is already available I believe.
Sent from my iPhone

On Apr 15, 2016, at 5:44 PM, tuand27613<EMAIL_ADDRESS>wrote:
We want to test that an extra peer cannot participate in a PBFT consensus network once we already have N replicas
Scenario is like this:

security enabled, PBFT N=4
start membersrvc, peer0, peer1, peer2, peer3
deploy example02
10 or more invokes ( anything, maybe a-1, b+1 )
verify value of a via query to peer0/1/2/3
start peer4
10 or more invokes ( enough so that checkpoints get sent )
verify value of a via query to peer0/1/2/3
verify that peer4 did not participate in consensus ( maybe query peer4 chain height which should be 1)

Doing this in behave requires new Python routines to start/stop individual docker containers and to map container ip addresses to endpoints we can use for the REST api. Docker-compose doesn't give us a way to start a container in paused mode so step 6 is would require a big update to how we set up behave.
I've talked to @RicHernandez2 @ramesh @manish-sethi about this and they will investigate.
—
You are receiving this because you are subscribed to this thread.
  Peer4 can't be part of the docker-compose file that defines peer0/1/2/3. So we need a step that starts an individual docker container. Then we need to configure this container to communicate with the other containers so we get to do ip address discovery and mapping. So some amount of mucking about in the .py files required ?

@tuand27613. This is already done in the issue 684 test I believe.

issue_680  ?
680 start 4 VPs, stops one then restarts it.
what i'm looking for to start 4 VPs , then at a later time start a 5th one. From what i can tell, this 5th one can't be part of the docker-compose config of the other 4 VPs.

@tuand27613 was this ever added?

This test has not been added.  Since we're rethinking #756,  I'll close this and reopen after we've had a chance to implement some of the new architecture


Add support for return of all colours in legacy format

The produced output of the GAMBLR.data::get_colours(legacy_mode = TRUE) is now replicating the output of the get_gambl_colours() functionality

Thanks for the updates Kostia. Do we want to update the docs for the updated dataset as well? In addition, I don't think I can find the source of how this resource was compiled in the DATASET.R script. Maybe this (and my first comment) can wait, but we should create an issue of this for tracking purposes. What do you think?

I'm going to push the script to generate the sample_data, but the description seems to be concise and not having a place to describe the new CN column?
#' Sample Data
#'
#' Sample data bunlded as a list of 3 elements. Metadata (data frame) and sample data from two projections (grch37 and hg38),
#' Each projection is organized as a list of 3 elements; maf, seg, and bedpe (all data frames).
#'
#' @format ## `sample_data`
#' A list of three elements.
#' Two elements are lists with three data frames in each list and the last element (metadata) is a data frame.
#' \describe{
#'   \item{meta}{A data frame with metadata.}
#'   \item{grch37}{A list containing 3 data frames; maf, seg, and bedpe. All in respect to grch37.}
#'   \item{hg38}{A list containing 3 data frames; maf, seg, and bedpe. All in respect to hg38.}
#' }
"sample_data"

I'm going to push the script to generate the sample_data, but the description seems to be concise and not having a place to describe the new CN column?
#' Sample Data
#'
#' Sample data bunlded as a list of 3 elements. Metadata (data frame) and sample data from two projections (grch37 and hg38),
#' Each projection is organized as a list of 3 elements; maf, seg, and bedpe (all data frames).
#'
#' @format ## `sample_data`
#' A list of three elements.
#' Two elements are lists with three data frames in each list and the last element (metadata) is a data frame.
#' \describe{
#'   \item{meta}{A data frame with metadata.}
#'   \item{grch37}{A list containing 3 data frames; maf, seg, and bedpe. All in respect to grch37.}
#'   \item{hg38}{A list containing 3 data frames; maf, seg, and bedpe. All in respect to hg38.}
#' }
"sample_data"

Yes, I am aware of this. We will rewrite the documentation for this bundled data at a later step since this is a behemoth of a dataset. Each element in the list would have to be documented, then we will add the new CN column.

Thanks for confirming! I agree documenting this can be tackled after all the separation is done. Just didn't want to overlook if there is another place I might have missed!


code easy way to get book id

getting the book id requires users to open up their browser devtools. not all users will know how to use devtools, so there needs to be an easier way to get the book id.

using the api to get the book id will not work as it requires authentication
https://api-sin-prod.gls.pearson-intl.com/user/{id}/product

{"statusCode":401,"error":"Unauthorized","message":"Missing authentication"}

window.foxitAssetURL returns the book url, just like pearson_pdf.book_url but without /pages/page


Add Haskell version

Add Haskell version to Haskell.

Tested and added, but dosen't feel optimised at all. Further development needed.

No performance increases for small matrices, but greatly improved time-scaling for larger ones.


fix: 🐛 Fix logic to check if instruction exists

Description
When an instruction is queried we check that the instruction ID is less than or equal to the instruction counter from the chain. Description in metadata states InstructionCounter - Number of instructions in the system (It's one more than the actual number). As a result if we query an instruction one more than the latest instruction the chain SDK doesn't throw an error when it should. This fixes the same logic
Breaking Changes
NA
JIRA Link
DA-1400
Checklist

[ ] Updated the Readme.md (if required) ?

:tada: This PR is included in version 27.0.0-alpha.5 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 27.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update servers.rst

typo: Additonally->Additionally

Hi @HSchwichtenberg, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

:shipit:

Thanks for the PR. Merged in b52765c43ffb5fa0f40c84e9fe8ed9d4a021a69d


Pearson design system

https://uxframework.pearson.com/

Thanks for the suggestion. Added in https://github.com/alexpate/awesome-design-systems/pull/124


[Dialog + Dropdown menu]The dialog cannot be reopened when closing the dropdown menu + dialog

Bug report
I have a button Open Dialog to open <Dialog>. In the body of the dialog, there is a button acting as a trigger for a . Clicking this button causes the dropdown menu to open and then I click outside dialog to close all. After that, I try to click the open dialog button again but it doesn't work. Is this a bug?
Current Behavior
Clicking outside dialog and then try to click the open dialog button again. You can not open dialog.
https://github.com/radix-ui/primitives/assets/49670360/67ee61b4-b5e9-409d-9615-7de6945bc3aa
Expected behavior
https://github.com/radix-ui/primitives/assets/49670360/702e6eae-1397-4369-b35c-9df6c7f8a5dd
Reproducible example
CodeSandbox Template
Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-dropdown-menu
2.0.5

Radix Package(s)
@radix-ui/react-dialog
1.0.4

React
n/a
18.2.0

Browser
Chrome

Assistive tech

Node
n/a
16.17.0

npm/yarn
pnpm
8.6.10

Operating System
MacOS
Ventura 13.5

It also happens to me due to the Dialog and Select components using the body element as a portal.
https://www.radix-ui.com/primitives/docs/components/select#portal
https://www.radix-ui.com/primitives/docs/components/dialog#portal
When Dialog opens it applies an inline style to the body element style="pointer-events: none;", the Select does the same.
When the Dialog is closed inline style remains because the Select component is still "open"
Maybe changing the portal element to the Dialogue itself resolves the issue

up

We have the same issue when opening Dialog from DropdownMenu because of the style="pointer-events: none;".
I made a workaround for us to add setTimeout on the handler that opens dialog from DropdownMenu, it sends the execution to the end of event loop and therefore the Dialog opens when the style attribute is removed by DropdownMenu. But it would be nice for Radix to handle these behaviors.
Codesandbox: https://codesandbox.io/p/sandbox/radix-bug-dialog-from-dropdown-menu-z5h78x

Just thought I'd add to this - I had this problem as well. Simple fix for me was to handle open state on the dropdown manually.

Add onClick in the element inside DropdownMenu.Trigger to setOpen in state
use open prop in DropdownMenu.Root
when calling any functions from menu interactions - setOpen to false
make sure to add onOpenChange={setOpen} in DropdownMenu.Root, too

That did it for me.

@Kibuto your codesandbox is showing another behavior (the correct one I guess?). If you continue to experience the same problem, could you fix your example? Thanks!

We have the same issue when opening Dialog from DropdownMenu because of the style="pointer-events: none;".
Codesandbox: https://codesandbox.io/p/sandbox/radix-bug-dialog-from-dropdown-menu-z5h78x
I made a workaround for us to add setTimeout on the handler that opens dialog from DropdownMenu, it sends the execution to the end of event loop and therefore the Dialog opens when the style attribute is removed by DropdownMenu. But it would be nice for Radix to handle these behaviors.

Hey, I fork you example and after installing the dropdown and dialog for the latest versions everything seems to be working. Probably you hit https://github.com/radix-ui/primitives/issues/1088
CodeSandbox

Just thought I'd add to this - I had this problem as well. Simple fix for me was to handle open state on the dropdown manually.

Add onClick in the element inside DropdownMenu.Trigger to setOpen in state
use open prop in DropdownMenu.Root
when calling any functions from menu interactions - setOpen to false
make sure to add onOpenChange={setOpen} in DropdownMenu.Root, too

That did it for me.

Do you have a reproducible example I can take a look at? you can also check if it is the same problem as @ronaldruzicka

I cannot reproduce either, same conclusion @joaom00. I will close the issue as there hasn't been activity and the sandbox works as intended.

I also encounter the same issue, again that's the case when ever I try to use a Dialog inside any other component which creates a portal (Dropdown, Popover, etc.) If for example one of the dropdown options should open a Dialog this issue will occur.
The workaround I did for now is the same as @ronaldruzicka, added a setTimeout to the state how open the Dialog

Yes it looks like it was fixed in the newer versions, thanks 👍

This issue helped me a lot. Thank u guys!


Fixed vbox and scaleio for latest updates to context

This commit fixes some issues in the scaleio and virtualbox
driver packages relating to using the new context. It also
include exposing instanceID and localdevices further than
planned to make the drivers work for mount/unmount/attach
/detach operations.

Closed for #124


Images are not available anymore through API calls

It's been a month now that img urls are empty while fetching using get_media_url()
To me, issues could be - following the most likely :

On devices's side if their creds prevent images to be sent to API ?
On API's side, if route broken or so ?
On qarnot's side ?

What do you guys think @frgfm, @florianriche , @MateoLostanlen, @pechouc ?

Sorry for the late reply!
I can run some tests, but have you checked that we can do it properly outside of the platform?
If that's the case, the problem comes from the platform, otherwise it's on the backend side!

According to our tests yesterday @Akilditu, I think we can close this issue right?

@Akilditu still some issues regarding ongoing experiment but I guess it's more on hardware's side than API.
So yes this can be closed.


Service support

It's more convenient to support Service or something on those lines which has no ui.

It would be easy to plug in a new ProcessorUnit implementation for android.app.Service classes into the processor. The main question here relates to the problem of showing a system UI dialog (or a rationale, fwiw) in a context which shouldn't have a presentable UI, such as a dialog. How should we go about this?

Sorry, I'm gonna close this issue because I think it's out side scope of this library.
Yes, we can show notification and launch activity to show dialog to grant permission, but developer can do it with current version.
If some issue would be reported, we should reconsider about it!


[dv/chip] Add hooks for the chip in the close source

Signed-off-by: Sharon Topaz<EMAIL_ADDRESS>Adding hooks in dut_init() to be extended in the close source, same as was done for the otp_ctrl.

Given that multiple testbenches are needing this,. we should avoid duplication. We should rename this to dv_callback_vseq and move it to hw/dv/sv/dv_lib. That way, this infrastructure can be used by all extended testbenches.
I am however, fine with doing this refactor later.

Sorry Sri, not sure I understand what you mean. The duplication is between IP level and top level? This is a callback inside chip_base_vseq so don't you want the name to include chip?

All testbenches (whether IP or full chip) extend from DV base lib code. This callback vseq can be moved into DV base lib code instead, so that OTP ctrl, full chip (and maybe flash) do not have to duplicate the same callback within their testbenches.

Thanks I see now, then I prefer to do it later and to have this PR merged soon if it is ok.


How to use Streamer Component ?

Documation didn't tell me how to use it ...

See source code for demo page. Documentation will be cretaed for Metro UI CSS 4.0

Thank you


Question: Different endpoints per section

Consider the following example:

A single UICollectionView with multiple sections, where each section displays the data from different API endpoints.
How is it possible to modularize networking code in such case? Which object is responsible for data loading in IGListKit?
For me it looks like the IGListKit requires the DataSource to combine all the data together and then provide a section controller based on the data type.
However, in my case each section is homogenous, i.e.:
Endpoint1-> Section1 -> Cell Type1
Endpoint2-> Section2 -> Cell Type2
The networking is asynchronous, so that one section may load before another one.
How to approach such a challenge, for me putting all the data in the controller doesn't look like a wise choice.
NB: Each section contains of multiple TableView-like cells which are the same in a section.

Another point is, that the UI looks similar to this screenshot, so I can't use one section controller per cell.


Add Reveal in Finder/Explorer when right-clicking request/folder

I have checked the following:

[X] I've searched existing issues and found nothing related to my issue.

Describe the feature you want to add
When right-clicking a request or folder in Bruno, an option to Reveal in Finder/Explorer would be very handy. Just like in VS Code.
Mockups or Images of the feature

Hi @fantpmas, that's definitely a nice feature to have. We're prioritizing critical bugs/improvements for now and we'll update you when we are looking into this.


volume

Basically I want to not use the softvolume but still know what the volume is so that it can be used elsewhere in my system.  I did a quick hack to make it work for me.  If you'd like to incorporate this please let me know how you'd recommend to enable it or if there's a better way and I'll get it done.

Information on the volume is available as an event when the volume is set/changed. It might be possible to add a 'VolumeCtrl:DisabledorVolumeCtrl:Bypass` option for just returning max volume all the time, not sure if there is much demand for it though.

Information on the volume is available as an event when the volume is set/changed. It might be possible to add a 'VolumeCtrl:DisabledorVolumeCtrl:Bypass` option for just returning max volume all the time, not sure if there is much demand for it though.


[Storage] Add samples of listing blobs without using await

Resolves #6009

This will probably needs update if merging after the samples re-haul work.


Enabling 2 peers on blockchain network

Hi Gari,
We are trying to build a KYC POC on bluemix trial version (if we get through the issue, we are planning to buy the licence). We need to simulate 2 banks as two peers on the bluemix service. We took the credentials from Blockchain Service created on Bluemix and tried to register few users on Peer1 and few on Peer2 by using ibc.register() method for cp-web application. However we are facing issues on login. Can we please have a discussion/suggestions?
Thanks
Gauri S.

Could you post what issues you having or what errors you are seeing when registering users?

Never heard back regarding your issue.  Are you still having problems?

I'll close this issue, but feel free to open another if you have any further problems.


Update testcontainers-scala-postgresql, ... to 0.40.5

Updates

com.dimafeng:testcontainers-scala-postgresql
com.dimafeng:testcontainers-scala-scalatest

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.dimafeng" } ]

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

Superseded by #73.


Checkstyle validation fix

Add license header inline, allowing validation to succeed independently from where Maven is executed

I don't really like adding big chunks of CDATA sections into the POM files. That being said, I don't think there is a better way in this case.
Minor comment about the property name, otherwise looks good (we will likely need to move this in to kie-parent eventually).

@psiroky agreed, this is not ideal solution. When we actually move this into kie-parent, ideally we should create a Maven module that would then store both, the checkstyle config as well as the template header file.

+1


Test PR G - Make badgeDangerBackground blue

This is a dummy PR as part of testing https://github.com/Expensify/Expensify.cash/pull/3216. It will soon be reverted.
QA Steps
Verify that this PR has been reverted by:

Request money from account A to account B.
Log into account B.
Verify that the IOU badge in the sidebar is red, not blue.

:warning: :warning: Heads up! This pull request has the CP Staging label. :warning: :warning:
Merging it will cause it to be immediately deployed to staging, even if the open StagingDeployCash deploy checklist is locked.

Skipping tests to test CP flow

🚀 Deployed to staging in version: 1.0.61-8🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production in version: 1.0.62-0🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Custom action menu order not being honored

Describe the bug
I've created a package of AdaptiveCard actions and the actions all show up on the menu but they don't honor the custom order I specified. I've tried both integers and floating points.  Here's the displayed menu:

and here's a couple of sample UI schemas:
{
  "$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema",
  "form": {
    "label": "Send an Adaptive Card",
    "subtitle": "Send Adaptive Card",
    "order": [
      "template",
      "dataProperty",
      "activityIdProperty",
      "*"
    ],
    "properties": {
      "template": {
        "intellisenseScopes": [
          "variable-scopes"
        ]
      },
      "activityIdProperty": {
        "intellisenseScopes": [
          "variable-scopes"
        ]
      }
    }
  },
  "menu": {
    "label": "Send an Adaptive Card",
    "submenu": [ "Adaptive Cards" ],
    "order":  0
  },
  "flow": {
    "widget": "ActionCard",
    "body": "=action.template",
    "footer": {
      "widget": "PropertyDescription",
      "property": "=action.activityIdProperty",
      "description": "= (Activity ID)"
    },
    "hideFooter": "=!action.activityIdProperty"
  }
}

{
  "$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema",
  "form": {
    "label": "Update an existing Adaptive Card",
    "subtitle": "Update Adaptive Card",
    "order": [
      "template",
      "dataProperty",
      "activityId",
      "*"
    ],
    "properties": {
      "template": {
        "intellisenseScopes": [
          "variable-scopes"
        ]
      },
      "activityId": {
        "intellisenseScopes": [
          "variable-scopes"
        ]
      }
    }
  },
  "menu": {
    "label": "Update an existing Adaptive Card",
    "submenu": [ "Adaptive Cards" ],
    "order":  1
  },
  "flow": {
    "widget": "ActionCard",
    "body": "=action.template"
  }
}

{
  "$schema": "https://schemas.botframework.com/schemas/ui/v1.0/ui.schema",
  "form": {
    "label": "Create an Adaptive Card",
    "subtitle": "Create Adaptive Card",
    "order": [
      "template",
      "dataProperty",
      "resultProperty",
      "*"
    ],
    "properties": {
      "template": {
        "intellisenseScopes": [
          "variable-scopes"
        ]
      },
      "resultProperty": {
        "intellisenseScopes": [
          "variable-scopes"
        ]
      }
    }
  },
  "menu": {
    "label": "Create an Adaptive Card",
    "submenu": [ "Adaptive Cards" ],
    "order":  2
  },
  "flow": {
    "widget": "ActionCard",
    "body": "=action.template",
    "footer": {
      "widget": "PropertyDescription",
      "property": "=action.resultProperty",
      "description": "= (Card)"
    }
  }
}

Version
1.4.0-rc4-nightly

Hi, I too have similar problem, did you solve this issue, and additionally in the composer build that I have v2.0.0-nightly.241799.xxx, I dont see this menu option of Adaptive Cards, How did you manage to get that option

@luhan2017 please triage and reassign, thanks!


Create 1dependabot.yml

I do not read this jargon.
I believe in owed retribution. My PC is broken and it's federal when your devices are harmed even in open projects.
I demand this to be fixed
Please help to anyone that cares

Why am I not authorized with my open source data


doesn't support typescript type assertion

version:

"@vitejs/plugin-vue2 2.2.0

And vue-tsc checking always complains about it.

has anyone found a workaround?

has anyone found a workaround?

Currently, we can close this checking by tsconfig
{
  "vueCompilerOptions': {
    "skipTemplateCodegen": true
  }
}

how to resolve this problem ?

currently, I use https://github.com/vuejs/language-tools/pull/3215


Roll Engine from c475288d9389 to e8da859485ac (3 revisions)

https://github.com/flutter/engine/compare/c475288d9389...e8da859485ac
2021-03-04<EMAIL_ADDRESS>Roll Dart SDK from 96183eef80b7 to 8d3ed9fda5f1 (1 revision) (flutter/engine#24784)
2021-03-04<EMAIL_ADDRESS>Guard metal rendering behind SHELL_ENABLE_METAL (flutter/engine#24727)
2021-03-04<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from _vRi_XkB7... to zPlM6iYY3... (flutter/engine#24782)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from _vRi_XkB7ZV5 to zPlM6iYY3N49
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Commit queue failed; closing this roll.


Test generation timeout is exceeded 15 sec - 1 min for every run

Description
Test generation timeout is exceeded 15 sec approximately for every UTBot run.
To Reproduce

Run the 'UTBotJava' project in IntelliJ Idea 2022.1.4
Install one of the latest from main branch
Open test generation dialog for utbot-sample/src/main/java/org/utbot/examples/algorithms/ArraysQuickSort.java for example
Set test generation timeout to 20 sec.
Check when test generation finishes.

Expected behavior
Tests are supposed to be generated during the defined timeout of 20 sec.
Actual behavior
Tests are generation for about 30-35 sec. (on the exact PC)
Environment
Windows 10 Pro
RAM 32.0 GB
Processor Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz   3.60 GHz
IntelliJ IDEA 2022.1.4
Heap memory allocated for IDEA is 2 GB
Additional context
If test generation timeout is set to 60 sec, test generation continues for 75 sec approx.
As discussed with @sergeypospelov and @Markoutte :
Summaries generation and Code generation is not taken into account.
Though currently some of them seems to take much time.
Investigation is needed.

For testability:
it would be great to add info log records for different phases of UnitTestBot test generation.

Test generation initiated
Collecting information (classes)
Fuzzing phase
Symbolic analysis phase
Minimization
Summaries
Code generation

The issue was fixed by #1151
Verified it on build from the latest main.


DRILL-7801 Changed the scope of output_batch_size option to system and session

DRILL-7801: Changing the scope of output_batch_size
Documentation
Need to update scope of drill.exec.memory.operator.output_batch_size from system to session and system
Testing
Manual tests

@ArtTrush
Thanks for the contribution.  I approved the request, however could you please add another pull request to update the documentation and website with this change?
Thanks!

@cgivre
Sure) Thanks!

@ArtTrush
Can you please resubmit this PR and apply it to the master branch, not the 1.18 branch?  I didn't catch that and committed it before I should have.
Thanks,
-- C

@cgivre
Sorry, my bad!


Evaluate PostGIS

Can this be closed?

PostGIS was slower than Scipy, so there were no benefits in this approach


Increase Variance in generated transactions in Generator

valid transactions only use one witness as only UTxO of one address get spent. This might skew test results, in particular the property-based tests which test witness validation
After resolving, it

MUST be possible to generate transactions where more than just one signature is required

our generators are done very differently now. this is obsolete.


set active_pixel_bitmap in a better way

As background, here's an illustration of how active pixels are set currently:
In the images below, the circles indicate the SkyPatch radius for each object. (They also serve to show where the objects are). The pixel outlines show the active pixels for each object.
With no minimum radius (Config(0.0))

With minimum radius of 8 pixels (default; Config())

Take-aways
The active pixel selection algorithm based on pixel significance (the part other than the minimum radius requirement) only selects a few of the brightest pixels in some objects and none at all in others. The minimum radius requirement is basically the only active pixel selection, since it usually contains a superset of the pixels selected based on significance. Also, sometimes the active pixels extend outside the patch radius (the patch radius is smaller than 8 pixels).
We should probably just use a heuristic similar to the one used for patch radius, but perhaps also taking extent of significant pixels into account.

Sounds good. Minor point: Since the sky patch is a square, we're using the term "radius" kind of loosely for it. Here "radius" denotes the radius of an L_\infty ball, i.e. a square with edge length 2 * radius.

Update: I finally had an implementation I was happy with a week and a half ago, but have since been working through a test failure that I've now finally gotten to the bottom of. I should have a PR ready in the next couple days.

Great! I'm looking forward to the PR.


fix(mux-video-react): Don't spread disableCookies to video to avoid warnings

Same issue as #602.

Hey @luwes, can u have look and possibly merge this? Thanks


Update SDK and libraries

Summary of changes
Updated SDK version and libraries
Please make sure these boxes are checked before submitting your pull request - thanks! Guide

[x] Code is formatted.

[x] Run the lint tests with ./gradlew lintDebug and make sure BUILD is SUCCESSFUL

[x] If new feature is implemeted then it is compatible with Night theme too.

[x] Commit messages are well-written.

Automated message from Dropbox CLA bot
@iamareebjamal, thanks for the pull request! It looks like you haven't yet signed the Dropbox CLA. Please sign it here.

Automated message from Dropbox CLA bot
@iamareebjamal, thanks for signing the CLA!

Fixes #452

Please review @kunall17 @saketkumar95

Done @Sam1301

Done @Sam1301

Thanks for writing a descriptive commit message. Here's a guide to help you write commit messages that are more consistent with our style, which makes it easier for us in the future -- when someone's trying to solve a new problem, if commit messages are all in the same format, it's easier to skim them in logs and quickly understand what's happening. For instance, having a separate line at the end of the commit message that includes the issue number in the format we specify will help us use GitHub to automatically close that issue once we merge your commit.
 And when you update your code or your commit message, you can update your pull request and the changes will appear here. :)
Thanks @iamareebjamal !

Sorry for late response, I have mid terms going on @brainwane

@iamareebjamal Thanks for the update! You ought to take out the parentheses in the final line of the commit message and add a period at the end, though.

Done @brainwane

Merged, thanks @iamareebjamal!


STM32F1: adc::AdcChannel and adc::AnyAdcChacnnel are Missing

Regarding to the documentation the struct AnyAdcChannel and the Trait AdcChannel should be accessible.
In my case use embassy_stm32::adc::{AdcChannel, AnyAdcChannel}; lead to following compile error:
error[E0432]: unresolved imports `embassy_stm32::adc::AdcChannel`, `embassy_stm32::adc::AnyAdcChannel`
 --> src/main.rs:6:26
  |
6 | use embassy_stm32::adc::{AdcChannel, AnyAdcChannel};
  |                          ^^^^^^^^^^  ^^^^^^^^^^^^^ no `AnyAdcChannel` in `adc`
  |                          |
  |                          no `AdcChannel` in `adc

From my Cargo.toml:
[dependencies.embassy-stm32]
version = "0.1.0"
features = [
  "memory-x",
  "stm32f103c8",
  "unstable-pac",
  "time-driver-tim2",
  "defmt"
]

I'm not sure what I'm missing here.

I have the same problem with the stm32f411ce, maybe I am missing something. But the documentation suggests, that it should work.

@toon23 I got it working now. If you are using the crates.io version directly it does not work. You need to be using the github version. At least in my case, that was the fix. The embassy book also shows how to do this: https://embassy.dev/book/#_cargo_toml_2

Thank you for the hint @zUnixorn.


No w3c correlation headers in app insights on outgoing requests

When using the app insights Nodejs sdk in a node app, it adds the following headers:
        "request-context": "appId=cid-v1:957b1ee6-64f0-4ac7-9562-44044ba525c6",         "request-id": "|87114b1459694205a84de2d5b078cbdd.dd94903cc8a44eaa.",         "traceparent": "00-87114b1459694205a84de2d5b078cbdd-dd94903cc8a44eaa-01",         "x-ms-request-id": "87114b1459694205a84de2d5b078cbdd",         "x-ms-request-root-id": "|87114b1459694205a84de2d5b078cbdd.dd94903cc8a44eaa.",
In an Azure Functions app, only the request-context seems to be added, despite calling .setDistributedTracingMode(AppInsights.DistributedTracingModes.AI_AND_W3C)  when configuring the sdk.
Distributed tracing mode is also set in the host.json, and doesn't seem to have an effect.
The code for the Azure Function is as follows:
import { AzureFunction, Context, HttpRequest } from "@azure/functions";
const AppInsights = require('applicationinsights');
import Axios, { } from 'axios';

AppInsights
    .setup()
    .setDistributedTracingMode(AppInsights.DistributedTracingModes.AI_AND_W3C)
    .setAutoDependencyCorrelation(true)
    .setAutoCollectRequests(true)
    .setAutoCollectPerformance(true)
    .setAutoCollectDependencies(true)
    .setAutoCollectExceptions(true)
    .setAutoCollectConsole(true)
    .setUseDiskRetryCaching(true)
    .setSendLiveMetrics(true)
    .start();

const httpTrigger: AzureFunction = async function (context: Context): Promise<void> {

    context.log('HTTP trigger function processed a request.');
    AppInsights.getCorrelationContext(); //this is null, but should probably not be.
    const response = await Axios.get('https://postman-echo.com/get');

    context.res = {
        body: response.data,
        headers: {
            'Content-Type': 'application/json'
        },
        status: response.status
    }
};

export default httpTrigger;

This is using func version 3.0.2245
This seems to be related to https://github.com/Azure/azure-functions-host/issues/5901

Hi @hannesne sorry for the delay. It looks like this was addressed in https://github.com/microsoft/ApplicationInsights-node.js/issues/585 by adding these docs here: https://github.com/microsoft/ApplicationInsights-node.js#azure-functions


Unify names of tools & services

[ ] ARC Commander (based on GH repo) or ARCCommander
[ ] Swate (based on GH repo) or SWATE
[ ] PLANTdataHUB (based on plant journal paper) or PlantDataHub or PLANTDataHUB
[ ] Knowledge Base not knowledgebase

Swate (based on GH repo) or SWATE

Swate, not SWATE

done!


bugfix: failed to archive ova post smoke test log when test failed

venv contains its own ansible.
When test failed, the the trag fetchOVA log is trigger but deactive won't be executed.
So ansible scripts in fetchOVA will fail.
@panpan0000 @PengTian0

@changev ,why ansible will fail without deactive

@panpan0000 venv contains its own ansible.

:+1:


What is e-ink setting?

I am confused what this means..

I am confused what this means..

It's for the e-ink devices like Kindle and Koboreader


Add MIT Licence

Everyone MUST agree with this.

You have my permission

LGTM.

@heyimocto approve

alg

should we use american spelling (license instead of licence) for consistency?

@theotherhades It isn't super important as of now but in the future I think we should try using British English spelling for everything possible unless we want to go with American (Freedom) English, which would also work

Just waiting on silver, then we can merge.

OH I FORGOT THAT I BLOCKED MD @mdwalters (getting profile)

unblocked


Provide mouse and keyboard controls

Hello, could you by any chance provide mouse and keyboard controls for steering the jet? I tried to play around but I couldn't add mouse control to steer the jet. Thanks.

You can add controls in the Input System located inside the Assets folder.
There are plenty of tutorials online about how to add controls schemes to the new Input System.

This feature will not be added


feat: js-rln: make the signature message editable

This is a feature request for js-rln.
Make the signature message used as entropy to generate RLN credentials arbitrary/editable

There was actually some discussions related to adding a password for RLN credentials generation https://discord.com/channels/864066763682218004/905333924476108800/1037521430008561756
I don't think the full message should be editable. This introduce too many risks of error.
Enabling an optional password would be better.
However, even an optional password seems risky. Are we saying that the zk credentials are more valuable than the user Ethereum's wallet?
Cc @s1fr0

There was actually some discussions related to adding a password for RLN credentials generation https://discord.com/channels/864066763682218004/905333924476108800/1037521430008561756
I don't think the full message should be editable. This introduce too many risks of error. Enabling an optional password would be better.
However, even an optional password seems risky. Are we saying that the zk credentials are more valuable than the user Ethereum's wallet?
Cc @s1fr0

That makes sense. Happy to close this if looks good with @s1fr0 and @weboko.s

Let's close until @s1fr0 provides new guidelines/RFC around usage of password in phrase to sign for seeding.


CpoBlackboxFunction could not be imported from docplex.cp.model

Hi, I have been using CpoBlackboxFunction on my local laptop since its beta version, and now I have access to its stable version 22.1.0.  Without any problem, this function is working on my local laptop. However, I need to run my code on a high-speed computing cluster, Compute-Canada. Although the installed version on my virtual environment is also 22.1.0 , it gives me an error that cannot import name 'CpoBlackboxFunction' from 'docplex.cp.model' .
I appreciate you helping me in this regard.
Best,
Saeede

Hi,
This is very weird. Could you double-check that you do have the correct version of docplex on this computing cluster (e.g.: pip freeze | grep docplex ) ?
Kind regards

Hi,
Yes, you're right. There was a version problem.
Thanks


⚠ Fetchers has degraded performance

In ba2faaf, Fetchers ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 280 ms

Resolved: Fetchers performance has improved in 2af1a5a.


Document intersects_obb

How can Bevy's documentation be improved?
intersects_obb seems like a very helpful function for implementing camera frustum based culling:
However, it is difficult to figure out how to use, due to the lack of documentation:

where should model_to_world come from?

are there any conditions on the kind of aabb expected (should it be in NDC, for instance?)

I wanted to answer the question of which cameras out of N cameras are able to see some object.
By looking around I find that probably intersects_obb is what I want.
Agree that docs are lacking.
A dedicated example should be considered too


Input Password doesn't support case sensitive?

This is happen recently in my setup, in the past it's already working well
What I remember is I updated some of my packages
This is my pip freeze right now:
Appium-Python-Client==0.21
PAM==0.4.2
Pillow==2.3.0
Twisted-Core==13.2.0
Twisted-Web==13.2.0
adium-theme-ubuntu==0.3.4
apipkg==1.4
apt-xapian-index==0.45
argparse==1.2.1
chardet==2.0.1
colorama==0.2.5
command-not-found==0.3
coverage==4.0.3
debtagshw==0.1
decorator==4.0.9
defer==1.0.6
dirspec==13.10
docutils==0.12
duplicity==0.6.23
execnet==1.4.1
funcsigs==0.4
html5lib==0.999
httplib2==0.8
lockfile==0.8
lxml==3.3.3
mock==1.3.0
oauthlib==0.6.1
oneconf==<IP_ADDRESS>.04.1
pbr==1.8.1
pexpect==3.1
piston-mini-client==0.7.5
psutil==1.2.1
py==1.4.31
pyOpenSSL==0.13
pycrypto==2.6.1
pycups==1.9.66
pygobject==3.12.0
pyserial==2.6
pysmbc==<IP_ADDRESS>
pytest==2.8.7
pytest-cov==2.2.1
pytest-pythonpath==0.7
pytest-xdist==1.14
python-apt==<IP_ADDRESS>ubuntu2
python-debian==0.1.21-nmu2ubuntu2
pyxdg==0.25
reportlab==3.0
requests==2.2.1
robotframework==3.0
robotframework-appiumlibrary==1.3.5
robotframework-selenium2library==1.7.4
sauceclient==0.2.1
selenium==2.52.0
sessioninstaller==0.0.0
six==1.10.0
software-center-aptd-plugins==0.0.0
ssh-import-id==3.21
system-service==0.1.6
unity-lens-photos==1.0
urllib3==1.7.1
vboxapi==1.0
wheel==0.24.0
wsgiref==0.1.2
xdiagnose==3.6.3build2
zope.interface==4.0.5

I am using python v 2.7.11. Perhaps someone already had problem like this before?
I already try to reinstall all of the packages, but no luck

Well, it seems it comes from the keyboard on the test device (I am using real device).
It uses custom keyboard, so I install google keyboard from playstore and set it as default keyboard.

This sounds like there is nothing library can do to fix this. Can I close this?

yup, sorry I forgot. I will close this then :).


Add structure info endpoint

I've added the structure info endpoint + Correct the search endpoint

Published in 0.31.0.


feat: add createMtlsSession function

How could we support inject()?

You know more about undici and light-my-request. Can we add a dispatcher option to the fastify.injectoptions and make it work with undici dispatchers?


Add functions to control GPIOs

add functions to control GPIOs
set GPIO0 or GPIO1 to output and level
This fixes #40.

Hi @aentinger
Thanks for the input.
I will add and change this tonight. I also have an example ready.


Present to C++ standards committee

Scheduled to be presented in Kona In November https://github.com/orgs/cplusplus/projects/19/views/1?pane=issue&itemId=41839877
We need slides for a presentation preparing. We can base them on https://github.com/jbcoe/polymorphic_value/blob/main/talks/2022_07_05_CppOnSea.md

We initially (2023-11-08) presented wg21.link/P3019r1 and later we presented wg21.link/P3019r2 (2023-11-10).
The Library Evolution working group approved the design in wg21.link/P3019r2 but did not forward to the Library Group because they wanted some amendments to the paper (Remove optional specialization, correct noexcept status on swap (follow vector)). These edits have since been applied and submitted as merged PRs.
During discussion in LEWG and at the meeting in general we were able to improve our handling of allocators in assignment and swap to model vector (a container).
We added sections to the paper to cover modelled types (namely vector, optional and unique_ptr). This gave motivation for noexcept statuses, comparison support and more.


Plus' window is hiding on pressing Cancel while selecting image

Bug description
Plus' window is hiding on pressing Cancel while selecting image.
Steps to reproduce

Start Grabber
Click on 'Plus' button
Click on 'Image' button
Click on 'Cancel' without selecting any image

Expected behavior
Plus' window should be kept shown.
Context
N/A
Screenshots

System information

OS: Windows 10
Grabber version: v7.10.1

Additional context
N/A

Good catch 👍
This window was created and didn't get updated for a long time, I guess an update is well overdue for it.


Markdown CHANGELOG for LLM assistance

The burn releases HTML page is well-done.
I would really appreciate the same information formatted as a CHANGELOG, as described by the "keep a changelog" website. (Did I overlook a change log in the burn source code?)
Why? LLM ingest
Why am I asking for the information in Markdown format? I want to provide a burn change log to my favorite LLM. Using a Markdown file is more feasible to input into a LLM context window.
HTML to Markdown Conversion
Yes, one can convert the GitHub releases page to Markdown in at least two ways:

use a LLM
use a tool such as rhysd's changelog-from-release

However this is done, doing such a conversion once, at the repo level, would allow all of us to share it.
Inspiration
The Squiggle Language has documentation on how setup LLM's for coding assistance for Squiggle itself. This approach could be useful for burn too.

Using rhysd's changelog-from-release, I generated thi CHANGELOG.md

Here is how I use it:

Me: Please use the change log above to update your knowledge about the Rust-based burn ML library. No need for analysis or commentary. Later, I will ask some specific questions.
Assistant: I have read through the detailed change log for the burn ML library. I now have updated knowledge about the library's evolution from v0.3.0 through v0.15.0, including major features, breaking changes, bug fixes, and improvements across areas like tensor operations, neural networks, ONNX support, backends, documentation, and infrastructure. I'm ready to answer any specific questions you may have about the library's development and capabilities.


[REQUEST] Show Userinfo every X minutes

Expected Behavior
Show the userinfo from the start every X minutes (with a paremeter in config).
So you can track which level ur trainer is and how many items he got.
like for example in this bot:

Actual Behavior
shows the userinfo once at startup
Steps to Reproduce
Other Information
OS:
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

duplicate of #70