No way to properly handle Looking Glass device existance or errors

Seems that here:
https://github.com/Looking-Glass/looking-glass-webxr/blob/fc5b610b860e0f15f70dff2c98c0c17ea58bc051/src/LookingGlassConfig.js#L57-L70
would be the right way to have callbacks for errors, ability to check if the device is actually there, if it responds (bridge is running), etc., all needed for proper error handling and showing the right state (I don't want to show a "View on Looking Glass" button if people don't have one).
Additionally, it seems that even with no device connected and the bridge not installed, config.calibration has always exactly one entry (some default one?), so that is also no use to check for actual devices.
Would be better if there was a way to

check if LG is available before actually patching the WebXR APIs from the browser
respond to messages such as "WebSocket connection to 'ws://localhost:11222/driver' failed:" and "Error creating Looking Glass client:" in a proper way

Want to note that while this is labeled as enhancement it's pretty much a blocker for us for a tighter LG integration - due to not being able to detect / react to it we would have to always lead people to a specific LG-only page right now.

Hi @hybridherbst that's fair - Bryan and I discussed the importance of getting this fixed so we're on the same page about how high-priority it is for you! I do think it's an enhancement rather than a bug fix, just a critical enhancement to unlock key user flows.
@BryanChrisBrown is on top of this and I'm sure will have updates for you in the near future - it's high priority for us!

Agree it's an enhancement/missing feature not a bug :)

I'm still working on getting this setup properly, it's a bit tricky since the three.js XR button (and likely other XR Buttons) reads the XR state as soon as the page loads, so wrapping the XR state in a promise is a bit tricky as three will default to XR being disabled, as the device isn't detected in time.
There is a work around that Cody Bennett used where you can wrap the polyfill in an if statement detecting the browser, which would allow it to work on some stand alone headsets if a temporary solution is of interest. here's their codesandbox, you'll want to look at line 150
I'll keep digging on getting out a proper solution for this.

Initial attempt at getting this working is here if you're interested in the progress.
https://github.com/Looking-Glass/looking-glass-webxr/tree/feature/device-detection
the challenge currently is making sure that three knows a new device is present, it seems that just loading the polyfill after the device is detected doesn't update the XRButton's state.

@hybridherbst given that your example is using a custom XR button could you try out the feature/device-detection branch when you get a chance? right now the default three.js XR button fails,
you'd need to replace the following line new LookingGlassWebXRPolyfill() with LookingGlassWebXRPolyfill.init({}) to get the new functionality

so the new functionality in the feature/device-detection branch does work, provided that the enter VR button is delayed by ~400ms or more, since it needs to wait until after the Looking Glass is detected or not, in order to run. Wrapping it in a timeout function like below does work.
setTimeout(function () {
document.body.append(VRButton.createButton(renderer))
}, 400)

I'm not super happy with this solution at the moment as I'd like one that works without end user intervention, but it's also clear we're running up against an issue with a component that's outside our control here.
Perhaps adding our own "View on Looking Glass" button could work, but we'd have to think about how we do that in an engine agnostic way.


🎮 Game Request
Game logic and basic description
Point down the features
Game points
Select program in which you are contributing
hacktoberfest
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @kumar11jr , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#3003

Hey @kumar11jr ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @kumar11jr !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹


semaphore_tracker: There appear to be 14 leaked semaphores to clean up at shutdown

my system is pytorch 1.1 + nvidia 418.67 + cuda 10.1 + Tesla V100
when i train, it will show:
"semaphore_tracker: There appear to be 14 leaked semaphores to clean up at shutdown"
what can i do for the problem?

I know the reson. because of version of gcc, when i change 4.85 to 5.3. the problem disappear

@GYxiaOH
Excuse me, did you solve this problem by changing simply version 4.85 to 5.3?
I got this problem too, but My gcc ver is 7.5.


Default marker info window is always displayed when using showInfoWindow()

Summary
When I use marker.showInfoWindow(), the default info window is displayed instead of the custom defined with collection.setInfoWindowAdapter(new CustomInfoWindowAdapter(getApplicationContext())).
Expected behavior
Open the custom info window when using marker.showInfoWindow(). I'm trying to display the marker custom info window open when starting the activity.
Observed behavior
When using marker.showInfoWindow(), appears the default info window, but if I close it and reopen it, the custom one appears. I have tried to invert the order of setting the adapter and showing the info window, but I get the same behavior.
Environment details
Device: Xiaomi Mi 9
Android version: 10
Library version: com.google.maps.android:android-maps-utils:2.2.0
Code example
@Override
public void onMapReady(GoogleMap googleMap) {
    MarkerManager markerManager = new MarkerManager(googleMap);
    MarkerManager.Collection collection = markerManager.newCollection();

    collection.setInfoWindowAdapter(new CustomInfoWindowAdapter(getApplicationContext()));
    collection.addMarker(new MarkerOptions()
        .position(new LatLng(37.890331, -4.777600))
        .title("Test title")
        .snippet("Test snippet")).showInfoWindow();
}

I'm using too collection.setOnMarkerClickListener, collection.setOnInfoWindowClickListener and googleMap.setOnInfoWindowCloseListener after adding the marker and I have tried to invert the order too.

I am facing same issue.

@pxblx , this seems to work now. There is an example in ClusteringDemoActivity that works:
  mClusterManager.getMarkerCollection().setInfoWindowAdapter(new GoogleMap.InfoWindowAdapter() {
            @Override
            public View getInfoWindow(@NonNull Marker marker) {
                final LayoutInflater inflater = LayoutInflater.from(ClusteringDemoActivity.this);
                final View view = inflater.inflate(R.layout.custom_info_window, null);
                final TextView textView = view.findViewById(R.id.textViewTitle);
                String text = (marker.getTitle() != null) ? marker.getTitle() : "Cluster Item";
                textView.setText(text);
                return view;
            }

            @Override
            public View getInfoContents(@NonNull Marker marker) {
                return null;
            }
        });

Can you check whether that works out for you, and otherwise post the code from your CustomInfoWindowAdapter?


Validation of Cipher suites by Envoy

Title: Validation of Cipher suites by Envoy
Description:

Envoy is not running a validation of Cipher suites before loading. Though I am unsure of design consideration done during Cipher support, it would be good to have only the list of Ciphers that envoy loads/supports for that specific version and same would show in the admin config. Else it is extremely hard to know what we are configuring from the control plane and what envoy supports.

Repro steps:

Set the Cipher in any commonTLSContext using go-control plane

Admin and Stats Output:

"transport_socket": {
"name": "envoy.transport_sockets.tls",
"typed_config": {
"@type": "type.googleapis.com/envoy.extensions.transport_sockets.tls.v3.DownstreamTlsContext",
"common_tls_context": {
"tls_params": {
"tls_minimum_protocol_version": "TLSv1_2",
"cipher_suites": [
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256",
"TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
"TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
"TLS_RSA_WITH_AES_256_GCM_SHA384",
"TLS_RSA_WITH_AES_128_GCM_SHA256",
"BUGPLANET IS THE BEST"
],
"ecdh_curves": [
"X25519",
"P-256"
]
},
"alpn_protocols": [
"h2, http/1.1"
]

Note: If this ask is offshoot from the best practices for using Ciphers in envoy, would be great to have the pointer to any recommended best practices.

@wbpcode - Would you happen to have any insight into this?


typealias does not work with instanceof() (or string()?)

Steps to reproduce
This output
1
string(o): object of C {}
string(C): class C
string(Ctype) Ctype
Error detected while processing :source buffer=1:
line   13:
E693: List or Class required for argument 2

from the following shows the error with instanceof() and unexpected (not sure what I expected) output from string(Ctype).
vim9script
class C
endclass

type Ctype = C

var o = C.new()

echo instanceof(o, C)
echo 'string(o):' string(o)
echo 'string(C):' string(C)
echo 'string(Ctype)' string(Ctype)
echo instanceof(o, Ctype)

Expected behaviour
No error, something else from string(Ctype).
Version of Vim
9.0.2077 + #13441
Environment
ubuntu
Logs and stack traces
No response

Closed by https://github.com/vim/vim/commit/feaccd239573a6265d39d3a917862ee40742eab4


[Feature] When creating an object bounding box should remain on newly created element?

Wouldn't it be useful if the bounding box automatically appears on the newly created element? We have to select every element manually after it's been created in order to resize/reshape it. At least somewhere should be a toggle option for this feature to be enabled or disabled.

Thanks for the feedback! It's helpful to hear that - quite a few people have mentioned the same thing, so I agree there should at least be an option for this.
Related: #3


add a few gradients

I don't think #2562 is up to date, but hey...

@siju-samuel @kevinthesun you have recent commits in the gradients
With the tests, it should be relatively low-risk.

cc @jroesch @MarisaKirisame


Use a router like Hono's RegExpRouter

https://hono.dev/docs/concepts/routers#regexprouter
https://github.com/honojs/hono/blob/bd9effe34f21d758966a0438e16de23bf490c16c/src/router/reg-exp-router/router.ts

A purpose-built router that compiles multiple paths into one “match function” has been implemented here: https://github.com/alloc/alien-rpc/blob/master/packages/pathic/src/compilePaths.ts
Some notes

The path patterns are sorted internally (by specificity), but the callback receives an index corresponding to the path pattern's original array position.
The callback may be called multiple times for a single request, since it can be matched by multiple path patterns. If the callback returns undefined (or a promise that resolves to undefined), the next path pattern will be matched.
Static prefixes are loaded into a hash map for super fast lookups. If a route with a fixed path doesn't match (or resolves to undefined), the dynamic path patterns are checked. Even dynamic path patterns have a static prefix. The rest of the path is matched by RegExp.


alignment of MP and HP eqs for terms mapped as exact matches

review of terms mapped as exact matches has turned up pairs where both terms have an eq but the eqs do not match
Google spreadsheet is here: https://docs.google.com/spreadsheets/d/1P0pLw0LaBi5ZngQfwqcDLvQ2snaa6PBHhHMMnTosW6s/edit?usp=sharing

changed hematuria to us HP eq, moved the existing eq to the child term
changed fragile skeleton to match HP eq
changed anophthalmia to match HP
changed abnormal spine curvature to use characteristic of part of
changed exophthalmos to use eyeball
changed abnormal external auditory canal morphology to use morphology and characteristic of part of
changed abnormal vertebral spinous process morphology to use morphology and characteristic of part of
changed abnormal hearing physiology to use functionality and characteristic of part of
change abnormal skin pigmentation to match HP


fix(TextBox): update Text patching to allow for proper dimension setting and text centering

Description
This PR updates how the patch object for the Text tag is created to ensure the tag can get the proper parent dimensions it needs in order to center text.
References
LUI-1324
Testing
In the TextBox story, add textAlign: 'center' to the textStyle. You should see that the text properly centers when you toggle the control for fixed.
Automation

Checklist

[ ] all commented code has been removed
[ ] any new console issues have been resolved
[ ] code linter and formatter has been run
[ ] test coverage meets repo requirements
[ ] PR name matches the expected semantic-commit syntax

Test Execution Failed.

Test Execution Failed.

Test Execution Failed.


Simple types with pattern field are not always validated

Schemas:
components:
  schemas:

    IPv4:
      type: string
      example: <IP_ADDRESS>
      pattern: ^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$
      minLength: 7

    WrapIP:
      type: object
      required:
          - in_ip
      properties:
        in_ip:
          $ref: "#/components/schemas/IPv4"
        out_ips:
          type: array
          items:
            $ref: "#/components/schemas/IPv4"

Current Behavior
It will add the pattern to the generated model_wrap_ip.go file, instead of model_i_pv4.go, this makes the pattern validation to be applied only to the ip field, but not the items of out_ips
model_i_pv4.go:
// IPv4 is a value type.
type IPv4 string

model_wrap_ip.go:
// wrapIPInIpPattern is the validation pattern for WrapIP.InIp
var wrapIPInIpPattern = regexp.MustCompile(`^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$`)

// WrapIP is an object.
type WrapIP struct {
	// InIp:
	InIp IPv4 `json:"in_ip" mapstructure:"in_ip"`
	// OutIps:
	OutIps []IPv4 `json:"out_ips,omitempty" mapstructure:"out_ips,omitempty"`
}

// Validate implements basic validation for this model
func (m WrapIP) Validate() error {
	return validation.Errors{
		"inIp": validation.Validate(
			m.InIp, validation.Required, validation.Length(7, 0), validation.Match(wrapIPInIpPattern),
		),
		"outIps": validation.Validate(
			m.OutIps,
		),
	}.Filter()
}

Expected Behavior
The regexp and validation should be added in model_i_pv4.go, only required field validation should happen in model_i_pv4.go.
model_i_pv4.go:
// pattern is the validation pattern for IPv4
var pattern = regexp.MustCompile(`^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$`)

// IPv4 is a value type.
type IPv4 string

// Validate implements basic validation for this model
func (v IPv4) Validate() error {
	return validation.Validate(v, validation.Length(7, 0), validation.Match(pattern))
}

model_wrap_ip.go:
// WrapIP is an object.
type WrapIP struct {
	// InIp:
	InIp IPv4 `json:"in_ip" mapstructure:"in_ip"`
	// OutIps:
	OutIps []IPv4 `json:"out_ips,omitempty" mapstructure:"out_ips,omitempty"`
}

// Validate implements basic validation for this model
func (m WrapIP) Validate() error {
	return validation.Errors{
		"inIp": validation.Validate(
			m.InIp, validation.Required,
		),
		"outIps": validation.Validate(
			m.OutIps,
		),
	}.Filter()
}

@LucasRoesler I hope you are doing well! We just run into this problem and thought on checking if you guys can fix it. Let me know if you prefer us to create a PR.
Thanks!

Hi @injeniero , thanks for the report. I have to look into it and play with it a bit. Your expected code is definitely what I expected as well

@injeniero I see what is happening. In the model generation we have 4 kinds of models and each has a separate template, you can see it in the template folder
enum.gotpl
model.gotpl
oneof.gotpl
value.gotpl

The last one is important and is used for models that are just alias of built-in data types. Which is exactly what happens here. IPv4 is just an alias for a string.  You also see it used here https://github.com/contiamo/openapi-generator-go/blob/e56ce04f8f17d777f46365d43d51fc77fbc59c7b/pkg/generators/models/models.go#L252
Additionally, we don't fill in the validation metadata for these Value kinds https://github.com/contiamo/openapi-generator-go/blob/e56ce04f8f17d777f46365d43d51fc77fbc59c7b/pkg/generators/models/models.go#L171
Part of the reason for this is that we can not provide a field name for the validation error like we do when a value is used in a struct. Normally, these values are used as struct fields, so the validation is applied at the struct level where we can provide a name for which data is failing.
This clearly doesn't work well when you also want to use the value in an array, there you need the inherited validation.
Two solutions immediately come to me

try to push validation to the Value level. I don't think it is too hard to add the validation information and to add the required method to the value template. But we need to adjust how validation in a struct behaves because we need to skip the validation metadata if the field is a Value or we keep the validation at the struct level but need to use a validation.Skip to tell it to skip the validation at the Value level.
add more logic to the validation generation for fields that are arrays. This one is a lot less clear to me right now.

I am leaning toward (1) because I can see the details a bit more clearly and I think it is probably closer to what people expect. If the Value alias has validation information, the Value alias should be validatable.
@injeniero does it make sense? do you see an alternative solution?

I still think validation should be done as close as possible to the actual type, so option 1) is what I think should be done.
I was checking the code for validation.Validate and I think it will just work as expected without you needing to do anything special, as long as you add the Struct field specific validation which I think it is just the required property.
This is the doc for that function:
// Validate validates the given value and returns the validation error, if any.
//
// Validate performs validation using the following steps:
// 1. For each rule, call its `Validate()` to validate the value. Return if any error is found.
// 2. If the value being validated implements `Validatable`, call the value's `Validate()`.
//    Return with the validation result.
// 3. If the value being validated is a map/slice/array, and the element type implements `Validatable`,
//    for each element call the element value's `Validate()`. Return with the validation result.

I think we both agree on the fix.
I won't be able to fix it in the next couple of days, perhaps I will have some time on Friday.
If you (or someone on your team) has time or motivation before the weekend, feel free to send a PR. Otherwise I will try to fix it at the end of the week.

I will check as well if I can fix it.
Sadly, last time I tried to fix something it took me many days to arrive to a barely working solution, and you then fixed it with minimal changes and in no time 😄
It is clear I need more time in the code to better understand where changes should go. But, I will still give it a try if get a few hours this week.
Thanks!!


Enable Service mesh feature for ASM to install in GKE

Fixes #25
@ferrarimarco Can you take a look at it ?

Should be good now

Hi @ferrarimarco everything has been formatted and rebased against main
It should be good now


Cannot find julia.h

    Building JuliaChem → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/fd7a4144672b96d22c270aa0046c075ba1e9532b/build.log`
┌ Warning: Could not use exact versions of packages in manifest, re-resolving
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:1488
ERROR: Error building `JuliaChem`:
-- The C compiler identification is GNU 11.2.0
-- The CXX compiler identification is GNU 11.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_BUILD_TYPE: Release
-- Found Eigen at /home/mkitti/.julia/artifacts/475c961c4ed1f48a5805c2563fe0e034d34e4a97
-- Found Boost at /home/mkitti/.julia/artifacts/e5c081287f1c37d66be7b8fba2358fce43e5b420
-- Found JLCxx at /home/mkitti/.julia/artifacts/6fbda767b0cb63d5cd1b258fd698b8fb14d655c0
-- Found Libint at /home/mkitti/.julia/artifacts/102529506b62a991eeacee8e81c5eb01a560459e
-- Found julia include directory at /home/mkitti/bin
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mkitti/.julia/packages/JuliaChem/6Wzrb/deps/build
[ 50%] Building CXX object CMakeFiles/jeri.dir/src/jeri.cpp.o
In file included from /home/mkitti/.julia/artifacts/6fbda767b0cb63d5cd1b258fd698b8fb14d655c0/include/jlcxx/array.hpp:4,
                 from /home/mkitti/.julia/artifacts/6fbda767b0cb63d5cd1b258fd698b8fb14d655c0/include/jlcxx/jlcxx.hpp:13,
                 from /home/mkitti/.julia/packages/JuliaChem/6Wzrb/deps/src/jeri-core.hpp:5,
                 from /home/mkitti/.julia/packages/JuliaChem/6Wzrb/deps/src/jeri.cpp:1:
/home/mkitti/.julia/artifacts/6fbda767b0cb63d5cd1b258fd698b8fb14d655c0/include/jlcxx/type_conversion.hpp:4:10: fatal error: julia.h: No such file or directory
    4 | #include <julia.h>
      |          ^~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/jeri.dir/build.make:76: CMakeFiles/jeri.dir/src/jeri.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/jeri.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
ERROR: LoadError: failed process: Process(`make`, ProcessExited(2)) [2]

Stacktrace:
 [1] pipeline_error
   @ ./process.jl:531 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base ./process.jl:446
 [3] run
   @ ./process.jl:444 [inlined]
 [4] build_jeri()
   @ Main ~/.julia/packages/JuliaChem/6Wzrb/deps/build.jl:18
 [5] top-level scope
   @ ~/.julia/packages/JuliaChem/6Wzrb/deps/build.jl:22
 [6] include(fname::String)
   @ Base.MainInclude ./client.jl:451
 [7] top-level scope
   @ none:5
in expression starting at /home/mkitti/.julia/packages/JuliaChem/6Wzrb/deps/build.jl:22

julia> julia_include = joinpath(Sys.BINDIR, "..", "include", "julia")
"/home/mkitti/src/julia-1.7.1/bin/../include/julia"

julia> readdir(joinpath(Sys.BINDIR, "..", "include", "julia"))
32-element Vector{String}:
 "END.h"
 "ENTRY.amd64.h"
 "ENTRY.i387.h"
 "MurmurHash3.h"
 "analyzer_annotations.h"
 "arraylist.h"
 "bitvector.h"
 "dirpath.h"
 "dtypes.h"
 "hashing.h"
 "htable.h"
 "ios.h"
 "jloptions.h"
 "julia.h"
 "julia_assert.h"
 "julia_atomics.h"
 "julia_fasttls.h"
 "julia_gcext.h"
 "julia_locks.h"
 "julia_threads.h"
 "julia_version.h"
 "libsupport.h"
 "platform.h"
 "ptrhash.h"
 "strtod.h"
 "timefuncs.h"
 "tzfile.h"
 "utf8.h"
 "utils.h"
 "uv"
 "uv.h"
 "win32_ucontext.h"


Performance/RedundantEqualityComparisonBlock incorrect detecting with parallel assignment

I found incorrect detecting. That sample
detections.all? { |detected_style,| detected_style == :unannotated }

has correctable offence Performance/RedundantEqualityComparisonBlock: Use all?(:unannotated) instead of block..
It's wrong because here we use parallel assignment. I assume that detections consists of arrays and all?(:unannotated) will ever return only false.

Expected behavior
I expect no offences in that case.
Actual behavior
Incorect correction.
Steps to reproduce the problem
Check this sample
detections.all? { |detected_style,| detected_style == :unannotated }

RuboCop version
$ [bundle exec] rubocop -V
bundle exec rubocop -V
1.12.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.4.1, running on ruby 3.0.0 x86_64-darwin20)
  - rubocop-performance 1.10.1
  - rubocop-rspec 2.2.0

This issue has been resolved by https://github.com/rubocop/rubocop-performance/pull/224 and released. Can you update RuboCop Performance to 1.10.2? Thank you.


Persist processing messages in graphql schema

Because it impacts the schema of the main grapqhl table and this feature was not requested by any user, we decided to close it without merging. If there will be a customer's demand for this ticket, we will re-open and add the schema migration to it.

Because it impacts the schema of the main grapqhl table and this feature was not requested by any user, we decided to close it without merging. If there will be a customer's demand for this ticket, we will re-open and add the schema migration to it.


Request: allow to avoid image shrinking when adding border

I've noticed that the larger the border is, the image gets shrunk so that you will always see the middle-edges (middle left, middle right, middle top, middle bottom).
Please allow to avoid this, and instead shrink the image to the size of the imageView itself, while the border is on top of it.

Just use app:civ_border_overlay="true" for the desired behavior.

oh, ok, thank you.


Spelling mistake in README.md: 'The default mode section decscribes these rules.'

At https://github.com/IBM/openapi-validator
Should be 'describes'.

Great catch! Thanks for the issue. Feel free to open a PR if you'd like, otherwise I will fix this soon


Register 0.1.12

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/81215
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.12 -m "<description of version>" cbc7f127d615f7088dfae7e7ccbbae0e11474105
git push origin v0.1.12


[Java][CI][Java-Jars][MacOS] C++ libraries for MacOS AARCH 64

Describe the bug, including details regarding any error messages, version, and platform.
There are errors on Java building C++ libraries for MacOS AARCH 64.
C++ libraries for MacOS AARCH 64: https://github.com/ursacomputing/crossbow/actions/runs/6403529915/job/17382218168
Machine name: 'm1mini02'
Error: No such keg: /opt/homebrew/Cellar/aws-sdk-cpp
Error: No such keg: /opt/homebrew/Cellar/llvm
There are more evidences of the error on other days on java-jars task at http://crossbow.voltrondata.com/
Component(s)
Continuous Integration, Java

Did these homebrew packages drop support for MacOS 10.13 by chance?

Yeah, ignore what I said above.
The most recent MacOS version that support Apple Silicon was Big Sur (MacOS 11). Maybe the github runner m1mini02 is using this version and maybe support for was recently dropped in homebrew for it? I haven't been able to verify yet.

Confirmed, aws-sdk-cpp dropped Big Sur in Homebrew recently https://github.com/Homebrew/homebrew-core/commit/1b8427278b25ba9aad426e97940d0fef59502581

And the m1mini02 is self-hosted https://github.com/apache/arrow/blob/main/dev/tasks/java-jars/github.yml#L82

Thanks for investigating. We will need to upgrade those machines.

MacOS now run 13.6 and it is worked as expected at https://github.com/ursacomputing/crossbow/actions/runs/6403529915/job/17563133582


Spacecraft sends notifications when certain events occur

#19
CHANGELOG :memo:

adds a SpacecraftEmitter that will send out messages depending on the following situations:

max_speed: spacecraft attempts to accelerate faster than 5
min_speed: spacecraft attempts to decelerate slower than 1
wrong_trajectory: spacecraft traverses to the left or right farther than 5
moon: the spacecraft reaches the moon
lost: the spacesraft passes by the moon

PRINTS(OPTIONAL) :framed_picture:
Spacecraft going too fast and going off course at the same time

Spacecraft going at the minimum speed, finding the moon, and passing the moon

LABELS

Enhancement
Hacktoberfest

Okay! @pyymenta I believe this PR is ready for your review. I did some fixin' up and polishing after I created the PR, but I believe it's in a good spot now. I'd love to hear your feedback!

@CodeMartian Thank you for your contribuition, I'll review it!

In general this implementation looks good to me, if you fixed those point, I believe that will be ready to be merged.
One point of attention is about the identation, I think 4 spaces are not good. I'm thinking to changing it to 2. What do you think? No worry about it now, I'll create another issue for it.

go ahead and 🚀 🚀 🚀 🚀 🚀

go ahead and

Awesome! Thank you!


Feedback not showing on fullscreen MODAL page on Android

Feedback doesn't show up on fullscreen modal page on Android.
nativescript CLI 3.2.1
tns-core-modules 3.2.0
tns-android 3.2.0
nativescript-feedback 1.0.6
Android 7.1

I don't think we can do anything about that as it's likely to be internal to the library we're wrapping here. Just to be sure: can you share a project that reproduces the issue?

Hi @EddyVerbruggen, here is the sample project:
https://github.com/terreb/feedback
Feedback shows up on the modal page on iOS but doesn't on Android where it's basically hidden behind the page. Does it do something with elevation on Android?

How do I get the feedback's nativeView?

Thanks for the sample, I can confirm the modal blocks the view.
The LoC responsible for adding the alert to the view is this one.

Ok, thanks, seems it's possible to get access to the native view by the reference
feedback.lastAlert, but only if it's already shown at least once. Setting elevation doesn't help. I'm not an Android developer, but another thing to try could be getting it's parent and then do bringChildToFront. I'm not sure whether the modal page and alerter are children of the same parent though. Would something like that work?

It's worth a shot.

Any updates here @EddyVerbruggen ?

No.

Hey @EddyVerbruggen any idea if the plugin still works with the tns-core-modules changes after 4.0? No toasts seem to show, and I haven't had time to troubleshoot it.

@Pip3r4o I’m using it in this app which has all the latest bits: https://github.com/EddyVerbruggen/nativescript-pluginshowcase
Or are you referring to using it in a modal? I’ve never tried that.

@EddyVerbruggen if a modal is active n then the feedback is called, it shows behind the modal, so for me i had to close the modal to show the user the feedback, which is annoying..

@mhmo91 that will supposedly be the native behavior too.

need this too

I can't find a way to make it work. Leaving this open for others to take a stab.

When the modal works, it displays something like -
 DecorView: onWindowFocusChangedFromViewRoot hasFocus: true, DecorView@9d71eda[NativeScriptActivity]
It fails to log this on a fullscreen activity.
I believe this might just be because of the Modal isn't given the permission to draw on the top of the root view.

Just some food for thought, I personally had it not working too, until I realized that I am opening up the modal in an async await making it run in a background thread instead of the UI thread, thus making it impossible for it draw on the UI thread.
And when it tries to draw it on the background thread, the DecorView doesn't get the View to draw on and throws an exception which is being caught by the JS.
You can try and set this to false under package.json to experiment - discardUncaughtJsExceptions

@sanved77 all the Javascript in NS runs on the UI thread. Only things running in a worker don't run in on the UI thread.
I'll try to get this to work tomorrow.

I made a fix to at least be able to make the notification appear when in a dialog.
The solution is not pretty, it's in #62 . It might be useful for some. I will try to see if I can fix the issues.

@jerbob92 I've tried your solution on my project but still not working... It looks like the android: {  addToView: ... } is not taken into account.

@EddyVerbruggen @jerbob92
https://github.com/Tapadoo/Alerter/releases/tag/7.0.0 was released 17 days ago. The changelog says "Added dialog support".
Would this fix this issue?

@EddyVerbruggen @jerbob92
https://github.com/Tapadoo/Alerter/releases/tag/7.0.0 was released 17 days ago. The changelog says "Added dialog support".
Would this fix this issue?

Yes, that does sound like it will fix it. You could try it out :)

I could and would like to, but I don't know how to write NativeScript plugins that use native components 😢

@MrSnoozles I don't think you have to develop anything. You can probably add something to your app gradle file to force the new version of the native component:
  configurations.all {
    resolutionStrategy.force "com.tapadoo.android:alerter:7.0.1"
  }

@MrSnoozles After looking at the changes of the project we might need to make some changes to support showing in a dialog indeed. We probably still need to detect whether we are in a modal like I put in this MR:
https://github.com/EddyVerbruggen/nativescript-feedback/pull/62
We then need to pass the dialog into the constructor of the Alerter.


Add DQL heredoc support

Hello,
This tiny PR adds support for Doctrine Query Language syntax coloration in heredocs.
Example:

Thanks!

Thanks for the PR, but our php syntax is generated from this repo, so PRs should go upstream https://github.com/atom/language-php

Ok, thanks for the info.


Plugin installs, but fails to laod

As the title says, I tried to install the plugin, which worked, but then it immediatly stops when loupedeck tries to load it.
I ran the troubleshooter and found the following in the logs. I tried 1.3.0 and 1.2.0, both failed to load. This log is for 1.3.0.
2023-01-22T02-36-49-1632 |  15 | ERROR | Error deserializing Loupedeck.PiholePlugin.Models.Summary. Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1642 |  15 | ERROR |     (JsonSerializationException) Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1652 |  15 | WARN  | JSON.NET: 'Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.' at ''
2023-01-22T02-36-49-1667 |  22 | ERROR | Exception caught: Func raised exception
2023-01-22T02-36-49-1672 |  22 | ERROR |     (AggregateException) Mindestens ein Fehler ist aufgetreten.
2023-01-22T02-36-49-1677 |  22 | ERROR |     (JsonSerializationException) Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1682 |  22 | ERROR | Exception details:
2023-01-22T02-36-49-1687 |  22 | ERROR |     (AggregateException) Mindestens ein Fehler ist aufgetreten.
2023-01-22T02-36-49-1696 |  22 | ERROR |         (JsonSerializationException) Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1702 |  22 | ERROR |     Call stack:
2023-01-22T02-36-49-1801 |  22 | ERROR |         System.Threading.Tasks.Task 1.GetResultCore(Boolean waitCompletionNotification)
2023-01-22T02-36-49-1806 |  22 | ERROR |         Loupedeck.PiholePlugin.PiholePlugin.VerifyToken() - src\PiholePlugin\PiholePlugin.cs(116)
2023-01-22T02-36-49-1806 |  22 | ERROR |         Loupedeck.PiholePlugin.PiholePlugin.Load() - src\PiholePlugin\PiholePlugin.cs(75)
2023-01-22T02-36-49-1811 |  22 | ERROR |         Loupedeck.Plugin.TryLoad()
2023-01-22T02-36-49-1816 |  22 | ERROR |         Loupedeck.Helpers+<>c__DisplayClass74_0 1.b__0()
2023-01-22T02-36-49-1816 |  22 | ERROR |         ----------
2023-01-22T02-36-49-1826 |  22 | ERROR |         Loupedeck.Tracer.Error(System.String message, System.Exception ex)
2023-01-22T02-36-49-1826 |  22 | ERROR |         Loupedeck.Helpers+<>c__DisplayClass74_0 1.b__0()
2023-01-22T02-36-49-1831 |  22 | ERROR |         System.Threading.Tasks.Task.Execute()
2023-01-22T02-36-49-1836 |  22 | ERROR |         System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)
2023-01-22T02-36-49-1841 |  22 | ERROR |         System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)
2023-01-22T02-36-49-1841 |  22 | ERROR |         System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task& currentTaskSlot)
2023-01-22T02-36-49-1846 |  22 | ERROR |         System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
2023-01-22T02-36-49-1851 |  22 | ERROR |         System.Threading.ThreadPoolWorkQueue.Dispatch()
2023-01-22T02-36-49-1856 |  22 | ERROR |     (JsonSerializationException) Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Loupedeck.PiholePlugin.Models.Summary' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
2023-01-22T02-36-49-1861 |  22 | ERROR |     Call stack:
2023-01-22T02-36-49-1881 |  22 | ERROR |         Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract(Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract)
2023-01-22T02-36-49-1881 |  22 | ERROR |         Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id)
2023-01-22T02-36-49-1886 |  22 | ERROR |         Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue)
2023-01-22T02-36-49-1891 |  22 | ERROR |         Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent)
2023-01-22T02-36-49-1896 |  22 | ERROR |         Newtonsoft.Json.JsonSerializer.DeserializeInternal(Newtonsoft.Json.JsonReader reader, System.Type objectType)
2023-01-22T02-36-49-1896 |  22 | ERROR |         Newtonsoft.Json.JsonConvert.DeserializeObject(System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings)
2023-01-22T02-36-49-1901 |  22 | ERROR |         Newtonsoft.Json.JsonConvert.DeserializeObject(System.String value, Newtonsoft.Json.JsonSerializerSettings settings)
2023-01-22T02-36-49-1906 |  22 | ERROR |         Loupedeck.JsonHelpers.DeserializeObject(System.String value)
2023-01-22T02-36-49-1906 |  22 | ERROR |         Loupedeck.PiholePlugin.PiHoleApiClient+d__8.MoveNext() - src\PiholePlugin\PiApiClient.cs(67)
2023-01-22T02-36-49-1911 |  22 | ERROR |         ----------
2023-01-22T02-36-49-1916 |  22 | ERROR |         Loupedeck.Tracer.Error(System.String message, System.Exception ex)
2023-01-22T02-36-49-1921 |  22 | ERROR |         Loupedeck.Helpers+<>c__DisplayClass74_0 1.b__0()
2023-01-22T02-36-49-1921 |  22 | ERROR |         System.Threading.Tasks.Task.Execute()
2023-01-22T02-36-49-1926 |  22 | ERROR |         System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)
2023-01-22T02-36-49-1931 |  22 | ERROR |         System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx)
2023-01-22T02-36-49-1936 |  22 | ERROR |         System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task& currentTaskSlot)
2023-01-22T02-36-49-1936 |  22 | ERROR |         System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
2023-01-22T02-36-49-1941 |  22 | ERROR |         System.Threading.ThreadPoolWorkQueue.Dispatch()
2023-01-22T02-36-49-1946 |   1 | ERROR | 'Load' method failed
2023-01-22T02-36-49-1956 |   1 | ERROR | Plugin not loaded

Try v1.3.1
which should fix the issue I believe was causing this.
You appear to have your PiHole password protected, so make sure to follow setup instructions (which was not the issue here, just making sure)

Thank you, it is working now. Nice Plugin btw!
I was wondering if it would be possible to deactivate pihole for a certain device only. Not even sure if the API gives you this option.

Awesome, thanks for the feedback.
You mean disabling a group? I know of no other way to disable adblocking for a selection of clients other than adding them to a group and disable blocking for the group then.
Well, maybe. I didn't look into it, I mainly just disable it completely myself. I only do it somewhat rarely when a site really depends on something I'm blocking and I'm too lazy to figure out what. 😉
I'll look into it, when I have some spare time.

Sure could be a group.
It's exactly the same for me, I only disable it if a site really needs it disabled.
That's I thought it would be neat to only disable it for the clients that need to have it disabled.
It's really just an idea, I'm quite happy I can switch it off with just one click now.


Checkout Editor: Emphasis variable definitions are undefined

Please list the package(s) involved in the issue, and include the version you are using
Using: "@shopify/ui-extensions-react": "2024.1.1"
Describe the bug
Text is not bolded when using <Text emphasis="bold">. It looks like the CSS variables are being set to undefined instead of the correct weight value.
Steps to reproduce the behavior:

Add a  component with the attribute of emphasis="bold"
Open the Checkout Editor and add your block.
Inspect the rendered span and dig in on the --x-typography-primary-weight-bold variable definition.

Expected behavior

Text component renders as bold in Checkout Editor

Screenshots

Also having the same problem.

Is there an alternative to make this work?


empty cell_id column in airr file from 10x Genomics data

Hey guys!
I am running TRUST4 on 10xGenomics RNAseq data. Especially, we make use of the AIRR file for our post-processing analysis.
For a QC protocol, we require the cell_ids, however I see that at least for me this column is always empty.
Is this expected behaviour or is there a problem in my command:
run-trust4 \
    -1 ../test_files/SRR20751887_S1_L001_R1_001.fastq -2 ../test_files/SRR20751887_S1_L001_R2_001.fastq \
    --barcode ../test_files/SRR20751887_S1_L001_R1_001.fastq \
    --readFormat bc:0:15,um:16:27 \
    --UMI ../test_files/SRR20751887_S1_L001_R2_001.fastq \
    -t 6 \
    -f IMGT+C.fa \
    -o out \

Do you store the cell_ids somewhere so that I could add the column to out_airr.tsv?
Also, I see that you also create out_barcode_airr.tsv, I dont really get what to do with this file.
Thanks a lot!

The cell_id should be in the out_barcode_airr.tsv file, which gives information about the BCR/TCR for each barcode. The file without "barcode" is the summary of the clonotypes, for example, the "consensus_count" is the number of cells bearing this clonotype (V, J, C, CDR3nt).
There might be some other issues with your running command too. Is the UMI and barcode from the same file? Based on the --readFormat, I guess the format is 16bp barcode followed by 12bp UMI in the R1 file, but you put R2 file as the UMI file. Another issue is that if R1 file also contains VDJ sequence information, you may need to add something like " --readFormat bc:0:15,um:16:27,r1:28:-1" so that it will exclude the barcode and UMI portion in the assembly.
Hope this helps.

Thanks for your reply!
Then I guess there is a way to "stitch" together the information from the 2 files to infer the cell_ids for each clonotype?
Thanks for the heads up with the R2, that was just a typo here. It's as you said: first 16bp of R1 is barcode, next 12 bp is UMI.
Now I also understand what the r1 is there for in the readFormat 💡

I don't think you need to stitch them together. The barcode_airr contains the information about the clonotype for each cell barcode already. Or do you mean you want to have the list of cell ids with the same clonotype?

I want to have them in the TRUST_airr.tsv file. Or do I understand sth wrong?
I thought that the TRUST_airr.tsv file holds the clonotypes extracted from the RNA seq data and that barcode_airr contains the barcodes in the file? Or is the barcode_airr the actual clonotypes without being condensed with consensus_count?

Right. barcode_airr file is actual clonotypes without condensed, The "consensus_count" in that file is the number of reads/UMI supporting this contig.


SvelteKit docset

I'd appreciate the inclusion of the SvelteKit docset. It's structured similarly, so it should be relatively straightforward to add.

Check this out: https://github.com/yanick/sveltekit-docset


CI: use mk_all twice

Once to create the import all files without failing, the second time actually checking.
Zulip

Otherwise looks good.
bors d+

Are you sure this actually works? I would think mk_all updates the import-only files in-place, making the second run succeed. Indeed, in the test run, the build step succeeded (I am not sure why checking the cache failed; relying on this seems somewhat brittle).
Perhaps this is certain to work (e.g., if checking the cache fails, or the warning means the build is noisy and fails later). If so, can you please add a comment? I don't think this is as obvious as it looks!
That said: thanks for investigating a better solution here; if something like this can be made to work, that's even better than just checking!

Michael, you can take a look at #14779.  The failure of the cache step is not really an accident: there is a discrepancy between what GitHub knows and the local status of the branch.  Thus, the modified branch asks for the cache for all the files, but GitHub only returns the files that it knows.  The difference makes CI fail.
If this convinces you, let me know, and I will merge.  If you think that there is an error, also let me know and I will not merge!  :smile:

And can you also update the PR description, please - at least for me, the reality is more subtle than the description sounds.

Thank you all for the reviews!
Bryan, I'd be happy to see CI being restructured!
bors r+


Add a graphite-compatible regex to match either disk name on AWS

In AWS, disks are named xvd... or nvm... depending on the instance type.

The correct query seems to be apt-1_blue_integration.disk-{xvd*,nvm*}?.disk_time.*, so with a comma , rather than a pipe | within the value list.

D'oh. My brain was half in normal regex and half in Graphite regex.


gh-892 fix zuul POST retry

I tried to implement the ResettableServletInputStreamWrapper into the FormBodyWrapperFilter and faced some issues so I've moved it to an own filter. Maybe it is still possible to merge both filters..

@ryanjbaxter sure. I've simplified the fix to one change in the RibbonCommandContext like mentioned above.
Gimme a moment to revert all changes and re-implement the fix :)

@ryanjbaxter the ContextAwareRequest depends on the RibbonCommandContext which is part of the zuul.filter.route package. Is there a reason why the context is not moved to a more generic package so that the context aware http clients no not depend on zuul?

@ryanjbaxter sorry. my IDE did strange thinks. I really hope you will get through this

@doernbrackandre np, i understand.  If you can fix the formatting we will be happy to take a look at it.


Add managed security stack overview

Please remember to

[x] Give the PR a meaningful title -- it will be shown in the release notes
[x] Add (or remove) user questions associated with any updated docs

.png version of the .svg for easier review:

LGTM. Please update the front matter as well.


Settings are not persistent across reboots

The issue addresses the latest as of writing this main branch 8a4d037cdce1f4500efb0d5f2314526cfda3fee5 commit.
Issue:
After setting the IP address of the device and rebooting it, all the settings stay unchanged.
How to replicate:
Pull the 8a4d037cdce1f4500efb0d5f2314526cfda3fee5 commit and build it. Flash a booster with it.
See the current settings and try updating the IP address of, for example, the broker:
(This device was used before on the v0.5.0 version of the firmware, and it correctly loaded the settings from then):

list
...
/broker: "<IP_ADDRESS>" [default: "<IP_ADDRESS>"]
...

set /broker "<IP_ADDRESS>"
Settings saved. Reboot device (platform reboot) to apply.

list
...
/broker: "<IP_ADDRESS>" [default: "<IP_ADDRESS>"]
...
platform reboot

//After rebooting

list
...
/broker: "<IP_ADDRESS>" [default: "<IP_ADDRESS>"]
...

The same thing goes for other settings.
I tried doing the same thing with a never before flashed device. The settings were saved correctly the first time, but after the next attempt, they returned to default ones.
Reflashing it again with v0.5.0 fixes the issue, and I'm able to setup things normally.

Indeed, I was able to reproduce this on my bench. I'm looking at a fix for this and will submit a PR shortly.
The current plan is to port over to the architecture that Stabilizer uses in the future, but I'll get a fix for the EEPROM-based settings as well in the meantime.


Add MANIFEST.in

This ensures the docs directory is present in release tarballs.  This fixes issue #90.

Coverage increased (+0.01%) to 92.367% when pulling 887d222f09a09f3e4ef741b1f075292080ca784e on vrtsystems:bugfix/add-docs into b6983fbf48399bc5687656be55ac5b9cce4f4718 on Tanganelli:master.


Subscribed messages in cluster are not fired every time

Hello,
I have a cluster with 3 masters and 3 slaves. AKE notify-keyspace-events is enabled in all nodes.
I am listening for __keyevent@0__:set event when a key is modified.
The problem is that sometimes it is working as expected: I am notified when a key is updated, but most of the time it failed (no event) after I restart my app.
Maybe I am doing something wrong. It is strange. I don't have the problem without cluster.
Thank you in advance for your  help.

Finally, I found that those events aren't propagated related to https://github.com/antirez/redis/issues/2541


Update redisenterprise readme files for C#, Azure CLI, and Azure Resource Manager Schema

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Changelog
Please ensure to add changelog with this PR by answering the following questions.

What's the purpose of the update?

[ ] new service onboarding
[ ] new API version
[ ] update existing version for new feature
[ ] update existing version to fix swagger quality issue in s360
[x] Other: Update configuration files for SDK/CLI code generation

When you are targeting to deploy new service/feature to public regions? N/A
When you expect to publish swagger? N/A
If it's an update to existing version,  please select SDKs of specific language and CLIs that require refresh after swagger is published.

[ ] SDK of .NET (need service team to ensure code readiness)
[ ] SDK of Python
[ ] SDK of Java
[ ] SDK of Js
[ ] SDK of Go
[ ] PowerShell
[ ] CLI
[ ] Terraform
[x] No, no need to refresh for updates in this PR

Contribution checklist:

[x] I commit to follow the Breaking Change Policy of "no breaking changes"
[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[ ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] Please ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from Breaking Change Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable or public preview version with Breaking Change Validation errors
[ ] Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.

@greenms Can merge once the checks pass

/azp run

@markcowl I don't understand the way azure-cli-extensions and azure-sdk-for-python-track2 are failing, any insights?

Thanks Tim.  I also just sent out email requests for help on the Python Track2 failure (sent to @jsntcy and Yuchao Yan) and the Azure CLI failure (sent to @achandmsft and<EMAIL_ADDRESS>

Identified an issue in the setup instructions for Azure CLI: https://github.com/Azure/autorest.az/issues/744

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run

Does AutoRest need to be updated by whoever configured this pipeline for Python Track2?
Feb 8th Log showing that Python Track2 code gen is working: https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_apis/build/builds/726101/logs/238
Feb 10th Log showing that Python Track2 code gen is broken: https://dev.azure.com/azure-sdk/590cfd2a-581c-4dcb-a12e-6568ce786175/_apis/build/builds/730921/logs/258
My best guess is that somehow we are now too out of date from the latest Autorest, assuming that none of the files I changed in this PR are triggering the error: [automation_generate.sh] INFO:packaging_tools.swaggertosdk.autorest_tools:==[autorest]  TypeError: Cannot read property 'pass-thru' of undefined
You can see that the Feb 8th log is saying to update to AutoRest 3.0.6336, while the Feb 10th log is saying to update to AutoRest 3.0.6338.  Both logs are showing that AutoRest 3.0.6335 is being used, but did something else change that now requires an update to a newer AutoRest than 3.0.6335?

/azp run

@markcowl @ArcturusZhang I believe I verified that without any of these readme file changes, the Python Track2 code generation will still fail with the 'pass-thru' TypeError message.  You can see in this Draft PR that I introduce some harmless whitespace to trigger the SDK automation pipeline to run, and that the Python Track2 code gen fails with the same error: https://github.com/Azure/azure-rest-api-specs/pull/12962
Can I please get this PR merged even with the failing check, due to it not being caused by anything I'm changing in this PR?  Thanks.

/azp run

/azp run

results are here: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=736616&view=results

/azp run

/azp run

The latest results are here: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=737104&view=results
Unsure why the failure is occurring, but it may be due to this being a readme-only change.  Once the other checks pass, an admin can merge this, however.


Limitations Section may need correction

One of the limitations mentioned is:
The backend resources must be in the same virtual network as the load balancer for IP based LBs
I infer that there is only a region tied to the Loadbalancer and front-end IP, not a virtual network as indicated in statement above.
The backend pool needs to be created in same region as the Loadbalancer.
However, there can be multiple backend pools belonging to DIFFERENT virtual networks.
Only constraint is that the VMs in single backend pool all belong to the same virtual network and same region.
ie one backend pool= one virtual network

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

ID: ed6443fd-7d44-4afe-803e-78bd61b6aee9
Version Independent ID: d625cea4-d72c-933d-f4ff-8ce717a32d9a
Content: Backend Pool Management - Azure Load Balancer
Content Source: articles/load-balancer/backend-pool-management.md
Service: load-balancer
GitHub Login: @mbender-ms
Microsoft Alias: mbender

Actually,I just realised that the Loadbalancer itself gets assigned the same vnet as the defined backend pool.
I guess this needs to be clarified in the Microsoft Doc and the portal(it never asks to assign a virtual network for the Loadbalancer, only for the backend pool ,perhaps this is misplaced).
In summary,a Loadbalancer is tied to a region plus vnet  ;backend pools must use the same region and vnet.

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Hi @adi-garg,
Thanks for the feedback and suggestions.
When creating an internal load balancer, the virtual network is determined when you add the Front-End IP address and the only VNets available to choose are in the same region. Once this has been added, your only portal option when adding a backend pool is choosing a subnet in the same VNet.
Create an internal load balancer
I hope this helps clarify the issue for you.
#please-close

Hello,
I would say it still does not help clarify in the document.
The portal and doument needs to call out that the Loadbalancer belongs to a vnet, not just take the backend pool's vnet as the loadbalancer's vnet( initial impression given is each backend pool can be assigned different vnets in same region AND LB is NOT tied to a vnet).

Thanks for the additional context feedback.
I've noted this as a doc and portal bug for future review. We'll make updates as appropriate.

Appreciate the kind support :)
Drawing this pictorially :


python 3.8 and futures 3.1.1 not working well together

I am having an issue building galaxy-server:
Collecting futures==3.1.1
Downloading https://wheels.galaxyproject.org/simple/futures/futures-3.1.1.tar.gz (26 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /galaxy/.venv/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/setup.py'"'"'; file='"'"'/tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-p_hff0yy
cwd: /tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/
Complete output (24 lines):
Traceback (most recent call last):
File "", line 1, in
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/init.py", line 18, in
from setuptools.dist import Distribution
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/dist.py", line 32, in
from setuptools.extern.more_itertools import unique_everseen
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 657, in _load_unlocked
File "", line 556, in module_from_spec
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/extern/init.py", line 52, in create_module
return self.load_module(spec.name)
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/extern/init.py", line 37, in load_module
import(extant)
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/_vendor/more_itertools/init.py", line 1, in
from .more import *  # noqa
File "/galaxy/.venv/lib/python3.8/site-packages/setuptools/_vendor/more_itertools/more.py", line 5, in
from concurrent.futures import ThreadPoolExecutor
File "/tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/concurrent/futures/init.py", line 8, in
from concurrent.futures._base import (FIRST_COMPLETED,
File "/tmp/pip-install-tevv5o12/futures_eb8aed7abd5f419eb0d959748ce75ea9/concurrent/futures/_base.py", line 381
raise exception_type, self._exception, self._traceback
^
SyntaxError: invalid syntax
WARNING: Discarding https://wheels.galaxyproject.org/simple/futures/futures-3.1.1.tar.gz (from https://wheels.galaxyproject.org/simple/futures/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement futures==3.1.1 (from versions: 0.2.python3, 0.1, 0.2, 1.0, 2.0, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.2.0, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.1.0, 3.1.1)
ERROR: No matching distribution found for futures==3.1.1
The command '/bin/sh -c apt update && apt install --no-install-recommends libcurl4-openssl-dev libssl-dev python3-dev python3-pip -y     && pip3 install futures     && update-alternatives --install /usr/bin/python python /usr/bin/python3 9     && mkdir "${GALAXY_ROOT}"     && curl -L -s $GALAXY_REPO/archive/$GALAXY_RELEASE.tar.gz | tar xzf - --strip-components=1 -C $GALAXY_ROOT     && cd $GALAXY_ROOT     && ./scripts/common_startup.sh     && . $GALAXY_ROOT/.venv/bin/activate     && pip3 install drmaa psycopg2 pycurl pykube     && pip3 install importlib-metadata importlib-resources pathlib2 ruamel.yaml.clib typing zipp     && deactivate     && rm -rf .ci .circleci .coveragerc .gitignore .travis.yml CITATION CODE_OF_CONDUCT.md CONTRIBUTING.md CONTRIBUTORS.md               LICENSE.txt Makefile README.rst SECURITY_POLICY.md pytest.ini tox.ini               client contrib doc config/plugins lib/galaxy_test test test-data               .venv/lib/node_modules .venv/src/node-v10.15.3-linux-x64               .venv/include/node .venv/bin/node .venv/bin/nodeenv     && /usr/bin/common_cleanup.sh' returned a non-zero code: 1
ERROR: Service 'galaxy-server' failed to build : Build failed

Has this been resolved??
I am trying to install Galaxy on a server (Ubuntu 20.04)  using Ansible as per the tutorial: https://training.galaxyproject.org/training-material/topics/admin/tutorials/ansible-galaxy/tutorial.html#frequently-asked-questions and it comes up with the same error as shown above.

I am also trying to install using Ansible as per the tutorial with the same results. I'm using Ubuntu 18.04.

The tutorial uses a galaxy_commit_id of release_20.09. Updating this to release_21.09 solved this problem for me.

Thanks!  Yes.  This worked for me too.  They probably should add a comment about this - checking for playbook updates -  in the tutorial.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Greg Watson @.>
Sent: Wednesday, January 12, 2022 8:17:12 AM
To: bgruening/docker-galaxy-stable @.>
Cc: Court, Michael H @.>; Comment @.>
Subject: Re: [bgruening/docker-galaxy-stable] python 3.8 and futures 3.1.1 not working well together (Issue #588)
The tutorial uses a galaxy_commit_id of release_20.09. Updating this to release_21.09 solved this problem for me.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/bgruening/docker-galaxy-stable/issues/588*issuecomment-1011216393__;Iw!!JmPEgBY0HMszNaDT!6202BphfeU4UglTz3DFagsdlTGsH9Heod_OlcgP_-QeFzy6aM8N53vvANIHWtbtvu6M$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AXFTBHVFJTR6SGQFNROAW43UVWSQRANCNFSM5GKB5VHA__;!!JmPEgBY0HMszNaDT!6202BphfeU4UglTz3DFagsdlTGsH9Heod_OlcgP_-QeFzy6aM8N53vvANIHWB_MQapQ$.
Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.com/v3/__https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!JmPEgBY0HMszNaDT!6202BphfeU4UglTz3DFagsdlTGsH9Heod_OlcgP_-QeFzy6aM8N53vvANIHWTgGQzPE$ or Androidhttps://urldefense.com/v3/__https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!JmPEgBY0HMszNaDT!6202BphfeU4UglTz3DFagsdlTGsH9Heod_OlcgP_-QeFzy6aM8N53vvANIHWpD9oZgg$.
You are receiving this because you commented.Message ID: @.***>

Thanks to @jyotipm29 we are back on track :smile:
The new 24.1 image contains a lot of changes and reflects the latest developments in Galaxy. I would like to close this PR, but please feel free to reopen and rebase against the latest version.
Please give it a try:
docker run -p 8080:80 -p 8021:21 -p 4002:4002 --privileged=true -e "GALAXY_DESTINATIONS_DEFAULT=slurm_cluster_docker"   -v /tmp/galaxy-data/:/export/ quay.io/bgruening/galaxy:24.1

... or any other combination. The readme has been updated. Please add any useful tip to it.
For a list of changes, see the Changelog.


Update documentation to use correct class name.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Fixing broken test in the CLI

Description
The build process was failing on my local environment. The reason was a failing unit test.
> Task :waltid-applications:waltid-cli:jvmTest

WaltIdDidCreateCmdTest[jvm] > should succeed creating a DID key using jwk_jcs-pub with all key types()[jvm] FAILED
    org.opentest4j.AssertionFailedError at WaltIdDidCreateCmdTest.kt:197

Type of Change

[ x ] bug fix - change which fixes an issue
[ ] new feature - change which adds functionality

Checklist

[ x ] code cleanup and self-review
[ x ] unit + e2e test coverage
[ x ] documentation updated accordingly

Breaking
No.

-

Maybe, because you don't have white spaces on your PATH, @mikeplotean ?


add css style to changelog;standalone html

Coverage remained the same at 31.74% when pulling ee8a820c3ea3c87b480b27c356c4b2403a39cfa7 on changelog-format into 35410074ce6f349e1eb78e72233e412f1f457a87 on master.

Coverage remained the same at 31.74% when pulling 13b243661bb04f8d12e5f42866d4062c331df851 on changelog-format into 35410074ce6f349e1eb78e72233e412f1f457a87 on master.

Coverage remained the same at 31.74% when pulling 13b243661bb04f8d12e5f42866d4062c331df851 on changelog-format into 35410074ce6f349e1eb78e72233e412f1f457a87 on master.


compare.window with slack doesn't work

I get Error in base_1_y + 200 : non-numeric argument to binary operator
when running:
https://github.com/rosamant/DTW-G-Cubed/blob/0504fd08774137fe2c3ab08c0ffec80e5de6f524/src/Picard1-Angel2-DTW.R#L107-L120
It looks like the functionClosest returns a list on my computer whereas you set it up to return a scalar. For me base_1_y is a long list. What is it for you?

It does occur also with other alignments, e.g. Minilya1 vs Picard1

The script is the same for all the industrial sites. For me, base_1_y is a value of 651 corresponding to line 651 having the closest value of 225 for Angel-2. These codes are exactly the same as we had during the first draft submission. I am surprised that an error pops up. I tried running the script and it runs fine for me.


redirect_uri does not match

I set the OAuth2 Redirect URI Whitelist like this below.
http://localhost:3000 https://sample.jp http://sample.jp
When I do this below.

Request to https://www.deviantart.com/oauth2/authorize?client_id=&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fauth%2Fdeviantart%2Fcallback&response_type=code&state=***************

Redirect to http://localhost:3000/auth/deviantart/callback?code=&state=*******

Post to https://www.deviantart.com/oauth2/token with body
{"grant_type"=>"authorization_code", "code"=>"", "client_id"=>"", "client_secret"=>"", "redirect_uri"=>"http://localhost:3000/auth/deviantart/callback?code=&state=*****"}
and header
{"Content-Type"=>"application/x-www-form-urlencoded"}

The response is

{"error":"invalid_request","error_description":"redirect_uri does not match authorized redirect_uri.","status":"error"}
I think the redirect_uri is set well because the first redirect to http://localhost:3000/auth/deviantart/callback?code=&state=******* occurs without any problems.
If you have any idea what's wrong, please let me know.
Thanks in advance.

I fixed this.
The reason was the redirect_uri at step-3 shouldn't have had parameters after '?'.

Yeah, I've gotten tripped up by that before by accident.


Path typos

Pertinent section of the Wagtail docs
https://docs.wagtail.org/en/stable/reference/viewsets.html#snippetviewset
Details
Every instance of wagtail.snippet.views.snippets should be wagtail.snippets.views.snippets. Example below.

(Insert the permalink of the section heading in the Wagtail docs. Choose the most specific section / lowest-level heading to which your suggested change would apply. (In the docs, hover over the heading to see the permalink icon.))
(Write your answer here.)

Thank you, this was fixed in #11390, the latest docs have been updated with the fix: https://docs.wagtail.org/en/latest/reference/viewsets.html
The stable version will be updated when the next 5.2.x release is out.


[NCL-6669] Implement header tools menu

I also noticed content padding is missing, please check /projects page to see example how content part padding should look like


Clang >= 6.0.0 emits errors for types templated on Objective-C generics

_https://bugs.llvm.org/show_bug.cgi?id=25343_
The following code triggers a spurious error:
__attribute__((objc_root_class))
@interface One
@end
__attribute__((objc_root_class))
@interface Two
@end
__attribute__((objc_root_class))
@interface Root <__covariant Type>
@end

template <typename T>
struct F {
        using TPtr = T*;
        TPtr get() { return nullptr; }
};

void repro() {
        F<Root<One*>> one;
        F<Root<Two*>> two;

        one.get();
        two.get();
}

% & ".\clang.exe" --% -o - -S -emit-llvm .\test.mm
.\test.mm:14:7: error: definition with same mangled name as another definition
        TPtr get() { return nullptr; }
             ^
.\test.mm:14:7: note: previous definition is here
1 error generated.

Since the types Root<One*> and Root<Two*> do not differ in function, they should not result in functionally different template instantiations. However, they do. As they do not differ in mangled name, the compiler has effectively emitted two functions with the same mangled name.
Since the implementation of F<T<X*>>::get does not change based on X, a potential workaround is to fall back to F<T>.

This is still in Clang 7, but it's got a slightly better error message.


Tasks + Solutions reviewing

Where to test
http://<IP_ADDRESS>/
Login admin//admin
Then in the top right you can access the management screens..

a. manage competitions
b. manage tasks (and view their solutions)
From a competition detail page, you can make submission uploads by clicking this input:

Testing tasks and solutions

[ ] can upload a "tasks + solutions" competition, for example Pisano Period
[x] no longer required to zip up ingestion program, scoring program, etc. can just reference the directory and it is zipped during competition unpacking
[x] should see submission output streaming as you make the submission
[ ] should be able to manage/edit your own tasks
[ ] Should be able to see a list of PUBLIC tasks and their solutions
[ ] Making multiple submissions shows the modal each time ~(currently broken, only shows modal properly for first submission made)~
[ ] 10gb upload works

Selenium automated tests

[x] Creating submission
[x] Creating competition via bundle upload
[x] Login
[x] Runs on CircleCI before every deploy confirming the "full loop" of the site (competition creation, submission processing)

Testing dumps

[x] Be able to dump and re-upload a competitions without errors

[ ] Test against multiple test competitions

I have been doing some testing, here is some feed-back:
UI:
Top of screen: big header vertically, save real estate space vertically. See the layout of https://autodl.lri.fr/competitions/118. Also display the same information.
Participants should be able to easily download the solution.
Phases: missing information. See e.g. https://autodl.lri.fr/competitions/118#phases
YAML:
Where does the "Welcome" page end up?
Where are the pages "Overview", "terms and Conditions", "FAQ" specified?
We need an example with input data and reference data
How would an example with multiple tasks and solutions look like?
Explain the syntax of solutions
SUBMISSIONS:
Green "Upload your submission" button does not work.
Sample submission processed
Cannot download output of scoring step
Nice interface for logs but most are empty, is this normal?
TASKS and SOLUTIONS
Add cancel button for editing panels (all)
Would it be possible to view contents (not just download)?
Unclear how to create a new task from the form, give instructions.
How should we refer tasks from YAML? No keys.
DATASETS
search function really nice
As previously discussed the name "DATASET" is confusing (it includes both data and code)
Should let people make datasets available unless validated. Do not put "public" checkbox in upload form. Put it in dataset table, but only when validated. For a competition bundle, validated means that is passed paper validation. For task it means that it was validated by a solution. For a solution it means that it was validated by a task. Not sure that the other types of "datasets" should be made public ever.
Would be better to have exact date/time of upload.
View description.
Can we view without downloading?
Need to know whether a given dataset is currently in use (or can be safely deleted): give a list of resources that point to it.
Need multi-delete function.
Dumps: competitions can be downloaded from "Mydatasets": how do we know which competitions corresponds to what?
Tasks and solutions: why are they not in "My Datasets"?
EDITOR
Where do the html pages appear.
What is the effect of "Save and Publish" and "Save as draft"?
Phases created do not appear in order. Re-ordering in editor does not work.
Do we have per-phase leaderboards?
How are leaderboards attached to phases?
Could we download the YAML file.
SUBMISSION MANAGER
Does not show submission IDs, score, compute time, date submitted, See: https://autodl.lri.fr/competitions/118#participate
Download CSV: should show all columns (include zip file name).
LEADERBOARD
Does not seem to be showing anything.
ADMIN
Competition management: published/draft change to published/private (not all unpublished competitions are drafts)
Re-run submissions work
No participant management yet
BUNDLES AND DUMPS:
The competition dumps seem to be missing a lot of stuff and not include latest changes made with the editor.
Very difficult to remember how to create a competition dump.
Why do we have md files instead of HTML files?
Phases do not seem to have an order number in the YAML file (which may explain the problem we have in phase ordering).


[Забули пароль?] func changing password, when i enter correct email.

Environment: Windows OS, Opera GX browser, 80.0.4170.91 (November 04, 2021)
Reproducible: always
Build found: https://speak-ukrainian.org.ua/dev
Preconditions
After try to login on my account and i had error [Неправильно введений логін або пароль]
I want to change my password for account.
Steps to reproduce

Go to link   https://speak-ukrainian.org.ua/dev
Click on [Увійти]
Click on [Забули пароль?]
Enter correctly my email.
Click on [Відновити]

Actual result
I had an error [Користувач з вказаним емейлом не знайдений]

Expected result
Open a functional of changing password.
Labels to be added
"Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).

This bug appeared because of previous bug with registration. Now it must work fine.


accesslog_format added

For request https://github.com/heptio/contour/issues/624
Everybody run contour in kubernetes and all logs need be pased as json

@turbotankist thank you for your contribution. Can you please take a look at https://github.com/heptio/contour/blob/master/CONTRIBUTING.md#contribution-workflow
Specifically

Please wait for a clear direction on #624 before sending code. I've reviewed #624 and there is no decision yet.
Please sign all your commits, the instructions are in the link.

I'd like to close this PR as it cannot be merged as is. I welcome you to continue the discussion on #624 or raise your own issue describing the feature you want added. Once there is a clear decision on how to proceed, feel free to reopen this PR or send a fresh one.
Thank you for your time.


"trust" per artifact

Let's add a new number "trust" per artifact.

Job gh:yegor256/jpeek#50 assigned to @yegor256, please go ahead (policy).

Bug was reported: +15 points just awarded to @yegor256, total is +4985.

Manual assignment of issues is discouraged, see par.19: -5 points just awarded to @yegor256, total is +4985.

@rultor release, tag is 0.11.1

@rultor release, tag is 0.12

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.12

@yegor256 Done! FYI, the full log is here (took me 14min)

Job gh:yegor256/jpeek#50 is now out of scope.

Order was successfully finished: +30 points just awarded to @yegor256, total is +5015.


Use esbuild to bundle firebase functions rewritten in TypeScipt

Summary

This PR adds a build step to firebase functions instead of using the old approach of using JS only without any build step.
I decided to use esbuild to bundle it mostly for its speed and ease of configuration. You can also use webpack for bundling, but that requires a lot of config.
In addition, I decided to bundle instead of simply transpile since I have future plan to organize our repo into workspaces (see npm workspaces (v7 only) or yarn workspaces). Unfortunately, firebase tools do not work well with with these workspaces, so we have to bundle the code into a single, self-contained js file without any dependencies, so that firebase tools will not look into node_modules. The bundled code is put inside functions/deployment-template with a package.json without dependencies.
Test Plan
cd functions && npm run deploy
Function should be invoked fine (unfortunately I don't have access to the google cloud project)

hmm looks like i don't have permissions either. @willespencer can you review this?

When I run the deploy command, I get the following error? Not sure what could be causing this

Looks like a windows issue. Are you running this in WSL or normal terminals?

OK, so I was able to run npm run deploy but when I tried invoking TrackUsers here I got this error:

I might know what's happening. I think bumping firebase-admin might help. It's issue with esbuild is only fixed recently: https://github.com/googleapis/nodejs-firestore/issues/1493

@hahnbeelee I bumped it and tried to deploy it, but still could not test. Can you help to run it?


Peer to Peer Code Review

Hi, @Christelle-12  ,Great Job done so far.
Overall, the code appears to be functional and follows some good practices such as using async/await for handling asynchronous operations and encapsulating repeated logic in functions.
Required Changes
There are few required changes needs to be followed
The code has repetitive code blocks for setting the 'Content-Type' header in the fetch requests. To adhere to the DRY principle, you can consider creating a helper function that takes care of setting common headers, such as 'Content-Type', and reuse it in each fetch request, instead of duplicating the header setting code in multiple places.
   const response = await fetch(url, {
    method,
    headers: {
      ...headers,
      'Content-Type': 'application/json',
    },
    body: JSON.stringify(body),
  });
  const data = await response.json();
  return data;
}

Hi @Christelle-12 ,
Status : APPROVED 🥳 🥳
Your project seems great!  There is nothing else to say...
Highlights

Linters are passing ✔
README is professional 👍
Great UI ✨
Implemented all requirements 👏

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

Thank you  for the review I made those changes suggested by @harshi0102


feat(v2 volume/configurable cpu mask): updata crds.yaml and longhorn.yaml

Which issue(s) this PR fixes:

Issue Longhorn/longhorn#8835
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context

Don't we need to add the new setting v2-data-engine-cpu-mask to the chart?

Yes, I forgot it. Added, thank you.

Don't we need to add the new setting v2-data-engine-cpu-mask to the chart?

Yes, I forgot it. Added, thank you.

Let's remember to go through the items in https://github.com/longhorn/longhorn/wiki/Longhorn-Setting-Update, as we need to update the Chart readme and questions.yaml. It's a bit lengthy, but we can potentially streamline it using automation later..
@longhorn/doc needs to review the description of the new setting as usual.

@derekbit it seems you haven't updated the questions.yaml and chart readme yet?

Let's remember to go through the items in Wiki: Longhorn Setting Update, as we need to update the Chart readme and questions.yaml. It's a bit lengthy, but we can potentially streamline it using automation later..

@derekbit it seems you haven't updated the questions.yaml and chart readme yet?

Let's remember to go through the items in Wiki: Longhorn Setting Update, as we need to update the Chart readme and questions.yaml. It's a bit lengthy, but we can potentially streamline it using automation later..

Oh, yes, forgot it. I probably need a workflow to check it.

cc @jillian-maroket ready for review. Thank you.


getMetadata structure and column count fields not supported for json files

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

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

ID: 8e4997d4-36fd-4f1c-464b-ea3190531e02
Version Independent ID: ebf216ca-d096-549f-3dcc-9442d7c4a8dc
Content: Get Metadata activity in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/control-flow-get-metadata-activity.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@lohani94  Since this issue is not related directly to the doc, I would recommend you to create a thread on the forums - Microsoft Q&A  azure-data-factory
Once you post your issue on forums, it will have visibility across the community which is a better suited audience for such types of issues.
Please create a Forum thread and post it's link here and tag me. I will now proceed to close this issue. Feel free to comment if you have any other queries.

I opened a question in forum,
@CHEEKATLAPRADEEP-MSFT CHEEKATLAPRADEEP-MSFT
https://docs.microsoft.com/en-us/answers/questions/44635/structure-in-getmetadata-activity-for-csv-file-dat.html


CItyGML Importer Issue#355 Issue#357

main is wrong. should be sprint release

I selecred the wrong branch


⚠ Bofrost.es has degraded performance

In ab87450, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1500 ms

Resolved: Bofrost.es performance has improved in 4cc0665 after 9 minutes.


Update limitations on entity mappings

Up-to 10 mappings are now allowed per rule (instead of 5)
Up-tp 500 entities can be extracted per alert (instead of 10 per mapping)
Limitation of 64kb is scoped to Entities field only (instead of the entire alert)

This PR replaced by PR #245116 on private repo.
#please-close


Help with a simple example

Hello, I'm trying to build a very simple OPC UA console server with only a few nodes and maybe one method. I've managed to clone and run the UA-.NET ConsoleReferenceServer and deploy it in a docker container but i'm strugging to understand how to change the deafult nodes and I can't seem to find the xml where these are saved so i could change them?
I'm assuming it also wont be as simple as manually changing the names and data types so i'll need to use the UA-ModelCompiler. I'm really sorry but I don't understand how to use it based on the instructions in the README or where I need to save the output so that the consoleReferenceServer i'm using as a base will use these node names rather than the default values where it is getting these from?
I tried to follow the the following guide https://opcfoundation.github.io/UA-.NETStandard/help/index.htm#server_development.htm but is out of date (2015) and no longer works or mirrors whats in the UA-.NETStandard repository...is it possible to explain what I need to do to add my own nodes to the ConsoleReferenceServer?
Really apprechiate any help!

Try this sample:
https://github.com/OPCFoundation/UA-.NETStandard-Samples/tree/master/Workshop/Boiler

Hello,
Thank you for getting back to me!
I’ve tried to understand what’s going on in the examples but there is just so much code its very hard to see what’s import and how they actually work. Since the different examples have different models and how they make their models its hard to compare and contrast.
Initially I’m attempting to replicate the very simple server that is supplied by ProSys where they only have a couple of nodes that generate some random numbers. This is what I did using OPC UA for NodeJS - Unfortunately NodeJS is very sluggish!
Another reason for using .NET is, I also want to re-use some code I made using LabVIEW by exporting the VIs as .dlls and using them to connect to my hardware.
Randy very kindly answered one of my questions about how the examples generate the nodes but also confused me even more since there are three ways, static, dynamic and virtual. Unfortunately there isn’t much documentation other than how to build these examples in the Git Hub pages. Were these used in a tutorial or part of a workshop where a teacher leader the class – if so was this filmed or are there any lecture notes?
I’m trying to find a really simple example that has one node and one method to really cut down of the amount of code. The boiler example is very daunting for a newbie coder like me and is showing too many features which would be very useful to someone who already codes routinely in OPC UA and .NET.
The other problem I have, is understanding when you should use a server and when you should use a client…there seems to be conflicting articles about this?
Should the protocols for controlling the instrument be on the server side as part of a method or on the client side in a state machine? If so, should each piece of equipment have its own server which is then connected by a aggregate server or should there be just one server with individual pieces of equipment being controlled by their own client. If this is the case, should the client hold the protocols and connect to the equipment with the server just providing values from the client for other clients?
Really appreciate the help!
Many thanks,
Ollie
From: opcfoundation-org @.>
Sent: 23 August 2021 06:04
To: OPCFoundation/UA-ModelCompiler @.>
Cc: O. May @.>; Author @.>
Subject: Re: [OPCFoundation/UA-ModelCompiler] Help with a simple example (#87)
Try this sample:
https://github.com/OPCFoundation/UA-.NETStandard-Samples/tree/master/Workshop/Boiler
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/OPCFoundation/UA-ModelCompiler/issues/87#issuecomment-903445758, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APNHCGZYTFAIAP5AAXAJZFDT6HJFLANCNFSM5B2J6LZA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.


Way to tell if Bumblebee or Nx or whatever has access to a GPU?

I'm experimenting with getting Bumblebee to work on a server with a GPU.
Is there a way I can easily tell if Bumblebee has access to the GPU? Currently, I can only tell by trying to do something with it and it takes minutes, telling me it's using the CPU.
Are there any special ENV I should be using to enable it? Here's what I've got:
ENV XLA_TARGET="cuda120"
ENV BUMBLEBEE_CACHE_DIR="/data/cache/bumblebee"
ENV XLA_CACHE_DIR="/data/cache/xla"

Any tips are appreciated!

Do Nx.tensor(0). If it says it is allocated on the GPU, everything else should be allocated on the CPU. Notice you will need to set your Nx.default_backend(EXLA.Backend) as well.

How should I interpret this?
> Nx.tensor(0)
#Nx.Tensor<
  s64
  EXLA.Backend<host:0, 0.3195620623.3568173077.121122>
  0
>

"host" means CPU in this case. It seems gpu is not detected or available. What happens on EXLA.Client.fetch!(:cuda)?

Yes, in config.exs I have this:
config :nx, default_backend: EXLA.Backend

Here's the result:
> EXLA.Client.fetch!(:cuda)
** (exit) exited in: GenServer.call(EXLA.Client, {:client, :cuda, [platform: :cuda]}, :infinity)
    ** (EXIT) an exception was raised:
        ** (RuntimeError) Could not find registered platform with name: "cuda". Available platform names are: Interpreter Host
            (exla 0.6.1) lib/exla/client.ex:195: EXLA.Client.unwrap!/1
            (exla 0.6.1) lib/exla/client.ex:176: EXLA.Client.build_client/2
            (exla 0.6.1) lib/exla/client.ex:136: EXLA.Client.handle_call/3
            (stdlib 4.3) gen_server.erl:1149: :gen_server.try_handle_call/4
            (stdlib 4.3) gen_server.erl:1178: :gen_server.handle_msg/6
            (stdlib 4.3) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
    (elixir 1.14.3) lib/gen_server.ex:1038: GenServer.call/3
    iex:5: (file)

I've been using Chris' Livebook gist: https://gist.github.com/chrismccord/59a5e81f144a4dfb4bf0a8c3f2673131
And the machine VM does have access to the GPU:
root@732875413f7859:/app# nvidia-smi
Tue Nov  7 21:19:37 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.104.12             Driver Version: 535.104.12   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA A100-PCIE-40GB          Off | 00000000:00:06.0 Off |                    0 |
| N/A   38C    P0              36W / 250W |      4MiB / 40960MiB |      4%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

Can't find where the mismatch is.

Thanks for helping me identify that it can't access the GPU!

Try following the steps here: https://github.com/elixir-nx/bumblebee/issues/266#issue-1959822664
Also make sure XLA_TARGET is set before you install any deps.

I needed to move the ENV for XLA_TARGET up in the Dockerfile. That was helpful! Thanks!


fix(ibmsm): Copy keys from KV types

Description
After #517 , AVP was not handling KV secrets correctly, leaving the KV pairs of a kv secret in the data key of the returned secret's JSON instead of extracting them for individual interpolation like before. This PR restores the original behavior.
A test case was added to verify this issue (fails on HEAD) and I've verified in an e2e test that this appears to be fix the issue
Fixes: #534
Checklist
Please make sure that your PR fulfills the following requirements:

[ ] Reviewed the guidelines for contributing to this repository
[ ] The commit message follows the Conventional Commits Guidelines.
[X] Tests for the changes have been updated
[ ] Are you adding dependencies? If so, please run go mod tidy -compat=1.17 to ensure only the minimum is pulled in.
[ ] Docs have been added / updated
[ ] Optional. My organization is added to USERS.md.

Type of Change

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

Other information

Is there any idea when a new release containing this update will occure?

Codecov Report

Merging #535 (5ecf52a) into main (4b074c7) will increase coverage by 0.64%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #535      +/-   ##
==========================================
+ Coverage   70.65%   71.29%   +0.64%
==========================================
  Files          26       26
  Lines        1949     1951       +2
==========================================
+ Hits         1377     1391      +14
+ Misses        472      460      -12
  Partials      100      100

Files Changed
Coverage Δ

pkg/backends/ibmsecretsmanager.go
63.47% <50.00%> (+2.77%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more