New "Update" page

First iteration of this on top of Bettina's rework. Open for comments/discussion!

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
85
72
18
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit 749dafa:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
85
72
18
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit 94ec12d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
85
72
18
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit cae852f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit d5a2ae4:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
86
74
18
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit 1d423cd:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
86
69
19
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit e03e84d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
86
69
19
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit 7e135a3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
86
69
17
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit a0f3ba1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
87
69
17
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
87
69
17
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit 58d4489:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
87
69
17
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit b04c5c8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
87
69
16
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit fb83432:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
88
69
15
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit 51757d2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
88
69
15
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

articles/install-guide/update.md
88
69
15
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Docs Build status updates of commit c6536a0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 0cd72f6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/install-guide/update.md
:white_check_mark:Succeeded
View (qsharp-preview)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@bromeg got all the changes applied. Let me know if we're good to merge, and I'll make the new PR to address those open questions.

Opened PR #636 to address the minor open questions


Attachemnts control is not fully disabled

Category
[ ] Enhancement
[x] Bug
[ ] Question
Version
Please specify what version of the library you are using: [  2.0.0  ]
Expected / Desired Behavior / Question
I am disabling the empty (no attachments) attachments control - user cannot add attachments.
Observed Behavior
The button "Add Attachment" is disabled by the red "Add" button is still enabled (this button is visible only when there are no attachments).
Steps to Reproduce
Thanks!

Assign to me.

@AdiuTankT72 Thanks for reporting this issue. 👍

Thank you @AdiuTankT72 for reporting the issue and thank you @Abderahman88 for quick fix!
It will be included in the next release.
In a meanwhile you can test the functionality in beta version


Limit of 12 rules

"This scheme enables messaging entities to declare up to 12 authorization rules in their description that grant rights on that entity."
Has this limit been removed? Portal seems to allow more than 12 rules to be created.

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

ID: b6772544-9a3d-c24c-cdc4-0ffc7cab680f
Version Independent ID: 78f6255c-4195-bd81-cac8-78afe3dae716
Content: Notification Hubs Security
Content Source: articles/notification-hubs/notification-hubs-push-notification-security.md
Service: notification-hubs
GitHub Login: @jwargo
Microsoft Alias: jowargo

@vitaly-livshits, Thanks for the question! We are taking a look into this and will get back to you soon.

@vitaly-livshits yeah, it sure does look that way. I have Engineering taking a look.

fixed: https://github.com/MicrosoftDocs/azure-docs-pr/pull/86092

@vitaly-livshits We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Can't open channels. Funding txs doesn't exist

Background
Hello,
suddenly I notice that I can't open channels. Funding tx doesn't exist and my channels remain in pending state forever.
Yesterday I've opened a channel with 02cdf83ef8e45908b1092125d25c68dcec7751ca8d39f557775cd842e5bc127469
"pending_open_channels": [
    {
        "channel": {
            "remote_node_pub": "02cdf83ef8e45908b1092125d25c68dcec7751ca8d39f557775cd842e5bc127469",
            "channel_point": "1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0",
            "capacity": "1000000",
            "local_balance": "998551",
            "remote_balance": "0"
        },
        "confirmation_height": 0,
        "commit_fee": "1449",
        "commit_weight": "600",
        "fee_per_kw": "2002"
    },

Here is my log obtained by grepping the channel_point in lnd.log
funding.log
In my backend bitcoin core (bitcoind) I have a lot of these errors:
ERROR: AcceptBlockHeader: Consensus::CheckBlockHeader: 0fd7ab36246daf61802e10a0316cc2b0f17a1d6404bfdd53878ba34e158b4680, high-hash, proof of work failed (code 16)
ERROR: AcceptBlockHeader: prev block not found
I don't know if it's normal.
Thanks in advice to all those who want to help me
Your environment
lnd-0.5
linux
bitcoind-0.17.0

It seems that the transaction is not in the mempool. The output of the command is:
error code: -5
error message:
No such mempool or blockchain transaction. Use gettransaction for wallet transactions.
The channel appears in lncli pendingchannels:
"pending_open_channels": [
    {
        "channel": {
            "remote_node_pub": "02cdf83ef8e45908b1092125d25c68dcec7751ca8d39f557775cd842e5bc127469",
            "channel_point": "1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0",
            "capacity": "1000000",
            "local_balance": "998551",
            "remote_balance": "0"
        },
        "confirmation_height": 0,
        "commit_fee": "1449",
        "commit_weight": "600",
        "fee_per_kw": "2002"
    },

The only errors I have on my bitcoind , in addition of the 2 mentioned before is:
socket recv error Connection reset by peer (104)
I don't have a RPC connection between bitcoind and lnd. I used .cookie file and everything seems ok by this side.
Thanks

In that case, we can see the transaction being broadcast in the logs. Just look for Broadcasting funding tx for ChannelPoint(1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95 and the transaction should show below.

Found it in lnd.log:
2018-10-25 10:17:10.281 [INF] FNDG: Broadcasting funding tx for ChannelPoint(1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0): (*wire.MsgTx)(0xc0020c3540)({
Version: (int32) 1,
TxIn: ([]*wire.TxIn) (len=3 cap=15) {
(*wire.TxIn)(0xc00079d2c0)({
PreviousOutPoint: (wire.OutPoint) 0a0db5112f9b9e063ee145f67f333735f7de11c8336c606d2754617c7b3ae0eb:0,
SignatureScript: ([]uint8) ,
Witness: (wire.TxWitness) (len=2 cap=2) {
([]uint8) (len=71 cap=144) {
00000000  30 44 02 20 1c 04 af 66  15 54 2b fd c2 d4 05 b0  |0D. ...f.T+.....|
00000010  bb 05 51 4b 15 09 e2 2c  4c 48 5d e2 13 22 e9 ce  |..QK...,LH].."..|
00000020  92 a8 4c 71 02 20 06 26  9f 0d 20 b4 d8 ff 10 60  |..Lq. .&.. ....|      00000030  87 9b fc 22 ca 79 86 91  78 96 f9 30 18 b4 7f 21  |...".y..x..0...!|      00000040  3b 62 59 44 75 a8 01                              |;bYDu..|     },     ([]uint8) (len=33 cap=33) {      00000000  02 0d 5b 27 20 d7 53 68  d0 85 03 0f 20 6c e9 6d  |..[' .Sh.... l.m|      00000010  1f 63 92 1b 60 7f 53 7d  3d 3c 91 89 0c 9c d4 5b  |.c...S}=<.....[|
00000020  72                                                |r|
}
},
Sequence: (uint32)<PHONE_NUMBER>
}),
(*wire.TxIn)(0xc00079d260)({
PreviousOutPoint: (wire.OutPoint) 55c28b5397b1da9be891c023a15904f41b06591c1f59e05c3e8bedaff60a4a5e:0,
SignatureScript: ([]uint8) ,
Witness: (wire.TxWitness) (len=2 cap=2) {
([]uint8) (len=71 cap=144) {
00000000  30 44 02 20 3a 3c 14 ac  42 21 53 01 a1 13 9e d7  |0D. :<..B!S.....|
00000010  91 c5 80 38 05 c7 a1 f9  68 72 84 b3 80 1f e5 15  |...8....hr......|
00000020  4d cd 84 0e 02 20 45 a1  a6 22 5c 16 db 46 df eb  |M.... E.."..F..|
00000030  e5 e1 33 56 59 af c0 50  b3 5a 41 65 fb 73 fb c6  |..3VY..P.ZAe.s..|
00000040  be a2 ab 94 f9 25 01                              |.....%.|
},
([]uint8) (len=33 cap=33) {
00000000  03 e4 eb fe 5c b0 11 c8  bd 22 c6 cf a0 75 77 2b  |........"...uw+|
00000010  41 14 12 5c d2 fb 11 cb  a3 7c ee 4c 6f f2 bb f9  |A.......|.Lo...|
00000020  d0                                                |.|
}
},
Sequence: (uint32)<PHONE_NUMBER>
}),
(wire.TxIn)(0xc00079d200)({
PreviousOutPoint: (wire.OutPoint) fbb4c1c5560b3b54608428a2355f7a06aedba5408b00b8bc68aade3b0b8d8e64:1,
SignatureScript: ([]uint8) ,
Witness: (wire.TxWitness) (len=2 cap=2) {
([]uint8) (len=71 cap=144) {
00000000  30 44 02 20 2f 99 bf 44  aa 3a d0 c4 8a 98 1f 37  |0D. /..D.:.....7|
00000010  20 a7 26 03 7d 97 85 95  87 14 96 21 f1 fe 99 af  | .&.}......!....|
00000020  06 bc 10 2a 02 20 13 3e  57 cf 38 cd 2b 62 cf 9f  |.... .>W.8.+b..|
00000030  da d5 b6 9f f3 40 fb 00  e3 4b 6d 42 ef e6 c1 17<EMAIL_ADDRESS>00000040  70 3c 18 34 57 87 01                              |p<.4W..|
},    ([]uint8) (len=33 cap=33) {
00000000  02 29 85 52 a9 5a 01 e8  5a a9 24 ae 0b 0e 01 2d  |.).R.Z..Z.$....-|
00000010  e2 04 6b 70 85 21 48 04  f2 51 fc 6d 37 c8 01 0f  |..kp.!H..Q.m7...|
00000020  22                                                |"|
}
},
Sequence: (uint32)<PHONE_NUMBER>
})
},
TxOut: ([]*wire.TxOut) (len=2 cap=15) {
(*wire.TxOut)(0xc000672d40)({
Value: (int64) 1000000,
PkScript: ([]uint8) (len=34 cap=500) {
00000000  00 20 ca 09 3f 4b 0d 39  c7 f2 bf 14 f5 6e 5f 71  |. ..?K.9.....n_q|
00000010  36 a9 85 c5 1a ef 2e ac  94 3f 91 7c 48 8e 9c cf  |6........?.|H...|
00000020  8f 99                                             |..|
}
}),
(*wire.TxOut)(0xc0006ac6e0)({
Value: (int64) 1054320,
PkScript: ([]uint8) (len=22 cap=500) {
00000000  00 14 5e 96 ba 9d 43 04  e6 de 31 56 bc a0 b7 68  |..^...C...1V...h|
00000010  b0 95 8a cc c1 1d                                 |......|
}
})
},
LockTime: (uint32) 0
})
2018-10-25 10:17:10.285 [INF] LNWL: Inserting unconfirmed transaction 1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95
2018-10-25 10:17:10.594 [ERR] FNDG: unable to broadcast funding txn: Transaction rejected: output already spent
2018-10-25 10:17:10.594 [INF] CNCT: Creating new ChannelArbitrator for ChannelPoint(1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0)
2018-10-25 10:17:10.595 [INF] NTFN: New block epoch subscription
2018-10-25 10:17:10.607 [INF] CNCT: ChannelArbitrator(1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0): starting state=StateDefault
2018-10-25 10:17:10.612 [INF] NTFN: New spend subscription: utxo=1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0
2018-10-25 10:17:10.970 [INF] FNDG: Finalizing pendingID(0ea319931b29b98fef3355754e10998db5e98003491485bf91941ae17b45ff80) over ChannelPoint(1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0), waiting for channel open on-chain
2018-10-25 10:17:10.970 [INF] CNCT: Close observer for ChannelPoint(1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0) active
2018-10-25 10:17:10.971 [INF] FNDG: Waiting for funding tx (1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95) to reach 3 confirmations
2018-10-25 10:17:10.972 [INF] NTFN: New confirmation subscription: txid=1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95, numconfs=3
2018-10-25 10:17:11.608 [ERR] NTFN: Rescan for spend notification txout(313337326266663964376164633465656562343432653933346430303731623731363536346431663666363236383466653464336266653861383631356339353a30) failed: transaction not found within range
Do you have any idea?

The funding transaction is using an output that's already been spent (0a0db5112f9b9e063ee145f67f333735f7de11c8336c606d2754617c7b3ae0eb:0).
Did you upgrade to 0.5 from a previous version or is this a new node?

This is a new node (lnd-0.5). I often upgrade it by downloading last commits from git.
I don't know if this is a good procedure or not but I've never used lnd < 0.5 version
Is a normal situation that I found the opening channel even if the tx doesn't exist?
Sorry but I'm a newbie and I'm trying to understanding what to do now or if this could be considered a bug.
Can I close a pending opening channel and reopening it later? Should this work ?
Thanks for your support

Tried to close the channel:
lncli closechannel --force 1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95 0
Output:
2018-10-26 21:03:35.691 [INF] LNWL: Inserting unconfirmed transaction b9f29d1702db579d9b67007ec65e23e9c3dfa8f68b9670a4b946d37338df993c
2018-10-26 21:03:35.994 [ERR] CNCT: ChannelArbitrator(1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0): unable to broadcast close tx: Transaction rejected: output already spent
2018-10-26 21:03:36.153 [INF] CNCT: ChannelArbitrator(1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0): noop trigger userTrigger
2018-10-26 21:03:36.154 [INF] PEER: Waiting for confirmation of cooperative close of ChannelPoint(1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0) with txid: b9f29d1702db579d9b67007ec65e23e9c3dfa8f68b9670a4b946d37338df993c
2018-10-26 21:03:36.155 [INF] NTFN: New confirmation subscription: txid=b9f29d1702db579d9b67007ec65e23e9c3dfa8f68b9670a4b946d37338df993c, numconfs=1
2018-10-26 21:03:36.184 [ERR] CNCT: Unable to disable channel 1372bff9d7adc4eeeb442e934d0071b716564d1f6f62684fe4d3bfe8a8615c95:0 on close: edge not found

Tried to reopen channel with less satoshis and the lncli command hangs.
The entry in my lnd.log is:
2018-10-26 21:08:05.434 [INF] LNWL: Performing funding tx coin selection using 1750 sat/kw as fee rate
2018-10-26 21:08:05.969 [INF] FNDG: Target commit tx sat/kw for pendingID(2fa56d7286239261bdd43c1675af7538ebe5011f31331ed027db946e8144e87d): 2689
2018-10-26 21:08:05.970 [INF] FNDG: Starting funding workflow with <IP_ADDRESS>:56766 for pendingID(2fa56d7286239261bdd43c1675af7538ebe5011f31331ed027db946e8144e87d)

Searched the new tx in blockchain with bitcoin-cli getrawtransaction 2fa56d7286239261bdd43c1675af7538ebe5011f31331ed027db946e8144e87d
But the tx seems not to exist:
error code: -5
error message:
No such mempool or blockchain transaction. Use gettransaction for wallet transactions.

Opening a channel with a different node has worked fine.
thanks

In addition:
2018-10-26 21:18:55.337 [ERR] RPCS: unable to open channel to NodeKey(02cdf83ef8e45908b1092125d25c68dcec7751ca8d39f557775cd842e5bc127469): reservation timed out waiting for peer (peerID:&{0x1a42660<PHONE_NUMBER>0022752342188251569107910372578863127868846617692951791722036360297<PHONE_NUMBER>2557854869010865635498783213512286523587243610725885566527965360774}, chanID:2fa56d7286239261bdd43c1675af7538ebe5011f31331ed027db946e8144e87d)

Tried to reopen channel with less satoshis and the lncli command hangs.

This is possible if the remote peer doesn't respond, which we can tell happened by looking at 2018-10-26 21:18:55.337 [ERR] RPCS: unable to open channel to NodeKey(02cdf83ef8e45908b1092125d25c68dcec7751ca8d39f557775cd842e5bc127469): reservation timed out waiting for peer (peerID:&{0x1a42660<PHONE_NUMBER>0022752342188251569107910372578863127868846617692951791722036360297<PHONE_NUMBER>2557854869010865635498783213512286523587243610725885566527965360774}, chanID:2fa56d7286239261bdd43c1675af7538ebe5011f31331ed027db946e8144e87d.

Can I close a pending opening channel and reopening it later? Should this work ?

A channel can't be closed if there's no funding transaction present to begin with.

This is a new node (lnd-0.5). I often upgrade it by downloading last commits from git.
I don't know if this is a good procedure or not but I've never used lnd < 0.5 version
Is a normal situation that I found the opening channel even if the tx doesn't exist?
Sorry but I'm a newbie and I'm trying to understanding what to do now or if this could be considered a bug.

The reason why I ask is because in versions prior to 0.5, there was a bug in the wallet that would lead to duplicate UTXOs. This has been addressed to no longer happen going forward though. So I'm not quite sure what could be causing your problem yet. Perhaps it does have to do with the errors you are seeing on your backend node.

It looks like something is up with your bitcoind node, are you able to find any of these transactions in your mempool?

Before you attempted to open channels, did you do any calls with sendcoins with a custom fee rate?

Yes I used sendcoins with custom fees and everything went fine.
I can't find any of these transactions in the mempool

I've just tried lncli sendcoins but it seems my funds are locked and I can't withdraw:
lncli walletbalance
{
"total_balance": "1756563",
"confirmed_balance": "1756563",
"unconfirmed_balance": "0"
}
lncli sendcoins --addr bc1qzhs5nnhkqzj2wlu9wegudg9p2quyucd8ymq54u --amt 1200000 --sat_per_byte 17
[lncli] rpc error: code = Unknown desc = -25: Missing inputs

Hello, I've tried to consolidate tx inputs closing channels and force closing which are not online.
At the moment I have 3 pending_force_closing_channels:
 {
  "channel": {
   "remote_node_pub": "0279c22ed7a068d10dc1a38ae66d2d6461e269226c60258c021b1ddcdfe4b00bc4",
   "channel_point": "4ed4bc5dfe9abd07697334ccf505cfdff13e1336fff01dbdc4b33cc5ae3ea42a:1",
   "capacity": "400000",
   "local_balance": "398053",
   "remote_balance": "0"
  },
  "closing_txid": "8ce95896be9a33e8f133bb85bc3e493b7ff0ae9aad074713ce36f969a62a13c2",
  "limbo_balance": "398053",
  "maturity_height": 547680,
  "blocks_til_maturity": 138,
  "recovered_balance": "0",
  "pending_htlcs": []
 },
 {
  "channel": {
   "remote_node_pub": "032d4baebebfdeab7a2ecef2fbe109cbef10de95f05aa54090fdb687789547dbf5",
   "channel_point": "fbb4c1c5560b3b54608428a2355f7a06aedba5408b00b8bc68aade3b0b8d8e64:0",
   "capacity": "100000",
   "local_balance": "98055",
   "remote_balance": "0"
  },
  "closing_txid": "96d2eda43d4505770370129a5fafbffd667f67e22f24517c74483dd31114c987",
  "limbo_balance": "98055",
  "maturity_height": 547679,
  "blocks_til_maturity": 137,
  "recovered_balance": "0",
  "pending_htlcs": []
 },
 {
  "channel": {
   "remote_node_pub": "0242a4ae0c5bef18048fbecf995094b74bfb0f7391418d71ed394784373f41e4f3",
   "channel_point": "974019dcd5acadc0e984b455aa976a21abe7a5f227f189e4ecfb6a2f125f3285:0",
   "capacity": "500000",
   "local_balance": "498055",
   "remote_balance": "0"
  },
  "closing_txid": "17dacab2f2f8171fdd6691a23b3f0ea3d2a2e2a0e89802315d0086d4a9425f5f",
  "limbo_balance": "498055",
  "maturity_height": 547679,
  "blocks_til_maturity": 137,
  "recovered_balance": "0",
  "pending_htlcs": []
 }

lncli walletbalance shows 0 unconfirmed balance
{
    "total_balance": "5867582",
    "confirmed_balance": "5867582",
    "unconfirmed_balance": "0"
}

I can't even withdraw using lncli sendcoins
lncli sendcoins --addr bc1qzhs5nnhkqzj2wlu9wegudg9p2quyucd8ymq54u --amt AMOUNT --sat_per_byte 11
[lncli] rpc error: code = Unknown desc = -25: Missing inputs
Closing txids have more than 6 confirmations.
Can anyone help me?
lnd-0.5

the only entries I have in my logs:
2018-10-27 13:18:09.653 [INF] RPCS: [sendcoins] addr=bc1qzhs5nnhkqzj2wlu9wegudg9p2quyucd8ymq54u, amt=0.05 BTC, sat/kw=2750
2018-10-27 13:18:09.811 [INF] LNWL: Inserting unconfirmed transaction 9e75a102c947ae6e6ae990e6800a56e5525f2701ed2c9c9c3d7d27ad1708067a
2018-10-27 13:18:09.812 [DBG] LNWL: Marked address bc1qru5vhwluph5echjcywcpu6dz8q9u0fgl9t5a6j used

The Missing inputs error would mean that your wallet's UTXO set is faulty. This could arise due to a bug when using sendcoins which has been addressed as of https://github.com/lightningnetwork/lnd/commit/7ad1f9f7d73b1a63268e11a6ed01aa3d1a61504f. I would suggest upgrading to that commit or later, and rescanning your wallet with the dropwtxmgr tool. This will force a chain rescan of your wallet upon startup and will pick up all of your relevant UTXOs.
As for your pending channels, your funds will return to your wallet after the CSV delay (blocks_til_maturity).

dropwtxmgr works for btcwallet, so it is independent of the chain backend.
Closing per https://github.com/lightningnetwork/lnd/issues/2099#issuecomment-433655909 and https://github.com/lightningnetwork/lnd/issues/2099#issuecomment-433714834.

I encountered the same issue about 4 days ago.
I'm still trying ...
This is what that happened so far:
1- Opened a channel to a node
2- In pendingchannels i can see a pending_open_channel entry
3- The txid does not exist anywhere (also not in my bitcoind mempool)
4- Updated the lnd and lncli to the latest version lnd version 0.5.1-beta commit=v0.5.1-beta-311-ga0c0e8edc9a58e8833fd32119964207205f9c764
5- Ran dropwtxmgr on my wallet.db file
6- Restarted the lnd and unlocked the wallet successfully but the pending_open_channel_entry is still there. also the tx still not exists anywhere.
7- In lnd log file I could find this:
[ERR] NTFN: Rescan to determine the spend details of txid:1 failed: transaction not found within range
any ideas?
EDIT: @Roasbeef how I can remove the pending_open_channel entry now that I could recover my onchain funds?
I tried closechannel --force but it throw this error [lncli] rpc error: code = Unknown desc = unable to find channel
any help would be appreciated.

Hello， I don't know if your problem has been solved. I've also met this problem.

@Rui2guo see https://github.com/lightningnetwork/lnd/issues/2099#issuecomment-452854844.


[WIP] Rewrite docs for 0.20.0

This is intended to be a minor rewrite of the docs for the upcoming 0.20.0 release.

@delaneyj can you please have the docs append an anchor tag to each header element in the page body?
Input:
## Installation

Output:

  Installation #

A language switcher for the SDK example would also be ace 😉

@delaneyj let me know once you’ve committed to @ and I’ll finalise this PR.


please add sqlstatistics to latest

RE-CHECK!

Automated adapter checker
ioBroker.sqlstatistics

[ ] :heavy_exclamation_mark: [E504] found setInterval in "main.js, but no clearInterval detected
[ ] :heavy_exclamation_mark: [E802] No topics found in the repository. Please go to "https://github.com/Scrounger/ioBroker.sqlstatistics" and press Manage topics
[ ] :eyes: [W400] Cannot find "sqlstatistics" in latest repository

Add comment "RE-CHECK!" to start check anew

@Scrounger can you please check the Interval topic?

@Scrounger ?

Haven't worked on it much longer.
Currently I'm thinking about limiting the adapter to MySql, because every db provider provides the information very differently.
You are welcome to close the PR for now. I think it makes no sense to push into the latest


Add excelize topic

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md

Which change are you proposing?

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic or collection

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Because of https://github.com/360EntSecGroup-Skylar/excelize on needed some

You are a top maintainer of the excelize project. (Ref to guidelines)

"This is a requirement so that we can maintain a high level of independence in this project. Please update if you are able to verify that you meet that requirement." - Comment Ref

Sidenote: This respository was under their name originally, but then transfered to an organization.

Thanks for your review, I have updated repository link.

Hi,
Thanks for starting this pull request. In order to review it for acceptance, we need to make sure that all of the prerequisites are satisfied. I see that you didn't check this:

I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee)

This is a requirement so that we can maintain a high level of independence in this project.
Also, we require that curated topics be widely used on GitHub. Currently this topic only has 4 repositories. We will not be able to accept this contribution at this time.
Thanks!


chore: bdd-spring-1573030603 to 0.0.1

chore: Promote bdd-spring-1573030603 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fail if a <label> contains more than one labelable item.

[Closes #103]

@googlebot I signed it!

@alice I updated this PR to look at labelable elements only. PTAL!

:+1: once the nit is addressed and Changelog.md updated.

@alice I'm out of date on the release flow. Would we treat this as a release? Should I create a new heading in the changelog?

Apologies - to clarify, please add an entry to the changelog for this change. Take a look at the Changelog to see other examples.


Remove FirebaseNanoPB from linker flags.

Is there a reason we have to have these linker flags here in the Xcode project, or can we remove them? CocoaPods should take care of them.

Yeah, they are not needed. I'll make a cleanup


Performance regression for Todoist integration

OS version: Ubuntu 18.04.1 LTS
Browser version: google-chrome Version 71.0.3578.98 (Official Build) (64-bit)
Extension version: 1.17.1

Bug description
When selecting a parent project in Todoist that has nested sub-projects and many tasks, Todoist becomes unresponsive.  Via chrome developer tools I tracked this down to being due to toggl-button.  Disabling the extension resolves the problem.
I believe that this is a recent regression related to changes in Todoist version 935.  https://get.todoist.help/hc/en-us/articles/115005442125-Todoist-for-Web-Changelog

🐛 You may notice that Todoist runs more smoothly across the app thanks to some performance optimizations.

I'm pretty familiar with Todoist's behavior (I wrote a fairly large extension for it, todoist-shortcuts).  I believe that what's changed here is that now it creates the dom nodes for the tasks sequentially, possibly in batch, instead of creating them all at once.  Since toggl-button uses a mutation observer, it's seeing many more mutations than it used to, and re-rendering all of the toggl buttons.  So I'm guessing this results in O(n^2) runtime when the tasks get rendered, because toggl-button seems to modify every single task on every single dom mutation.
Expected behavior
I expected Todoist + toggl-button to not hang when viewing many tasks.
Steps to reproduce

Install toggl-button

Visit a todoist project with many tasks, particularly with nested projects

Observe that the browser goes out to lunch, profiling reveals it's very busy.

Thank you for the detailed report 🙌 This is being looked in to.

@tcrammond Great, thanks!
I have an idea for how to implement this efficiently.  I noticed that the toggl-button is only displayed when a task is hovered.  So, one option here might be to just register a mouseover event handler on the #editor div.  I noticed that event propagates up to that div.  I tried this by selecting it in the dev tools and running $0.addEventListener("mouseover", function(e) { console.log("it works", e); }).
The mouseover handler would then take the target of the event and walk up the dom until it finds a node that has class task.  It would then add the toggl button to that task.  There are multiple ways to handle the prior displayed button (if any), probably best to just remove the old dom nodes for those if they still exist (they might not!).
This approach should entirely avoid any processing that scales with the number of displayed tasks, and wouldn't require a mutation observer.

Can someone please update current status of this issue? Looks like the fix is not included into the latest version (v. 1.22.1 (as of 2019-02-27 17-00 GMT)).

@Airgunster the fix is present in version 1.22.1
It landed via #1321 and #1282
It seems the auto-close comment was not added to the PRs

Thanks a lot for everyone who was working on this, it now works like a charm (very smooth and without any glitches)!


updating truffle version to more closely match solc pragma

upgrading to solc 0.4.24 is a whole different task

Codecov Report

Merging #32 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #32   +/-   ##
=======================================
  Coverage   96.49%   96.49%
=======================================
  Files           4        4
  Lines         114      114
  Branches       24       24
=======================================
  Hits          110      110
  Misses          4        4

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 2e1d95b...02feea0. Read the comment docs.


Switch SW render driver to mesa softpipe

Change the sw rendering to mesa softpipe, add the android start option.
Tracked-On: OAM-94915
Signed-off-by: Ren Chenglei<EMAIL_ADDRESS>

Lost your Signed name in commit commets.


[Question] _error.jsx not rendered on server-side render error

Hi. Please, consider the following example. The index.js page will throw a test error on server-side render. I tried using componentDidCatch method on a custom _app.jsx, but it obviously works only client-side. So, I figured that a custom _error.jsx should be rendered in case of server-side render error. But it's still giving me the page with a stack trace (see below).
./pages/_error.jsx
import React, { Component } from 'react'

export default class CustomError extends Component {
  static getInitialProps = async () => {
    // this gets logged
    console.log('getting initial props of custom _error.jsx')
    return {}
  }

  render = () => {
    // this however is not rendered
    return (

OMG, error!

    )
  }
}

./pages/index.jsx
import React, { Component } from 'react'

export default class Landing extends Component {
  static getInitialProps = async () => {
    return {}
  }

  render = () => {
    // simulate a server-side render error
    if (typeof window !== 'object') {
      throw new Error('Test server render error')
    }

    return (

Landing page

    )
  }
}

The server is a basic express server:
./server/index.js
const next = require('next')
const express = require('express')

const app = next({ dev: true })
const handle = app.getRequestHandler()
const server = express()
const router = express.Router()

server.locals.handle = handle

router.get('*', (req, res, next) => {
  // also tried appending `.catch(next)` with no luck
  return req.app.locals.handle(req, res)
})

const errorHandler = (err, req, res, next) => {
  // this is never reached even with `.catch(next)` above,
  // so I cannot solve this issue in server
  res.json({ err })
}

app.prepare()
  .then(() => {
    const port = 8080

    server
      .use(router)
      .use(errorHandler)
      .listen(port, () => {
        console.log(`> http server started on port ${port}`)
      })
  })
  .catch(err => {
    console.error(err)
    process.exit(1)
  })

When a server-side render occurs, the stack trace is rendered:

The interesting fact that it thinks that the proper _error.jsx should be rendered, expecting a h1 tag in the HTML:

System information

Version of Next.js: 6.1.1

Besides, the docs state that the static method getInitialProps of the page should receive err — "Error object if any error is encountered during the rendering", however the err property is always falsy (null or undefined) in both index.jsx page and _app.jsx in case of a server-render error.

In development, _error is not rendered. Only in production.


Add option to create specification-compliant JWT tokens.

Helps fix https://github.com/nmaro/ooth/issues/52
JWT tokens produced by ooth are not spec compliant - see https://jwt.io/. They contain the user profile data. As the profile becomes large in size, the JWT tokens also enlarge, making them unsuitable for sessionless authentication in which tokens are exchanged with every request.
This pull request is aimed at allowing use of ooth to make a sessionless authentication service, such as used in mobile apps which do not use cookies.

I merged a fixed version of your pr. Thanks for your help.


Mesh sometimes vanishes after a few dozen iterations

Describe the bug
Sometimes the mesh seems to vanish after a few dozen iterations (most of the cases > 60).
In those cases the Mesh collapses into a single point.
In other cases the mesh just moves (far) outside of volume bounds.
This happens within a single iteration, so the mesh moves / scales abruptly.
There is also not much visible change in the iterations before.
To Reproduce
Not easy to reproduce without an example volume (which cannot be made public).
Also depends on configuration and volume.
---

# Paths are relative the current file
referenceMesh:
  mesh:   ../ReferenceMeshes/Vertebra.off
  colorToLabelMap:
    type: custom
    map:
      - [[255, 0, 0], 1]
      - [[0, 255, 0], 0]
      - [[0, 0, 255], 3]
      - [[255, 255, 0], 2]
    undefinedLabel: 4
  origin:
    type: relative
    xyz: [0.5, 0.5, 0.5]
  scale: 1
  rotation: [-10, 0, 0]

measurementModel: ../Models/SomeModel.yml

sigmaE: 5.4
sigmaS: 1.0

maxIterations: 120
minNonDecreasing: 3
decay: 0.1

Screenshots

Desktop (please complete the following information):

OS: Linux Mint 19 Tara x86_64
Version: MATLAB Toolbox version <IP_ADDRESS> on MATLAB 2018b

This issue is probably related to issue #70 or #71 since after the merge of #72 and #73 it cannot be reproduced anymore.

Problem still not fixed.
Could be related to sigmaS going to 0 for small decay factors....


Dev

Q
A

Bug fix?
no - yes?

New feature?
no - yes?

New sample?
no - yes?

Related issues?
fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Please describe the changes in this PR. Sample description or details around bugs which are being fixed.
Guidance
You can delete this section when you are submitting the pull request.

Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.
Please target your PR to 'dev' branch.

Thanks for your contribution! Sharing is caring.

@russgove,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Added property-bag webparts to enable editing of property bags and navigate using them

Hi Russell,
Looks ok in general, but would ask to use the default readme template available at
https://github.com/SharePoint/sp-dev-fx-webparts/blob/master/samples/README-template.md. We are asking to use this to provide consistency and standard metadata for all of the samples, which are getting published. I'll leave this open for now and you can push that as additional commit or alternative resubmit the sample as new PR. Thx for the requested changes advance.

changed readme and  a couple of other fixes

thx Russell, will fix the tracking image mistake on this (should be on your solution specific folder), but all good. There was also additional .vscode/launch.json file to root of the repo, which will get removed to avoid confusion around this.


Tasks behind demonstration milestone

[x] Password reset
[x] Change password
[ ] Get country cities
[x] Get skill and equipment keywords

Hmmm, I have no idea how to solve countries and cities issue.


Adding an entry to Gvim's toolbar makes its background area shrink

Describe the bug
Adding an entry to Athena Gvim's toolbar makes its background area shrink leftwards. It also slightly grows down if you look closely.
To Reproduce
Detailed steps to reproduce the behavior:

Run gvim --clean +'se go=T'.
Execute :an ToolBar.x :ls<CR>.

Expected behavior
Button is added, bar background area stays in place.
Screenshots
After step 1:

After step 2:

Environment (please complete the following information):

Vim version: 8.2 (included patches: 1-3455).
OS: Gentoo 2.7.
Terminal: GUI.

Additional context

Moving or resizing the window makes the toolbar good again.
redraw! does not solve the problem.

Athena was dropped (9995).


Tasks API for managing the jobs return 404

Hi, In my set up of dropwizard 0.9.2, /admin/tasks/startjob or /tasks/startjob as well as the other calls do not exist. I receive 404.
I don't use jobs.xml but I don't think the issue is related to that.
In the startup dropwizard lists only two tasks /tasks/log-level and /tasks/gc. The Sundial jobs are not listed.

I have not seen the comment on manual addition of sundial tasks in application.java. I close the ticket. Could you please add the comment about manual addition of tasks to 0.9.x branch as well?


attempt to call method 'type'  when using CnnEncoder

Hi,
I am trying to use the encoder_type cnn , with a dense bridge. I get the following error :
/root/torch/install/bin/lua: /root/torch/install/share/lua/5.2/cutorch/Tensor.lua:22: attempt to call method 'type' (a nil value)
stack traceback:
        /root/torch/install/share/lua/5.2/cutorch/Tensor.lua:22: in function 'typeAs'
        ./onmt/modules/PositionEmbedding.lua:30: in function <./onmt/modules/PositionEmbedding.lua:27>
        (...tail calls...)
        /root/torch/install/share/lua/5.2/nngraph/gmodule.lua:345: in function 'neteval'
        /root/torch/install/share/lua/5.2/nngraph/gmodule.lua:380: in function </root/torch/install/share/lua/5.2/nngraph/gmodule.lua:300>
        (...tail calls...)
        ./onmt/modules/CNNEncoder.lua:141: in function 'forward'
        ./onmt/Seq2Seq.lua:205: in function 'trainNetwork'
        ./onmt/utils/Memory.lua:39: in function 'optimize'
        ./onmt/train/Trainer.lua:133: in function '__init'
        /root/torch/install/share/lua/5.2/torch/init.lua:91: in function 'new'
        train.lua:172: in function 'main'
        train.lua:178: in main chunk
        [C]: in function 'dofile'
        /root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: in ?

PS : I have updated my cutorch, cunn and nn packages after pulling the latest repo of OpenNmt from Git.

Hi,
Can you share the full command line you ran for training?

PS : I have updated my cutorch, cunn and nn packages

Also torch itself?

My command line is as
THC_CACHING_ALLOCATOR=0 th train.lua -config /root/deeplearning/generic/train.config -data /root/deeplearning/generic/generic-train.t7 -save_model /root/deeplearning/generic/generic_cnn -gpuid 1,2

where the train config is
layers=4
max_batch_size=20
rnn_size=600
dropout=0.2
encoder_type=cnn
bridge=dense
learning_rate=0.1
end_epoch=25
learning_rate_decay=0.5
decay=score_only
start_decay_score_delta=5
log_file=generic_cnn.txt

And yes I have also update torch itself as the first step.

Thanks. Does it work with a single GPU?

No it doesn't work. I got the same error.

You are using word features, right?
We found an issue related to those, it will get fixed.

@guillaumekln Yes indeed. I am using the case_feature.
Thanks for the help!

Should be fixed now. Let us know how this encoder works for you.

@guillaumekln
I get a different error this time
/root/torch/install/bin/lua: /root/torch/install/share/lua/5.2/nn/Container.lua:67:
In 2 module of nn.Sequential:
/root/torch/install/share/lua/5.2/nn/Linear.lua:66: size mismatch at /tmp/luarocks_cutorch-scm-1-2755/cutorch/lib/THC/generic/THCTensorMathBlas.cu:243
stack traceback:
        [C]: in function 'addmm'
        /root/torch/install/share/lua/5.2/nn/Linear.lua:66: in function </root/torch/install/share/lua/5.2/nn/Linear.lua:53>
        [C]: in function 'xpcall'
        /root/torch/install/share/lua/5.2/nn/Container.lua:63: in function 'rethrowErrors'
        /root/torch/install/share/lua/5.2/nn/Sequential.lua:44: in function 'updateOutput'
        ./onmt/modules/Network.lua:16: in function <./onmt/modules/Network.lua:15>
        (...tail calls...)
        ./onmt/Seq2Seq.lua:206: in function 'trainNetwork'
        ./onmt/utils/Memory.lua:39: in function 'optimize'
        ./onmt/train/Trainer.lua:133: in function '__init'
        /root/torch/install/share/lua/5.2/torch/init.lua:91: in function 'new'
        train.lua:172: in function 'main'
        train.lua:178: in main chunk
        [C]: in function 'dofile'
        /root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: in ?

WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
        [C]: in function 'error'
        /root/torch/install/share/lua/5.2/nn/Container.lua:67: in function 'rethrowErrors'
        /root/torch/install/share/lua/5.2/nn/Sequential.lua:44: in function 'updateOutput'
        ./onmt/modules/Network.lua:16: in function <./onmt/modules/Network.lua:15>
        (...tail calls...)
        ./onmt/Seq2Seq.lua:206: in function 'trainNetwork'
        ./onmt/utils/Memory.lua:39: in function 'optimize'
        ./onmt/train/Trainer.lua:133: in function '__init'
        /root/torch/install/share/lua/5.2/torch/init.lua:91: in function 'new'
        train.lua:172: in function 'main'
        train.lua:178: in main chunk
        [C]: in function 'dofile'
        /root/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: in ?

I update torch, nn, cunn and cutorch in order like last time.

Please set -cnn_size to the same value as -rnn_size` for now.


Bluetooth connection remains active even after calling disconnect on android

Happens after calling startNotify() on characteristics.
even after calling stopNotify() on all subscribed characteristics (and waiting for their promises to be resolved) and then calling disconnect(), the connection remains active.  can only be terminated by going into the settings of the phone and turning off Bluetooth.  connection even persists through app restarts (e.g. tns run android refreshing the app)

Any ideas?

I think it's actually a device driver implementation issue, since it's not consistent across the devices I have.  I have actually gotten to where I just call disable, wait, then call enable on the Bluetooth chip which works across most devices - even still some retain connections.


为什么bucket_config里的一些keep_prob有两个值？具体含义是什么？

configs/opensora-v1-2/train/stage1.py里的这行，为什么keep_prob有两个值，例如102: ((1.0, 0.33), 27)，这是什么意思？

https://github.com/hpcaitech/Open-Sora/blob/main/docs/config.md#training-bucket-configs

The two number defined in the bucket config is (keep_prob, batch_size). Since the memory and speed of samples from different buckets may be different, we use batch_size to balance the processing speed. Since our computation is limited, we cannot process videos with their original resolution as stated in OpenAI's sora's report. Thus, we give a keep_prob to control the number of samples in each bucket. The keep_prob is the probability to keep a sample in the bucket. Let's take the following config as an example:

bucket_config = {
    "480p": {16: (1.0, 8),},
    "720p": {16: (0.5, 4),},
    "1080p": {16: (0.2, 2)},
    "4K", {16: (0.1, 1)},
}
Given a 2K video with more than 16 frames, the program will first try to put it into bucket "1080p" since it has a larger resolution than 1080p but less than 4K. Since the keep_prob for 1080p is 20%, a random number is generated, and if it is less than 0.2, the video will be put into the bucket. If the video is not put into the bucket, the program will try to put it into the "720p" bucket. Since the keep_prob for 720p is 50%, the video has a 50% chance to be put into the bucket. If the video is not put into the bucket, the program will try to put it into the "480p" bucket directly as it is the smallest resolution.

The two number defined in the bucket config is (keep_prob, batch_size). Since the memory and speed of samples from different buckets may be different, we use batch_size to balance the processing speed. Since our computation is limited, we cannot process videos with their original resolution as stated in OpenAI's sora's report. Thus, we give a keep_prob to control the number of samples in each bucket. The keep_prob is the probability to keep a sample in the bucket. Let's take the following config as an example:

bucket_config = {
    "480p": {16: (1.0, 8),},
    "720p": {16: (0.5, 4),},
    "1080p": {16: (0.2, 2)},
    "4K", {16: (0.1, 1)},
}
Given a 2K video with more than 16 frames, the program will first try to put it into bucket "1080p" since it has a larger resolution than 1080p but less than 4K. Since the keep_prob for 1080p is 20%, a random number is generated, and if it is less than 0.2, the video will be put into the bucket. If the video is not put into the bucket, the program will try to put it into the "720p" bucket. Since the keep_prob for 720p is 50%, the video has a 50% chance to be put into the bucket. If the video is not put into the bucket, the program will try to put it into the "480p" bucket directly as it is the smallest resolution.

But the keep_prob here has two values.
102: ((1.0, 0.33), 27), 204: ((1.0, 0.1), 13), 408: ((1.0, 0.1), 6)

And I think keep_prob is used at get_bucket_id function. Could you explain this code please?


Attachment opening

Expected behaviour
Don't open attachment after press on button "save"
Actual behaviour
Attachments open after pressing on button "save"
Steps to reproduce

Environment
K-9 Mail version: 5.010
Android version: 5.0.2
Account type (IMAP, POP3, WebDAV/Exchange):
Exchange

This behavior will be changed in the next major stable release.


Contraction of STG transitions is incorrect

Try to contract lds+ in the attached STG.

danilovesky at 2015-04-15T14:31:45Z:


test: add HTML snapshot tests

I've added an HTML serializer for the Jest tests to make it easier to update the tests without having to go through and edit each one (in future). I've used prettier to format the HTML so it's easier to read, but I'm not yet sure that my indentation code is correct. I've also added const FIRST_PARAGRAPH_SELECTOR = EDITOR_CLASS_SELECTOR + ' > p:first-child'; so that we get the content of the first paragraph since we don't care about the
 tag itself in our tests; I'm not sure if this should be moved to a more central location like @remirror/core or not?
The test looks very similar to before, but it factors in more of the content and it can auto-update, so I'm calling that a win :grin:
 it('should have a social editor', async () => {
      await $editor.focus();
      await $editor.type('This is text https://url.com');
-     await expect(innerHtml(EDITOR_CLASS_SELECTOR)).resolves.toInclude(
-       'https://url.com',
+     expect($innerHTML(FIRST_PARAGRAPH_SELECTOR)).resolves.toMatchInlineSnapshot(
+       `This is text <a href="http://url.com" role="presentation">https://url.com</a>`,
      );
    });

If we need to use jest.retryTimes then we need to alias our inline snapshots, so hopefully we can avoid that.

Looks good 👍


Changing vpc CDIR results in broken state

Usecase
Using the AWS VPC module I may want to change the CDIR range for the VPC. For example, it may conflict with a CDIR range of another VPC that I wish to peer with.
Steps to recreate
Terraform v0.12.27
+ provider.aws v2.67.0
+ provider.local v1.4.0
+ provider.random v2.2.1
+ provider.template v2.1.2
+ provider.tls v2.1.1

Run terraform init and apply with the folowing:

module "vpc" {
  source  = "terraform-aws-modules/vpc/aws"
  version = "2.44.0"
  name    = "my-vpc"

  cidr = "<IP_ADDRESS>/16"

  azs             = ["eu-west-2a", "eu-west-2b", "eu-west-2c"]
  private_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
  public_subnets  = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
}

Change the CIDR and run apply again

module "vpc" {
  source  = "terraform-aws-modules/vpc/aws"
  version = "2.44.0"
  name    = "my-vpc"

  cidr = "<IP_ADDRESS>/16"

  azs             = ["eu-west-2a", "eu-west-2b", "eu-west-2c"]
  private_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
  public_subnets  = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
}

Expected
the module recreates all resources to make a new VPC
Actual
All but the internet gateway is recreated, a modify step is set to change the target VPC instead.
This results in the VPC failing to destroy due to the internet gateway still being attached

Click to show full error message
Error: Invalid index

  on modules/logging/instance.tf line 4, in resource "aws_instance" "test-logging-instance":
   4:   subnet_id     = var.subnet_ids[0]
    |----------------
    | var.subnet_ids is empty tuple

The given key does not identify an element in this collection value.

Error: Invalid index

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 181, in resource "aws_route" "public_internet_gateway":
 181:   route_table_id         = aws_route_table.public[0].id
    |----------------
    | aws_route_table.public is empty tuple

The given key does not identify an element in this collection value.

Error: Error in function call

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 984, in resource "aws_route_table_association" "private":
 984:   subnet_id = element(aws_subnet.private.*.id, count.index)
    |----------------
    | aws_subnet.private is empty tuple
    | count.index is 0

Call to function "element" failed: cannot use element function with an empty
list.

Error: Error in function call

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 984, in resource "aws_route_table_association" "private":
 984:   subnet_id = element(aws_subnet.private.*.id, count.index)
    |----------------
    | aws_subnet.private is empty tuple
    | count.index is 1

Call to function "element" failed: cannot use element function with an empty
list.

Error: Error in function call

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 984, in resource "aws_route_table_association" "private":
 984:   subnet_id = element(aws_subnet.private.*.id, count.index)
    |----------------
    | aws_subnet.private is empty tuple
    | count.index is 2

Call to function "element" failed: cannot use element function with an empty
list.

Error: Error in function call

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 985, in resource "aws_route_table_association" "private":
 985:   route_table_id = element(
 986:
 987:
 988:
    |----------------
    | aws_route_table.private is empty tuple
    | count.index is 0
    | var.single_nat_gateway is false

Call to function "element" failed: cannot use element function with an empty
list.

Error: Error in function call

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 985, in resource "aws_route_table_association" "private":
 985:   route_table_id = element(
 986:
 987:
 988:
    |----------------
    | aws_route_table.private is empty tuple
    | count.index is 1
    | var.single_nat_gateway is false

Call to function "element" failed: cannot use element function with an empty
list.

Error: Error in function call

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 985, in resource "aws_route_table_association" "private":
 985:   route_table_id = element(
 986:
 987:
 988:
    |----------------
    | aws_route_table.private is empty tuple
    | count.index is 2
    | var.single_nat_gateway is false

Call to function "element" failed: cannot use element function with an empty
list.

Error: Error in function call

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 1044, in resource "aws_route_table_association" "public":
1044:   subnet_id      = element(aws_subnet.public.*.id, count.index)
    |----------------
    | aws_subnet.public is empty tuple
    | count.index is 1

Call to function "element" failed: cannot use element function with an empty
list.

Error: Error in function call

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 1044, in resource "aws_route_table_association" "public":
1044:   subnet_id      = element(aws_subnet.public.*.id, count.index)
    |----------------
    | aws_subnet.public is empty tuple
    | count.index is 0

Call to function "element" failed: cannot use element function with an empty
list.

Error: Error in function call

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 1044, in resource "aws_route_table_association" "public":
1044:   subnet_id      = element(aws_subnet.public.*.id, count.index)
    |----------------
    | aws_subnet.public is empty tuple
    | count.index is 2

Call to function "element" failed: cannot use element function with an empty
list.

Error: Invalid index

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 1045, in resource "aws_route_table_association" "public":
1045:   route_table_id = aws_route_table.public[0].id
    |----------------
    | aws_route_table.public is empty tuple

The given key does not identify an element in this collection value.

Error: Invalid index

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 1045, in resource "aws_route_table_association" "public":
1045:   route_table_id = aws_route_table.public[0].id
    |----------------
    | aws_route_table.public is empty tuple

The given key does not identify an element in this collection value.

Error: Invalid index

  on .terraform/modules/logging_vpc.vpc/terraform-aws-vpc-2.44.0/main.tf line 1045, in resource "aws_route_table_association" "public":
1045:   route_table_id = aws_route_table.public[0].id
    |----------------
    | aws_route_table.public is empty tuple

The given key does not identify an element in this collection value.

Workaround
Manually delete VPC in console, and remove gateway from the tf state using terraform state rm module.vpc.aws_internet_gateway.this

Hi @cob16 !
Yes, such low-level changes which affect pretty much every resource are sometimes problematic with Terraform and this module because it may involve changes to resources not managed by the Terraform currently, or Terraform may not be able to calculate the complete graph of dependencies from the first execution.
If you want to update VPC CIDR you should run terraform destroy first, then change values, and run terraform apply. This solution will be the most predictable.
There is nothing simple/elegant that we can do in this module to improve this taken into account how often do users change CIDR blocks after creation.
Closing this issue.


app.adjust.com

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following infos properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[x] Whitelist
[ ] Blacklist
[ ] App Broken
[ ] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name: blu

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name:

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

app.adjust.com

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client:

Version:

Details:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

Your Issue Detail:
Breaks Spotify sign up

Thank you for making Energized Protection great with your kind help!

A project by Ador with ❤

Adjust is a mobile analytics company, and a lot of apps use it, so ublocking it would be detrimental to user privacy.
Also I was able to sign up with no issues via the app with the Blu List enabled (via AdGuard). Are you sure that's the issue?

Yes. Here's the full link:
https://app.adjust.com/6ypk9q?deep_link=spotify%3A%2F%2Fplaylist%2F37i9dQZF1EgxFxDfZ8b44f&campaign=&adgroup=&creative=&label=sp_cid%3Ac7511a95720eb193786519b694c8de0e&tracker_limit=200000&redirect=http%3A%2F%2Fopen.spotify.com%2Fplaylist%2F37i9dQZF1EgxFxDfZ8b44f%3F%3Fnd%3D1

What software are you using? I'm seeing no link like that on AdGuard, and that was after using a burner email to create another Spotify account.

Blokada. Maybe it has to do with having a family plan because that link is to go to the family mix playlist.

Yeah, that's a redirect link.  I don't actually use Spotify, so I can't really test it for myself on how to access it.
It still would be a horrible idea to unblock app.adjust.com though. You'd be better off temporarily unblocking app.adjust.com rather than completely whitelisting it.

Blocking that domain also breaks the "report explicit content" function in the Spotify app.

@terrorist96 I really can't whitelist this pure analytics and tracking domain. You can whitelist this domain temporarily, and do your work, then block it again.

No problem

Another issue is that you cannot view Spotify playlists from open.spotify.com links. On my device with Blokada, Spotify links will fail when they redirect to app.adjust.com.
When Blokada is off, Spotify forces itself to open the app. In browsers other than Chrome or in incognito tabs, you can get the Spotify website to open by telling it that you don't have the app. Spotify is so annoying.
Here's a Spotify playlist you can test out: https://open.spotify.com/playlist/6PmSUbLMNvfv7oOiXrhXrH?si=91B9HHR7Tc2ug2VqmAL_oA


Graphics Memory Increase When Resize

When I use GLWpfControl, if I keep dragging the borders to resize the window, the GPU's memory continues to grow. And even if I stop resizing, the graphics memory usage remains high.
If it is a normal WPF control, there is no such problem and the memory stays the same when resize the control, without any growth.
Maybe the frame buffer is not released correctly when the size is changed, causing the memory to grow?
Library version: 4.2.3
Hardware Information:
AMD Radeon(TM) 780M
Driver version: 31.0.14005.1004
Driver Date: 2023/7/20
DirectX Version: 12 (FL 12.1)
Physical Location: PCI Bus 100, Device 0, Function 0

Will investigate this issue for the next release. It's definitely possible that we have a leak, but looking at the code there is no obvious leak.

In fact, it will not always increace, when up to 3.7/4.0GB, it will drop to 3.2/4.0GB, then increase.
I use CodeXL to debug, set break when OpenGL error, then resize the window, it immediately hit break point. Maybe something is wrong. But I'm not good at OpenGL programming.
The error is:


Missing tag 5.0.4

Hi,
i'm missing the tag for the released version 5.0.4

Indeed you are! Sorry, Friend.
Now fixed.


Update Stepper and Modal button styles

Notes for Reviewers
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

@dragon-slayer875 have you tested this change locally?

Yes @sudhanshutech
I have updated the description to show screenshots.


As a server Shortcuts/Optimisations?

Hi
I'm trying to write a caching proxy server that we can use to cache locally various repos from github (and other places) that we use heavily but I'm running into a performance issue
I'm more than happy to concede that we won't beat github for speed but I'm finding this to be a great deal slower.
This is a greatly simplified version of what I'm running in the main codebase
package main

import (
	"compress/gzip"
	"io"
	"net/http"
	"os"
	"path"
	"strings"

	"gopkg.in/src-d/go-git.v4/plumbing/protocol/packp"
	"gopkg.in/src-d/go-git.v4/plumbing/transport"
	"gopkg.in/src-d/go-git.v4/plumbing/transport/server"
)

func main() {
	wd, _ := os.Getwd()
	http.ListenAndServe(":8822", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
		w.Header().Set("Cache-Control", "no-cache")

		s := strings.SplitN(strings.TrimLeft(r.URL.Path, "/"), "/", 2)
		ep, _ := transport.NewEndpoint(path.Join("file://", wd, s[0]))
		ups, _ := server.DefaultServer.NewUploadPackSession(ep, nil)
		if strings.Contains(r.URL.Path, "info") {
			advs, _ := ups.AdvertisedReferences()
			advs.Prefix = [][]byte{
				[]byte("# service=git-upload-pack"),
				[]byte(""),
			}
			w.Header().Set("Content-Type", "application/x-git-upload-pack-advertisement")
			advs.Encode(w)
			return
		}
		defer r.Body.Close()
		var rdr io.ReadCloser = r.Body

		if r.Header.Get("Content-Encoding") == "gzip" {
			rdr, _ = gzip.NewReader(r.Body)
		}

		upakreq := packp.NewUploadPackRequest()
		upakreq.Decode(rdr)

		up, _ := ups.UploadPack(r.Context(), upakreq)
		w.Header().Set("Content-Type", "application/x-git-upload-pack-result")
		up.Encode(w)
	}))
}

if you clone the aws/aws-sdk-go repo git clone --quiet --mirror https://github.com/aws/aws-sdk-go aws-sdk-go into the same directory as you put this go file
Then go run main.go you can do the following tests
$ time git clone --quiet https://github.com/aws/aws-sdk-go

real	0m23.816s
user	0m4.047s
sys	0m1.289s

$ time git clone --quiet http://localhost:8822/aws-sdk-go

real	2m18.718s
user	0m3.793s
sys	0m1.165s

The time cost here is entirely in cloning from scratch, pulling seems plenty fast.
I did profile my code and I found it spent most of it's time in encoder.go

Can anyone think of any way to shortcut this process for a clone if not optimise the code?
If instead of using git clone --mirror to create the aws-sdk-dir and I use go-git to clone it I even get pre-packed files
./objects/pack/pack-41174c775d8b7f517d5db3c20d52b0e5379fe9de.idx
./objects/pack/pack-41174c775d8b7f517d5db3c20d52b0e5379fe9de.pack

Perhaps for a fresh clone I can just ship that?

Out of curiosity I tested piping to and from git-upload-pack
$ time git clone --quiet http://localhost:8822/aws-sdk-go

real	0m3.545s
user	0m3.573s
sys	0m0.790s

This is the result I was kinda hoping for, but I'd still be happy with githubish speed

The problem is that the packfile is being calculated and all the deltas, and this is expensive operation.

Just a bit more information about the evolution of the problem:
The baseline a git server local server serving the example repository of aws-sdk-go, executed with  git daemon --verbose --base-path=/tmp --export-all /tmp/aws-sdk-go
git fetch origin v0.6.0
Baseline, git daemon:
 time git fetch origin v0.6.0                                                                                mcuadros@mcuadros-xps-arch
remote: Counting objects: 12247, done.
remote: Compressing objects: 100% (4166/4166), done.
remote: Total 12247 (delta 6741), reused 12233 (delta 6741)
Receiving objects: 100% (12247/12247), 8.89 MiB | 27.17 MiB/s, done.
Resolving deltas: 100% (6741/6741), done.
From git://localhost/aws-sdk-go
 * tag               v0.6.0     -> FETCH_HEAD
1.52user 0.09system 0:00.98elapsed 165%CPU (0avgtext+0avgdata 9148maxresident)k
0inputs+18896outputs (0major+4389minor)pagefaults 0swaps

After #697
time git fetch origin v0.6.0                                                                                mcuadros@mcuadros-xps-arch
Receiving objects: 100% (12247/12247), 8.13 MiB | 2.62 MiB/s, done.
Resolving deltas: 100% (7324/7324), done.
From http://localhost:8080/aws-sdk-go
 * tag               v0.6.0     -> FETCH_HEAD
1.65user 0.14system 0:11.95elapsed 15%CPU (0avgtext+0avgdata 9888maxresident)k
0inputs+0outputs (0major+5590minor)pagefaults 0swaps

Before #697
time git fetch origin v0.6.0                                                                                mcuadros@mcuadros-xps-arch
Receiving objects: 100% (12247/12247), 8.38 MiB | 3.01 MiB/s, done.
Resolving deltas: 100% (6967/6967), done.
From http://localhost:8080/aws-sdk-go
 * tag               v0.6.0     -> FETCH_HEAD
1.63user 0.08system 0:19.10elapsed 8%CPU (0avgtext+0avgdata 12980maxresident)k
0inputs+0outputs (0major+5480minor)pagefaults 0swaps


Dying Beds in Console Crafting Bugged

So, I made some light gray beds and wanted to dye them blue, but when I tried to so, it ate my blue dye and gave me the light gray bed back lol
(for more context for bug testing, i had multiple light gray beds in my inventory, the white beds dyed fine)

Fixed in version 1.7, thanks for reporting.


FIXES EVERYTHING!!

That is a BOLD claim for a PR title. :-)

That is a BOLD claim for a PR title. :-)

Yes haha, but I think this bug-fix hopefully warrants it. I think "FIXES (ALMOST) EVERYTHING!!" would be a more appropriate title.

There's a TLDR at the bottom.
So we sorta knew that the code on master was "working" (tests were passing and figures were being made), but there was clearly something wrong that was hard to identify. Some things we noticed that were wrong were:

the transition matrix estimates were wrong (whether or not the other parameter estimates were correct)
behavior in estimating censored lineages didn't correlate with behavior with estimating uncensored lineages (besides just being worse)
performance of estimation HEAVILY relied on 2 things: initialization of the parameters themselves and default/error outputs that were hardcoded into our estimators.
during Baum-Welch, the cells would sometimes be grouped into all one state which should have been rarer than it was

Something I noticed while working on this were some more serious errors:

more than 50 iterations of Baum-Welch were being run which seemed like a lot for our given ideal cases
the likelihood that we were trying to maximize wasn't always being maximized (unless our estimators were configured to output desirable results with those hard-coded if-statements) even though EM guarantees it

There were about two or three things that we thought could be the source of the error:

global estimation of transition matrices were wrong
attribute poor estimation to censorship being a difficult to handle (but the EM algorithm should be able to handle this to some degree because of proof-of-correctness?)
general bugs or inconsistencies with the model

Global estimation of the transition matrices happens in Baum-Welch during the M step. This was the source of the first error. For Baum-Welch, the E-step calculates parameters that are used to estimate T. Namely, zetas, which represent the expected frequency of transition between states, and gammas, which represent the expected state a cell is to be in at a given time point (time point in the Markov tree, not time point relative to experiment time). For each lineage, the ratio of these is taken for the elements of the transition rate matrix. This works for single lineages. However, for multiple lineages, these matrices were first evaluated and then averaged at the end. This doesn't work, because as Dr. Meyer noted, lineages with different frequencies (where a lineage has nearly all cells of one state) and different sizes can alter/bias the result. I thought the fix for this was weighting each of the matrices by some factor based on the lineage size or the number of transitions or the number of cells in that state, both of which were wrong. The reason for this is a really basic mathematical error: what we want is the ratio between the number of transitions across all lineages represented by the zetas divided by the number of times the starting point of that transition is that respective state represented by the gammas. If we let zetas_1, gammas_1, zetas_2, gammas_2, represent those expected values for two lineages, then what we were previously doing was:
normalized[(zetas_1/gammas_1) + (zetas_2/gammas_2)]
What we want is:
normalized[(zetas_1 + zetas_2)/(gammas_1 + gammas_2)]
We can see how the top clearly doesn't equal the bottom. This change is reflected in the code in Baum-Welch, where zetas and gammas are summed over the lineages and then divided, instead of summing the ratio between them and then normalizing.

The second major change was the second parameter of Baum Welch that is estimated in the M step,  the set of parameters that define the state distributions, that is, the Bernoulli p, the gamma a, and scale for each of the states. What we would originally do is, use our gamma variables (which as before, represent the expectation that a cell is in that state at a given time point), find which gamma for which state was larger using an argmax, group the cells into states based on which cells had the larger gamma, and then estimate the state parameters based on those selected cells. This creates two problems: gammas represent an expectation so turning these likelihoods into 1s or 0s might be a misinterpretation of what they mean and secondly, in every guide/lecture to Baum Welch, gammas (the expectation that a cell is in that state) is utilized in the estimation of the parameter itself, which we weren't doing. What gammas really represents is a sort of participation weighting or a factor that says how confident the model is in saying that that particular cell belongs to that state. I think component/state identifier or participation variable are better names for gamma. This variable is common in mixture models and in general, EM algorithms, but is never used in the way we implemented. What we were originally confused about, when we were writing Baum Welch, was how to convert how people used gammas in Baum Welch to our use case. Usually, everyone had these multinomial observations (like the particular weather on a day or someone's mood), so instead, we incorrectly wrote that argmax way of estimating the parameters.
It's hard to explain the rest using words, but lecture 11, slide 34 in this lecture http://www.utstat.toronto.edu/~rsalakhu/sta4273/notes/Lecture11.pdf explains it in math.
As an example, the Bernoulli MLE estimator is just the average of the data, the sum of the observations over the length. But because the gammas for each cell for each state represents the confidence that that cell is in that state, we can instead let the Bernoulli estimator see ALL the data but weight it by the gammas. The modified estimator then becomes the sum of gammas times the observations over the sum of the gammas. If we consider the case where the gammas are all one, for one of the states, then we see that the estimator reduces to the normal estimator without the gammas (because you're just multiplying every observation by 1 and the sum of the 1s is just the number of observations). If gammas is 1 for half of the cells for one state, and 1 for half of the cells for the other state, we see that its the same as the estimator seeing ONLY those cells for those states (because the gammas being 0 would drop some observations out). This change is reflected in Baum Welch and in the individual estimators.

The Bernoulli and exponential likelihood are easy to adapt with the gammas because their MLEs are just the sample averages. The gamma estimator is a little more difficult. I did the math on paper and wrote a Halley root finder using the first, and second-order derivatives of the likelihood incorporated with the gamma weights. I couldn't find an answer for this online, but I'm pretty sure its correct and it works. I think it works because

we don't need default outputs to move our parameter estimates around when they're bad or nonsensical
it isn't heavily reliant on the initial value of the parameters
can now see all observations instead of just some of them and no longer runs into the case of an empty list
any pair of gamma values are well estimated instead of hand-selected ones
doesn't utilize an iterative Newton's method

Some issues I did have were

when we analyze SINGLE lineages of CENSORED cells with fewer than 50-100 cells, the parameter estimates are wildly wrong (in the 1000s) for the first iterationof Baum Welch, so there is that one case where I have to hard-code an if-statement to return a more sensible parameter estimate. You can see this in the new gamma estimator. The problem of having the estimator return a parameter estimate for gamma a and scale like (1000, 0.09), is that the pdf will then return 0.0 for most observations. When this happens, I ask that the model be rerun, but I don't know if the way I coded this was correct.

I don't see this issue on any other type of lineage data, like populations of censored lineages (see below). I had some issues with figure 10, but I think that figure can be fixed on a different branch.

TLDR:

transition matrices are globally estimated
the gamma variable that our model estimates (which I'll call the component identifier variable or the participation variable) which is the expectation that a cell is in that state, is now being correctly utilized in the estimation of the state distribution parameters
bernoulli, gamma, and exponential estimators now utilize the participation variable in their estimation, and are rewritten
gamma estimator is written as a halley root finder utilizing the participation variable

Some TODOs:
I think it'll be easier to handle censorship because I have more confidence that the model as a whole is working (that is in the way Mr. Baum or Mr. Welch would have wanted it). Knowing that now, we can look at the figures of the censored lineages with a different perspective.

The above is the new figure 15, POPULATIONS of CENSORED lineages with exponential times. Something to note is how the model estimates the exponential parameters which is now biased almost perfectly by a fixed amount lower than the true value. Something important to note is that the exponential estimator NO LONGER has a default output, nothing to output from a hard-coded if statement. This makes me believe that censorship can be effectively analyzed. I have a plan, but will approach this in a new branch.
For comparison, here's the new figure 5, POPULATIONS of CENSORED lineages with gamma times.

It seems like here, the estimator is more likely to bias the shape down, instead of moving the scale up. I have looked into gamma estimators for shapes that are equal across components or states, but many utilize a Newton solver. What we could do, is just force the model to share the parameter for both states, but I don't know if that's the MLE or optimal way.
Here are the uncensored versions of the figures above:


Remove container runtime config

Remove containerRuntime setting.
Issue https://github.com/signalfx/splunk-otel-collector-chart/issues/829
Create a common parser for crio/containerd

If anyone can take a look at this one

Please address the following so we can proceed with this PR:

Splunk Platform Functional Tests: Ensure all tests pass.
Validation Information: Given the potential for breaking changes in varying environments, it's essential to provide details about how the Acceptance Criteria (AC) validation.

Include a brief description of the testing methodology.
Please provide publicly accessible evidence/records of the tests conducted for the proposed changes on the K8s distributions supported by Splunk.
Specify the Kubernetes distributions (using containerd) and versions tested.

For testing coverage, https://github.com/signalfx/splunk-otel-collector-chart/pull/898 should help a lot.

WIP. Moving as draft till tested thoroughly.


Feature Proposal: labels on stacked bar chart

Enable labels for stacked bar chart
I wanted to know if the stacked bar chart could have a total count value at the end of the bars similar to the single bar chart component.

Essentially the API should have an enableLabels for stacked bar charts too because it is a very important feature as it saves space and allows for a more readable and clean UI.
The data I want to display is formatted like [someAttribute] : [subAttribute1 : COUNT] [subAttribute2 : COUNT] and a stacked bar chart is the most appropriate display. However, I want to have a label at the end of the bars that displays the total count to make it more readable along with other tool tips that display information on the sub attributes.

Thanks!
It makes sense, we should do it!

I could implement that but I am not exactly sure how it should look like. @orangewit3 could you provide more details? Should it be on the top of each stacked bar?

won't do this for now.


Feature Request User Site on WAN

Hi,
Feature request for a site reachable via WAN with Personal account (ideal with OTP)
to be able to download OPNVPN Profiles.
Like Sophos User Portal

Do you expect the OpenVPN Profiles being offered there automatically based on the current configuration, or are you looking for something like a tiny externally reachable web-server to offer custom files for download?

I think @andreasvel wants a portal, where it is possible to log in and download the configuration files for the client as well as the certificates and the private keys.

Yes, but shall the configs and keys be put there automatically (according to the configured OpenVPN servers) or shall the admin put the files there?

It's the administrator's responsibility to enable the GUI on the WAN. The users can already login if given rights, the part that is missing is a sanity improvement for the client export pages so that only a specific (non-admin user) can download his/her own certificates:  https://github.com/opnsense/core/issues/375

It was thought as an easy just one site to get the openvpn profile or informations to the IPSEC Tunnes without Passwords
i agree to fichtner - but if its simple enough?
also i would love to get this work with otp

It's simple because if the User Profile was configured to only show the export page, it will be visible right after login. :)

yes, but - if you activate that the user can change the pw this is the first page which is shown... also he can see the other profiles not only his profile (vpn)

#375 deals with the latter issue, the first one we can fix, too. I will add an issue.

what about the IPSEC Page Preshared key??? should it be possible to be configed by the user? is there a scenario

PSKs should be shared out of band. It would be lots of management code to map a PSK to a user/group of users just for display.

i agree in this part that i would say it should just be able to edit from a LAN Site not from VPN/WAN Site

to hide the other profiles is more problematic? a milestone for 16.7???

yes, but - if you activate that the user can change the pw this is the first page which is shown

This isn't true. A new user that is not an admin and that only has OpenVPN export page rights will not be allowed to change his password. A user with password change privileges will also be redirected to the export page, not the password page.

Staff is short, any help is welcome...

i tested it. my user can just openvpn export and user
see my config http://www.bilder-upload.eu/show.php?file=2df1be-1452264684.png
the result is that first page that is shown is the user site to change pw

Maybe the assignment order matters?

On 08.01.2016, at 15:33, Andreas<EMAIL_ADDRESS>wrote:
i tested it. my user can just openvpn export and user
see my config http://www.bilder-upload.eu/show.php?file=2df1be-1452264684.png
the result is that first page that is shown is the user site to change pw
—
Reply to this email directly or view it on GitHub.

no i cant test it :( cant login as normal user any more :( i guess it could be a error at my config.xml?!

deleted the user, recreated now it works fine


Better value decoding

This commit changes how values are decoded internally. It introduces the ValueDecoder trait, which is responsible for decoding a value from either text or binary using a particular strategy.
Additionally, OIDs are now used to map to the name of the postgres receive function for a type, which is a reliable way of deciding how the value should be decoded. These receive functions are then mapped to ValueDecoders.  This change allows for cusom value decoders to be specified, and also allows for the remote database to be queried for its types; custom types may be present with a non-fixed OID, but which use existing receive functions.  Thus, type handling is more robust against postgres use cases.
Changes to the user-facing API:

Client.apply now accepts additional optional arguments:

customReceiveFunctions which allows for specifying a PartialFunction that maps receive function names to ValueDecoders
binaryResults which allows specifying that the client should ask the server for results in binary format (which is more robust and performant than text)

Timestamps now use appropriate java.time representations by default:

java.time.LocalDateTime for timestamp
java.time.ZonedDateTime for timestamp with time zone
java.time.LocalDate for date

Compatibility changes:

Java 8 is now required (since java.time is used)

The integration tests have also been changed to use an environment-configurable Postgres instance, rather than a hard-coded one.  This will allow the integration tests to actually run in travis-ci.
Tests also now use ScalaCheck where possible.
There are also a few fixes for bugs which didn't become apparent until binary mode was possible.

Coverage decreased (-5.5%) to 11.178% when pulling ed60c562a5bed54b55740c330f2c2feb31eadaa7 on jeremyrsmith:better-type-handling into 8ec164da260acb5769e89c649a748b03c03f59b3 on finagle:master.

Note that the comment from @coveralls is now wrong.  Coverage is up 52.1% to 68.848% as reflected in the checks.

@vkostyukov Any objection to merging this PR?  The biggest deal breaker I can see is that it removes compatibility with older Java versions, but I'm not sure how much of an issue that is (do people still use JDK 7 and under?)

In light of today's announcement that Finagle is moving to JDK8-only, this PR becomes even more compelling!  Anyone?  Anyone? @vkostyukov? @travisbrown? @bueller?


Feature Request: Thermostat

topics:
int roomtemp {get} C*
int outdoortemp {get} C*
int setpoint {get; set} C*
fanmode {get; set} ["auto", "quiet", "lvl_1", "lvl_2", "lvl_3", "lvl_4", "lvl_5"]
/swingmode {get; set} ["on","off"]
/mode {get; set} [  "auto", "cool", "heat", "dry", "fan_only"]
/state {get; set} ["on","off"]
by default, my implementation uses the prefix "/state" for device reporting and "/set" for setting
on/off timer would be great to have, but as far as I know, the ST presentation is cranky.

by default, my implementation uses the prefix "/state" for device reporting and "/set" for setting
Do you have any flexibility to change your implementation?  I'm asking because currently this driver requires the subscribed topic to begin with smartthings/.
If that's not configurable for you, then would my other MQTT Devices driver maybe be a better fit for what you need?

thanks already solved in a fork