Improve sdl

https://github.com/xmake-io/xmake-repo/pull/1786

I'm very busy for now, but as far as I checked I'd say libsdl_ttf has an issue as zlib may not be the only dependency of freetype, depending on config, we need to pass all libs, but only when freetype is linked statically.

@SirLynix I have fixed it for mingw, but it does not work for wasm. but it works fine on my machine, I don't know why.

@SirLynix I have fixed it for mingw, and improved libsdl_gfx to support static lib.
but it does not work for wasm. but it works fine on my machine, I don't know why.

It may be a conflict with wasm builtin libsdl port, try to pass -sUSE_SDL=0 as cxflags?

@SirLynix I have fixed it for mingw, and improved libsdl_gfx to support static lib.
but it does not work for wasm. but it works fine on my machine, I don't know why.

It may be a conflict with wasm builtin libsdl port, try to pass -sUSE_SDL=0 as cxflags?

It works, thanks.

It works now. ~ @SirLynix

If there are no other problems, I intend to merge it.

checking for sdl2-config... /Users/runner/.xmake/packages/l/libsdl/2.26.2/54359ddbb6044400b7ce1d91167dd987/bin/sdl2-config
checking for SDL - version >= 2.0.0... no
*** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding SDL or finding the wrong
*** version of SDL. If it is not finding SDL, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system

*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
I don't know why?  it works on my machine.

I don't get it either, but I don't have a machine with macOS to test it.

configure:13134: checking for SDL - version >= 2.0.0
configure:13222: gcc -o conftest  -O -DUSE_MMX -I/Users/runner/.xmake/packages/l/libsdl/2.26.2/54359ddbb6044400b7ce1d91167dd987/include/SDL2 -D_THREAD_SAFE   conftest.c  -L/Users/runner/.xmake/packages/l/libsdl/2.26.2/54359ddbb6044400b7ce1d91167dd987/lib -lSDL2 >&5
ld: warning: dylib (/Users/runner/.xmake/packages/l/libsdl/2.26.2/54359ddbb6044400b7ce1d91167dd987/lib/libSDL2.dylib) was built for newer macOS version (12.6) than being linked (12.0)
configure:13222: $? = 0
configure:13222: ./conftest
dyld[9561]: Library not loaded<EMAIL_ADDRESS>Referenced from: '/Users/runner/.xmake/cache/packages/2302/l/libsdl_gfx/1.0.4/source/conftest'
Reason: tried: '/usr/local/lib/libSDL2-2.0.0.dylib' (no such file), '/usr/lib/libSDL2-2.0.0.dylib' (no such file)
./configure: line 1707:  9561 Abort trap: 6           ./conftest$ac_exeext
configure:13222: $? = 134
configure: program exited with status 134
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""

Seems good, thanks! 👍


Typo: je-deployment should be deployment

Read me references a task called je-deployment.
Tasks named je-* are hangovers from the original tutorial. They should be referenced as without the je- prefix.
Note: The shipyard is correct so this doesn't break the tutorial, but it is confusing for a user and should be fixed.

https://github.com/afzal442/keptn-pg-killerway/commit/7acc7631a685ce6592d0e15603cdc015412ea94a


After editing a field it gets set to "Empty"

I have the following code in my page:
$('#myId').editable({
            placeholder: "Placeholder",
            select2: {
                width: "100%",
                ajax: {
                    multiple: true,
                    url: 'myserver/url',
                    dataType: 'json',
                    data: function (params) {
                        return {
                            term: params.term
                        };
                    },
                    processResults: function (data) {
                        var dic = { results: [] };

                        $.each(data, function (key, value) {
                            dic.results.push({ id: value.id, text: value.name});
                        });

                        return dic;
                    }
                }
            }
        });

everything works fine I select an option that is different from the original it sends a request to server, the server gets the changed option but the field is changed to  instead of the selected value.
I tried changing the value with the success parameter, but it's changed again by the script, so I'm guessing this is a bug.

+1 It looks like select2 isn't returning any value to editable.  This returns undefined to the console.
$('#select2down1').editable({
source: fruits,
select2: {
placeholder: 'Select fruit',
},
display: function(value, source) {
console.log('value: ' + value);
}
});


Additional component parameters to be used when Geocoding

Looking at the source for geocoding, I don't see the ability add additional component restrictions to the request. I only see the address property being supplied. Is there a restriction in place to limit that? Thanks

Since the implements of the Android api and the iOS api are really different.
This plugin focus on providing the same functions for both OSs, so there are some missing functions.
I don't mind if you folk this plugin, and customize it by yourself, but at least I don't have any plan to implement these parameters at this time.

Ok, pull get around to a pull


Fix error filter on null to backtrack, catching non-string error value

This PR fixes  #42.

LGTM, thank you!


Unverified breakpoint

VSCode Version: 1.2.0
OS Version: OS X Yosemite 10.10.5

Steps to Reproduce:

Install latest version of Visual Studio Code with all necessary extension for Go lang developing according to this article https://github.com/Microsoft/vscode-go

Set breakpoint and start debugging.

Breakpoint become grey. If point cursor on them you will see "Unverified Breakpoint" hint appears.
I've searched how to fix it but nothing is helped.

This issue was moved to Microsoft/vscode-go#360


Improvements to Search field helper for searchable fields

Currently SeachableField helper accepts a type. However, this is not necessary, since only edm.String and edm.Collection(edm.String) may be searchable. Instead, SeachableField should accept a boolean flag for whether it is a collection or not:
SearchableField(name="foo)                  # type = String
SeachanbleField(name="bar, collection=True) # type = Collection(String)

cc @xiangyan99 @heaths

Thinking more, perhaps SimpleField should similarly get a collection=true boolean? UX study participants also seemed to have a hard time composing edm.Collection with other types (they were surprised it was a function, for one).

We could do that. The ODataType.Collection also acts like a function in other languages, but while we could still allow that, the parallel to have collection=True is nice. @brjohnstmsft and @bleroy, thoughts?

Our type system is relatively simple today, but what if in the future we add something weird like unions? The nice thing about modeling type composition with functions is that it's trivially extensible without breaking backwards compatibility. Boolean flags, not so much.

We had previously decided on collection=true in other languages, since ComplexField can only be complex or collection(complex), and searchable can only be string or collection(string). Are you suggesting we not use the collection property there, or just in this case (for consistency)?

Just in the case of SimpleField

Fair enough. Let's leave the ODataType.Collection() function-like construct we have in other languages currently.

Fixed in #11683


Using community.hashi_vault.vault_read gives fqcn warning

Summary
TLDR: When using FCQN community.hashi_vault.vault_read, I get the warning hashi should be hash. ansible-lint produces 0 failures, 0 warnings.
Extension version
unknown
VS Code version
NVIM v0.9.5
Ansible Version
ansible [core 2.16.2]
  config file = None
  configured module search path = ['/home/foouser/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.11/site-packages/ansible
  ansible collection location = /home/foouser/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/lib/python-exec/python3.11/ansible
  python version = 3.11.7 (main, Feb  2 2024, 21:09:42) [GCC 11.3.0] (/usr/bin/python3.11)
  jinja version = 3.1.3
  libyaml = True

OS / Environment
Gentoo Linux, ansible-lint 6.22.1
Relevant log output
No response

@Wnthr We do not support NVIM.
Also, it seems that this message is coming from spell checker.
Thanks


next-feature/add-runtime-packages

Adds runtime packages to the kernels.

The most recent commit appears to fix the ansible kernel, but when trying to run an example playbook, there are errors. The cells runs and resulting error are below. It is strange because zmq is available as an importable module in the resulting python environment.
#inventory
[all]
localhost

#play
name: hello world
hosts: localhost
gather_facts: false

ERROR! Unexpected Exception, this is probably a bug: No module named 'zmq'

Was running into an issue trying to use a rust kernel with jupyter. When I try to run the kernel I get this error
Error: Failed to find sysroot for Cargo.toml file /tmp/.tmpRkdulZ/Cargo.toml. Is rust-src installed?
Found a similar issue on the NixOS Discourse. That comment and the one below it fixed the rust kernel. The overlay is being applied to a local import of nixpkgs so it is impure. That should be fixed before merging.

The overlay impurity has been fixed. Thanks @thufschmitt for the help!


Fix OpenStack virt-v2v-wrapper options hash

When migrating the to OpenStack, the hash passed to virt-v2v-wrapper contains the OpenStack authentication URL and the authentication project name. There was an error and this PR fixes it.
Associated RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1644069

@miq-bot add-label transformation, bug, hammer/yes
@miq-bot add-reviewer agrare

@miq-bot add-reviewer jameswnl

Looks like CI status isn't syncing, https://travis-ci.org/ManageIQ/manageiq/builds/451965303?utm_source=github_status&utm_medium=notification says this is green.


Cap qiskit-aer version in extra dependency (Backport of #1291)

I found currently all PRs including the main branch fail in CI due to QPT/QST unittest including reset instruction. Likely this is due to qiskit-aer 0.13. I added version cap not to install this version as a temporary fix.

@wshanks The backport of #1274 was also needed to get CI to work so I merged it into this PR. If the tests pass then I'll merge this and close #1300.


SpatialIndex not created on Import

I just saw that the SpatialIndex is not created when using the import function instead of the web function.
Obviously the reason for this is that the SpatialIndex creation part is in the web module but Import does not use the web module.
A reasonable solution could be to move the package com.graphhopper.spatialrules to the tools. We would further need to create a dependency from web to tools.
Another solution could be to move the package com.graphhopper.spatialrules to the core, which would result in no additional dependencies.
WDYT?

Another solution could be to move the package com.graphhopper.spatialrules to the core, which would result in no additional dependencies.

ok, if this is possible then this is probably the best solution. Another solution could be to move the Import class into the web module

ok, if this is possible then this is probably the best solution. Another solution could be to move the Import class into the web module

This might be a good solution as well. We could try to completely reuse the GraphHopperModul code?
Not sure if somebody gets issues because the import suddenly requires the web module and all its dependencies?

Another solution could be to move the package com.graphhopper.spatialrules to the core, which would result in no additional dependencies.

Also sounds good to me.
I kind of like the web/tools distinction: For me (and for some other people, I think I saw this in some Apache project..) "tool" implies "things with main methods which I can run", and "web" implies "goes into some web framework which runs it". And both means "do not include me, I am not a library, the library is somewhere else".

I kind of like the web/tools distinction

:+1:
Better avoid different modules / dependencies mix as much as we can.
BTW  core got lately fatter causing problems on Android dex size. :slightly_smiling_face:

BTW core got lately fatter causing problems on Android dex size.

Tell me more.. You want to get rid of JTS again? Can you roughly estimate how important that would be? ,-) Because JTS not being there would mean hand-rolled geometry processing popping up again, which I'm militantly against.
Maybe at some point we need another split into real core, and "more library stuff which isn't quite core".

which I'm militantly against

.. but other's don't agree that much. Just wanted to point out the controversy. ,-)

.. but other's don't agree that much. Just wanted to point out the controversy. ,-)

Don't get me wrong, I totally agree here, if we need more than just point in polygon :).

Tell me more.. You want to get rid of JTS again?

I meant the mandatory JSON (3) dependencies.
Would be nice to be optional, so that regular routing clients won't have to include them.
e.g. I integrated recently GeoJSON tile decoding in VTM via extra vtm-json module.

I meant the mandatory JSON (3) dependencies.

Hmm, I may have tomatoes on my eyes, but:

The last four are test-only, and the jackson-thing upstairs is just annotations.

Strange, somehow we seem to get databind into it:

Sorry. It should be just annotations which is just 54kb.
The jts is a bit big (750kb) but I wouldn't roll our own solution, we could try to reduce this with maven shade or something but in days where apps are hundreds of MB I wouldn't concentrate on this (yet) :)

Strange, somehow we seem to get databind into it

GraphHopper requires client to have (other in diagram are optional):
compile 'com.carrotsearch:hppc:0.7.2'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.4'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.4'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.4'
compile 'com.vividsolutions:jts:1.13'
compile 'org.slf4j:slf4j-api:1.7.25'

GraphHopper requires client to have (other in diagram are optional):

The other two jackson deps are test dependencies, see the pom: https://github.com/graphhopper/graphhopper/blob/master/core/pom.xml#L69-L74
Or will GH break at runtime without them?

Sorry, directions-api-java-client requires the 3 jackson, false alarm (edited above)! :slightly_smiling_face:

Sorry, directions-api-java-client requires the 3 jackson, false alarm (edited above)!

Aha, but also good to know that that's an issue. Thx. I guess Android libraries are expected to use Android-platform facilities wherever possible, right?

There is the famous Android 64K reference limit that makes dependencies there very important to watch. Workarounds exist, but each with its own impact.
Also Android org.json package is not so advanced as Gson or Jackson.

Also Android org.json package

Perfect, now I get where the org.json stuff came from.


mujoco: 3.1.0 -> 3.1.1

Description of changes
Changelog: https://github.com/google-deepmind/mujoco/releases/tag/3.1.1
cc @tmplt @samuela
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 282555 run on x86_64-linux 1

5 packages built:

mujoco
python311Packages.mujoco
python311Packages.mujoco.dist
python312Packages.mujoco
python312Packages.mujoco.dist

Result of nixpkgs-review pr 282555 run on aarch64-linux 1

5 packages built:

mujoco
python311Packages.mujoco
python311Packages.mujoco.dist
python312Packages.mujoco
python312Packages.mujoco.dist


Delete socket.upgradeReq when it is no longer needed to reduce memory usage

Each time a websocket sends a request, parseWebSocketRequest is called. On the first parse, save important data from socket.upgradeReq and delete it to reduce memory usage.
cc @lpinca @DiegoRBaquero

Is parseWebSocketRequest() run multiple times for the same socket?

@lpinca Yes, it's run each time we get a message on the socket.

Maybe you can null the property in [Server.prototype.onWebSocketConnection()]https://github.com/feross/bittorrent-tracker/blob/1631f611fa12d1f671aec93239c7bdbd3963521e/server.js#L448` instead of parseWebSocketRequest(). It's arguably cleaner so you can avoid the additional if in parseWebSocketRequest().

Anyway thank you for the invite @feross. I've accepted it but I know very little about this project and I doubt I can do any significant contribution :)


[ZEPPELIN-5217]. Move %flink.cmd as a separated interpreter module

What is this PR for?
Similar as ZEPPELIN-5213, just move %flink.cmd as separated interpreter module.
What type of PR is it?
[Improvement]
Todos

[ ] - Task

What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-5217

How should this be tested?

CI pass

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

CI is passed, will merge if no more comment


Document the branding feature

Branding, which was added in v1.2.0, originally had a documentation page in the guide (added in 379f42b15af6c) that detailed its use.
Branding was added specifically to support an NHS COVID19 project. Unfortunately, the NHS Design System (forked from GOV.UK) has changed the way JavaScript plugins are initialised and the following functionality doesn't work:

#govuk_text_area character and word counts
#govuk_check_box conditional content
#govuk_radio_button conditional content

It has recently come to my attention that there is also a Slovakian fork which appears to be much closer to GOV.UK.
The branding feature should be publicised and the documentation improved. There's no reason not to share common tools.

[x] Find out which forks exist, detail them here and see how far they've veered from the original (if at all)
[ ] Check how well the form builder works with forks
[ ] Add and update removed guide page (referenced above)
[ ] Add checked versions to the guide, a list or table depending on how many there are
[ ] Add the link to the branding guidance back to the guide homepage

I noticed @jsuchal has starred this project - do you have any thoughts on this?

Here's an [incomplete] list of design systems built in a similar vein to the GOV.UK one:

Country / Agency
URL
Compatible with GOV.UK?
Notes

UK
https://design-system.service.gov.uk/
-

NHS
https://service-manual.nhs.uk/design-system
Almost
Incredibly similar to the GOV.UK one but JavaScript is triggered by a different set of classes/attributes. The main difference between the two is that the 'brand' prefix nhsuk instead of govuk

Netherlands
https://nl-design-system.gitlab.io/
No

USA
https://designsystem.digital.gov/
No

Argentina
https://argob.github.io/poncho/
No

Slovakia
https://frontend.navody.digital/
Yes
Some parts are prefixed with svk but others remain govuk. Looks to be a WIP

Australia
https://designsystem.gov.au/
No
Heavily inspired by the GOV.UK design system but there are some major deviations in the markup

Canada
https://design.gccollab.ca
No

Italy
https://italia.github.io/bootstrap-italia/docs/come-iniziare/introduzione/
No
Based on Bootstrap

New Zealand
https://design-system-alpha.digital.govt.nz/
No
Heavily inspired by the GOV.UK one but the markup is incompatible

Singapore
https://www.designsystem.gov.sg/
No
Based on Bootstrap, visual similarities with GOV.UK design system

Switzerland
https://swiss.github.io/styleguide/en/
No

Brazil
http://dsgov.estaleiro.serpro.gov.br/
No

France
https://design.numerique.gouv.fr/
No
Currently in progress, specification not yet published

Scotland
https://resources.mygov.scot/design-standards/
No
Currently in progress, specification not yet published

It doesn't look like there are any design systems that are fully compatible that don't just mix and match prefixes. Going to close this for the moment as the behaviour's already covered in the guide.

Just a small correction: The official slovak fork is here https://github.com/id-sk/id-sk-frontend AFAIK the govuk prefix was left intact.


Backend Connection Failure

Hello. I'm using and testing V2 version. Trying to config with Postgres DB as backend. My config.yaml:
advanced:
  log_level: trace
  log_pretty: true
  use_ip_v6: false
core:
  listeningAddress: :8123
  externalUrl: http://localhost:8123
  admin_user<EMAIL_ADDRESS>  admin_password: <supersecretkey>
  config_storage_path: /etc/wireguard
  import_existing: true

database:
  type: postgres
  dsn: host=postgres user=<admin> password=<superkey>a dbname=wireguard port=5432 sslmode=disable TimeZone=<localZone>
  debug: true
web:
  site_company_name: WIREGUARD VPN
  external_url: http://localhost:8123
  listening_address: :8123
  request_logging: true

auth:
  callback_url_prefix: http://localhost:8123/api/v0

Container is running up. Connection with PSQL is ok. I see tables and some information in them. My supers user is also present in dp. But then I try to start UI I get an errors:

...and can't login with my creds.

Where may be mistake? Please help.

The Errors Backend Connection Failure are gone (change config file: external_url: http://my_ext_ip:8123), but still can't be authorized by my admin's creds.

i have that problem, and found some solve, if you use
  externalUrl: http://localhost:8123 in config, you must use http://localhost:8123 in browser, NOT <IP_ADDRESS>:8123

i have that problem, and found some solve, if you use  externalUrl: http://localhost:8123 in config, you must use http://localhost:8123 in browser, NOT <IP_ADDRESS>:8123

Thx. I use http://<IP_ADDRESS>:8123 in my yml file. I tried to use localhost but in didn't help. I still can't log in. Please if You can, give me config file and what is under key auth. I don't quite understand what should be here.
auth:
  callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0

i have that problem, and found some solve, if you use  externalUrl: http://localhost:8123 in config, you must use http://localhost:8123 in browser, NOT <IP_ADDRESS>:8123

Thx. I use http://<IP_ADDRESS>:8123 in my yml file. I tried to use http://localhost:8123 instead, but it didn't help. I still can't log in. Please if You can, give me config file and what is under key auth. I don't quite understand what should be here.
auth:
  callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0

my config file looks like:
advanced:
  log_level: trace
  log_pretty: true
  log_json: true
  use_ip_v6: false
  config_storage_path: /etc/wireguard

core:
  admin_user<EMAIL_ADDRESS>  admin_password: <supersecretkey>
  import_existing: true
  self_provisioning_allowed: true

database:
  #type: sqlite
  #dsn: /app/data/keys.db
  # debug: true
  type: postgres
  dsn: host=postgres user=admin password=<admin's pass> dbname=wireguard port=5432 sslmode=disable TimeZone=Europe/Moscow
  debug: true

web:
  site_company_name: WIREGUARD VPN MYCOMPANYNAME
  external_url: http://localhost:8123
  #external_url: http://<IP_ADDRESS>:8123
  listening_address: :8123
  request_logging: true

auth:
  callback_url_prefix: http://localhost:8123/api/v0
  #callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0
  #callback_url_prefix: /api/v0

In you example config 'external_url: http://localhost:8123' and 'callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0' is different, make all url in one style, at first try to localhost, and use "Ctrl + Shift + I opens the developer tools for the browser" network tab

i have that problem, and found some solve, if you use  externalUrl: http://localhost:8123 in config, you must use http://localhost:8123 in browser, NOT <IP_ADDRESS>:8123

Thx. I use http://<IP_ADDRESS>:8123 in my yml file. I tried to use http://localhost:8123 instead, but it didn't help. I still can't log in. Please if You can, give me config file and what is under key auth. I don't quite understand what should be here.
auth:
  callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0

my config file looks like:
advanced:
  log_level: trace
  log_pretty: true
  log_json: true
  use_ip_v6: false
  config_storage_path: /etc/wireguard

core:
  admin_user<EMAIL_ADDRESS>  admin_password: <supersecretkey>
  import_existing: true
  self_provisioning_allowed: true

database:
  #type: sqlite
  #dsn: /app/data/keys.db
  # debug: true
  type: postgres
  dsn: host=postgres user=admin password=<admin's pass> dbname=wireguard port=5432 sslmode=disable TimeZone=Europe/Moscow
  debug: true

web:
  site_company_name: WIREGUARD VPN MYCOMPANYNAME
  external_url: http://localhost:8123
  #external_url: http://<IP_ADDRESS>:8123
  listening_address: :8123
  request_logging: true

auth:
  callback_url_prefix: http://localhost:8123/api/v0
  #callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0
  #callback_url_prefix: /api/v0

In you example config 'external_url: http://localhost:8123' and 'callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0' is different, make all url in one style, at first try to localhost, and use "Ctrl + Shift + I opens the developer tools for the browser" network tab

I'm not sure, but may be something wrong when interacting with backend (postgres DB)

i have that problem, and found some solve, if you use  externalUrl: http://localhost:8123 in config, you must use http://localhost:8123 in browser, NOT <IP_ADDRESS>:8123

Thx. I use http://<IP_ADDRESS>:8123 in my yml file. I tried to use http://localhost:8123 instead, but it didn't help. I still can't log in. Please if You can, give me config file and what is under key auth. I don't quite understand what should be here.
auth:
  callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0

my config file looks like:
advanced:
  log_level: trace
  log_pretty: true
  log_json: true
  use_ip_v6: false
  config_storage_path: /etc/wireguard

core:
  admin_user<EMAIL_ADDRESS>  admin_password: <supersecretkey>
  import_existing: true
  self_provisioning_allowed: true

database:
  #type: sqlite
  #dsn: /app/data/keys.db
  # debug: true
  type: postgres
  dsn: host=postgres user=admin password=<admin's pass> dbname=wireguard port=5432 sslmode=disable TimeZone=Europe/Moscow
  debug: true

web:
  site_company_name: WIREGUARD VPN MYCOMPANYNAME
  external_url: http://localhost:8123
  #external_url: http://<IP_ADDRESS>:8123
  listening_address: :8123
  request_logging: true

auth:
  callback_url_prefix: http://localhost:8123/api/v0
  #callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0
  #callback_url_prefix: /api/v0

In you example config 'external_url: http://localhost:8123' and 'callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0' is different, make all url in one style, at first try to localhost, and use "Ctrl + Shift + I opens the developer tools for the browser" network tab

I'm not sure, but may be something wrong when interacting with backend (postgres DB)

Try to up wg with default config file, db, credentials, i am sure it's work

i have that problem, and found some solve, if you use  externalUrl: http://localhost:8123 in config, you must use http://localhost:8123 in browser, NOT <IP_ADDRESS>:8123

Thx. I use http://<IP_ADDRESS>:8123 in my yml file. I tried to use http://localhost:8123 instead, but it didn't help. I still can't log in. Please if You can, give me config file and what is under key auth. I don't quite understand what should be here.
auth:
  callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0

my config file looks like:
advanced:
  log_level: trace
  log_pretty: true
  log_json: true
  use_ip_v6: false
  config_storage_path: /etc/wireguard

core:
  admin_user<EMAIL_ADDRESS>  admin_password: <supersecretkey>
  import_existing: true
  self_provisioning_allowed: true

database:
  #type: sqlite
  #dsn: /app/data/keys.db
  # debug: true
  type: postgres
  dsn: host=postgres user=admin password=<admin's pass> dbname=wireguard port=5432 sslmode=disable TimeZone=Europe/Moscow
  debug: true

web:
  site_company_name: WIREGUARD VPN MYCOMPANYNAME
  external_url: http://localhost:8123
  #external_url: http://<IP_ADDRESS>:8123
  listening_address: :8123
  request_logging: true

auth:
  callback_url_prefix: http://localhost:8123/api/v0
  #callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0
  #callback_url_prefix: /api/v0

In you example config 'external_url: http://localhost:8123' and 'callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0' is different, make all url in one style, at first try to localhost, and use "Ctrl + Shift + I opens the developer tools for the browser" network tab

I'm not sure, but may be something wrong when interacting with backend (postgres DB)

Try to up wg with default config file, db, credentials, i am sure it's work

The task is using this product with ability to work with postgres. I have already tested  V1. It works fine with MySQL backend. I don't know why v2 has such problem. I saw hee another issue with similar case ( may be testing version contains bugs).  https://github.com/h44z/wg-portal/issues/198 and it is still has status "opened".

i have that problem, and found some solve, if you use  externalUrl: http://localhost:8123 in config, you must use http://localhost:8123 in browser, NOT <IP_ADDRESS>:8123

Thx. I use http://<IP_ADDRESS>:8123 in my yml file. I tried to use http://localhost:8123 instead, but it didn't help. I still can't log in. Please if You can, give me config file and what is under key auth. I don't quite understand what should be here.
auth:
  callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0

my config file looks like:
advanced:
  log_level: trace
  log_pretty: true
  log_json: true
  use_ip_v6: false
  config_storage_path: /etc/wireguard

core:
  admin_user<EMAIL_ADDRESS>  admin_password: <supersecretkey>
  import_existing: true
  self_provisioning_allowed: true

database:
  #type: sqlite
  #dsn: /app/data/keys.db
  # debug: true
  type: postgres
  dsn: host=postgres user=admin password=<admin's pass> dbname=wireguard port=5432 sslmode=disable TimeZone=Europe/Moscow
  debug: true

web:
  site_company_name: WIREGUARD VPN MYCOMPANYNAME
  external_url: http://localhost:8123
  #external_url: http://<IP_ADDRESS>:8123
  listening_address: :8123
  request_logging: true

auth:
  callback_url_prefix: http://localhost:8123/api/v0
  #callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0
  #callback_url_prefix: /api/v0

In you example config 'external_url: http://localhost:8123' and 'callback_url_prefix: http://<IP_ADDRESS>:8123/api/v0' is different, make all url in one style, at first try to localhost, and use "Ctrl + Shift + I opens the developer tools for the browser" network tab

I'm not sure, but may be something wrong when interacting with backend (postgres DB)

Try to up wg with default config file, db, credentials, i am sure it's work

The task is using this product with ability to work with postgres. I have already tested V1. It works fine with MySQL backend. I don't know why v2 has such problem. I saw here another issue with similar case (may be testing version contains bugs). #198 and it is still has status "opened".

And You are right, if changing to default db everything is ok!!!

should be fixed by #231


Adding features after orientation change...

I'm building an Android app using EMP3. I have added features, added a WMS, and have set the camera. When I change the device orientation, I use EMP3LifeCycleManager to save the state of the application which is correctly being restored. However, when I try to add more features to the overlay after the orientation switch, they do not render. I know the overlay exists because features I added before are on the map, and I can retrieve a reference to the overlay via the map's getAllOverlays method as well. No exceptions are being thrown. Any idea what the issue might be? And if not, is there a better way to retain map state after configuration changes?

Updated Capability tester to restore data on orientation change. I am not seeing the issue posted here. I have requested for code.

Test instructions:

build branch: feature/emp3-android#163-KML-Graphics-Missing
Install Capability Tester and Launch map.
Run Add Remove Get Test and add overlay and a Geo Point  feature.
Now rotate the device, you should see the map get redrawn, make sure that the point you added is still there by using "Locate"
Run Add Remove Get Test and add another Geo Point. You should now have two points on the map. (Note you shouldn't have to add an overlay as it is already there)
Repeat 4 & 5.

Reintegrate


Does it possiable to hardcode the SSL private key inside the Crow?

 And so dose the http clients(e.g. browsers, PC clients and so on).
Furthermore, the communication between web server and the clients has to be secured. It's not difficult to me to come up with the HTTPS solution.
But as we all know that the HTTPS is based on the SSL library, which has a generated private key kept secretly on the disk of the server. Here came up with the problem, the server computer will be kept by the customer, which means he can get the private key easily and the SSL encryption mechanism will fail.
So here is the question, dose it possiable to hardcode the SSL private key inside the Crow? Or passing a hardcoding SSL private key to crow app?
Standard call:
app.port(18080).ssl_file("test.crt", "test.key").run();
A fancy call I need:
app.port(18080).ssl_file("test.crt").ssl_secret_key("balabala").run();

I have a possible solution now:
    std::ofstream wfile;
    wfile.open("example_vs.exe:secret.key");
    wfile << "this is a test.";
    wfile.close();

    std::ifstream rfile("example_vs.exe:secret.key");
    std::string line;
    if (rfile.is_open())
    {
        while (std::getline(rfile, line))
        {
            std::cout << line << std::endl;
        }
    }
    rfile.close();

The virtual path "example_vs.exe:secret.key" may work. Like this:
app.port(18080).ssl_file("test.crt", "example_vs.exe:secret.key").run();
Wait for my test, I'll post the result back to this thread sooner or later.

#define CROW_ENABLE_SSL
#include "crow.h"
#include <iostream>

int main()
{
    std::ofstream keyFile;
    keyFile.open("example_vs.exe:secret.key");
    keyFile << "-----BEGIN RSA PRIVATE KEY-----\n"
        "MIIEowIBAAKCAQEAnu4/AfOvQPRScPEnIDDkSqSthLR4TnTC5p1A6WYIZ/lH4txK\n"
        "9IxW1ks71Gm1ps8qexW9o6YIRj7BRXlJJ3X5tAiJXmcIOUxa4U6+H360C24J3sAi\n"
        "... balabal ...\n"
        "z/PniwKBgGMTI6B8h7ZvFNh82QDzysgsvOpaEo5Ri+q2VI3vnUdbsmtxRWPpxQlN\n"
        "ZxSfqU0AawiRvDP/cR3hhd1uH9MYkyQu2o5othsRmAtJ99m3sg205E6FR+bIIQbM\n"
        "hwnW9owQ8fxncoGZwvwo5PEESQ7ThDPcJ63vTzeUVLdL30idM/c4\n"
        "-----END RSA PRIVATE KEY-----\n";
    keyFile.close();

    crow::SimpleApp app;

    CROW_ROUTE(app, "/")
    ([]() {
        return "Hello world!";
    });

    try
    {
        app.port(18080).ssl_file("server.crt", "example_vs.exe:secret.key").run();
    }
    catch (boost::system::system_error boost_ex)
    {
        std::cout << boost_ex.what() << "   error code = " << boost_ex.code() << std::endl;
    }
    catch (std::exception ex)
    {
        std::cout << ex.what() << std::endl;
    }
}

It works!  Please mark this issue fixed. Thanks.


Optimize GSU Workgroup Assignment

Workgroup order changed from interleaved to coalesced assignment.
Used "GlobalSplitUCoalesced" to enable in GSU kernel.
Add testcase to test yaml

Local cl passed results:
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
------- generated xml file: /josh/hipBLASLt/tensilelite/python_tests.xml -------
===== 51 passed, 18 skipped, 1 xfailed, 18 warnings in 21969.76s (6:06:09) =====
py310: exit 0 (21970.07 seconds) /josh/hipBLASLt/tensilelite> py.test -v --basetemp=/josh/hipBLASLt/tensilelite/.tox/py310/tmp --junit-xml=/josh/hipBLASLt/tensilelite/python_tests.xml --junit-prefix=py310 --color=yes -n 4 --prebuilt-client=/josh/hipBLASLt/tensilelite/.tox/py310/client/0_Build/client/tensile_client Tensile/Tests -m common --capture=sys pid=20840
.pkg: _exit> python /usr/local/lib/python3.10/dist-packages/pyproject_api/_backend.py True setuptools.build_meta legacy
.pkg: exit None (0.00 seconds) /josh/hipBLASLt/tensilelite> python /usr/local/lib/python3.10/dist-packages/pyproject_api/_backend.py True setuptools.build_meta legacy pid=12064
py310: OK (22156.89=setup[21.09]+cmd[165.73,21970.07] seconds)
congratulations :) (22156.98 seconds)

Local cl passed results: -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ------- generated xml file: /josh/hipBLASLt/tensilelite/python_tests.xml ------- �[33m===== �[32m51 passed�[0m, �[33m�[1m18 skipped�[0m, �[33m�[1m1 xfailed�[0m, �[33m�[1m18 warnings�[0m�[33m in 21969.76s (6:06:09)�[0m�[33m =====�[0m py310: exit 0 (21970.07 seconds) /josh/hipBLASLt/tensilelite> py.test -v --basetemp=/josh/hipBLASLt/tensilelite/.tox/py310/tmp --junit-xml=/josh/hipBLASLt/tensilelite/python_tests.xml --junit-prefix=py310 --color=yes -n 4 --prebuilt-client=/josh/hipBLASLt/tensilelite/.tox/py310/client/0_Build/client/tensile_client Tensile/Tests -m common --capture=sys pid=20840 .pkg: _exit> python /usr/local/lib/python3.10/dist-packages/pyproject_api/_backend.py True setuptools.build_meta legacy .pkg: exit None (0.00 seconds) /josh/hipBLASLt/tensilelite> python /usr/local/lib/python3.10/dist-packages/pyproject_api/_backend.py True setuptools.build_meta legacy pid=12064 py310: OK (22156.89=setup[21.09]+cmd[165.73,21970.07] seconds) congratulations :) (22156.98 seconds)

your ci pass only includes tensilelite. You need hipblaslt-test PASS

Please don't double size the tests of Tenisilelite. You should add your new arguments into some test which is focus on gsu

Fixed by adding only two test yaml for this feature

@ssuyuanchang  The different part between GSUC0 and GSUC1 is only in pre-loop global read address section and Tail loop section. Both of these sections are not in unroll-loop, which mean we can support these GSU0 and GSU1 in the same kernel. You can use a bit to distinguish which mode we want to use for each kernel launch.
@KKyang How do you think?

@ssuyuanchang The different part between GSUC0 and GSUC1 is only in pre-loop global read address section and Tail loop section. Both of these sections are not in unroll-loop, which mean we can support these GSU0 and GSU1 in the same kernel. You can use a bit to distinguish which mode we want to use for each kernel launch.
@KKyang How do you think?

How about merging this PR first and then combine GSUC0 and GSUC1 into the same kernel in the future changes?

@ssuyuanchang The different part between GSUC0 and GSUC1 is only in pre-loop global read address section and Tail loop section. Both of these sections are not in unroll-loop, which mean we can support these GSU0 and GSU1 in the same kernel. You can use a bit to distinguish which mode we want to use for each kernel launch.
@KKyang How do you think?

sounds like we can move many of the parameters outside the main loop by using mode config?


it instance 1st scene but not 2nd bug

Godot version:
Godot_v3.2.3-stable_win64
OS/device including version:
i5-9300h, intel uhd 630, GLES2
Issue description:
it instance first but not second, and sometime the func _ready():print on this script not working untill i restart the godot
Steps to reproduce:
Bug report.zip
just run scene and see remote the 2nd batch of tree not showing up

code:
extends Spatial
var load_pointer=0
func _ready():
print('map')
print(load_pointer)
force_load()
func force_load():
if load_pointer==0:
add_child(load("res://1kBills Tree_16_1.tscn").instance())
load_pointer=1
if load_pointer==1:
add_child(load("res://1kBills Tree_16_2.tscn").instance())
load_pointer=2
if load_pointer==2:
add_child(load("res://1kBills Tree_16_3.tscn").instance())
load_pointer=3
if load_pointer==4:
add_child(load("res://1kBills Tree_16_4.tscn").instance())
load_pointer=4
print('finished loading')

You've got the names for your scenes wrong. Your files are named with an apostrophe, e.g. 1kBill's not 1kBills. All of them, except for the first one, so the code is only correct for the first one.
In future, please use one of our community channels for support. This repository is reserved for engine issues only.


swri_geometry_util missing tf dependency.

This should be fixed now; I'll close the issue when the package builds on the ROS build farm.

Builds successfully on the ROS build farm.


bug: conditional color for UButton not working

Version
@nuxthq/ui: v2.4.1
nuxt: v3.6.0
Reproduction Link
Simple repro, try to switch the toggle
Steps to reproduce
<template>
  <UContainer class="mt-4">
    <UCard>
      <template #header>
        The only colors that work are primary, white, gray and black
        <UButton :disabled="button_color" :color="button_color ? 'green' : 'gray'">button</UButton>
      </template>

Try to switch the toggle <UToggle v-model="button_color"/>

    </UCard>
  </UContainer>
</template>

What is Expected?
All the ui.colors should be available as per doc.
What is actually happening?
Any colors (even custom ones) other than primary, white, gray and black don't render and make the button invisible.

Use Case
I wanted to use a conditional from a backend fetch, where if the button was active I would had a non-primary color, while if the button wasn't active it would become disabled and grayed out.

In the last paragraph of the Colors section https://ui.nuxtlabs.com/getting-started/theming#colors, it is mentioned that when using dynamic variables you must safelist those manually.
You can either use the ui.safelistColors option which will safelist this color for all the components or you can add in comments in your code:  for example.
We did this to avoid safelisting all the dynamic classes of all the components that have a color prop (https://github.com/nuxtlabs/ui/blob/dev/src/colors.ts#L28) which reduced the final bundle of tailwind by a lot.
Here is the initial issue: #245

Last night I might have missed that last paragraph. The reasoning in the initial issue is on point.

or you can add in comments in your code:  for example.

If via regex the module is looking for all the components named somewhere, could this be the cause behind this comment in #314?

Not sure it's related, this smart safelisting only for components with a color prop.

Not sure it's related, this smart safelisting only looks for components with a color prop.

Sorry, probably didn't explain myself good enough: I was talking that there is a similar regex to the one used for safelisting but that dealt with icons (recognized by the i-{iconProvider}).
I would like to understand so that I know what code to look for and maybe even learn how to potentially fix it.

For the icons, we use this plugin: https://github.com/egoist/tailwindcss-icons. For the components safelisting, here is our custom extractor https://github.com/nuxtlabs/ui/blob/dev/src/colors.ts#L200 used here.

Although, I don't really see what you want to fix, like in Tailwind CSS https://tailwindcss.com/docs/content-configuration#dynamic-class-names, it is impossible to parse dynamic values.

No I didn't mean to parse dynamic values. I constructed it as an example, but I should have been more specific for the svg-spinners icons in #314, and why it happens in other tags like pre too.

For the icons, we use this plugin: https://github.com/egoist/tailwindcss-icons. For the components safelisting, here is our custom extractor https://github.com/nuxtlabs/ui/blob/dev/src/colors.ts#L200 used here.

Thanks, I'll look into them


Cellular Library Integration

There already exists a cellular library for FreeFRTOS (https://github.com/FreeRTOS/Lab-Project-FreeRTOS-Cellular-Library) and also a new branch (https://github.com/aws/amazon-freertos/tree/feature/cellular) has already been created by others to merge the library here into Amazon FreeRTOS.
There already exists a porting guide in the documentation (https://github.com/awsdocs/aws-freertos-docs/blob/master/doc_source/portingguide/freertos-porting-cellular.md) and it looks like the branch has followed this porting guide.
Unfortunately this branch is getting out of sync with master, so can this branch please be merged into master? Or is there anything that is needed to be done?

I have reached out to the cellular team, and they will be able to provide more insight into the state of the branch.

THX!

Hi @FL140 ,
Thanks for your interest, so far the cellular library is still in preview stage:
https://aws.amazon.com/about-aws/whats-new/2020/12/freertos-adds-cellular-lte-m-library-support-cellular-iot-based-applications/
As you've mentioned, we provide porting guide with steps how you port your own integration in this stage.
We are maintaining the cellular libraries here:
https://github.com/FreeRTOS/Lab-Project-FreeRTOS-Cellular-Library
https://github.com/FreeRTOS/Lab-Project-FreeRTOS-Cellular-Demo
And you are right, feature/cellular branch is an example to follow the porting guide.
However, merging cellular branch back to master is still under working process and will take time, we can't give you a straight answer how long it will take, and how it will turn out.
If you have encounter any trouble integrating your own port, you are more than welcome to contact us through mail<EMAIL_ADDRESS>for more details,
Thank you!

@DanielYEHsieh thank's for the quick reply!
Well I already worked my way through those links and while they are a great source of information the directory structure in the FreeRTOS Labs repositories don't fit the aws/amazon-freertos structure this is why I was happy to find the feature/cellular branch in the aws/amazon-freertos repository which honors the directory structure there. Unfortunately this branch is quite out of sync with master (507 commits behind).
So while I understand this is a new feature and there will be changes coming up I just don't understand why

The directory structure of the FreeRTOS Labs repository and the aws/amazon-freertos repository are that different.
Why the cellular library isn't some sort of submodule in the aws/amazon-freertos repository like the FreeRTOS/FreeRTOS-Kernel repository.
Why the feature/cellular branch hasn't been merged into master jet (or a staging branch which would fit quite well for an unfinished feature).
So this means the improvements need to be coded in two places (FreeRTOS Labs and Amazon FreeRTOS repositories).
The repository of interest will be aws/amazon-freertos but the primary coding repository is somewhere else.

But probably I just don't see it, so it would be great if you could provide me with some information why this is setup this way to understand the process flow here?

@FL140 Great to know that you've got it worked, and we appreciate your feedbacks!
I would love to take a look your port if you have a repo see how you are doing, we do have a separate port based on 202012.00  which looks pretty same as feature/cellular branch and verified with IoT Device Tester 4.0.1 (I can provide it through email).
To answer your questions, replying inline:

The directory structure of the FreeRTOS Labs repository and the aws/amazon-freertos repository are that different.

[Daniel] Yes, since Cellular library is still in the FreeRTOS Labs, it will need to go through a few process to graduate from lab project to a sub-module library or a separate library. There are remaining works to get the library more mature, it would be great if you can share your use case with us to collect data points how users are adopting it. Today, the maintenance will be focused on  the lab repos
https://github.com/FreeRTOS/Lab-Project-FreeRTOS-Cellular-Library
https://github.com/FreeRTOS/Lab-Project-FreeRTOS-Cellular-Demo

Why the cellular library isn't some sort of submodule in the aws/amazon-freertos repository, like e.g. the FreeRTOS/FreeRTOS-Kernel repository.

[Daniel] Same as #1.

Why the feature/cellular branch hasn't been merged into master jet (or a staging branch which would fit quite well for an unfinished feature) and got pretty outdated that way.

[Daniel] As mentioned previously we do have ports based on 202012.00 release, integrated with Cellular Library.

The repository of interest will be aws/amazon-freertos but the primary coding repository is somewhere else.

[Daniel] Same as #1.

So this means the improvements need to be coded in two places (FreeRTOS Labs and Amazon FreeRTOS repositories).

[Daniel] Same as #1.

It looks the costomer's question has been answered. Close this ticket. If having any further question, please feel free to re-open this ticket or open a new ticket. Thanks.


Outlook calendar download not displaying the right time on iOS

Issue: When you try to download an appointment to Outlook calendar on iOS device in webview, the time is completely off. This is not an issue for Android devices or desktop.
The start time is set to device time zone + 1 hour and increments by one hour at the start of a new hour. For example, an appointment downloaded at 2pm device timezone will show start time as 3pm. When the same appointment is downloaded at 3pm device timezone it will show start time as 4pm. The end time is unaffected.

To Reproduce:
Create a calendar item and download it to Outlook calendar in Webview
Review the time span information
Expected behavior:
The start time and end time in Outlook calendar should match the details in Webview
Screenshots/Videos:

Environment:

OS: iOS
OS version: 16.4
react-native version: 0.71.4
react-native-webview version: 11.26.0

Hello, just following up on this. Any updates?
This is impacting one of our clients, so hoping for a prompt update if possible.
I'm attaching a couple images to demonstrate the Outlook calendar time being incorrect. If you need any additional information for more context let me know.
Thank you!

erent from the actual time.


custom command "role command" isn't working

the "role command" custom command isnt working. it always returns ";DiscordAPIError: Missing Permissions"

i think you got the wrong github for the issue but uh to help you you need to give the bot manage roles permission


32-bit OS Support

The numbers produced by timescaledb-tune for my 32-bit OS caused postgresql to crash due to memory allocation issues.
FATAL:  could not map anonymous shared memory: Cannot allocate memory
HINT:  This error usually means that PostgreSQL's request for a shared memory segment exceeded available memory, swap space, or huge pages. To reduce the request size (currently<PHONE_NUMBER> bytes), reduce PostgreSQL's shared memory usage, perhaps by reducing shared_buffers or max_connections.

It would be nice if timescaledb-tune could detect aspects of the OS, such as being 32-bit, and didn't provide numbers that immediately make postgresql crash.

See also -> http://rhaas.blogspot.com/2011/05/sharedbuffers-on-32-bit-systems.html


Remove references to packages.chef.io

Description
[Please describe what this change achieves]
Issues Resolved
https://progresssoftware.atlassian.net/browse/CHEF-15020
Check List

[ ] New functionality includes tests
[ ] All buildkite tests pass
[ ] Full omnibus build and tests in buildkite pass
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/main/CONTRIBUTING.md#developer-certification-of-origin-dco
[ ] PR title is a worthy inclusion in the CHANGELOG

Closing because these changes aren't correct.


fix: close sidebar on new lesson

Description
fixes:
https://www.notion.so/oaknationalacademy/Aila-option-in-menu-518112e439414f96a0da7778d628f7c7

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Testimonials and frequently asked questions

Including testimonials and frequently asked questions in about us section
Please assign me this issue under gssoc'24 EXTENDED, hacktoberfest and give me the level

@BVaishnavi15 You have to add FAQs and testimonals by your self I will not provide anything.

okay. can you please give me level

okay. can you please give me level

I will give the level after reviewing your PR.

ok

@maniyaom, Can you assign this issue to me?

@maniyaom, Can you assign this issue to me?

@Abhi0049k sorry, I can't since you didn't raise the issue first.

@BVaishnavi15 you code has error that you have not imported "useState".
replace first line to this --> import React, { useEffect, useState } from 'react';

@BVaishnavi15 please when you raise pr make sure it is running without any errors.

I'm sorry about it. I will make sure.

@BVaishnavi15 do recommanded changes and Raise another PR. make sure you work on updated repository.

okay


CEC_0.3 Bug Found

The squelch automatically activates every time you utilize the spectrum and waterfalls feature and switch the menu settings from SCAN to RECV. Then, when you return to VFO mode and transmit, it triggers the squelch to open. Thus far, this firmware development proves to be effective and functional. Thanks to you!
Watch Video below link:
https://www.facebook.com/asdebue/videos/3372245173067713?idorvanity=6780091945388779

Thank you very much. I had no idea.
Fixed in Version 0.3C.
On Sun, Mar 24, 2024 at 10:25 AM SIX @.***> wrote:

The squelch automatically activates every time you utilize the spectrum
and waterfalls feature and switch the menu settings from SCAN to RECV.
Then, when you return to VFO mode and transmit, it triggers the squelch to
open. Thus far, this firmware development proves to be effective and
functional. Thanks to you!
Watch Video below link:
https://www.facebook.com/asdebue/videos/3372245173067713?idorvanity=6780091945388779
—
Reply to this email directly, view it on GitHub
https://github.com/phdlee/uvk5cec/issues/42, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4DZPGBTP5OG4PVKDIHCCDYZYTQ7AVCNFSM6AAAAABFFC5YUKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIYDIMJSHE3TGMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Could you please consider the following feedback regarding the CEC_0.3C update? Firstly, I want to express my appreciation for the continued improvement of your craft. I've noticed that while the Portable Radio Update Tools V1.1.12 functions smoothly with the new CEC_0.3C, there seems to be an issue with detection when using the k5prog-win v0.1.26.
On a positive note, I'm pleased to report that the monitoring squelch issue experienced upon exiting the Spectrum+Waterfalls under certain conditions has been addressed and now works seamlessly. Additionally, all other features and functions appear to be functioning as expected.
Furthermore, I would like to suggest a potential adjustment for future updates. Specifically, it would be beneficial if the volume of the APRS packet sound, along with the MDC sound, could be lowered from the current level of 100 to around 50. This adjustment would enhance user experience without compromising functionality.
Thank you for considering these suggestions, and I look forward to seeing further enhancements to the product.


HBASE-26494 Using RefCnt to fix the flawed MemStoreLABImpl

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m 35s
master passed

+1 :green_heart:
compile
3m 27s
master passed

+1 :green_heart:
checkstyle
1m 16s
master passed

+1 :green_heart:
spotbugs
2m 16s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 12s
the patch passed

+1 :green_heart:
compile
3m 21s
the patch passed

+1 :green_heart:
javac
3m 21s
the patch passed

-0 :warning:
checkstyle
1m 11s
hbase-server: The patch generated 2 new + 31 unchanged - 0 fixed = 33 total (was 31)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
21m 42s
Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.

+1 :green_heart:
spotbugs
2m 24s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 14s
The patch does not generate ASF License warnings.

54m 35s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3983/3/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/3983

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux d8ef898a151d 4.15.0-163-generic #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 8f0c2dabbb

Default Java
AdoptOpenJDK-1.8.0_282-b08

checkstyle
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3983/3/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

Max. process+thread count
86 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-3983/3/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


[Release] Dedicated page to show all submitted expenses

https://github.com/opencollective/opencollective/issues/3749
Context

What's being released?

Is this change being released incrementally as a beta? What's the schedule?

Is this release optional or mandatory?

Who does this release impact?

When will the project be ready for release?

Product Process

Overview

Related releases

Release post(s)

Social Media

This is already fully released in production, I've added some documentation in https://github.com/opencollective/opencollective/issues/6143. I would vote to delay the announcement just a bit to make sure we get the right wording in the documentation.


more features (fav, comments, follow, join group)

I hope you can add more features to do all popular things in steamcommunity like:

favorite/unfavorite screenshots, artworks - http://i.imgur.com/OBg2vO4.png
comment profiles (single comment or from java array - list) - http://i.imgur.com/dK56y8R.png
follow/unfollow person (workshop) - http://i.imgur.com/szuX779.png / http://i.imgur.com/i4w8ZvO.png
join/leave steam group (by steam group http link or groupID64) - http://i.imgur.com/H1VuqxX.png

It would be great if you could do it in the future updates ;)
Greetings

I have added some functions for communities, and a new example for following using the bot accounts. Check this example for more information:
If you want to explore the new community functions, please check this file
Please note, only the follow and unfollow have been tested, the others may work, or may need slight adjustments to function correctly.

Thank you very much for your work.
follow/unfollow person works great - tested.
join/leave grup works great - tested.
previewSharedFile works great - tested.
I have only problem with favouriteSharedFile.
I copied votebot.js and changed in 'var upVote = function' from 'Community.upvoteSharedFile' to 'favouriteSharedFile' and getting error:
`C:\Users\CCC\Downloads\node-steam-bot-manager-master\2\node_modules\node-steam-bot-manager\classes\Community.js:103
if (response.statusCode == 200 && JSON.parse(body).success == 1)
^
TypeError: Cannot read property 'statusCode' of undefined
at C:\Users\CCC\Downloads\node-steam-bot-manager-master\2\node_modules\node-steam-bot-manager\classes\Community.js:103:21
at SteamCommunity._checkCommunityError (C:\Users\CCC\Downloads\node-steam-bot-manager-master\2\node_modules\steamcommunity\components\http.js:123:3)
at Request._callback (C:\Users\CCC\Downloads\node-steam-bot-manager-master\2\node_modules\steamcommunity\components\http.js:51:88)
at Request.self.callback (C:\Users\CCC\Downloads\node-steam-bot-manager-master\2\node_modules\request\request.js:188:22)
at emitTwo (events.js:125:13)
at Request.emit (events.js:213:7)
at Request. (C:\Users\CCC\Downloads\node-steam-bot-manager-master\2\node_modules\request\request.js:1171:10)
at emitOne (events.js:115:13)
at Request.emit (events.js:210:7)
at Gunzip. (C:\Users\CCC\Downloads\node-steam-bot-manager-master\2\node_modules\request\request.js:1091:12)`

I have one more question: is it normal? doubled console log?
http://i.imgur.com/P7lpBXS.png

The console issue is fixed in the latest commit, and as for the favourite/unfavourite it now works, and I have also provided an example of it.

I will test it in ~30 min, but I have question: can I remove completely 'docs' folder? without problem?

Yeah, you can remove the folder. It's just in the repo, so that you can browse the docs here.

I can confirm, double console log fixed, and favourite feature works great.
Thank you for your time and work.

I have question about last undone feature: comments.
We have spoken on Steam chat, but I can't handle with it, so I leaving it in your hands :D
I tried to do script for comments with java array, works in half way, because script grabbing random string and posting same text with all linked accounts.
I want to do different comments for all the bots.
var BotManager = require('node-steam-bot-manager');
var botsManager = new BotManager();
var SteamProfile = '';

var array = [
"test 1",
"test 2",
"test 3",
];

var randomNumber = Math.floor(Math.random()*array.length);

function commentBot() {

    var comment = function () {

        for (var botAccountIndex in botsManager.getAccounts()) {

            (function () {
                var botAccount = botsManager.getAccounts()[botAccountIndex];

			botAccount.community.postUserComment(SteamProfile, array[randomNumber], function (err) {
                    if (err)
                        botsManager.errorDebug("Comment has not been sent with " + botAccount.getAccountName());
                    else
                        botsManager.infoDebug("Comment sent successfully with " + botAccount.getAccountName());
                });
            })();
        }
    };

    botsManager.startManager(function (err) {
        setTimeout(comment, 5000);
    });

}

new commentBot();

module.exports = commentBot;

As I said, I may not code the approach, however, I am telling you how it can be done:

Blacklist method (for random comment from a list):
Create a new arraylist by doing 'var indexBlacklist = [];'
when you post a comment just do  'indexBlacklist.push(INDEX);'
when you choose a comment, just do a while loop  with'(indexBlacklist.indexOf(INDEX) != -1)' and inside just set INDEX to a new random number. After the while loop just post the comment at 'array[INDEX]'

The Index Method:
Every time you post a comment, just increase a variable called index by 1, so that the next time you choose a comment from array 'array', you get the next in the list. But make sure to check and ensure that index is never larger than the size of the list.

I am trying to guide you on how to do it, but I will not do it for you. This can help you learn, instead of just copying/pasting my codes blindly.

Thank you very much for advices, I will take look at it at weekend. 👍
I have question about random delay at joining to group.
All accounts connecting after script start with autologin - it's OK, but how can I set random delay between join to group with every account.
 setTimeout(join, 1000 * 10) works with all accounts, but how can I do random delay like (Math.floor((Math.random() * 60) * 1000)  with every linked accounts, like random delay between 0 - 60 sec.
I don't want to send all requests after 10 sec after script start. I want to do random delay between 0-60 sec with all accounts.

You will need to set this timeout wrapping the part where the function(){/CODE FOR JOINING GROUP HERE/}() instead of around the for loop for accounts.

like that?
setTimeout(function JoinBot() {

    /**
     * We will join the group
     */
    var join = function () {
        /**
         * We will loop through all bot accounts
         */
        for (var botAccountIndex in botsManager.getAccounts()) {
            /**
             * To avoid over-writing the same variable due to the for loop, we will enclose in a function.
             */
            (function () {
                var botAccount = botsManager.getAccounts()[botAccountIndex];// Get botAccount from the index

                botAccount.Community.setupProfile(function(err){
                    if (err){
                        botsManager.errorDebug("Failed to set-up account. Due to " + err);
                    }
                    else {
                        /**
                         * We will execute the command to join group
                         */
                        botAccount.Community.joinGroup(groupID, function (err) {
                            if (err)
                                botsManager.errorDebug("Failed to join group." + err);
                            else
                                botsManager.infoDebug("Successfully joined group with " + botAccount.getAccountName());
                        });
                    }
                })

            })();
        }
};

    botsManager.startManager(function (err) {
        setTimeout(join, 10000);// We will delay 10 seconds until all accounts are expected to be logged in... There is obviously a much better way, however it requires a lot of code | This is just a simple example.
    });// You must start the manager at the end so that all the hooks above it, are registered.

}, Math.floor((Math.random() * 60) * 1000));

if yes, I getting ReferenceError: JoinBot is not defined
if I set setTimeout(JoinBot, 3000);, I don't see table with accounts in console (for 3 sec), and accounts isn't logging(for that 3 sec), and they sending all requests after 10 sec in the same time.

No, it should look something similar to this... https://pastebin.com/dtNQhWWf
However, Idk if that code will work, as I don't have the bot running on my current laptop.

with this code looks like only 1 account trying to join (and actually joining to group) but looks like rest console logs are from that 1st acc
(Move up and down to reveal more choices)info: Successfully joined group with  xxxx error: Failed to join group. Error: You are already a member of this group. error: Failed to join group. Error: You are already a member of this group. error: Failed to join group. Error: You are already a member of this group. error: Failed to join group. Error: You are already a member of this group. error: Failed to join group. Error: You are already a member of this group. error: Failed to join group. Error: You are already a member of this group. error: Failed to join group. Error: You are already a member of this group.
I created new group, with 0 members, and rest console logs showing you are already member of this group, when in group are 2 people.

Try surround the setTimeout around the function(){.....}(); part of the code. Right now it is inside it, makr it surround it. That should in theory work, however I am unable to test rn.

Works! Thank you! ;)

Works! Thank you! ;)
You can close issue :)


RiakClient.Delete issue [JIRA: CLIENTS-898]

Cannot delete if using RiakClient.Delete(IEnumerable riakObjectIds)
But Delete works fine if using RiakClient.Delete(RiakObjectId riakObjectIds)

Hi, could you provide the following information?

[ ] Riak Java Client version
[ ] Java version
[ ] Riak version
[ ] Operating System / Distribution & Version
[ ] Riak error.log file, if applicable
[ ] Sample data, if applicable

Sorry. Yes, it is .NET RiakClient. It does work if deleting a "collection of RiakObjectId". But it does work if delete individual RiakObjectId

This issue was moved to basho/riak-dotnet-client#310


chore: stencil migration

refractored dependency package com.gojek.de.stencil to io.odpf.stencil

When i upgrade Stencil dependency to 0.1.3 , then build fails
When i downgrade Stencil dependency to 0.1.2, build checks pass
cause - Stencil client 0.1.3 uses - group: 'com.datadoghq', name: 'java-dogstatsd-client'
but -Firehose and Stencil client 0.1.2 uses -group: 'com.timgroup', name: 'java-statsd-client'
Reference - [https://github.com/odpf/stencil/commit/0487223034a2ed03b86b9bf94eca90791f498fc1#diff-30fa9b9ffef12b492fe905a950b29ffa748e93e0e0797e91e106d23a9ce44ab2]

upgraded stencil to 0.1.3 and replace dependency group: 'com.timgroup','java-statsd-client' with  'com.datadoghq' 'java-dogstatsd-client'


Update rooms-release-note.md

Added the following:

Note on Pro features
New .2023062301 release notes (June 2023)
Updated the pro tag on existing .202303031201 release notes (March 2023)

@microsoft-github-policy-service agree company="Microsoft"


Fix polygon bug

Modulus Pull Request
Description
After this PR, the Polygon geometry's SDF conversion breaks with the following error:
E   ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2,) + inhomogeneous part.

This PR rewrites the Heaviside to Piecewise as a workaround solution.
Airfoil example works similarly as before:
Results after the fix:

Checklist

[x] I am familiar with the Contributing Guidelines.
[x] New or existing tests cover these changes.
[x] The documentation is up to date with these changes.
[ ] The CHANGELOG.md is up to date with these changes.
[ ] An issue is linked to this pull request.

Dependencies

/blossom-ci


implement optional color correction for V4L only

1. Tell us something about your changes.
Now it is possible to have color adjustment and color transform only for v4l input.
This is needed, because usb grabber often need heavy color adjustment, while effects, solid color or screen capturing often needs no correction.
Now you have the choice!
additionals:
hyperion update function now knows from which component the current color comes. Perhaps this info might be handy in time ...
color temperatue is removed ... I don't like duplicated code!
webui: adapt config write to latest qjson PR. This function will always commit full config, regardless if your input is full config or a part of it.
2. If this changes affect the .conf file. Please provide the changed section
2 new values in color section:
"channelAdjustment_v4l_only" : true,
"transform_v4l_only" : true,
look default configs for details.
I set default to "true", so by default color correction is only for v4l. I think this is the most usecase ...
and: color temperatue is removed. The same thing can be achieved with color adjustment
3. Reference an issue (optional)
#59
Note: For further discussions use our forum: forum.hyperion-project.org

amazing again :)
note: hyperion-remote cleanup is missing (temperature)
Q: Now if you add a second transform object into the array with splitted leds (0-50 and 51-80) does it still work to assign it properly to v4l2 only?

I think this is the most usecase ...

Hm, hard to say. As long Openelec is the download count leader i bet against it ;)

if you assign v4l_only any color object will be v4l only. Currently you only have the choice to assign to all input sources or only to v4l.
hyperion remote is now cleaned. There was also the old correction ... I removed it too, because it was the same as temperature.

... and changed defaults to v4l_only false - this is the same behavior as we have now.

Auch von mir ein großes Danke für diesen PR. Respekt.


Use the stale parameter on listing activations

Use the parameter stale=ok on listing the activations.
This has the advantage, that activations are returned, even if the view in the activations db is not computed yet.
PG3#1016 is running.

"slale" : "update_after"  would be better I think

PG4#711 is 🔵

A few nits. Travis will suffice for the fixes. Very well done 👍


[traffic-gen-in-vm] traffic-gen, cloud-init: Use path.Join in bootcmd

Following PR #152, use path.Join() instead of %s/%s.

Tested against an OpenShift Virtualization 4.14 cluster.

Change: Rebase


A Dream: Change classpath of gorilla without full restart ?

@JonyEpsilon
I know, this is between hard and impossible to achieve with Clojure/Java.
But I just want to here your opinion.
The usecase is clear: I want Gorilla on a remote server and I want to add libraries to my repl without need of ssh to the server and edit the project.clj and restart gorilla repl....
I know there are things like alembic, but they do not work always.
I can do this with Rstudio server for R. I just have a web interface into RStudio and never need to leave it... For me a killer feature of R(Studio).
I believe this can only be done, if the main web app you connect to, is either not jvm based, but something else, or a first jvm which somehow starts a second jvm..
I am still dreaming about a web based REPL (or Clojure IDE), which allows this....
Just le me know your opinion on this.

Maybe we can close this.
I found a workarround, which is "good enough" for me.
I installed shellinabox on my server.
I use it to only to start gorilla and change the project.clj if needed.
This is fine for me.

Have you looked at Alembic?
I can't see any reason why it shouldn't coexist peacefully with Gorilla, and a quick test worked fine.

Alembic is useful a lot of the time, but there are some things that require a restart, particularly if you're doing a lot of java intro. So, yes, I think it would be very useful to have Gorilla be able to restart the nREPL server. There's an existing issue, #125 , which I think pretty much covers this, so I'm going to close this one.


[BugFix] fix potential deadlock when refreshing mv

Why I'm doing:

When generating plan for MV, it would try to acquire locks of other databases meanwhile holding the lock of current database, it could introduce deadlock in this case

What I'm doing:

Release lock of current database before invoke the StatementPlanner.plan, which would acquire locks for all database
Acquire the database locks before Analyzer.analyze

Fixes #issue
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[x] 3.0
[x] 2.5

@Mergifyio backport branch-2.5 branch-3.0 branch-3.1 branch-3.2


Avoid non empty promise

The NonEmptyPromise crashes tests with an assert that is hard to understand, especially in CI environments.
The intention is to make sure that an unused URLSessionMock is detected in a test run, but there are better
solutions for this.
With this change, the passthrough subject will emit a "canceled" error when the subscription ends and nothing
was sent through it. This behavior is not any closer to a real URL session, but it does allow the error to be
bubbled up to the consumer of the session, and the test will fail in a clear and understandable way.

Would love to hear @luizmb 's opinion on this :)

I like it. I think the semantics of URLError.Code.cancelled is good.
🚀


Allow running Task::local from any thread

This enables us to use Task::local from any thread, this is how smol 0.1 behavior was.
We achieve this by having a thread local LocalExecutor.
The following is now possible:
use smol::Task;

fn main() {
    smol::run(async {
        Task::spawn(async {
            Task::local(async {
                println!("{:?}", std::thread::current().id());
            })
            .await;
        })
        .await;
    })
}

This commit needs stjepang/async-executor#4, so CI will fail.

What I like about the current behavior is that smol::run() is fully self-contained and does cleanup at the end of its invocation. That means no tasks will be "leaked" for the next invocation of smol::run() or until the thread exits.
Do you have a particular use case for the behavior proposed in this PR?

What I like about the current behavior is that smol::run() is fully self-contained and does cleanup at the end of its invocation. That means no tasks will be "leaked" for the next invocation of smol::run() or until the thread exits.

I didn't thought of that. I edited my commit to not use thread_local. Now I create LocalExecutor within closures.

Do you have a particular use case for the behavior proposed in this PR?

Yes, and it is very difficult to guarantee that Task::local is called on the main thread.

I think this is now a stale PR :) Thanks for the work on it, though!


added  correct title

as per user report #11249, i added the correct title

Learn Build status updates of commit acbb600:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows/security/identity-protection/credential-guard/credential-guard-considerations.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 207c66e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows/security/identity-protection/credential-guard/credential-guard-considerations.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


How to make this works with ConnectedRouter ?

The ConnectedRouter require a <Provider> in the root,
However, the redux-react-hook is using context to replace it.
I have try to use
<StoreContext.Provider value={store}>
    <Provider store={store}>
      <ConnectedRouter history={browserHistory}>
        <Switch>
          ...
        </Switch>
      </ConnectedRouter>
    </Provider>
  </StoreContext.Provider>

But looks not works perfectly

Can you provide a codesandbox with a repro? You will need to use the react-redux Provider if you want to use ConnectedRouter. Otherwise, you will have to look for another solution, see #49.


Prepare release 2.55.0-rc.0

This is to prepare an RC for Prometheus v2.55.
The release-2.55 branch starts at commit ad652de29a3bbe2297e19f975de961388044ef26, just before the 3.0 branch was merged.

I need to move the release-2.55 branch back to before the new UI was merged.

/prombench v2.54.1

/prombench cancel


Move results table to BoneJCommand

Contrary to what I claimed in #245 it's possible to move the results table to the base class. The failing tests mentioned failed because one of our commands didn't call its results table resultsTable.

@alessandrofelder If you have the time, can you help to check that EF still works as intended, please?

No problems with EF as far as I can tell. Changes to code looks good to me as well.

@rimadoma please handle the conflicts and do the merge

@rimadoma please handle the conflicts and do the merge

Sorted


height/width style options for Table/ItemTable are broken

The hv.help(hv.Table) shows
-------------
Style Options
-------------

	editable, fit_columns, height, row_headers, selectable, sortable, width

However, using height or width results in an error.  E.g.
hv.Table(pd.DataFrame({'hello': ['world']}))(style=dict(height=50))

or
hv.ItemTable([('hello','world')])(style=dict(height=50))

will result in TypeError: MetaModel object got multiple values for keyword argument 'height'.
Using e.g. %%opts Table [height=50] is insufficient for use cases where the user desires two tables of different height in the same cell.

Sorry I never got to this height and width are plot not style options. I'm not sure why they are even allowed as style options so I'll remove that now. The correct usage is this:
hv.Table(pd.DataFrame({'hello': ['world']})).opts(plot=dict(height=50))

Will close this now that the confusing style options have been removed.


Comments/Suggestions

In the sidebar under options maybe remove "Update project information, Update project catalog and
update parent projects" we have these options already twice elsewhere.

After opening the project, there is no indication what I can do here as a RDMO newbie. Editing the entries is the first that comes into mind but actually I should answer the questionnaire. Maybe link to here https://github.com/MarcoReidelbach/MaRDMO-Export-Plugin?tab=readme-ov-file#usage-of-mardmo-export-plugin ?

Process steps answers come after this question "Provide the associated process step(s) of the method
Specify the name of the previously documented and relevant process step(s)."

"Provide the relevant parameter(s) of the method": it could be nice to be able to select previously defined model parameters

"Variables
Describe the variables of your workflow below. Use a separate set for each variable." Maybe the word Set is confusing, perhaps use Entry? Same comment for Parameters.
Aurela and Laszlo

Could you tell me on which sites you have these "Update project information, Update project catalog and update parent projects", because I only have them once and that is in the project view. Anyway, this is nothing MaRDMO introduced, but part of the main RDMO program interface. So, from perspective a change here would need to be done from the RDMO side.

Once again, I am not sure if MaRDMO can do this, because this is again the standard interface RDMO provides to all users (but I will check). However, for new users RDMO has help boxes pointing out the important things.

Correct and actually I said something wrong in today's meeting. In a previous MaRDMO version the 'Process Information' section was arranged just like the templates, i.e. Process Steps, Methods, Software, Hardware, Input and Output Data. I re-arranged this recently to Software, Hardware, Input, Output, Methods and Process Steps to allow the users to select more and more previously defined things, e.g. to select Software for Methods and and basically everything for Process Steps. This question is a relic from the old version. I am currently updating the data model underlying MaRDMO. Once this is done, I will remove this question completely and fetch the answer from the corresponding question for the Process Steps. (Likewise parameters will be added automatically to the process steps, when individual methods are added to a process step)

No problem, I will write the dynamic option set provider to select previously defined model parameters.

Entry is fine for me, will re-write this. It's called set internally in RDMO therefore I used this term before.


Update _index.html

New page for Vulnerability Reporting
What type of PR is this?

Check the PR title.

[ ] This PR title match the format: <type>(optional scope): <description>
[ ] The description of this PR title is user-oriented and clear enough for others to understand.

(Optional) Translate the PR title into Chinese.
(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):
(Optional) Which issue(s) this PR fixes:

Please update the PR title to make it easy to understand

It looks like a "translation" not "New" @yy2so


feat: add criterion.rs to Github Actions

Codecov Report

Merging #32 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   29.25%   29.25%
=======================================
  Files          13       13
  Lines         294      294
=======================================
  Hits           86       86
  Misses        208      208

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 47d2d35...a015fc8. Read the comment docs.


ci: 🐝 update Rust formatting rules

Description
Add Rust format config file
How Has This Been Tested?

[X] run cargo fmt and files formatted as expected

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 commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Current dependencies on/for this PR:

main

PR #3

PR #4

PR #5

PR #6   👈

This comment was auto-generated by Graphite.

@rodneylab started a stack merge that includes this pull request via Graphite.


Not appearing in interface

Doesn't show up in the interface. Retried with a fresh install of Automatic1111, with Python 3.10.6 on Windows 10, everything works except this. The path it installs Controlnet to is different, it's just in a dir called "Controlnet" inside the extensions folder.
Was following the extremely simple instructions in this video: https://www.youtube.com/watch?v=g8EvT28b6MA

Also having this problem. Also tried a fresh install of Automatic1111. Everything appears to be fine and getting no errors, but ControlNet does not show up in the UI under the dice button on the img2img tab of Automatic1111.

Your question helped me, cause it actually contains the solution. We had to install the extension, not just ControlNet itself.
This is the repo: https://github.com/Mikubill/sd-webui-controlnet

Closing this, it's the unofficial tutorial video that is at issue, not this project.

Your question helped me, cause it actually contains the solution. We had to install the extension, not just ControlNet itself. This is the repo: https://github.com/Mikubill/sd-webui-controlnet

this acctully worked for me thank <3

same problem, last version of SD, but it still did not appear

same problem, last version of SD, but it still did not appear

try this
delete the Controlnet folder from your extensions. then after restarting Ui you have to do 2steps:
1.install it from url: paste https://github.com/lllyasviel/ControlNet.git
2.install it from available extensions. look for controlnet and install the one with 1200steps or more!
if not you have to reinstall the Stable diffusion  and try the 2steps again
(this is the way that I fixed my problem without coding)

same problem, last version of SD, but it still did not appear

try this delete the Controlnet folder from your extensions. then after restarting Ui you have to do 2steps: 1.install it from url: paste https://github.com/lllyasviel/ControlNet.git 2.install it from available extensions. look for controlnet and install the one with 1200steps or more!
if not you have to reinstall the Stable diffusion and try the 2steps again
(this is the way that I fixed my problem without coding)

this fixed it for me! Thank you so much for sharing this!

same problem, last version of SD, but it still did not appear

try this delete the Controlnet folder from your extensions. then after restarting Ui you have to do 2steps: 1.install it from url: paste https://github.com/lllyasviel/ControlNet.git 2.install it from available extensions. look for controlnet and install the one with 1200steps or more!
if not you have to reinstall the Stable diffusion and try the 2steps again
(this is the way that I fixed my problem without coding)

didnt got fixed for me while using transformers==4.19.2 but controlnet is visible with transformers==4.30.2
with transformers==4.30.2 SD is not working model is not loading


failed to read recipient IDs from raw secret on gopass fsck

Summary
i get failed to read recipient IDs from raw secret on gopass fsck on some passwords.
Steps To Reproduce
i run gopass fsck.
Environment

OS: ubuntu 20.04
OS version: Linux troy 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
gopass Version:

gopass 1.12.7 (2021-07-02 09:20:21) go1.16.6 linux amd64
<root>     -  gpg 2.3.1 - git 2.32.0
Available Crypto Backends: age, gpgcli, plain
Available Storage Backends: fs, gitfs

Installation method: brew install gopass

Additional context
i can decrypt the files manually with gpg --decrypt .password-store/websites/bla.gpg.
with gopass show they get shown. but with rofi-gopass i get empty secret in the debug logs. after that i tried the gopass fsck and ran in this. i have the feeling that this happens on passwords i added the last.
here is a snippet from the debug log:
2021/08/17 14:46:06.798912 leaf/store.go:68     leaf.New        Instantiated  at /home/marv/.password-store - storage: &gitfs.Git{fs:(*fs.Store)(0xc000098890)} - crypto: &cli.GPG{binary:"/usr/bin/gpg", args:[]string{"--quiet", "--yes", "--compress-algo=none", "--no-encrypt-to", "--no-auto-check-trustdb"}, pubKeys:gpg.KeyList(nil), privKeys:gpg.KeyList(nil), listCache:(*lru.TwoQueueCache)(0xc000319860), throwKids:false}
2021/08/17 14:46:06.798918 root/init.go:71      root.(*Store).initialize        Root Store initialized at /home/marv/.password-store
2021/08/17 14:46:06.798927 fs/store.go:109      fs.(*Store).Exists      Checking if .gpg-id exists at /home/marv/.password-store/.gpg-id: true
2021/08/17 14:46:06.798933 action/init.go:36    action.(*Action).IsInitialized  Store is already initialized
2021/08/17 14:46:06.798985 fs/store.go:156      fs.(*Store).IsDir<EMAIL_ADDRESS>at<EMAIL_ADDRESS>is a directory? false
2021/08/17 14:46:06.798993 fs/store.go:156      fs.(*Store).IsDir<EMAIL_ADDRESS>at<EMAIL_ADDRESS>is a directory? false
2021/08/17 14:46:06.799001 fs/store.go:41       fs.(*Store).Get Reading<EMAIL_ADDRESS>from<EMAIL_ADDRESS>2021/08/17 14:46:06.799017 cli/decrypt.go:22    cli.(*GPG).Decrypt      /usr/bin/gpg [/usr/bin/gpg --quiet --yes --compress-algo=none --no-encrypt-to --no-auto-check-trustdb --decrypt]
2021/08/17 14:46:07.025924 secparse/parse.go:20 secparse.Parse  failed to parse as MIME: EOF
2021/08/17 14:46:07.025951 secrets/yaml.go:95   secrets.ParseYAML       Parsing
2021/08/17 14:46:07.025965 secparse/parse.go:30 secparse.Parse  failed to parse as YAML: EOF

2021/08/17 14:46:07.025971 secparse/parse.go:37 secparse.Parse  failed to parse as KV: EOF
2021/08/17 14:46:07.025976 secparse/parse.go:40 secparse.Parse  parsed as plain:
2021/08/17 14:46:07.025992 action/show.go:147   action.(*Action).showHandleOutput       empty secret - stacktrace: empty secret
2021/08/17 14:46:07.026000 action/show.go:63    action.(*Action).Show   empty secret - stacktrace: empty secret

and all the newer passwords are also not readable by the classic pass command. did something changed in the format?

here is the decrypted formats of a working and non working entry:
nonworking:
mypassword
comment:
url: penexchange.de
username: myusername

working:
mypasswordComment:
Url: x17-shop.de
Username: myusername

both decrypted via gpg --decrypt websites/....

both files show the same signature: PGP RSA encrypted session key - keyid: 4A22181A 9308417E RSA (Encrypt or Sign) 4096b

ok... i copy pasted from the debug log the actual gpg call:
/usr/bin/gpg --quiet --yes --compress-algo=none --no-encrypt-to --no-auto-check-trustdb --decrypt .password-store/websites/penexchange.de/username.gpg
and it returns nothing.... if i try an older one... it works.

can i enforce which gpg version to use?

another strange discovery. it thinks the secret key is/dev/null. here is the debug log. one working entry and one thats not:
021/08/18 08:36:25.900725 leaf/fsck.go:52      leaf.(*Store).Fsck      [] Checking WOBCOM/ldap
2021/08/18 08:36:25.900744 fs/store.go:41       fs.(*Store).Get Reading WOBCOM/ldap.gpg from /home/marv/.password-store/WOBCOM/ldap.gpg
2021/08/18 08:36:25.900789 cli/decrypt.go:34    cli.(*GPG).RecipientIDs /home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg [/home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg --batch --list-only
 --list-packets --no-default-keyring --secret-keyring /dev/null]
2021/08/18 08:36:25.904020 cli/decrypt.go:44    cli.(*GPG).RecipientIDs GPG Output: # off=0 ctb=85 tag=1 hlen=3 plen=524
2021/08/18 08:36:25.904069 cli/decrypt.go:44    cli.(*GPG).RecipientIDs GPG Output: :pubkey enc packet: version 3, algo 1, keyid 1A18224A7E410893
2021/08/18 08:36:25.904096 cli/keyring.go:31    cli.(*GPG).listKeys     /home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg [/home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg --with-colons --wit
h-fingerprint --fixed-list-mode --list-public-keys 1A18224A7E410893]
2021/08/18 08:36:25.907690 cli/decrypt.go:44    cli.(*GPG).RecipientIDs GPG Output: data: [4096 bits]
2021/08/18 08:36:25.907746 cli/decrypt.go:44    cli.(*GPG).RecipientIDs GPG Output: # off=527 ctb=d2 tag=18 hlen=2 plen=72 new-ctb
2021/08/18 08:36:25.907752 cli/decrypt.go:44    cli.(*GPG).RecipientIDs GPG Output: :encrypted data packet:
2021/08/18 08:36:25.907757 cli/decrypt.go:44    cli.(*GPG).RecipientIDs GPG Output: length: 72
2021/08/18 08:36:25.907762 cli/decrypt.go:44    cli.(*GPG).RecipientIDs GPG Output: mdc_method: 2
2021/08/18 08:36:25.907776 cli/keyring.go:31    cli.(*GPG).listKeys     /home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg [/home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg --with-colons --wit
h-fingerprint --fixed-list-mode --list-secret-keys 81ADC3FB6D362E3775A1CCB7D87BCB6EF82A0017]
2021/08/18 08:36:25.911796 fs/store.go:109      fs.(*Store).Exists      Checking if WOBCOM/ldap/.gpg-id exists at /home/marv/.password-store/WOBCOM/ldap/.gpg-id: false
2021/08/18 08:36:25.911817 fs/store.go:109      fs.(*Store).Exists      Checking if WOBCOM/.gpg-id exists at /home/marv/.password-store/WOBCOM/.gpg-id: false
2021/08/18 08:36:25.911826 fs/store.go:109      fs.(*Store).Exists      Checking if .gpg-id exists at /home/marv/.password-store/.gpg-id: true
2021/08/18 08:36:25.911833 fs/store.go:41       fs.(*Store).Get Reading .gpg-id from /home/marv/.password-store/.gpg-id
2021/08/18 08:36:25.911867 cli/keyring.go:31    cli.(*GPG).listKeys     /home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg [/home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg --with-colons --with-fingerprint --fixed-list-mode --list-secret-keys 81ADC3FB6D362E3775A1CCB7D87BCB6EF82A0017]
2021/08/18 08:36:25.915049 leaf/fsck.go:52      leaf.(*Store).Fsck      [] Checking WOBCOM/lsw
2021/08/18 08:36:25.915064 fs/store.go:41       fs.(*Store).Get Reading WOBCOM/lsw.gpg from /home/marv/.password-store/WOBCOM/lsw.gpg
2021/08/18 08:36:25.915094 cli/decrypt.go:34    cli.(*GPG).RecipientIDs /home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg [/home/linuxbrew/.linuxbrew/Cellar/gnupg/2.3.1_1/bin/gpg --batch --list-only --list-packets --no-default-keyring --secret-keyring /dev/null]
2021/08/18 08:36:25.917830 root/fsck.go:31      root.(*Store).Fsck      ERROR: fsck failed on root store: failed to check "WOBCOM/lsw": failed to read recipient IDs from raw secret: exit status 2
2021/08/18 08:36:25.917905 action/fsck.go:58    action.(*Action).Fsck   fsck found errors: 1 error occurred:
        * failed to check "WOBCOM/lsw": failed to read recipient IDs from raw secret: exit status 2

 - stacktrace: 1 error occurred:
        * failed to check "WOBCOM/lsw": failed to read recipient IDs from raw secret: exit status 2

i think i found the error. i read alot through the code and executed the gpg commands and checked the output. i got packet errors here and there. right now my i think my trustdb was corrupted. so nothing to do with this wonderful piece of software,

Glad you could find the solution, on my side the only thing that came to mind was this:
if you created some secrets on a device where the throw-keyids GPG config option was set, maybe it messed up these secrets.
See e.g. #1083

thats a pretty good hint. i dont have this set in my config but i wonder if its somewhere enabled in the default config... i wish gpg could just print out its enabled options.

I think GPG 2.3.2 is the culprit: I updated and am now trying to bissect the origin of the bug, but this isn't working even with 1.10.0, which makes no sense.
So Gopass isn't really at fault, but we will have to dig into what's changed in GPG 2.3.2 I guess.
I'll try to install multiple versions of GPG to find which one brought the issue.

gopass fsck --decrypt

should decrypt and rencrypt all secrets, so I guess adding gpg 2.2 to your path and then running it could solve it?

Thanks for the suggestion - and yes - thanks - that fixes it ...

It appears that GPG 2.3.3 has solved the issue:
they no longer exit with error code 2 when reading a file encrypted with GPG 2.3 using gpg --list-only --list-packets file.gpg
Amusingly they didn't exit with an error code when reading files encrypted with older GPG versions.
Notice that GnuPG 2.2 is a LTS, so to avoid such issues it might still be best to stay on GnuPG 2.2