Validate rpc response consistency

Description
Before further processing, we should validate that all referenced data is present. All blockHashs and transactionHashs should have a corresponding block and transaction. This should happen in both sync-historical and sync-realtime.
Related
Several users have reported that transaction is undefined in their ponder indexing functions. After further investigation this is a result of the database being corrupted, with a log.transactionHash referencing a transaction that doesn't exist

What should be the proper handling if the log references the transaction that is not in the block? Should it throw an error?

What should be the proper handling if the log references the transaction that is not in the block? Should it throw an error?

Great question - I think the sync-historical logic should log an error containing exactly what is inconsistent and then fail. sync-realtime should log a similar warning, and then enter this retry loop that is already used to handle some rpc-related errors.
https://github.com/ponder-sh/ponder/blob/8790396ad61e49d284e838572c347b7c97ec9898/packages/core/src/sync-realtime/index.ts#L644-L654
The reason for the different behavior in sync-historical vs sync-realtime is that json rpc providers are generally less reliable (because of load balancing or reorg handilng logic or whatever reason) when the requested data is closer to the tip of the chain but eventually able to serve the correct data after retrying. Farther back in the historical range the providers are more reliable but errors are persistent.

I see, can i take over this issue btw?

Yes, that would be great. I think you should start with the sync-realtime cause it should be more straightforward than the sync-historical and make a draft pr when you finish that part.

@khaidarkairbek Here's another spot in the same function we would want to update that does some rpc response validation and throws and error:
https://github.com/ponder-sh/ponder/blob/6d45c52ed32791be782181f4c04fd63fe5e01d9a/packages/core/src/sync-realtime/index.ts#L391-L395


 Working on Windows 7(32 bit)

Gives Error After Server Started Port: as below. Someone please Help me out
[17:51:42] Finished 'default' after 6.98 μs
[17:51:42] Server started http://localhost:8080
[17:51:42] LiveReload started on port 35729
[17:51:42] { [Error: You need to have Ruby and Compass installed and in your system PATH for this task to work.]
message: 'You need to have Ruby and Compass installed and in your system PATH for this task to work.',
showStack: false,
showProperties: true,
plugin: 'gulp-compass',
__safety: { toString: [Function: bound ] } }

The error message is pretty clear:

You need to have Ruby and Compass installed and in your system PATH for this task to work.

More in the readme.

Dear Sir ,
I have tried command set PATH=C:\Ruby23\bin;%PATH%
and Compass create path/to/Desktop/Responsive.
Git Bash Here still gives Same Error
On Tue, Jun 28, 2016 at 6:07 PM, Sindre Sorhus<EMAIL_ADDRESS>wrote:

The error message is pretty clear:
You need to have Ruby and Compass installed and in your system PATH for
this task to work.
More in the readme.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gruntjs/grunt-contrib-sass/issues/225#issuecomment-229036297,
or mute the thread
https://github.com/notifications/unsubscribe/ATGG7ZWxmoJzjbgfDRmNDBqwaz68F13eks5qQRWDgaJpZM4JADCz
.

--
Thanks and Regards,
 Mr. Nikhil J. Bhandari
 Shri Swami Samarth Trust, Dindori, Nashik
 [image: Nikhil Bhandari Facebook Profile]

https://www.facebook.com/nikhil.bhandari.712
https://twitter.com/niksbhandari003 [image: Nikhil Bhandari: Linked
Profile] https://in.linkedin.com/pub/nikhil-bhandari/4a/64a/432
https://plus.google.com/+nikhilbhandari003
8087216351


[Auth] signOut should return boolean #157

Hi @NathanWalker @triniwiz
The return status is missed on both platform (#157 )

@cla-bot check


Uninitialized array slot

3rd array slot unused but string[] cmds declared with capacity 4

Fixed in huff-rs port


fix: store value spec as JsObject bug is resolved

Description
As the PR which fixes the issues in JSObject shown below is merged. We can undo the workaround added in cypress test to bypass this bug. It also acts as a verification for below issue to be resolved.

Fixes # (issue)
Type of change
Cypress test fix
How Has This Been Tested?
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=1bc02e3

/ok-to-test sha=f171a6d

/ok-to-test sha=df7ea06

/ok-to-test sha=118158f

Added Test Plan Approved Label here as this PR fixes cypress test and not any platform functionality which needs Test Plan.


fix(seq): Remove bold wraps

Informations

Type
Breaking change

Fix
No

Description
Remove bold wraps, as they are not shown correctly in seq.

Thanks @9KwHCUDP :)

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


Delete CONTRIBUTING.md

Why:

What's being changed:

Check off the following:

[ ] All of the tests are passing.
[ ] I have reviewed my changes in staging.
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

Fff

Bdyudtgc gti it yh

Jjtjtk5mmny know how much m m and NJ hi BB be nice i

_red if the reader of this fff red if the end red if they

Ejdjejekekkem


Trakt:Progress not working after latest update

When i click on TRAKT:Progress i just get the "Working..." at bottom of the screen for a few seconds then nothing happens stays on my specto page, I thought maybe it was a trakt issue so i tried it on exodus and trakt progress loaded fine so then tried again on specto and nothing still.
Deleted data+cache and tried again and still didn't work, Then completely deleted and reinstalled specto and still not working.

Trakt.tv wasn't working for me as well. What I did to get it working was to delete the trakt information found in userdata>addon_data>plugin.video.specto>settings.xml. Then, reactivated trakt in specto settings under accounts.
Later...
Bob

Tried the above fix. Did not work for me. To be clear. Trakt works on Specto but the Progress feature does not

Trait progress is not working with the last update.
The fix uncheck auto update and install a older version

Do you have a link to the previous version?

http://kodi.filmkodi.com/plugin.video.specto/

Trakt does not work for me. Authorisation is working but  could not event download my TV Collection. Tried it on two separate boxes (one with Kit Kat and one with marshmallow). Please help.
Thank you

On 6 Nov 2016, at 00:55, fogotten<EMAIL_ADDRESS>wrote:
Tried the above fix. Did not work for me. To be clear. Trakt works on Specto but the Progress feature does not
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/mrknow/filmkodi/issues/582#issuecomment-258624254, or mute the thread https://github.com/notifications/unsubscribe-auth/AE-KrMcr3yGo34BVw-DNLvDnfnTxHnEcks5q7LUSgaJpZM4KqIaD.

fixed


remove ApplicationQualification#equivalency_details

Context
ApplicationQualifications#equivalency_details has been droped https://github.com/DFE-Digital/apply-for-teacher-training/pull/9648 just need to remove the ignored column

 Tech debt: Apply: remove unused equivalency_details field


FilePathResult WriteFileAsync uses SendFile feature incorrectly

The logic should be:

Get file info from file provider
If file is physical AND SendFile feature exists, use SendFile
Else (either file isn't physical, or SendFile feature doesn't exist), use the CopyStream implementation

The current issue is that even for non-physical files it sometimes tries to use the SendFile feature.


test: add unit tests for String Translations API methods

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 65.19%. Comparing base (863c69d) to head (d11cc93).

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #25       +/-   ##
===========================================
+ Coverage   48.63%   65.19%   +16.56%
===========================================
  Files          23       23
  Lines        1094     1100        +6
===========================================
+ Hits          532      717      +185
+ Misses        519      336      -183
- Partials       43       47        +4

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


VS Code - Bicep Extension - Linting errors

Hi I am having the following issue using Bicep Extension in VS Code. Hopefully its something simple to fix but here's the details. If I can provide any more details please let me know.
Issue:
I have been using bicep for a bit of time and recently since using VS Code I have been having errors that aren't errors in my bicep files. In some cases it as simple as the referenced module has errors. This doesn't appear to be an issue on other developers in my organisation, so perhaps its environmental.

However when I build it using the below command, I get zero error or warnings and the Main.json is created.
The command being:
bicep build main.bicep
Environment:

macOs BigSur
VS Code 1.5.0
Bicep CLI Version 1008
VS Code Bicep Extension 0.2.59

In terms of the VS Code Extension - Bicep Language Services Output
2021-12-14T20:42:29.289Z info: Current log level: debug.
2021-12-14T20:42:29.289Z info: Launching Bicep language service...
2021-12-14T20:42:55.966Z debug: Found dotnet command at '/Users/davidharvey/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/5.0.13/dotnet'.
2021-12-14T20:42:55.966Z debug: Found language server at '/Users/davidharvey/.vscode/extensions/ms-azuretools.vscode-bicep-0.2.59/bicepLanguageServer/Bicep.LangServer.dll'.
2021-12-14T20:42:55.969Z info: Bicep language service started.
[Trace - 8:42:55 PM] Sending request 'initialize - (0)'.
[Trace - 8:42:58 PM] Received response 'initialize - (0)' in 2135ms.
[Trace - 8:42:58 PM] Sending notification 'initialized'.
2021-12-14T20:42:58.113Z info: Bicep language service ready.
[Trace - 8:42:58 PM] Received request 'client/registerCapability - (1)'.
[Trace - 8:42:58 PM] Sending notification 'textDocument/didOpen'.
[Trace - 8:42:58 PM] Sending response 'client/registerCapability - (1)'. Processing request took 2ms
[Trace - 8:42:58 PM] Sending request 'textDocument/documentSymbol - (1)'.
[Trace - 8:42:58 PM] Sending request 'textDocument/codeAction - (2)'.
[Trace - 8:42:58 PM] Sending request 'textDocument/semanticTokens/range - (3)'.
[Trace - 8:42:58 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:42:58 PM] Received response 'textDocument/documentSymbol - (1)' in 235ms.
[Trace - 8:42:58 PM] Received response 'textDocument/codeAction - (2)' in 235ms.
[Trace - 8:42:58 PM] Received response 'textDocument/semanticTokens/range - (3)' in 187ms.
[Trace - 8:42:58 PM] Sending request 'textDocument/semanticTokens/full - (4)'.
[Trace - 8:42:58 PM] Received response 'textDocument/semanticTokens/full - (4)' in 8ms.
[Trace - 8:42:58 PM] Sending request 'textDocument/codeAction - (5)'.
[Trace - 8:42:58 PM] Received response 'textDocument/codeAction - (5)' in 4ms.
[Trace - 8:43:14 PM] Sending notification 'textDocument/didClose'.
[Trace - 8:43:14 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:43:14 PM] Sending notification 'textDocument/didOpen'.
[Trace - 8:43:14 PM] Sending request 'textDocument/codeAction - (6)'.
[Trace - 8:43:14 PM] Sending request 'textDocument/documentSymbol - (7)'.
[Trace - 8:43:14 PM] Sending request 'textDocument/semanticTokens/full - (8)'.
[Trace - 8:43:14 PM] Sending request 'textDocument/semanticTokens/range - (9)'.
[Trace - 8:43:14 PM] Sending request 'textDocument/codeAction - (10)'.
[Trace - 8:43:14 PM] Sending notification '$/cancelRequest'.
[Trace - 8:43:14 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:43:14 PM] Received response 'textDocument/codeAction - (6)' in 284ms.
[Trace - 8:43:14 PM] Received response 'textDocument/documentSymbol - (7)' in 288ms.
[Trace - 8:43:14 PM] Received response 'textDocument/semanticTokens/full - (8)' in 297ms.
[Trace - 8:43:14 PM] Received response 'textDocument/semanticTokens/range - (9)' in 252ms.
[Trace - 8:43:14 PM] Received response 'textDocument/codeAction - (10)' in 95ms.
[Trace - 8:43:14 PM] Sending request 'textDocument/codeAction - (11)'.
[Trace - 8:43:14 PM] Received response 'textDocument/codeAction - (11)' in 3ms.
[Trace - 8:43:40 PM] Sending request 'textDocument/hover - (12)'.
[Trace - 8:43:40 PM] Received response 'textDocument/hover - (12)' in 7ms.
[Trace - 8:43:41 PM] Sending request 'textDocument/codeAction - (13)'.
[Trace - 8:43:41 PM] Received response 'textDocument/codeAction - (13)' in 8ms.
[Trace - 8:43:44 PM] Sending request 'textDocument/codeAction - (14)'.
[Trace - 8:43:44 PM] Received response 'textDocument/codeAction - (14)' in 2ms.
[Trace - 8:43:46 PM] Sending request 'textDocument/documentHighlight - (15)'.
[Trace - 8:43:46 PM] Received response 'textDocument/documentHighlight - (15)' in 16ms.
[Trace - 8:43:46 PM] Sending request 'textDocument/codeAction - (16)'.
[Trace - 8:43:46 PM] Received response 'textDocument/codeAction - (16)' in 2ms.
[Trace - 8:43:54 PM] Sending request 'textDocument/hover - (17)'.
[Trace - 8:43:54 PM] Received response 'textDocument/hover - (17)' in 4ms.
[Trace - 8:43:54 PM] Sending request 'textDocument/codeAction - (18)'.
[Trace - 8:43:54 PM] Received response 'textDocument/codeAction - (18)' in 2ms.
[Trace - 8:44:07 PM] Sending notification 'textDocument/didClose'.
[Trace - 8:44:07 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:44:07 PM] Sending notification 'textDocument/didOpen'.
[Trace - 8:44:07 PM] Sending request 'textDocument/codeAction - (19)'.
[Trace - 8:44:07 PM] Sending request 'textDocument/documentSymbol - (20)'.
[Trace - 8:44:07 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:44:07 PM] Received response 'textDocument/codeAction - (19)' in 9ms.
[Trace - 8:44:07 PM] Received response 'textDocument/documentSymbol - (20)' in 8ms.
[Trace - 8:44:07 PM] Sending request 'textDocument/semanticTokens/full - (21)'.
[Trace - 8:44:07 PM] Received response 'textDocument/semanticTokens/full - (21)' in 2ms.
[Trace - 8:44:08 PM] Sending request 'textDocument/hover - (22)'.
[Trace - 8:44:08 PM] Received response 'textDocument/hover - (22)' in 1ms.
[Trace - 8:44:12 PM] Sending request 'textDocument/hover - (23)'.
[Trace - 8:44:12 PM] Received response 'textDocument/hover - (23)' in 2ms.
[Trace - 8:44:13 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:44:13 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:44:13 PM] Sending request 'textDocument/semanticTokens/full/delta - (24)'.
[Trace - 8:44:13 PM] Received response 'textDocument/semanticTokens/full/delta - (24)' in 26ms.
[Trace - 8:44:13 PM] Sending request 'textDocument/documentSymbol - (25)'.
[Trace - 8:44:13 PM] Received response 'textDocument/documentSymbol - (25)' in 1ms.
[Trace - 8:44:13 PM] Sending request 'textDocument/codeAction - (26)'.
[Trace - 8:44:13 PM] Received response 'textDocument/codeAction - (26)' in 2ms.
[Trace - 8:44:17 PM] Sending notification 'textDocument/didSave'.
[Trace - 8:44:17 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 8:44:22 PM] Sending notification '$/setTrace'.
[Trace - 8:44:22 PM] Sending notification 'workspace/didChangeConfiguration'.
[Trace - 8:44:24 PM] Sending notification 'textDocument/didOpen'.
[Trace - 8:44:24 PM] Sending request 'textDocument/codeAction - (27)'.
[Trace - 8:44:24 PM] Sending request 'textDocument/documentSymbol - (28)'.
[Trace - 8:44:24 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:44:24 PM] Received response 'textDocument/codeAction - (27)' in 12ms.
[Trace - 8:44:24 PM] Received response 'textDocument/documentSymbol - (28)' in 11ms.
[Trace - 8:44:24 PM] Sending request 'textDocument/semanticTokens/full - (29)'.
[Trace - 8:44:24 PM] Received response 'textDocument/semanticTokens/full - (29)' in 2ms.
[Trace - 8:44:25 PM] Sending request 'textDocument/codeAction - (30)'.
[Trace - 8:44:25 PM] Received response 'textDocument/codeAction - (30)' in 2ms.
[Trace - 8:44:25 PM] Sending request 'textDocument/hover - (31)'.
[Trace - 8:44:25 PM] Received response 'textDocument/hover - (31)' in 1ms.
[Trace - 8:44:29 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:44:29 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:44:29 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 8:44:29 PM] Sending request 'textDocument/semanticTokens/full/delta - (32)'.
[Trace - 8:44:29 PM] Received response 'textDocument/semanticTokens/full/delta - (32)' in 4ms.
[Trace - 8:44:29 PM] Sending request 'textDocument/documentSymbol - (33)'.
[Trace - 8:44:29 PM] Received response 'textDocument/documentSymbol - (33)' in 1ms.
[Trace - 8:44:29 PM] Sending request 'textDocument/codeAction - (34)'.
[Trace - 8:44:29 PM] Received response 'textDocument/codeAction - (34)' in 2ms.
[Trace - 8:44:30 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 8:44:33 PM] Sending notification 'textDocument/didClose'.
[Trace - 8:44:33 PM] Sending request 'textDocument/codeAction - (35)'.
[Trace - 8:44:33 PM] Sending request 'textDocument/documentSymbol - (36)'.
[Trace - 8:44:33 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:44:33 PM] Received response 'textDocument/codeAction - (35)' in 5ms.
[Trace - 8:44:33 PM] Received response 'textDocument/documentSymbol - (36)' in 4ms.
[Trace - 8:44:33 PM] Sending request 'textDocument/codeAction - (37)'.
[Trace - 8:44:33 PM] Received response 'textDocument/codeAction - (37)' in 2ms.
[Trace - 8:45:06 PM] Sending request 'textDocument/hover - (38)'.
[Trace - 8:45:06 PM] Received response 'textDocument/hover - (38)' in 6ms.
[Trace - 8:45:10 PM] Sending notification 'textDocument/didOpen'.
[Trace - 8:45:10 PM] Sending request 'textDocument/codeAction - (39)'.
[Trace - 8:45:10 PM] Sending request 'textDocument/documentSymbol - (40)'.
[Trace - 8:45:10 PM] Sending request 'textDocument/documentHighlight - (41)'.
[Trace - 8:45:10 PM] Sending request 'textDocument/semanticTokens/full - (42)'.
[Trace - 8:45:10 PM] Sending request 'textDocument/semanticTokens/range - (43)'.
[Trace - 8:45:10 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:45:10 PM] Received response 'textDocument/codeAction - (39)' in 71ms.
[Trace - 8:45:10 PM] Received response 'textDocument/documentSymbol - (40)' in 71ms.
[Trace - 8:45:10 PM] Received response 'textDocument/documentHighlight - (41)' in 74ms.
[Trace - 8:45:10 PM] Received response 'textDocument/semanticTokens/full - (42)' in 77ms.
[Trace - 8:45:10 PM] Received response 'textDocument/semanticTokens/range - (43)' in 22ms.
[Trace - 8:45:10 PM] Sending request 'textDocument/codeAction - (44)'.
[Trace - 8:45:10 PM] Received response 'textDocument/codeAction - (44)' in 2ms.
[Trace - 8:45:11 PM] Sending request 'textDocument/hover - (45)'.
[Trace - 8:45:11 PM] Received response 'textDocument/hover - (45)' in 2ms.
[Trace - 8:45:11 PM] Sending request 'textDocument/hover - (46)'.
[Trace - 8:45:11 PM] Received response 'textDocument/hover - (46)' in 2ms.
[Trace - 8:45:11 PM] Sending request 'textDocument/codeAction - (47)'.
[Trace - 8:45:11 PM] Received response 'textDocument/codeAction - (47)' in 2ms.
[Trace - 8:50:15 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 8:50:29 PM] Sending request 'textDocument/documentHighlight - (48)'.
[Trace - 8:50:29 PM] Received response 'textDocument/documentHighlight - (48)' in 2ms.
[Trace - 8:50:29 PM] Sending request 'textDocument/codeAction - (49)'.
[Trace - 8:50:29 PM] Received response 'textDocument/codeAction - (49)' in 1ms.
[Trace - 8:50:31 PM] Sending request 'textDocument/codeAction - (50)'.
[Trace - 8:50:31 PM] Received response 'textDocument/codeAction - (50)' in 1ms.
[Trace - 8:50:31 PM] Sending request 'textDocument/documentHighlight - (51)'.
[Trace - 8:50:31 PM] Received response 'textDocument/documentHighlight - (51)' in 1ms.
[Trace - 8:50:31 PM] Sending request 'textDocument/codeAction - (52)'.
[Trace - 8:50:31 PM] Received response 'textDocument/codeAction - (52)' in 1ms.
[Trace - 8:50:32 PM] Sending request 'textDocument/hover - (53)'.
[Trace - 8:50:32 PM] Received response 'textDocument/hover - (53)' in 0ms.
[Trace - 8:50:32 PM] Sending request 'textDocument/codeAction - (54)'.
[Trace - 8:50:32 PM] Received response 'textDocument/codeAction - (54)' in 1ms.
[Trace - 8:50:32 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:50:32 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:50:32 PM] Sending request 'textDocument/completion - (55)'.
[Trace - 8:50:32 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:50:32 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:50:32 PM] Sending request 'textDocument/semanticTokens/full/delta - (56)'.
[Trace - 8:50:32 PM] Received response 'textDocument/completion - (55)' in 70ms.
[Trace - 8:50:32 PM] Received response 'textDocument/semanticTokens/full/delta - (56)' in 35ms.
[Trace - 8:50:32 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:50:32 PM] Sending request 'textDocument/completion - (57)'.
[Trace - 8:50:32 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:50:32 PM] Received response 'textDocument/completion - (57)' in 35ms.
[Trace - 8:50:33 PM] Sending request 'textDocument/semanticTokens/full/delta - (58)'.
[Trace - 8:50:33 PM] Sending request 'textDocument/codeAction - (59)'.
[Trace - 8:50:33 PM] Received response 'textDocument/semanticTokens/full/delta - (58)' in 12ms.
[Trace - 8:50:33 PM] Received response 'textDocument/codeAction - (59)' in 12ms.
[Trace - 8:50:33 PM] Sending request 'textDocument/documentSymbol - (60)'.
[Trace - 8:50:33 PM] Received response 'textDocument/documentSymbol - (60)' in 6ms.
[Trace - 8:50:34 PM] Sending notification 'textDocument/didSave'.
[Trace - 8:50:35 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 8:50:49 PM] Sending request 'textDocument/codeAction - (61)'.
[Trace - 8:50:49 PM] Received response 'textDocument/codeAction - (61)' in 2ms.
[Trace - 8:50:53 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:50:53 PM] Sending request 'textDocument/codeAction - (62)'.
[Trace - 8:50:53 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:50:53 PM] Received response 'textDocument/codeAction - (62)' in 3ms.
[Trace - 8:50:53 PM] Sending request 'textDocument/semanticTokens/full/delta - (63)'.
[Trace - 8:50:53 PM] Received response 'textDocument/semanticTokens/full/delta - (63)' in 9ms.
[Trace - 8:50:53 PM] Sending request 'textDocument/documentSymbol - (64)'.
[Trace - 8:50:53 PM] Received response 'textDocument/documentSymbol - (64)' in 5ms.
[Trace - 8:50:53 PM] Sending request 'textDocument/codeAction - (65)'.
[Trace - 8:50:53 PM] Received response 'textDocument/codeAction - (65)' in 2ms.
[Trace - 8:50:53 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:50:53 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:50:54 PM] Sending request 'textDocument/semanticTokens/full/delta - (66)'.
[Trace - 8:50:54 PM] Received response 'textDocument/semanticTokens/full/delta - (66)' in 10ms.
[Trace - 8:50:54 PM] Sending request 'textDocument/documentSymbol - (67)'.
[Trace - 8:50:54 PM] Received response 'textDocument/documentSymbol - (67)' in 4ms.
[Trace - 8:50:54 PM] Sending request 'textDocument/codeAction - (68)'.
[Trace - 8:50:54 PM] Received response 'textDocument/codeAction - (68)' in 2ms.
[Trace - 8:50:54 PM] Sending notification 'textDocument/didSave'.
[Trace - 8:50:54 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 8:51:08 PM] Sending request 'textDocument/documentSymbol - (69)'.
[Trace - 8:51:08 PM] Received response 'textDocument/documentSymbol - (69)' in 3ms.
[Trace - 8:51:08 PM] Sending request 'textDocument/codeAction - (70)'.
[Trace - 8:51:08 PM] Received response 'textDocument/codeAction - (70)' in 1ms.
[Trace - 8:51:16 PM] Sending request 'textDocument/hover - (71)'.
[Trace - 8:51:16 PM] Received response 'textDocument/hover - (71)' in 1ms.
[Trace - 8:51:16 PM] Sending request 'textDocument/documentHighlight - (72)'.
[Trace - 8:51:16 PM] Received response 'textDocument/documentHighlight - (72)' in 2ms.
[Trace - 8:51:17 PM] Sending request 'textDocument/codeAction - (73)'.
[Trace - 8:51:17 PM] Received response 'textDocument/codeAction - (73)' in 2ms.
[Trace - 8:51:17 PM] Sending request 'textDocument/hover - (74)'.
[Trace - 8:51:17 PM] Received response 'textDocument/hover - (74)' in 1ms.
[Trace - 8:51:31 PM] Sending request 'textDocument/codeAction - (75)'.
[Trace - 8:51:31 PM] Received response 'textDocument/codeAction - (75)' in 2ms.
[Trace - 8:51:32 PM] Sending request 'textDocument/documentHighlight - (76)'.
[Trace - 8:51:32 PM] Received response 'textDocument/documentHighlight - (76)' in 2ms.
[Trace - 8:51:32 PM] Sending request 'textDocument/codeAction - (77)'.
[Trace - 8:51:32 PM] Received response 'textDocument/codeAction - (77)' in 1ms.
[Trace - 8:51:33 PM] Sending request 'textDocument/hover - (78)'.
[Trace - 8:51:33 PM] Received response 'textDocument/hover - (78)' in 1ms.
[Trace - 8:51:33 PM] Sending request 'textDocument/hover - (79)'.
[Trace - 8:51:33 PM] Received response 'textDocument/hover - (79)' in 1ms.
[Trace - 8:51:34 PM] Sending request 'textDocument/documentHighlight - (80)'.
[Trace - 8:51:34 PM] Received response 'textDocument/documentHighlight - (80)' in 1ms.
[Trace - 8:51:34 PM] Sending request 'textDocument/codeAction - (81)'.
[Trace - 8:51:34 PM] Received response 'textDocument/codeAction - (81)' in 2ms.
[Trace - 8:51:35 PM] Sending request 'textDocument/hover - (82)'.
[Trace - 8:51:35 PM] Received response 'textDocument/hover - (82)' in 1ms.
[Trace - 8:51:35 PM] Sending request 'textDocument/codeAction - (83)'.
[Trace - 8:51:35 PM] Received response 'textDocument/codeAction - (83)' in 1ms.
[Trace - 8:51:36 PM] Sending request 'textDocument/hover - (84)'.
[Trace - 8:51:36 PM] Received response 'textDocument/hover - (84)' in 1ms.
[Trace - 8:51:36 PM] Sending request 'textDocument/codeAction - (85)'.
[Trace - 8:51:36 PM] Received response 'textDocument/codeAction - (85)' in 2ms.
[Trace - 8:51:37 PM] Sending request 'textDocument/definition - (86)'.
[Trace - 8:51:37 PM] Received response 'textDocument/definition - (86)' in 8ms.
[Trace - 8:51:37 PM] Sending request 'textDocument/documentHighlight - (87)'.
[Trace - 8:51:37 PM] Received response 'textDocument/documentHighlight - (87)' in 1ms.
[Trace - 8:51:37 PM] Sending request 'textDocument/definition - (88)'.
[Trace - 8:51:37 PM] Received response 'textDocument/definition - (88)' in 3ms.
[Trace - 8:51:37 PM] Sending request 'textDocument/codeAction - (89)'.
[Trace - 8:51:37 PM] Received response 'textDocument/codeAction - (89)' in 2ms.
[Trace - 8:51:38 PM] Sending request 'textDocument/definition - (90)'.
[Trace - 8:51:38 PM] Received response 'textDocument/definition - (90)' in 1ms.
[Trace - 8:51:38 PM] Sending request 'textDocument/codeAction - (91)'.
[Trace - 8:51:38 PM] Received response 'textDocument/codeAction - (91)' in 2ms.
[Trace - 8:51:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:51:41 PM] Sending request 'textDocument/completion - (92)'.
[Trace - 8:51:41 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:51:41 PM] Received response 'textDocument/completion - (92)' in 40ms.
[Trace - 8:51:42 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:51:42 PM] Sending request 'textDocument/semanticTokens/full/delta - (93)'.
[Trace - 8:51:42 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:51:42 PM] Received response 'textDocument/semanticTokens/full/delta - (93)' in 34ms.
[Trace - 8:51:42 PM] Sending request 'textDocument/documentSymbol - (94)'.
[Trace - 8:51:42 PM] Received response 'textDocument/documentSymbol - (94)' in 5ms.
[Trace - 8:51:42 PM] Sending request 'textDocument/codeAction - (95)'.
[Trace - 8:51:42 PM] Received response 'textDocument/codeAction - (95)' in 1ms.
[Trace - 8:51:43 PM] Sending notification 'textDocument/didChange'.
[Trace - 8:51:43 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 8:51:43 PM] Sending request 'textDocument/semanticTokens/full/delta - (96)'.
[Trace - 8:51:43 PM] Received response 'textDocument/semanticTokens/full/delta - (96)' in 14ms.
[Trace - 8:51:43 PM] Sending request 'textDocument/documentSymbol - (97)'.
[Trace - 8:51:43 PM] Received response 'textDocument/documentSymbol - (97)' in 5ms.
[Trace - 8:51:43 PM] Sending request 'textDocument/codeAction - (98)'.
[Trace - 8:51:43 PM] Received response 'textDocument/codeAction - (98)' in 2ms.
[Trace - 8:53:19 PM] Sending request 'textDocument/hover - (99)'.
[Trace - 8:53:19 PM] Received response 'textDocument/hover - (99)' in 2ms.
[Trace - 8:53:19 PM] Sending request 'textDocument/codeAction - (100)'.
[Trace - 8:53:19 PM] Received response 'textDocument/codeAction - (100)' in 1ms.
[Trace - 8:54:43 PM] Sending request 'textDocument/codeAction - (101)'.
[Trace - 8:54:43 PM] Sending request 'textDocument/documentSymbol - (102)'.
[Trace - 8:54:43 PM] Received response 'textDocument/codeAction - (101)' in 4ms.
[Trace - 8:54:43 PM] Received response 'textDocument/documentSymbol - (102)' in 7ms.
[Trace - 8:54:43 PM] Sending request 'textDocument/codeAction - (103)'.
[Trace - 8:54:43 PM] Received response 'textDocument/codeAction - (103)' in 2ms.
[Trace - 8:54:44 PM] Sending request 'textDocument/hover - (104)'.
[Trace - 8:54:44 PM] Received response 'textDocument/hover - (104)' in 2ms.
[Trace - 8:57:42 PM] Sending request 'textDocument/codeAction - (105)'.
[Trace - 8:57:42 PM] Sending request 'textDocument/documentSymbol - (106)'.
[Trace - 8:57:42 PM] Received response 'textDocument/codeAction - (105)' in 5ms.
[Trace - 8:57:42 PM] Received response 'textDocument/documentSymbol - (106)' in 8ms.
[Trace - 8:57:42 PM] Sending request 'textDocument/codeAction - (107)'.
[Trace - 8:57:42 PM] Received response 'textDocument/codeAction - (107)' in 2ms.
[Trace - 9:02:07 PM] Sending request 'textDocument/codeAction - (108)'.
[Trace - 9:02:07 PM] Sending request 'textDocument/documentSymbol - (109)'.
[Trace - 9:02:07 PM] Received response 'textDocument/codeAction - (108)' in 4ms.
[Trace - 9:02:07 PM] Received response 'textDocument/documentSymbol - (109)' in 6ms.
[Trace - 9:02:07 PM] Sending request 'textDocument/codeAction - (110)'.
[Trace - 9:02:07 PM] Received response 'textDocument/codeAction - (110)' in 3ms.
[Trace - 9:02:08 PM] Sending request 'textDocument/hover - (111)'.
[Trace - 9:02:08 PM] Received response 'textDocument/hover - (111)' in 2ms.
[Trace - 9:02:09 PM] Sending request 'textDocument/codeAction - (112)'.
[Trace - 9:02:09 PM] Received response 'textDocument/codeAction - (112)' in 2ms.
[Trace - 9:02:11 PM] Sending request 'textDocument/definition - (113)'.
[Trace - 9:02:11 PM] Received response 'textDocument/definition - (113)' in 1ms.
[Trace - 9:02:12 PM] Sending request 'textDocument/documentHighlight - (114)'.
[Trace - 9:02:12 PM] Received response 'textDocument/documentHighlight - (114)' in 1ms.
[Trace - 9:02:12 PM] Sending request 'textDocument/codeAction - (115)'.
[Trace - 9:02:12 PM] Received response 'textDocument/codeAction - (115)' in 2ms.
[Trace - 9:02:12 PM] Sending request 'textDocument/hover - (116)'.
[Trace - 9:02:12 PM] Received response 'textDocument/hover - (116)' in 1ms.
[Trace - 9:02:13 PM] Sending request 'textDocument/codeAction - (117)'.
[Trace - 9:02:13 PM] Received response 'textDocument/codeAction - (117)' in 2ms.
[Trace - 9:02:14 PM] Sending request 'textDocument/hover - (118)'.
[Trace - 9:02:14 PM] Received response 'textDocument/hover - (118)' in 2ms.
[Trace - 9:02:14 PM] Sending request 'textDocument/codeAction - (119)'.
[Trace - 9:02:14 PM] Received response 'textDocument/codeAction - (119)' in 2ms.
[Trace - 9:02:14 PM] Sending request 'textDocument/hover - (120)'.
[Trace - 9:02:14 PM] Received response 'textDocument/hover - (120)' in 1ms.
[Trace - 9:02:15 PM] Sending request 'textDocument/codeAction - (121)'.
[Trace - 9:02:15 PM] Received response 'textDocument/codeAction - (121)' in 8ms.
[Trace - 9:02:15 PM] Sending request 'textDocument/definition - (122)'.
[Trace - 9:02:15 PM] Received response 'textDocument/definition - (122)' in 1ms.
[Trace - 9:03:41 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 9:04:59 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 9:04:59 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 9:05:28 PM] Sending notification 'workspace/didChangeWatchedFiles'.
[Trace - 9:05:29 PM] Sending notification 'workspace/didChangeWatchedFiles'.

Having completely removed VS Code and re-installed this has been resolved.
Now using VS Code: 1.63.1


Fix PSA_CRYPTO_SPM builds of some source files

Fix https://github.com/ARMmbed/mbedtls/issues/4649
No testing, that's a separate topic.
Needs backport: 2.x

Replaced by https://github.com/ARMmbed/mbedtls/pull/4673


Update System Files fails Initialization - Settings format

See the error at the end of the logs below. This is what our ALGOORGSETTINGS variable looks like:
{"useCompilerFolder": true,"doNotPublishApps": true,"artifact": "https://bcartifacts.azureedge.net/sandbox/22.0.54157.55210/us"}
I tried this once with ordinary JSON formatting, and once as above (compressed). Both fail in the same way. Are we missing something?
 Error: Settings in ALGoOrgSettings variable is not recognized as JSON (does not start with '{')) Stacktrace: at Test-JsonStr, D:\a\_actions\microsoft\AL-Go-Actions\v3.1\AL-Go-TestRepoHelper.ps1: line 72 at Test-ALGoRepository, D:\a\_actions\microsoft\AL-Go-Actions\v3.1\AL-Go-TestRepoHelper.ps1: line 106 at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v3.1\WorkflowInitialize\WorkflowInitialize.ps1: line 32 at <ScriptBlock>, D:\a\_temp\69a52ffb-d250-4cff-a958-fe5ccea29aa3.ps1: line 2 at <ScriptBlock>, <No file>: line 1
Error: Process completed with exit code 1.

I cannot see what is wrong on the above, just tried the same, which works fine:

It looks like the variable starts with a { in your example
Only reason I can think of is that you have an invisible character in front of the { in the editor.
One way could be to open the variable editor, place the cursor after the { character and press backspace 5 times and re-type the { character.

Actually - I just formattet your output as code and it is very clear that there are spaces or like in front of the { in the JSON structure now.


Support Rasberry Pi 2

Works great on my Pi Model B.
Tried it with Pi 2 Model B, doesn't work =(

You need to update the base raspbian install. Option 3 at
http://thepihut.com/blogs/raspberry-pi-tutorials/16982376-updating-raspian-on-your-microsd-for-the-raspberry-pi-2
On 4 Feb 2015 21:13, "drewdotpro"<EMAIL_ADDRESS>wrote:

Works great on my Pi Model B.
Tried it with Pi 2 Model B, doesn't work =(
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216.

And if you only have a Pi 2 Model?

Then perhaps you could try option 2 but you'll have to hunt out what files
you need to update. Else you'll have to wait for an updated version of
musicbox. Hopefully there will be one soon.
On 5 Feb 2015 22:16, "Petros K."<EMAIL_ADDRESS>wrote:

And if you only have a Pi 2 Model?
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-73141854
.

Or I think there's actually a script to create a musicbox image from a
fresh raspbian image. It was updated fairly recently so it might still
work... It's in the github repo.
On 5 Feb 2015 22:27, "Nick Steel"<EMAIL_ADDRESS>wrote:

Then perhaps you could try option 2 but you'll have to hunt out what files
you need to update. Else you'll have to wait for an updated version of
musicbox. Hopefully there will be one soon.
On 5 Feb 2015 22:16, "Petros K."<EMAIL_ADDRESS>wrote:

And if you only have a Pi 2 Model?
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-73141854
.

Script sound promising, i will take a look at it.

When you get a chance please report back how you get on and if the script needs any updates.

I did the system upgrade as per the guide in the link posted in this thread, and now MusicBox crashes when trying to play a track/stream of any sort.
I've tried playing:

A local track
A track on a network share
Spotify
TuneIn

All results in a crash of MusicBox, I don't know what log to look in? I've looked in the following with no success.
/var/log/mopidy/
/var/log/monit.log
The only thing I could find is this (in: /var/log/monit.log)
[CET Jan 15 10:55:17] error    : 'mopidy' process is not running
[CET Jan 15 10:55:17] info     : 'mopidy' trying to restart
[CET Jan 15 10:55:17] info     : 'mopidy' start: /etc/init.d/mopidy
[CET Jan 15 10:57:17] info     : 'mopidy' process is running with pid 2596
[CET Jan 15 10:09:22] error    : 'mopidy' process PID changed from 2596 to 2793
[CET Jan 15 11:11:22] info     : 'mopidy' process PID has not changed since last cycle
[CET Jan 15 11:39:06] info     : monit daemon with pid [2522] killed

When you say it crashes, does the whole system become unresponsive (i.e
can't login via ssh or physically with attached keyboard) or is it just the
mpd/Web interfaces?
You should be able to observe more by logging in (via ssh or physically),
stopping monit (sudo service monit stop), stopping mopidy (sudo service
mopidy stop), running mopidy in the terminal with full logging (sudo -H
-u mopidy bash -c'/usr/local/bin/mopidy --config/etc/mopidy/mopidy.conf
-vvv').
I did the system upgrade as per the guide in the link posted in this
thread, and now MusicBox crashes when trying to play a track/stream of any
sort.
I've tried playing:

A local track
A track on a network share
Spotify
TuneIn

All results in a crash of MusicBox, I don't know what log to look in? I've
looked in the following with no success.
/var/log/mopidy/
/var/log/monit.log
The only thing I could find is this (in: /var/log/monit.log)
[CET Jan 15 10:55:17] error : 'mopidy' process is not running
[CET Jan 15 10:55:17] info : 'mopidy' trying to restart
[CET Jan 15 10:55:17] info : 'mopidy' start: /etc/init.d/mopidy
[CET Jan 15 10:57:17] info : 'mopidy' process is running with pid 2596
[CET Jan 15 10:09:22] error : 'mopidy' process PID changed from 2596 to 2793
[CET Jan 15 11:11:22] info : 'mopidy' process PID has not changed since
last cycle
[CET Jan 15 11:39:06] info : monit daemon with pid [2522] killed
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-74370440
.

Also, what type of audio output are you using?
On 14 Feb 2015 11:46, "Nick Steel"<EMAIL_ADDRESS>wrote:

When you say it crashes, does the whole system become unresponsive (i.e
can't login via ssh or physically with attached keyboard) or is it just the
mpd/Web interfaces?
You should be able to observe more by logging in (via ssh or physically),
stopping monit (sudo service monit stop), stopping mopidy (sudo service
mopidy stop), running mopidy in the terminal with full logging (sudo -H
-u mopidy bash -c'/usr/local/bin/mopidy --config/etc/mopidy/mopidy.conf
-vvv').
I did the system upgrade as per the guide in the link posted in this
thread, and now MusicBox crashes when trying to play a track/stream of any
sort.
I've tried playing:

A local track
A track on a network share
Spotify
TuneIn

All results in a crash of MusicBox, I don't know what log to look in? I've
looked in the following with no success.
/var/log/mopidy/
/var/log/monit.log
The only thing I could find is this (in: /var/log/monit.log)
[CET Jan 15 10:55:17] error : 'mopidy' process is not running
[CET Jan 15 10:55:17] info : 'mopidy' trying to restart
[CET Jan 15 10:55:17] info : 'mopidy' start: /etc/init.d/mopidy
[CET Jan 15 10:57:17] info : 'mopidy' process is running with pid 2596
[CET Jan 15 10:09:22] error : 'mopidy' process PID changed from 2596 to
2793
[CET Jan 15 11:11:22] info : 'mopidy' process PID has not changed since
last cycle
[CET Jan 15 11:39:06] info : monit daemon with pid [2522] killed
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-74370440
.

I'm using the analog audio output, the error I'm receiving is the following:
*** glibc detected *** /usr/bin/python: munmap_chunk(): invalid pointer: 0x76da5b18 ***
Aborted

Same as @gonace musicbox works fine on raspberry pi but when i did the system upgrade to raspberry pi 2 and try to play music, result in a crash

I can't think why that problem would arise. Weird. There is also the option
of creating a musicbox image from scratch using the script in github.
Hopefully @woutervanwijk will be able to upload a rpi2 compatible image
soon.
On 15 Feb 2015 14:53, "Pierrick Martos"<EMAIL_ADDRESS>wrote:

Same as @gonace https://github.com/gonace musicbox works fine on
raspberry pi but when i did the system upgrade to raspberry pi 2 and try to
play music, result in a crash
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-74420358
.

I am not able to work on MB atm, sorry.
From what I heard, there seem to be two problems running MB on the Pi 2: upgrading the system and the detection of the soundcard. Problem one is solved quite easily by using an older PI, a microSD and a SD converter card. Install MB on the card, run it on the old Pi and do apt-get dist-upgrade. Then put the mircoSD in the Pi 2. It will boot. But the setsound.sh script ( https://github.com/woutervanwijk/Pi-MusicBox/blob/master/filechanges/opt/musicbox/setsound.sh ) is not correctly detecting the analog soundcard of the Pi 2, so the script breaks, as does the sound setup...
I will try to update it if I can work on the project again...

I would be great if someone could provide an image of a dist-upgraded system as suggested by Wouter. I have only a Pi 2 so I cannot do the trick. A fork would be even nicer.

I think we had a couple of reports on discuss of people having problems
with the update method. I need to get another microsd card to try this
myself.
The 2nd problem I hadn't heard about.
If you are unable to work on it right now, would you be open to adding me
(or someone) as collaborator so we can keep things ticking over?
On 16 Feb 2015 08:41, "Wouter van Wijk"<EMAIL_ADDRESS>wrote:

I am not able to work on MB atm, sorry.
From what I heard, there seem to be two problems running MB on the Pi 2:
upgrading the system and the detection of the soundcard. Problem one is
solved quite easily by using an older PI, a microSD and a SD converter
card. Install MB on the card, run it on the old Pi and do apt-get
dist-upgrade. Then put the mircoSD in the Pi 2. It will boot. But the
setsound.sh script (
https://github.com/woutervanwijk/Pi-MusicBox/blob/master/filechanges/opt/musicbox/setsound.sh
) is not correctly detecting the analog soundcard of the Pi 2, so the
script breaks, as does the sound setup...
I will try to update it if I can work on the project again...
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-74474977
.

Same Problem with this Manual: https://github.com/woutervanwijk/Pi-MusicBox/blob/master/Create Pi MusicBox.rst  It crashes when i play a song:( I hope there will be a update soon.

To clarify, you took a fresh recent raspbian image and followed those steps
and it still crashes? That doesn't sound good.
On 21 Feb 2015 18:19, "jorisbaiutti"<EMAIL_ADDRESS>wrote:

Same Problem with this Manual:
https://github.com/woutervanwijk/Pi-MusicBox/blob/master/Create Pi MusicBox.rst
It crashes when i play a song:( I hope there will be a update soon.
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-75384578
.

It probably crashes because the soundcard/alsa is not configured properly. Does it still crash if you manually set /etc/asound.conf to something like (for the analog card):
pcm.!default {
type hw
card 0
}
ctl.!default {
type hw
card 0
}

@kingosticks I added you as a contributor to both Pi MusicBox and the Webclient!

Thanks very much @woutervanwijk. l see if I can make a dent in some of these issues, starting with this one.

Thank you very much!!!! @woutervanwijk It works :) But every Time I restart my Raspberry the settings in the asound.conf file are gone.

The setsound script runs on each reboot and it overwrites that file. Fancy testing the updated version?
`cd /opt/musicbox
wget https://raw.githubusercontent.com/woutervanwijk/Pi-MusicBox/master/filechanges/opt/musicbox/setsound.sh

Well, this is a bit annoying. Seems since raspbian moved to a 3.18.x kernel the way the sound drivers needs to be loaded has changed. It seems it needs to be hardcoded into config.txt which means we actually need more changes here.

What is now checked in should work for analogue, hdmi and usb soundcards. It probably won't work for anything i2s based.

Hey kingosticks,
I upgraded my musicbox installation but kept the SD card in the Raspberry B (1).
The behavior as described above is the same. Mopidy is crashing with:
*** glibc detected *** /usr/bin/python: munmap_chunk(): invalid pointer: 0xb6e08b18 ***
whenever something was starting to get played.
I updated the setsound script with the latest version from git and the error disappeared!
I'm running Musicbox on a Raspberry B (1) using analog output.
Note to others updating the script:
In my case the wget command from above downloaded the file but named it differently ( ".1" at the end). Don't know why, maybe it was accessed by something.
So, I removed the original file first, downloaded the new file, Then did a "chmod +x setsound.sh" to make it executable. After a reboot (or manual execution of the script and the mopidy service) it worked.
Thanks a lot
Jochen

That's great, thank for the update and for explaining those extra commands
that are necessary. I hopefully should be able to test with an i2s card
tonight, there's an update to /boot/config.txt that should fix those (for
anyone who wants to try).
On 25 Feb 2015 08:00, "Jochen Mehlhorn"<EMAIL_ADDRESS>wrote:

Hey kingosticks,
I upgraded my musicbox installation but kept the SD card in the Raspberry
B (1).
The behavior as described above is the same. Mopidy is crashing with:
*** glibc detected *** /usr/bin/python: munmap_chunk(): invalid pointer:
0xb6e08b18 ***
whenever something was starting to get played.
I updated the setsound script with the latest version from git and the
error disappeared!
I'm running Musicbox on a Raspberry B (1) using analog output.
Note to others updating the script:
In my case the wget command from above downloaded the file but named it
differently ( ".1" at the end). Don't know why, maybe it was accessed by
something.
So, I removed the original file first, downloaded the new file, Then did a
"chmod +x setsound.sh" to make it executable. After a reboot (or manual
execution of the script and the mopidy service) it worked.
Thanks a lot
Jochen
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-75920053
.

I can confirm that fixes the issues noted above (other issues still prelevant)
Using Pi Model B Rev2 with Hifiberry DAC

Which issues are now left outstanding? I think i2s cards are now sorted.
On 25 Feb 2015 22:07, "Stealthii"<EMAIL_ADDRESS>wrote:

I can confirm that fixes the issues noted above (other issues still
prelevant)
Using Pi Model B Rev2 with Hifiberry DAC
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-76071081
.

For reference, I've had success with both option 2 and option 3 at http://thepihut.com/blogs/raspberry-pi-tutorials/16982376-updating-raspian-on-your-microsd-for-the-raspberry-pi-2
For option 3, you need to update the two files as mentioned in my previous comment.
For option 2, I downloaded and mounted the latest raspbian image and replaced the contents of musicbox's boot partition with the raspbian one. I then copied the 4 files under https://github.com/woutervanwijk/Pi-MusicBox/tree/master/filechanges/boot back into the musicbox boot partition.

Once this is "Raspberry Pi 2 compatible" will you be able to release a flashable image, like @woutervanwijk did with the first Pi?

I think this is ready to go, I've exhausted the testing I can do on my
devices.
On 26 Feb 2015 07:59, "drewdotpro"<EMAIL_ADDRESS>wrote:

Once this is "Raspberry Pi 2 compatible" will you be able to release a
flashable image, like @woutervanwijk https://github.com/woutervanwijk
did with the first Pi?
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-76136540
.

Amazing, and awesome. Thank you so much. I very much look forward to putting an image file on my Pi 2 =D Just lemme know where I can download from!

From here, thanks to the work of @kingosticks http://www.pimusicbox.com/musicbox0.5.4beta.zip

RPi2 support is maybe a good opportunity to bump the version number to 0.6?

Is the image only for RPi2 or can it also run on a RPi B+?

It should work fine on all models.
On Thu, Feb 26, 2015 at 7:08 PM, Martin<EMAIL_ADDRESS>wrote:

Is the image only for RPi2 or can it also run on a RPi B+?
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-76245423
.

As usual, I've mirrored the release at http://dl.mopidy.com/musicbox0.5.4beta.zip.
Come to think of it, why not test hosting the images with the GitHub release feature?

At this time, we do not place any limits on the size of binary uploads nor the bandwidth used to deliver them.
-- https://help.github.com/articles/about-releases/

Downloading. This is great, thanks for your work !

Tried the 0.5.4 img on my Pi2, but it wasn't working with USB sound cards (tried 2 different USB sound cards that are loading OK at  boot time based on dmsg messages and listed ok under amixer). Ended up using setsound.sh from a previous 0.5.3 release and USB sound output works ok now.
Any idea ?

Can you provide the output of aplay -l

Thanks, the img works fine on RPi 2!

I can verify that this image works correctly on a RPi B+ using i2s output.

On the working 0.5.4 beta PI 2 (with setsound.sh from 0.5.3)
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: DAC [USB Audio DAC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

There is a fixed version at https://raw.githubusercontent.com/woutervanwijk/Pi-MusicBox/master/filechanges/opt/musicbox/setsound.sh if you want to try it.

can confirm that the script above works awesome!

Unfortunately, not for me. Reverting back to version 0.53 of setsound.sh
Here is the output of aplay -l when "not working":
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: DAC [USB Audio DAC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

Thanks @xiolo.  I've fixed my dumb mistake now and found a better way to test it. I think this will work (famous last words).

yep... that fixed it  (USB DAC) with latest git version of setsound.sh. nice one :-)

Super, thanks for your help.

Just updated as well. it works like a charm

i hope you don´t mind. my question is about google all access.
i see all albums, artists, radios on my google account.
if i select one, it is then under queue, but no audio output.
everything else, like tunein is working fine.
for testing i use the analog output.
(have not testet my usb dac with the new setsound.sh)
do i have to change anything (setsound.sh,mopidy.conf)?
regards
p.s.
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

If you are getting audio playback with the other services then it must be
something specific to google all access rather than raspberry pi 2 support.
I think we'd be best off discussing that in a new issue rather than using
this one. I'd be tempted to raise the issue with their project directly or
on discuss.mopidy.com first where you are more likely to hear back from
google music users (I don't use it myself).
On Sun, Mar 1, 2015 at 12:44 PM, UnlimitedpublicFriction <
<EMAIL_ADDRESS>wrote:

i hope you don´t mind. my question is about google all access.
i see all albums, artists, radios on my google account.
if i select one, it is then under queue, but no audio output.
everything else, like tunein is working fine.
for testing i use the analog output.
(have not testet my usb dac with the new setsound.sh)
do i have to change anything (setsound.sh,mopidy.conf)?
regards
p.s.
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1 https://github.com/woutervanwijk/Pi-MusicBox/issues/1:
subdevice #1 https://github.com/woutervanwijk/Pi-MusicBox/issues/1
Subdevice #2 https://github.com/woutervanwijk/Pi-MusicBox/issues/2:
subdevice #2 https://github.com/woutervanwijk/Pi-MusicBox/issues/2
Subdevice #3 https://github.com/woutervanwijk/Pi-MusicBox/issues/3:
subdevice #3 https://github.com/woutervanwijk/Pi-MusicBox/issues/3
Subdevice #4 https://github.com/woutervanwijk/Pi-MusicBox/issues/4:
subdevice #4 https://github.com/woutervanwijk/Pi-MusicBox/issues/4
Subdevice #5 https://github.com/woutervanwijk/Pi-MusicBox/issues/5:
subdevice #5 https://github.com/woutervanwijk/Pi-MusicBox/issues/5
Subdevice #6 https://github.com/woutervanwijk/Pi-MusicBox/issues/6:
subdevice #6 https://github.com/woutervanwijk/Pi-MusicBox/issues/6
Subdevice #7 https://github.com/woutervanwijk/Pi-MusicBox/issues/7:
subdevice #7 https://github.com/woutervanwijk/Pi-MusicBox/issues/7
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-76595181
.

Hello,
I've tried tonight using the RPI 2 and an I2S DAC (I-Sabre DAC ES9023). It doesn't work when I leave the M.B. Audio config param at "Automatic". The other choices are for Hifiberry and IQAudio. Could you please tell me what setup is required ? Thanks a lot.

I'm not familiar with that card. The comment in the settings file states
that i2s cards cannot be auto detected, this is because we must first load
the correct kernel module for the card. Does your card require a particular
kernel module to function? Are you using the very latest version of
setsound.sh from github? I think if you use the very latest version of the
script and you don't need to load any modules, you should be OK to leave it
as automatic.
On 3 Mar 2015 21:02, "Phocee"<EMAIL_ADDRESS>wrote:

Hello,
I've tried tonight using the RPI 2 and an I2S DAC (I-Sabre DAC ES9023). It
doesn't work when I leave the M.B. Audio config param at "Automatic". The
other choices are for Hifiberry and IQAudio. Could you please tell me what
setup is required ? Thanks a lot.
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/216#issuecomment-77033784
.

I have an RPi 2 with an ES9023 i2s card running this image. It won't auto-detect the card, but setting it to "HiFiBerry" works perfectly.

I had to try harder: I had tried Hifiberry DAC+ only. It works indeed with HfiBerry DAC.
Thanks again !

Is it possible to integrate HifiBerry AMP+ support to setsound.sh, or does it already work?

Assuming the amp driver is in the raspbian kernel that was used for the latest release (probably was) then if you get the very latest version of setsound (i.e. the one I just committed) then it should work. Set the musicbox output option to 'hifiberry_amp`.
If it doesn't work, please paste the result of running aplay -l.

Thank you, it works, but it's to loud 😞
There is no problem if I use AirPlay, but via the webinterface 3/100 is loud as 50% via AirPlay.

i've noticed this too.. idk why but can it be fixed? May i start a new Issue on this?

Yesterday I found a solution.
I changed in /boot/config/settings.ini from "mixer = software" to "mixer = alsamixer" and
[alsamixer]
card =
control =
to
[alsamixer]
card = 1
control = Master

Yes, a new issue please. I'm considering raspberry Pi 2 support done.


[Desktop Bug] Theme Note Adjusting to Narrow Panes

Describe the bug
When using the theme on my Windows 11 Desktop PC, I notice that the arrangement of the text/headers/etc. doesn't seem to adjust when a pane is narrower than the normal readable line length.
In other words, instead of the text becoming narrower to fit inside the available space, it stays at the same width, which puts some of the text out of view.
This happens both when I have several narrow panes (as when I have three split panes in view, plus both side bars) or when I narrow the space the app itself occupies (like when I split screen Obsidian with another app).
To Reproduce
Either narrow the size of the Obsidian window, or else open up multiple split panes inside the app.
Expected behavior
The expected behavior is that the text narrow itself to fit within the width of the pane.
Screenshots, Gifs, Video

Desktop (please complete the following information):

OS: Windows 11
Obsidian Version 1.7.7
CyberGlow Version: Current (Just attempted update to confirm)

I tried it on my end, and I cannot replicate this, all text correctly wraps when the panes are resized.
I had 3 pages open side by side, with both side panels opened and resized the pages in read and live edit.

Hmmm. I’ll try disabling plugins and see if one is causing this. However, I noticed this only happened with CyberGlow. So it could be a plugin + the theme somehow. I’ll see what I can figure out

if you find out if its a plugin, let me know.
Also Im not sure if it could be the case, but in CyberGlow with Style Settings you can modify the read length, which could be causing it?

I disabled every plugin, and also tried restricted mode. Neither one seemed to improve the issue.
I can't think of any appearance setting I've modified that would cause this issue. Resetting the readable line length didn't seem to make a difference. Neither did disabling Style Settings (which I assume would get rid of any changes that I might have made).
Any other ideas on what I can try? I'm still getting a little bit of the left margin chopped off. I don't have any CSS snippets enabled, so I can't think of what would be causing this.

It happens on the Sandbox Vault, too. I'm going to try reinstalling Obsidian to see if it's something unique/flawed about my installation.

Reinstalling the app didn't seem to help.
I'm out of ideas. I'm on the 1.7.7 Obsidian, using Windows 11. I don't think there's anything unique about my version of Obsidian, or about my version of Windows 11, so I can't think of why the resizing would be a problem.

I guess I should be clear - it looks like the text does rearrange itself. It's just an issue with the left margin being cut off.

I guess I should be clear - it looks like the text does rearrange itself. It's just an issue with the left margin being cut off. And it appears only to happen in Live Preview mode. Things are laid out correctly in Reading mode.

ok, that narrows it down somewhat, at least we know now that this bug affects only live preview. I'll investigate on my end what could be causing this, may i ask what is your display resolution? As ive noticed some bugs on different screen size/resolution like icons shifting for example

I know what the issue is now, seems that this is caused by a new addition to my theme that was imperfectly implemented. Another user made an issue on github that show your exact problem. I recognize the code that is affecting it so I'll look into it and issue a fix.
Same as #96

Perfect, I’ll do that. Thank you!

On Dec 6, 2024, at 6:37 PM, TheEmperorArt @.***> wrote:
For now, a temporary fix would be to go into the settings of obsidian, go to Editor tab and enable "Show number line"
—
Reply to this email directly, view it on GitHub https://github.com/ArtexJay/Obsidian-CyberGlow/issues/99#issuecomment-2524703764, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWUXG2FC4ITXTYFI6PIVYMD2EI7K7AVCNFSM6AAAAABTC5AM3CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRUG4YDGNZWGQ.
You are receiving this because you authored the thread.

oh yeah, It seems I have made this exact question in a section that was similar enough:

@julroger2013 @jwhonce @0Zenchi I have a fix done for this, I expect to release the new update either tomorrow or on monday, together with some other fixes.

@julroger2013 @jwhonce @0Zenchi the update has been released.

Confirming that this seems to be working properly now. I will circle back on this issue if further testing shows any other issues. Thank you! Love the theme


PDF token not working

Hi,
I have setup my zone likes this:
A	*	x.x.x.x	600 sec
NS	@	ns20.domaincontrol.com	1 hour
NS	@	ns40.domaincontrol.com	1 hour
SOA	@	main nameserver: ns29.domaincontrol.com.	1 hour
The setup of my env files are the below
Frontend.env
CANARY_DOMAINS=domain.com
CANARY_NXDOMAINS=domain.com
CANARY_GOOGLE_API_KEY=MY_API_KEY_HERE
CANARY_WEB_IMAGE_UPLOAD_PATH=/uploads
CANARY_MAX_UPLOAD_SIZE=1024102410
LOG_FILE=frontend.log
Switchboard.end:
#CANARY_MAILGUN_DOMAIN_NAME=
#CANARY_MAILGUN_API_KEY=
#CANARY_MANDRILL_API_KEY=
CANARY_SENDGRID_API_KEY=my_sendgrid_api_here
CANARY_PUBLIC_IP=x.x.x.x
CANARY_PUBLIC_DOMAIN=domain.com
<EMAIL_ADDRESS>CANARY_ALERT_EMAIL_FROM_DISPLAY="Canary  Token Alert"
CANARY_ALERT_EMAIL_SUBJECT="Canarytoken"
CANARY_TOKEN_RETURN=fortune
CANARY_WEB_IMAGE_UPLOAD_PATH=/uploads
LOG_FILE=switchboard.log
If i create a pdf i don't get any alert but if i do the following:
nslookup domain.com my_ip_address_hosting_canarytokens
I get the alert.
Through wireshark i see that when i open the pdf two DNS requests are performing:
<IP_ADDRESS> ----> <IP_ADDRESS>   sc918xzqauaebct8z05t4ln7a.domain.com
<IP_ADDRESS> ----> <IP_ADDRESS> A Record  A x.x.x.x
I used your online service to create a pdf and then i inspected the network traffic via wireshark. Same dns requests are performed.

I would like to add here, that, as it was already mentioned, NXDOMAINS has to be different than DOMAINS.
Secondly, you need to create NS record (in domain management/console from where you have got your domain). Let's say, your CANARY_DOMAINS is example.com. Then make your CANARY_NXDOMAINS as dns.example.com.
At your domain provider's console create A record to example.com and map to public IP. And create NS record of dns.example.com and map it to example.com.
Above will make all dns requests for .dns.example.com to be directed towards your example.com server - and that DNS querying is what triggering PDFs alerts.
@thinkst Well done guys, great idea&solution! The only downside is the lack of details and manuals.

Hey @kuriackovskij,
Thanks for the step-by-by on this. I have added a version of it to our setup steps.
Thank you also for the kind words and we really appreciate all the contributions here. Please email me at jay [at] thinkst [dot] com and so that I can organise something as a thanks!

I tried to use a different domain and didn't worked thats why i posted it here in first place...Usually i read the manual and setup instruction before posting anything :)

Hey @kavasilo,
I just read through your original post again (for some context) and im wondering what you tried to open the tokened pdf with? Typically we have only had high success with Adobe (other pdf readers are on our roadmap).
Would also mind posting the .env and zone file of your current setup? (you mentioned that you tried using different domains but that isn't reflected in your original question). Hopefully we can figure this out quickly and get your Canarytokens server up and running.

Closing this issue because it is old. We have written up a wiki on setting up the domains for Canarytokens docker setup in the wiki


Consider to add an index bis

To be able to view hits counter even on 100% covered files.

Ready in development branch


OnOff GPIO read error for Raspberry Pi.

The inbuilt code to read GPIO at Raspberry Pi (using OnOff library) seems broken. The write/gpio output is OK, but read/gpio crashes.  (Blynk-library version = as fetched by npm in last week.)
My fix:
in file blynk-node.js, function BoardOnOff,  case "dr",  alter the line reading
373        self.blynk.sendMsg(MsgType.HW, null, ['dw', values[1], value]);
to remove the parameter null, ie
self.blynk.sendMsg(MsgType.HW, ['dw', values[1], value]);
Now it works fine.
Of course, the blynk/OnOff combination has no support for internal pullup resistors, so I have now gotten used to using rpio library to service my gpio button pins (withblynk  virtual pins), and leaving the inbuilt OnOff reads for plain vanilla gpio inputs.
Brian

Hi. Nice catch! Fix is on the way.


[karma] add imagePullSecrets

Hi @desaintmartin, can you take a look at it? Thanks

Hi @maxime1907, can you take a look at this? Thanks


jitsu 2.6 database migration issue

upon upgrading migration job failed with:
Defaulted container "jitsu" out of: jitsu, wait-for-tokens (init)
Prisma schema loaded from schema.prisma
Datasource "db": PostgreSQL database "jitsu", schema "newjitsu" at "jitsu:5432"

⚠  There might be data loss when applying the changes:

  • A unique constraint covering the columns `[loginProvider,externalId]` on the table `UserProfile` will be added. If there are existing duplicate values, this will fail.

Error: Use the --accept-data-loss flag to ignore the data loss warnings like prisma db push --accept-data-loss

I went and looked at my postgres table, and I indeed had duplicate users in UserProfile.  I figured out which were actually being used and deleted the others.  I then recreated the migration job with --accept-data-loss.
This is mostly a warning to others, and how I handled the upgrade.

I ended up patching the console deployment and running the migration from there, deleting the job and deploying again.
While I don't want to add this flag by default I'll look into providing a more friendly way to do this than manually editing resources or templates.


ES2015 string literals not working with yajs

With https://github.com/othree/yajs.vim the string literal highlighting doesn't seem to work. Removing yajs does work. Not sure if this is an issue with yajs or vim-graphql.

NVIM v0.3.1
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GE
NERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20180820-47777-1t89t8z/neovim-0.3.1/build/config -I/tmp/neovim-20180820-47777-1t89t8z/neovim-0.3.1/src -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/tmp/neovim-20180820-47777-1t89t8z/neovim-
0.3.1/build/src/nvim/auto -I/tmp/neovim-20180820-47777-1t89t8z/neovim-0.3.1/build/include
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.3.1/share/nvim"

I've only built and tested support for vim-javascript so far. It looks like yajs.vim has some template tag support, but I'll need to spend some time with it in order to see if we can make it work.
I'd be happy to review a Pull Request that adds support for it. Otherwise, I'm afraid you'll need to wait until I get some time to look into it myself.

Something along these lines in after/syntax/javascript/graphql.vim appears to work:
if exists('b:current_syntax')
  let s:current_syntax = b:current_syntax
  unlet b:current_syntax
endif
syn include @GraphQLSyntax syntax/graphql.vim
if exists('s:current_syntax')
  let b:current_syntax = s:current_syntax
endif

let s:tags = '\%(' . join(g:graphql_javascript_tags, '\|') . '\)'

exec 'syntax region graphqlTemplateString start=+' . s:tags . '\@20<=`+ skip=+\\`+ end=+`+ contains=@GraphQLSyntax,graphqlTemplateExpression extend'
exec 'syntax match graphqlTaggedTemplate +' . s:tags . '\ze`+ nextgroup=graphqlTemplateString'

" Support expression interpolation ((${...})) inside template strings.
syntax region graphqlTemplateExpression start=+${+ end=+}+ contained contains=javascriptGlobal,javascriptBOMWindowProp,javascriptBOMWindowMethod,@javascriptExpression containedin=graphqlFold keepend

hi def link graphqlTemplateString javascriptTemplate
hi def link graphqlTaggedTemplate javascriptTagRef
hi def link graphqlTemplateExpression javascriptTemplateSubstitution

syn cluster javascriptTypes add=graphqlTaggedTemplate
syn cluster javascriptTypes add=graphqlTemplateString
syn cluster javascriptEventTypes add=graphqlTemplateString
syn cluster javascriptTemplates add=graphqlTemplateString
syn cluster javascriptTemplates add=graphqlTemplateExpression
syn cluster graphqlTaggedTemplate add=graphqlTemplateString

I'm not entirely sure how best to support this directly in vim-graphql. I think I'd need to do something where I attempt to detect which of the various JavaScript plugins were installed and customize this code accordingly.

Now that we have good JavaScript support "out of the box" with Vim 8.2, and we have very good support with the vim-javascript plugin, I don't think we need to support any additional JavaScript plugins (such as yajs).
It wouldn't be too hard to add (given my example above), but it does complicate the testing matrix going forward, so the bar for inclusion is higher now.
I'm going to close this issue unless there's a significant need for yajs support.


Enable wsl linter for new and changed code

Description
fuzztool was updated as an example.
Can't say I like this style very much, but hey, if it's going to remove at least some judgment about coding style, that's worth it.
Readiness checklist

[ ] I added tests for new functionality or bugfixes.
[x] I ran task all, and it passed.
[ ] I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
[ ] I checked comments rendering with task godocs.
[x] (for maintainers only) I set Reviewers, Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

I don't think it's worth mentioning; task lint (and task all) should pass anyway


fix(io): the stream return only one connector

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

crate.io packages (1 packages published)
GitHub release

Your semantic-release bot :package::rocket:


dbcsr: 2.7.0 -> 2.8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/cp2k/dbcsr/releases.
meta.description for dbcsr is: Distributed Block Compressed Sparse Row matrix library
meta.homepage for dbcsr is: https://github.com/cp2k/dbcsr
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.8.0 with grep in /nix/store/iajfjw42wzylk8b0y3qkiwrmw0xa30kj-dbcsr-2.8.0
found 2.8.0 in filename of file in /nix/store/iajfjw42wzylk8b0y3qkiwrmw0xa30kj-dbcsr-2.8.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

dbcsr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/iajfjw42wzylk8b0y3qkiwrmw0xa30kj-dbcsr-2.8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A dbcsr https://github.com/r-ryantm/nixpkgs/archive/238c6f63f639fb2710a9bb292468c4e3975e451e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/238c6f63f639fb2710a9bb292468c4e3975e451e#dbcsr

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/iajfjw42wzylk8b0y3qkiwrmw0xa30kj-dbcsr-2.8.0
ls -la /nix/store/iajfjw42wzylk8b0y3qkiwrmw0xa30kj-dbcsr-2.8.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

dbcsr

Maintainer pings
cc @sheepforce for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


[Enhancement] Use trusted_proxies

Steps required to reproduce the problem

Deploy opencfp with a ssl reverse proxy, with x_forwarded_proto enabled
Enable secure_ssl

Expected Result

Correct loading of the app

Actual Result

Infinite redirect because of the x_forwarded_proto header not trusted

For now i have added this to index.php
use Symfony\Component\HttpFoundation\Request;

Request::setTrustedProxies(array($ip));

It would be nice if it is a paramer in production.yml

@sybix Thanks for the feedback. I would gladly accept a PR that adds a value to production.yml for this and changes to index.php that look for that value to be set.

according to https://symfony.com/blog/fixing-the-trusted-proxies-configuration-for-symfony-3-3 the trusted proxies should really be done in the frontend controller and not later. symfony 4 will mandate that way and not have a configuration for it anymore. maybe this should just be documented like that, or point to the relevant doc of silex.

Hi,
I have made a patch, i take the config from security.trusted_proxies in config file, and i use it in classes/Application.php
If it's ok, i can do the PR. I hope by the end of week.

Closing since OpenCFP is migrating to Symfony 4


M1 support(darwin-arm64) binary is missing from the release 0.23.0

The release changes mentions that 0.23.0 cli is supported for M1 build macOS. Referenced here https://github.com/knative-sandbox/kn-plugin-func/issues/932
But the release section does not have the darwin-arm64 present for download. Please add the darwin-arm64 binary.

Now the release binaries are available in 0.23.1 https://github.com/knative-sandbox/kn-plugin-func/releases/tag/v0.23.1, hence closing this.


Add an Example for TelegramBotClient.SendContactAsync Method (Int64, String, String, String, Boolean, Int32, IReplyMarkup, CancellationToken)

Please add an example for TelegramBotClient.SendContactAsync Method (Int64, String, String, String, Boolean, Int32, IReplyMarkup, CancellationToken).
TODO (optional): Describe a specific scenario you would like to see addressed.
Help Topic: https://mrroundrobin.github.io/telegram.bot/html/M_Telegram_Bot_TelegramBotClient_SendContactAsync.htm

i would like to add contacts from a database, how can i do it?
can i use SendContactsAync ? or anything else?
Thank in advance


Add uniqueness to each overriddenValues.yaml filename to handle concurrency

Closes #168

I vacillated between using a UUID and random approach - I'll switch to a UUID approach to make this chance nearly impossible.


not working

http://manhag.net/hmasat/videos/test.php
i uploaded files as below

and there is the code

and it is not working

it fixed after i put the full path of video


🐛 fix: http_request_kwargs in HFClientVLLM

I was running into SSL certificate issues when connecting to our deployed model via the VLLM client.
I noticed HFClientTGI has this argument http_request_kwargs to be used in the generate step. Thought it would be helpful to add it to HFClientVLLM
Please let me know if any changes are needed. If this PR is not useful, please feel free to close it as well

Happy to merge this but curious if it will break anything for @XenonMolecule or @arnavsinghvi11

Thanks @MohammedAlhajji ! this won't break any existing caches but left a small comment to check out to ensure http_request_kwargs is present for all model requests

@arnavsinghvi11 Thanks for catching that. I squashed the commits and updated the PR

Thanks @MohammedAlhajji !


tsdb: add enable overlapping compaction

This functionality is needed in downstream projects because they have a separate component that does compaction.
Upstreaming
https://github.com/grafana/mimir-prometheus/blob/7c8e9a2a76fc729e9078889782928b2fdfe240e9/tsdb/compact.go#L323-L325.

Previous change in #13282

Yes, sorry for the churn. I didn't realize what this flag was for until I went down the rabbit hole.

Is it worth addding a note for the next person?
The previous note (which was not sufficient) read:
	// The reason why this flag exists is because there are various users of the TSDB
	// that do not want vertical compaction happening on ingest time. Instead,
	// they'd rather keep overlapping blocks and let another component do the overlapping compaction later.


CASMTRIAGE-7228 - DCLDAP changes

Description
The dcldap2.us.cray.com LDAP server was decommissioned when the certificate was up for renewal.
While it's poor practice to include in house systems in customer facing documentation, this PR is a stop gap measure to allow system installers to continue to do fresh installs until this documentation can be reworked with a generic example and the in house documentation relocated to a Confluence page.

Checklist

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.5 release/1.4 release/1.3 release/1.2 release/1.0 release/0.9


[UI] Duplicate inputs in thermal cluster form

Description
In thermal cluster form, "Nombre d'unités" and "Capacité nominal" seem duplicated:

Thank you for reporting this anomaly, it has already fixed in this PR: https://github.com/AntaresSimulatorTeam/AntaREST/pull/1456


card view implemented

JIRA Ticket(s) if any

MOB-XXXX

Description
Test Steps

request you to please review the PR as it has been updated.

Ty sir!
We should be able to just import the Card component in react-example as a user would. Can we do that and also have an example of it being displayed on a page somewhere in the example? Like an actual live component example?

Hi @mprew97 here is the video for the same:
https://drive.google.com/file/d/1ifip1OplImM9m2q-kOXGwxNwenqJXkCC/view?usp=sharing

Please resolve the build issues here and then this can be merged.

@devcsomnicg can we resolved the conflict here? happy to merge as soon as it's resolved.


Create a default log_cfg.h that can be overwritten by the user version of it

Closed as outdated see https://github.com/an-dr/microlog/commit/c618106b6d935cbad1cc8c9523e10491e91aefa8


Is there a way to make this work for queries within jsx file?

It must be possible, I've seen context-mixin for HTML + Ruby with .erb files!

@rmsologo Nope, not yet

@devknoll any plans on making it available at some point? Just did a quick search – looks like there're still no GraphQL highlighters for Atom. Looking forward to try GraphQL in Apollo+React stack.

GraphQL is highlighted in `Relay.QL

Could we get support for gql tag as well? https://github.com/apollostack/graphql-tools/issues/123

Perhaps the Relay.QL PR can be an example for how it's done!

https://github.com/atom/language-javascript/pull/429 Hopefully this works.

Looks like this is supported in language-babel as well:


can not write metric in .nni/metric

Hello,
Thanks for amazing work. I`m using nni for Auto Tuning with detectron2 in pytorch for object detection task and I encounter a problem when using multi-gpu for training.
When training with multi-gpu, nni can not write results into .nni/metric so that no metric results showed in webUI.
When training with single-gpu, it works well and all results is all right.
Here is the code for detectron2 to implement distributed training:
def _find_free_port():
    import socket

    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    # Binding to port 0 will cause the OS to find an available port for us
    sock.bind(("", 0))
    port = sock.getsockname()[1]
    sock.close()
    # NOTE: there is still a chance the port could be taken by other processes.
    return port

def launch(main_func, num_gpus_per_machine, num_machines=1, machine_rank=0, dist_url=None, args=()):
    """
    Launch multi-gpu or distributed training.
    This function must be called on all machines involved in the training.
    It will spawn child processes (defined by ``num_gpus_per_machine`) on each machine.

    Args:
        main_func: a function that will be called by `main_func(*args)`
        num_gpus_per_machine (int): number of GPUs per machine
        num_machines (int): the total number of machines
        machine_rank (int): the rank of this machine
        dist_url (str): url to connect to for distributed jobs, including protocol
                       e.g. "tcp://<IP_ADDRESS>:8686".
                       Can be set to "auto" to automatically select a free port on localhost
        args (tuple): arguments passed to main_func
    """
    world_size = num_machines * num_gpus_per_machine
    if world_size > 1:
        # https://github.com/pytorch/pytorch/pull/14391
        # TODO prctl in spawned processes

        if dist_url == "auto":
            assert num_machines == 1, "dist_url=auto not supported in multi-machine jobs."
            port = _find_free_port()
            dist_url = f"tcp://<IP_ADDRESS>:{port}"
        if num_machines > 1 and dist_url.startswith("file://"):
            logger = logging.getLogger(__name__)
            logger.warning(
                "file:// is not a reliable init_method in multi-machine jobs. Prefer tcp://"
            )

        mp.spawn(
            _distributed_worker,
            nprocs=num_gpus_per_machine,
            args=(main_func, world_size, num_gpus_per_machine, machine_rank, dist_url, args),
            daemon=False,
        )
    else:
        main_func(*args)

def _distributed_worker(
    local_rank, main_func, world_size, num_gpus_per_machine, machine_rank, dist_url, args
):
    assert torch.cuda.is_available(), "cuda is not available. Please check your installation."
    global_rank = machine_rank * num_gpus_per_machine + local_rank
    try:
        dist.init_process_group(
            backend="NCCL", init_method=dist_url, world_size=world_size, rank=global_rank
        )
    except Exception as e:
        logger = logging.getLogger(__name__)
        logger.error("Process group URL: {}".format(dist_url))
        raise e
    # synchronize is needed here to prevent a possible timeout after calling init_process_group
    # See: https://github.com/facebookresearch/maskrcnn-benchmark/issues/172
    comm.synchronize()

    assert num_gpus_per_machine <= torch.cuda.device_count()
    torch.cuda.set_device(local_rank)

    # Setup the local process group (which contains ranks within the same machine)
    assert comm._LOCAL_PROCESS_GROUP is None
    num_machines = world_size // num_gpus_per_machine
    for i in range(num_machines):
        ranks_on_i = list(range(i * num_gpus_per_machine, (i + 1) * num_gpus_per_machine))
        pg = dist.new_group(ranks_on_i)
        if i == machine_rank:
            comm._LOCAL_PROCESS_GROUP = pg

    main_func(*args)

@LovPe ,
Thanks for reporting this issue.
Where did you call nni.report_intermediate_result() and nni.report_final_result(), could you paste the code piece? And how many machines are you using for training?
detetron2 uses DistributedDataParallel for multi GPU training, it launch one process per GPU for training,  is it possible for you to report metrics to NNI only on one of the GPU?  multiple process call nni.report_intermediate_result() concurrently may cause some problem.

@chicm-ms Thanks for your reply
1-  I write nni.report_intermediate_result() and nni.report_final_result() in Evalhook like this:
when training, trainer will call _do_eval. So I write report code in line31-39
'''

class EvalHook(HookBase):

"""

Run an evaluation function periodically, and at the end of training.

It is executed every ``eval_period`` iterations and after the last iteration.

"""

def __init__(self, eval_period, eval_function, main_metric=None):

    """

    Args:

        eval_period (int): the period to run `eval_function`.

        eval_function (callable): a function which takes no arguments, and

            returns a nested dict of evaluation metrics.

        main_metric (str or None): main metric used for nni training

    Note:

        This hook must be enabled in all or none workers.

        If you would like only certain workers to perform evaluation,

        give other workers a no-op function (`eval_function=lambda: None`).

    """

    self._period = eval_period

    self._func = eval_function

    self._main_metric = main_metric

def _do_eval(self, is_final):

    results = self._func()

    if results:

        assert isinstance(

            results, dict

        ), "Eval function must return a dict. Got {} instead.".format(results)

        if self._main_metric is not None and comm.is_main_process():

            assert isinstance(self._main_metric, tuple) and len(self._main_metric) == 2

            if self._main_metric[0] in results.keys():

                nni_result = copy.deepcopy(results)

                nni_result["default"] = float(nni_result[self._main_metric[0]][self._main_metric[1]])

                if is_final:

                    nni.report_final_result(nni_result)

                else:

                    nni.report_intermediate_result(nni_result)

        flattened_results = flatten_results_dict(results)

        for k, v in flattened_results.items():

            try:

                v = float(v)

            except Exception:

                raise ValueError(

                    "[EvalHook] eval_function should return a nested dict of float. "

                    "Got '{}: {}' instead.".format(k, v)

                )

        self.trainer.storage.put_scalars(**flattened_results, smoothing_hint=False)

    # Evaluation may take different time among workers.

    # A barrier make them start the next iteration together.

    comm.synchronize()

def after_step(self):

    next_iter = self.trainer.iter + 1

    is_final = next_iter == self.trainer.max_iter

    if is_final or (self._period > 0 and next_iter % self._period == 0):

        self._do_eval(is_final)

def after_train(self):

    # func is likely a closure that holds reference to the trainer

    # therefore we clean it to avoid circular reference in the end

    del self._func

'''
2-I use One machine with 2 GPU for training and testing and i use comm.is_main_process() to make sure only rank0 process can write. but the nni still can not wrire

Hi @LovPe,
Thanks,  And would you please collect the trial log files (trail.log, stderr)?  you can find them per this doc:
https://github.com/microsoft/nni/blob/master/docs/en_US/Tutorial/HowToDebug.md#experiment-root-directory

@chicm-ms Thanks for your reply.
finally I find that This issue may caused by a remote desktop software(NoMachine on ubuntu16.4). After closing it and restart, nni works well.
So this issue may not caused by nni.
I will close it. Again thanks for your help.


ecofeedback Object

Hi,
would it be possible to add the ecofeedback variables into the iobroker object tree? I contacted Miele a few days ago and they told me that there are new variables about consumption of water and power.
ecoFeedback JSON | ecoFeedback Definition
"ecoFeedback": {    "currentWaterConsumption": {
"unit": "l",      "value": 0    },
"currentEnergyConsumption": {      "unit": "kWh",      "value": 0    },
"waterForecast": 0.2,    "energyForecast": 0.1  },
Regards

Is already on the list - known as "Implement Miele API 1.0.4".
So: Yeah - it up to come! As soon as I find some time for it.

Is already on the list - known as "Implement Miele API 1.0.4".
So: Yeah - it up to come! As soon as I find some time for it.

great work! thanks in advance

great work! thanks in advance

Hi,
installed version 3.0.0 and delete the tree from mielecloud -> create/refresh the tree but still no ecofeedback Datapoints there.
regards
Christian

@rc-itcon Yeah. They currently appear on the first run of the device since that's the first time they deliver data. Actually I'm thinking about changing that and create them with default values on startup.


About page

Explain how people can contribute. Thank existing and past contributors.

From 05/08:

Need to determine requirements for the page
Keep it simple

Forgot to add a link! https://guide.wagtail.org/en-latest/about/


Queue is displayed as cyclic even if repeat is disabled

Describe the bug
When playing an album, opening the queue shows the next song as 1 and continues on, but then keeps going, looping the album (even when repeat is off).  This is only a problem when displaying the queue; the tracks are not actually played.
To Reproduce

Play an album (e.g. with tracks One, Two, Three, and Four).
Open the queue.  You'll see: "1: Two, 2: Three, 3: Four, 4: One, 5: Two, ...".
When the first song ends everything will shift over by one, but the length of the queue will not change.

I've checked this both using spotify-player and spotifyd for the device, both seem to give the same result.
Expected behavior
I'd expect only the songs that will be played to show up in the queue.
Environment

OS: Arch Linux
Application version: 0.13.1
Application features: default (AUR build)

I took a look at the code and I can't tell why this would be happening; is this an rspotify or even just an API issue?  The documentation of those doesn't suggest so, though...

I think it is a Spotify API issue. I got the same result when using the official Spotify app as the running client. I will close this for now as it's unrelated to spotify_player. Feel free re-open if you encounter any similar issues.


Release notes for 2.0.0

Currently the GitHub releases says "No merged PRs": https://github.com/jupyterlite/xeus/releases/tag/v2.0.0

It would be nice to list of changes that happened between 1.x and 2.0, for users not necessarily looking at the pre-releases.

Ah yeah I haven't seen this option. I actually auto-generated the changelog with Github right when you opened the issue.


Adding a way to calls some BIOS/UEFI functions before entering protected mode

it would be nice if in the bootloader builder crate we could somehow add some externel assembly code or maybe call a function from the crate to add a line of asm code and another function to add specific register values to a custom section of the boot_info struct to call some BIOS/UEFI functions and get the values instead of having to switch modes after booting to call them.
example use:
// Builder code
let mut boot_config = BootConfig::default();

// These will be added to the code in order somehow probably better to use functions instead of lists

boot_config.custom_assembly[0] = Some("set an arg in a register for the BIOS/UEFI function in assembly code"); // step 1

boot_config.custom_assembly[1] = Some("Call A bios function in assembly code here that gives a return value in a register"); // step 2

boot_config.custom_value[0] = Some("rax"); // step 3 Select a register to get a value from after calling function

// OS code

let function_return_value = boot_info.custom_value[0];

// Use the value

Please correct me if I am wrong but I think this could be implemented in some way like this I believe you could either implement set values and make an enum of all the BIOS/UEFI functions and do something like this:
boot_config.bios_function(Bootloader::Bootconfig::BiosFunctions::function);

or
boot_config.uefi_function(Bootloader::Bootconfig::UefiFunctions::function);

and have the returned values put into the boot_info struct somewhere
or you could extract the assembly code from the before example and directly add it to the source code of the bootloader before building (im not sure if this code would require more space in the bootloader) which would be more complex and likely to cause errors.
Do you think this could be a good solution or would you recommend to just switch modes then call the functions?
edit(phil-opp): formatting

Thanks for the suggestion! Could you give us some concrete examples for register values/assembly operations you are interested in?

For example I believe we can use 0x11 BIOS interrupt to get the systems equipment list which I believe could simplify the later process of initializing certain hardware:
boot_config.custom_assembly[0] = Some("INT 0x11");  // Query System Equipment List

boot_config.custom_value[0] = Some("AX");  // Get System Equipment List

Or we could just do a simple read system date which I believe looks something like this:
boot_config.custom_assembly[0] = Some("mov ah 0x04");

boot_config.custom_assembly[1] = Some("INT 0x1A");

// All in Binary Coded Decimal (BCD) format

boot_config.custom_value[0] = Some("CH"); // Centuary

boot_config.custom_value[1] = Some("CL"); // Year

boot_config.custom_value[2] = Some("DH"); // Month

boot_config.custom_value[3] = Some("DL"); // Day

or any other low level operations that can/needs to be done before entering protected mode
Im sure this feature is not needed and these operations can be done in other ways from inside of the operating system but something like this could provide more flexibility
Totally up to you just an idea

Based on the description at http://www.ablmcc.edu.hk/~scy/CIT/8086_bios_and_dos_interrupts.htm INT 11h doesn't seen very useful nowadays. It only lists a couple of legacy things like the amount of floppy disks. For detecting all hardware you will need to do PCIe enumeration and parsing the ACPI tables. Instead of INT 1Ah you can read directly from the IO port of the RTC according to https://wiki.osdev.org/CMOS#Getting_Current_Date_and_Time_from_RTC.


Bump to Elasticsearch 2.3

Replace delete_by_query (removed since (Elasticserach 2.0) by
a scroll | chunk delete

Changes Unknown when pulling 2be70faad9f660a319eb3d6e97ac0455582c8027 on feat/es-2.3 into ** on master**.

Changes Unknown when pulling 2be70faad9f660a319eb3d6e97ac0455582c8027 on feat/es-2.3 into ** on master**.

Changes Unknown when pulling 143d8b26be8280224bef427ac4e2a18366f536ff on feat/es-2.3 into ** on master**.

Changes Unknown when pulling 1e44186aab7fa531eced76b5dc4cab26a1e34331 on feat/es-2.3 into ** on master**.


Rule suggestion: Prevent invalid HTML DOM element name to be used

It would be nice if invalid DOM element name is detectable.  How about this rule?
valid:
<div>{ 'bar' }</div>

invalid:
<foo>{ 'bar' }</foo>

This seems like a good idea, provided that we don't have to maintain our own copy of the list of valid tag names - we'd need to find a way to use the same list React itself does.

React seems to examine an element with whether it is a window.HTMLUnknownElement and depends on the browser which React is running on.
https://github.com/facebook/react/blob/master/packages/react-dom/src/__tests__/ReactDOMComponent-test.js#L1033
Some tagnames for SVG and MathML are hardcoded.
https://github.com/facebook/react/blob/master/packages/react-dom/src/shared/isCustomComponent.js
We need an external DOM implementation like jsdom for this rule.

If we need react to publish some of this logic, then let's file an issue to ask them for it.

What we need is a function like ReactDOMFiberComponent.createElement which is on ReactDOM. Unfortunately this function hardcodes warning() and no export found on the built library.
https://github.com/facebook/react/blob/master/packages/react-dom/src/client/ReactDOMFiberComponent.js#L333
It seems that we can arrange the detection logic with 2 utility modules:

react-dom/src/shared/DOMNamespaces.js
react-dom/src/shared/isCustomComponent.js

Is it ok to validate html tags by this package html-tags ?

@golopot a) only if react itself uses that package, and b) that author's packages tend to aggressively drop support for older nodes, so it's unlikely we can use any of them here.
@kamataryo if you can convince react to export them, or extract them to a separate package, that'd be great!