maven install

Hello, thank you for taking the time to respond amidst your busy schedule. Due to network issues, I'm unable to perform a Maven install for your latest version 0.0.19. My Maven install process consistently halts at "[INFO] --- kiota-maven-plugin:0.0.13:generate (default) @ clerk-java-sdk ---" state. Could you please upload the latest version to https://mvnrepository.com? Thank you very much!

Hey, apologies for the delay. I forgot to publish the last version, but it should be online any minute now.

Thank you very much for your response. Because I couldn't download from the internet, I searched for information for a long time. Finally, I found a custom path. Here, I'm sharing it with everyone. You can download the required Kiota dependencies from this custom path. That's by modifying the  section of the kiota-maven-plugin and changing the baseURL to your own MinIO storage bucket address.

e.g.
kiota-maven-plugin
io.kiota
${kiota.plugin.version}

generate

http://yourip:9000/charging-minitor/


Wiremock giving wrong response for multiple query parameters(need to obey order)

I have a use case where we need to differentiate mocks based on multiple query parameters like
localhost:9000?firstname=kapil&lastname=aggarwal | should return body as "hello kapil aggarwal"
localhost:9000?firstname=kapil | should return body as "hello kapil"
Stub code for the above is
 stubFor(get(urlPathEqualTo("/login")).withQueryParam("firstname",equalTo("kapil")).withQueryParam("lastname",equalTo("aggarwal"))
                .willReturn(aResponse().withStatus(301).withBody("Hello  Kapil Aggarwal")));
        stubFor(get(urlPathEqualTo("/login")).withQueryParam("firstname",equalTo("kapil"))
                .willReturn(aResponse().withStatus(301).withBody("Hello Kapil")));

Now if i query mock server with localhost:9000/login?firstname=kapil&lastname=aggarwal it always return me "Hello Kapil"
Workaround for this would be to change the sequence but i really dont want my team to keep this hack in mind as there will be 100 of req/resp which we need to mock & will be mocking in future.
Can you please help in fixing this or Am i doing something wrong?

As per the README please can you post questions on the mailing list, thanks.


[EventRequest] codeunit 99000830 Create Reserv. Entry - BalanceLists - OnBalanceListsOnBeforeNextStateError

Could we get this event:
codeunit 99000830 "Create Reserv. Entry"
	procedure BalanceLists()
	begin
		...
		NextState::Error:
			begin
				IsHandled := false;
				OnBalanceListsOnBeforeNextStateError(NextState, IsHandled);
				if not IsHandled then
					Error(Text001);
			end;
		...
	end;

    [IntegrationEvent(false, false)]
    local procedure OnBalanceListsOnBeforeNextStateError(var NextState: Option SetFilter1,SetFilter2,LoosenFilter1,LoosenFilter2,Split,Error,Finish; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Add a pod securityContext that drops NET_RAW capability

What is the context of this PR?
Adds a container security context definition to the Helm chart for the Runner deployment.
How to review
Deploy this branch to GCP. Test that the securityContext is created in the pod details page.

Tested census journey end to end successfully

Tested census journey end to end successfully


Browse: do not show the Delete and Source buttons in the component list

As mentioned in the #implementation channel in Discord these buttons do not make sense for this page

I believe this is all implemented and rolled out, so I am closing. Feel free to reopen if you find something different.


chore(esproxy): morderize esproxy

modernized the proxy to bring it up to date with skuid standards.

Can you also add a .clog.toml?

Can you update the README? And remove the docker-compose.yml and kibana config?

@micahhausler comments addressed.


Cannot grant permissions in AWS web ui

After singing in, when I click on the allow button (pic below)

I get the following error (pic below)

What additional info can I provide?

@d-lapirov, the issue is caused by the wrong region being used for the AWS IAM Identity Center. Please double-check the region you use. Maybe you need to re-generate aliases with aws-creds scan-local.
P.S. There are some other changes, so, I recommend to install the latest version.

You are correct. I did pass incorrect region. Now it's working as expected.


def Type Check exception messages are vauge: TypeError: an {type} is required

When defining a def in a .pyx with cython typed arguments, when the wrong type is used the message does not indicate which argument was the offending one
Is it possible to include the name of the argument that caused a TypeError to be raised?

Depends. Some of these are generated by CPython C-API calls. See DefNodeWrapper in Nodes.py as source of truth.


Update README.md

Step 4 should come after 3 👍 (unless we;re missing a step!)
Thanks ! :)

Ha! Thanks a lot for catching this and sorry for the delay 💯  🙌


.NET Core 3.0 app fails to publish

Issue Title
.NET Core 3.0 app fails to publish with exception System.TimeoutException
General
Seems like the publishing tool gives up when attempting to download NuGet packages. Attempting to publish a simple .NET Core 3.0 console app fails with the following message:

2>------ Publish started: Project: Test_Converter_netcore3, Configuration: Release Any CPU ------
2>Failed to download package 'Microsoft.NETCore.App.Runtime.osx-x<IP_ADDRESS>-preview9-19423-09' from 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.osx-x64/3.0.0-preview9-19423-09/microsoft.netcore.app.runtime.osx-x<IP_ADDRESS>-preview9-19423-09.nupkg'.
2>The download of 'https://api.nuget.org/v3-flatcontainer/microsoft.netcore.app.runtime.osx-x64/3.0.0-preview9-19423-09/microsoft.netcore.app.runtime.osx-x<IP_ADDRESS>-preview9-19423-09.nupkg' timed out because no data was received for 60000ms.
2>  Exception of type 'System.TimeoutException' was thrown.

I tried this a couple of times and it always fails with the same error. However targeting .NET Core 2.0 publishes fine.

Closing as the issue is not reproducible anymore. Probably a network issue.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/64647

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/72035

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/73253

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/74704

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/75141

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85704

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/99810

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/119586


run command "config.py -d" throws exception

Thanks for contributing to CARLA!
If you are reporting an issue, please use the following outline:
CARLA version: 0.9.12
Platform/OS: Ubuntu 20.04
Problem you have experienced:
run command:
python -3 PythonAPI/util/config.py -d
throws exception:
Exception has occurred: TypeError
'>' not supported between instances of 'NoneType' and 'float'
File "/home/insta360/Documents/code/carla/carla/PythonAPI/util/config.py", line 288, in main
if settings.fixed_delta_seconds > 0.0:
File "/home/insta360/Documents/code/carla/carla/PythonAPI/util/config.py", line 322, in
main()
Seems fixed_delta_seconds have set to 0.0 in python, but in c++ code, I found if it checks the assigned value, if not greater than 0, then it will keep this optional value has not value.
    if args.delta_seconds is not None:
        settings.fixed_delta_seconds = args.delta_seconds
    elif args.fps is not None:
        settings.fixed_delta_seconds = (1.0 / args.fps) if args.fps > 0.0 else 0.0

    EpisodeSettings(
        bool synchronous_mode,
        bool no_rendering_mode,
        double fixed_delta_seconds = 0.0,
        bool substepping = true,
        double max_substep_delta_time = 0.01,
        int max_substeps = 10,
        float max_culling_distance = 0.0f,
        bool deterministic_ragdolls = true,
        float tile_stream_distance = 3000.f,
        float actor_active_distance = 2000.f)
      : synchronous_mode(synchronous_mode),
        no_rendering_mode(no_rendering_mode),
        fixed_delta_seconds(
            fixed_delta_seconds > 0.0 ? fixed_delta_seconds : boost::optional<double>{}),
        substepping(substepping),
        max_substep_delta_time(max_substep_delta_time),
        max_substeps(max_substeps),
        max_culling_distance(max_culling_distance),
        deterministic_ragdolls(deterministic_ragdolls),
        tile_stream_distance(tile_stream_distance),
        actor_active_distance(actor_active_distance) {}

Help


How can i add the skip ci into the commit of the bot.

Is your feature request related to a problem? Please describe.
I cannot find the info about this.
Describe the solution you'd like
Config the commit:
docs: update .all-contributorsrc. [skip ci] instead of docs: update .all-contributorsrc
Describe alternatives you've considered
None
Additional context
https://github.com/cryptape/cita/pull/479

Good idea, would you like to open a PR which adds that?

@fennecdjay is working on this in https://github.com/all-contributors/all-contributors/issues/281

@fennecdjay is working on this in all-contributors/all-contributors#281
I am! the PR is here.
According to my test, it work (loook  some of my bot repos), but it fails the tests for now.
I must admit here I just don't known js.
@Berkmann18 and @kaikai1024, would you help me on that?
IMHO, that would be a nice addition.

would you help me on that?

Sure, depending on what you need help with.

@kaikai1024 the skipCi PR #216  has been merged.
The message now end with  [skip ci] by default.
There is some information here.
One nice and last thing to do would be testing behavior when skipCi is set to false (I tested it manually but it is not in the test suite (yet)).

It’s not deployed to production yet, I’m waiting to get access to the staging environment

It's deployed now. @gr2m have you got access?

I got the access but I forget everything you told me, past months have been very stressful, and the deployment process is quite complicated.
I think it would be good to document the current steps it takes to deploy the app in contributing/deployments-and-monitoring.md


Add macos-ventura-vanilla:13.6.2 image

Hello,
Is it possible to add macos-ventura-vanilla:13.6.2 image for virtual machine please ?
Thank you a lot !

Doesn't see there is an IPSW for 13.6.2. Only for 13.6. Will that work for you?

That's perfect, thank you so much !

13.6 is now available


[themes] All About the Jersey SBN blog is using generic theme, should be using sb nation theme

Updated. Added other missing sbnation blogs as well


Dockerfile for showing cows on Docker.

Adding Docker usage, because why not?

After cloning the repository Node.js is not needed to see the cows
Entrypoint instruction lets you specific the cow number you want to see.
Can also be pushed to the Docker Hub to get loads more attention for the project.

@Docker may re-tweet this if they think it's fun.
Re-tweet of Raspberry PI on Docker

Building:
$ docker build -t cows .
Sending build context to Docker daemon 550.4 kB
Step 1 : FROM mhart/alpine-node:4
 ---> bc374b5ad19d
Step 2 : RUN mkdir -p /code/
 ---> Running in cc370c2a5960
 ---> f072e7030bbc
Removing intermediate container cc370c2a5960
Step 3 : WORKDIR /code/
 ---> Running in fdd0c7558940
 ---> 6cd088de8d2e
Removing intermediate container fdd0c7558940
Step 4 : ADD package.json ./
 ---> 4e3bed7c9cb4
Removing intermediate container d06c81b7561c
Step 5 : ADD *.js ./
 ---> d4b4933cc1d8
Removing intermediate container 0eb595b378ba
Step 6 : ADD cows.txt ./
 ---> 9db3c5d9c756
Removing intermediate container 2e3f40768607
Step 7 : ENTRYPOINT node show_cow.js
 ---> Running in b11351132f2f
 ---> 81192ba5f26e
Removing intermediate container b11351132f2f
Successfully built 81192ba5f26e

Running it:
$ docker run cows 400
          /)  (\
     .-._((,~~.))_.-,
      `-.   @@   ,-'
        / ,n--n. \
(`'\   ( ( .__. ) )  /`')
 `.'"._ ) `----' (_,"`.'
   "._             _,"
      /            \
     (              )
     (`-.__    __.-')
      \   /`--'\   /
       ) /      \ (
      /._\      /_,\

$ docker run cows 423
               (__)
(__)           (oo)
(oo)      ______\/
-\/    /|      |
| |   * |______|
| |        ||
---        --
Cow Computer

I would suggest creating a docker-cows repository and push that to docker hub.

Hah, cool idea, but as @SamVerschueren said, would be better as a separate repo. I'd be happy to link to it from here :)

That's a shame guys. I figured since you had a .travis.yml file (which uses Docker) you would appreciate this addition. Have you considered adding a paragraph on contribution guideline to the README?

Docker image is named  alexellis2/cows:
$ docker run alexellis2/cows 423
               (__)
(__)           (oo)
(oo)      ______\/
-\/    /|      |
| |   * |______|
| |        ||
---        --
Cow Computer

$ docker run alexellis2/cows 0
Enter cow number between [1-423]

Docker hub link

Have you considered adding a paragraph on contribution guideline to the README?

Nah, it's already visible in the file browser and when you open an issue you get a yellow box telling you to read it.

Docker image is named alexellis2/cows:

Cool. I added a link to it in the readme: https://github.com/sindresorhus/cows/commit/c9ebd517a52acc7a24deb40aeb31a5acffac65b4 :)

$ docker run alexellis2/cows 0
Enter cow number between [1-423]

Maybe return a random cow when no number is supplied.


Fix overlapping bcc and date

Fixes #4550, it now looks ok with and without bcc field.

Thanks :heart:


⚠ ETF has degraded performance

In 12d22cb, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 5879 ms

Resolved: 상승종목 performance has improved in d2f9dca.


Build With Android NDK r15 Fails

I'm trying to build dlib for Android. Therefore, I create a custom Android toolchain (with statically linked libc++, see here):
$ANDROID_NDK/build/tools/make_standalone_toolchain.py  --arch arm --api 21 --stl=libc++ --install-dir target/android-toolchain/arm/ --force

Now I have my CMakeLists.txt.
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
PROJECT(localizer CXX)

SET(CMAKE_CROSSCOMPILING FALSE)
SET(DLIB_NO_GUI_SUPPORT TRUE)
ADD_COMPILE_OPTIONS(-fPIC)

INCLUDE(dlib/dlib/cmake)

FIND_PACKAGE(Java)
FIND_PACKAGE(JNI)

SET(APP_INCLUDE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/main/include/")
SET(APP_SOURCE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/main/c++/")
SET(DLIB_INCLUDE_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/dlib/")

INCLUDE_DIRECTORIES(
        "${APP_INCLUDE_DIRECTORY}"
        "${DLIB_INCLUDE_DIRECTORY}")

ADD_LIBRARY(mylib SHARED
    "${APP_SOURCE_DIRECTORY}/dlib/MyLib.cpp")
TARGET_LINK_LIBRARIES(mylib dlib::dlib)

SET_TARGET_PROPERTIES (
    mylib
    PROPERTIES
        LINKER_LANGUAGE CXX
        LIBRARY_OUTPUT_DIRECTORY "${CLASSPATH_TARGET_DIRECTORY}"
)

and a toolchain file, Android-armeabi-v7a.cmake:
SET(CMAKE_SYSTEM_NAME Linux)

SET(CMAKE_C_COMPILER   "${CMAKE_CURRENT_SOURCE_DIR}/target/android-toolchain/arm/bin/arm-linux-androideabi-gcc")
SET(CMAKE_CXX_COMPILER "${CMAKE_CURRENT_SOURCE_DIR}/target/android-toolchain/arm/bin/arm-linux-androideabi-g++")

# No pthread for Android
SET(DLIB_ISO_CPP_ONLY TRUE)

# Disable MKL FFT (Intel Fourier Transform Functions)
SET(DLIB_USE_MKL_FFT FALSE)

ADD_COMPILE_OPTIONS(-static-libstdc++)

SET(CLASSPATH_TARGET_DIRECTORY "${CMAKE_BINARY_DIR}/../classes/android-armeabi-v7a")

# Workaround, suggested here: https://github.com/android-ndk/ndk/issues/215#issuecomment-253354618
ADD_COMPILE_OPTIONS(-nostdinc)
INCLUDE_DIRECTORIES(
    "${CMAKE_CURRENT_SOURCE_DIR}/target/android-toolchain/arm/sysroot/usr/include/"
    "${CMAKE_CURRENT_SOURCE_DIR}/target/android-toolchain/arm/include/c++/4.9.x/"
    "${CMAKE_CURRENT_SOURCE_DIR}/target/android-toolchain/arm/sysroot/usr/local/include/"
    "${CMAKE_CURRENT_SOURCE_DIR}/target/android-toolchain/arm/lib/gcc/arm-linux-androideabi/4.9.x/include/"
    "${CMAKE_CURRENT_SOURCE_DIR}/target/android-toolchain/arm/include/c++/4.9.x/arm-linux-androideabi/"
)

Then I run cmake
cmake -DCMAKE_TOOLCHAIN_FILE=Android-armeabi-v7a.cmake CMakeLists.txt  --target target/Android-armeabi-v7a/

When I run make, I get following error;
target/android-toolchain/arm/include/c++/4.9.x/cmath:313:9: error: '::signbit' has not been declared
 using ::signbit;
         ^

Do you have any suggestion how to build dlib with Android toolchain?

I found a solution. You can use the toolchain file provided by the Android NDK (you even do not need to $ANDROID_NDK/build/tools/make_standalone_toolchain.py).
cmake \
    -DCMAKE_TOOLCHAIN_FILE=${env.ANDROID_NDK}/build/cmake/android.toolchain.cmake
    --target target/Android-armeabi-v7a/ \
    -DANDROID_PLATFORM=android-19 \
    -DANDROID_ABI=armeabi-v7a \
    -DANDROID_STL=c++_static \
    -DDLIB_USE_BLAS=FALSE \
    -DDLIB_USE_LAPACK=FALSE \
    -DDLIB_NO_GUI_SUPPORT=TRUE \
    -GNinja

@davisking, do you mind to add this to your README.md?

This seems like a general "How to compile C++ on android" rather than "how
to use dlib".  Also, certainly, some of those settings like the ABI must be
different for different android platforms.  So this probably isn't
appropriate for dlib's readme.

There is a current trend to use native machine learning code on Android devices. For example, Google released Tensorflow lite. So I think the library should show that it is possible to compile Dlib for Android devices and that there is no explicit fork necessary.
IMHO, the examples could contain an Android example and I was a little challenge to find a solution. So it might be useful for others too.

This issue #965 mentions the usage on Android as well.

Fair enough.  But an entire working example app is probably what is
needed.  Can you contribute something like that?  I haven't done any
android development myself so I'm not sure what constitutes a reasonable
tutorial.

I can do it. I'm thinking to use this example. An App could show an image and after clicking onto the image, it will highlight the images.
If I omit image_window win, win_faces;, will it compile with -DDLIB_NO_GUI_SUPPORT=TRUE?

Sweet.
Yeah, if you remove those things, along with the #include for the gui
header files and set that preprocessor switch it should build just fine.

try using
http://slides.com/boywang/face-landmarks-in-your-android-app/fullscreen#/

I've never had any issues compiling with NDK r15. I recently switched to NDK r16.
For reference, these are the CMake options I set:
                                                DLIB_USE_CUDA=OFF
                                                DLIB_HEADER_ONLY=OFF
                                                DLIB_ISO_CPP_ONLY=OFF
                                                DLIB_NO_GUI_SUPPORT=ON
                                                DLIB_ENABLE_STACK_TRACE=OFF
                                                DLIB_JPEG_SUPPORT=OFF
                                                DLIB_PNG_SUPPORT=OFF
                                                DLIB_GIF_SUPPORT=OFF
                                                CMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY
                                                DLIB_LINK_WITH_SQLITE3=OFF


clarify prepaid gas

based on this discussion in Telegram: https://t.me/cryptonear/9623

live preview: https://docs-pr-262.onrender.com/docs/concepts/gas#what-about-prepaid-gas


GetAccountStatementFile: 501 Not Implemented

Description
When GetAccountStatementFile is called the api respond with 501 Not Implemented.
Zendesk: 59248
Analysis
Only file type PDF is implemented for that operation, see the below piece of source in the implementation StatementsApiController#getAccountStatementFile in aspsp.
log.info("Received a statement file download request for account: {} (Accept: {}). Interaction Id: {}", accountId, accept, xFapiInteractionId);
if (!accept.contains(MediaType.APPLICATION_PDF_VALUE)) {
 // Mo other file type is implemented apart from PDF
 return new ResponseEntity<Resource>(HttpStatus.NOT_IMPLEMENTED);
}

The request must made for the media type PDF.
In other side if the statement requested doesn't exist the operation response with no implemented again and this is confuse for the consumer.
// Check if this cusotmer has a statement file
Optional<Resource> statement = statementPDFService.getPdfStatement();
if (statement.isPresent()) {
 return ResponseEntity.ok()
            .contentLength(getContentLength(statement.get()))
            .contentType(MediaType.APPLICATION_PDF)
            .body(statement.get());
}
return new ResponseEntity<Resource>(HttpStatus.NOT_IMPLEMENTED);

Tasks

[ ] Change the responses with a clearer message instead of not implemented

From documentation: https://openbankinguk.github.io/read-write-api-site3/v3.1.6/resources-and-data-models/aisp/Statements.html#data-model

The call to

GET /accounts/{AccountId}/statements/{StatementId}/file
will return unstructured data in binary (e.g., pdf, doc) or text (e.g., csv) formats.
This will be specified in the Accept header by the AISP.

Responses
{
    "Code": "OBRI.Request.Invalid",
    "Id": "041846bea13a820b",
    "Message": "An error happened when parsing the request arguments",
    "Errors": [
        {
            "ErrorCode": "UK.OBIE.Header.Invalid",
            "Message": "Invalid header 'accept' the only supported value for this operation is application/pdf",
            "Url": "https://docs.dev-ob.forgerock.financial:8074/errors#UK.OBIE.Header.Invalid"
        }
    ]
}

404 Not found


docs: updated docs for nuxt oauth

This PR updates the oauth docs part for Nuxt to align with what exists in the example.

Hey @pilcrowOnPaper thanks for this great library!
I've started a PoC using Nuxt and found out that the Nuxt docs needed to align with the code example.
Let me know what you think.

Hey, the examples have been moved to its own repo: https://github.com/lucia-auth/examples
Can you open a PR there instead? The file structure is identical so you should be able to just copy/paste your work to the new fork.

Hey @pilcrowOnPaper my PR targets the docs not the examples 😄

Ah, sorry about that! Will review the PR tomorrow!

Thanks!


Does this library supports components in the storyboard?

Helllo,
When using UILabel, UITextField or similar in my storyboard, is there any way to use this library without having to write code?
I mean, here:

Otherwise, what approach do you follow? Thanks a lot.

Unfortunately no.
R.swift helps with statically typed Swift code. So it always involves writing code.
So that's why I always end up creating .swift files, even for really simple views and view controllers.

Is it possible to create an extension for those components using IBDesignable or maybe using the "User Defined Runtime Attributes" for achieving what I want?
And, what people do in this case?
Thanks.

Think it would be possible, but this is out of scope of R.swift I think. Since the goal of R.swift is helping you to avoid stringly typed code by generating and checking code for you.


We really should test a lot of these...


catch drag event

This should fix https://github.com/Dogfalo/materialize/issues/4344
Possibly related to http://stackoverflow.com/a/24351041/753676

@tomscholz I think we can merge this?
This is still a problem and this PR should fix such issues like https://stackoverflow.com/questions/44721534/button-wave-effect-not-resetting-with-angular2-materialize

Thanks!


aws_eks_cluster.this: error creating EKS Cluster (test-eks-lWuwSgqK): InvalidParameterException: Error in role params 	status code: 400

I have issues
with deploying a test environment from the example provided in this repo.
I'm submitting a...

[/ ] bug report
[ ] feature request
[ ] support request
[ ] kudos, thank you, warm fuzzy

What is the current behavior?
Cluster creation fails because of invalid role parameters.
...
module.eks.aws_eks_cluster.this: Creating...
  arn:                                        "" => "<computed>"
  certificate_authority.#:                    "" => "<computed>"
  created_at:                                 "" => "<computed>"
  endpoint:                                   "" => "<computed>"
  name:                                       "" => "test-eks-lWuwSgqK"
  platform_version:                           "" => "<computed>"
  role_arn:                                   "" => "arn:aws:iam::388030365049:role/test-eks-lWuwSgqK20181120125058962600000001"
  version:                                    "" => "1.10"
  vpc_config.#:                               "" => "1"
  vpc_config.0.security_group_ids.#:          "" => "1"
  vpc_config.0.security_group_ids.3345499915: "" => "sg-0440b523195e2b0ab"
  vpc_config.0.subnet_ids.#:                  "" => "3"
  vpc_config.0.subnet_ids.1248930552:         "" => "subnet-0726008335a5d88d5"
  vpc_config.0.subnet_ids.2473547375:         "" => "subnet-0fc6f4d85a453dbd5"
  vpc_config.0.subnet_ids.3955092080:         "" => "subnet-08c3c49b6442780ec"
  vpc_config.0.vpc_id:                        "" => "<computed>"
....
Error: Error applying plan:

1 error(s) occurred:

* module.eks.aws_eks_cluster.this: 1 error(s) occurred:

* aws_eks_cluster.this: error creating EKS Cluster (test-eks-lWuwSgqK): InvalidParameterException: Error in role params
	status code: 400, request id: f57ed2d0-ecc2-11e8-9fa6-b5608af2307c

If this is a bug, how to reproduce? Please include a code sample if relevant.
Using the eks_test_fixture:
https://github.com/terraform-aws-modules/terraform-aws-eks/tree/master/examples/eks_test_fixture
Why is it called a fixture, btw?
What's the expected behavior?
Create an EKS cluster.
Are you able to fix this problem and submit a PR? Link here if you have already.
Stil debugging.
Environment details

Affected module version: 1.7.0.
OS: MacOS Mojave 10.14.1
Terraform version: 0.11.10

Any other relevant info
Thanks in advance!

I use this:
module "xxxxx" {
  source                               = "git@github.com:terraform-aws-modules/terraform-aws-eks.git?ref=v1.7.0"
  cluster_name                         = "xxxx-xxxx"
  subnets                              = ["${module.vpc1.private_subnets}"]
  vpc_id                               = "${module.vpc1.vpc_id}"
  map_roles                            = "${local.eks_map_roles}"
...
}

locals {
  eks_map_roles = [
    {
      role_arn = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/xxxxx"
      username = "admin:{{SessionName}}"
      group    = "system:masters"
    },
    {
      role_arn = "arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/xxxxxxx"
      username = "admin:{{SessionName}}"
      group    = "system:masters"
    },
  ]
}

Maybe that helps?

Hi @max-rocket-internet .
Thanks for replying.
username = "admin:{{SessionName}}"
What's the SessionName exactly?

It's the role sessions name. More details here: https://github.com/kubernetes-sigs/aws-iam-authenticator#full-configuration-format

Many thanks, got it to work, by following your example.


UI issue fixed #337

Closes #337

Hi, thanks!
There has been a UI overhaul in this repo. Did you mean to raise it here?
If you're fixing a bug in the old UI, please raise the PR against https://github.com/PrivateKit/private-kit/pulls

To be clear: The bug fix is still very much welcome!

Raised the PR to PrivateKIt repo


[RFE] Allow architects to review an application without an assessment

Overall feedback for the Assessment module in Konveyor is that it is too opinionated and is not flexible enough to adapt to the landscape of all organizations. Given that fact, some user have their own approach to assessment using their own questionnaires and sessions, but would like to be able to reflect their decisions in terms of the most suitable migration strategy for each application without having to fill in the builtin assessment questionnaire.
Right now Tackle forces users to fill the assessment questionnaire in order to be able to review an application. The request would be that, as an architect, users should be able to review applications and determine their strategy, effort and criticality without having to run an assessment first.

One suggested approach would be to make this configurable, so administrators can determine whether an assessment should be required for the review or not.

I wonder if we can take this a step further, and detach specific surface information from being tied to the review, rather the review is just shown all the information that has surfaced for the application regardless of source.
I guess the question that I am asking is, is this a short-term ask for the next release or do we have the time to rethink this entire interaction between various surfacing information tools and the hub and the UI and the hub for the release after that?

I think enabling this is a low hanging fruit that would bring value to the field quickly. Since we have the intention of rethinking the entire assessment module in the mid to long term, we have plenty of time rearrange the relationships between different entities and their corresponding surfaced information.

Hello @rromannissen,
Please add a size label (size/XS, size/S, size/M, size/L, size/XL) to assist in the Konveyor planning process.


Excuse me ! Is there a Chinese version of kafka-eagle?

Excuse me ! Is there a Chinese version of kafka-eagle?

好像没有，虽然这看起来像是一个国人开发的项目


optimize: make lvs care image as a const value under sealer repo

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
Describe how to verify it
Special notes for reviews

Codecov Report
Base: 20.36% // Head: 20.37% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (44fe84a) compared to base (7be682b).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1784      +/-   ##
==========================================
+ Coverage   20.36%   20.37%   +0.01%
==========================================
  Files          71       71
  Lines        6589     6585       -4
==========================================
  Hits         1342     1342
+ Misses       5066     5062       -4
  Partials      181      181

Impacted Files
Coverage Δ

pkg/ipvs/ipvs.go
0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


API Endpoint - View Fuel Flow To Load Baseline Data

Create GET endpoints (4) for Fuel Flow To Load Baseline Data:
Testing Note:
Should include GET endpoints for both Global View and Workspace to fetch one individual record or a collection of records
Testing Reference Only:
Accuracy Test Number (Text)
PEI Test Number (Text)
Average Fuel Flow Rate (Text)
Average Load (Text)
Baseline Fuel Flow-to-Load Ratio (Text)
Fuel Flow-to-Load UOM Code (Dropdown)
Average Hourly Heat Input Rate (Text)
Baseline GHR (Text)
GHR UOM Code (Dropdown)
Number of Hours Excluded Co-firing (Text)
Number of Hours Excluded Ramping (Text)
Number of Hours Excluded Low Range (Text)

Test Case: TC991
Test Passed

View Fuel Flow To Load Baseline Data

View Fuel Flow To Load Baseline Data

View Fuel Flow To Load Baseline Data


37 improve readme

Closes #37

bump deps versions
add codecov
update readme
remove old content

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Subword (WordPart) move doesnt work for Cyrillic words

Subword (WordPart) move doesnt work for Ukrainian and Russian symbols (may be bcs VS Code use ascii table for determine upper case and lower case symbols)
BigPookerVersionForMyMom <- cursor moving works OK
БольшойПукерВерсияДляМоейМамочки <- cursor moving doesnt work

tested on
Visual Studio Code - Insiders
Version: 1.90.0-insider (user setup)
Commit: 60468916e48fe8293e7641f0fc4ada80d79117b3
Date: 2024-05-08T05:51:16.876Z (3 hrs ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631
and
Version: 1.89.0 (user setup)
Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd
Date: 2024-05-01T02:09:22.859Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Windows_NT x64 10.0.22631

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Test PHP 7.3 and 7.4

Test with PHP 7.3 and 7.4
Fix array and string offset access using curly braces (deprecated since PHP 7.4 - see https://www.php.net/manual/en/migration74.deprecated.php#migration74.deprecated.core.array-string-access-curly-brace)
Call get_magic_quotes_gpc() only for PHP < 5.4. It always returned false since PHP 5.4 and is deprecated since PHP 7.4
Fix Travis config for PHP 5.5 and 5.6

I don't make a point in having my PR in — this one does the same and beyond 👍— I'll close #216 .


List reports

Endpoint is reports/reports

r @kyle-rosenbluth

@nancywong the git history was a little messed up so I made a new branch and cherry-picked the four commits where you made changes.
The problem was that you branched this off of your local agency-schema branch which was out of sync with the remote branch. Next time, make sure your local branch is in perfect sync before checking out.
I figured that the git history was off because the tmp commit was added again as part of this PR.

Looks pretty good, but I still want to run it locally with some real reports.
We can leave this PR unmerged for a little bit while we add more features like filtering.


Dashboard creation fails with v0.10.1: "could not get configJSON: spec.forProvider.configJSON: no such field"

After updating to provider version 'v0.10.1' Dashboard creation no longer works.
The error is probably related to https://github.com/grafana/crossplane-provider-grafana/blob/c4b592aefd9223ec9ef44a8161226d0b65c6048b/config/grafana/dashboard_init.go#L32  introduced by https://github.com/grafana/crossplane-provider-grafana/pull/86
Message:
 ----     ------                           ----                ----                                                        -------   Warning  CannotInitializeManagedResource  59s (x9 over 4m2s)  managed/oss.grafana.crossplane.io/v1alpha1, kind=dashboard  could not get configJSON: spec.forProvider.configJSON: no such field
The field in the CRD is spec.forProvider.configJson (lower cased 'son', see https://github.com/grafana/crossplane-provider-grafana/blob/c4b592aefd9223ec9ef44a8161226d0b65c6048b/apis/oss/v1alpha1/zz_dashboard_types.go#L70).

Yep, sorry about that. I'm fixing it right now

I should definitely get some integration tests going. I'll look into uptest

This is fixed in v0.10.2. I deployed it on our clusters, and it's applying dashboards correctly now


Sample to demonstrates how to enable vSphere supervisor cluster on given cluster (NSX-T should be configured)

Will sign off and re-raise the pull request


Images regarding SSR vs CSR are a bit weird

I'm talking about the images in this page:
https://github.com/Atyantik/reactpwa.com/blob/master/docs/features-ssr.md
Shouldn't there be two different images, since these are two different concepts?
Currently, both are the same:

https://www.reactpwa.com/img/features/ssr.png
https://www.reactpwa.com/img/features/csr.png

Thanks for pointing that out. Will update the docs soon.
@at-yash Please have a look here.

@javascrewpt We have updated the images, but I would like to add more detailed information about the CSR & SSR above/below the image.  Then I shall close the issue.
FYI @at-yash

Thanks! Now it makes much more sense. :)


The source only model of SYNTHIA

Thanks for your nice work.
Could you kindly provide the source-only model pre-trained on SYNTHIA?

https://drive.google.com/file/d/1E_gSY3aLRnRKC4u5IVSLA6-0AEOhnTrF/view?usp=sharing


AttributeError: 'TNews' object has no attribute 'metadata'

@myhostone1990 can you provide some more information about this bug? version and when you get it?
When I run the following I don't have an issue:
from mteb.tasks.Classification.zho.CMTEBClassification import TNews
task = TNews()
task.metadata

@myhostone1990 can you provide some more information about this bug? version and when you get it?
When I run the following I don't have an issue:
from mteb.tasks.Classification.zho.CMTEBClassification import TNews
task = TNews()
task.metadata

I apologize, I was an error reported while running C_MTEB, now I am reporting it to C_MTEB, sorry for the disturbance.


Add initial set of settings to the recorer

Implements #2

@tsuehr thoughts? still pending the development of:

proportion_strategy = fixed / variable
Default fixed. The minimum proportion of protected attributes in every prefix.

lookup_for_measuring_proportion = (integer number)
Default 100. The number of top elements that are examined to determine the target proportion of protected elements.

basically to my understanding how to have the proportion inferred from the available elements, but sadly I could not find reference to this in the paper. Do you have an idea how to best determine this?

@tsuehr @chatox, any thoughts on this change to be merged? For me is a good first pass on settings, basically it contains what we spoke @chatox, to have the settings as query parameters, keeping the incompatible options and the only accepted values.

This is too detailed for me to review, sorry!


Fix keydb HAProxy configuration file example

Hello,
I'm a new user of your incredible project !
I created a multi-master cluster but I lost time to fix configuration because there are some issues in your HAProxy example configuration, could you provide me the github to fix this ?
Or could you do it if it's a private repo.
Here the change needed to get a fully valid HAProxy configuration file.
URL: https://docs.keydb.dev/docs/haproxy/
Replace #tcp-check expect +OK by #tcp-check expect string +OK
Replace expect string role:acitve-replica by expect string role: acitve-replica
Replace tcp-check expect string role:master by tcp-check expect string role: master
Best Regards,
Thomas

Hi @tgiordmaina,
Good catch, and thanks for bringing this to our attention. It has been updated https://docs.keydb.dev/docs/haproxy/
Thanks!
Ben


mypy in python 3 mode

I also intended to add this to Travis, but I realized that this will require a separate coverage report on coveralls.

Automated message from Dropbox CLA bot
@sharmaeklavya2, it looks like you've already signed the Dropbox CLA. Thanks!

Looks great, merged!  For the last commit, probably eventually we should fix the models/bugdown dependency loop, since it's kinda messy and expensive to maintain.
On the travis front, I think it'd be OK to just run the Python 3 mypy without coverage reporting in Travis CI.  It's pretty easy to figure out how it differs from the python2  coverage anyway (we have a list of the files that aren't checked).


Bugfix/issue 8451

Fix for issue 8451 - Client channel socket leaks unless read stream drained explicitly
Sets readingDone to true when client cancels or disposes of the call.
Tests have been added to check that the resources are cleaned up correctly.
@jtattermusch

Looks like the may be relevant:
https://source.cloud.google.com/results/invocations/3370cd09-f4a7-4738-a0b4-c83d18a37246/targets/github%2Fgrpc%2Frun_tests%2Fcsharp_linux_opt_native%2Fcsharp.mono.Grpc.IntegrationTesting.InteropClientServerTest/tests
(looks like in this context, setting readingDone=true might be making the internal call logic think it's not a streaming call?)
https://source.cloud.google.com/results/invocations/7aaefdf9-aee3-4287-94d5-658de9ef4145/targets/github%2Fgrpc%2Frun_tests%2Fcsharp_macos_opt_native%2Fcsharp.coreclr.Math.Tests.MathClientServerTest/tests
(not sure what could be causing this - I'll need to look into it).

I can reproduce some of the "Basic Tests C# Linux" test failures - but only on Linux and only intermittently (I don't have a mac).  I expect there is a race condition with the callbacks  so I need to re-examine this fix and come up with a more robust solution.

Closing as I have created a different solution


Missing file error

I'm getting this error when I run sudo docker-compose up
Error: Cannot find module 'csv/dist/cjs/sync.cjs'

That indicates you're missing an NPM dependency. Try running docker-compose run --rm node npm install first.
I've been thinking about adding a Makefile to simplify things (e.g. you could run make install to install dependencies). Does that sound good to you?

Thanks! That worked!
I don't have any problem running make install. Do you think that there could be a better way to do this using a Dockerfile, though? I'm a novice with Docker, but I thought the whole point was that you didn't have to update dependencies or run any extra commands.

@polsvoice Okay, I went ahead and added a Makfile in https://github.com/Real-Change/emerald-city-resource-guide/pull/163
Docker handles building containers and running them, but it can't "know" when an NPM dependency is out-of-date, because it operates at a lower level than NPM. NPM uses the package.json and package-lock.json files to track dependencies and determine what's up-to-date, but from Docker's perspective, they're just regular files.


"editor.suggestSelection": "recentlyUsed" frozen?

VSCode Version: 1.36.1
OS Version: macOS Mojave 10.14.4
Does this issue occur when all extensions are disabled?: Yes

In certain files of a project, I'm apparently getting a recently used completion that I can't reset (I've tried all the clear commands).
But more importantly than being able to reset it, it seems like "recently used" could be improved on to take into account more factors (e.g. context and how recently).
See the screenshot below, where a word suggestion continues to be selected regardless of how many times I autocomplete something else (i.e. slice).

Please provide repro steps

OK, took me some experimenting to figure out how to reproduce this, but think I figured it out.

Add the following settings:

{
  // // TODO: See if TypeScript has the same issue
  // "typescript.suggest.completeFunctionCalls": true,

  // `completeFunctionCalls` appears to be the problematic setting
  "javascript.suggest.completeFunctionCalls": true
}

Create a JavaScript file with the following code:

const num = 1;
const str = 'foo';

Type str.n and then accept/autocomplete the word based, num suggestion.

Type str.sl and accept the slice suggestion.

Type in str. and notice that num is still being prioritized as the most recent autocompletion (when slice should be prioritized at this point).

Remove the completeFunctionCalls setting given above.

Repeat steps 3-5 above. But this time, notice that the slice suggestion is properly being prioritized.

This is an issue with TypeScript as it seems that the insertText differs, sometimes it's just .slice and sometimes it's .slice($1)$0. The LRU suggest memory selects recent item based on language, completion type, and insert text and if that differs an item isn't selected.

@jrieken Thanks for the investigation. Here's more detail on why this is happening:

In provideCompletionItems, we always return basic completion items with insert text such as .slice.
We only create the snippet based completions (such as .slice($1)$0) when the compeletion item is resolved
After accepting a completion, the suggestion memory stores the resolved completion item. When the next completion request comes in, it then tries matching the stored resolved completion item against unresolved completion items. This fails for .slice($1)$0

Do you think this is something we could fix in VS Code itself? Any potential workarounds? We can't eagerly resolve the insert text for JS/TS as that can be an expensive operation

We only create the snippet based completions (such as .slice($1)$0) when the compeletion item is resolved

⬆ That is the issue, actually the cause of multiple issues. The resolve-call should never change the insert behaviour of a completion. It was a mistake not to enforce that because it's the root of much evil.

We can't eagerly resolve the insert text for JS/TS as that can be an expensive operation

I honestly think we must do that. With https://github.com/microsoft/vscode/issues/73311 we already realised that items must be resolved asap and that we cannot wait once we show them. The only fix on our side I see is to forcefully call resolve before showing items - defeating the purpose of resolve...

Ok, I will look to see what the cost of creating the insert text eagerly and if it is even possible to do with the existing TS api

Ok, I investigated this and found we cannot fix this on the JS/TS side without dropping support for completeFunctionCalls.
The reason is that completeFunctionCalls generates the insert text using the displayText that typescript returns when resolving completion items. Doing this eagerly for all completion items would be expensive.
This request against TS may be relevant: https://github.com/microsoft/TypeScript/issues/25207

Closing this due to lack of further user feedback over the past year.
Long term, I feel that we should move completeFunctionCalls to TypeScript with microsoft/TypeScript#25207


Trying to accelerate turtlebot3 node following acceleration example

I am trying to build the turtlebot3 nodes on the kria by following this tutorial. However, when I try to build the turtlebot3 node package fot the KV260, I get this error:

Does someone know what could be causing this?

Clearly, you're missing libpython3.9.so.
Note also:

the tutorial you linked is part of AMD solutions however this repo is community-centric and driven. Things might differ depending on what you're trying to do.
turtlebot3_node is not a package that's in this repository, so I don't quite understand why you're asking support in here, or if that package has "special" needs we did not consider in here. In any case that's beyond the scope of this repository.


Add output option to kubectl describe

What would you like to be added:
I think it would help a lot for several people if the --output option would be added to the kubectl describe commands.
Why is this needed:
I wanted to determine the Last State statuses for all the running pods (several hundreds) to check if there are anything suspicious.
As far as I know this data is only accessible from running the kubectl describe pod <pod_name> command.
Even though it outputs in a YAML format if I dont want to install anything else and only would like to use bash, (AFAIK) I have no option to parse from it.
The closes solution I could do is to grep the YAML but it is very inefficient because of the changing number of lines under the Last State node of the YAML:
for pod in $(kubectl get pods -o jsonpath='{.items..metadata.name}'); do kubectl describe pod $pod | grep <container_name>: -A 20 | grep "Last State:" -A 4; done | less

What I would like to use it for?
I would expect to do something like this instead of the workaround mentioned above:
for pod in $(kubectl get pods -o jsonpath='{.items..metadata.name}'); do kubectl describe pod $pod -o go-template --template='{{.Containers.<container_name>.Last State}}; done | less

If I missed a functionality which is already there and able to retrieve this information in a usable manner, pls pont me to it 😄

As it turned out the kubectl get pod also contains the needed information.
I used the following: (I know it is not the best solution with a lot of overhead but jsonpath was not able to handle the get pod version no matther how I tried)
for pod in $(kubectl get pods -o json | jq -r '.items[] | .metadata.name'); do kubectl get pod $pod -o jsonpath='{.metadata.name}: {.status.containerStatuses[*].lastState.terminated.reason}{ "\n"}'; done


Question: capturing the femur from knee joint height at an angle

I am having trouble creating a DRR that captures the left femur in the following way:

So placing the point source at knee joint height and tilting (or aiming) the point source so that the whole femur is projected, with the detector parallel to the femur.
Is this possible with DiffDRR? If so, do I use the standard translation and rotation parameters and DRR function as shown in the introduction? My code is as follows:
rotations = torch.tensor([[0.0, -0.5, 0.0]], device=device)
    translations = torch.tensor([[0.0, 850.0, -250.0]], device=device)
    print(image)
    img = tio.ScalarImage(os.path.join(input_folder, image))
    bounds = img.get_bounds()
    print(bounds)

    width = int(abs(bounds[1][1] - bounds[1][0])) + 20
    height = int((abs(bounds[2][1] - bounds[2][0]) + 150) / 2)

    sub = read(
        volume=img,
        orientation="AP",
        bone_attenuation_multiplier=9.0,
    )
    subject = tio.Subject(sub)
    drr = DRR(
        subject,  # A torchio.Subject object storing the CT volume, origin, and voxel spacing
        sdd=2560,  # Source-to-detector distance (i.e., the C-arm's focal length)
        height=height,
        width=width,  # Height of the DRR (if width is not seperately provided, the generated image is square)
        delx=2,  # Pixel spacing (in mm)
    ).to(device)
    # Set the camera pose with rotations (yaw, pitch, roll) and translations (x, y, z)
    drr.to(device)
    img = drr(
        rotations,
        translations,
        parameterization="euler_angles",
        convention="ZXY",
    )

    plot_drr(img, ticks=True)

This is an example of a CT scan I would use:
ART_LOEX_001.nii.gz
Please let me know if you need more information to answer this question, thank you in advance!
Yassin

Hi @YassinAbdelrahman , yup that should be totally doable. I can take a closer look at your particular CT this weekend, but one thing that might help in the interim are the 3D rendering features in DiffDRR. This will let you render DRRs in world coordinates relative to your CT scan, and should help you tweak the intrinsic/extrinsic parameters such that you get the view you're after. Examples of how to use the rendering functions are in this notebook.

HI @eigenvivek, I would greatly appreciate it if you could take a look at my CT, thank you! I am not sure I quite understand the 3D rendering features so help with the intrinsic/extrinsic parameters would be greatly appreciated.

@eigenvivek Hi this is my question as well. Can you please have a look at CT image attached to Yassin's question and let us know what is the best way for doing DRR generation?

Hi @YassinAbdelrahman and @sarbabi, I may be misunderstanding the exact viewing angle you're after, so just let me know if the following isn't right.
I started with the same X-ray geometry as the example in the README:
import matplotlib.pyplot as plt
import torch

from diffdrr.data import read
from diffdrr.drr import DRR
from diffdrr.visualization import plot_drr

subject = read("ART_LOEX_001.nii.gz", bone_attenuation_multiplier=5.0)
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
drr = DRR(subject, sdd=1020.0, height=200, delx=2.0).to(device)

A default frontal projection is already perpendicular to the knee joint:
rotations = torch.tensor([[0.0, 0.0, 0.0]], device=device)
translations = torch.tensor([[0.0, 850.0, 0.0]], device=device)
img = drr(rotations, translations, parameterization="euler_angles", convention="ZXY")
plot_drr(img, ticks=False)
plt.show()

We can make the pixel size bigger such that the femoral heads are in the field of view:
drr.set_intrinsics(delx=5.0, dely=5.0)

rotations = torch.tensor([[0.0, 0.0, 0.0]], device=device)
translations = torch.tensor([[0.0, 850.0, 0.0]], device=device)
img = drr(rotations, translations, parameterization="euler_angles", convention="ZXY")
plot_drr(img, ticks=False)
plt.show()

Finally, we can translate the X-ray source and detector such that it's centered on the left femur:
rotations = torch.tensor([[0.0, 0.0, 0.0]], device=device)
translations = torch.tensor([[-80.0, 850.0, 0.0]], device=device)
img = drr(rotations, translations, parameterization="euler_angles", convention="ZXY")
plot_drr(img, ticks=False)
plt.show()

Regarding 3D rendering, here's how you could use the functions in DiffDRR to visualize the 3D geometry of what we've rendered:
import pyvista

from diffdrr.pose import convert
from diffdrr.visualization import drr_to_mesh, img_to_mesh, labelmap_to_mesh, plot_drr

pyvista.start_xvfb()

# Make a mesh from the CT volume
ct = drr_to_mesh(subject, "surface_nets", threshold=0, extract_largest=False, verbose=False)

# Make a mesh from the camera and detector plane
pose = convert(rotations, translations, parameterization="euler_angles", convention="ZXY")
camera, detector, texture, principal_ray = img_to_mesh(drr, pose)

# Make the plot
plotter = pyvista.Plotter()
plotter.add_mesh(ct)
plotter.add_mesh(camera, show_edges=True, line_width=1.5)
plotter.add_mesh(principal_ray, color="lime", line_width=3)
plotter.add_mesh(detector, texture=texture)

# Render the plot
plotter.add_axes()
plotter.add_bounding_box()
plotter.show_bounds(grid="front", location="outer", all_edges=True)
plotter.export_html("render.html")

which produces a rendering like this

Working through this example helped me catch a few improvements that could be made to the code (#302 and #303), so be sure to pull the latest version of the development branch to run these examples. Thanks for helping me find these!

Closing for now, feel free to reopen if you have any other questions.


Ignore 'warning: could not open directory'

Description of Changes
Closes #164
Ignore "warning: could not open .* Permission denied" failure cases when getting git status.

Thanks for your contribution!
Should we ignore all the warning lines in stderr callback?

On 20/09/2020 04:08, Xuyuan Pang wrote:

Thanks for your contribution!

Not at all. Thank you for the plugin! :)

Should we ignore all the |warning| lines in stderr callback?

Possibly, but we don't want to mask other errors the user would want
to know about. Since that's an unknown factor, I thought this was the
safest approach for now. It's easy to adapt, if-and-when other suitable
cases show up.
The only other question is the relative performance impact of the more
complicated regex including the '.*', but this is likely negligible.
In any case prepending a '^' to the regex would be a good idea because
we're only interested when the error message starts with 'warning:', so
I'll do that and push the commit again.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Xuyuanp/nerdtree-git-plugin/pull/165#issuecomment-695585040,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFQ5NNZRHON63TIAFQ7LO3SGVW25ANCNFSM4RTDXCWA.


Missing /etc/machine-id breaks systemd >= 230

Recent systemd (>= 230) expects /etc/machine-id to exist inside the container, otherwise it will refuse to start with:
+ acbuild run /bin/bash
Failed to read machine ID from ~/.acbuild/currentaci/rootfs/etc/machine-id: No such file or directory

For reference, the issue and a similar patch are being discussed for rkt: https://github.com/coreos/rkt/pull/2440

/cc @iaguis @alban


Fatal error: Login error: JSON decode fail, 400 - Bad Request

Once imputing the password, an error message pops up stating, "Fatal error: Login error: JSON decode fail, 400 - Bad Request."
To Reproduce
I'm using the Windows executable version 4.5.  I was experiencing this issue on a previous version (4.4.2), thus I updated. The commands I'm using is "instaloader --login [my-username] [other-instagram-usernames] --fast-update --comments --no-compress-json --highlights --tagged --geotags --post-metadata-txt="{likes} likes, {comments} comments."
Error messages and tracebacks
Fatal error: Login error: JSON decode fail, 400 - Bad Request.
Instaloader version
Windows Executable 4.5 (--version shows 4.2.9)

Error messages and tracebacks
Fatal error: Login error: JSON decode fail, 400 - Bad Request.

This looks like an issue that has been fixed with Version 4.4.2.

Instaloader version
Windows Executable 4.5 (--version shows 4.2.9)

If --version shows 4.2.9, it's not version 4.5. This might indicate that there is some kind of PATH mixup in your setting, and an old EXE is executed rather the updated one.


[SPARK-24869][SQL] Fix SaveIntoDataSourceCommand's input Dataset does not use cached data

What changes were proposed in this pull request?
This PR fix 2 things:

Fix SaveIntoDataSourceCommand's input Dataset does not use Cached Data.
Fix SaveIntoDataSourceCommands web ui when writing data.

How was this patch tested?
unit tests and  manual tests
Manual test web UI:
val udf1 = udf({ (x: Int, y: Int) => x + y })
val df = spark.range(0, 3).toDF("a").withColumn("b", udf1(col("a"), lit(10)))
df.write.mode(SaveMode.Overwrite).jdbc(jdbcUrl, jdbcTable, new Properties)

Before this PR:

After this PR:

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4724/
Test PASSed.

Test build #98408 has started for PR 22930 at commit 9125b31.

Test build #98408 has finished for PR 22930 at commit 9125b31.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98408/
Test FAILed.

Merged build finished. Test FAILed.

Test build #98415 has started for PR 22930 at commit eca075a.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4730/
Test PASSed.

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4732/
Test PASSed.

Test build #98419 has started for PR 22930 at commit a799e3f.

Test build #98415 has finished for PR 22930 at commit eca075a.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98415/
Test PASSed.

Test build #98419 has finished for PR 22930 at commit a799e3f.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98419/
Test FAILed.

retest this please

Test build #98422 has started for PR 22930 at commit a799e3f.

Test build #98422 has finished for PR 22930 at commit a799e3f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/98422/
Test FAILed.

retest this please

Test build #98423 has started for PR 22930 at commit a799e3f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/4737/
Test PASSed.


[Bug]: Stupid cms not start site afer install all dependencies and run powershell script

Stupid cms not start site afer install all dependencies and run powershell script
Linha 50:                 // first call GetProviderPath - this insures that the Database is Initialised correctly
Linha 51:                 // and also generates the appropriate error message if it cannot be initialised correctly
Linha 52:                 string strMessage = DataProvider.Instance().GetProviderPath();
Linha 53:
Linha 54:                 // get current database version from DB
Arquivo de Origem: C:\Users\xxx\Downloads\Dnn.Platform-9.13.4\DNN Platform\Library\Application\ApplicationStatusInfo.cs    Linha: 52
Rastreamento de Pilha:
[NullReferenceException: Referência de objeto não definida para uma instância de um objeto.]
DotNetNuke.Application.ApplicationStatusInfo.get_Status() in C:\Users\xxx\Downloads\Dnn.Platform-9.13.4\DNN Platform\Library\Application\ApplicationStatusInfo.cs:52
DotNetNuke.Common.Initialize.Init(HttpApplication app) in C:\Users\xxx\Downloads\Dnn.Platform-9.13.4\DNN Platform\Library\Common\Initialize.cs:44
DotNetNuke.Web.Common.Internal.DotNetNukeHttpApplication.Application_BeginRequest(Object sender, EventArgs e) in C:\Users\xxx\Downloads\Dnn.Platform-9.13.4\DNN Platform\DotNetNuke.Web\Common\DotNetNukeHttpApplication.cs:231
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +171
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92

I just redeployed DNN Platform via Git Clone and opened the .sln in Visual Studio 2022.
Here is my VS setup / workloads / installation details:

I've already followed the instructions here.
https://github.com/dnnsoftware/Dnn.Platform/blob/develop/.github/BUILD.md
I've ensured I am running a suitable version of Node, VS is in Debug/Any CPU:

Before running build I also reviewed this old Quick Start Step by Step to make sure my machine had all the modern versions of things mentioned here: https://github.com/dnnsoftware/Dnn.Platform/discussions/4950
I carefully configured my settings.local.json so the build would go to my local working copy of DNN. In other words, this is where the build would "build into."
I ran build, on my machine, this took a long time (over 4 mins) as you can see:

To prove my build work I went to the working site and logged in. Since I built 9.13.04 I still needed to prove I was running the version I had just built/compiled, so I went to build and checked the date-times of the DLLs:

This is a very large project. Expecting it to "just work" is not reasonable. Times change, versions of the tools and frameworks change constantly. If you really want to do this, step one is deciding to work through to the finish line. Step 2 is to be humble and get some help. My suggestion is you drop the attitude, don't lead with "stupid CMS" and consider reaching out via the forums on  DNNCommunity.org or join the DNN Community on Discord. Ask good questions, show your work and effort and you will easily get the help you need to get to the finish line.

@ednsinf Please adjust your language and stop removing all the issue templates.


REFACTOR: remove column/row partition classes

There are many classes that simply define axis attribute. This can be done more compactly by passing axis parameter to the constructor of axis partition classes.
This way we can simplify BaseDataframeAxisPartition hierarchy.

Core maintainers did not support the idea. Details of the discussion in the PR.


feat(ComposedModal): support selectorPrimaryFocus prop

Closes IBM/carbon-components-react#1623
This PR adds support for the selectorPrimaryFocus prop on <ComposedModal> to match <Modal> and <ModalWrapper>
Related: #980 #1124 #1621 #1633
Changelog
New

focus management methods (many shared with <Modal>)
pass ref for primary focusable element to <ComposedModal>s using <ModalFooter>
storybook example <ComposedModal> with trigger button

Changed

declare <Modal> methods before they are called

Related to focus, would we ever want to have our patterns follow what we do in UI Shell:
https://github.com/IBM/carbon-components-react/blob/fb398145c254117c915d1184b8baed0e638c133c/src/components/UIShell/HeaderMenu.js#L246-L262
e.g. basically make it so that children need to support a ref prop and we use that reference on the first item to focus the node.

sure, I have updated with some test cases for selectorPrimaryFocus @asudoh

Thanks you for adding the tests @emyarod!


CI/CD Broken After Ubuntu Runner Image Upgrade

Description
CICD workflow is broken after the runner image of Ubuntu 22.04 was upgraded from 20240422.1 to 20240516.1
Platforms affected

[ ] Azure DevOps
[X] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[X] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 11
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Image: ubuntu-22.04
Version: 20240516.1.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240516.1/images/ubuntu/Ubuntu2204-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240516.1
Is it regression?
Yes,  Image: ubuntu-22.04   Version: 20240422.1.0   Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240422.1/images/ubuntu/Ubuntu2204-Readme.md   Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240422.1
Expected behavior
A unit test should be pass be passed without error.
Actual behavior
Traceback (most recent call last):
File "/usr/bin/extractReport.py", line 51, in
main()
File "/usr/bin/extractReport.py", line 48, in main
parseXML(path)
File "/usr/bin/extractReport.py", line 37, in parseXML
print(message)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u25bc' in position 47: ordinal not in range(128)
./modules/authentication-auth0/build/test-results/testDebugUnitTest/TEST-com.xxx.authentication.auth0.Auth0WrapperTest.xml
Repro steps
Actual code:
 override fun generateRsaKeyPair(): KeyPair = KeyPairGenerator.getInstance(KeyProperties.KEY_ALGORITHM_RSA).let { keyPairGenerator ->
        keyPairGenerator.initialize(KEY_SIZE_IN_BITS_FOR_RSA, SecureRandom())
        keyPairGenerator.genKeyPair()
    }

Unit test code. Android + Kotlin dsl + Strikt
@Test
   fun `Generate RSA key pair`() {
       val rsaKeyPair = with(CryptographyImpl()) {
           generateRsaKeyPair()
       }

       expectThat(rsaKeyPair.private.algorithm).isEqualTo("RSA")
       expectThat(rsaKeyPair.private.toString()).startsWith("SunRsaSign RSA private CRT key, 4096 bits")
   }

Hello @satishmscict . It looks like the problem is an unsupported ascii character. In your case it is ▼. This behavior is independent of the version of runner-images. Unfortunately we can't do anything from our side.