Syntax for XLIFF files - TextConst, Pages, Page Fields

Is it possible for you to give us some hints regarding the new syntax for the XLIFF files?
The documentation "working with translation files" (https://docs.microsoft.com/en-us/dynamics-nav/developer/devenv-work-with-translation-files) is not such a great help for me...
While Table fields will be automatically inserted into the source file, TextConst, Tooltips, Page fields and page captions are missing in my case!?!
Kind regards
Stefan

Hi Stefan,
we also struggled with the conversion to xliff and had to change a lot in our app.
I think you have to change Textconstants to the Label keyword:
Txt001 : Label 'This is the text to identify the TextConstant in the xliff file.';
For Tooltips and Captions you have to use the Keywords
Tooltip = 'My Tooltiptext in XLIFF';
and
Caption = 'My Captiontext in XLIFF';
After this changes the missing Elements should be added to the xliff-file after the Building process.
Hope this helps

@DominikWidmann is correct. You need to change the syntax to the new one. We didn't want to make a breaking change yet. We still allow the ML syntax but we are asking you to transition to the new one.
As you can see in the docs article you linked, there it says we are deprecating the ML syntax.
All the labels and properties which have been converted to the new syntax will be available for translation in the Xliff files. The text consts and properties in ML syntax will not be.
If you already had only 1 language in your code you can convert to the new syntax with a simple find-and-replace regex

Ok there were now a few faster than I ^^.
As an example I have a page with generated templates XLIFF, an English translation XLIFF and a German translation XLIFF.
example.zip
Note: These are more translations in there than for this one page;)


fix(preprocessor): Lookup patterns once invoked

Don't lookup the list of patterns of files to preprocess until the
preprocessor is called. This because patterns might be added after the
preprocessor is created, and those will be missed if the patterns are
looked up too early.
Closes #1340

@andersekdahl Thanks

This because patterns might be added after the
preprocessor is created, ...

Can you explain when such a case occurs

It's an issue when you're creating a plugin and you want to add a file that you also want to preprocess. That is, in your framework factory function, you add an entry to config.files and add an entry to config.preprocessors for that file. Because of this bug, the preprocessor is never run for the added file.
So this PR is perhaps not the best way forward for allowing this, but it's a very small, low-impact change. I'd much rather see some sort of stream-pipeline which you could push files through at any time, but I'm not familiar enough with the code base to propose such a change.

related issues
https://github.com/karma-runner/karma/issues/1219

LGTM


v4.4 Feature plan (aka todo)

[ ] Caching API
[x] Scraper typo hinting
[ ] fzf image preview support
[ ] -r / --range #226
[x] Refactor players and remove PlayerNotSupported().
[x] scraper configs #291
[x] yt dlp downloading #299

List is wip...

Documentation
Features that need to be documented in the wiki.

[ ] Scraper configs
[ ] yt dlp downloading


Can I user Titanium-Web-Proxy without use System Proxy? like a standalone proxy program

Can I user Titanium Web Proxy without use System Proxy? like a standalone proxy program?

Yes. Just don't set it as system proxy


Fix python support; add xylar as a maintainer

Checklist

[x] Used a fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

closes #19

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The test section contained an unexpected subsection name. import is not a valid subsection name.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@vijaysm and @scopatz, I would appreciate your review of this PR.
I'm also looking for some more tests to add, namely example usage of the other examples in examples/python and also a test of mbtempest if one of you could suggest a simple one.

Thanks for all the great maintenance work here @xylar!  It is definitely needed and extremely helpful.
Is there a way to build multiple targets, e.g. one with TempestRemap and one without?  Some projects rely on MOAB without this and I'm always in favor of reducing dependencies.  Of course, in this environment, conda will take care of that for us, but I thought I'd ask.

@gonuke, I will investigate what our options would be.  I know of a package (I think it's vcs) outside of conda-forge that acts differently depending on whether another package is installed alongside it.
For now, I'll take out the tempest-remap stuff just to get pymoab working again and I can do a separate PR for the tempest-remap inclusion once I figure out how to make it optional.
By the way, could you clarify what the downside to including TempestRemap support might be?  I could see outside of a conda environment that the extra dependencies would be tricky but the whole point of conda-forge is to make them relatively painless.  It seems to me that reducing dependencies for its own sake isn't necessarily desirable.  On the other hand, I've run into packages that I wished had a lot fewer so I can understand the inclination toward keeping things slimmed down where possible.

@conda-forge/moab, I'm going to leave TempestRemap out for now as @gonuke requested.  I still think some more pymoab tests would be useful so open to suggestions there.  Thanks!

I confess that I don't have a good reason other than a general ethos of minimizing dependencies - so it's not something I would really push on.  I'm partly just curious about how it might work. I imagine that one solution is to have different packages/feedstocks for different combinations of features and dependencies, but that seems like it might be burdensome.

Yeah, I don't think having multiple feedstocks would be very efficient.  The closest thing I've found is how MPI is handled:
https://conda-forge.org/docs/maintainer/knowledge_base.html#complete-example
I'm going to give something like that a shot.

@gonuke The only dependency that TempestRemap has is BLAS/LAPACK and NetCDF, which already is a dependency for MOAB along with Hdf5.
@xylar We will need Eigen3 as well to build with TempestRemap since we store the maps in Eigen3 SparseMatrix internally

Okay, having talked with @vijaysm quite a bit on Slack, I'm thinking the next thing to do is get a matrix build of moab with (and without) MPI.  That's more useful than adding TempestRemap without MPI.

@vijaysm, Eigen3 won't be a problem.  It's available in the eigen package on conda-forge.

@gonuke and @vijaysm, this PR is ready to merge as far as I'm concerned.  Please ping any other reviewers you'd like to have a look, or merge when you're ready.

@gonuke, It's the meta.yaml.  After you rerender, it propagates to other places, which has already happened as part of this PR.

Thanks @xylar !  Now I feel more pressure to work out the CMake issues

The changes look good to me. Thanks for the submission! @xylar

Thanks @xylar

Thanks for adding default PyMOAB support for the Conda build as well.

To be clear, pymoab was already getting exported.  The problem was that it was not in a usable way for python > 3.6.

The only issue would be in systems where shared library loading would be a problem e.g., some LCF systems. But this is a corner case I think, considering the broader usage for the library.

Python code should be among the most likely to work as expected on LCF systems, so I wouldn't expect that to be an issue.  The MPI support worries me much more in that context.


Implement IPMI module

Need IPMI v1.5 & v2.0

Note: currently we can control IPMI systems through the powerman API, but it might still be nice to have a native implementation.

Note: currently we can control IPMI systems through the powerman API, but it might still be nice to have a native implementation.

This is no longer the way we plan to handle things.  We may want to implement a directly PowerAPI/IPMI gateway.


missing include  in pcsc-mock.hpp

gcc 13 moved some includes around and as a result is no longer transitively included [1]. Explicitly include it for uint{32,64}_t.
[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Thank you for bringing this to our attention. We will address this issue in due time and make the necessary updates to maintain compatibility with the latest compiler versions.


MultiVI NaN in latent representation

I encountered this error when I was running mvi.train():
mvi.train()
ValueError: Expected parameter loc (Tensor of shape (128, 11)) of distribution Normal(loc: torch.Size([128, 11]), scale: torch.Size([128, 11])) to satisfy the constraint Real(), but found invalid values:
tensor([[    nan,     nan,     nan,  ...,     nan,     nan,     nan],
        [    nan,     nan,     nan,  ...,     nan,     nan,     nan],
        [    nan,     nan,     nan,  ...,     nan,     nan,     nan],
        ...,
        [-0.6378, -0.6456,  0.6350,  ..., -0.2785, -0.6156, -0.0385],
        [    nan,     nan,     nan,  ...,     nan,     nan,     nan],
        [-0.4364, -0.2716,  0.3634,  ...,  0.4258, -0.7137,  0.2691]],
       grad_fn=<AddmmBackward0>)

I tried both datasets and encountered this error.Is this error because I used raw count?  Or other reasons?
Please help me, I really want to know how to solve this problem.Thank you

Can you describe more about your data? And the code you're using to run the model?

Can you describe more about your data? And the code you're using to run the model?
This is my scRNA-seq raw count:

Then,I convert this count to anndata:

And atac-seq data is processed in the same way.

Then,scRNA-seq and ATAC-seq were integrated:

Then follow the standard procedures provided on the website  :

If I'm understanding, you only have 778 cells, all of which you measured RNA and chromatin for?

If this is the case, you would want to run multivi only on what you're callingmulti_adata where the genes come first in multi_adata.var. However, it will be tough to learn a good model with only 778 cells.

If this is the case, you would want to run multivi only on what you're callingmulti_adata where the genes come first in multi_adata.var. However, it will be tough to learn a good model with only 778 cells.

But I tried a dataset of more than 2,000 cells and encountered the same error

The issue might be that your data is fully paired, yet you are running organize_multiome_anndatas. Can you try with just the fully paired data? Organized such that genes are before atac regions? Then give a batch key where every value is just "paired" or whatever you like.

But I tried a dataset of more than 2,000 cells and encountered the same error

2000 is also very few, can you add in any unpaired rna or atac datasets?

My datasets are all paired, there are no unpaired datasets.How do you run MultiVI in this case?Could you elaborate on that? Thank you very much.

The issue might be that your data is fully paired, yet you are running organize_multiome_anndatas. Can you try with just the fully paired data? Organized such that genes are before atac regions? Then give a batch key where every value is just "paired" or whatever you like.

My datasets are all paired, there are no unpaired datasets.How do you run MultiVI in this case?Could you elaborate on that? Thank you very much.

all you need to do is run multivi with anndata that has RNA features before ATAC features (don't run organize_multiome_anndatas). Then do
multi_adata.obs["modality"] = "paired"
then
model = MULTIVI.setup_anndata(multi_adata, batch_key="modality")
...

proceeding with the code you have

I'm going to close this issue, we'd appreciate moving usage questions like this to:
https://discourse.scverse.org/

all you need to do is run multivi with anndata that has RNA features before ATAC features (don't run organize_multiome_anndatas). Then do
multi_adata.obs["modality"] = "paired"
then
model = MULTIVI.setup_anndata(multi_adata, batch_key="modality")
...

proceeding with the code you have
Thank you very much. It's very kind of you. I'll try it on at once

It worked! Thank you very much

all you need to do is run multivi with anndata that has RNA features before ATAC features (don't run organize_multiome_anndatas). Then do
multi_adata.obs["modality"] = "paired"
then
model = MULTIVI.setup_anndata(multi_adata, batch_key="modality")
...

proceeding with the code you have

It worked! Thank you very much

Hello, at this website  https://docs.scvi-tools.org/en/stable/tutorials/notebooks/MultiVI_tutorial.html，scvi.settings.seed =420，If all my data are paired,Is the seed still set to 420? thank you
| |
guagua20210407
|
|
@.***
|
签名由网易邮箱大师定制
On 3/11/2022 10:32，Adam @.***> wrote：
Closed #1422.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>


Improve docs load annotations

put something like this ther

e

this is part of the docstring of load_annotations: https://github.com/mad-lab-fau/mad-gui/blob/main/mad_gui/plugins/base.py#L103


Add tags to data that has not been set with tags before, what is the solution?

I want to set tags for data that has not been tagged before.
But this way of writing doesn't seem to work:
myField =from(bucket: "hhw_odp")
|> range(start: 2022-05-12T08:00:00Z,stop: 2022-05-12T09:00:00Z)
|> filter(fn: (r) => r["_measurement"] == "test1")
|> first()
data = from(bucket: "hhw_odp")
|> range(start: 2022-05-12T08:00:00Z,stop: 2022-05-12T09:00:00Z)
|> filter(fn: (r) => r["_measurement"] == "test1")
|> filter(fn: (r) => r["_field"] == "name1")
|> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
data
|> map(fn: (r) => ({ r with muyfield: string(v: myField._value)}))
|> set(key: "_measurement", value: "test2")
|> to(
bucket:"hhw_odp",
org:"demo",
timeColumn: "_time",
tagColumns:["tag1","ee"]
)

@feiguo666 This question would good to ask on the InfluxData Community. Issues are typically for bugs or other issues related to the product rather than questions about the query language. But I'll go ahead and answer here:
It looks like you're trying to pull the first value from the test1 measurement and use that as a variable. Your myField query likely returns multiple tables because, by default, InfluxDB returns data grouped by series, so all points with the same measurement, tag set, and field key will be in a single table. So if you have different tag values and fields in the test1 measurement, you'll get a output table for each unique combination. The Flux data model docs show how this works.
first() reduces each input table to its first row, but this still returns a stream of tables. You need to extract the row record from the stream of tables to be able to statically reference its value. You can use findRecord() to do this.
In the modified query below, myField returns the _value in the first row of the first table returned from your from() |> range() |> filter() combination:
myField =
    (from(bucket: "hhw_odp")
        |> range(start: 2022-05-12T08:00:00Z, stop: 2022-05-12T09:00:00Z)
        |> filter(fn: (r) => r["_measurement"] == "test1")
        |> findRecord(fn: (key) => true, idx: 0))._value

data =
    from(bucket: "hhw_odp")
        |> range(start: 2022-05-12T08:00:00Z, stop: 2022-05-12T09:00:00Z)
        |> filter(fn: (r) => r["_measurement"] == "test1")
        |> filter(fn: (r) => r["_field"] == "name1")
        |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)

data
    |> map(fn: (r) => ({r with myfield: "${myField}"}))
    |> set(key: "_measurement", value: "test2")
    |> to(bucket: "hhw_odp")


feat(server): add member rest repository

add member rest repository and configure swagger to expose it

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


Kill instances via goal and keep stable Ids

Also, I'd like to figure out whether we want to immediately expunge instances when using wipe=true, or whether we should rather set the goal to Decommissioned, and only force expunge when they turn out to be unkillable – either because Mesos doesn't send terminal status updates, or because the tasks are unreachable and user's want them to vanish from internal state.
The contained commits do the following:
Added InstanceGoalChangeEvent to notify of goal changes
Summary:
Added a new event of type InstanceGoalChangeEvent in order to have a specific event that can be listened to. This event will be published whenever an instance's goal changes. InstanceChanged is too generic for this use case, and should probably be renamed to InstanceConditionChanged (or InstancePhaseChanged or whatever, at least being specific about the fact that the state has changed and not the goal).
KillServiceActor now kills based on goal changes
Summary:
The KillServiceActor now listens to InstanceGoalChangeEvent and will add instances to its internal queue when appropriate.
JIRA Issues: MARATHON-8140
Provide a means to wait for terminal instances
Summary:
When setting an instance's goal to Stopped or Decommissioned, some call sites need to wait for those resources to become terminal.
Either use killService.kill*, or update to a terminal Goal
Summary:
Until here, various places were updating instance goals, but also used the KillService directly. This commit will

use the KillService directly, when tasks should be bounced but the instance should be kept (e.g. for unhealthy or overdue)
update an instance's goal to Decommissioned, when the instance is not needed anymore (e.g. scale down, delete service, etc)

Only expunge instances when they should not be replaced
Summary:
Until now, Marathon expunged instances once all of their tasks ended up in a terminal state, and eventually launched replacements as a result of those instances being expunged.
This commit adjusts this behavior. Instances will now only be expunged from state when their goal is to be decommissioned and all their tasks are in a terminal state. If their goal is still Running, they will be considered to be scheduled, and used to launch replacement tasks.
This means that instanceIds are now stable for as long as an instance shall be kept running. New instances will be created only when replacing unreachable instances, and when replacing instances with new versions. Similar to the way we handle taskIds for stateful services, tasks of stateless services will now also provide an incarnation count, appended to the taskId. The first task created for an instance will be the .1, and subsequent replacements will increment that incarnation counter.
When killing an instance using the wipe=true flag, its goal will be set to decommissioned, and it will eventually be expunged when all tasks are terminal. Note that as long as its tasks are e.g. unreachable, it will not be expunged until they are reported terminal (GONE, GONE_BY_OPERATOR, or UNKNOWN).
When killing instances without the wipe=true or scale=true flags, Marathon will only issue kill requests to Mesos, but keep the current goal and will therefore launch replacements that are still associated with the existing instance.
JIRA Issues: MARATHON-8140, MARATHON-8429
Add a GoalAdjustmentReason
Summary:
Require specifying the reason for a goal change, and log that reason. This is in line with the KillReason, only that it applies to goals instead.

thew loop is here https://jenkins.mesosphere.com/service/jenkins/view/Marathon/job/marathon-sandbox/job/kill-based-on-goal-loop/

I merge master and tried to resolve most conflicts. However, InstanceTrackerActorTest fails because it expects an Expunge but this change issues and update. It's a lot of context switching. When do we actually expunge an instance?

@jeschkies I merged master in here, I'll look into some of those tests, I was not sure in one part when merging too.
To answer your question, we expunge if:

should be expunged is true https://github.com/mesosphere/marathon/pull/6616/files#diff-4d03c99a6694604a192ac4812b53a108R41
reservation times out
force expunge is called


Make BufferingHelper public

From @dougbu on Thursday, November 9, 2017 4:27:35 PM
This class is currently pub-internal. An implementation is necessary when reading the request body multiple times. For example, ASP.NET Core WebHooks includes resource filters that calculate hashes of body content. They use the following helper to ensure this is safe:
https://github.com/aspnet/WebHooks/blob/be8571953a0124c0877f777e8fb5bb17329204ab/src/Microsoft.AspNetCore.WebHooks.Receivers/Filters/WebHookVerifyBodyContentFilter.cs#L94-L106
For reference: https://github.com/aspnet/HttpAbstractions/blob/3e3772eecd4cc57399c28a3f899e6b0406ef2e1b/src/Microsoft.AspNetCore.Http/Internal/BufferingHelper.cs
Copied from original issue: aspnet/HttpAbstractions#963

Main change in aspnet/HttpAbstractions@7b9da556fb. Will close this issue once MVC and WebHooks reactions are done.

aspnet/Mvc@50af871396
aspnet/WebHooks@a05a07c420


Code Coverage Demonstration

Which project is this feature idea for?
Turbopack
Describe the feature you'd like to request
It would be great to have a demonstration of generating code coverage when using c8, or the native V8 code coverage.
Describe the solution you'd like
Ideally, running pnpm c8 pnpm next --turbo would automatically output code coverage information.
Describe alternatives you've considered
After exiting pnpm c8 pnpm next --turbo, the outputted coverage is always empty:
----------|---------|----------|---------|---------|-------------------
File      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------|---------|----------|---------|---------|-------------------
All files |       0 |        0 |       0 |       0 |
----------|---------|----------|---------|---------|-------------------

There is also https://github.com/kwonoj/swc-plugin-coverage-instrument, but there have been several issues with version incompatibility over the past several months.

If you're interested in getting code coverage working with Playwright, I'd recommend checking out https://github.com/cenfun/monocart-coverage-reports
Here are some example projects:

https://github.com/cenfun/nextjs-with-playwright
https://github.com/michaelhays/playwright-nextjs-coverage-example


PORT env variable

It would be sweet to be able to specify the port the database is running at, right?

This is what #4 is about 🙂

🙈


How to use this?

Hi!
I'm a Python layman. I've got Python 3 installed and tried running it thru Windows cmd. I get ImportError: No module named 'requests'. What should I do next?
Thanks!

It's an external module. You have to install it with pip.
In command prompt enter:
pip install requests

And you should be good to go.

I got unicode error after this
C:\Users\xxxx\Downloads>naver.py
Input url:http://comic.naver.com/webtoon/detail.nhn?titleId=58526
Start[1]:1
End[unlimited]:2
Title Id: 58526
Base URL: http://comic.naver.com/webtoon/detail.nhn?titleId=58526&no=
Episode 1
Traceback (most recent call last):
  File "C:\Users\xxxx\Downloads\naver.py", line 61, in <module>
    print("Downloading "+author_id + "'s " + comic_name)
UnicodeEncodeError: 'cp932' codec can't encode character '\uc7ac' in position 31: illegal multibyte sequence

C:\Users\xxxx\Downloads>

Can you try typing chcp 65001 into cmd and running the script again?

Active code page: 65001

C:\Users\xxxx\Downloads>naver.py
Input url:http://comic.naver.com/webtoon/detail.nhn?titleId=58526
Start[1]:1
End[unlimited]:2
Title Id: 58526
Base URL: http://comic.naver.com/webtoon/detail.nhn?titleId=58526&no=
Episode 1
                         ìž¬í™œìš©'s ì—°ë¯¼ì˜ êµ´ë ˆ
     1
Traceback (most recent call last):
  File "C:\Users\xxxx\Downloads\naver.py", line 67, in <module>
    download_file(image_url, author_id+"/"+comic_name+"/"+str(episode),detail_url)
  File "C:\Users\xxxx\Downloads\naver.py", line 9, in download_file
    os.makedirs(foldername)
  File "C:\Python34\lib\os.py", line 227, in makedirs
    makedirs(head, mode, exist_ok)
  File "C:\Python34\lib\os.py", line 227, in makedirs
    makedirs(head, mode, exist_ok)
  File "C:\Python34\lib\os.py", line 237, in makedirs
    mkdir(name, mode)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '\r                \t ìž¬í™œìš©'

C:\Users\xxxx\Downloads>

You're not using up-to-date version. Please pull the repository again.

Works now, thank you very much!


gqlDocument alters the case of GraphQL types and enum values

gqlDocument does not populate the typeOptions field of the GQLType instance of the generated types in a way that would allow them to preserve their casing.
import Data.ByteString.Lazy   as BSL
import Data.Morpheus.Document
import Data.Morpheus.Server
import Data.Morpheus.Types
import Data.Proxy             (Proxy(..))

[gqlDocument|
type Query {
  foo(bar: order_by): Int!
}

enum order_by { asc, desc }
|]

main =
  BSL.putStr $ printSchema $ Proxy @(RootResolver IO () Query Undefined Undefined)

This prints:
enum Order_by {
  Asc
  Desc
}

type Query {
  foo(bar: Order_by): Int!
}

thanks @nicuveo, it is recommended in GQL that you don't use lowercase type-names. however the behavior is still wrong and worth to fixing it. do you want to fix it? i can give you some pointers, where to start.

I agree! But it is sometimes required to interface with existing / legacy systems that chose to use lowercase types. ^^
I don't have a lot of bandwidth, but I could try fixing it; if you have some pointers that'd be great!

@nicuveo sorry. i had to fix myself


Add SSL support to MQTTSession

@aciidb0mb3r This PR adds support for connecting to SSL hosts. :shipit: ?

nice 👍 , can we please get this merged?

sorry to be nitpicky here but can also you squash first 4 commits into one?
Add SSL support to MQTTSession
Update tests with useSSL
Update readme with SSL
Update example project

This is great, thanks so much!

@aciidb0mb3r I set the default value for useSSL and squashed commits

Awesome, Thanks!


Compiling Error BLE ITAG_Multi

Hi
I have found this Lib. really great. I am trying to compile this but facing problem. I have tried and now getting following error when compile.
I am trying to compile iTag_Multi.ino from Example.
ITag iTags[ITAG_COUNT] = {
iTag_Multi:70: error: invalid abstract type 'ITag' for 'iTags'
It would be great if you could help to resolve the issue.
Regards,
Shan

ITag is not part of this library.

Hi
Thanks for the reply.
How i can resolve the issue. I am following this tutorial.
https://www.fernandok.com/2018/11/multiplos-itags-com-esp32.html?m=1
Regards


[backport -> release/2.8.x] feat(request-id): introduce Request ID (#11663)

Summary
Backport of:

~https://github.com/Kong/kong/pull/11624~ https://github.com/Kong/kong/pull/11663
https://github.com/Kong/kong/pull/11725
https://github.com/Kong/kong/pull/11788

to port the request ID feature to release/3.4.x
Includes a bump of lua-kong-nginx-module to 0.2.2.
Checklist

[x] The Pull Request has tests
[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[x] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

[Implement ...]

Issue reference
KAG-3040

needs https://github.com/Kong/kong/pull/12030 (mockbin related failures on CI)


nonisolated property wrappers

Motivation
This isn't an area I understand very well. But it seems like nonisolated property wrappers should be possible if the underlying wrapper type is Sendable.
@propertyWrapper
struct Wrapped<T: Sendable>: Sendable {
	var wrappedValue: T

	init(wrappedValue: T) {
		self.wrappedValue = wrappedValue
	}
}

actor MyActor {
	// if you can write this...
	nonisolated var computedValue: Int {
		get {
			0
		}
		set {
			// ... even if it tricky to implement
		}
	}

	// shouldn't you be able to write this
	// if the wrapper is Sendable?
	@Wrapped nonisolated var wrappedValue: Int = 0
}

Proposed solution
I think this code should be accepted. As is, it produces an error:
error: 'nonisolated' is not supported on properties with property wrappers
Alternatives considered
No response
Additional information
No response

some historical context of possible relevance:

PR comment thread addressing the root problem
related forums thread (also links to other related pitches/discussions)

@jamieQ thank you! Looks like a non-trivial problem :)


Native Linking Error in IOS on Archive

I have configured FCM in my xamarin forms project. Working fine on debug mode. But when i try to archive in release mode it gives me native linking error.
Native linking failed, undefined symbol: _kFIRLoggerMessaging. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
Error: linker command failed with exit code 1 (use -v to see invocation)
Native linking failed. Please review the build log and the user flags provided to gcc: -ObjC -lc++ -lsqlite3 -lz -ObjC -lc++ -lsqlite3 -lz (MT5201)
Installed Packages in my App for FCM
Xamarin.Firebase.iOS.CloudMessaging(3.1.2)
Xamarin.Firebase.iOS.Core(6.6.6)
Xamarin.Firebase.iOS.Analytics(6.4.1)
Xamarin.Firebase.iOS.InstanceID(4.3.3)
Xamarin.Firebase.iOS.Installation(1.1.1)
Xamarin.Build.Download(0.10.0)

update all your packages to latest version
you have instance ID latest version but cloudmessaging you have older version


Team info missing

Profile pictures of team members in the team section is not visible without hovering.
You can see here:

Profile pictures of team members in the team section is not visible without hovering.
You can see here:

Can you fix the bug?

@smaranjitghose I'll let you know after checking the source code :)


220401 Añadido el reto 5

Hello @NoaVelasco! Thanks for opening this PR.


No thirst config

MC 1.16.5
TAN <IP_ADDRESS>
Stats keeper 6.1.0/6.0.0
For some reason there is no config options for thirst. And after death thirst resets to max. Everything else works fine.

Ah, I disabled this due to ToughAsNails not being updated for a few years. Gonna look into implementing it again.

Ah, I disabled this due to ToughAsNails not being updated for a few years. Gonna look into implementing it again.

tnahks


document end2end testing "framework"

the end2end testing has only an initial state at the moment.
document the entire setup and implications for any rebuild.

will be fixed in #409


I can connect to the printer (Zebra ZQ520) but nothing printed!

I had a silimar problem using a zebra zq620 and i didn't print until the scan was done.

I print with it using the native function for connecting to a bluetooth
device
On Sun, Nov 27, 2022 at 9:46 PM William Basabe @.***>
wrote:

I had a silimar problem using a zebra zq620 and i didn't print until the
scan was done.
—
Reply to this email directly, view it on GitHub
https://github.com/andrey-ushakov/esc_pos_bluetooth/issues/129#issuecomment-1328336289,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZTIMXGJ56CJPN4NE2LUGDWKPCB3ANCNFSM6AAAAAAROZD2FQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I then how you send data to it?

I send cpcl commands to it as one String
On Mon, Nov 28, 2022 at 12:08 AM William Basabe @.***>
wrote:

I then how you send data to it?
—
Reply to this email directly, view it on GitHub
https://github.com/andrey-ushakov/esc_pos_bluetooth/issues/129#issuecomment-1328363313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKZTIMXMDGMLEBIBPJ4HEQTWKPSWPANCNFSM6AAAAAAROZD2FQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


[ci] Shorten dependabot prefixes to comply with config spec.

Dependabot prefixes have a maximum of 15 chars (docs).
This PR shortens the prefixes introduced here: https://github.com/flutter/plugins/pull/5440 so the dependabot action doesn't fail.
(Needs to land on red)
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[ ] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[ ] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Attempted to shorten the names by removing "redundant" bits, like: google, flutter and android (platform-android should be added by the PR labeler, right?). When that wasn't enough, I shortened some words, attempting to leave the name of the plugin still a sub-string of the longer name (for the future verification script(?))

Dependabot seems to also be adding : after the specified prefix, and that's going to look weird in our repo as well. Issue.
We can create an issue on dependabot asking them to respect whatever we pass as a prefix, but they might have their limitations on why not to do it :/ For now, I think this is going to look less weird without the prefixes, even the shortened ones (so dependabot commits will look similar to the autoroller's)

it kinds of defeats the purpose. maybe we just don't have prefixes?
The label should be added to the PR, but if the idea was to search through history using the prefix, then that seems unfeasible.

It'll become the commit message, so having shortened forms is still better than nothing.
We actually shouldn't have the _android suffixes anyway, since the convention we use is to put the conceptual plugin name rather than the package name. Where we can fit the whole plugin name, I'd like to keep that. Most of them should be <15

[google_maps] should fit, for example, let me minimize the shortening.

I'm going to land this on red to re-open main. This can be easily revisited to tweak the names and/or create an issue for dependabot.

Dependabot is at it already!
https://github.com/flutter/plugins/pulls?q=is%3Apr+is%3Aopen+label%3Adependencies

It'll become the commit message, so having shortened forms is still better than nothing.

Capturing from Discord for posterity: I didn't realize the package path would be in the title. I'm now on board with not having prefixes.

Just a heads up. It seems this change made dependabot to create hundreds PRs that @ditman just closes.
This caused thousands of macos tasks to be created on Cirrus in a very short period of time which is causing some longer then usual processing times.

@fkorotkov yes, apologies for the spam. When I realized this would abuse Cirrus, it was probably too late (x_x)

No worries. Just wanted to let you know that there is some unintentional slowness. An interesting use case. Haven't seen that many PRs from dependbot at once plus our physical Mac Mini infra is not elastic like everything else in the cloud. 😪


Idea: add "on_stopped_scrolling" and "on_scroll" to PM::TableScreen

  def scrollViewDidEndDecelerating(_)
    try :on_stopped_scrolling
  end

  def scrollViewDidEndDragging(_, willDecelerate: decelerate)
    try :on_stopped_scrolling unless decelerate
  end

  def scrollViewDidScroll(_)
    try :on_scroll
  end

What think ye?

I like it! :+1:

In addition to this, and referring this question... why not implement this way ?
def scrollViewDidScroll(scroll_view)
   current_y = scroll_view.contentOffset.y
   @previous_y ||= 0

   if self.respond_to?(:on_scroll)
      try :on_scroll
   elsif current_y > @previous_y
      try :on_scroll_down
   else
      try :on_scroll_up
   end

  # keep track of current_y
  @previous_y = current_y
end

@bmichotte Yes! Also, we could give an optional parameter for velocity.
http://stackoverflow.com/a/9705218/204044

Nice idea.

:+1: So is there any ETA on this?

Feel free to tackle it, @edenvicary ! I don't intend to anytime soon, so it's a great way to contribute.

@afestein could be a good way to clean up some of that code.


Remove the garbage collector, or the way it can be configured proposal: affected/package:

I'm sorry, this is not a useful proposal.  Please see https://go.dev/s/proposal.  I'm going to close this.


Unable to overide action for the owasp managed rules

Confirmation

[X] My issue isn't already found on the issue tracker.
[X] I have replicated my issue using the latest version of the provider and it is still present.

Terraform and Cloudflare provider version
Terraform v1.3.2
on darwin_arm64

provider registry.terraform.io/cloudflare/cloudflare v3.27.0

Affected resource(s)
cloudflare_ruleset
Terraform configuration files
resource "cloudflare_ruleset" "zone_level_managed_waf" {
  zone_id     = "zoneId"
  name        = "managed WAF"
  description = "managed WAF ruleset description"
  kind        = "zone"
  phase       = "http_request_firewall_managed"

  rules {
    action = "execute"
    action_parameters {
      id = "4814384a9e5d4991b9815dcfc25d2f1f"
      overrides {
        action = "log"
      }
    }
    expression  = "true"
    description = "Cloudflare's implementation of the Open Web Application Security Project (OWASP) ModSecurity Core Rule Set."
    enabled     = true
  }
}

Link to debug output
https://gist.github.com/Sevenn83/b82c92ea7a5a42a6e27649300b483f9d
Panic output
No response
Expected output
OWASP action should be set to true

Actual output
OWASP Action is not set to log

Steps to reproduce

use the cloudflare_ruleset as this issue
tf plan && tf apply
Check on the gui

Additional factoids
The action overide is not working for this set of managed rule (no problem for other managed rules), but there is also no parameter to change the anomaly score nor the paranoia level.
References
No response

this doesn't appear to be a bug in terraform but a service issue that was resolved earlier today - https://www.cloudflarestatus.com/incidents/2fnrp5hl209r. can you please try again? we have test coverage for overriding these actions so it would be highly unlikely this is broken now from the terraform side.
in future, please help us help you by filling out all the required issue template fields including the debug output. otherwise, as the automation mentioned, it is unlikely to get looked at as there isn't enough information to go on.

I've edited the original post with debug link.
The problem still here, I still think it's a problem with the provider, not the service.
I'm unable to overide "action" for the OWASP managed rule, also, the provider don't have anything for the paranoia level nor anomaly score
I think you should reopen this ticket @jacobbednarz

The problem still here, I still think it's a problem with the provider, not the service.

i've gone over your example again (using the debug log) and it's not working because you're not including the ID in the override. you can see a full working example at https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/internal/provider/resource_cloudflare_ruleset_test.go#L1960. without an ID, you're telling the action to be log but it's not targeting anything.

the provider don't have anything for the paranoia level nor anomaly score

setting the paranoia level and anomaly score are both supported in the provider. you can see a test case for this at https://github.com/cloudflare/terraform-provider-cloudflare/blob/master/internal/provider/resource_cloudflare_ruleset_test.go#L1929-L1972. documentation is at https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/ruleset#nestedblock--rules--action_parameters--overrides--categories and https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/ruleset#score_threshold

Amazing it's work, thank you for you time and help.


refactor: [M3-7397] - Clean up App.tsx

Description 📝
App.tsx has gotten very messy and generally  hard to consume. This PR cleans up App.tsx and related pieces. Most changes are just moving code. The largest refactoring happens in useToastNotifications.
Changes  🔄

Cleans up and improves ToastNotifications and makes it useToastNotifications (inspired by https://github.com/linode/manager/pull/9416)
Created useAdobeAnalytics, useNewRelic, useEventHandlers, and useGlobalKeyboardListener to separate out logic

How to test 🧪
Verification steps

Perform a general check of Cloud Manager
Verify global toast notifications still work (creating or deleting a volume for example)
Verify that both Adobe Analytics and New Relic initialize

This can be verified by looking at the preview link and inspecting the network requests. Verify you see requests to both adobe and New Relic

Verify keyboard shortcuts like Control + Shift + D still work
Verify e2es pass

As an Author I have considered 🤔

[x] 👀 Doing a self review
[x] ❔ Our contribution guidelines
[x] 🤏 Splitting feature into small PRs
[x] ➕ Adding a changeset
[x] 🧪 Providing/Improving test coverage
[x] 🔐 Removing all sensitive information from the code and PR description
[x] 🚩 Using a feature flag to protect the release
[x] 👣 Providing comprehensive reproduction steps
[x] 📑 Providing or updating our documentation
[x] 🕛 Scheduling a pair reviewing session
[x] 📱 Providing mobile support
[x] ♿  Providing accessibility support

[ ] Performed general check of Cloud Manager
[ ] Verified global toast notifications still work (creating or deleting a volume for example)
[ ] Verified that both Adobe Analytics and New Relic initialize
[ ] Verified keyboard shortcuts like Control + Shift + D still work
[ ] Verify e2es pass


HAWQ-1359. Fix bugs in policy tests for HAWQ with Ranger enabled and …

…add test for HAWQ-1367

+1

+1


[Bug] Database corruption & other

Last update was nice. Though for a while.
DB error was still there, it occurred randomly too.
So i have few suggestions.

I normally run with "-u -p -c" flag. But -c flag always creates epub irrespective of whether there was a pending chapter downloaded or not. So even if there was no update, it would download. I suggest make 2 flag  "-c" & "-cf" for create if there is any update & force create irrespective if any update respectively.

Idk how to solve db error. Idk what you keeping there. Haven't checked. I can only guess that you are indexing all those chapter files in DB. Chapters are already in json format. We can always look into existing file in chapter folder to know what's downloaded whats not. Also while creating epub, we can use chapter files to get all  info. Match with downloaded info from base URL. So we can index in run time too. No need of db. Now that chapters are stored in separate json, there are probably duplicate index in db pointing to same file that's making duplicate chapter in epub too(sometimes).

Why not make DB json too. that would be easier ti handle manually too.

thats a good suggestion.

well...

The reason i'm indexing them is because i didn't want load each json file into memory separately, which could take some time. however, your query has given me an idea. I could create a class, which uses another thread to handle all io operation. the class itself can make sure the files and whats in memory will be in sync.
Its unlikely for any duplicates to form in chapters table as all new insertion check for id clashes, in this case url

it would probably stay TinyDB for now... i would have to rewrite a significant amount of the database code.

you can expect update for 1 soon. 2 will take sometime. 3 maybe.
As we are near the end of the year uni has become busy. so this might take longer that usual.

1. 5f5282db14a290e713267e517dc824f6f064e6ef
[-] Packing epub...
[-] Aborted. No changes to chapter database


Use sets for required & allowed fields

This will make lookup (much) faster, since sets are data structures dedicated to such operations.
This PR is a prerequisite to another PR (I need to update the allowed fields and wanted to land this change before that.
Checklist
This checklist is for your information.

[x] Make sure to rebase your PR against the very latest dev.
[x] Features/Changes should be submitted against the dev.
[x] Bugfixes should be submitted against the bugfix branch.
[x] Give a meaningful name to your PR, as it may end up being used in the release notes.
[x] Your code is flake8 compliant.
[x] Your code is python 3.11 compliant.
[x] Add the proper label to categorize your PR.

I really like this approach. Thank you for this fix.


Handle Custom presence status

As part of https://github.com/saiteja-madha/discord-js-bot/pull/544


Enable bumping semantic version elements.

This may be controversial, but I'd love a discussion. I think this functionality is valuable, but contrary to what I'd like to believe, I don't speak for everybody.
This retains the original behavior of bumping the patch version with module:bump (even though the docs said it bumped the minor version). I think this would technically be a breaking change as it enforces Semantic Versioning wheras we were using Gem::Version previously, which isn't SemVer.
Because of the way Puppet has decided to vendor the 'Semantic' gem we're unable to use that namespace because it conflicts with the vendored implementation. This PR vendors our own implementation of the 'Semantic' gem in the Blacksmith::VersionHelper namespace. Not sure if this is the best way to do it, but I can't think of a better way. Need to make sure the original author is credited appropriately.

LGTM


CSS or markup is terrible

The CSS or markup on http://getblimp.github.io/django-rest-framework-jwt/#rest-framework-jwt-auth is really terrible looking.

Sorry you don't like it.

@wbeyda I'd like to know if there's anything specific you don't like, Feel free to open up a PR with a proposal that improves it and we'll review.
Note we're currently using the mkdocs theme, but we could also use the readthedocs theme.

When I made this Issue Bootstrap.css failed to load for some reason and the layout was broke. Seems to be resolved now.

Probably related to GitHub's downtime yesterday.


[BUG] Decrypt on the chacha branch not working

Describe the bug
Decrypting a file using Dexios built from the chacha branch does not work.
The nonce and salt are both saved and read correctly (confirmed with a hex editor).
This issue happens with both the default XChaCha20-Poly1305 and the -g for AES-256-GCM switch.
This is the only issue I have found so far with the implementation (aside from implementing it idiomatically, but that's sorted now).
To Reproduce
Command to reproduce this behaviour:
./dexios encrypt -yk keyfile test.raw test.enc
and then
./dexios decrypt -yk keyfile test.enc test.raw
Expected behavior
It should decrypt the file, instead it returns an error.
Desktop:

OS: Void Linux (GNU's libc)

This was fixed with ba5b2c7b769d96eb9b7b9cc67def4fdab8c682dd.


Add tests for mongoimport and mongoexport

Closes #148.

Diff tests started failing, from a quick look I assume that we changed the error type on the ordered inserts task?

@noisersup this is the reason for tests to start failing - dance doesn't check errors correctly -https://github.com/FerretDB/dance/pull/301.
See also: https://ferretdb.slack.com/archives/C02NWN1K3MJ/p1672333409614989

I think the simplest way is to temporarily comment the failing tests, so you can proceed with this PR.

I think the simplest way is to temporarily comment the failing tests, so you can proceed with this PR.

There's quiet a lot of insert tests that need to be commented to do that. We could just use t.Skip on them, though it would require to change our diff.yml regex because currently it match these insert tests as expected to pass.
Why can't we just ignore the diff here, as it's the error on the main branch and not on the PR branch?

Yeah, sounds reasonable!


Limit rigid body rotation on specific axis

I am experimented with a dynamic rigid body as a character controller. It seems that setting setAngularVelocity to 0.0 and setInertiaTensorLocal to identity matrix each tick does not limit the rotation of a capsule. It slowly rotate onto its side.
Do you have an idea how to limit a rigid body on specific axis?

Setting the inertiaTensorLocal to identity does not limit rotation on single axis. It is currently not possible to do this. I still need to implement this feature as you can see here


[BUG] Bolt Fatal Error on Download Page

Download of contenttypes.yml and/or contenttypes.yml dist under https://bolt.cm/distribution throws "Bolt - Fatal Error: ... Message: The content cannot be set on a BinaryFileResponse instance."

pinging @GawainLynch, not sure if you are monitoring these issues as well. :)

pinging @GawainLynch, not sure if you are monitoring these issues as well. :)

Yeah, I was on my bicycle :grin:
I'll look this afternoon, @rompcik

@rompcik what browser are you using? (i.e. it doesn't throw an error here)

I've confirmed this issue at 2 browsers: Chrome, Firefox
Screenshot is here


Disable warnings for console logs in production build

Should clean up the lint exceptions for the existing console logs.

Is this considered the long-term solution or just a temporary one? If the latter, it could be changed to
      "no-console": ["off", { allow: ["warn", "error"] }],

with a comment indicating the conditions under which it should be reenabled.


AC: running webpack plugins generates HTML, service worker, and manifest

WHEN I run my webpack plugins
THEN I find that I have a generated HTML file, service worker, and a manifest file

/client/webpack.config.js
// TODO: Add and configure workbox plugins for a service worker and manifest file.


Interest in doom-modeline change? (truncated paths)

I changed the modeline a little bit. I use a lot of long paths and the relative to root paths aren't always enough to tell me immediately in which project I'm in so I built a fish shell directory truncate function.
This is what I came up with:

I also use it in the eshell prompt:

It's not yet mature but I wanted to ask that if you're into it I will polish it up and do a PR.

Sure, color me interested! I'd be happy to add it to both eshell and the modeline.


Loss cannot be converged

During the training process, loss_s can quickly converge, but Loss_t has been maintained between 8-9. What could be the reason for this?

As I remember, the value of loss_t is larger than loss_s, but it would not affect the final results. How's your training performance?

As I remember, the value of loss_t is larger than loss_s, but it would not affect the final results. How's your training performance?

I will close the issue as no more response is shown.


[Device Support Request] TS0601 _TZE200_fhn3negr (Termostat Knob)

Is your feature request related to a problem? Please describe.
Bought a thermostat knob in China. It does pair, but does not expose any controls or status.
Describe the solution you'd like
I would like to be able to control the target temperature, and read current temperature and battery level
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
{
  "node_descriptor": "NodeDescriptor(byte1=2, byte2=64, mac_capability_flags=128, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=0, *allocate_address=True, *complex_descriptor_available=False, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False, *is_valid=True, *logical_type=<LogicalType.EndDevice: 2>, *user_descriptor_available=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0051",
      "in_clusters": [
        "0x0000",
        "0x0004",
        "0x0005",
        "0x000a",
        "0xef00"
      ],
      "out_clusters": [
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TZE200_fhn3negr",
  "model": "TS0601",
  "class": "zigpy.device.Device"
}

Additional context
Product: https://a.aliexpress.com/_BPiRx7
More information is also provided in another Github issue on another project.
https://github.com/Koenkk/zigbee-herdsman-converters/issues/1803
Note: I'm using ZHA via a Tasmotized Sonoff ZBBridge

Its looks like Z2M under the nale "Alt Moes TRV" have doing all the work for getting the all the functions in place but have not getting one PR for adding it in the Z2M. de(F)CONZ have not trying getting it in the system but is one version of Moes TRV but i think its its not 100% compatible with the "normal" ones.
You can trying adding the model ID in the valve.pv and testing if its working good enough.
Look on the last added Moes TRV https://github.com/zigpy/zha-device-handlers/pull/931/commits/20a8ed34ed03814000ae9f561e1ed2a00bd8cf5a and making it look like:
        MODELS_INFO: [
            ("_TZE200_ckud7u2l", "TS0601"),
            ("_TZE200_ywdxldoj", "TS0601"),
            ("_TZE200_cwnjrr72", "TS0601"),
            ("_TZE200_b6wax7g0", "TS0601"),
            ("_TZE200_fhn3negr", "TS0601"),
        ],

And putting you patched valv.py in your local quirk folder, restarting HA and testing if / how its working.
If you need help to ding it say and i is helping you.
For more advanced function to work in HA its need some extra patching for the GUI part for Moes TRV but the basic shall working if its similar to the "normal" ones.

@MattWestb Thanks for pointing me to this commit and suggesting the change.
I've put the extra lines into /config/deps/python3.8/site-packages/zhaquirks/tuya and removed the __pycache__ folder
(also in the parent directory /config/deps/python3.8/site-packages/zhaquirks)
(using https://github.com/zigpy/zha-device-handlers#testing-quirks-in-development-in-docker-based-install to point me to the location where valve.py was, and which told me to clean the pycache)
I then restarted the homeassistant container, removed the zigbee device using ZHA and re-paired it.
Unfortunately it seems that nothing has changed. Is there anything I may have missed?

Is the quirk loaded ?
You can see that on the device card in the info the last line or the signature if you have on line like this but with Moes name Quirk: zhaquirks.tuya.valve.SiterwellGS361_Type1.
Also you shall getting more cluster on the device if its have loading OK.

Hmm, looks like the quirk is not loaded. See the following screenshot

Do you have any advice on how to ensure nu local changes to the valve.py are reloaded?

Then somthing is not matching your device.
Look is all is the same under:
    signature = {
        #  endpoint=1 profile=260 device_type=81 device_version=0 input_clusters=[0, 4, 5, 61184]
        #  output_clusters=[10, 25]>
        MODELS_INFO: [
            ("_TZE200_ckud7u2l", "TS0601"),
            ("_TZE200_ywdxldoj", "TS0601"),
            ("_TZE200_cwnjrr72", "TS0601"),
            ("_TZE200_b6wax7g0", "TS0601"),
            ("_TZE200_fhn3negr", "TS0601"),
        ],
        ENDPOINTS: {
            1: {
                PROFILE_ID: zha.PROFILE_ID,
                DEVICE_TYPE: zha.DeviceType.SMART_PLUG,
                INPUT_CLUSTERS: [
                    Basic.cluster_id,
                    Groups.cluster_id,
                    Scenes.cluster_id,
                    TuyaManufClusterAttributes.cluster_id,
                ],
                OUTPUT_CLUSTERS: [Time.cluster_id, Ota.cluster_id],
            }
        },
    }

If endpoints, clusters and profiles is not the same its not being triggered / loaded (you can see it in the HA log if having debug).
You normally dont need repairing the device only restarting HA or getting it trying loading the updated quirk.

Its looks like the time cluster[Time.cluster_id] (0x000a) have moved from out to in cluster.

After placing Time.cluster_id in the in-cluster and removing it from out cluster it indeed gets recognized and the quirk is mentioned.
I also placed the Time.cluster_id from the in-cluster to the out-cluster in the replacement part
valve.py now looks like this:

Unfortunately, it gives some 'unknown' readings:

I also noticed that the HY368 usually also has a second cluster address?
The snippet that was send is followed by """MoesHY368 Thermostatic radiator valve (2nd cluster signature)."""
I do not see another device in my network overview, but may that be of any importance?

Then i think its too much that is not working for using it with the "normal Moes" quirk.
Need some that can writing one new quirk for it so it can using all the right data points the device is using.
Most tuya TRVs is coming in 2 different  versions that is having different Zigbee modules that is having different signature but the same tuya MCU that is doing the "work" and its only having one serial port to the zigbee module = type 1 and 2 for most of them.
More info https://github.com/zigpy/zigpy/discussions/653#discussioncomment-314395.

I now re-paired the device and collected the logs. It may be useful when creating a new quirk then:
Logger: zigpy.zcl
Source: /usr/local/lib/python3.8/site-packages/zigpy/zcl/__init__.py:91
First occurred: 7:38:57 PM (1 occurrences)
Last logged: 7:38:57 PM

Unknown cluster 61184

and
Logger: homeassistant.components.zha.core.channels.base
Source: components/zha/core/channels/base.py:356
Integration: Zigbee Home Automation (documentation, issues)
First occurred: 7:39:02 PM (2 occurrences)
Last logged: 7:39:02 PM

[0x9A3D:1:0x0006]: 'async_configure' stage failed: 'ConfigureReportingResponseRecord' object is not subscriptable
[0x9A3D:1:0x0001]: 'async_configure' stage failed: 'ConfigureReportingResponseRecord' object is not subscriptable

Unknown cluster 61184 = 0xef00 = TuyaManufClusterAttributes.cluster_id so the tuya cluster is not working OK and cant sending / receiving data OK.

By the way, was researching another log line:
[0x7c3b:1:0x0000] Attribute report received: 65503=��g(��g(��g(
I came across another device that looks very similar: https://github.com/zigpy/zha-device-handlers/issues/677
With the same in/out clusters

Sorry i was missing that issue :-((
I think the _TZE200_i48qyn9s is the same tuya MCU as _TZE200_fhn3negr if reading Z2M so very likely is working  the same way.
I putting on link to the issue from the tuya TRV matrix.

Do you have putting up the logging so you can see the tuya attributes ?
logger:
  default: info
  logs:
    zhaquirks: info
    zhaquirks.tuya: debug

Sure. I have put the default loglevel on critical so they won't show up in the general log.
The logs show the pairing process of the thermostat. (I removed it, and rejoined it again)
I've put the log on pastebin here: https://pastebin.com/SG0sD86r
I don't know myself what to look for in the logs.

M2 im no code worrier :-(((
The log is not showing all its ended before the device is complete paired  / start working normal.
Try changing some on the device lite the set point temperature and look if its sending somthing to the coordinator.

Ok, the previous pastebin logging was taken without additions to the valve.py. I also made adjustments to the thermostat knob (setting target temperature) but it didn't generate additional logging.
I've added those additions so that the quirk was loaded again and re-joined the zigbee thermostat.
Also, after joining I adjusted the target temperature on the thermostat itself.
The logging for rejoin and setting target temperature (increase temperature, decrease temperature, Permanent ON and Permanent OFF), with additions to valve.py  can be found here https://pastebin.com/Y7qkicM2

Its looks that the TRV is sending attribute nice to the coordinator:
2021-06-24 21:47:11 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Got set time request (command 0x0024)
2021-06-24 21:47:16 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 3, 109] for attribute 0x0276 (command 0x0002)
2021-06-24 21:47:27 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 3, 108] for attribute 0x0276 (command 0x0002)
2021-06-24 21:47:37 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 3, 107] for attribute 0x0276 (command 0x0002)
2021-06-24 21:47:48 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 3, 106] for attribute 0x0276 (command 0x0002)
2021-06-24 21:47:58 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 3, 105] for attribute 0x0276 (command 0x0002)
2021-06-24 21:47:58 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 3, 104] for attribute 0x0276 (command 0x0002)
2021-06-24 21:48:09 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 0, 0] for attribute 0x0210 (command 0x0002)
2021-06-24 21:48:19 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 0, 156] for attribute 0x0218 (command 0x0002)
2021-06-24 21:48:20 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [1] for attribute 0x0402 (command 0x0002)
2021-06-24 21:48:25 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0] for attribute 0x011e (command 0x0002)
2021-06-24 21:48:35 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 0, 134] for attribute 0x0222 (command 0x0002)
2021-06-24 21:48:46 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 0, 42] for attribute 0x0265 (command 0x0002)
2021-06-24 21:48:56 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 0, 34] for attribute 0x0266 (command 0x0002)
2021-06-24 21:48:56 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [19, 6, 6, 12, 2, 32, 0, 1] for attribute 0x0067 (command 0x0002)
2021-06-24 21:49:02 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [255, 255, 255, 198] for attribute 0x0268 (command 0x0002)
2021-06-24 21:49:12 DEBUG (MainThread) [zhaquirks.tuya] [0xd9a6:1:0xef00] Received value [0, 0, 0, 32] for attribute 0x0269 (command 0x0002)

But im not one tuya hacker so i dont knowing the meaning of them :-(((
I think Z2M have doing much of the matching of the DP but they have not getting it all the way.

This valve is the same as baldisos user.
@JoostvdB94
If you want it to work in ZHA please do same steps:
https://github.com/zigpy/zha-device-handlers/issues/677#issuecomment-933715002

@jacekk015 This certainly helped!
I added the moes_3.py to the custom_zha_quirks folder, added the ("_TZE200_fhn3negr", "TS0601"), to the MODELS_INFO section and re-paired the device.
The device now shows

a toggle (which activates child lock)
Battery level
Thermostat entity (read-only, current temperature, updates after a while)

@JoostvdB94 Grab newer DEV version, I've added your model already to MODELS_INFO
Thermostat entity should steer now your TRV in Auto and Manual modes.
moes_3.py.zip

Thanks @jacekk015 you have fixing the preset so it being updated in ZHA then changing it local or the TRV or with cluster commands !!!
I running it on my test Siterwell TRV and its working great :-))
Now its only the switches and reporting of the alarms to ZHA then is one upgrade for the Siterwell TRV quirk getting the missing functions after nearly one year !!

Its already supported (was the first tuya TRV added) but i trying getting all missing  functions working and taking away that is not.
  "manufacturer": "_TYST11_kfvq6avy",
  "model": "fvq6avy",
  "class": "valve.SiterwellGS361_Type1"

For getting alarms working i was looking on Aqara magnet but its not one standard device but it looks like "zigbee control bridge" with in put as on/off is making the same "indicator" in ZHA if adding it as your EP3 for vale jammed and window is open alarms / events.

@JoostvdB94 If we're good with this please close that issue. Thanks!

Yes, thanks you for the hard work!


Add Media Playback Cluster

Problem
We do not code of media playback cluster which is needed for Chip to control media on TV
Summary of Changes

Added Media Playback cluster.xml file
Added Media Playback client and server.cpp files
Updated example chip-tool so you can use media playback cluster
Created example tv-app so you can start a TV server

Documentation

You can see the media playback cluster specification in this URL

Test

Tested locally using chip-tool client and newly created tv-server
Used the ./scripts/tools/zap_regen_all.py  and ./gn_build.sh  to verify the building is successful

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Large footer is not sticky.

When using the large footer, if the content is not long enough, it will push up and not remain sticky.

See [#913] (https://github.com/google/material-design-lite/issues/913).


AMICO

Purpose
[NEW] Module AMICO in Diffusion
Approach
Add AMICO toolbox: https://github.com/daducci/AMICO_matlab
Tested on MACOS and R2018a
Open Questions and Pre-Merge TODOs

[ ] Use github checklists. When solved, check the box and explain the answer.

[ ] Review that changed source files/lines are related to the pull request/issue
If any files/commits were accidentally included, cherry-pick them into another branch.

[ ] Review that changed source files/lines were not accidentally deleted
Fix appropriately if so.

[ ] Test new features or bug fix
If not implemented/resolved adequately, solve it or inform the developer by requesting changes in your review.
Preferably, set breakpoints in the locations that the code was changed and follow allong line by line to see if the code behaves as intended.

Manual GUI tests (general)

[ ] Does the qMRLab GUI open?
[ ] Can you change models?
[ ] Can you load a data folder for a model?
[ ] Can you view data?
[ ] Can you zoom in the image?
[ ] Can you pan out of the image?
[ ] Can you view the histogram of the data?
[ ] Can you change the color map?
[ ] Can you fit dataset (Fit data)?
[ ] Can you save/load the results?
[ ] Can you open the options panel?
[ ] Can you change option parameters?
[ ] Can you save/load option paramters?
[ ] Can you select a voxel?
[ ] Can you fit the data of that voxel ("View data fit")?
[ ] Can you simulate and fit a voxel ("Single Voxel Curve")?
[ ] Can you run a Sensitivity Analysis?
[ ] Can you simulate a Multi Voxel Distribution?

Specifications

Version:
Platform:
Subsystem:

Cool @tanguyduval ! Is this the branch that @TommyBoshkovski has been working on? He mentioned he was implementing it at a meeting this summer.

Sorry, did not know there was an already existing branch. I implemented it
for personal use.
If the branch of @TommyBoshkovski https://github.com/TommyBoshkovski is
ready he can replace my work, it was really not massive in term of
implementation.

Oh ok! He might not have started to work on it yet, I was just curious. But neither of you opened an issue saying that you're working on it, so I guess you are both to equally to "blame" for this confusions hahaha.
I'll wait for @TommyBoshkovski  to chime in before reviewing; either he can review it or I will.
A+

Great job @tanguyduval, you were faster than me :). @mathieuboudreau I have been working on AMICO locally, so I'm the one to blame hahaha. However, my implementation is not ready yet, so I'll just start reviewing this one.

@mathieuboudreau @TommyBoshkovski just to warn you that AMICO is not compatible with Octave, mainly because of mex SPAMs files that would need to be compiled for OCtave...
Travis is not passing the test because of that. Don't know what would be the strategy to pass the tests...

If it's not possible to test with Travis for a good reason (like what you said), we can override the Coveralls conditions even though it fails. However, I would still setup the batch & other test(s) so that we can run it using MATLAB when reviewing PRs related to AMICO; we just wouldn't call them with Travis.

Ok perfect, and how can I override the Coveralls conditions?

Note that the Travis tests should pass regardless before merging, so AMICO should be removed from the auto-batch testing (I think that's why it's failing, as you said).

Coverage decreased (-0.5%) to 42.4% when pulling 86a86d47ed6b92c99a6a85a9377355e53b6fb065 on AMICO into 2b2b9d82d2138d85076948632483573aa9ff748a on master.

@TommyBoshkovski can u plz approve this branch 😉

@TommyBoshkovski thanks!


Configure: don't try to be clever when configuring afalgeng

If the afalgeng is enabled then Configure tries to be clever but fails, by only
actually building afalgeng if it isn't being cross-compiled and if the current
kernel is 4.1+.
This means that everyone cross compiling, or whose builder machines are running
older kernels (not uncommon for build farms), can't enable afalgeng.
Instead remove the cleverness and simply enable/disable as requested.
Fixes #7687

+1 to this!

Do we want to consider the possibility to enable it automatically if neither disable-afalgeng nor enable-afalgeng have been given?
The procedure to do so is quite simple, have it disabled by default ($disabled{afalgeng} == 'default'), and if it hasn't been enabled or disabled explicitly (for the latter, $disabled{afalgeng} == 'option'), run the check and modify $disabled{afalgeng} accordingly.

Close/reopen to kick CLA bot.

Do we want to consider the possibility to enable it automatically if neither disable-afalgeng nor enable-afalgeng have been given?

Is that the sound of a yearning for autoconf that I hear?

@t8m ping - Ross has added the "CLA: trivial" line

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

Would this benefit from a CHANGES.md entry?

Would this benefit from a CHANGES.md entry?

IMO this is fairly marginal thing, so not worth it.

This pull request is ready to merge

I was rethinking this and I've reconsidered my approval. I would be fine with this going into master however in the current form it should not go into stable releases.
@rossburton @tom-cosgrove-arm Are you OK with this just going into the 3.1 release?

If we wanted to put this into released branches we would have to do it the way @levitte proposed above https://github.com/openssl/openssl/pull/7688#issuecomment-441240027

I'm fine with master only.

Merged to master branch. Thank you for your contribution and patience given this had to wait for so long time.

No problem, thanks!

This PR seems to have broken something:
https://github.com/openssl/openssl/actions/runs/2022523976

How did the CI for the PR work but then explode the moment it was merged! 😭

As that is quite a dramatic explosion, can it be reverted whilst I debug?

How did the CI for the PR work but then explode the moment it was merged!

Because we do not actually try to run the tests on cross compiled targets in the pull request CI. Running them via qemu is too slow. We run them only once the patches are merged.
IMO we just need to disable the afalgeng in our CI for the cross compile targets.

As that is quite a dramatic explosion, can it be reverted whilst I debug?

I've merged disablement of the failing test in CI. If you can find out why the test fails under qemu, it would be nice. I suppose the qemu does not translate the syscall number properly or something.


Reduce verbosity of Cosmos INFO logging

Is your feature request related to a problem? Please describe.
We have noticed RxDocumentClientImpl logging too many logs for "Getting database account endpoint from..."
Describe the solution you'd like
Can this downgrade to lower level? Or if it is needed at INFO level, is there a way we can reduce the frequency or occurrence?
Describe alternatives you've considered
The only other alternative we can do is increase the log level on our side for this class to be on WARN level, however, that will hide other important INFO level logs which may be needed for future debugging.
Additional context
2022/06/16 13:53:09.075 INFO [RxDocumentClientImpl] [cosmos-parallel-6] [<svc_name>] [] Getting database account endpoint from https://<accountName>.documents.azure.com:443/
2022/06/16 13:53:09.116 INFO [RxDocumentClientImpl] [cosmos-parallel-7] [<svc_name>] [] Getting database account endpoint from https://<accountName>.documents.azure.com:443/
2022/06/16 13:53:09.444 INFO [RxDocumentClientImpl] [cosmos-parallel-8] [<svc_name>] [] Getting database account endpoint from https://<accountName>.documents.azure.com:443/

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Description Added
[x] Expected solution specified

@hshukla this information is logged once when a new CosmosClient/CosmosAsyncClient is created. The sample logs you have shared imply that you are running a multi-threaded app where each thread is creating a fresh client. We recommend you implement CosmosClient/CosmosAsyncClientas as a singleton, and share the instance across your threads. Not only will this reduce the frequency or occurrence of this message, it will also help you reduce memory related problems, and improve performance on the client-side. Is there some reason your threads cannot share CosmosClient/CosmosAsyncClient? Even if there are some threads which require the client to be re-created with different options, it is still better to share clients where possible.

@hshukla are you happy that we close this issue?


Add Java support

We should be able to convert crds to java

Fixed in https://github.com/pulumi/crd2pulumi/pull/129.


Fix getPrivateKey Change to getPemFile to work with deployer 4.

Fix getPrivateKey Change to getPemFile to work with deployer 4.

ping @johnny-bit

I'm ok with this :)
2016-12-23 13:57 GMT+01:00 Anton Medvedev<EMAIL_ADDRESS>
ping @johnny-bit https://github.com/johnny-bit
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/deployphp/recipes/pull/86#issuecomment-268986207, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKMVFZOsoDWl_VY7FUMog-pqhCYhIuESks5rK8UigaJpZM4LUudf
.

--
Pozdrawiam,
Hubert Kowalski


Wrong variable

Unless I'm greatly mistaken, you meant to strip 'pa' from the post name of Product Options of type textarea, generated in the product block type. This would strip 'pa' from false.

Yep, this kind of logic is used in other places and it should be behaving the same way. Thanks for this.


Pail Crashes

Laravel Package Version
dev-main
Laravel Version
10.25
PHP Version
8.2.10
Database Driver & Version
None
Description
Hi,
I'm receiving the following error (with stacktrace) when i execute pail without any additional arguments on our staging server:
PHP Fatal error:  Uncaught JsonException: Syntax error in /home/user/projects/ingest/vendor/laravel/pail/src/ValueObjects/MessageLogged.php:30
Stack trace:
#0 /home/user/projects/ingest/vendor/laravel/pail/src/ValueObjects/MessageLogged.php(30): json_decode()
#1 /home/user/projects/ingest/vendor/laravel/pail/src/ProcessFactory.php(28): Laravel\Pail\ValueObjects\MessageLogged::fromJson()
#2 [internal function]: Laravel\Pail\ProcessFactory->Laravel\Pail{closure}()
#3 /home/user/projects/ingest/vendor/laravel/framework/src/Illuminate/Collections/Arr.php(558): array_map()
#4 /home/user/projects/ingest/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(777): Illuminate\Support\Arr::map()
#5 /home/user/projects/ingest/vendor/laravel/pail/src/ProcessFactory.php(28): Illuminate\Support\Collection->map()
#6 /home/user/projects/ingest/vendor/symfony/process/Process.php(1276): Laravel\Pail\ProcessFactory->Laravel\Pail{closure}()
#7 /home/user/projects/ingest/vendor/symfony/process/Process.php(1376): Symfony\Component\Process\Process->Symfony\Component\Process{closure}()
#8 /home/user/projects/ingest/vendor/symfony/process/Process.php(1296): Symfony\Component\Process\Process->readPipes()
#9 /home/user/projects/ingest/vendor/symfony/process/Process.php(840): Symfony\Component\Process\Process->updateStatus()
#10 /home/user/projects/ingest/vendor/symfony/process/Process.php(886): Symfony\Component\Process\Process->isRunning()
#11 /home/user/projects/ingest/vendor/symfony/process/Process.php(213): Symfony\Component\Process\Process->stop()
#12 [internal function]: Symfony\Component\Process\Process->__destruct()
#13 {main}
thrown in /home/user/projects/ingest/vendor/laravel/pail/src/ValueObjects/MessageLogged.php on line 30
In local development everything seems to be working just fine.
Steps To Reproduce
executed php artisan pail.

I found the issue. mbstring is required.

Cool, @anthonyvancauwenberghe can you send in a PR that requires the extension through composer?


Recommended Weather API requires paid for service to use HTTPS

Challenge Show the Local Weather has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
CodePen does not like to access http resources.
Mixed Content: The page at 'https://codepen.io/greenfreq/pen/GrVezj' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://api.apixu.com/v1/current.json?key=<censored>&q=<censored>,<censored>'. This request has been blocked; the content must be served over HTTPS.
The recommended API OpenWeatherMap only supports HTTPS for certain paid subscribers.
Consider suggesting (https://www.apixu.com/api.aspx) instead as it supports HTTPS without cost.

@greenfreq thanks for the issue. This is closely related and generalizable to this issue https://github.com/freeCodeCamp/freeCodeCamp/issues/9079. Closing as duplicate. Please feel free to add to the discussion over there. Happy coding!

this is the answer i got
Q: API calls return an error 401
A: Starting from 9 October 2015 our API requires a valid APPID for access. Note that this does not mean that our API is subscription-only now - please take a minute to register a free account to receive a key.
We are sorry for inconvenience but this is a necessary measure that will help us deliver our services to you faster and more reliably.
For FOSS developers: we welcome free and open source software and are willing to help you. If you want to use OWM data in your free software application please register an API key and file a ticket describing your application and API key registered. OWM will review your request lift access limits for your key if used in open source application.


Extend default timeout for nested VM integration run

When integration tests are run under nested VM (for SELinux, Cgroupsv2
testing) they are regularly starting to push past 10 minutes, causing
go test to fatally kill the test run (default timeout is 10m).
Signed-off-by: Phil Estes<EMAIL_ADDRESS>(Recent example in #5266)

/test pull-containerd-node-e2e


How to delete endpoint? use put or delete?

can't delete endpoint by http request?

that's strange for me, why would you do so? what is your use case?

2 deeps data store, want create and delete endpoint by http request.

Any ideas ? Is it possible somehow ?


Logbook did not work with spring-boot 2.1.6

Description

Created a spring-boot aplication using jhipster and added logbook integration but no logs of http requests are available in logs.
Steps to Reproduce

Forked a jhipster application sample
Added logbook spring-boot starter dependency and log level TRACE in application.yml
Compile and run tests and no logs available (running app also)

Context
Trying to integrate logbook in jhipster app to log http request/response
Your Environment

Version used: 2.0.0-RC.1
Link to your project: https://github.com/DanielFran/jhipster-sample-app/tree/logbook

Not exactly sure how logback is configured, but it seems that the logging configuration in the application.yml is not being used.
If you configure the log level within your logback config it works:
<logger name="org.zalando.logbook" level="TRACE"/>

2019-07-11 09:25:59.682 TRACE 8 --- [  XNIO-1 task-1] org.zalando.logbook.Logbook              : {"origin":"remote","type":"request","correlation":"d5d90409ee68d6b0","protocol":"HTTP/1.1","remote":"<IP_ADDRESS>","method":"GET","uri":"http://localhost:8080/api","headers":{"Accept":["*/*"],"Accept-Encoding":["gzip, deflate"],"Connection":["keep-alive"],"Host":["localhost:8080"],"User-Agent":["HTTPie/0.9.8"]}}
2019-07-11 09:25:59.691 TRACE 8 --- [  XNIO-1 task-1] org.zalando.logbook.Logbook              : {"origin":"local","type":"response","correlation":"d5d90409ee68d6b0","duration":117,"protocol":"HTTP/1.1","status":401,"headers":{"Cache-Control":["no-cache, no-store, max-age=0, must-revalidate"],"Connection":["keep-alive"],"Content-Security-Policy":["default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data:"],"Content-Type":["application/problem+json"],"Date":["Thu, 11 Jul 2019 09:25:59 GMT"],"Expires":["0"],"Feature-Policy":["geolocation 'none'; midi 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; speaker 'none'; fullscreen 'self'; payment 'none'"],"Pragma":["no-cache"],"Referrer-Policy":["strict-origin-when-cross-origin"],"Transfer-Encoding":["chunked"],"X-Content-Type-Options":["nosniff"],"X-Frame-Options":["DENY"],"X-XSS-Protection":["1; mode=block"]},"body":{"type":"https://www.jhipster.tech/problem/problem-with-message","title":"Unauthorized","status":401,"detail":"Full authentication is required to access this resource","path":"/api","message":"error.http.401"}}

It's not really well explained here
https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html

Confirmed it is working!
Thanks and sorry for the inconvenience...
Maybe it is better to add a tip on the page about the trace configuration?

Would you prepare a pull request?
On Thu, Jul 11, 2019, 12:13 Daniel Franco<EMAIL_ADDRESS>wrote:

Confirmed it is working!
Thanks and sorry for the inconvenience...
Maybe it is better to add a tip on the page about the trace configuration?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/zalando/logbook/issues/559?email_source=notifications&email_token=AADI7HMDC7XDVWL6SRRJMK3P64BS7A5CNFSM4IA3YTW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZWHJRY#issuecomment-510424263,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADI7HN2W757A6L5Z4C3YKDP64BS7ANCNFSM4IA3YTWQ
.

@whiskeysierra Will do it tonight


Add HestiaCP (Admin) extension

Description
This is a Raycast extension for Hestia Control Panel Admin level accounts. With this extension you can manage Users, Domains, Mail Domains, Databases, and more. This is an extension I started in February but only recently got the time to work more on. Thus, there are a LOT of features/endpoints/commands that I have NOT yet incorporated but will in the future as I am running HestiaCP (see last section of README).
Screencast
https://github.com/raycast/extensions/assets/30526133/94dc81d5-a38e-4669-ad2f-326e521f6f4d
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi!
Thank you for your contribution! My name is Milena and I will be reviewing it today.
Do you know if there is a way to get a demo/sample API from Hestia? At the moment, I don't have access to it, which makes it difficult for testing.

Well, based on the video you provided, it seems to be okay. Can you give an extra test on possible error cases, like when the user is not logged in or missing preferences? Then, we should be good to merge.

I sightly tweaked the error handling to make it more robust and made the README a little easier.
All Preferences in the extension are required but if they are incorrect, here are some error cases:
1 Invalid URL e.g. w/o "https"

2 API is Disabled in HestiaCP

3 IP is not whitelisted in HestiaCP

4 Invalid Auth e.g. invalid length of Hash

5 Invalid Auth e.g. incorrect Key

6 Trying to add a DB when you have exceeded the limit


"Compare words" dropdown

Clicking the 'Compare X' button on term detail pages should drop the 2-word comparison form down from the main search bar.

fixed in d9fb178


feat: advanced search map component

This is blocked by agrc/kitchen-sink#380 so please review that first and I will update the package.json after it publishes.
I'd like to merge this and give it to DTS to test with the CI integration before adding any more functionality. Please review what is here for what it is. Thanks!

Sorry, I didn't realize that this would auto-merge with failing checks.

Yeah why did that happen...


Link checker

Description of problem
Working with content and linking to other pages (internally or externally) is part of the job. But it's not so easy to track whether your links are still valid.
Non working links are bad for your business but also creates a penalty in Google as you obviously are not taking proper care of your website.
Description of solution
I would suggest:

In the scheduler a routine that somehow checks links. With a max of 5 times for instance. And purges results
In the SEO section a tab 'link checker'
A dropdown with the last 5 times it was checked
Columns: Pagename with link, linked word, destination link, result (like 404)

Description of alternatives considered
You can put a repeating activity in you calendar with a link to a online broke link checker but that's an extra step, it is forgotten every time a web editor is replaced and often these tools are limited to a couple of hundered pages.
If there is a way to use something external that's already awesome and just create a connector, that would be fine too.
Additional context
We have to be aware of the risk of eating all CPU. Like too many crawls in too little time. Or links getting in a loop (login failed, reset password etc)

@Tychodewaard Are you thinking of something like a crawler to manage this? Or would this be something looking at ONLY HTML content, or only menu items?

@mitchelsellers I'm thinking like a crawler yes. For my manual labour I always use https://www.brokenlinkcheck.com/
It is intended to verify my content so the target is HTML content. I trust the menu items to always be correct (unless you have created a page which is actually a redirect)

I my opinion this is something better handled by an external tool for performance reasons and accurate results including non-dnn links, etc.

Is anyone interesting in developing this solution?

@valadas is it an idea to add a topic in the manage-part of the persona bar where one can add 'favourites'? That way we could add a link to a broken link checker. But also other links that are important to editors like Google page speed, color schemes, WCAG checker etc. This way it would be:

a simple solution (I think)
a generic solution (as the host can add links any way he/she likes)
no risk on CPU load

Of course this would be a different feature request. If you think this might be a way forward, I'd be more than happy to sketch a wire on how I think it would be awesome for webmasters to maintain and editors to use.

I don't dislike the idea and I don't have a very strong opinion for or against it, but:

If it's just shortcuts and we don't provide a default set of links, then this already exists in the browser, and from the looks of it, it would be generic stuff that is not Dnn specific, so might just want those shortcuts not inside Dnn. We already have Dnn specific shortcuts to docs, github and community site, sooo...
If we do provide a default set of links, it has a potential be be pretty opinionated and might take more time deciding on than implementing :)
I know I wont be building that, nothing personal, but I have much higher priority items and no real use for this, if someone does submit a PR for that, I would not be against it though.

I am closing this issues in the spirit of clean-up, but if anyone is interested in contributing a solution, feel free to comment or reopen.


amqp:link:stolen every time I connect to event hub

Expected Behavior
It should be able to start and stop on the fly. I have implemented when stopped, a graceful stop that closes the connection in case that was the issue. (it runs eventhub.Hub.Close)
Actual Behavior
Every time I start a new hub by invoking eventhub.NewHubFromConnectionString I get the following error:
*Error{Condition: amqp:link:stolen, Description: At least one receiver for the endpoint is created with epoch of '1838', and so non-epoch receiver is not allowed. Either reconnect with a higher epoch, or make sure all epoch receivers are closed or disconnected. TrackingId:835f1f83-8004-46a2-b0dc-8b4e0868485d_B25, SystemTracker:evh-~REDACTED~:eventhub:log-eventhub~16383, Timestamp:2020-07-06T08:28:14 Reference:04ba6f2b-627f-4fb7-83e3-be20b3e1c59d, TrackingId:c52b762b-cf66-4590-931d-4e514bbc6d34_B25, SystemTracker:evh-~REDACTED~:eventhub:log-eventhub~16383|$default, Timestamp:2020-07-06T08:28:14 TrackingId:b584893ba7e94d6cbfa41ab212c0db39_G24, SystemTracker:gateway5, Timestamp:2020-07-06T08:28:14, Info: map[]}

I tried creating a new ConnectionString, or a new Shared access policy but the issue persists.
Environment

OS: macOS 10.15.5 but also in a Docker Containers (golang:1.14)
Go version: 1.14.4
Version of Library: v3

Hi! Thanks for reaching out and sorry for the delay in getting to this. It seems this could come about for a few different reasons. One could be that the event hub has an epoch set and therefore cannot be used with non-epoch receivers, it should instead be used with a receiver with a higher epoch. The other problem could be that there are several receivers trying to attach to a consumer group, the epoch feature is so that only one receiver is attached to the consumer group at a time. At any rate, I'd be interested in knowing what case caused this for you?

This might be helpful:
https://github.com/Azure/azure-event-hubs-go/blob/2fcae0bd6b53327605d662cbde3a4dd1375b40b3/receiver.go#L117-L132

Also, the EventProcessorHost is resilient to these kinds of error and will load balance consumers to maximize throughput. See https://github.com/Azure/azure-event-hubs-go#event-processor-host.

This thing is so old that I am no longer using Azure, Closing


A more precise definition for concurrency

The concurrency docs say:

(allowing more than one thing to happen at the same time)

But that's not concurrency. The wikipedia link immediately before that says:

Concurrent computing is a form of computing in which several computations are executed during overlapping time periods

It doesn't help that that wikipedia article then goes on the discuss parallel computing even though it noted that it's distinct from concurrency.
Wikipedia then has another article on concurrency that I think is closer to what the concurrency docs are trying to say about Perl 6:

concurrency is the decomposability property of a program, algorithm, or problem into order-independent or partially-ordered components or units

Perl 6 can work on multiple tasks before it completes one of them, and that's all it should promise (um, heh).

To be honest, I like the current definition, mostly for how it does not make me feel like I'm reading a book on computer science :) I think this is good for 8-year olds and people whose native language is not English.
But we can probably do better. If somebody can come up with a better Simple English explanation, then sure!

Just to keep this alive...or give some further inspiration or something to argue against...
"Allowing a program, algorithm, or problem to be broken into parts that can be worked on at the same time as each other"

"at the same time" is part of the docs that is wrong. Concurrency doesn't deal with the when part of the problem and we shouldn't use temporal words to describe it.

Putting up another Dummy for shoot-it-down practice:
"Concurrency is if you make blocks of code that are fit for execution in parallel. The hope is that the computer can work on unfinished blocks while it has spare CPU cycles to execute, e.g. when there are idle CPU cores, or when they are waiting for the disk, or for the user to type something."
I was aiming for completeness and simplicity, so it's probably too long.

To go another way and maybe too terse:
Perl 6 is designed to support concurrency (ordering units of code) and ..

Stealing some words from @jnthn slides, change the sub-heading and first paragraph:
Parallel and Asynchronous Programming. Concurrency.
Perl 6 is designed to support parallel programming (choosing to do multiple things at once), asynchronous programming (sometimes called event driven or reactive programming - that is an event or change in some part of a program may lead to an event or change in some other part of the program asynchronously to the program flow), and concurrency (coordinating access and modification of some shared resource).

Is everyone OK with the latest reformulation by @ngaywood ?

Sentences that are too long are hard to read, specially when dense on information. I would split them up like this:

Perl 6 is designed to support parallelism, asynchronicity and concurrency. Parallelism is about doing multiple things at once. Asynchronicity, sometimes called event driven or reactive programming, is about supporting changes in the program flow caused by events triggered elsewhere in the program. Concurrency is about coordinating the access and the potential modification of shared resources.


Add Nourish tags

I've added Nourish tags for the mod's handful of food items.

BetterEnd use in-code tag system without json. Minecraft json tags makes impossible to disable blocks from registry. I will add this tags manually using same values

BetterEnd use in-code tag system without json. Minecraft json tags makes impossible to disable blocks from registry. I will add this tags manually using same values

Done, here is the code. I will update this in the future and will add another food from BE when I will add it

Done, here is the code. I will update this in the future and will add another food from BE when I will add it