Can we reference Microsoft dynamic CRM sdk in .net core 1.1?

Thanks for your interest in .NET Core.
Please note that this repo (dotnet/core) is not for filing product issues. Here are some repos where you can file an issue:

dotnet/cli - for CLI tools and questions
dotnet/corefx - for API issues and questions
dotnet/coreclr - for runtime issues
nuget/home - for NuGet questions and issues

As far as I can tell, you can't. The package Microsoft.CrmSdk.CoreAssemblies only supports .Net Framework 4.5.2, but not .Net Core.

Is there any  around this?

Sorry for the delay! I just sent a message to the CRM team.

I'd love to learn a bit more about what you plan to do with .NET Core and CRM. Please (anyone) send mail to rlander@ms. I'm collecting scenarios so that we can have better insight on using these two products together.

It should be possible to reference it now in a .NET Core 2.0 project. I'm not sure if it will work, it depends on what those libraries do, but you can at least reference them now and see if they work for you.
I'm going to close this out for now.

I couldn't get it to work with Core 2.0.

Which part didnt work? Referencing the dll, or the dll working on .NET Core 2.0?

The working part didn't work.

Ok, that is always a possibility with pulling .NET Framework binaries into  :(  Running this on the binaries to get a report of what it needs that is missing may be a good net step. https://docs.microsoft.com/en-us/dotnet/standard/portability-analyzer

@richlander any news on this?
We are very (very) fond of XRM (now Power Platform), and with all the performance improvements and the direction MS seems to be taking on the .NET/.NET Core dichotomy, it would seem that by staying on the "desktop" framework version we are staying "behind".
Examples of typical use cases for XRM SDK on .NET Core are:

ASP.NET Core Web App on Azure consuming XRM data
Integration between XRM Plugins and Azure Service Bus
Application architectures that enable re-use of business logic code in both internal (Plugins) and external components.
General Command Line tooling for XRM

All of these are being covered at the moment by the. NET Framework XRM SDK, however I must insist that not going towards .NET Core is really concern for us in terms of future-proofing our projects and products.
As an aside, going directly to the XRM Web API via HttpClient  and bypassing the SDK altogether, while doable, is really really cumbersome (needing to compose requests and JSON manually instead of using a proper object model and proper abstractions) and practically destroys all the abstractions we've build through all these years working on XRM.
In an ideal world, Microsoft would provide an implementation of Microsoft.Xrm.Sdk.IOrganizationService that would hit the XRM Web API behind the scenes (instead of the classic WCF-based OrganizationService.svc), but still maintain the level of abstraction that the XRM SDK provides (including, of course, a LINQ provider ;) )

@fberasategui
All, this is an area that the PowerPlatform team is aware of and we are looking at it.
We have been working closely with the .NET core team to help close a number of gaps that prevented us from developing a .NET core sdk.
The changes to support us have been now been added into the .NET Core 3.0 SDK ( which is still in preview at the time of this writing ).
While we do not yet have a release timeline for preview,
It is our intent to provide a .NET core based version of our core SDK's ( Non UX ) for .NET core 3.0+.
We hope to be able to talk more definitively about this over the next few months.
MattB.

@MattB-msft I'm happy to hear these news.
(the following is probably totally off-topic here, apologies in advance)
However I'm left wondering if it would make sense to create an implementation of IOrganizationService that would hit the XRM Web API underneath. My primary motivation for this is performance: right now I'm writing a proof of concept using Azure Functions to compare the performance of inserting 100k records in a CDS instance using  ExecuteMultipleRequest with the WCF endpoint versus sending 100k messages to Azure Service Bus and having 100000 instances of an Azure Function insert them simultaneously.
Hitting the Web API directly without any SDK at all is totally unfeasible for us at the moment since we need to write complex business logic that would be extremely hard to write and maintain using lower level concepts such as string concatenation, manual JSON serialization and raw HTTP calls, compared to using LINQ and a proper object model.
Can you comment on any of this?

What mechanism would you recommend for massive (millions of records) creation and modification of CDS data (based on business logic, not static data)?
Would it make sense at all for me to create such an abstraction (even if I improve an existing one)?

Thanks in advance

I will respond here once, and then ask you to take it to the email thread you had started with us so as to not disrupt the .NET core team's issue lists :)
In short,  ( without a understanding of what your actually trying to do )
Remapping the SDK onto the WebAPI is , for folks outside the platform, extremely difficult.  I would suggest you avoid trying to make IOrganizationService work with it directly and wait till we produce the .NET core libs.
Your second question is dealt with using the CrmServiceClient or equiv' lib and taking advantage of .Clone + Batching support.  Throughput is a function of API Throttles, + connections + batches per connection.
You are of course welcome to use the WebAPI client stack of your choice + our metadata file, or roll your own, for a custom, targeted behavior.  The same rules and concepts I mentioned in the second point still apply.
MattB.

Hi, any updates on sdk being compatible with .net core?
Thanks!
b.r.
L.R

All I can say at this time is that this is actively under development by the PowerPlatform Team,
so.. look for info "Soon(tm)"

@MattB-msft We're currently at a crossroads with the architectural implementation of our platform and are wondering if we should try proxying the requests through a .NET Framework proxy service or wait for the .NET Core libraries.
Is there anything more you can share after 3 months? Even a quarter or year would be very helpful in making decisions.
Kind regards,
Thijs Tijsma

We are inflight on an alpha now.   We should be making a public statement about it here https://powerusers.microsoft.com/t5/Power-Apps-Component-Framework/bd-p/pa_component_framework which is our pro dev community,  with cross posts to the cds community.
Likely next week .

From: Thijs Tijsma<EMAIL_ADDRESS>Sent: Friday, February 7, 2020 6:39:14 AM
To: dotnet/core<EMAIL_ADDRESS>Cc: MattB<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dotnet/core] Can we reference Microsoft dynamic CRM sdk in .net core 1.1? (#604)
@MattB-msfthttps://github.com/MattB-msft We're currently at a crossroads with the architectural implementation of our platform and are wondering if we should try proxying the requests through a .NET Framework proxy service or wait for the .NET Core libraries.
Is there anything more you can share after 3 months? Even a quarter or year would be very helpful in making decisions.
Kind regards,
Thijs Tijsma
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/core/issues/604?email_source=notifications&email_token=ACQUENBL72CU5HQBF2GTLYLRBVXBFA5CNFSM4DJJL252YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELDDYUA#issuecomment-583416912, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACQUENEKPH34CTN5XU6SSSDRBVXBFANCNFSM4DJJL25Q.

Thank you for the update, we will subscribe to the feed!

thanks :)

There has been an announcement. This is amazing!
https://powerusers.microsoft.com/t5/Power-Apps-Component-Framework/Announcing-the-net-Core-SDK-for-Common-Data-Service-CDS-External/m-p/470035#M1745
Excerpt:

Today we have posted the alpha version of the Microsoft.Powerplatform.Cds.Client on nuget.  along with a few additional packages that we are using to split out the Dynamics Sales / Service and Marketing centric messages and helpers from the core CDS platform SDK


[QUESTION] why using gunicorn?

Hi,
FastAPI docs say that when running in a system that manages distributed containers (e.g. K8s) it is better to run a single Uvicorn process.
See here: https://fastapi.tiangolo.com/deployment/docker/#replication-number-of-processes
I believe Cloud Run falls under that group of systems that manage container clusters, load balancing, etc'...
So the question is, why use Gunicron to manage the workload?
WDYT?

great question! sebastian makes a great point and i would suggest deploying your container in the best way that suits your use case. for something like cloud run i think the approach of using a single uvicorn worker is fine. you could also just run one gunicorn-uvicorn worker. there is no particularly rigorous reason why ive done it this way. ive been using fastapi for a few years now so i might be a bit stuck in my ways haha. ill see if i have time to make some changes. open to pull requests if you'd like to make one for uvicorn deployment support!

@H3zi lmk what you think of https://github.com/anthonycorletti/cloudrun-fastapi/tree/docker/single-uvicorn-worker-per-container/  hope it helps!
The more I think about it I definitely think it depends on your applications. If you don't want to rely on thread management directly through fastapi alone, gunicorn+uvicorn would be good to use.

sounds cool! ill close this out.


[WFCORE-6352] Add the ability to secure the management interface using a virtual HTTP authentication factory if available

https://issues.redhat.com/browse/WFCORE-6352

Core -> Full Integration Build 12343 outcome was FAILURE using a merge of 38cb5b3148ddf90e5dc5d3eaadfaafcf8c76d509
Summary: Tests passed: 1694, ignored: 31; exit code 1 (Step: Build & test full (Maven)) Build time: 00:35:23

Core -> Full Integration Build 12344 outcome was FAILURE using a merge of 38cb5b3148ddf90e5dc5d3eaadfaafcf8c76d509
Summary: Tests passed: 1694, ignored: 31; exit code 1 (Step: Build & test full (Maven)) Build time: 00:36:01

Core -> Full Integration Build 12345 outcome was FAILURE using a merge of 38cb5b3148ddf90e5dc5d3eaadfaafcf8c76d509
Summary: Tests passed: 1694, ignored: 31; exit code 1 (Step: Build & test full (Maven)) Build time: 00:49:15

Please don't make any further changes to this PR - I am going to combine it with a couple of other PRs so we can get them merged together.
Thank you for this implementation.


Build fails if a css mixin is empty

please refer to the issue https://github.com/PolymerElements/polymer-starter-kit/issues/492 for more details

           #panel {
                --paper-scroll-header-container:{
                }
            }

Will cause this failure :warning:


Show github as a primary identity in user profile

@akatsoulas r?

Coverage increased (+0.001%) to 89.608% when pulling 16d2f8dba4eed188d9431f46b754a7cc5822dd88 on johngian:fix-github-icon into 6bfc76572cc8e768801d65609fde0eddf43bb8f9 on mozilla:master.


Image caption not working

I  have added the following image in markdown file.
<img src="ZC1001.png" title="ZC1001" alt="ZC1001">
and added the following in book.json
{
"plugins": [
    "image-captions"
],
"pluginsConfig": {

"image-captions": {
      "caption": "Fig - _CAPTION_"
  }
}

}
It is showing " Fig - "
No Caption

Hi @rmshkmr,
This is most likely due to raw HTML inserted into markdown file. The plugin parses your markdown file and expects markdown syntax, effectively ignoring any raw HTML. I'll see, what can be done in this matter.
Do you have any specific reason, why the image is inserted as raw HTML instead of markdown syntax for images? If not, could you insert the image in following form?
![ZC1001](ZC1001.png)

or
![alt text](ZC1001.png "title text")

if you want to distinguish between alt and title text?

@todvora Thanks man, its working fine. Thanks a lot

Hi @rmshkmr,
The handling of markdown files has been changed recently in 3.1.0 release and it should make no difference, if you write down the image as a raw HTML or markdown. This should also fix your issue.
I used your example as a test case and everything seems to be working now.
Please give it a try and let me know if everything works for you now.
Thanks,
Tomas

Thanks @todvora

Hi @rmshkmr,
I hope it's confirmation that the issue is resolved for you. I am closing it now but feel free to reopen if the problem persists.

I meet same error.
my book.json is
{
    "gitbook": "3.x.x",
    "plugins": ["mathjax",
				"multipart",
				"image-captions"],
    "links": {
        "sidebar": {
            "Contact us / Support": "https://www.gitbook.com/contact"
        }
    },
    "pluginsConfig": {
		"image-captions": {
          "caption": "image _PAGE_LEVEL_._PAGE_IMAGE_NUMBER_ - _CAPTION_"
      }
	}
}

and I use ![ZC1001](ZC1001.png), plugins can not create caption ZC1001.
My gitbook version is 3.2.2, CLI version is 2.3.0


Allow predefined public keys to be used  in admin dashboard

In the 3bot we should have a view where we can add public keys to be used where public keys are required

branch: development
commit: b61246caa8b623bd3db2ce8ebe57d6bf27866300


Can zuul create multi processes like Nginx?

As used to be a reverse proxy, Can zuul create multi processes like Nginx to improve performence?

Please don't cross post https://github.com/Netflix/zuul/issues/279.
Zuul is stateless, so you can spin up extra instances as needed.


[FLINK-11971] Fix kubernetes check in end-to-end test

@dawidwys You originally added this. Do you think this simpler check would work as well?
@hequn8128 Sorry for taking this issue, but I quickly wanted to fix this before creating a new RC because I was running the end-to-end tests on my Mac.

cc @sunjincheng121

@flinkbot approve description
@flinkbot approve consensus

Thank you @aljoscha @dawidwys I am checking the change now...

Thanks for the quick fix @aljoscha!
It works well from my local ENV(iMac)
Merging...
Best,
Jincheng

@flinkbot approve all

Thanks for merging!


Make all factory generated nodes fragmented

Remove the fragmented parameter and fix the remaining ones. The Stride classes shouldn't need Update and if it is needed one can now use the AddCachedOutput overload in order to compute something should one of the inputs have changed.

Consider to put all the GetOutput fragments of all those nodes on Update. Either by calling the fragment Update or by introducing a IsDefaultFragment flag which gets read by the flood fill.

For the feature of assigning the outputs to Update see https://github.com/devvvvs/vvvv/commit/9dbe5a7fee79bee87a8ca20a715badc49755264c


Add backend test coverage for Google auth login + registration flows

This is one of the larger and more important sections of zerver/views/init.py that's untested at present.

I added these tests in a recent Zulip testing sprint.


Social media share buttons

This is an enhancement suggestion, adding social media share buttons for posts.
Thank you!

Yeah sounds like a good stuff, I will look at how it can be done. I think it is mostly a snippet from the popular network to add at the end of the page.

Indeed, a snippet will suffice! Even though technically I'm a total noob when it comes to any web dev, adding those to template of my blog basing on your theme (awesome work, by the way! I love how customizable and easy to tinker with it is) proved to be trivial:
https://github.com/CookiePLMonster/CookiePLMonster.github.io/blob/master/_includes/share-post.html
https://github.com/CookiePLMonster/CookiePLMonster.github.io/blob/master/_layouts/post.html

Nice stuff! Wanna make a PR for those icons?

Sure! I hardcoded the ones I was interested in, but I presume the best way will be to expose toggles for each share option in the config file.
FYI I didn't come up with those on my own - I used this page:
https://simplesharingbuttons.com/
And the only did minor fixups to the style and FA tags to fit the current style better.

Oh that's a good tool for creating share icons.  I liked the layout of the icons you used.
Yeah I was thinking of using the _config.yml to flag the share buttons you want to add if any, a bit like in the footer page.

So my suggestion would be to use this to export all supported share options and then expose them to _config.yml separately + maybe a global toggle for the entire bar, like discussions do.
I can issue a PR with it or you can go ahead and commit it, doesn't really make a difference for me.

Cool! Should have enough time around Tuesday, or sooner.

Not as fast as I have promised, but my proposal for the implementation is now posted under #83.

Thanks! I love the icons, it looks superb! 😉


[QUESTION] How to re-do forward pass

Is it possible during distributed DeepSpeed training to "reset" the model's gradients, activation checkpoints, etc. and repeat the forward pass from scratch in a single rank? In my use case, I have to conditionally change the model's inputs depending on their respective outputs, so, ideally, I'd be able to run the model once using one option, perform some kind of check, and then use a different input instead if necessary, all without running a backward pass.

Here is a typical training workflow. https://www.deepspeed.ai/getting-started/#training. Is your case like this?
#forward() method
loss = model_engine(input)
next_input = some_check(loss)
next_loss = model_engine(next_input)

#runs backpropagation
model_engine.backward(next_loss)

#weight update
model_engine.step()

Can you elaborate more on your use case where repeating the forward pass only happens on a single rank?

This is related to issue #1496.
My proposed fix to the problem there was just to return a zero tensor when the loss becomes NaN after the forward pass. However, during distributed training, this doesn't work: each of the ranks needs to update the same subset of the model's parameters, or training hangs.
My next thought, then, was to attempt a forward pass, and then, if the loss becomes NaN, "reset" the forward pass like I describe in this issue and try again with e.g. zero inputs that yield a real loss. That way, I can obtain a zero loss tensor that nevertheless interacts with the same subset of parameters.
Without the ability to "reset" the forward pass as I describe, I've had to resort to running the forward pass once with grad disabled, checking if the result is NaN, and then running the real forward pass with either the real or "NaN-friendly" inputs. This approach comes at the cost of an additional forward pass, though, so the ability to "reset" would be nice.

There are multiple ways to realize the functionality you want to achieve the goal you want.

Using the way cli99 mentioned.
If you are afraid that there are some cached activation etc, you can do something like

#forward() method
with torch.no_grad():
   # This won't cache anything
    loss = model_engine(input)
next_input = some_check(loss)
next_loss = model_engine(next_input)

#runs backpropagation
model_engine.backward(next_loss)

#weight update
model_engine.step()

You can actually  remove those NaN from loss so that they would affect backward pass.
Here we give pseudo-code and a simple example to illustrate this.

loss = [1, NaN, 1, Nan]
new_loss = torch.sum(loss[0, 2])
model_engine.backward(new_loss )
model_engine.step()

Here is an pytorch example we have tested for you
>>> A  = torch.nn.Linear(3, 1)
>>> input = torch.randn(2, 3)
>>> output = A(input)
>>> output
tensor([[0.3624],
        [0.8110]], grad_fn=<AddmmBackward>)
>>> loss = output[0][0] ** 2
>>> loss.backward()
>>> A.weight.grad.data
tensor([[-0.6942,  0.5204,  0.1487]])
>>> A.zero_grad()
>>> output = A(input[:1, :])
>>> loss = output ** 2
>>> loss.backward()
>>> A.weight.grad.data
tensor([[-0.6942,  0.5204,  0.1487]])

As you can see, the two gradient values are matched. However, one thing you need to pay attention to is that: why you are doing distributed training, the gradient will be averaged across all GPUs. When you do such a loss filtering, the effective batch size on each GPU is different (for example, after filtering, the actually batch size of GPU0--3 might be 1, 2, 3, 4). You may need to take this into consideration.

Thanks for the reply.

Part of the problem is that my model is extremely large and contains many activation checkpoints. Even without the stored gradients from the first pass, the stored inputs in each activation checkpoint alone would be a major memory bottleneck. It seems to me that the code snippet you suggest is my current solution, which I described in my previous comment. The problem is that, this way, you need to run an entire additional forward pass no matter what the input is. Ideally, it would only be necessary in the rare cases where the loss turns out to be NaN.
Unfortunately, my model is big enough to require batch sizes of just 1 on most hardware, so this wouldn't work in my case.

Hi @gahdritz - I'm closing this issue as it appears to be stale.  If you are still hitting this issue, please open a new one and link this and we will prioritize looking at it.


Map APC

Description

APCs are not named by default making it difficult to track them down in power monitoring
Balancing

No
Additional context

Closing as we are making our own Maps

Closing as we are making our own maps


F821 Undefined name item when assigning a set comprehension in an if-clause

import logging
from itertools import groupby

class MonocausalTransformer:
    for key, tuples in groupby([("a",1),("a", 2),("b",3)], lambda t: t[0]):
        if len(replacements := {item[1] for item in tuples}) > 1:
            logging.error("Multiple replacements for %s: %s", key, replacements)

When running ruff . --fix on the whole project it gives this error message: F821 Undefined name `item`
But it works just as expected when executed
And extracting the set to a separate variable a line above works also fine
$ ruff --version
ruff 0.1.7
$ ruff --fix item.py
item.py:7:33: F821 Undefined name `item`
Found 1 error.

[tool.ruff]
target-version = "py311"
line-length = 120
select = ["ALL"]
ignore = [
    "A003",
    "ARG002",  # unused method arguments, e.g. when implementing an interface
    "D10",  # TODO: Add doc messages to public api, or make private
    "D203",  # Conflicting with D211
    "D213",  # Conflicting with D212
    "TD002", "TD003", "FIX002",  # TODO: Fix all todo comments
    "PLC1901",  # We have to distinguish between None and ""
    "RUF012",  # Ignored already for pydantic models, but we use our own base class
    "S311",  # No cryptography happening here
]

https://play.ruff.rs/27d1104c-b86e-45dc-98c6-fc6eac195bcb

Thanks! Does look like a bug.

Is this the complete snippet? I'm unable to reproduce in the playground: https://play.ruff.rs/dd91b36b-c177-4e84-b190-368de569f6a4

Is this the complete snippet? I'm unable to reproduce in the playground: play.ruff.rs/dd91b36b-c177-4e84-b190-368de569f6a4

You are right, I extracted only a small snippet, thought it was enough. I extracted now a larger snippet, stripped it down to the actual minimum: https://play.ruff.rs/2abef97f-8990-4c29-9426-2f175729e95c
This now gives on my console, in my poetry environment with ruff 0.1.7 the documented error:
$ ruff --fix item.py
item.py:26:33: F821 Undefined name `item`
Found 1 error.

Also updated the original post

Thanks! Assume this has to do with accessing from within a class scope. We will fix.


Importing annotation and specifying exclusion (negative) markers

First of all, this is an amazing package, kudos. I have two questions:

Is there any way to import annotations (eg from HALO) to calculate the frequency of cells within manually annotated regions (eg tumour vs non-tumour)? The automatic identification of tumour structure function in SPIAT doesn't work well for my tissue (brain).

If no such way currently exists, do you have any thoughts about a potential workaround?

How can I define a negative marker in my phenotype, e.g. "CD4+ PD1-"? I presume "CD4" just means "CD4" regardless of PD1 status.

Thank you in advance!

Thanks for your interest in the tool.

The package doesn't support importing the annotations directly. A workaround would be manually adding a column to the colData() of the SpatialExperiment Object. You need to make sure the cell IDs match the corresponding annotations.
"CD4" means there is only "CD4" present on the cell without other markers.
Cheers,
Yuzhou

Thank you!


testpilot client visibility

We have a shiny new testpilotcloud-client-2.3.2~RC1 release today.
This is the prefered way to try out the new client without interfering with a running owncloud-client.
https://owncloud.org/ -> 'Download' leads to https://owncloud.org/install/
There I'd look into either 'Desktop Clients' or 'Testing Packages' but neither one links to the Testpilot client.
The only way to see instructions and links for the Testpilot client is found under 'Contribute' -> 'Test ownCloud' "Download test archives and packages from https://owncloud.org/install/#testing-development."
The client Changelog for the 2.3.2~RC1 release should be linked on https://owncloud.org/install/#testing-development too.
Currently I can only find it in https://owncloud.org/install/#install-clients under the name '2.3.1' (Changelog) (where I would not look for 2.3.2 release candidate changes...)

FYI I won't be able to do this.. but I agree, we should always have both ownCloud and testpilot be downloadable..

@michaelstingl @lefherz this is what we discussed this morning.

fixed with new release.

That looks definitely better now with the new website.


Project grading

Even if I fail test cases, will my implementation still be considered in the grading rubrics?

#149 Partial marks will be given for completing levels in the project
#310 Apparently we are graded on our design as well, so I think your implementation may be considered in the grading (not sure).

My TA also mentioned about grading based on the number of test cases that you passed, so try to get as many!

yeah my TA said that grading will be done on codecrunch, according to its grader. So I'm guessing that implies heavy reliance on the number of testcases passed. All the best!


How can I use Worker(for multiple thread) in Electron 1.8.4?

I'd like to use Worker (Web-Workers) under Electron 1.8.4，but typeof Worker   results in undefined.
So need I have to require or import some other packages?
Since I thought the Worker-function should be included in Electron implementations.

@whvirgil2015 Please raise Electron issues on the main Electron repo.  This is the repository for the website.
You need to ensure you are running that code inside a renderer process.

GitHub issues are for feature requests and bug reports, questions about using Electron or code assistance requests should be directed to the community or to the Slack Channel.


[Foldable] Foldable unpack versus fold_transform

Hana uses transform instead of map. I don't find intuitive at all the name unpack. What about fold_transform?

I find the name unpack very intuitive, and fold_transform makes no sense, since its doing neither a transform nor a fold. Also this is one of the areas where Hana might inherit from Fit. Fit has unpack as well.

Hana uses transform instead of map.

Yes, for 1. the resemblance with std::transform and 2. the name conflict with Hana's Map data structure.

I don't find intuitive at all the name unpack. What about fold_transform?

I agree with @pfultz2 here. unpack is specified as follows:
unpack([x1, ..., xn], f) == f(x1, ..., xn)

This bears little to no resemblance to a fold or a transform, and I think it is very intuitive to think of it as unpacking a sequence into a function.

Sorry, I misunderstood it. The standard uses std::applyfor this function when [] is a std::tuple.

Yes, this is std::apply with the arguments reversed. The rationale for the order of arguments and the name is available here.


Bundle the extension

Bundling velocitates extensioning.  By quite a bit.
NOTE: To get this to webpack, I had to rev a couple of packages that were bringing in unpackable packages.  This caused some minor knock-on effects in the application code, e.g. in port-forward.
THINGS I STILL NEED TO DOUBLE CHECK:

Telemetry (aiKey being loaded correctly) Confirmed
Completion driven off the snippets directory Confirmed

@lstocchi for moar eyes on this beast

Is this fixing #542 ?

@gorkem Yes - bundling dramatically improves startup speed, and reduces CPU load and download size.

@bnookala this looks like it is waiting on your review.
@itowlson can we move this along, it is an important improvement

🎉 🎉 🎉

🎉 🎉 🎉


"TESTNET"-button is confusing for Superhero Wallet usage

Current state
Currently the user can choose between "TESTNET" and "BROWSER WALLET".
"TESTNET" is incredibly missleading because the user decides within the Superhero Wallet which network to use. So if the wallet of the user is connected to the mainnet it will be using the mainnet for deployments.

Proposed solution
Minimum requirement is that the button is renamed to "Superhero Wallet".
I think there should be at least a confirmation modal pop up if the Superhero Wallet is connected to the mainnet and give the user a hint that an actual deployment on mainnet will be performed.

I don't fully understand, to be honest.
This is a switch. It can be flipped to either "testnet" (default) or the browser wallet, where the user can set his network as you correctly said. what's exactly the issue ?

ok after off-side discussion I realized that it isn't clear for me what button is active.
so following suggestions

rename "TESTNET" to "Prefunded Wallet (Testnet)"
rename "BROWSER WALLET" to "Superhero Wallet"

or can the user currently choose between different AEX-2 connections? I don't think so

but it's funny that I expected the purple button to be active. I am not sure if others are confused about this, too. at least for me this is the case

hmm but in the accounts tab, people see which one is active. but I start getting your point, I will think about it. Although UI-wise, the light area has the rounded corners and represents the button/lever , but maybe I'll add a popup or so for better indication.

for me this is just extremly confusing. I would have expected the colors the other way round

white = inactive
purple = active


Integrate k-NN functionality with security plugin

Description
Adds 2 k-NN related roles to the plugin: read only and fully access.
Adds k-NN system index to demo scripts as well.
Issues Resolved
#2265
Testing
Pending
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@peternied @DarshitChanpura Ready for review!


Broken link to Jupyter graphic

Our link-checker has been failing for a while now, e.g. https://github.com/ProjectPythia/pythia-foundations/actions/runs/3223393187
The culprit is a graphic at the top of the Getting Started with Jupyter page, which links to https://datascience.foundation/backend/web/uploads/blog/Working-with-Python-on-Cloud.png. Seems the datascience.foundation link is inactive.
I don't remember what this graphic actually was. Should we just replace it with a Jupyter logo?

I'll go ahead and assign "high priority" to this because it's causing CI failures.

A trip on the Internet Wayback Machine confirms it's just a Jupyter logo.

Or maybe link this? https://github.com/jupyter/jupyter.github.io/blob/master/assets/logos/rectanglelogo-greytext-orangebody-greymoons.svg

Or copy it into our repo.


Facing error while using a Video as an input

Description of the bug:
Configuration:
private val config by lazy {
        generationConfig {
            temperature = 0.7f
        }
    }
    private val generativeModel by lazy {
        GenerativeModel(
            modelName = "gemini-1.5-pro-latest",
            apiKey = "",
            generationConfig = config
        )
    }

val input = content {
            blob(
                mimeType,
                file.readBytes())
            text(message)
        }
        val resp =generativeModel.generateContent(input)

mimeType is video/mp4
video link: drive
Actual vs expected behavior:
Getting error:
 com.google.ai.client.generativeai.type.ServerException: An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting                                                                                at com.google.ai.client.generativeai.type.GoogleGenerativeAIException$Companion.from(Exceptions.kt:43)                                                                                at com.google.ai.client.generativeai.GenerativeModel.generateContent(GenerativeModel.kt:115)                                                                                at com.google.ai.client.generativeai.GenerativeModel$generateContent$1.invokeSuspend(Unknown Source:15)                                                                                at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                                at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)                                                                                at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)                                                                                at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)                                                                                at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)                                                                                at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)                                                                                at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)                                                                                at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)                                                                                Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@a7848d2, Dispatchers.IO]
Any other information you'd like to share?
No response

@sum20156, Thank you reporting this issue. This looks like an intermittent error and should work now.
This repository is for issues related to Android SDK client bugs or improvements and the client doesn't control the service's responses. For issues related to Gemini API, we would suggest you to use "Send Feedback" option in Gemini docs. Ref: Screenshot below. You can also post this issue on Discourse forum.

I have already posted in the Discussion forum https://discuss.ai.google.dev/t/facing-error-while-using-a-video-as-an-input-to-gemini-android-sdk/3623

same issue


Alternative TAP command support

This is a PR for proposal #19. It contains everything described in that request, plus one thing.
This version of faucet also supports the word "assertions" appearing in place of "tests" in the output summary. The word "tests" is still allowed. See this tape issue for an explanation. I currently have tapeo patching tape to say "assertions" instead (but patching is not stable long-term).

I've added to this PR a way for faucet to support TAP bail outs without having the support of the old version of tap-parser it relies on. My underlying TAP command can emit bail outs. See #21

I don't think there's any value in supporting the word "assertions" when tape and TAP itself both don't.
If that can be removed, and there's still value in the rest of the PR, I'd love to see it rebased so it can be landed.

Also, could you check the "allow edits" checkbox on the RHS of the PR?

I posted this 6 years ago and no longer even remember what this is about. If you're dependent on me to do anything with this, then you might as well close it. I'll be unsubscribing from it.

@jtlapp that's unfortunate; it'd be great if you checked the box for me at least?

For the record, I only recently took over maintenance of this package, and I apologize that the previous maintainer let it sit ignored for so long.


bug: meltano select or meltano elt should fail loudly if it tries to update the catalog for a data source it can't access

Meltano Version
2.4.0
Python Version
3.9
Bug scope
CLI (options, error messages, logging, etc.)
Operating System
Linux/amd64 (via Meltano Docker Image)
Description
(Please feel free to change to "new feature" if this isn't considered a bug)
I was trying to add a new table to be loaded via Meltano (using pipelinewise-tap-mysql). I added the table explicitly to meltano.yml and ran the corresponding meltano elt command, which is typically all that's needed to load a new table. What I didn't initially realize is that the mysql user meltano was relying on did not have permissions to access the new table.
Normally, I would expect this to return some kind of "permission denied" message or something to indicate failure to authenticate. Instead, meltano elt would run, seemingly successfully, but not actually update the table. I believe this is because it wasn't able to update the catalog during the discovery process.
I could imagine there being many ways to have this situation fail more loudly so that it's clearer when a catalog isn't able to update due to inaccessibility of a data source, but I suspect something as simple as some explicit logging of an error would be enough to do the job.
If helpful, here's the slack thread where this came up: https://meltano.slack.com/archives/C01TCRBBJD7/p1661191650684129
Code
No response

I think it’d make sense to warn (or fail) if a select rule (for table.* or table.column) is defined that doesn't actually match any streams (and/or properties). Meltano doesn't know if that's because permission is denied or because of a typo, but either way we can inform the user that that rule doesn't do anything and something may be wrong.
With wildcard select rules (e.g. user_*.* for all tables starting with user_) we could still detect if that rule didn't match a single stream.
We'd have to see how this should behave around meltano elt --select to select a subset of streams.

Meltano doesn't know if that's because permission is denied or because of a typo, but either way we can inform the user that that rule doesn't do anything and something may be wrong.

Totally agree - I've definitely made that typo error a bunch of times as well, and having this kind of warning include that would be really helpful


Add OCaml 4.11 support.

What changed:

Pconst_string has now a new location attribute (middle)
Typedtree.case changed to Typedtree.case(computation) or Typedtree.case(value). So another level of nesting + it is declared private thus forcing to write 2 nested match. Also most annotation : Typedtree.case aren't compatible between version. The prefix field access work because field name are different hopefully.
let _: unit => 'a = fail; is too ignore fail because we won't before < 4.11
 type k. Compat.collectPattern(k) k is used only in 4.11
OCaml >= 4.08 has a filter_map (thus allowing to use double match + assert(false)

TODO:

[x] List.filter_map (texpMatchGetExceptions)
[ ] remove annotation ? (getTexpMatch, typedCaseCont, cCases) added primarly for debug can be removed now

Why Arnold ? :joy:
I have seen a filter_map in dead-code-ppx/DeadCodePPX.re which one should be used ? The one present or the one in stdlib ?

@Et7f3 thanks a lot for doing this!
Quick Q: is there a way to avoid the type k to leak outside the Compat module? E.g. let collectPattern: type k. Compat.collectPattern(k) = (super, self, pat) => { in DeadValue.re.

Why it is a issue ? Is is a phantom type on <4.11

Not a huge deal but it raises the barrier to contribution, as it's something most people don't know how to use, and is only there because of 4.11.

I can move cppo #if of lazyload-ppx/LazyLoad.re to Compate.re. I can also add a comment to explain to lower the barrier.

Btw LazyLoad is only used on 4.06, so one could even if-def it completely away on 4.11.

ok now lazyload.exe is builded only on 4.06 :white_check_mark:
and since I have bumped dune lang you get many cool feature: like opam generation, formatting (which I haven't used to not make review harder: dune build @fmt --auto-promote), enabled_if (used in this PR), ...

I've tested the changes in CI here: https://github.com/reason-association/reanalyze/pull/98/.
Avoiding changes to dune so CI is not disturbed.
I wanted to test on 4.11, but here's what I get:
% opam install reason

The following dependencies couldn't be met:
  - reason → ocaml < 4.11

How did you get to build on 4.11?

Oops I have used resolution with esy and thus bypassed constraint.
Add this in esy.json:
{
  "source": "./reanalyze.opam",
  "override": {
    "dependencies": {
      "@opam/reason": null,
      "@esy-ocaml/reason": "3.6.2"
    },
    "devDependencies": {
      "@opam/reason": null
    }
  }
}```

here in 98 you reverted part of my initial commit. during git blame this will force to blame 2 times. Do you want I update my commit then ?

Still playing with the changes a bit, to see how to minimize the amount of specific logic going into compat.

I think this can be wrapped up.
I can either merge https://github.com/reason-association/reanalyze/pull/98, or let me know if you'd prefer to create a new PR with a single commit.

Ok I will do a cleaning. So are you fine with dune 2.3 bump (dune 2.7.1 is the latest) and since dune >= 2 the dev experience is much better.

Better try any changes to dune/opam files later in a separate PR, to check separately how CI is affected. Changes have created problems in the past.

Thanks for updating the PR!
Is it ready to merge?

Yes

Merging.


Incorrect results from take_along_axis with uint8 indices

I get incorrect values from jnp.take_along_axis  for arrays larger than 128 in any dimension and uint8 indices. It works with when I cast the indices to larger bit widths.
Jax version 0.2.6
Jaxlib version 0.1.57
h = np.random.random((256,256,100))
g = np.random.randint(0,100, size=(256,256,1)).astype(np.uint8)

q0 = jnp.take_along_axis(h, g, axis=-1)
q1 = np.take_along_axis( h, g, axis=-1)

print(np.allclose(q0[:128,:128], q1[:128,:128]))  #True
print(np.allclose(q0, q1))                        #False

This is because of an integer overflow in an internal indexing calculation. I'll send a fix shortly.

#5089 should fix this!


Check GitHub Actions

I did not accept the invitation by @DominikPutz in time to be an admin of his repo, so GitHub Actions is not executed automatically in https://github.com/DominikPutz/datecalc/pull/4
I'm opening a parallel PR in my fork to see if GitHub Actions fails (after changing a unit test) as expected.

Closing and reopening to trigger the GitHub Actions workflow

Failing as expected


add @ConditionalOnMissingBean on ConsulConfigProperties in ConsulConfigBootstrapConfiguration

now I found It's difficult to customerized ConsulConfigProperties

Can you explain a bit more about what you need?

Typically I have two sets of  config for consul  where confirm useful for our team and don't need two much config  ,and by set the flag I can choose  which one we can use , this need dynamic change the consul config , also   I want change the config key  from spring.cloud.consul.xxx  to   xxx.consul.xxx

You can do that with Spring profiles. Why do you need a different prefix?

I want integration cloud consul to our  framework ,  and  no need too much care about spring cloud

That doesn't make much sense to me

any way , it's convenient for other people use

I don't know. We could have used the class name in @EnableConfigurationProperties instead of @Bean. You'd be in the same situation as now having to use the bean name. We'll never officially support using a different namespace.

I'd like to see if others find it convenient and their reasons

I have a use case where I want to build a thin layer/framework around cloud config and provide a default context and prefix... The overall goal of the wrapper is to provide the software contracts that are required to run a service on our in-house platform such as service discovery and configuration management.
Instead of having all our services define where to look for default properties I would like to have the wrapper set it by providing a ConsulConfigProperties Bean. This would make it easier for the developers to fulfil the contracts that we have within our platform.
I currently did a dirty hack to get a POC working without a conditional bean.
@AutoConfigureBefore(ConsulPropertySourceLocator.class)
public class CloudConfigAutoConfig {
    @Autowired
    private ConsulConfigProperties consulConfigProperties;

    @PostConstruct
    public void init() {
        consulConfigProperties.setPrefix("platform-config");
        consulConfigProperties.setDefaultContext("defaults");
    }

}

PRs welcome

Awesome @spencergibb! I'll have a look! Though, be aware this will be my first contribution ever to Spring and a JVM open-source project.. :)


Settings parameter not tab-completing

In PSScriptAnalyzer 1.10.0, the Settings parameter of Invoke-ScriptAnalyzer is not tab-completing, as described in ReadMe.
"Along with PSGallery there are a few other built-in presets, including, DSC and CodeFormatting, that can be used. These presets can be tab completed for the Settings parameter."
For example, when I run this command, type -Settings, and then TAB, it auto-completes from the files in my current directory, which is the default.

I think the README you are referring to is from development branch and if you build PSSA from the development branch you'd get tab completion. Content in master branch corresponds to PSSA v1.10.0, which doesn't have tab completion.
We will be releasing v1.11.0 soon and that should have tab completion for the settings parameter.

Sorry, but I don't know how to build this. Do you provide modules?

As Kapil mentioned, we're shipping 1.11.0 soon, I'm currently signing the module for release :)

Thanks. I'll close this issue.


run on docker

hi, plz help how use this node in "docker nodered/node-red:latest-minimal"
23 Jan 20:57:05 - [error] [GenericBLE:ERROR] The name org.bluez was not provided by any .service files, DBusError: The name org.bluez was not provided by any .service files,
    at _methodReturnHandlers.(anonymous function) (/data/node_modules/dbus-next/lib/bus.js:339:27),
    at handleMessage (/data/node_modules/dbus-next/lib/bus.js:98:11),
    at EventEmitter.MessageBus.conn.on (/data/node_modules/dbus-next/lib/bus.js:147:9),
    at EventEmitter.emit (events.js:198:13),
    at /data/node_modules/dbus-next/lib/connection.js:112:14,
    at Socket.<anonymous> (/data/node_modules/dbus-next/lib/message.js:63:9),
    at Socket.emit (events.js:198:13),
    at emitReadable_ (_stream_readable.js:555:12),
    at process._tickCallback (internal/process/next_tick.js:63:19),

node-red run from user 'node-red' in Alpine Linux

maybe add use docker 'hci socket' ?

maybe add use docker 'hci socket' ?

@dbaba can you help ?

@dbaba can you help ?

The error says Bluetoothd is not running on your container.
Unfortunately, I don't have any idea of the way to running Bluetoothd on Docker since I haven't tried it.
Please ask it in a more appropriate place such as Docker forums.

The error says Bluetoothd is not running on your container.
Unfortunately, I don't have any idea of the way to running Bluetoothd on Docker since I haven't tried it.
Please ask it in a more appropriate place such as Docker forums.

Thanks, the Bluetooth implementation only works in debian based containers, officially build a docker on alpine (https://github.com/node-red/node-red-docker/blob/master/.docker/Dockerfile.alpine)
Have you thought about doing a check if dbus is not available, use '@abandonware/noble' ?

Thanks, the Bluetooth implementation only works in debian based containers, officially build a docker on alpine (https://github.com/node-red/node-red-docker/blob/master/.docker/Dockerfile.alpine)
Have you thought about doing a check if dbus is not available, use '@abandonware/noble' ?

thanks for the direction to solve the problem, if you need to use a container (docker), then you need to take the host
  node-red:
    image: nodered/node-red:latest-minimal
    container_name: node-red
    environment:
      - DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
      - UDEV=1
    network_mode: host
    cap_add:
      - NET_ADMIN
    volumes:
      - /home/pi/.node-red:/data
      - /run/dbus/system_bus_socket:/host/run/dbus/system_bus_socket
    restart: unless-stopped

thanks for the direction to solve the problem, if you need to use a container (docker), then you need to take the host
  node-red:
    image: nodered/node-red:latest-minimal
    container_name: node-red
    environment:
      - DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
      - UDEV=1
    network_mode: host
    cap_add:
      - NET_ADMIN
    volumes:
      - /home/pi/.node-red:/data
      - /run/dbus/system_bus_socket:/host/run/dbus/system_bus_socket
    restart: unless-stopped


ARROW-14495: [Python] Fix DictionaryArray.from_buffers, should not crash

Fix ARROW-14495

@pitrou I think this is ready for another round. :)


Add python36 support

Python 3.6 was officially released on Dec 23 2016.

Per, https://github.com/travis-ci/travis-ci/issues/7085, plain python3.6 is not supported yet in our CI tool, travis.


Allow CORS from CAM

Added

Allow CORS calls from CAM (such as for loading the search index JSON file on CAM)

Thanks for the reference link!

Looks good from what I can tell, although I'm not certain where $MANAGEMENT_API is referenced besides the import.

$MANAGEMENT_API is an environment variable, Caddy will read that as the value of it, and pass it to the cors section


Investigate jupyter itk-widgets for multi-volume rendering

IT's not clear what the best way to
Currently we've been using ipyvolume

https://github.com/microscopium/microscopium/pull/103
https://github.com/maartenbreddels/ipyvolume/pull/186

But itk jupyter widgets has also been improving their support in this area too.
Recently multivolume support was merged into the vtk-js master branch

https://kitware.github.io/vtk-js/examples/TestVolumeTypes.html
https://github.com/Kitware/itk-vtk-viewer/issues/122
https://github.com/Kitware/vtk-js/issues/936#event-2408901504

Later on it might be possible to view multi-dimensional data with the volume renderer widget

Binder: 3D ITK Images
Binder: NumPy array images (processed with SciPy)

Just tried it with a 4D array
from itkwidgets import view
view(arr_4d)

Error traceback::

---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
/srv/conda/envs/notebook/lib/python3.6/site-packages/itkTemplate.py in __getitem__(self, parameters)
    265         try:
--> 266             return(self.__template__[tuple(cleanParameters)])
    267         except:

KeyError: (<itkCType signed short>, 4)

During handling of the above exception, another exception occurred:

KeyError                                  Traceback (most recent call last)
/srv/conda/envs/notebook/lib/python3.6/site-packages/itkTemplate.py in __getitem__(self, parameters)
    269             try:
--> 270                 return(self.__template__[tuple(cleanParameters)])
    271             except:

KeyError: (<itkCType signed short>, 4)

During handling of the above exception, another exception occurred:

KeyError                                  Traceback (most recent call last)
<ipython-input-37-f9ba020a412d> in <module>
----> 1 view(multidim_arr)

/srv/conda/envs/notebook/lib/python3.6/site-packages/itkwidgets/widget_viewer.py in view(image, ui_collapsed, annotations, interpolation, cmap, mode, shadow, slicing_planes, gradient_opacity, **kwargs)
    448             annotations=annotations, interpolation=interpolation, cmap=cmap,
    449             mode=mode, shadow=shadow, slicing_planes=slicing_planes,
--> 450             gradient_opacity=gradient_opacity, **kwargs)
    451     return viewer

/srv/conda/envs/notebook/lib/python3.6/site-packages/itkwidgets/widget_viewer.py in __init__(self, **kwargs)
    206
    207     def __init__(self, **kwargs):
--> 208         super(Viewer, self).__init__(**kwargs)
    209         dimension = self.image.GetImageDimension()
    210         largest_region = self.image.GetLargestPossibleRegion()

/srv/conda/envs/notebook/lib/python3.6/site-packages/ipywidgets/widgets/widget.py in __init__(self, **kwargs)
    409         """Public constructor"""
    410         self._model_id = kwargs.pop('model_id', None)
--> 411         super(Widget, self).__init__(**kwargs)
    412
    413         Widget._call_widget_constructed(self)

/srv/conda/envs/notebook/lib/python3.6/site-packages/traitlets/traitlets.py in __init__(self, *args, **kwargs)
    995             for key, value in kwargs.items():
    996                 if self.has_trait(key):
--> 997                     setattr(self, key, value)
    998                 else:
    999                     # passthrough args that don't set traits to super

/srv/conda/envs/notebook/lib/python3.6/site-packages/traitlets/traitlets.py in __set__(self, obj, value)
    583             raise TraitError('The "%s" trait is read-only.' % self.name)
    584         else:
--> 585             self.set(obj, value)
    586
    587     def _validate(self, obj, value):

/srv/conda/envs/notebook/lib/python3.6/site-packages/traitlets/traitlets.py in set(self, obj, value)
    557
    558     def set(self, obj, value):
--> 559         new_value = self._validate(obj, value)
    560         try:
    561             old_value = obj._trait_values[self.name]

/srv/conda/envs/notebook/lib/python3.6/site-packages/traitlets/traitlets.py in _validate(self, obj, value)
    589             return value
    590         if hasattr(self, 'validate'):
--> 591             value = self.validate(obj, value)
    592         if obj._cross_validation_lock is False:
    593             value = self._cross_validate(obj, value)

/srv/conda/envs/notebook/lib/python3.6/site-packages/itkwidgets/trait_types.py in validate(self, obj, value)
     28         self._source_object = value
     29
---> 30         image_from_array = to_itk_image(value)
     31         if image_from_array:
     32             return image_from_array

/srv/conda/envs/notebook/lib/python3.6/site-packages/itkwidgets/_to_itk.py in to_itk_image(other_image_datatype)
     36             case_use_view = False
     37         if case_use_view:
---> 38             image_from_array = itk.GetImageViewFromArray(array)
     39         else:
     40             image_from_array = itk.GetImageFromArray(array)

/srv/conda/envs/notebook/lib/python3.6/site-packages/itkExtras.py in GetImageViewFromArray(arr, isVector)
    284     """Get an ITK image view from a Python array.
    285     """
--> 286     return _GetImageFromArray(arr, "GetImageViewFromArray", isVector)
    287
    288 def _GetArrayFromVnlObject(vnlObject, function):

/srv/conda/envs/notebook/lib/python3.6/site-packages/itkExtras.py in _GetImageFromArray(arr, function, isVector)
    272     else:
    273         Dimension = arr.ndim
--> 274     ImageType = itk.Image[PixelType, Dimension]
    275     templatedFunction = getattr(itk.PyBuffer[ImageType], function)
    276     return templatedFunction(arr, isVector)

/srv/conda/envs/notebook/lib/python3.6/site-packages/itkTemplate.py in __getitem__(self, parameters)
    272                 raise KeyError(
    273                     'itkTemplate : No template %s for the %s class' %
--> 274                     (str(parameters), self.__name__))
    275
    276     def __repr__(self):

KeyError: 'itkTemplate : No template (<itkCType signed short>, 4) for the itk::Image class'

In contrast, this is the output for a grayscale 3D array
from itkwidgets import view
view(arr_3d)

How to reproduce:
# Imports
import os
from urllib.request import urlretrieve

import scipy.misc
import numpy as np

import itk
from itkwidgets import view

# Download data
file_name = '005_32months_T2_RegT1_Reg2Atlas_ManualBrainMask_Stripped.nrrd'
if not os.path.exists(file_name):
    url = 'https://data.kitware.com/api/v1/file/564a5b078d777f7522dbfaa6/download'
    urlretrieve(url, file_name)

# Create image arrays
itk_image = itk.imread(file_name)
arr_3d = itk.GetArrayViewFromImage(itk_image)
arr_4d = np.stack([arr_3d, np.flip(arr_3d), np.flip(arr_3d, axis=1)], axis=-1)

# Visualize
view(arr_3d)
view(arr_4d)

Hi @GenevieveBuckley, I was wondering if you ever figured out a nice way to display multiple volumes / 4d data? :)

I didn't pursue this further, I switched teams at work & moved focus into other projects. It's worth seeing whether there's been changes to ITK in the meantime.
Maybe @thewtex has more insight?


restrict nodes returned from api/v0/nodes/search to assigned projects

User Story
We've implemented project/ingest rule assignment on all ingested nodes in client runs and compliance, and have implemented the logic to restrict access to those nodes based on the projects the user is allowed to view.
At report ingestion time, we send a message to the nodemanager with metadata about the node (name, tags, status, time of run/scan, assigned projects). In https://github.com/chef/automate/issues/536, we did work to ensure the nodemanager node references are always kept up to date with the latest projects information.
This leaves us with the following scenario:

user is allowed to see nodes a, b -- not x, y, or z
in client runs/compliance, user only sees nodes a, b as expected
user calls api/v0/nodes/search, user sees metadata information about nodes a, b, x, y, z

Now we need to add the "filter by allowed projects" logic to the api/v0/nodes/search endpoint to be able to ensure the user can only see information about the nodes they have been assigned.
This means adding something similar to https://github.com/chef/automate/blob/master/components/compliance-service/api/reporting/server/server.go#L430
to the list (search) endpoint.
Questions
But we haven't implemented project assignment for manually added nodes or nodemanager nodes yet...so how can we do this? how can we tell which is which?
manually added nodes: manager == 'automate'
nodemanager nodes: manager == 'aws-ec2', 'azure-api', etc
ingested nodes: manager == ''

also, only ingested nodes will have projects associated with them.
Definition of Done
user that is only allowed to see nodes a, b in compliance reporting nodes or client runs nodes can only see nodes a, b (+manually added & nodemanager nodes) from the api/v0/nodes/search endpoint
Demo Script / Repro Steps

ingest 5 nodes, set up ingest rules/projects so a user is only allowed to see a portion of the nodes  (a, b -- not x, y, or z)
in client runs/compliance, confirm, as that user, that you can only see nodes a, b
call api/v0/nodes/search, only see info about nodes a, b + manually added + nodemanager nodes)

validated in iamv2p1 environment


[NavigationAdvancedSample] All fragment are leaking their layout

Migrated from manual navigation to jetpack navigation component, before had zero problems with leaks and after the migration all my fragments (3 for each section in BottomNav and 1 with a ViewPager2 with 2 fragments, 5 total) report a very similar leak:
  ┬───
    │ GC Root: System class
    │
    ├─ leakcanary.internal.InternalLeakCanary class
    │    Leaking: NO (MainActivity↓ is not leaking and a class is never leaking)
    │    ↓ static InternalLeakCanary.resumedActivity
    ├─ com.guillermonegrete.tts.main.MainActivity instance
    │    Leaking: NO (NavHostFragment↓ is not leaking and Activity#mDestroyed is false)
    │    mApplication instance of com.guillermonegrete.tts.SpeakableApplication
    │    mBase instance of android.app.ContextImpl, not wrapping known Android context
    │    ↓ MainActivity.mActivityResultRegistry
    ├─ androidx.activity.ComponentActivity$2 instance
    │    Leaking: NO (NavHostFragment↓ is not leaking)
    │    Anonymous subclass of androidx.activity.result.ActivityResultRegistry
    │    this$0 instance of com.guillermonegrete.tts.main.MainActivity with mDestroyed = false
    │    ↓ ComponentActivity$2.mKeyToCallback
    ├─ java.util.HashMap instance
    │    Leaking: NO (NavHostFragment↓ is not leaking)
    │    ↓ HashMap.table
    ├─ java.util.HashMap$HashMapEntry[] array
    │    Leaking: NO (NavHostFragment↓ is not leaking)
    │    ↓ HashMap$HashMapEntry[].[6]
    ├─ java.util.HashMap$HashMapEntry instance
    │    Leaking: NO (NavHostFragment↓ is not leaking)
    │    ↓ HashMap$HashMapEntry.value
    ├─ androidx.activity.result.ActivityResultRegistry$CallbackAndContract instance
    │    Leaking: NO (NavHostFragment↓ is not leaking)
    │    ↓ ActivityResultRegistry$CallbackAndContract.mCallback
    ├─ androidx.fragment.app.FragmentManager$11 instance
    │    Leaking: NO (NavHostFragment↓ is not leaking)
    │    Anonymous class implementing androidx.activity.result.ActivityResultCallback
    │    ↓ FragmentManager$11.this$0
    ├─ androidx.fragment.app.FragmentManagerImpl instance
    │    Leaking: NO (NavHostFragment↓ is not leaking)
    │    ↓ FragmentManagerImpl.mParent
    ├─ androidx.navigation.fragment.NavHostFragment instance
    │    Leaking: NO (Fragment#mFragmentManager is not null)
    │    Fragment.mTag=bottomNavigation#0
    │    ↓ NavHostFragment.mAnimationInfo
    │                      ~~~~~~~~~~~~~~
    ├─ androidx.fragment.app.Fragment$AnimationInfo instance
    │    Leaking: UNKNOWN
    │    Retaining 370774 bytes in 6213 objects
    │    ↓ Fragment$AnimationInfo.mFocusedView
    │                             ~~~~~~~~~~~~
    ├─ androidx.constraintlayout.widget.ConstraintLayout instance
    │    Leaking: UNKNOWN
    │    Retaining 370688 bytes in 6212 objects
    │    View not part of a window view hierarchy
    │    View.mAttachInfo is null (view detached)
    │    View.mID = R.id.main
    │    View.mWindowAttachCount = 1
    │    mContext instance of dagger.hilt.android.internal.managers.ViewComponentManager$FragmentContextWrapper, wrapping
    │    activity com.guillermonegrete.tts.main.MainActivity with mDestroyed = false
    │    ↓ ConstraintLayout.mParent
    │                       ~~~~~~~
    ╰→ androidx.coordinatorlayout.widget.CoordinatorLayout instance
         Leaking: YES (ObjectWatcher was watching this because com.guillermonegrete.tts.main.TextToSpeechFragment received
         Fragment#onDestroyView() callback (references to its views should be cleared to prevent leaks))
         Retaining 15806 bytes in 339 objects
         key = 40bbd260-6e16-4ecb-b41f-db5eaad00241
         watchDurationMillis = 47198
         retainedDurationMillis = 42195
         View not part of a window view hierarchy
         View.mAttachInfo is null (view detached)
         View.mWindowAttachCount = 1
         mContext instance of dagger.hilt.android.internal.managers.ViewComponentManager$FragmentContextWrapper, wrapping
         activity com.guillermonegrete.tts.main.MainActivity with mDestroyed = false

The other 4 leaks are very similar, the layout leaks in each fragment. The Heap Dump doesn't really help me pinpoint what is causing the leak, the objects NavHostFragment.mAnimationInfo and AnimationInfo.mfocusedView are underlined in the 5 distinct leaks.
I'm using ViewBinding and I'm making sure to clear it in onDestroyView(). When I use a RecyclerView I make sure to set the adapter to null. In my fragment with a ViewPager2 I also set the adapter to null and followed this answer in SO to clear leaks.
How to solve this? Thanks in advance

The cause of the issue was AndroidX Fragment 1.3.0-beta02, going back to version 1.3.0-alpha07 made all the leaks go away. Already reported the bug in Google's issue tracker.

I am in version 1.3.0 and I am still having the same problem

I am using the stable version 1.3.0 and I am still having the same issue


Check OpenSSL environment variables before defaulting to certifi

Description
Updated the urllib3 and aiohttp backends to check OpenSSL environment variables SSL_CERT_FILE/DIR before defaulting to certify's CA bundle to allow environmental configuration of custom SSL certificates.
Issues Resolved
Closes #111
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

I submitted the simplest implementation I could write but I do see several potential improvements depending on what people think:

Delaying environment variable checks to when the OpenSearch client is initialized

This would allow for test cases which are currently tough to do with the checks at the module level

Respecting other environment variables like REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE for better compatibility

This could quickly get out of hand though

Moving the CA_CERTS declaration to a shared module (maybe opensearchpy.connection.base?) to DRY up the code
Adding this to the requests backend as well to improve consistency

@wbeckler @VachaShah could you approve running the workflows?

Thanks a lot for the contribution! :+1:

Moving the CA_CERTS declaration to a shared module (maybe opensearchpy.connection.base?) to DRY up the code

Yep, definitely would be good to have it in a single place.

Adding this to the requests backend as well to improve consistency

Yep, good idea too.

Respecting other environment variables like REQUESTS_CA_BUNDLE and CURL_CA_BUNDLE for better compatibility
This could quickly get out of hand though

I would not go there until there are real issues reported. Are they?

Delaying environment variable checks to when the OpenSearch client is initialized
This would allow for test cases which are currently tough to do with the checks at the module level

Could you please elaborate? What tests do you have in mind?

Yep, definitely would be good to have it in a single place.

Sounds good. Is putting it in the connection base module good enough or would you like it in a distinct/different module? (Distinct seems overkill to me, but I could see the benefit)

I would not go there until there are real issues reported. Are they?

Not that I know of. The only potential issue I can think of would be that enabling this for the requests backend would override requests' default behavior by forcing certifi even when the CA_BUNDLE variables are set. Probably not an issue, since using requests should really be just an implementation detail, but it's probably something to track as a definite choice.

Could you please elaborate? What tests do you have in mind?

Just basic sanity tests to ensure the environment variables are properly read and the fallback to certify still occurs in their absence. Not strictly necessary, but nice to have.

@dblock Sorry for the delay, I've updated the docs. Please let me know if there is anything you'd like me to change.

@dblock I added some tests to make sure each Connection implementation correctly handles the CA_CERTS constant, but I'm not sure how to test that SSL_CERT_FILE/DIR env vars are loaded properly without changing the implementation to delay loading the CA_CERTS until Connection instance initialization or adding much more complicated tests that either reload the related modules/start subprocesses. What's your opinion?

@dblock I added some tests to make sure each Connection implementation correctly handles the CA_CERTS constant, but I'm not sure how to test that SSL_CERT_FILE/DIR env vars are loaded properly without changing the implementation to delay loading the CA_CERTS until Connection instance initialization or adding much more complicated tests that either reload the related modules/start subprocesses. What's your opinion?

If you move the implementation of CA_CERTS = into a method, then you can test that method by calling it again and having all the right mocks. But I also think that we're trying to be too perfect and I am A-OK with this PR as is, it's great work!

@dblock I had the same thought originally, so I went ahead and implemented it with tests. Let me know what you think.

@dblock I had the same thought originally, so I went ahead and implemented it with tests. Let me know what you think.

Perfect. @VachaShah help CR and let's merge this?

Workflows are failing for certain python versions for the latest ubuntu-22.04. Related issue on actions/setup-python https://github.com/actions/setup-python/issues/543

@VachaShah It doesn't look like those issues are going to be resolved soon, so I pushed a commit to implement the workarounds that were suggested


Move debuginfo extraction to elfwriter package

The debuginfo package has dependencies to Linux only things which makes it hard to test extraction on osx. This is primarily to make development easier.

Ran linting locally and it passed.


add  aerodrome-weth-reth

MooAero WETH-rETH
Vault: 0x74251C0d0B74Fba6e3B3EDe8533D9Da82B4EC4a4
Strategy: 0x90F2cd3fdc5Ad13Fd4347Bc342A236F7c40b0Dc2

i would just swap AERO-WETH directly, pool has enough liquidity


imag: init at 0.10.0

Motivation for this change
https://imag-pim.org/blog/2019/12/24/imag-0-10-0/
https://github.com/matthiasbeyer/imag/releases/tag/v0.10.0
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This change is

@GrahamcOfBorg build imag

Cool! I didn't manage to do this, because I do not have a lockfile in the repository. Seems like your PR works though.
Awesome! Keep me posted!

@matthiasbeyer Is it possible to check it in the upstream repository, by any chance?

Possible yes, but I won't.
I won't because imag is in 0.x.y-state, which basically means that it can be used, but should not be considered final/stable/whatever. Adding a Cargo.lock file to the repository would result in that file changed for every other commit, which is just too much noise for me.
I will think about adding a Cargo.lock file to the repo for the 1.0.0 release, but not before that.
We could argue, though, that adding a Cargo.lock file for the release branches (so v0.10.x for the latest release right now), could be an option.

@matthiasbeyer Sure, reasonable.

About the failing tests: do you know why? I'm more inclined to fix them than to just skip them.

About the failing tests: do you know why? I'm more inclined to fix them than to just skip them.

The code is here: https://git.imag-pim.org/imag/tree/bin/core/imag-link/src/lib.rs?h=v0.10.x#n525
It could be that the ofborg instance does not allow access to the filesystem in tests. That could be the problem, because the tests in /bin all require filesystem-access.

FWIW, tests do not fail on imag CI, so this seems to be nix-related.

Thanks a lot @yegortimoshenko!

Feel free to fast-forward merge https://github.com/matthiasbeyer/nixpkgs/commit/7532418b711c1c52341d4e079d5b69210291dfb6

The CI fails with a sha256 error.

OfBorg-Log:
   Vendoring xdg-basedir v1.0.0 (/build/source/cargo-home.es6/registry/src/github.com-1ecc6299db9ec823/xdg-basedir-1.0.0) to imag-0.10.0-vendor.tar.gz/xdg-basedir
   Vendoring xml-rs v0.8.0 (/build/source/cargo-home.es6/registry/src/github.com-1ecc6299db9ec823/xml-rs-0.8.0) to imag-0.10.0-vendor.tar.gz/xml-rs
To use vendored sources, add this to your .cargo/config for this project:

installing
hash mismatch in fixed-output derivation '/nix/store/la60sfqsig6amjj59xvl47s8mdk3qm2q-imag-0.10.0-vendor.tar.gz':
  wanted: sha256:11l38wx5hi8a6gk4biqr11i05b0aa3mjphmzh6b8np9ghn0iym58
  got:    sha256:1ja1m3igjmmdbsjilmgfb3czlzlvpc6s4z4r5gsns2m807cd4kzq
cannot build derivation '/nix/store/sggs3sjxabyirwixw59kd6j1nymc3li5-imag-0.10.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/sggs3sjxabyirwixw59kd6j1nymc3li5-imag-0.10.0.drv' failed

I suspect this is related to the missing Cargo.lock. During the nix build, cargo pulls different versions of the dependencies than the ones used when the given cargoSha256 was computed, resulting in a different hash for the vendored dependencies.

So I was trying my hand on packaging imag 0.10.1, which simplifies things since the Cargo.lock is distributed in the release (Thank you!), and after some debugging, I think I know why a lot tests are failing (more than just the linking ones from my experience).
Because the build is started from the nix daemon, it does not have a controlling tty, and it is a design choice in imag tools to treat stdin as a list of arguments if any, else use the provided command line arguments. Because imag uses the atty library to check if there is something in stdin, this leads to problems in basically every test that uses the command lines (i.e. ui tests).
For example, the test_grepping_not_available_string does basically this as setup:
imag-init --path $TMP_RTP
imag-create --rtp $TMP_RTP something

but imag-create sees that stdin is not a tty, and assumes it will be given the list of ids to create in stdin, and ignores something.
Possible solutions off the top of my head:

Change the behavior upstream to either:

Check that reading from stdin gives an empty string
Use both stdin and the command line as arguments

Disable every UI tests, and other tests that uses the CLI
Somehow create a (fake?) controlling TTY in the check phase (did a quick search in nixpkgs, and didn't find anything)

Here is my derivation file for reference:
https://gist.github.com/minijackson/096430eb6a4d0f70da12571a62d500fc
N.B.: Thank god strace exists in this world.

From a packaging standpoint I'd say that disabling the ui tests are the best solution here. These are meant to test consistency across imag tools in their UI. If failing UI tests are included in a release, I as a developer did something wrong, not the packaging people.
So I guess disabling them would be the least pain in nixpkgs and also the most sensible thing to do.

Well, I guess I went through that pain anyway :D
I found a why to create a fake TTY thanks to this SO answer.
Adding utillinuxMinimal to the checkInputs and replacing the last test command to script -qfec "cargo test --workspace" makes all tests pass (linking included)! \o/
Now that we have that, I'm not sure we should disable tests, IMHO. I think that if an update with failing ui tests were to happen, we should deal with it then, but I'm definitely up for discussions about that.

Everything Working is of course always better!
Props to you for get it to work! :+1:

@filalex77 do you mind me opening another PR with imag 0.10.1? With the test fix, and the installation of completion scripts.

@minijackson Of course, please go ahead! I would appreciate it if you add me as a maintainer (filalex77) too. Thanks for your help!


[Proposal]Replace route screen with pager

Issue

close #374

Overview (Required)

Try replacing it with Accompanist's Pager.

Links

https://google.github.io/accompanist/pager/

Screenshot

Switching tabs by swipe

https://user-images.githubusercontent.com/13705006/113381880-0d863a00-93bb-11eb-9029-04dc2ce4d723.mp4

Scroll to top when tab is taped

https://user-images.githubusercontent.com/13705006/113381890-1545de80-93bb-11eb-8ab5-380ae92e86d3.mp4

Show animation when the scroll reaches the bottom

https://user-images.githubusercontent.com/13705006/113381892-15de7500-93bb-11eb-9653-af09c02c8f8a.mp4

👀

Thanks for the great implementation. I don't know the pros and cons of the design, so I will consult with the designer. 👀

I talked to the designer! She says it is very good 👍

Thank you! I'd like to ask if it's better to do something like onboarding MTG or ask a text-based question what you want to know. 👀

👀


re-streamming from ipcam (rtsp) has no audio

I capture stream by vlc player. Here is screenshot media info from direct ipcam  and screenshot from rtspatt .
I found rtspatt use Gstreamer so i google for awhile but that too complex i can't understand haha
But atleast i have some clues   1 2
need your help @Ullaakut

Thanks @sidisrikk !
What exactly is the issue? :) I don't see a problem in your screenshots

Thanks

If you are interested in this feature, feel free to create another issue titled something like Add audio support, and maybe someone will be interested in implementing it, who knows :)


T2 needs to create all CRDs for Operators

Spark for example has multiple CRDs, if one is missing the operators won't work.
You could do kubectl apply on the whole crd/deploy directory.

Ooops, no unzip on Debian...


Add Event Type to Event class

Is your feature request related to a problem? Please describe.
There are types of events (event, announcement, notice) that are in the spreadsheet, but not found in the app.
Describe the solution you'd like
Some part like the filtering will require this to be stored in firebase and queried to the app, then stored in the Event objects.

Looking over the spreadsheet, I think we should also track the begin and end post dates. That way we could treat Announcements different than Events and Meetings.

Do we also need the email address of the contact person? We could add this to the dialog as well, and open up the email app on the phone when clicked.


EPIC: spark connect

spark connect
distributed execution
for distributed execution we need a ray runner that we can call from rust

[ ] create rust based shim around our existing python ray runner

We might need this?

[ ] move DaftContext into rust (this one should be relatively easy)

compatibility/interop
some of the text based methods (printSchema, show, explain) should have a spark compatibile output.

[ ] modify the to_comfy_table to be able to output a spark compatible df output.
[ ] alternative display implementation for Schema that matches spark's
[ ]  create a new TreeDisplay implementation that somewhat matches spark's plans

pyspark.sql.DataFrame

[ ] agg
[ ] alias
[ ] approxQuantile
[ ] cache
[ ] checkpoint
[ ] coalesce
[ ] colRegex
[x] collect
[ ] corr
[ ] count
[ ] cov
[ ] createGlobalTempView
[ ] createOrReplaceGlobalTempView
[ ] createOrReplaceTempView
[ ] createTempView
[ ] crossJoin
[ ] crosstab
[ ] cube
[ ] describe
[ ] distinct
[x] drop
[ ] dropDuplicates
[ ] dropDuplicatesWithinWatermark
[ ] dropna
[ ] exceptAll
[ ] explain
[ ] fillna
[x] filter
[ ] first
[ ] foreach
[ ] foreachPartition
[ ] TODO: add rest of items.

pyspark.sql.Catalog
TODO (I don't think this is stabilized in spark connect yet)
pyspark.sql.functions
see https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/functions.html for list of functions
UDFS
spark UDF's should be mappable to our UDF's. They use a very similar pickling approach, and we'll likely just need to use their deserializer to deserialize them back into python. Likely a bit more discovery needed.
UX/DX

[ ] https://github.com/Eventual-Inc/Daft/issues/3551
[ ] https://github.com/Eventual-Inc/Daft/issues/3497
[ ] https://github.com/Eventual-Inc/Daft/issues/3582

Documentation

[ ] Quick start guide for spark connect via daft (daft connect)
[ ] Distributed computing guide for daft connect

this should include a guide for how to set up a cluster and connect to it via spark.

Issue Tracking

[ ] https://github.com/Eventual-Inc/Daft/issues/3577
[ ] https://github.com/Eventual-Inc/Daft/issues/3551
[ ] https://github.com/Eventual-Inc/Daft/issues/3550
[ ] https://github.com/Eventual-Inc/Daft/issues/3498
[ ] https://github.com/Eventual-Inc/Daft/issues/3497
[ ] https://github.com/Eventual-Inc/Daft/issues/3486
[ ] https://github.com/Eventual-Inc/Daft/issues/3424

WRT to the catalogs, @universalmind303 what do you think of starting to unify around the DaftMetaCatalog that I introduced in #3036?
I think we have a few competing standards atm (including the SQLCatalog). It could be good to start having a catalog abstraction that can be shared across our different frontends

WRT to the catalogs, @universalmind303 what do you think of starting to unify around the DaftMetaCatalog that I introduced in #3036?
I think we have a few competing standards atm (including the SQLCatalog). It could be good to start having a catalog abstraction that can be shared across our different frontends

yes, that is something I want to do and have been thinking about. I'll open up an issue to unify daft.catalog and daft.sql.catalog


feat(repo): update to use node v14

Closes #1136
Summary

Update project configs to use Node v14

Change List (commits, features, bugs, etc)

Update package.json engines to 12 or 14. Projects using <12 will see a warning message. 12 will no longer be maintained starting April/May 2021.
reconfigure GH Actions workflows to use v14
reconfigure vscode integrated terminal configs to use v14
remove the full-icu package as node ships with this by default in v14, remove the env string configs from our test scripts

Acceptance Test (how to verify the PR)

status checks should pass, storybook deploy should work
as a secondary check, pull down this branch, run nvm use, build the project, test the project, etc

Fixed the conflicts from the monorepo merge, also added a change for prettier to ignore the changelog generated by lerna

Fixed the conflicts from the monorepo merge, also added a change for prettier to ignore the changelog generated by lerna


Console extensions

Introduce a special permission to start a container with runtime defined arguments and env.
Move the debug console settings to the debug section.

Fixes #782

Fixes #791


Correcting the licence

This StyleGuide has been incorrectly licensed as MIT given its usage of Bash, Git, etc.

You can probably just delete this repository though since it was only really used for the ParentPOM and every(?) plugin uses CivGradle now.

@AngrySoundTech or @wingzero54 can you please close this PR

It's fine, I'll close it :)


Kibana 4.4: Use elasticsearch.url for proxied reqs

Kibana 4.1 uses the credentials provided in the ES URL to authenticate
requests it proxies, which means users don't need to authenticate both
to Kibana and Elasticsearch when making a request to the latter through
the former (which isn't possible in the first place if both are using
basic auth with different credentials).
However, Kibana 4.4 does not do this by default, and proxies the headers
it received as-is to Elasticsearch, which doesn't work if Elasticsearch
uses different credentials (because the user's browser would need to
send the Kibana auth header to get through the Nginx instance proxying
Kibana and the Elasticsearch auth header to get through the one
proxying Elasticsearch).
So, this patch adds a patch for Kibana 4.4 to behave like Kibana 4.1 and
inject the credentials from elasticsearch.url when connecting to
Elasticsearch. It also adds some documentation to clarify what's going
on to users (even though nothing new is going on, at least as far as
Kibana 4.1 — which is presumably the only one in use on Aptible
currently — is concerned).

cc @fancyremarker , this is a followup from our discussion yesterday.

Thanks for this!


404-page

Problem:
When a user directly enters a URL that isn't available, we need to show a 404-page.
Solution:
t.b.d.

Moved to SwarmCityPM, issue #56


Fix losing scene modifications when renaming file

Closes: #30436
When renaming/moving a file in the filesystem docker, changes on a scene that has dependencies on the file being renamed/moved are lost.
To resolve this, this patch saves the scenes that depend on the file first, to save its current state.

This code was a trigger for various crashes of the engine when moving files around, I'd be extremely cautious before adding such a save operation in the middle of the move.

Saving after  _try_move_item(to_rename, new_path, file_renames, folder_renames); was done because it returns a list of file renames, that is passed to _save_scenes_after_move(file_renames); which will save all the scenes that have the files renamed.
Do you think it makes sense to save the scene before performing a move/rename operation of files that it depends on? If so, I could save the scene at the beginning of the operation.
Right now, _update_dependencies_after_move(const Map<String, String> &p_renames) reloads the scene file after remapping, which is the source of the issue.

Let's give it a try and think about this PR if any regression pops up :)

Thanks!


Feedback from Erik!

@erikschierboom When you're back, take a look at this repo and see what you think :)

@bushidocodes Looking at the files in this repo, it looks like you've created to files that are wasm-track specific:

The exemplar implementation file: https://github.com/bushidocodes/wasm-lagagna/blob/main/lasagna.wat
It looks nice and clean. I can totally see students writing something like this.
The tests file: https://github.com/bushidocodes/wasm-lagagna/blob/main/lasagna.spec.js
The in-memory webassembly compilation is somewhat involved, but not too bad. We probably want to extract this boilerplate code to a separate NPM module.

I've skipped the other files, as they appear to be just copies from the JavaScript track. Was there anything else you'd want me to review?

@ErikSchierboom - That's is! Thank you for the feedback. I mostly just wanted to demonstrate how the tooling from the JS track can be reused in getting this spun up.

@bushidocodes Brilliant.

@bushidocodes We'll be bootstrapping a new repo for you later in the week, which @ErikSchierboom can then help you set up :)


Detailed option descriptions

There should be descriptions of each option or the most important ones (like "Restore RootFS") below in small text, like how Apple does it in sub-menus in Settings.

that whole settings page is a mess, needs redesigning and actually implemented well before this can be implemented.

please don’t do that and instead take inspiration from the settings app. Group relevant settings by section and add extra pages if you have to.

@nullpixel @haykam
sighs fiiiiine

I forgot about this... I’ll make it once we merge substrate into master as I don’t want to create further fragmentation


Improve and add tests for my previous 2 contributions

This PR,

is more careful when to prettify && (disambiguation with a double reference) and || (distinguish from a closure with 0 args);
improves the regexp to check that &...& is a reference;
adds highlighting tests for &.

r? @brotzeit
(rust-highfive has picked a reviewer for you, use r? to override)


Add metric price

adds Lambda's cost output to metrics, pretty handy

Wow that's awesome.

Not sure about that but aren't those prices only for US regions? What about other regions?

hmm good question, I don't see any per-region pricing, might be ok

<3 that squash button


[(LIVE.FREE)] UFC Edmonton 2024 Live Streams Free On Tv Channel 2 NOV 2024

The Ultimate Fighting Championship returns to Edmonton for the first time since 2019 as the promotion presents UFC Edmonton 2024: Moreno vs. Albazi (also known as UFC on ESPN+ 104) this weekend, headlined by a flyweight contenders bout.
CLICK HERE TO WATCH LIVE STREAM NOW

CLICK HERE TO WATCH LIVE STREAM NOW

CLICK HERE TO WATCH LIVE STREAM NOW

In the main event of UFC Edmonton, former flyweight champion and No. 2 ranked Brandon Moreno clashes with No. 3 Amir Albazi, while No. 3 ranked UFC women's flyweight contender Erin Blanchfield squares off with No. 5 Rose Namajunas in the co-main event.
Backfill Promotion
UFC Edmonton 2024 live streaming and fight card details
Also on the main card, Caio Machado takes on fellow DWCS signee Brendson Ribeiro in a thrilling light heavyweight matchup after women's flyweights Ariane da Silva and Jasmine Jasudavicius clash.
No. 11 ranked heavyweight Derrick Lewis was expected to face Dana White Contender Series (DWCS) contract winner Jhonata Diniz, but a medical issue led to cancellation of the fight.
Plus, Marc-Andre Barriault meets Dustin Stoltzfus in a middleweight bout rightafter DWCS signee Mike Malott battles Trevin Giles in an all-action welterweight tilt that also serves as the main card opener.
The preliminary card features seven bouts. Here is all you need to know about UFC Edmonton 2024 from fight card, date, event location, start times, telecast and live streaming information for the mixed martial arts event:
When and where is UFC Edmonton 2024 taking place?
The event takes place on Saturday (November 2) at the Rogers Palace in Edmonton, Canada. And due to time difference in India, the event will start in the early hours of Sunday (November 3).
What time does UFC Edmonton 2024 start?
The preliminary card starts at 3 PM ET / 12 PM PT / 9 PM GMT (Saturday, November 2) | 2:30 AM IST (Sunday, November 3). The main card, meanwhile, starts at 6 PM ET / 3 PM PT (Saturday, November 2) | 12 AM GMT / 5:30 AM IST (Sunday, November 3).
Where and how to watch UFC Edmonton 2024?
UFC Edmonton 2024 main card will air live in India on Sunday, 4th August exclusively on Sony Sports Network on Sony Sports Ten 2 SD & HD channels, while UFC Edmonton live streaming will be available on SonyLIV.
UFC Edmonton 2024 Fight Card
Main Card: The main card will feature six bouts - a flyweight contenders bout in the headliner, and a couple of women's flyweight bout as well as a bout each in the men's light heavyweight, middleweight and welterweight divisions. Here is a look at the main card:
Flyweight Bout: Brandon Moreno vs. Amir Albazi
Women's Flyweight Bout: Erin Blanchfield vs. Rose Namajunas
Light Heavyweight Bout: Caio Machado vs. Brendson Ribeiro
Women's Flyweight Bout: Ariane da Silva vs. Jasmine Jasudavicius
Middleweight Bout: Marc-Andre Barriault vs. Dustin Stoltzfus
Welterweight Bout: Mike Malott vs. Trevin Giles
Preliminary Card: The prelims features eight bouts - four bouts in the bantamweight division as well as a bout each in the featherweight, women's flyweight and heavyweight divisions. Here is a look at the preliminary card fights:
Bantamweight Bout: Aiemann Zahabi vs. Pedro Munhoz
Bantamweight Bout: Charles Jourdain vs. Victor Henry
Featherweight Bout: Jack Shore vs. Youssef Zalal
Heavyweight Bout: Alexander Romanov vs. Rodrigo Nascimento
Bantamweight Bout: Serhiy Sidey vs. Garrett Armfield
Bantamweight Bout: Chad Anheliger vs. Cody Gibson
Women's Flyweight Bout: Jamey-Lyn Horth vs. Ivana Petrovic

fdgdr


Add :partial_filer as alias for :partialFilterExpression

A number of other keys have aliases. :partial_filter_expression is unreasonably long.

If this is accepted, will raise another PR to Mongoid to add it as an allowed index options value.


factorio planner-style factory configuration

The factorio calculator (https://kirkmcdonald.github.io/calc.html#items=advanced-circuit:f:1) lets you set up machines with a module and beacon configuration. I find this much easier to work with than a single global bonuses table. Any chance you could add the ability to set the bonuses per process, rather than just globally?

It is not very easy with the current implementation unfortunately.


[EXTRACTOR ERROR] ImageMagick: ImageTypeNotSupported

Description
ImageMagick fails to convert some files
System info:

Filediver version: 0.1.8
OS: Windows

Error output
extract ffe9b2bb1faf72c0.texture: magick: "magick.exe: ImageTypeNotSupported `C:/Users/DARWIN~1/AppData/Local/Temp/magick-gHycIaQ_eGoDYIc2GapMKltf3W4UEQCc' @ error/dds.c/ReadDDSImage/2886. "
extract ffebacc3bb58085e.texture: magick: "magick.exe: ImageTypeNotSupported `C:/Users/DARWIN~1/AppData/Local/Temp/magick-XJzzesK0H6-eZhf0xBgjpp-olTsZhlH-' @ error/dds.c/ReadDDSImage/2886. "
extract ffee2297f2c2c4ae.texture: magick: "magick.exe: ImageTypeNotSupported `C:/Users/DARWIN~1/AppData/Local/Temp/magick-Y4cmC3IINJx2uNz_bSmUU5UZ8AM7VRR9' @ error/dds.c/ReadDDSImage/2886. "

Additional context
None

This would simply be solved by #4

#4 is now implemented. 3Dc+/BC4/ATI1 compression must be implemented to fix.

added in 9adf00f556525e1eb0d12989bdc66439ce84c972