Not finding correct libpython on mingw-w64

$ find_libpython
C:/msys64/mingw64/lib/python3.8/config-3.8/libpython3.8.dll.a

Correct location:
C:/msys64/mingw64/bin/libpython3.8.dll

candidate names
$ find_libpython --candidate-names
libpython3.8.dll.a
libpython3.8.dll
python3.8.dll
python3.dll
python.dll

candidate paths
$ find_libpython --candidate-paths
c:/msys64/mingw64/lib/python3.8/config-3.8/libpython3.8.dll.a
c:/msys64/mingw64/lib/python3.8/config-3.8/libpython3.8.dll
c:/msys64/mingw64/lib/python3.8/config-3.8/python3.8.dll
c:/msys64/mingw64/lib/python3.8/config-3.8/python3.dll
c:/msys64/mingw64/lib/python3.8/config-3.8/python.dll
C:/msys64/mingw64/lib/python3.8/config-3.8/libpython3.8.dll.a
C:/msys64/mingw64/lib/python3.8/config-3.8/libpython3.8.dll
C:/msys64/mingw64/lib/python3.8/config-3.8/python3.8.dll
C:/msys64/mingw64/lib/python3.8/config-3.8/python3.dll
C:/msys64/mingw64/lib/python3.8/config-3.8/python.dll
c:/msys64/mingw64/lib/libpython3.8.dll.a
c:/msys64/mingw64/lib/libpython3.8.dll
c:/msys64/mingw64/lib/python3.8.dll
c:/msys64/mingw64/lib/python3.dll
c:/msys64/mingw64/lib/python.dll
c:/msys64/mingw64/bin/libpython3.8.dll.a
c:/msys64/mingw64/bin/libpython3.8.dll
c:/msys64/mingw64/bin/python3.8.dll
c:/msys64/mingw64/bin/python3.dll
c:/msys64/mingw64/bin/python.dll
c:/msys64/mingw64/libpython3.8.dll.a
c:/msys64/mingw64/libpython3.8.dll
c:/msys64/mingw64/python3.8.dll
c:/msys64/mingw64/python3.dll
c:/msys64/mingw64/python.dll
C:\msys64\mingw64\bin/libpython3.8.dll

The last path in the candidate paths is the correct one. The one returned by these lines.
https://github.com/ktbarrett/find_libpython/blob/2602a7c1be61c4b01a0376d388b47b4a8c8ca721/src/find_libpython/__init__.py#L235-L237
This should be moved up. If the library can be found immediately, there is no reason to continue searching.
Additionally, candidate names contains libpython38.dll.a. AFAIK this is not a viable dynamic library name and should not be considered. get_config_var("LDLIBRARY") and get_config_var("LIBRARY") return libraries that are archives due to the python in question not being compiled with --enable-shared.

candidate names
$ find_libpython --candidate-names
libpython3.8.dll.a
libpython3.8.dll
python3.8.dll
python3.dll
python.dll

candidate paths
$ find_libpython --candidate-paths
c:/msys64/mingw64/lib/python3.8/config-3.8/libpython3.8.dll.a
c:/msys64/mingw64/lib/python3.8/config-3.8/libpython3.8.dll
c:/msys64/mingw64/lib/python3.8/config-3.8/python3.8.dll
c:/msys64/mingw64/lib/python3.8/config-3.8/python3.dll
c:/msys64/mingw64/lib/python3.8/config-3.8/python.dll
C:/msys64/mingw64/lib/python3.8/config-3.8/libpython3.8.dll.a
C:/msys64/mingw64/lib/python3.8/config-3.8/libpython3.8.dll
C:/msys64/mingw64/lib/python3.8/config-3.8/python3.8.dll
C:/msys64/mingw64/lib/python3.8/config-3.8/python3.dll
C:/msys64/mingw64/lib/python3.8/config-3.8/python.dll
c:/msys64/mingw64/lib/libpython3.8.dll.a
c:/msys64/mingw64/lib/libpython3.8.dll
c:/msys64/mingw64/lib/python3.8.dll
c:/msys64/mingw64/lib/python3.dll
c:/msys64/mingw64/lib/python.dll
c:/msys64/mingw64/bin/libpython3.8.dll.a
c:/msys64/mingw64/bin/libpython3.8.dll
c:/msys64/mingw64/bin/python3.8.dll
c:/msys64/mingw64/bin/python3.dll
c:/msys64/mingw64/bin/python.dll
c:/msys64/mingw64/libpython3.8.dll.a
c:/msys64/mingw64/libpython3.8.dll
c:/msys64/mingw64/python3.8.dll
c:/msys64/mingw64/python3.dll
c:/msys64/mingw64/python.dll
C:\msys64\mingw64\bin/libpython3.8.dll

The last path in the candidate paths is the correct one. The one returned by these lines.
https://github.com/ktbarrett/find_libpython/blob/2602a7c1be61c4b01a0376d388b47b4a8c8ca721/src/find_libpython/__init__.py#L235-L237
This should be moved up. If the library can be found immediately, there is no reason to continue searching.
Additionally, candidate names contains libpython38.dll.a. AFAIK this is not a viable dynamic library name and should not be considered. get_config_var("LDLIBRARY") and get_config_var("LIBRARY") return libraries that are archives due to the python in question not being compiled with --enable-shared.

Reverted, so reopening.

Reverted, so reopening.

Fixing #7 will break this. The issue is that LDLIBRARY is the library to use during linking. In msys2, cygwin, and apparently mingw32/64 this means the import library (see here). On msys2, mingw64, and cygwin we shoudl be using the DLLLIBRARY variable to get the path to the dynamic library. We currently aren't separately testing for mingw64 in the source.

Closed by #16.


Updating Readme for action workflow test.

Adding comment to PR for test run and fun.
Hope this will work fine.
Laugh.


More clippy

A few more clippy changes.
I'm a little unsure of the second commit. It's the trivially_copy_pass_by_ref lint and there are a number of places in the code we could use it if it makes sense.

Thanks!
bors r+
On Fri, 5 Jul 2019 at 17:18, Jeremy Kolb<EMAIL_ADDRESS>wrote:

@kjeremy commented on this pull request.
In crates/ra_assists/src/split_import.rs
https://github.com/rust-analyzer/rust-analyzer/pull/1491#discussion_r300701771
:

@@ -10,10 +10,7 @@ pub(crate) fn split_import(mut ctx: AssistCtx) -> Option<Assis
let path = ast::Path::cast(colon_colon.parent())?;
let top_path = successors(Some(path), |it| it.parent_path()).last()?;

let use_tree = top_path.syntax().ancestors().find_map(ast::UseTree::cast);
if use_tree.is_none() {

   return None;

}

let _use_tree = top_path.syntax().ancestors().find_map(ast::UseTree::cast)?;

Fixed
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/pull/1491?email_source=notifications&email_token=AANB3M3FOCIOY6KJW4RQTKLP55J3VA5CNFSM4H6EQ3FKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5TU5PQ#discussion_r300701771,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANB3M5QLRNEH5KWEZDDUBDP55J3VANCNFSM4H6EQ3FA
.


Bluetooth: Mesh: Fix incorrect write conn_count

When Device use pb-gatt bearer provisioning, and first
provisioning failed due to some reasons(invalid oob etc..).
Which cause proxy:gatt_disconnectd incorrected write conn_count
Cause this var euqals -1.
Signed-off-by: Lingao Meng<EMAIL_ADDRESS>

Is this also a bug that exists in LTS @jhedberg ? If so, we should add the backport label and create an issue.

Is this also a bug that exists in LTS @jhedberg ? If so, we should add the backport label and create an issue.

@cfriedt agreed.
@trond-snekvik @LingaoM if this issue also exists in LTS, could you take the appropriate action as outlined by @cfriedt ?

Is this also a bug that exists in LTS @jhedberg ? If so, we should add the backport label and create an issue.

@cfriedt agreed.
@trond-snekvik @LingaoM if this issue also exists in LTS, could you take the appropriate action as outlined by @cfriedt ?

While i'm deep in to 2.7 branch https://github.com/zephyrproject-rtos/zephyr/blob/v2.7-branch/subsys/bluetooth/mesh/gatt_services.c#L912
There is no need to back port for this, since this issue has been involved by https://github.com/zephyrproject-rtos/zephyr/pull/36871


Move publish metadata spinner inside form, show error message

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR adds an error message display for failed metadata fetch in the CustomContractForm component.
Detailed summary

Added error message display for failed metadata fetch
Imported InfoIcon component
Removed conditional rendering for loading spinner outside the form provider block

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#4180  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on  Graphite


Add test suite

Add a test suite for node js client using chai and mocha. Test covers all the end-points(100% coverage).

Need to add mock data for all end-points. Will create a new PR later.


Mod requires Flywheel on Server-side

Has far i know, create no needs Flywheel on Serverside
crash-2023-03-21_01.43.40-fml.txt

i can't found the release on CF
is for 1.18.2??

Pre compiled beta releases are available on discord or you can wait for the full release on curseforge in a few days.
https://discord.gg/Vt7BNzJ9


C6319 warnings from WIL header files

Using VS 2019 version 16.5.2 (which defaults to /W3 and /permissive-):

Create a new Console App (C++) Project.
Install the NuGet package Microsoft.Windows.ImplementationLibrary version 1.0.191107.2.
Update the .cpp file to use the contents below.
Build (and maybe wait a minute for warnings analysis to occur).

#include <wil/resource.h>
#include "Windows.h"

BOOL EmulateWin32ApiFailure()
{
    SetLastError(ERROR_ACCESS_DENIED);
    return FALSE;
}

int main()
{
    try
    {
        THROW_IF_WIN32_BOOL_FALSE(EmulateWin32ApiFailure());
        return 0;
    }
    catch (const wil::ResultException& exception)
    {
        return exception.GetErrorCode();
    }
}

Expected result:
Build succeeds with 0 warnings.
Actual result:
Build succeeds but has 27 warnings for C6319: Use of the comma-operator in a tested expression causes the left argument to be ignored when it has no side-effects.

Seems like a code analysis warning both from documentation and the fact that the tests compile fine with /WX. There's no mention of line numbers above, but I'll assume that it's complaining about the do { ... } while (0, 0) loops, in which case the warning is complaining about something that is intentional, so the best thing to do here is to suppress the warning.
In general I'd say that code analysis warnings are relatively low priority, but feel free to submit a change to suppress the warning. Otherwise, I know that @jonwis previously did a pass to fix/suppress similar warnings and might be interested.

So https://github.com/microsoft/wil/blob/9763998ef225f1471cd68ee1ca640c3e7afa2280/include/wil/common.h#L64 shows where we define the __WI_SUPPRESS items, and then on line https://github.com/microsoft/wil/blob/9763998ef225f1471cd68ee1ca640c3e7afa2280/include/wil/result_macros.h#L577 there's a use of the start/stop markers.
A reasonable fix is to add another suppress for C6319, then change the individual __WI_SUPPRESS lines into a __WI_RETMACRO_S and then __WI_RETMACRO_E pairs so we can extend __WI_RETMACRO_S over time.


Drag-Handle not working any more

When using the Darg-Handle element, the whole container is still draggable. It seems like the statement in line 48 is not able to retrieve the drag-handle element:
var dragHandles = element.find('[ng-drag-handle]');"

The issue is present if the drag-handle element uses ng-if. Is seems like the ng-if is not evaluated at the time the code from above is executed...


Help! Can't update roles for user

When i use:
Roles.removeUsersFromRoles(id, roles, group);
Roles.addUsersToRoles(id, $meteor.object(Profiles, roles, group);
Report:
Update failed: Access denied. In a restricted collection you can only update documents, not replace them. Use a Mongo update operator, such as '$set'.

Can you rewrite it without the $meteor.object part, please?  I'm not familiar with what that does and it will also help serve to narrow down potential issues.

@alanning
I declare var profile = $meteor.object(Profiles, profileId).getRawObject(); and Roles.addUsersToRoles(id, profile.roles, group);. It still same issuse .

OK, can you put up a simple repo on Github that reproduces the issue, please?

@alanning
This is my repo: https://github.com/lungkuteo/meteor-alanning-test
Username: admin
Password: 12345678
When login, issue show on console.

The error is not being produced by alanning:roles.  I removed all references to Roles and also removed the package from your example app; the same error message appears (along with other errors related to angular).
Somewhere in your app I would guess you are doing an update to a collection without using $set and Meteor isn't letting it go through.  I tried finding the problem for you by searching for ".update" but I wasn't able to locate it (seemed like they all used $set).
To find the culprit, I'd recommend progressively cutting out more and more pieces of the app until the error no longer appears.    Using a new git repo to track changes while debugging is especially useful.
Sorry I can't be of more help.  When you do track it down, please update this issue as I'm curious about the actual source of the error message.

Ok, thank you so much!


Found Cannot read property 'size' of null when eager loading hasManyRelation data

For my other models, I've successfully use eager loading to retrieve hasManyRelation data with the withGraphFetched(). However, for this particular model, I get the Cannot read property 'size' if null error.
This is the kind of data that I want to retrieve:
[
  {
    "itemId": 1,
    "name": "Bed Sheet",
    "price": 45,
    "inventories": [
      {
        "inventoryId": 1,
        "itemId": 1,
        "quantity": 5,
        "cost": 30
      },
      {
        "inventoryId": 2,
        "itemId": 1,
        "quantity": 10,
        "cost": 35
      }
    ]
  }
]

Here is my Item model:
const { Model } = require("objection");
const Inventory = require("./Inventory");

class Item extends Model {

  static get tableName() {
    return 'item';
  }

  static get idColumn() {
    return 'itemId';
  }

  static get relationMappings() {
    return {
      inventories: {
        relation: Model.HasManyRelation,
        modelClass: Inventory,
        join: {
          from: 'item.itemId',
          to: 'inventory.itemId'
        }
      }
    }
  }

}

module.exports = Item;

And here is my Inventory model:
const { Model } = require("objection");
const Item = require("./Item");

class Inventory extends Model {
  static get tableName() {
    return 'inventory';
  }

  static get idColumn() {
    return 'inventoryId';
  }

  static get relationMappings() {
    return {
      item: {
        relation: Model.BelongsToOneRelation,
        modelClass: Item,
        join: {
          from: 'inventory.itemId',
          to: 'item.itemId'
        }
      }
    }
  };

}

module.exports = Inventory;

And this is my query:
const inventories = await Item.query().withGraphFetched('inventories');

Can anyone help me solve this problem?

Finally, I've figured out why. It's the require loops problem. Sorry for the newbie mistake. Objection's doc rocks!


#39150 : fix incorrect borders in list-group-horizontal

Description
Closes #39150
I Have tried to solve the issue of #39150 but i don't know how to test it locally. I am new to open source.

Motivation & Context
Type of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Refactoring (non-breaking change)
[ ] Breaking change (fix or feature that would change existing functionality)

Checklist

[ ] I have read the contributing guidelines
[ ] My code follows the code style of the project (using npm run lint)
[ ] My change introduces changes to the documentation
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] All new and existing tests passed

Live previews

https://deploy-preview-39192--twbs-bootstrap.netlify.app/

Related issues

As mentioned in our Contributing Guidelines:

Do not edit bootstrap.css or bootstrap.js, and do not commit any dist files (dist/ or js/dist). Those files are automatically generated by our build tools. You should edit the source files in /bootstrap/scss/ and/or /bootstrap/js/src/ instead.

Please update your PR.

i don't know how to test it locally

You can run npm i and then npm run start to have the documentation launched locally.


Blackparrot on doubletrouble

Hi,
I was wondering if it is possible to run black parrot on doubletrouble system?
Yunus

Hi, this repo contains RTL which is board-agnostic. We have taped out BlackParrot several times for systems like double-trouble (using bsg_channel_tunnel for I/O and memory). See here for an example of a similar setup. This is a very old version of BlackParrot, so it will need to be adapted for minor changes in the toplevel interface.
Can you share more details of what you're trying to accomplish?

Are you guys using Synplify for SystemVerilog synthesis?
On Thu, Apr 14, 2022 at 2:37 PM Dan Petrisko @.***>
wrote:

Hi, this repo contains RTL which is board-agnostic. We have taped out
BlackParrot several times for systems like double-trouble (using
bsg_channel_tunnel for I/O and memory). See here
https://github.com/black-parrot-examples/bsg_tapeout_v0_gf12/blob/master/toplevels/bsg_ac_black_parrot_quad_core_rc0/v/bsg_chip.v
for an example of a similar setup. This is a very old version of
BlackParrot, so it will need to be adapted for minor changes in the
toplevel interface.
Can you share more details of what you're trying to accomplish?
—
Reply to this email directly, view it on GitHub
https://github.com/black-parrot/black-parrot/issues/1082#issuecomment-1099650448,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKK2XQGMUKBJSZ46IEFVJDDVFCF3BANCNFSM5SNNMEOQ
.
You are receiving this because you were assigned.Message ID:
@.***>

--
Apologies for all typos and autocorrects. Message sent by combination of an
approximate neural network and a smartphone.

Hi,
Thanks Dan, I will check it out. And yes we are using Synplify for systemverilog synthesis.
Yunus

Hi Yunus,
Then I think you can definitely do it. The Spartan-150’s are pretty big
chips.
The main thing is the I/O system. You would connect it to a host FPGA board
for DRAM and memory traffic. If you use a Zynq host, Dan can probably
suggest some sample code.
M
On Sat, Apr 16, 2022 at 8:48 AM Yunus Dawji @.***>
wrote:

Hi,
Thanks Dan, I will check it out. And yes we are using Synplify for
systemverilog synthesis.
Yunus
—
Reply to this email directly, view it on GitHub
https://github.com/black-parrot/black-parrot/issues/1082#issuecomment-1100693932,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKK2XQE4S7B2BFQSDLYHMGDVFLOLZANCNFSM5SNNMEOQ
.
You are receiving this because you were assigned.Message ID:
@.***>

--
Apologies for all typos and autocorrects. Message sent by combination of an
approximate neural network and a smartphone.

Closing for staleness. Let me know if you have any additional questions (or had success!)


Detect car damage and model deployment

https://www.kaggle.com/lplenka/coco-car-damage-detection-dataset?select=val
Since this dataset has only the damaged car dataset, please make sure to collect normal or undamaged car parts images from different sources

Hi, I'm a GSSOC'24 contributor!
I would like to work on the above issue. Could you please assign it to me?

Hello I am a GsSOC'24 contributor and I would like to work on this issue. Can you please assign it to me?

Can you assign this issue to me?


Clustering issue on v0.11

Hi,
I am using clustering features of InfluxDB v.0.11 and kept both node as a hybrid node. If both nodes are up its working fine  but if I down any of the node I am getting write error. I can say influxDB service got down.
So my question is
If any of the node is down, will influx service be still available ?

Sorry @Abhishekpan, clustering is no longer supported in the open source version and we do not support v0.11 anymore. You can try the mailing list to see if someone is willing to help, but you may not get an answer.
The issue tracker is only for feature requests or bugs.
From an initial guess based on your question, I would bet you are trying to write with a consistency of all and have a replication factor of 2. That will cause it to fail because it can't write to one of the two nodes. Or you're trying to write to the server that is dead. It also might just be broken and not work. Clustering wasn't a complete feature in v0.11 and it had a lot of bugs.


Update examples and zpkg to new build invocation

add the b in front

zpkg is fine

will wait for that come in front of my nose to fix


ApNonce from device doesn't match IM4M nonce after applying ApNonce hax. Aborting!

Hi, when I do ./downr1n --downgrade 14.3. It gets past all everything but when the futurestore stage is starting it gives me the error "ApNonce from device doesn't match IM4M nonce after applying ApNonce hax. Aborting!" after sending the iBEC.
I am running this on MacOS 10.15.7
This is the console log:
`Checking if SEP is being signed...
Sending TSS request attempt 1... response successfully received
SEP is being signed!
WARNING: user specified is not to flash a baseband. This can make the restore fail if the device needs a baseband!
If you added this flag by mistake, you can press CTRL-C now to cancel
Continuing restore in 10 9 8 7 6 5 4 3 2 1 Downloading the latest firmware components...
Finished downloading the latest firmware components!
Found device in DFU mode
requesting to get into pwnRecovery later
Found device in DFU mode
Identified device as j96ap, iPad5,1
Extracting BuildManifest from iPSW
Product version: 14.3
Product build: 18C66 Major: 18
Device supports Image4: true
checking if the APTicket is valid for this restore...
Verified ECID in APTicket matches the device's ECID
checking if the APTicket is valid for this restore...
Verified ECID in APTicket matches the device's ECID
[IMG4TOOL] checking buildidentity 0:
[IMG4TOOL] checking buildidentity matches board ... NO
[IMG4TOOL] checking buildidentity 1:
[IMG4TOOL] checking buildidentity matches board ... NO
[IMG4TOOL] checking buildidentity 2:
[IMG4TOOL] checking buildidentity matches board ... YES
[IMG4TOOL] checking buildidentity has all required hashes:
[IMG4TOOL] checking hash for "Ap,SystemVolumeCanonicalMetadata"BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "AppleLogo"               BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryCharging0"        BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryCharging1"        BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryFull"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryLow0"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryLow1"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryPlugin"           BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "DeviceTree"              BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "KernelCache"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "LLB"                     BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "OS"                      BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RecoveryMode"            BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreDeviceTree"       BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreKernelCache"      BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreLogo"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreRamDisk"          BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreSEP"              BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreTrustCache"       BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "SEP"                     BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "StaticTrustCache"        BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "SystemVolume"            BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "ftap"                    IGN (no digest in BuildManifest)
[IMG4TOOL] checking hash for "ftsp"                    IGN (no digest in BuildManifest)
[IMG4TOOL] checking hash for "iBEC"                    BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "iBSS"                    BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "iBoot"                   BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "rfta"                    IGN (no digest in BuildManifest)
[IMG4TOOL] checking hash for "rfts"                    IGN (no digest in BuildManifest)
failed verification with error:
[exception]:
what=verification failed!
code=84279308
line=1286
file=img4tool.cpp
commit count=197
commit sha  =aca6cf005c94caf135023263cbb5c61a0081804f
[IMG4TOOL] checking buildidentity 3:
[IMG4TOOL] checking buildidentity matches board ... NO
[IMG4TOOL] checking buildidentity 4:
[IMG4TOOL] checking buildidentity matches board ... NO
[IMG4TOOL] checking buildidentity 5:
[IMG4TOOL] checking buildidentity matches board ... NO
[IMG4TOOL] checking buildidentity 6:
[IMG4TOOL] checking buildidentity matches board ... YES
[IMG4TOOL] checking buildidentity has all required hashes:
[IMG4TOOL] checking hash for "Ap,SystemVolumeCanonicalMetadata"BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "AppleLogo"               BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryCharging0"        BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryCharging1"        BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryFull"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryLow0"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryLow1"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "BatteryPlugin"           BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "DeviceTree"              BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "KernelCache"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "LLB"                     BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "OS"                      BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RecoveryMode"            BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreDeviceTree"       BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreKernelCache"      BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreLogo"             BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreRamDisk"          BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreSEP"              BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "RestoreTrustCache"       BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "SEP"                     BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "StaticTrustCache"        BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "SystemVolume"            BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "ftap"                    IGN (no digest in BuildManifest)
[IMG4TOOL] checking hash for "ftsp"                    IGN (no digest in BuildManifest)
[IMG4TOOL] checking hash for "iBEC"                    BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "iBSS"                    BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "iBoot"                   BAD! (hash not found in im4m)
[IMG4TOOL] checking hash for "rfta"                    IGN (no digest in BuildManifest)
[IMG4TOOL] checking hash for "rfts"                    IGN (no digest in BuildManifest)
failed verification with error:
[exception]:
what=verification failed!
code=84279308
line=1286
file=img4tool.cpp
commit count=197
commit sha  =aca6cf005c94caf135023263cbb5c61a0081804f
[IMG4TOOL] checking buildidentity 7:
[IMG4TOOL] checking buildidentity matches board ... NO
[WARNING] NOT VALIDATING SHSH BLOBS IM4M!
[Error] BuildIdentity selected for restore does not match APTicket
BuildIdentity selected for restore:
BuildNumber : 18C66
BuildTrain : AzulC
DeviceClass : j96ap
FDRSupport : YES
MobileDeviceMinVersion : 1253
RestoreBehavior : Erase
Variant : Customer Erase Install (IPSW)
BuildIdentity is valid for the APTicket:
IM4M is not valid for any restore within the Buildmanifest
This APTicket can't be used for restoring this firmware
[WARNING] NOT VALIDATING SHSH BLOBS!
Variant: Customer Erase Install (IPSW)
This restore will erase all device data.
Device found in DFU Mode.
Getting firmware keys for: j96ap
Patching iBSS
Extracting iBSS.ipad5.RELEASE.im4p (Firmware/dfu/iBSS.ipad5.RELEASE.im4p)...
payload decrypted
iBoot64Patch: Staring iBoot64Patch!
iOS 14 iBoot detected!
iBoot64Patch: Inited ibootpatchfinder64!
iBoot64Patch: Added sigpatches!
iBoot64Patch: Added unlock nvram patch!
iBoot64Patch: Added freshnonce patch!
iBoot64Patch: has_kernel_load is false!
iBoot64Patch: Applying patch=0x18038dfa4 : 000080d2
iBoot64Patch: Applying patch=0x18038dffc : 000080d2
iBoot64Patch: Patches applied!
Patching iBEC
Extracting iBEC.ipad5.RELEASE.im4p (Firmware/dfu/iBEC.ipad5.RELEASE.im4p)...
payload decrypted
iBoot64Patch: Staring iBoot64Patch!
iOS 14 iBoot detected!
iBoot64Patch: Inited ibootpatchfinder64!
iBoot64Patch: Added sigpatches!
iBoot64Patch: Added unlock nvram patch!
iBoot64Patch: Added freshnonce patch!
iBoot64Patch: has_kernel_load is true!
iBoot64Patch: Added debugenabled patch!
iBoot64Patch: Added bootarg patch!
iBoot64Patch: Applying patch=0x87000f068 : 000080d2
iBoot64Patch: Applying patch=0x87000f0b4 : 000080d2
iBoot64Patch: Applying patch=0x870003094 : 000080d2c0035fd6
iBoot64Patch: Applying patch=0x870003600 : 000080d2c0035fd6
iBoot64Patch: Applying patch=0x87002df14 : 000080d2c0035fd6
iBoot64Patch: Applying patch=0x870014500 : 1f2003d5
iBoot64Patch: Applying patch=0x8700109e4 : 200080d2
iBoot64Patch: Applying patch=0x870011fd8 : 69cf2110
iBoot64Patch: Applying patch=0x8700559c4 : 72643d6d6430206e616e642d656e61626c652d7265666f726d61743d307831202d76202d726573746f72652064656275673d30783230313465206b65657073796d733d30783120616d66693d3078666620616d66695f616c6c6f775f616e795f7369676e61747572653d30783120616d66695f6765745f6f75745f6f665f6d795f7761793d3078312063735f656e666f7263656d656e745f64697361626c653d30783100
iBoot64Patch: Applying patch=0x870011fe4 : fa0309aa
iBoot64Patch: Applying patch=0x870012000 : 3ace2110
iBoot64Patch: Patches applied!
Repacking patched iBSS as IMG4
Repacking patched iBEC as IMG4
Sending iBSS (201198 bytes)...
[==================================================] 100.0%
Booting iBSS, waiting for device to disconnect...
Booting iBSS, waiting for device to reconnect...
Sending iBEC (776686 bytes)...
[==================================================] 100.0%
Booting iBEC, waiting for device to disconnect...
Booting iBEC, waiting for device to reconnect...
INFO: device serial number is F9FQC69YGHK9
ApNonce pre-hax:
Getting ApNonce in recovery mode... 3f 6f 44 a9 42 1c 83 70 6f 5e 8c 11 f8 ad c5 8f 2c 32 bc f1
ApNonce from device doesn't match IM4M nonce, applying hax...
Writing generator=0xaa9b8f3c282761da to nvram!
Sending iBEC (776686 bytes)...
[==================================================] 100.0%
Booting iBEC, waiting for device to disconnect...
Booting iBEC, waiting for device to reconnect...
APnonce post-hax:
Getting ApNonce in recovery mode... 2d 4b d5 cf 45 2f 35 cf 6a 3d 58 1c 30 88 8f fe 8b be b7 ea
Cleaning up...
[exception]:
what=ApNonce from device doesn't match IM4M nonce after applying ApNonce hax. Aborting!
code=54198340
line=827
file=/Users/runner/work/futurerestore/futurerestore/src/futurerestore.cpp
commit count=308
commit sha  =9554c0068dc50e141872ced5da2bd95baa595805
Done: restoring failed!
if you are on linux please try above command if futurerestore failed
if futurerestore didn't finish succesfully please try to run (with sudo or without) this command: /Users/fin/downr1n/binaries/Darwin/futurerestore -t blobs/iPad5,1-14.3.shsh2 --use-pwndfu --skip-blob --rdsk work/rdsk.im4p --rkrn work/krnl.im4p --latest-sep --no-baseband ipsw//iPad_64bit_TouchID_14.3_18C66_Restore.ipsw
if futurerestore restore sucess, you can boot using  --boot`

Hi, when I do ./downr1n --downgrade 14.3. It gets past all everything but when the futurestore stage is starting it gives me the error "ApNonce from device doesn't match IM4M nonce after applying ApNonce hax. Aborting!" after sending the iBEC.
I am running this on MacOS 10.5.7
This is the console log:
`Checking if SEP is being signed... Sending TSS request attempt 1... response successfully received SEP is being signed!
WARNING: user specified is not to flash a baseband. This can make the restore fail if the device needs a baseband!
If you added this flag by mistake, you can press CTRL-C now to cancel Continuing restore in 10 9 8 7 6 5 4 3 2 1 Downloading the latest firmware components... Finished downloading the latest firmware components! Found device in DFU mode requesting to get into pwnRecovery later Found device in DFU mode Identified device as j96ap, iPad5,1 Extracting BuildManifest from iPSW Product version: 14.3 Product build: 18C66 Major: 18 Device supports Image4: true checking if the APTicket is valid for this restore... Verified ECID in APTicket matches the device's ECID checking if the APTicket is valid for this restore... Verified ECID in APTicket matches the device's ECID [IMG4TOOL] checking buildidentity 0: [IMG4TOOL] checking buildidentity matches board ... NO [IMG4TOOL] checking buildidentity 1: [IMG4TOOL] checking buildidentity matches board ... NO [IMG4TOOL] checking buildidentity 2: [IMG4TOOL] checking buildidentity matches board ... YES [IMG4TOOL] checking buildidentity has all required hashes: [IMG4TOOL] checking hash for "Ap,SystemVolumeCanonicalMetadata"BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "AppleLogo" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryCharging0" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryCharging1" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryFull" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryLow0" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryLow1" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryPlugin" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "DeviceTree" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "KernelCache" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "LLB" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "OS" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RecoveryMode" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreDeviceTree" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreKernelCache" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreLogo" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreRamDisk" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreSEP" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreTrustCache" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "SEP" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "StaticTrustCache" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "SystemVolume" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "ftap" IGN (no digest in BuildManifest) [IMG4TOOL] checking hash for "ftsp" IGN (no digest in BuildManifest) [IMG4TOOL] checking hash for "iBEC" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "iBSS" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "iBoot" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "rfta" IGN (no digest in BuildManifest) [IMG4TOOL] checking hash for "rfts" IGN (no digest in BuildManifest)
failed verification with error: [exception]: what=verification failed! code=84279308 line=1286 file=img4tool.cpp commit count=197 commit sha =aca6cf005c94caf135023263cbb5c61a0081804f [IMG4TOOL] checking buildidentity 3: [IMG4TOOL] checking buildidentity matches board ... NO [IMG4TOOL] checking buildidentity 4: [IMG4TOOL] checking buildidentity matches board ... NO [IMG4TOOL] checking buildidentity 5: [IMG4TOOL] checking buildidentity matches board ... NO [IMG4TOOL] checking buildidentity 6: [IMG4TOOL] checking buildidentity matches board ... YES [IMG4TOOL] checking buildidentity has all required hashes: [IMG4TOOL] checking hash for "Ap,SystemVolumeCanonicalMetadata"BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "AppleLogo" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryCharging0" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryCharging1" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryFull" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryLow0" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryLow1" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "BatteryPlugin" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "DeviceTree" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "KernelCache" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "LLB" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "OS" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RecoveryMode" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreDeviceTree" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreKernelCache" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreLogo" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreRamDisk" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreSEP" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "RestoreTrustCache" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "SEP" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "StaticTrustCache" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "SystemVolume" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "ftap" IGN (no digest in BuildManifest) [IMG4TOOL] checking hash for "ftsp" IGN (no digest in BuildManifest) [IMG4TOOL] checking hash for "iBEC" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "iBSS" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "iBoot" BAD! (hash not found in im4m) [IMG4TOOL] checking hash for "rfta" IGN (no digest in BuildManifest) [IMG4TOOL] checking hash for "rfts" IGN (no digest in BuildManifest)
failed verification with error: [exception]: what=verification failed! code=84279308 line=1286 file=img4tool.cpp commit count=197 commit sha =aca6cf005c94caf135023263cbb5c61a0081804f [IMG4TOOL] checking buildidentity 7: [IMG4TOOL] checking buildidentity matches board ... NO [WARNING] NOT VALIDATING SHSH BLOBS IM4M! [Error] BuildIdentity selected for restore does not match APTicket
BuildIdentity selected for restore: BuildNumber : 18C66 BuildTrain : AzulC DeviceClass : j96ap FDRSupport : YES MobileDeviceMinVersion : 1253 RestoreBehavior : Erase Variant : Customer Erase Install (IPSW)
BuildIdentity is valid for the APTicket: IM4M is not valid for any restore within the Buildmanifest This APTicket can't be used for restoring this firmware [WARNING] NOT VALIDATING SHSH BLOBS! Variant: Customer Erase Install (IPSW) This restore will erase all device data. Device found in DFU Mode. Getting firmware keys for: j96ap Patching iBSS Extracting iBSS.ipad5.RELEASE.im4p (Firmware/dfu/iBSS.ipad5.RELEASE.im4p)... payload decrypted iBoot64Patch: Staring iBoot64Patch! iOS 14 iBoot detected! iBoot64Patch: Inited ibootpatchfinder64! iBoot64Patch: Added sigpatches! iBoot64Patch: Added unlock nvram patch! iBoot64Patch: Added freshnonce patch! iBoot64Patch: has_kernel_load is false! iBoot64Patch: Applying patch=0x18038dfa4 : 000080d2 iBoot64Patch: Applying patch=0x18038dffc : 000080d2 iBoot64Patch: Patches applied! Patching iBEC Extracting iBEC.ipad5.RELEASE.im4p (Firmware/dfu/iBEC.ipad5.RELEASE.im4p)... payload decrypted iBoot64Patch: Staring iBoot64Patch! iOS 14 iBoot detected! iBoot64Patch: Inited ibootpatchfinder64! iBoot64Patch: Added sigpatches! iBoot64Patch: Added unlock nvram patch! iBoot64Patch: Added freshnonce patch! iBoot64Patch: has_kernel_load is true! iBoot64Patch: Added debugenabled patch! iBoot64Patch: Added bootarg patch! iBoot64Patch: Applying patch=0x87000f068 : 000080d2 iBoot64Patch: Applying patch=0x87000f0b4 : 000080d2 iBoot64Patch: Applying patch=0x870003094 : 000080d2c0035fd6 iBoot64Patch: Applying patch=0x870003600 : 000080d2c0035fd6 iBoot64Patch: Applying patch=0x87002df14 : 000080d2c0035fd6 iBoot64Patch: Applying patch=0x870014500 : 1f2003d5 iBoot64Patch: Applying patch=0x8700109e4 : 200080d2 iBoot64Patch: Applying patch=0x870011fd8 : 69cf2110 iBoot64Patch: Applying patch=0x8700559c4 : 72643d6d6430206e616e642d656e61626c652d7265666f726d61743d307831202d76202d726573746f72652064656275673d30783230313465206b65657073796d733d30783120616d66693d3078666620616d66695f616c6c6f775f616e795f7369676e61747572653d30783120616d66695f6765745f6f75745f6f665f6d795f7761793d3078312063735f656e666f7263656d656e745f64697361626c653d30783100 iBoot64Patch: Applying patch=0x870011fe4 : fa0309aa iBoot64Patch: Applying patch=0x870012000 : 3ace2110 iBoot64Patch: Patches applied! Repacking patched iBSS as IMG4 Repacking patched iBEC as IMG4 Sending iBSS (201198 bytes)... [==================================================] 100.0% Booting iBSS, waiting for device to disconnect... Booting iBSS, waiting for device to reconnect... Sending iBEC (776686 bytes)... [==================================================] 100.0% Booting iBEC, waiting for device to disconnect... Booting iBEC, waiting for device to reconnect... INFO: device serial number is F9FQC69YGHK9 ApNonce pre-hax: Getting ApNonce in recovery mode... 3f 6f 44 a9 42 1c 83 70 6f 5e 8c 11 f8 ad c5 8f 2c 32 bc f1 ApNonce from device doesn't match IM4M nonce, applying hax... Writing generator=0xaa9b8f3c282761da to nvram! Sending iBEC (776686 bytes)... [==================================================] 100.0% Booting iBEC, waiting for device to disconnect... Booting iBEC, waiting for device to reconnect... APnonce post-hax: Getting ApNonce in recovery mode... 2d 4b d5 cf 45 2f 35 cf 6a 3d 58 1c 30 88 8f fe 8b be b7 ea Cleaning up... [exception]: what=ApNonce from device doesn't match IM4M nonce after applying ApNonce hax. Aborting! code=54198340 line=827 file=/Users/runner/work/futurerestore/futurerestore/src/futurerestore.cpp commit count=308 commit sha =9554c0068dc50e141872ced5da2bd95baa595805 Done: restoring failed! if you are on linux please try above command if futurerestore failed if futurerestore didn't finish succesfully please try to run (with sudo or without) this command: /Users/fin/downr1n/binaries/Darwin/futurerestore -t blobs/iPad5,1-14.3.shsh2 --use-pwndfu --skip-blob --rdsk work/rdsk.im4p --rkrn work/krnl.im4p --latest-sep --no-baseband ipsw//iPad_64bit_TouchID_14.3_18C66_Restore.ipsw if futurerestore restore sucess, you can boot using --boot`

restore it (using iTunes or another one) and try again

I fixed that issue and now downgraded but when i try to boot it gets stuck..
Terminal log:
[*] Command ran: sudo ./downr1n.sh --boot
[17:32:06.837][3] usbmuxd v1.1.1 starting up
[17:32:06.837][3] Using libusb 1.0.25
[17:32:06.839][3] Initialization complete
downr1n | Version 3.0
Created by edwin, thanks palera1, and all people creator of path file boot
[] Waiting for devices
[] Detected DFU mode device
[] Waiting for devices
[] Detected DFU mode device
[] Getting device info...
Detected cpid, your cpid is 0x7000
Detected model, your model is j96ap
Detected deviceid, your deviceid is iPad5,1
[] Pwning device
usb_timeout: 5
usb_abort_timeout_min: 0
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x7000
Found the USB handle.
Stage: RESET
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x7000
Found the USB handle.
Stage: SETUP
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x7000
Found the USB handle.
Stage: SPRAY
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x7000
Found the USB handle.
Stage: PATCH
ret: true
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
CPID: 0x7000
Found the USB handle.
Now you can boot untrusted images.
[] Resetting DFU state
usb_timeout: 5
usb_abort_timeout_min: 0
[libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227
Found the USB handle.
[] Booting device
[==================================================] 100.0%
[==================================                ] 67.5%Attempting to connect...
opening device 05ac:1227...
Setting to configuration 1
Setting to interface 0:0
Connected to iPad5,1, model j96ap, cpid 0x7000, bdid 0x08
[==================================================] 100.0%Command completed successfully
[==                                                ] 2.8

+1. Tried reinstalling latest iOS before retrying and still not working.

I fixed that issue and now downgraded but when i try to boot it gets stuck..
Terminal log:
[*] Command ran: sudo ./downr1n.sh --boot [17:32:06.837][3] usbmuxd v1.1.1 starting up [17:32:06.837][3] Using libusb 1.0.25 [17:32:06.839][3] Initialization complete downr1n | Version 3.0 Created by edwin, thanks palera1, and all people creator of path file boot
[] Waiting for devices [] Detected DFU mode device [] Waiting for devices [] Detected DFU mode device [] Getting device info... Detected cpid, your cpid is 0x7000 Detected model, your model is j96ap Detected deviceid, your deviceid is iPad5,1 [] Pwning device usb_timeout: 5 usb_abort_timeout_min: 0 [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x7000 Found the USB handle. Stage: RESET ret: true [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x7000 Found the USB handle. Stage: SETUP ret: true [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x7000 Found the USB handle. Stage: SPRAY ret: true [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x7000 Found the USB handle. Stage: PATCH ret: true [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 CPID: 0x7000 Found the USB handle. Now you can boot untrusted images. [] Resetting DFU state usb_timeout: 5 usb_abort_timeout_min: 0 [libusb] Waiting for the USB handle with VID: 0x5AC, PID: 0x1227 Found the USB handle. [] Booting device [==================================================] 100.0% [================================== ] 67.5%Attempting to connect... opening device 05ac:1227... Setting to configuration 1 Setting to interface 0:0 Connected to iPad5,1, model j96ap, cpid 0x7000, bdid 0x08 [==================================================] 100.0%Command completed successfully
[== ] 2.8

restore with iTunes and try again

I fixed that issue and now downgraded but when i try to boot it gets stuck..

@fpandroid how did you fix the ApNonce issue? I still haven't resolved this problem.

@edwin170 do you know why this might be? I restored with iTunes many times and it never worked.

what device ? what iOS is it on? tell me the arguments that you used

@edwin170 do you know why this might be? I restored with iTunes many times and it never worked.

what device ? what iOS is it on? tell me the arguments that you used

I had run downr1n --downgrade 14.8, it's an iPad mini 4, I got it on iOS 14.2, this error occurred there and after restoring to 15.8 with iTunes.

@edwin170 do you know why this might be? I restored with iTunes many times and it never worked.

what device ? what iOS is it on? tell me the arguments that you used

I had run downr1n --downgrade 14.8, it's an iPad mini 4, I got it on iOS 14.2, this error occurred there and after restoring to 15.8 with iTunes.

Have you fixed this issue? I occurred the same problem on my ipad mini 4

a8 and a8X users should use dualra1n


private methods and classes output

Sorry in advance if this is a misunderstanding. I have code like the following...
/**
 * @module jsdoctest/test
 */

/**
 * not exported
 * @class
 * @private
 */
function notExported1() {
}

/**
 * not exported
 * @private
 */
function notExportedFunc1() {
}

/**
 * Opens up the file rubbish
 * @param prop does x
 * @constructor
 * @alias module:jsdoctest/test
 */
function File1(prop) {

    /**
     * my private class
     * @class
     */
    function private1() {
    }

    /**
     * my private func
     */
    function privateFunc1() {
    }

}

export default File1;

and initially I was trying to get inner functions not to be export (they are used inside the module, I want to document them, but I don't want to create documentation for them).
I then tried using @private - but the tags are still output. I've tried putting @private in different places and also tried with a commonjs pattern. @ignore works, but I didn't really want to put ignore on everything that isn't exported (@private seems slightly better).
so,

is the private being outputted a bug?
is there any way to exclude inner functions from documentation ?
Are there any plans to recognise export default symbol; instead of having to use alias as above (not too worried about this though)

thanks for your hard work, much appreciated.

is the private being outputted a bug?

If your JSDoc comment includes the @private tag, JSDoc will still parse the code and generate a doclet (an object representing the code); however, the doclet will have an access property set to private. It's up to the template to discard these doclets. And if you run JSDoc with the --private or --access options, the private doclets won't be discarded.
Are you using a third-party template or a customized template? If so, maybe it's not discarding the private doclets as it should.
I verified that the default template discards private doclets by default, so I'm closing this issue. I'll reopen it if it turns out that there is a bug.

is there any way to exclude inner functions from documentation ?

You can tag them @private, if that's what they are, or you can use the @ignore tag to prevent them from appearing in the docs. There's no way to suppress all inner functions.

Are there any plans to recognise export default symbol; instead of having to use alias as above (not too worried about this though)

Not in the sense you're asking, unfortunately. JSDoc isn't quite smart enough for that.

After re-testing you are right.. private is working fine. sorry (again), no idea why I thought it wasn't working as I'm looking at my test case files now.


use_group_as RFC

Allow aliasing imports when importing as a group.
use std::io::{
    Error as IoError,
    Read,
    Write
}

Rendered
Postponed RFC #867 (See for previous discussion).
Closes #933

:+1:
I don't see why we shouldn't make self aliasable?

:rabbit: :+1:

:+1: including self - there is no reason to treat it special.

:+1: self should be included too

Definitely want this, have been trying to use as in groups so many times and every time the compiler reminded me it's not a feature yet.
self is no different than the other entries in a group, at the syntactical level, so there's no point to disallow renaming it.

I think we should do this, and now seems like a reasonable time to re-open the issue.

Updated to include self as renameable.

Hear ye, hear ye. This RFC is entering final comment period.

Awesome!! Let's do it.

:+1:

:+1:

+1

:+1:

I've definitely wanted this from time to time. :+1: from me.

Definitely :+1:, this seems like a reasonable inclusion, although I've never had need for the self aliasing.

I have a working (but unpolished) implementation here

It's official! The lang subteam has decided to accept this RFC.

Tracking issue for this RFC is rust-lang/rust#27578

thank you!
:tada:


libdigidocpp: 3.14.8 -> 3.14.10

This includes 42a8cfd834c10bdd206fe784a13217df222b1c8e, fixing crashes
with OpenSSL>1.1.1l. We previously fetchpatched the patch manually.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Also, old qdigidoc4 keeps working with new libdigidocpp.


Amazon s3 uploader

New Pull Request Checklist
Please mark the points which you did / accept.

[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run stepman audit --step-yml ./step.yml (in the step's repository - note, stepman is part of the Bitrise CLI, you don't have to install it separately)
[x] I read and accept the Abandoned Step policy

Now in its own repository ;)

Sorry, we just found these issues - if you want to we can accept this version, and then you can publish an update, or you can fix it and share it again.
Which one would you prefer?

That's ok i'll fix and update here, im still new to the steps spec so didnt know what values to put :)

Actually I'd advise you to do this:

fix it in your step
create a new version there, don't delete the current one (easier and no need)
then share the new version

Sorry, I tried to make a new pull request but github updated this one

Right, I forgot that, sorry - just delete your current branch in your steplib fork, and run share again :)

By current branch I mean the amazon-s3-uploader branch in your bitrise-steplib fork repo


Added my name to the Web Development Section

Alright sure I will do that soon

Thank you!

I have done that now.


Team Day Off should have better visual representation

When added Team Day Offs we only see this in the calendar

Could you highlight it like other calendar events:

We're closing old issues so we can get back to actively maintaining the extension. Feel free to reopen if this is still an issue for you.

You may label it as a feature request - the need for a better presentation has not changed.

@ndeeH, I'm reopening the issue for triaging based on your feedback.


Include the UK in the Deals page's top phrase.

What's to be corrected:

In the Birthday Gift page, it says: Earn a gift card to use with over 2,000 shops in Ireland!
In the Recommend Reward page, it says: Earn a gift card to use with over 2,000 shops in Ireland!
In the Corporate Benefit page, it says: Give your employees a gift card to use with over 2,000 shops in Ireland!

None of them includes the UK. However, the UK is part of our benefit, it's included in our T&Cs and One4all cards also operate in the UK.
How should it look like (screenshot or sketch):

In the Birthday Gift page, it should say: Earn a gift card to use with over 2,000 shops in Ireland & the UK!
In the Recommend Reward page, it should say: Earn a gift card to use with over 2,000 shops in Ireland & the UK!
In the Corporate Benefit page, it should say: Give your employees a gift card to use with over 2,000 shops in Ireland & the UK!

This must be applied both for mobile and desktop views.
Please, always notice capitalisations and other grammatical elements in sentences. They are there for a reason.
How should it work (write use case):
N/A. This is a text improvement.
Priority (tag accordingly): Urgent
Domain (tag accordingly): Frontend
Tested on: (platform, OS, browser, version): Mac, Mac OS latest, Chrome, Chrome latest
Branch: PR to master
Work on it

Work on staging or master (if it's urgent)
Tag with ongoing and move the card to ongoing.
Correct the default
Commit your work
Create a PR (if it's urgent) and ask for validation. Move the card to staged.
Close the issue if all the work have been done

** Validate **

Check on mobile and on desktop if the default have been correctly corrected.
If everything is working fine, move the card toaccepted column.
If the feature isn't completely implemented, re-open the issue with a comment clearly what the problem is and what is the desired result. Move the card to have issues column.

Please follow https://github.com/Whichost/frontend/wiki/Git-workflow

What have been done: Include the UK in the Benefits page's top phrase
Pushed to: staging
Tag somebody: @RohrerHope
Where to test: https://whichost-frontend-staging.herokuapp.com/benefits/recommend-gift
Asking for validation:

Check on mobile and on desktop if the issue have been correctly fixed.
If everything is correct, move the card to accepted column.
If the issue isn't fixed, re-open the comment clearly what the problem is and what is the desired result.
Move the card to have issues column.
Merge (or express approval in) the corresponding PR if needed. Move the card to the launch column.

@RohrerHope Don't forget that we are still using the Deals terminology for internal purposes.

What's wrong:
The first two phrases on each of the Benefits pages are independent and run in their own lines. They were in two different lines before, and now they are in one for the Birthday Gift and the Recommend Reward.
This is the Birthday Gift page:

This is the Recommend Reward page:

This is the Corporate Benefit page (which is correct in its design, one phrase per line):

How it should be:
In the Birthday Gift page, this line "Earn a gift card to use with over 2,000 shops in Ireland & the UK!" is in an independent line from "Get up to €240 when celebrating your birthday." and they are both centred.
In the Recommend Reward page, this line "Earn a gift card to use with over 2,000 shops in Ireland & the UK!" is in an independent line from "Get €15 for recommending a pub and celebrating there." and they are both centred.
You can use the Corporate Benefit page as a reference.
These pages were okay in their designs before this issue. I don't know why the design changed.
Thanks.
I moved the corresponding card to Still have issues column on the board and I reopen the issue.


Docs: fix useEnsAvatar example code

Description
closes https://github.com/wagmi-dev/wagmi/issues/2765
useEnsAvatar hook does not accept the address parameter.
Additional Information

[x] I read the contributing docs (if this is your first contribution)

Your ENS/address:

ty


Native configure

Hi, can you give me a parameter configuration for ffmpeg configure? I want to compile a arm version, but I can't compile it as small as yours.
Thanks a lot.

https://github.com/hey-red/FFmpeg-Build/blob/master/ffmpeg_build.sh
I have plans to update to FFMpeg 6, but I can't say when it will happen.

Thank you.


Fix adopt anchor tag in navbar for consistent styling in anchor tags

I created a issue (Small issue in responsive navbar #837) and this is the PR for the fix

Sorry, the number of lines added and deleted looks high because of prettier extension i guess

Hi, I submitted this pull request and it resolves the issue i created. Please merge it and close the PR

Please update you codebase so conflict will be resolved


Dependency locking and source dependencies

Once dependency locking is introduced, it needs to interact well with other Gradle features.
One integration point is with source dependencies.
Source dependencies end up pulled in as projects in a composite build. However, there is a version resolution that kicks in before the right branch / tag / commit is picked to be included.
It would be good to have dependency locking influence that resolution and the validation of the lock be able to check that a project dependency was initially a source dependency and that the resolved version does match the locked one.
While this shares similarities with #4749 because of the use of composite builds, there is a difference in expectations, as the composite here is implicit and in a way an implementation detail.

See: https://github.com/gradle/gradle/issues/9907#issuecomment-526078277


🎁: Auto-width for columns in WorkOrder table component

Implement auto-width for columns in the WorkOrder table component.
(Not sure if this exist in the table component out-of-the-box.
Expected outcome
Automatically scaled column widths in the table, so that it does not take more space than necessary.
Would improve readability in the tables a lot, and avoid space-wasting like this:

Business Value / Developer Experience
Improves readability of the data in the table by not wasting already limited space on white space.
Acceptance Criteria

@EdwardBrunton, can this be moved to Done?

@kjellhaaland I wasnt sure what the process was for closing issues, after it is merged should i just close it or does someone else test it first?


fix: Use node.Name instead of node.DisplayName for onExit nodes

Split from https://github.com/argoproj/argo-workflows/pull/5478

what happens to in-flight workflows? can do they end up with 2x on-exit nodes?

what happens to in-flight workflows at the time of upgrade? can do they end up with 2x on-exit nodes?

Yes, there is a window of time where onExit nodes could get duplicated in the event of an upgrade while a cluster is running. note this window is only from the time an onExit node with the old name is created until the time its boundary node (Step Group, DAG) completes. Once the boundary node completes, we won't recurse down to the onExit node again.
I don't believe we make guarantees on the consistency of a running workflow if there is a version upgrade while it's running.

I don't think many users expect an upgrade to typically break workflows. Is there an alternative you can see?

I don't think many users expect an upgrade to typically break workflows. Is there an alternative you can see?

@alexec I don't believe so. This is a narrow issue: are we using the right name or not? We are currently not using the right name, which means there are bugs in the code (see https://github.com/argoproj/argo-workflows/pull/5486#discussion_r599004491).
If it's critical that no running workflows are broken during the upgrade, I could introduce some code that:

first checks if a node exists with the old name
if it does, proceed with the old name
if it doesn't, proceed with the new name

We'd have to keep this scaffold code in the codebase for a couple of versions to ensure that users upgrading and skipping some patch versions (e.g. v3.0.1 -> v3.0.3) are also not affected. We'd then remove the scaffold after a "tolerance period". (How would we determine the length of that tolerance period?)

Also perhaps we could include a notice in the release notes the advise users to not upgrade with running workflows. And we can include that notice whenever applicable. It seems to me that we must have already made similar bug fixes that would have broken running nodes in the past.
This could be a good middle ground between users not seeing unexpected, one-time issues during upgraded and us being able to fix bugs that currently exist in the codebase.

Decision: add scaffolding code


Move sections to own page

What is the context of this PR?
Trello card
How to review

Open a questionnaire
Confirm navigation between pages/sections
Confirm deleting sections works as expected
Check auto focus works as expected

 Adding section onto their own page


armauthorization: issue with json unmarshalling

Bug Report
I'm using the Azure SDK for Go (v3.0.0-beta.2), specifically the armauthorization package, and facing an issue when calling client.Create with the RoleAssignmentScheduleRequestsClient. The problem seems to be with the scope parameter, but I'm unsure of the correct format. This occurs with Go version 1.23.1, and the API response isn't unmarshalling as expected.
github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v3 v3.0.0-beta.2

What happened?
When calling a function from the armauthorization/v3 package, specifically when interacting with the RoleAssignmentScheduleRequestsClient, an error occurs during the JSON unmarshalling process. The error message is:
2024/12/28 22:06:24 main.go: unmarshalling type *runtime.requestError: json: cannot unmarshal string into Go value of type runtime.requestError

What did you expect or want to happen?
The API response should be unmarshalled correctly into the appropriate Go struct, without any errors.
How can we reproduce it?
It appears that the issue is related to the scope, but I'm unsure if there is any documentation detailing the correct format for the scope. The error occurs after the client.Create function is called, as indicated in the logs.
package main

import (
	"context"
	"fmt"
	"log"
	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/cloud"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/policy"
	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v3"
	"k8s.io/utils/ptr"
)

func main() {
	// Set up the credentials to authenticate with Azure
	cred, err := azidentity.NewDeviceCodeCredential(&azidentity.DeviceCodeCredentialOptions{
		TenantID: "dummy-tenant-id-1234-5678-91011-abcdefg", // Replace with dummy tenant ID
		ClientOptions: policy.ClientOptions{
			Cloud: cloud.AzurePublic,
		},
		UserPrompt: func(ctx context.Context, message azidentity.DeviceCodeMessage) error {
			fmt.Println(message.Message) // Print the device code prompt
			return nil
		},
	})
	if err != nil {
		log.Fatal(err)
	}

	// Create the client for role assignment schedule requests
	client, err := armauthorization.NewRoleAssignmentScheduleRequestsClient(cred, nil)
	if err != nil {
		log.Fatal(err)
	}

	// Dummy values for principalID, roleDefinitionID, and scope
	principalID := "dummy-principal-id-1234-5678-91011"
	roleDefinitionID := "/providers/Microsoft.Authorization/roleDefinitions/dummy-role-id-1234-5678-91011"
	justification := "dummy justification"
	scope := "/providers/Microsoft.Management/managementGroups/dummy-management-group-id"

	// Make the request to create a role assignment schedule
	resp, err := client.Create(
		context.Background(),
		scope,
		"dummy-role-assignment-request-id", // Dummy request ID
		armauthorization.RoleAssignmentScheduleRequest{
			Properties: &armauthorization.RoleAssignmentScheduleRequestProperties{
				PrincipalID:      ptr.To(principalID),
				RequestType:      ptr.To(armauthorization.RequestTypeSelfActivate),
				RoleDefinitionID: ptr.To(roleDefinitionID),
				Justification:    ptr.To(justification),
				Scope:            ptr.To(scope),
				ScheduleInfo: &armauthorization.RoleAssignmentScheduleRequestPropertiesScheduleInfo{
					Expiration: &armauthorization.RoleAssignmentScheduleRequestPropertiesScheduleInfoExpiration{
						Type:     to.Ptr(armauthorization.TypeAfterDuration),
						Duration: to.Ptr("PT30M"),
					},
					StartDateTime: to.Ptr(time.Now()),
				},
			},
		}, nil,
	)
	if err != nil {
		log.Fatal(err)
	}
	// If successful, print the response
	fmt.Printf("Role assignment schedule request created successfully: %+v\n", resp)
}

Anything we should know about your environment?
Nothing specific, I'm just running the code I provided on Gentoo Linux.

@jliusan, could you take a look at this first?  It looks our client library could not unmarshall the json error.


Abstract API calls into separate services

Summary of changes
Asana Ticket: Abstract API calls into separate services
Add env variables to keep track of where each service is making api calls to. Updated  google_maps.ex as an example of chages.
TODO:
Update all folders named google_maps to something more generic like map_services.
Update all files api calls to have a check to decide where api calls ought to be made to.

This is a great start! I'd suggest consolidating all of the configuration into the apps/google_maps/config/config.exs file.
As you continue figuring out the configuration structure and values, consider setting it up such that it all defaults to using Google (making AWS an opt-in sort of deal). Idealling the application will still run!

Closing out since new approach was a little different. Continued here https://github.com/mbta/dotcom/pull/1178


Converter added and docs changed

Same PR as #341. Only moved to our repository to run unit tests.

Can we merge this soon? I believe @dongyoungy told me there were some content omitted.

This PR will be merged as PR #347


Support some kind of YouTube video import

Suggestion from Discord, roughly.
It would be nice/fun to be able to "import" YouTube videos, or have the videos play, in Lute, and somehow have the subtitles be available and processed like other texts.  The video could play, the user could just move through the pages of text as it progresses.  Lute currently doesn't support any kind of audio-to-text syncing with timestamps, so that's not possible.
The page would need to be laid out differently, with the video stickied or something at the top, and a reading pane below it.  The current hardcoded frames for the terms and the dicts might get messy.

I agree - this is certainly something I'd like in the lute application.
As a thought, yt-dlp.exe allows subtitle files to be downloaded from youtube (where they exist), and typically are in vtt format.
These could be uploaded and parsed in lute and 'somehow' fed into its internal player, in which case the actual sentences of the book text could be highlighted as the audio plays.
I imagine the use of yt-dlp (or an equivalent python library) could be combined with lute in a multi-image docker setup, automating the subtitle download.
As for the embedding of youtube video I imagine there is a standard way to approach this, and for this functionality the ability to slow the video (and audio) is highly desirable for my own study.
I'd like to investigate the above...

This one is a challenge.   Ideally it would support a pure python approach, because I'm hoping to keep features available for as wide an audience as possible.  Relying on Docker creates problems for many Windows users, and for some mac users that hit performance problems.  I personally also prefer to use pip :-)
yt-dlp and others rely on ffmpeg, but if we're just getting the subtitles, and embedding the video, then there's no real need for all of the tools of yt-dlp.  YT videos can be embedded within an iframe.  It becomes more of a question of just getting the proper subtitles file, parsing it, and showing the pages.
Lute doesn't do any audio-to-timing sync.  For a first pass implementation of this, just getting the subtitles and showing the video would be a great start.

fyi - In my opinion, this is a non-trivial piece of work, I think!  It affects the reading page, potentially page parsing, and various actions.  I haven't thought through all of the design/architecture implications.

Actually, what might make more sense for this would be some kind of browser add-in that Lute users can use that accesses their Lute data while watching YouTube.  I have no idea how to do this, but it seems like a better direction to take -- rather than forcing everything to be pulled into Lute, with all of the code changes that entails, it would be nice if Lute somehow could be used in a more open fashion.

I agree that a browser extension might work, i.e. leveraging other open source projects.
This functionality seems similar to "language reactor" (though I haven't really played with this; I'm looking for FOSS solutions).
A quick google search also returns https://easysubs.cc/, which seems quite promising as separate solution to this (though a quick 5 minute test didn't prove much)
Noting my current lack of knowledge of the lute architecture, I would say that I see the lute<>extension being appropriate moreso for the "ruby" topic (https://github.com/jzohrab/lute-v3/issues/71), and its follow on usage with Anki (I.e. how does one generate study materials).
I will create a branch for SRT/VTT import, and see if there's any easy to show videos within lute.

I think if Lute can expose some APIs to make use of some lute features and data such as  parsing text  and some db operation for terms and etc. It could be helpful for developing the broswer add-ons or other ways to learing with videoes.
And I hava a very rough idea about the the parse_text interface
For example  If the Japanese enabled, for the sentence '私は元気です。'
The request:
{
  "text": "私は元気です。",
  "language": "japanese"
}

then the reponse should be like.
[
  {
    "is_word": true,
    "reading": "わたくし",
    "status": "1",
    "text": "私"
  },
  {
    "is_word": true,
    "reading": "",
    "status": "0",
    "text": "は"
  },
  {
    "is_word": true,
    "reading": "げんき",
    "status": "0",
    "text": "元気"
  },
  {
    "is_word": true,
    "reading": "",
    "status": "0",
    "text": "です"
  },
  {
    "is_word": false,
    "reading": "",
    "status": "0",
    "text": "。"
  }
]


Is MOI.linear15test buggy?

Trying to execute this test. I get an error
  Got exception outside of a @test
  MethodError: Cannot `convert` an object of type Array{Float64,1} to an object of type Float64
  Closest candidates are:
    convert(::Type{T<:Number}, !Matched::T<:Number) where T<:Number at number.jl:6
    convert(::Type{T<:Number}, !Matched::Number) where T<:Number at number.jl:7
    convert(::Type{T<:Number}, !Matched::Base.TwicePrecision) where T<:Number at twiceprecision.jl:250
    ...
  Stacktrace:
   [1] setindex!(::Array{Float64,1}, ::Array{Float64,1}, ::Int64) at ./array.jl:769
   [2] convert(::Type{Array{Float64,N} where N}, ::Array{Array{Float64,1},1}) at ./abstractarray.jl:731
   [3] setproperty!(::Optimizer{MathOptInterface.Bridges.LazyBridgeOptimizer{GLPK.Optimizer}}, ::Symbol, ::Array{Array{Float64,1},1}) at ./sysimg.jl:19
   [4] optimize!(::Optimizer{MathOptInterface.Bridges.LazyBridgeOptimizer{GLPK.Optimizer}}) at /home/akshay/Projects/DiffOpt.jl/src/MOI_wrapper.jl:125
   [5] linear15test(::Optimizer{MathOptInterface.Bridges.LazyBridgeOptimizer{GLPK.Optimizer}}, ::MathOptInterface.Test.TestConfig{Float64}) at /home/akshay/.julia/packages/MathOptInterface/RmalA/src/Test/contlinear.jl:1717

any working example of this linear15test in any solver?

Which line is failing ? Is it this line ?
https://github.com/AKS1996/DiffOpt.jl/blob/25a36ba589c0b50c33d7ebb7ecd642f381701dcd/src/MOI_wrapper.jl#L104

I think this is because some of the constraints in con_idx are vector constraints hence their dual is a Vector{Float64}. In model.dual_optimal, you assume that all duals are scalar numbers which is only the case for scalar constraints.

yeah. that'll be an issue. we've to find some workaround - like breaking single Vector constraint to multiple scalar ones

If you choose not to support vector constraints and implement supports_constraint accordingly, then a full_bridge_optimizer layer will break vector constraints into scalar ones for you

that'll be great for obtaining the matrices while differentiation. can you provide an example link?

See http://jump.dev/MathOptInterface.jl/v0.9.14/apimanual/#Testing-guideline-1
You can do
const BRIDGED = MOI.instantiate(OPTIMIZER_CONSTRUCTOR, with_bridge_type = Float64)

This will create a bridge layer


Migration events need to be exported as JSONLD

Here below are the forthcoming details...

It seems like the question marks in the bold line of the table below would need to be specified.  Italics means that the values are optional.

Scala
JSON-LD

Mention
Extraction
Argument

Class
Trigger
Arguments
Label
Type
Subtype
Type

TextBound
-
-
N/A
concept
entity
-

Event
TextBound
causeeffect
Causal
relation
causation
sourcedestination

Event
TextBound
causeeffect
Correlation
relation
correlation
argumentargument

Event
TextBound
groupmoveTomoveFrommoveThroughtimeStarttimeEndtime
HumanMigration
relation?
migration?
group?moveTo?moveFrom?moveThrough?timeStart?timeEnd?time?

Relation
-
true
N/A
-
-
-

CrossSentence*
-
causeeffect
Coreference
relation
coreference
anchorreference

The above might be discussed by people like @BeckySharp, @zupon, and @MihaiSurdeanu.

I agree with this spec.
Importantly: at some point (probably after Eidos) events with partial information that come from different sentences will have to be merged in a single Migration event. For example, one sentence might specify how many people were displaced. Another where they moved. Should this JSON output happen after the merge? It seems to me that the answer is yes. @BeckySharp?

Here's an early example:
  } ],
  "extractions" : [ {
    "@type" : "Extraction",
    "@id" : "_:Extraction_1",
    "type" : "concept",
    "subtype" : "entity",
    "labels" : [ "Time", "EntityModifier", "Event" ],
    "text" : "the beginning of September 2016",
    "rule" : "time-stanford",
    "canonicalName" : "the beginning of September 2016",
    "provenance" : [ {
      "@type" : "Provenance",
      "document" : {
        "@id" : "_:Document_1"
      },
      "documentCharPositions" : [ {
        "@type" : "Interval",
        "start" : 6,
        "end" : 36
      } ],
      "sentence" : {
        "@id" : "_:Sentence_1"
      },
      "sentenceWordPositions" : [ {
        "@type" : "Interval",
        "start" : 2,
        "end" : 6
      } ]
    } ]
  }, {
    "@type" : "Extraction",
    "@id" : "_:Extraction_2",
    "type" : "relation",
    "subtype" : "migration",
    "labels" : [ "HumanMigration", "Event" ],
    "text" : "the beginning of September 2016, almost 40,000 refugees arrived in Ethiopia from South Sudan as of mid-November",
    "rule" : "migration-verbs1",
    "canonicalName" : "the beginning of September 2016 refugee arrive Ethiopia South Sudan mid-November",
    "provenance" : [ {
      "@type" : "Provenance",
      "document" : {
        "@id" : "_:Document_1"
      },
      "documentCharPositions" : [ {
        "@type" : "Interval",
        "start" : 6,
        "end" : 116
      } ],
      "sentence" : {
        "@id" : "_:Sentence_1"
      },
      "sentenceWordPositions" : [ {
        "@type" : "Interval",
        "start" : 2,
        "end" : 19
      } ]
    } ],
    "arguments" : [ {
      "@type" : "Argument",
      "type" : "moveTo",
      "value" : {
        "@id" : "_:Extraction_5"
      }
    }, {
      "@type" : "Argument",
      "type" : "moveFrom",
      "value" : {
        "@id" : "_:Extraction_6"
      }
    }, {
      "@type" : "Argument",
      "type" : "timeStart",
      "value" : {
        "@id" : "_:Extraction_1"
      }
    }, {
      "@type" : "Argument",
      "type" : "timeEnd",
      "value" : {
        "@id" : "_:Extraction_7"
      }
    } ]
  }, {
    "@type" : "Extraction",
    "@id" : "_:Extraction_3",
    "type" : "concept",
    "subtype" : "entity",
    "labels" : [ "Concept", "Entity" ],
    "text" : "almost 40,000 refugees",
    "rule" : "simple-np",
    "canonicalName" : "refugee",
    "provenance" : [ {
      "@type" : "Provenance",
      "document" : {
        "@id" : "_:Document_1"
      },
      "documentCharPositions" : [ {
        "@type" : "Interval",
        "start" : 39,
        "end" : 60
      } ],
      "sentence" : {
        "@id" : "_:Sentence_1"
      },
      "sentenceWordPositions" : [ {
        "@type" : "Interval",
        "start" : 8,
        "end" : 10
      } ]
    } ]
  }, {
    "@type" : "Extraction",
    "@id" : "_:Extraction_4",
    "type" : "concept",
    "subtype" : "entity",
    "labels" : [ "Concept", "Entity" ],
    "text" : "arrived",
    "rule" : "simple-vp",
    "canonicalName" : "arrive",
    "provenance" : [ {
      "@type" : "Provenance",
      "document" : {
        "@id" : "_:Document_1"
      },
      "documentCharPositions" : [ {
        "@type" : "Interval",
        "start" : 62,
        "end" : 68
      } ],
      "sentence" : {
        "@id" : "_:Sentence_1"
      },
      "sentenceWordPositions" : [ {
        "@type" : "Interval",
        "start" : 11,
        "end" : 11
      } ]
    } ],
    "states" : [ {
      "@type" : "State",
      "type" : "LocationExp",
      "text" : "Ethiopia",
      "value" : {
        "@id" : "_:GeoLocation_1"
      }
    }, {
      "@type" : "State",
      "type" : "LocationExp",
      "text" : "South Sudan",
      "value" : {
        "@id" : "_:GeoLocation_2"
      }
    } ]
  }, {
    "@type" : "Extraction",
    "@id" : "_:Extraction_5",
    "type" : "concept",
    "subtype" : "entity",
    "labels" : [ "Location", "EntityModifier", "Event" ],
    "text" : "Ethiopia",
    "rule" : "location-nn",
    "canonicalName" : "Ethiopia",
    "provenance" : [ {
      "@type" : "Provenance",
      "document" : {
        "@id" : "_:Document_1"
      },
      "documentCharPositions" : [ {
        "@type" : "Interval",
        "start" : 73,
        "end" : 80
      } ],
      "sentence" : {
        "@id" : "_:Sentence_1"
      },
      "sentenceWordPositions" : [ {
        "@type" : "Interval",
        "start" : 13,
        "end" : 13
      } ]
    } ]
  }, {
    "@type" : "Extraction",
    "@id" : "_:Extraction_6",
    "type" : "concept",
    "subtype" : "entity",
    "labels" : [ "Location", "EntityModifier", "Event" ],
    "text" : "South Sudan",
    "rule" : "location-nn",
    "canonicalName" : "South Sudan",
    "provenance" : [ {
      "@type" : "Provenance",
      "document" : {
        "@id" : "_:Document_1"
      },
      "documentCharPositions" : [ {
        "@type" : "Interval",
        "start" : 87,
        "end" : 97
      } ],
      "sentence" : {
        "@id" : "_:Sentence_1"
      },
      "sentenceWordPositions" : [ {
        "@type" : "Interval",
        "start" : 15,
        "end" : 16
      } ]
    } ]
  }, {
    "@type" : "Extraction",
    "@id" : "_:Extraction_7",
    "type" : "concept",
    "subtype" : "entity",
    "labels" : [ "Time", "EntityModifier", "Event" ],
    "text" : "mid-November",
    "rule" : "time-stanford",
    "canonicalName" : "mid-November",
    "provenance" : [ {
      "@type" : "Provenance",
      "document" : {
        "@id" : "_:Document_1"
      },
      "documentCharPositions" : [ {
        "@type" : "Interval",
        "start" : 105,
        "end" : 116
      } ],
      "sentence" : {
        "@id" : "_:Sentence_1"
      },
      "sentenceWordPositions" : [ {
        "@type" : "Interval",
        "start" : 19,
        "end" : 19
      } ]
    } ]
  } ]
}

I agree with this spec.
Importantly: at some point (probably after Eidos) events with partial information that come from different sentences will have to be merged in a single Migration event. For example, one sentence might specify how many people were displaced. Another where they moved. Should this JSON output happen after the merge? It seems to me that the answer is yes. @BeckySharp?

yes -- after the "merge" (i.e., after we aggregate the pieces).
FYI - assuming we can successfully run the time normalization code, we will likely only have a single time argument, and some of the args will be optional, even if we output after aggregation.  @MihaiSurdeanu I guess we need to decide how incomplete an event can be before we prune it?

@BeckySharp: I suggest that we keep events (after the merge) that have at least the group, and (at least one of?) moveFrom and moveTo. What do you think?
@kwalcock: the locations and times do not seem to include normalization info in the JSON. This mean that part has not been integrated yet? Just asking.
all: will we be able to view these events in the web demo?

I think the answer is no, they haven't been integrated yet.  I was just working with what was available at the time.

@MihaiSurdeanu I agree! re: the web demo, do you mean the webapp at the hackathon?  if so, yes, I think we already can on @zupon 's branch.  I can add some color stuff if it helps.  If you mean something more, please let me know.  Also, IDK what amt of "aggregation" will be ready before the hackathon, but hopefully @zupon can have a proof of concept ready or maybe planned?
Thoughts?

This vanilla web app would be great! No customization needed.
Can you please let me know which branch should I use, and any special instructions I need?
We can work on the aggregation during the hackathon, but it would be great if we had the skeleton, i.e., the API, connected into Eidos before.

cool -- as I recall we added the hook/stub for the API (not in the postProcessorStep way bc that half of the refactor hasn't happened)
@zupon can you please show @MihaiSurdeanu the branch, suggest a query or 2 that work well in the webapp to show the migration events, and point him to the stub for aggregating (if I am remembering correctly that we did it...) -- meaning you don't already need it implemented, btw
thanks!

@MihaiSurdeanu the main branch to check out the migration stuff is migration_schema-zupon. That's where I have been writing the rules to capture the events.
Here are a couple of queries that demonstrate the kinds of things we can get so far. The first one is a really good example. The second one is much more complicated and shows that we still have some work to do.

Since the beginning of September 2016, almost 40,000 refugees arrived in Ethiopia from South Sudan as of mid-November.
For many FGD respondents from Greater Equatoria, this was the second or even third time they or their family had been displaced out of South Sudan; many reported leaving during the 2013 displacement crisis and/or in the second Sudanese Civil War (1983-2006).

@maxaalexeeva and I have started working on making the attachments for Geolocations. We've prototyped moveTo and can probably easily add the other locations and possibly even the times before the hackathon. We have not yet done anything for cross-sentence aggregation though. You can see our prototype for moveTo here: https://github.com/clulab/eidos/blob/migration_schema-Masha/src/main/scala/org/clulab/wm/eidos/actions/MigrationUtils.scala

@MihaiSurdeanu in the migration_schema-Masha branch (the link Andrew sent), the method CopyWithNewArgs is something we found elsewhere and will either need to be imported in some nicer way or moved to a better place. The processMigrationEvents method is similar to this action: https://github.com/clulab/eidos/blob/830bc1d63dc572323a0bc8b04f28f6f82621740f/src/main/scala/org/clulab/wm/eidos/EidosActions.scala#L339
Does this output look like what we need?

Thanks @zupon and @maxaalexeeva!
This looks good. But why do you need the method copyWithNewArgs here?
Also, what do I run to get this text output?

@MihaiSurdeanu that's from running sentences in the webapp. The method is there because we didn't know a better way to add an attachment to an argument within an eventMention.

Thanks! I am playing with the grammar now.
@zupon: please add unit tests for the all the sentences that are currently covered by grammar rules. @kwalcock: is there a testing framework for these custom events?
Thanks!

PR #593, which doesn't yet seem to have been merged into Andrew's branch, includes a testing framework and tests all the related grammar rules available at the time.  It's in the file TestMigrationSchema.scala.  @zupon, have you had the chance to check it out?  I've been assuming that github notifies you of the request on your branch.

Thanks @kwalcock !

Hi all,
I haven't seen anything from GitHub about it, so I haven't merged anything.
I will have time to check it out later today.
AZ
On Thu, Jun 6, 2019, 13:39 Mihai Surdeanu<EMAIL_ADDRESS>wrote:

Thanks @kwalcock https://github.com/kwalcock !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/594?email_source=notifications&email_token=AHMVORXHORFGLNQGVHNT6YTPZFKWJA5CNFSM4HR4OCJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXDYZMI#issuecomment-499616945,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHMVORTJFHFRMJXYSHX4X2LPZFKWJANCNFSM4HR4OCJA
.

Thanks @zupon!
This is important, because we will communicate through these unit tests during the hackathon and beyond.

For some reason I am not getting the github notifications about requests on my branch, so manually mentioning me in a comment will be a good way to get my attention until I get that resolved.
I noticed that for this PR there are failing tests, but they don't seem to be related to the migration tests that @kwalcock wrote for me. Does that sound right? Is it alright to merge the PR with the failing tests into my branch?
Also, is there a command to just run the migration-related tests, rather than running everything together?

Yes, please merge. The failures do not come from you.
On June 6, 2019 at 3:02:19 PM, zupon<EMAIL_ADDRESS>wrote:
For some reason I am not getting the github notifications about requests on
my branch, so manually mentioning me in a comment will be a good way to get
my attention until I get that resolved.
I noticed that for this PR there are failing tests, but they don't seem to
be related to the migration tests that @kwalcock
https://github.com/kwalcock wrote for me. Does that sound right? Is it
alright to merge the PR with the failing tests into my branch?
Also, is there a command to just run the migration-related tests, rather
than running everything together?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clulab/eidos/issues/594?email_source=notifications&email_token=AAI75TW67NOFJZ7EZURJXF3PZGCOVA5CNFSM4HR4OCJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXEJJRI#issuecomment-499684549,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI75TW4Y7BHRIMOKDBTRMDPZGCOVANCNFSM4HR4OCJA
.

I usually do it in IntelliJ with some clicks, but it is possible in sbt with
testOnly org.clulab.wm.eidos.text.english.TestMigrationSchema

Thanks @kwalcock ! And thanks also for writing the tests!

@zupon: can you please unit tests for covered sentences in a new file, e.g., TestMigrationEvents?

@MihaiSurdeanu Can you please clarify what you mean? Do you want me to move the existing tests to a different file/location, add new tests to a new file, or something else?

@zupon: nm. I forgot to pull. It's all good. Thanks all!

A follow up on attachments:
Here (Masha's branch with Andrew's merged): https://github.com/clulab/eidos/blob/8861627c89c6c4232d685228a93aa6c3be690a17/src/main/scala/org/clulab/wm/eidos/actions/MigrationUtils.scala#L14
we try to make attachments for the args in the human migration events. Here's the output we get in the webapp for this type of event:
Image 1

However, among the concepts, we see output like this (time attached to groups and actions):
Image 2

The time attachments seem to be originating from here: https://github.com/clulab/eidos/blob/830bc1d63dc572323a0bc8b04f28f6f82621740f/src/main/scala/org/clulab/wm/eidos/EidosActions.scala#L326
Questions:

should geolocations be attached to location mentions (like in image 1) or to some other arguments in the migration event?

do the time attachments look right based on image 2?

is there a way to check if we ended up attaching the right thing? In the webapp output, it does not tell us that it attached geolocations to mentions---it just says that the type of attachment is location.

Here's the sentence typed up in case anyone want to try running the code (Note: name of the branch where we are trying to make attachments is migration_schema-Masha): Since the beginning of September 2016, almost 40,000 refugees arrived in Ethiopia from South Sudan as of mid-November.

@maxaalexeeva:

I think attachments should be attached directly to location mentions. @BeckySharp, what do you think?
The span of the time entity seems fine, but I can't tell if it's been normalized. Has it?
I think the web app should be expanded to show this. @BeckySharp, who should do it?


Transport::{write, flush} should return a custom enum

Currently these both return io::Result<Option<()>> with no explanation of what the difference between Some(()) and None is meant to be.

I think that it should change to futures::Poll but I am waiting for the resolution of alexcrichton/futures-rs#108

Handled by FramedIo in tokio_core


[CSL-1767] fix block generator leak

catMaybes <$> mapM genBlock [startEOS .. finishEOS] caused the entire list of blocks to be retained.
Instead of constructing the list of blocks, some value of a monoid t is strictly constructed according to some injector Maybe (Blund SscGodTossing) -> t. Using const () means the blocks will never be retained. genBlock writes them out to disk, which is all we want for the block generator application.

changed the title from [CSL-1617] fix block generator leak to [CSL-1767] fix block generator leak

Thanks :) 1617 is apparently ingrained into my mind

Rebase on top of latest master to fix stack2nix build.

@int-index I've implemented your suggestions.


Can set 0 buckets for histogram/time-series

Steps to Reproduce

Create a map
Add an histogram widget
Set the buckets to 0

Current Result
The option is saved and the widget displays an error.
Expected result
It's not possible to select 0 buckets as an option. Maybe we shouldn't let selecting 1 as well, as that's pretty pointless.

Min buckets should be 2 at least.


Cyrillic doesn't show up in Story Mode

Describe your bug here.
Working on Russian localization, Cyrillic doesn't appear in story mode
Problem is not with the font, I tried several of them, problem remains
Issue: Text on score text, option descriptions etc etc works, it is displayed as intended. But on week score and story names, it doesn't. Instead it shows a blank space. If I put English letters in there, it shows up as it should.
All the translation keys that have this issue:

week_score
storyname_tutorial
storyname_week1
storyname_week2
storyname_week3
storyname_week4
storyname_week5
storyname_week6
storyname_week7
storyname_weekend1

In the first screenshot I put some English letters with Russian, you can see the gap, this gap is Cyrillic. In the second screenshot it's just Cyrillic. I'll also attach the font I used, it's a normal vcr font but with the addition of Cyrillic characters.
(Tested on 1.0 Pre-Release and 1.0 Action builds)
Screenshot 1. week_score: "notice the space >СЧЕТ УРОВНЯ: {1}"
Screenshot 2. week_score: "СЧЕТ УРОВНЯ: {1}"
Font (rename to vcr.ttf): https://files.catbox.moe/5uzdyw.ttf

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No changes were made

to make it clear, it doesn't work because the game doesn't look for mod fonts and instead uses hardcoded ones, this should be fixed when my pr gets completed and merged


Interactive DLP Tutorial for Nontechnical or Beginner Users

Describe the solution you'd like
Add tutorial-like instructions for users on how they can navigate our playground.
Additional context
There should be pop-ups that would have an arrow pointing to the button they might want to use. For example, when using a button to train a model, explain to them what it would do. However, when they are shown the pop-up, make the page unusable for the duration of that bubble until they click "I got it" or "Ok."
Setup Instructions (what branch to work off of)
Create branch interactive-tutorial off of full-stack

try looking into gestalt from Pinterest as a framework for building modals and stuff


Not working with 1.43

The plugin does not seem to work with the new version of Visual Studio Code (1.43) released last month. Did anyone else encounter this issue or is it my machine?
If I make spelling mistakes on purpose, the score on the bottom left drops to 0/100, but the mistake is not highlighted.

Nevermind, it works now.


Streaming results to a database: verify SQL model, decide on what API to go forward

This two subtasks separated from #66 :

[ ] Check/verify SQL model.
[ ] Decide on what API we go forward with.

There is a split here in terms of difficulty and usefulness for different SQL APIs that we have to keep in mind before we formalize the SQL sink(s).
On the one hand, a "raw" SQL API taking queries and forwarding them to a client takes almost no implementation effort (outside of validating some query aspects like INSERTs for uploads, SELECTs for downloads). Those APIs will then be limited in usefulness, however - outside of a few preprocessing aspects and client polymorphism, they provide no value for the user.
On the other hand, an ORM model API makes things more Pythonic and type-safe, but requires potentially much more implementation effort, and needs dynamic features to work for us at least on upload, since the BenchmarkRecords will have different entries based on what context you give. It also requires dependencies like SQLModel / SQLAlchemy for ORM construction, and (in this case) DB engine packages for being able to speak to different databases through SQLAlchemy.
I'm inclined to go with case 1) for now, since it works well enough even now, provided that Python interfaces to your target DBs can deal with Python dictionaries and/or JSON data.
If there is a need/request for ORM SQL, we can revisit this later. We have a working example for BQ already, I'd say that if we make one for duckDB (where we would write a NDJSON flatfile and ingest from it, with schema inference and all goodies without any effort), we're golden.
Would love to hear @maxmynter and @janwillemkl 's opinions as well.

I agree going with option 1.
Providing the raw SQL interface will give the user full flexibility, so it makes sense to provide that anyway.
As you say, we can always build the ORM interface in addition later.


Move to 3.0 Preview 6 SDK

Why doesn't maestro do this?

@bricelam it does but not automatically. I did PRs over the weekend that will update Arcade appropriately but not all of them are in yet.
In any case, there's no reason to wait for Arcade or @aspnet/build if you want the latest released SDK. There are reasons to stick with released SDKs, especially where source builds are done or where a consuming repo (AspNetCore for this repo) will (soon) does source builds.


Add cvanmf to sync.yaml

Adding our cvanmf python package to sync.yaml.

Now mirrored at https://github.com/TGAC/cvanmf


multiple_inheritence

multiple_inheritence

Great work @smrobiulalam please give this repo a star if it really helped you to complete your PR.
Also follow me for follow back if you want to get connected with me for any such open source contribution program. Thank you 😊


What about handling active, dirty, touched, valid, etc?

How should the state of the user interaction with the form be handled? Other libs provide vars such as active, dirty, touched, valid to allow for the configuring of this behavior.

Hi @aryzing ,
If you have the opportunity, please look at the full rewrite of this library that provides better state APIs:
https://github.com/frontier-forms/frontier-forms
Thanks,