Docker commands freeze, not executed

On rare occasions I've noticed a system will appear to have a docker freeze/hang when issuing docker commands.
You can run 'docker' alone and see usage info/verbiage on stdout, but if you issue any docker commands stdout freezes/hangs infinitely until the user issues a CTRL-C to exit
Examples:
docker ps
docker images
docker run ......
O/S: CoreOS 494.5.0
Docker Version:
Client version: 1.3.3
Client API version: 1.15
Go version (client): go1.3.2
Git commit (client): 5dc1c5a

I get the same sometimes during builds, it just hangs and won't continue. Ctrl-C and re-build will run fine. Got this on both 1.5 and 1.6.

Seems like two different issues.
@jl-montes Sounds like there is either a deadlock or a command running that hasn't released the lock for some reason.
In any case, this is against a really old version of docker.
I'm going to close this, but please ping if you are still having problems with docker 1.8.
Thanks!


Potential memory leak in dh_ameth.c

Hi,
We noticed the following inconsistency that might lead to memory leak:
OPENSSL_free(dukm); is called in the case of error here:
https://github.com/openssl/openssl/blob/master/crypto/dh/dh_ameth.c#L814
While it is missed in dh_cms_encrypt function here:
https://github.com/openssl/openssl/blob/master/crypto/dh/dh_ameth.c#L976

Yep, looks like a bug to me.


K9 doesn't copy a new sent mail in the sent folder using IMAP

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
latest installed yesterday
Where did you get the app from?
Other
Android version
12
Device model
Samsung Flip
Steps to reproduce
.
Expected behavior
.
Actual behavior
.
Logs
.

See https://forum.k9mail.app/t/upload-sent-messages-to-sent-folder-after-sending-not-working-with-imap/5248
Please use the forum for support requests.


sv - Swedish translation

Added Swedish translation, and added it to locales/config.json

Hi, thank you very much for your contribution!
There's a few additional changes that need to be made manually before the language is fully supported in the app, so it's usually easier for folks to go through Crowdin for the translations, and I can take care of the additional code changes myself.
If you could add these through the Crowdin UI at https://crowdin.com/project/hammertime/sv-SE I'd appreciate it, if not I'll have to open a separate PR with your commit to make the rest of the changes.

Oh, I realized I'll have to open a new PR regardless since I can't edit the branch in your fork. I'm happy to include the changes though, but I'll do it in #36

Sorry, I didn't realise that was the process. You did a quick job with this.

@Liggliluff I'm not sure what the best place to contact you is, but there's a handful of new strings that need translating. If you are still open to helping with translations, I'd ask that you please join the site's Discord server so that you can be notified when your help would be needed alongside all the other translators for the project. The link is in the repository README.


Unrecognized icons passed in the setup call cause nil index errors

Passing any icons that are not found in the internal map of icons to the icons key causes errors. This happens when say a user has a map of icons they use for lsp related things, and they pass this directly to navic to re-use the same icons they use e.g. with cmp. If the kind is unrecognized by navic the lookup will result in nil which is then directly used in a further lookup without a check for an empty value
https://github.com/SmiteshP/nvim-navic/blob/master/lua/nvim-navic/init.lua#L251-L254
e.g.
navic.setup({
  icons = {
    UnsupportedKey = "icon",
  }
})

The above will cause this error. Ideally it would just ignore any keys it doesn't recognize, so a custom object doesn't have to be created just for this plugin's setup.

As a complete side note I've noticed that this plugin references to LSP kinds (e.g. Namespace, Null) that I haven't seen referenced before by other plugins like cmp or lspkind I wonder if it's just that those plugins omitted those kinds, or they are new? Since presumably you are getting them from the lsp, so they must be official so probably need to be added to those plugins?

Yeah sure! I can add a check for this while setting up.

As a complete side note I've noticed that this plugin references to LSP kinds (e.g. Namespace, Null) that I haven't seen referenced before by other plugins like cmp or lspkind I wonder if it's just that those plugins omitted those kinds, or they are new? Since presumably you are getting them from the lsp, so they must be official so probably need to be added to those plugins?

I am getting them from the official LSP specification. https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#symbolKind. It defines the number to kind mapping. I am not sure if these categories were added recently or not. But yeah, maybe they need to add these categories too. Not sure though.


Add overloads with default Action parameters

Currently methods like Exception() require an Action; the action Error() from the logger is usually implied, so additional overloads allowing the user to invoke the method without specifying an Action should be provided.
Review the other extension methods regarding whether default actions are implied, and add additional overloads to those as well.

Completed.  After review only Exception() was changed.  I can't think of a valid reason to want to log EnterMethod()/ExitMethod()/Checkpoint() to a logger other than a trace.


Express response status in new line is not recognized

Long function chains usually get linted as:
res
  .status(200)
  .clearCookie(authCookie)
  .send({
    message: 'User logged out successfully'
  })

When using this code, the HTTP status 200 OK is not listed in the docs. If the newline is removed (by a text editor without a configured linter), it works as intended.
Most probably the same occurs to the cookie detection, but I haven't set it up yet to confirm.

Hi @rlawisch! Thank you for opening the issue.
I tried to reproduce this problem here, but I couldn't. The status 200 always is listed in the docs. Could you submit a sample project that reproduces only this problem? That way is more easy to identify and treat it.

Hey, @davibaltar! I've just pushed my repo to GitHub and created a branch without the hardcoded response docs, so you can take a look at it.
I suggest looking on the Auth routes, that I'm sure are having the bug (even in yesterday's version).
Thanks in advance!

Hi @rlawisch. Here your code worked normally and the .json has been generated with status code 200. I used the command: npm run build to generate the documentation and I don't change the code. I think this problem may be operating system or nodejs version related. I have saw an API that behaved differently depending of the OS. I'm using MAC OS 10.14.6 with NodeJS 10.16.3 and NPM 7.5.6.
What OS, NodeJS and NPM version are you using?
Running npm run build, it generated for me:
   ...
  "paths": {
    "/login": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Logs into account",
        "description": "",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/definitions/Login"
              }
            }
          }
        }
      }
    },
    "/logout": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Logs out of the account",
        "description": "",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK"
          },
          "401": {
            "description": "Unauthorized"
          }
        },
        "security": [
          {
            "logged_in": []
          }
        ]
      }
    },
    ...

Hi, @davibaltar!
That's unexpected.
I'm running Win10 Build 19042 with NodeJS 14.17.3 and NPM 6.14.13. Will try downgrading NodeJS, to see if it is a version issue, and will also try it in the same NodeJS versions (yours and mine) on Ubuntu. I'll keep you posted.
Thanks for putting the effort of trying to reproduce!

Hey, @davibaltar!
Just tested it with your NodeJS version on Win10 and still got the error. Ubuntu builds fine with the same NodeJS version I currently use on Win10. It is an OS issue, indeed.
Thanks for pointing me that!

Thanks a lot for the tests, @rlawisch! I'll install a VM with Win10 e try to identify the problem.
I hope to find and fix it as soon as possible.

Thank you, @BastienGarcia!


Issue 182

Not sure how you feel about using a LoadingCache but this will solve the JMX registration race condition

NetflixOSS » feign » feign-pull-requests #54 SUCCESS
This pull request looks good

@bstick12 I agree that there are some tradeoffs, and also, I think some of this is reacting to design tradeoffs in Ribbon. For example, you could imagine that if such safety is required to not create dupes, that could be addressed upstream. WRT lock contention, if profiling shows that the simple solution is a limiting factor (as opposed to other code in feign or ribbon), I agree we could optimize it.
I totally understand the concern about safety with ribbon and that reading javadoc here punts that. Not to repeat, but I think this is us reacting to a problem that could be solved upstream, hopefully making this resolution tentative.
@allenxwang any ideas on how ribbon consumers can be less concerned wrt JVM singletons?

@adriancole There looks to be a possible work around by creating a NO-OP implementation of the com.netflix.servo.MonitorRegistry which would have to be configured via the system property com.netflix.servo.DefaultMonitorRegistry.registryClass

Duplicated by #187

With that configured, we wouldn't need this change? If so, I'd rather us
doc than merge. Less is best.

Ps even though I am not a fan of making the cache static, I think it is
better than exposing RibbonClient.INSTANCE. if code is still needed (ie
cannot be solved with configuration), go ahead and switch to a static final
map (and lock on it).

If we just document a fix to the issue then we will remove the warning message that is being logged.
We would still be needlessly creating an LBClient for each request. I can't comment on what the overhead of this is.
If we are going to document should be we providing an NoOpMonitorRegistry class?

opened a fix upstream. https://github.com/Netflix/servo/pull/306


Cannot SetInstance different objects implementing same interface

The SetInstance<T>(T instance) method of AutoMoqer is designed to inject specific objects. Given a constructor with parameters of the same IType the last SetInstance call will override any previous objects. This is a major flaw in the framework.
An example
A common case is for a ViewModel depending on two IScheduler's the background and the dispatcher. In your ViewModelTest you'd want to have different schedulers passed in, but this is not possible.

Don't know what the solution is here with Unity, perhaps some mechanism of injection by param name...no idea how'd that work. But will take a poke and see

Ah, I don't know about a major flaw... I've personally used this to write thousands upon thousands of tests, but have never come across this situation.
If I were to write out the scenario of yours as I think I understand it...
// ViewModel.cs
public class ViewModel
{
    public ViewModel(IScheduler scheduler1, IScheduler scheduler2)
    {
        // ...
    }
}

// ViewModelTests.cs

var scheduler1 = new Scheduler();
var scheduler2 = new Scheduler();

var mocker = new AutoMoqer();
mocker.SetInstance<IScheduler>(scheduler1);
mocker.SetInstance<ISche.... # HEAD EXPLODES, UGH, NO WAY TO DO THIS

I can't think of a way to resolve this within AutoMoq, though.  On those rare cases when AutoMoq wouldn't work for me, like in this case... I wouldn't use AutoMoq.
AutoMoq is meant to be a tool to make testing easier.  It fits many use cases very well, but some others not so well.  I'm totally open to an idea that will fix this edge case, but only under these two stipulations:

It doesn't affect anybody else using the library, and
It "makes sense."

(2) is a little vague, but I can't imagine a solution that will work in this case.  I'd love to be shown another way because then I'd learn that better way, because... I don't know what the solution would be.
:smile:

Now that I think about it, I have come across this situation... but I always handled with a different design.
Instead of:
public class ViewModel
{
    public ViewModel(IScheduler scheduler1, IScheduler scheduler2)
    {
        // ...
    }
}

I'd write:
public class ViewModel
{
    public ViewModel(IEnumerable<IScheduler> schedulers)
    {
        // ...
    }
}

The latter can easily be mocked, and is compatible with AutoMoq.
Of course this is only applicable if all of the schedulers are meant to do the same thing.  I just can't think of a case where I've ever needed two instances of the same interface, but passed in a way where they'd be received as two separate arguments through the constructor.

My first thought is to use a string when registering to distinguish... but that wouldn't be very refactor-friendly.
We could use the order, but again... refactor-friendly.  But perhaps not as bad as the arbitrary string.

In retrospect major flaw is surely an overstatement. I've used AutoMocking before and enjoy that undoubtedly and find it useful. But in the case of reactive applications you do find two ISchedulers being passed into the ViewModels often.
The IEnumerable<T> option is a solution surely. But not as elegant. Using names of params seems more so. Could we use nameof()?

We could use nameof()... when it's available, though... isn't it coming in a later version of C#?
And all of the examples I've seen of it are with things like properties... can it be used with variables?

It is available in VS2015, so C#6. It can be used to get the string name of anything, param, T, etc. Just created an example here
So can we move to C# 6?

Ah, I'd rather not. But perhaps there is a way to use a string as the identifier, which would leave it to the user to use nameof or not.  But how to use that string?  hmm...


Rights for Attributes

Determination of rights also on attributes

Extension Point implemented and attributes can be disabled or hided


Various cleanups and improvements

This PR:

Fixes lot of rubocop styles and good practices issues
Adds the fixed issues to a rubocop config file so that we can continue working on the rest
Fixes some usage of fail
Fixes marking skipped database tests as green if they did not ran

+1

Looks good. Thanks.


Add modulus_dyn and modulus_scalar_dyn

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

While working on fixing a issue on DataFusion (https://github.com/apache/arrow-datafusion/issues/5150), I realized that modulus op doesn't provide dyn and scalar_dyn kernels.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

label_issue.py automatically added labels {'arrow'} from #3649


Event onclose the fisrt value is null

When the first choose value and handler event onclose I receive value is null.

I had the same issue. My issue was that I was using objects for options, and had set :track-by="value" while also having a value prop on my component. I solved it by removing the binding, and using track-by="value".

@truongnguyengithub Please provide reproduction link


Error running fontforge when directory path contains whitespaces

In the file fontforge.js line 31 :
// Run Fontforge
var args = [
	'fontforge',
	'-script',
	path.join(__dirname, 'fontforge/generate.py')
].join(' ');

fontforge can not be launched when the value of the variable "__dirname" contains whitespaces.
Is it possible to fix it?
Thanks.

It shouldn’t be difficult. I’ll be happy to merge a pull request with a fix.

Has anyone found a fix for this? Too many of my folder names have spaces for me to get around this by just renaming them all :( It would be very very welcome.  Thanks in advance :)

This isn't too hard to fix, just change the code in line 31 to:
'"' + path.join(__dirname, 'fontforge/generate.py') + '"'
I don't know if this is an elegant solution to this problem, but it works on my side. I'd love to see this fixed in the next release.

And already fixed, that’s why this issue was closed with a link to a pull request.
This kind of comments are quite useless: if you know how to fix something just send a pull request.


Build ARM docker images

I was trying to run pgmq on my MacBook, and I noticed pgmq doesn't support ARM docker images.
The current Docker manifest on quay.io is:
{
	"schemaVersion": 2,
	"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
	"config": {
		"mediaType": "application/vnd.docker.container.image.v1+json",
		"size": 7269,
		"digest": "sha256:3f0d3cf9de2a09d00fd4c9d2aecb1e5dbcaf20c591066fb8d42547007112f8c7"
	},
	"layers": [
		// [...]
	]
}

projectcalico/calico#4227 might be helpful here.
The image itself builds successfully on ARM:
docker build -t tembo-pgmq .                                                                                [i]
[+] Building 264.9s (21/21) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 2.18kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 2B                                                                                0.0s
 => [internal] load metadata for quay.io/coredb/ubuntu:22.04                                                                                0.0s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 52.30kB                                                                                0.0s
 => CACHED [builder 1/4] FROM quay.io/coredb/ubuntu:22.04                                                                                0.0s
 => [builder 2/4] RUN apt-get update && apt-get install -y curl pkg-config libssl-dev build-essential libclang-dev clang software-properties-common                                                            56.3s
 => [builder 3/4] RUN curl https://sh.rustup.rs -sSf | sh -s -- -y                                                                                17.0s
 => [builder 4/4] RUN /root/.cargo/bin/cargo install pg-trunk                                                                                110.1s
 => [stage-1  2/13] COPY --from=builder /root/.cargo/bin/trunk /usr/bin/trunk                                                                                0.1s
 => [stage-1  3/13] RUN set -eux;  groupadd -r postgres --gid=999;  useradd -r -g postgres --uid=999 --home-dir=/var/lib/postgresql --shell=/bin/bash postgres;  mkdir -p /var/lib/postgresql;  chown -R postg  0.2s
 => [stage-1  4/13] RUN apt-get update && apt-get install -y         curl ca-certificates gnupg lsb-release         && rm -rf /var/lib/apt/lists/*                                                             16.6s
 => [stage-1  5/13] RUN curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg > /dev/null                                                 0.7s
 => [stage-1  6/13] RUN echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list                                                                     0.4s
 => [stage-1  7/13] RUN set -eux;  apt-get update; apt-get install -y --no-install-recommends locales; rm -rf /var/lib/apt/lists/*;  localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UT  7.9s
 => [stage-1  8/13] RUN mkdir /docker-entrypoint-initdb.d                                                                                0.3s
 => [stage-1  9/13] RUN apt-get update && apt-get install -y         build-essential         git         postgresql-server-dev-15         postgresql-contrib         postgresql-15         && rm -rf /var/lib  49.4s
 => [stage-1 10/13] COPY ./postgresql.conf /usr/share/postgresql/15/postgresql.conf.sample                                                                                0.0s
 => [stage-1 11/13] RUN trunk install pg_partman                                                                                1.2s
 => [stage-1 12/13] RUN trunk install pgmq --version 0.10.0                                                                                1.7s
 => [stage-1 13/13] COPY docker-entrypoint.sh /usr/local/bin/                                                                                0.0s
 => exporting to image                                                                                2.7s
 => => exporting layers                                                                                2.7s
 => => writing image sha256:f52315cee15d133f817cbdcbcdf7174d9c05cc8fc52182064b35339ba7ab6ded                                                                                0.0s
 => => naming to docker.io/library/tembo-pgmq

But it fails to run. The error log on Docker is:
performing post-bootstrap initialization ... 2023-08-09T14:45:01.748776458Z 2023-08-09 14:45:01.748 UTC [27] FATAL:  could not access file "pg_partman_bgw": No such file or directory

This is due to pg_partman_bgw not being installed. Its installation fails due to tembo-io/trunk#377, which blocks this issue.

We can probably get around https://github.com/tembo-io/trunk/issues/377 by installing pg_partman from source in the docker build instead of using trunk install for it.

It is messy but as an example, pg_partman is installed from source in CI
https://github.com/tembo-io/pgmq/blob/073d040106d40ea5ad3b3b20568ade8628635136/.github/workflows/extension_ci.yml#L70-L74

I can definitely make these changes, but I do like the idea of building on top of trunk.
I would be fine with:

A PR to build from source while trunk itself doesn't do multi-arch
A PR to build both containers and upload them to quay.io
Reverting (1) when trunk support is added

Or would you rather go with building from source + multi-arch on pgmq independent from trunk?

No, just build from source as a temporary fix/until trunk install supports multi-arch. trunk build then trunk install --file might even work too.

I am on it then. pg_partman installation is fine already.
But how do I trunk build pgmq?
I am trying trunk build straight from the pgmq directory,  but I get the following error message:
0.718 Trunk.toml not found
0.718 Building from path .
0.720 Detected that we are building a pgrx extension
0.720 Detected pgrx version range 0.9.8
0.720 Using pgrx version 0.9.8
0.720 Building pgrx extension at path .
0.723 [/usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/pg-trunk-0.8.7/src/commands/containers.rs:343] &err = HyperResponseError {
0.723     err: hyper::Error(
0.723         Connect,
0.723         Os {
0.723             code: 2,
0.723             kind: NotFound,
0.723             message: "No such file or directory",
0.724         },
0.724     ),
0.724 }
0.724 thread 'main' panicked at 'error occurred: Other error: error trying to connect: No such file or directory (os error 2)
0.724
0.724 Caused by:
0.724     0: error trying to connect: No such file or directory (os error 2)
0.724     1: No such file or directory (os error 2)', /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/pg-trunk-0.8.7/src/main.rs:59:6
0.724 stack backtrace:
0.740    0: rust_begin_unwind
0.740              at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:578:5
0.740    1: core::panicking::panic_fmt
0.740              at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:67:14
0.740    2: core::result::unwrap_failed
0.740              at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/result.rs:1687:5
0.741    3: trunk::main
0.741 note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

I am looking into the code of containers.rs to try to figure it out as I have a high-level idea of how trunk build works thanks to @sjmiller609. The error message alone isn't very helpful as it doesn't indicate which file is missing.
I can delve into debugging it, but I am sure you are already familiar with building pgmq with trunk.

We build pgmq with trunk in ci, https://github.com/tembo-io/pgmq/blob/d1ab63e9e1c587b7ba6c968536c674a70087f2a0/.github/workflows/extension_ci.yml#L110
No extra flags, but there were some changes to the trunk cli and registry recently. Maybe check that you're on the latest version, >0.10, I believe.
Thank you for digging into this!

@viniciusd , hopefully we are able to support this via https://github.com/tembo-io/pgmq/pull/160

@viniciusd, we ARM images for linux!

@viniciusd, we ARM images for linux!

Thanks for the updates! I am trying to get my schedule in order to get back to OSS/tinkering around

While trying to install on a existing container postgres:16 I am doing the following and getting. @ChuckHend
# trunk install pgmq
Using pkglibdir: "/usr/lib/postgresql/16/lib"
Using sharedir: "/usr/share/postgresql/16"
Using Postgres version: 16
info: Downloading from: https://cdb-plat-use1-prod-pgtrunkio.s3.amazonaws.com/extensions/pgmq/pgmq-pg16-1.1.1.tar.gz
info: Dependent extensions to be installed: []
info: Installing pgmq 1.1.1

error: This package is not compatible with your architecture: aarch64, it is compatible with x86_64

I see above the PR 160 was only for linux arm so thats probably the cause. If we can get this working I don't mind doing a write up for it to help others. I think most people that would use pgmq would add it to a existing Postgres instance and not pull a new container but I could be wrong. Anyways love the PGMQ though it works super well on my linux machine!

hey @joelawm, I'm glad you like the project! trunk only supports x86 at the moment which means if you want to install pgmq on an existing postgres instance thats not running on x86, you'll most likely need to build it from source. Can you give that a try and let me know how it goes?

@ChuckHend oh of course yes I can! This is the documentation I was looking for haha


Debug why new conversations errors out occasioanlly.

I get this - is it relevant, @davetaz?
POST /instances/66bdf719cf6a738f580cc555/conversations/create 500 80.744 ms - 46
Error in verifyConversationMiddleware: CastError: Cast to ObjectId failed for value "create" (type string) at path "_id" for model "Conversations"
at SchemaObjectId.cast (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/schema/objectId.js:250:11)
at SchemaType.applySetters (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/schemaType.js:1236:12)
at SchemaType.castForQuery (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/schemaType.js:1653:17)
at cast (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/cast.js:375:32)
at Query.cast (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/query.js:4857:12)
at Query._castConditions (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/query.js:2265:10)
at model.Query._findOne (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/query.js:2585:8)
at model.Query.exec (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/query.js:4401:80)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async verifyConversationMiddleware (file:///Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/middleware/auth.js:184:30) {
stringValue: '"create"',
messageFormat: undefined,
kind: 'ObjectId',
value: 'create',
path: '_id',
reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer
at new ObjectId (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/bson/lib/bson.cjs:2362:23)
at castObjectId (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/cast/objectid.js:25:12)
at SchemaObjectId.cast (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/schema/objectId.js:248:12)
at SchemaType.applySetters (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/schemaType.js:1236:12)
at SchemaType.castForQuery (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/schemaType.js:1653:17)
at cast (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/cast.js:375:32)
at Query.cast (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/query.js:4857:12)
at Query._castConditions (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/query.js:2265:10)
at model.Query._findOne (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/query.js:2585:8)
at model.Query.exec (/Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/node_modules/mongoose/lib/query.js:4401:80)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async verifyConversationMiddleware (file:///Users/at6737/Work/Projects/SAGE-RAI/Software/EmbedJS-RAG-Frontend-ODI/middleware/auth.js:184:30),
valueType: 'string'
}

@davetaz The commit 997297d1bfcdcef61a73743b73de5ead52148fee got rid of the above error, don't know if the original issue is more than this. I'm not sure if this is the right fix - I've added 'setActiveInstance' to each of the conversation routes, because it was failing with req.ragApplication being undefined, but I don't know if it's necessary to do this for all those routes.
I think it might be, but please check!

I think It was all to do with setActive instance as I now don't get the errors. Going to close for now.

I debugged the "Please send a message." error, which was mainly triggered by whitespace. The .trim() method should handle it unless there might have been other triggers. It seems to be working fine now, and I haven't encountered the issue since last night. I'll continue to monitor it...


Improve tail worker support

This fixes some issues from #3021, which I noticed while working on something unrelated.
The third commit is more of a suggestion. Do we think anyone is using logging yet? If so, maybe I should drop this commit. If not, maybe I should change the commit to actually remove logging in favor of the simpler flat array which I've named tails... let me know.

@jasnell Can you comment on whether logging is in use yet?
I know it theoretically could be, but have you explicitly documented it or told anyone about it or used it anywhere beyond what's in #3021?

Nope, intentionally hadn't documented it just yet but better to ask the wrangler folks. Not sure if anyone on that side has made use of it.

I don't see toService nor toServices mentioned in workers-sdk so doesn't look like it's used in wrangler yet. OK, will update this to just replace it with tails.


a problem when running demo file

I run sample_tf.py and get the error:
XXX\do_conv_tensorflow.py:67 build
input_channel = self._get_input_channel(input_shape)
**AttributeError: 'DOConv2D' object has no attribute '_get_input_channel'**

what can I do.

please check the version of tensorflow


[E2 addon] Suggestion - bass error flags and webaudio_maxfilesize sv convar

The current addon seems to lack any bass error flags when all the other webaudio flags pass.
Been trying to test it for about 2 to 3 hours now and none of the files properly open and always return BASS_ERROR_FILEOPEN.
Other addons off-e2 that utilize webaudio aswell have no issues whatsoever, so i am asking for additional flags , namely:
wa_max_filesize
client replicated server_can_execute
to have a maximum filesize the server can set , and for the functions internally for e2:
Number=webAudioErrorType(webaudio)
which would fetch BASS_ErrorGetCode and return the number that it has gotten
(see this link for info)
and
Number=webAudioDidError(webaudio)
which returns 1 incase any of the errors were raised and 0 if not.

I'm not sure what you mean by "bass error flags" vs "webaudio flags"
wa_max_filesize wouldn't be possible unless you did an http request before sending bass to get the sound, which is pretty awkward. And your issue with BASS_ERROR_FILEOPEN is likely from malformed urls pointing to non-audio sources. For example, dropbox urls are often incorrect, and addons like starfall fix them automatically for you, but webaudio currently does not, which might be why you get this error on webaudio, but it works fine on other addons.
As for webAudioDidError, webaudio already automatically detects if it errored on your client, and sends it to the server, in order to mark the webaudio object as invalid. So you could just periodically check if xwa:isValid(), or wrap your code in a try catch for whenever it isn't valid.
It's not elegant by any means, since WebAudio is all done asynchronously through communication between clients and the server through the net library, the only maybe improvement that could be done would be adding events like waErrored(Obj:webaudio, Msg:string) and waReady(Obj:webaudio). Although 90% of webaudio behavior would already work just fine before waReady (currently the only thing that wouldn't is getting the length, since only the client would know that.)
For webAudioErrorType, maybe number webaudio:getErrorCode() could be a thing.


allow defining global HTML attributes for any meme image

Hi,
The issue I had with the meme generator plugin is that sometimes meme images are big, and as they are displayed in the job / build description, everything else below is shifted down, sometimes out of screen.
I wanted to add a way to limit the size a meme image, so basically just a height attribute in the img element. But i then though about a more generic approach, where any html attributes could be added to the img element.
So I created a new field in global configuration, to hold these custom html attributes.
A future improvement could be to allow overriding these global attributes for each specific meme.

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

Already implemented in my PR here: https://github.com/jenkinsci/memegen-plugin/pull/1
Looks like @joonty is overwhelmed by daily routine, so we'll have to wait till he merges everything.

Sorry, new job! Will get on it soon when things settle down...


[python] Promote some lifecycle tags from experimental to maturing

Given we are now at 1.0 Python release.
Also relates to updating lifecycle tags from experimental to maturing in the downstream package cellxgene-census.
cc @bkmartinjr @pablo-gar

Opening bid: set all public Python tiledbsoma and somacore API to maturing.
Please comment or counter this proposal: @johnkerl @aaronwolen @pablo-gar (and anyone else who has a viewpoint).
If you disagree with the bid, please specify which API you propose as not maturing

I'm in :)


Weird platformer bug?

When I jump while standing it still rotates?

nah its must do that
play swing in plat mode to see


fix: command context is a superset of the cli context.

Coverage remained the same at 97.264% when pulling c991cae4a7ce01a798d06a7824c9dd2bf28fc876 on context-set into 94188bdaf110be419513afc709d7c2a8353091e7 on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


AgentPoolProfile Remodel Pt1 (Move KubeletDiskType, PreprovisionExtension out of APP)

This is the first PR in the effort to clean up AgentPoolProfile. It moves KubeletDiskType(to new Storage Struct) and PreprovisionExtension(to CSEConfiguration struct)

i'm going to close this for now, we can revive it when we're actively working on this.


Can't use arrays in boolean operations

Godot version:

c7b4514
Issue description:

This is pretty exotic code, but works fine in 3.2:
func _ready() -> void:
	var a: Array
	if true and a:
		print("ok")

Now it says invalid operand bool and Array for and operator.

There is already an issue here  #44688

There is already an issue here  #44688

Duplicate of #44688

Duplicate of #44688


Add the ability to upload videos with the webpanel, now that we have mobiclip working.

This would be a good feature to add

Perhaps music to mov encoding too? Might be a nice feature.

This is within #1 primarily, but is something separately that needs to be accomplished.

@spotlightishere Question Spotlight, would it be possible to have it display h265 and surround sound? I mean, it might make the videos have more HQ sound, and with h265 Cacti isn't going to get overloaded on storage.
Also, yay I got to be in the concierge, I'm going to start encoding the videos to show on my mii, so stay tuned for that 😄

@spotlightishere Question, would it be possible to have it display h265 and surround sound? I mean, it might make the videos have more HQ sound, and with h265 Cacti isn't going to get overloaded on storage.
Also, yay I got to be in the concierge, I'm going to start encoding the videos to show on my mii, so stay tuned for that 😄

Probably not.

The Wii does not support this.

Deployed!


Fail gracefully

Failure in Code Carbon should not fail the actual user code base.

Can be fixed by wrapping the start() and stop() methods in a try/catch, logging, and ignoring the message. Something like so:
@contextmanager
def suppress(*exceptions):
    try:
        yield
    except exceptions:
        logger.error(exceptions)
        pass

@suppress(Exception)
def start()
      # code

I'll take a look at this

Thanks @adijo , assigned it to you.

Done in https://github.com/mlco2/code-carbon/pull/36


Catastrophic Failure - Randomly

This issue occurs after running tweepy from anywhere between 1 minute - 24 hours, randomly.
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/home/alex/.local/lib/python3.5/site-packages/tweepy/streaming.py", line 294, in _run
    raise exception
  File "/home/alex/.local/lib/python3.5/site-packages/tweepy/streaming.py", line 263, in _run
    self._read_loop(resp)
  File "/home/alex/.local/lib/python3.5/site-packages/tweepy/streaming.py", line 324, in _read_loop
    self._data(next_status_obj)
  File "/home/alex/.local/lib/python3.5/site-packages/tweepy/streaming.py", line 297, in _data
    if self.listener.on_data(data) is False:
  File "/home/alex/.local/lib/python3.5/site-packages/tweepy/streaming.py", line 50, in on_data
    data = json.loads(raw_data)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'NoneType'

My proposed solution is in the following Pull Request: https://github.com/tweepy/tweepy/pull/780

This should be fixed in https://github.com/tweepy/tweepy/commit/c1eddf1a5788ec4947d3a363dfe165ea599c31fc.

Duplicate of #674.


Link NPM to GitHub repository & issues

After a little d-tour, starting at [zstream-server on npmjs.com],(https://www.npmjs.com/package/zstream-server) figuring out the corresponding GitHub repository, I thought, let's fix it.

Haha thank you for catching this! It's been quite a while since I've worked on this so I guess I never realized that I had forgotten to link my GitHub repo.


Consider adding reflect-metadata support

Many typescript modules are now using the reflect-metadata api, which still requires a polyfill. It would be nice if this also came with reflect-metadata already set up. All it would require is an import in the index.ts file, and a setupFiles pointing to a file that also does that within the jest config.

I don’t think this use case is as common as I thought. It’s easy enough to add reflect metadata support manually if I need it.


Return metadata during Pitometer Runs

As a pitometer user I want to enable consumers of the pitometer output so that they can more quickly resolve issues.
Return the metadata object (remembering that metadata will be in an arbitrary structure or not present at all) allowing the client to parse this to suit their needs.

Related to #540

The latest version of the bridge in keptn 0.5.0 solves that.


Add 2 New Rules for Footnotes

see issue #39. Also ran npm run compile and npm run lint this time :)

I would have added #36 as well, but I do not know how to get the tabsize setting.

added further exceptions for the capitalize rule

I would have added #36 as well, but I do not know how to get the tabsize setting.

You can pass it in as an option, the user can set tabsize=2 in the settings. See the other rules for examples.

Okay just to be sure, I took the rules.ts from your repo, redid all the necessary steps again and commited once more. I have no idea what is/was happening with those tests that changed – I literally did not touch any of those things code sections that are supposedly changed.
Anyway, this here seems to work, all tests pass when compiling, moving footnotes to the bottom does not do anything when already at the bottom. Depending on what you think about the issue with the consecutive blank lines when moving footnotes, I think this should work (other than the tests that are changed for some weird reason.)

okay, modified the moving to bottom rule, now I think everything should be fine


I've Tried It All

Checklist

[x ] I have read the common issues wiki page
[x ] I have checked to make sure the plugin is up to date

I hope this is the right place to put this. If it's not, and there is a better way to potentially ask questions like this, please let me know and I can remove this, or it can be marked as finished.
I recently installed this into Homebridge, and I immediately setup an LED Strip, and it works pretty well (Colors are strange, but I haven't played with it's config much, I just wanted to get off and on working currently for all 17 lights in my house).
I then moved on to my first Bulb, and it has been an immense pain. I've spent hours now pouring over everything I can. I can not figure out what I'm doing wrong. I've double checked the Device ID, and Device Key, as well as the IP address. I've logged into the machine running Homebridge and I can ping the device without an issue. I've ran through the Tuya API Explorer to find out the exact Datapoints(dp) for the device (I've double checked that they all are correct), but it just refuses to function at all.
I've looked in the logs and I can't even find mentions of it. At one point I did see where it failed to discover it in time, and then it connected to it, and almost instantly disconnected from it. I'd show the logs, but when I go to the plugin logs they just appear blank.
However, Most times - I never see anything about the device in the logs at all.
I've cleared the cached accessories, I've restarted the device (bulb - I've restarted the device running homebridge. I've tried the different color inputs. I've tried everything I can find, and nothing seems to work. Can someone please advise me, if at all possible? Here's my current JSON config (With keys and IDs replaced - device 1 works, device 2 doesn't - be aware that I've tried the various color modes and scales and defaults for device 2):
{
    "devices": [
        {
            "type": "RGBTWLight",
            "name": "Desk Shelf Light Strip",
            "id": "ID1",
            "key": "KEY1",
            "ip": "<IP_ADDRESS>",
            "manufacturer": "Govee",
            "dpPower": 20,
            "dpBrightness": 22,
            "dpColorTemperature": 23,
            "dpMode": 21,
            "dpColor": 24
        },
        {
            "type": "RGBTWLight",
            "name": "Office Light Fixture 2",
            "id": "ID2",
            "key": "KEY2",
            "ip": "<IP_ADDRESS>",
            "manufacturer": "Govee",
            "dpPower": 20,
            "dpColorTemperature": 24,
            "minWhiteColor": 10,
            "maxWhiteColor": 1000,
            "dpMode": 21,
            "dpColor": 24
        }
    ],
    "platform": "TuyaLan"
}

It's incredibly frustrating because the LED strip works perfectly and instantly, but it's like the other device isn't connecting at all, even though I've verified that Homebridge can connect to it.

Here is the information I've extracted using the API Explorer inside Tuya Cloud for the device:
Services:

    Default Service:

        Switch (开关):
            Ability ID: 20
            Access Mode: Read/Write (rw)
            Type: Boolean
            Icon: Power Switch (icon-dp_power)
            Attribute: 641

        Mode (模式):
            Ability ID: 21
            Access Mode: Read/Write (rw)
            Type: Enum
            Range: White, Colour, Scene, Music
            Icon: Mode Switch (icon-dp_mode)
            Attribute: 644

        Brightness (白光亮度):
            Ability ID: 22
            Access Mode: Read/Write (rw)
            Type: Value
            Min Value: 10
            Max Value: 1000
            Step: 1
            Icon: Brightness Control (icon-liangdu1)
            Attribute: 644

        Temperature (冷暖值):
            Ability ID: 23
            Access Mode: Read/Write (rw)
            Type: Value
            Min Value: 0
            Max Value: 1000
            Step: 1
            Icon: Temperature Control (icon-dp_half)
            Attribute: 644

        Color Adjustment (彩光):
            Ability ID: 24
            Access Mode: Read/Write (rw)
            Type: String
            Max Length: 255
            Description: Adjusts color, brightness, and saturation
            Icon: Color Control (icon-dp_mode)
            Attribute: 512

        Scene (场景):
            Ability ID: 25
            Access Mode: Read/Write (rw)
            Type: String
            Max Length: 255
            Description: Lighting scene control
            Icon: Scene Mode (icon-dp_mode)
            Attribute: 512

        Countdown (倒计时):
            Ability ID: 26
            Access Mode: Read/Write (rw)
            Type: Value
            Min Value: 0 seconds
            Max Value: 86400 seconds
            Step: 1 second
            Unit: Seconds
            Icon: Timer (icon-a_nav_timer)
            Attribute: 640

        Music Rhythm (音乐律动):
            Ability ID: 27
            Access Mode: Write (wr)
            Type: String
            Max Length: 255
            Description: Uses an app algorithm to synchronize lights with music
            Icon: Music Mode (icon-dp_mic)
            Attribute: 128

        Real-time Adjustment (实时调节):
            Ability ID: 28
            Access Mode: Write (wr)
            Type: String
            Max Length: 255
            Description: Allows real-time preview adjustment
            Icon: Real-time Control (icon-dp_box2)
            Attribute: 640

        Rhythm Mode (生物节律):
            Ability ID: 30
            Access Mode: Read/Write (rw)
            Type: Raw
            Max Length: 255
            Description: Automatically adjusts brightness and color temperature based on body rhythm
            Icon: Rhythm Mode (icon-dp_time3)
            Attribute: 640

        Sleep Mode (灯光助眠):
            Ability ID: 31
            Access Mode: Read/Write (rw)
            Type: Raw
            Max Length: 255
            Description: Gradual light dimming to help with sleep
            Icon: Sleep Mode (icon-dp_sleep)
            Attribute: 640

        Wakeup Mode (灯光唤醒):
            Ability ID: 32
            Access Mode: Read/Write (rw)
            Type: Raw
            Max Length: 255
            Description: Gradual light brightening to wake you up
            Icon: Wakeup Mode (icon-dp_sun)
            Attribute: 640

        Power Memory (断电记忆):
            Ability ID: 33
            Access Mode: Read/Write (rw)
            Type: Raw
            Max Length: 255
            Description: Remembers the light’s status after a power outage
            Icon: Power Memory (icon-dp_lightning)
            Attribute: 640

        Do Not Disturb (停电勿扰):
            Ability ID: 34
            Access Mode: Read/Write (rw)
            Type: Boolean
            Description: Prevents lights from turning on after a power outage, disturbing users
            Icon: Do Not Disturb (icon-dp_sleep)
            Attribute: 640

        Cycle Timing (循环定时):
            Ability ID: 209
            Access Mode: Read/Write (rw)
            Type: Raw
            Max Length: 255
            Description: Automatically cycles light on and off, useful for plant lighting
            Icon: Cycle Timer (icon-dp_time)
            Attribute: 128

        Random Timing (灯光看家):
            Ability ID: 210
            Access Mode: Read/Write (rw)
            Type: Raw
            Max Length: 255
            Description: Simulates lighting behavior when people are at home
            Icon: Random Timer (icon-dp_time3)
            Attribute: 128
            ```


gh-pages submodule references a commit that is not on the gh-pages branch

I first noticed this because it actually causes a failure when cloning using an old enough version of the git CLI:

/tmp $ git --version
git version <IP_ADDRESS>
/tmp $ git clone https://github.com/johnmcfarlane/cnl.git
Cloning into 'cnl'...
remote: Enumerating objects: 237, done.
remote: Counting objects: 100% (237/237), done.
remote: Compressing objects: 100% (118/118), done.
remote: Total 21229 (delta 132), reused 160 (delta 98), pack-reused 20992
Receiving objects: 100% (21229/21229), 5.16 MiB | 0 bytes/s, done.
Resolving deltas: 100% (15125/15125), done.
/tmp $ cd cnl
/tmp/cnl $ git submodule update --init --recursive
Submodule 'doc/gh-pages' (https://github.com/johnmcfarlane/cnl.git) registered for path 'doc/gh-pages'
Cloning into 'doc/gh-pages'...
remote: Enumerating objects: 237, done.
remote: Counting objects: 100% (237/237), done.
remote: Compressing objects: 100% (118/118), done.
remote: Total 21229 (delta 132), reused 160 (delta 98), pack-reused 20992
Receiving objects: 100% (21229/21229), 5.16 MiB | 0 bytes/s, done.
Resolving deltas: 100% (15125/15125), done.
fatal: reference is not a tree: 1a1f50e0e9b7b249be3f70f70918ea716257f133
Unable to checkout '1a1f50e0e9b7b249be3f70f70918ea716257f133' in submodule path 'doc/gh-pages'

Newer git CLI versions don't seem to have this issue and can successfully checkout commit 1a1f50e without the 'reference is not a tree' error. However, this seems to point an underlying issue, which is that the submodule commit 1a1f50e appears to be a detached commit and is not actually on the branch gh-pages, despite the submodule gh-pages entry in .gitmodules pointing to that branch.
Submodule commit that seems to be detached:
https://github.com/johnmcfarlane/cnl/commit/1a1f50e0e9b7b249be3f70f70918ea716257f133
Branch gh-pages (which seems to contain only one initial commit):
https://github.com/johnmcfarlane/cnl/tree/gh-pages
Whatever happened here it seems to have been recent, as our organization has had builds checking out the repo with the old git client for months without issue- the "reference is not a tree" error seems to have just started within the last day or two (but we were able to get things working again by upgrading to a newer git client). Is it possible something happened recently to rewrite the gh-pages branch and detach those commits?

Hi, yes sorry, I was looking into ways to avoid the bloat caused by Doxygen artefacts on the gh-pages branch so I rolled back the gh-pages branch. But it sounds like that breaks the main branches as you report. I've pushed it back. Please let me know if that doesn't fix the problem.

Hi, yes sorry, I was looking into ways to avoid the bloat caused by Doxygen artefacts on the gh-pages branch so I rolled back the gh-pages branch. But it sounds like that breaks the main branches as you report. I've pushed it back. Please let me know if that doesn't fix the problem.

Yes, that fixed it. Thanks!

Yes, that fixed it. Thanks!


Bug? Bump pre-release from released version

Thanks @carstencodes for your great work on this!
I'm getting the following output
pdm bump pre-release --pre alpha
Performing increment of version: 0.5.2 -> 0.5.2a1

Is this behaviour intended? I would have thought that, if I am on version 0.5.2 and I bump to the next pre-release, I should go to 0.5.3a1 (i.e. the pre-release for the next version) rather than 0.5.2a1 (which would be a pre-release for a version which has already been released, namely 0.5.2).

I thought, that I had fixed this. I'll take a look at it over the course of the weekend.

Ah I didn't look on latest main, so I might just be using the wrong version

The default is at least set to True.

And depends on whether it is a pre-release or not.

Ah I didn't look on latest main, so I might just be using the wrong version
@znichollscr
Is it working with a newer version?

Hmm no still appears unhappy. I'll do some digging now

As there are two more bugs to go, I would implement them first before releasing a new version. Is that ok for you?

Is that ok for you?

Yep no rush at all.


Add Solr / Elastic to the Database category.

[Insert URL to the list here.]
https://github.com/xingh/awesome-solr
https://github.com/dzharii/awesome-elasticsearch
[Explain what this list is about and why it should be included here.]
So much of technology now uses Solr / Elastic for search, we should link to it.
Solr powers Amazon CloudSearch / Solr is used in various industries to power search.
Elastic powers Azure Cloud Search / Elastic is used around the world for search and analytics.
By submitting this pull request I confirm I've read and complied with the below requirements.
Failure to properly do so will just result in the pull request being closed and everyone's time wasted. Please read it twice. Most people miss many things.

I have read and understood the contribution guidelines and the instructions for creating a list.
This pull request has a descriptive title. For example, Add Name of List, not Update readme.md or Add awesome list.
The entry in the Awesome list should include a short description about the list project/theme (not the list itself), and should be added at the bottom of the appropriate category.
The list I added

has been around for at least 30 days,
is the result of hard work and is the best I could possibly produce,
is a non-generated Markdown file in a GitHub repo,
is not a duplicate,
includes a succinct description of the project/theme at the top (example),
includes a project logo/illustration (whenever possible) at the top right of the readme (example). (The logo should link to the project website or any relevant website. The logo should be high-DPI, so set it to maximum half the width of the original image.),
only has awesome items with descriptions (Awesome lists are curations of the best, not of everything),
contains the awesome badge on the right side of the list heading,
has a Table of Contents section named Contents as the first section,
has an appropriate license (Meaning something like CC0, NOT a code licence like MIT, BSD, Apache, etc) (If you use a license badge, it should be SVG, not PNG),
has contribution guidelines,
doesn't include a Travis badge,
has been checked for inconsistent formatting, spelling, and grammar:

Each link description starts with an uppercase character and ends with a period.
Drop all the A / An prefixes in the descriptions.
Consistent naming. For example, Node.js, not NodeJS or node.js.

For Solr, don't use the word Solr in the descriptions, it is implied.

By submitting this pull request I confirm I've read and complied with the below requirements.

Clearly not.


TextBox control Language property is not working

Describe the bug
TextBox control Language property is not working.
Steps to reproduce the bug

Create a simple sample with TextBox
Set Langauge as "ar-SA"

Expected behavior
Arabic language should be applied.
Screenshots

Version Info

NuGet package version:

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

Additional context

Seems related to

https://github.com/microsoft/microsoft-ui-xaml/issues/4891
https://github.com/microsoft/microsoft-ui-xaml/issues/2188


Create the Plex Pin Auth Package

Task
Create the package plex_pin_auth. This package will need to make HTTP requests to the Plex API to generate a token specific to the user.
Methods
May need a util function for making a request

get_pin Requests to get the pin
get_token Returns the token from a pin (Unless the pin hasn't been activated yet)

Documentation
get-pin
get-token
Requirements

Automatically ping get_token until the token is completed
Token retrieving times out after 15 minutes
Support CLI for verification of functionality
Optionally create tests, this may not be possible due to the impossibility of testing get_token. But we need  setInternval so not so impossible.

Completed in #2 and #4


Add impersonate capability

connects to https://github.com/keycloak/keycloak-admin-client/issues/67

The impersonate feature is really only something that is supposed to work from the KC admin console and not a general use API.

Is there any other way to administratively get a user's session?

You can add your custom auth flow execution, like:
AuthenticationManager = Java.type("org.keycloak.services.managers.AuthenticationManager");
KeycloakModelUtils = Java.type("org.keycloak.models.utils.KeycloakModelUtils");

function authenticate(context) {

    var params = httpRequest.getUri().getQueryParameters();
    var username = "";
    if(params.get("username") !== null){
        username = params.get("username")[0];
    }
    var user = KeycloakModelUtils.findUserByNameOrEmail(context.getSession(), context.getRealm(), username);
    if(user !== null){
        context.getSession().setAttribute(AuthenticationManager.SSO_AUTH, "true");
        context.setUser(user);
        context.success();
        return;
    }

    context.attempted();
}

Sorry for the delay, I just came back to the problem. I cannot make any changes to our Keycloak client, we are moving our users over to another authentication service and I am writing a proxy between them. I am only able to make API calls between the two services & cannot setup a custom auth flow. Is there an API based approach I can take to do the same thing?

POST /admin/realms/{realm}/authentication/executions
http://www.keycloak.org/docs-api/2.5/rest-api/index.html#_add_new_authentication_execution

Please look for ActionToken  docs,  it can help you.

This library is no longer being maintained, please use https://github.com/keycloak/keycloak-nodejs-admin-client instead


Remove references to Python 3.7

This PR updates references to Python v3.7, which is no longer supported by Jupyterlab 4.0. To locate impacted files I've  scanned the repository for 3.7 and 37.
Need input on https://github.com/ptitzler/elyra/blob/rip-py7/pyproject.toml#L23 (What's supposed to be the new floor?)
Signed-off-by: Patrick Titzler<EMAIL_ADDRESS>
What changes were proposed in this pull request?

How was this pull request tested?

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Need input on https://github.com/ptitzler/elyra/blob/rip-py7/pyproject.toml#L23 (What's supposed to be the new floor?)

There's no need to increase the floor as newer versions of Python work fine.  That comment was there to prevent its increase so long as Python 3.7 was supported - otherwise 3.7 installations would break.  Since this is removing its support, we should remove the comment.


When query multiple model data on same page it start creating issues

When querying multiple model data on the same page it starts creating issues on each where query
on single model works fine but on multiple model queries on same method creates issues
eg
def dashboard
@question = current_user.questions
@answers = Answer.where(user_id: current_user.id)
end
both question and answer has
belongs_to_tenant :user
belongs_to :user
Errors:
missing attribute :user_id
MultiTenantSupport::MissingTenantError

@hoppergee  take a look at this issue

I try your above code in a demo, it works fine.
Can you offer more detail? like controller, schema and what're you trying to do?

in the existing big sass app it is creating an issue, let me create a similar issue in the public Github app then I will ping you, give me 1-2 days @hoppergee


feat(nixos): add mergeLazyLock option

https://github.com/ayamir/nvimdots/pull/1260#issuecomment-2191929399
lazy-lock.json managed by nix/store is symbolically linked to ${XDG_CONFIG_DIR}/nvim/lazy-lock.json, but since it is read-only, there is a problem that it has low affinity with lazy.nvim.
Therefore, lazy-lock.json is managed locally, and when lazy-lock.json in the repository is updated, it is merged to achieve both reproducibility and convenience.
It will be updated with the workflow shown below when home-manager activation.

lazy-lock.json in the repository is managed as lazy-lock.fixed.json in /nix/store.
When created symlink to ${XDG_CONFIG_DIR}/nvim, one of the following will be executed.

Not existing lazy-lock.json under ${XDG_CONFIG_DIR}/nvim, copy to then.
Existing lazy-lock.json under then, merge two json. At this time, merge to respect the package version of the repository.

This workflow will not run unless lazy-lock.json in the repository is updated (path to /nix/store is not updated) (i.e. not every activation of home-manager)
The traditional bindLazyLock options are also retained,

This workflow will not run unless lazy-lock.json in the repository is updated (path to /nix/store is not updated) (i.e. not every activation of home-manager)

Is this behavior okay? or do we try to merge every time you activate home-manager?

Do I merge this ?


Fix locale issue

Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
2015-11-19 06:59:34.882 [info] Running EvercamMedia.Endpoint with Cowboy on http://evercam.io:4000
2015-11-19 06:59:34.910 [info] Initiate workers for snapshot recording.

I see this in the log whenever media restarts.

@shankardevy I actually already made an issue for this: https://github.com/evercam/evercam-devops/issues/27, closing.


Rachaelbond patch 3

Hopefully no linting errors now! Note to self: don't sync a forked branch that you're working on with the master :-/

@Anrolosia I have no idea why the lint checker is kicking up about config_flow.py :(

I'll take a look at your PR and I will fix the linting once merged

@Anrolosia the last version of config_flow.py should be correct. Can't see a problem with it...

Thanks for your contribution, I'll test all of that and create a release soon if everything is good !

@Anrolosia no worries! sorry that was harder work than it should have been! I don't really code in python (C++, PHP no worries!) and I've never contributed to a Home Assistant integration before. I also loathe doing PRs through the web interface ;)


Connection failed at second start

I'm using the image with mysql.
The first time I start the container, it works.
Then I stopped the containers and restart, I can't connect to alfresco using the UI (login failed).
If I delete the volume and restart, it works.
I saw this problem on a mac and in a vagrant box running ubuntu.
But it seems to work on linux.
Any idea ?
Thanks
Below my docker-compose :
alfresco-mysql:
image: mysql:5.7.20
volumes:
- ~/volumes/alfresco/mysql/:/var/lib/mysql/
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_USER=alfresco
- MYSQL_PASSWORD=alfresco
- MYSQL_DATABASE=alfresco
ports:
- 3306:3306
command: mysqld --lower_case_table_names=1 --skip-ssl --character_set_server=utf8 --explicit_defaults_for_timestamp
alfresco:
    image: "gui81/alfresco:201707"
    volumes:
      - ~/volumes/alfresco/alf_data:/alfresco/alf_data
      #- ~/volumes/alfresco/content:/content
    environment:
      - DB_KIND=mysql
      - DB_HOST=alfresco-mysql
      - DB_USERNAME=alfresco
      - DB_PASSWORD=alfresco
      - DB_NAME=alfresco
      #- CONTENT_STORE=/content
    ports:
      - "7080:8080"
      - "8443:8443"

Maybe a later sugestion, but you can check the log of the tomcat running inside the container to get better ideas on what is going on:
docker exec -it <alfresco_container> /bin/bash
tail -f /alfresco/tomcat/logs/catalina.out


FAILED: gatt_server_service_table_demo.elf , project builds on v3.3 but on v4.0.1 doesn't. (IDFGH-3397)

Environment

Development Kit: ESP-DEVKITV1
Kit version (for WroverKit/PicoKit/DevKitC): V1
Module or chip used:  ESP32-WROOM-32
IDF version (run git describe --tags to find it):
C:\msys32\home\Sick\esp\pgpemu\pgpemu-esp32>git describe --tags
fatal: No names found, cannot describe anything.
Build System:  idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
Operating System: Windows 10
(Windows only) environment type: Used MSYS32 for prior version of idf, upgraded esp-idf to v4.0.1 and im using cmd.
Using an IDE?: No
Power Supply: USB

Problem Description
When doing "idf.py build" on the project I get a Failed log error "FAILED: gatt_server_service_table_demo.elf" and stops building. Things to note: This project builds successfully on the v3.3 but since there is a bug with the bluetooth connection with multiple devices I needed to upgrade.
Expected Behavior
Project should build successfully.
Actual Behavior
Project when building crashes and exits.
Steps to reproduce

Install ESP-IDF v4.0.1
git clone https://github.com/yohanes/pgpemu.git
Go to pgp-cert.c & pgpemu.c and replace #include "hwcrypto/aes.h" to #include "mbedtls/aes.h"
idf.py build

// If possible, attach a picture of your setup/wiring here.
Board is connected to USB to my computer.
Debug Logs
C:\msys32\home\Sick\esp\pgpemu\pgpemu-esp32>idf.py build
Checking Python dependencies...
Python requirements from C:\msys32\home\Sick\esp\esp-idf\requirements.txt are satisfied.
Executing action: all (aliases: build)
Running ninja in directory c:\msys32\home\sick\esp\pgpemu\pgpemu-esp32\build
Executing "ninja all"...
[1/6] cmd.exe /C "cd /D C:\msys32\home\Sick\esp\pgpemu\pgpemu-esp32\build\esp-idf\partition_table && C:\Users\Sick\.e...s\cmake\3.13.4\bin\cmake.exe -E echo *******************************************************************************"
Partition table binary generated. Contents:
*******************************************************************************
# Espressif ESP32 Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
*******************************************************************************
[2/6] Performing build step for 'bootloader'
ninja: no work to do.
[3/4] Linking CXX executable gatt_server_service_table_demo.elf
FAILED: gatt_server_service_table_demo.elf
cmd.exe /C "cd . && C:\Users\Sick\.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe  -mlongcalls -Wno-frame-address  -nostdlib @CMakeFiles\gatt_server_service_table_demo.elf.rsp  -o gatt_server_service_table_demo.elf  && cd ."
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(pgpemu.c.obj):(.literal.generate_first_challenge+0xc): undefined reference to `generate_chal_0'
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(pgpemu.c.obj):(.literal.handle_protocol+0x38): undefined reference to `generate_next_chal'
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(pgpemu.c.obj):(.literal.handle_protocol+0x3c): undefined reference to `decrypt_next'
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(pgpemu.c.obj):(.literal.handle_protocol+0x40): undefined reference to `generate_reconnect_response'
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(pgpemu.c.obj):(.literal.app_main+0x30): undefined reference to `MAC'
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(pgpemu.c.obj): in function `generate_first_challenge':
c:\msys32\home\sick\esp\pgpemu\pgpemu-esp32\build/../main/pgpemu.c:372: undefined reference to `generate_chal_0'
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/main/libmain.a(pgpemu.c.obj): in function `handle_protocol':
c:\msys32\home\sick\esp\pgpemu\pgpemu-esp32\build/../main/pgpemu.c:497: undefined reference to `generate_next_chal'
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\msys32\home\sick\esp\pgpemu\pgpemu-esp32\build/../main/pgpemu.c:520: undefined reference to `decrypt_next'
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\msys32\home\sick\esp\pgpemu\pgpemu-esp32\build/../main/pgpemu.c:539: undefined reference to `decrypt_next'
c:/users/sick/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: c:\msys32\home\sick\esp\pgpemu\pgpemu-esp32\build/../main/pgpemu.c:561: undefined reference to `generate_reconnect_response'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

C:\msys32\home\Sick\esp\pgpemu\pgpemu-esp32>

Other items if possible
· elf file in the build folder (note this may contain all the code details and symbols of your project.)
project_elf_src.c.zip

Some functions are missing, please check menuconfig if all options you need are enabled.

Im looking at component config inside menuconfig but I don't know what's missing exactly, to be honest.

I assume that you forgot to register your modules in the CMakeList.txt file. Have a look at the new building system in v4.0: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html
The compiler cannot find your functions because the class files aren't registered
idf_component_register(SRCS " _.c files_ "                        INCLUDE_DIRS "."                        REQUIRES _components_ )

After doing what you told me, I started getting errors like some files were missing for the Bluetooth connection, I took them from the esp-idf folder and pasted them inside the main folder of the project and I have exactly the same errors as before.
CMakeList.txt:
idf_component_register(SRCS "pgpemu.c" INCLUDE_DIRS "." REQUIRES mbedtls nvs_flash)

The errors appear because you still didn't register all .c files and components. The compiler needs all like in the example

idf_component_register(SRCS "foo.c" "bar.c" ...
INCLUDE_DIRS "include"...
REQUIRES mbedtls ...)
Also consider adding the bluetooth component to "REQUIRES"

Current CMakeList.txt:
idf_component_register(SRCS "pgpemu.c" "pgpemu.h" "pgp-cert.h" "pgp-cert.c" "secrets.c" "secrets.h" INCLUDE_DIRS "." REQUIRES mbedtls nvs_flash freertos driver)
Error log:
NOT_5_2_0 -DESP_PLATFORM -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/pgp-cert.c.obj -MF esp-idf\main\CMakeFiles\__idf_main.dir\pgp-cert.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/pgp-cert.c.obj   -c ../main/pgp-cert.c ../main/pgp-cert.c: In function 'aes_encrypt': ../main/pgp-cert.c:15:2: error: implicit declaration of function 'esp_aes_crypt_ecb'; did you mean 'mbedtls_aes_crypt_ecb'? [-Werror=implicit-function-declaration]   esp_aes_crypt_ecb(ctx, ESP_AES_ENCRYPT, inp, out);   ^~~~~~~~~~~~~~~~~   mbedtls_aes_crypt_ecb ../main/pgp-cert.c:15:25: error: 'ESP_AES_ENCRYPT' undeclared (first use in this function); did you mean 'MBEDTLS_AES_ENCRYPT'?   esp_aes_crypt_ecb(ctx, ESP_AES_ENCRYPT, inp, out);                          ^~~~~~~~~~~~~~~                          MBEDTLS_AES_ENCRYPT ../main/pgp-cert.c:15:25: note: each undeclared identifier is reported only once for each function it appears in ../main/pgp-cert.c: In function 'aes_setkey': ../main/pgp-cert.c:20:2: error: implicit declaration of function 'esp_aes_init'; did you mean 'esp_restart'? [-Werror=implicit-function-declaration]   esp_aes_init( ctx );   ^~~~~~~~~~~~   esp_restart ../main/pgp-cert.c:21:2: error: implicit declaration of function 'esp_aes_setkey'; did you mean 'aes_setkey'? [-Werror=implicit-function-declaration]   esp_aes_setkey(ctx, key, 128);   ^~~~~~~~~~~~~~   aes_setkey cc1.exe: some warnings being treated as errors
When trying to solve these errors I replaced the lines with the ones "did you mean..." and is giving more errors. Maybe I continue missing files and components on the CMakeLists file? Shall I make a pull request and tell the guy to update its code to be compatible for v4.0.1 ?
Thanks for your help, I really appreaciate it.

@0xjavi The esp_aes_encrypt/esp_aes_decrypt functions were removed in ESP-IDF V4.0, as this was a major release there were some unavoidable breaking changes.
You can rename all the functions and types with the esp_aes_xxx prefix to mbedtls_aes_xxx  and that code should compile and work on both ESP-IDF v3.x and ESP-IDF v4.x (with no loss of performance or increase in resource use).

Shall I make a pull request and tell the guy to update its code to be compatible for v4.0.1 ?

It sounds like it, yes. Major version updates are expected to have some possible code changes needed, there's a list of breaking changes in the release notes. However it looks like you've nearly found all the necessary changes for this version to work with ESP-IDF v4.0 support, now. Nice work!
I'm going to close this issue as this does not appear to be a bug in ESP-IDF.


[Scanner] Register current execution scanner

How did you test it?
unit tests
run both enabled scanners locally:
cadence % ./cadence --do  cadence-system  wf list  --w cadence-sys-current-executions-scanner listall
             WORKFLOW TYPE            |              WORKFLOW ID               |                RUN ID                |                     TASK LIST                     | START TIME | EXECUTION TIME | END TIME
  ...rent-executions-scanner-workflow | cadence-sys-current-executions-scanner | 26b9991f-c44b-4e64-bd22-455caa1710df | cadence-sys-current-executions-scanner-tasklist-0 | 12:05:10   | 12:06:00       | 12:21:58
  ...rent-executions-scanner-workflow | cadence-sys-current-executions-scanner | 4e77431d-bac9-4c1f-8786-7062843e7521 | cadence-sys-current-executions-scanner-tasklist-0 | 12:04:11   | 12:05:00       | 12:05:10
  ...rent-executions-scanner-workflow | cadence-sys-current-executions-scanner | bfc715cf-f523-4813-9f34-aaeb7e74990b | cadence-sys-current-executions-scanner-tasklist-0 | 12:03:10   | 12:04:00       | 12:04:11
........................

cadence % ./cadence --do  cadence-system  wf list  --w cadence-sys-executions-scanner listall
             WORKFLOW TYPE            |          WORKFLOW ID           |                RUN ID                |                 TASK LIST                 | START TIME | EXECUTION TIME | END TIME
  ...-sys-executions-scanner-workflow | cadence-sys-executions-scanner | ee98f9eb-eb74-4536-a494-d5ae02b52b58 | cadence-sys-executions-scanner-tasklist-0 | 12:15:03   | 12:16:00       | 12:22:08
  ...-sys-executions-scanner-workflow | cadence-sys-executions-scanner | 3ce3e68c-4320-4998-b30b-040e998f73ac | cadence-sys-executions-scanner-tasklist-0 | 11:55:06   | 11:56:00       | 12:15:03
 ...-sys-executions-scanner-workflow | cadence-sys-executions-scanner | 0a8a20a7-2361-4b6a-ad48-ca5bff718cfd | cadence-sys-executions-scanner-tasklist-0 | 11:39:35   | 11:40:00       | 11:55:06
.......................

Coverage increased (+0.5%) to 67.453% when pulling 10065aee92c2114ce903e5274fa650fa2d2f8200 on mkolodezny:wf into 50ca22b087636c287fb3edce01de8fe95477e81f on uber:master.

Seems like this is the last diff for current record scanner? May I ask if we still plan to do this: #3402 (comment)

No, thats not the last diff for the scanner. The refactoring seems to be big enough to go separately. And it will be done with the load testing in parallel.


New-Item -ItemType Change

When creating a folder, New-Item -ItemType should be "Directory" instead of "Folder".  Verified on PS 1.0, 3.0, and 5.0 documentation.

Thanks


[Feature request] Distinguish ICANN from private domain

A recent post on reddit highlighted that the current library can not distinguish beetwen ICANN and Private Domains, although the PDL contains two distinctive sections to highlight the difference.
Is it possible to add this missing feature to the current library ? I understand handling this would mean changing the current parser and the generated data. It may even mean a Backward compatible break ? What do you think ?

Closing in favor of keeping all updates/info in PR #180.


GDPR - What about Data Subjects under the age of 16?

Parental consent will be required to process the personal data of children under the age of 16 for online services; member states may legislate for a lower age of consent but this will not be below the age of 13.

https://ec.europa.eu/info/law/law-topic/data-protection/reform/rules-business-and-organisations/legal-grounds-processing-data/are-there-any-specific-safeguards-data-about-children_en

Add "Are you 16+ Yes/No" somewhere in the start of the app.


Can it generate an architecture from search space without defining a fixed network?

Hi~ it's a nice work! However, according to document, I find the search space is a super-net, you have already define the connection between each modules or blocks. I just curious whether the framework can generate a architecture without prior knowledge about architecture structure?  I just want to get modules from search space and automatically connect them together.

You can encode choices between different connectivity patterns with substitution modules (e.g., see siso_permutation. The exact substitution module depends on the possible connectivity patterns that you are looking for. If you can provide a concrete textual description of the search space that you are looking for, maybe I can help encode it.
The simplest case would be simply sequential choosing between a single-input single output-module at each position.
import deep_architect.modules as mo
import deep_architect.core as co
import deep_architect.hyperparameters as hp

# used to define dummy modules (for illustration purposes)
def module(name, name_to_hyperp):
    m = co.Module(name=name)
    m._register(['in'], ['out'], name_to_hyperp)
    return m.get_io()

def search_space():
    # replace this with desired modules.
    fns = [
           lambda: module("A", {'h' : hp.Discrete([0, 1])}),
           lambda: module("B", {'x' : hp.Discrete([64, 128, 256])}),
    ]
    fn = lambda: mo.siso_or(fns, hp.Discrete(list(range(len(fns)))))
    return mo.siso_repeat(fn, hp.Discrete([1, 2, 4, 8, 16]))

from deep_architect.searchers.common import random_specify
search_space_fn = mo.SearchSpaceFactory(search_space).get_search_space
inputs, outputs = search_space_fn()
vs = random_specify(outputs)
import deep_architect.visualization as vi
# vi.draw_graph(outputs)
inputs, outputs = search_space_fn()
vi.draw_graph_evolution(outputs, vs, '.')

Here is the transition process for an example model drawn from the search space.
As a side note, I've changed a few things in this branch. It is nothing major, but it in the long run may make using modules more natural (less boilerplate). I haven't merged back into master because I haven't changed the documentation accordingly yet. Examples here.

Get it !  siso_permutation is Good for me, thx

Great. Just a side note, siso_permutation is implemented rather naively right now (performance wise). Nonetheless, you shouldn't run into trouble for less than 10 elements. This can be improved easily but I haven't got around it yet. You need to pass an hyperparameter OneOfKFactorial to choose between permutations.


Squash all trie changes, persisting minimally

What was wrong?
We are storing state roots into the database for every step in the transaction. We only need to store the trie at the end of the block.
How was it fixed?
Added an extra batch db in AccountDB, so that we can calculate the state root without persisting, and only persist the new state root when absolutely necessary.
Bonus bugfix: BatchDB had a bug when it tried to skip deletes.
Cute Animal Picture

@gsalgado I'm hoping to see a smaller db, with this change

I'm hoping to see a smaller db, with this change

@carver I wonder if we could add a benchmark for this in #592


Broken Link [Bug]

The page: https://docs.omniverse.nvidia.com/dev-guide/latest/programmer_ref/usd/data-types/convert-vtarray-numpy.html
Hyperlinks to a broken link: https://docs.omniverse.nvidia.com/dev-guide/latest/dev_usd/quick-start/usd-types.html
Problem is https://github.com/NVIDIA-Omniverse/OpenUSD-Code-Samples/blob/0966cb17fcf66a661cd48c061ff228cbab4c36a2/source/data-types/convert-vtarray-numpy/header.md?plain=1#L1

The new link for Omniverse's Data Types Documentation doesn't have documentation relating to Vt specifically, but there are separate docs for Vt: https://docs.omniverse.nvidia.com/kit/docs/pxr-usd-api/latest/pxr/Vt.html


Opening the context menu in the TextBox exits the application

Hello!
I just don't have to test your new context menu for the TextBox. I got an exception:
System.InvalidOperationException: Attempted to open a popup not attached to a TopLevel
   at Avalonia.Controls.Primitives.Popup.Open()
   at Avalonia.Controls.Primitives.Popup.IsOpenChanged(AvaloniaPropertyChangedEventArgs`1 e)
   at Avalonia.Controls.Primitives.Popup.<>c.<.cctor>b__21_1(Popup x, AvaloniaPropertyChangedEventArgs e)
   at System.Reactive.Subjects.Subject`1.OnNext(T value) in /_/Rx.NET/Source/src/System.Reactive/Subjects/Subject.cs:line 146
   at Avalonia.AvaloniaObject.RaisePropertyChanged[T](AvaloniaPropertyChangedEventArgs`1 change)
   at Avalonia.AvaloniaObject.SetAndRaise[T](AvaloniaProperty`1 property, T& field, T value)
   at Avalonia.Controls.Primitives.Popup.set_IsOpen(Boolean value)
   at Avalonia.Controls.ContextMenu.Open(Control control)
   at Avalonia.Controls.ContextMenu.ControlPointerReleased(Object sender, PointerReleasedEventArgs e)
   at Avalonia.Interactivity.EventRoute.RaiseEventImpl(RoutedEventArgs e)
   at Avalonia.Interactivity.EventRoute.RaiseEvent(IInteractive source, RoutedEventArgs e)
   at Avalonia.Interactivity.Interactive.RaiseEvent(RoutedEventArgs e)
   at Avalonia.Input.MouseDevice.MouseUp(IMouseDevice device, UInt64 timestamp, IInputRoot root, Point p, PointerPointProperties props, KeyModifiers inputModifiers)
   at Avalonia.Input.MouseDevice.ProcessRawEvent(RawPointerEventArgs e)
   at Avalonia.Input.InputManager.ProcessInput(RawInputEventArgs e)
   at Avalonia.Win32.WindowImpl.AppWndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
   at Avalonia.Win32.WindowImpl.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
   at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
   at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken)
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
   at Avalonia.Controls.DesktopApplicationExtensions.Run(Application app, CancellationToken token)
   at Avalonia.Controls.DesktopApplicationExtensions.Run(Application app, Window mainWindow)
   at OlibKey.Program.AppMain(Application app, String[] args) in E:\OlibKey\Program.cs:line 72
   at Avalonia.Controls.AppBuilderBase`1.Start(AppMainDelegate main, String[] args)
   at OlibKey.Program.Main(String[] args) in E:\OlibKey\Program.cs:line 43

But the situation is that I have not yet figured out how to reproduce it and whether my application is to blame. When the window with the TextBox opens, everything is fine. As soon as I reload this window with the same TextBox, the application exits with an error.
Avalonia version: 0.10.999-cibuild0010242-beta

fixed.


feat: Add dynamic targeting on modal open/close action

With the current version of cta.js, when we invoke the cta function, the second argument we pass must be an HTML element object (which represents the target).
With this new feature we can eventually use a function or either an array as a second argument.
To make things work out we have to follow these rules:

If we use a function as the  target argument, that function must return an HTML element object.
If we use an array as the  target argument, that array must hold at least one value and can hold at most two values. The type of the values can either be an HTML element object or a function that returns an HTML element object. If a second value is present into the array, we are telling cta that we want our modal window to target a different HTML element when we close the said window. (This can be useful in some peculiar navigation patterns, I can provide an example if you ask).

I hope this can be useful for the development of this powerful and elegant plugin. At least it's been useful for me :-)

See the working example at http://www.interpromotion.com/ , in the section "Works" . I made cta.js work together with a slide-show. Hence the dynamic selection of the closing HTML element.


Revert HTML change

Fixes android camera issues. Maybe fixes #653

I'm going to merge it and cut an android release, won't affect current preview links since I don't need to deploy it to the web. But @futurepaul you'll need to circle back around to fix this properly if you want to keep preview links.


Enhance liveness probes for manila-operator

The manila operator needs to do checks on services status to ensure they are actually up. This change enhances the liveness probes for the manila-share and manila-scheduler services by implementing a HTTP probe using a custom HTTP server. The HTTP server will take advantage of the manila-manage service list command, which is an interface manila provides to get the services that are current registered in the database, then allowing the probe to check the services actual state.

/test manila-operator-build-deploy-tempest

/test manila-operator-build-deploy-tempest
think we need to harden the ceph deployment a bit

@silvacarloss - can you please rebase this change:
https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openstack-k8s-operators_manila-operator/49/pull-ci-openstack-k8s-operators-manila-operator-main-manila-operator-build-deploy-tempest/1679261220252684288/artifacts/manila-operator-build-deploy-tempest/openstack-k8s-operators-gather/artifacts/pods/manila-share-share1-0-containers.log

/test manila-operator-build-deploy-tempest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/test manila-operator-build-deploy-kuttl

/test manila-operator-build-deploy-kuttl

/test manila-operator-build-deploy-kuttl

/test manila-operator-build-deploy-kuttl

/retest

The kuttl job isn't logging to stdout, and all debug messages are being picked up when we do manila-manage service list. That made me add a workaround to remove the DEBUG info from the manila-manage command output, and I think it could still be relevant, considering that we must treat it in case a customer wants to enable debugging and we don't want the code to break.
The code will look cleaner when the enhancement for manila-manage output format merges upstream.

/retest


Hangman Game

Description
The hangman game is about guessing a random word by guessing letters one by one. If the player runs out of guesses, the game is over.
The solution:
Set a maximum limit for guesses.
Display the remaining number of guesses to the player.
Provide the player with an interface to input their guesses.
Fixes: #496
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@arpit456jain and @VidhiBhatt01 please review the changes owing to issue #496 and previous PR #497

And please make changes in this PR only. Don't create a new PR.

@VidhiBhatt01 a readme with a screenshot as you mentioned is already there.
I will just add it in the style.links.json

@VidhiBhatt01 and @arpit456jain I  have made all the necessary changes to the best of my knowledge. Please merge it upon finding it correct and if possible tell me the level label this will be evaluated on.


vault plugin is not connecting to vault

I try to activate the plugin for argocd in helm chart, configmaps are argocd-cmp-cm and argocd-cm.
configuration of argocd-cm:
configManagementPlugins: |
- name: vault-configuration
generate:
command:
- argocd-vault-plugin
- generate
- "."
- "-s"
- "vault-configuration"
- name: argocd-vault-plugin
generate:
command: ["argocd-vault-plugin"]
args: ["generate", "./"]
discover:
fileName: "./argocd-vault-plugin"
the cmp-plugin in argocd-cmp-cm:
plugins:
# --- First plugin
cmp-plugin:
version: v1.0
init:
command: [sh]
args: [-c, 'echo "Initializing..."']
generate:
command: [sh, -c]
args:
- |
echo "{"kind": "ConfigMap", "apiVersion": "v1", "metadata": { "name": "$ARGOCD_APP_NAME", "namespace": "$ARGOCD_APP_NAMESPACE", "annotations": {"Foo": "$ARGOCD_ENV_FOO", "KubeVersion": "$KUBE_VERSION", "KubeApiVersion": "$KUBE_API_VERSIONS","Bar": "baz"}}}"
discover:
fileName: "./subdir/s*.yaml"
find:
glob: "**/Chart.yaml"
command: [sh, -c, find . -name env.yaml]
and the plugin configuration part:
extraContainers:
- command:
- /var/run/argocd/argocd-cmp-server
image: registry.access.redhat.com/ubi8
imagePullPolicy: Always
name: avp
resources: {}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /var/run/argocd
name: var-files
- mountPath: /home/argocd/cmp-server/plugins
name: plugins
- mountPath: /tmp
name: cmp-tmp
- mountPath: /home/argocd/cmp-server/config/plugin.yaml
name: argocd-cmp-cm
subPath: cmp-plugin.yaml
- mountPath: /usr/local/bin/argocd-vault-plugin
name: custom-tools
subPath: argocd-vault-plugin
initContainers:
- args:
- >-
curl -L
https://github.com/argoproj-labs/argocd-vault-plugin/releases/download/v1.17.0/argocd-vault-plugin_1.17.0_linux_amd64
-o /tmp/argocd-vault-plugin && chmod +x /tmp/argocd-vault-plugin
&& mv /tmp/argocd-vault-plugin /custom-tools/
command:
- sh
- '-c'
env:
- name: AVP_VERSION
value: 1.16.1
image: registry.access.redhat.com/ubi8
imagePullPolicy: Always
name: download-tools
resources: {}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 999
seccompProfile:
type: RuntimeDefault
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /custom-tools
name: custom-tools
- mountPath: /tmp
name: tmp
-- Additional volumeMounts to the repo server main container
volumeMounts: []
-- Additional volumes to the repo server pod
volumes:

configMap:
name: argocd-cmp-cm
name: argocd-cmp-cm
emptyDir: {}
name: cmp-tmp
emptyDir: {}
name: custom-tools

-- envFrom to pass to repo server
@default -- [] (See [values.yaml])
envFrom:
- secretRef:
name: vault-configuration
backend secret is root token of vault:
data:
AVP_AUTH_TYPE: vault
VAULT_ADDR: ...
AVP_AUTH_TYPE: token
AVP_TYPE: vault
VAULT_TOKEN: ...
kind: Secret
Argocd app manifest:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: opensearch
namespace: argocd
spec:
project: hccs
destination:
server: {{ .Values.spec.destination.server }}
namespace: opensearch
sources:
- chart: opensearch
repoURL: https://harbor.cp-01-prod.mcs-rancher.t-systems.net/chartrepo/hccs
targetRevision: 2.18.0
helm:
valueFiles:
- $values/helm-charts/opensearch/opensearch-values_1.yaml
values: |
envFrom:
- secretRef:
name: opensearch
- repoURL: {{ .Values.spec.source.repoURL }}
ref: values
targetRevision: development
syncPolicy:
automated: {}
and the secret:
kind: Secret
apiVersion: v1
metadata:
name: opensearch
annotations:
avp.kubernetes.io/path: "secret/data/opensearch"
type: Opaque
stringData:
password:
in argocd the secret will be syncronized but password substitution is not happening...
I also tried to add manually cmp-plugin configmap:
apiVersion: v1
kind: ConfigMap
metadata:
name: cmp-plugin
data:
avp.yaml: |
apiVersion: argoproj.io/v1alpha1
kind: ConfigManagementPlugin
metadata:
name: argocd-vault-plugin
spec:
allowConcurrency: true
discover:
find:
command:
- sh
- "-c"
- "find . -name '*.yaml' | xargs -I {} grep "<path\|avp\.kubernetes\.io" {} | grep ."
generate:
command:
- argocd-vault-plugin
- generate
- "."
lockRepo: false
but also not working...
Thank you for your support.

Made some progress, plugin is now visible in argocd, can be selected but when creating new app following
error appears:
Unable to create application: application spec for root-app is invalid: InvalidSpecError: Unable to generate manifests in .: rpc error: code = Unknown desc = plugin sidecar failed. error generating manifests in cmp: rpc error: code = Unknown desc = error generating manifests: argocd-vault-plugin generate -s vault-kubernetes failed exit status 1: Error:  argument required to generate manifests Usage: argocd-vault-plugin generate  [flags] Flags: -c, --config-path string path to a file containing Vault configuration (YAML, JSON, envfile) to use -h, --help help for generate -s, --secret-name string name of a Kubernetes Secret in the argocd namespace containing Vault configuration data in the argocd namespace of your ArgoCD host (Only available when used in ArgoCD). The namespace can be overridden by using the format : --verbose-sensitive-output enable verbose mode for detailed info to help with debugging. Includes sensitive data (credentials), logged to stderr
cmp-plugin:
apiVersion: v1
kind: ConfigMap
metadata:
name: cmp-plugin
namespace: argocd
data:
avp.yaml: |
apiVersion: argoproj.io/v1alpha1
kind: ConfigManagementPlugin
metadata:
name: argocd-vault-plugin
spec:
allowConcurrency: true
discover:
find:
command:
- sh
- "-c"
- "find . -name '*.yaml' | xargs -I {} grep "<path\|avp\.kubernetes\.io" {} | grep ."
generate:
command:
- argocd-vault-plugin
- generate
- "."
- "-s"
- "vault-kubernetes"
lockRepo: false
somehow it not mounted:
$ printenv | grep "AVP"
$
$
but mountpath and volummounts are there in the configuration:
        - mountPath: /home/argocd/cmp-server/config/plugin.yaml
          name: cmp-plugin
          subPath: avp.yaml

..
volumes:

configMap:
name: cmp-plugin
name: cmp-plugin


Update rack-pjax to 1.0 to resolve Rack dependency with Rails 5

This is a fix for #2619

Duplicate of #2640.