.Net Core Managed Gateway on Raspberry Pi

As per the issue here
I have created a .Net Core Console application with a manged Gateway inside it, using this nuget
I use Microsoft.Azure.Devices.Gateway.GatewayInterop  to create the gateway, this works fine on a Windows machine but when i build and publish it for linux-arm and deploy it on Raspberry Pi it gives me following error[please note all the other .net core code works fine]:

The code looks like below:

PublishOutput.zip is the zip file containing all the files in the Published output.
Can you advise on what is that i'm doing wrong?
Thank you,
Ali

You need ELF binaries (Linux) built for ARM32. Your ZIP file contains some SO files from .NET Core, but all of your native gateway binaries are Windows DLLs. If I do ldd libdotnetcore.so in Ubuntu 17.04 (not Raspbian, but you get the idea...), I see output like this:
damon@damonb-ubuntu-17:~/iot-edge/v1/build/bindings/dotnetcore$ ldd libdotnetcore.so
        linux-vdso.so.1 =>  (0x00007ffec9ccd000)
        libgateway.so => /home/damon/iot-edge/v1/build/core/libgateway.so (0x00007fefc7531000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fefc7190000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fefc6f79000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fefc6bb2000)
        libnanomsg.so.5.0.0 => /home/damon/iot-edge/v1/install-deps/lib/libnanomsg.so.5.0.0 (0x00007fefc695b000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fefc6757000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fefc644e000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fefc6249000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fefc602b000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fefc5e23000)
        /lib64/ld-linux-x86-64.so.2 (0x000055cba8404000)
        libanl.so.1 => /lib/x86_64-linux-gnu/libanl.so.1 (0x00007fefc5c1d000)

The files under my home directory--libgateway.so and libnanomsg.so--are the gateway-specific files that  I'd need to publish with my app. You don't have those in your ZIP.

@damonbarry thank you for your reply.
Is there a nuget package available for these binaries/run-times? I have already tried to use Microsoft.Azure.Devices.Gateway.Native.Debian.x64 but it is not for ARM32.
If not, can you please provide me instructions on how i can build them myself.
Thank you,
Ali

It looks like there are native ARM32 binaries packaged into the npm package azure-iot-gateway-raspbian (see here). If you install the package locally you can copy out the binaries.
Otherwise, there are instructions for building the IoT Edge v1 code in the GitHub repo. Specifically there's a page that walks you through setting up a bluetooth demo, and it has instructions for building the code on Raspberry Pi.

@damonbarry I tried to build them using the docker file and these instructions
Even then when i moved the built repository to Pi and ran my App or the samples/managed gateway i got the same error as above.
By the way - is that npm package for dot net core?

Those instructions seem to be for it to be used with native modules. I'm after dotnetcore bindings so that i can create a managed gateway in dotnetcore and host dotnetcore modules.

Whether you are using a binding or not, you still need the core gateway (native) libraries, and they are available for ARM32 in that npm package, or you can build them yourself.
The npm package only includes the Node.js binding, so you'd have to build the source code to get the .NET binding. The instructions I referred to earlier only build native stuff as you said; between those instructions for Pi, and the regular .NET binding instructions here, here or here, you should be able to find what you need.
Since you're using .NET (and, it seems, Docker), have you tried out our v2 bits that just went into public preview last week? Check it out here.

@damonbarry Thank you for your help, its working now. The issue was on latest Raspbian openssl 1.1 was installed while iot edge was try to look for libssl.so1.0.0 and libcrypto.so1.0.0
I moved to older version of Raspbian and it worked fine.
I had to place run-times from the npm in /usr/lib/

Next issue is it cant find the dotnetcore loader or the java loader. Is there a certain way json file needs to setup loaders on Pi?

The bindings for the other languages work in similar fashion to the Node.js binding. Look at the samples in the iot-edge repo for those languages. There are instructions for each one. You'll need to build the bindings (there's a native part and language-specific part to each binding), and you need to make sure the right bits are copied to the right folder.


docs(): Add section for lazy loading routes with SystemJs

Will you move this under the top section where the Webpack example is and just make the same example with the blog but just use SystemJS instead. And remove the plunker link.

Made the changes.

Thanks!


Symbol Refactoring is Broken

From @sgtoj on March 15, 2017 14:52
Environment data
VS Code version:  1.10.2 (and latest Insiders)
Python Extension version:  0.6.0
Python Version:   3.6.0
OS and version:  Windows 10
Actual behavior
Symbol renaming will fail or rename symbol before the intended to be edited. This issue only occurs if End of Line Sequence is set to CRLF.
Expected  behavior
Rename the intended symbol correct with LF and CRLF line endings.
Steps to reproduce:
Try renaming a symbol in the following file...
# -*- coding: utf-8 -*-
"""Bug Workspace"""

class Test():
    """Test Class"""

    def __init__(self):
        self._name = 'FooBar'
        self._modt = 'Hello World!'
        self._isbug = True

    @property
    def name(self) -> str:
        """Name"""
        return self._name

    @property
    def modt(self) -> str:
        """Message of the Day"""
        return self._name

    @property
    def isbug(self) -> bool:
        """Is Bug"""
        return self._isbug

    def do_something(self) -> str:
        """Do Something"""
        return 'Something is not right here.'

def main():
    """Script Entry"""
    test = Test()
    print(test.name)
    print(test.modt)
    print(test.isbug)

if __name__ == '__main__':
    main()

Workspace Settings
{
    "python.linting.pylintEnabled": true,
    "python.formatting.provider": "yapf"
}

User Settings
{
    "python.workspaceSymbols.enabled": true,
    "python.workspaceSymbols.ctagsPath": "C:\\ctags\\ctags",
    "python.workspaceSymbols.tagFilePath": "${workspaceRoot}\\.vscode\\tags",
}

Copied from original issue: DonJayamanne/pythonVSCode#824

From @ajmathews on March 18, 2017 0:58
Appears to be similar to the problem I had
#802

From @ghost on August 10, 2017 6:44
Any fix for this? It has been reported several times #875 #885 #902 #986 #991 #1081
For me the rename never works so I always have to do it with select/replace.
Thanks for looking into this!

+1 on this -
I see the debug message at the top saying Rename failed, but the error text is cut-off. If you could let me know where to get the full output, I'd be happy to provide.

I just did a renaming of the following code with CLRF line endings and it worked for any position of the E variable:
def fxn():
    E = 42
    Y = E + 13
    return E + Y

Now there is also #52 where renaming appears to be flaky, so it's also possible you have bumped into that. So I'm going to close this as a duplicate of that other issue.


feat(cheatcodes): mark unmatched expectedEmits as unemitted

Motivation
It can be very difficult to find a failing expectEmit when looking
as traces involving deep traces with a lot of events.
fixes #8506
Solution
If an emitted event is marked as unmatched, it can then be hilighted
as an error in red.
This is accomplished by passing the sequence index of the first event
that was expected but not emitted as a revert error, and then
finding that event during tracing and marking it as unmatched.
please see https://github.com/paradigmxyz/revm-inspectors/pull/181 for
the dependent changes that allow for the actual highlighting

Hi @topocount, would be great to get this in - let me know if you are running into any blockers / have any questions

@zerosnacks I've been blocked here: https://github.com/foundry-rs/foundry/pull/8686#discussion_r1762375219
I could possibly sort this out by reading through the impl that isn't behaving as expected, I just haven't had time. Can probably look back into this next week

@zerosnacks @klkvr this is ready for review. Thanks for your patience


WriteFileCallback: sourceFiles is optional

WriteFileCallback is defined as follows:
export interface WriteFileCallback {
    (fileName: string, data: string, writeByteOrderMark: boolean, onError?: (message: string) => void, sourceFiles?: SourceFile[]): void;
}

I was wondering why sourceFiles marked as optional. As of version 3.6, we're using this in gulp-typescript. This works fine, but ivogabe/gulp-typescript#499 describes that sourceFiles is undefined in some special case. So, when is sourceFiles undefined, and is there some way to force it being set?

@vladima Any ideas?

That is a bug int he declaration, soruceFiles should always be passed, it can be a single file or all files in the program.

@mhegazy, this is a bit difficult to change because onError is also optional. So making to make sourceFiles mandatory it is necessary to change the order of the parameters which is a bit difficult in a public API

Why is onError optional? It could also be marked as | undefined instead, or is this parameter also always provided and not optional?


New chocolatey installer

The old one was broken, and a new one properly installs chocolatey to the system.

Could we add chocolatey to Autounattend.xmls to be installed on the systems by deafult?

Could we add chocolatey to Autounattend.xmls to be installed on the systems by deafult?

No, I'd rather keep the image clean so that people can choose to use whatever provisioning technology they wish in the provisioners section of the packer .json file.

I agree. Furthrmore I don't think installing chef by default is a good thing.

Furthrmore I don't think installing chef by default is a good thing.

I agree, we should remove this from the default .json files. We know it works.

Yeah, there should be a single policy on installing tools like chef or chocolatey.
But maybe we could make a generator that users would use to set up a custom .json with what they need? That would be even better for automation purposes.
As I can see, there is support for a number of tools implemented. Better idea: maybe those tools should be extracted to another repo, along with a .json generator?

By the way, I tried to install Visual Studio 2013 during provisioning phase, so that it would install updates on itself together with the rest windows system updates (in a single check).
It doesn't work for some reason. But I guess it could be figured out and made simple for people. :) Still struggling though.


Computer Controller new Windows 10 audio monitoring

An update to the Computer Controller I've been wanting to make for ages, but never sure how until I saw @justparking utilise a neat technique where he included a .NET application to be built-on-demand for monitoring CPU usage with the application node.
I've used the same technique here to monitor the volume and muting status for Windows machines.

This is Windows specific. It also requires .NET 4 (or optionally 3.5 -- but the recipe uses a hard-reference). In light of this I've opted to re-arrange the directory structure of the Computer Controller as follows:
├── Computer Controller
│   ├── General
│   ├── Windows 10
│   ├── ...
│   └── ...
└──

This encourages more specific computer controller recipes, utilises platform specific techniques to achieve functionality.
The inclusion of this application also serves as a replacement for the nircmd.exe binary.
I'd love any feedback.

Very nice update! I had been thinking of doing the same thing just the other day.


Unable to compile test models in Athena

:wave: Hi,
I would like to leverage on this dbt adapter for Athena to transform some data located in S3.
I have set up a simple dbt project. The profile seems to hold valid values since the connection is successful and a manifest is pushed to the S3 bucket, however I get an issue when parsing the project, which do not provide much information about where the real problems lies:
> dbt parse --target data_exports --profiles-dir ./config --single-threaded

  Running with dbt=1.7.1
  Registered adapter: athena=1.7.0
  Unable to do partial parsing because saved manifest not found. Starting full parse.
  Encountered an error:
Runtime Error
  connection never acquired for thread (50595,<PHONE_NUMBER>), have []

Could you please help me understand why that error is raised and how to make the adapter work in my case :pray:?
Here is the configuration of my project:

dbt_project.yml:

name: "data_export"
version: "1.0.0"
config-version: 2

# This setting configures which "profile" dbt uses for this project.
profile: "default"

model-paths: ["models"]
analysis-paths: ["analyses"]
test-paths: ["tests"]
seed-paths: ["seeds"]
macro-paths: ["macros"]
snapshot-paths: ["snapshots"]

target-path: "target" # directory which will store compiled SQL files
clean-targets: # directories to be removed by `dbt clean`
  - "target"
  - "dbt_packages"

vars:
  "dbt_date:time_zone": "Europe/Paris"

models:
  data_exports:
    data_exports:

profile.yml:

default:
  outputs:
    data_exports:
      type: athena
      s3_staging_dir: "s3://my_bucket/"
      s3_data_dir: "s3://my_bucket/"
      s3_data_naming: schema_table_unique
      region_name: "my_region"
      schema: "my_glue_database"
      database: awsdatacatalog
      work_group: "my_workgroup"

  target: data_exports

model:

{{ config(materialized="table", table_type="iceberg") }}

select 'A'          as user_id,
       'pi'         as name,
       'active'     as status,
       17.89        as cost,
       1            as quantity,
       100000000    as quantity_big,
       current_date as my_date

The connection setup seems to be working:
> dbt debug --target data_exports --profiles-dir ./config

  Running with dbt=1.7.1
  dbt version: 1.7.1
  python version: 3.9.10
  python path: /*****-PLnk2Vdd-py3.9/bin/python
  os info: macOS-13.5-arm64-arm-64bit
  Using profiles dir at ./config
  Using profiles.yml file at ./config/profiles.yml
  Using dbt_project.yml file at /***/dbt_project.yml
  adapter type: athena
  adapter version: 1.7.0
  Configuration:
    profiles.yml file [OK found and valid]
    dbt_project.yml file [OK found and valid]
  Required dependencies:
   - git [OK found]

  Connection:
    s3_staging_dir: s3://my_bucket/
    work_group: my_workgroup
    region_name: my_region
    database: awsdatacatalog
    schema: my_glue_database
    poll_interval: 1.0
    aws_profile_name: None
    aws_access_key_id: None
    aws_secret_access_key: None
    aws_session_token: None
    endpoint_url: None
    s3_data_dir: s3://my_bucket/
    s3_data_naming: schema_table_unique
    s3_tmp_table_dir: None
    debug_query_state: False
    seed_s3_upload_args: None
    lf_tags_database: None
  Registered adapter: athena=1.7.0
    Connection test: [OK connection ok]

  All checks passed!

👋🏻 Hello I tried to reproduce with the same setup as you (I only had as extra an aws profile name for the connection) and I did not encounter any issue 🤔
What is the structure of your project ?

Staled issue. Closing for missing response.


Get files from a custom link and push to the device

I want to make an online APK installer by entering the APK link, but I don’t know how to use the link in the push function.

Bro Leave That Up To Me @JackuXL

Is it ok now?

Hey Bro I Totes Spaced It Bro

Any progress?

Hi


Adjust slide layout/sizing for correct rendering of cytoscape networks

I've found that the success/failure of rendering of a cytoscape.js network in a reveal.js slide seems to be dependent upon some global layout/size settings set by Reveal.initialize. For example, the following slide includes a cytoscape graph:

Style and Data

these slides are globally configured as follows:
Reveal.initialize({
			        // try to keep graphs working properly
				width: '100%',
				height: '100%',
				margin: 0,
				minScale: 1,
				maxScale: 1,
				transition: 'none',
...

I've found that these settings may not be ideal for other content slides, especially forcing width and height to '100%'. Is it possible to change these configuration settings on a slide-by-slide basis? Maybe I need to modify the underlying custom.css which contains the graph class?
div.graph {
  border-width: 0.1em;
  border-style: solid;
  border-color: transparent;
  text-align: left;
  height: 80vh;
}

But, I've had no success adding/changing height or width parameters here.

A solution may be to modify the styling of the div element. To style graph1-cy, add the following to custom.css:
#graph1-cy {
		margin: auto;
		width: 6em;
		height: 6em;
		display: flex;
		justify-content: center;
		border-radius: 50%;
		border: 0.1em solid white;
}


Overlapping of signature

I have an issue using lenevo tablet. I have used multiple signature on my app. For some signature it works fine but for some signature I get border overflow of signature.

Would you please help me out. I have used your code for my app.
Thank you for this excellent code which is working fine except this bug.
this happens in android device only

That's really unusual. Is there possibly a hidden canvas behind the one you're signing on?

Hey thanks man for an awesome library. I have resolved this by changing overflow:visible property to each an every parent of canvas. This very issue was reported here and there I saw people suggesting the approach of overflow : visible.
This is a brilliant attempt made by you and open sourcing it so that people like us could be benefited.
The only problem here is now hardware acceleration in my android device.
I am using Rhodes4.0.0 for app development. I have 4 signature pads on one view and that is why if I go on capturing signature the quality goes on decreasing. yo can see from pictures that curves are not smooth and subsequently smoothness disappears. After 6-7 signature attempt of a cirlce drawing results in a square.
Would like to know how can I improve smoothness with hardware acceleration and without hardware acceleration.
Thank You.

I don't know. In the past there has been some performance issues on Android because of the speed at which the events are being fired. But, for why they get worse the more you have, I really have no idea.


[SPARK-17454][MESOS] Use Mesos disk resources for executors.

What changes were proposed in this pull request?
Before this change, there was no way to allocate a given amount of
disk when using Mesos scheduler. It's good enough when using default isolation
options but not when enabling the XFS isolator with hard limit in order to
properly isolate all containers. In that case, the executor is killed by Mesos
during the download of the Spark executor archive.
Therefore, this change introduces a configuration flag, specific to Mesos, to
declare the amount of disk required by the executors and therefore prevent
Mesos from killing the container because the XFS hard limit has been exceeded.
How was this patch tested?
I added 3 unit tests and tested my built version of Spark against a real Mesos cluster.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

cc @aboten

@mgummelt , would you please help reviewing this change?

Thank you for your first contribution, @clems4ever.
Currently, @HeartSaVioR is working on #23743 for Apache Spark 3.0.0. This PR seems to need to wait for that and to ConfigEntry for Spark 3.0.0, too.

The PR is merged now. Could you rebase and follow the new style, @clems4ever ?

Hello @dongjoon-hyun , sure. Thank you for noticing.

@dongjoon-hyun , it's done.

@srowen , I updated the PR to treat your comment.

Test build #4605 has started for PR 23758 at commit fdca59a.

Test build #4605 has finished for PR 23758 at commit fdca59a.

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

Can one of the admins verify this patch?


Updated WorkspaceGridItem: text content and cursor pointer

Components updated:

WorkspaceGridItem

This PR replaces the icon inside WorkspaceGridItem component  with the fist 2 wokspace's title chars in uppercase and add the cursor: pointer css property.

/deploy-staging

/rebase

/merge


[Bug]: Merging [fetch status/check mergeability and merge actions] error with timeout out 3 out of 5 times on the dp

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Merge operations like fetch status/check mergeability and merge actions error with timeout out 3 out of 5 times on the dp
Steps To Reproduce
Fetch Status:

Merge:

Public Sample App
No response
Environment
Deploy Preview
Severity
High (Blocker to building or releasing)
Issue video log
No response
Version
Cloud DP

The json export of the git connected apps where the issue was faced:
BugVerifcations (2).json
31jandpromo.json

I still see the issue during merge. Attaching latest video recording. Merge does not complete and gives a 504 gateway timeout error in network tab
https://github.com/appsmithorg/appsmith/assets/101863839/c2f764e1-ddf0-4889-82f2-a1a8e7c32b7b
@sondermanish

Seeing merge issue on release-ee as well. Getting stuck on the merge screen, not everytime, but intermittently reproducible
https://jam.dev/c/fee2c7a2-53f0-445f-b7f7-a09f5fdb44cf

Marking this as medium as this is seen once in 4/5 times.

Bumping this issue up to prod because it should have made it's way there by now if it was not fixed

@sondermanish - checked this on the CR dp, which also has the above changes as discussed with you - did not see the check mergeability or status fetch or merge action erroring out. Closing out this issue.


Apply jitter or rate-limit to PR submissions

I've configured dependabot to receive weekly version bumps. The unit tests in my GHA-s query Auth0 and depend on their OAuth client ID and secret. When dependabot submits ~10 PRs at the same time, my access to Auth0 gets rate-limited and the unit tests fail.
I request the ability to randomize the PRs submission times with some jitter of the configurable amplitude, much like Kubernetes does with pod (re)starts. Alternatively, the ability to throttle the PRs so that no more than X are running Actions at the same time.

👋 Sorry for the slow response.
The problem makes sense, but the architecture of Dependabot is such that it runs a "job" for a given ecosystem and then from there fires off PR's for all the package updates it finds. TBH, we're very unlikely to implement a slowdown in firing off those PR's in the Dependabot service that runs natively on GitHub. Among other things, one problem this creates is that you may want to merge the PR's in a certain order, and it just happened the PR you need to merge first is the one it opens last. It also creates complexities in our internal infra because we have to add delayed jobs rather than just firing them off to a queue. Could this be done? Yes. But does it create enough value for enough users to be worth the complexity in both configuration and implementation? Probably not.
However, the root problem of hitting rate-limits in CI might be solvable a few other ways:

If Dependabot created PR's as soon as the new versions were released, that would inherently use jitter:

https://github.com/dependabot/dependabot-core/issues/3488

If Dependabot opened a single PR for multiple deps, that would result in fewer CI runs:

#1190

You could add rate-limiting or jitter manually in your CI system. Here's a good writeup from someone who did just that: https://www.cazzulino.com/github-actions-rate-limiting.html

I'm going to close as wontfix, but hopefully one of the above solutions will work for you.


k8s driver incorrectly reports host-networked or IP-less pod, during resync snapshot

The k8s backend has a bug whereby IP-less (or host-networked) pods are not excluded as they should be when processing a resync snapshot, whereas they are (correctly) excluded when the client calls List() to list workload endpoints, or when the watcher detects a pod creation or update outside resync.
More detail:

During resync, performSnapshot calls syn.kc.clientSet.Pods("").List(opts) and then syn.kc.converter.podToWorkloadEndpoint(&po) for each returned pod.

podToWorkloadEndpoint checks if c.hasIPAddress(pod), but only to decide whether to map that IP address, not to suppress the conversion as a whole.

Probably there should be an isCalicoPod(&pod) check added before calling podToWorkloadEndpoint.

(CC @caseydavenport @fasaxc )

Yep.  In master we're at least checking for hostNetwork, but we're not checking the IP address yet.
https://github.com/projectcalico/libcalico-go/blob/master/lib/backend/k8s/syncer.go#L428
I think just replacing that check with isCalicoPod would do the trick.

@gunjan5 this is probably a very easy way to change some code in the kdd if you're interested :)

Thanks @caseydavenport .
Since writing the above, though, I've uncovered a worry: does applyWorkloadEndpoint (in k8s.go) still make sense?

It's documented as "patches the existing Pod to include an IP address, if one has been set on the workload endpoint", and if that's really (and only) what it's used for, it seems to me that it doesn't make sense, because a Pod without an IP address would never get as far as being known to any client as a WorkloadEndpoint - and so there's no way that a client could then add an IP to that endpoint.

On the other hand, applyWorkloadEndpoint is used by the cni-plugin, and it looks like this is for purposes other than setting the IP field.  In that case, perhaps it's just the commenting of applyWorkloadEndpoint that needs updating.

@neiljerram in an ideal world we make "applyWorkloadEndpoint" a no-op.  Unfortunately, we need to do this as a workaround for an upstream k8s issue - see here: https://github.com/kubernetes/kubernetes/issues/39113#issuecomment-268728626
The CNI plugin builds an endpoint with the assigned IP address and applies it here: https://github.com/projectcalico/cni-plugin/blob/master/k8s/k8s.go#L211
It's quite a bit of magic right now - all of the WorkloadEndpoint fields are generated directly from the Pod API object that backs it, so apply doesn't need to actually update anything.  The only reason for its existence is so the CNI plugin can write the IP address back to the API before it would have been otherwise (by the kubelet), thus reducing time-to-connectivity since Felix sees that WorkloadEndpoint's IP address that much sooner.
We suspect this might have an impact on high scale clusters (many more API writes), but without this workaround there is a performance impact on low-scale cluster (multiple seconds time to connectivity).
Hopefully that all made sense!

@caseydavenport That very nearly makes complete sense to me.  The missing piece is: where does that CNI plugin k8s.go code get "the Pod API object that backs it" from?
As long as the answer is somehow other than through libcalico-go's KubeClient, I'm happy.  (Because if it was through KubeClient, I wouldn't understand how it will continue to be possible to get a Pod that doesn't yet have an IP.)

See this guy: https://github.com/projectcalico/libcalico-go/blob/master/lib/backend/k8s/k8s.go#L458
The pod name is encoded in the workload ID.  When we do the apply, we grab the Pod from the API and update the status.

Thanks @caseydavenport for your last comment, but that's still not what I meant.  I've worked out the last bit myself now, and it looks good, but for the record:

What I meant was, what is the source of the information on the RHS of these assignments:
  // Create the endpoint object and configure it.
  endpoint = api.NewWorkloadEndpoint()
  endpoint.Metadata.Name = args.IfName
  endpoint.Metadata.Node = hostname
  endpoint.Metadata.Orchestrator = orchestrator
  endpoint.Metadata.Workload = workload
  endpoint.Metadata.Labels = labels

The immediate answer is that they are parameters on the CmdAddK8s call, that is invoked from calico.go:CmdAdd, from calico.go:main.

So the (IP-less) pod information comes from whatever it is in the k8s ecosystem that invokes the CNI plugin, and

it obviously must be reliable for the pod information at that point to be IP-less, because it's the CNI plugin's job to generate and add the IP

that invocation isn't through KubeClient, so I can stop worrying about it being broken by the proposed KubeClient change for this issue.

Happy now!

Fixed by #362


Unable to build "Settings cancel catch"

Currently in the requirements for Stripe apps we have asked developers to include cancel catch to notify users if they try to navigate away from the page without saving changes.
That implementation is currently not available within our platform, so we will be removing the requirement from the external documentation and will no longer be reviewing it.
## Existing Documentation URLs (If applicable)

This requirement is being removed from app review guidance. @ppamplona-stripe will remove from the documentation. @sandhyaj-stripe will triage the feature request. @mjohnsonpint-stripe will send update in next week's dev comms.


[Android] Refine the error message for mismatched architecture.

If the library was packaged into wrong architecture folder, e.g. library
for x86 was put in "armeabi-v7a", it will throw "UnsatisfiedLinkError"
exception when load library, this situation belongs to mismatch status
instead of incomplete library.
Check the error cause and give the right status.
BUG=XWALK-5803
(cherry picked from commit c145065728e67d056444bd58ca3f1843e58e712d)

@rakuco @baleboy Please look at this PR, is it needed to back ported to Crosswalk 17? thanks.


Removed semantic_logger not required to send logit

Context
Removed logstash config  , which is not required.
Changes proposed in this pull request
Removed logstash  config , which is not required.
Logs are visible on logit.io:
https://kibana-uk1.logit.io/s/b2876053-0173-44fc-983d-99567292ba31/app/data-explorer/discover#?_a=(discover:(columns:!(_source),isDirty:!f,sort:!()),metadata:(indexPattern:'8ac115c0-aac1-11e8-88ea-0383c11b333a',view:discover))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_q=(filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'8ac115c0-aac1-11e8-88ea-0383c11b333a',key:kubernetes.deployment.name,negate:!f,params:(query:check-childrens-barred-list-pr-337),type:phrase),query:(match_phrase:(kubernetes.deployment.name:check-childrens-barred-list-pr-337)))),query:(language:kuery,query:%22check-childrens-barred-list-pr-337%22))
Link to Trello card
https://trello.com/c/bjfo0jo9/1812-onboard-services-to-logitio
Checklist

[x] Attach to Trello card
[x] Rebased main
[x] Cleaned commit history
[ ] Tested by running locally

Hi @VenkataChalla554 👋🏼 .
@saliceti asked me to look at this earlier. I've opted for a config similar to what we have in Find a lost TRN https://github.com/DFE-Digital/check-childrens-barred-list/pull/338/ .
This gives us slightly different log setup depending on our requirements in dev, test, and production. It also reduces some of the noise generated by the OkComputer check. OK to use #338 instead?


docs: API Reference builder bug fix

Issue in the API Reference:
If the Classes of Functions section is empty, it still shown in API Reference. Here is an example where Functions table is empty but still presented.
It happens only if this section has only the "private" members (with names started with '_'). Those members are not shown but the whole member section (empty) is shown.

@eyurtsev Thanks! Eugene, could you, please, build the API Ref to check if this fix works? I can not do this locally now (in process of debugging the problem with this build)


Use RCUTILS_LOG_ERROR_NAMED instead of fprintf

Feature request
Feature description
Use RCUTILS_LOG_ERROR_NAMED instead of fprintf, see #339

Closing, since with Foxy now being End-of-Life, this repository is no longer used.


Display only 10 tweets on the feed

Description
This PR makes sure that only 10 tweets are displayed at a time.

Ping @pjotrp. This is merge-able--- now we'll only have 10 tweets on the feed...


[CUBRID] Missing some informations in Table DDL

Description
Table DDL is missing REUSE_OID, COLLATE, and COMMENT information. Additionally, the maximum length for the VARCHAR data type is not specified.
DBeaver Version
DBeaver version 24.2.1
Operating System
Window 10
Database and driver

Database Name and Version: CUBRID 11.2
Driver Name and Version: CUBRID JDBC Driver 11.2

Steps to reproduce

Connect to Cubrid database
Select one of Cubrid table
Click on DDL tab

Additional context
No response

checked


Choose data to import remains empty

Hiya
Rather strange issue.
Importing from OneNote, the 'Choose data to import' remains empty.

The importer used to work.
restarted, emptied browser cookies etc.
Any ideas?
Thanks
Arnold

Well,
It's the only one I know you get an overview of things you can import.
Evernote(e.g.) is a zipfile you choose to import.
Now funny enough, it worked this morning

Have the feeling it's a bit of a glitch. Will see if I can recreate the issue somehow and come back with more details

I got a bit further.
As shown above, the list to import appeared.
During the import a number of images failed.
This lead to a partial import of what has been selected.
Trying to restart the import, but now there is nothing to choose from.

I was importing notes from OneNote this week, and some times this also happened to me but sometimes it worked fine. Tried to vary the internet conditions but didn't seem to solve it.

I have the same issue, nothing appearing.
I have multiple OneNote notebooks in my M365 (business) account. Perhaps it doesn't know which one to pick? I also had to grant admin permissions but this is done.


Map alignment

Hi folks - i am working on getting this into https://github.com/jekhokie/raspberry-noaa-v2 as a processing option. I am loving meteordemod - and have it working - however i am struggling with map alignment.
GIven the only data passed to meteordemod is the day and the .tle file I am assuming that the alignment is evaluated from some data in the .s source file?
If so i wonder why the .s file we already generate (using https://github.com/jekhokie/raspberry-noaa-v2/blob/master/scripts/audio_processors/rtlsdr_m2_lrpt_rx.py ) which works with METDET_ARM (the current M2 decoding) and indeed produces images with meteordemod however since there are no maps with METDET_ARM output I can't be sure the source .s files actually have what meteordemod needs for the accurate overlay.
Or perhaps i need to specufy Date-Time when i pass that into meteordemod as a param? Any tips?

Hi! Date parameter is necessary only if the satellite pass was on a different day. How bad is the map alignment? Is it completely off, or just slightly?
Alignment is calculated the same way as pass prediction works. The algorithm needs the exact date-time. From .s file the satellite's onboard time is extracted, but it doesn't contains the date.
Can you please send me the .s file along with the tle file and the date when it received? For example using wetransfer or something like that, so I can test it.

I investigated the problem, and as we discussed in Discord, the TLE file that was provided is not up to date, so I am closing this request now.


Fix mistake in "Create a Go module" tutorial

Fixes: golang/go#41218

The previous text appears to be referring to the next item in the
list. This updates the alt text to refer to the correct tutorial.

@googlebot I signed it!


linux-lxatac: Add three patches to fix QA Issues

This fixes:
WARNING: linux-lxatac-6.7-r0 do_package_qa: QA Issue: File /usr/src/debug/linux-lxatac/6.7-r0/arch/arm/include/generated/asm/mach-types.h in package linux-lxatac-src contains reference to TMPDIR
File /usr/src/debug/linux-lxatac/6.7-r0/drivers/tty/vt/consolemap_deftbl.c in package linux-lxatac-src contains reference to TMPDIR
File /usr/src/debug/linux-lxatac/6.7-r0/lib/oid_registry_data.c in package linux-lxatac-src contains reference to TMPDIR [buildpaths]

Great, fewer reference to TMPDIR warnings when compiling Linux! We are not yet down to zero due to perf, but some day we will get there.

FTR: We have a working fix for perf, but still discussing if this is sufficient or requires a broader approach to fix perf python handling


Fails to detect lack of NUMA

Describe the bug
System info tests fail on my machine due to attempt at using NUMA and finding an empty cpu group.
Expected Behavior
Tests pass, NUMA is detected as unavailable.
Current Behavior
common.c correctly loads libnuma, even references g_numa_available_ptr, however never actually checks to see it NUMA is available (it is not on my system, and returns -1). During the system info tests a single group is detected, however all cpus are in group -1 as returned by libnuma. This fails the test. Instead numa should be entirely disabled if it's unavailable.
Reproduction Steps
compile and run tests.
Possible Solution
Numa should be entirely disabled if it's unavailable. Note that if I remove libnuma.so.1, the tests pass as numa is correctly disabled.
Additional Information/Context
This is running on an Odroid N2+, using Ubuntu 22.04.
Amlogic S922X Processor
Quad-core Cortex-A73 and Dual-core Cortex-A53
aws-c-common version used
HEAD
Compiler and version used
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
Operating System and version
Ubuntu 22.04 aarch64

Just tested and it all works now, so this branch is good. Thanks!

Thanks for confirming. The PR with the fix has been merged. Let us know if you have any further question!


Fix directory file descriptor leak.

@Gouthamve
I was under the impression leaking FDs would be released once the objects get cleaned up. Maybe my case was just too fast for that to actually happen. Regardless, this should be fixed obviously.

Hmm, LGTM, but do you think there can be some extra open directories which we need to close after this: https://github.com/prometheus/tsdb/blob/master/db.go#L478-L484

What exactly do you mean? The linked blocks are added to the closers slice and all those blocks get closed as the function returns. Also the blocks do not holden dir file descriptors afaics.

Sorry nvm, got confused a little. This is GTG.


Initial Table Drop

Summary

initial lightweight table, pagination, toolbar from @bryancboyd
my first pass at table filtering

Change List (commits, features, bugs, etc)

initial table port from internal platform component repo
add filter header row
replace deprecated immutability addon with immutability-helper
increase code coverage across all table components

Related Issues

#10
#7

Acceptance Test (how to verify the PR)

updates are visible in storybook

I've added some improvements to the branch, but did a commit without verification... there were a few snapshot errors I wasn't sure how to resolve.  Here's the how it looks:

@scottdickerson this is ready for review.

[x] Fix pagination functionality
[x] Update/fix tests for filtering and pagination
[x] Add filter toggle button in toolbar

:tada: This PR is included in version 1.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.5.0 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


this shows up while installing via seait: ModuleNotFoundError: No module named 'pytorch_seed'

should I leave it to install or is there another solution? Thanks

should I leave it to install or is there another solution? Thanks

did you figure this out?


length limit should error if not sent a number

mistakenly sending the command "/lengthlimit off" results in

The song length limit is now active, and the length limit is off minutes

No idea what will happen to the bot in that case when the song changes, but it's probably "bad"

Fixed...really should have made a branch...oopsie!


[MXNET-114] Add the ability to exclude specific lines in tutorial notebooks generated from .md

Description
MXNET-114
In tutorials files, sometimes we have statements like img.plot() that generates an image. For the tutorials to be entertaining, we may want to include an example generated image using the image tag like this:
![png](img_url).
However this means that currently, at run-time, if someone downloads the generated notebook, they will see twice the image. Once from execution, and once from the markdown line.
With this PR, we introduce a way to have .md lines that are not included in the notebook, giving a better experience to our tutorials users.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] Changes are complete (i.e. I finished coding on this PR)
[x] Code is well-documented:
[x] For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[x] Adding ability to hide specific lines from tutorials, tested on locally built version of the website

Test
See:

@safrooze @aaronmarkham

@szha do you have time to look at this PR please? It is a blocker for my upcoming tutorials. Thanks!

Please also submit one of your upcoming tutorials here so that it can be tested. Our CI now automatically builds and hosts the rendered website, so we can check whether it's working properly.

What would I have to do in case I'd like to hide an entire block? Would this comment be required in every single? An idea would be to have a start and a stop keyword.

@marcoabreu I wouldn't want this to become over-engineered, let's find a solution when we actually encounter this problem. This is already a hack around the fact that we don't have both notebooks and .md in the repo, let's not create a new markup language.

How do I trigger a new build?

@ThomasDelteil can you do a rebase? There were recent module moves that broke CI. A rebase ought to fix it.

@szha New tutorial here: http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-10165/7/tutorials/onnx/inference_on_onnx_model.html
I confirm that the notebook does not have the images and that they have been properly filtered.

+1 looks fine. @ThomasDelteil

I have reviewed the tutorial and LGTM.

Seems that these two lines are still showing:
https://github.com/apache/incubator-mxnet/pull/10165/files#diff-cde6f9988a988026c382afae6b5234baR157
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-10165/7/tutorials/onnx/inference_on_onnx_model.html#test-using-sample-inputs-and-outputs

They are showing on the website, but not in the generated notebook:
http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-10165/7/tutorials/onnx/inference_on_onnx_model.ipynb

@szha  @cjolivier01 do I need to rebase every time I commit to get the build to not show as failed?

@ThomasDelteil there are recent changes in the way we include submodules, which is why it breaks CI if you don't rebase. It shouldn't be needed after this rebase (at least for a while)

@szha re-rebased, is it ready to be merged? See approval from @thomelane @safrooze @Ishitori above.
New link here: http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-10165/10/tutorials/onnx/inference_on_onnx_model.html
I confirmed <!--skip-notebook-line--> filter is working as expected


[Feature]: Add support for YAML in Code Blocks

To Dos

[X] I have checked the issues and think that this is not a duplicate.

[X] I added a very descriptive title to this issue.

Description
I would like to see support for YAML in code blocks.
Operating System
Linux
Operating System Details
No response
Python Version
3.12.2
rstcheck Version
3.3.1

YAML support was added with rstcheck-core v1.2.0 last year
https://github.com/rstcheck/rstcheck-core/blob/main/CHANGELOG.md


Document / Advise on User-based caching for Authenticated Content

Library Affected:
workbox-sw
Browser & Platform:
All
Issue or Feature Request Description:
Hi again!
So we are working through handling multiple users logged in to our site.  Without going into too much detail.. there are cases where 2 different users' runtime API caches could overlap, so we'd like to make sure caches are scoped by user ID.
Does workbox have a suggestion for this? It seems like a pattern not discussed in very many places.  I was working through it and it seems like it can get a bit complex..
Maybe we can brainstorm a solution here?
Thanks!
Joe
When reporting bugs, please include relevant JavaScript Console logs and links to public URLs at which the issue could be reproduced.

We don't have an out-of-the-box solution.
If you only need to ensure that a single user can be logged in at any given time, a simple model is storing all personalized data in a single runtime cache and then calling caches.delete('personalized-data') from the context of your window when there's a logout event.
If you need to support multiple logged in users in a single browser session, then that leads to a few follow-up questions, like how you determine from looking at an HTTP request/response pair which user it's associated with—e.g., is there a specific header value that will remain constant, and which uniquely determines that info?

Hi Jeff,
Without getting into too much detail of the specific auth implementation (it's pretty complex in our case..), let's simplify things, and say we support 1 user at a time.
I am assuming a lot of other Authenticated SPAs will have a similar scenario to the one I will outline.

User josephliccini logs in to the SPA, SW is registered and begins caching runtime data
josephliccini closes browser, and comes back to page.  Caches/IndexedDB are still available and gets an instant boot, with a staleWhileRevalidate update to refresh API calls for authorized content.
josephliccini clicks sign out.
A navigation request to /logout occurs
SW sees /logout, and clears runtime Caches and IndexedDB.  (Note Assets are able to be kept since they are not user-specific)
It also makes a request to /logout in order to log out the user from the server (i.e. clear cookies)
User jeffposnick logs in on the same machine into the SPA
There should be no trace of josephliccini at any point in IndexedDB or Caches

Here are the suggestions/discussion points I'd make for this scenario.

in Step 1. the SW author will need to include a plugin for each authorized content call before storing Request/Response pair that will ensure that the Authorization header is removed.  (It is moderately dangerous to store tokens on disk, so I don't think it should be done unless truly required).  A side note, Tokens are usually stored in sessionStorage

In Step 5. maybe workbox has a way to say 'Here are all keys for routes' Runtime Caches Data (not asset data)' and 'Here are all the keys for routes' IndexedDB Runtime Expiration data (not asset expiration data)'
-- It is possible to obtain this through some regex but maybe if others need this scenario it could be useful for the workbox to support.

Regarding 1), I'm personally not qualified to comment one way or another about the guarantees that the Cache Storage API offers when storing a Request object with headers that you consider sensitive information, and how that compares to other mechanisms in which caching occurs.
The code that's used for writing to the runtime caches currently looks like
https://github.com/GoogleChrome/workbox/blob/ed2a847baf34c17c0f019d11cdfb1464fe3a9e19/packages/workbox-core/_private/cacheWrapper.mjs#L74
and if there were a need to use an "empty" Request object as a key rather than the actual Request object that triggered the runtime caching, I think it would be as straightforward as switching that line of code to
await cache.put(request.url, responseToCache);

Regarding 5), even if you don't use a consistent naming scheme for your runtime caches, you can synthesize some of that information by making use of workbox.core.cacheNames.precache, and then doing something like
const nonPrecacheCacheNames = await caches.keys()
  .filter(cacheName => cacheName !== workbox.core.cacheNames.precache);

// Do something with nonPrecacheCacheNames, like delete them.

One thing that I'm not sure about is how well the current workbox-cache-expiration code will behave if you do an "out of band" caches.delete() call to remove a specific runtime cache without also deleting the IDB entries corresponding to its expiration, and then later on recreate the same runtime cache. I'd imagine that it could lead to some confusion—@gauntface?
Maybe the solution there is to expose a workbox.expiration.deleteCache() method that took in a cache name and did both the Cache Storage API deletion as well as the IDB cleanup in one step.

Just brainstorming here.. It might make sense to have a plugin / callback that enables the developer to set their custom Request key logic.
Yes (regarding your response to 5.) this is basically how we've implemented /logout today, and the next step is to go to IDB and clear those out too.  I would love a deleteCache() method that does IDB and Cache deletion for a workbox cache!

Looking back at the v2 branch, we did have support for passing in an alternative cache key to use, other than the actual Request object:
https://github.com/GoogleChrome/workbox/blob/5b97922f3d4e06561097f02870f20693b79ee738/packages/workbox-runtime-caching/src/lib/request-wrapper.js#L378-L380
I think the only place we were using it was in the precaching code, and it wasn't easy to hook into a plugin event to override:
https://github.com/GoogleChrome/workbox/blob/5b97922f3d4e06561097f02870f20693b79ee738/packages/workbox-precaching/src/lib/controllers/base-cache-manager.js#L159
Anyway... let me break out your two suggestions into separate feature requests so that they could each be tracked.

With those two issues created, are you cool with closing this one and following up on each independently, @josephliccini?

Yeah will do!  Thanks so much for your work and openness to suggestions.


More better design

Client obviously needs polish, from a better designer.
Both visual and UI/UX

The current theme, as far as it's been developed, is mainstream Web 2.0... it's using Twitter Boilerplate after all.
But I'm really tempted to change this to a neo-classic terminal look (for lack of a better term).
As in http://css3please.com/, or Sublime Text, or any good terminal program with a black theme.
Thoughts?


Netcdf unicode 1.8.1

Hi all,
This is a copy of my change against Master (#1653) regarding an exception on loading a cube with unicode data in Units.
Targetting 1.8.x.
Cheers,
Gray

there's a very odd test failure here; i'll try and find out what's going on
at first look, this isn't your code change

grand, thank you @mo-g
I am happy with this change and the tests to support it; please may it be merged so that we can get 1.8.1rc1 cut?

:+1: for the fix. However, when we dig a little more, it looks like you are putting extra work inside the try...except so that the except clause can function correctly.
The traceback for the original error would give us this hint:
Traceback (most recent call last):
  File "test_get_attr_units.py", line 58, in test_unicode_character
    attr_units = get_attr_units(cf_var, attributes)
  File "iris/fileformats/_pyke_rules/compiled_krb/fc_rules_cf_fc.py", line 1300, in get_attr_units
    msg_units = '{}'.format(attr_units)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u266b' in position 0: ordinal not in range(128)

This line equates to:
        msg = 'Ignoring netCDF variable {!r} invalid units {!r}'
        msg_name = '{}'.format(cf_var.cf_name)
>       msg_units = '{}'.format(attr_units)
        warnings.warn(msg.format(msg_name, msg_units))

Basically, you've put in this fix to handle string formatting to be put into the warning, with the side effect of putting a de-unicoded unicode string in the attributes.
What to do about that? How about just making your string unicode:
msg = u'Ignoring netCDF variable {!r} invalid units {!r}'.format(
               cf_var.cf_name, attr_units)
warnings.warn(msg.encode('ascii', errors='backslashreplace')

Passing a valid unicode string which cannot be encoded in ascii as a cube attribute seems eminently reasonable to me, and I wouldn't want to force the backslashreplace scheme upon that case.

I made an incorrect assumption here - that there are other places where this string is likely to be s.format ...ed. Will implement and push. :+1:

Well, it passed right before I rebased (https://travis-ci.org/SciTools/iris/builds/63465468) so hopefully it'll still pass now... :laughing:

sorry to pester: the rebase looks fine but the commit message is ugly.  Please could you tidy this to be clear and not include the text 'for discussions kick off only'

Done.

The Travis build was killed. Are you happy to merge on the result of the previous two tests (prior to me renaming the commit)?

@pelson I'm happy with this, please may you hit 'merge' if you are too?


drupal jwt

i currently a react native app that logins in directly using json web token  and then do bunch of calls via api.
i would like to remove the current authentication process and replace with auth0, is it possible to login directly to drupal with the accessToken provided by auth0?

@shaksi - Apologies for the late reply here.
I don't think I'm totally clear on your question here. If this is still something you're working on, can you give me a little more information about what you're looking to do? Is this a React Native app that is using a Drupal-provided API? In that case you'll want to use the SPA flow in your React Native app and then protect the API like the example here. That second quickstart uses the PHP SDK, which is included in the Drupal module but also can be used separately. If you're just providing an API in Drupal, the module is not necessary.


Describe the issue
getting the above error while installing graphrag. even when I manually try  to install fastparquet, gensim still same issue.
Steps to reproduce
pip install graphrag
GraphRAG Config Used
No response
Logs and screenshots

Additional Information

GraphRAG Version:
Operating System: windows
Python Version: 3.12.4
Related Issues:

Can you create a brand new virtual environment and re-install? If you had trouble installing fastparquet and gensim manually, the issue is in your local environment and not the graphrag package. I would suggest researching how these packages are installed in a Windows environment in case there are external dependencies that you're missing (and therefore causing these package installs to fail).


OS WINERROR 10048 :Only one socket address is permitted

i am attaching a screenshot of the error i am receiving while running collecttrainingdata.py.
how to resolve this error? it is only allowing one socket address of usage, how to resolve it to use it @hamuchiwa Sir. pls have a look into it. Just to mention smthing, you are a real inspiration for students like us. waiting for your response @hamuchiwa

After collecting data, press q to exit properly. Other ways are kill the process or restart your console/IDE.


Checkbox missing visual focus indicator using Tailwind theme

Reproduction
https://formkit.link/f48f9e10100e2ef6d2eb91b384db2dcb
Describe the bug
Using the Tailwind theme no visual focus indicator is visible on the checkbox input.
Works find using the Genesis theme.

Environment
Version: 1.4.x (next), Tailwind
Browser: Chrome, Firefox

Resolved with the regenesis theme from https://themes.formkit.com/

Agreed 👍❤


[CI] Try fix api test error

Purpose of the pull request

Fix the error in #13378
Remove unnessnary log output of test container and upgrade the test container's version according to docs in https://www.testcontainers.org/supported_docker_environment/logging_config/
Adding WorkerGroupAPITest to CI.

Fixed in #14094.


SOLR-15455 extra ideas

Hi @dweiss, thanks for encouraging me to propose some additional ideas in a bit more concrete way.
I definitely don't have the karma to commit to your PR branch. (I tried, and indeed it didn't work. I think that's only for committers -- aka "project maintainers").
I hope as an alternative it's ok to open a PR against your branch. A little unusual (maybe?) but it should allow to cleanly share these ideas. Please let me know if you'd prefer I take a different approach!
Anyway, there's really three ideas here, pretty cleanly separated out into different commits. Feel free to adjust/reject/etc. as you see fit.

Due to indentation changes it's a bit easier to see changes ignoring whitespace changes:
https://github.com/dweiss/solr/pull/2/files?w=1

@magibney I've integrated those changes in a slightly different way, making a single script out of two, one security policy property and passing properties via -P (this is really what gradle users expect).

perfect, thanks!


Error when trying to quantize Viking-7B

Previously I was able to quantize this model successfully LumiOpen/Viking-7B, but now it seems to be broken for some reason. No idea why it's misbehaving.
-- Layer: model.layers.1 (Attention)
!! Warning: Applied additional damping
!! Warning: Applied additional damping
!! Warning: Applied additional damping
!! Warning: Applied additional damping
!! Warning: Applied additional damping
!! Warning: Applied additional damping
!! Warning: Applied additional damping
!! Warning: Applied additional damping
!! Warning: Applied additional damping
!! Warning: Applied additional damping
Traceback (most recent call last):
File "/content/exllamav2/conversion/adaptivegptq.py", line 292, in prepare
hessian_inv = torch.linalg.cholesky(hessian)
torch._C._LinAlgError: linalg.cholesky: The factorization could not be completed because the input is not positive-definite (the leading minor of order 1 is not positive-definite).

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/content/exllamav2/convert.py", line 240, in <module>
status = measure_quant(job, save_job, model)  # capturing the graceful exits
File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/content/exllamav2/conversion/measure.py", line 560, in measure_quant
m = measure_attn(module, hidden_states, target_states, quantizers, cache, attn_params)
File "/content/exllamav2/conversion/measure.py", line 145, in measure_attn
quantizers["o_proj"].prepare()
File "/content/exllamav2/conversion/adaptivegptq.py", line 330, in prepare
raise ValueError("Hessian is not invertible")
ValueError: Hessian is not invertible

Do you have any additional information? I'm not having any trouble quantizing that model here.

I tried doing it on Runpod and Colab and both of them gave me the same error for some reason. I wonder if it has something to do with the Pytorch version they use? Runpod template has Pytorch 2.2.0 by default installed.

I had been using this notebook for a while without any problems until now. https://colab.research.google.com/drive/1Cbb8nrwUxoxAbsIu1LLotsk2W52nj0Py

I managed to reproduce it by disabling flash-attn. So likely it's an overflow that happens during attention. I guess it's worth investigating, but in the meantime is there any way you could run it in an environment that supports flash-attn-2? Like a 3090 on RunPod?

RTX 3090 wasn't available and tried 4090 instead but that ended up having the same problem.

Did you install flash-attn?

Did you install flash-attn?

Nope.. I was just gonna edit my comment that I installed it and it now worked.


refactor: support golangci-lint

What's changed

Add .golangci.yaml and make lint;

Fix lint errors that are found by make lint;

Refine GitHub Actions(multiple minor changes):

Use the latest Go version;
Refine naming: linter -> lint;
Use ncipollo/release-action@v1 as release workflow;
Update golangci-lint version;
Release gtctl by only creating a version tag and use ncipollo/release-action to release artifacts'(same as greptimedb actions);

Related issues

https://github.com/GreptimeTeam/gtctl/issues/121
https://github.com/GreptimeTeam/gtctl/issues/83

Codecov Report

Merging #130 (7d1c0bf) into develop (eb80cbd) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 7d1c0bf differs from pull request most recent head 0230fec. Consider uploading reports for the commit 0230fec to get more accurate results

@@           Coverage Diff            @@
##           develop     #130   +/-   ##
========================================
  Coverage    22.02%   22.02%
========================================
  Files            8        8
  Lines          940      940
========================================
  Hits           207      207
  Misses         677      677
  Partials        56       56

Files Changed
Coverage Δ

pkg/deployer/baremetal/artifacts.go
36.31% <ø> (ø)


feat: show spotbugs report full path when spotbugs execution fails

Hi folks, this is for https://github.com/spotbugs/spotbugs-gradle-plugin/issues/245
"Spotbugs report path should be provided in output when process fails"
Currently when running spotbugs and getting a failure, you can see the following:
3:38:34 * What went wrong:
03:38:34 Execution failed for task ':server:spotbugsMain'.
03:38:34 > A failure occurred while executing com.github.spotbugs.snom.internal.SpotBugsRunnerForWorker$SpotBugsExecutor
03:38:34    > Verification failed: SpotBugs execution thrown exception
03:38:34

In order to get more details, --stacktrace has to be enabled and also you don't get details on where the report was added, if it was XML or HTML or something else.
I think it would be nice if the plugin outputs the full path when the execution fails

Hi @KengoTODA do you have any thoughts/feedback on this?


HDFS-17056. EC: Fix verifyClusterSetup output in case of an invalid param.

Description of PR
JIRA: https://issues.apache.org/jira/browse/HDFS-17056
How was this patch tested?
Add Unit Test.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 20s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
31m 37s

trunk passed

+1 :green_heart:
compile
0m 41s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
0m 38s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
checkstyle
0m 37s

trunk passed

+1 :green_heart:
mvnsite
0m 45s

trunk passed

+1 :green_heart:
javadoc
0m 42s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m  3s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m 47s

trunk passed

+1 :green_heart:
shadedclient
20m 33s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 37s

the patch passed

+1 :green_heart:
compile
0m 38s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
0m 38s

the patch passed

+1 :green_heart:
compile
0m 37s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
javac
0m 37s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 29s

the patch passed

+1 :green_heart:
mvnsite
0m 39s

the patch passed

+1 :green_heart:
javadoc
0m 29s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
1m  0s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
spotbugs
1m 43s

the patch passed

+1 :green_heart:
shadedclient
20m 28s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
189m 27s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 28s

The patch does not generate ASF License warnings.

276m 10s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.TestDirectoryScanner

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6379/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6379

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 8095edb8ef53 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 28d9261cee9ea7e679b3e23846ef54a4d47575b9

Default Java
Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6379/1/testReport/

Max. process+thread count
4232 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6379/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

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

This message was automatically generated.

May be necessary to modify the erasurecoding.proto file, required to repeated,
similar to DistributedFileSystem#addErasureCodingPolicies.
This modification will result in a many to many relationship.
// now
message GetECTopologyResultForPoliciesResponseProto {
  required ECTopologyVerifierResultProto response = 1;
}

// expect
message GetECTopologyResultForPoliciesResponseProto {
  repeated ECTopologyVerifierResultProto response = 1;
}

May be necessary to modify the erasurecoding.proto file, required to repeated, similar to DistributedFileSystem#addErasureCodingPolicies.
This modification will result in a many to many relationship.
// now
message GetECTopologyResultForPoliciesResponseProto {
  required ECTopologyVerifierResultProto response = 1;
}

// expect
message GetECTopologyResultForPoliciesResponseProto {
  repeated ECTopologyVerifierResultProto response = 1;
}

Hi @ayushtkn @haiyang1987, If you have time, let's discuss it together, Thanks.


agent_uuid set to dmidecode crashes Keylime

Environment

OS / version: Ubuntu 18.04
Processor architecture: amd64
TPM Manufacturer: swtpm
Keylime version: 6.1.0 from

Description
Change agent_uuid to dmidecode to automatically read the UUID from the system crashes the agent:
May 10 16:28:28 u18can20 keylime_agent[4687]: Traceback (most recent call last):
May 10 16:28:28 u18can20 keylime_agent[4687]:   File "/usr/bin/keylime_agent", line 11, in
May 10 16:28:28 u18can20 keylime_agent[4687]:     load_entry_point('keylime==0.0.0', 'console_scripts', 'keylime_agent')()
May 10 16:28:28 u18can20 keylime_agent[4687]:   File "/usr/lib/python3/dist-packages/keylime/cmd/agent.py", line 15, in main
May 10 16:28:28 u18can20 keylime_agent[4687]:     keylime_agent.main()
May 10 16:28:28 u18can20 keylime_agent[4687]:   File "/usr/lib/python3/dist-packages/keylime/keylime_agent.py", line 507, in main
May 10 16:28:28 u18can20 keylime_agent[4687]:     sys_uuid = ret['retout'].decode('utf-8')
May 10 16:28:28 u18can20 keylime_agent[4687]: AttributeError: 'list' object has no attribute 'decode'
Expected behavior vs. actual behavior
To work.
Steps to reproduce problem

Change agent_uuid to dmidecode in /etc/keylime.conf
Restart the agent

Relevant logs
Attach any relevant log files that can help to debug your issue.

Can you test it with PR #672 ?
Current patch: https://github.com/keylime/keylime/commit/8da24928bb743794bc75b0a7bffc1235a601272d.patch

That works.

Can you test it with PR #672 ?

Can you close this issue?


uuid 2.3.4 fixes utf8 encoding so it and resque-status can operate in Ruby 1.9.3

resque-status tests pass in Ruby 1.9.3 with this change.
https://github.com/assaf/uuid/blob/master/CHANGELOG

This resolves issue #53 too. +1 from me for the pull request as I've implemented a similar fix locally meanwhile.

I've got this issue also.  Any chance of getting this merged?

I ended up fixing this in a different branch, but it is fixed and released as v0.3.2


ci: use latest python for pre-commit

This PR sets python version to 3.12 for per-commit
Reference: ADDON-75861

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


adding request block

This implements a request block,
I have currently implement curl + fetch (but only partial ... as you will see, this should cover all our existing usecase without going crazy) if we want to take if further i am thinking a library https://github.com/Kong/httpsnippet is the way.
https://trello.com/c/Zr4CbM41/221-api-call-widgets

Integration with API Docs:

For every "Example" (this a JSON definition, e.g. look at /1/auth/register in openapi/auth.json) - we can render de request block
For now, inject a  placeholder in the Authentication bearer header


Trace injection

Hey, is there any way to inject the trace id into the logs directly through the connector?

Hi @GabrielMller. Unfortunately, there is no way. However, the connector sets everything needed to inject in the flow variable OTEL_TRACE_CONTEXT at the beginning of the flow.
You can use mule-tracing-module to inject those variables into the MDC context in the beginning of the flow and adjust log4j config to include MDC context variables. You can find more details here - https://avioconsulting.github.io/mule-opentelemetry-module/#_logs_correlation
Alternatively, if our mule-custom-logger (replacement for standard logger) is used, then starting v2.2.0  we have added capabilities to automatically include OTEL_TRACE_CONTEXT in the log, when available.


improvement Support that user can use show data skew statement instead of admin

Proposed changes
Issue Number: close #7913
Problem Summary:
This PR mainly do two things:

Support that user can use show data skew statement instead of admin
Fix fe ut failed caused by pr #7876
Fix fe ut failed caused by pr #7391

Checklist(Required)

Does it affect the original behavior: (Yes)
Has unit tests been added: (No)
Has document been added or modified: (Yes)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

ut failed cc @EmmyMiao87   show data skew cc @morningman

The document could not be built correctly


Reset Bravia playing info to ensure state reflects correctly

Description:
State variables would hang around despite no longer being relevant.

Will happily test it this week.

Cheers bud!
On Sun, 16 Oct 2016, 9:11 pm Neil Lathwood<EMAIL_ADDRESS>wrote:

Will happily test it this week.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant/pull/3903#issuecomment-254071258,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA1TO4QuJO5sUseke3Qi8EZJv5LGAIZiks5q0oT4gaJpZM4KYD_z
.

Looks good 🐬


Add application that uses the udapted webkit webview to show web inspector frontend

run ci

Let's flesh out the CLI integration and make sure everything works on both ends and then merge this change.


Invalid input in the very first step

Describe the bug
Invalid input but path is correct
To Reproduce

python -m convoviz /Users/wang/Downloads/20231213.zip
hit enter and it says invalid input

Expected behavior
continue on next configuration
Screenshots

OS

OS: MacOS Sonoma 14.1.1
Hardware: MBP m1
python: 3.10.9

Same here

@Wang-Zhongwei I think you're missing the c:\users...


Language support for Core Application

You can see in the example there is some hardcoded message text to the interface, how can I translate it? Or maybe that message should be a keyword and the front end must be the responsable to translate it?

Let me know what you want to do and I help you with this

Hi, it might not be a good idea to implement localization at the API end. Howeevr, one viable option is to implement localization in the client side.
_snackBar.Add(response.Messages[0], Severity.Success);
to
'_snackBar.Add(localizer[response.Messages[0]], Severity.Success);'
or
'_snackBar.Add(localizer["Product Added"], Severity.Success);'
I guess this is much cleaner than trying to localize the API itself as it should be kept quite stateless. Will it be possible for you to implement this change and send in a pull request?

Perfect! Yes I'll do it

@elgransan  It would be great if you could add in the pull request in a few hours. I am planning to release this project as a NuGet package for the community today.

I'm think we are in a very different timezone, but now (in the morning) I'm working on it :)

cool, will you be finishing it off in a few hours? do let me know. and don't forget to pull in the latest code. I am planning to release the package in some time. Cheers

I added forgotten keywords in resource files from another languages that I don't handle, so the translation I kept it in english

Thanks a lot! :)


Comment prefix not working

Describe the bug
When I press enter within a comment block the comment prefix is not inserted on the new line.
Expected result
When I press enter the comment prefix should be inserted on the new line.
/**
 * @file Test.h
 * @brief Test class
 *
 *
 *
 */

Actual result
Comment prefix not inserted on the new line.
/**
 * @file Test.h
 * @brief Test class

 *
 *
 */

Screencaps

Your System:

OS: Windows and Linux
VS Code Version 1.75.0
Doxdocgen Code Version 1.4.0

Was it working before? I've just installed this extension and faced the same problem.

@AndersHogqvist tried right now, it works #22 (comment)

Indeed! Thank you.
However, I believe this extension is supposed to provide this feature as well. I have clangd and tried with that one disabled but it didn't help.


What is the difference between monkey and monkey-chat?

In inference.py
    parser.add_argument("--model_path", type=str, default="echo840/Monkey-Chat") #echo840/Monkey-Chat  echo840/Monkey
    ...
    if question == "Generate the detailed caption in English:" and "Monkey-Chat" not in checkpoint:
        query = f'{img_path} Generate the detailed caption in English: ' #detailed caption
    else:
        query = f'{img_path} {question} Answer: ' #VQA

Is it just the prompt that is different?

Yes, during the training of Monkey, we used different prompts for detailed captioning and VQA. However, for Monkey-Chat training, we standardized the prompts.


ffmpeg-vaapi: decode/jpeg fix pix_fmt

fix for ffmpeg commit: e645a1ddb90a863e129108aad9aa7e2d417f3615
Signed-off-by: Bin Wu<EMAIL_ADDRESS>

Current in verify process

fix the regression cause by ffmpeg commit: e645a1ddb90a863e129108aad9aa7e2d417f3615

This change still seems a bit odd to me.  AFAIK, the yuvj* formats should be deprecated.  Please see my private email reply.

@uartie Close PR, assign internal JIRA: VIZ-17195 to you


V3: add results composition

This change depends on https://github.com/sajari/sajari-sdk-react/pull/180

Once the conflicts om this one and #180 are sorted then we can merge 👍


Can tf.function fully support control flow

Hi， In eager mode, control flow is fully supported;
however, in graph mode, Does tf2.x fully support control flow. if so,  we write whether the control flow can be expressed in python statements, or tf2.x specific API 。

@liangzelang
Please check this documentation it answers all your questions, kindly open a new issue in tensorflow discussion in case of any further queries as this is not a bug or a feat request.


Making the explicit permission of the user to use ble.

Basically what i got from the research is that since android 12 you need to ask the user to aprove the use of bluetooth, after that the app will work fine.

solved in the [52c9324] commit


Creating local theme through the backend results in an exception.

Winter CMS Build
1.2
PHP Version
Other (please specify below)
Database engine
SQLite
Plugins installed
No response
Issue description
I can not create a theme through the backend as it results in "Cms\Classes\Theme::getConfig(): Return value must be of type array, null returned"
I also noticed that though the directory and its folders are created, the YAML file is totally empty and the composer file is NOT created.
Steps to replicate

Created a new project via Composer
Logged inside through <IP_ADDRESS>/backend
Went to Settings -> Front-Theme and created a new blank theme.
The error appears, i am not able to get back into the themes and for example delete the just created theme.

Workaround
Create the Theme via php ARTISAN in the command line seems to work, as version.yaml and theme.yaml are created.

Already fixed by https://github.com/wintercms/winter/commit/d940617a35e4e0181aec43d14191347e8d69f6a0, available now on the develop branch or will be available soon in 1.2.7.


Merge existing task definitions

More of a feature request, apologies if not the right place to post.
We're migrating from Jenkins to drone and it's great, but in regards to publishing to ECS it would be good if could be a bit more dynamic. We use cloud formation to bring up all our services so the ECS service, definition and task names are all dynamic along with the environment variables we inject for things like database IP addresses etc. Currently we have a script in jenkins that pulls down the current service definition as a template and replaces the values for the image to be used. This way we don't need to hard code any of the environment variables into jenkins that could change through cloud formation.
Also it takes the environment (eg production) and finds the appropriate cluster / service first rather than needing to hard code those names too, which may change. eg an api cluster might be called production-api-JH67JGSJK, with a random value appended to the base name production-api through the cloud formation process and a db cluster might be production-db-HGDTY13TH.
It's just a simple bash script using the aws cli, first we pull down all the services and grep on the environment, then on the service ie db or api. This way we can then drill in to the service and find the latest task def for say production-api for a cloud formation built service
So I was wondering if this sort of functionality could be considered to be added. Rather than specifying a fixed service name or family, could it be derived from a substring. Then pull the existing definition and merge any new settings like cpu, mem, env vars, image name etc if they are specified in the yml otherwise use the existing tasks settings. So you only need to specify in the drone.yml what has changed.
I've attached an example bash script, this script is for a cluster with a base name of ServicesCluster which contains a service with a base name that contains the word 'Dashboard'. The service only has one task so it derives the current task from that, but it could easily handle finding a specific task in the service as well if you passed in a base name for the task.
Thanks in advance for any consideration and review
Cheers
Paul
jenkins_build.txt

Thought an example yml might help. $$BRANCH = production. So rather than a fixed name, have additional search parameters. In this case it would search for a service with production-api in the name and a task definition in that service with Dashboard in the name, then in that service a task with Dashboard in the name. Then copy the existing definition, but override just the memory settings changing it to 8GB
deploy:
ecs:
image: plugins/drone-ecs
region: ap-southeast-2
access_key: $$AWS_KEY
secret_key: $$AWS_SECRET
service_search: $$BRANCH-api
family_search: Dashboard
image_name: myreg/frontend-$$BRANCH
image_tag: "1.0.$$BUILD_NUMBER"
memory: 8000

Hi @fridaystreet
Personally I think this is a good idea.  Cloud formation is being used more heavily than manually setting up stacks.
Might want to tweak the yaml to give a clear difference between using the "search" and a standard hardcoded deploy.
@bradrydzewski @tboerger I'm happy to give this a go if no objections? Might be a couple of weeks though.

I'm open for improvements as long as we stay backwards compatible

Good call @tboerger will make sure it is

I don't use ECS or cloud formation so I definitely look toward the community to suggest the best approach to plugins. That being said I'm not sure if this should or should not be included in this plugin. Some questions and concerns I have below.
First, is this something that will be useful to others? This description mentions your team is using a custom script. If this is going to be included in the official plugin we need to verify that this is something that will be used by more than just your team. The best way to do this is fork the plugin and incubate your feature.
Second is that plugins should be simple and targed. In some cases it may make sense to have multiple plugins, for example we have two slack plugins (slack and slack blame) and two s3 plugins (s3 and s3-sync). We prefer simple, targeted plugins. This sounds like it should be an ecs_cloudformation plugin, but again, that is based on my limited understanding.
Third is that not everything needs to be an official plugin. If you are doing something very specific to your team (and not generally useful to others) there is nothing wrong with maintaining your own plugin fork. Plugins should be simple and forkable. The goal of our official plugins is not to do everything for everyone, but to provide a simple way to fork, build and extend upon the base plugins.

I'm going to request this be incubated as a custom plugin. Once we have feedback we can re-open the issue and decide if this should be included in the official plugin, or deployed as a second plugin, or if it should be kept as a custom 3rd party plugin.

Hi Guys,
Thanks for the quick feedback and consideration, appreciate you taking the time to respond.  1. The ability to copy the settings from an existing task definition so they don't all need to be specified in the drone.yml file. 2. The wildcard selection of the services and definitions.
@bradrydzewski @tboerger do you mean for us to fork and incubate it internally and try and create our own plugin first or is it something you guys are able to assist with, just not as a priority?

I'm not using this plug-in, so I don't know if everything makes sense for more people than your team.
The official plugins must be maintainable, and backward compatible, that is the most important.
Maybe you should fork, build it matching your flow and write a proposal how it improves the official plugin if you can keep it general enough.

@bradrydzewski @tboerger do you mean for us to fork and incubate it internally and try and create our own plugin first or is it something you guys are able to assist with, just not as a priority?

Yes, let's start with a fork and then find a way to get community input. This will help us decide if it should be a separate plugin, or if this functionality should be rolled into this ecs plugin, or if there are any improvements that need to be made before publishing.
The goal here, as @tboerger mentioned, is trying to keep backward compatibility. If we merge a feature or functionality now, we can never remove or change it (ok, maybe not never, but we try not to). As a result, we like to incubate stuff and flush out the requirements before we make changes.
Also, creating two separate plugins is not unusual -- we have an s3 and s3-sync. We decided to keep these separate initially. We will soon be combining s3 and s3-sync based on community feedback. We could have combined them from the start, but it was nice to keep them separate to allow them to evolve independently, even if we ultimately end up combining them :)


[Bug]

Issue Feedback

[X] I confirm that I have searched for a solution to this issue in the FAQ and couldn't find a solution.
[X] I confirm that I have searched for this issue in the Issues list (including closed ones) and couldn't find a solution.
[X] I confirm that I have read the Wiki and couldn't find a solution.

Describe the Issue
py310\python.exe -m pip install PyExecJS
why？
Steps to Reproduce
No response
Screenshot or log
No response
OS
Windows
Browser
Chrome
Stable Diffusion WebUI version
No response
Extension version
No response
Python version
No response
Gradio version
No response


WIP: Process doc

This PR contains initial work on a document describing the specification development process.
Resolves #13.

I've done some rethinking on this and pushed some changes, still incomplete but would appreciate feedback.
@joshmoore doc now partially answers your question about versioning, but still more to discuss. Don't yet have answers for your other questions.

This proposal would be superseded by the ZEP process, described in https://github.com/zarr-developers/governance/pull/16.
We should review this and decide if there is anything useful here that can be used in the ZEP framework.
cc @zarr-developers/steering-council

Closing in favor of https://github.com/zarr-developers/governance/pull/16
@MSanKeys963 has reviewed and will reference it when adding, e.g. Codecs and Stores to SPEC ZEPs.


Cookies problem

So, I've added two files:
<script src="/js/angular-translate.js"></script>
<script src="/js/angular-translate-storage-cookie.js"></script>

Then tryied to init:
config.$inject = ['$translateProvider'];
function config($translateProvider) {
    $translateProvider
        .useUrlLoader('/app/crm/locales.json')
        .useCookieStorage()
        .preferredLanguage('en');
}

Getting error:
Unknown provider: $cookieStoreProvider <- $cookieStore <- $translateCookieStorage <- $translate
What I do wrong?

Hello. Sorry, but I have same problem when use $translateProvider.useLocalStorage();:
Uncaught Error: [$injector:unpr] Unknown provider: $translateLocalStorageProvider <- $translateLocalStorage <- $translate
I'm include ngCookies:
angular.module('starter', ['ionic', 'ngCookies', 'pascalprecht.translate']) and of course add <script src="lib/angular-cookies/angular-cookies.min.js"></script>.
Where can be my error?

Hello, @zloy531. Can you show a plunkr or something like that?

@zloy531 you need to include angular-translate-storage-local.

 Unknown provider: $translateLocalStorageProvider

is a general Angular JS error message meaning there is a missing component (named $translateLocaleStorage).
I'd suggest to read the corresponding chapter.
@zloy531  gives you actually the solution already.

I had the same error, i included:
/angular-translate-storage-cookie/node_modules/angular-cookies/angular-cookies.min.js
and
/angular-translate-storage-cookie/angular-translate-storage-cookie.min.js
and it worked. downloaded from npm


Update to the latest config

This PR updates the repository to use the latest config.
Mostly, this is done in order to pull in the following changes:

Make published artifacts full-fledged #335.
Bump dependencies #344.

@armiol Please take a look.


Custom File Association Icon Not Loading

Hey love the new update to the plugin! It is great thanks a ton for making things customizable.
I am trying to update the python file icon using the new Custom File Associations but it doesn't seem to be working for me.
I am using PyCharm 2020.1, and I am entering in all the fields in the settings like how ou say they should be, but it is never overwriting the icon in my IDE.
I am inputting the setting shown in the image below.
I am wondering if it's somehow being overrided by some other setting, or is there a specific format the icon file needs to be like?
I noticed some weird behavior when edits the boxes in the fields too. A lot of the times the icon file path, would randomly replace the pattern I enter, so I am curious to whether that could be a part of the problem.
Let me know if you'll need any other information for me. Thanks for the help.

This is a brand new feature so of course there could still be bugs!
To answer your second question, yes, once you press enter, it only shows the last part of the path you selected alongside the icon, but don't worry the path you entered is the one saved in the settings.
As for the first question, I suspect it is an issue of the same scale of the issue with PHP PSI Icons, e.g. that for icons usually replaced by third-party plugins like PHP or Python, there is some sort of order that applies and what you are seeing is actually the UI Icon, not the file icon. Tell me, is this issue happening with other extensions?
Thanks a lot!

So I tried some more file types, .sh and .xml,  and getting the same results (see attached photo).
I did the test with an svg image from this project, to make sure the file type wasn't the issue.
One thing I noticed was when I restarted PyCharm the icon flickered purple, like the test svg I used, for a Millisecond then went back to the plugin default.

No no you didn’t write the right regexp haha.  I did the new pattern and it worked this time, even got some of the python logos to render.
Can you explain in a bit more detail how the regex matcher works and searches for files? I am familiar with regex, but still a bit confused about how it searches throughout the project directory tree with the match matter.
Also for the python image, it seems to work for opened files but not the ones in the sidebar.

Also when I changed the color in the SVG image from grey -> bright orange, the grey folder color remained the same. I thought i could have been grey because the original SVG was grey as well.

Thanks for looking into this @mallowigi! My py project uses the common test_.*\.py$ pattern and I've always been a little upset I don't see your pretty py test icon on my test files. But yeah looks like there's some bugginess in PyCharm in general.

Yeah I remember one time when I was working last week, the icon did render properly, but later in the week, it went back to how it was in this post.
May try updating PyCharm. I think hey just made a new release.

The issue is because it conflcits with UI Icons imported from the Python package. You see, the custom associations works only for the project view and the tabs, all other instance of files uses the regular UI Icons provided by the package, that's why you often get this icon in commit panels, diff panels etc...
I started to refactor a bit to separate UI Icons for files from other UI Icons, in order to disable them altogether when disabling the File Icons feature, which was the cause of this issue and for PHP files as well, but I couldn't find why after disabling the feature the icons would simply disappear! And then my old computer crashed and I lost all my hard work.
It will take time until I'll get back in feet, so my apologies. You could still try your luck and fix it yourself though lol, that would be greatly appreciated :)

Also not working for me - trying to load a custom icon for C# files with the following:

Once, quite by accident, the editor UI seemed to resolve the icon and apply it. Never been able to get it to work again, it just stays showing the path in the Icon column.
Also occasionally overwriting the Pattern column with the contents of the Icon column.
Cheers

Try using a svg icon. It works for me.


[Feature-Request] A new subfolder should inherit the settings of the parent folder

A newly created subfolder should inherit the settings of their parent folder.
Example:
I create a new subfolder (Inbox/mailing-list) in my inbox for emails from a mailing list.
Using a thunderbird filter all mails with "[mailing-list]" in the subject are moved to the new folder.
Now I'd still like those emails to pop up in the common inbox of all accounts.
Current behaviour:
After refreshing the folder list the folder will be created with default settings and new emails in that folder won't appear in the common inbox.
The current behaviour always requires some time to configure new subfolders.

K-9 Mail currently doesn't know about the folder hierarchy. So this feature depends on issue #630.
Overall, I'd say this is a very low priority feature.


Cache

Ok, so I'm using CORS-Anywhere to get data from my websites api.
For some stupid reason the api doesn't accept requests but the creator of the API doesn't want to change it.
But I've also made it so it changes the data from the api, but cors-anywhere stores some kind of cache since the data doesn't change.
How would I disable this cache? I don't care it takes longer to load.
Have a great day, Nick.

CORS Anywhere doesn't cache any data. If you are seeing cached results, it is either your browser or the API that you're querying.