text:
Bug: 'failed pushChanges with BLE Connection'

Describe The Bug
Bot connected to BLE, but does not respond in Homekit
To Reproduce
Install plugin, enter device MAC and other details, run plugin as child bridge
Expected behavior
When clicking on switch icon in Home.app, the press function should activate
Relevant log output
[29/06/2022, 17:30:19] Registering platform '@switchbot/homebridge-switchbot.SwitchBot'
[29/06/2022, 17:30:19] [SwitchBot] Loaded @switchbot/homebridge-switchbot v1.14.1 child bridge successfully
[29/06/2022, 17:30:19] Loaded 1 cached accessories from cachedAccessories.0E124B53486C.
[29/06/2022, 17:30:19] [SwitchBot] Restoring existing accessory from cache: Bot 00 DeviceID: E84715BCE100
[29/06/2022, 17:30:19] [SwitchBot] [DEBUG] Bot: Bot 00 Using Device Config Logging: debug
[29/06/2022, 17:30:19] [SwitchBot] [DEBUG] Bot: Bot 00 Using Device Config scanDuration: 10
[29/06/2022, 17:30:19] [SwitchBot] [DEBUG] Bot: Bot 00 Using Platform Config refreshRate: 120
[29/06/2022, 17:30:19] [SwitchBot] [DEBUG] Bot: Bot 00 Using Bot Mode: press
[29/06/2022, 17:30:19] [SwitchBot] [DEBUG] Bot: Bot 00 Allowing Push Changes: false
[29/06/2022, 17:30:19] [SwitchBot] Bot: Bot 00 Config: {"mode":"press","deviceType":"switch","doublePress":1,"ble":true,"logging":"debug","scanDuration":10}
[29/06/2022, 17:30:19] [SwitchBot] [DEBUG] Bot: Bot 00 BLE refreshStatus
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Color Bulb: Bot 00 accessory.context.FirmwareRevision: undefined
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Color Bulb: Bot 00 device.firmware: undefined
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Color Bulb: Bot 00 this.platform.version: 1.14.1
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Color Bulb: Bot 00 accessory.context.FirmwareRevision: undefined
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Color Bulb: Bot 00 device.firmware: undefined
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Color Bulb: Bot 00 this.platform.version: 1.14.1
[29/06/2022, 17:30:20] [SwitchBot] Bot: Bot 00 Displaying as Switch
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Bot: Bot 00 Add Battery Service
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Bot: Bot 00 updateCharacteristic On: false
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Bot: Bot 00 updateCharacteristic BatteryLevel: 100
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Bot: Bot 00 updateCharacteristic StatusLowBattery: 0
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Bot: Bot 00 BLE Address: e8:47:15:bc:e1:00
[29/06/2022, 17:30:20] Homebridge v1.5.0 (HAP v0.10.2) (SwitchBot) is running on port 49544.
[29/06/2022, 17:30:20] [SwitchBot] e8:47:15:bc:e1:00
[29/06/2022, 17:30:20] [SwitchBot] e8:47:15:bc:e1:00
[29/06/2022, 17:30:20] [SwitchBot] Bot: Bot 00 BLE Address Found: e8:47:15:bc:e1:00
[29/06/2022, 17:30:20] [SwitchBot] Bot: Bot 00 Config BLE Address: e8:47:15:bc:e1:00
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Bot: Bot 00 serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":false,"battery":100}
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Bot: Bot 00, model: H, modelName: WoHand, mode: false, state: false, battery: 100
[29/06/2022, 17:30:20] [SwitchBot] [DEBUG] Bot: Bot 00 connected: true
[29/06/2022, 17:30:20] [SwitchBot] e8:47:15:bc:e1:00
[29/06/2022, 17:30:20] [SwitchBot] e8:47:15:bc:e1:00
[29/06/2022, 17:30:20] [SwitchBot] Bot: Bot 00 BLE Address Found: e8:47:15:bc:e1:00
[29/06/2022, 17:30:20] [SwitchBot] Bot: Bot 00 Config BLE Address: e8:47:15:bc:e1:00

...

[29/06/2022, 17:31:56] [SwitchBot] [DEBUG] Bot: Bot 00 On: true
[29/06/2022, 17:31:56] [SwitchBot] [DEBUG] Bot: Bot 00 BLE pushChanges On: true OnCached: false
[29/06/2022, 17:31:56] [SwitchBot] [DEBUG] Bot: Bot 00 BLE pushChanges
[29/06/2022, 17:31:56] [SwitchBot] [DEBUG] Bot: Bot 00 BLE Address: e8:47:15:bc:e1:00
[29/06/2022, 17:31:56] [SwitchBot] [DEBUG] Bot: Bot 00 Bot Mode: press
[29/06/2022, 17:31:56] [SwitchBot] Bot: Bot 00 On: true

...

[29/06/2022, 17:32:46] [SwitchBot] Child bridge process ended
[29/06/2022, 17:32:46] [SwitchBot] Process Ended. Code: 143, Signal: null

...

[29/06/2022, 17:33:54] [SwitchBot] [DEBUG] Bot: Bot 00 On: true
[29/06/2022, 17:33:54] [SwitchBot] [DEBUG] Bot: Bot 00 BLE pushChanges On: true OnCached: false
[29/06/2022, 17:33:54] [SwitchBot] [DEBUG] Bot: Bot 00 BLE pushChanges
[29/06/2022, 17:33:54] [SwitchBot] [DEBUG] Bot: Bot 00 BLE Address: e8:47:15:bc:e1:00
[29/06/2022, 17:33:54] [SwitchBot] [DEBUG] Bot: Bot 00 Bot Mode: press
[29/06/2022, 17:33:55] [SwitchBot] Bot: Bot 00 On: true

...

[29/06/2022, 17:36:36] [SwitchBot] [DEBUG] Bot: Bot 00 On: true
[29/06/2022, 17:36:36] [SwitchBot] [DEBUG] Bot: Bot 00 BLE pushChanges On: true OnCached: false
[29/06/2022, 17:36:36] [SwitchBot] [DEBUG] Bot: Bot 00 BLE pushChanges
[29/06/2022, 17:36:36] [SwitchBot] [DEBUG] Bot: Bot 00 BLE Address: e8:47:15:bc:e1:00
[29/06/2022, 17:36:36] [SwitchBot] [DEBUG] Bot: Bot 00 Bot Mode: press
[29/06/2022, 17:36:36] [SwitchBot] Bot: Bot 00 On: true
[29/06/2022, 17:36:36] [SwitchBot] Bot: Bot 00 failed pushChanges with BLE Connection
[29/06/2022, 17:36:36] [SwitchBot] Bot: Bot 00 failed pushChanges with BLE Connection, Error Message: "Now connecting. Wait for a few seconds then try again."
[29/06/2022, 17:36:41] [SwitchBot] [DEBUG] Bot: Bot 00 BLE refreshStatus
[29/06/2022, 17:36:41] [SwitchBot] [DEBUG] Bot: Bot 00 BLE Address: e8:47:15:bc:e1:00
[29/06/2022, 17:36:41] [SwitchBot] e8:47:15:bc:e1:00
[29/06/2022, 17:36:41] [SwitchBot] e8:47:15:bc:e1:00
[29/06/2022, 17:36:41] [SwitchBot] Bot: Bot 00 BLE Address Found: e8:47:15:bc:e1:00
[29/06/2022, 17:36:41] [SwitchBot] Bot: Bot 00 Config BLE Address: e8:47:15:bc:e1:00
[29/06/2022, 17:36:41] [SwitchBot] [DEBUG] Bot: Bot 00 serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":false,"battery":100}
[29/06/2022, 17:36:41] [SwitchBot] [DEBUG] Bot: Bot 00, model: H, modelName: WoHand, mode: false, state: false, battery: 100
[29/06/2022, 17:36:41] [SwitchBot] [DEBUG] Bot: Bot 00 connected: true
[29/06/2022, 17:36:42] [SwitchBot] e8:47:15:bc:e1:00
[29/06/2022, 17:36:42] [SwitchBot] e8:47:15:bc:e1:00
[29/06/2022, 17:36:42] [SwitchBot] Bot: Bot 00 BLE Address Found: e8:47:15:bc:e1:00
[29/06/2022, 17:36:42] [SwitchBot] Bot: Bot 00 Config BLE Address: e8:47:15:bc:e1:00
[29/06/2022, 17:36:42] [SwitchBot] [DEBUG] Bot: Bot 00 serviceData: {"model":"H","modelName":"WoHand","mode":false,"state":false,"battery":100}
[29/06/2022, 17:36:42] [SwitchBot] [DEBUG] Bot: Bot 00, model: H, modelName: WoHand, mode: false, state: false, battery: 100
[29/06/2022, 17:36:42] [SwitchBot] [DEBUG] Bot: Bot 00 connected: true
[29/06/2022, 17:36:42] [SwitchBot] e8:47:15:bc:e1:00
[29/06/2022, 17:36:42] [SwitchBot] e8:47:15:bc:e1:00

Config for homebridge-switchbot
{
            "name": "SwitchBot",
            "credentials": {
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "E84715BCE100",
                        "configDeviceName": "Bot 00",
                        "configDeviceType": "Bot",
                        "ble": true,
                        "scanDuration": 10,
                        "bot": {
                            "mode": "press",
                            "deviceType": "switch",
                            "doublePress": 1
                        },
                        "logging": "debug"
                    }
                ]
            },
            "_bridge": {
                "username": "0E:12:4B:53:48:6C",
                "port": 49544
            },
            "platform": "SwitchBot"
        }

Screenshots
No response
Device & Model
Bot firmware v4.9
Node.js Version
v16.15.1
NPM Version
v8.13.1
Homebridge Version
v1.5.0
Homebridge Switchbot Plugin Version
v1.14.1
Homebridge Config UI X Plugin Version
v4.48.1
Operating System
Raspbian 11 Bullseye (Raspberry Pi 4B+ 4GB) + @abandonware/noble v1.9.2-15

In my case it was a problem with Raspbian itself. I am linking the solution here, so that someone arriving from a search engine might find it useful.
https://github.com/OpenWonderLabs/homebridge-switchbot/issues/425#issuecomment-1190864279

Thanks @Lazza! Would you create a PR for noble? To add to prerequisites?

Hi @donavanbecker, do you mean regarding the README / docs of Noble?
I see there are two repos, one is @abandonware/noble and the other is @homebridge/noble.

Hi @donavanbecker, do you mean regarding the README / docs of Noble?
I see there are two repos, one is @abandonware/noble and the other is @homebridge/noble.

Yes, @abandonware/noble is what is being used

OK, I asked because the README of this repo links here:
https://github.com/homebridge/noble#prerequisites
I will create a PR for the upstream repo.

Hey @Lazza out of interest what issues were you facing before you found this solution?
I’m asking because I also have a homebridge plugin which uses noble, and have a few users who have issues with bluetooth connectivity.
Thanks!

@bwp91 after spending a lot of time investigating what I though was a plugin defect, I discovered that the board could not connect to BLE at all. Not only via the plugin, but also via a custom Python script that I tried.
After changing the config file I tried again with Python and it worked immediately, then the homebridge-switchbot plugin started to work as well.
So generally speaking BLE was not functioning on my board with Raspbian (precisely it's a Retropie distro but basically Raspbian).

thank you @Lazza your solution may hopefully be useful to users of my plugin as well as switchbot

OK, I asked because the README of this repo links here:
https://github.com/homebridge/noble#prerequisites
I will create a PR for the upstream repo.

Edit: here it is. https://github.com/abandonware/noble/pull/263

I will update that. Sorry.

updated

authors: Lazza bwp91 donavanbecker grunkyb


text:
Add verify functions

Fixes #8

getProof and getMultiProof automatically verify the proofs that they produced. IMO, this should be done using these new functions.
Otherwize looks good.

For getProof the change is quite simple:
     // check proof
-    const hash = this.tree[treeIndex]!;
-    const impliedRoot = processProof(hash, proof);
-    if (!equalsBytes(impliedRoot, this.tree[0]!)) {
+    if (!this.verify(leaf, proof.map(bytesToHex))) {
       throw new Error('Unable to prove value');
     }

But for getMultiProof its quite more complex because we need the leaves in T format
     // check proof
-    const impliedRoot = processMultiProof(proof);
-    if (!equalsBytes(impliedRoot, this.tree[0]!)) {
+    if (!this.verifyMultiProof({
+      leaves: indices.map(i => this.values.find(e => e.treeIndex == i)!.value),
+      proof: proof.proof.map(bytesToHex),
+      proofFlags: proof.proofFlags,
+    })) {
       throw new Error('Unable to prove values');
     }

I implemented that suggestion but I refactored the code a little to avoid converting back and forth between string and Bytes.

Do you mean that maybe they shouldn't be private? Let's keep them private for now because they work on Bytes values and not on strings like the rest of the StandardMerkleTree interface.
Eventually I would be interested in making standard and core both work generically on both Bytes and strings.

Do you mean that maybe they shouldn't be private?

I meant they should be private, which they are. My bad.

Eventually I would be interested in making standard and core both work generically on both Bytes and strings.

I know we don't like dependencies, but IMO there is already a de-facto standard for that:
https://github.com/ethers-io/ethers.js/blob/master/packages/bytes/src.ts/index.ts#L12

Can I directly call a similar method in JS and keep it consistent with solidity
solidity Provides such a method
function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
    return processProof(proof, leaf) == root;
}

https://github.com/merkletreejs/merkletreejs/blob/master/src/MerkleTree.ts
也实现了类似的方法：
verify (proof: any[], targetNode: Buffer | string, root: Buffer | string):boolean {

}

const tree = StandardMerkleTree.of();

Can Tree call verify directly?

tree. verify();

source: gharchive/pull-request

authors: Amxx duktig666 frangio

repo: OpenZeppelin/merkle-tree

license: MIT

license_type: permissive

license_source: github-api


text:
Ownable contract owner is always the 0 address

When using Ownable, the owner of the contract is always the null address.
pragma solidity ^0.5.0;

import "@openzeppelin/contracts/ownership/Ownable.sol";

contract Tester is Ownable {
    function sayHi() public view returns(string memory) {
        return "hi";
    }
}

Then deploy it to my local blockchain with openzeppelin create. Calling openzeppelin call on the owner function will result in 0x0000000000000000000000000000000000000000. I have no clue how to proceed.
I also posted this issue on the forums:
https://forum.openzeppelin.com/t/ownable-contract-owner-is-always-the-0-address

Hi @Chrissie,
I have answered in the forum:
https://forum.openzeppelin.com/t/ownable-contract-owner-is-always-the-0-address/1646/2
I suggest this issue can be closed and any further questions can be picked up in the forum.

Closing as solved specific issue in the forum.
Documentation could be improved to advise that we need to use @openzeppelin/contracts-ethereum-package with upgradeable contracts.

source: gharchive/issue

authors: Chrissie abcoathup

repo: OpenZeppelin/openzeppelin-sdk


text:
Added Testimonial Page and Form

Related Issues #434
-I have designed a testimonial section  and created a testimonial form for our website. This pull request adds the necessary HTML, CSS, and JavaScript code to implement the testimonial functionality.
Changes Made

Created a new testimonial section with HTML and CSS,Bootstrap.
Added JavaScript functionality to dynamically display testimonials in cards.
Implemented a testimonial form that captures user input.
Created an API endpoint on the server to receive and store testimonial data.
Updated the necessary routes and handlers to handle testimonial requests.

Additional Information

Any additional information or context

Checklist

[x] Tests
[x] Translations
[x] Documentations

Screenshots

See the Video
https://github.com/Opentek-Org/opentek/assets/85815172/51c35615-852b-46dd-b1f2-349cc2d8f10d
@AnirudhPanda ,please review and merge

@AnirudhPanda ,please review and merge my pull request

also, is the add testimonial fully functional?

@sunny0625 check this PR

also, is the add testimonial fully functional?

yes it is full functional see video ,i have shown demo

the add button one?
On Tue, Jul 11, 2023 at 4:28 PM Nishitbariya @.***>
wrote:

also, is the add testimonial fully functional?
yes it is full functional see video ,i have shown demo
—
Reply to this email directly, view it on GitHub
https://github.com/Opentek-Org/opentek/pull/444#issuecomment-1630611921,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APZGUAAOU7ME3WUOP4L4D3DXPUWTRANCNFSM6AAAAAA2FAETFQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thanks and Regards,
Anirudh Panda

the add button one?
…
On Tue, Jul 11, 2023 at 4:28 PM Nishitbariya @.> wrote: also, is the add testimonial fully functional? yes it is full functional see video ,i have shown demo — Reply to this email directly, view it on GitHub <#444 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZGUAAOU7ME3WUOP4L4D3DXPUWTRANCNFSM6AAAAAA2FAETFQ . You are receiving this because you were mentioned.Message ID: @.>
-- Thanks and Regards, Anirudh Panda

yes adding testimonial functionality is working ,in video i have shown by adding testimonial

it does not seem to work!!
make a detailed video please
On Tue, Jul 11, 2023 at 4:32 PM Nishitbariya @.***>
wrote:

the add button one?
… <#m_2307669561207328261_>
On Tue, Jul 11, 2023 at 4:28 PM Nishitbariya @.> wrote: also, is the
add testimonial fully functional? yes it is full functional see video ,i
have shown demo — Reply to this email directly, view it on GitHub <#444
(comment)
https://github.com/Opentek-Org/opentek/pull/444#issuecomment-1630611921>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APZGUAAOU7ME3WUOP4L4D3DXPUWTRANCNFSM6AAAAAA2FAETFQ
https://github.com/notifications/unsubscribe-auth/APZGUAAOU7ME3WUOP4L4D3DXPUWTRANCNFSM6AAAAAA2FAETFQ
. You are receiving this because you were mentioned.Message ID: @.>
-- Thanks and Regards, Anirudh Panda
yes adding testimonial functionality is working ,in video i have shown by
adding testimonial
—
Reply to this email directly, view it on GitHub
https://github.com/Opentek-Org/opentek/pull/444#issuecomment-1630618626,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APZGUAEJEF5FTBLR67LM7MDXPUXF5ANCNFSM6AAAAAA2FAETFQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thanks and Regards,
Anirudh Panda

@AnirudhPanda ,You have to refresh and you can see your cards:

check this
https://github.com/Opentek-Org/opentek/assets/85815172/c0ccda42-bcd1-427c-9f7f-9135dcfdb21a

@AnirudhPanda ,     check this
PassFab20230711_170025262.mp4

@AnirudhPanda ,please review and merge

I have updated Validation for URL and Rating ( it should between 1 and 5) and also added respected Alerts and also page refreshes after successfully Added

update me once it's all done man!!
great going @Nishitbaria

@AnirudhPanda ,I have updated ,please review and merge pull request

the URL is a valid URL - https://avatars.githubusercontent.com/u/66218496?v=4

https://avatars.githubusercontent.com/u/66218496?v=4

The previous URL validation was not for link with params like ?v=4
So i have updated now

Okay, so when we add a testimonial it gets written in paste.js? So if we want to remove the testimonial we can remove it? Like SPAM etc? or else can we do an email validation too to ensure only one testimonial per person? Maybe in another PR

@AnirudhPanda  It is saved in mongo db database ,Yes i will create issue for email validation to remove spam  ,please merge this and I will start working on that

It is saved in mongo db database

how can I use it to remove a testimonial? Any collab access there?

@AnirudhPanda ,In upcoming issues i will make route to delete testimonial by that functionality you can delete and if you want access to database,i will tell you how to create MongoDB database andhave access to it using MongoDB atlas

okay cool. SO merging this PR just clear all the testimonials we have currently

okay cool. SO merging this PR just clear all the testimonials we have currently

@AnirudhPanda  Done

okay cool. SO merging this PR just clear all the testimonials we have currently

@AnirudhPanda Done

Hey @AnirudhPanda   I will Creating new Pr in 5min please also Review it :)

okay cool. SO merging this PR just clear all the testimonials we have currently

@AnirudhPanda Done

Hey @AnirudhPanda I will Creating new Pr in 5min please also Review it :)

sure

authors: AnirudhPanda Nishitbaria

repo: Opentek-Org/opentek


text:
V2 Labware: Get Labware Definitions Locally

As an Opentrons user, I would like to use getLabwareDef to retrieve JSON labware from redux (instead of using getLabware to get defs from shared data)
Acceptance Criteria

[ ] All instances of getLabware functions should be replaced with getLabwareDef
[ ] Ever place where getLabware is called should now expect a V2 labware in the response

Implementation Notes

getLabware takes a load name and returns a definition from shared data
getLabwareDef takes an OT ID and returns a definition from local redux state
add a short term shim that allows getLabwareDef to map a load name to an OT ID.

Most of the work in this ticket has been done.
Remaining uses of getLabware fn:

protocol-designer/src/load-file/migration/1_1_0.js for getting v1 tiprack definition in PD migration (which seems like an OK use to me)
indirectly thru complib Labware component import, this will be removed in #3532

Remaining work to close this ticket:

rename getLabware to getV1LabwareDef
have getIsTiprackDeprecated and getWellDefsForSVG take a V1 labware def object instead of a string, and rename them to reflect that they are intended for v1 labware defs

Then, the v1 -> v2 shim will finally be removed once migration is implemented, outside the scope of this ticket (see #3337)

authors: IanLondon umbhau

repo: Opentrons/opentrons


text:
feature(api): remove mypy exceptions in api project

Overview
Mypy is a valuable tool for identifying errors.
The mypy.ini file in api project has exceptions for a number of sub packages. These exceptions should be removed.
List of packages:

[x] opentrons.algorithms.*
[ ] opentrons.api.*
[ ] opentrons.calibration_storage.*
[x] opentrons.commands.*
[ ] opentrons.config.*
[x] opentrons.drivers.*
[ ] opentrons.hardware_control.*
[ ] opentrons.protocol_api.*
[ ] opentrons.protocols.*
[ ] opentrons.system.*
[ ] opentrons.tools.*
[ ] opentrons.util.*
[x] opentrons
[ ] opentrons.broker
[ ] opentrons.execute
[ ] opentrons.simulate
[ ] opentrons.types
[x] tests.opentrons.algorithms.*
[ ] tests.opentrons.api.*
[ ] tests.opentrons.broker.*
[ ] tests.opentrons.calibration_storage.*
[x] tests.opentrons.commands.*
[ ] tests.opentrons.config.*
[ ] tests.opentrons.data.*
[ ] tests.opentrons.drivers.*
[ ] tests.opentrons.system.*
[ ] tests.opentrons.util.*
[ ] tests.opentrons.conftest
[ ] tests.opentrons.test_execute
[ ] tests.opentrons.test_init
[ ] tests.opentrons.test_simulate
[ ] tests.opentrons.test_types

Moved to EXEC-201.

authors: amitlissack sanni-t


text:
Pinterest Icon Addition

Description of changes

This pull request add the pinterest Icon to the page.
Issue Resolved

Fixes #1010

Hey @cyph3r-m00n
I ran the SVG through SVGO via https://jakearchibald.github.io/svgomg/
I also edited your OP to say: Fixes #1010 so that the issue automatically closes once the this PR gets merged.
Looks good to me 👍
Will merge after build. Thanks!

@kylemh Thanks so much! So excited, this is my first pull request ever!

I think you deserve a sticker 🍾
Feel free to fill out this form to get one.

@kylemh This is great, Thanks!

license: mit

license_source: bigquery


text:
Assets.json should be created by codegen module

With a skeleton and examples of what can be used: bundles and star matching

If Assets.json is created every time the codegen module is used, there may end up being a lot of empty assets.json files there that are being watched for no reason.
I added some helper comments to the gulpfile.js and can optionally write that help out to the console when the developer starts the "watch" task.  That way it can be documented somewhere more obvious and visible.
Thoughts?
Here is the PR referenced above: https://github.com/OrchardCMS/Orchard/pull/5613

@dcinzona That's not how it works - if an Assets.json file does not contain an asset group, or if an asset group doesn't actually declare any input assets, nothing will get watched.
Furthermore I don't think comments in Gulpfile.js is the best place. Would prefer to describe it in documentation, add a tersely commented sample to codegen, and maybe also add a GulpReadme.txt file or similar to the Gulp solution folder.

Had to settle for a minimal version of this because you can't put comments in a .json file, which makes it practically impossible to provide any illustrative examples without actually implementing them fully and put all the corresponding assets and outputs in the generated module, which obviously we don't want to do. We'll have to refer to documentation (which really should be the go-to place anyway).

authors: DanielStolt dcinzona sebastienros

repo: OrchardCMS/Orchard


text:
Dynamic forms gone after upgrade to Orchard 1.9.2

The modules are installed and active but there is no sign of the dynamic forms. I had one on a widget and while the widget is still there, the form elements are gone and the dynamic form drag and drop elements are missing from the sidebar.
Upgrade followed these steps:
unzip Orchard 1.9.2
Copy in App_Data/Sites
copy in Media/Default
copy in Themes/theme_file
I tried again copying over the whole App_Data folder but with the same result.
Is there anything I have missed here?

Are you seeing any errors being logged when loading the content editor page?

This is the last error.log made today
2015-11-27 11:44:02,811 [55] Orchard.Exceptions.DefaultExceptionPolicy - Default - An unexpected exception was caught
http://www.[URL-REMOVED].com.au/
System.ObjectDisposedException: Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed.
at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(IComponentRegistration registration, IEnumerable1 parameters)    at Orchard.DisplayManagement.Descriptors.ShapeAttributeStrategy.ShapeAttributeBindingStrategy.<>c__DisplayClass4.<CreateDelegate>b__3(DisplayContext context) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Descriptors\ShapeAttributeStrategy\ShapeAttributeBindingStrategy.cs:line 55    at Orchard.DisplayManagement.Descriptors.ShapeAlterationBuilder.<>c__DisplayClass3.<>c__DisplayClass5.<BoundAs>b__2(DisplayContext displayContext) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Descriptors\ShapeAlterationBuilder.cs:line 56    at Orchard.DisplayManagement.Implementation.DefaultDisplayManager.Process(ShapeBinding shapeBinding, IShape shape, DisplayContext context) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Implementation\DefaultDisplayManager.cs:line 203    at Orchard.DisplayManagement.Implementation.DefaultDisplayManager.Execute(DisplayContext context) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Implementation\DefaultDisplayManager.cs:line 99    at Orchard.DisplayManagement.Implementation.DisplayHelper.TryInvoke(InvokeBinder binder, Object[] args, Object& result) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Implementation\DisplayHelper.cs:line 30    at CallSite.Target(Closure , CallSite , Object , Object )    at ASP._Page_Themes_[URL-REMOVED]_Views_Content_cshtml.Execute() in c:\inetpub\wwwroot\aptiture-digital-live\Themes\[URL-REMOVED]\Views\Content.cshtml:line 23    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()    at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)    at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)    at Orchard.DisplayManagement.Descriptors.ShapeTemplateStrategy.ShapeTemplateBindingStrategy.Render(ShapeDescriptor shapeDescriptor, DisplayContext displayContext, HarvestShapeInfo harvestShapeInfo, HarvestShapeHit harvestShapeHit) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Descriptors\ShapeTemplateStrategy\ShapeTemplateBindingStrategy.cs:line 151    at Orchard.DisplayManagement.Descriptors.ShapeTemplateStrategy.ShapeTemplateBindingStrategy.<>c__DisplayClass26.<>c__DisplayClass28.<Discover>b__15(DisplayContext displayContext) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Descriptors\ShapeTemplateStrategy\ShapeTemplateBindingStrategy.cs:line 133    at Orchard.DisplayManagement.Descriptors.ShapeAlterationBuilder.<>c__DisplayClass3.<>c__DisplayClass5.<BoundAs>b__2(DisplayContext displayContext) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Descriptors\ShapeAlterationBuilder.cs:line 56    at Orchard.DisplayManagement.Implementation.DefaultDisplayManager.Process(ShapeBinding shapeBinding, IShape shape, DisplayContext context) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Implementation\DefaultDisplayManager.cs:line 203    at Orchard.DisplayManagement.Implementation.DefaultDisplayManager.Execute(DisplayContext context) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Implementation\DefaultDisplayManager.cs:line 99    at Orchard.DisplayManagement.Implementation.DisplayHelper.TryInvoke(InvokeBinder binder, Object[] args, Object& result) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\DisplayManagement\Implementation\DisplayHelper.cs:line 30    at CallSite.Target(Closure , CallSite , Object , Object )    at ASP._Page_Core_Contents_Views_Item_Display_cshtml.Execute() in c:\inetpub\wwwroot\aptiture-digital-live\Core\Contents\Views\Item\Display.cshtml:line 6    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()    at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()    at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)    at Orchard.Mvc.ViewEngines.ThemeAwareness.LayoutAwareViewEngine.<>c__DisplayClass7.<FindView>b__5(ViewContext viewContext, TextWriter writer, IViewDataContainer viewDataContainer) in z:\Builds\work\9f6cd39ff0f68f41\src\Orchard\Mvc\ViewEngines\ThemeAwareness\LayoutAwareViewEngine.cs:line 60    at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext contr

I had this problem, too. I had to install 1.9.2 from source for Dynamic Forms to work; it just doesn't work from the zip file. I was never able to figure out why, though.

Ok thanks. Building from source and then deploying the output to the live environment fixed this.

authors: flew2bits mogularpb sfmskywalker


text:
#6357: allow more mime type file to upload

allow more mime type file to upload

We decided not to add any extension that we don't server OOB. You will be able to find a related issue with the discussion and the decision. Thanks though.

authors: infofromca sebastienros


text:
Crash on startup

Mod Version: 3.6.1.0
Forge Version: 14.23.5.2854
Link to client log: https://hastebin.com/viniwehuwu.md
Link to crash log: /
Description:
Seems like another Mixin problem, might not caused by DS itself, but before OreLib and DS were added, everything works just fine.
The mods below in the pack also uses Mixin, more information were included in the log.

JustEnoughIDs 1.0.3-55
levelup2 1.4.2
performant 1.10
Surge 2.0.79
TimeCore 1.0.1.1
VanillaFix 1.0.10-150
phosphor 0.2.7

The linked log is empty.  However, I suspect it is related to Mixin.  Make sure that all your mods are up to date, and if they use mixin they use version 0.8.  (VanillaFix and Phosphor should be fine - not sure of the others.)

It is caused by Performant, already post an issue to their repository, thanks.

Something weird happened. First, DS 3.6.1.0 is sure to be incompatible with Performant 1.10, but when I deleted ORECRUNC.RSA and ORECRUNC.SF in the META-INF folder of DynamicSurroundings-1.12.2-3.6.1.0, the game successfully launched with Performant. Please check if something went wrong with these two files or it's Performant's problem.

I have this same issue, it clashes on security classes...
java.lang.SecurityException: class "org.spongepowered.asm.launch.platform.CommandLineOptions"'s signer information does not match signer information of other classes in the same package 	at java.lang.ClassLoader.checkCerts(Unknown Source) ~[?:1.8.0_261] 	at java.lang.ClassLoader.preDefineClass(Unknown Source) ~[?:1.8.0_261] 	at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.8.0_261] 	at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.8.0_261] 	at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.8.0_261] 	at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.8.0_261] 	at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_261] 	at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_261] 	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_261] 	at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_261] 	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_261] 	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_261] 	at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_261] 	at org.spongepowered.asm.launch.MixinTweaker.acceptOptions(MixinTweaker.java:55) ~[DynamicSurroundings-1.12.2-3.6.1.0.jar:?] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:114) [launchwrapper-1.12.jar:?] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_261] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_261] 	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_261] 	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?] 	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?] 	at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?] 	at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
But, if you change the load order and allow Performant to load first, by say, putting a z before the name of the file, it fixes this and allows Minecraft to load, but causes some other errors with your dependency, OreLib...
Warnings:
[23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$profiles::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$commands::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$commands$calc::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$commands$ds::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$speechbubbles::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$player::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$sound::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$effects::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$biomes::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$aurora::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$general::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$fog::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$rain::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$logging::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$asm::PATH]
And in debug log:
[23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$profiles::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$commands::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$commands$calc::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$commands$ds::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$speechbubbles::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$player::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$sound::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$effects::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$biomes::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$aurora::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$general::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$fog::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$rain::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$logging::PATH] [23:24:35] [Client thread/WARN] [orelib]: Unable to locate field [org.orecruncher.dsurround.ModOptions$asm::PATH]
It would be amazing if you could work around this incompatibility.

To simplify, this can be fixed/workaround by changing the filename/order that DS loads in.
But, obviously to include it in packs that generate manifests, it needs to be loaded last/after performant.

Ok so I found a fix, someone threw up a mod to resolve the mixin related crash on startup:
https://www.curseforge.com/minecraft/mc-mods/mixin-0-7-0-8-compatibility
My logs of the issue for your information:
https://paste.ee/p/aVZZN

PS: I have tested it, and it allows Performant and DS to load rather than crash.

Posted 3.6.2.0 to CurseForge as BETA.  MixinBoostrap will also need to be installed.

authors: ChromaPIE OreCruncher bolte-io

repo: OreCruncher/DynamicSurroundings


text:
install script for AWS EC2 server

Amazon Web Service EC2 offers a free server for 1 year with a new subscription. This is an install script for the ot-node to try and run a node on a fresh Amazon Linux 2 server.

Great! Thank you!

authors: schrink teamatbotticelli

repo: OriginTrail/ot-node


text:
SSH Auth failed with generated SSH Key

Thanks for this awesome Vagrant box! I had a little trouble getting it to work correctly the first go around because it would fail to authorize the SSH key. In the Vagrant up command it would say that it detected the insecure private key and then would regenerate a new one. However after it imported the new SSH key and try to authenticate it would always say that it failed. I was able to fix this by adding config.ssh.insert_key = false to the Vagrantfile and all seems to be working now. I am wondering if other people are running into this issue as well.

Hi @Yamaha32088 , I can't say I've seen that behavior before, but it's been a while since I've used this box so a newer version of Ubuntu might be causing it.  Actually, IIRC Ubuntu has been moving to stop using insecure hashes like SHA1 which might be the reason.  Can you send a pull for that config change?

I created a pull request.

Thanks for the pulls @Yamaha32088 !

repo: Ortus-Solutions/vagrant-ubuntu-lucee


text:
🛑 PjSins is down

In 084c5fb, PjSins (https://pjsins.com) was down:

HTTP code: 404
Response time: 281 ms

Resolved: PjSins is back up in 972f535.

repo: OsintUK/Up-or-Down


text:
Rebuild Failed with Atom 1.5.1.

Error log:
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
../node_modules/nan/nan.h:260:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                        ^
../node_modules/nan/nan.h:255:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                        ^
../node_modules/nan/nan.h:660:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../node_modules/nan/nan.h:671:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node_buffer.h:41:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node_buffer.h:53:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node_buffer.h:38:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node_buffer.h:46:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
../node_modules/nan/nan.h:675:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
      ^
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
../node_modules/nan/nan.h:682:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node.h:42:
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:413:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node.h:42:
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:423:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node.h:42:
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1513:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/onig-cache.cc:1:
In file included from ../src/onig-cache.h:4:
In file included from ../src/onig-reg-exp.h:7:
In file included from ../node_modules/nan/nan.h:24:
In file included from /Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/src/node.h:42:
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/bwinton/.atom/.node-gyp/.node-gyp/0.34.5/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../node_modules/nan/nan.h:1631:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
           ^
../node_modules/nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/onig_scanner/src/onig-cache.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Local/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Darwin 15.3.0
gyp ERR! command "node" "/Applications/Local/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/bwinton/Programming/atom/atom-dxr-search/node_modules/highlights/node_modules/first-mate/node_modules/oniguruma
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok

npm ERR! Darwin 15.3.0
npm ERR! argv "/Applications/Local/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Local/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/bwinton/.atom/.apm/.apmrc" "--userconfig" "/Users/bwinton/.atom/.apmrc" "rebuild" "--target=0.34.5" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE
npm ERR! oniguruma@4.2.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the oniguruma@4.2.2 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the oniguruma package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls oniguruma
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/bwinton/Programming/atom/atom-dxr-search/npm-debug.log

Huh, I can't replicate this locally. Does it fail if you uninstall and reinstall it?

Seems to work after uninstall/reinstall…

authors: Osmose bwinton

repo: Osmose/atom-dxr-search


text:
optimization (HEAP/RAM usage)

Things are moving fast ... thanks to everyone pitching in 👍
our target platform is the esp32, but we should support the esp8266 as well. While the esp32 and esp32s2 have adequate RAM (especially units that have PSRAM) the esp8266 is a bit more limited. We should consider optimizing our development for both speed as well as efficiency. Additionally, we should consider releasing our project as a complete firmware binary release with our code preinstalled ready to go.
Internal Constant Values
One optimization is the use of const values for integers or numbers that don't ever change.  There's a special const function added to MicroPython that allows you to tell the interpreter and other tools that a value will never change.  When tools know the value is constant they can optimize its usage, like inlining the value where it's used instead of creating a variable that takes precious memory.  As your saw in the driver code page it makes sense to set register and other fixed values as consts.
Compile Modules into Frozen Bytecode
When a developer creates a Micro Python application they are creating scripts that are executed by the Python interpreter at run-time. Processing the script at run-time will not only use space on the heap but can also cause the heap to become fragmented. Developers can take modules within their application code and cross compile it into bytecode that is stored in flash with the kernel code. Creating the bytecode will cause the modules code to execute from flash rather than executing from the heap. The result is that less heap space is used and there is decreased heap fragmentation. Constant values and strings can also be precompiled into frozen bytecode which will prevent them from taking up unnecessary RAM.
Custom Built Firmware With Additional Modules
build a module inside the firmware; this option optimizes the module execution and minimizes the size of the same on the device; the module is frozen into the firmware.
References:
https://docs.micropython.org/en/latest/reference/constrained.html#execution-phase
https://docs.micropython.org/en/latest/library/micropython.html#module-micropython
https://www.beningo.com/5-tips-for-optimizing-the-heap-in-micropython/
https://learn.adafruit.com/porting-an-arduino-library-to-circuitpython-vl6180x-distance-sensor?view=all
https://www.microdev.it/wp/en/2018/06/25/micropython-micropython-compiling-for-esp8266/
https://www.microdev.it/wp/en/2018/07/04/micropython-micropython-compiling-for-esp8266-with-additional-modules/

there isn't a simple method to work with list (arrays) ... but there is a solution
https://github.com/micropython/micropython/issues/4067

Even though notes are floats, When we apply them to tone, we force them to be ints. So we might as well store them as ints
Put in a comment on the real float values just to let everyone know.

Even though notes are floats, When we apply them to tone, we force them to be ints.

very interesting I never looked ...

So we might as well store them as ints Put in a comment on the real float values just to let everyone know.

agreed ...

authors: mishafarms sfranzyshen

repo: OttoDIY/OttoDIYPython


text:
Reading netcdfs with xarray and taking mean of subset returns nans

@Zeitsperre @huard In branch bias_correction, the test "test_bias_correction.py", selection and mean of subset returns nans everywhere so the codes fail. Any help would be appreciated!

This happens if some of the entries in the NetCDF are NaN. You could just try np.nanmean().

Hmmm I didn't realize everyone got these messages, sorry! Thanks, I can try doing that on the main array, but NRCan should not have any Nans in it. I will check!

No need to be sorry. My setting is that I receive all messages. Maybe it is because it is a spatial dataset and some grid cells are just not filled with values? At least that would be the case for CaSPAr data.

The worst part is that the code is the exact same as the one used in the NRCan data test script, so I really am at a loss. I'll try and debug some more. I am extracting the points in a 2°x2°grid around a point in central Ontario, so there should be no NaNs there in NRCan 10km. I will try the nrcan code directly to see the differences.

Ok. Otherwise send me the NetCDF and I'll have a look

Thanks for the offer, but it's a ncml that links to like a few GB of ncfiles... I'll try and debug some more first!

Sounds good! Let me know if there's something I can do

Problem solved, it was a user error. Forgot to wrap the test suite in a class... still don't know why that changes anything but now works so I'll leave it at that. Thanks for the support :)

authors: julemai richardarsenault

repo: Ouranosinc/raven


text:
added fake icclim module to access icclim related functions directly

Documentation now includes an ICCLIM page where we'll find ICCLIM indicators under their own ICCLIM standard name.

Pull Request Test Coverage Report for Build 103

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.7%) to 52.632%

Totals

Change from base Build 98:
0.7%

Covered Lines:
150

Relevant Lines:
285

💛  - Coveralls

authors: coveralls huard

repo: Ouranosinc/xclim


text:
[BUG] Mainpage display blank page when switch profile

Describe the Bug
Mainpage display blank page when switch profile. It not show the token list and balance. User need to scroll down the page to refresh page.
https://github.com/user-attachments/assets/9591ff3f-e641-4b08-ade5-b8ea01b5bdee
Expected experience
Loading mainpage to show complete information  when user switched profile.
Steps To Reproduce

Go to profile page
click another profile

Environment
-Android i1.2.18

#292

repo: Outblock/FRW-Android


text:
Het lijkt erop dat je een onnodige slash (/) hebt

https://github.com/OvenMagnetron/the-startup-responsive-interactieve-website/blob/4706cb5aac9e95459b30704fe4054b89c0bfce72/index.html#L5
Je sluit hier de meta tag af
Je hoeft de meta tag niet af te sluiten het heeft geen effect.

Ik heb het gefixed
https://github.com/fdnd-task/the-startup-responsive-interactieve-website/commit/5c2008e4be920943cbd7022fdd80f9755900995f

authors: OvenMagnetron Patrickkhr


text:
Results about validation set

Hi LIU
I appreciate for your work.
I am curious about the results of validation set.

I got these results while training. Would you please explain the results of the image above?
Thanks

It looks like you are using the "test_split", as the default in stereo3D_example.
The validation set of the "test_split" contains only a few images extracted from the 7400+ training set. The training set of the "test_split" contains almost all the 7400+ training set. Models trained on this split should evaluate on the test set, and uploaded to the kitti server.
If you want to train with "chen_split" and conduct validation completely in the local machines, you need to change the split file to "chen_split", and then re-run all the pre_compute and training scripts.

Thanks for your answer.
What I am curious about is how to interpret the results
Thanks.

You can refer to the official benchmark/devkit for a detailed/simpler c++ implementation


text:
feat: AI Chat

Use Vercel AI SDK as interface to generate suggested problem collection.

Summary, key points, rating, hints, (improvement) suggestions, similar/related problems, examples, solutions, ...

Use Vercel AI SDK as interface to generate suggested problem collection.

https://sdk.vercel.ai/

Perplexity Link
https://www.perplexity.ai/?q=LeetcodeTwoSumDetailedSolutionsStepByStep

authors: OwlinLight UndefinedVoidNull

repo: OwlinLight/leetcode-planner


text:
Add WebCL support?

Feel free to add a discussion tag to this. I'm willing to put in the work to turn this into an eventual PR, but wanted to run this past the group before doing so. I'm not sure if I'm blindly attempting to put a round peg in a square hole, so hopefully some healthy discussion will help before committing to the time.
Without further adieu:
Motivation

WebCL should be a little clearer when it comes to distributed math performed on GPU, and hopefully be a quicker too.
Deeplearn is actually a pretty cool substitute for anyone who prefers NodeJS over Python (for example: me, in this case), so we might as wel move to an enhanced NodeJS version with the benefit of easier implementation whenever WebCL is adopted.

Pros

Wide GPU/multi-threaded CPU support
huge performance-boost for NodeJS (and later on: browsers too, though less since it already leverages WebGL)
"prettier" math; since kernels seem to be lower level than shaders.

Cons

WebCL has been in Draft status for a while now, and it's hard to say what the roadmap towards adoption is.
Maintaining 3 versions of all the Math classes; CPU + WebGL + WebCL instead of -the current- 2.

There are already a few decent WebCL implementations available which could possible serve up necessary bindings for NodeJS, and be a "drop-in-replacement" with WebCL once it's available in browsers as well.
Love to hear your thoughts before diving in

I for one would like to see this happen, for the following reasons.
I plan to use deeplearnjs for large-scale distributed ensemble learning, where training occurs inside many browsers. However, I can also see that there are cases where training needs to occur on the server side, and it will get complicated if server side is doing things very differently from the browser side (i.e., using Python/Tensorflow, with models and data in very different formats, etc.). Being able to do server-side training under NodeJS will make things much much easier.

We've been thinking about other implementations of the NDArrayMath base class for use in a headless environment, this would make transitioning between web-tools and distributed computing much easier.
This is on our radar, but we don't have the cycles in the immediate future. If one of you @arthurjdam and/or @kaihuchen want to start building this in the short term future, I can help determine out the right approach and give you guidance along the way - we would love to see this as an external contribution.
It shouldn't be too hard to write another NDArrayMath backend that can run with headless NodeJS, and it can be done in pieces - you just throw an exception for un-implemented NDArrayMath base class methods and start implementing them one by one. I'd recommend starting with matMul operations.
Let us know if you decide to take this on and want to keep chatting!

Sounds like fun! I'd love to take this on. Seems like it should indeed not be too difficult to add a third platform on NDArray. Let me know if there's anything I should know before getting started

Awesome!
One thing you should note is I'm in the process of rewriting the NDArrayMath unit tests, which will make your life much easier. You can add a new backend and simply add your new backend to existing unit tests (right now it's a massive copy-paste). You might want to wait for me to finish that in the next couple days.

Centralizing unit-tests is a great idea! I'll be spending some time on writing the overhead for the next few days; let me know when your tests are ready and I can work towards them!

@nsthroat    My plate is more than full at this point, so I am afraid that I am unable to take on this task. But I certainly want to follow its progress closely, and perhaps jump in at a later time.

Slowly getting started on this in arthurjdam/deeplearnjs/feature-opencl. LMK whenever unit-tests get centralized; that would definitely make my life a bit easier :-)

Hi @arthurjdam
That's excellent!
math_cl sounds good to me.
The tests have been centralized! You'll have to add another test_util function for CL, like this:
https://github.com/PAIR-code/deeplearnjs/blob/master/src/test_util.ts#L144
And you can use them like this:
https://github.com/PAIR-code/deeplearnjs/blob/master/src/math/pool_test.ts#L101
Basically, just edit _test files where you've implemented, and add a line like this:
test_util.describeMathCL('maxPool', [tests]);
For now, you probably don't need to test multiple feature flags, but if you add environment settings this is where you could do it.
Let me know if you have any other questions. Looking forward to this!!

This issue was moved to tensorflow/tfjs#76

authors: arthurjdam kaihuchen nsthorat

repo: PAIR-code/deeplearnjs


text:
BLAST result -  MSA in action bar

The current blast result table only provide the subject list, not the original query sequence. It would be more useful if the MSA includes the original query sequence, so that the subjects can be compared to the query sequence.

we show pair-wise blast alignments of the query and subject, list NCBI blast.
The selection and actions from the BLAST results are mostly done using the same mechanisms as any other feature table on the site. Given that the selection tools and MSA pass feature ids and pull related data from the database, I don't think we can support adding query sequence to MSA without requiring major changes.
-Maulik

The query sequence can be either a PATRIC feature or random sequence. So, I don't think we can support this functionality.

authors: hyoo maovt mshukla1


text:
Automatic BLAST of beginnings of each contigs to identify plamis

The people at DuPont have an inhouse tool to do this, which gives them an indication if they are the contig is a plasmid or not.  This would be a great thing for us to provide in PATRIC

That is from August of 2019???  I know it was during a workshop there, but can't really recall what it was about. I guess I could look into it if there is interest.


text:
Resolve precision issues in test suite results

This issue was highlighted in https://github.com/PCMDI/pcmdi_metrics/issues/279#issuecomment-171009552, however is reproduced here to simplify the multiple problems covered in #279
@jservonnat @doutriaux1 ok so we have:
metric: repo # | test #
"bias_xy_djf_GLB": "0.29" | 0.30
"bias_xy_djf_SHEX": "2.26" | 2.27
"bias_xy_jja_SHEX": "0.70" | 0.69
"bias_xy_mam_GLB": "0.13" | 0.14
"bias_xy_mam_NHEX": "-0.95" | -0.94
"bias_xy_son_NHEX": "-1.18" | -1.19
"bias_xy_son_SHEX": "0.67" | 0.66
"mae_xy_djf_NHEX": "1.30" | 1.29
"mae_xy_jja_NHEX": "1.11" | 1.12
"mae_xy_mam_NHEX": "1.18" | 1.17
...

The resolution requires a more intelligent (precision aware) dealing of result comparison in the test suite. @doutriaux1 has increased precision to 3 places in #301, but this will likely need a further tweak to resolve the issue for good.

@doutriaux1 is this a dupe of #380? If so I suggest we close one of these dupes

yes and no, this defintely holds #380

@doutriaux1 @durack1  What is the status of this - should it be merged with another issue?

@gleckler1 my understanding is that this requires more work and is not resolved yet - we're only testing against linux in the travis tests - this needs to be solved so that OS X tests can be turned back on

@zshaheen it would be great to entrain you on getting to the bottom of this issue

@gleckler1 @doutriaux1 really, we've fixed this? If yes that's a huge step forward and we should push for a new release ASAP


text:
CRYST1 record as strict requirement in pdb input

Hi
I tried to run dssp 4.0 on a PDB file without any remarks, i.e. only lines starting with ATOM. I get the following error:
Error trying to load file
Expected record CRYST1 but found ATOM
My guess is that this comes from
https://github.com/PDB-REDO/libcifpp/blob/34bbf067939be5706a7fda3e0f3b242f83ab98ec/src/PDB2Cif.cpp#L5275
Is a CRYST1 record a strict requirement for pdb input?
kind regards
Gabriel

Dear Gabriel,
Yesdm a CRYST1 record really is a very minimal requirement. A fully valid PDB file actually has more required record so the requirement is actually quite forgiving. You can use a default CRYST1 record as is common for NMR and theoretical models:
[code]CRYST1    1.000    1.000    1.000  90.00  90.00  90.00 P 1           1[/code]

Dear Gabriel,
Yesdm a CRYST1 record really is a very minimal requirement. A fully valid PDB file actually has more required record so the requirement is actually quite forgiving. You can use a default CRYST1 record as is common for NMR and theoretical models:
[code]CRYST1    1.000    1.000    1.000  90.00  90.00  90.00 P 1           1[/code]

Mind you that the spacing above is not correct. You can use the CRYST1 record from PDB entry 1d3z.

Mind you that the spacing above is not correct. You can use the CRYST1 record from PDB entry 1d3z.

Thanks a lot! Injecting the CRYST1 line in front does the trick and I use it as a workaround to enable dssp 4.0 in our toolchain.
I setup dssp 4.0 in a vanilla Ubuntu 20.10 VM and needed two workarounds to get there. Even though they're related to libcifpp, I dump them here because of the context:

Change of http to https: https://github.com/PDB-REDO/libcifpp/blob/34bbf067939be5706a7fda3e0f3b242f83ab98ec/tools/update-dictionary-script#L18
point CLIBD_MON env var to a checkout of https://github.com/rlabduke/mon_lib (does this come with a CCP4 installation? The git repo was just a random guess as it contained the required mon_lib_list.cif file. Maybe needs some documentation)

Out of curiosity I built a random model with MODELLER and it doesn't come with a CRYST1 record. Given that such
models are common and previous dssp versions processed them without issues, a workaround or at least some
documentation would be appreciated by some people ;)
kind regards
Gabriel

Thanks a lot! Injecting the CRYST1 line in front does the trick and I use it as a workaround to enable dssp 4.0 in our toolchain.
I setup dssp 4.0 in a vanilla Ubuntu 20.10 VM and needed two workarounds to get there. Even though they're related to libcifpp, I dump them here because of the context:

Change of http to https: https://github.com/PDB-REDO/libcifpp/blob/34bbf067939be5706a7fda3e0f3b242f83ab98ec/tools/update-dictionary-script#L18
point CLIBD_MON env var to a checkout of https://github.com/rlabduke/mon_lib (does this come with a CCP4 installation? The git repo was just a random guess as it contained the required mon_lib_list.cif file. Maybe needs some documentation)

Out of curiosity I built a random model with MODELLER and it doesn't come with a CRYST1 record. Given that such
models are common and previous dssp versions processed them without issues, a workaround or at least some
documentation would be appreciated by some people ;)
kind regards
Gabriel

Thanks for the feedback. We changed the URL to https.
The CLIBD_MON variable is indeed set by CCP4 we recommend using the CCP4 monomer library rather than the Phenix clone because we can make sure bugs are fixed in that one directly. We'll have a look at the documentation.
With respect to MODELLER, I'd rather have the problem solved at the source. It should really try to write a valid PDB formatted file (or even better, mmCIF formatted). Would you mind filing a bug report with them. I'll have a look at our documentation.

Thanks for the feedback. We changed the URL to https.
The CLIBD_MON variable is indeed set by CCP4 we recommend using the CCP4 monomer library rather than the Phenix clone because we can make sure bugs are fixed in that one directly. We'll have a look at the documentation.
With respect to MODELLER, I'd rather have the problem solved at the source. It should really try to write a valid PDB formatted file (or even better, mmCIF formatted). Would you mind filing a bug report with them. I'll have a look at our documentation.

Updated the DSSP man page to explicitly mention the CRYST1 thing.

Updated the DSSP man page to explicitly mention the CRYST1 thing.

Hey, your swift action is appreciated! Regarding bug report to MODELLER: MODELLER was just an example and fixing it there would be a drop in the ocean.
Even though CRYST1 is a mandatory field in the PDB format, there simply are lots of files floating around without it. So in the end its up to the method developers how permissive they want to be with the input.
As the current behavior breaks with older dssp versions, I'd appreciate documentation (thanks for your previous commit!) and/or a workaround that just applies P1 symmetry or something.
kind regards
Gabriel
PS: feel free to close this issue if you think its sufficiently addressed by the change in documentation.

Hey, your swift action is appreciated! Regarding bug report to MODELLER: MODELLER was just an example and fixing it there would be a drop in the ocean.
Even though CRYST1 is a mandatory field in the PDB format, there simply are lots of files floating around without it. So in the end its up to the method developers how permissive they want to be with the input.
As the current behavior breaks with older dssp versions, I'd appreciate documentation (thanks for your previous commit!) and/or a workaround that just applies P1 symmetry or something.
kind regards
Gabriel
PS: feel free to close this issue if you think its sufficiently addressed by the change in documentation.

Hi @drlemmus is there any scope to revisit this strict requirement? There are a lot more PDB files floating around now without this record (i.e. from structure prediction models). It'd be nice to have a modern version of DSSP that can run on these files out of the box. Something as simple as DSSP injecting a default CRYST1 record in the PDB parser if it can't find one (with an appropriate log message) seems like a sensible thing to do unless I'm missing something.

Not really. In modern structural biology/bioinformatics FAIR-nes is a big issue and sticking to file standards (Interoperability and Reusability) is key. In the field we have a legacy format, PDB, that for good reasons (size limitation, compound name space running out, no good place for new meta-data) is being phased out and another format, *CIF, that has none of these issues. So the focus is on *CIF support and most modern software already supports mmCIF or modelCIF (see the mmCIF and modelCIF paper). As does DSSP.
In terms of PDB support we are now quite strict to work towards the adoption of FAIR practices. This is likely to (very) gradually become more strict and ultimately PDB support will be dropped. Not anytime soon, but it will happen. Please be vocal to developers of software that writes non-standard PDB files: please stick to a standard, preferably a future-proof one.

What version does user need to downgrad to to get around this record requirement?

@sokrypton I believe <4.0.0

authors: a-r-j drlemmus schdaude sokrypton

repo: PDB-REDO/dssp


text:
Extend Timed group/permissions.

I cant find a way to extend ( add time ) to a given timed perimssion or group.
Like in a given VIP rank of ex 30 days, being abble to add 3 days for winning prizes or joining events etc to the player.

I'll look at implementing this once I reimplement timed permissions on Sponge.

I think this is a really good idea.  (And I don't even use timed anything on my server.)

yeah, it makes sense to have, but also a new feature (and PEX 1.x is in feature freeze indefinitely)

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.

authors: Sinestessia Stormbow zml2008

repo: PEXPlugins/PermissionsEx


text:
Big avi files

When i do the following
video = $ffmpeg->open("test.avi");
I get the message that the command can't be executed
Fatal error: Uncaught exception 'Alchemy\BinaryDriver\Exception\ExecutionFailureException' with message 'ffprobe failed to execute command '/usr/bin/avprobe' 'test.avi' '-show_streams' '-print_format' 'json''
when i  literally run /usr/bin/avprobe' 'test.avi' '-show_streams' '-print_format' 'json' on the command line i get the message
max_analyze_duration 5000000 reached at 5000000 microseconds
I added the -analyzeduration 50000000 in my command line
The file is 367MB.
I mannualy tried editing the extra command in the FFProbe->probe method.
That did not work either.
What should be a solution for this?

I managed to open a 1Gb file.
I think this issue is no more relevant.

authors: Romain pollyrobin

repo: PHP-FFMpeg/PHP-FFMpeg


text:
Unable to hard logout from current wallet

As a user I want to be able to logout from my wallet and know that anyone accessing MPW.org will not see my balance.
Currently if I close the browser and then revisit MPW.org later, my wallet state is stored and my balance is displayed on the screen before I unlock my wallet.
Suggestion: add a logout feature that clears local storage and takes the user back to the main dashboard screen. This also helps when a user wants to access two multiple MPW wallets, (or if they have entered a wrong mnemonic for eg), which can't currently be done from within the app.
tested with FF and Safari desktop, Safari iOS

I'm addressing this by implementing an account system (The ability to add and manage multiple wallets or addresses), however if anyone wants to write a quick PR with a logout button in the meantime feel free to do so

closing since feature to hard logout has been added in #232

authors: Duddino panleone shrnkld

repo: PIVX-Labs/MyPIVXWallet


text:
Help with Error: "Store failed: An exception was thrown while activating λ:PKISharp...."

I am new to wacs, and this is very likely a user error.
I requested a cert for a domain name (cert 1), it auto-renewed successfully, then I registered an additional domain name to my machine, requested a cert for that domain name (cert 2), and now neither cert 1 nor cert 2 are renewing. For testing purposes, both certs were configured to renew every day, and both certs are being stored as .pem files to my hard drive. The full error message, obtained by selecting "L: List scheduled renewals" from the main menu is:
1: [Manual] cert1DomainName.cloud - renewed 7 times, due after 2019/7/30 9:14:29, 1 error(s) like 'Store failed: An exception was thrown while activating λ:PKISharp.WACS.Plugins.StorePlugins.PemFiles -> λ:PKISharp.WACS.Plugins.StorePlugins.PemFiles -> PKISharp.WACS.Plugins.StorePlugins.PemFiles.'
2: [Manual] cert2DomainName.cloud - renewed 1 time, due after 2019/7/30 10:10:14, 1 error(s) like 'Store failed: An exception was thrown while activating λ:PKISharp.WACS.Plugins.StorePlugins.PemFiles -> λ:PKISharp.WACS.Plugins.StorePlugins.PemFiles -> PKISharp.WACS.Plugins.StorePlugins.PemFiles.'
Note that although the error message for cert 2 says that it has auto-renewed 1 time, the .pem files for cert 2 have not been modified since they were created.
Before requesting cert 2, I did the following things. They may or may not be responsible for the error.

As mentioned, I registered a new domain name to my machine.
I manually deleted the task in Task Scheduler that renewed cert 1 successfully. After re-requesting cert 1 and requesting cert 2, I can see 2 tasks in the Task Scheduler. One runs the command "wacs.exe --renew --baseuri"https://acme-staging-v02.api.letsencrypt.org/", and the other runs the command "wacs.exe --renew --baseuri"https://acme-v02.api.letsencrypt.org/"
I replaced the "win-acme" folder obtained from the release page with a fresh copy since I had tampered with the contents in a failed attempt to change the admin permissions as suggested by issue #907.

I would advise you to run the renewal manually from the menu (Renew specific certificate), then you should get more information about the error that occurred. If the screen output doesn't help you to pin down the issue, please do another manual run with the --verbose switch and paste what you see here, then I might be able to help!

The manual renewal worked without any error messages, thanks for the tip. Kind of strange though that it won't succeed automatically but it will manually. Any ideas with the limited information we have? Specifically, do you know what λ: refers to in the error messages? I could only find the use of the lambda character (λ) in one other issue, and it was for an unrelated project at this URL.

I have no explanation for the lambda, but the most common reason for the PemFiles plugin to fail is that the folder that its supposed to write to is not accessible. This may be a security issue, because the task is running under a different account than you yourself are using.

So it turns out the λ is coming from the Autofac library, which is something technical that shouldn't be exposed to the user so much. The latest release (2.0.9) will provide a more sensible error status in this scenario.

Have you had any luck identifying the problem? The latest release should provide more concise feedback.

authors: WouterTinus alexbeeston

repo: PKISharp/win-acme


text:
feat: support Align-Anything-Instruction-100K dataset

Description
Describe your changes in detail.
Motivation and Context
Solved the issue #7

[x] I have raised an issue to propose this change (required for new features and bug fixes)

Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds core functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (update in the documentation)

Checklist
Go over all the following points, and put an x in all the boxes that apply.
If you are unsure about any of these, don't hesitate to ask. We are here to help!

[x] I have read the CONTRIBUTION guide. (required)
[x] My change requires a change to the documentation.
[ ] I have updated the tests accordingly. (required for a bug fix or a new feature)
[x] I have updated the documentation accordingly.

LGTM.

authors: Gaiejj cby-pku

repo: PKU-Alignment/align-anything


text:
torch.cuda.OutOfMemoryError: CUDA out of memory.

Running inference on ubutnu 22.04 with an NVIDIA 3080 (12GB), getting:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 1.25 GiB. GPU 0 has a total capacity of 11.75 GiB of which 1.08 GiB is free. Including non-PyTorch memory, this process has 9.95 GiB memory in use. Of the allocated memory 9.51 GiB is allocated by PyTorch, and 139.25 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
Looking for ways to tune configuration so OOM does not happen.

For those with smaller GPUs (under 16GB VRAM) , try adjusting the config yml to use a smaller Height and Width.  512 is too ambitious.  Start at 64 and step up from there.  64 is too small actually to be useful (video is postage stamp sized and missing observable details).  128 seems like a good starting point.

I'll close this.  I think anyone finding the project can review the issue and determine a good fix.  Ideally the README has some sizing guides (maybe it is there and I missed it).

repo: PKU-YuanGroup/MagicTime


text:
Using Step interpolation on Series of line plot causes line to go beyond canvas grid

Sample code that uses step interpolation:
let priceSeries = chart.addSeries(['product_id', 'retailer'], dimple.plot.line, [dateAxis, priceAxis]);
priceSeries.getTooltipText = seriesTooltipText('Price');
priceSeries.interpolation = 'step';

repo: PMSI-AlignAlytics/dimple


text:
Карта смещается в координаты инициализации, если на странице происходит рендер DOM-элемента

Есть карта, которая инициализируется на любых координатах.
Есть несколько маркеров.
После инициализации центр карты выставляется таким образом, чтобы маркеры попали в область карты.
Если после этого в интерфейсе что-то отрендерить средствами Vue, то центр карты улетает в начальные координаты
Накидал пример. Нужно нажать кнопку Show
https://codesandbox.io/s/6xp551108w

Да, при перерисовке страницы карта рисуется заново по указанным параметрам. В принципе можно добавить аттрибут для того, чтоб карта изначально рисовалась с учетом маркеров. Но пока можно делать вот так:
https://codesandbox.io/s/vvzovv1rx3

authors: PNKBizz ezhkov

repo: PNKBizz/vue-yandex-map


text:
🛑 MUSA is down

In 034ae82, MUSA (https://storemusa.com/) was down:

HTTP code: 403
Response time: 394 ms

Resolved: MUSA is back up in 07f6a7f after 46 minutes.

repo: POCLANOS/status


text:
what's the meaning of "mapmos_pipeline --visualize /path/to/weights.ckpt /path/to/data"

Hello author, I feel that you are such an excellent open source project. But I didn't understand a few problems during the operation according to your instructions (because I'm new to python and I'm not very familiar with python). As the title says, can you give an example to illustrate how this script works, and what are the meanings of the last two parameters? I downloaded the pre-trained model, this compressed file is a .ckpt file, but which one to use as the first parameter after decompression? Does it refer to the file data.pkl? The data folder after decompression of the second parameter "/path/to/data" mapmos.ckpt?
in fact,i have a error problem
File "/home/seu_wx/.conda/envs/torch190/bin/mapmos_pipeline", line 5, in
from mapmos.cli import app
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 859, in get_code
File "", line 916, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/home/seu_wx/star_work/test/MapMOS/src/mapmos/init.py'

Hey,
You can run mapmos_pipeline --help to see how to use the mapmos_pipeline executable as explained in the README. The first argument is the path to the weights (*.ckpt) file and the second argument /path/to/data is be the path to the data, this could be a folder with point cloud files (*.bin, *.pcd, *.ply, *.bag, ...) or a single .bag rosbag file. This does not work with pickled data (*.pkl), because we can not know how to interpret the pickled data. Please convert it to one of the many standardized point cloud data formats first.
Besides that, your error message indicates that the project is not successfully installed. If installed correctly, the output of  mapmos_pipeline --help  should look like this:

I guess this is because you are using conda. What exactly are the steps that you took to install the project and can you post the output?
You could try installing it via python -m pip install -v ., this should use the correct pip.
Best
Benedikt

authors: AyanamiHao benemer

repo: PRBonn/MapMOS


text:
Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?

Hello,I have installed docker and docker compose according to the documentation. In the third step, I try to building the apss docker container. I entered 'make' command in the terminal, But error occur as follow:

I entered 'sudo docker-compose' command in the terminal to solve this problem. But error occur as follow:

So I come here to search for your help. Thank you.

Hello, the problem has a simple solution.
Just follow the [official docker installation instructions]("Post-installation steps for Linux | Docker Documentation" https://docs.docker.com/engine/install/linux-postinstall/) and you will be fine

Thank you for your answer. I have successfully built the apss docker container. In the next step, their still some problem as follow:

I don't know what cause this error. May be I set a wrong data-set path. If you think so, please offer me a example. Or others reason? Thank you

authors: captain-xuwenqiang nachovizzo

repo: PRBonn/puma


text:
[book] let is not mentioned

The documentation doesn't mention the let statement.
It should, it is a really nice feature of PRQL!
I just found out about it in #1762.

It's currently at https://prql-lang.org/book/queries/tables.html.
Possibly we should rename that to "Let"?

I don't know.
But maybe it should also have a simper example, like just assigning a string to a variable. Maybe this should even be featured on the front page?

like just assigning a string to a variable

At the moment it only supports "relations" (i.e. tables). But we'd like to generalize it to also allow scalars like numbers or strings.

Yes, let me see if I can adjust the docs a bit. They won't be perfect but I'll try and make it clearer. It's good feedback

At the moment it only supports "relations" (i.e. tables). But we'd like to generalize it to also allow scalars like numbers or strings.

It seems to work with  a single number. This works:
let num = 5
from employees
take num

It seems to work with a single number. This works:

OK, you're absolutely right!

Ah, I remember now; the thing we can't do is an expression:
let x = 5 + 5
from y

Error:
   ╭─[:1:9]
   │
 1 │ let x = 5 + 5
   ·         ──┬──
   ·           ╰──── expected pipeline that resolves to a table, but found `10`
   ·
   · Help: are you missing `from` statement?
───╯

Discussed in https://github.com/PRQL/prql/issues/1772

I would like to see simpler examples of just just basic variable assignment, such as:
let name = "Alice"

let includeDrafts = true

let age = 20

At the moment we don't support expressions — e.g. let x = 5 + 5, and so advertising the case where scalars happen to work sets an ambitious expectation. Let's wait until that is implemented and then document those.

authors: max-sixty vanillajonathan

repo: PRQL/prql


text:
Updated module manifest to 1.0.7 and readme

Updated module manifest version to 1.0.7
Added version 1.0.7 to version table.

@SimonWahlin does this look ok? Or should I not update the manifest version manually?

repo: PSBicep/BicepNet


text:
KData functions refactored into Mixin classes

The only way I could make it work is by using static methods.
For something like
class KDataSplitMixin():
     def split_data(self, idx):

self will be of type KDataSplitMixin and hence self.header and so on will lead to errors because header is not defined for KDataSplitMixin
The solution I found was to define protocols: https://mypy.readthedocs.io/en/latest/more_types.html#mixin-classes but this does not seem viable for our classes.
Another point for discussion is the naming. Having KData in front of every mixin class seems to be overkill but on the other hand makes it very clear what it does without checking in which folder this class is defined.
prewhiten_kspace and remove_readout_os also need to be modified like these methods but I would do this then in a separate PR.

hmm... I dont really like the staticmethods and the syntax that comes along with it. I will have a look again and check if I find a better way to solve it.

The only solution I found so far is using Protocol from typing as also mentioned in the link @ckolbPTB posted.
We would need to define a protocol like
from typing import Protocol

class KDataProtocol(Protocol):
    @property
    def header(self) -> KHeader: ...
    @property
    def data(self) -> torch.Tensor: ...
    @property
    def traj(self) -> KTrajectory: ...

    def __init__(self, header: KHeader, data: torch.Tensor, traj: KTrajectory): ...

and than use it for type hints in the MixIn classes... for example:
class KDataRearrangeMixin:
    """Rearrange KData."""

    def rearrange_k2_k1_into_k1(self: KDataProtocol) -> KDataProtocol:
        ...

This works for me. Passes mypy and pytest.
However, I first thought it would work without defining the __init__ in the protocol, which is unfortunately not the case.
Without this, it would be a nice solution imo. With this required definition I am not 100% convinced tbh.
What do you think @ckolbPTB @fzimmermann89

Can you remove the init and type hint the return as Self? Maybe you need to do self.cls(..) for the return inside the function.

Not sure if I get what you suggested... currently this MixIn class would look like this:
class KDataRearrangeMixin:
    """Rearrange KData."""

    def rearrange_k2_k1_into_k1(self: KDataProtocol) -> KDataProtocol:
        """Rearrange kdata from (... k2 k1 ...) to (... 1 (k2 k1) ...).

        Parameters
        ----------
        kdata
            K-space data (other coils k2 k1 k0)

        Returns
        -------
            K-space data (other coils 1 (k2 k1) k0)
        """

        # Rearrange data
        kdat = rearrange(self.data, '... coils k2 k1 k0->... coils 1 (k2 k1) k0')

        # Rearrange trajectory
        ktraj = rearrange(self.traj.as_tensor(), 'dim ... k2 k1 k0-> dim ... 1 (k2 k1) k0')

        # Create new header with correct shape
        kheader = copy.deepcopy(self.header)

        # Update shape of acquisition info index
        def reshape_acq_info(info):
            return rearrange(info, 'other k2 k1 ... -> other 1 (k2 k1) ...')

        kheader.acq_info = modify_acq_info(reshape_acq_info, kheader.acq_info)

        return type(self)(kheader, kdat, type(self.traj).from_tensor(ktraj))

If I remove the __init__ from KDataProtocol, mypy complains:
error: Too many arguments for "KDataProtocol"  [call-arg]
Which return do you suggest to type hint as self? And how?

I am not sure the Protocol-approach scales very well. I haven't tested it but I guess if we define another Mixin which uses rearrange_k2_k1_into_k1 then we would have to define a second Protocol class which has this function and so in each Mixin we might have a dedicated Protocol class. Not sure we want that...

The KDataProtocol(Protocol) is defined once for KData. For every MixIn class (e.g. KDataRearrangeMixin) we just import the KDataProtocol and use it for type hints. So if we add more MixIns for KData, we don't have to define another Protocol.
Or did you mean another Class that might import rearrange_k2_k1_into_k1 as a method? In this case, we would need to define another Protocol for this class as well, sure. But currently we assume rearrange_k2_k1_into_k1 is only used by KData, no? This is why it's placed in the _kdata folder?!

The error you described in your first post can btw be solved using Kdata as type hint for self:
class KDataSplitMixin():
     def split_data(self: Kdata, idx):

However, in our case this leads to the error
"The erased type of self '...*' is not a supertype of its class"
which I didn't manage so resolve yet...

What I meant was that if we add another Mixin, e.g. KDataArrangeMixin which uses the function of another Mixin
class KDataArrangeMixin:
    def arrange(self: KDataProtocol) -> KDataProtocol:
        x = self.rearrange_k2_k1_into_k1(self)
        return x

Then this would not work because KDataProtocol does not have a function rearrange_k2_k1_into_k1. Can you simply add functions to a Protocol class? Would we then have to create a Protocol-class which includes all properties and functions of KData?

What I meant was that if we add another Mixin, e.g. KDataArrangeMixin which uses the function of another Mixin
class KDataArrangeMixin:
    def arrange(self: KDataProtocol) -> KDataProtocol:
        x = self.rearrange_k2_k1_into_k1(self)
        return x

Then this would not work because KDataProtocol does not have a function rearrange_k2_k1_into_k1. Can you simply add functions to a Protocol class? Would we then have to create a Protocol-class which includes all properties and functions of KData?

Ah, got it... I will test it and report here, but I guess we have to add all methods to the protocol, yeah.

I just posted the implementation using Protocol. It's not meant to be the final version, but I guess it's easier to discuss this option having the code available here...
In summary:

we use KDataProtocol for type hinting in the MixIn classes
all methods, that are used within the MixIn classes, must be in the Protocol
currently there is no option to disable pydocstyle checks for a single file/class. This is why I had to put "useless docstrings" to all KDataProtocol methods as well. There are some discussions to introduce an ignore-decorator for pydocstyle, but it's not available atm

all methods, that are used within the MixIn classes, must be in the Protocol

Potentially we would also need to add all the KData methods to Protocol should we need them in an additional function.

Can we maybe split this PR into two parts:
I agree with the protocol etc but am not really happy with the reshaping functions we used to test it out..
Maybe we can do one PR with the protocols only moving existing functions into new files and a second PR with the respaong logic?

authors: ckolbPTB fzimmermann89 schuenke

repo: PTB-MR/mrpro


text:
Add error reporting to demo UI

Depends on #148

Saw this demoed by Alex, and saw the error box pop up. It should be the case that the error message also has a description field that has more info on what step range was skipped over. We should probably include that info in the displayed message.

Saw this demoed by Alex, and saw the error box pop up. It should be the case that the error message also has a description field that has more info on what step range was skipped over. We should probably include that info in the displayed message.

Ha, nevermind, we just realized it could be clicked.

authors: Purg hdefazio


text:
Unsupported layer units

I have some data with a CRS of EPSG:4326, and i'm getting the
'Unsupported layer units' Exception from processing_utils.py.

Hi,
Unfortunately, it is a known issue, not resolved yet. For the time being, you can use a workaround as described in https://github.com/PUTvision/qgis-plugin-deepness/discussions/109
Cheers
Przemek

Hi
Should be resolved now with version 0.6.5

authors: przemyslaw-aszkowski ruckc

repo: PUTvision/qgis-plugin-deepness


text:
Unknown Error - Newest Update

This newest update has been fantastic, however I get an error after a few hours of training. I checked to make sure I didn't run out of disk space or something. Does anyone have any idea what might be going on here. It's occurring pretty far into training, maybe 3 or so hours on my 6 core machine.

I have not seen this myself, but some folks have been reporting this. Is this only happening on windows I wonder?
The "OSError invalid argument" could be a clue.

I wonder if it could be the double backslash in the path to the image? That doesn't explain though why it works most of the time.

Kinda seems like it might be caused by something funny like that. Invalid character in filename or path. I had that folder open and was watching the most recent status screenshots of my training when it occurred this time.

Interesting. It's possible another application (maybe even the file explorer?) is blocking the file from being written.

I have this issue as well lol, though I set num_cpu to 8 instead of 16 so idk if that has anything to do with it

I set mine to 18 even though I only have 6, and I don't think that mattered for this issue.

These errors look similar, a patch was suggested
https://github.com/PWhiddy/PokemonRedExperiments/issues/122

authors: Muramas PWhiddy alexkrolak hypersonicstorm

repo: PWhiddy/PokemonRedExperiments


text:
AUTO MISSION - only one time possible

A mission can only be activated once. Why?
I do activate it by switch and when the mission is finished with a land, I desarm the copter, switch back to stabilized, arm it and want to start the mission but it only take off and stay in pause mode. Why?

Normal or not? Anyone on this?

It's not just you. In the next version of QGroundControl you'll be able to click a waypoint to restart the mission.
When would you like the mission to reset?

I think it should reset after you've landed.

The copter doesn't desarm, after landing. So I don't know what makes more sense. To desarm after landing and the reset the mission or after landing. But then you actually still in thr mission. So in my opinion it's better to disarm after landing and then reset it.

I'd suggest we reset when disarming, a mission could include a landing.

The copter doesn't desarm, after landing.

There is a parameter to turn that on. It's is not currently the default, but it should be.

@AndreasAntener Could you look into this?

Fixed on master, mission reset when disarming.

authors: AndreasAntener DonLakeFlyer LorenzMeier dagar sn0west