Distinguish which of the high number of svchost processes is affected

Hello,
I use PAL Reports frequently, but one thing that is really painful is the fact that if you have high CPU usage caused by one of the numerous svchost-processes, you actually only get a sequential number (i.e. svchost#42), but no further information.
It would be really helpful if PAL reports would collect the Process ID and the commandline parameters so that a user can find out which of the actual hosted services is causing a problem. Without that information, it's only guessing, or am I missing something? Could this be implemented?

You need to enabled PIDness in perfmon to show it. It's a regedit done on
the system you collect data from.
https://techcommunity.microsoft.com/t5/ask-the-performance-team/perfmon-identifying-processes-by-pid-instead-of-instance/ba-p/374561
On Tue, Jan 26, 2021 at 4:29 AM Jackie78De<EMAIL_ADDRESS>wrote:

Hello,
I use PAL Reports frequently, but one thing that is really painful is the
fact that if you have high CPU usage caused by one of the numerous
svchost-processes, you actually only get a sequential number (i.e.
svchost#42), but no further information.
It would be really helpful if PAL reports would collect the Process ID and
the commandline parameters so that a user can find out which of the actual
hosted services is causing a problem. Without that information, it's only
guessing, or am I missing something? Could this be implemented?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clinthuffman/PAL/issues/64, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFOL6L3VWE222HT3BPEPF3S32DRLANCNFSM4WTEH3RA
.

You need to enabled PIDness in perfmon to show it. It's a regedit done on
the system you collect data from.
https://techcommunity.microsoft.com/t5/ask-the-performance-team/perfmon-identifying-processes-by-pid-instead-of-instance/ba-p/374561
On Tue, Jan 26, 2021 at 4:29 AM Jackie78De<EMAIL_ADDRESS>wrote:

Hello,
I use PAL Reports frequently, but one thing that is really painful is the
fact that if you have high CPU usage caused by one of the numerous
svchost-processes, you actually only get a sequential number (i.e.
svchost#42), but no further information.
It would be really helpful if PAL reports would collect the Process ID and
the commandline parameters so that a user can find out which of the actual
hosted services is causing a problem. Without that information, it's only
guessing, or am I missing something? Could this be implemented?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clinthuffman/PAL/issues/64, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFOL6L3VWE222HT3BPEPF3S32DRLANCNFSM4WTEH3RA
.

Sorry just noticed your command line comment. Perfmon is unable to
distinguish cmdline, ergo PAL cannot distinguish it. PAL is just
transforming blg/csv/tsv data into an HTML report. So we're limited by what
Perfmon can see (this is why for high CPU scenarios perfmon isnt very
helpful at times. What dll inside the process was high on CPU? Perfmon
can't tell. What stack/function? same issue).
On Tue, Jan 26, 2021 at 8:13 AM Jeff Stokes<EMAIL_ADDRESS>wrote:

You need to enabled PIDness in perfmon to show it. It's a regedit done on
the system you collect data from.
https://techcommunity.microsoft.com/t5/ask-the-performance-team/perfmon-identifying-processes-by-pid-instead-of-instance/ba-p/374561
On Tue, Jan 26, 2021 at 4:29 AM Jackie78De<EMAIL_ADDRESS>wrote:

Hello,
I use PAL Reports frequently, but one thing that is really painful is the
fact that if you have high CPU usage caused by one of the numerous
svchost-processes, you actually only get a sequential number (i.e.
svchost#42), but no further information.
It would be really helpful if PAL reports would collect the Process ID
and
the commandline parameters so that a user can find out which of the
actual
hosted services is causing a problem. Without that information, it's only
guessing, or am I missing something? Could this be implemented?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clinthuffman/PAL/issues/64, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ACFOL6L3VWE222HT3BPEPF3S32DRLANCNFSM4WTEH3RA
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clinthuffman/PAL/issues/64#issuecomment-767532572,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFOL6NPA66YO2YR6P76AX3S325XLANCNFSM4WTEH3RA
.

Sorry just noticed your command line comment. Perfmon is unable to
distinguish cmdline, ergo PAL cannot distinguish it. PAL is just
transforming blg/csv/tsv data into an HTML report. So we're limited by what
Perfmon can see (this is why for high CPU scenarios perfmon isnt very
helpful at times. What dll inside the process was high on CPU? Perfmon
can't tell. What stack/function? same issue).
On Tue, Jan 26, 2021 at 8:13 AM Jeff Stokes<EMAIL_ADDRESS>wrote:

You need to enabled PIDness in perfmon to show it. It's a regedit done on
the system you collect data from.
https://techcommunity.microsoft.com/t5/ask-the-performance-team/perfmon-identifying-processes-by-pid-instead-of-instance/ba-p/374561
On Tue, Jan 26, 2021 at 4:29 AM Jackie78De<EMAIL_ADDRESS>wrote:

Hello,
I use PAL Reports frequently, but one thing that is really painful is the
fact that if you have high CPU usage caused by one of the numerous
svchost-processes, you actually only get a sequential number (i.e.
svchost#42), but no further information.
It would be really helpful if PAL reports would collect the Process ID
and
the commandline parameters so that a user can find out which of the
actual
hosted services is causing a problem. Without that information, it's only
guessing, or am I missing something? Could this be implemented?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clinthuffman/PAL/issues/64, or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/ACFOL6L3VWE222HT3BPEPF3S32DRLANCNFSM4WTEH3RA
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/clinthuffman/PAL/issues/64#issuecomment-767532572,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFOL6NPA66YO2YR6P76AX3S325XLANCNFSM4WTEH3RA
.

Yes, I agree that resolving the svchosts to their respective service names would be great, but unfortunately, counter logs do not contain that information. This is why I recommend using CLUE (http://github.com/clinthuffman/clue) which is my performnace data collection tool to collect the counter log, output of tasklist /svc, event logs, and ETW traces at the time of the high CPU, disk, or memory condition. CLUE is designed to be fully automatic and as low overhead as possible when collecting this data and is used frequently by Windows support teams around the world. Counter logs collected by CLUE can be analyzed by Perfmon and using the \Process(*)\ID Process, you can identify the process ID of the svchost which can be cross referenced in the tasklist output to resolve it to the service name.

Yes, I agree that resolving the svchosts to their respective service names would be great, but unfortunately, counter logs do not contain that information. This is why I recommend using CLUE (http://github.com/clinthuffman/clue) which is my performnace data collection tool to collect the counter log, output of tasklist /svc, event logs, and ETW traces at the time of the high CPU, disk, or memory condition. CLUE is designed to be fully automatic and as low overhead as possible when collecting this data and is used frequently by Windows support teams around the world. Counter logs collected by CLUE can be analyzed by Perfmon and using the \Process(*)\ID Process, you can identify the process ID of the svchost which can be cross referenced in the tasklist output to resolve it to the service name.

Also, the ETW trace that CLUE collects has all of the command line parameters for all of the processes.

Also, the ETW trace that CLUE collects has all of the command line parameters for all of the processes.


Disable tabs in /simulations/{ id } routes

[ ] Disable "Log" tab until status is completed or failed
[ ] Disable "Design chart" tab until status is completed
[ ] Disable "Visualize chart" tab until status is completed

Working on this in #1606


Title of youtube videos just showing as "asdasda" instead of name of the clip

Hey, so i'm pulling 1 clip at a time rather than a compilation, i'm rendering these with my video outro and the file name shows as rendered. When uploading to youtube it always just names it as asdasda, if there any way to make it pull the name of the clip automatically?
Thanks!

Just let the field of TITLE empty in the config file

I have, this is what the config file shows:
" TITLE = ""  # youtube title, leave empty for the first clip's title "
But leaving it empty doesn't fill it with the clip's title it just uploads it as ""asdasda" for all of them

Then maybe the problem is the command ur using for execute the python, are u letting title empty aswell?
if you just execute it like this "python main.py --data "game Just Chatting"
it should put the name of the first clip...

Thanks that worked! I also worked out why it kept pulling it with that title it's beause the clips name was actually asdasda and it kept uploading the same one over and again lol


Compilation fails with v1.2.0

The typescript doesn't compile with the upgrade of trpc-openapi spec, errors out with:
project-name:build: ../../node_modules/@trpc/server/src/error/TRPCError.ts(23,19): error TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'Error'.
project-name:build: ../../node_modules/@trpc/server/src/core/internals/config.ts(19,10): error TS2304: Cannot find name 'window'.
project-name:build: ../../node_modules/@trpc/server/src/core/internals/config.ts(20,13): error TS2304: Cannot find name 'window'.

The Project is having the following dependency versions:
"@trpc/client": "^10.25.1",
"@trpc/server": "^10.25.1",
"trpc-openapi": "^1.2.0",
"zod": "^3.20.2",

tfconfig.json:
{
  "compilerOptions": {
    "rootDir": "src",
    "outDir": "dist",
    "target": "es2022",
    "module": "NodeNext",
    "lib": ["es2022"],
    "moduleResolution": "Node",
    "skipLibCheck": true,
    "esModuleInterop": true,
    "strict": true,
    "noImplicitOverride": true,
    "sourceMap": true,
    "declaration": true,
    "declarationMap": true
  }
}

I have confirmed the project works fine with v1.1.2.

facing same  V1.1.2 is the last stable version for me

Sadly that is also broken for me. Any way to use this with "noImplicitOverride"?

This makes the lib unusable for people using noImplicitOverride = true and fastify, since the fastifyAdapter came with the v1.2.0 release

noImplicitOverride causes first error ("error TS4114: This member must have an 'override' modifier ...")
second error ("") can be fixed by addind "dom" to tsconfig compilerOptions.lib
but I don't want to add "dom" library it in my backend project

I'm also getting errors while compiling. I downgraded to v1.1.2 and am still getting errors. Do anyone have any idea how to fix this?
v1.2.0 and v1.1.2
node_modules/@trpc/server/dist/adapters/aws-lambda/index.d.ts:1:150 - error TS2307: Cannot find module 'aws-lambda' or its corresponding type declarations.

1 import type { APIGatewayProxyEvent, APIGatewayProxyEventV2, APIGatewayProxyResult, APIGatewayProxyStructuredResultV2, Context as APIGWContext } from 'aws-lambda';
                                                                                ~~~~~~~~~~~~

node_modules/@trpc/server/dist/adapters/aws-lambda/utils.d.ts:1:150 - error TS2307: Cannot find module 'aws-lambda' or its corresponding type declarations.

1 import type { APIGatewayProxyEvent, APIGatewayProxyEventV2, APIGatewayProxyResult, APIGatewayProxyStructuredResultV2, Context as APIGWContext } from 'aws-lambda';
                                                                                ~~~~~~~~~~~~

node_modules/h3/dist/index.d.ts:28:100 - error TS2552: Cannot find name 'FetchEvent'. Did you mean 'TouchEvent'?

28 declare class H3Event<_RequestT extends EventHandlerRequest = EventHandlerRequest> implements Pick<FetchEvent, "respondWith"> {
                                                                                ~~~~~~~~~~

  node_modules/typescript/lib/lib.dom.d.ts:22372:13
    22372 declare var TouchEvent: {
                      ~~~~~~~~~~
    'TouchEvent' is declared here.

node_modules/trpc-openapi/dist/adapters/aws-lambda.d.ts:2:46 - error TS2307: Cannot find module 'aws-lambda' or its corresponding type declarations.

2 import type { Context as APIGWContext } from 'aws-lambda';
                                               ~~~~~~~~~~~~

node_modules/trpc-openapi/dist/adapters/fastify.d.ts:2:33 - error TS2307: Cannot find module 'fastify' or its corresponding type declarations.

2 import { FastifyInstance } from 'fastify';
                                  ~~~~~~~~~

node_modules/trpc-openapi/dist/adapters/next.d.ts:1:49 - error TS2307: Cannot find module 'next' or its corresponding type declarations.

1 import { NextApiRequest, NextApiResponse } from 'next';
                                                  ~~~~~~

node_modules/trpc-openapi/dist/adapters/nuxt.d.ts:6:157 - error TS2344: Type 'void' does not satisfy the constraint 'EventHandlerRequest'.

6 export declare const createOpenApiNuxtHandler: <TRouter extends OpenApiRouter>(opts: CreateOpenApiNuxtHandlerOptions<TRouter>) => import("h3").EventHandler<void>;
                                                                                ~~~~

Found 7 errors in 7 files.


The test failed immediately when the test started

The problem
Occasionally WebDriverException occurs when running multiple tests from Eclipse with Junit.
But not happen when running tests one by one.
Details
About 70 tests fail more than half with the following exception:
org.openqa.selenium.WebDriverException: unknown error: cannot determine loading status
from disconnected: received Inspector.detached event
  (Session info: chrome=83.0.4103.97)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'HBDEV14', ip: '<IP_ADDRESS>', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.7'
Driver info: org.openqa.selenium.chrome.ChromeDriver
selenide.url: http://<IP_ADDRESS>/xxx/
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 83.0.4103.97, chrome: {chromedriverVersion: 83.0.4103.39 (ccbf011cb2d2b..., userDataDir: C:\Users\manager\AppData\Lo...}, goog:chromeOptions: {debuggerAddress: localhost:62196}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:virtualAuthenticators: true}
selenide.baseUrl: http://localhost:8080
Session ID: 9098a52da3beb49e97b73c9bbce27832

Tell us about your environment

Selenide Version: 5.12.2
Chrome: 83.0.4103.97（Official Build）
Browser Driver Version:
Selenium Version: 3.141.59
OS Version: Windows10
gradle Version: 6.4.1
JUnit Version: 5.6.2
JUnit Runner: 5

Code To Reproduce Issue [ Good To Have ]
I write the test code in the TestMethod class and inherit it and execute it.
Test method exists up to testChrome70.
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;

import com.codeborne.selenide.Configuration;
import com.codeborne.selenide.Selenide;
import com.codeborne.selenide.WebDriverRunner;

public class TestChrome extends TestMethod {

	@BeforeAll
	public static void beforeAll() {
		Configuration.browser = WebDriverRunner.CHROME;
		Configuration.timeout = 20000;
		Configuration.reportsFolder = "C://test/";
		Configuration.startMaximized = true;
	}
	@Test
	public void testChrome1() {
		 test001();
	}

	@Test
	public void testChrome2() {
		test002();
	}
}

@mymtak Sorry, I cannot reproduce the issue.
Anyway, this problem is not related to Selenide. As I understand, Chrome crashes or something like this. There might be hundreds of possible reasons. I suggest to enable chromedriver log and read it.


Publish mkdocs material to Github Pages

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


Autofailover subpackage

Add a new subpackage cbgt/autofailover which would allow an API similar to the following:
func main() {

  ...

  cfg := ... start a Cfg...

  mgr := cbgt.NewManager(..., cfg, bucketName)

  mgr.Start(...)

  hbOptions := { ...

    HeartBeatTime: ... e.g., every 5 seconds

    StaleHeartBeatTimeout: ... haven't heard a heartBeat update /* 30 secs */

    ...

  }

  ...

  autoFailover := hb.StartAutoFailover(couchbaseURL/auth,

     bucketName, "someKeyPrefix", mgr, hbOptions)

     ==> calls cbheartbeat

  ...

  autoFailover.Stop()

}

where he "heartbeat grunt work" would be factored out (or easily refactorable) into a separate lib.

Hi @tleyden
Just to get on same page, I see it as two subpackages (you might already be thinking the same thing)...

cbheartbeat -- detects that a node is down; I thinking this seems pretty generic, so perhaps can go into someplace like couchbaselabs/cbheartbeat (i.e., it's not really tied to cbgt).

autofailover -- provides one way of handling a "node looks like it's down" event by removing a cbgt node from a cluster.  That's fine, imho, to live in couchbaselabs/cbgt/autofailover

Yep, agreed.  Factored out a new ticket.

Preliminary test results -- it doesn't seem to be moving around the pindexes after calling CfgRemoveNode.  Here are the logs: https://gist.github.com/tleyden/f9d9c86077ba63ba3cb5


add a context menu for running sky app

@devoncarew
start of a framework for launching and managing sky apps.

lgtm! two suggestions


INT-2291 polished failing test

Can you explain the decision to remove the CountDownLatch that was used as a starting gate?

It was not needed. It was always set to 1 and was simply delaying all the execution until start.countDown(); was invoked. Why? I don't know. I remember struggling with making sure that I can track when all the tasks are finished and I believe that in this struggle while trying all kind of different things this code came about, but giving it a fresh look I can't see a reason why its needed. Also, executing failing tests in hundreds of iterations did not produce any error after removing this (yet another sign that it is not needed)

It's a starting gate though. So, when the tasks are submitted to the executor in the code as you have it now, they execute immediately. The purpose of the latch was to submit everything without executing, and then throw the switch to enable execution of all submitted tasks to begin concurrently. The fact that the tests pass with that gone therefore don't necessarily indicate it wasn't needed; in fact, removing that could have reduced the concurrency of executions so that the test is not as strong.

True, but that is not what's been tested in any of those tests. All it tries to validate is that fail-over/loadbalancing happens (or don't based on configuration) regardless how many threads generate the Message which coincidentally also sent to an executor channel.
But I can put it back if you feel like it would make the tests stronger. It passes either way

All of the test methods whose names end in "Concurrent" are intended to test that.
Can you just modify this to provide the minimal change that fixes the intermittent failures? As far as I understand, that simply means resetting the mocks, correct?

Yes

So, can you push that?


[GridGen] button to quickly toggle or remove values

Would be great to apply the same feature of token one-click remove in the grid generator like it is possible to do with lora's for instance

Often find myself editing which sampler or Lora to remove from a long list. Having to highlight and delete, and delete the comma exacerbates the amount of clicks required to setup a grid.
Anyway, maybe not a priority but a happy quality of life improvement

the SKIP: prefix should probably be very easily toggled with mouse

Thanks I hadn't seen it cheers


Create storage account for data

Note that only "StorageV2 (general purpose v2), BlockBlobStorage, and BlobStorage" support firing events into Event Grid, which might be really useful.
Restrict to viewing data only if on VPN (? - may do later)

The storage account (pitestdatastorage) exists and is accessible to the function app. We're skipping the VPN-only access for now, developers will need to add their IP address to an allow list manually instead.


Hiding hr tags in textfield from screen readers

How to add aria-hidden to the hr tags generated with textfield?

It is currently not possible, you can determine this very easily by looking at the source code of the repository.
TextFieldUnderline.js#L113
  return (

  );

Maybe a maintainer can comment about whether or not a pull request for such a feature would be considered?

Aria hidden could be added by default, this is merely an aesthetic element.
As it is now, it's read by the screen reader while they are navigating through the page.

We'd merge a PR for that.


Throw the MessageUpdateEvent/GuildMessageUpdateEvent when a message is being crossposted

Feature Request
Throw the MessageUpdateEvent/GuildMessageUpdateEvent when a message is being crossposted
Example Use-Case
Bots can only edit crossposted messages 3 times every hour. If an event would be thrown when a message gets crossposted, you could stop the message from auto-updating. An example would be a giveaway bot that updates its message every X seconds/minutes.

#1337

You can use RawGatewayEvent for this. We can't fire an event since discord doesn't give us enough information to fire one.

@MinnDevelopment The Message Flags has a CROSSPOSTED flag for detecting when a message has been crossposted. Does Discord not throw out a Message Update event when this flag gets set?

Even if it did, that event would only tell you the update state of the message, not what has changed. So an event could only provide an updated message instance, we can't make an event that only triggers for crossposts.


move config into package.json

@mehcode  here is some changes for https://github.com/mehcode/atom-project-plus/issues/34

:+1:


Add message layout rationale

Rendered: https://github.com/lazyledger/lazyledger-specs/blob/adlerjohn-message_layout_rationale/rationale/message_block_layout.md

Alternative possible strategy: allow messages to be packed tightly, and if they span multiple subtrees, then block producers would simply provide Merkle proofs for those shares spanning the multiple subtrees. It would make Merkle proofs of the shares slightly bigger, but wouldn't waste as much block space

As of the latest commit, the rules for message layout were made optional (i.e. non-consensus-critical). They are instead default rules that wallets can use to allow transaction senders to compute a commitment to a message non-interactively. Block producers can now tightly pack messages of arbitrary length if they want to.


[Duplicate #7138]How to employ brotli compression method

Formatting and structure checks

[X] Have you used the correct folder and file structure?
[X] Is your article properly formatted in Markdown?
[X] Have you used our preferred heading structure?
[X] Does your article follow any of the suggested structure formats?
[X] Is your article over 750 words? Wordcounter.net
[X] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.
[X] Does your article provide enough value and detail about your topic?
[X] Can your article be understood by beginners?
[X] Have you included a hero image that is 600x400 pixels, under 300KB in size, and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[X] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[X] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit.
[X] Have you checked your article for readability? Hemmingway
[ ] Have you added sources for quotes and images that aren't yours?

Technical checks

[X] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[X] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[X] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes
This closes #7138

@srishilesh made  all the requested changes from previous PR

@Newton-cyber
Please be sure you have proofread the entire article as peer reviewers do not (and can not) point out every issue.
If this PR has any other errors - we will be closing it immediately
👍

@srishilesh as a matter of fact this PR has been closed multiple time - we should not be working on it.

cc @Newton-cyber

cc @srishilesh Happy to recosider if you think otherwise


feature request - highlight instance of same var when over one of them

Sometimes queries are long and variable names are similar and it is easy to make a mistake. However if you can at a glance see all the places you used the same variable it becomes much easier to detect such mistakes.
I'd suggest a very pale background color on the other instances of the variable use.

I like it, will include it in a few days

added it anyway. new version of yasgui (online in a few minutes) will have the highlighting feature as well

Cool :)
Minor glitch - vars with same initial substring get hilited too

Oops, I'll take a look

This looks good:
.matchingVar {background-color:#FFCCCC!important; border-radius: 6px;transition: background 1s linear;}
Less likely to flash as you casually move the mouse over text.

I've fixed the variable string matching, and modified to css much like your example


[OSX] Hardcoded CoreFoundation path in aws-c-common-targets.cmake

I don't have Xcode installed locally, only command line tools, so the linker cannot locate CoreFoundation:
set_target_properties(AWS::aws-c-common PROPERTIES
  INTERFACE_COMPILE_DEFINITIONS "AWS_COMMON_USE_IMPORT_EXPORT"
  INTERFACE_COMPILE_OPTIONS "-pthread"
  INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
  INTERFACE_LINK_LIBRARIES "-pthread;pthread;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework"
)

A temporary solution is overriding it.
What platform/OS are you using?
OSX Mojave
Which version of the SDK?
Installed by home-brew:
aws-sdk-cpp: stable 1.7.180 (bottled), HEAD
AWS SDK for C++
https://github.com/aws/aws-sdk-cpp
/usr/local/Cellar/aws-sdk-cpp/1.7.180 (22,152 files, 426.2MB)
  Poured from bottle on 2019-09-18 at 15:36:12
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/aws-sdk-cpp.rb

Original issue: https://github.com/aws/aws-sdk-cpp/issues/1245

Hey quick question, in aws-c-common’s cmake config file, could you add a find_dependency call to CoreFoundation, and see if your consumer re-resolves at link time?
Sent from my iPhone

On Sep 27, 2019, at 8:15 AM, Krisztián Szűcs<EMAIL_ADDRESS>wrote:
I don't have Xcode installed locally, only command line tools, so the linker cannot locate CoreFoundation:
set_target_properties(AWS::aws-c-common PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "AWS_COMMON_USE_IMPORT_EXPORT"
INTERFACE_COMPILE_OPTIONS "-pthread"
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
INTERFACE_LINK_LIBRARIES "-pthread;pthread;/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreFoundation.framework"
)
A temporary solution is overriding it.
What platform/OS are you using?
OSX Mojave
Which version of the SDK?
Installed by home-brew:
aws-sdk-cpp: stable 1.7.180 (bottled), HEAD
AWS SDK for C++
https://github.com/aws/aws-sdk-cpp
/usr/local/Cellar/aws-sdk-cpp/1.7.180 (22,152 files, 426.2MB)
Poured from bottle on 2019-09-18 at 15:36:12
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/aws-sdk-cpp.rb
Original issue: aws/aws-sdk-cpp#1245
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hey Jonathan, just saw your response. I'll try to check it in the upcoming days.

Make a PR to fix this: https://github.com/awslabs/aws-c-common/pull/700


Plugin broken with rabbitmq >= 3.6.7

I packaged this plugin as a part of my custom RabbitMQ docker image, which is based on the official rabbitmq:3.6 image.
Until today, the plugin worked (RabbitMQ version was 3.6.6). I rebuilt the image today, RabbitMQ was upgraded to version 3.6.8, and this plugin does not work anymore. When I curl the /api/metrics route on the management port I get 404 error. As a workaround, I rebuilt my image using rabbitmq:3.6.6 as the base, but I still want to report the issue to get it fixed.
Here are the list of the plugins installed in my image:
=INFO REPORT==== 24-Mar-2017::17:15:37 ===
Server startup complete; 11 plugins started.
 * prometheus_rabbitmq_exporter
 * rabbitmq_management
 * rabbitmq_web_dispatch
 * autocluster
 * rabbitmq_delayed_message_exchange
 * rabbitmq_management_agent
 * prometheus_process_collector
 * amqp_client
 * cowboy
 * cowlib
 * prometheus
=INFO REPORT==== 24-Mar-2017::17:17:18 ===

Yes, looks like they finally moved to cowboy, will release update soon. Thanks for the report.
Btw there is prometheus_httpd - zero deps /metric endpoint. Maybe you can consider it in the meantime.

https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/tag/rabbitmq-<IP_ADDRESS>

Hello @deadtrickster . Thank you very much for the new release, it seems to work.
Just a small detail to report, when I curl the /api/metrics route, I get a nasty stack trace in the RabbitMQ log and the content is served to stdout gzipped (but curl does not uncompress it; after all, I did not request Accept-Encoding: gzip).
If I query with curl --compressed or with wget (without specifying any Accept-Encoding) the page is decompressed.
 wget --no-proxy -qO- http://rabbitmq-myproject.<IP_ADDRESS>.xip.io/api/metrics # works
 curl --noproxy \*  http://rabbitmq-myproject.<IP_ADDRESS>.xip.io/api/metrics # gzipped output sent, not decompressed by curl, stacktrace in the log
curl --compressed --noproxy \*  http://rabbitmq-myproject.<IP_ADDRESS>.xip.io/api/metrics # works

I suspect that the metric contents is sent gzipped to the http client, regardless of the presence of the Accept-Encoding header in the request.

Hey, could you please give me your stack trace?

Hello, actually, there is stack trace in both wget and curl case. In both cases a gzipped output is produced, but RabbitMQ outputs ugly stack traces.
I packaged RabbitMQ using Docker.
Assuming a directory with the following content in Dockerfile:
FROM rabbitmq:3.6.8

# rabbitmq-management
RUN rabbitmq-plugins enable --offline rabbitmq_management
EXPOSE 15671 15672

# prometheus exporter plugin
ADD ["https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/download/rabbitmq-<IP_ADDRESS>/accept-0.3.0.ez", \
     "https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/download/rabbitmq-<IP_ADDRESS>/prometheus-3.2.2.ez", \
     "https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/download/rabbitmq-<IP_ADDRESS>/prometheus_httpd-1.1.0.ez", \
     "https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/download/rabbitmq-<IP_ADDRESS>/prometheus_process_collector-1.0.2.ez", \
     "https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/download/rabbitmq-<IP_ADDRESS>/prometheus_rabbitmq_exporter-v<IP_ADDRESS>.ez", \
     "/usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/"]
RUN chmod a+r /usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/prometheus*.ez /usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/accept*.ez \
    && rabbitmq-plugins enable --offline prometheus_rabbitmq_exporter prometheus_process_collector prometheus_httpd \
    && chmod -R 777 /etc/rabbitmq

I build the docker image and then ran it like this:
docker build -t dev-rabbitmq .
docker run --rm -ti -p 15672:15672 dev-rabbitmq

Stacktrace for wget (produced by running wget -qO- http://localhost:15672/api/metrics):
=ERROR REPORT==== 27-Mar-2017::11:41:35 ===
Error in process <0.589.0> on node rabbit@a696e7b01682 with exit value:
{[{reason,undef},
  {mfa,{prometheus_rabbitmq_exporter_handler,terminate,3}},
  {stacktrace,
      [{prometheus_rabbitmq_exporter_handler,terminate,
           [{normal,shutdown},
            {http_req,#Port<0.26381>,ranch_tcp,keepalive,<0.589.0>,<<"GET">>,
                'HTTP/1.1',
                {{172,17,42,1},55076},
                <<"localhost">>,undefined,15672,<<"/api/metrics">>,undefined,
                <<>>,[],[],
                [{<<"user-agent">>,<<"Wget/1.17.1 (linux-gnu)">>},
                 {<<"accept">>,<<"*/*">>},
                 {<<"accept-encoding">>,<<"identity">>},
                 {<<"host">>,<<"localhost:15672">>},
                 {<<"connection">>,<<"Keep-Alive">>}],
                [{<<"connection">>,[<<"keep-alive">>]}],
                undefined,[],waiting,<<>>,undefined,true,locked,[],<<>>,
                already_called},
            undefined],
           []},
       {cowboy_handler,handler_terminate,4,
           [{file,"src/cowboy_handler.erl"},{line,285}]},
       {cowboy_handler,terminate_request,5,
           [{file,"src/cowboy_handler.erl"},{line,273}]},
       {cowboy_protocol,execute,4,
           [{file,"src/cowboy_protocol.erl"},{line,442}]}]},
  {req,
      [{socket,#Port<0.26381>},
       {transport,ranch_tcp},
       {connection,keepalive},
       {pid,<0.589.0>},
       {method,<<"GET">>},
       {version,'HTTP/1.1'},
       {peer,{{172,17,42,1},55076}},
       {host,<<"localhost">>},
       {host_info,undefined},
       {port,15672},
       {path,<<"/api/metrics">>},
       {path_info,undefined},
       {qs,<<>>},
       {qs_vals,[]},
       {bindings,[]},
       {headers,
           [{<<"user-agent">>,<<"Wget/1.17.1 (linux-gnu)">>},
            {<<"accept">>,<<"*/*">>},
            {<<"accept-encoding">>,<<"identity">>},
            {<<"host">>,<<"localhost:15672">>},
            {<<"connection">>,<<"Keep-Alive">>}]},
       {p_headers,[{<<"connection">>,[<<"keep-alive">>]}]},
       {cookies,undefined},
       {meta,[]},
       {body_state,waiting},
       {buffer,<<>>},
       {multipart,undefined},
       {resp_compress,true},
       {resp_state,done},
       {resp_headers,[]},
       {resp_body,<<>>},
       {onresponse,already_called}]},
  {state,undefined},
  {terminate_reason,{normal,shutdown}}],
 [{cowboy_handler,handler_terminate,4,
      [{file,"src/cowboy_handler.erl"},{line,287}]},
  {cowboy_handler,terminate_request,5,
      [{file,"src/cowboy_handler.erl"},{line,273}]},
  {cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,442}]}]}

=ERROR REPORT==== 27-Mar-2017::11:41:35 ===
Ranch listener rabbit_web_dispatch_sup_15672 had connection process started with cowboy_protocol:start_link/4 at <0.589.0> exit with reason: {[{reason,undef},{mfa,{prometheus_rabbitmq_exporter_handler,terminate,3}},{stacktrace,[{prometheus_rabbitmq_exporter_handler,terminate,[{normal,shutdown},{http_req,#Port<0.26381>,ranch_tcp,keepalive,<0.589.0>,<<"GET">>,'HTTP/1.1',{{172,17,42,1},55076},<<"localhost">>,undefined,15672,<<"/api/metrics">>,undefined,<<>>,[],[],[{<<"user-agent">>,<<"Wget/1.17.1 (linux-gnu)">>},{<<"accept">>,<<"*/*">>},{<<"accept-encoding">>,<<"identity">>},{<<"host">>,<<"localhost:15672">>},{<<"connection">>,<<"Keep-Alive">>}],[{<<"connection">>,[<<"keep-alive">>]}],undefined,[],waiting,<<>>,undefined,true,locked,[],<<>>,already_called},undefined],[]},{cowboy_handler,handler_terminate,4,[{file,"src/cowboy_handler.erl"},{line,285}]},{cowboy_handler,terminate_request,5,[{file,"src/cowboy_handler.erl"},{line,273}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,442}]}]},{req,[{socket,#Port<0.26381>},{transport,ranch_tcp},{connection,keepalive},{pid,<0.589.0>},{method,<<"GET">>},{version,'HTTP/1.1'},{peer,{{172,17,42,1},55076}},{host,<<"localhost">>},{host_info,undefined},{port,15672},{path,<<"/api/metrics">>},{path_info,undefined},{qs,<<>>},{qs_vals,[]},{bindings,[]},{headers,[{<<"user-agent">>,<<"Wget/1.17.1 (linux-gnu)">>},{<<"accept">>,<<"*/*">>},{<<"accept-encoding">>,<<"identity">>},{<<"host">>,<<"localhost:15672">>},{<<"connection">>,<<"Keep-Alive">>}]},{p_headers,[{<<"connection">>,[<<"keep-alive">>]}]},{cookies,undefined},{meta,[]},{body_state,waiting},{buffer,<<>>},{multipart,undefined},{resp_compress,true},{resp_state,done},{resp_headers,[]},{resp_body,<<>>},{onresponse,already_called}]},{state,undefined},{terminate_reason,{normal,shutdown}}],[{cowboy_handler,handler_terminate,4,[{file,"src/cowboy_handler.erl"},{line,287}]},{cowboy_handler,terminate_request,5,[{file,"src/cowboy_handler.erl"},{line,273}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,442}]}]}

Stacktrace for curl (produced by running curl http://localhost:15672/api/metrics; no --compress option so output on stdout is gzipped despite of no "Accept-Encoding: gzip" being specified):
=ERROR REPORT==== 27-Mar-2017::11:41:54 ===
Error in process <0.600.0> on node rabbit@a696e7b01682 with exit value:
{[{reason,undef},
  {mfa,{prometheus_rabbitmq_exporter_handler,terminate,3}},
  {stacktrace,
      [{prometheus_rabbitmq_exporter_handler,terminate,
           [{normal,shutdown},
            {http_req,#Port<0.26396>,ranch_tcp,keepalive,<0.600.0>,<<"GET">>,
                'HTTP/1.1',
                {{172,17,42,1},55128},
                <<"localhost">>,undefined,15672,<<"/api/metrics">>,undefined,
                <<>>,[],[],
                [{<<"host">>,<<"localhost:15672">>},
                 {<<"user-agent">>,<<"curl/7.47.0">>},
                 {<<"accept">>,<<"*/*">>}],
                [],undefined,[],waiting,<<>>,undefined,true,locked,[],<<>>,
                already_called},
            undefined],
           []},
       {cowboy_handler,handler_terminate,4,
           [{file,"src/cowboy_handler.erl"},{line,285}]},
       {cowboy_handler,terminate_request,5,
           [{file,"src/cowboy_handler.erl"},{line,273}]},
       {cowboy_protocol,execute,4,
           [{file,"src/cowboy_protocol.erl"},{line,442}]}]},
  {req,
      [{socket,#Port<0.26396>},
       {transport,ranch_tcp},
       {connection,keepalive},
       {pid,<0.600.0>},
       {method,<<"GET">>},
       {version,'HTTP/1.1'},
       {peer,{{172,17,42,1},55128}},
       {host,<<"localhost">>},
       {host_info,undefined},
       {port,15672},
       {path,<<"/api/metrics">>},
       {path_info,undefined},
       {qs,<<>>},
       {qs_vals,[]},
       {bindings,[]},
       {headers,
           [{<<"host">>,<<"localhost:15672">>},
            {<<"user-agent">>,<<"curl/7.47.0">>},
            {<<"accept">>,<<"*/*">>}]},
       {p_headers,[]},
       {cookies,undefined},
       {meta,[]},
       {body_state,waiting},
       {buffer,<<>>},
       {multipart,undefined},
       {resp_compress,true},
       {resp_state,done},
       {resp_headers,[]},
       {resp_body,<<>>},
       {onresponse,already_called}]},
  {state,undefined},
  {terminate_reason,{normal,shutdown}}],
 [{cowboy_handler,handler_terminate,4,
      [{file,"src/cowboy_handler.erl"},{line,287}]},
  {cowboy_handler,terminate_request,5,
      [{file,"src/cowboy_handler.erl"},{line,273}]},
  {cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,442}]}]}

=ERROR REPORT==== 27-Mar-2017::11:41:54 ===
Ranch listener rabbit_web_dispatch_sup_15672 had connection process started with cowboy_protocol:start_link/4 at <0.600.0> exit with reason: {[{reason,undef},{mfa,{prometheus_rabbitmq_exporter_handler,terminate,3}},{stacktrace,[{prometheus_rabbitmq_exporter_handler,terminate,[{normal,shutdown},{http_req,#Port<0.26396>,ranch_tcp,keepalive,<0.600.0>,<<"GET">>,'HTTP/1.1',{{172,17,42,1},55128},<<"localhost">>,undefined,15672,<<"/api/metrics">>,undefined,<<>>,[],[],[{<<"host">>,<<"localhost:15672">>},{<<"user-agent">>,<<"curl/7.47.0">>},{<<"accept">>,<<"*/*">>}],[],undefined,[],waiting,<<>>,undefined,true,locked,[],<<>>,already_called},undefined],[]},{cowboy_handler,handler_terminate,4,[{file,"src/cowboy_handler.erl"},{line,285}]},{cowboy_handler,terminate_request,5,[{file,"src/cowboy_handler.erl"},{line,273}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,442}]}]},{req,[{socket,#Port<0.26396>},{transport,ranch_tcp},{connection,keepalive},{pid,<0.600.0>},{method,<<"GET">>},{version,'HTTP/1.1'},{peer,{{172,17,42,1},55128}},{host,<<"localhost">>},{host_info,undefined},{port,15672},{path,<<"/api/metrics">>},{path_info,undefined},{qs,<<>>},{qs_vals,[]},{bindings,[]},{headers,[{<<"host">>,<<"localhost:15672">>},{<<"user-agent">>,<<"curl/7.47.0">>},{<<"accept">>,<<"*/*">>}]},{p_headers,[]},{cookies,undefined},{meta,[]},{body_state,waiting},{buffer,<<>>},{multipart,undefined},{resp_compress,true},{resp_state,done},{resp_headers,[]},{resp_body,<<>>},{onresponse,already_called}]},{state,undefined},{terminate_reason,{normal,shutdown}}],[{cowboy_handler,handler_terminate,4,[{file,"src/cowboy_handler.erl"},{line,287}]},{cowboy_handler,terminate_request,5,[{file,"src/cowboy_handler.erl"},{line,273}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,442}]}]}

Hi, thank you for a very detailed reply.
This issue uncovered two things:
Default content encoding
Here is excerpt from RFC:
A request without an Accept-Encoding header field implies that the
   user agent has no preferences regarding content-codings.  Although
   this allows the server to use any content-coding in a response, it
   does not imply that the user agent will be able to correctly process
   all encodings.

Curl, etc doesn't send Accept-Encoding at all!
So although default gzip is conforming, I changed to identity.
####Missing Cowboy handler callback
This is a bug that caused lengthy stack-traces. Fixed.
Release: https://github.com/deadtrickster/prometheus_rabbitmq_exporter/releases/tag/rabbitmq-<IP_ADDRESS>
Also, regarding docker, do you mind if I'll use your docker file to publish "official" rabbitmq+prometheus containers?

You are welcome to use my Docker file as example for this project. Thank you for the fixes, I will try them tomorrow and will report here.

Thank you very much, I tested the new release and there is no more ugly stacktraces in the rabbitmq log.


WebView: support attribute allowsLinkPreview  for iOS

In my case, I need to handle long click. But in iOS, when long click will show preview link popup

Hello @cuongloveit ,
Could you please post the output of flutter doctor -v, a detailed use case and proposal?
Thank you!

Longpressing on webview shows preview link popup as below:


When will there be support for rails <IP_ADDRESS>?

Thanks

@mices you're welcome to submit a PR.

Addressed here: https://github.com/sungwoncho/has_friendship/pull/78


Exposed the PageChangeListener in the PageIndicator

This is the solutions indicated by @devflow in #42

Actually there is a better solution on #42. Cause let user involk PagerIndicator.setOnPageChangeListener will make them not easy to understand what they are doing.
I think we can overide ViewPagerEx.setOnPageChangeListenrer , using an ArrayList to save all the listener, and call it sequentially .

Sounds like a good idea. Thanks for looking into this.

Any interesting to be a collaborator of this project?

I just recently switched to Android Studio and Gradle and I've never worked on a stand-alone library like this so I probably wouldn't be much help, but thanks for asking.
I will spend some more time with this library and if I feel more comfortable I'll contact you.

@massimobio Great! Feel free to contact me when you are ready!

Could you point me to some documents or tutorials specifically for working with these kinds of libraries? I wasn't even able to get the demo app to compile correctly. I had to manually pull out the classes and drop them into my project. Gradle is great for using open source projects, but I'm still at a loss about how things work behind then scenes. I'm eager to learn so I can contribute.

You can check this video to learn how to import GitHub project into Android Studio.
https://teamtreehouse.com/library/android-tools/git/pulling-down-github-projects-to-android-studio
Check this to learn how to make custom view.

http://www.vogella.com/tutorials/AndroidCustomViews/article.html
http://developer.android.com/training/custom-views/index.html

Check this to learn how to working with GitHub collaborators (Git workflow):

https://www.atlassian.com/git/tutorials/comparing-workflows/centralized-workflow

:-D Any problem or question feel free to comment here.

Wonderful. Thank you very much.

Hi, I added an ArrayList of listeners in the ViewPagerEx and it works, but there is an issue with the position number coming form the infinite view pager being a big number that needs to be converted to the correct position like you did in PageIndicator:
int n = position % mItemCount;
I wouldn't want the user to have to do this, as he would expect a number between 0 and number of views, but I wasn't able to find out the number of slider views in the ViewPagerEx
mAdapter.getCount() does not return the number of items
mExpectedAdapterCount also is some large number
Any suggestions?

This may help you, check it.
https://github.com/daimajia/AndroidImageSlider/blob/8c2e9c7c54b7255c40ca7c8f3ade7ff7026a1945/library/src/main/java/com/daimajia/slider/library/Tricks/InfinitePagerAdapter.java#L40-L42


Memory Leak in JPEG encoder

The packed_header_buffer at
https://github.com/01org/libyami/blob/0412d64f1c8468a87eff5c88c45d7fc061ee5e3a/encoder/vaapiencoder_jpeg.cpp#L458 is not free'd after it has been added to the picture and results in a memory leak.  The picture passes this buffer to vaCreateBuffer() where it gets copied and therefore should be deleted afterwards by the encoder.

Hi @uartie
Is this fixed in Apache branch?

yes, this is fixed in apache branch.


Use ClimaComms at-elapsed

This PR switches to using the ClimaComms.@elapsed (which behaves the same as the replaced code)

bors r+


build warning: WARNING: XML failed validation against built-in DTD

For a little while I get these warnings:
[   83s] [ 76%] Generating xdg-shell-client-protocol.h
[   83s] Scanning dependencies of target audin-client
[   83s] %3Cstdin%3E:342: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
[   83s] %3Cstdin%3E:346: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
[   83s] %3Cstdin%3E:350: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
[   83s] %3Cstdin%3E:356: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
[   83s] *******************************************************
[   83s] *                                                     *
[   83s] * WARNING: XML failed validation against built-in DTD *
[   83s] *                                                     *
[   83s] *******************************************************
[   83s] Scanning dependencies of target audin-client-oss
[   83s] [ 76%] Generating xdg-shell-protocol.c
[   83s] [ 76%] Building C object channels/audin/client/CMakeFiles/audin-client.dir/audin_main.c.o
[   83s] Scanning dependencies of target rdtk
[   83s] %3Cstdin%3E:342: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
[   83s] %3Cstdin%3E:346: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
[   83s] %3Cstdin%3E:350: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
[   83s] %3Cstdin%3E:356: element entry: validity error : Element entry content does not follow the DTD, expecting (description)?, got (CDATA)
[   83s] *******************************************************
[   83s] *                                                     *
[   83s] * WARNING: XML failed validation against built-in DTD *
[   83s] *                                                     *
[   83s] *******************************************************
[   83s] [ 77%] Building C object channels/audin/client/oss/CMakeFiles/audin-client-oss.dir/audin_oss.c.o
I'm not sure, what this means. Otherwise the build completes and the version works for my use cases.

could you give some details to your os and cmake configuration? pretty hard to guess without these details what could be wrong ;)

I use SUSE's Open Build Service to build freerdp for different openSUSE versions and Arch Linux. I checked all build logs and these warnings occur only on openSUSE Tumbleweed. No other versions are affected.
For the configuration I attached my spec file.
freerdp.spec.zip

@hendwolt can you provide the link to obs project page?

@hendwolt the reported error is related to wayland. I'd assume when the protocol is "compiled".
@hardening any ideas?

The project page:
https://build.opensuse.org/package/show/home:hendwolt/freerdp

"Somewhere on the internet" I found a wayland.dtd and found errors in xdg-shell.xml.
xdg_shell_xml.patch.zip

fixed with #3408


CMake Error "does not appear to contain CMakeLists.txt"

FYI:
Whilst executing ./kinesis-video-native-build/install-script I got the following error CMake Error: The source directory "/Users/Gavin/repos/thirdparty/amazon-kinesis-video-streams-producer-sdk-cpp" does not appear to contain CMakeLists.txt.. To resolve I moved CMakeLists.txt from kinesis-video-native-build to root of repo. Updated the src paths in CMakeLists.txt to match new locations and reran the command to resolve the issue.

I am wondering whether you executed ./install-script from within the kinesis-video-native-build directory?

No I executed it from the repo root. That's probably why it couldn't locate CMakeLists.txt.

I'm having this issues on my rpi while following the tutorial at
https://s3-us-west-2.amazonaws.com/kinesis-video-streaming/kinesis-video-raspberry-pi-getting-started.pdf

Hi enusbaum,
Please change directory to kinesis-video-native-build and run install-script from there.
cd kinesis-video-native-build; ./install-script
We will also fix that on installation guide soon.
Thanks,
-ZH

Apologies again. Please feel free to reach out for any question no matter how small or obvious those are.

Guide is still not updated... what's the deal?

$ cd kinesis-video-native-build; ./min-install-script
bash: cd: kinesis-video-native-build: No such file or directory
./min-install-script: line 15: /home/Hussam: No such file or directory
this is the error raising while Building the Kinesis Video Streams Producer SDK using min-install-script.. Anyone please help me out!

@hussamsayeed you need to navigate to the SDK directory in the terminal and then navigate down to the native build directory by calling cd kinesis-video-native-build

I already did that.[can see in Screenshot]

Your user name contains space. The script was not able to handle the path, can you replace $KINESIS_VIDEO_ROOT with "$KINESIS_VIDEO_ROOT" in these two places and retry?
https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/kinesis-video-native-build/min-install-script#L15
https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/kinesis-video-native-build/min-install-script#L206

Should I replace that code with the code which is there in those links?

Hussam Sayeed@DESKTOP-6TJVREH MINGW64 ~/amazon-kinesis-video-streams-producer-sdk-cpp/kinesis-video-native-build
$ ./min-install-script
Setting up for KVS Producer SDK installation
Current working path cannot have space in it !

Hi @hussamsayeed ,
Seems mingw doesn't support space in the path. Can you either try to install your mingw into directory which contains no space in the path or use the short (8.3) name as mentioned here?
You can do export KINESIS_VIDEO_ROOT="/Your/Updated/Path" and rerun the min-install-script.

I changed the path and it works. thank you for the support @zhiyua-git

but the problem is segmentation failed[attached].
I followed the this documentation [https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/install-instructions-windows-msys2.md]
Can anyone please help me out!

@hussamsayeed , you need to put in your actual AccessKey/SecretKey in
export AWS_ACCESS_KEY_ID=YOUR_ACCESS_KEY
export AWS_SECRET_ACCESS_KEY=YOUR_SECRET_ACCESS_KEY
to run it.
Also make sure you have configured proper Kinesis Video Streams permission for the role of AccessKey/SecretKey you are going to use. It can be as simple as adding AmazonKinesisVideoStreamsFullAccess policy to your role. https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/how-iam.html

@zhiyua-git thank you so much for the suppport!
yeah i gave the actual access keys and also configured the permisiions.. still the same error!!!!!

@hussamsayeed  Can you provide the log for the failure? Thanks.

@zhiyua-git Yeah.. attached the log for the failure.

@hussamsayeed , what command did you run? Sample app or gstreamer plugin kvs-sink? Can you provide log with export GST_DEBUG=4? Thanks.

@zhiyua-git I'm following this document [https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/install-instructions-windows-msys2.md]
So when running the sample app im getting the error.[gst-launch-1.0 ksvideosrc ! video/x-raw,width=640,height=480,framerate=30/1 ! videoconvert ! x264enc bframes=0 key-int-max=45 bitrate=512 tune=zerolatency ! video/x-h264,profile=baseline,stream-format=avc,alignment=au ! kvssink stream-name=stream-name access-key=YOUR_ACCESS_KEY secret-key=YOUR_SECRET_ACCESS_KEY_ID
] even after i've changed with my aws keys.

@hussamsayeed,  Can you provide log with export GST_DEBUG=4? Thanks.

@zhiyua-git [attached

]

can you copy libcproducer.dll and libproducer.dll to C:\msys64\mingw64\bin and copy libgstkvssink.dll to C:\msys64\mingw64\lib\gstreamer-1.0 and make sure you are not exporting GST_PLUGIN_PATH. Then try your pipeline again.

Thank you so much @zhiyua-git  @chehefen  for the support. I got the output in the kinesis streams!!


Add missing Active Hazard Zone to South Clatsop Area

Meg detected a missing polygon from the South Clatsop study, so we need to add it back in. This will flip some areas from "surrounded by" to "impacted by" status.

Added and closing.


translate Specifics/ecto.md to portuguese - issue #123

@psantos10 Nice contribution, just reviewed everything. Don't hesitate to contact me if you need any help. I can speak Portuguese, English and a little bit of spanish, so let me know.

@pragmaticivan  thank for your support. Helped me a lot.

@psantos10 o/

@psantos10 let me know when you finish. We need to squash your commits.

@pragmaticivan  I left a comment about usage of secção instead of seção. My sugestion is to stay with secção since it is accept in Brazil and Portugal. seção it is only accpted in Brazil.

@psantos10 cool :D It's fine for me.

Good. I think that I am done. More and better translations will come tomorrow :)

Solid contribution! Thanks @psantos10 o/ Now you just need to squash your commits in one. Do you know how to do that? I can help you if you don't know how to do that.

@pragmaticivan done. did not know the squash commits before.

@psantos10 do you have a Twitter handle?  When I announce these lessons I'd like to give you and @pragmaticivan credit for the help :grinning:

We're ready to merge this one.

:boom:
Thanks again @psantos10 & @pragmaticivan for your help.

@doomspork my Twitter handle is: @psantos_ao :)

Thanks @psantos10, your help is greatly appreciated :grinning:


Fixed SQL injections with ORDER BY and GROUP BY.

This PR is a quick way to solve two found SQL injections.
More tests should be written to test for other possible injections ASAP.

@jinzhu

Alright this doesn't work. Looking at other ways to fix this.

@jinzhu Fixed tests. Now passing.

Discovered by @eazynow

Hi @RichardKnop
Thank you for your PR. but Order, Group can't do it like this, as it is supposed to be possible using with sql expression.
I think for your application, it is better to doesn't accept user's input as argument for those two methods, when use those inputs, you have to verify it.


Collection "MPEG Flow_1"

What I have to change or do next, in order to add my collection "mpeg-flow-1"? What's wrong? Thank you for our answer


Nested rules order mess up

I'm trying to use the nest features in cssnext, but the below style
.happy {
    & 1 {
        position: relative;
    }
    & 2 {
        position: relative;
    }
}

will produce the following result:
.happy 2 {
    position: relative;
}
.happy 1 {
    position: relative;
}

The order is reversed. Is there any suggestions? Thanks.

Indeed that's weird. Should be an issue for https://github.com/jonathantneal/postcss-nesting poke @jonathantneal

Yes, I am resolving the non-@nest version of nesting. It only happens when you do not include @nest.

This has been resolved in v2.2.0.

Ok cool!
So people affected by this bug, just uninstall and reinstall postcss-cssnext to fix the issue.


Support for arrays of arrays

Describe the bug
I tried using zod matter on a markdown which includes an array of arrays. I already acknowledge it is an extreme case, yet I think:

If arrays of arrays must not supported by design, by zod-matter, then the error message should clearly state that: for the motment, zod-matter throws an error, stating that an array was expected, but an object was received. Which is not true, it is inded an array which was received, as expected
If arrays of arrays must be supported by zod-matter, then we have here an actual bug.

To Reproduce
So here is the code to reproduce the issue:

const someMarkdown = `---\n
author: HiDeoo\n
andSomethingLikeThat:\n
  firstname: Jean-Baptiste\n
  lastname: Lasselle\n
  one: true\n
  two: 12\n
  three: false\n
  example1Categories: \n
    - design\n
    - terraform\n
    - plugin\n
  example2Categories: \n
    - first:\n
        - joe\n
        - alfred\n
        - alvin\n
    - second:\n
        - thirteen\n
        - hundred\n
        - books\n
    - third:\n
        - going\n
        - overseas\n
        - together\n
---\n
# Hello HiDeoo!
`

const exampleZodSchema1 = z.object({
  author: authorValue,
  andSomethingLikeThat: z.object({
    firstname: z.string(),
    lastname: z.string(),
    one: z.boolean(),//true
    two: z.number(),//12
    three: z.boolean(),//false
    example1Categories: z.array(z.string()),
    // example2Categories: z.array(z.array(z.string())).optional()
  })
})

const exampleZodSchema2 = z.object({
  author: authorValue,
  andSomethingLikeThat: z.object({
    firstname: z.string(),
    lastname: z.string(),
    one: z.boolean(),//true
    two: z.number(),//12
    three: z.boolean(),//false
    example1Categories: z.array(z.string()),
    example2Categories: z.array(z.array(z.string())).optional()
  })
})

const extractedFrontmatter1 = Test1.runTest1(someMarkdown, exampleZodSchema1)
const extractedFrontmatter2 = Test1.runTest1(someMarkdown, exampleZodSchema2)

/**
 * The first will work without error, because it does not try to parse the "example2Categories" array of arrays
 **/
console.log(` Final result : extractedFrontmatter1 =[${extractedFrontmatter1}]`)

/**
 * The second will throw an error, because it does try to parse the "example2Categories" array of arrays
 **/
console.log(` Final result : extractedFrontmatter2 =[${extractedFrontmatter2}]`)

The output of the error:

ZodError: [
  {
    "code": "invalid_type",
    "expected": "array",
    "received": "object",
    "path": [
      "andSomethingLikeThat",
      "example2Categories",
      0
    ],
    "message": "Expected array, received object"
  },
  {
    "code": "invalid_type",
    "expected": "array",
    "received": "object",
    "path": [
      "andSomethingLikeThat",
      "example2Categories",
      1
    ],
    "message": "Expected array, received object"
  },
  {
    "code": "invalid_type",
    "expected": "array",
    "received": "object",
    "path": [
      "andSomethingLikeThat",
      "example2Categories",
      2
    ],
    "message": "Expected array, received object"
  }
]
    at get error [as error] (...\node_modules\.pnpm\zod@3.23.8\node_modules\zod\lib\types.js:55:31)
    at ZodObject.parse (...\node_modules\.pnpm\zod@3.23.8\node_modules\zod\lib\types.js:160:22)
    at parseFrontMatter (...\node_modules\.pnpm\zod-matter@0.1.1_gray-matter@4.0.3_zod@3.23.8\node_modules\zod-matter\dist\index.cjs:48:18)
    at parse (...\node_modules\.pnpm\zod-matter@0.1.1_gray-matter@4.0.3_zod@3.23.8\node_modules\zod-matter\dist\index.cjs:37:10)
    at Test1.runTest1 (...\dist\ts.morph\lib\frontmatter\test1.js:16:49)
    at Object.<anonymous> (...\dist\index.js:520:45)
    at Module._compile (node:internal/modules/cjs/loader:1369:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
    at Module.load (node:internal/modules/cjs/loader:1206:32)
    at Module._load (node:internal/modules/cjs/loader:1022:12) {
  issues: [
    {
      code: 'invalid_type',
      expected: 'array',
      received: 'object',
      path: [ 'andSomethingLikeThat', 'example2Categories', 0 ],
      message: 'Expected array, received object'
    },
    {
      code: 'invalid_type',
      expected: 'array',
      received: 'object',
      path: [ 'andSomethingLikeThat', 'example2Categories', 1 ],
      message: 'Expected array, received object'
    },
    {
      code: 'invalid_type',
      expected: 'array',
      received: 'object',
      path: [ 'andSomethingLikeThat', 'example2Categories', 2 ],
      message: 'Expected array, received object'
    }
  ],
  addIssue: [Function (anonymous)],
  addIssues: [Function (anonymous)],
  errors: [
    {
      code: 'invalid_type',
      expected: 'array',
      received: 'object',
      path: [ 'andSomethingLikeThat', 'example2Categories', 0 ],
      message: 'Expected array, received object'
    },
    {
      code: 'invalid_type',
      expected: 'array',
      received: 'object',
      path: [ 'andSomethingLikeThat', 'example2Categories', 1 ],
      message: 'Expected array, received object'
    },
    {
      code: 'invalid_type',
      expected: 'array',
      received: 'object',
      path: [ 'andSomethingLikeThat', 'example2Categories', 2 ],
      message: 'Expected array, received object'
    }
  ]
}

Node.js v20.12.0
 ELIFECYCLE  Command failed with exit code 1.

Finally, note that I got the exact same result by trying:

z.array(z.string()).array().optional() instead of z.array(z.array(z.string())).optional()
z.array(z.string()).array() instead of z.array(z.array(z.string())).optional()

Expected behavior

If arrays of arrays must not supported by design, by zod-matter, then the error message should clearly state that: for the motment, zod-matter throws an error, stating that an array was expected, but an object was received. Which is not true, it is inded an array which was received, as expected
If arrays of arrays must be supported by zod-matter, then we should successufully get the array of arrays extracted from frontmatter

How often does this bug happen?
Every time
System Info

operating system: Windows 10 pro
NodeJS version: v20.12.0

Additional Context
No response

Moreover, @HiDeoo I have tested parsing the same markdown with gray-matter, and I do not get any error, plus graymatter does recognize the example2Categories property as an array:

import * as grayMatter from 'gray-matter'; // pnpm add --save gray-matter

const someMarkdown2 = `---\n
author: HiDeoo\n
andSomethingLikeThat:\n
  firstname: Jean-Baptiste\n
  lastname: Lasselle\n
  one: true\n
  two: 12\n
  three: false\n
  example1Categories: \n
    - design\n
    - terraform\n
    - plugin\n
  example2Categories: \n
    - first:\n
        - joe\n
        - alfred\n
        - alvin\n
    - second:\n
        - thirteen\n
        - hundred\n
        - books\n
    - third:\n
        - going\n
        - overseas\n
        - together\n
---\n
# Hello HiDeeo!
`

console.log(` Final result parsing someMarkdown using gray-matter gives:`)

console.log(grayMatter.test(someMarkdown));
console.log(grayMatter.language(someMarkdown));
console.log(grayMatter.default(someMarkdown));

Result Output:

 Final result parsing someMarkdown2 using gray-matter gives:
true
{ raw: '', name: '' }
{
  content: '\n# Hello HiDeeo!\n',
  data: {
    author: 'HiDeoo',
    andSomethingLikeThat: {
      firstname: 'Jean-Baptiste',
      lastname: 'Lasselle',
      one: true,
      two: 12,
      three: false,
      example1Categories: [Array],
      example2Categories: [Array]
    }
  },
  isEmpty: false,
  excerpt: '',
  orig: <Buffer 2d 2d 2d 0a 0a 61 75 74 68 6f 72 3a 20 48 69 44 65 6f 6f 0a 0a 61 6e 64 53 6f 6d 65 74 68 69 6e 67 4c 69 6b 65 54 68 61 74 3a 0a 0a 20 20 66 69 72 73 ... 419 more bytes>
}

Thanks for the detailed feedback.

Moreover, @HiDeoo I have tested parsing the same markdown with gray-matter, and I do not get any error, plus graymatter does recognize the example2Categories property as an array:

This is correct, altho I don't think the log in your example are enough to reliably say that gray-matter is working as you expect. Is it an array of strings as you expect or something else?
By running the exact same example as your last one but instead of logging grayMatter.default(someMarkdown);, let's log grayMatter(someMarkdown).data:
 Final result parsing someMarkdown using gray-matter gives:
true
{ raw: '', name: '' }
{
  author: 'HiDeoo',
  andSomethingLikeThat: {
    firstname: 'Jean-Baptiste',
    lastname: 'Lasselle',
    one: true,
    two: 12,
    three: false,
    example1Categories: [ 'design', 'terraform', 'plugin' ],
    example2Categories: [ [Object], [Object], [Object] ]
  }
}

This does not looks like an array of string arrays but more like an array of objects. This also seems to match the error returned by zod-matter ("Expected array, received object") but zon-matter is not involved in this last example.
If we log the content of the parsed example2Categories property, we can see a bit more clearly what is going on:
[
  { first: [ 'joe', 'alfred', 'alvin' ] },
  { second: [ 'thirteen', 'hundred', 'books' ] },
  { third: [ 'going', 'overseas', 'together' ] }
]

And this output is correct and matching your frontmatter so zod-matter is working as expected as it's not getting an array of string arrays and thus throwing an error.
Switching back to your first example, now the question would be, is the frontmatter wrong or is the schema wrong? If you really want to have an array of string arrays, the frontmatter should be updated to match that:
const someMarkdown = `---\n
author: HiDeoo\n
andSomethingLikeThat:\n
  firstname: Jean-Baptiste\n
  lastname: Lasselle\n
  one: true\n
  two: 12\n
  three: false\n
  example1Categories: \n
    - design\n
    - terraform\n
    - plugin\n
  example2Categories: \n
    - - joe\n
      - alfred\n
      - alvin\n
    - - thirteen\n
      - hundred\n
      - books\n
    - - going\n
      - overseas\n
      - together\n
---\n
# Hello HiDeoo!
`;

Running this markdown with zod-matter and example2Categories expecting z.array(z.array(z.string())).optional() will work as expected:
[
  [ 'joe', 'alfred', 'alvin' ],
  [ 'thirteen', 'hundred', 'books' ],
  [ 'going', 'overseas', 'together' ]
]

If on the contrary, the frontmatter is correct, you would need to update the schema of example2Categories to something like z.array(z.record(z.string().array())).optional():
[
  { first: [ 'joe', 'alfred', 'alvin' ] },
  { second: [ 'thirteen', 'hundred', 'books' ] },
  { third: [ 'going', 'overseas', 'together' ] }
]

Thanks for the detailed feedback.

Moreover, @HiDeoo I have tested parsing the same markdown with gray-matter, and I do not get any error, plus graymatter does recognize the example2Categories property as an array:

This is correct, altho I don't think the log in your example are enough to reliably say that gray-matter is working as you expect. Is it an array of strings as you expect or something else?
By running the exact same example as your last one but instead of logging grayMatter.default(someMarkdown);, let's log grayMatter(someMarkdown).data:
 Final result parsing someMarkdown using gray-matter gives:
true
{ raw: '', name: '' }
{
  author: 'HiDeoo',
  andSomethingLikeThat: {
    firstname: 'Jean-Baptiste',
    lastname: 'Lasselle',
    one: true,
    two: 12,
    three: false,
    example1Categories: [ 'design', 'terraform', 'plugin' ],
    example2Categories: [ [Object], [Object], [Object] ]
  }
}

This does not looks like an array of string arrays but more like an array of objects. This also seems to match the error returned by zod-matter ("Expected array, received object") but zon-matter is not involved in this last example.
If we log the content of the parsed example2Categories property, we can see a bit more clearly what is going on:
[
  { first: [ 'joe', 'alfred', 'alvin' ] },
  { second: [ 'thirteen', 'hundred', 'books' ] },
  { third: [ 'going', 'overseas', 'together' ] }
]

And this output is correct and matching your frontmatter so zod-matter is working as expected as it's not getting an array of string arrays and thus throwing an error.
Switching back to your first example, now the question would be, is the frontmatter wrong or is the schema wrong? If you really want to have an array of string arrays, the frontmatter should be updated to match that:
const someMarkdown = `---\n
author: HiDeoo\n
andSomethingLikeThat:\n
  firstname: Jean-Baptiste\n
  lastname: Lasselle\n
  one: true\n
  two: 12\n
  three: false\n
  example1Categories: \n
    - design\n
    - terraform\n
    - plugin\n
  example2Categories: \n
    - - joe\n
      - alfred\n
      - alvin\n
    - - thirteen\n
      - hundred\n
      - books\n
    - - going\n
      - overseas\n
      - together\n
---\n
# Hello HiDeoo!
`;

Running this markdown with zod-matter and example2Categories expecting z.array(z.array(z.string())).optional() will work as expected:
[
  [ 'joe', 'alfred', 'alvin' ],
  [ 'thirteen', 'hundred', 'books' ],
  [ 'going', 'overseas', 'together' ]
]

If on the contrary, the frontmatter is correct, you would need to update the schema of example2Categories to something like z.array(z.record(z.string().array())).optional():
[
  { first: [ 'joe', 'alfred', 'alvin' ] },
  { second: [ 'thirteen', 'hundred', 'books' ] },
  { third: [ 'going', 'overseas', 'together' ] }
]

That is true! Thank you very much for that quick feedback!

As a thank you, I today commit to explain why I was testing this slightly extremist array of arrays in a frontmatter, in the next months, I keep that secret until I release something which will give you the base of my explanation
In less than 6 months, I will be able to give a full exaplanation: thank you very much for your work, zod-matter helped me running some tests on my current work.

I worked a bit more, and also found, and wanted to give you, the zod schema validating the pathologic frontmatter i gave first:
const someMarkdown3 = `---\n
author: HiDeoo\n
andSomethingLikeThat:\n
  firstname: Jean-Baptiste\n
  lastname: Lasselle\n
  one: true\n
  two: 12\n
  three: false\n
  example1Categories: \n
    - design\n
    - terraform\n
    - plugin\n
  example2Categories: \n
    - first:\n
        - joe\n
        - alfred\n
        - alvin\n
    - second:\n
        - thirteen\n
        - hundred\n
        - books\n
    - third:\n
        - going\n
        - overseas\n
        - together\n
---\n
# Hello Zod Tuples!
`

const schemaForMarkdown3 = z.object({
  author: z.string(),
  andSomethingLikeThat: z.object({
    firstname: z.string(),
    lastname: z.string(),
    one: z.boolean(),//true
    two: z.number(),//12
    three: z.boolean(),//false
    example1Categories: z.array(z.string()),//
    example2Categories: z.tuple([
      z.object({first: z.array(z.string())}),
      z.object({second: z.array(z.string())}),
      z.object({third: z.array(z.string())}),
    ])
  })
})


⚠ Bofrost.fr has degraded performance

In 4dec510, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1505 ms

Resolved: Bofrost.fr performance has improved in 76418e9 after 25 minutes.


feat(popup): resize-after-mount

Hi @MunifTanjim
Would you consider a PR like this or something similar so we are able to resize the popup window once it has been initialized?
This PR allows resizing the popup window after first mount.
Currently the only way I'm able to achieve this is to call nvim_win_set_config after first mount with built in nvim floating win options (width, height, col, row, relative.. etc), but then I lose being able to resize the UI with nui only configuration (% values etc).
EDIT: this most likely breaks border in the UI, so will have to check and fix for that.

Currently the only way I'm able to achieve this is to call nvim_win_set_config after first mount with built in nvim floating win options (width, height, col, row, relative.. etc), but then I lose being able to resize the UI with nui only configuration (% values etc).

Did you try the popup:set_size() method? I think you can run it on the VimResized event to make the popup resize whenever vim is resized, something like this:
  popup:on(event.VimResized, function()
    popup:set_size({
      width = "50%",
      height = "40%",
    })
  end)

If you also want to readjust the position, then we'll need to implement the popup:set_position method too (https://github.com/MunifTanjim/nui.nvim/issues/11).

I missed the new set_size() method while I was creating this PR. Looks like you have already implemented half of it! Awesome.
Makes sense to implement set_position() the same way and will achieve the same result as this PR.
VimResized wasn't what I was looking for in this case, but really useful that resizing can be achieved this way.

Closing this since it's not relevant anymore.


Error After Clicking on Preview in Actions column.

Click on Preview in Action Columns causes error:
Undefined index: attributes (View: /resources/views/vendor/backpack/crud/columns/properties.blade.php)
Checking the $entry variable via dd() shows the changes array is empty and contains no data.

Can confirm the issue:

@coziboy I don't know exactly what the purpose of this column type is, since I couldn't get it to work. But for my purposes the json column type did a good enough job of highlighting the custom properties, maybe this package could use that instead of a custom one?

Alternatively, if the custom column is important (I see it might highlight some stuff so it might be prettier), I recommend to use the column file directly from the package, instead of publishing it in userland. I don't think anybody will ever need to customize it. You can do that in Backpack using the view_namespace attribute so in this case it should be:
$this->crud->addColumn([
    'name'      => 'properties',
    'label'     => 'Data',
    'type'      => 'properties',
    'view_namespace' => 'log-user::vendor.backpack.crud.columns'
]);

Hope it helps!


[Feature]: Align namespace names to the left

Is your feature request related to a problem?
It’s not related to a problem. It’s a suggestion of a design update.
Describe the solution you'd like
Currently, namespace names are centered:

I suggest to align them to the left:

I think it makes easier to spot the important parts of the names when some of the namespace names start with the same prefix.

hi @motet-a, thanks for opening an issue.
I do not know about your idea, as this naming convention (feature-xyz) is highly tied to our internal usage.

Yes! But since I don’t see how left-aligned text could be annoying for people that don’t use common prefixes… I think it’s worth changing it.
BTW I think it’s pretty uncommon to center text in tables, in general. To me, centering text is mostly used for title or a description you’ll find under a picture, for instance.

Okay, I got it. I'll open a PR and keep you posted!


Header-News Background color is missing

Hi Team,
While comparing the developed header block with the legacy site header block, I noticed a difference in the background color of the NEWS section in the header.
Please have a glimpse at the below snapshot

@teshukatepalli1  Thanks for the update.
This issue is resolved hence closing the ticket.


Pass a custom icon to the plugin

So CallKit can show it on the call screen.

The icon seems to be used when the phone is locked.


Filter empty LUGs

This PR:

Filters LUGs with only returns
Fixes assertions in the LUG integration test
Changes cfg to lug in the integration test

Codecov Report

Merging #133 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #133      +/-   ##
============================================
+ Coverage     85.84%   85.86%   +0.02%
- Complexity      260      264       +4
============================================
  Files            27       27
  Lines           551      552       +1
  Branches        119      120       +1
============================================
+ Hits            473      474       +1
  Misses           22       22
  Partials         56       56

Impacted Files
Coverage Δ
Complexity Δ

...raphgenerator/jimple/LibraryUsageGraphGenerator.kt
86.95% <100%> (+0.59%)
14 <0> (+4)
:arrow_up:

...graphgenerator/jimple/ControlFlowGraphGenerator.kt
61.53% <100%> (ø)
6 <1> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9a6f114...8ed0c0f. Read the comment docs.


add extend_from_slice method

adds an extend_from_slice method to SegVec (and fixes a small bug in extend - it was reserving elements twice).
needed for acceptable performance in #40

it's alright! nothing urgent. i'm currently not using this crate actively on any projects - i just think this is a good, useful data structure and want to help it get faster & closer to feature parity with good old Vec. i might be using it soon, though, so do expect some more PRs in this end of year.

i believe it's all good now :)

Awesome, thanks for the changes. Merged!


fix: update OpenAPI2 Postman Lib to fix Postman Ref update

Issue

Describe your changes

How to test

Checklist:

[x] My code follows the style guidelines for this repo
[x] I have performed a self-review of my code
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings/errors
[x] I have added tests that prove my fix is effective or that my feature works
[x] I don't require ops changes for this PR to go to prod
[x] This change does not include a migration

Comments

/update-dist

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

v1.21.1
GitHub release

Your semantic-release bot :package::rocket:


Added AIP number in rule register function.

Rule registering now requires a valid AIP number. It removes the redundant tests in each rule package testing if a rule is in the right group.

This PR removes >500 lines of duplicated codes :)

I think this PR would drop coverage in the rule modules below 100%, would it not?

I think this PR would drop coverage in the rule modules below 100%, would it not?

I just realized we never try to catch errors when registering a rule (see this example). In other words, AddRules must returns an error or panic.

I think this PR would drop coverage in the rule modules below 100%, would it not?

The coverage is back to 100%. But we need to fix the meta_linter.

ok  	github.com/googleapis/api-linter/rules	0.220s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0122	0.227s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0126	0.254s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0131	0.233s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0132	0.203s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0133	0.316s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0134	0.240s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0135	0.234s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0136	0.257s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0140	0.294s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0141	0.295s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0142	0.301s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0143	0.190s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0151	0.208s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0158	0.209s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0191	0.243s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0192	0.448s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/aip0203	0.315s	coverage: 97.7% of statements
ok  	github.com/googleapis/api-linter/rules/aip0231	0.311s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/internal/data	0.065s	coverage: [no statements]
ok  	github.com/googleapis/api-linter/rules/internal/testutils	0.164s	coverage: 100.0% of statements
ok  	github.com/googleapis/api-linter/rules/internal/utils	0.164s	coverage: 100.0% of statements

I think that the AddRules pattern may have been an error. We can always change it later, but this is an incremental improvement.

+1


Feature/2918/hosted tool provider

https://github.com/dockstore/dockstore/issues/2918
Hosted tool gitURL is now being mocked. Before only workflow gitURL was mocked.

Interesting swagger change.

Interesting swagger change.

Yes, Walt was seeing that too in his PR. It would be good to know what is going on, although I guess if the IT tests are passing it's OK.


Add [Gold Claim Token goldclaimtoken.com] #issuer GALPSO…CZVDTW

Address: GALPSOBDV7ZN2DZZ3TQBP6T2VSGQAUX3VP3WJMJ35BQUOQZQCLCZVDTW
Tags: issuer
Title: Gold Claim Token  Domain: goldclaimtoken.com
Requested by @stellarinvestor

Airdrop

@stellarinvestor
Hello Sean,
These kinds of labels for domains are not needed/given to issuing addresses since when someone searches with Stellar.Expert the associated domain is displayed. Such as GALPSOBDV7ZN2DZZ3TQBP6T2VSGQAUX3VP3WJMJ35BQUOQZQCLCZVDTW and goldclaimtoken.com


fix: render a different ParcelInfo for every parcel

Description
Pass a key prop to ParcelInfo to tell react to render a different component every time selectedParcelId change instead of rerender the same component with different props and same state, otherwise when the user change the selected parcel the custom hook that returns the parcel content is not triggered until the license owner address is fetched from the subgraph, causing the parcel info panel to show stale data until parcelContent is updated.
Issue
fixes #364
Checklist:

[x] My commit message follows the Conventional Commits specification
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have tested my code
[x] My changes generate no new warnings
[x] My PR is rebased off the most recent develop branch
[x] My PR is opened against the develop branch

Additional comments
Wait for useBasicProfile to return before showing the parcel name to avoid briefly displaying the fallback info instead of the name when a basic profile is present.
Alert Reviewers
@codynhat @gravenp

Works great for me now!


Go: releasetool should add package tag at beginning of commit message

When we create a release with releasetool, it creates a commit that says Release 0.31.0 as the commit message. git codereview doesn't like this. Instead, it should say all: release 0.31.0.

@enocom


sudo and others that present post installation notes

used zopen to install sudo and it would not work - reported
/sudo must be owned by uid 0 and have the setuid bit set
The installer should be aware of this requirement - shouldn't it?

Or should zopen install and zopen upgrade be run as superuser?

ok - I looked at the install for sudo and it has this

IMPORTANT NOTE: Installation of sudo is NOT COMPLETE.
For details on sudo, see: https://www.sudo.ws/releases/stable/#1.9.13p3
To finish installing sudo, run the following commands with elevated privileges:
BIN_SUDO='cvtsudoers sudo sudoedit sudoreplay'
SBIN_SUDO='sudo_logsrvd sudo_sendlog visudo'
SUDO_INSTALL_LOCAL=/home/splbd/zopen/usr/local/zopen/sudo/sudo-1.9.13p3.20231110_104125.zos
cd $SUDO_INSTALL_LOCAL/bin
cp $BIN_SUDO /usr/bin/
cd $SUDO_INSTALL_LOCAL/sbin
cp $SBIN_SUDO /usr/sbin/
cd /usr/bin
chown 0:0 $BIN_SUDO
cd /usr/sbin
chmod u+s $SBIN_SUDO
Review the $SUDO_INSTALL_LOCAL/etc/sudoers file.
Use visudo to create your own /etc/sudoers file.

This was lost among the dozen plus install packages and only because I scrolled back - this information, and any others like this, need to be more prominently presented to the user.

ok - I looked at the install for sudo and it has this

IMPORTANT NOTE: Installation of sudo is NOT COMPLETE.
For details on sudo, see: https://www.sudo.ws/releases/stable/#1.9.13p3
To finish installing sudo, run the following commands with elevated privileges:
BIN_SUDO='cvtsudoers sudo sudoedit sudoreplay'
SBIN_SUDO='sudo_logsrvd sudo_sendlog visudo'
SUDO_INSTALL_LOCAL=/home/splbd/zopen/usr/local/zopen/sudo/sudo-1.9.13p3.20231110_104125.zos
cd $SUDO_INSTALL_LOCAL/bin
cp $BIN_SUDO /usr/bin/
cd $SUDO_INSTALL_LOCAL/sbin
cp $SBIN_SUDO /usr/sbin/
cd /usr/bin
chown 0:0 $BIN_SUDO
cd /usr/sbin
chmod u+s $SBIN_SUDO
Review the $SUDO_INSTALL_LOCAL/etc/sudoers file.
Use visudo to create your own /etc/sudoers file.

This was lost among the dozen plus install packages and only because I scrolled back - this information, and any others like this, need to be more prominently presented to the user.

Good point, we should probably capture important messages like this and print them out at the end, especially when doing an install of many tools.
Brew has the notion of "caveats':
https://github.com/Homebrew/homebrew-core/blob/ba3e4e7ad9242717b5ecd1b327b1b82f9c4832c9/Formula/y/yarn.rb#L30-L35
I did a brew install of yarn and gdb and it does indeed print them out at the end:
==> Caveats
==> gdb
gdb requires special privileges to access Mach ports.
You will need to codesign the binary. For instructions, see:

  https://sourceware.org/gdb/wiki/PermissionsDarwin
==> yarn
yarn requires a Node installation to function. You can install one with:
  brew install node


Watchdog logging and sending email for user with added perms

What's this PR do?
I've added code for watchdog logging and sending an email to devops when a user adds any permissions other than authenticated user.
How should this be reviewed?
You can add perms to a user to see if you receive the email and check to make sure the watchdog entry has been logged.
Any background context you want to provide?
Users had the ability to give themselves additional permissions via the API, which is now fixed, but this gives us some additional insight so we can take action immediately if a problem like this occurs again.

Logs via watchdog with which permissions were added and includes
a link to the user

Sends an email to devops with which roles got added and a link to the
user that was added.

👍


[FEATURE] Have a way to display dawn/dusk without actually setting the time.

The ability to set when sunrise/sunset is and have SC do all the work is great! I just wish there were a way to actually know the time for dawn/dusk (which gets asked a lot) without having to actually press the button. Just having it show up in parentheses in the tooltip would be plenty, but somehow showing up in the notes for each day would also be wonderful. Thank you for the great mod!

This has been added in version 2.1.18. You can now right click on a day to see a menu that will show the sunrise and sunset times for that day.


fix: downgrade intl with 3.10.0 to be compatible with flutter 3.10 (stable)

Flutter 3.10 stable was released yesterday.
https://github.com/rustdesk/rustdesk/actions/runs/4954373043/jobs/8862807066?pr=4337

It's done on the main branch, I changed other things that were required. I'll release a new version soon

This one should be released as soon as possible 👍


Ship CommonsExtension with some default schema templates

This comes out of #86 and some related discussions on how you can reduce the need for wikitext in the Commons extension.
The idea is that you could ship the CommonsExtension with a handful of schema templates supporting some of the core cases (Artwork/Photograph/...) where the templates on Commons are already fully SDC enabled so that the wikitext could be fully static.

I'll try to rephrase this issue later but this was one of the things discussed with e.g. @trnstlntk at Wikimania.


Fix: switch network via the URL

What it solves
This fix avoids inconsistencies between places where we take the network from the URL and places that use getNetworkId
How this PR fixes it
The network is now changed by going to a network URL.
How to test it
Replace the shortName in the URL with a wrong one
E.g. a legit Safe URL:
/app/eth:0xb3b83bf204C458B461de9B0CD2739DB152b4fa5A/address-book
A wrong URL:
/app/matic:0xb3b83bf204C458B461de9B0CD2739DB152b4fa5A/address-book

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.008%) to 31.57%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/AppLayout/Header/components/NetworkSelector.tsx
0
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
2978

Relevant Lines:
8410

💛  - Coveralls

Works for me.
Enter into the polygon env, tried to set  a Rinkeby safe in the URL 0x4C26Cc724A905b010C16192B3dD8FeB82Be6F72c
The app kicked me to the welcome page.

Works for me. Enter into the polygon env, tried to set a Rinkeby safe in the URL 0x4C26Cc724A905b010C16192B3dD8FeB82Be6F72c The app kicked me to the welcome page.

Do we want to show the sidebar whilst loading occurs? Or would a crash here make more sense? It's a bit trivial to navigate to the /welcome page. @katspaugh

Do we want to show the sidebar whilst loading occurs? Or would a crash here make more sense? It's a bit trivial to navigate to the /welcome page. @katspaugh

Ideally there should be a special view for this case. But yeah, we could crash and show our default error page.

Do we want to show the sidebar whilst loading occurs? Or would a crash here make more sense? It's a bit trivial to navigate to the /welcome page. @katspaugh

Ideally there should be a special view for this case. But yeah, we could crash and show our default error page.

Why? that's much more aggressive, and there is no link in a crash page, they will just have to load the welcome page anyways.

Do we want to show the sidebar whilst loading occurs? Or would a crash here make more sense? It's a bit trivial to navigate to the /welcome page. @katspaugh

Ideally there should be a special view for this case. But yeah, we could crash and show our default error page.

I think crashing here would make more sense UX-wise.

Do we want to show the sidebar whilst loading occurs? Or would a crash here make more sense? It's a bit trivial to navigate to the /welcome page. @katspaugh

Ideally there should be a special view for this case. But yeah, we could crash and show our default error page.

Why? that's much more aggressive, and there is no link in a crash page, they will just have to load the welcome page anyways.

The likelihood someone enters an incorrect address is minimal but if you suddenly get navigated to the /welcome route when you think you're opening a Safe is trivial. I think it would make much more sense to have a message explaining what has happened. 'Crashing' sounds agressive but it is more so an error page that describes what the problem is.

The likelihood someone enters an incorrect address is minimal but if you suddenly get navigated to the /welcome route when you think you're opening a Safe is trivial. I think it would make much more sense to have a message explaining what has happened. 'Crashing' sounds agressive but it is more so an error page that describes what the problem is.

Ok, but yes, we should explain the user what happened and not just crash the page.
Also @katspaugh , we got to clear that failed safe from the current_session storage key. Or it will keep trying to load it if you re enter the base URL

The likelihood someone enters an incorrect address is minimal but if you suddenly get navigated to the /welcome route when you think you're opening a Safe is trivial. I think it would make much more sense to have a message explaining what has happened. 'Crashing' sounds agressive but it is more so an error page that describes what the problem is.

Ok, but yes, we should explain the user what happened and not just crash the page.
Also @katspaugh , we got to clear that failed safe from the current_session storage key. Or it will keep trying to load it if you re-enter the base URL

I believe throwing an error (which 'crashes' the page) is fine as it can show our defined error message.

Regarding clearing the storage, bad safes won't get there in the first place, with this fix.

Regarding clearing the storage, bad safes won't get there in the first place, with this fix.

That snapshot was took in this PR, so is happening here at least

That snapshot was took in this PR, so is happening here at least

This PR went through two iterations. In the first one, I wasn't touching the unfound safes logic.

Replaced redirect with a crash as per Aaron's comment. 💥

It looks fine. I tried first to load a Rinkeby safe in arbitrum and check that it kicks me to the welcome page and also it doesn't create/update the "current_session" key value in the storage.
Then I entered in a valid safe and now it does update the "current_session" key value just fine
Lastly I check that entering in the network redirects to that last valid safe I just loaded
This gif shows all:


[Polkadot Wiki Migration] Validator Payout

This page was migrated from https://wiki.polkadot.network/docs/maintain-guides-validator-payout

All I did was merge master into this to resolve merge conflicts but it triggered a content team review I can't cancel. Sorry about that!

Made some pretty heavy edits trying to make this a bit more approachable. @nhussein11 please make sure I'm not leading anyone astray technically. @eshaben please take a look at the mermaid diagrams and let me know wyt.

Changes made. Ready for final pass from Erin


february 8th Postgresql update

Could you please update docker to last postgresql versions ?
I tested and got an error for 9.5-2.4 but 10.2 works well.
10.2, 9.6.7, 9.5.11, 9.4.16, and 9.3.21.

Hello, I can help if you need.

P.S.: There is now a March 1 update - 10.3 etc. - somebody found a vulnerability in schema handling https://wiki.postgresql.org/wiki/A_Guide_to_CVE-2018-1058:_Protect_Your_Search_Path

I just manually triggered all the builds.

thank you