[WebToolsE2E][Aspire] Building .NET MAUI App with ".NET Aspire Orchestrator Support" fails with error MSB4057: The target "GetTargetPath" does not exist in the project.

REGRESSION INFO
Reproduces with VS 17.10 Preview 3 (Includes Aspire 8.0 P4) + Aspire 8.0 P5
INSTALL STEPS
Clean machine: Win11 x64 23h2 ENU

Install VS 17.10 Preview 3 from VS/main

Web Workload + Maui workload
Includes Aspire 8.0 Preview 4
Includes SDK 8.0.300-preview.24122.6

Create .NET MAUI App 8.0 and build

Right click the project > Add ".NET Aspire Orchestrator Support" > Build

ACTUAL
error MSB4057: The target "GetTargetPath" does not exist in the project.

This issue also reproduces with "Only Maui workload"
EXPECTED
The .NET MAUI App can be built successfully with ".NET Aspire Orchestrator Support".

I don't have MAUI installed locally. Can someone attach a binlog of the failing build, so we can see where it is coming from? That link has instructions on how to enable it for VS.

I don't have MAUI installed locally. Can someone attach a binlog of the failing build, so we can see where it is coming from? That link has instructions on how to enable it for VS.

Unable to attach the file type, it can be found here "\vwdbuild01\temp\Elena Feng\v-elenafeng\Issue#3043\MauiApp4"

@v-elenafeng - the binlog at that location is for a build that succeeded. Can you grab the log for a build that fails with the above error?

@v-elenafeng - the binlog at that location is for a build that succeeded. Can you grab the log for a build that fails with the above error?

I grabbed the binlog after the build in VS showed a failure, but it wasn't captured in the logs, so I ran "dotnet build" the solution using CLI and the build was successful as well. So I will move this to DevOps since it's like a VS tooling issue.
Btw, I deleted the comment posted above since it's an internal shared path.

Need to investigate this.

Note that this issue looks to affect all multitargetted projects, not just MAUI. I created a Console app with <TargetFrameworks>net9.0;net8.0</TargetFrameworks> and saw the same "The target "GetTargetPath" does not exist in the project" error.

Yes, when adding '.NET Aspire Orchestrator Support' to a multi-target project, it's keeps the AppHost single-targeted, so building the project throws an error. This can be fixed by modifying the AppHost project to be multi-targeted.

I don't think multi-targeting AppHost is the right thing to do here. Since AppHost does not reference types from the referenced projects,  I think it is better is to add the PrivateAssets="All" and ReferenceOutputAssembly="false" attributes to the project reference.


Track1: Could you release the upper-bound performance(average mAP) during each experience?

Notice there are some unlikely high scores on the leaderboard on Track1. So it  does matter to check legality.

Hi @ppppeng, regarding the upper bound for track 2 I answered here.
For tracks 3 and 1:
After task 0: 0.2
After task 1: 0.4
After task 2: 0.6
After task 3: 0.8
After task 4: 1.0
because each image has only the annotation for a single main object + each experience contains only a subset of objects which are not seen again in other experiences.
This means that, for tracks 3 and 1, the overall upper bound is 0.6: average mAP for track 3 (instance detection), average mean class accuracy [AMCA] for track 1 (instance classification).
We will ask top-ranking participants to send us their code to check if their solution is aligned with the rules. However, we do so only at the end of the submission phase, which ends on the 29th of May.

Hi @ppppeng, regarding the upper bound for track 2 I answered here.
For tracks 3 and 1:
After task 0: 0.2 After task 1: 0.4 After task 2: 0.6 After task 3: 0.8 After task 4: 1.0
because each image has only the annotation for a single main object + each experience contains only a subset of objects which are not seen again in other experiences.
This means that, for tracks 3 and 1, the overall upper bound is 0.6: average mAP for track 3 (instance detection), average mean class accuracy [AMCA] for track 1 (instance classification).
We will ask top-ranking participants to send us their code to check if their solution is aligned with the rules. However, we do so only at the end of the submission phase, which ends on the 29th of May.

Specifically, for tracks 3:
After task 0: 0.2261=251/1110
After task 1: 0.4162=(251+211)/1110
After task 2: 0.6243=(251+211+231)/1110
After task 3: 0.8342=(251+211+231+233)/1110
After task 4: 0.1=(251+211+231+233+184)/1110


Add support for multiple languages

The frontend should have an option to switch between languages (eg English, Spanish).
Find the best and standard way to do this with React.

@pablolizardo something for us to think about.


contrib/test/integration/e2e: Stop skipping inline.execution.and.attach

The TODO and skip landed in 7d2bde11 (#1208), when this was the last entry in the skip list.  Now that a480b206 (#1217) has landed we can start running that test.
Ping @runcom, since he added the TODO entry.

/test all

I'm not clear on where the e2e failures are logged in Jenkins, but it looks like inline.execution.and.attach is broken somehow.

@mrunalp, think #1444 fixed the issue here?  I'm not sure if I need to rebase to pick that up, or if all we need to do is restart the e2e tests,

@wking please rebase.

This is fixed now by my recent PRs.


Enable debian as a supported distro

Signed-off-by: Ganesh Maharaj Mahalingam<EMAIL_ADDRESS>

Coverage remained the same at 68.916% when pulling 442e2baa7d0b4e8e76dc07645fd5af17c486b697 on ganeshmaharaj:debian into 4de125f051d155619fb668c43e8789353beb859d on intel:master.

@ganeshmaharaj Looks good.  Could you add a body to the commit description?

@markdryan done. :-)


pythonPackages.pyosmium: fix build

Description of changes
The patch is already included in version 3.7.0
https://github.com/osmcode/pyosmium/commit/31b1363389b423f49e14140ce868ecac83e92f69
Also fix test dependencies
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 281389 run on x86_64-darwin 1

5 packages built:

osm2pgsql
python311Packages.pyosmium
python311Packages.pyosmium.dist
python312Packages.pyosmium
python312Packages.pyosmium.dist

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

5 packages built:

osm2pgsql
python311Packages.pyosmium
python311Packages.pyosmium.dist
python312Packages.pyosmium
python312Packages.pyosmium.dist


Testing Error initializeTransactionalContext()

So I'm using Jest and we are strictly doing unit tests -
I used the example
jest.mock('typeorm-transactional-cls-hooked', () => ({
            Transactional: () => () => ({}),
            BaseRepository: class {},
        }));

But it errors on initializeTransactionalContext().    Where would initializeTransactionalContext be used within a jest unit test ?

When I added this it gives this message.
"ConnectionNotFoundError: Connection "default" was not found."
So is seems the mock is not handling mocking out the connection. ?

Same problem here.
I can't figure out how to mock this @Transactional decorator.
Here is the used code.
let myService: MyService;
let myRepository: MyRepository;

  beforeEach(async () => {
    jest.mock('typeorm-transactional-cls-hooked', () => ({
      Transactional: () => () => ({}),
      BaseRepository: class {},
    }));
    initializeTransactionalContext();

    const module: TestingModule = await Test.createTestingModule({
      providers: [
        MyService,
        MyRepository,
        {
          provide: getRepositoryToken(MyRepository),
          useClass: MyRepositoryFake
        }
      ],
    }).compile();

    myService = module.get(MyService);
    myRepository = module.get(MyRepository);
  });

Am I doing something wrong ?

I was able to mock it using
jest.mock('typeorm-transactional-cls-hooked', () => ({
  Transactional: () => jest.fn(),
}));


chore: Updating cryptography and starlette packages

Summary | Résumé
Updated the cartography and starlett packages due to inconsistencies introduced by renovate.

Closing PR since repo requirements are for all commits to be signed and this was not the case. Another PR having met all those requirements exists.


Allow all users to "Delay" their own requests

Currently you have to be the owner of an active push

Under "My Requests" you can delay your request even if you're not the owner of an active push.
Seems like we can close it.


i18n(it): First set of Italian translations 🇮🇹

What kind of changes does this PR include?

Translated content

Description

The PR adds the first set of Italian translations. It includes i18n/ui.ts, i18n/nav.ts and i18n/docsearch.ts strings together with the Getting Started page.

Hey there @milovangudelj! Thanks for your translations! We'll take a look at the PR soon!

Are there any more changes that need to be made? @ematipico
If not I can update the branch and then it should be ready to be merged.


RA-1599 Updated swagger items for APIM

Initial draft of the documentation for APIM.

I'm not sure we want to reveal the integer representation behind some of the values a consumer would provide to the CreateApprenticeship endpoint. It would be prefereable to only expose the options for text values through the documentation which is easier to read for the consumer and easier for us to read for purposes of replaying or debugging the requests consumers send without having to lookup what each value means. In short, showing the text values on the documentation would be enough.
@mgwilliam your thoughts?

@sachpatel yes agreed - strings only is preferred.


Make md5's not be in the same file as the import settings

This is an initial pull request relating to #17103
This version creates a new file called <filename>.import.md5 which contains the hashes for the source and destination files. This is one solution to the earlier mentioned issue with version controlling the .import files.

edit: this has now been updated so instead of <filename>.import.md5 it creates <filename>-<hash>.md5 inside the .import folder

Unrelated to this PR, but for the reference: the email you're using to sign your commits is not linked to your GitHub account, so the commits don't appear as authored by @sdfgeoff. It's not an issue, but if you want nice GitHub stats to brag about your contributions, you may want to add that email as secondary email in your GH settings.

Very nice, thank you! :)

BTW your system clock seems to be configured to NZ local time with CET timezone (GMT+1), so your commits come from the future ;)

Should be fixed now, both the squash and the clang-format.
....Having a time machine really helps productivity, you know....

What if you have two assets with the same name? Or two similar assets in different folders?

It uses the same path as the exported resource does. And godot has a clever way of handling this whereby they use the path - whereby the hash is the hash of the filepath. This means it handles matching filenames just fine.

Thanks a lot for this fix :)

cherry picked into 3.0.3


Support arbitrary numbers of threads for memory allocation.

When I originally refactored memory.c to reduce locking, I made the (incorrect) assumption that all threads were managed by OpenBLAS.  The recent Issues we've seen (#1735) show that really, any caller can make its own threads and call into OpenBLAS; they don't all come from blas_server.  Thus we have to be able to support an arbitrary number of threads that can come in any time.  The original implementation (before my changes) dealt with this by having a single allocation table, and everyone had to lock to get access to and update it, which was expensive.  Moving to thread-local allocation tables was much faster, but now we have to deal with the fact that thread local storage might not be cleaned up.
This change gives each thread its own local allocation table, and completely does away with the global table.  We cleanup allocations using pthreads' key destructor and Win32's DLL_THREAD_DETACH.
This change also removes compiler TLS, which in the end, wasn't really worth it given the issues with the glibc implementation (#1720).  The overall performance impact was < 1%, anyway.  Removing it also simplifies the code.

Hmm... I'm not sure why Windows suddenly can't find ::Tls*.

Checking if this is a problem with the CI - local Linux builds show no errors so far.

I wonder if the Windows build issue comes simply from using C++ idiom in a plain C file (which would also imply the problem was in your earlier code as well, just masked by the default use of compiler TLS).

Aha, you're probably right.  I've removed the ::; let's see what happens.

Yep, that was it.  I've fixed the tests, too.  The failures are make timeouts (45 minutes). Is there a way I can restart them?

Not sure if you as the submitter already have the right to restart individual jobs, or perhaps would need to set up a free account with travis. (you should see a symbol with two concetric circles to the right of the time column in the travis jobs table if you can restart jobs by clicking this). I have now restarted the three jobs in question, but the issue with the timeouts could only be resolved by changing the limit in the .travis.yml file. However, these three jobs used to take around twenty minutes like the others, so "make timeout" here probably means a lockup in the tests. (We will see...)

I've tried all three locally and everything was fine... not sure what's happening with travis.

I cannot reproduce this either. Travis status blog has a few recent entries about jobs that require "sudo: true" intermittently failing or hanging. It is just worrying that these three jobs should fail repeatedly...

I could remove the settings for "quiet make" from the travis.yml, but ironically travis used to abort jobs for creating too much output without it.

Trying some things in my fork now. But without "QUIET", travis tends to kill the job as it exceeds 4MB of output (mostly from warnings in the LAPACK part)...

Travis also kills the absolutely silent jobs...
make -s ?
I think it barfs out less than a megabyte now.

Linux timeout command can do it, no posix equivalent, but particular test is only linux...

@brada4 this does not answer the question why the fork test fails with this change.

Just to fix up CI

The hang is reproducible with (a vm running) the same version of Ubuntu locally, so probably related to either glibc 2.15 or gcc 4.6.3 .

helgrind sees a race between calls to blas_memory_alloc from memory.c:1071 (reading with no lock held, called from dgemm, gemm.c:403) and memory.c:1097 (writing with a lock held), and another between get_memory_table at memory.c:489 and pthread_key_create called from memory.c:1031

Seems access to the newly introduced local_storage_key variable is racey, but adding another lock to protect it does not help.

I believe I fixed the race conditions  in the "mem" branch of my fork (at the expense of another mutex lock), but the issue with travis looks like a glibc < 2.23. bug. If I move the CI to Ubuntu xenial, the utest passes. The question now becomes how to handle these older systems:  An #if !defined(__GLIBC_PREREQ) || __GLIBC_PREREQ(2,23) for the "new" code is easy enough, but what to fall back to in the #else branch - pre-0.3.1 memory.c, or the 0.3.2 memory.c without compiler TLS and with an increased MAX_ALLOCATING_THREADS ?

My impression was that it was somehow related to using malloc in the threads, but I do not have the bug ids handy now. We'll see what travis says now, and I'll also give it a spin with the ubuntu vm later when I have time.

@martin-frbg what tests are you running?

All I have is 2.24 but I can't reproduce any crashes.  Everything seems to run fine, which makes all of this more complicated.  I'm trying to see if there's a good way for me to get something were I can reproduce this, but if you have any ideas, I'd be grateful.

Virtualbox with a bunch of vm's from osboxes.org or similar ?

BTW the sblat2 test crashes with alloc_table=0x0 (making alloc_table[0] an illegal access) in line 1128 of memory.c

Seems to me the crucial problem is that your revised code is missing a call to blas_tls_init() at the start of blas_memory_alloc() (or the static int tls_initialize there is not working as intended for whatever reason). Net effect seems to be that get_memory_table gets invoked with an undefined local_storage_key.

Actually it gets called from blas_memory_init, from blas_memory_alloc.  I really can't seem to reproduce this.

Seems the timeouts/lock ups in the "fork" utest are still there on older systems. My quick test (with the Ubuntu CI setup updated to avoid the perceived glibc "fork test" problem) passed everything except the mingw build. (Not sure yet what happened there). Still not quite happy with putting this in 0.3.3...

Hmm... I have to admit it is rather frustrating that I can run something locally and have everything pass and run fine (no seg faults), and end up with failures on Travis.  I don't envy the huge portability aspect in pulling this project together.  I do wish that the logs at least would have more details in the case of failure (it seems like only one job gives verbose output).

I have hacked my .travis.yml into your branch now, but the problem with the old Ubuntu "Precise" version will probably need to be debugged in a local installation. I believe the earlier problems with segfaults were a direct consequence of invoking undefined behaviour (by omitting tls key initialization in that one code path), so did not affect all Linux flavors int the CI and may not have occured on whatever you use for local testing.

I have now put my modified version of the code into #1742, which would again make the original memory.c the default unless compiled with -DUSE_TLS (and on a system with a sufficiently capable libc).
I think this should provide a reliable solution for 0.3.3, although it puts the burden of choosing on the end user (or distribution packager) for now. Once the remaining issues are resolved, we can just change the default setting of USE_TLS .


(fix)controller: ensure the chaos annotation is set to true

What this PR does / why we need it:
Added Annotation Check for the chaos-operator
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Checklist:

[ ] Fixes #
[ ] Labelled this PR & related issue with documentation tag
[ ] PR messages has document related information
[ ] Labelled this PR & related issue with breaking-changes tag
[ ] PR messages has breaking changes related information
[ .] Labelled this PR & related issue with requires-upgrade tag
[ ] PR messages has upgrade related information
[ ] Commit has unit tests
[ ] Commit has integration tests

The BCH failures are understood (longer reconcile fn & generated code for open-api). Reconcile fn's breakdown is coming up in a subsequent PR.

Need some more improvement!! But it's good for now, Preferably in the next PR


Error: Detox.framework not found

on npm detox is shipped with Detox.framework.tbz while the expectation is to have a decompressed framework. manually decompressing it fixes it for me inside node_modules/detox.

Thanks for reporting this issue. Turns out our postinstall script was broken. fixed in https://github.com/wix/detox/commit/c909ceb242b4c27c1f7fee6f9ae23e902b2eaa83

Published in 5.0.4.


Change my_bool > bool

Hello,
Something changed upstream in the library you're importing for the mysql port.
The current release version of SOCI doesn't compile if you enable mysql, this PR fixes it.
Maybe we should check this on the CI and build and run all of the backends.
Cheers!

Ok, so I think this looks good?
Before mysql 8 we're using mysql bool and after it uchar which must be compatible with everything bigger than 8.

Merged now, thanks!


EspHttpConnection body received in fetch header state

I'm pretty much using the http client in the example, however, I need to post some data. When doing this, I get a debug message:
I (891184) esp-x509-crt-bundle: Certificate validated
I (892194) HTTP_CLIENT: Body received in fetch header state, 0x3fcb969b, 16
0x3fcb969b - _heap_start
    at ??:??

The request seems to work, but I'm not sure everything is completely correct.
My code:
let mut client = embedded_svc::http::client::Client::wrap(
    esp_idf_svc::http::client::EspHttpConnection::new(
        &esp_idf_svc::http::client::Configuration {
            crt_bundle_attach: Some(esp_idf_sys::esp_crt_bundle_attach),

            ..Default::default()
        },
    )?,
);

let headers = [
    ("Content-Type", "application/json"),
    ("Content-Length", &format!("{}", data.len())),
];

let mut request = client.post(&uri, &headers)?;
request.connection().write(data)?;
let mut response = request.submit()?;

Any thoughts?

I am also not 100% sure why it happen, glancing over the code i thought that it might be something with our simplified state handling compared to the underlying http-client code. They split header and body inspection separately? Every time the response  is not only composed of an header - have an body that is not 0 - this gets triggered. You can test this when sending an Head request instead. Then you dont get this info. Though as you say it seems to work fine as is.

could be potentially fixed by #404 . Closing this and if anything related creeps up feel free reopen it.


Fix: Boolean vs bool

This PR

[x] uses bool instead of Boolean

I suggest doing this in the 1.x branch

@stof
Give me a moment!

Fixed by #1077


Correcting build warning messages

This corrects several build errors that had accrued in the docs.

The remaining doc build error has to do with the $@ in this line in the minio-dotnet repo.


Add support for changing the file's mode

Running as root, I needed the ability to make a temp file available to non-root users.
This patch adds a mode affix that sets the permissions of the file to whatever
the caller wants.  The default is still 0600, so there is no change in interface.

+1

See #82 for a rebase, with tests.

@hildjj Will evaluate #82 closing this PR


is_paused_upon_creation

Opening up an initial CR here since I can't open up one inside your fork.

Changes look good in reading. I'm currently testing against my dev environment.

Confirmed to work in my dev environment. Good stuff! :+1:


Refactoring nginx.conf

I completed the 3 steps below:

[x] I've read the Contribution Guide.
[x] I've updated the documentation. (refer to this for how to do so).


Aggregate function with order_by

When I try chaining query for this aggregate function with order_by,  I get the following problem:
iex(18)> query = Author |> order_by(:id)
#Ecto.Query<from a in Myapp.Author, order_by: [asc: a.id]>
iex(19)> Myapp.Repo.one from a in query, select: count("*")
warning: Myapp.Repo.one/2 is deprecated, please use all/2, aggregate/3 or first/2 accordingly
    (stdlib) erl_eval.erl:669: :erl_eval.do_apply/6
    (elixir) src/elixir.erl:215: :elixir.erl_eval/3
    (elixir) src/elixir.erl:203: :elixir.eval_forms/4
    (iex) lib/iex/evaluator.ex:135: IEx.Evaluator.handle_eval/6

[debug] SELECT count('*') FROM "authors" AS a0 ORDER BY a0."id" [] ERROR query=1.2ms
** (Postgrex.Error) ERROR (grouping_error): column "a0.id" must appear in the GROUP BY clause or be used in an aggregate function
    (ecto) lib/ecto/adapters/sql.ex:367: Ecto.Adapters.SQL.execute_and_cache/7
    (ecto) lib/ecto/repo/queryable.ex:122: Ecto.Repo.Queryable.execute/5
    (ecto) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/4
    (ecto) lib/ecto/repo/queryable.ex:59: Ecto.Repo.Queryable.one/4

First, I thought this is postgresql's problem, but it seems Ecto doesn't generate the desirable query. The chaining query should generate the following sql query:
SELECT count('*') FROM (SELECT * FROM "authors" AS a0 ORDER BY a0."id") AS a1;

The Myapp.Repo.first would give same problem since it tries to sort, I guess:
Myapp.Repo.first from a in Author, select: count("*")

@singachea Please use Repo.aggregate. That's the only function that will change your query to build aggregations. The others assume you are building a correct query.

@josevalim :+1:
But how do I count(*)?
From https://github.com/elixir-lang/ecto/blob/4e3269d662d39f766fe866489081162f4b73bebf/lib/ecto/repo.ex#L159
def aggregate(queryable, aggregate, field, opts \\ [])
    when aggregate in [:count, :avg, :max, :min, :sum] and is_atom(field) do
  Ecto.Repo.Queryable.aggregate(__MODULE__, @adapter, queryable, aggregate, field, opts)
end

The field need to be an atom this case.


feat: add retry logic to the http client

This change makes getContents() attempt 3 http requests before giving up. The logic is inserted into the extracted http client. I suggest looking at the commits and files separately because the PR diff is messy.

Thanks for review. See https://github.com/RSS-Bridge/rss-bridge/commit/d5e9dbf47d3759cac009820f98710c4137ec417b


Add periodic snapshot of Service data

Add hooks for supporting periodic snapshot of service in-memory data

Remove Snapshot interface and add callback hooks for saving in-memory data to and loading in-memory data from snapshots into ServiceHandler interface

Better solution: define a new ADMIN_MSG_ID message type and use RingBuffer communication for informing a Service to save data to or load data from a Snapshot


Resource silently fails to load if used multiple times.

Take the below code:
var viewer = new Cesium.Viewer("cesiumContainer");

var resource = new Cesium.Resource("../../SampleData/simple.czml");

resource.head().then(function () {
  return viewer.dataSources.add(Cesium.CzmlDataSource.load(resource));
});

Same code in Sandcastle
If you comment out the resource.head() line, it works as expected but obviously you are now losing the head call. Basically, it looks like resources used to be re-usable, but since #8843, they can only ever be used once specifically this line in the PR here: https://github.com/CesiumGS/cesium/pull/8883/files#r470300910
Perhaps something is not being re-initialized on the second call?  It can't be a race condition because we wait for the head call to finish before calling load.  If I make two identical resources, it works.
CC @lilleyse @OmarShehata

resource.clone.head() also works as a workaround.  So definitely some undesired state being saved across calls.

Perhaps something is not being re-initialized on the second call?

Without looking too closely, this sounds pretty likely.
The original problem was that 3D Tiles was holding onto request objects and it can be fixed in another way

Roll back https://github.com/CesiumGS/cesium/pull/8883
Add the fix here: https://github.com/CesiumGS/cesium/issues/4549#issuecomment-634503841
Keep the fixes in https://github.com/CesiumGS/cesium/pull/8889


[Inference] Add cast and op_functor for cuda build-in types

📌 Checklist before creating the PR

[ ] I have created an issue for this PR for traceability
[ ] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[ ] I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge
e.g. fixed #1234, closed #1234, resolved #1234

📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

This PR do the following things:
1、fix bloat16 bugs in rms_layer_norm
2、add functors for coda built-in types
💥 Checklist before requesting a review

[ ] I have linked my PR to an issue (instruction)
[ ] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[ ] I have performed a self-review of my code
[ ] I have added thorough tests.
[ ] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[ ] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.


names are not updating

i noticed that the names are not updating. The bot still displays the playernames from when i deployed the bot.
So lets say my ingame name is "test1" and the bot is getting deployed after that when i change my name to "Testdone1" it will always display the "test1" name in the leaderboard, even after 12 hours and even if i would deploy the bot again its the same result.

I've adjust the automatic caching to be handled by our own client instead of the cftools-sdk caching in this pull request, but it looks like the unique identifier for the leaderboard data is actually survivor names - during my testing with name changing a new data entry for the new, renamed name will be created instead of overwriting the data that belonged to the previous name. Therefor, this isn't actually a bug with this bot, but an expected result from the CFTools Cloud API, an result that we, the bot, do not currently have any control over.

I've changed the labels to help wanted and question, because I'm not completely sure this is something we don't have complete control over.
If anyone wants to do some debugging, change the DEBUG_LEADERBOARD_API_DATA variable in config/.env to true, restart the bot, use the leaderboard command, re-name in client server parameters, suicide in-game, use the leaderboard command again and compare the DEBUG tables displayed in the console.
I might do some more research later, but for now, this is on hold

Pull request will go through, but it's unrelated to this issue.

I've now looked into it, when a player renames using client parameters, the API creates a new data object for that player name instead of overwriting the old one. Therefor this is indeed not related to this specific application, but more a problem, or expected result, with the CFTools Cloud API. Closing this as there's nothing to be done about this on our side


Update canvas size only if needed

I did some profiling and found that it's a little better to not update size of canvas element every frame.
I tested by launching the game in small window and doing nothing. On my machine I have 11% speed increase.

Results of 5 seconds profiling

@kolumb thanks for the contribution! :+1:


Pub wrapper script should set DART_SDK automatically

Pub is run from a wrapper script that knows the location of the Dart SDK. This script should automatically set the environment variable, rather than requiring the user to set it manually.

This issue has been moved to dart-lang/pub#166.


fix: error thrown from dispatcher for partial messages

Fixes #247
This PR differs from #248, as the message isn't completely ignored.

I feel like this PR goes against the purpose of partials which is to allow developers to take advantage of D.JS structures when dealing with things they don't care to cache and avoid the .raw event.
Calling .fetch on every partial message forces them into the cache.
If you feel like having the message object is super necessary you could avoid this by geting the TextChannel and running TextChannel.messages.fetch(messageId, false)
In particular with Partial Messages the only two ways to receive them are from a reaction or an edit to an old message from before the bot was brought online. Nether are in my opinion compelling ways to invoke commando commands.

@SirDeadlystrike

I feel like this PR goes against the purpose of partials which is to allow developers to take advantage of D.JS structures when dealing with things they don't care to cache and avoid the .raw event.

I don't think that's the exact purpose of partials. As stated in the topic for partials "This allows developers to listen to events that contain uncached data, which is useful if you're running a moderation bot or any bot that relies on still receiving updates to resources you don't have cached -- message reactions are a good example." Caching partial data is the indented use, as calling fetch on the message will indeed retrieve the missing properties, so I don't really agree with the statement that the developers shouldn't care about cache.

In particular with Partial Messages the only two ways to receive them are from a reaction or an edit to an old message from before the bot was brought online. Nether are in my opinion compelling ways to invoke commando commands.

Say for instance, you edit an uncached message by taking advantage of partials you can trigger the response to the command through the handleMessage method. I feel like this is indeed a compelling way to invoke commando commands and it should definitely be utilised if the developer decides to opt-in for partials.
I have made a commit just now to the branch that will check if the oldMessage is present before trying to access the partial property (which obviously threw an error before), and also some handling via .catch(...) for cases when the message could not be fetched. Also, I made a slight modification to
https://github.com/discordjs/Commando/blob/3dfe6588918e683133bfaf2178f991a1f365ffd4/src/dispatcher.js#L142
so that edited partial messages will now be able to run commands.
Please feel free to share any concerns or thoughts on this.

@izexi

Say for instance, you edit an uncached message by taking advantage of partials you can trigger the response to the command through the handleMessage method. I feel like this is indeed a compelling way to invoke commando commands and it should definitely be utilised if the developer decides to opt-in for partials.

How many users realistically edit messages with the intent to trigger commands? From my observations most users will issue a new command instead of editing an existing one. The few edits I have ever seen where people editing a misspelled command within a few seconds of issuing the source message. In my opinion this is already an edge case but one that commando supports natively all the same.
However, if the oldMessage was a partial the most likely reasons would be that the bot was offline or denied read perms to the source TextChannel. In both these cases and referencing above my observation for how normal users tend to interact with bots and the rare command edit. To me it would seem that in this case there is also an extremely high chance that bot will never get these messages to begin with partial or otherwise, because the bot would have to either come online, or have its permissions adjusted in the span of time between when a user issues the source command and makes the edit. This makes me wonder why do we need partial messages in the scope of commandos messages parsing.
For curiosity sake, while I was trying to figure out what would cause partial messages as well as debuging this error in the first place I attached a small logger to my bot to find out the common causes of a partial. What I found was Reactions to older messages (For what I can only assume are role systems) was the biggest source, and oddly enough, giveaway bot was number 2 with its constant updating of giveaway timers.
Overall, I think this your proposal would allow for a neat feature, however I really don't see its use case and It would result with extremely old messages and more annoyingly messages from other bots filling up the message cache.

@SirDeadlystrike I see where your coming from and I agree on most aspects, hence I will go ahead and close this PR. I may re-open in future if I decide to come up with an alternative solution or if any maintainers have any comments regarding this.


kong' s api  rule with both request_host and request_path at the same time,it works?

indeed ,many time our api gateway may serve multi domain and one domain with multi path which one path  need different  plugin to do something

Hi @luofanyuguai , It doesn't work.
It got answered on the issue https://github.com/Mashape/kong/issues/1056 when I asked about strip_request_path with request_host:

This is currently expected, since request_host has the priority over request_path when routing a request. strip_request_path is only triggered when routing happens with the request_path. ...

in future, can support?

@luofanyuguai
if you provide both a request_host and a request_path then Kong will first try and resolve on the hostname, if it fails, it will match on the request_path.
So configure these apis;

request_host=domain1.com, no request path
request_host=domain2.com, request_path=/path2/
request_path=/path3/, no request_host

These will the matches be;

http://domain1.com/whateverthepath/  --> 1, on request_host
http://domain2.com/whateverthepath/  --> 2, on request_host
`http://somedomain.com/path2/  --> 2, on request_path
`http://somedomain.com/path3/  --> 3, on request_path

Each of the above 3 configurations can get their own plugins. If you define consumers, then even each consumer can get their own plugins.
So I think you should be fine, but that depends on the details of your configuration. What @chicoandrade referred to is that the strip_request_path  setting will only be applied if the match in on request_path (so in the above 4 examples, only the last 2)

Considering this answered.


fix card block layout and card layout for tags placement

@ecuarezma Just checking the status of this. Is it ready for review?


DOCK-2105: Render newlines in GitHub app log messages

Description
This PR changes the UI so that newlines in the github apps log messages are formatted as newlines, rather than whitespace.  The log message style is changed so it preserves whitespace and is rendered in a small, monospace font, with a tighter-than-usual line height to fit more output in the available space.  The formatting is similar to how the message might look if it was within a <pre> tag.

These changes will improve the readability of multiline messages, and preserve the formatting of exceptions with useful, preformatted messages, such as [some of] those that emerge from deep in the YAML parser.
This PR was motivated by Kathy's review ticket feedback, combined with my earlier realization that it was The Right Thing to Do.
Issue
https://ucsc-cgl.atlassian.net/browse/DOCK-2105
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain

Based on the screenshot, it would be nice if you could indent the children of "In version...". It doesn't matter for one repo->one workflow, but would be useful for one repo -> many workflows.
But I don't think you can easily tell. And this is much better that what it was. So, it's fine, just brainstorming.
What I mean is, now it's:
In version foo of workflow goo
A validation error
In version foo of workflow bar
A validation error
Another validation error

to:
In version foo of workflow goo
  A validation error
In version foo of workflow bar
  A validation error
  Another validation error

Also see my comment on the web service ticket with a suggestion on the wording.

The messages are formatted by the webservice, so we can do the indenting pretty easy (in the other PR).


warmup runs and print average time

Useful steps when the script is used to measure performance.

@lcskrishna for awareness - once this lands you can update your helper tool :-)


Unity 5.6.1p4 Released

Unity 5.6.1p1 Released
HoloLens Specific Fixes:

(899087) - Windows Store: Fixed a crash when animating scripting objects on .NET scripting backend.
(866141) - Windows Store: Fixed an out of bounds array access assert in Mesh code.
(897807) - Windows Store: Fixed Build & Run with VS2017.
(888029) - Windows Store: Fixed building player when some files (like UnityOverwrite.txt, WSATestCertificate.pfx, project.lock.json) are set to read-only.
(880362) - Windows Store: Fixed issue where pasting an item in the InputField always pastes the item that was first in the clipboard before launching the player.
(875834) - Windows Store: Fixed issue where pressing and holding Xbox One controller button A led to false keydown events during the first frame of a Scene.
(892653) - Windows Store: Fixed serialization when a serializable type derives from another serializable type in another assembly that has a serializable private field.

Unity 5.6.1p2 released.
HoloLens Specific Fixes:

(908990) - Fixed an issue where plugins would only clear part of the framebuffer when single pass stereo is enabled. This also fixes VRWorks' Single Pass Stereo and Lens matched shading.

As always only use patch releases if your project experiences one of the bugs in the full patch.
Known Issues:

(916838) - Transform handles are lit and hidden by light source - this will be fixed in one of the patches soon.
(915659) - Crash building player if project has shaders with errors, this one regressed in this patch. This will be fixed in the next patch 5.6.1p3.

Unity 5.6.1p3 released
HoloLens Specific Fixes:

(916281) - Windows Store: Fixed IL2CPP not being able to build C++ code with VS 2017 Update 2.

Unity 5.6.1p4 released
HoloLens Specific Fixes:

(871541) - Windows Store: Fixed a crash which happened when retrieving WheelHit.Collider after having previously set it to null on .NET scripting backend.
(909977) - Windows Store: Fixed a potential stack overflow when building a project with a large custom cursor.
(914797) - Windows Store: Fixed exceptions thrown in OnGUI callback not being logged on .NET scripting backend.
(912074) - Windows Store: Fixed System.Numerics.dll not being referenced by scripts when using IL2CPP scripting backend.
(909703) - Windows Store: Fixed UNetWeaver crashing when using .NET 4.6 API Compatibility level with IL2CPP scripting backend when deriving from .NET 4.6 specific types.
(902234) - Windows Store: Fixed WorldAnchorStore.GetAsync crashing the player.

Unity 5.6.2f1 released
HoloLens Specific Fixes:

Fixed an issue where plugins would only clear part of the framebuffer when single pass stereo is enabled. This also fixes VRWorks' Single Pass Stereo and Lens matched shading. (908990)
IL2CPP: Allow now the Guid attribute to be used on generic types. (914197)
IL2CPP: Applied a fix to prevent the following exception occuring on some projects during runtime: 'NotSupportedException: IL2CPP encountered a managed type which it cannot convert ahead-of-time. The type uses generic or array types which are nested beyond the maximum depth which can be converted'. (905659)
IL2CPP: Fixed an issue which caused IL2CPP to fail to convert assemblies if two non-existing methods with the same declaring type were referenced from any assemblies. (917343)
Mono: Corrected a crash in the C# compiler when two or more overloaded operators were used in the same statement. (910302)
Mono: Corrected an invalid C# compiler error with generic types in compiler generated code (like lambdas and enumerators). The error from the C# compiler often includes this text: "There is no boxing or type parameter conversion from...". (847798)
Mono: Fixed Mono C# compiler on Windows when using "non-standard" locales. (910101, 875075)
Mono: Prevent a crash in a crash in mono_class_from_mono_type when using "new Enum[]{}" array in the script. (914470)
Mono: Prevent an intermittent crash in Unity when the managed debugger is attached. (914171)
Windows Store: Fixed a crash when animating scripting objects on .NET scripting backend. (899087)
Windows Store: Fixed a crash which happened when retrieving WheelHit.Collider after having previously set it to null on .NET scripting backend. (871541)
Windows Store: Fixed a harmless assert which happens when building for Universal 8.1 SDK. (903232)
Windows Store: Fixed a potential stack overflow when building a project with a large custom cursor. (909977)
Windows Store: Fixed an out of bounds array access assert in Mesh code. (866141)
Windows Store: Fixed Build & Run with VS2017. (897807)
Windows Store: Fixed building player when some files (like UnityOverwrite.txt, WSATestCertificate.pfx, project.lock.json) are set to read-only. (888029)
Windows Store: Fixed exceptions thrown in OnGUI callback not being logged on .NET scripting backend. (914797)
Windows Store: Fixed IL2CPP not being able to build C++ code with VS 2017 Update 2. (916281)
Windows Store: Fixed issue where Ctrl+C would delete input field instead of copying it. (881845)
Windows Store: Fixed issue where pasting an item in the InputField always pastes the item that was first in the clipboard before launching the player. (880362)
Windows Store: Fixed issue where pressing and holding Xbox One controller button A led to false keydown events during the first frame of a Scene. (875834)
Windows Store: Fixed serialization when a serializable type derives from another serializable type in another assembly that has a serializable private field. (892653)
Windows Store: Fixed System.Numerics.dll not being referenced by scripts when using IL2CPP scripting backend. (912074)
Windows Store: Fixed UNetWeaver crashing when using .NET 4.6 API Compatibility level with IL2CPP scripting backend when deriving from .NET 4.6 specific types. (909703)
Windows Store: Fixed WorldAnchorStore.GetAsync crashing the player. (902234)


⚠ Bofrost.ch has degraded performance

In 305735b, Bofrost.ch (https://www.bofrost.ch) experienced degraded performance:

HTTP code: 200
Response time: 1925 ms

Resolved: Bofrost.ch performance has improved in 57f21d5.


If 'data' is not in the DHT, CLI reports Unexpected Error

{
"error": "Unexpected error, 'data'",
"help": "Try getting latest version of CLI with "sudo pip install blockstack --upgrade""
}
Reported when client is up to date, yet data has not yet made it to the DHT:
{
"id": {
"profile": {},
"owner_address": "address",
"verifications": [],
"error": "Data not saved in DHT yet."
}
}
cli should respond with error from resolver.

Thanks for reposting this! Yep, we need an error message for this.

DHT is now replaced with the Atlas network.


The tick mark is rendered to be `

I recently found that when the text I want to render contains tick marks, it will be rendered to ` for some reason. I am wondering if this is the designed behavior.
To reproduce
const snippet = "This snippet has `tick marks` in it";
const template = "The snippet I want: {{snippet}}, it doesn't look right.";
const rendered = mustache.render(template, { snippet });
// The rendered output replaces ` with ` for some reason.

If this is the designed behavior, what is the work around if I want to render tick marks other than do a replace after the result has been rendered.
Thanks for the awesome package :)

Hi there!
Yes, the escaping is by design so to speak, it's part of the mustache spec.
All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple mustache: {{{name}}}.
You can also use & to unescape a variable: {{& name}}.
Does that answer your question?

ohhh I see. yes! that answers my question! Thanks so much!


Refactor

First pass at refactoring.  Some cleanup still required, but code does work on staging as-is.  Would like to further separate commands and data, but am not quite there yet.

@BethanyG - outside of the current merge conflicts, I think I see the direction you're going 👍
Other than that, I also feel like this might be all over the place and it might be beneficial if we break this huge task down to multiple issues? A few steps I can see:

[ ] Remove unnecessary code / dependencies for now. I.e.:

Axios? I don't really see where we're using it or did I miss it?
I don't think we need Reminders
Remove other test commands parameters (like FOO, or PYTHON)

[ ] Separate messages to their own JSON file and import them where necessary.

☝I think these are some low hanging fruits that should give us some pretty big wins from a cleani up standpoint. From there and should give us a clearer direction. Thoughts?

[ ] Remove unnecessary code / dependencies for now. I.e.:
- Axios? I don't really see where we're using it or did I miss it?
- I don't think we need Reminders
- Remove other test commands parameters (like FOO, or PYTHON)

Axios  is used wherever there is a POST to be sent back to Slack - so I don't think we can do without it, unless you have a more lightweight alternative?   See the following for usage:

Welcome.js, lines 52 & 59
inital.js, line 48
anywhere else we intend to POST back to Slack with content

Reminders would theoretically be sent if someone didn't acknowledge our Code of Conduct.  This is a larger community discussion, but I think that if someone doesn't want to abide by our COC, then they aren't welcome in the community.  The reminder is theoretically set up to run and then create a list of users to poke who aren't in the DB as initially agreeing to the COC - and eventually, the app wold be made to automatically deactivate Slack accounts if the users don't acknowledge our COC.
Other test Commands are in progress.  They will eventually be parsed out into their own endpoints, or clarified.  I just haven't gotten there yet.  I will be logging some issues around that shortly for tracking purposes.

[ ] Separate messages to their own JSON file and import them where necessary.

I tried that, and was having difficulty getting the SLACK_TOKEN parameter in each message to be read/created correctly when importing that message JSON from an external file.  The message appeared to be processed correctly in the code, but would then fail authorization on Slack's end.  I could really use some help figuring out how to properly read and insert the token when the message is external.  Until then, the code only works when the message is in the same file with the function that wraps it up and sends it.


"Trying to acquire null object" std::runtime_error on every run

Greetings,
following the comment on #26, I'm opening a new issue on this.
We're currently testing the latest development builds of tinyb on different systems (x86, ARM) and we're constantly facing the aforementioned error only on our ARM boards.
That error is thrown as soon as some operation on the adapter object obtained from the BluetoothManager is invoked from our Java code. We performed various debugging sessions and we've seen it consistently happening on the first call to some modifier of the bluetooth adapter instance, like BluetoothAdapter.getPowered(), but also BluetoothManager.setDefaultAdapter().
Using gdb I was able to determine that the problem seems to arise from the getInstanceField function inside the helper.cxx file: this functions returns a null pointer when called inside the other functions/methods, like getInstance, setInstance etc., causing the runtime_error to be thrown.
Here are some additional notes:

I tried using different bluez versions (5.23, 5.36, 5.37, 5.40) to no avail;
the bluetooth adapter is indeed working using bluetoothctl from the command line;
the bluetooth adapter is correctly found by tinyb, but any other operation on it raises the error;
correct DBUS policies for Bluez GATT interfaces are in place;
this happens on kernel v4.4 and v4.5

Given that we've seen this issue happening only on ARM hardware, could it be something endianness-related?
EDIT: corrected "modified" to "modifier"

Hi Alan, are you running on 32bit ARM or 64bit, and what Java version are you running and compiling with?
We'll look into the issue, it seems really weird :)

Sorry, forgot to mention that kind of info.
We're running on ARMv7 processor (32 bit) and using Oracle JDK 8u91.

This might be a long shot, but can you try this patch: https://github.com/intel-iot-devkit/tinyb/commit/ce6896d91b526d660bc599fa80e05d9adf308194?

I did a couple of tests but the error stays the same.

I also tried using OpenJDK 8u91 (to exclude issues with the JNI implementation in Oracle JVM), but I get the same error.

Did previous versions work, or was the bug introduced recently?

I don't know, I only did tests on ARM hardware with the latest versions.
Will try to see if I can arrange some tests on older versions...

My first commit fixed one of the issues, but it seems long has been used instead of jlong in a few other places. It seems to be the root cause of the issue and I should hope to have a fix out soon.

I have pushed the commit with the identified issues:  a739bf4, hopefully it fixes your problems. Let me know if the issues persist.

It's definitely a step in the right direction, because now I'm able to scan for devices and perform other operations that before caused the runtime error.
However, on the first call to BluetoothGattCharacteristic.readValue a SIGSEGV is raised and the entire JVM is torn down. The stacktrace is this:
#0  __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
#1  0x76ebb638 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#2  0x76ebc33a in __GI_abort () at abort.c:89
#3  0x767f24fc in os::abort(bool) () from /opt/jdk1.8.0_91/jre/lib/arm/server/libjvm.so
#4  0x7695b594 in VMError::report_and_die() () from /opt/jdk1.8.0_91/jre/lib/arm/server/libjvm.so
#5  0x767fc494 in JVM_handle_linux_signal () from /opt/jdk1.8.0_91/jre/lib/arm/server/libjvm.so
#6  0x767ef9d8 in signalHandler(int, siginfo*, void*) () from /opt/jdk1.8.0_91/jre/lib/arm/server/libjvm.so
#7  <signal handler called>
#8  0x76620d40 in jni_ThrowNew () from /opt/jdk1.8.0_91/jre/lib/arm/server/libjvm.so
#9  0x501cdfba in JNIEnv_::ThrowNew (this=0xc10d3c, clazz=0x0,
    msg=0x10e0dd4 "GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method \"ReadValue\" with signature \"\" on interface \"org.bluez.GattCharacteristic1\" doesn't exist\n") at /opt/jdk1.8.0_91/include/jni.h:822
#10 0x501cde8c in raise_java_bluetooth_exception (env=0xc10d3c, e=...) at /home/ubuntu/sorgenti/tinyb/java/jni/helper.cxx:214
#11 0x501ce3fe in Java_tinyb_BluetoothGattCharacteristic_readValue (env=0xc10d3c, obj=0x4b5038ec) at /home/ubuntu/sorgenti/tinyb/java/jni/BluetoothGattCharacteristic.cxx:89
#12 0x73dcb9d0 in ?? ()

It seems like I am somehow missing the ReadValue method with an empty signature in the Bluez DBUS interface...

That seems to be a compound issue. First, it can't find ReadValue, which is very weird, but then, it can't find the tinyb/BluetoothException class to throw an exception. I've just tried making readValue throw an exception from C++, but it seems fine, so I'll have to look into it. But it seems to be a separate issue

Apparently BlueZ recently updated the ReadValue method to take arguments. I'll have to figure out how to make it work in a compatible mode.

I got it to work (more or less) by downgrading my bluez version from 5.40 to 5.37 (default version bundled with Ubuntu 16.04). I also noticed that I was using an outdated tinyb.jar version, so these two actions brought me to an almost working state.
There are still some issues with specific GATT characteristics, but nothing that causes a JVM crash for now.
I'm now compiling version 5.39 to further test those GATT characteristics.

I'll close this issue and start a new one for 5.40 compatibility.


This PR is an attempt at allowing NBitcoin to initialise a signet with a custom challenge (no more flakey faucets).
I got this approach to work with nbxplorer to index my custom signet blockchain but despite that I'm not sure if this is the ideal approach or not. Happy to take any advice on alternatives.

Does https://github.com/MetacoSA/NBitcoin/pull/1222 help you?

Thanks for the follow-up.

Does #1222 help you?

I don't think so. Isn't MutinyNet just hard coding another signet variation?
This PR is so the hard coded parameters are not required and NBitcoin can be used with any arbitrary signet challenge.

@sipsorcery concept ACK, but can you rebase as I merged https://github.com/MetacoSA/NBitcoin/pull/1222 which moved some stuff around

@Kukks I was looking at the signet and mutinynet initialisation and the only differences are:

chain name and aliases
POW target spacing
network seeds
challenge

One thing not different, that I suspect should be, is the genesis block. I think NBXplorer uses it to detect the start of the chain. MutinyNet can't be using the same genesis block as the default signet chain given they have different block signing keys. Might not matter if NBXplorer is not being used.
I could add another partial class to initialise a custom signet but it would seem better to create a single bitcoin signet class that can be initialised with different options for the parameters above. wdyt?

ACK good idea, we also use a custom signet.


Limit draining testnet account tokens from helper account

Was thinking about this the other day and opened an issue on workspaces-rs side (https://github.com/near/workspaces-rs/issues/215), but feels like this could just be implemented directly in the helper itself.
The idea is to slow down the draining of testnet tokens for dev accounts by scheduling a deletion of the dev account after a certain amount of time using something like cron.cat and return the funds to the helper account. To me, it feels like a lot of dev accounts that get created just become one off experiments that are forgotten about. So what would be cool is if our default behavior for creating accounts through the helper contract is to set a time limit till deletion, but if its an account created through wallet, we have an additional parameter where we set the time limit to be indefinite or do not schedule the deletion at all. We'll definitely have to warn users afterwards that when doing dev-deploy, their account will be deleted after a certain amount of time.
And on top of the scheduling, we can have some sort of smart scheduling where we have cron.cat check every set interval to see if the account is active or not, then if its not, proceed to delete.
This isn't going to fix the whole problem of complete drainage of the helper contract funds, but slows it down so we potentially don't have to do a hard fork of the chain to increase the overall testnet token supply.
What does everyone think about this?

Fully support having a timed function delete the dev accounts after a given time frame. I do think that if we were to do this, we should also add disclaimers whenever these accounts are created, and also in the function descriptions that create these accounts, and the docs.
As for how, I would prefer the machine hosting the helper service to have its own cronjob that goes through the dev accounts, looks at how old they are, then deletes depending on age. This since the croncat service would also need to be topped up in $NEAR periodically as to keep it running, which would also require a cron in the helper's machine I think. But I'm not precious about this.

As for how, I would prefer the machine hosting the helper service to have its own cronjob that goes through the dev accounts, looks at how old they are, then deletes depending on age. This since the croncat service would also need to be topped up in $NEAR periodically as to keep it running, which would also require a cron in the helper's machine I think. But I'm not precious about this.

That works too. I initially suggested cron.cat so we could keep it decentralized, and also not need to potentially maintain extra state for these account keys that we would have to keep track of to do the deletion. cron.cat might need to be topped off, but think we could top it off every single time we schedule to avoid having to periodically refill the task balance

In a standard workflow, dev acc is not generated on each dev-deploy call, it is reused.  Let's delete it after X time of inactivity.

check if NEAR CLI and other tools logic work (if somebody left the laptop for a year and then came back, it should recreate an account saved in his env)

this time should not be short, I'm voting for 30+ days

I initially suggested cron.cat so we could keep it decentralized, and also not need to potentially maintain extra state for these account keys that we would have to keep track of to do the deletion.

The issue with this is if you want it to be handled by inactivity, you would still need a separate process to track this and modify the scheduled transaction, would you not? Croncat wouldn't be able to check activity from their contracts, do they?

check if NEAR CLI and other tools logic work (if somebody left the laptop for a year and then came back, it should recreate an account saved in his env)

Would you assume this re-deploys previous code and sets state to what it was before?
Generally, these ideas seem nice in theory, but add a lot of complexity and would be a frictional point if someone is expecting their dev account to remain active and not have to continually check and ping it. I personally have deployed some test contracts and gone back months later to re-use or check back in on how it's been used.

Would you assume this re-deploys previous code and sets state to what it was before?

Yes... but it seems magical and can lead to unpredictable behavior from the developer's point of view. Maybe it's better to postpone this decision and look for non-breaking transparent solutions.

The issue with this is if you want it to be handled by inactivity, you would still need a separate process to track this and modify the scheduled transaction, would you not? Croncat wouldn't be able to check activity from their contracts, do they?

that is true, unless there's some magical oracle out there that gives us transaction data 😅 .

Generally, these ideas seem nice in theory, but add a lot of complexity and would be a frictional point if someone is expecting their dev account to remain active and not have to continually check and ping it. I personally have deployed some test contracts and gone back months later to re-use or check back in on how it's been used.

Then how about just have it be scheduled to be deleted after X amount of time. No need for this smart scheduling then since it adds all this complexity with tracking for inactivity. Users will be forced to set a flag if they want to keep their dev accounts longer, with a gigantic warning in the CLI/Workspaces/WhateverTooling(TM) that their account will be deleted within a certain amount of time.

Maybe it's better to postpone this decision and look for non-breaking transparent solutions.

There were a couple discussed last I heard:

forking testnet to increase the token supply but that had some caveats to them (@mm-near you said a couple things at nearcon about the disadvantages here).
Staking the testnet tokens to steadily increase the supply in the helper contract was another potential solution but that also had potential problems if dev-accounts being created outpaced the staked generated tokens.

@ChaoticTempest all 3 options will not guarantee the outpacing problem.  It means that we can implement all of them. Probably 1 by 1, maybe we will be lucky. I like the staking approach, then - account deletion.


Feature Request for option to sort projects by date

Hello,
I've been testing your plugin out and find it very useful for what I'm doing but I have a need to sort project by their timeline not simply list them in alphabetical order.
My intention is to add a few custom fields to Project and Versions to allow sorting by Project Start or End date.
How do I go about submitting a formal feature request or perhaps having you (hiring you) to modify your plugin for my purposes?
Thank you in advance.

Hello @Saylrman64,
Glad to know that plugin is useful! Thank you.
According to your feature request, it sounds useful and looks like it is it possible. But the truth is that we don't use this plugin in our company now and put the development of this plugin on pause. So, we can't guarantee any timeline when any new feature will be added.
We would gladly to customize it for you or even develop new plugin for your needs with help of my teammates from @ergoserv on some kind of a commercial basis. Please, drop me a line at<EMAIL_ADDRESS>for further discussion.
Thank you.

Hello sir,
I emailed the address<EMAIL_ADDRESS>and got a failure notice. See below.
I've verified my email server using MXToolBox. com and I'm not in any spam lists or blacklists.
How to proceed?
Error Message:
Your email to group<EMAIL_ADDRESS>was rejected due to spam classification. To address this issue: * Contact the owner of the group, who can choose to enable message moderation instead of bouncing these emails. * Set up SPF records for your sending domain if you have not done so already. Instructions for both steps can be found here: https://support.google.com/a/answer/168383.

Original Message:
Hello,
I was directed by stgeneral on GitHub to eamil you folks about some possible changes to the redmine-progressive-projects-list plugin.
I would like to add a feature and I'm coming to you first for the changes as you folks wrote the plugin.
I understand there would be an associated cost and I am willing to look into this to improve the plugin. I would even allow it to become part of hte master if you feel the feature is of use.
What I'd like is to do is add the option to sort projects and versions according to their Desired Start Date, or their Desired Completion dates, not just the default Alphabetical listing.
I want this feature as it makes more sense for the business strategy and initiative planning process.
The option would require certain custom fields to work.
The required custom fields are as follows:
Projects
Desired Begin Date
Desired Completion Date
Versions
Desired Begin Date
The selection of the sort by default Alphabetical or by the other custom field options would ideally be in the sidebar along with either the core section for "Projects" or in this plugins section "Preferences".
Can you please tell me if this is something you are willing to do and possibly what the time or money cost would be?
Thank you
Manuel Palachuk**

Manuel, that's strange that your email was bounced. In this case, contact me please via linkedin (https://www.linkedin.com/in/dmitrybabenko/) or skype (ergoserv).
Meanwhile, we'll take a look at your feature request. For the first view it looks like something we'll be able to do.
Thank you.


Experiment with kbatch

kbatch notes
kbatch docs
What we tested

Simple example
Reading from public cloud storage and runnning a computation

[ ] Check back on my-job-read-write-osn-gfzbm-4vftc

What we are missing

Reading/Writing to 'our' buckets (I assume this would work out of the box if set up on the LEAP hub?)
Using different machine types
Can we chain jobs? E.g. run preprocessing.py and then train_model.py

Verified the basic hello.py script Yuri sent
Verified can run externally hosted quay images
kbatch job submit --name=my-image-job  --image=$MY_CUSTOM_IMAGE --command='["python", "my_image.py"]'   --code="my_image.py"  -o name

my_image.py:
import diffusers
import torch
import torch.nn as nn
print(diffusers)

Next step is running in conjunction with papermill (#5 )

Unclear how to pass in multiple code files (script as well as jupyter notebook)
kbatch job submit --name=my-papermill-test --image=$MY_CUSTOM_IMAGE --command='["python", "papermill_test.py"]'   --code="papermill_test.py" --code "notebook_test.ipynb" -o name
gives me python: can't open file '/code/papermill_test.py': [Errno 2] No such  file or directory


add : random text generation for typing speed check

@rectangle-man Could you please review and merge the above pull request

Or please suggest any changes if required


fix(rbac): enable create button for default role:default/rbac_admin

What does this pull request do:
Enable create button for default role:default/rbac_admin

/approve
verified the changes, works as expected
/cc @PatAKnight


"Do not use Development Server in Production Environment"

Miguel,
I have a very basic knowledge of Python and have just gone through your first article. While I can get the local page to work correctly, I am getting this warning along with "Use a production WSGI instead". Is this something that you addressed and I may have missed?
Thanks

needed to run a command that reads
$ export FLASK_ENV=development

FLASK_ENV is a new thing that was introduced in Flask 1.0 a couple of days ago. The warning that you get is correct, the development server should not be used in production. But you are using it for development, so it is not a problem.


Migrate away from vue-multiselect

vue-multiselect has many open issues and appears to have stagnated in it's addition of a11y support. Consider another multi-select plugin with better a11y support and more active development.
https://www.primefaces.org/primevue/showcase/#/multiselect for example

https://github.com/sagalbot/vue-select

PR: #1419

commit comments referenced the wrong ticket (#191) by accident

:+1:


Enable SSO / SAML support in Rocket.Chat Desktop with GSSAPI

It would be great to be able to use SSO / SAML for authentication of the client. This would allow a seamless log in for users.

Please test if the problem persists with our latest release. I will be closing the issue but if there is any problem yet, we will open it again.


(PUP-2929) Optimize function loader performance

This PR contains a series of performance improvements. Each commit covers one specific improvement. The details of each improvement can be found in the commit message.
The 'Use setXXX instead of repeated addXXX ...' commit includes some changes to RGen. A PR with those changes has been submitted here: https://github.com/mthiede/rgen/pull/22

CLA signed by all contributors.

Are there any benchmark results that show how much this speeds things up?

Are benchmarks added to the repo yet? They should go in first to enable before/after comparisson.

Found the relevant benchmarks. Looks like a 4% improvement on type inference and a whopping 3.6x improvement on function loading.

Benchmarks have been added. I mention that in the JIRA.

The 4% improvement on type inference is actually a lot more (about 50%) since the previous code was based on the flawed deep copy. Try without the optimization and with the marshal/unmarshal version of the copy. That will give you the real numbers.

Nice, this has an 11% speedup on mixed evaluation as well!


publish<EMAIL_ADDRESS>

Requested by: @AbhiPrasad
Quick links:

View changes
View check runs

Assign the accepted label to this issue to approve the release.
Targets

[x] npm
[x] github
[x] gcs
[x] registry
[ ] aws-lambda-layer

Error:  Cannot publish AWS Lambda Layer: no packages found

Expected?

Yes, AWS publishing failure has happened with beta releases before. I wonder if we should skip it for beta/alpha releases?

@AbhiPrasad you can skip it by checking the checkbox before getting the accepted label applied.
Since this is expected, closing the issue :)


The app doesn't load at all

Hi, Chris. I just downloaded your GB Studios app, but it won't start. I tried all the ones that work for Windows, and I am using a Windows laptop, by the way, but no matter what I do, it doesn't work. It won't load the app at all. I dunno if it's a bug, but, if it's not loading, then what is it.
I tried both the 64 and 32 versions with and without the automatic installer, but, neither seems to want to work. My laptop just ignores the program. Am I doing something wrong?
 I don't know a thing about coding, or ASCII. I just wanted to make Gameboy games, and my computer isn't having any of it.

We're gonna need more info about your computer, OS, location of install files, AV in use, screenshot etc - to be of any help to you.

It sounds like your antivirus or windows settings are stopping the installer or standalone app from starting up. Try disabling your antivirus first to see if it starts then?

I have the same problem, I forced the setup, and the soft don't lunch with the shortcut.
But, I can launch the soft with the setup 107Mo .exe


Inspect.DateTime conflict in Elixir 1.5.0-rc.1 with Timex 3.1.21

Elixir 1.5.0-rc.1 now implements Inspect for DateTime.
When I compile a project using Timex 3.1.21 and Elixir 1.5.0-rc.1 I get the following warning:
warning: redefining module Inspect.DateTime (current version loaded from /Users/JPC/.asdf/installs/elixir/1.5.0-rc.1-otp-20/bin/../lib/elixir/ebin/Elixir.Inspect.DateTime.beam)
  lib/datetime/inspect.ex:14

Then, if I try to build a release with Distillery I get the following error:
==> Release failed, during .boot generation:
        Duplicated modules:
        'Elixir.Inspect.DateTime' specified in timex and elixir

Maybe Inspect.DateTime should not be present if we compile Timex with Elixir 1.5.0-rc.1 and later?

Yeah I'll need to conditionally implement it depending on the version of Elixir being used. Thanks for reporting! I'll get a fix pushed today.

This is fixed in master, and staged for release in 3.1.22 - just waiting for CI :)

Thank you @bitwalker :) (And by the way, thanks for UTF-8 in conform too!)

No problem, glad to help!


[BUG]CryptographyClient failed to gettoken when SNI configured but it works if i upload the certificate to AAD app

Describe the bug
CryptographyClient failed to gettoken when SNI configured but it works if i upload the certificate to AAD app
This is while doing client side encryption for storage blob data using keyvault key
Expected behavior
When subject name Issuer is configured, client side encryption should work
Actual behavior (include Exception or Stack Trace)
What is the actual behavior?
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)
Below is the details
If i upload cert to AAD app instead using SNI,  it works  but we need with SNI, below is the token credential
TokenCredentialOptions tokenCredentialOptions = new TokenCredentialOptions();
               tokenCredentialOptions.AuthorityHost = new Uri("https://login.windows.net/");
               X509Certificate2 certificate = CertificateHelper.GetCertificateBySubject(out var message, config.GetRequiredSetting("AAD_Certificate_SubjectName"));
               TokenCredential credential = new ClientCertificateCredential(
                   "72f988bf-86f1-41af-91ab-2d7cd011db47",
                   "4fc6e86a-8a62-4ba8-9254-a20db9b6c6f9",
                   certificate,
                   tokenCredentialOptions);

//Create CryptographyClient using Key Vault Key
               CryptographyClient cryptographyClient = new CryptographyClient(clientSideKeyVaultKeyUri, credential);

SO i thought issue in generating a token while SNI configured and SNI was not configured properly, so i tried to generate a token using below code and its successful, that mean SNI was configured properly
var _clientAssertionCertificate = new ClientAssertionCertificate("4fc6e86a-8a62-4ba8-9254-a20db9b6c6f9", certificate);

  var authContext = new AuthenticationContext(new Uri( "https://login.windows.net/",
                   "72f988bf-86f1-41af-91ab-2d7cd011db47");

            AuthenticationResult token = await authContext.AcquireTokenAsync(  "https://vault.azure.net", _clientAssertionCertificate, true);

So not able to figure out what is the issue
[5:47 PM] Pitta Prabin Patro
Also i checked SNI was configured properly
Deserialized JSON Data for TrustedCertificateSubjects
[
{
"authorityId": "00000000-0000-0000-0000-000000000001",
"subjectName": "billingpipeline-int-aad.int.applicationinsights.ame"
}
]
So suspecting bug how CryptographyClient is generating token or some parameter is missing

which is not documented or i am not able to find that

or i am missing something

CALLSTACK
call stack is
at Azure.Identity.CredentialDiagnosticScope.FailWrapAndThrow(Exception ex)
at Azure.Identity.ClientCertificateCredential.GetToken(TokenRequestContext requestContext, CancellationToken cancellationToken)
at Azure.Security.KeyVault.ChallengeBasedAuthenticationPolicy.d__9.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Azure.Security.KeyVault.ChallengeBasedAuthenticationPolicy.d__8.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ValueTaskAwaiter.GetResult()
at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted(ValueTask task)
at Azure.Security.KeyVault.ChallengeBasedAuthenticationPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)    at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)
at Azure.Core.Pipeline.RetryPolicy.d__11.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Azure.Core.Pipeline.RetryPolicy.d__11.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ValueTaskAwaiter.GetResult()
at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted(ValueTask task)
at Azure.Core.Pipeline.RetryPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)    at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)
at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)    at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)
at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)    at Azure.Core.Pipeline.HttpPipelinePolicy.ProcessNext(HttpMessage message, ReadOnlyMemory1 pipeline)
at Azure.Core.Pipeline.HttpPipelineSynchronousPolicy.Process(HttpMessage message, ReadOnlyMemory1 pipeline)    at Azure.Core.Pipeline.HttpPipeline.Send(HttpMessage message, CancellationToken cancellationToken)    at Azure.Core.Pipeline.HttpPipeline.SendRequest(Request request, CancellationToken cancellationToken)    at Azure.Security.KeyVault.KeyVaultPipeline.SendRequest(Request request, CancellationToken cancellationToken)    at Azure.Security.KeyVault.KeyVaultPipeline.SendRequest[TResult](RequestMethod method, Func1 resultFactory, CancellationToken cancellationToken, String[] path)
at Azure.Security.KeyVault.Keys.Cryptography.RemoteCryptographyClient.GetKey(CancellationToken cancellationToken)
at Azure.Security.KeyVault.Keys.Cryptography.CryptographyClient.Initialize(String operation, CancellationToken cancellationToken)
at Azure.Security.KeyVault.Keys.Cryptography.CryptographyClient.WrapKey(KeyWrapAlgorithm algorithm, Byte[] key, CancellationToken cancellationToken)
at Azure.Security.KeyVault.Keys.Cryptography.CryptographyClient.Azure.Core.Cryptography.IKeyEncryptionKey.WrapKey(String algorithm, ReadOnlyMemory1 key, CancellationToken cancellationToken)    at Azure.Storage.Cryptography.Models.EncryptionData.<CreateInternalV1_0>d__20.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Azure.Storage.Cryptography.ClientSideEncryptor.d__3.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()    at Azure.Storage.Blobs.BlobClientSideEncryptor.<ClientSideEncryptInternal>d__2.MoveNext()    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult()
at Azure.Storage.Blobs.BlobClient.d__29.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()    at Azure.Core.Pipeline.TaskExtensions.EnsureCompleted[T](Task1 task)
at Azure.Storage.Blobs.BlobClient.Upload(Stream content, BlobHttpHeaders httpHeaders, IDictionary2 metadata, BlobRequestConditions conditions, IProgress1 progressHandler, Nullable`1 accessTier, StorageTransferOptions transferOptions, CancellationToken cancellationToken)
at Azure.Storage.Blobs.BlobClient.Upload(Stream content, Boolean overwrite, CancellationToken cancellationToken)
at Azure.Storage.Blobs.BlobClient.Upload(Stream content, CancellationToken cancellationToken)
at Azure.Storage.Blobs.BlobClient.Upload(Stream content)
at Microsoft.AzureMonitor.Billing.LogAnalyticsCollectorBusiness.LogAnalyticsCollectorManager.d__16.MoveNext() in C:\repos\Mgmt-AzureMonitor-BillingPipeline\src\LogAnalyticsCollectorService\Business\LogAnalyticsCollectorManager.cs:line 376
FULL CODE SNIPPET:
1.
TokenCredentialOptions tokenCredentialOptions = new TokenCredentialOptions();
tokenCredentialOptions.AuthorityHost = new Uri("https://login.windows.net/");
X509Certificate2 certificate = CertificateHelper.GetCertificateBySubject(out var message, config.GetRequiredSetting("AAD_Certificate_SubjectName"));
TokenCredential credential = new ClientCertificateCredential(
"72f988bf-86f1-41af-91ab-2d7cd011db47",
"4fc6e86a-8a62-4ba8-9254-a20db9b6c6f9",
certificate,
tokenCredentialOptions);
2.  //Get Uri for Key Vault key
Uri clientSideKeyVaultKeyUri = new Uri("https://labilling-int-eus.vault.azure.net/keys/TestPrabin");
            //Create CryptographyClient using Key Vault Key
            CryptographyClient cryptographyClient = new CryptographyClient(clientSideKeyVaultKeyUri, credential);

            //Set up Client Side Encryption Options used for Client Side Encryption
            ClientSideEncryptionOptions clientSideOptions = new ClientSideEncryptionOptions(ClientSideEncryptionVersion.V1_0)
            {
                // KeyEncryptionKey = cryptographyClient,
                //KeyWrapAlgorithm = "RS256"
                KeyEncryptionKey = cryptographyClient,
               // KeyResolver = keyResolver,
                // string the storage client will use when calling IKeyEncryptionKey.WrapKey()
                KeyWrapAlgorithm = "RSA1_5"
            };

            //Create Blob Service Client
            BlobServiceClient blobServiceClient = new BlobServiceClient(storageConnectionString);

            BlobContainerClient containerClient = blobServiceClient.GetBlobContainerClient("example");
            //Create BlobClient with Client Side Encryption Options to upload client side encrypted data
            BlobClient blobClient = containerClient.GetBlobClient("test").WithClientSideEncryptionOptions(clientSideOptions);
            blobClient.Upload(stream);

Environment:

Name and version of the Library package used: [e.g. Azure.Storage.Blobs 12.2.0]
Azure.Storage.Blobs : 12.6.0
Azure.Identity is 1.2.3
Azure.Security.KeyVault.Keys 4.1.0

Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8]
.Net core

IDE and version : [e.g. Visual Studio 16.3]
Visual studio 2019

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@heaths:  I'm not sure if this falls into the purview of KeyVault or Identity.  Do you mind taking a look and re-routing if needed?
//fyi: @schaabs

@PPrabinKumarPatro Thanks for filing this detailed issue. We recently added support for Subject Name + Issuer authentication to the ClientCertificateCredential, however, this feature is still only available in beta, Azure.Identity 1.2.3 doesn't support it.  If you would like to try out this feature in our beta release it is available in version 1.3.0-beta.2. Once you've upgraded to this version you will also need to update your code to enable SN+I authentication, by setting the IncludeX5CCliamHeader property to true on the ClientCertificateCredentialOptions.
var credential = new ClientCertificateCredential(tenantId, clientId, certPath, new ClientCertificateCredentialOptions { IncludeX5CCliamHeader = true });

I'm closing this issue but if you still are having trouble getting this to work with the beta package please feel free to reopen it or open anothoer. The feature is still in beta so any feedback you have would be greatly appreciated. Just a heads up we will be releasing Azure.Identity 1.3.0 next month. In that release we intend to renamed the IncludeX5CCliamHeader to SendCertificateChain.


Is there more pre-trained models?

Thanks for your excellent work!
I'm wondering if more pre-trained models will be released, such as the R-Tagger based on SwinL and the RLIP-ParSeD series.

@seniusen
Hi, the R-Tagger based on Swin-L is not used by default. I find one interesting thing about R-Tagger is that Swin-L does not improve the performance much. Therefore, I keep using the relatively efficient version of R-Tagger (R50).
Is there a particular reason for you to use RLIP-ParSeD series pre-training models? I thought RLIP-ParSeDA performs better while maintaining similar inference speed. Thus, I only release RLIP-ParSeDA.

@JacobYuan7
Thank you for your reply. I just want to reproduce your results. Since then, I'll choose RLIP-ParSeDA.
Another question. In your paper, Table 4 shows that RLIPv2-ParSeD initialized from R-Tagger is slightly superior to the model initialized from COCO. While in Sec.5 Implementation details, I see RLIPv2 is initialized from COCO detection parameters. Am I understand right?
Or as you say, RLIPv2 based on R50 is initialized from R-Tagger, while RLIPv2 based on Swin-T and Swin-L is initialized from COCO.

@seniusen
Hi. Thanks for pointing out. I think there might be a misunderstanding. In Table 4, the default initialization for COCO leads to 13.62, while the result for R-Tagger initiailization achieves 13.39. Therefore, the previous one is better. Btw, the aim of table 4 is not to compare the effectiveness of initialization for RLIPv2 but to verify the necessity of denoising pre-training and attention masks for R-Tagger. The initiailization for RLIPv2 is object detection parameters as indicated in Implementation details.

@JacobYuan7
I may have made a mistake in comparing the rare mAP in Table 4. Now everything is clear. Thank you!


Execute mvn flyway:clean in the clean phase by default

Currently: pre-integration-test

Sorry about off top but could you tell me? is now  definition into Pom.xml ignore?


Reorganize Maven modules + add checkstyle/spotbugs

This commit contains changes to prepare aws-saas-boost for CI automation via GitHub Actions. Primarily, this commit reorganizes the Maven module structure of the project to be one based on pom.xml in the project's root directory. This means that inter-module dependencies are taken care of automatically, as well as giving users an easy way to build the project with one command, rather than manually module-by-module.
This commit also includes the following additional changes:

remove the "local-repo" workaround to enable individual module building
add maven-checkstyle (and a copy of google-checks.xml with increased line length) to the repository
configure checkstyle in each existing module to fail the build if any new style violations are introduced
add maven-spotbugs to the repository
standardize the maven-compile, maven-surefire, and maven-assembly plugins across multiple modules
remove the unused maven-source plugin from the layers/utils module
other miscellaneous changes

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Overall comments - this solution supports building the entire solution (other than the installer) from the root level directory, but does not support building from middle level directories. For example, I can build everything from /pom.xml, but I can't build all the services from /services/pom.xml. I can still build a service individually from its pom file, but only if I build the projects in the /layers directory first. Note that this limitation exists today (which is why we have shell scripts to build the various lambdas).
Due to the parameterization of some of the dependency versions, have we broken the ability to run a single artifact's pom without running the parent/grandparent pom?
The checkstyle error count seems arbitrary, but I understand there are some getting started heuristics employed to give us a baseline. I'd be concerned about supporting so many different values going forward. Maybe there's a better way in the future?

Overall comments - this solution supports building the entire solution (other than the installer) from the root level directory, but does not support building from middle level directories. For example, I can build everything from /pom.xml, but I can't build all the services from /services/pom.xml. I can still build a service individually from its pom file, but only if I build the projects in the /layers directory first. Note that this limitation exists today (which is why we have shell scripts to build the various lambdas).

This is true, and is how maven is intended to work. If you want to build against the changes you've made to the layers/ locally, of course you need to build, right? Otherwise how could maven possibly figure things out?
In the case that you're just trying to build against the latest version of SaaS Boost without having to build layers/ manually, this is why we need a release process. If we publish artifacts to maven central (or any other repository) then those dependencies can be downloaded automatically instead of needing to be build locally.
As a case study, take Hadoop. If you clone mainline Hadoop, delete everything in your local maven repository, and try to build hadoop-hdfs-project/hadoop-hdfs/, it will fail because the SNAPSHOT versions are not published to any external repository and you have not built those dependencies locally. However, if you switch to the 3.3.0 release (using git checkout rel/release-3.3.0) and try building again, it will succeed because the dependencies have been downloaded from Maven central.
Switching this paradigm to one of downloading artifacts will be a difficult one (because the installer currently makes some assumptions about the project structure) but will bring us closer to how other open source projects typically do things.

Due to the parameterization of some of the dependency versions, have we broken the ability to run a single artifact's pom without running the parent/grandparent pom?

Nope, I just tested with layers/. Even after deleting all local Maven repository information and rebuilding, tests + checkstyle are still able to run correctly by reading the parents, even if they're not directly invoked. This is why the parent pom is directly referenced in each pomfile, creating a dependency tree.

The checkstyle error count seems arbitrary, but I understand there are some getting started heuristics employed to give us a baseline. I'd be concerned about supporting so many different values going forward. Maybe there's a better way in the future?

Ideally we get all the checkstyle errors down to zero, and as part of building unit tests and refactoring existing code I will work to accomplish that. Then we don't need overrides in each module and can just rely on the default declared in the parent pomfile.


Fix for #983

This fixes the Tile Group Layout Test.
In the tile group layout test we were missing a parameter in the GetDataTable() function call because of which the next parameter was being cast to bool. This PR fixes that and we now check for both row and column layout.
We were doing:-
std::unique_ptr<storage::DataTable> table(storage::TableFactory::GetDataTable(         INVALID_OID, INVALID_OID, table_schema, table_name,         tuples_per_tilegroup_count, own_schema, adapt_table, layout_type));
Changed it to :
std::unique_ptr<storage::DataTable> table(storage::TableFactory::GetDataTable(         INVALID_OID, INVALID_OID, table_schema, table_name,         tuples_per_tilegroup_count, own_schema, adapt_table, is_catalog, layout_type));

Coverage increased (+0.01%) to 75.82% when pulling b630537e0e346c7e4f402751ad35351acfcb0876 on rohit-cmu:master into 0cb7dab509a45db1536427614f64b341465c662d on cmu-db:master.


Ownable::owner_is(&self) fails when called via view

The error is:
FunctionCallError(HostError(ProhibitedInView { method_name: "predecessor_account_id" })

Since owner_is takes &self, it might be assumed it’s eligible for view. I couldn’t find a precise definition of when a function is eligible for view, hence I’m not sure how to handle this. Is it ok to simply mention in docs that owner_is cannot be called via view?
The method’s default implementation is here:
https://github.com/aurora-is-near/near-plugins/blob/df8473232c76d6b75cfcb255e55975d8a5d9c7ff/near-plugins-derive/src/ownable.rs#L76-L80

Another option could be changing the signature:
/// Returns whether `account_id` is the owner of the contract.
fn owner_is(&self, account_id: AccountId) -> bool

It would remove the problem and make the method more general, though it would also be a breaking change.

cc @birchmd

I think it is fine to document that owner_is does not work as a view call. If a user wants to check the owner in a view call then they should use owner_get instead (assuming that works).


Ui widget is hidden on Mobile view

the mobile UI is great but when you add many widgets the last widget dosen't show up and you can't scrool down to see it
tested this on on edge for andriod the latest version

(also tried clicking the flipped " ^ " button it dosen't help )

I am using kiwi browser in andriod and it has dev tools and chrome extensions i used stylus extension to change the css on my side its a temp fix and its just adding padding to all widgets


feat(block-producer): promote redesign

This PR replaces the current FIFO block-producer with the mempool/graph based redesign.
I attempted to keep the diff manageable by not refactoring unnecessary parts i.e. I've largely only replaced and then refactored/cleaned up until clippy stopped yelling. This means that the code is not in a normalized state.
The rework attempts to avoid generics and traits where possible. The current implementation had a lot of these to allow for dependency injection and testing, however these are generally leaky abstractions and I'd prefer to avoid them where possible. In that vein, this PR removes a lot of these since they're no longer used. txqueue and state_view modules are entirely gone.
I've also simply commented out the current block and batch test suites. Some of these no longer apply; some of these will need to be refactored or adjusted.
Note that this compiles and the (included) tests still pass; however this has not yet been run at all. I'll update the status here if I get it to run for a bit, however  I think this PR is valuable even without it working properly. Any (larger) changes will make this PR even more unreviewable imo. And follow-up fixes/improvement PRs should be preferred once the major issues have been identified.
This PR renders #185 and #191 obsolete.
This PR also completes some tasks in #514.

I managed to run the node successfully; though this is without traffic so its really just exercising empty blocks.


Use XSRF token on admin forms, list actions and other places

Admin forms
List actions
Delete modal
Login/Logout

We are now using xsrf token in forms. However, to enforce the token check, the app setting xsrf_cookies needs to be set True.


No decorations with shell integration

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.69.2
OS Version: macOS Monterey
BASH_VERSION: 5.1.16(1)-release

I've disabled all extensions, commented out all my .bashrc, commented out all vscode settings except for
{"terminal.integrated.shellIntegration.enabled": true}

yet I get this:

Furthermore, I've manually sourced the integration script:
. /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh

but to no avail.
Some other integrations seem to work, e.g. C-up/down visit the prompt history.

Ok, I managed to find the problem, it's because I have erasedups set in HISTCONTROL at my profile level, so commenting it in .bashrc has no effect. The shell integration script checks for this:
# Disable shell integration if HISTCONTROL is set to erase duplicate entries as the exit code
# reporting relies on the duplicates existing
if [[ "$HISTCONTROL" =~ .*erasedups.* ]]; then
	builtin unset VSCODE_SHELL_INTEGRATION
	builtin return
fi


Replace documentation Widget arrow with Constructor Function

Arrow functions are not constructable.

Absolutely.  This was clearly a bit of overeagerness when we converted our examples to arrows.
This was raised recently, and then immediately closed (#1904) and I'm not sure why.  But I missed it first time around.
Thanks!