Added isValidSchemedUrl to StringExtensions

Added isValidSchemedUrl property to StringExtensions.
Checklist

[x] I checked the Contributing Guidelines before creating this request.
[x] I have only one commit in this pull request.
[x] New extensions support iOS 8 or later.
[x] New extensions are written in Swift 3.
[x] I have added tests for new extensions, and they passed.
[x] Pull request was created to master head branch.
[x] All extensions have a clear comments explaining their functionality, all parameters and return type in English.
[x] All comments headers have the word SwifterSwift: before description.

Current coverage is 52.86% (diff: 75.00%)

Merging #102 into master will increase coverage by 0.06%

@@             master       #102   diff @@
==========================================
  Files            49         49
  Lines          2576       2584     +8
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1360       1366     +6
- Misses         1216       1218     +2
  Partials          0          0

Powered by Codecov. Last update 9ee127f...85270b9


Missing words on FileLoadException API page

Something's missing here. I'd fill in the blanks, but I'm not sure what it's meant to be! 🙂
https://docs.microsoft.com/en-us/dotnet/api/system.io.fileloadexception?view=netframework-4.7.1

Thanks for finding this, @ChrisMaddock. We'll track down the missing text.


Simplify installation

Any reason this shouldn't be pip-installable? I just copied it into site-packages instead of the complicated installation instructions.

I would prefer to have it a bit more stable, before packaging it.

Keep in mind that if it was packaged, it would be easier for me to upgrade and see your new additions. Now it's a chore.

You can package it with a version of 0.0.1, which sends the message of "Don't expect any kind of stability from this package."

Hi
Should have your list cleared apart from this issue. I will give it a go
and see how it works out..
Thanks for your useful feedback and I will keep you posted.
regards
Bill Pringle
On Tue, Oct 6, 2020 at 3:27 PM Ram Rachum<EMAIL_ADDRESS>wrote:

You can package it with a version of 0.0.1, which sends the message of
"Don't expect any kind of stability from this package."
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wapringle/mockbrython/issues/2#issuecomment-704306709,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOE6FDBQNFPUSJYY4XZM73TSJMSMLANCNFSM4R22EWLA
.

Just to let you know I have published mockbrython on PyPI as you suggested. You can have a sneak preview before I do a formal announcement in the next few days.
I have extended the package to cover all the Brython calls documented, with function prototypes and dummies for IDEs - generally more complete than the first version
Hope you like it.
$ pip install mockbrython
Enjoy

Cool, works great! Thank you.


RUSTSEC-2020-0159 - Potential segfault in localtime_r invocations

Affects chrono < 0.4.20
See https://rustsec.org/advisories/RUSTSEC-2020-0159

The library's dependency version requirement allows for users to use a fixed version. The CLI is unaffected because it is single-threaded.

(It probably is still worth bumping the minimum requirement to a fixed one though).

(It probably is still worth bumping the minimum requirement to a fixed one though).

Yes! cargo audit will complain otherwise.

I just published cbor-diag 0.1.10 which bumps the minimum supported chrono version to 0.4.22.


Extension Update

I'd like to know when would the shukofurou safari extension will be updated, for a long time it has not been compatible with the latest version of the safari.

I haven't got the chance to add the extension for Safari, but it's coming once I figure out how to implement an App based Safari extension since it's a bit different.


 in Telescope doesn't delete the project.

<c-d> in insert mode or d in normal mode doesn't delete the selected project in Telescope. It prompt Delete '...' from project list? (Y)es, [N]o: but if I press Y it does nothing. Maybe I haven't understand how it is supposed to work? Here is my configuration.
use {
    "ahmedkhalf/project.nvim",
    config = function()
        require("project_nvim").setup()
    end
}

telescope.load_extension('projects')

Thank you for this wanderful project and have a good day!

@vzytoi was the issue resolved for you? Right now i'm facing similar issue when some projects are get deleted and some not

@vzytoi was the issue resolved for you? Right now i'm facing similar issue when some projects are get deleted and some not

Hey! I didn't found a solution to this issue even thought I think that you may found one but I understand what was the problem. If you delete the project in which you currently are, then when you close the Telescope prompt it will recreate it instantly so it look like it wasn't deleted. Depending on what you need a solution could be to use the exclude_dirs field from the setup fonction to prevent projects.nvim to recreate it. Let me know if you are able to find a solution to your needs!


Updated Broken Link on line200

Description

Link was provided by this guy
Motivation and Context

How Has This Been Tested?

Types of changes

[x] Content Update (change which fixes an issue or updates an already existing submission)
[ ] New Article (change which adds functionality)
[ ] Documentation change

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have made checks to ensure URLs and other resources are valid

@Epreuve


[MM-44353] Increase number of people that can be added to a group at once

Summary
Remove the counter below the the multiselect and only surface it when they have added 256 users to it
Ticket Link
https://mattermost.atlassian.net/browse/MM-44353
Screenshot
Less than 256 users in multiselect:

256 users in multiselect:

Release Note

Increasing the number of people that can be added to a group at once to 256

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/263729


add more resource links

It seems these are either paid or in-person events? We already have so many courses which are more readily accessible to a wider audience, so I’m not sure we need to add more.

Closing due to feedback above.  If you have any other resources that fit the criteria, I'd be happy to merge that.

I understand and respect. Just let u know that we have more than 100 hands-on free tutorials and recipes on our website. We are planning to upload many free web design and coding videos on our youtube channel.
So as an organization, we are getting to our community as much as we can.


[Bug]No neighborhood Data in h5ad-files?

Hi, when exploring the .h5ad-file generated by
steinbock export anndata --intensities intensities --data regionprops --neighbors neighbors -o objects.h5ad
I've noticed that it doesn't contain any neighborhood-data. There exists a neighbors folder generated by Steinbock, and when using the read_steinbock()-function of imcRtools, the neighborhood-Data is included correctly in the SPE.

I've also reported this here: https://github.com/BodenmillerGroup/steinbock/issues/196


PDI-11388 -- FTP job steps: inconsistency in messages, shown after

pressing ОйОнtest connectionОйОн button
What was done:

removed additional dialog when Test Folder button is pressed

@deinspanjer could you please review?
no Unit tests as the changes are pure UI


feat: 补充MySQL相关单元测试/add unit test for mysql

关联的Issues (Related Issues)

resolve https://github.com/filecoin-project/venus/issues/5167
改动 (Proposed Changes)

附注 (Additional Info)

自查清单 (Checklist)
在你认为本 PR 满足被审阅的标准之前，需要确保 / Before you mark the PR ready for review, please make sure that:

[x] 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
[x] 具有清晰明确的commit message / All commits have a clear commit message.
[x] 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
[x] 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
[ ] 通过必要的检查项 / All checks are green

Codecov Report

Merging #237 (e7f4950) into master (9d4463a) will increase coverage by 10.05%.
The diff coverage is 88.00%.

@@             Coverage Diff             @@
##           master     #237       +/-   ##
===========================================
+ Coverage   17.88%   27.93%   +10.05%
===========================================
  Files          58       59        +1
  Lines        5576     5724      +148
===========================================
+ Hits          997     1599      +602
+ Misses       4501     4000      -501
- Partials       78      125       +47

Flag
Coverage Δ

unittests
27.93% <88.00%> (+10.05%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

models/mysql/address.go
78.90% <60.00%> (+78.90%)
:arrow_up:

models/mysql/node.go
71.69% <69.23%> (+71.69%)
:arrow_up:

models/mysql/testing.go
89.47% <89.47%> (ø)

models/mtypes/msg_meta.go
76.66% <100.00%> (+4.66%)
:arrow_up:

models/mysql/message.go
77.31% <100.00%> (+77.31%)
:arrow_up:

models/mysql/shared_params.go
63.26% <100.00%> (+63.26%)
:arrow_up:

models/sqlite/message.go
77.99% <100.00%> (-0.37%)
:arrow_down:

models/sqlite/node.go
83.01% <100.00%> (+0.32%)
:arrow_up:

models/sqlite/shared_params.go
79.59% <100.00%> (+20.76%)
:arrow_up:

models/repo/repo.go
79.31% <0.00%> (+10.34%)
:arrow_up:

... and 6 more


Extension issue

Issue Type: Bug
Extension Name: vscodeintellicode
Extension Version: 1.1.7
OS Version: Darwin x64 16.7.0
VSCode version: 1.36.1

{
	"messages": [],
	"activationTimes": {
		"startup": false,
		"codeLoadingTime": 74,
		"activateCallTime": 49,
		"activateResolvedTime": 1090,
		"activationEvent": "onLanguage:typescript"
	},
	"runtimeErrors": [
		{
			"name": "TypeError",
			"message": "Cannot read property 'toString' of undefined"
		}
	]
}

@zeljko-bulatovic, does this happen consistently? When does this error occur? I'm not able to reproduce this issue currently.

@zeljko-bulatovic are you able to reproduce this bug?

I was not aware that this issue was open! It seems that vscode opened it automatically in the background. I have no idea about it and how to check.

Thanks for your response @zeljko-bulatovic . If IntelliCode seems to be working well for you at this point, we will close out this issue.
Before we do so, please can you confirm that you're not seeing any problems with IntelliCode when you're coding (e.g. that you see the "starred" completions in your expected languages (for VS Code this is Python, Java, JS/TS, TSQL - see https://docs.microsoft.com/en-us/visualstudio/intellicode/intellicode-visual-studio-code )
Thanks
Mark


Switch Out Controller Imports

Package controllers should import Illuminate\Routing\Controller as opposed to App\Http\Controllers\Controller
If the given user has moved their Controller class, or has changed the namespace of the application away from App then this package fails completely.
As of now I'll need to fork this and change all these references in order to use it, a package like this should never depend on classes in the app directory, because there's simply no way to know how the user has their app configured.

Thanks for catching that! A pr with those changed would be a massive help.


Use elem.srcObject if available. Fallback to elem.src

Fixes https://github.com/webtorrent/webtorrent/issues/1556

Pretty sure that srcObject is the new standard. Chrome release notes say this:
" The URL.createObjectURL() method has been removed from the MediaStream interface. This method has been deprecated in 2013 and superseded by assigning streams to HTMLMediaElement.srcObject. The old method was removed because it is less safe, requiring a call to URL.revokeOjbectURL() to end the stream. Other user agents have either deprecated (Firefox) or removed (Safari) this feature feature."

I think we can probably remove the fallback.

Oh @jhiesey rightly points out that this deprecation is only for WebRTC media streams, like video/audio from the getUserMedia() API which is not used by WebTorrent. We shouldn't need to change anything here, I think.


Support Packet Router in Gateway RS

See https://github.com/helium/proto/pull/157

Fixed with https://github.com/helium/gateway-rs/pull/289 and a few subsequent commits


Enhancement : Install app from Splunkbase

As a Splunk Admin with a restricted git repo size, I want to be able to automatically install application from Splunk Base instead of GIT.

So, I actually did a POC playbook for this last year that we may be able to reuse and incorporate into this role. There are some drawbacks and constraints to pulling apps from Splunkbase, namely:

Apps can be removed or retired from Splunkbase.
Splunkbase does not offer service accounts so a personal login is required to authenticate for downloads.
Splunkbase does not provide a way to pull the "latest" version. You have to specify the version number of each app/addon that you want to download.
Splunkbase download URLs are not human readable (e.g. TA NIX is only identified as "833") so we may want to include an extra var in Ansible with the human readable app name for our own sanity.
Downloading and installing straight from Splunkbase may be undesirable in some cases (e.g. if you want to disable/enable inputs, change index names, or customize anything before deploying).

All that said, this is possible. Here's the POC playbook that I wrote for reference:
# ansible-playbook --connection=local --inventory <IP_ADDRESS>, install_splunkbase_app_rest.yml
- hosts:
    - localhost
  gather_facts: no
  vars:
    - splunkbase_username<EMAIL_ADDRESS>    - splunkbase_password: somepassword
    - splunkbase_auth_url: https://splunkbase.splunk.com/api/account:login/
    - splunk_host: mysplunkhost
    - splunk_user: admin
    - splunk_password: somepassword
    - app_url: https://splunkbase.splunk.com/app/833/release/8.1.0/download
  tasks:
    - name: Get splunkbase authentication token
      uri:
        url: "{{ splunkbase_auth_url }}"
        method: POST
        return_content: yes
        body_format: form-urlencoded
        body:
          username: "{{ splunkbase_username }}"
          password: "{{ splunkbase_password }}"
      register: login

    - name: Create splunkbase_token var
      set_fact:
        splunkbase_token: "{{ login.content | regex_search('<id>(.*)<\\/id>', '\\1' ) | first }}"

    - name: Install Splunkbase app
      uri:
        url: "https://{{ splunk_host }}:8089/services/apps/local"
        method: POST
        user: "{{ splunk_user }}"
        password: "{{ splunk_password }}"
        validate_certs: false
        body:
          name: "{{ app_url }}"
          update: "true"
          filename: "true"
          auth: "{{ splunkbase_token }}"
        body_format: "form-urlencoded"
        status_code: [ 200, 201 ]
        timeout: 300
      when:
        - "'splunkbase.splunk.com' in app_url"
        - splunkbase_token is defined
        - splunkbase_token != None

One consideration for implementing this task: We will likely want to support installing apps from both Splunkbase and from Git on the same host.

For splunkbase url you can do https://splunkbase.com/apps/id/lookup_editor to get the app number


delaborating patterns containing @

Repro:
def f : List Nat → List Nat
  | a::xs@(b::bs) => xs
  | _             => []

#print f
/-
def f : List Nat → List Nat :=
fun (x : List Nat) =>
  match x with
  | a :: b :: bs => xs  -- <<<<
  | x_1 => []
-/

Here is a possible plan for fixing this issue:
1- Add an auxiliary function asPattern
abbrev asPattern {α} (x y : α) : α := y

2- Modify src/Meta/Match/Match.lean to include the asPattern in the auxiliary matcher function. In the example, above the new type for f.match_1 would be
f.match_1 :
  (motive : List Nat → Sort u) →
  (x : List Nat) →
  ((a : Nat) → (xs : List Nat) → (b : Nat) → (bs : List Nat) → motive (a :: asPattern xs (b :: bs))) →
  ((x_1 : List Nat) → motive x_1) → motive x

3- Modify the Delaborator to convert asPattern xs (b::bs) into xs@(b::bs)

Sounds good to me!


configmap name need to be regex checked in api server

In GitLab by @liyanq528 on Mar 21, 2019, 15:16

In GitLab by @luotian-github on Nov 8, 2019, 08:03
'a-z0-9?(.a-z0-9?)*'

In GitLab by @luotian-github on Nov 8, 2019, 08:03
'[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*'

In GitLab by @luotian-github on Nov 8, 2019, 08:03
fixed in PR2024

In GitLab by @sokril on Nov 8, 2019, 08:03
Yes, fix in backend. But front end show check it too and will create new issue for this.

In GitLab by @sokril on Nov 8, 2019, 08:31
closed

In GitLab by @sokril on Nov 8, 2019, 08:31
assigned to @luotian-github


Request for .klm file for CloudAhoy

Attempting to use Stratux "flight" with CloudAhoy.  Stratux uses WiFi and not bluetooth.  As such, it's not recognized by iOS and so it's not recognized by CloudAhoy.  Would like to log my "Stratux" flight and import its data to CloudAhoy.  Thoughts?

http://help.cloudahoy.com/importing-flight-data/
http://www.grtavionics.com/datarecording.html - maybe we could start using a file output like this? We'll likely have some further use other than just GPS tracks in the future.

Outputting data in GPX format is fairly straight forward. An example is this plugin for x-plane (https://github.com/jpoirier/DataLogger/blob/master/main.cpp) that saves the flight data to a gpx formatted file which can be imported by cloudahoy or other clients that recognize the format. Look for writeFileProlog, writeData, and writeFileEpilog.

So you are trying to use Stratux as a flight track logger - something you can view in for example Google Earth ?  I have WingX and just use the "Replay" function to record all that data, can dump it as GPX I believe

You might be on your own with this, but install a (low power) bluetooth
dongle instead of the wifi dongle, than just change where the data is
sent.  Place to start.
On 02/04/2016 07:57 AM, cfirandy wrote:

Attempting to use Stratux "flight" with CloudAhoy Stratux uses WiFi
and not bluetooth As such, it's not recognized by iOS and so it's not
recognized by CloudAhoy Would like to log my "Stratux" flight and
import its data to CloudAhoy Thoughts?
—
Reply to this email directly or view it on GitHub
https://github.com/cyoung/stratux/issues/234.

I took a stab at adding this functionality in my pull request #481
I implemented a way to export GPS location of the Stratux device (aka Ownship) to a KML file that can be imported to CloudAhoy. I also provided a way to dump Replay Logs to KML with Ownship + Traffic so you can visualize issues when debugging antenna setups and GPS interference.
Give it a spin and see if there are any other features I am missing.

@alexberryman can you tell how to add the replay and record feature


a quick fix to dnscrypt-proxy old pledge call

pledge(2) in 6.3 evolved as unveil(2) is coming in 6.4
as it was killed during the attempt to run it, quick investigation showed that pledge call was the old prototype of the (6.2) pledge(2) call.
In addition the proper restrictions have not been completely investigated but were missing "unix" pledge since the hashicorp gsyslog wrapper code is NOT using log/syslog but implement a socket()/connect() call to a "unix" socket... hence the pledge update
the author probably know better all the intricacies required, it seems to run properly now.
did not change the building travis-ci stuff, I'm not using it extensively.
please let me know if this is correct, hope this helps.

Golang not using the libc leads to that kind of surprise when the syscall ABI changes.
Let's completely remove pledge() support for now. We'll revisit this after the next release of the compiler.


Every component put besides to ActionIcon goes to a new line

Link to the page where something isn't quite right
No response
Exact quote of what is wrong
It is pretty simple to reproduce.
In any page.svelte write

The second icon (or anything) goes to a new line.
Are you willing to create pull request with the fix?
Yes

This happens because ActionIcon has display: flex. The html default for buttons is inline-block. As far as I can tell, this is mainly so that it can center its content properly. In that case, perhaps using inline-flex would be closer to the default html behavior for buttons.


[TVMScript] ExprDoc

This PR addes:

All ExprDoc subclasses
Their Python bindings
Support of ExprDoc in PythonDocPrinter
Unit tests for ExprDoc in PythonDocPrinter

Tracking issue: https://github.com/apache/tvm/issues/11912
cc @junrushao1994 @gbonik

I removed the Assert op as we are going to make assert a StmtDoc per dicussion with @junrushao1994. I also added an if-then-else special op


[FEAT] : Add "Click Me" Functionality

**Description of feature: **
I will add a functionality in the Click Me button which will convert the HTML file into PDF.
Please assign me this task under hacktoberfest and Enhancement. As this is the bug also because the button is not working so, you can add bug instead, your wish 😸 .

Nice but not at this stage of project.


find_path will raise ValueError incorrectly when it should not

changing the test for raising valueError to correspond to the way we take items from the fringe solves the issue.

done


apns 1.0.0.Beta7p1 not found

Hi,
I'm triying to build the message-server plugin. I already have the message-openfire compiled.
When I try to compile, I get this error
Could not resolve dependencies for project com.magnet.mmx:mmxmgmt:openfire-plugin:2.5.0: Failure to find com.notnoop.apns:apns:jar:1.0.0.Beta7p1
The lastest version in that repo is Beta6.
Please, can you help me?
Greetings.

Then, to build your magnet server, I have to do:
1.- Build your OpenFire version
2.- Build your develop branch of apns
3.- Build your plugin for OpenFire
Is that correct?
Please help me with that, there is no information about the steps that I must follow to get an environment with your magnet server.
Greetings.

You also need to build "message-common" which contains shared classes between server and Java client.  However, you may want to use the pre-built java-apns from our artifactory as:

cp message-server/settings-magnet.xml $HOME   # one time task
cd message-openfire; mvn -s $HOME/settings-magnet.xml clean install -DskipTests
cd message-common; mvn -s $HOME/settings-magnet.xml clean install -DskipTests
cd message-server; mvn -s $HOME/settings-magnet.xml clean install -DskipTests
Please bear with us for the lack of build information; we are in the middle of making our source codes to the public. If you run into any issues building the server, please let us know.

Hi,
First, thanks for your help.
Now it compile and I have the "mmx-standalone-dist-2.5.0.zip". I extracted it to /opt and ran the "mmx_install_dependency.sh" without problems, but when I try to run "mmx.sh start" it get me this error:
Checking port availability
Starting Message web interface ...
rm: no se puede borrar «console/startup.properties»: No existe el archivo o el directorio
touch: no se puede efectuar `touch' sobre «console/startup.properties»: No existe el archivo o el directorio
./mmx.sh: línea 57: console/startup.properties: No existe el archivo o el directorio
./mmx.sh: línea 57: console/startup.properties: No existe el archivo o el directorio
./mmx.sh: línea 96: cd: console: No existe el archivo o el directorio
./mmx.sh: línea 98: ./mmx-console.sh: No existe el archivo o el directorio

Seems that the console is missing, what have we do now?
Greetings.

I copy "message-console-server" to "console" and now it runs.
The server tells me to open "http://<IP_ADDRESS>:3000" but there is nothing there.
If I open "http://<IP_ADDRESS>:9090" I can see the openfire configuration wizard.
Please, can you tell me what should I do now?

The MMX (Magnet Messaging) is just one of the components in our MAX product family.  The MMX has an architectural dependency on other components in MAX; we haven't made all components available to the public.  As you have found, the app console is another component in MAX; this app console serves different purposes from Openfire console.  If you visit https://sandbox.mganet.com (Sandbox server hosted by Magnet as a playground for developers), that web UI is the app console.  Unlike Openfire, MMX cannot be used as a standalone server.  May I ask what you try to do with MMX?

I'm trying to run your software to use it as a private messaging platform (and mobile app) for a small company of a friend.
I saw your web and was thinking that I can use it as a stand alone solution for that friend.
So if I understand what you say, I can't use it for that scenario?
Greetings.

Our software is designed exactly for that purpose.  The only thing we offer as open-source is the messaging engine.  However, the current deployment is SAS; we host the server on Amazon for our customers.  You may consider the 90-day free version first.  If you are satisfied with our product, you can extend it for very cheap price (that is what I was told; check our pricing plan [https://www.magnet.com/plans/].)  In this case, you don't need to think about server deployment; you just focus on the client side application development.


Look for scrollable parent from the single item element

It looks like defining the items renderer as scrollable does not work:
// ...
renderItems(children, ref) {
  return (

{children}

  );
}
renderItem(i) {
  return (
{i}
);
}
render() {
  return (
    <ReactList
      itemsRenderer={this.renderItems}
      itemRenderer={this.renderItem}
      length={10}
    />
  );
}

Looks like the plugin starts checking scrollable parents from the ReactList component. I think it should be better to start from the single item, as the itemsRenderer function could return a scrollable element.

The element returned by the itemsRenderer function must not be scrollable. Customize your scrollable element as a wrapper around <ReactList />.

Ok, would you mind adding a note on itemsRenderer (or under FAQ) so people know about this limitation? Thanks


Unclear the difference between displayAboveTheFold and renderAboveTheFold

We have stats tracking both displayAboveTheFold and renderAboveTheFold for the pages my team owns. From what I understand, the former tracks when the above the fold (designated by the code on the page aka where <TheFold/> element is) has finished being sent down the wire aka rendered by the browser, and the latter tracks when javascript has finished being hooked up to the above the fold, aka when React has hooked into the components. The naming of renderAboveTheFold is not super clear (it is right in that it's the React rendering that it's tracking, but is easily conflated with displayAboveTheFold). Could we consider renaming renderAboveTheFold? I understand that there's some implications to losing historical data with a stats name change, perhaps we could compromise by supporting both the former metric and its newly named version temporarily?

@lidawang You've got it right. display => visible, render => interactive.
What names would your propose for these metrics?  Keep in mind that the *AboveTheFold metrics themselves are part of a family that includes other display and render metrics on a per-RootElement basis.  Those would also have to be renamed to keep everything consistent.
Is this something we could address with documentation?

interactiveAboveTheFold?

interactiveAboveTheFold?

And interactiveElement (where previously there was renderElement)?
Makes sense.  Most other metrics are verbs, but I don't think that's a rule.  I don't even know how consistent we are with it.  But generally metric names coming from React Server core slot well into the question "how long did it take to __________?".

Some documentation could address the issue for now (and probably wouldn't hurt after a rename). Does adding a blurb on https://react-server.io/docs/guides/understanding-rendering seem like the right place?

Yeah, that might be an okay place.  We might also want a "guide to timings" sort of document at some point.  There are a lot of stats coming out of React Server but it's not always clear what they mean if you're not super familiar with the inner workings (this ticket is a case in point).


Incorrect Information

HI,
The document doesn’t correctly reflect the icons on the page.
My screen is showing me a green circle with a tick on a black background - similar but not the same.
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a162ef5c-3099-7f58-4178-d29e3ec2b5a7
Version Independent ID: 6ca31e56-052d-6c62-1323-b5aaaae1f04a
Content: User presence in Teams - Microsoft Teams
Content Source: Teams/presence-admins.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

@mattb1969 Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @mattb1969, thank you for your feedback and help us to improve docs.microsoft.com.
I think you see a white or black tick depending on if you are using dark mode or note:

If you are using dark mode, you will see a black tick on Teams client
If you are using the white mode, you will see a white tick on Teams client

@mattb1969 Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


[Issue] Baubley Heart Canisters Trinkets Version mismtach

Mod 'Baubley Heart Canisters' (bhc) 1.0.2 requires version 3.7.2 of mod 'Accessories Trinkets Compat Layer' (tclayer), but only the wrong versions are present: 3.8.1-alpha.11/3.8.0!

Good to hear such but this is still something I will investigate to prevent within the future as it seems like something that could be reoccurring


[Bug report] Thread pool leak about MySQL catalog when create/drop a large number of tables

Version
main branch
Describe what's wrong

This will finally leads to OOM:

Error message and/or stacktrace
Please see above.
How to reproduce
Repeated create/drop MySQL table
Additional context
No response

Rather than simply dropping the catalog entity data source, it appears that we ought to reuse it.

It' seems that they are class loader leakage


Allow to carry extensions from request to response

As name implies, this PR adds swapping extensions out of Request to Response
I'm somewhat unsure if you'd like to see it or not, but it should help users to carry extra information specific to particular request.
And it allow users to do so outside of Connector

I believe I already have existing code that uses some extensions  as flags, and automatically setting them on the Response when the conditions of the response didn't match would mess up that logic...
However, it seems like setting the same extensions on the response would be possible with a Service middleware, ya?

I believe I already have existing code that uses some extensions as flags, and automatically setting them on the Response when the conditions of the response didn't match would mess up that logic

Eh is that so?
Can I still use extensions for my needs then? 😄
I'm actually need it for my client library rather server side (I don't think Service applies there)
But if it would be better to remain out of hyper itself, we can close PR

Can I still use extensions for my needs then?

Heh, of course! I didn't mean to emphasize my code, so much as if I've written it, I'd suspect others may have too.
And my reference to a Service is because I've been spending so much time in tower, where the client is treated like a Service as well (and will be eventually). Is it not possible to do what you want outside of hyper?

It should be possible with some extra work as client consumes request, but not impossible I guess

@seanmonstar Btw, I was using extensions to store sec-websocket-key which worked quite good😄


Validating florida_provider get_seeds api response

According to https://www.ietf.org/rfc/rfc2616.txt [6.1.1 Status Code and Reason Phrase]  The Status-Code element is a 3-digit integer result code

Hi @ipapapa , @shailesh33  I tried create my own service for florida_provider /REST/v1/admin/get_seeds but the dynomite node couldn't get the seeds as the validation was failing. Then I changed the "200 OK" to "200" and it worked. Please review it once.

@diegopacheco should probably provide some context as we are not using this part internally..


CurrencyTextField not showing decimals onChange

I'm trying to update CurrencyTextField based on another textfield but it doesn't seems to work well.
The problem I'm facing is when I updated hourlySalary to a decimal like 0.02 it always round to 0
Also the button in this view show the decimals in hourlySalary just on the initial state, if I start inputting something in any textFields then it just jumps from 2.0 to 0.0 without showing decimals
`
import SwiftUI
struct ContentView: View {
@State var hourlySalary: Double? = 1.0
@State var montlhySalary: Double? = 0.0
@State var yearlySalary: Double? = 0.0

@State var test: Bool = false

var body: some View {
    ScrollView {
        VStack(alignment: .leading, spacing: 20) {
            Text("Hourly")
            CurrencyTextField(currencyString(amount: 0), value: $hourlySalary)
                .font(.title)

            Text("Monthly")
            CurrencyTextField(currencyString(amount: 0), value: $montlhySalary)
                .font(.title)

            Text("Yearly")
            CurrencyTextField(currencyString(amount: 0), value: $yearlySalary, tag: 10)
                .font(.title)

            Button(action: {
                if test {
                    hourlySalary = 0.5
                } else {
                    hourlySalary = 2
                }
                test.toggle()
            }, label: {
                Text("Button")
            })

        }
        .onChange(of: hourlySalary ?? 0, perform: { value in
            let hourly = value
            let monthly = (hourly * 8) * 20
            let yearly = monthly * 12
            montlhySalary = monthly
            yearlySalary = yearly
        })
        .onChange(of: montlhySalary ?? 0, perform: { value in
            let monthly = value
            let hourly = (monthly / 20) / 8
            let yearly = monthly * 12
            hourlySalary = hourly
            yearlySalary = yearly
        })
        .onChange(of: yearlySalary ?? 0, perform: { value in
            let yearly = value
            let monthly = yearly / 12
            let hourly = (monthly / 20) / 8
            hourlySalary = hourly
            montlhySalary = monthly
        })
        .padding()
        .navigationTitle("What's your salary?")
    }
}

`

I've just tested with Xcode 12 beta 6 and iOS 14 beta 6. Am I seeing something different from what you saw?

This is what I'm seeing:

At the end of the gif I make it work if hourly already have a decimal.
I'm not sure why the button works like that but anyway it's there just as a test.
My main problem is that when I update the yearly field, the hourlySalary fields always gets round up to 0.
For example in the GIF when I type 111 hourly salary become 0.0578125 but I still get 0 in the hourly field, and at 1,111 it should be 0.57 but it rounds it up to 1

I fixed it in the latest release, thanks for letting me know about this issue!

Heres the gif of it working properly:


Callout block support feature request

Why?
We use callouts on our projects to highlight some blocks. And would love to add support for callouts for notion-to-md.
Currently, the library only generates a normal code block in that case
How?
We can convert callouts to a quote block:

💡 Text content of the quote.

@souvikinator would love to help with this :)


"Pick" button stucks in "favorite" state

Open folder picker.
Walk into some known root — "add root" button grays out.
Descend further into some folder — "add root" becomes "favorite".
Go back with "back" button — "favorite" must change back to grayed-out "add root".
Go back again — the button must change to active "add root".

During steps 4 and 5 the "pick" button still has label "favorite".
During step 4 the "pick" button is still active.

Also small technical enhancement: the button is disabled when grayed-out, but we want to show hints when it is pressed.

Implemented in https://github.com/ARK-Builders/ARK-Navigator/pull/108


Webview2 - UWP - Certification Issue

Describe the bug
Inside our UWP App we would like to be able to use WebView2.
This to fix some strange issues some of our users have with "old" WebView.
To get WebView2 in our existing App we are trying this NuGet package:
Microsoft.UI.Xaml 2.8.0-prerelease.210927001
We know WebView2 support in this package is still evaluation.
Still we think it's important the issue we report here is fixed in final release.
Inside the App we can already integrate WebView2 like we wanted using the NuGet Package.
And the App itself runs without any issues with use of WebView2.
However, when we try to submit the App to Windows Store the certification of the App fails.
We checked the Windows App Certification Kit and found WebView2 inside Microsoft.UI.Xaml package is the cause.
See this error information:

Can this please be investigated and fixed?
Thanks!
Steps to reproduce the bug

Create an UWP App
Add Microsoft.UI.Xaml 2.8.0-prerelease.210927001 NuGet package
Use the WebView2 in the User Interface
Build and package the project for Windows Store.
Run Windows App Certification Kit

We are also attaching a sample project:
WebView2 test project.zip
Expected behavior
No response
Screenshots
No response
NuGet package version
No response
Windows app type

[x] UWP
[ ] Win32

Device form factor
No response
Windows version
No response
Additional context
No response

I have been waiting for WebView2 to come out of previous for some time now. While I agree the store should NEVER disallow apps based on preview API's like this -- it should be the developer's decision -- I don't think the store is ever going to change. What is needed is the WebView2 to remove the previous attributes.
@ranjeshj @StephenLPeters I am planning migration away from UWP as soon as possible; however, it cannot be done for some time yet. This WebView2 is needed for existing apps to keep them running ASAP. Please prioritize this for the next release of 2.8. If you need any help to do that please let me know. This is the highest priority issue on my end.

My understanding is that this is a known, high priority issue from the edge team.  @jevansaks FYI.

Try updating the version of the WebView2 nuget package used by your app to the latest prerelease on nuget.org. This should be fixed now.

Try updating the version of the WebView2 nuget package used by your app to the latest prerelease on nuget.org. This should be fixed now.

I thought WebView2 is included in all versions of Windows 10/11 at this point by the system. Then the UWP WinUI 2.x library provides the bindings (and island glue code) to use the system control working in UWP. In my testing there was never any need for a WebView2 nuget package so I'm a little confused by this. That's not mentioned in any of the docs or the nuget listing https://www.nuget.org/packages/Microsoft.Web.WebView2.
Must we use Microsoft.Web.WebView2 with C#/UWP applications?

Try updating the version of the WebView2 nuget package used by your app to the latest prerelease on nuget.org. This should be fixed now.

Updated to the 1.0.156-prerelease of Microsoft.Web.WebView2 package.
The App is now is approved when I submit it to the Microsoft Store.
Windows App Certification Kit on my system is however still showing same issue.
That can however be because it needs an update.
For me this issue is fixed, at least for now.

@mbmleone Are you developing in C# or C++?
We also need to document that the WebView2 Nuget is required. Was not aware.

We are using C#.

Just ran into this issue too. I'm not even using WebView2 but it's now a dependency so was getting the same issue when running WACK validation for store submission.

The issue is the WinUI Nuget is authored incorrectly then. It need to take on a dependency itself for Microsoft.Web.WeView2.
I still don't understand why this is needed though.


Refactor RunTestsCommand

LGTM

Coverage decreased (-0.1%) to 64.413% when pulling a167d86238b6a7cdc49e8616878f8ccbb2ffd203 on run-tests-command-refactor-mikko into 4552e963966ad5c601b4fa2e3da2cce587848414 on master.


Memory leak in CodeEditorWidget

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.86.1
OS Version: Ubuntu 23.04

Steps to Reproduce:

Open an empty text editor
Close the text
Repeat opening and closing an empty text editor several times
Notice that the number of disposables increases each time

Stack Trace
Opening and closing an editor 1997 times results in 3994 disposables with this stack trace:
CodeEditorContributions._register (vscode/out/vs/base/common/lifecycle.js:400:32)
CodeEditorContributions.onAfterModelAttached (vscode/out/vs/editor/browser/widget/codeEditorContributions.js:77:18)
CodeEditorWidget.setModel (vscode/out/vs/editor/browser/widget/codeEditorWidget.js:422:33)
TextFileEditor.setInput (vscode/out/vs/workbench/contrib/files/browser/editors/textFileEditor.js:105:25)
async EditorPanes.doSetInput (vscode/out/vs/workbench/browser/parts/editor/editorPanes.js:313:17)
async EditorPanes.doOpenEditor (vscode/out/vs/workbench/browser/parts/editor/editorPanes.js:207:46)
async EditorPanes.openEditor (vscode/out/vs/workbench/browser/parts/editor/editorPanes.js:110:28)
async vscode/out/vs/workbench/browser/parts/editor/editorGroupView.js:778:69
async AnythingQuickAccessProvider.openAnything (vscode/out/vs/workbench/contrib/search/browser/anythingQuickAccess.js:775:17)

Code
// codeEditorContributions.ts
public onAfterModelAttached(): void {
	this._register(runWhenWindowIdle(getWindow(this._editor?.getDomNode()), () => {
		this._instantiateSome(EditorContributionInstantiation.AfterFirstRender);
	}, 50));
}

// codeEditorWidget.ts
public setModel(_model: ITextModel | editorCommon.IDiffEditorModel | editorCommon.IDiffEditorViewModel | null = null): void {
    // ...
	this._contributions.onAfterModelAttached();
}

When opening an editor,

First the setModel function is called
Then, the setModel function calls contributions.onAfterModelAttached
contributions.onAfterModelAttached adds a disposable to the disposable store

When closing and opening the editor again, the same happens:

First the setModel function is called
Then, the setModel function calls contributions.onAfterModelAttached
contributions.onAfterModelAttached adds a disposable to the disposable store again

This probably causes more and more disposables to be added in CodeEditorContributions.
Possible solution
It seems, disposing the codeEditorContributions disposable (runWhenWindowIdle) when a text editor model becomes detached might be a possible solution. That way, it would be registered when a model is attached and disposed when a model becomes detached:
// codeEditorContributions
public onAfterModelAttached(): IDisposable {
	return runWhenWindowIdle(getWindow(this._editor?.getDomNode()), () => {
		this._instantiateSome(EditorContributionInstantiation.AfterFirstRender);
	}, 50);
}

// codeEditorWidget.ts
public setModel(_model: ITextModel | editorCommon.IDiffEditorModel | editorCommon.IDiffEditorViewModel | null = null): void {
    // ...
	this._contributionsDisposable = this._contributions.onAfterModelAttached();
}

private _detachModel(): ITextModel | null {
   /// ...
	this._contributionsDisposable.dispose()
}

public override dispose(): void {
    // ...
	this._contributionsDisposable.dispose()
	super.dispose();
}

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Thanks a lot!


add CTRL+Enter support

I added a support of key shortcut of Ctrl+Enter to run query as it in Sql Server.
I didn't awaited the code to don't freeze the UI

For those who are searching a compiled version with this feature, I implemented a similar solution. Instead of Ctrl + Enter I implemented F5 like in SQL Management Studio. You can download this version from my fork.


Add ability to automatically choose a joystick button or axis...

... when modifying a project's input settings

If you click the CheckButton "capture", you can then wiggle a joystick (or press a button) and the selection will automatically change to that axis (or button).

Shouldn't this be enabled automatically as long as the dialog is open?

This is a nice feature, but shouldn't this be enabled automatically as long as the dialog is open? It seems a bit annoying that you have to check a CheckButton every time you wish to capture a joystick button or axis. There could be a label to denote that the user can move the joystick or press a button on it to set the value automatically.

I actually had it that way to start with, but the downside is that if you are in some situation where you have extraneous input, and want/need to edit the field manually, it keeps changing out from under you. Maybe too much of a corner case to worry about, but if you do end up in that situation it will be pretty annoying.
I could go either way. Just explaining my rationale.

Feel free to keep this 3.x pull request open in the meantime, but we'll need this feature to also be present on master if we decide to merge it in 3.x.

Was looking at submitting it against the master originally, but it looks like the master is so different it isn't going to be a trivial port. I'll take a look.

It just occurred to me that I could make this setting "sticky". It seems too trivial to make it some editor setting, but I could have it turned off when you open the settings dialog. Then, when you turn it on once, it remembers it was on for the duration of that settings edit "session". You can turn it back off manually, or when you close the settings and reopen them it could be set back off again. Open to options.

Feel free to keep this 3.x pull request open in the meantime, but we'll need this feature to also be present on master if we decide to merge it in 3.x.

Was looking at submitting it against the master originally, but it looks like the master is so different it isn't going to be a trivial port. I'll take a look.

Turns out this type of feature is already in 4.0, so I think it is only useful in 3.x.

For reference, this was added to master in #44181


in_forward RuntimeError after logrotate

After upgrading to td-agent 2.3.2-0 (fluentd 0.12.26) I am seeing some servers crash each morning.
It appears to happen after the logroate each day.
$ cat /etc/logrotate.d/td-agent
/var/log/td-agent/td-agent.log {
  daily
  rotate 30
  compress
  delaycompress
  notifempty
  create 640 td-agent td-agent
  sharedscripts
  postrotate
    pid=/var/run/td-agent/td-agent.pid
    test -s $pid && kill -USR1 "$(cat $pid)"
  endscript
}

$ sudo grep SIGUSR1 /var/log/td-agent/td-agent.log.1
2016-07-28 06:29:05 +0000 [debug]: fluent/supervisor.rb:408:block in install_supervisor_signal_handlers: fluentd supervisor process get SIGUSR1
2016-07-28 06:29:05 +0000 [debug]: fluent/supervisor.rb:552:block in install_main_process_signal_handlers: fluentd main process get SIGUSR1

$ sudo grep RuntimeError /var/log/td-agent/td-agent.log
2016-07-28 06:29:56 +0000 [error]: plugin/in_forward.rb:107:rescue in run: unexpected error error=#<RuntimeError: can't add a new key into hash during iteration> error_class=RuntimeError

Note, there is no stack trace associated with the error.
Nothing special about the forward config:
<source>
  type forward
</source>

I have not been able to reproduce this by sending USR1 myself.

Does this happen with only fluentd v0.12.26?

Hmm... error seems to happen inside Cool.io's run method.
I will check the code.

I don't know if it only happens in that version. I only know it started happening since upgrading to td-agent 2.3.2-0.
It is definitely ongoing, today it brought down 3 of 8 servers. Note, we are running three regions and only the high traffic region was affected (the other 6 servers across two regions remain OK).
Is there another version you would like me to try?
Is there a way to get the stack trace? From the code it appears it should print it but it never shows.

I checked the cool.io code but I can't find "can't add a new key into hash during iteration" code.

Note, there is no stack trace associated with the error.

If you okay, could you paste entire logs here?

That error is a generic Ruby exception. We need to find where in_forward or cool.io is doing that.
Here are logs from this morning:
/var/log/td-agent/td-agent.log.1
2016-07-29 06:31:42 +0000 [trace]: plugin/in_forward.rb:234:initialize: accepted fluent socket from '<IP_ADDRESS>:60987': object_id=70080492968760
2016-07-29 06:31:42 +0000 [trace]: plugin/in_forward.rb:297:respond: sent response to fluent socket
  2016-07-29 06:31:42 +0000 [trace]: plugin/in_forward.rb:302:on_close: closed socket
2016-07-29 06:31:42 +0000 [debug]: fluent/supervisor.rb:408:block in install_supervisor_signal_handlers: fluentd supervisor process get SIGUSR1
2016-07-29 06:31:42 +0000 [debug]: fluent/supervisor.rb:552:block in install_main_process_signal_handlers: fluentd main process get SIGUSR1
2016-07-29 06:31:42 +0000 [info]: fluent/supervisor.rb:553:block in install_main_process_signal_handlers: force flushing buffered events

/var/log/td-agent/td-agent.log
2016-07-29 06:31:43 +0000 [trace]: plugin/in_forward.rb:234:initialize: accepted fluent socket from '<IP_ADDRESS>:10173': object_id=70080498632680
2016-07-29 06:31:43 +0000 [debug]: plugin/input_session.rb:122:on_read: on_read
  2016-07-29 06:31:44 +0000 [trace]: plugin/in_forward.rb:302:on_close: closed socket
2016-07-29 06:31:44 +0000 [trace]: plugin/in_forward.rb:234:initialize: accepted fluent socket from '<IP_ADDRESS>:33779': object_id=70080508162440
2016-07-29 06:31:44 +0000 [trace]: plugin/in_forward.rb:302:on_close: closed socket
... many of these repeated
2016-07-29 06:32:23 +0000 [trace]: plugin/in_forward.rb:234:initialize: accepted fluent socket from '<IP_ADDRESS>:33982': object_id=70080507561160
2016-07-29 06:32:23 +0000 [error]: plugin/in_forward.rb:107:rescue in run: unexpected error error=#<RuntimeError: can't add a new key into hash during iteration> error_class=RuntimeError
2016-07-29 06:32:23 +0000 [debug]: plugin/input_session.rb:122:on_read: on_read
  2016-07-29 06:32:14 +0000 [debug]: fluent/agent.rb:121:rescue in block in flush_recursive: error while force flushing error_class=NoMethodError error=#<NoMethodError: undefined method `outputs' for #<Fluent::RouteOutput:0x007f79c79b37d0>>
2016-07-29 06:32:26 +0000 [debug]: fluent/agent.rb:113:flush_recursive: suppressed same stacktrace
  2016-07-29 06:32:26 +0000 [debug]: fluent/supervisor.rb:561:block (2 levels) in install_main_process_signal_handlers: flushing thread: flushed
  2016-07-29 06:32:26 +0000 [debug]: plugin/out_s3.rb:231:write: out_s3: write chunk: {key:2016-07-29_06,tsuffix:538bff657a8ca444} to s3://com.domain.projecgt/a-logs-prod/fluentd02.region.domain.com/2016-07-29_06_0.gz
  2016-07-29 06:32:26 +0000 [debug]: plugin/out_s3.rb:231:write: out_s3: write chunk: {key:2016-07-29_06,tsuffix:538bff6331a515d7} to s3://com.domain.projecgt/b-logs-prod/2016-07-29_06/other/2016-07-29_06-fluentd02.region.domain.com_0.gz
  2016-07-29 06:32:27 +0000 [debug]: plugin/out_s3.rb:231:write: out_s3: write chunk: {key:2016-07-29_06,tsuffix:538bff6145ba1bf7} to s3://com.domain.projecgt/c-logs-prod/fluentd02.region.domain.com/2016-07-29_06_0.gz
  2016-07-29 06:32:34 +0000 [debug]: plugin/input_session.rb:122:on_read: on_read
  2016-07-29 06:32:44 +0000 [debug]: plugin/input_session.rb:122:on_read: on_read
  2016-07-29 06:32:51 +0000 [trace]: plugin/in_secure_forward.rb:248:block in run: accept tcp connection (ssl session not established yet)
2016-07-29 06:32:51 +0000 [debug]: plugin/input_session.rb:148:start: starting server
2016-07-29 06:32:51 +0000 [trace]: plugin/input_session.rb:150:start: accepting ssl session

The undefined method 'outputs' error is harmless and shows on servers that do not die. It's due to the route plugin not declaring an empty outupts array.
That's the last I see of in_forward until restarting the process:
2016-07-29 08:59:41 +0000 [info]: plugin/in_forward.rb:88:listen: listening fluent socket on <IP_ADDRESS>:24224
2016-07-29 08:59:41 +0000 [debug]: plugin/in_http.rb:103:start: listening http on <IP_ADDRESS>:9880
2016-07-29 08:59:41 +0000 [debug]: plugin/in_monitor_agent.rb:239:start: listening monitoring http server on http://<IP_ADDRESS>:24220/api/plugins
2016-07-29 08:59:41 +0000 [info]: plugin/in_tail.rb:529:initialize: following tail of /var/log/puppet.log
2016-07-29 08:59:41 +0000 [trace]: plugin/in_secure_forward.rb:215:run: setup for ssl sessions
2016-07-29 08:59:41 +0000 [trace]: plugin/in_secure_forward.rb:239:run: start to listen bind="<IP_ADDRESS>" port=24284
2016-07-29 08:59:41 +0000 [trace]: plugin/in_secure_forward.rb:241:run: starting SSL server bind="<IP_ADDRESS>" port=24284
2016-07-29 08:59:41 +0000 [trace]: plugin/in_secure_forward.rb:245:run: accepting sessions
2016-07-29 08:59:41 +0000 [trace]: plugin/in_forward.rb:234:initialize: accepted fluent socket from '<IP_ADDRESS>:29191': object_id=70035891859780
2016-07-29 08:59:41 +0000 [trace]: plugin/in_forward.rb:302:on_close: closed socket
2016-07-29 08:59:41 +0000 [trace]: plugin/in_forward.rb:234:initialize: accepted fluent socket from '<IP_ADDRESS>:46665': object_id=70035891856140
2016-07-29 08:59:41 +0000 [trace]: plugin/in_forward.rb:302:on_close: closed socket

Not sure why there isn't a stack trace for the in_forwrad RuntimeError.

Not sure why there isn't a stack trace for the in_forwrad RuntimeError.

After this error happen, does in_forward stop receiving events?

And if you hit this problem again,
could you send CONT signal to dump internal status?
http://docs.fluentd.org/articles/trouble-shooting#dump-fluentd-internal-information

Yes, in_forward stops receiving events. The other servers retry until the hit a server that's still up (in this environment we use TCP ELB).
I'll forward the sigdump tomorrow morning when it happens again.

I had SIGCONT in the crontab but apparently that doesn't work. Updated to CONT now so should have the dump tomorrow.

Here it is:
Sigdump at 2016-08-04 06:56:01 +0000 process 28007 (/usr/sbin/td-agent)
  Thread #<Thread:0x007f58a219e770> status=run priority=0
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:52:in `backtrace'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:52:in `dump_backtrace'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:34:in `block in dump_all_thread_backtrace'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:33:in `each'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:33:in `dump_all_thread_backtrace'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:16:in `block in dump'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:136:in `open'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:136:in `_open_dump_path'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:14:in `dump'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:7:in `block in setup'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:350:in `call'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:350:in `waitpid'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:350:in `supervise'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:156:in `start'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/command/fluentd.rb:173:in `<top (required)>'
      /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
      /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/bin/fluentd:5:in `<top (required)>'
      /opt/td-agent/embedded/bin/fluentd:23:in `load'
      /opt/td-agent/embedded/bin/fluentd:23:in `<top (required)>'
      /usr/sbin/td-agent:7:in `load'
      /usr/sbin/td-agent:7:in `<main>'
  GC stat:
      count: 23
      heap_used: 261
      heap_length: 261
      heap_increment: 0
      heap_live_slot: 105598
      heap_free_slot: 785
      heap_final_slot: 0
      heap_swept_slot: 48264
      heap_eden_page_length: 261
      heap_tomb_page_length: 0
      total_allocated_object: 440868
      total_freed_object: 335270
      malloc_increase: 1884440
      malloc_limit: 16777216
      minor_gc_count: 17
      major_gc_count: 6
      remembered_shady_object: 698
      remembered_shady_object_limit: 952
      old_object: 44367
      old_object_limit: 78792
      oldmalloc_increase: 5358720
      oldmalloc_limit: 16777216
  Built-in objects:
   106,383: TOTAL
    56,186: T_STRING
    24,576: T_NODE
    11,657: T_ARRAY
     5,506: T_DATA
     2,829: T_OBJECT
     2,014: T_CLASS
     1,460: T_REGEXP
       881: FREE
       818: T_HASH
       137: T_MODULE
       129: T_ICLASS
        59: T_RATIONAL
        46: T_MATCH
        36: T_STRUCT
        35: T_FILE
         9: T_FLOAT
         4: T_BIGNUM
         1: T_COMPLEX

So your problem is reproducible, right?

Here it is:

Sorry, I forgot to mention correct info.
I need parent and child sigdump result.
Your result is parent one. Could you also send SIGCONT to child after same problem happen?

This problem is reoccurring everyday, I think shortly after log rotation. It affects around 50% of the servers unload load (but not the same ones each day). I currently have a cron to restart td-agent each morning.
I should have the child sigdump for you tomorrow.

Child dump:
Sigdump at 2016-08-09 06:56:01 +0000 process 20053 (/usr/sbin/td-agent)
  Thread #<Thread:0x007f22e019e768> status=run priority=0
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:52:in `backtrace'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:52:in `dump_backtrace'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:34:in `block in dump_all_thread_backtrace'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:33:in `each'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:33:in `dump_all_thread_backtrace'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:16:in `block in dump'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:136:in `open'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:136:in `_open_dump_path'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:14:in `dump'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/sigdump-0.2.4/lib/sigdump.rb:7:in `block in setup'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in `call'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in `run_once'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in `run'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/engine.rb:199:in `run'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:570:in `run_engine'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:162:in `block in start'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:366:in `call'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:366:in `main_process'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:339:in `block in supervise'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:338:in `fork'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:338:in `supervise'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/supervisor.rb:156:in `start'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/command/fluentd.rb:173:in `<top (required)>'
      /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
      /opt/td-agent/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in `require'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/bin/fluentd:5:in `<top (required)>'
      /opt/td-agent/embedded/bin/fluentd:23:in `load'
      /opt/td-agent/embedded/bin/fluentd:23:in `<top (required)>'
      /usr/sbin/td-agent:7:in `load'
      /usr/sbin/td-agent:7:in `<main>'
  Thread #<Thread:0x007f22d6a95b78> status=sleep priority=0
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb:174:in `sleep'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb:174:in `wait'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb:174:in `cond_wait'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb:158:in `run'
  Thread #<Thread:0x007f22d88a4790> status=sleep priority=0
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb:174:in `sleep'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb:174:in `wait'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb:174:in `cond_wait'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb:158:in `run'
<...snip - repeated over 50 times...>
  Thread #<Thread:0x007f22d880edf8> status=sleep priority=0
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in `run_once'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in `run'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/plugin/in_http.rb:131:in `run'
  Thread #<Thread:0x007f22d93f4b68> status=sleep priority=0
      /opt/td-agent/embedded/lib/ruby/2.1.0/webrick/server.rb:170:in `select'
      /opt/td-agent/embedded/lib/ruby/2.1.0/webrick/server.rb:170:in `block in start'
      /opt/td-agent/embedded/lib/ruby/2.1.0/webrick/server.rb:32:in `start'
      /opt/td-agent/embedded/lib/ruby/2.1.0/webrick/server.rb:160:in `start'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/plugin/in_monitor_agent.rb:251:in `block in start'
  Thread #<Thread:0x007f22d93e67c0> status=sleep priority=0
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in `run_once'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in `run'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/plugin/in_tail.rb:253:in `run'
  Thread #<Thread:0x007f22d93e6298> status=sleep priority=0
      /opt/td-agent/embedded/lib/ruby/2.1.0/openssl/ssl.rb:302:in `accept'
      /opt/td-agent/embedded/lib/ruby/2.1.0/openssl/ssl.rb:302:in `accept'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-secure-forward-0.4.1/lib/fluent/plugin/in_secure_forward.rb:247:in `block in run'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-secure-forward-0.4.1/lib/fluent/plugin/in_secure_forward.rb:246:in `loop'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-secure-forward-0.4.1/lib/fluent/plugin/in_secure_forward.rb:246:in `run'
  Thread #<Thread:0x007f22d93e3728> status=sleep priority=0
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/engine.rb:167:in `sleep'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/engine.rb:167:in `log_event_loop'
  Thread #<Thread:0x007f22d92e99d0> status=sleep priority=0
      /opt/td-agent/embedded/lib/ruby/2.1.0/webrick/utils.rb:176:in `sleep'
      /opt/td-agent/embedded/lib/ruby/2.1.0/webrick/utils.rb:176:in `block in initialize'
  Thread #<Thread:0x007f22c5af8f18> status=sleep priority=0
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-secure-forward-0.4.1/lib/fluent/plugin/input_session.rb:190:in `sleep'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-secure-forward-0.4.1/lib/fluent/plugin/input_session.rb:190:in `rescue in block in start'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-secure-forward-0.4.1/lib/fluent/plugin/input_session.rb:179:in `block in start'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-secure-forward-0.4.1/lib/fluent/plugin/input_session.rb:178:in `loop'
      /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-plugin-secure-forward-0.4.1/lib/fluent/plugin/input_session.rb:178:in `start'
  GC stat:
      count: 145104
      heap_used: 1312
      heap_length: 1506
      heap_increment: 393
      heap_live_slot: 201530
      heap_free_slot: 333225
      heap_final_slot: 0
      heap_swept_slot: 251987
      heap_eden_page_length: 919
      heap_tomb_page_length: 393
      total_allocated_object:<PHONE_NUMBER>6
      total_freed_object:<PHONE_NUMBER>6
      malloc_increase: 1499360
      malloc_limit: 33554432
      minor_gc_count: 133663
      major_gc_count: 11441
      remembered_shady_object: 3401
      remembered_shady_object_limit: 6770
      old_object: 164585
      old_object_limit: 328906
      oldmalloc_increase: 76018752
      oldmalloc_limit: 134217728
  Built-in objects:
   534,755: TOTAL
   333,135: FREE
    92,874: T_STRING
    32,618: T_ARRAY
    22,405: T_DATA
    16,743: T_OBJECT
    14,487: T_NODE
    13,997: T_HASH
     5,387: T_CLASS
     1,452: T_REGEXP
       705: T_ICLASS
       397: T_MODULE
       317: T_STRUCT
       105: T_MATCH
        65: T_RATIONAL
        45: T_FILE
        13: T_BIGNUM
         9: T_FLOAT
         1: T_COMPLEX

As far as I checked v0.12 code, signal handler for SIGUSR1 does iteration for @buffer.keys without any locks/mutex.
https://github.com/fluent/fluentd/blob/v0.12/lib/fluent/supervisor.rb#L551
https://github.com/fluent/fluentd/blob/v0.12/lib/fluent/agent.rb#L116
https://github.com/fluent/fluentd/blob/v0.12/lib/fluent/output.rb#L293
If the running thread changes from this thread to another thread which is trying to add another key from in_forward to @buffer.keys, it raises this error.
@repeatedly Can you provide a patch to protect @buffer.keys by mutex, or just do @buffer.keys.dup.each(I think this works well for this case) in force_flush to see whether the patch can improve the situation or not?
(v0.14 has lock to guard for such situation)

@tagomoris Ah, I forgot to check signal handler path. I will write a patch.

@Yanson I attached a patch for this problem.
Could you try it on your environment?
One easier way is download output.rb, wget https://raw.githubusercontent.com/fluent/fluentd/36f2c359286c78489b7d71b22412dbf727c32e60/lib/fluent/output.rb, and copy it into your fluentd's lib/fluent/output.rb

Applied it to the env. Should be able to tell if it worked by tomorrow.

One server still seemed to be affected after the fix. Let's give it a few more days to verify. I'll report back on Tuesday.

Thanks!

I'm afraid this is still happening. Either I applied it to the wrong file or it's not the cause of the issue.
# grep SIGUSR1 /var/log/td-agent/td-agent.log.1
2016-08-30 06:41:24 +0000 [debug]: fluent/supervisor.rb:408:block in install_supervisor_signal_handlers: fluentd supervisor process get SIGUSR1
2016-08-30 06:41:24 +0000 [debug]: fluent/supervisor.rb:552:block in install_main_process_signal_handlers: fluentd main process get SIGUSR1

# grep RuntimeError /var/log/td-agent/td-agent.log
2016-08-30 06:41:35 +0000 [error]: plugin/in_forward.rb:107:rescue in run: unexpected error error=#<RuntimeError: can't add a new key into hash during iteration> error_class=RuntimeError

# find /opt/td-agent -name output.rb
/opt/td-agent/embedded/lib/ruby/2.1.0/rexml/output.rb
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/test-unit-3.1.9/lib/test/unit/util/output.rb
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluent-mixin-plaintextformatter-0.2.6/test/output.rb
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.10.61/lib/fluent/output.rb
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/ruby-progressbar-1.7.5/lib/ruby-progressbar/output.rb
/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb

# grep<EMAIL_ADDRESS>/opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/output.rb
      buf_keys = @buffer.synchronize { @buffer.keys }
          @buffer.keys.each {|key|
          @buffer.keys.each {|key|
        buf_keys = @buffer.synchronize { @buffer.keys }

Hmm... I see.
I update my patch, https://github.com/fluent/fluentd/pull/1181, to make lock scope longer to check enqueue_buffer has a problem or not.
If you have a time, could you apply new patch again?
Sorry for the inconvenience...

No problem, I've applied it.
If I haven't reported back by this time tomorrow, please ping me as I am going on holiday soon and expect this environment to be torn down by my return. We only have one more opportunity to apply a patch and test it.

Sorry. This updated patch hasn't helped.

Hmm... so the problem doesn't happen inside buffer operations.

Happened error is same as before, right?

Yeah, I verified it as shown in #issuecomment-243428071.

I've been able to reproduce this today by forcing logrotate:
sudo logrotate -f /etc/logrotate.d/td-agent

I've also tried changing @map.each_key to @map.keys.each in buf_file.rb and buf_memory.rb but it hasn't helped. Maybe fixing the error_backtrace will give us some more clues?

Maybe fixing the error_backtrace will give us some more clues?

Yeah, it may help.
Could you apply following patch? log.puts(e.backtrace) simply outputs the backtrace of error.
diff --git a/lib/fluent/plugin/in_forward.rb b/lib/fluent/plugin/in_forward.rb
index f303757..f5e1078 100644
--- a/lib/fluent/plugin/in_forward.rb
+++ b/lib/fluent/plugin/in_forward.rb
@@ -107,7 +107,7 @@ module Fluent
       @loop.run(@blocking_timeout)
     rescue => e
       log.error "unexpected error", error: e, error_class: e.class
-      log.error_backtrace
+      log.puts(e.backtrace)
     end

     private

@Yanson is on leave and I'm picking up where he left off.
I've applied the patch but the backtrace only goes as far as where coo.io attaches it to an event loop. I presume that the backtrace is lost after this but that this is not the cause.
2016-09-06 08:57:01 +0000 [error]: plugin/in_forward.rb:107:rescue in run: unexpected error error=#<RuntimeError: can't add a new key into hash during iteration> error_class=RuntimeError /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/io.rb:35:in `attach' /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/io.rb:35:in `attach' /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/io.rb:35:in `attach' /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/socket.rb:39:in `attach' /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/server.rb:40:in `on_connection' /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/listener.rb:46:in `on_readable' /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in `run_once' /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/cool.io-1.4.4/lib/cool.io/loop.rb:88:in `run' /opt/td-agent/embedded/lib/ruby/gems/2.1.0/gems/fluentd-0.12.26/lib/fluent/plugin/in_forward.rb:105:in `run'

In cool.io, watcher's attach / detach access @watchers hash object, but it seems no problem because these methods don't iterate hash object.
If you okay, could you test this problme with latest fluentd v0.14.5?
Executing /usr/sbin/td-agent-gem install fluentd -v 0.14.5 instead of applying patch is enough.
I'm not sure what the plugins do you use but latest v0.14 should cover existing plugins.

Our config is not compatible with v0.14.5
2016-09-06 21:38:26 +0000 [error]: config/section.rb:158:block in generate: config error in:
<buffer time>
  flush_mode interval
  retry_type exponential_backoff
  flush_thread_count 4
  flush_interval 10
  flush_thread_interval 2
  retry_forever
  retry_max_interval 300
  chunk_limit_size 8m
  queue_length_limit 128
  timekey 86400
</buffer>

2016-09-06 21:38:26 +0000 [error]: fluent/supervisor.rb:608:rescue in main_process: config error file="/etc/td-agent/td-agent.conf" error="'path' parameter is required"

Rather than updating we'd like to find and patch the error in v0.12.26
My suspicion is that cool.io is swallowing the error. I haven't looked at the code in detail but is there somewhere we can put error handling after the cool.io event is dispatched back into fluent code to try to log the error?

Our config is not compatible with v0.14.5

Could you paste your configuration here without sensitive information?
Buffer related parameters should work without any changes.

My suspicion is that cool.io is swallowing the error.

@nurse Cool.io is C extension and does it cut stacktrace information?

@repeatedly In C extension there's C level stacks.
But in Ruby level backtrace they don't appear.
#<RuntimeError: can't add a new key into hash during iteration> is raised by Ruby's C API, which seems to be called by cool.io.
If we can reproduce the issue, we catch the exception with GDB or investigate with custom built Ruby...

Our environment is no longer available to test/reproduce the issue so I'm afraid I'll have to bow out of this thread.

I see. Currenlty, this problem happened on only your environment, so temporarily closed.
If anyone hits this problem, reopen this issue!


fix swapping components with shared source

cc @stevenmiller888 @anthonyshort this demos/fixes an issue with sources, where old entity refs needed to be removed when a component with sources is removed, and later another component source updates.

Can we remove the list of entities from the component? That always seemed weird and keeping it in sync seems code-smelly. I can't even remember why that object exists :P

Definitely good call haha, yeah it should be gone


Document listenerClass usage in operators or global concepts page

We currently do not document properly how our services are created.
After https://github.com/stackabletech/issues/issues/360 we do not create NodePorts per default, this changes the way users interacted with our products (you explicitly have to set the listenerClass if you want a NodePort).
This should be fixed in each operator, or a global concepts page should be created and linked to in each operator.

While we're at it we should look at the CRD level docs for the listenerClass as well as that doesn't seem to be entirely proper english.

We should add the listenerClass: external-unstable in all getting started guides and examples as well. Otherwise you might install it but are not able to interact with the UI.

Maybe already done: https://docs.stackable.tech/home/stable/concepts/service-exposition.html
Check during refinement

Can this issue be closed?

damnit! Yes, forgot it again ..


#126 Solution for problem #10.

Thanks Ruslan, for joining me on the journey to 2.0.0 :)

just interesting project :)

:+1:


Dockerize app, add workflow for pushing to GHCR

Adds a Dockerfile based on node:lts-alpine to minimize image size
Adds a gh-workflow to build & push the image to the GHCR

Regards #333.


Completed-By G-Sheets Column

Adding a column in Google Sheets for the person who completed it.
This is for better, more concise record keeping, instead of relying on scrolling through Slack.

Does Google Sheets allow for data to be written to it via the Sheets API?

I've believe I've done it in Python (and mSL 😩) previously.  So, I believe so. Just needs a token.

If we also do this, it leaves the door open to archive Completed Tasks in a separate sheet on the same Google Spreadsheet and other possibilities like carry over tasks from previous nights that were not completed.


Refactored #assert_raise and #assert_nothing_raised

assert_nothing_raised didn't check the given exceptions anyway.

assert_raise API is changed accidentally.  Before this pull request was merged, assert_raise checked that the raised exception was one of the arguments of assert_raise.  Now we can specify only one exception class.

Ok, I'm going to fix that. But I'm curious in which cases you use it that way. Because only the first raised exception will be catched in assert_raise anyway.

This test case (a regression test for #2800) raises TypeError on master and 1.3.0 but ArgumentError on 1.2.0 and our stable version of mruby based on 1.1.0.  It should accept both TypeError and ArgumentError to run it on multiple versions of mruby.
Thanks for the fix!

Ah, ok. Thanks for clearing that up.


[turborepo]  Cannot start turbo build on macos m1

What version of Turborepo are you using?
1.7.0-canary.7
What package manager are you using / does the bug impact?
npm, pnpm
What operating system are you using?
Mac
Describe the Bug
RUST_BACKTRACE=1 turbo build
thread 'main' panicked at 'Failed to execute turbo.: Os { code: 2, kind: NotFound, message: "No such file or directory" }', crates/turborepo/src/main.rs:21:10
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: turbo::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Expected Behavior
Works fine.
To Reproduce
pnpm install turbo --global
turbo build

Reproduction Repo
No response

Hey @polRk! Thanks for helping us test out the canaries!
We have a stable 1.7.0 out now that I would recommend switching to that should fix this issue.
You can grab it with:
pnpm install turbo@latest --global

If you'd like yo stay on the bleeding edge, we have a 1.7.1 canary out that should fix this and also be pretty stable. Try that one out with:
pnpm install turbo@canary --global

Hi @tknickman !
I have the same issue with the 1.7.1 while I did not have it with the 1.7.0. Should we stick to the 1.7.0 for a while or is there something we can do to fix it?
Thanks in advance for your answer!

Hey, got it thanks @vinassefranche. So installing globally isn't working with turbo@canary, but it is working with 1.7.0@latest

It's installed with yarn in a project.
With "turbo": "^1.7.0", in our package.json, it works fine but I have the same error message as mentioned in this issue if I set it to "turbo": "^1.7.1",

I just tested with yarn add -D turbo@latest and yarn add -D turbo@canary and it does not work in both case. It only works if I set the version to be 1.7.0

Sorry, I'm completely wrong on the versions 😞
It works fine with 1.6.3 but not with any 1.7.X version

I've tried to reproduce the issue on small repo and it seems like the issue is linked to our use of yarn's plug and play.

If I set nodeLinker: node-modules in my yarn config file, I don't have the issue.
If I set nodeLinker: pnp in my yarn config file, I have the issue.

I've tried to reproduce the issue on small repo

Could you push this up somewhere so someone from the team can try to repro?

Here it is: https://github.com/vinassefranche/turbo-issue-with-pnp/tree/main
The steps to reproduce are in the repository's readme

Hey @vinassefranche thanks for the repro! Unfortunately we don't officially support the pnp linker, we only support node-modules as of now.
That being said, we have another issue tracking this, so I'm going to close this one only to consolidate reports.
Duplicate of https://github.com/vercel/turbo/issues/3370

Hi @tknickman,
Thanks for looking at this! I'll subscribe to the other issue then.


[CANNOLI-198] Bump ADAM dependency version to 0.29.0

Fixes #198

Coverage remained the same at 13.751% when pulling f439444d759c17db088928a9bc09e4465f1e26c2 on heuermh:adam-0.29.0 into 17f30966cb8db5b2f4e201a06acbeea0135c2923 on bigdatagenomics:master.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/cannoli-prb/193/
Test PASSed.


How to delete rows?

I was trying to figure out how to set up a mechanism where I could swipe a row and delete an element. That might not be quite the right place to put this, but it is going to be one of the things that people using CollectionViews will want to know how to do, so a reference to the right page would be great.
[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: c12f52df-38dd-8dbd-bd9f-c10ad2831243
Version Independent ID: c12f52df-38dd-8dbd-bd9f-c10ad2831243
Content: Configure CollectionView item selection - .NET MAUI
Content Source: docs/user-interface/controls/collectionview/selection.md
Product: dotnet-mobile
Technology: dotnet-maui
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @mprogers
The solution is to use a SwipeView with your CollectionView. But yeah, a fair comment that it needs adding to the CV docs.


Citing correctly

This is a response to my observation that even recently published papers provide an incorrect explanation for the acronym "UAVCAN".

@thirtytwobits nudge


Connection upgrade

Does pion/ice support switching a connection to better candidates once they become available?
With better, I mean candidate pairs with a higher priority? E.g. switching from relay candidates back to host candidates?

Hey @stv0g
You will have to do this manually with a ICE Restart
Auto switching back and forth is not something the protocol itself supports. There was some discussion in the IETF here not sure where it went.

You should email Jonas Oreland, Harald Alvestrand and ask about it!

Thanks for the clarification Sean :) I will close the issue then :)


OCPBUGS-26513: Add Type for CopyImageSchema; Skip graph for IDMS; Fix UpdateService

Description
This PR introduces a Type for CopyImageSchema.
Type is following v1alpha2.ImageType, with possible values:

TypeOCPRelease
TypeOCPReleaseContent
TypeCincinnatiGraph
TypeOperatorCatalog
TypeOperatorBundle
TypeOperatorRelatedImage
TypeGeneric

This enables us to later distinguish and exclude the graph image from the list of images passed to clusterresource Generator interface (responsible for IDMS/ITMS/UpdateService generation) when generating IDMS.
In this PR, we also switch to using the destination reference of the graph image in the updateService.yaml custom resource instead of the source reference (in oc-mirror cache).
Fixes # OCPBUGS-26513
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
With the following imagesetconfig, perform MirrorToDisk, followed by DiskToMirror, and control the IDMS file generated.
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
mirror:
  platform:
    channels:
    - name: stable-4.14
      minVersion: 4.14.2
      maxVersion: 4.14.2
    graph: true

Expected Outcome
IDMS file generated doesn't contain an entry for source: localhost:55000/openshift:
apiVersion: config.openshift.io/v1
kind: ImageDigestMirrorSet
metadata:
  creationTimestamp: null
  name: idms-2024-01-09t14-10-17z
spec:
  imageDigestMirrors:
  - mirrors:
    - localhost:5000/openshift-release-dev
    source: quay.io/openshift-release-dev
status: {}

/hold

/unhold

Done pre-merge test , no issue now

/label qe-approved

/lgtm


Implement feature to specify default value

This adds the ability to specify an expression as the default value fallback (as already specified in README.md). This implementation is inspired by structopt-derive. To be able to parse custom expressions we have to move away from using Meta and rather use our own Parse implementation, hence there is a bit of rewriting going on here. However this was a really fun PR to make, as it's my first time working with syn and proc_macro.

Pretty good job!

Thank you 😁


Set custom program name for the built-in LSP server

This PR sets custom program name for the built-in LSP server.
Before:
$ ps aux | grep rubocop
user  17414  0.0  0.2  5557716 144376  ??  Ss  4:48PM  0:02.13 /Users/user/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/bin/rubocop --lsp

After:
$ ps aux | grep 'rubocop'
user  17414  0.0  0.2  5557716 144376  ??  Ss  4:48PM  0:02.13 rubocop --lsp /Users/user/src/github.com/rubocop/rubocop

When searching for the LSP server process, it is helpful to display the path to the project root instead of the Ruby command path. This approach is already being implemented in server mode: https://github.com/rubocop/rubocop/blob/v1.63.2/lib/rubocop/server/core.rb#L31

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Nice change!


Video call filter like facebook and others

Is there any way to add filter in video calling.
Please let me know

you can use the raw-data plugin, and use it with third-party video filter SDK.

you can use the raw-data plugin, and use it with third-party video filter SDK.

I will close this issue, you can reopen it if the issue still exists.


How to prepend env variable?

Discussed in https://github.com/dagger/dagger/discussions/5001

Originally posted by wingyplus April 21, 2023
I want to install something and append it to PATH to make it accessible. So how to prepend the new directory into the env variable as we do with PATH?

Your suggestion seemed elegant to me @vito: https://github.com/dagger/dagger/discussions/5001#discussioncomment-5689641


[ Compiler ] add batch norm layer realizer

This patch includes skeleton code for bn realizer which removes the
batch normalization layer for inference
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1881. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

Can we restore bn_layer after batch norm layer realizer is applied?

Can we restore bn_layer after batch norm layer realizer is applied?

Well, this is only for inference. We will call this realizer when we save the model for the inference. It does not modify the original model described by user.


IDVA6-1570 Add logging for env variables

Link to Jira
https://companieshouse.atlassian.net/browse/IDVA6-1570
Description
Add some logging for tracking / troubleshooting env variables

CI: No security warnings found


landscape layout for Nextion Display 7-10 inch and more the same page in HASP

I have a Nextion 7 inch and it look so not really well with portrait layout, so can I have fix some code to make it work as a landscape layout? I intend to buy a bigger one for nextion 10 inch, but if it can not work with landscape layout so it look so good. BTW, what should I do if I want more pages in HASP Page, example, I want 03 page 9 and 03 page 7 for all my suitable devices, is it possible?
Thanks for your help.

Both of the above are possible, but you're going to need to do a bit of work in the Nextion editor.  Also, the 10 inch model pulls more current than the power supply on the PCB can handle, so you'll either need external power or you'll need to develop your own PCB with footprint for a much larger display.
So, possible on both accounts, but not straightforward.  You'll have some work in front of you to make it happen.

thanks aderusha, beside the power supply and a bit of work in the Nextion editor to resize the layout, so how about esp sketch and Home_Assistant/blueprints? where is I can begin exactly?

The ESP side should work fine, and the blueprints should work with the exception of the 4 "with icon" blueprints, which would need to be modified to place the overlay icon in the right spot.  That's mostly a cosmetic issue, and others have done similar work with other sizes of Nextion device.


Update project url and source to use HTTPS

Git clones of http do not follow the https redirect github provides.

This will require publishing a new version to the forge as well.