Is there a way to make the relative layout to face the camera while placing

Hi
I am working on AR app, where I use relative layout to show some content. While I am trying to place the layout in the camera, sometime it faces my camera and sometimes it faces a different direction.
P.S: I am putting the layout in the air by this below code
            frame.getCamera().getDisplayOrientedPose()
                    .compose(Pose.makeTranslation(0f, -1.2f, -2.5f))
                    .extractTranslation());
    AnchorNode anchorNode = new AnchorNode(anchor);```

Making changes the makeTranslation values, will it fix this issue?

There is an example of doing this in the solar system sample.  In Planet.java, the info card is updated to always face the camera.
    Vector3 cameraPosition = getScene().getCamera().getWorldPosition();
    Vector3 cardPosition = infoCard.getWorldPosition();
    Vector3 direction = Vector3.subtract(cameraPosition, cardPosition);
    Quaternion lookRotation = Quaternion.lookRotation(direction, Vector3.up());
    infoCard.setWorldRotation(lookRotation);

Closing due to inactivity.

By using the code below, the textView is always face the camera. However, the textview object is keeping shaky all the time. Is that possible to add anchor with the code below to keep the textview object steady and static while rotating the phone?
`
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
    arFragment = (ArFragment) getSupportFragmentManager().findFragmentById(R.id.sceneform_arfragment);
    arFragment.getPlaneDiscoveryController().hide();
    arFragment.getPlaneDiscoveryController().setInstructionView(null);
    arFragment.getArSceneView().getPlaneRenderer().setEnabled(false);

    node = new Node();
    node.setParent(arFragment.getArSceneView().getScene());
    node.setLocalPosition(new Vector3(0f, 0f, -1f));

    ViewRenderable.builder()
            .setView(this, R.layout.card)
            .build()
            .thenAccept(renderable -> {
                node.setRenderable(renderable);
                TextView textView = (TextView) renderable.getView();
                textView.setText("Hello Sceneform");
            });
    arFragment.getArSceneView().getScene().addOnUpdateListener(this::onSceneUpdate);

}
arFragment.getArSceneView().getScene().addOnUpdateListener(this::onSceneUpdate);
private void onSceneUpdate(FrameTime frameTime) {
    // Let the fragment update its state first.
    arFragment.onUpdate(frameTime);

    Vector3 cameraPosition = arFragment.getArSceneView().getScene().getCamera().getWorldPosition();
    Vector3 cardPosition = node.getWorldPosition();
    Vector3 direction = Vector3.subtract(cameraPosition, cardPosition);
    Quaternion lookRotation = Quaternion.lookRotation(direction, Vector3.up());
    node.setWorldRotation(lookRotation);

}

`


ACNA-256 - Crashes if non existing WSK_CONFIG_FILE while setting WHISK_* vars

Describe the bug
I want to deploy my resources based solely on environment vars and make sure vars in my .wskprops file are not parsed.
In wsk I can set the WSK_CONFIG_FILE to a non existing file and set WHISK_* env vars to define my namespace, auth and apihost.
In aio runtime if WSK_CONFIG_FILE is not existing an error is raised
Also aio runtime list and aio runtime deploy do not raise the same error
To Reproduce
In wsk I can do:
WSK_CONFIG_FILE=doesnotexist WHISK_NAMESPACE=<ns> WHISK_AUTH=<auth> WHISK_APIHOST=<apihost> wsk list
aio runtime list:
$ WSK_CONFIG_FILE=doesnotexist WHISK_NAMESPACE=<ns> WHISK_AUTH=<auth> WHISK_APIHOST=<apihost> aio runtime list
›   Error: failed to get the data for a namespace: {}

aio runtime deploy:
$ WSK_CONFIG_FILE=doesnotexist WHISK_NAMESPACE=<ns> WHISK_AUTH=<auth> WHISK_APIHOST=<apihost> aio runtime deploy
›   Error: Failed to deploy: OpenWhisk config file 'doesnotexist' does not exist.

A simple workaround is to touch doesnotexist before and then it works just fine.
Expected behavior
No error or uniform error message
Desktop (please complete the following information):
@adobe/aio-cli/1.4.1 darwin-x64 node-v10.15.3

I just tested against master and this appears to function identically to wsk list where WSK_CONFIG_FILE is only referenced if one of the required values is missing.


✨ API: add File() or NewFile() to API to create a new file

What are you trying to do?
Today, there is no way to ask the API for a new file directly. You have to go through Directory.
We got close to seeing this in the past, but it hasn't happened yet.

https://github.com/dagger/dagger/issues/3028
https://github.com/dagger/dagger/issues/3884

Why is this important to you?
Many users have requested this including @sagikazarmark @vito @helderco @jpadams
How are you currently working around this?
myFile := dag.Directory().WithNewFile("file.json", content).File("file.json")

query test($content: String = "{}") {
  directory {
    withNewFile(path:"file.json", contents: $content) {
      file(path: "file.json") {
        id
      }
    }
  }
}

We already have a dag.File but it's deprecated because it was used to load a File from a FileID:

https://github.com/dagger/dagger/pull/6934

However, we have:

dag.Container that creates an empty container
dag.Directory that creates an empty directory
dag.HTTP that returns a File from a URL

So having dag.File would be more consistent than dag.NewFile:
type Query {
  file(name: String!, contents: String!): File!
}

The problem is Query.file is deprecated but haven't been removed. We can't change the deprecation for just the ID argument like we did with Query.directory because it's a required argument in Query.file.
We could wait to add this until a release after v0.12 (i.e., release without current Query.file, then new release with new Query.file). But I feel inclined to just replace, instead of remove + add in different releases.

So having dag.File would be more consistent than dag.NewFile

On the other hand, dag.NewFile would be more consistent with Container.WithNewFile and Directory.WithNewFile.
One could argue though, that with the addition of dag.File those calls could be replaced with WithFile instead, leading to WithNewFile functions getting deprecated.

So having dag.File would be more consistent than dag.NewFile

On the other hand, dag.NewFile would be more consistent with Container.WithNewFile and Directory.WithNewFile.

It's more inconsistent with dag.Container and dag.Directory than with those though (WithNew, rather than NewXXX).

One could argue though, that with the addition of dag.File those calls could be replaced with WithFile instead, leading to WithNewFile functions getting deprecated.

I thought about that but I'm not sure. If you don't want to repeat the file name:
source.WithFile("", dag.File("file.json", "{}"))

But internally that'll be equivalent to:
source.WithFile("", dag.Directory().WithNewFile("file.json", "{}").File("file.json"))

Which produces a llb.Merge between the current directory and an empty directory with the new file. Whereas Directory.withNewFile performs a llb.State.File op on the directory State directly.
Curious if the merge has more benefits and if deprecating WithNewFile in favor of it would be better though.


DisplayName rather than Name

https://learn.microsoft.com/en-us/entra/identity/users/licensing-groups-resolve-problems#duplicate-proxy-addresses
Because of the Exchange Online change, the code should be updated.
Duplicate proxy addresses section
current:
Get-Recipient -Filter "EmailAddresses -eq<EMAIL_ADDRESS>| fl Name, RecipientType,Emailaddresses
better:
Get-Recipient -Filter "EmailAddresses -eq<EMAIL_ADDRESS>| fl DisplayName, RecipientType,Emailaddresses

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

ID: cb0fc0fc-b772-de61-258a-a6fd4ea9711c
Version Independent ID: 04e86827-c8da-a01a-2cb5-aeb2fbcef610
Content: Resolve group license assignment problems - Microsoft Entra ID
Content Source: docs/identity/users/licensing-groups-resolve-problems.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @barclayn
Microsoft Alias: barclayn

@mprentice22153
Thanks for your feedback! We will investigate and update as appropriate.

@mprentice22153
Thank you for bringing this to our attention! We've initiated a pull request (PR) to address this issue. Once the author reviews the changes, they will be merged, and the updates should go live shortly. Your diligence is much appreciated!


Wrong paths in "setup" output

I've installed ocicl with DESTDIR like this:
DESTDIR=~/.ocicl-root make install

And have got paths leading to ~/.local/share instead of ~/.ocicl-root/share:
mkdir -p /Users/art/.ocicl-root/bin || true ;
echo

echo Darwin
Darwin
echo "Installing for macOS arm64..."
Installing for macOS arm64...
cp ocicl /Users/art/.ocicl-root/bin ;
tar xvf oras/oras_1.0.1_darwin_arm64.tar.gz -C /tmp oras > /dev/null 2>&1;
mv /tmp/oras /Users/art/.ocicl-root/bin/ocicl-oras
/Users/art/.ocicl-root/bin/ocicl setup
;; Add the following to your lisp startup file (.sbclrc/.eclrc/.abclrc):

#-ocicl
(when (probe-file #P"/Users/art/.local/share/ocicl/ocicl-runtime.lisp")
  (load #P"/Users/art/.local/share/ocicl/ocicl-runtime.lisp"))
;; Any systems you install in /Users/art/.local/share/ocicl/
;; will be available globally unless you comment out this line:
(asdf:initialize-source-registry '(:source-registry :ignore-inherited-configuration (:tree #P"/Users/art/.local/share/ocicl/")))

It would be nice to provide a code ready to be inserted into config.

Thanks for pointing this out. I'll have a look.
On Sat, Aug 12, 2023 at 12:28 PM Alexander Artemenko
@.***> wrote:

I've installed ocicl with DESTDIR like this:
DESTDIR=~/.ocicl-root make install
And have got paths leading to ~/.local/share instead of ~/.ocicl-root/share:
mkdir -p /Users/art/.ocicl-root/bin || true ;
echo
echo Darwin
Darwin
echo "Installing for macOS arm64..."
Installing for macOS arm64...
cp ocicl /Users/art/.ocicl-root/bin ;
tar xvf oras/oras_1.0.1_darwin_arm64.tar.gz -C /tmp oras > /dev/null 2>&1;
mv /tmp/oras /Users/art/.ocicl-root/bin/ocicl-oras
/Users/art/.ocicl-root/bin/ocicl setup
;; Add the following to your lisp startup file (.sbclrc/.eclrc/.abclrc):
#-ocicl
(when (probe-file #P"/Users/art/.local/share/ocicl/ocicl-runtime.lisp")
(load #P"/Users/art/.local/share/ocicl/ocicl-runtime.lisp"))
;; Any systems you install in /Users/art/.local/share/ocicl/
;; will be available globally unless you comment out this line:
(asdf:initialize-source-registry '(:source-registry :ignore-inherited-configuration (:tree #P"/Users/art/.local/share/ocicl/")))
It would be nice to provide a code ready to be inserted into config.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Ok, having given this some thought....
DESTDIR is supposed to point at the install location for binaries, which could potentially be shared by users.  So DESTDIR=/usr or DESTDIR=/usr/local would make sense.
The settings in your .sbclrc are supposed to be user specific.   On linux, I'm following the XDG spec (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html ). So I think the current setup is correct.
Maybe ocicl should read an OCICL_HOME environment variable to set the base directory for the user runtime files.  Does that make sense to you?

This makes sense. In this case this new var should be mentioned in README.


Advance to "Update to latest db connection, postgrex and mariaex" commit.

Coverage decreased (-0.5%) to 85.749% when pulling 87efc285fc07f6a6ea3d2b16b9d3e81ef622ae6e on update-to-june-deps into 3e5d9c2818d44398586b1314fa2d5380b884666c on master.


Update Settings “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for helltop processing.

Name
Link

🔨 Latest commit
b124647739a86ccc2b42a4bad694b2fc1bc57088

🔍 Latest deploy log
https://app.netlify.com/sites/helltop/deploys/67321e7cf520a20008314075


Does Zodios have an easy way to change the error handling for Express?

I see the default is sending HTTP status 400, how can I change it?

what do you think about rethrowing the zod validation error to express catches it?
so the app could rewrite

@itacirgabral the express error handler is enough for this issue


Template slot error on destroy.

Hello,
I've encountered an interesting bug while using Vue 3. When utilizing slots within my component, I noticed that upon destroying the component, I encounter a callback named onRangeUpdate. At this point of destruction, an error related to template slots occurs. It seems like the component is attempting to import destroyed
ex :

Steps to Reproduce:
Implement a component with slots.
Destroy the component.
Observe the error related to template slots.
Expected Behavior:
The component should be destroyed gracefully without any errors related to template slots.
Actual Behavior:
An error occurs when destroying the component, indicating issues with template slots.

I also couldn't reproduce the bug in a demo environment. However, adding '?' as shown in the code below fixed my issue.
 setCustomComponentMeta(e) {       const t = [...this.customComponentsMeta], o = e.wrapperElement?.dataset.ccid, n = t.find(({ wrapperElement: m }) => m?.dataset.ccid === o);       n && t.splice(t.indexOf(n), 1), this.customComponentsMeta = [...t, e];     }

Do you have any idea about the origin of the bug?

Alright, I've figured out how to reproduce the bug directly with the demo.

Here's the code for app.vue:

<template>

    Selected events: {{ eventsStore.chosenEvents.map(e => e.id) }}

    <ScheduleXCalendar
        :calendar-app="calendarApp"
        :custom-components="customComponents"
    >
      <template #dateGridEvent="{ calendarEvent }">

          {{ calendarEvent.title }} test here
          <input type="checkbox" @change="testbug()">

      </template>
    </ScheduleXCalendar>

</template>

How to reproduce the bug:
https://github.com/schedule-x/schedule-x/assets/33008055/4ba04e40-8ca9-49bb-9b3a-fcda6c09dfe6

In this function:
const testbug = () => {
    let container = document.getElementById('calendarContainer')
    calendarApp.render(container as HTMLElement)
  }

You are creating a new calendar instance and trying to mount it into an element that you created yourself. This is not a supported way of working the Vue component, because

the Vue component creates its own wrapping element .sx-vue-calendar-wrapper
the component uses this element as argument for the render method.

If you're creating your own wrapping element and are calling render, that might be what's causing the error. Are you calling the render method in your application too?

Hello,
Thank you for your response.
Indeed, I'm using a container for my calendar:

<calendar....>

I'm not using the render method.
Once the custom container is removed, I no longer have the bug.
Thank you for your help. I'll close the bug.


CodeSandbox is broken

What docs page is being added or updated?

Page: https://redux.js.org/tutorials/fundamentals/part-3-state-actions-reducers

For Updating Existing Content
CodeSandbox does not load example code
What updates should be made to the page?
Either fix CodeSandbox examples or remove references (or migrate to something new)

Can you clarify what specifically is broken? They seem to be working for me.


Pre-commit hook issues should be fixed or hook should be removed

- Do you want to request a feature or report a bug?
Bug(?) It makes contributing less easy and more confusing new users.
- What is the current behavior?

Clone fresh repo to contribute.
Make changes to a file.
Pre-commit hook runs.
Raises errors about existing code.

- What is the expected behavior?
No errors raised about existing code. Existing code matches pre-commit rules.
Only errors raised about newly added or changed code.
- Please mention your node.js, and operating system version.
Node v7.8.0, macOS Sierra.

I'm in favor of getting rid of those hooks completely. They feel very intrusive when doing many small in progress commits that you'll squash and cleanup later.
I would also suggest customizing the eslint settings to make sure they match how the code of the CMS is currently formatted quite closely, so we can get all code to pass linting and then require passing linting before accepting pull requests. Then we can start gradually introducing stricter linting rules little by little, but making sure we make them all pass for each rule added.

@biilmann I'm also in favor of removing the hooks. Since we do everything through PRs anyway, it really seems unnecessary. Once we do have the master fully lint-compatible I think it'd be worth adding to Travis, but a pre-commit hook really seems unnecessary even in that case.

Renamed this issue to "Remove pre-commit hook". Raised new issue #363 to fix the lint issues on master.


[ECL] Full variance usage of vision data

This adapts the interface to ECL EKF to support the use of all variance information in the visual_odometry message. More information can be found in the ECL PR.
This needs recently added function of Matrix. Therefore, it is also updating Matrix to newest version.
In addition, it is adding the missing transformation of the linear velocity covariances to local frame. This was undone before and therefore not completely correct.

@kamilritz How did you test this?

Updated the parameter description for EKF2_EVV_NOISE, EKF2_EVP_NOISE and EKF2_EVA_NOISE


GU code contribution

GU code contribution with segmented fitting. I had to make a small adjustment of the test code such that it tests each parameter separately. Maybe not a problem with the new test code. Let me know otherwise.

GU code contribution with segmented fitting. I had to make a small adjustment of the test code such that it tests each parameter separately. Maybe not a problem with the new test code. Let me know otherwise.

That sounds strange, but I also did that in my test to apply different thresholds to each. I haven't looked at it thoroughly, but tests pass so I guess that's good for now.
I'd say merge.


Active exploit on METAMASK

Name
MULTIPLE WALLET EXPLOIT
Description
All my assets drained from 30 metamask wallets.
Addresses
0x40f3eAb16e07da455Db1eb6190Be6a81031c66d5 is my wallet
fraudster wallets are:
0x36890056ef5cef2e7c726ed079b670fcd54ab2d8  (still active exploit)
and
0x52a657087E69649F569eF137fE785E3f840F9DE0
Meta Article URLs
https://etherscan.io/address/0x40f3eAb16e07da455Db1eb6190Be6a81031c66d5

As mentioned in the issue template, this repository is not for reporting individual losses, only for large scale smart contract exploits. If you need support, please join the Revoke.cash Discord (see website footer for a link).


doc(README): Run this from directory with go.mod

Egads!  It took almost two months to respond, sorry.  I don't have alerts turned on for this repo - fixed.


ConvertTo-Json : An item with the same key has already been added.

Environment
PowerShell ISE
Operating System: Windows 10
ServiceNow module version: 3.0.1
PowerShell version: 5.1.19041.1151
Steps to reproduce
This was not previously receiving an error on ServiceNow module 3.0.0
Splatting $Params
$Record = New-ServiceNowRecord -Table 'Change Request' -Values $Params -PassThru
Write-Output -InputObject $Record.number
Expected behavior
No ConvertTo-Json errors
Actual behavior
Error shows twice
ConvertTo-Json : An item with the same key has already been added.

I'm getting the same error on a brand new dev instance
~
❯ New-ServiceNowSession @params

~ took 2s
❯ Get-ServiceNowRecord -Table request
ConvertTo-Json: /Users/nexxai/.local/share/powershell/Modules/ServiceNow/3.0.1/Private/Invoke-ServiceNowRestMethod.ps1:152
Line |
 152 |      Write-Debug ($response | ConvertTo-Json)
     |                               ~~~~~~~~~~~~~~
     | An item with the same key has already been added. Key: Content

number     short_description         state    assigned_to     approval   opened_at
------     -----------------         -----    -----------     --------   ---------
REQ0000001                           Open                     Approved   2021-02-24 12:58:44 …
REQ0010001                           Open                     Approved   2021-09-09 7:28:49 AM

Is this on every call to Get-ServiceNowRecord?  Is the user an admin?

I've run it 6 or 7 times in a row here, and yes, it happened every time.
The user is the one named "admin" when you stand up a developer instance.

Sorry if I wasn't clear.  Have you tried different Get-ServiceNowRecord calls, with different parameters, and received that message each time or is it only with specific calls?  Also, it's odd to be failing on a write-debug line when your command line didn't call for it.  Let me try and repro.

Ahhh sorry for misunderstanding.
I just tried for -table Incident and it happened there too.

If I comment out line 152 in the Invoke-ServiceNowRestMethod.ps1 file as the error mentions, it works without error (obviously) but what I don't understand is why it's trying to dump every single response out as JSON.  It feels like that line should be wrapped in some kind of If statement, no?

Looks like it was added in this PR: https://github.com/Snow-Shell/servicenow-powershell/pull/151/files

I think there's 2 things at play.  I'm seeing a different error as $response is null at times, eg. 401 unauth.  That line should be a few lines down in the if ($response.content) to solve that one.
Your issue I've seen before, but not often.  Still digging in.
As background, I added that line so folks could see the raw response if they wanted.  It should only show if debugging is enabled.

Replace lines 150-152 with
try {
        $response = Invoke-WebRequest @params
        Write-Debug $response
    }
    catch {
        $ProgressPreference = $oldProgressPreference
        throw $_
    }

I think this covers all scenarios.

Looks like it works good.  No more errors at least.

Thanks @gdbarron  & @nexxai


Remove time 0.1 dependency

CI seems to fail on macOS only with some error message I've never seen before. Not sure if that's my fault, or what to do to make CI happy.

I would bump msrv until finding one that does not fail CI, and starting with edition 2021 (Rust 1.56), because why not

Looks like it works with 1.56. I also updated some actions you use to get rid of the github deprecation warning regarding node 12. The only one I couldn't find a newer version of is actions-rs/audit-check.

I see 0.4.19 already had time dep optional, where clock feature was enough. But will accept this anyway, and do some other changes, then a release.


Add the performance benchmark project for PowerShell performance testing

PR Summary
Add the performance benchmark project for PowerShell performance testing.
The structure of the test\perf directory is
├───benchmarks
└───dotnet-tools
    ├───BenchmarkDotNet.Extensions
    ├───Reporting
    └───ResultsComparer

The benchmarks folder contains the benchmark project, and will contain all the benchmarks we are going to write in future for testing PowerShell performance. It's targeting the .NET runtime net6.0, and is able to target different versions of PS sdk nuget packages. By default, it runs the tests targeting the current code base.
The tools folder contains projects that are copied from dotnet/performance,
the performance testing repository for the .NET runtime and framework libraries.

BenchmarkDotNet.Extensions

It provides the needed extensions for running benckmarks,
such as the RecommendedConfig which defines the set of recommended configurations for running the dotnet benckmarks (we use the same config).

Reporting

It provides additional result reporting support
which may be useful to us when running our benchmarks in lab.

ResultsComparer

It's a tool for comparing different benchmark results.
It's very useful to show the regression of new changes by comparing its benchmark results to the baseline results.

The files that are copied from dotnet/performance are kept as is, without adding the copyright header used in PowerShell repository.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

We have tools folder, test\tools and now test\perf\tools. Maybe rename last one to perftools?

@iSazonov The perf/tools folder was renamed to perf/dotnet-tools, to differentiate it from other tools folders.

It's based on what tests you are looking at. For CI regression tests, the baseline would be the results from the run without the PR changes. For high level regression tests, the base line would be the results from a previous preview, or a previous stable release.

It would be great to have support of automatically creating these baselines in the scripts.

Ideally, we will enable the perf test for CI,

It seems it is impossible without a lab since a perf history can not be without the lab.

@daxian-dbw @adityapatwardhan I've reopened the bug that you have hit today: https://github.com/dotnet/BenchmarkDotNet/issues/837

Currently there is one issue when running the benchmarks targeting the current code base (with ProjectReference takes effect). The step that runs dotnet build -c Release on the generated temporary project takes too long and always fail in the end. Then BDN attempts to run dotnet build again with --no-dependencies, and that succeeds very fast:

Actually, when running benchmarks with the ‘ProjectReference’ setting, the very first dotnet run on our powershell-perf.csporj already built the dependency powershell/dotnet-tool projects, so there is no need to build those dependency projects again when running dotnet build on the generated temporary project, and thus directly applying --no-dependencies should be just fine. I already reached out to @adamsitnik for help and we will resolve it offline in a separate PR.

@adityapatwardhan I think this PR is ready to be merged. Improvement can come in separate PRs.

Will look at it today

@adityapatwardhan Files in dotnet-tools are copied from dotnet/performance and we probably will need to sync them from time to time, so let's just keep them as they are.

@daxian-dbw - just noticed there are 4 CodeFactor issues not under dotnet-tools.. could you fix them please?

Maybe we can ask @TravisEz13 or @SteveL-MSFT  to add the test/perf/dotnet-tools/* path in the ignore list for CodeFactor.
Instructions here: https://support.codefactor.io/i15-ignoring-code-files


Create Posts “sns活用”

Automatically generated by Netlify CMS

👷 Deploy Preview for strong-beijinho-c4d917 processing.

Name
Link

🔨 Latest commit
82d1e66b0c3a2441494b7aaad3f22fed1a32dab4

🔍 Latest deploy log
https://app.netlify.com/sites/strong-beijinho-c4d917/deploys/65ebed1807d3d400081435ce


Behavior of SilkMarshal.StringToPtr and related methods on Linux

Summary
DirectXShaderCompiler uses wchar_t for its LPWSTRs, which has a different size on Windows (2 bytes) when compared to Linux (4 bytes).
This breaks code that uses SilkMarshal.StringToPtr and similar methods when on Linux.
https://github.com/microsoft/DirectXShaderCompiler/blob/a03a77f7efa49eabe341b331b9066e60ae9aadce/include/dxc/WinAdapter.h#L333-L337
Steps to reproduce
I don't have reproduction code, but this is the code I use in my codebase:
var arguments = new List<string>
{
    // Entrypoint
    "-E", "main",

    // Target profile / shader type + version
    "-T", "ps_6_6",
};

var ppArguments = SilkMarshal.StringArrayToPtr(arguments, NativeStringEncoding.LPWStr);

// ppArguments is then passed into `IDxcCompiler3.Compile()`

When using this code to print out the byte data of ppArguments, the output looks like this:
var bytes = (byte**)ppArguments;
for (var i = 0; i < arguments.Count; i++)
{
    Console.WriteLine($"Argument {i}");
    var j = 0;
    while (true)
    {
        var sum = 0;
        sum += bytes[i][j + 0];
        sum += bytes[i][j + 1];

        Console.WriteLine(bytes[i][j + 0].ToString("x2"));
        Console.WriteLine(bytes[i][j + 1].ToString("x2"));

        j += 2;

        if (sum == 0)
        {
            break;
        }
    }
}

This argument in particular corresponds to "-E". Note that each character is 2 bytes, including the null terminator.
Also note that this is correct behavior on Windows: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-dtyp/50e9ef83-d6fd-4e22-a34a-2c6b4e3c24f3

The LPWSTR type is a 32-bit pointer to a string of 16-bit Unicode characters, which MAY be null-terminated.

This StackOverflow post talks about the size different between different platforms of wchar_t: https://stackoverflow.com/questions/13509733/what-is-the-use-of-wchar-t-in-general-programming
Similar posts can also be found.

What confirms this difference is when I manually widen the characters by iterating through the bytes returned by StringArrayToPtr and storing the result in a new block of memory.
This converts the 2-byte width characters into 4-byte width characters.
This allows my shader compilation code to work up until I convert a LPWSTR pointer into a C# string by using SilkMarshal.PtrToString.
This is almost definitely the same issue.
Comments
I'm using the libdxcompiler.so binary from the DirectXShaderCompiler repo: https://github.com/microsoft/DirectXShaderCompiler/releases
The code I'm using works perfectly fine on Windows, but breaks on Linux. I've tested this on WSL and NixOS.
The length of wchar_t seems to be implementation dependent and doesn't seem to be simply 2-bytes on Windows and 4-bytes on Linux. I'm not familiar with how to check for this difference on different platforms.
I'm also not sure how endianness plays into this. Endianness might have to be accounted for as well.
Because of these two issues, while I can work around the issue on the current platforms I've tested on, my work around might break again on other platforms. Any suggestions here are welcome!
Changing the behavior of StringToPtr and similar methods to return 4-byte characters for LPWSTR is a breaking change.
The current behavior and "fixed" behavior are both technically correct. I'd argue the 4-byte behavior is more correct, but I'm not sure how LPWSTR is used in other places in Silk.NET.

Currently working on this issue.
Shouldn't the LPWStr case return 2 (4 on non-Windows) times the length?
https://github.com/dotnet/Silk.NET/blob/8da398835239eea162511c6c27b6c877dd1b6e6e/src/Core/Silk.NET.Core/Native/SilkMarshal.cs#L224-L240

AllocateString is mostly to unify Allocate and AllocBStr. The length parameter here represents the byte length, not the character length i.e. it is assumed the caller has already done that multiplication.

I see! Thank you for the clarification.


Few fixes for VisualShaderNodeRotationByAxis

Fixed preview port for the input
Added a default value for the first port to prevent error when it's not connected
Fixed description to be more detailed
Allow use it in other shader modes (no need to restrict it)
Since it returns two outputs, then it makes sense to generates a code only when they are connected to other nodes.

Thanks!


Until a new @radix-ui/themes is released, dual-package hazard abounds

@radix-ui/react-context is up to 1.1.1
<EMAIL_ADDRESS>specfies 1.1.0
When you have a project that uses both<EMAIL_ADDRESS>and<EMAIL_ADDRESS>you will get both<EMAIL_ADDRESS>and<EMAIL_ADDRESS>Context will be created with one version, and be looked up by useContext with a different version, resulting in the context not being found and errors like MenuSubTrigger must be used within Menu being thrown, spuriously.

Please release<EMAIL_ADDRESS>

You did this.


feat: add mssql subs/tests

Requires https://github.com/microsoft/node-diagnostic-channel/pull/68

Adds TDS patch subscribers, function tests

Any updates on when this might be complete please? After an initial test we are considering rolling app insights out across our estate, much of which is mssql. Thanks


BioNER in spanish

Add funcionality and interface to use BioNer in spanish

Oh magnánimo Victor, ponme un botón bonito para mi servicio oh

Solved issue in #51 Pull Request


Feature/port to openapi #14

Port FastApi to openAPI
#14

I cannot reach anything in my browser when I run dev_launcher.
I tried:
http://localhost:8080/ (expected the index route)
http://localhost:8080/ghga/drs/v1/
http://localhost:8080/ghga/drs/v1/openapi.yaml (expected the docs)
I also don't see any logs when running that command. Am I doing something wrong?

I cannot reach anything in my browser when I run dev_launcher.
I tried:
http://localhost:8080/ (expected the index route)

This now works

http://localhost:8080/ghga/drs/v1/

If you omit the trailing / it works

http://localhost:8080/ghga/drs/v1/openapi.yaml (expected the docs)

This now works

I also don't see any logs when running that command. Am I doing something wrong?

What kind of logs are you expecting? I get logs for calling URLs...
<IP_ADDRESS> - - [02/Aug/2021 14:06:50] "GET / HTTP/1.1" 200 27
<IP_ADDRESS> - - [02/Aug/2021 14:06:54] "GET / HTTP/1.1" 200 27
<IP_ADDRESS> - - [02/Aug/2021 14:07:46] "GET /ghga/drs/v1/ HTTP/1.1" 404 165

Sobald die static code analysis passed können wir es mergen


python38Packages.digi-xbee: 1.3.0 -> 1.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.digi-xbee is: "Python library to interact with Digi International's XBee radio frequency modules"
meta.homepage for python38Packages.digi-xbee is: "https://github.com/digidotcom/xbee-python"
meta.changelog for python38Packages.digi-xbee is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.4.0 with grep in /nix/store/i7fdbkcq2wbd4rmiwv9v18pf4rrx5xcl-python3.8-digi-xbee-1.4.0

directory tree listing: https://gist.github.com/9da178c1ffe5a6feb012a372179c72d5

du listing: https://gist.github.com/d5a04af1bdbfd4052912ddf93049e7dc

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

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.digi-xbee
python39Packages.digi-xbee

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/i7fdbkcq2wbd4rmiwv9v18pf4rrx5xcl-python3.8-digi-xbee-1.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/i7fdbkcq2wbd4rmiwv9v18pf4rrx5xcl-python3.8-digi-xbee-1.4.0
ls -la /nix/store/i7fdbkcq2wbd4rmiwv9v18pf4rrx5xcl-python3.8-digi-xbee-1.4.0/bin

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

2 packages built:

python38Packages.digi-xbee
python39Packages.digi-xbee

Maintainer pings
cc @jefflabonte for testing.

Result of nixpkgs-review pr 116828 at 7dd57f93 run on aarch64-linux 1

2 packages built successfully:

python38Packages.digi-xbee
python39Packages.digi-xbee

Result of nixpkgs-review pr 116828 run on x86_64-linux 1

2 packages built:

python38Packages.digi-xbee
python39Packages.digi-xbee


Functional Testing for Gmail

Key points:

[x] Test all the baseline policies
[x] Test different use cases and edge cases
[x] For each policy verify if the output as expected when the tests pass/fail
[x] For policies with multiple settings check that only the expected sub-policy will pass/fail and the other
[x] dependent/independent policies are unaffected
[x] Perform tests to verify multiple OU and OU inheritance settings wherever applicable
[x] Perform tests to verify Group settings wherever applicable
[x] Report and file bugs for any issues found

Is anyone else having issues running gmail?
I get the following error:
Traceback (most recent call last):
  File "/Projects/CISA_SCuBA/ScubaGoggles/.venv/bin/scubagoggles", line 8, in <module>
    sys.exit(dive())
             ^^^^^^
  File "Projects/CISA_SCuBA/ScubaGoggles/.venv/lib/python3.12/site-packages/scubagoggles/main.py", line 143, in dive
    Orchestrator(args).start_automation()
  File "Projects/CISA_SCuBA/ScubaGoggles/.venv/lib/python3.12/site-packages/scubagoggles/orchestrator.py", line 420, in start_automation
    self._run_reporter()
  File "/Projects/CISA_SCuBA/ScubaGoggles/.venv/lib/python3.12/site-packages/scubagoggles/orchestrator.py", line 287, in _run_reporter
    baseline_policies[product],
    ~~~~~~~~~~~~~~~~~^^^^^^^^^
KeyError: 'gmail'

GWS.GMAIL.1.1v0.3
Tested:

OU Fail
OU and Tenant Fail
OU Change to Pass w/o inherit
OU change w/inherit
Tenant Pass

2.1  Might take 48 Hours
-Stopped authentication

No granular settings for groups or admins

For now, no change in status.

3.1 -
Looks like it is dependent on 2.1? Might need some assistance in the functional testing here.

4.1-4.4 - Again some DMARC issues making it less straightforward  to functional test.

Gmail 1 - Good
Gmail 2-4 Circle Backl
Gmail 5 - Good

I'm going to go ahead and close this issue, since I completed the functional testing. However, I identified one bug. See issue #463 for more information.


rds: make RouteConfigProvider unique_ptr

Signed-off-by: Lizan Zhou<EMAIL_ADDRESS>Description:
RouteConfigProvider is no longer shared ownership, make it unique_ptr.
Follow up of #3960.
Risk Level: Low
Testing: unit test, integration tests
Docs Changes: N/A
Release Notes: N/A

@lizan LGTM but needs format fix.


Pu review

This PR implements a consistent way of checking and calculating the rate of the line. Also creates a new type for lines with transmission limits. Three test files are failing in the parsing stage but there seems to be something wrong with the Logging since it doesn't show which file is failing.
Using a print statement I got that the failing parsing files are case_ACTIVSg2000.m, case_ACTIVSg10k.m and case30.m
After many attempts, I can't reproduce the error. In a jupyter notebook it parses ok. If I comment this line
sys_test = PowerSystem(Buses, Generators,Loads,Branches,Storages,float(ps_dict["baseMVA"])) it works ok in the tests, but can't point exactly to where is failing.
This code runs perfectly
f = "ACTIVSg2000.m"
@info "Parsing $f ..."
pm_dict = PowerSystems.parse_file(abspath(joinpath(dirname(Base.find_package("PowerSystems")), "../data/matpower",f)))
 @info "Successfully parsed $f to PowerModels dict"
 PowerSystems.make_mixed_units(pm_dict)
 @info "Successfully converted $f to mixed_units"
 ps_dict = PowerSystems.pm2ps_dict(pm_dict)
 @info "Successfully parsed $f to PowerSystems dict"
 Buses, Generators, Storages, Branches, Loads, LoadZones ,Shunts = PowerSystems.ps_dict2ps_struct(ps_dict)
 @info "Successfully parsed $f to PowerSystems devices"
 sys_test = PowerSystem(Buses, Generators,Loads,Branches,Storages,float(ps_dict["baseMVA"]))
 @info "Successfully parsed $f to PowerSystem struct"

@claytonpbarrows any ideas about why the parsing might be failing here?

I don't know right now. I can try to check on it tomorrow.

The merge looks ok to me after resolving the conflicts


Broken link to "using packages"

The "Using packages" link in the "Resources" section on the front page links to the README for elm-lang/elm-package.  However, since 22nd August that README has just said "Merged into elm/compiler".
I had a look in the elm/compiler repository to try to find some documentation similar to the original elm-package README but couldn't find anything documenting how to install packages, version rules, how to update dependencies, etc.  Has this page been preserved anywhere?
Source: https://github.com/elm/package.elm-lang.org/blob/a8b9f08c66ddc2a5f784bedbc943f48f6efa9be3/src/frontend/Page/Search.elm#L213

I was looking to find documentation on how to publish your own package as well and found the same problem.
The previous version can be seen here..
https://github.com/elm-lang/elm-package/blob/a8248bb4fa9433a816360b430be24e30be10dcff/README.md
But this is for 0.18, I am not sure what has changed for 0.19.

Still broken.
@evancz Can this be given some attention? It seems like low-hanging fruit that ought not to take a year to fix.
Currently there is no explanation on how to actually use packages, which leads to confused users asking questions on Stack Overflow and such.

Note that until the link is fixed, there are some instructions in the guide:
https://guide.elm-lang.org/install/elm.html#elm-install


Parent Object: Object does not exist.

I seem to be unable to create a rollup from an object called Inforce_Insurance__c to the Product object.
I have a lookup on the Inforce object for Product.  There are values on the Inforce that I want to rollup to the Product.
Any idea why I would get this error??

Thank you. I was able to figure it out.
Thank you,
Donna Lutchman
Consultant | Appcentrica, Inc.
647-336-6944
Sent from mobile device. Please excuse my brevity and any typing errors.
On Sat, Apr 21, 2018, 8:23 PM Andrew Fawcett<EMAIL_ADDRESS>wrote:

You really need to give a bit more information for me to help you. Maybe a
screenshot of the error and how you have completed the fields. Also
screenshots of the objects and/or fields you have defined.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/672#issuecomment-383343530,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AkpntvhFKbyssBRAzZ9e2g4T0pL9x1kqks5tq81-gaJpZM4TWjoZ
.

@DonSco307 excellent! 😀

I am having this same issue, are you able to share what solved your issue?

Here's an image of my attempt.


vector-scalar broadcasting

Arguments for:

Greater capability.
SumEvaluator is already doing it for multiplication.
one_hot may present a plausible use case?

Arguments against:

Another rule for users to learn.
Not even quite matching numpy since numpy doesn't have nesting.
Might hide user errors?

Decided to do this.


Update virtual-network-tap-overview.md

@anavinahar : Thanks for your contribution! The author(s) have been notified to review your proposed change.


2.0.0b24 - Squeezebox Radio won't connect/turn on

What version of Music Assistant has the issue?
2.0.0b24
The problem
I have 3 Squeezelite-Esp32 devices and 1 Squeezebox Radio. The Squeezelite devices work just fine, but the Squeezebox Radio doesn't connect fully to music assistant.
The Squeezebox Radio is running the baby_8.0.1_r16916 community firmware, but I have also tried this on the 7.73 r16876 firmware too with the same result.
If you try to switch to the music assistant library from the radio, it will say it can't connect and ask to try again. Music assistant is then able to play music to the radio, but it shows up as "OFF" and the volume slider is greyed out. You can still link this to other speakers.
Sometimes, if you reboot your whole home assistant instance, the Squeezebox Radio will connect flawlessly (even showing the cover art and meta data!), but I can't reliably reproduce. Sometimes I get log information (see below), but often there's nothing that appears in the logs.
How to reproduce

Connect a Squeezebox Radio to Music Assistant 2.0

Relevant log output
2023-04-02 09:58:31 DEBUG music_assistant.providers.slimproto  -- Socket client connected: ('192.168.XXX.XXX', 37680)
2023-04-02 09:58:31 DEBUG aioslimproto.client  -- HELO received: b"\t\x00\x00\x04 +\x11\x14\x99\x1f\xa3\xeb\xea\xab\xf4\xf9m\x81\xa0\xc5F\x80NS\x00\x00\x00\x00\x00\x00\x00'\x10\x00ENModel=baby,ModelName=Squeezebox Radio,Firmware=8.0.1-r16916,alc,aac,ogg,ogf,flc,aif,pcm,mp3,MaxSampleRate=48000,AccuratePlayPoints,ImmediateCrossfade,test,Rtmp=2,Proxy:9001=192.168.XXX.XXX,SyncgroupID="
2023-04-02 09:58:31 DEBUG aioslimproto.client  -- Player connected: 00:04:20:XX:XX:XX
2023-04-02 09:58:31 DEBUG music_assistant.event  -- queue_updated 00:04:20:XX:XX:XX
2023-04-02 09:58:31 DEBUG music_assistant.event  -- player_updated 00:04:20:XX:XX:XX
2023-04-02 09:58:31 DEBUG music_assistant.event  -- player_updated 00:04:20:XX:XX:XX
2023-04-02 09:58:31 DEBUG aioslimproto.client  -- Unhandled event: vers - event_data: b"\x00\x00\x00\x000\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\x10\x00\x00d\x00\x0e\xd6$\x005\xd5@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
2023-04-02 09:58:31 DEBUG music_assistant.event  -- player_updated 00:04:20:XX:XX:XX
2023-04-02 09:58:31 DEBUG aioslimproto.client.Squeezebox Radi  -- Unhandled event: setd - event_data: b"\x00\x00\x00\x000\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\x10\x00\x00d\x00\x0e\xd66\x005\xd5@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
2023-04-02 09:58:31 DEBUG aioslimproto.client.Squeezebox Radi  -- Unhandled event: setd - event_data: b"\x00\x00\x00\x000\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\x10\x00\x00d\x00\x0e\xd6k\x005\xd5@\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
2023-04-02 09:58:31 DEBUG aioslimproto.client.Squeezebox Radi  -- STMf received - connection closed.
2023-04-02 09:58:31 DEBUG aioslimproto.client.Squeezebox Radi  -- STMf received - connection closed.
2023-04-02 09:58:31 DEBUG music_assistant.event  -- player_updated 00:04:20:XX:XX:XX
Additional information
No response
What version of Home Assistant Core are your running
2023.3.6
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

This will be fixed as soon as the missing CLI commands are implemented, as well as the "cometd" support.
I'm aware of it but did not yet have time to fix it, too much other stuff going on.
It will be fixed somewhere in the next weeks.

@wryandginger please confirm this is fixed with beta 36

Confirmed that a Logitech Squeezebox connects with beta 35 (installed this morning).  Volume controls appear to work.
Thanks @OzGav and @marcelveldt


0.7.2, add maintainer

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge/core it's possible this feedstock is abandoned, could I get some help merging this PR so that I can help maintain it


AZURE_ENABLE_GLOBAL_DOCUMENT_ACCESS setting is not set when Authentication and ACL is enabled

This issue is for a:
- [ X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce
Follow the instructions in "login and acl" guide enabling also optional steps for ACL.
Set the AZURE_ENABLE_GLOBAL_DOCUMENT_ACCESS = true.
This should allow authenticated users to search on documents that have no access controls assigned.
This does not happen.
In app\backend\core\authetication.py the following code is not executed.

I have replaced the if self.enable_global_documents condition with if True and the app works correctly.
So the issue is that the setting from the variable AZURE_ENABLE_GLOBAL_DOCUMENT_ACCESS does not have effect.
Any log messages given by the failure
None
Expected/desired behavior
When AZURE_ENABLE_GLOBAL_DOCUMENT_ACCESS = true, then the search should be also on docs that have no ACL assigned.
OS and Version?
Windows 11
azd version?
azd version 1.9.5 (commit cd2b7af9995d358aab33c782614f801ac1997dde)

+1, same Problem here!

I'm also seeing this issue.
Running the app locally works. However, when the app is deployed, global access is not working.
Setting if True fixes the problem, so the deployment is either not setting AZURE_ENABLE_GLOBAL_DOCUMENT_ACCESS to true or not setting it at all.

#1853 fixes this issue.

@biancat821  Is it fixed for you as well?


genesis g70 2018 comma three car unrecognized

Describe the bug
comma three car unrecognized.
my car 2018 genesis g70
Which car does this affect?
2018 genesis g70
Provide a route where the issue occurs
?
openpilot version
all version (0.9.1~0.9.2)
Additional info
Not recognized in all versions,
It is recognized when the vehicle is selected in Sunny.

You need to fingerprint the car. Someone in discord might help if you can’t figure it out.

What is your dongle id?


Improve user group popover.

First commit is to show members count.
Second commit is to show direct members and direct subgroups.
Third commit is to fix alignment of icons.

Fixes:  #32088

Screenshots and screen captures:
More than one group member -

Single member without any description-

Deactivated group -

List of subgroups-

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Also, currently "N members" text is not shown if there are no members.
This is also possible when a group has subgroups but those subgroups are also empty. We still show subgroups in the popover in such case.

Merged, thanks @sahil839!

Hmm, I didn't intend to have a period after "members". Could we please do a quick PR to remove it?


Refactor md-collection-loader

Continue from #217

Pluggable markdown parser (can be ascii parser or something else)
Move loader query to webpack option (avoid json.stringify)
Rename to collection-loader
Don't bundle markdown-it with statinamic. Default renderer is now (text) => text
Rename mdParser to renderer (need a better name)

Some suggestions:

Move all json file to a single folder since we don't guest it anymore. This will decrease the size of collection bundle in HTML files.
How to validate all options in loader efficiency ? Retrigger validation for each file is not a good idea. (memoize ? )

Why moving json will change bundle size?
Yeah memoize is a good idea for validation. We should validate query and this.options.statinamic separately.
Not sure collection-loader is cacheable since collection is affected by any change.

Why moving json will change bundle size?
Json paths are dataUrl field in collection --> bundle to html --> shorter path --> smaller size

Yeah memoize is a good idea for validation
Yup. Will do

Not sure collection-loader is cacheable since collection is affected by any change.
I'm not so sure too. According to webpack docs, loader must have no side-effects in order to be cachable

I forced push this branch

@MoOx : I added some validator rules for collection loader.

Oh this PR needs to be rebased now :/

@MoOx rebased.

Well. using npm install did help. But there is other problem:
https://travis-ci.org/MoOx/statinamic/jobs/113103850#L783
Exit status 137 ==> out of memory.
Can we limit ava concurrent ?

I currently merged 4610e54416c8c40559797fae0e97722211d6e56a locally and I am doing some cleanup (and also will switch to remark). So will close this PR. But don't worry, your commit will land in next branch soon (with some minor changes and some improvements)

Thanks for the head up. Tests on node 4 failed with 137 code. Do you have issue when running test locally ? My laptop froze like 6-7 seconds after starting ava on node 4.

No idea. I will see :)


Nipple hijacks events on iPad?

After updating to version 0.6.7 I have had some problems on iPad:
The problem is that after I first touch the joystick/nipple other events on my page will not work anymore.
To reproduce open the demo page:
https://yoannmoinet.github.io/nipplejs/
on an iPad and click the static tab, and touch the nipple.
Then try to change to one of the other tabs (dynamic or semi)
Edit: it is also a problem in "semi" mode, but then you have to touch it twice before it "breaks"
The problem is not there in v0.6.6

Hm, thank you for reporting this.
I'll have a look as soon as possible.

Just noticed this on Iphone SE, works fine in v0.6.6.

duplicate of #38


improves AppVeyor's config a bit

Pull Request Test Coverage Report for Build 1857

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.901%

Totals

Change from base Build 1856:
0.0%

Covered Lines:
950

Relevant Lines:
1005

💛  - Coveralls


Has break on custom DB connection

Laravel Version: #.#.# 8.18.1
PHP Version: #.#.# 7.4
Database Driver & Version: MySQL 5.7.32

Description:
Had two models (menu, service) with two different databases, connection set in model. when I get menu with (service), I get the result. But when used has(service) to get the menu which have service will shown
Base table or view not found: 1146 Table 'common.services' doesn't exist
it will look in my first database
common is my first database name and services are store in second database.
Steps to Reproduce:
create two model in different database
fetch menu with relation has(service) to get only menu which have service

Hi there,
Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.


Mouse datasets not available

Hello,
Firs of all, thanks for your amazing work! I'm trying to reproduce some of your results and I've noticed that the link for the Mouse actin and Mouse skull nuclei datasets are broken, could you please fix them?
Thanks!

Thank you for bringing this to our notice. We have fixed the links now.


Bone2D nodes are rendered wrongly when parent node is scaled

Godot version
v4.0.2.stable.official [7a0977ce2]
System information
Linux amd64, nvidia GTX 1080 TI driver Version: 525.105.17
Issue description
Greetings, I am facing what I think is an issue with the in-editor display of Bone2D. When I have the following scene tree for say a character:
Node2D
    Skeleton2D
        Bone2D
            ...

Then, when I scale the top Node2D down, the in-editor rendered bones scale correctly.

However, as soon as I hit ctrl+s to save, the bones are rendered big and chunky instead.

Steps to reproduce

Create new project
Make a Node2D scene
Add a Node2D, this is the character root
Add a Skeleton2D to the character root from step 3
Add a number of Bone2D nodes to make a visible skeleton
Scale the character root down (to e.g 0.2)
Observe the in-editor rendered bones to scale nicely
Save the project with ctrl+s
Observe the bones being rendered way thicker.

Minimal reproduction project
bone2d_render_bug.zip

Thanks for the reply! I am aware that scaling in bones & physics is often unreliable in game engines. I encountered this bug during the making of a quick prototype and would put more care into getting the sizes right and not needing scaling in an actual project, of course.
However, I still felt like reporting this because this is purely about the in-editor display of (indirectly) scaled bones. This is, to my eyes at least, a different kind of bug than the usual 'weird' behavior with scaled bones or physics.
I did a quick test in Blender, and can indeed confirm it has roughly the same bug with 'Octahedral' and 'B-Bone' viewport display modes. However, other modes ('Envelope', for example) seem to not have this problem.
Lastly, it seems Godot differs from Blender here in that it renders the bones in a way that I would consider correct, until the user saves the project.
I'll leave it to someone with more knowledge of editor internals to triage whether this is worth fixing, or if we should just add a warning (perhaps even in-editor?) about scaling bones/skeletons/physics. Thank you for your time.

Thanks, as a new user getting into animation in Godot I believe that my bone issues are coming from scaling bones. I would not have known otherwise so a message would've been helpful. I will now redo my entire structure without scaling and hopefully will have better results, but as you noted everything looks fine until you save or reload the project. Bone structure also differs in the Polygon editor as well.


Localization of tags

We have a multi-language site and we would like to have tags in different languages, does react-helmet support such setup?

You would use the same conventions you've used elsewhere in your react app to localise strings to localise the tags.
If you were using react-localize-redux as follows:

  <Translate id="movie.title">Jurassic Parc</Translate>

Then your tags would be translated as such:
<Helmet>
  <title><Translate id="home.title">Home</Translate></title>
</Helmet>

And so forth.

@Asday Has the right idea.


Crash on com.google.fira.worker thread, EXC_BREAKPOINT

A couple of crashes reported from production on Crashlytics in the last 30 days for iOS versions 12.4.1 and 13.0.0.
[REQUIRED] Step 2: Describe your environment

Xcode version: 11.0 (11A420a)
Firebase SDK version: 6.9.0
Firebase Component: Analytics
Component version: 6.9.0

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
This issue occurs very rarely when a UIViewController is dismissed.
Crash Message:
Crashed: com.google.fira.worker
EXC_BREAKPOINT 0x000000018c86ce40
Thread stacktrace:
Crashed: com.google.fira.worker
0  libsystem_malloc.dylib         0x1ac3fab88 nanov2_allocate_from_block$VARIANT$mp + 536
1  libsystem_malloc.dylib         0x1ac3f9dec nanov2_allocate$VARIANT$mp + 124
2  libsystem_malloc.dylib         0x1ac3f9d20 nanov2_malloc$VARIANT$mp + 60
3  libsystem_malloc.dylib         0x1ac408acc malloc_zone_malloc + 156
4  libsystem_malloc.dylib         0x1ac4094dc malloc + 28
5  ios                            0x104d856dc nano_set_uint64 +<PHONE_NUMBER>
6  ios                            0x104d8061c apmpb_copy_event_param +<PHONE_NUMBER>
7  ios                            0x104d85308 NANOSetArray +<PHONE_NUMBER>
8  ios                            0x104d59f2c -[APMEvent protoEvent] +<PHONE_NUMBER>
9  ios                            0x104d3ca28 __33-[APMMeasurement bundleRawEvents]_block_invoke +<PHONE_NUMBER>
10 ios                            0x104d5f668 -[APMSqliteStore performTransaction:] +<PHONE_NUMBER>
11 ios                            0x104d3b218 -[APMMeasurement bundleRawEvents] +<PHONE_NUMBER>
12 ios                            0x104d33f90 -[APMMeasurement uploadData] +<PHONE_NUMBER>
13 ios                            0x104d40dac __49-[APMMeasurement handleAppWillResignActiveEvent:]_block_invoke_2 +<PHONE_NUMBER>
14 ios                            0x104d4b214 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke +<PHONE_NUMBER>
15 libdispatch.dylib              0x1ac264a38 _dispatch_call_block_and_release + 24
16 libdispatch.dylib              0x1ac2657d4 _dispatch_client_callout + 16
17 libdispatch.dylib              0x1ac20e324 _dispatch_lane_serial_drain$VARIANT$mp + 592
18 libdispatch.dylib              0x1ac20ee40 _dispatch_lane_invoke$VARIANT$mp + 428
19 libdispatch.dylib              0x1ac2174ac _dispatch_workloop_worker_thread + 596
20 libsystem_pthread.dylib        0x1ac446114 _pthread_wqthread + 304
21 libsystem_pthread.dylib        0x1ac448cd4 start_wqthread + 4

We are also experiencing similar crash after updating to new App version
Crash Logs-
Crashed: com.google.fira.worker 0  Goibibo                        0x1021ec8f0 apmpb_free_event_field + 2008976 1  Goibibo                        0x1021ec9c8 apmpb_free_event + 2009192 2  Goibibo                        0x1021e968c -[APMPBEvent initWithBuffer:] + 1996076 3  Goibibo                        0x10218dc18 -[APMDatabase rawEventDataFromDictionary:error:] + 1620664 4  Goibibo                        0x1021aabb4 __33-[APMMeasurement bundleRawEvents]_block_invoke_2 + 1739348 5  Goibibo                        0x1021cc470 -[APMSqliteStore recordsForQuery:parameterValues:error:withFilter:] + 1876752 6  Goibibo                        0x10218d088 -[APMDatabase rawEventsWithMetadataFingerprint:error:eventFilter:] + 1617704 7  Goibibo                        0x1021a85cc __33-[APMMeasurement bundleRawEvents]_block_invoke + 1729644 8  Goibibo                        0x1021cc7a8 -[APMSqliteStore performTransaction:] + 1877576 9  Goibibo                        0x1021a83e8 -[APMMeasurement bundleRawEvents] + 1729160 10 Goibibo                        0x1021a1160 -[APMMeasurement uploadData] + 1699840 11 Goibibo                        0x1021b83e4 __51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 1794692 12 libdispatch.dylib              0x182db8aa0 _dispatch_call_block_and_release + 24 13 libdispatch.dylib              0x182db8a60 _dispatch_client_callout + 16 14 libdispatch.dylib              0x182dc29b4 _dispatch_queue_serial_drain$VARIANT$mp + 608 15 libdispatch.dylib              0x182dc32fc _dispatch_queue_invoke$VARIANT$mp + 336 16 libdispatch.dylib              0x182dc3cc8 _dispatch_root_queue_drain_deferred_wlh$VARIANT$mp + 340 17 libdispatch.dylib              0x182dcc098 _dispatch_workloop_worker_thread$VARIANT$mp + 668 18 libsystem_pthread.dylib        0x1830ebe70 _pthread_wqthread + 860 19 libsystem_pthread.dylib        0x1830ebb08 start_wqthread + 4

@ashokbhakharios See #4154 for the apmpb_free_event_field crash and a workaround.
@nstein's crash is unrelated.

@ashokbhakharios See #4154 for the apmpb_free_event_field crash and a workaround.
@nstein's crash is unrelated.

Thanks!!

I'm going to close this for now since there is already a recommended fix.

@rizafran Reopening since the original poster's issue has not yet been addressed, as far as I can tell.


Moving some items into settings manager

Making some planned changes to move some duplicated logic into the settings manager, now that it is in place.
Small code refactoring in a couple of other classes.

@brettsam @mamaso want to take a quick look at this to make sure we have another set of eyes on the changes?
No functional behavior changes here (apart from the change on reading/setting the path)


Added Dawit-Sh

added my name to the list alphabetically

closing due to inactivity feel free to reopen at any time


Fixing the "We'll send a sign in request to your phone" page

Logging in via the web is still sometimes a confusing experience with passwordless enabled.
The "Sign In" page is presented, and the dialog says "We'll send a sign-in request to your phone".  But, the sign in request is already sent before the user clicks the button.  So, what is happening to our users initially is that they hear/feel the prompt on their phone and go there.  It asks for a number.  Then they go back to their desktop and have to click the button to "Send notification" even though it's already sent.  Any plans on fixing?

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

ID: ee6ac70d-5853-6a3a-0964-23b46910b4c4
Version Independent ID: a5beda87-9845-8807-6221-7fdc64079587
Content: Passwordless sign-in with the Microsoft Authenticator app (preview) - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-authentication-phone-sign-in.md
Service: active-directory
Sub-service: authentication
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@plylechapman Thanks for your feedback! We will investigate and update as appropriate.

Thank you, Frank.  I have also previously pointed out another issue with this experience and Seamless Sign On.
Our users who tested the passwordless experience get confused, because they visit a website and seamlessly get authenticated into the Microsoft service (as they should).  However, a notification is still pushed to the phone.   This confuses the users with unnecessary push notifications.   It's been 6 months since I brought this up on a previous thread and there's been no movement.  This is a blocker for us to adoption.
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sso-quick-start

Hey @plylechapman thank you for taking time to provide us the feedback. I'll bring this up with the product group, and leave this github issue open until we have an answer in regards to this issue. Have you put this under the uservoice forums?
Link here : https://feedback.azure.com/forums/169401-azure-active-directory

I can put it there, but frankly these seem more like bugs than features.   Is it appropriate for UserVoice?

the uservoice area is the best place for product feedback, not just requesting features.

I'm closing out this issue now, if you have anymore issues please reopen this git issue and we'll look into it.


API: separation of concerns changes to tree classes

TreeNode is the parent of PhyloNode. The latter is distinct in having a length attribute,
corresponding to a branch length. Duplicate methods accumulated on these classes during
the PyCogent era that blurred the boundaries between them. This patch addresses that blurring,
clarifying that any method which does not involve distances belongs on the TreeNode class,
distance related methods only on the PhyloNode class.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
72 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.09%) to 91.624%

Files with Coverage Reduction
New Missed Lines
%

.nox/test-3-8/Lib/site-packages/cogent3/maths/matrix_exponential_integration.py
1
92.98%

.nox/test-3-8/Lib/site-packages/cogent3/maths/scipy_optimize.py
3
84.09%

.nox/test-3-8/Lib/site-packages/cogent3/core/tree.py
68
93.99%

Totals

Change from base Build<PHONE_NUMBER>:
0.09%

Covered Lines:
178103

Relevant Lines:
194384

💛  - Coveralls


'REMEMBER_COOKIE_HTTPONLY' causes "The CSRF tokens do not match" on mobile Firefox

I've noticed that when enabling 'REMEMBER_COOKIE_HTTPONLY' within the config dict, it causes "The CSRF tokens do not match" in a POST request specifically for mobile Firefox. Non-mobile works just fine, as does Chromium.

Set 'REMEMBER_COOKIE_HTTPONLY' within the config dict
Go to a page that has a CSRF token and do a post request
It fails with a "The CSRF tokens do not match"

The POST request should complete just fine
Environment:

Python version: 3.8.10
Flask-WTF version: 1.0.1
Flask version: 2.1.2

I've a similar issue when enabling 'SESSION_COOKIE_SECURE'
Environment:
Python version: 3.11.15
Flask-WTF version: 1.1.1
Flask version: 2.3.3


Spider gbXML Viewer 'Maevia' R15.23: Issue with surfaces Panel-276 and Panel-279

I have broken file that does not import into simulation tool,
Panel-276 and Panel-279 are problematic.
I can see also problem in ver R12.34 as surface is not displaying but it does show in R15.23 without any error. We need to find what is problem with these surfaces and log this under issues in 'Maevia' we know what is problem inside gbXML.

test file:
BHoMgbXMLrevitSAM_TAS.zip

@mdengusiak
I have had a quick look at the XML file and at the display in the viewers. It seems to me that the issue is that the mullions are just 6 mm. The surface is 4.5 high. The opening is 4.488 high.
Since R12 cuts holes in surfaces, so there is nothing left to see in R12 and becomes almost invisible. R15 draws the outline of an opening but does not yet cut holes - so you see the full surface.
I think the model is OK and provides a good test case for how should we build a viewer that helps you identify and handle surfaces with near full-size openings.

@theo-armour
OK I manage to isolate issue and here is just two zone model with problem
BHoMgbXMLrevit2zones_TAS.zip
What it is actually Curtain Wall System Panel from two different walls have same geometry and this is wrong in XML. Would be good to get some check and highlight under issue.
here are images:
https://github.com/BHoM/Revit_Toolkit/issues/248

to be fix by Fixed


Update logo

Signed-off-by: kamilsa<EMAIL_ADDRESS>

Referenced issues
None
Description of the Change
Logo update

marvelous


Unable to pass bank account details to CreateAccount::external_account

Describe the bug
CreateAccount::external_account only accepts &str. How may I pass bank account details as mentioned in the documentation.
/// You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/api#account_create_bank_account) creation.

To Reproduce
CreateAccount {
    external_account: Some("".to_owned()),
    ..Default::default()
}

Expected behavior
CreateAccount {
    external_account: Some(CreateAccountExternalAccount { ... }),
    ..Default::default()
}

Code snippets
No response
OS
windows 10 - wsl2
Rust version
1.70.0
Library version
0.22.2
API version
2022-11-15
Additional context
No response

Same issue here.
It appears that the obj data is missing.


chore: add eslint cache

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[X] Refactoring

Context

[ ] Closes #<issue_number>
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[ ] My DOT address: Payout

Copilot Summary
chore: add eslint cache

@shengxinjing please user PR template

@shengxinjing does it close any open issue?

I just thought that adding eslint's cache would improve the DX, and there is no issue with that.

adding eslint's cache would improve the DX

does it cut some time?

Without caching, each eslint script takes about 5 seconds.
With caching, the first eslint takes about 5 seconds, the second takes only 1 second.

With caching, the first execution of the eslint script takes about 5 seconds, and the second execution takes about 1 second.

reasonable for me, maybe from @kodadot/internal-dev can voucher that?

emm... That's why the cache parameter exists


MLHR-1812 Add Anti Join operator

This transaction implements anti-join operators on two input tables. A test case is also added.

what would it take to make this logic partition enabled?

Will close this and re-open a new PR under "Apache"


Solaris: Simplify CPU commands

This simplifies the speed and cores commands for Solaris.
@konimex, can you confirm that these work on your Solaris system?

Works for both Oracle and OpenIndiana.

:+1:


Wrong tooltip' display on Ring Relic

Game Version: 1.19.2
API: Fabric 0.14.9
The tooltip of Ring Relic display like this:

And other like:

Seems title is missing and rare tag on wrong position.
This is my modlist.txt

I tried to switch language to English then it won't happened. So, it seems cause by language file execution of Trinket or RelicEx.
Pic 1 line 3 “可装备在以下槽位:" ("Equippable in the trinket slots:" in English) is quoted from Trinket. Which is won't be shown  in English lang, like pic 2.
Both mod is translated by me from en_us.json word by word. I don't know why is has such a problem.

Hi there,
I'll start by saying that I have absolutely no clue why this is happening. The fact that it works fine for English translation but not the other is baffling, more so because the language that is being used should have no programmatical relevance. I also cannot see any mods from your list that would be interacting with RelicEx to cause this.
I'll continue looking into it, but I don't see a solution any time soon.
Nonetheless, thank you for bringing this to my attention.

Closed as issue is stale: fix is unlikely and issue is non-critical.


debug: Add facility to dump tracemalloc snapshots.

Originally this used signals, namely SIGRTMIN.  But in prod, the
signal handler never fired; I debugged fruitlessly for a while, and
suspect uwsgi was foiling it in a mysterious way (which is kind of
the only way uwsgi does anything.)
So, we listen on a socket.  Bit more code, and a bit trickier to
invoke, but it works.
This was developed for the investigation of memory-bloating on
chat.zulip.org that led to a331b4f64 "Optimize query_all_subs_by_stream()".
For usage instructions, see docstring.

There may be a cleaner place to put the maybe-listen call than the somewhat random-looking middleware I selected. It's harmless there, though -- has a fast-path out if disabled, and another if already listening -- so I wouldn't much mind merging it as is.
This is very slightly cleaned up from just a squash-rebase of the branch I actually deployed on chat.zulip.org in the memory-leak investigation.

This looks great, but has some linter errors.
I think LogRequests is probably the right place for this sort of logging.

Fixed lint errors, and pushed a new version.
I had to spend about 10 minutes searching through documentation to satisfy myself that our timezone_now aka django.utils.timezone.now would do what I wanted and definitely always give something in UTC when I called its strftime method, rather than attempt to do something with a timezone. What would you think of renaming it utcnow? That seems a lot closer to what it actually does -- plus matches datetime.datetime.utcnow, which experienced Python programmers may be accustomed to reaching for (certainly I am.)

The timezone thing is a question for @rishig.

http://zulip.readthedocs.io/en/latest/contributing/code-style.html#naive-datetime-objects may be worth a quick read.
I'm okay with changing the name, though we should probably avoid utcnow, since we don't ever want from datetime import utcnow in the codebase. (Django timezone.now gives a datetime aware object, whereas datetime.utcnow doesn't.)

This looks good, merged, thanks @gnprice!
I assume you two will take care of any further steps on the point of datetime stuff.  It'd be easy enough to lint for from datetime import.*utcnow if we prefer the name utcnow and want to migrate.


Error on listing network subnet-pool

Hello
facing following error with version 0.6.4.
joek@NB-1217-CLOUD ~ % osc --os-cloud os-internal.cloud --pretty network subnet-pool list
Error:
0: Serializing Json data list into the table failed. Try using -o json to still see the raw data.
1: invalid type: string "64", expected i32
Location:
openstack_cli/src/bin/osc.rs:43
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Consider reporting this error using this URL: https://github.com/gtema/openstack/issues/new?title=<autogenerated-issue>&body=%23%23+Error
```
Error%3A+
+++0%3A+Serializing+Json+data+list+into+the+table+failed.+Try+using+`-o+json`+to+still+see+the+raw+data.
+++1%3A+invalid+type%3A+string+"64"%2C+expected+i32
```

%23%23+Metadata
|key|value|
|--|--|
|version%7C0.6.4%7C%0A
with option --json the output is clear and no error occur.

The -o json is precisely to be able to handle such "unexpected" situations. In this particular case the error is an integer overflow compared to the data schema in neutron. It requires changes in codegerator. Will check tomorrow.

Can you please check on your side which field is causing overflow (pretty much look in the '-o json' output for big integers

Ah, the error says pretty much that the string is received where integer was expected. Can you please check which field is it (in the '-o json' output)?

See the problem.
the json response (a bit shortened) looks like this:
[
  {
    "address_scope_id": null,
    "created_at": "2024-04-17T09:48:14Z",
    "default_prefixlen": "64",
    "default_quota": null,
    "description": "",
    "id": "36890564....",
    "ip_version": 6,
    "is_default": true,
    "max_prefixlen": "64",
    "min_prefixlen": "64",
    "name": "EXT-NETv6",
    "prefixes": [
      "::/48"
    ],
    "project_id": "002f3fe3...",
    "revision_number": 0,
    "shared": true,
    "tags": [],
    "tenant_id": "002f3fe3...",
    "updated_at": "2024-04-17T09:48:14Z"
  },
    ....
    ....
    ....
]

So in my opinion the following return values can be the error cause: max_prefixlen, min_prefixlen and default_prefixlen
unfortunately it's not possible to restrict the output, but i think the error occurs in parsinf the response from api, so limiting output of fields will not solve any problem.

yeah, the __prefixlen is something I added recently without being able to see real values and assumed those are integers

https://docs.openstack.org/api-ref/network/v2/index.html#subnet-pools-extension-subnetpools is fun: in the parameter description it states it is integer, but in the example it is a string

This one appears to be not so trivial, because with the schema like in many other cases behaviour is a bit different, I am still on it on the codegerator side

I would appreciate if you can test artifact built in https://github.com/gtema/openstack/actions/runs/10317583003?pr=424 to see whether the issue is gone. As I mentioned above this is a bit tricky case but the newly generated code seems to be the correct to handle this situation (it will actually handle both int and string in the response)

Seems that the error is walked a bit down the road ;-)
~/.cargo/bin/osc --os-cloud os-internal.cloud --pretty network subnet-pool list
Error:
   0: Serializing Json data list into the table failed. Try using `-o json` to still see the raw data.
   1: invalid type: integer `6`, expected a string

Location:
   openstack_cli/src/bin/osc.rs:43

Seems like same error but on different field: ip_version
here is the json output:
[
  {
    "address_scope_id": null,
    "created_at": "2024-04-17T09:48:14Z",
    "default_prefixlen": "64",
    "default_quota": null,
    "description": "",
    "id": "3689056....",
    "ip_version": 6,
    "is_default": true,
    "max_prefixlen": "64",
    "min_prefixlen": "64",
    "name": "EXT-NETv6-Pool",
    "prefixes": [
      "....::/48"
    ],
    "project_id": "002f3fe3....",
    "revision_number": 0,
    "shared": true,
    "tags": [],
    "tenant_id": "002f3fe3...",
    "updated_at": "2024-04-17T09:48:14Z"
  },
  {
    "address_scope_id": null,
    "created_at": "2024-08-12T15:43:50Z",
    "default_prefixlen": "30",
    "default_quota": null,
    "description": "",
    "id": "9182a005...",
    "ip_version": 4,
    "is_default": false,
    "max_prefixlen": "30",
    "min_prefixlen": "24",
    "name": "MaintenanceInterconnect_1_SP_1",
    "prefixes": [
      "<IP_ADDRESS>/16"
    ],
    "project_id": "59e74....",
    "revision_number": 0,
    "shared": false,
    "tags": [],
    "tenant_id": "59e74.....",
    "updated_at": "2024-08-12T15:43:50Z"
  }
]

yep, this is right.
Anyway thanks a lot, this helps me. Perhaps I need to reconsider the functional test for this resource

https://github.com/gtema/openstack/actions/runs/10370038780 should help you. I have created subnetpool in one of the envs and to verify create/list work (in that env ;-)

have tested around with subnetpool.
Looks like all is working fine now. Thank you very much for the support.


OptionalClaims not working for application registered through Default Directory - App registrations (Preview)

Assuming "Default Directory - App registrations (Preview)" application registrations are using the v2.0 endpoint it doesn't appear that optionalClaims works.  Trying to save a manifest with optionalClaims (even the JSON sample in this documentation) results in the following error: "Error details: A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value."

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

ID: 1d8e93d6-413b-34aa-3359-41f5baa442d3
Version Independent ID: 0d657318-8058-a76a-c219-393ab3a4920d
Content: Learn how to provide optional claims to your Azure AD application
Content Source: articles/active-directory/develop/active-directory-optional-claims.md
Service: active-directory
GitHub Login: @CelesteDG
Microsoft Alias: celested

Hello @mdorey - Thank you for the feedback. Can you please let us know which Supported account types were specified for the app being registered? We have a note in the existing optional claims doc about some caveats with the accounts and whether optional claims are supported, but we also need some more info to determine if we've got a bug.

Hi, I selected "Accounts in this organizational directory only (Default Directory)"

Thank you, @mdorey - I'll follow up on this and get back to you with any additional info.

Hello @mdorey - I added some additional information to the important note that's currently in the optional claims topic. It notes that the new App registrations (Preview) experience doesn't yet support optional claims in the app manifest editor so you'll need to use the existing App registrations (v1) experience to do edit your optional claims. Our feature team has a work item to address this gap in the new app registrations experience, but I don't have a timeline to share at this time when this will come online. Thank you.

Documentation has been updated and provided info to customer. #please-close

I'm looking forward to this as well.


Heads up on how to implement it?

I am new to Vue.js, so I am afraid I am missing some crucial understanding here. But how do you reference and use the forms in my own app? I am only able to setup the template/gui interface. So I can generate forms, and it outputs also some vue form data. But how do I integrate these form in my own app?

Ah yeah. You need to know how the library works first.

For Form Template, you will be able to create/config your own form. Set a variable for v-model. You will get a object of configurated form. And then you can save that object (parse to json string) into your DB.
When you render Form GUI, get the configurated json string from your DB and then parse that string to object (JSON.parse), bind that object to :form and your form will be rendered. To get the form values that user typed, set a variable for v-model

For a good example, you can follow my example in this repo: https://github.com/sethsandaru/demo-vue-form-builder


Delta Sandbox does not trigger update of the json input when changing styles

Only after tapping on the editor we can see the change in the Json input.

Fixed by using the newly added onBuildComplete() callback. The sandbox json preview now updates on any change including style changes and adding markers/highlights.


Error attempting to open HID object

The hidapi library crashes attempting to open the object returned by the wristwatch.py script's find_device() function ::
Traceback (most recent call last):
File "/home/perfecta/Downloads/led-watch-master/host/bootloader", line 68, in
main()
File "/home/perfecta/Downloads/led-watch-master/host/bootloader", line 54, in main
with open_bootloader(args.timeout) as dev:
File "/home/perfecta/Downloads/led-watch-master/host/device/wristwatch.py", line 40, in enter
self.open_path(self.path)
File "hid.pyx", line 157, in hid.device.open_path
OSError: open failed
If you check the file name and line number reported for hid.pyx you'll see this function ::
def open_path(self, bytes path):
    """Open connection by path.

    :param path: Path to device
    :type path: bytes
    :raises IOError:
    """
    cdef char* cbuff = path
    if self._c_hid != NULL:
        raise RuntimeError('already open')
    self._c_hid = hid_open_path(cbuff)
    if self._c_hid == NULL:
        raise IOError('open failed')
    self._close = weakref.finalize(self, _closer.wrap(self._c_hid).close)

...and I verified that the 'path' parameter is this object :: {'path': b'3-2:1.0'}.  In order to raise the IOError then there must have been a failure of the hid_open_path() function call, but how to troubleshoot this further is unclear as I don't know how to reconstruct the 'cdef char* cbuff = path' line when trying to do these things step by step via running the Python interpreter directly.

Please check that your user is able to access the hidraw handle and/or USB handle in dev and if it doesn't have write permissions, add a udev rule or use sudo to run the script as noted in #5

Thank you for the response.  Running the script with sudo cleared that up.


Rendering error for background images in Edge

I have a series of divs with background images on a :before and an :after pseudo-class. The css is as follows:
.sticker .background:after {
	content: '';
	height: 60px;
	width: 100%;
	position: absolute;
	bottom: -60px;
        background-image: url(someImage);
	background-size: 100% 60px;
	background-position: bottom;
	-webkit-transition: 0.3s ease;
		-ms-transition: 0.3s ease;
			transition: 0.3s ease;
}

When viewed as HTML in Microsoft Edge the site looks like this

But html2canvas gives this output in Microsoft Edge

The positioning of background images is completely off.
This is an issue with Edge only. The plugin works as expected in Chrome and Firefox. Can I do something to fix this error?

Could you show an example on jsfiddle?


Trouble installing as well as uninstalling Tensorflow

So as you can see here we have python and anaconda
Python 3.6.1 |Anaconda 4.4.0 (x86_64)| (default, May 11 2017, 13:04:09)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

Then installed Tensorflow using pip3 and tfBinaryURL eventually testing the installation-
>>> #python
... import tensorflow as tf
Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
ModuleNotFoundError: No module named 'tensorflow'
>>>

So I tried uninstalling Tensorflow using pip uninstall tensorflow but again after the y/n prompt (typed "y")
Installing collected packages: tensorflow
 Found existing installation: tensorflow 1.3.0
 Uninstalling tensorflow-1.3.0:
Exception:
Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 544, in move
   os.rename(src, real_dst)
PermissionError: [Errno 13] Permission denied: '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/external/__pycache__/__init__.cpython-36.pyc' -> '/var/folders/61/1b15w21n0jbc2sndhd3j7xfr0000gn/T/pip-oepk4q_b-uninstall/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/external/__pycache__/__init__.cpython-36.pyc'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
   status = self.run(options, args)
 File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/commands/install.py", line 342, in run
   prefix=options.prefix_path,
 File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/req/req_set.py", line 778, in install
   requirement.uninstall(auto_confirm=True)
 File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/req/req_install.py", line 754, in uninstall
   paths_to_remove.remove(auto_confirm)
 File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/req/req_uninstall.py", line 115, in remove
   renames(path, new_path)
 File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/utils/__init__.py", line 267, in renames
   shutil.move(old, new)
 File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 559, in move
   os.unlink(src)
PermissionError: [Errno 13] Permission denied: '/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/external/__pycache__/__init__.cpython-36.pyc'
this happens.

If it's pre-installed as it says ideally the program #1 should work - but it doesn't.
Can you help, please?

The tensorflow is not compatible  python version 3.6 , try installing it with version 3.5
Create the environment for tensorflow using anaconda using
conda create -n tensorflow python=3.5 anaconda
Try importing tensorflow after activating anaconda.
Hope it helps.

This worked (just in case somebody comes from a Google search)
conda install -c conda-forge tensorflow


Upgrading from Gogs - unknown database type mssql

Gitea version (or commit ref): 1.0.2
Git version: 2.17.1
Operating system: Ubuntu
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[X] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[X] Not relevant

Log gist:
2019/02/19 11:35:16 [I] Log Mode: File(Trace)
2019/02/19 11:35:16 [I] Cache Service Enabled
2019/02/19 11:35:16 [I] Session Service Enabled
2019/02/19 11:35:16 [...itea/routers/init.go:53 GlobalInit()] [E] Fail to initialize ORM engine: Fail to connect to database: Unknown database type: mssql

Description
Attempting to upgrade from Gogs with a SQL database.  Below is the relevant part of app.ini:
[database]
DB_TYPE = mssql
HOST = XXXX
NAME = Gitea
USER = GiteaWriter
PASSWD = XXX
SSL_MODE = disable

When running:
gitea web --config /data/gitea/custom/conf/app.ini I receive the error in the log file above.  From what I can see from the docs, mssql should be supported database type.

Mssql is indeed supported, but can you confirm the version Of gitea you are using is 1.0.2 as perhaps that version doesn’t have mssql support. If you are following the upgrade path you might be able to just skip that version. Of course make sure to backup everything first.

I think it was a problem with 1.0.2. I was using that version because I was upgrading from Gogs. I exported the Gogs database into SQLite format and then I was able to import into Gitea.


Crash Enumerating Heap Objects

Trying to open the Heap Objects inspector in a large project, I get a crash on line 69 of FLEXHeapEnumerator with EXC_BAD_ACCESS. This occurs consistently on iOS 8.4 and 9.3, on both device and sim.
I believe this was working before with the current version of FLEX, so the issue may be caused by a class added recently. By throwing in a log on line 71 of FLEXLiveObjectsTableViewController, I can confirm that it enumerates through about 150000 objects successfully before crashing. Of course, the exception occurs before printing the name of the class it's choking on.
I would love advice as to how I can track down the object causing the crash.

+1

+1

The crash occurs on line 69 of FLEXHeapEnumerator.m.
zoneCount is 7 but the app segfaults when i = 4.  Setting zoneCount to 3 in the debugger stopped the crash, but I still haven't narrowed down the reason why.  Investigating...

I think the core issue here is that enumerating through the heap while the heap itself is changing is inherently unsafe. I'd like to investigate if there's a way we can make this async safe and signal to stop all threads. I don't have a timeframe on investigating that though.

Actually, there is an issue that was introduced here that may cause issues for memory allocated through something other than malloc. I should have a fix up shortly.

Can you see if things work any better following 22e7edb?

Still crashing at zone->introspect->enumerator(TASK_NULL, (__bridge void *)block, MALLOC_PTR_IN_USE_RANGE_TYPE, (vm_address_t)zone, reader, &range_callback);.
Backtrace:
* thread #1: tid = 0x263ed, 0x0000000122b027e0, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x122b027e0)
    frame #0: 0x0000000122b027e0
  * frame #1: 0x000000010ab56eaa FLEX`+[FLEXHeapEnumerator enumerateLiveObjectsUsingBlock:](self=FLEXHeapEnumerator, _cmd="enumerateLiveObjectsUsingBlock:", block=0x00007fff55173248) + 250 at FLEXHeapEnumerator.m:75
    frame #2: 0x000000010ab5bc4f FLEX`+[FLEXInstancesTableViewController instancesTableViewControllerForClassName:](self=FLEXInstancesTableViewController, _cmd="instancesTableViewControllerForClassName:", className=@"__NSArray0") + 239 at FLEXInstancesTableViewController.m:31
    frame #3: 0x000000010ab63df0 FLEX`-[FLEXLiveObjectsTableViewController tableView:didSelectRowAtIndexPath:](self=0x00007fdd38682c00, _cmd="tableView:didSelectRowAtIndexPath:", tableView=0x00007fdd3a8a6000, indexPath=0xc000000000000016) + 192 at FLEXLiveObjectsTableViewController.m:204
    frame #4: 0x000000010b69d1c6 UIKit`-[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1887
    frame #5: 0x000000010b69d41b UIKit`-[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 388
    frame #6: 0x000000010b561f62 UIKit`_runAfterCACommitDeferredBlocks + 317
    frame #7: 0x000000010b575e4c UIKit`_cleanUpAfterCAFlushAndRunDeferredBlocks + 95
    frame #8: 0x000000010b582147 UIKit`_afterCACommitHandler + 90
    frame #9: 0x000000010d8c6c37 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    frame #10: 0x000000010d8c6ba7 CoreFoundation`__CFRunLoopDoObservers + 391
    frame #11: 0x000000010d8bc7fb CoreFoundation`__CFRunLoopRun + 1147
    frame #12: 0x000000010d8bc0f8 CoreFoundation`CFRunLoopRunSpecific + 488
    frame #13: 0x0000000110ef7ad2 GraphicsServices`GSEventRunModal + 161
    frame #14: 0x000000010b555f09 UIKit`UIApplicationMain + 171
    frame #15: 0x000000010aa8f2c2 SampleApp`main + 114 at AppDelegate.swift:24
    frame #16: 0x000000010e4aa92d libdyld.dylib`start + 1
    frame #17: 0x000000010e4aa92d libdyld.dylib`start + 1

Xcode 7.3.1, OS 10.11.5, iPhone 6s simulator.

+1

By  lock introspect before enumerator, I solve this.
Sample codes:
zone->introspect->force_lock;
zone->introspect->enumerator(TASK_NULL, (__bridge void *)block, MALLOC_PTR_IN_USE_RANGE_TYPE, (vm_address_t)zone, reader, &range_callback);
zone->introspect->force_unlock;

Nice! I was discussing that API with @kastiglione recently. The one concern is that any allocations within the enumeration itself could lead to deadlock if they happen to be within the same zone. We should be able to avoid that by creating a side zone for memory used within the enumeration, but it will take a little more restructuring.
All that said, I'm open to trying the simple lock/unlock mechanism with the existing implementation. It may not be totally safe, but neither is what we have now.

@ryanolsonk Did you or anyone ever implement the locking on master? Trying to see Objects referencing this object crashes 100% of the time in certain apps like Twitter

Haven't tried but it's literally two lines if someone wants to open the PR ;)

@spyLiuDJ, your solution doesn't work because the range_callback function casts context to a block, which attempts to copy the block while the heap is locked:
flex_object_enumeration_block_t block = (__bridge flex_object_enumeration_block_t)context;

I'm getting close to a solution, I think. Two things:

We should pass a pointer to block instead of block itself, which is an NSStackBlock, to avoid copying it in range_callback. We simply cast context before using it:

zone->introspect->enumerator(TASK_NULL, (void *)&block, ..., &range_callback);

static void range_callback(...) {
    if (!context) {
        return;
    }

    ...

    if (CFSetContainsValue(...)) {
        (*(flex_object_enumeration_block_t __unsafe_unretained *)context)(...)
    }
}

I've refactored the heap enumeration callback to unlock and re-lock the heap around the block callback (because doing allocations while the heap was locked, ie [array addObject:foo], caused a crash:

for (unsigned int i = 0; i < zoneCount; i++) {
    malloc_zone_t *zone = (malloc_zone_t *)zones[i];

    // Callback has to unlock the zone so we can freely allocate memory within the given block
    flex_object_enumeration_block_t callback = ^(__unsafe_unretained id object, __unsafe_unretained Class actualClass) {
        zone->introspect->force_unlock(zone);
        block(object, actualClass);
        zone->introspect->force_lock(zone);
    };

    if (zone->introspect && zone->introspect->enumerator) {
        zone->introspect->force_lock(zone);
        zone->introspect->enumerator(TASK_NULL, (void *)&callback, MALLOC_PTR_IN_USE_RANGE_TYPE, (vm_address_t)zone, reader, &range_callback);
        zone->introspect->force_unlock(zone);
    }
}

Right now, though, I'm getting EXC_BAD_ACCESS on zone->introspect->force_lock(zone); inside the if (zone->introspect ...) statement when I tap on a type in the Live Objects explorer when it gets to the last zone. Debugger screenshot

More info: sometimes zone->introspect->some_func_ptr is NULL or garbage. In this case, it's garbage, and I don't know how to tell. The debugger has access to the symbol name somehow when the function pointer is valid, and it crashes when it's just a garbage address.
A hacky workaround is to check if the function pointer address is < 0xFFFFFFFFFFFF before continuing. No more crashes on my end.

#169 has my fix