Unique types should autogenerate as FindBy instead of FilterBy

Note this applies to Rust modules as well and requires a PR against the BitCraft module to fix the incompatibility.

Note this applies to Rust modules as well and requires a PR against the BitCraft module to fix the incompatibility.

We probably should have a separate issue for that in Rust SDK or SpacetimeDB, as this is a repo of C# SDK specifically.


In JS, prototype assignment isn't recognised in an IIFE

We might decide this is by design, but I suspect an awful lot of code in chrome-devtools-frontend relies on it working.
(function() {
    var s = new StringStream('xxxxxxxxxxxxxxxxxxxxxxxx')
    s.backUp(1) // error here
    /** @constructor @param {string} string */
    function StringStream(string) {
    }
    StringStream.prototype = {
        /** @param {number} n */
        backUp: function(n) {this.pos -= n;},
    };
}())

Expected behavior:
No error on s.backUp
Actual behavior:
'StringStream' has no property 'backUp'.

@sandersn doesn't this code crash?

It will crash at runtime; ideally you could give a use-before-def error in this scenario. But if the method's used later on, it's totally okay.

This no longer has an error.


feat: implement cursor blinking and xrdb keys for its params

any problems with this one?

this looks good.
was holding off a bit until I merged upstream as well, will coordinate those today.

yepp works great, thanks.

btw today i've just realized what this feature can be used to create a hack to emulate in terminal vim cursor change when mode changes (as in gvim)

also had that in mind when I was taking a look -- ideally would match urxvt esc code for toggle?

what should i configure in xrdb and/or vim to reproduce that scenario?
or i should send those codes manually from vimL?

the latter -- see http://vim.wikia.com/wiki/Change_cursor_shape_in_different_modes under "For VTE compatible terminals (urxvt, st, xterm, gnome-terminal 3.x and others)"
I haven't tested to see if the existing listing already works.

cool, that works for me in urxvt, i'll try to add those escape codes to st when i'll have a minute

already implemented -- just tested as well.
https://github.com/neeasade/xst/blob/a32b4452762af7d744af711780277a6002617eec/src/st.c#L2602

for some reason with vimrc works with urxvt but not with the latest commit of xst:
let &t_SI = "\<Esc>[6 q"
let &t_SR = "\<Esc>[4 q"
let &t_EI = "\<Esc>[2 q"

what cursor options do you have in config.h/xrdb now?

https://u.teknik.io/S084e.webm
config.h matches the repo, xrdb in webm

for some reason my comment from the mail didn't got posted:
i did some more experiments and it came out what it's not working only inside tmux

i did some more experiments and it came out what it's not working only
inside tmux
On Thu, Mar 16, 2017 at 12:26 PM, Nathan Isom<EMAIL_ADDRESS>wrote:

https://u.teknik.io/S084e.webm
config.h matches the repo, xrdb in webm
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/neeasade/xst/pull/18#issuecomment-287029735, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABlDdR3-QRKvAOo0QRPB_ypr5RYrHMgpks5rmRyDgaJpZM4ME4b-
.

tmux has a 'wrapper' esc sequence, see http://vi.stackexchange.com/questions/3379/cursor-shape-under-vim-tmux for example.

thanks!
this worked for me:
if exists('$TMUX')
    let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>[6 q\<Esc>\\"
    let &t_SR = "\<Esc>Ptmux;\<Esc>\<Esc>[4 q\<Esc>\\"
    let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>[2 q\<Esc>\\"
else
	let &t_SI = "\<Esc>[6 q"
	let &t_SR = "\<Esc>[4 q"
	let &t_EI = "\<Esc>[2 q"
endif


changes for upstream codegen changes

due to the usage of the new codegen library on latest versions of @synthetixio/queries, some of the subgraph queries have
changed in name/functionality a bit.
This PR implements the necessary changes into staking to be compatible with the latest version of @synthetixio/queries.
in hindsight, the need to supply a subgraphUrl is a bit cumbersome and should be read from the context like all the other query functions, but
for the time being it isn't too much of a problem.
also, there was some duplicate functionality for useClaimedStatus.ts which was ultimately already provided by useUserStakingData.ts, so I removed.
verified functionality:

debt page works same as before
history page works same as before
user claim seems to work same as before

please verify me.

@0xclem defer to you on decision to update the queries library with better context for subgraph Url requirement in functions is worth it.


Unable to use closure as middleware

Must use double closure
->middleware(
  fn() => fn($request, $response) => ...
)


Update Arduino pin names

This PR updates this example to use the new Arduino pin names (e.g. D0 -> ARDUINO_UNO_D0).

Please rebase, PRs need to target development

Why you didn't change all arduino pins in this file ?

Oops, rebase problem, fixed.


Should be POST for upload?

Looking at reaper.py, starting around line 239 in master, it looks like reaper uses URIs from its configuration for upload, and then looking at http_upload, it appears to upload all its files to the same URI using PUT. If it's going to use the same URI for everything, it should be POST, not PUT, no? PUT means "here's some data, put it exactly HERE". So either the method should be POST, or if PUT is desired, reaper should be making up unique URIs for each file. Right? Am I missing something?

We are basically trying to follow standard REST semantics in our API, but the "receive file and figure out where it goes" case is not really covered by those. That said, I would be inclined to agree with you, reaper uploads should be a POST. I'll make the change on both ends as soon as I get to it.


Adding build for python 3.6

conda-forge is dropping support for 3.4 and adding support for 3.6.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Save state during basis generation

It would be useful to have the ability to save state and checkpoint during the reduced basis generation for cases where the basis generation takes a long time. Is this something that would be easy to implement?

We are in a new project called scikit-reducedmodel, with the aim of providing easy usability for the user and a standard interface, as the scikit packages do for ML algorithms in Python.
We are going to think how to implement checkpoints. Thanks for your suggestion.

@francocerino Thanks for the pointer to scikit-reducedmodel. I'll look to update my code to point to that package rather than arby. Would it be helpful if I open a new issue at https://github.com/francocerino/scikit-reducedmodel/issues with this request?

please add and link (ti this one)  your the issue


Filings are not fetched when run inside a lambda function on AWS python runtime

We are trying to download filings for some companies and we constantly run into 403 errors from a week now. Below is the code that fails and error pasted. Any help greatly appreciated. Works on a MAC though. Only fails on Amazon Linux.
Code:
my_filings = Filing(cik_lookup=cik,
                    filing_type=FilingType.FILING_10Q,
                    count=1,user_agent='###') #user agent should be MY NAME / COMPANY NAME (EMAIL ADDRESS)

my_filings.save(download_path)

Error:
\Python\Python39\site-packages\secedgar\filings\filing.py:182: UserWarning: Only 0 of 1 filings were found for 1772704.
warnings.warn("Only {num} of {count} filings were found for {cik}.".format(
\Python\Python39\site-packages\secedgar\filings\filing.py:182: UserWarning: Only 0 of 1 filings were found for 1490349.
warnings.warn("Only {num} of {count} filings were found for {cik}.".format(
\Python\Python39\site-packages\secedgar\filings\filing.py:182: UserWarning: Only 0 of 1 filings were found for 1396440.
warnings.warn("Only {num} of {count} filings were found for {cik}.".format(
0%| | 0/40 [00:00<?, ?it/s]
Traceback (most recent call last):
…
my_filings.save(download_path)
File "\Python\Python39\site-packages\secedgar\filings\filing.py", line 226, in save
loop.run_until_complete(self.client.wait_for_download_async(inputs))
File "\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "\Python\Python39\site-packages\secedgar\client\network_client.py", line 235, in wait_for_download_async
await asyncio.gather(*tasks) # If results are needed they can be assigned here
File "\Python\Python39\site-packages\secedgar\client\network_client.py", line 211, in fetch_and_save
contents = await self.fetch(link, session)
File "\Python\Python39\site-packages\secedgar\client\network_client.py", line 199, in fetch
async with await session.get(link) as response:
File "\Python\Python39\site-packages\aiohttp\client.py", line 625, in _request
resp.raise_for_status()
File "\Python\Python39\site-packages\aiohttp\client_reqrep.py", line 1000, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden', url=URL('https://www.sec.gov/Archives/edgar/data/1370755/000156459021023642/0001564590-21-023642.txt')

Are you running this across multiple nodes/machines? The only thing I can think of would be overusing the website.

Only running this on one machine and fetching 100 filings. I will try reducing requests per second.

If you pip install secedgar=0.4.0-alpha.1 are you able to get past this issue?

Have you had a chance to try this again @ividamileen? I would like to close this if possible.

@jackmoody11 I stopped using this and implemented in house implementation due to time constraints. Thanks for your help!

The issue was with the user-agent header not sent correctly!


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_edfwmyi3y0/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
Errors were found


Additional Sketch Queries

We need the ability to query sketches. This would entail creating interfaces for the following featurescript queries:

qClosestTo
qLargest
qSmallest
sketchEntityQuery (a way to differentiate between lines & regions)
qWithinRadius
qIntersectsLine

Note: we already have qContainsPoint as sketch.query_point( (x,y,z) ).

Use qEntityFilter instead of sketchEntityQuery—that way everything is consistent.


Azure Stack HCI ARM  template deplyoment fails - Failing at cluster validation

Is your issue related to a Jumpstart scenario, ArcBox, HCIBox, or Agora?
HCIBox
Describe the issue or the bug
Following https://azurearcjumpstart.com/azure_jumpstart_hcibox/cloud_deployment after the azure arc machines(AzSHOST1, AzSHOST2) are created from the power shell script successfully I tried deploying the ARM template and validate the deployment. It fails consistently(screenshot attached)
To Reproduce

Copy the ARM template(hci.json and hic,parameters.json) from the VS code
Deploy in the required resource group with the validate option
The ARM template deployment fails with error -

Exception encountered while adding node to cluster [Resource validation failed. Details: [{"Code":"ValidationFailed","Message":"Arc extensions installed on Arc Machine  /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackhci-rg/providers/Microsoft.HybridCompute/machines/AzSHOST1 are  while required list of mandatory arc extensions are TelemetryAndDiagnostics, DeviceManagementExtension, LcmController","Target":null,"Details":null},{"Code":"ValidationFailed","Message":"Arc extensions installed on Arc Machine  /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackhci-rg/providers/Microsoft.HybridCompute/machines/AzSHOST2 are  while required list of mandatory arc extensions are TelemetryAndDiagnostics, DeviceManagementExtension, LcmController","Target":null,"Details":null},{"Code":"ValidationFailed","Message":"Arc machines validation failed for /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackhci-rg/providers/Microsoft.HybridCompute/machines/AzSHOST1, /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackhci-rg/providers/Microsoft.HybridCompute/machines/AzSHOST2","Target":null,"Details":null}].] at [   at Microsoft.AzureStackHCI.ResourceProvider.Services.EdgeDeviceManager.ValidateNodesAsync(ResourceCollection1 machines, IList1 arcMachineIDs, String parentClusterResourceId) in C:__w\1\s\src\rp\Services\EdgeDeviceManager.cs:line 404
at Microsoft.AzureStackHCI.ResourceProvider.Services.ClusterNodeManager.AddARCNodesToCluster(ClusterDeploymentWorkItem workItem) in C:__w\1\s\src\rp\Services\ClusterNodeManager.cs:line 114] (Code: NotSpecified)
Validate that the extensions are present in the both Azure Arc machines.
Expected behavior
It should not fail. I tried twice and I am hitting the same issue
Environment summary
bicep % az --version
azure-cli                         2.59.0
Have you looked at the Troubleshooting and Logs section?
yes
Screenshots

Also uploading the HCI client box logs -
Logs.zip
Additional context

Also attaching the extensions present in the 2 arc machines....

@mukundansampath Could you check which version of the OS is installed on the client VM?

One way to check is to run Start->Run->winver

Hi @janegilring - Thanks for taking a look -

I tried multiple times after the extensions are installed.

@mukundansampath After inspecting the logs it seems to be an issue with this section
#################################################################################################
# - Add required RBAC permission required for the service principal to deploy Azure Stack HCI
#################################################################################################

INFO: Loaded Module 'Az.Authorization'
INFO: Loaded Module 'Az.Accounts'
INFO: Loaded Module 'Az.MSGraph'
New-AzRoleAssignment : Operation returned an invalid status code 'Forbidden'
At C:\HCIBox\HCIBoxLogonScript.ps1:61 char:5
+     New-AzRoleAssignment -RoleDefinitionName "Key Vault Administrator ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzRoleAssignment], ErrorResponseException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureRoleAssignmentCommand
Account                              SubscriptionName           TenantId                             Environment
-------                              ----------------           --------                             -----------
60e34a37-09f5-4e80-be90-c3d7686cae19 hcs-mcw-azure-subscription b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 AzureCloud
New-AzRoleAssignment : Operation returned an invalid status code 'Forbidden'
At C:\HCIBox\HCIBoxLogonScript.ps1:61 char:5
+     New-AzRoleAssignment -RoleDefinitionName "Key Vault Administrator ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzRoleAssignment], ErrorResponseException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureRoleAssignmentCommand

New-AzRoleAssignment : Operation returned an invalid status code 'Forbidden'
At C:\HCIBox\HCIBoxLogonScript.ps1:66 char:5
+     New-AzRoleAssignment -RoleDefinitionName "Storage Account Contrib ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzRoleAssignment], ErrorResponseException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureRoleAssignmentCommand
New-AzRoleAssignment : Operation returned an invalid status code 'Forbidden'
At C:\HCIBox\HCIBoxLogonScript.ps1:66 char:5
+     New-AzRoleAssignment -RoleDefinitionName "Storage Account Contrib ...
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzRoleAssignment], ErrorResponseException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureRoleAssignmentCommand

New-AzRoleAssignment : Operation returned an invalid status code 'Forbidden'
At C:\HCIBox\Generate-ARM-Template.ps1:14 char:1
+ New-AzRoleAssignment -ObjectId $env:spnProviderId -RoleDefinitionName ...
    + CategoryInfo          : CloseError: (:) [New-AzRoleAssignment], ErrorResponseException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.Resources.NewAzureRoleAssignmentCommand
New-AzRoleAssignment : Operation returned an invalid status code 'Forbidden'
At C:\HCIBox\Generate-ARM-Template.ps1:14 char:1
+ New-AzRoleAssignment -ObjectId $env:spnProviderId -RoleDefinitionName ...

This might indicate that the Service Principal was assigned the Contributor RBAC role rather than Owner, hence it does not have permissions to assign roles.
Given that assigning permissions failed, it is likely the root cause for the ARM validation deployment fails, due to missing permissions for the Resource Provider to read the status of the node extensions.
In order to resolve the issue without a redeployment of HCIBox, you may have a look at the command which assigns the permissions here and here.
And assign them either by running the commands manually or assigning the permissions manually via the portal.

Thanks will try this out....

Thanks for taking a look @janegilring
The validation is still failing with the same error even after giving owner access to the service principal and retrying the deployment from scratch.
Logs_21Apr2024.zip
In our organization there is one more person who setup the azure stack HCI simulator with a different subscription.
I see there are 2 managed identities names for example when I search for the access for my resource group - one is his and one is mine.

Could it be causing this conflict?

Thanks,

@mukundansampath Thanks for the update, the new deployment logs looks good.

Could it be causing this conflict?

I do not think that should be an issue, as we are also deploying multiple instances of HCIBox in the same tenant for development purposes without problems.
One thing to check/verify: Could you go to the resource group where HCIBox are deployed and check whether the Microsoft.AzureStackHCI Resource Provider is listed with the RBAC role Azure Connected Machine Resource Manager?

@janegilring No. That role assignment is missing

But the SP has that role -

Is that the issue? Why will it go missing?

@mukundansampath Glad the deployment validation succeeded. Looking at the deployment logs you shared, the role was assigned multiple times:
RoleAssignmentName : edbf51ac-e1eb-4eb9-921a-1b39b53eb688
RoleAssignmentId   : /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackh
                     ci-rg/providers/Microsoft.Authorization/roleAssignments/edbf51ac-e1eb-4eb9-921
                     a-1b39b53eb688
Scope              : /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackh
                     ci-rg
DisplayName        :
SignInName         :
RoleDefinitionName : Azure Connected Machine Resource Manager
RoleDefinitionId   : f5819b54-e033-4d82-ac66-4fec3cbf3f4c
ObjectId           : 05c316fb-a3fb-41e0-afce-3c7df0f00959
ObjectType         : Unknown
CanDelegate        : False
Description        :
ConditionVersion   :
Condition          :

RoleAssignmentName : 5a007dc9-0319-4566-92ab-124d813d093d
RoleAssignmentId   : /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackh
                     ci-rg/providers/Microsoft.Authorization/roleAssignments/5a007dc9-0319-4566-92a
                     b-124d813d093d
Scope              : /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackh
                     ci-rg
DisplayName        :
SignInName         :
RoleDefinitionName : Azure Connected Machine Resource Manager
RoleDefinitionId   : f5819b54-e033-4d82-ac66-4fec3cbf3f4c
ObjectId           : e8a84f30-03ea-4cd0-b49f-67c9f6ae8d3e
ObjectType         : Unknown
CanDelegate        : False
Description        :
ConditionVersion   :
Condition          :

RoleAssignmentName : 25dfe2b8-d442-40ef-9621-686b8061078b
RoleAssignmentId   : /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackh
                     ci-rg/providers/Microsoft.Authorization/roleAssignments/25dfe2b8-d442-40ef-962
                     1-686b8061078b
Scope              : /subscriptions/0456a995-2102-4130-82c9-6c9548ec5105/resourceGroups/msam-stackh
                     ci-rg
DisplayName        : vmw-hcs-principal-msampathkumar
SignInName         :
RoleDefinitionName : Azure Connected Machine Resource Manager
RoleDefinitionId   : f5819b54-e033-4d82-ac66-4fec3cbf3f4c
ObjectId           : d9397bc1-4321-45b8-afd5-a83130df497a
ObjectType         : ServicePrincipal
CanDelegate        : False
Description        :
ConditionVersion   :
Condition          :

If you run az ad sp list --display-name "Microsoft.AzureStackHCI Resource Provider", is the id of the outputted object the same as one of the above assignments?

@janegilring Here is the output. Dont see it -
msampathkumar@msampathkuJC2D1 createImage % az ad sp list --display-name "Microsoft.AzureStackHCI Resource Provider" [   {     "accountEnabled": true,     "addIns": [],     "alternativeNames": [],     "appDescription": null,     "appDisplayName": "Microsoft.AzureStackHCI Resource Provider",     "appId": "1412d89f-b8a8-4111-b4fd-e82905cbd85d",     "appOwnerOrganizationId": "f8cdef31-a31e-4b4a-93e4-5f571e91255a",     "appRoleAssignmentRequired": false,     "appRoles": [],     "applicationTemplateId": null,     "createdDateTime": "2021-09-13T05:16:57Z",     "deletedDateTime": null,     "description": null,     "disabledByMicrosoftStatus": null,     "displayName": "Microsoft.AzureStackHCI Resource Provider",     "homepage": null,     "id": "7f47539e-70c8-4ff7-8e78-ac6a386a946b",     "info": {       "logoUrl": null,       "marketingUrl": null,       "privacyStatementUrl": null,       "supportUrl": null,       "termsOfServiceUrl": null     },     "keyCredentials": [],     "loginUrl": null,     "logoutUrl": null,     "notes": null,     "notificationEmailAddresses": [],     "oauth2PermissionScopes": [],     "passwordCredentials": [],     "preferredSingleSignOnMode": null,     "preferredTokenSigningKeyThumbprint": null,     "replyUrls": [],     "resourceSpecificApplicationPermissions": [],     "samlSingleSignOnSettings": null,     "servicePrincipalNames": [       "1412d89f-b8a8-4111-b4fd-e82905cbd85d",       "https://sea-azurestackhci-rp.azurewebsites.net"     ],     "servicePrincipalType": "Application",     "signInAudience": "AzureADMultipleOrgs",     "tags": [],     "tokenEncryptionKeyId": null,     "verifiedPublisher": {       "addedDateTime": null,       "displayName": null,       "verifiedPublisherId": null     }   } ]

@mukundansampath Thanks, could you check your parameters-file and see whether it contains the value 7f47539e-70c8-4ff7-8e78-ac6a386a946b for the spnProviderId parameter?

@janegilring No dont see it either -
"spnProviderId": {             "value": "d9397bc1-4321-45b8-afd5-a83130df497a"         },

@mukundansampath Then I think we have found the culprit.
If I understand correctly, you provided the value for the SPN used for the deployment for the parameter spnProviderId. The correct value for this should be the id 7f47539e-70c8-4ff7-8e78-ac6a386a946b.
The guidance for populating this parameter is available here:

My bad. Phew. This took me around circles. Closing the bug. Thanks for the patient help janegilring

Closing - Bad input for the spnProviderId

@mukundansampath Thanks for the suggestion. We will give it some thought for future iterations, but I suspect it might be considered a breaking change.


use mono repo

valhalla is all in one place now. this makes things more straight forward and explicit. @heffergm your thoughts?

Works for me


Problem with mediaMerging

It doesn't merge the media queries in the below css. If the body#dashboard .pay-tip is moved below the last media query it works.
@media (max-width: 768px) {
    body#dashboard .pay-session-container {
        padding-right: 0
    }
}
body#dashboard .pay-tip {
    padding: 10px;
}
@media (max-width: 768px) {
    body#dashboard .contract-info {
        margin-top: 20px
    }
}

Desired output
@media (max-width: 768px) {
    body#dashboard .pay-session-container {
        padding-right: 0
    }

    body#dashboard .contract-info {
        margin-top: 20px
    }
}
body#dashboard .pay-tip {
    padding: 10px
}

:+1: We should do that!

It's just been released with clean-css 3.4. :fireworks:


How to reference a package defined in a imported devenv for a pre-commit hook?

Say I have a remote devenv that defines a custom package:
{ pkgs, lib, ... }:

let
 mypkg = import ./mypkg.nix { inherit pkgs lib; };
in
{
  packages = [
    pkgs.git
    mypkg
  ];
}

And then I import this devenv into another where the devenv.yaml looks like:
inputs:
  nixpkgs:
    url: github:NixOS/nixpkgs/nixpkgs-unstable
  myimport:
    url: git+https://github.com/myusername/mydevenv
imports:
  - myimport

How do I go about referencing a binary file built by mypackage in a pre-commit hook?
{ pkgs, inputs, ... }:
{

  packages = [
    pkgs.git
  ];

  pre-commit.hooks = {
    custom-hook = {
      enable = true;
      name = "Do something";
      entry = "${inputs.myimport}/mypackage-bin .... ??";
    };

  };

}

BTW, I can reference mypackage-bin just fine when in a devenv shell. But the pre-commit hook can't. Which is why I am trying to refer to it explicitly.

The best way currently is to import the package again using the path from the imported module as you have tried.

I see. If I understand that correctly, doesn't that mean I risk re-compiling the derivation because I'd be passing in the importing devenv's pkgs (nixpkgs), which might not necessary be the same as the remote devenv?


Bump dependencies

no issue

bump non-breaking deps
bump yarn.lock sub-dependencies

Coverage decreased (-0.02%) to 72.231% when pulling 30af8d155973786df67050b81ae5cbfd223319f0 on kevinansfield:bump-deps-2 into a291b43c0f2144b40153eb4b90c253b6fea2e212 on TryGhost:master.


Import resolution doesn't understand editable installation with a non-standard package-dir.

 Environment data

Language Server version: 2023.12.1
OS and version: win32 x64
Python version (and distribution if applicable, e.g. Anaconda):
python.analysis.indexing: true
python.analysis.typeCheckingMode: off

 Code Snippet
from myproj.module import variable

If myproj is imported in editable mode and there isn't a myproj/ directory anywhere, pylance marks it as a missing import.
 Repro Steps
Create a directory structure like
Project/
    .venv/
    src/
        __init__.py
        module.py
    pyproject.toml

Where pyproject.toml is
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "myproj"
version = "1"

[tool.setuptools.package-dir]
myproj = "src"

__init__.py is
from myproj.module import variable
from src.module import variable2

and the venv is created with python -m venv .venv. Run .\.venv\Scripts\activate and then pip install -e ..
 Expected behavior
Pylance should inform me that src.module is an error via reportMissingImports, while myproj.module should be understood as valid.
 Actual behavior
It does the opposite; it likes src.module, while throwing reportMissingImports at myproj.module.
 Logs
There's not really any relevant logs.
I'm aware that either

You're going to tell me about some setting I couldn't find which uses your venv's path to resolve imports rather than finding modules.
This esssentially constitutes a massive feature request.

It's just been bothering me for weeks. Thank you for your help!

What's in the .pth file for your editable install? It needs to be just a path for us to support it. We don't support the use of import hooks. See https://microsoft.github.io/pyright/#/import-resolution?id=editable-installs
Is your venv the selected interpreter within VS Code? See the "Python: Select Interpreter" command in the command palette.

The .pth file is
import __editable___myproj_1_finder; __editable___myproj_1_finder.install()

which corresponds to a file __editable___myproj_1_finder.py which seems to be created by Python by default. At the top if it it says
MAPPING = {'myproj': 'C:\\Users\\Andrew\\Code\\Issue\\src'}
NAMESPACES = {}
PATH_PLACEHOLDER = '__editable__.myproj-1.finder' + ".__path_hook__

And the rest of the file seems to be boilerplate / not specific to myproj.
My default Python interpreter path is "python.defaultInterpreterPath": "${workspaceFolder}/.venv" and choosing .venv/Scripts.python.exe doesn't change anything for me.
For reference, I'm using Python 3.12.1

I installed it in compat mode, so now the __editable__.myproj-1.pth file is
C:\Users\Andrew\Code\Project
However, nothing has changed, as I'm pretty sure the Project directory is already automatically in the path. It still doesn't handle the translation between src and myproj.

I see. We don't support that. Our support for editable installs is limited to simple (non-hook) .pth files -- the paths in them are automatically added (by the interpreter) to the path we use for import resolution.
You could make your scenario work by adding a symbolic link: mklink /D myproj src
Improving editable install support isn't a high priority for us at the moment. If you'd like, I can turn this into an enhancement discussion and we can see if it gets enough up-votes to get onto our radar.

Moving this issue to discussion as an enhancement request for comments and upvotes.


Detect if gha-auto-tag exists on repo then run it

Tags automatically created by github-actions will not automatically trigger gha-auto-tag after tagging due to githubs security policy.  Given we're now automatically patch releasing everything at a functional level this means that auto-tag is no longer running

This should have already been fixed in 1.0.1 with https://github.com/silverstripe/gha-action-ci/pull/4/files
v1 was auto-tagged to match 1.0.1


Alpha

upload or update config file
1. obtain config.yaml
path: /editConfigFile/getConfigFile
method: GET
response example:
mixed-port: 7890
log-level: debug
mode: rule
ipv6: false

2. update config.yaml
path: /editConfigFile/updateConfigFile
method: PUT
request.header:
  Content-Type: text/plain
request.Body example:
mixed-port: 7891
log-level: debug
mode: rule
ipv6: false

3. upload config.yaml
path: /editConfigFile/uploadConfigFile
method: PUT
request.header:
  Content-Type: multipart/form-data; boundary=
form-data example:
configFile: file
filePath: ""

*filePath is "",upload config.yaml,filePath is not "",you can upload your rule file、proxy file...
request.Body example:
config error,upload failed

This is not what the code should do.


Does not save tablespace information.

Hello,
Please check if this bug is still present, as he was present in the original version from sourceforge.
https://sourceforge.net/p/ermaster/bugs/106/

original version said:

Things about [Tablespace] are in development.

http://ermaster.sourceforge.net/content/manual/en/#28.2.


refactor: drop check_identity from ExecutionSpec

CheckIdentity should be enabled for all specifications, we don't need this configuration in ExecutionSpec.

/bounty 100

I would like to try it.

@tusharmath tests fail on removing it from the execution_spec.rs and the .md files.
SUPER_IMPOPRTANAT_IDENTITY:
schema @server @upstream {
  query: Query
}

type Query @addField(name: "username", path: ["users", "0", "name"]) {
  users: [User] @http(baseURL: "http://jsonplaceholder.typicode.com", path: "/users")
}

type User {
  name: String
}

SUPER_IMPOPRTANAT_CONTENT:
schema {
  query: Query
}

type User {
  name: String
}

type Query @addField(name: "username", path: ["users", "0", "name"]) {
  users: [User] @http(path: "/users", baseURL: "http://jsonplaceholder.typicode.com")
}

Diff < left / right > :
<schema {
>schema @server @upstream {
   query: Query
 }

<type User {
<  name: String
>type Query @addField(name: "username", path: ["users", "0", "name"]) {
>  users: [User] @http(baseURL: "http://jsonplaceholder.typicode.com", path: "/users")
 }

<type Query @addField(name: "username", path: ["users", "0", "name"]) {
<  users: [User] @http(path: "/users", baseURL: "http://jsonplaceholder.typicode.com")
>type User {
>  name: String
 }

/attempt #1414

How many of such tests fail? Ideally they shouldn't fail.

@tusharmath around 77 tests fails

@tusharmath the tests fail, in all of them (graphql and json server) there are either changes in the order of the parameters, methods or type declarations + schema --> schema @server @upstream, ig this is becuse these tests were not written with identity check in mind, should I try to create a script which fixes the test mds

@35C4n0r are you still on it?

@ssddOnTop Sure, feel free to use the code here https://github.com/tailcallhq/tailcall/pull/1643/commits/e2e3e370993b9493f99f063a0922b04e812c012d#diff-e47f835532ae836901521cecc2e77863f98286e977c1920b9ca545a9d4291aa0
There was one issue that was Empty directives still remained on types, maybe I'm doing something wrong.
I'll cancel my attempt.

/attempt

closing my PR for now, will be doing after #2026


Release as a universal wheel

By releasing as a Python wheel as well as a source distribution, you can speed up end user’s installs. After merging this command, to release you just need to run python setup.py clean sdist bdist_wheel upload.

Missed this, done in a63ddd1d9e43f612ba01bcbbd241b39f3743c78f.


[BUG] HTTP2采集的性能问题

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

DeepFlow Component
Agent
What you expected to happen

腾讯云的集群，启动http2和关闭http2的采集解码的前后性能差异极大。
How to reproduce
No response
DeepFlow version
No response
DeepFlow agent list
No response
Kubernetes CNI
No response
Operation-System/Kernel version
No response
Anything else
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

"启动http2和关闭http2的采集解码"

对应的具体操作是什么?可以提供对应开启和关闭状态的采集器配置
@mickeyzzc

"启动http2和关闭http2的采集解码"

对应的具体操作是什么?可以提供对应开启和关闭状态的采集器配置 @mickeyzzc

这里指的应该是通过 agent group config 控制 agent l7-protocol-enabled:
https://github.com/deepflowio/deepflow/blob/main/server/controller/model/agent_group_config_example.yaml#L946C4-L946C24
  ## List of Application Protocols
  ## Note: Turning off some protocol identification can reduce deepflow-agent resource consumption.
  ##   ProtobufRPC is disabled by default, note that ebpf-kprobe-whitelist must be configured to enable it.
  #l7-protocol-enabled:
  #- HTTP ## for both HTTP and HTTP_TLS
  #- HTTP2 ## for HTTP2, HTTP2_TLS and gRPC
  #- ProtobufRPC ## for krpc ..
  #- SofaRPC
  #- FastCGI
  #- Dubbo
  #- MySQL
  #- PostgreSQL
  #- Redis
  #- Kafka
  #- MQTT
  #- DNS
  #- Custom ## custom protocol from plugin

Any updates? @nrjatyunshan

@jiekun @mickeyzzc 如果你们两个提到的问题都是由修改 l7-protocol-enabled 引入的,需要 Assignees 中的其他人处理,我对这部分不太了解

ping @rvql @qq906907952 for help.
After enabling HTTP2 protocol support, the performance is affected seriously

@rvql, please verify the differences in CPU and MEM resource consumption between HTTP and HTTP2 in v6.4, and address any related performance issues.

After enabling HTTP2 protocol support, the performance is affected seriously

Is some progress about this

We have optimized the parsing performance of HTTP2, see #5330 for details, enjoy!
@someview @jiekun @mickeyzzc

We have optimized the parsing performance of HTTP2, see #5330 for details, enjoy!
@someview @jiekun @mickeyzzc

This PR has also been merged into the v6.4 branch.


jax.random seems to have unnecessary buffer allocations on stack

Description
The following simple code is supposed to allocate ~4GB of random array in BF16.
import jax
import jax.numpy as jnp

if __name__ == "__main__":
    key = jax.random.key(0)

    jax.profiler.start_trace("/tmp/profile/tmp")
    arr = jax.random.uniform(key, (524288, 4096), dtype=jnp.bfloat16, minval=-1, maxval=1)
    arr.block_until_ready()

    jax.profiler.stop_trace()

In the profile, I see to things:

First a u32[524288,4096]{0,1:T(8,128)} buffer is allocated through broadcast (~8GB)
Then it's reshaped to u32[524288,4096]{0,1:T(8,128)} but still has resulted in an additional copy (~8GB)
Then it's copied to bf16[524288,4096]{1,0:T(8,128)(2,1)}

So I have two questions:

Isn't it possible to directly allocate 4GB in HBM and then initialize it? What's the usage of the stack allocations?
If not possible, why the reshape has resulted in an additional copy. That seems complete unnecessary to me.

Overall, I feel ~20GB allocation for having a 4GB buffer seems a lot of overhead to me.
System info (python version, jaxlib version, accelerator, etc.)
TPU V4-8
jax:    0.4.26
jaxlib: 0.4.26
numpy:  1.26.4
python: 3.10.13 (main, Aug 25 2023, 13:20:03) [GCC 9.4.0]
jax.devices (4 total, 4 local): [TpuDevice(id=0, process_index=0, coords=(0,0,0), core_on_chip=0) TpuDevice(id=1, process_index=0, coords=(1,0,0), core_on_chip=0) TpuDevice(id=2, process_index=0, coords=(0,1,0), core_on_chip=0) TpuDevice(id=3, process_index=0, coords=(1,1,0), core_on_chip=0)]
process_count: 1
platform: uname_result(system='Linux', node='t1v-n-0549b5be-w-0', release='5.13.0-1023-gcp', version='#28~20.04.1-Ubuntu SMP Wed Mar 30 03:51:07 UTC 2022', machine='x86_64')

Have you tried it under jit?

@jakevdp yeah same result:
import jax
import jax.numpy as jnp

@jax.jit
def get_random_array(key):
    return jax.random.uniform(key, (524288, 4096), dtype=jnp.bfloat16, minval=-1, maxval=1)

if __name__ == "__main__":
    key = jax.random.key(0)
    jax.profiler.start_trace("/tmp/profile/moe/tmp")
    arr = get_random_array(key)
    arr.block_until_ready()
    jax.profiler.stop_trace()

What RNG implementation are you using? If it's the default (threefry), have you tried using it in "partitionable" mode? You can do that by adding the line:
jax.config.update('jax_threefry_partitionable', True)

at the top of your file.
https://github.com/google/jax/discussions/18480 has more details (and other ways to set the option).
I ask because partitionable Threefry mode often involves fewer reshapes and stacking.

@froystig the original issue is resolved, however FYI, the context manager seems not to be working (the memory issue apears with context manager, but not with jax.config.update('jax_threefry_partitionable', True) at top:
import jax
import jax.numpy as jnp

@jax.jit
def get_random_array(key):
    with jax.threefry_partitionable(True):
        return jax.random.uniform(key, (524288, 4096), dtype=jnp.bfloat16, minval=-1, maxval=1)

if __name__ == "__main__":
    key = jax.random.key(0)
    jax.profiler.start_trace("/tmp/profile/moe/tmp")
    arr = get_random_array(key)
    arr.block_until_ready()
    jax.profiler.stop_trace()

Thanks! Minimized and filed as #21061.


_TypeError (type 'int' is not a subtype of type 'double')

Good afternoon I encountered a problem loading the animation. The file itself was exported from Lottie Workspace.

@sartajroshan To solve this problem, please fix double speed = 1.0; to num speed = 1.0;. I won't be able to send a Pull Request.

can you share that dotLottie file?

I am facing the same issue right now


Wrong Ox ability trigger data

The Ox ability trigger is currently set as AfterAttack and it should actually be Faint:
        "trigger": "AfterAttack",
        "triggeredBy": {
          "kind": "FriendAhead",
          "n": 1
        },

Good spot!
Thanks for your contributions of all the incorrect data values. I manually populated them all initially so its great to have another set of eyes on them catching the mistakes.

Fixed, thanks!

Good spot!
Thanks for your contributions of all the incorrect data values. I manually populated them all initially so its great to have another set of eyes on them catching the mistakes.

Yeah, no problem - sorry if this isn't a good place to say this because it doesn't relate to the issue, but I've been using the API and it's mostly really good, thank you so much for making it, but I wanted to ask:
There are a bunch of things I reported that I noticed while implementing, but there are some things I wouldn't consider bugs still might be good to change. Some pet abilities (from what I noticed: sheep,  deer, rooster and rat) where you can't actually infer all of the ability's effect just from the fields present.
Do you think that's something worth changing? I'm not sure if inferring abilities is a target you put for the shape, but if you do want to change it, I'd be happy to work on it with you and try to help figuring out the best shape for it.

I would be more than happy to look at any suggestions/feedback you have.
Some context for what I've been trying to do:

My end goal is to be able to generate good descriptions for all the different pets and abiliities, including the gotchas that trip up new players (I don't know if you've ever thought "wtf does that do, i'm 1hp and don't want to risk taking that and guessing what it does).
I spent a while manually getting that data copied out of that game, and now it makes sense for it to be publicly accessible (through the API file) so hopefully nobody else has to go through that pain again 😄
As I am going through each of the pets and getting reasonable descriptions generated on the pet pages (I've only got tier 1 to a good state so far). Now that I'm doing this, I get an opportunity to go back through and refine how the data in the API file is shaped.

I wouldn't want to give the impression that what is in the api.json file is super well planned, or can't be changed, because I'm changing it all the time. So if you have feedback, I'd love to hear it, and its probably a good time to make those changes!
For reference, if you search the repository for "TODO" you'll see there's already a bit of a back-catalogue of places I've already found that could do with being improved.

That's awesome! Glad to see you're aware of most of the changes that should be added, like in the rooster. I also checked out the generated ability descriptions and they're very cool - they make it a lot easier to understand.
Here are some other changes that should be discussed, focusing on pet summons:
Summon location

When spawning a pet on your own team using a standard trigger (Cricket, Bee, etc.), the default "implied" behavior is that it will spawn in-place of the pet that triggered the event. However, for the fly and the rat, that location would be wrong.
One possible solution is to add an attribute/field called "location" that will either beFrontOfTeam, BackOfTeam, or InPlace
A different solution could be to simply let it be. You could say it's fair to assume that when the triggeredBy.kind attribute is Self it would spawn in place and when it's anything else would spawn at the front of the team (for the fly), and that it's also fair to assume that because the enemy team is usually displayed inverted, if the team attribute is Enemy it would spawn at the back of the team (for the rat).

Status effects

When the deer faints, it summons a bus with the chili status effect - this is currently not mentioned in the api.
One possible solution to this is to add the status attribute on the bus itself, like in the scorpion. This may be an issue for a reason I specified in the Scorpion's section.
Another solution, which seems more future-proof, but less logical given the current pets, could be adding a withStatus optional attribute to the SummonPet ability effect, similar to the current withHealth and withAttack

Summon count

When the sheep faints, it spawns 2 rams - this is currently not mentioned in the api.
One possible solution to this is to add a count attribute to the SummonPet ability effect.
Another solution is to change the sheep effect to AllOf, with 2 effects in the effects attribute, each being a SummonPet effect that summons 1 ram.

Scorpion
Poison status effect

The scorpion has 2 issues, the first one being that the poison status effect has undefined behavior. A way to solve this is to change it from DealDamage to ReduceHealth  like the skunk with a percentage of 100.
This wouldn't mention the fact melon armor/coconut shield blocks this status but not a skunk's attack. This functionality in the game is very inconsistent in my opinion, and I think the only way to solve it is to add a boolean ignoreShields attribute to the
ReduceHealth ability effect.

Summoning

The second problem isn't exactly a problem, but more of an unexpected behavior for new players you should make sure to cover in your descriptions: When a pet has a status attribute on it (currently only for the Scorpion, but maybe also for the bus and other pets in the future), it can be assumed that when it's spawned from an extra life it will still have that status effect, but this is not the case.
You could also argue this is an actual problem, but one with the extra life status, and should be specified there, but I beg to differ. I haven't seen this happen, but I think that if a whale would spit out a scorpion that, when swallowed, didn't have the poison status effect, it wouldn't have it on the new one either. If this is the case - then the rule is that only if the triggering pet had the status effect, then the summoned pet will have it - which isn't an issue, but an unexpected behavior. If it isn't the case - then this should simply be documented in the extra-life effect as overrideStatus: true (or not documented at all).

Note
I've noticed that for all status-effects that change damage, their effect is set to a wrong ModifyDamage, which should only be set for the weak status, and all others should be replaced to DealDamage
Thank you again for being so active and willing to take feedback and improve the project!


Parser does not recognize names with nr.

Lacanobia nr. subjuncta Bold:Aab, 0925

not releavant after moving to gnparser code


VSTS Build and Deployment configuration

Hi, this is all good, however I was trying to automate build and deployment using VSTS. I created a CI/CD using the wizard, but the build bit fails as there is nothing to publish. I had to go in and rename the folder 'ClientApp' to 'wwwroot' and then it all worked perfectly. Does this need to be fixed in the scafolding template...?

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

ID: f9e617bc-bf8d-0348-5fd4-7b040e4d2ff3
Version Independent ID: ded5c7ec-feee-b573-ffbf-c972d25135bb
Content: Deploy your app to an Azure web app
Content Source: docs/build-release/apps/cd/azure/aspnet-core-to-azure-webapp.md
Service: unspecified
GitHub Login: @alexhomer1
Microsoft Alias: ahomer

I have worked through the example. The first time I accidently selected the wrong repo from my project and got the same "No files to publish" error. When I selected the correct repo (dotnetcore-sample) freshly imported from the URL provided in the topic, it worked fine. Please try again and let me know if you continue to experience issues.

Were you publishing this in VSTS..? I its works fine publishing from Visual
studio. Its only when you automate it does it cause an issue...
Thanks
John
On 19 April 2018 at 13:02, Alex Homer<EMAIL_ADDRESS>wrote:

I have worked through the example. The first time I accidently selected
the wrong repo from my project and got the same "No files to publish"
error. When I selected the correct repo (dotnetcore-sample) freshly
imported from the URL provided in the topic, it worked fine. Please try
again and let me know if you continue to experience issues.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/vsts-docs/issues/576#issuecomment-382708764,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfV8N8-zbS_ArL0qtJmIP9P6TGdhumb1ks5tqHy_gaJpZM4TaFYI
.

--
John Hyde
Technical Operations Manager
The MTM Agency      |   Saxon House, Saxon Wharf, Lower York St.,
Southampton,   SO14 5QF
+44 (0) 2380 215 399 <+44%2023%208021%205399> |   themtmagency.com   |
<EMAIL_ADDRESS>

This is out of date, there is not 'Configure Continuous Delivery' option in Azure when selecting a Web App.

closing due to no activity.


[CARBONDATA-3907]Refactor to use CommonLoadUtils API's firePreLoadEvents and firePostLoadEvents to trigger Load pre and post events

Why is this PR needed?
Currently we have 2 different ways of firing LoadTablePreExecutionEvent and LoadTablePostExecutionEvent. We can reuse firePreLoadEvents and firePostLoadEvents methods from CommonLoadUtils to trigger LoadTablePreExecutionEvent and LoadTablePostExecutionEvent respectively in alter table add segment flow as well.
What changes were proposed in this PR?
Reuse firePreLoadEvents and firePostLoadEvents methods from CommonLoadUtils to trigger LoadTablePreExecutionEvent and LoadTablePostExecutionEvent respectively in alter table add segment flow.
Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/3406/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1664/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/3424/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1682/

@VenuReddy2103 please make PR heading short like below
Refactor to use CommonLoadUtils API's  firePreLoadEvents and firePostLoadEvents to trigger Load pre and post events

retest this please

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/3455/

Build Success with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.5/1713/

LGTM


Tutorial Guide is not working properly under certain conditions in beta version

Descption
Tutorial Guide is not working after deleting an element
To Reproduce
Steps to reproduce the behavior:

Go to 'beta.circuitverse.org/simulator'
Select circuit element, and then delete that element.
Now click on Help
Try to open tutorial guide
It will work for circuit element, but when you click next, it will hang.

Expected behavior
It should continue to display guide for all the panels.
Screenshots

Now it's not showing the tutorial guide

Nice catch @Rajat-S-Patel, This is happening because the property menu is not active. Also noticed that if the menu's are collapsed, it won't work properly.
@abstrekt any inputs here?

Nice catch @Rajat-S-Patel, This is happening because the property menu is not active. Also noticed that if the menu's are collapsed, it won't work properly.
@abstrekt any inputs here?

The tutorial pop-ups are attached to the elements but the offsets are static & fixed, it doesn't actually hang, but as the properties panel is currently hidden so is the popup..  though as a consequence the next previous buttons get hidden but the tutorial also operates with the arrow keys and the tour continues when pressing right or left arrow key..
As a consequence of draggable components and static offset, I also noticed something like this:

as the offset for this panel set to the right of the element.
A solution could be to expand the panels if minimized or show if hidden upon re-initiating the tutorial,
but the offset problem with draggable panels is a bit tricky..


I need some help to understand this package

Hello and thank you for this great package!
I need help :)
I was reading the documentation and I'm not understanding the Item model.
First, I don't have a model to use as a shoppable item. So, should I use the model Item as a product model? In my case I'm using the model Item as Product(I changed in the config file).
Or, I need to create a new model to be my products model?
And, I didn't understand this attributes:
class — Class reference of the model being used as shoppable item. Optional when using array data.
reference_id — Id reference of the model being used as shoppable item. Optional when using array data.
I'll use them only if I create my own model for products?
Sorry if I'm making some dumb questions but I can't continue without know this.
Thank you!

The magic of this package is that you can convert any existing model and use it as shoppable item thanks to the ShopItemTrait. That is what the properties class and reference_id are used for.
Q: I don't have a model to use as a shoppable item. So, should I use the model Item as a product model?
Yes and No.
Yes, you can use the shop without a shoppable Item, like this:
$cart->add([
    'sku'    => 'custom.sku',
    'price'  => 9.99
]);

But no, you shouldn't user model Item as your product model. The reason why is because the Item model is used to transfer items through carts and orders, and its whole purpose is to keep control of what has been purchased, it should not be used as a product catalog or product database because you'll break its functionality.
Q: I need to create a new model to be my products model?
That would be wiser. That way you can manage your products information independently from the checkout system.
OFF TOPIC: One of our future goals is to include a products solution as well, but is out of current development scope.

Now I got it. Thank you so much for this fast reply.


[MMCA - 4493] - Move business logic out of the view

Description - Code changes to move out the logic from the view and make use of view model
Below have been done as part of this PR

Add new test classes
create view model
move the logic out of the view and make use of the view model
minor refactoring

Do we want to update
uk.gov.hmrc.sbt-auto-build can be updated to 3.20.0

Do we want to update uk.gov.hmrc.sbt-auto-build can be updated to 3.20.0

Done


Port #9601 to 17.8: Don't monitor the whole workspace for config files in Visual Studio

Cherry picked the commits with no conflicts. Nice to get a straight forward one.

Tested and confirmed when loading a solution with project.razor.vs.bin files in both obj\Debug\net7.0 and obj\Debug\net8.0, we correctly only load the net8.0 project. Verified by checking debug logs for the string "net7" and not finding it :)

Had to disable the integration tests. Did it such that they should cause a conflict on the auto-merge so we won't forget to fix things :)


M68000 Addressing modes that should be one operand are being split into multiple operands

Describe the bug
For different instructions using the same addressing mode, sometimes one operand (using non-direct addressing) is split into multiple operands. In other instructions this same addressing mode is correctly one operand.
To Reproduce
Steps to reproduce the behavior:

Iterate through instructions, and for each instruction iterate through the operands and print out the result from getOpObjects() for that index of operand

Expected behavior
These operands should not be split up
Screenshots
Here, we can see instructions where the -0x24c and A6 of the (-0x24c,A6) operand are being interpreted as 2 separate operands, resulting in 3 total operands where there should be only 2 (output from attached script):
movem.l { D0 D2 D3 A1 A2},(-0x24c,A6)
  [D0, D2, D3, A1, A2]
  [-0x24c]
  [A6]
movem.l (-0x24c,A6),{ D0 D2 D3 A1 A2}
  [-0x24c]
  [A6]
  [D0, D2, D3, A1, A2]

But in other instructions, an operand using the same addressing mode is correctly interpreted as an operand with multiple objects:
move.b (0x148,A5),D0b
  [0x148, A5]
  [D0b]
move.l D2,(-0x64,A6)
  [D2]
  [-0x64, A6]

In these cases, I'm not sure if the offset and width values in curly brackets should be interpreted as their own operand or not, but if not then it's another occurrence of the issue:
bfins D0,(-0x4,A6){0x5:0x10}
  [D0]
  [-0x4, A6]
  [0x5]
  [0x10]
bfextu (A1){D0:0x4},D0
  [A1]
  [D0]
  [0x4]
  [D0]
bfexts (A1){D0:0x0},D0
  [A1]
  [D0]
  [0x0]
  [D0]
bftst (A0){D0:0x1}
  [A0]
  [D0]
  [0x1]

Attachments
Hacky script to print out this information:
# Print operands of functions with >2 operands
#
# @author balex
# @category M68K

from ghidra import *

listing = currentProgram.getListing()
fm = currentProgram.getFunctionManager()

for func in fm.getFunctions(True):
    addr = func.getBody()
    instrs = listing.getInstructions(addr, True)

    for instr in instrs:
        numOperands = instr.getNumOperands()

        if numOperands > 2:
            print(instr)
            for i in range(numOperands):
                print('  ' + str(list(instr.getOpObjects(i))))

Environment:

OS: [Manjaro Linux 21.2.6
Java Version: <IP_ADDRESS>
Ghidra Version: 10.1.3
Ghidra Origin: pacman

Additional context
N/A

Can you tell me what bytes these different movem instructions have? I'd like to isolate which constructors are involved in this.

Here are the bytes:
48 ee 06        movem.l    { D0 D2 D3 A1 A2},(-0x24c,A6)
0d fd b4

4c ee 06        movem.l    (-0x24c,A6),{ D0 D2 D3 A1 A2}
0d fd b4

The reason for the differing number of operands in the movem instructions is that those instructions are not using a subconstructor in the sleigh code. The reason they don't use one but the other move instructions do is because of the additional data for the registers in the movem sits in-between. We could potentially consider fixing that but it may be more effort than it's worth.
As for the bf* instructions, it seems like they are internally consistent with themselves and they need each individual piece to be separate.
You could try using  getInputObjects, and getOutputObjects instead of getOpObjects that might give you some additional information with more dataflow.


Iteration Plan for Version 2.0.0 (Nov 2021)

This is the roadmap - a more user-friendly version of the milestone view - TBA

See milestone 2.0.0
Editor
Query Builder
Integration

Editor

Bug: Issue with DnD from relational mapping table source tree for joins

Query Builder

Bug: Value Specification Collection Editor Only handles String
Bug: Query builder roundtrip fails when we have a derived property in graph-fetch
Feature Request: do validation on query projection columns with duplicated names
Feature Request: support derivation as LHS for filter
Feature Request: support more date/time capabilities in query filter
Feature request: Handle subtypes in query builder
Bug: Unable to open query builder form editor for multiply Boolean expression of an explosion property

Integration

Feature request: Add support for querying a versioned class (i.e. milestoned)
Feature request: Handle processing of milestoning classes
Feature request: Stand-alone enterprise model explorer (MVP)
Add extension support for external language Morphir
Feature request: Properly handle duplicated attributes (in enumerations, classes, associations, profiles...)


Instead of a snippet, a random section of the current file is pasted after the original paste.

Type: Bug
I thought this was a problem with the extension "arduino-snippets."  I would ctrl-c to copy a couple of lines of code, the ctrl-v to paste it in.   I did get what I pasted, and the I'd get a block of random code from elsewhere in the file.  I could ctrl-z to undo the extra block of code, but this was a hassle.  I stopped the "problem" by disabling the extension.  The Arduino file type is .ino, and only editing the .ino files exhibited the problem.
I had another extension installed - "OpenSCAD Language Support."  This adds some nice features with files of type .scad.  Lo! And Behold!  The same bad paste behavior occurred.  I had to disable this extension to avoid the problem while editing .scad files.
Two different extension, one bad issue.  Seems that there might have been an API that these two extension use that changed.
 See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


[BUG] Creating cluster stuck Waiting for probes: etcd, kubelet

Rancher Server Setup

Rancher version: V2.7.4
Installation option (Docker install/Helm Chart): Docker install
Proxy/Cert Details: Rancher self generated

Information about the Cluster

Kubernetes version: v1.23.17+rke2r1
Cluster Type (Local/Downstream): Custom

User Information

What is the role of the user logged in? Admin

Describe the bug
After creating a cluster and adding 1 etcd, 1 control plane and 1 worker node. The Cluster agent is not connected.
Provisioning Log states "configuring bootstrap node(s) custom4783793d057: waiting for probes: etcd, kubelet"
To Reproduce
Via docker install Rancher v2.7.4 then create a customer cluster (using Azure VMs) and register 1 of each of the following nodes: etcd, control plane and worker node.
Result
Cluster is struck waiting for probes
Expected Result
Cluster is operational and ready for use.
Screenshots
(none attached)
Additional context
Have tried this multiple times.

Any news ? Or project is dead ?


use support?

## How it could be?
Is your feature request related to a problem? Please describe in details
1.Can support the database PostgreSQL?
2. Does the current version support TCC?
3. seata and tcc-transaction, LCN, ByteTCC, Himly, EasyTransaction performance Which is better?
4.Whether to support docker environment deployment
5.Can it be used for large-scale applications?
6.Can it be integrated with third-party database sharding tools such as myCat, shardingsphere.

1.we have plan to support postgreSQL.
2.already supported
3.i can't say our seata is better.it depends on the actual business scenarios.
4.yes
5.yes.seata was designed for large-scale application.But the cluster-related functionality is still in development.
6.In theory, it should be possible, but practice is needed. In fact, distributed transaction is irrelevant to sharding.

I will close this issue,if you have further question about this issue,please comment here.thank you!


cc-wrapper: fix -Bprefix to not confuse lib/libc++.so and bin/c++

Before this commit, pkgs/build-support/cc-wrapper/add-flags.sh was using -B@out@/bin instead of -B@bintools@/bin to force cc to use ld-wrapper.sh when calling ld. That was confusing cc when asked to print the location of a library precisely named c++ because -B prefixes are also used by cc to find libraries, see https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html#index-B
Indeed, instead of having cc --print-file-name c++ failing to found a c++ library and just returning the given c++ string to let a linker resolve it thereafter, it was finding that @out@/bin/c++ executable, mistaking it for a library and returning its absolute path, forcing the linker to load an executable as a library.
Users should likely ask for libc++.so instead of c++, but that's not what's done,
For instance this confusion was breaking with GHC on Darwin:
https://gitlab.haskell.org/ghc/ghc/-/issues/23138#note_567034
It's not clear to me why only the Darwin port of GHC was affected since this -B was also injected in the Linux toolchain.
And I don't have a Darwin host to test whether this fix is enough to solve the GHC bug mentioned.
But the result of cc --print-file-name c++ is clearly wrong to motivate this fix:
Before this commit:
$ nix run -f . stdenv.cc -- --print-file-name c++
/nix/store/9bv7dcvmfcjnmg5mnqwqlq2wxfn8d7yi-gcc-wrapper-13.2.0/bin/c++

After this commit:
$ nix run -f . stdenv.cc -- --print-file-name c++
c++

Description of changes

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.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

[X] Fits CONTRIBUTING.md.

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

@ju1m This fixed all our haskell builds on Arm64 darwin, which were trying to link in clang++...

ping. What is this PR waiting on and can it move forward?
I would like this to be merged so that we can drop the patch in haskell.nix. I recently duplicated this work (https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13005) because I was unaware that this had been upstreamed. Similarly, landing this PR would close https://gitlab.haskell.org/ghc/ghc/-/issues/23138. cc @Ericson2314

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1812

@Ericson2314 are you able to help out with a review here, or do you know if any of the other stdenv.cc maintainers are more Darwin-focused?

I found https://gitlab.haskell.org/ghc/ghc/-/issues/23138 while investigating the failed built of fmt on staging-next https://github.com/NixOS/nixpkgs/pull/328673 due to ld64 upgrade in https://github.com/NixOS/nixpkgs/pull/307880, which lead me to this PR.

@Ericson2314 are you able to help out with a review here, or do you know if any of the other stdenv.cc maintainers are more Darwin-focused?

I’m probably the one you want. This seems fine. I did a hacky test modifying add-flags.sh in the store to smoke test that it worked (and it did). I reverted that, and I’m now doing a bootstrap build with your commit cherry-picked onto staging-next.
I don’t know if any other cc-wrapper maintainers want to weigh in, but once I confirm it builds, I’ll approve and merge.

[X] Rebase to fix conflict with 9f589ea3a088fd2cdca91a14c0f59fb2331f972f

Once checks are green, this can be merged.


tests: Make InstrumentPass tests use SinglePassRunAndMatch<> and stateful pattern matching

Reduce the amount of repeated boilerplate in the test cases by using pattern matching for common code that is added by these passes.  This will make it easier to keep the tests working when making changes to how these passes work.

@greg-lunarg  please review this when you have a chance.


Suggestion for Deadlock issue fix

Suggestion for Deadlock issue

I see you're a step ahead already! Thanks again :+1:

Ah - my mistake, I was looking for the "Merge" button only to realise this is targeting the master branch on your repo rather than the Serilog one. Let me know if you decide to send a PR our way! Cheers :-)

Thanks for the quick reply and looking into it. To be honest, I am not very familiar with git and the proper process. I created my repo "accidentally" when I wanted to see a list of the existing forks. It seems like I created more confusion than actually helping out (as I intended)


Is it possible to use printf like format for logging the message in v 8.91?

I currently write the log message as:
LINFO << "System Event Received: " <<  strVar);

where strVar is a string variable

Is it possible to write in printf like format?
LINFO << ("System Event Received:  %s", strVar);
If so, will it give some performance benefit too?

@syedbokhari
I think you can find answer from here: https://github.com/easylogging/easyloggingpp#printf-like-logging