Repair API regression: Missing distance key

Repair https://github.com/SnapFresh/SnapFresh/issues/51 which is causing the iOS application to fail.

Cool, thank you. I don't see the fix in here yet. Is that still in progress?

@abannert You are fast! Yes, you are right the fix is not in here yet, this change proves what is broken.


Add arrays

We now have loops and statically unrollable arrays will give us a lot of power.

Yeah, one day we'll probably compile a fair chunk of Plutus into it. And we'll probably add more "imperative" constructs.

Added vectors of booleans in #34 and unpacking of integer field elements into binary form (required downstream).


Not getting installed

URL
https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/install
Operating system
windows
More information about your system
windows 11, x64
Description
Installation says completed, but nothing is getting installed.
Getting the following message.

dotnet --version
Could not execute because the application was not found or a compatible .NET SDK is not installed.
Possible reasons for this include:

You intended to execute a .NET program:
The application '--version' does not exist.
You intended to execute a .NET SDK command:
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download

dotnet --info

dotnet --info

Host (useful for support):
Version: 6.0.3
Commit:  c24d9a9c91
.NET SDKs installed:
No SDKs were found.
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.3 [C:\Program Files (x86)\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.3 [C:\Program Files (x86)\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.3 [C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

@skodavanti1 you ommited certain parts of the dotnet --info results that would help with the debugging.
what additional host information did it show? architecture and RID specifically. did it show other architectures found as well?
trying to check whether you might have an issue with PATH.
Type the command where.exe dotnet and see if x86 is returned first. If so, follow the instructions at https://github.com/dotnet/core/issues/5962#issuecomment-780084535.


Stop Task fails with an error around log file

We've started to get this error when running Stop task on WinAppDriver:
"Cannot find path 'C:\winappdriverlog.txt' because it does not exist."
This is running on our own agent. We've tried creating the file manually, but this only produced another error:
"Access to the path 'C:\winappdriverlog.txt' is denied.".
Giving "Everyone" the "Full Control" permission to that file didn't help.

Adding more to this issue. This was a direct fallout from a fix regarding this issue:
https://github.com/microsoft/WinAppDriver/issues/765
@hassanuz was working on this issue introduced by his fix.

This issue is also blocking me. Thank you

@horoxix as a temporary workaround I am running an Powershell Task with inline command:
(get-wmiobject -Class Win32_Process -Filter "name like 'WinAppDriver%'").terminate()

@horoxix as a temporary workaround I am running an Powershell Task with inline command:
(get-wmiobject -Class Win32_Process -Filter "name like 'WinAppDriver%'").terminate()

Hey thank you @ncksol  I will try this. Just in place of the "Stop winappdriver" task?
Thanks again!

@horoxix as a temporary workaround I am running an Powershell Task with inline command:
(get-wmiobject -Class Win32_Process -Filter "name like 'WinAppDriver%'").terminate()

Hey thank you @ncksol I will try this. Just in place of the "Stop winappdriver" task?
Thanks again!

Yep. Just normal powershell task with "Inline" option and this code.

Thank you @ncksol I truly appreciate it.
Just tested and it worked great!

I’m starting to really wonder about this tool. It seems the team has a habit of closing issues that haven’t actually been fixed.


dotdotslash

Aim
An tool to help you search for Directory Traversal Vulnerabilities
Do I want to work on this:

[x]  Yes
[ ] No
Assign this issue to me under GSSOC'23

Go Ahead @shraddha761


() throws compilation error

In eslisp, you can use () in the (for () () ()) special form to create an infinite loop for (;;) {}
But if you use () in an expression, it throws a compilation error, e.g. (+ 1 ()) -> BinaryExpression right member must be an expression node.
Typically () evaluates to nil, so I'd expect the output to be 1 + null with no compiler error.
It'd still need to keep current behavior in for-loops, since for (;;) {} is a different thing from for (null; null; null) {}.
Alternatively, () could always mean null, and there would be another way of expressing empty expressions in for loops.

Agreed; () → null would be neat. It should mean something, and null is least surprising.
The for macro could just do its own detection of when its first 3 arguments are empty lists.

IIRC, it is in common lisp.


Suggest unpkg rather than rawgit

This just saves a little time trying to update the git commit hash
each time a new version is published.

Feel free to ignore this, or perhaps rawgit can do the same (I couldn't see it in their docs).

Yea I was honestly looking at that earlier.  I plan to change this to unpkg in the next patch.


Definition of the project

This application is a storage of various documents. Define more specifically what this application is supposed to do.

The application should have the following features.

storage place of many files
web page as a user interface
add new documents
query documents based on several fields
views for a list of documents and details of individual documents


🐛(frontend) fix ProductCertificateFooter state issue

Purpose
Currently, if the learner has a submitted or pending order, the label displayed is the one as it has a validated order. Instead for submitted order, we want to prevent that the user tries to purchase again the product and with pending order
the learner should be able to retry to purchase the certificate.

Seems ok to me. Just an idea: could we abstract the order state usage away by using something like order?.hasCertificate instead of order?.state === OrderState.VALIDATED ? I'm thinking of the incoming order state refactoring here.

Good idea, I get it for the coming refactoring


Performance bottleneck creating a range using a start and end date

We've run into a performance challenge using moment-range when creating a range using a start and end date.
We've tracked the challenge down to https://github.com/rotaready/moment-range/blob/master/lib/moment-range.js#L335
With the current implementation:

hasOwnProperty is always called regardless of the type of start
hasOwnProperty expects a string, so start always has toString() evaluated.
for moment dates, toString() is nontrivial and chews through lots of CPU cycles
toString() returns a string that will never be found as a property in the internal INTERVALS object (since it's a formatted date and not what is expected, e.g. 'year', 'month', 'day')

If using hasOwnProperty is indeed the best way to hold the valid set of strings for the code path in that if block, then adding a typeof start === "string" check would avoid all that toString() date formatting work.

Thanks for this suggestion 😃
Created PR:
https://github.com/rotaready/moment-range/pull/243
Feel free to double check my benchmarks!


update codelyzer

Coverage remained the same at 100.0% when pulling b1d6baeed6aea77a122e08fa08c134e7c3287882 on update-dep into b57d78479263020a3c1fa4ebc8fb009d25da4164 on master.


ImageManager.ImageSet - filter is applied more than once

When using a theme with ImageManager.ImageSet setting different from default, something causes the filter to get applied more than once, making the images more and more dark (or bright).
This might have something to do (or not) with project panel getting updated with source control status.
Here's my theme with the Default image set selected. There are no problems here.

Next step - modify the theme to use the Darker image set. Restart FlashDevelop, take a screenshot.

A couple seconds later, the source control status has been updated. The images have become even darker.

Just wandering around the project for a bit.

FD 5.0.1
.NET CLR 2.0.50727
http://www.flashdevelop.org/community/viewtopic.php?f=6&t=12383

Is there a way to download a nightly build to test?

Here: http://www.flashdevelop.org/community/viewtopic.php?f=9&t=3529

Thanks, already found it. Looks like it's fixed indeed. Thanks!


Reports of "racy" behaviour with new compiler site

https://twitter.com/mattgodbolt/status/946518175004397574
Having no luck getting things to work until several refreshes and whatnot.
Transcript of sorts:

it doesn't seem to work at all for me? Neither Rust nor C++ work D:
actually, no language works. clang segfaults and the others complain about wrong command line options
after refreshing a couple of times, the bugs slowly faded away. There were no compiler options left, and yet they were passed to the compilers. It looks like there's some racy behavior with the text boxes

Please if someone else experiences this, let us know. We've not been able to reproduce this

I tried to reproduce it and there's a lot of small weird behaviors.

Open godbolt beta through private browsing (so there's no cookies)
Put -O3 in compiler options
Switch to Rust, notice how it doesn't compile and the -O3 is gone. It uses the -O3, which is not a valid compiler option for Rust, but it is not shown.
Switch to C++ and back to Rust, and now it's here.

There's a couple of other weird behaviors, but those could be related.

@CryZe Fixed, thanks for the detailed report :)

Awesome work everyone! Thank you so much

Fix pushed to beta and seems to be working!


chore: Add dynamodb table name to outputs.tf

Description
Add the dynamodb name to outputs.tf
Motivation and Context
Consumers of this module may need to provide a dynamodb table name instead of an ARN or ID.
For example, aws_dynamodb_kinesis_streaming_destination requires a DynamoDB table name.
Breaking Changes

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

@antonbabenko Thank you so much for creating this project. Can you take a look at this proposal and let me know if you have any questions?

dynamodb_table_id is the same as the name, so there is no need to add anything extra.

Wow, thanks for pointing that out!


Suggest to move to https://

With the way recent browser versions complain about insecure http:// connections, might it be a good idea to move this nifty resource to https://? Just a suggestion.

good idea -just migrating the domain to a new registrar and I'll flip on cloudflare after that

Netlify can be a nice hosting solution for this also

its already hosted on github pages so there isn't a need to move it anywhere

okay everything is moved to https :D


Bump dependency for machine-controller to v1.56.0

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?

/kind chore
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

NONE

Documentation:

NONE

@Waseem826 I've assigned you as a reviewer for this since it's just a dependency change.


Respect PointerEventPass for onDown

the current implementation of onDown() depends on awaitFirstDown(). But by default it uses PointerEventPass.Main internally.
In order to interact with PointerEventPass.Initial or PointerEventPass.Final we should use the method awaitFirstDownOnPass() instead inside awaitFirstDown():
suspend fun AwaitPointerEventScope.awaitFirstDown(
    requireUnconsumed: Boolean = true
): PointerInputChange =
    awaitFirstDownOnPass(pass = PointerEventPass.Main, requireUnconsumed = requireUnconsumed)

internal suspend fun AwaitPointerEventScope.awaitFirstDownOnPass(
    pass: PointerEventPass,
    requireUnconsumed: Boolean
): PointerInputChange {
    var event: PointerEvent
    do {
        event = awaitPointerEvent(pass)
    } while (
        !event.changes.fastAll {
            if (requireUnconsumed) it.changedToDown() else it.changedToDownIgnoreConsumed()
        }
    )
    return event.changes[0]
}

and replace awaitFirstDown() with awaitFirstDownOnPass() for onDown() callback.

Hey, new awaitFirstDown, with Jetpack Compose 1.4.0-alpha03, takes PointerEventPass, i will update version and add this param as well
suspend fun AwaitPointerEventScope.awaitFirstDown(
    requireUnconsumed: Boolean = true,
    pass: PointerEventPass = PointerEventPass.Main,
): PointerInputChange {
    var event: PointerEvent
    do {
        event = awaitPointerEvent(pass)
    } while (
        !event.changes.fastAll {
            if (requireUnconsumed) it.changedToDown() else it.changedToDownIgnoreConsumed()
        }
    )
    return event.changes[0]
}

May i ask in which situation you need this pass?

I'm just testing around this library and find this behavior is not expected.
Some situation might be intercepting Press event at Initial pass from parent composable.
Anyway, thanks for the investigation & modification.

@diousk current version now adds pass as param to awaitFirstDown and awaitPointerEvent functions. Yes, i had an issue where i needed parent below a disabled button to take action when disabled click and used Initial pass. Now, these gestures have same compatibility for any potential usecases


Get location in polygon and polyline

Please note: issues related to or caused by osmbonuspack will be closed with a
suggestion to open an issue at https://github.com/MKergall/osmbonuspack
(feel free to delete whatever doesn't apply)
Issue Type
[x ] Question
[ ] Bug
[ ] Improvement
[ ] Build system related
[ ] Performance
[ ] Documentation
Description and/or steps/code to reproduce the problem
How to read polygon and polyline if my location inside that?
Environment
If it's a bug, version(s) of android this affects:
All
Version of osmdroid the issue relates to:
6.1.2

What?

this is more of a geometry problem than an osmdroid issue. Open a pr if you come up with a solution. Also, keep in mind the date line may be an issue


Add api routes prefix

Also integrate eslint with CI.

Consider these too:
brace-style: [2, "1tbs", { "allowSingleLine": true }]
comma-spacing: [2, {"before": false, "after": true}]
comma-style: [2, "last"]
key-spacing: [2, {"beforeColon": false, "afterColon": true}]
linebreak-style: 2
no-nested-ternary: 2
quotes: [2, "single", "avoid-escape"]
space-after-keywords: 2
space-before-blocks: 2
space-before-keywords: [2, "always"]
space-return-throw-case: 2
space-unary-ops: 2

Also, set up a ES6 env with these rules for /public:
arrow-parens: [2, "always"]
arrow-spacing: 2
no-class-assign: 2
no-const-assign: 2
no-dupe-class-members: 2
no-var: 2

You apparently just have to make another .eslintrc in that folder with the additional rules according to configuration cascading.

Ok, I've added all the extra eslint configs. You can add any more stuffs you need in 1 of your PRs.


Why default VPC does not require Elastic IP to connect in internet

Hello,
I have one small query in default VPC. Why default VPC does not require Elastic IP to connect in internet. As per VPC concept even through we are running our instance in VPC public subnet without attaching elaticIP or ELB we can't connect that instance in internet then how it is working in default VPC without Elastic IP.
Regards,
Raja

This really isn't an issue with this project.  A default VPC assigns a dynamic public IP address to an instance, much like EC2 Classic, when an instance is launched into a default subnet.  More information about VPC public IP addressing is available here:
http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-ip-addressing.html#vpc-public-ipv4-addresses


[Feature Request] Add .toJSON() method

It is often necessary to convert a config node to JSON for downstream libraries which support JSON or for something else. The current way to do this is to go via to_container. It would be great to have .toJSON() method on the config node itself.

thinking more, pretty can support a mode for json.


Possibility to integrate official FR24 API?

Hi there!
So a few weeks ago I had an issue where I had set the scan interval to 1 second (stupid I know) and sure enough FR24 promptly blocked my IP for suspected abuse.
I got in touch with them and after some back and forth I subscribed to their API service and they unblocked my WAN IP.
The last time I read about this being an issue, FR24 didn't offer an official API service but now they do and I was wondering if there is a posibility that this integration could either move entirely to the official API or offer the ability to input the API key in order to offer the choice of using the official API.

This integration allows to use your FR24 account. The main purpose of this integration - is a free access without paid account.


Dynamic base color

The base color of the Material You can be set or adjusted depending on the selected background image. Wouldn't it be cool to adopt this here in HA as well?

Someone asked about this on the community forums but I forgot about it since an issue was never made here. The Android companion app does have an optional sensor for the accent color, in my case sensor.pixel_fold_accent_color. I could use card mod to detect this (or a helper sensor that points to this sensor and have instructions on how to create the helper and activate this sensor) and use it as the accent color, but I'd also have to include a way to calculate the primary color from that. This would also prove problematic when you have multiple users who want their own accent colors.

Thanks for the feedback. Does it make sense to put a feature request in the companion app first?

For iPhone maybe. For Android I think we have what we need to get started. I'll try to come back to this later this week.

I've got some decent progress thus far in a new branch called material-you. I'm able to use card-mod to get a user defined sensor and use it as a color, and I implemented a hex to rgb to hsl calculation in jinja2.
Now I need to figure out how to calculate a good primary color from the user provided accent color. I think I can also add global vs user specific colors using user IDs.

I've got accent and primary colors generating from a user provided hex color working and they replace the colors in the toolbar. But it doesn't seem like it's applying anywhere else. I need to figure out why and if it's possibly for these values to override the accent and primary colors globally.

Good news: I got user definable colors working on the dashboards for any cards that use accent or primary color.
Bad news: It doesn't seem like card-mod themes apply to more info popups or the services and settings pages. This severely limits what I can make user configurable using card-mod and templates.

Got it working in more info popups but not services and settings.

@Sprocket02 I've created an alpha build that allows you to set the theme primary and accent colors using sensors. Instructions on how are in the branch README.
It doesn't change all of the UI colors since the Google Home app still uses static colors and doesn't work on all pages due to card-mod limitations, but it's a start.

Very cool, thank you very much! I will test it immediately!

Can you perhaps send me a code snippet to create the template sensor? To be honest, I haven't understood it.
This theme supports Material You color theming! Create a helper template sensor named Material Rounded Base Color that returns the hex code of your preferred base color...

I'm also going to work on a more true to Material You version of this theme. As it is now, Material Rounded is based on the Google Home and Play apps, which use Material 3 shapes but not color styles. Here are some screenshots of some Google apps that do use Material You colors that I'm going to work off of.

As you can see Google isn't entirely consistent in how Material You colors are used in apps that support it so I won't feel too bad about taking my own creative liberties. I'm going to aim for the

For the installation I only have to replace the material_rounded.yaml from the Alpha build, right? Somehow it still doesn't work properly for me. I can select the theme but I can't change any colors via the helper.
There is a typo in your description of how to create the helper. There you write that you should create a helper with the name Material Rounded Theme Color. But it must be called Material Rounded Base Color or?

You should be installing it via HACS. If you replace the file directly you also have to run the service frontend.reload_themes. And sorry! It should be Material Rounded Base Color I've fixed the README.

Now it works. Super cool. Thanks a lot!

I've created another version of the theme that changes almost all colors using a user given base color but it's not great. Calculating a good Material You color palette has proven difficult and card-mod in themes can't add styles to many parts of Home Assistant. I'm going to have shelve further work on this for a while because it's giving me a headache.

I've done a huge refactor to make this theme easier to develop using separate reusable CSS style files and a pre-commit build pipeline and put out the first version 2 beta for Material You primary/accent colors and components. The Material You full color version of the theme will no longer appear but has been saved to a separate untouched base theme file for a future version 3. I hope to release version 2 soon and come back to the full color version 3 theme at a later time.

looking forward to this version. I spent the last few days tweaking the theme with a wider colour selection, however I will stop now at await the release!
thanks for your work on this theme

Can y'all give v2 beta 4 a try? I made all the card-mod CSS selectors as specific as possible to cut down on load times and removed a lot of redundant/unnecessary styles.

Hey Nerwyn I've been using the latest beta of the theme, it's looking great.
Not sure if you're seeing this but some URLs in HACs don't have great legibility, I've attached a grab here.

Also saw you're using a fire tablet. Is there an easy way reduce the action items to three dots, same as mobile? I use a fire tablet 8 and find all 3 action items too cluttered on the dashboard. Might not be possible with card mod?

I've set linked-text-color to primary-color in the latest v2 beta, it should be more visible now.
Kebab menu (three dots) vs three action items is determined by screen size, specifically at widths greater than 870px it shows three menu items, and at smaller widths it condenses them to the kebab menu. It looks like Home Assistant isn't simply hiding and showing elements with styles and media queries, but is rendering different elements at different resolutions. AFAIK there wouldn't be a way to display the kebab menu at higher resolutions.
I've personally retired most of my fire tablets in favor of this (I was the one who got the flash process working on Windows!).

Officially released v2.0.0!
But! I still need to come back to create the full color theme for v3, which I'll do at a later time since v2 took so long. I'll leave this issue open until then.

This looks great, i'm excited for the potential feature request and v3
I've converted from my custom theme over to this as of v2
Thanks for everything you do man!

Any chance the base color sensor reading stopped working? I've installed from Hacs, I have a sensor but cannot see any changes.

Still working for me and I'm up to date. What's the name and entity ID of your sensor?

I have sensor.material_rounded_base_color as per documentation. Template {{ states('sensor.material_rounded_base_color') }} outputs #ff9800 yet dashboard looks like this

Still working for me and I'm up to date. What's the name and entity ID of your sensor?Do you have card-mod installed?

Yes that was it. I made a PR https://github.com/Nerwyn/material-rounded-theme/pull/20

Finally getting back around to this. I've managed to create a separate JavaScript module that can be added as a resource to Home Assistant for generated true Material You color themes. I've also updated the theme to use this module's CSS variables instead of the hacky approximation in V2. More information can be found in this alpha and the v3 branch README.
From my testing it's working great, and applies to all of Home Assistant consistently! I'm going to work on the true Material Design 3 version of the theme next.

Material You color theme has been created and is working great with use color sensors. I still have to tweak the colors used to improve how it looks.

The Material You theme, accurate user color theme generation, and other updates are now in beta. From what I've compared to so far it looks just like Android apps and websites that use Material Design 3, and the colors used in both are exactly the same.
https://github.com/Nerwyn/material-rounded-theme/releases/tag/3.0.0-beta.002

Released 3.0.0.
This theme now has accurate material design 3 color theming via the material color utilities module. This is a breaking change as it requires a JavaScript module resource to be added to your Home Assistant instance, but it's worth it! See the README for screenshots how how Home Assistant can now perfectly match your Android Material You apps.


WW-5016 Support java8 date/time in date tag

Coverage increased (+0.006%) to 48.567% when pulling aacac5b9fc0cbf4c191fcb2e8be232e3fa736dd0 on aleksandr-m:feature/java8_date into f3fb36b8347e1d67b1957fe7b573bad8a1e0b484 on apache:master.

LGTM 👍


the paper

Hello,your work impresses me deeply,but I can't find the corresponding paper online.Could you please offer the manuscript  ''Kenji Koide, Jun Miura, and Emanuele Menegatti, A Portable 3D LIDAR-based System for Long-term and Wide-area People Behavior Measurement, IEEE Transactions on Human-Machine Systems (under review) '?

how can I get the paper? @koide3

Hi,
In case you need the paper, send a mail to<EMAIL_ADDRESS>from your official address in your institute or organization. #6

hi, @koide3 I sent you a mail to<EMAIL_ADDRESS>for the paper ,but you don't reply to me.

@koide3  hello,I have emailed to you using my enterprise mailbox,but have not received a reply.


🐛 don't customize non-manager deployments

What this PR does / why we need it:
To prevent customization of non-manager deployments, we introduce a check that first verifies if there are several deployments. If there are several deployments available, we customize only those with names like "ca*-controller-manager" and skip the others.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/hold
going to add more tests

/hold cancel


Obtaining project build output files failed when using finalName

Environment:

Jib version: 2.4.0
Build tool: maven:3.6.3-amazoncorretto-11
OS: Amazon Linux 2

Description of the issue:
When spring-boot-maven-plugin finalName is used jib cannot find project build output file.
Steps to reproduce:
mvn package jib:build ...

jib-maven-plugin Configuration:
    <plugin>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-maven-plugin</artifactId>
         <configuration>
             <finalName>${project.artifactId}</finalName>
          </configuration>
    </plugin>

    <plugin>
           <groupId>com.google.cloud.tools</groupId>
           <artifactId>jib-maven-plugin</artifactId>
           <version>2.4.0</version>
           <configuration>
                 ....
                 <containerizingMode>packaged</containerizingMode>
            </configuration>
    </plugin>

Log output:
[ERROR] Failed to execute goal com.google.cloud.tools:jib-maven-plugin:2.4.0:build (default-cli) on project registry: Obtaining project build output files failed; make sure you have packaged your project before trying to build the image. (Did you accidentally run "mvn clean jib:build" instead of "mvn clean package jib:build"?): /home/builder/src/myapp/target/myapp-3.0.2-SNAPSHOT.jar.original -> [Help 1]

Jib uses the JAR generated by maven-jar-plugin. Jib neither depends on spring-boot-maven-plugin nor uses a Spring Boot-specific JAR that the plugin repackages intentionally.
FYI, one should really avoid containerizing a fat/uber JAR, which is the case with Spring Boot repackaging.

However, I think this is a bug in Jib. We will look into it next week.

@tomikmar Jib 2.5.0 is released with the fix!

Thank you !!!


Upgrade playwright version to 1.33

Now it supports playwrights with a version >=1.0.0 (https://github.com/ueokande/playwright-webextext/pull/264).  Thanks for your contribution.


Release Version 2.0.31

Capturing vital signs documentation (#2651)
Draft agent documentation (#2721)
Fixes #2727 - add signingKeyId to param store (#2728)
Organizing communications docs (#2579)
feat(Storybook): enable viewing story source code (#2723)
fix(admin/client): use :projectId param to create client as superadmin (#2722)
feat(QuestionnaireForm): add support for exists, !=, etc. operators (#2714)
read clientSecret from options (#2712)
Enable graphql __type (#2700)
add loading feedback (#2713)
fix(): fix blame page (#2711)
Array search via subqueries, minor refactor (#2701)
Patient Deduplication Reference Implementation (#2674)
Add FHIRPath criteria for write operations to AccessPolicy (#2684)
Fixes #2675 - added Medplum resource types to navbar (#2698)
Dependency upgrades (#2697)
Updating solutions to include reference to EMPI use cases (#2695)
add: app version to  tag in app (#2692)
Fixed cli test on windows (#2696)
Adding blog content (#2686)
Allow Target Type input for references  (#2685)
Change extension url for Questionnaire Page (#2687)
Add validation benchmarks (#2420)
Add Category input to ReferenceRangeEditor component (#2676)
'Add Page' to Questionnaire  (#2667)
fix(docs): correct client credentials flow python example (#2682)
Document Lab Service Menu (#2629)
Add ReCAPTCHA site key to default app config (#2681)
Updating documentation for b10 (#2677)
Clarify user admin (#2671)
Clarify that patients can be part of more than one gropu (#2669)
Fixes #1418 - bot layer docs (#2656)
Keep super admin notifications open until user closes (#2666)
JWT Assertion login for CLI  (#2590)
Add default base URL to agent installer (#2665)
Use repo.searchOne where possible (#2661)
Fixes #1236 - login UX when user does not have membership (#2660)
Extract HL7 headers from bot input for AWS Athena (#2659)
Clean up temp binary storage for unit tests (#2658)
Dependency upgrades (#2655)
Blog post on system strings (#2646)
Allow bots to return Hl7Message instances (#2653)
Agent installer (#2652)
Deploy bot layer on new release version (#2654)
Enable profile validation (#2649)
Fixed JSON escaping of HL7 strings from lambda bots (#2650)
Handle slicing edge cases for profile validation (#2620)
Document system only search (#2648)
Medplum Agent data definitions (#2640)
Improve handling of primitive extension properties (#2641)
Fixes #2618 - initial field selection in filters dialog (#2645)
Document GraphQL list filtering with FHIRPath (#2643)
JWT Bearer Login for CLI  (#2587)
fix(docs): fix typo in family-relationships.mdx (#2644)

coverage: 94.239%. remained the same when pulling adfa0ca88760b2ab6fdf846cb393e6e101f24764 on version-2.0.31 into ad82b12e67f03b384747c8162946c00232e734c2 on main.


Remove security warning

Ok. If you can not duplicate the issue based on information in this image, I will close the issue.


why the restriction on node version?

Do you have a specific reason to lock your package to >=7.7.0 <=8.1.x?
TIA

@Morriz
No reason - it shouldn't matter what node or npm version you have...it's just habit from other build scripts I have - I can remove it :)

@Morriz
This is now taken care of in 1.10.2 - https://github.com/JFusco/es6-event-emitter/releases/tag/v1.10.2


Upgrade parent 63 and Java 1.8

You will need to add a java1.8+ profile for javadoc and the javadoc source: https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#source
For Java 9+ you could also use release: https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#release


missing derivatives for += in fvar

I was looking through the autodiff code for fvar and saw this in fvar.hpp:
      template <typename T2>
      inline
      fvar<T>&
      operator*=(const fvar<T2>& x2) {
        d_ = d_ * x2.val_ + val_ * x2.d_;
        val_ *= x2.val_;
        return *this;
      }

      template <typename T2>
      inline
      fvar<T>&
      operator*=(const T2& x2) {
        val_ *= x2;
        return *this;
      }

These are too general.  The only legal pattern to multiply an fvar<T> is with a double (including promoted integers) or another fvar<T>.

[ ] Change signatures to

template <typename T>
inline fvar<T>&
operator*=(const fvar<T>& x2);

template <typename T>
inline fvar<T>&
operator*=(double x2);

There is also a problem with the second version not propagating derivatives, so we need to

[ ] add statement d_ *= x2; to propagate derivative
[ ] add test to go with it

@bob-carpenter Found the following lines which are now in stan/math/fwd/core/fvar.hpp:
      template <typename T2>
      inline
      fvar<T>&
      operator+=(const fvar<T2>& x2) {
        val_ += x2.val_;
        d_ += x2.d_;
        return *this;
      }

      template <typename T2>
      inline
      fvar<T>&
      operator+=(const T2& x2) {
        val_ += x2;
        return *this;
      }

So that should take care of the first problem. However, we do still need to make operator*=() and operator/=() less general, and make the derivatives right.


CopyTo and TargetFolder is subfolder of the source dir

If the copyTo Path does not exists and is a subfolder of the source dir, you get a recursiv folder creation.

solved


Batch account cache updates into one call

Closes https://github.com/workbenchapp/solana-workbench/issues/118
Instead of tons of getAccountInfo calls from the individual components, this PR rolls up the call to refresh top account info into just one getMultipleAccountInfo()
https://user-images.githubusercontent.com/1476820/177650621-ef52caaa-85fd-45d0-b00c-1b4f37ee7086.mov
Can haz no more highnet ban?

pffft, looks like sol amount likes to wink in and out at the moment

that's the only remaining bug i can spot though, this is ready for review

yup, that's got to do with something in the "Max delta" and Count calculation and value saving - its most obvious sorting by Count, as the value never gets above 1
DEFER to next PR


Avoid saving unchanged cubes

Curently "isModified" is changed in the most safe way possible - set to true whenever a cube is accessed. This is very inefficient for saving them, fix it.

Fixed with #224


Review gist of CrateDB adapter

Hi there,
we just talked about TSPERF again, because both TSBS and RockBench will no longer be maintained going forward, so TSPERF could be considered as a good alternative.
Can I humbly ask you to evaluate and/or confirm this is the optimal / most-performant way to insert data into CrateDB?
https://github.com/crate/tsperf/blob/666ddfe3a29607231c613b0b523be8dce053ec7e/tsperf/adapter/cratedb.py#L66-L79
With kind regards,
Andreas.
/cc @WalBeh, @proddata, @hammerhead, @hlcianfagna

According to the documentation, UNNEST is still faster than multi-value statements. But it also says that the HTTP bulk endpoint is comparable to UNNEST:

The advantages are the same as using the UNNEST method:

From that perspective, I think we can use the more common self.cursor.executemany over UNNEST. Which is also what we typically use in production (for Python environments).


Eloquent Model GetKey shouldn't return castable object

Laravel Version: 9.19
PHP Version: 8.1.4
Database Driver & Version: MySql

Description:
Model's getKey() method returns primary key attribute. There are multiple places where getKey() is expected to be a string, but getAttribute() could actually return a castable class.
If casted object is returned, getKeyForSelectQuery() would return it as well and setKeysForSelectQuery() would end up like where id = {}
Steps To Reproduce:
Dirty way, would throw Object of class App\Http\Controllers\UserId could not be converted to string
use Illuminate\Database\Eloquent\Casts\Attribute;
use Illuminate\Database\Eloquent\Model;

class UserId
{
    public function __construct(private readonly string $uuid)
    {}

    public function value(): string
    {
        return $this->uuid;
    }
}
class User extends Model
{
    public $incrementing = false;
    protected $keyType = 'string';
    protected $fillable = ['id'];

    public function id(): Attribute
    {
        return new Attribute(
            get: fn ($value, $attributes) => new UserId($value),
            set: fn ($value) => ['id' => $value->value()],
        );
    }
}

$model = new User();
$model->id = new UserId('25ebacb2-552c-4553-89d1-c4850f851552');
$model->exists = true;

$model->save();

From the docs:

Eloquent will also assume that each model's corresponding database table has a primary key column named id.  If necessary, you may define a protected $primaryKey property on your model to specify a different column that serves as your model's primary key
In addition, Eloquent assumes that the primary key is an incrementing integer value, which means that Eloquent will automatically cast the primary key to an integer. If you wish to use a non-incrementing or a non-numeric primary key you must define a public $incrementing property on your model that is set to false
If your model's primary key is not an integer, you should define a protected $keyType property on your model. This property should have a value of string

reference: https://laravel.com/docs/9.x/eloquent#primary-keys
In other words, an Eloquent model primary key should be either an integer value or a string value. Objects of any types are not supported as a valid primary key for Eloquent Models.
If you believe this is a feature Laravel should add, you can either:

Propose a PR
Start a discussion, on the discussion session here at GitHub, as described in the docs

reference: https://laravel.com/docs/9.x/contributions#core-development-discussion

Updated example with $keyType and $incrementing, result is the same.

In other words, an Eloquent model primary key should be either an integer value or a string value. Objects of any types are not supported as a valid primary key for Eloquent Models.

Exactly, this is what I'm saying, Eloquent tries to cast primary key to possible castable object if it exists when it shouldn't.

What you try to do is simply not supported.

Exactly, this is what I'm saying, Eloquent tries to cast primary key to possible castable object if it exists when it shouldn't.

Not actually, as the docs implies, Eloquent expects the developer will provide either an integer or a string value as the primary id, therefore it does not need to check for castable objects or any sort of objects.
By defining an accessor/mutator for your model's id property, you are breaking this deal. Is not Eloquent't job to ensure keys are either an integer or a string when using it, is your job to provide Eloquent an integer or a string as the model's primary key.
Eloquent will assume the developer is providing an scalar integer or string and will use it like this. Simple as that.
In your case, you can try to override the getKey() method in your model, doing the cast you need, to see if this solves your issue.
But be aware that if this solution works now, it is still a workaround that might break in the future, as using a Value Object as the primary key is a unexpected use case and the maintainers don't need to consider this personal use case of yours on future changes or enhancements.
As suggested, if you believe Laravel should support this use case, which is totally a new feature request and not a bug correction, either send a PR, or start a discussion as stated on the docs.

Although you're right, when it comes to writing applications that are less prone to simple mistakes, this is not exactly a great outcome of Laravel. I want to use value objects for my IDs, but Laravel won't let me (one of the few times I've actually found myself fighting Laravel!)
A problem here is that even the primary keys should respect casts of those same values, and if they need to be accessed as strings, Laravel should at least respect Stringable implementations (which my IDs are).


Default install instructions don't work

The run command on the dockerhub page isn't sufficient to start the container. I was getting errors with IPTABLES and not being ran as root.
The minimum compose I needed was:
  private-internet-access:
      container_name: pia
      cap_add:
        - NET_ADMIN
      devices:
        - /dev/net/tun
      network_mode: bridge
      # init: true - doesn't work on 3.3
      environment:
          - REGION=CA Montreal
          - USER=p1234431
          - PASSWORD=nonono!
          - NONROOT=no
      image: qmcgaw/private-internet-access

Hi there,
Thanks for reporting this.
The container should be running as root by default (and needs root anyway to start).
Using NONROOT=no only influences openvpn dropping root privileges once it has connected.
Would you mind sharing the error you got with the documented run command? Thanks!

This can be closed...I think it is because I turned the run command into a docker compose...doing just a straight run works.
It also may be because i was using compose 3.3


[go_router] bad state no element after change to 5.2.3 version

After change version from 5.2.1 to 5.2.3 when opening the app and go into first redirect method I face the issue: bad state no element from GoRouteInformationParser -> method restoreRouteInformation() gives an error when checking condition using cofiguration.matches.last (matches are empty in my case). Adding "configuration.matches.isNotEmpty &&" fixed the problem in my case, but I'm not sure if its proper behaviour that I have matches empty.

Closed as there is pr for those bug


Fix/wdio5/no screenshot with failed test

Fixed the issue screenshot is not generated when there is failed case.

Thanks!


[Feature request] Would it be possible to add the bookmark to a single file, html wiki ?

Hello ! First of all thanks a lot for this addon, so far it's working great for me.
I have a lot of "standard" tiddlywikis, html files and I was wondering if it would be possible to push the bookmarks to these files ?
Maybe using a similar approach to timimy ?
Have a great day !

I originally had a concept for a mode that would identify the tab running the user's TW, then attempt to execute some JS to add the bookmark. Unfortunately, the tabs API didn't give me quite the power necessary to do that. The Timimi approach is theoretically possible, but that would require directly modifying a user's TW, which would be a very sensitive bit of code – I might find myself responsible for breakage. The download mode was the compromise I arrived at.


"Unknown argument" as a "syntax" error.

I'm using doom emacs, on linux kernel.
I get these 7 lines on every single c related file I have open:

Logs
Please attach the clangd stderr log if you can. (Usually available from the editor)
If possible, run with --log=verbose - note that the logs will include the contents of open files!
If this is a crash, try to put llvm-symbolizer on your PATH per the troubleshooting instructions.
System information
Output of clangd --version:
clangd version 13.0.0
Features: linux
Platform: x86_64-unknown-linux-gnu

Editor/LSP plugin:
Doom Emacs, lsp-mode
Operating system:
NixOS

Yes, that's supoptimal but letting users know that the compile flags being used for the file are not compatible with clang is an important signal to keep.
You can suppress those by having a .clangd config file with contents that look like:
CompileFlags:
  Remove:
    - -mno-fp-ret-in387
    - ...

See clangd.llvm.org/config for details.

@kadircet why are they errors? can't you display them as warnings / info? are these flags likely to actually cause issues if LSP just ignores them?
Like who cares if LSP is ignoring -fconserve-stack, it's just a performance flag, it's not going to help me debug my code right?


Allow for usage of GLTF primitives that have no texcoords

I purchased a model from cgtrader.com where the gltf file describes the model using just base colors (no textures and no texcoords on primitives, which is valid gltf), and it panics when bevy tries to load the gltf and compile the pipeline.
Bevy GLTF loader creates the mesh with no UV attributes, as expected. When it attempts to compile the pipeline we get an error saying that it expected a Vertex_Uv attribute but it's not supplied by the mesh.
thread 'Compute Task Pool (5)' panicked at 'Attribute Vertex_Uv is required by shader, but not supplied by mesh. Either remove the attribute from the shader or supply the attribute (Vertex_Uv) to the mesh. ', crates\bevy_render\src\pipeline\pipeline_compiler.rs:223:17
This changes makes it so that the forward shader uv attributes get enabled with STANDARDMATERIAL_ALBEDO_TEXTURE since the gltf loader uses PbrBundle/StandardMaterial. The uv attribute today is only used when STANDARDMATERIAL_ALBEDO_TEXTURE  is enabled in the fragment shader.
Tested FlightHelmet and my gltf which has no texcoords, both work now.

Hmm I think problem shouldn't be resolved in shaders. That puts to much burden on the shader author to support every potential input mesh.
Instead I think this should either be fixed by:

inserting empty uvs into the mesh asset before rendering (a manual user action)
automatically inserting zero-ed out buffers for meshes with missing vertex attributes. #599 used to do this, but it was removed and tabled for a later date. This feels like the most user-friendly approach, but it will take some finesse to get the UX and performance right.

Post processing your mesh with (1) in app code should be a decent workaround. (2) is the solution I want to shoot for.

Cool, i'll try to take a look at implementing what you described as 2.
Thanks for thinking about this!

Closing this as it will require a different implementation (as discussed above)


Restore root functionality for all Android versions

Okay, I'm a complete noob when it comes to Kotlin/Android development, so I apologize in advance for code smells, if any.
I hugely prefer root mode over media projection, so I wanted to restore this feature after it has been pretty much killed by 92b9ae71. After a bit of searching, I found that the screencap command prints directly to stdout if you omit the file parameter (see here and here), so that's exactly what I did. I had to tweak some stuff in SuperUser to make su's input stream available to RootScreenshotService, so the latter could consume it directly. I feel that those two files are more coupled together now, so I would really appreciate some input with this.
Despite my concerns with the code quality, it's working great, as you can see in the video attached. 😄
https://user-images.githubusercontent.com/4316326/103143482-b0ad2080-46f5-11eb-8b6f-a20a2af02468.mp4

Okay, I'm a complete noob when it comes to Kotlin/Android development, so I apologize in advance for code smells, if any.

Hey, the code is absolutely fine, not like I'm an expert in Kotlin/Android 🤣. This is kind of my first Android app.

I feel that those two files are more coupled together now, so I would really appreciate some input with this.

I think it's fine. You could remove the sendCommand and waitForCommand now, but it's fine for me either way.

Great! I've just woke up and I'll do the last changes in a few minutes

And done!


RTL styles incorrect using Material UI and PigmentCSS

Related page
https://mui.com/material-ui/migration/migrating-to-pigment-css/
Kind of issue
Broken demo
Issue description
I’m trying to use MUI with PigmentCSS. As you mentioned that RTL support is available, we followed your guide. Our configuration is provided below. However, we were unable to fully enable RTL. What should we do?
next.config.ts:
import { composePlugins, withNx } from "@nx/next";
import { withPigment } from "@pigment-css/nextjs-plugin";
import { pigmentConfig } from "./src/theme/theme";
/**
 * @type {import('@nx/next/plugins/with-nx').WithNxOptions}
 **/
const nextConfig = {
  nx: {
    // Set this to true if you would like to use SVGR
    // See: https://github.com/gregberge/svgr
    svgr: false,
  },
};

const plugins = [
  // Add more Next.js plugins to this list if needed.
  withNx,
];

export default composePlugins(...plugins)(withPigment(nextConfig, pigmentConfig));

pigment config:
export const pigmentConfig: PigmentOptions = {
  transformLibraries: ["@mui/material"],
  theme: createTheme({
    direction: "rtl",
    cssVariables: {
      colorSchemeSelector: "class",
      cssVarPrefix: "nyx",
    },
  }),
  css: {
    defaultDirection: "rtl",
    generateForBothDir: false,
  },
};

layout.tsx
import "./global.scss";
import<EMAIL_ADDRESS>import InitColorSchemeScript from "@mui/material/InitColorSchemeScript";

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="fa" dir="rtl" className="light">
      <body>
        <InitColorSchemeScript attribute="class" defaultMode="light" />
        {children}
      </body>
    </html>
  );
}

component I'm using material components:
import { TextField, Typography } from "@mui/material";
import Box from "@mui/material-pigment-css/Box";
import React from "react";

const TestCompo = () => {
  return (
    <Box sx={{ display: "flex", flexDirection: "column", height: "100%", gap: "10px", marginTop: "1rem" }}>
      <TextField label="عنوان به صورت تستی" />
      <TextField label="شماره دو" />
      <TextField label="شماره 3" />
      <Typography>درود بر همگی</Typography>
    </Box>
  );
};

export default TestCompo;

Problem screenshot:

Context
No response
Search keywords: rtl in mui with pigmentcss

@Hadi-bakhshi Thanks for reporting this ~ would you be able to share a repro in CSB/Stackblitz as well?

@Hadi-bakhshi Thanks for reporting this ~ would you be able to share a repro in CSB/Stackblitz as well?

I'm so sorry but it's a private repository and I can't share it. But I will create another repo with the same condition and I'll share it with you asap.

@Hadi-bakhshi Thanks for reporting this ~ would you be able to share a repro in CSB/Stackblitz as well?

@Hadi-bakhshi
Have you tried following the 3 steps in this guide?
https://mui.com/material-ui/customization/right-to-left/

@Hadi-bakhshi
Have you tried following the 3 steps in this guide?
https://mui.com/material-ui/customization/right-to-left/

The thing is that we migrated to PigmentCSS from emotion and this configuration is for emotion, we tried it and didn't work. we confronted an error.

You mean there's no solution for now?

No. It's a bug on Pigment side. The temporary workaround is to set generateForBothDir: true

Ok thank you for your efforts. Waiting for the new version


Incorrect grid export limit unit and range on MS Series

Hello,
I have a Goodwe GW8500-MS. The grid export limit on this unit is set in percentage(%) of the rated power.
eg. Setting the export limit to 60% will cap the export at 5.1kW (60% of max AC power rating of 8.5kW).
I have tested the slider of the export limit on v<IP_ADDRESS> of the plugin and I can successfully set 100 and 0 as the grid export limit value. It also gets the right value from the inverter.
Any chance the range of the export limit can be adjusted based on model or by querying the capability of the system?
Thanks

Can you please paste screenshot from the SolarGo where it is begin set ?
I will look into it and try to make it device specific.

Here you go:

I see that it has been removed in this commit in the latest version of the package.

I was scratching my head as to why it wasn't working in the official HA integration 😄
Btw the time sensor above never worked for me. It's probably a different register.

Btw, looking at the packet trace from SolarGo, I have been able to receive the inverter time from register 30100(0x7594).
Timestamp("time", 30100, "Inverter time"),

Integer("shadow_scan", 40326, "Shadow Scan", "", Kind.PV),
Integer("grid_export", 40327, "Grid Export Enabled", "", Kind.GRID),
Integer("grid_export_limit", 40336, "Grid Export Limit", "W", Kind.GRID),

gives the following values
2022-02-11 16:14:01,573 __init__(59) - DEBUG: Using selector: KqueueSelector
2022-02-11 16:14:01,573 _ensure_lock(100) - DEBUG: Creating lock instance for current event loop.
2022-02-11 16:14:01,574 _send_request(66) - DEBUG: Sending: 7f03759400035435
2022-02-11 16:14:01,628 datagram_received(49) - DEBUG: Received: aa557f030616020b100d35b487
2022-02-11 16:14:01,628 _send_request(66) - DEBUG: Sending: 7f039d8600014051
2022-02-11 16:14:01,715 datagram_received(49) - DEBUG: Received: aa557f03020000904e
2022-02-11 16:14:01,715 _send_request(66) - DEBUG: Sending: 7f039d8700011191
2022-02-11 16:14:01,803 datagram_received(49) - DEBUG: Received: aa557f03020001518e
2022-02-11 16:14:01,804 _send_request(66) - DEBUG: Sending: 7f039d900001a195
2022-02-11 16:14:01,893 datagram_received(49) - DEBUG: Received: aa557f0302003c905f
time: 		 Inverter time = 2022-02-11 16:13:53
shadow_scan: 		 Shadow Scan = 0
grid_export: 		 Grid Export Enabled = 1
grid_export_limit: 		 Grid Export Limit = 60 W

I switched the grid_export_limit to % for DT inverters.
Could you please test the master version of HACS component before I release that ?

Do you have instructions on how to go about testing that? Now that goodwe integration is part of HA 2022.2?

I get this on HA 2021.12
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 81, in async_setup_entry
    return await component.async_setup_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 147, in async_setup_entry
    platform = await async_prepare_setup_platform(
  File "/usr/src/homeassistant/homeassistant/setup.py", line 309, in async_prepare_setup_platform
    platform = integration.get_platform(domain)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 530, in get_platform
    cache[full_name] = self._import_platform(platform_name)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 535, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/config/custom_components/goodwe/number.py", line 50, in <module>
    GoodweNumberEntityDescription(
TypeError: __init__() got an unexpected keyword argument 'step'

HACS version now needs HA 2022.2.
There's nothing special since the integration got into HA, custom components from HACS always take precedence.
So just, upgrade HA to 2022.2.x and then re-download HACS integration to master version.

Thanks for that. This is the error on 2022.2 with master checkout of the plugin:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/goodwe/number.py", line 116, in async_setup_entry
if inverter.family == "DT" and description.key == "grid_export_limit":
AttributeError: 'DT' object has no attribute 'family'

OK, that was my mistake.
Should be fixed now, please try master again.

I downloaded the latest master and it looks good now.
Entity
The units, step and max value seem to be OK.

History
I have modified the value of grid export limit on HA and verified the change on SolarGo 👍 .
I still see W as the unit on the graph. Is it due to the fact that an older entity existed with the same id but different units?

Yes, the W unit is very likely caused by history records of the entity with same name.
I think HA also logs that mismatch as warning during start.

I can confirm that was a relic from when the entity was previously configured. Deleting the entity from the HA db and restarting fixed the unit to % I think this is good to go.
Could you please look at bringing back get/set of the inverter time as well as per https://github.com/mletenay/home-assistant-goodwe-inverter/issues/111#issuecomment-1035892702
Thanks again for being so responsive.

Well, the inverter time at register 30100 is the read-only register (and is already being provided as sensor as part of the get_runtime_data call).
It cannot be used for the write operations.
I expected the read-write register at 40313, but that one is obviously wrong, it did not work for anyone.

I can confirm 40313 works on my inverter. The date and time was 2022-02-19 11:50:49
Here is the complete packet that was sent out by SolarGo.
7f109d790003061602130b32318150

Part of Data Package
Description
Value

7F
Slave address
0x7F (127)

10
Function code
0x10 (16) - Write Multiple Registers

9D 79
Starting address
Physical: 0x9D79 (40313)Logical: 0x9D7A (40314)

00 03
Quantity
0x0003 (3)

06
Byte count
0x06 (6)

16 02 13 0B 32 31
Registers value
0x16 (22) 0x02 (12) 0x13 (19) 0x0B (11) 0x32 (50) 0x31 (49)

81 50
CRC
0x8150 (33104)

Let me know if you need more data with regards to this.

Do you want me to run additional tests @mletenay ?

Hi guys, I found the same issue in my Goodwe GW5000D-NS. I mean the grid_export_limit (number.grid_export_limit) was set in % but after verify really is Watt, for example:

100% = 100W, 50% = 50W and so on.

I´ll try to change the attributes setting the Power = 5000 (according my Inverter model) and adjusting the unit of measurament to Watt  but I receive a error from HA, understand must to me adjusted by the owner of the integration :)

In this way (Maybe must to be a new one post/discussion) trying to control the exported energy to the grid (want to be ~0) and considering this model of Inverter can´t control the zero exportation I made some adjustments manually in SolarGo in order to "control" the energy exportation adjusting the Power Limit Value:

I have the Shelly Power Meter integrated in my HA, then I can see the power generated by the solar panels and the power of the grid (Negative means inyection to the grid).
Now if you can see I made the manual adjustments in order to control the generated power by panels, then I believe can control automatically, any thouths?

Other example:

@carlodie This is really weird and D-NS specific ??
Since all inverters have the export limit in Watts and there is explicit different code for DT based inverters which use %.
So it seems like D-NS talks the "DT" protocol, but in this aspect behaves like the other inverter families ???
Aaaargh, Goodwe !

@carlodie This is really weird and D-NS specific ??
Since all inverters have the export limit in Watts and there is explicit different code for DT based inverters which use %.
So it seems like D-NS talks the "DT" protocol, but in this aspect behaves like the other inverter families ???
Aaaargh, Goodwe !

Hi @mletenay I don't know about the other series or families, but in my D-NS (LCD screen) and SolarGo APP the set is in "Watt" but in Home Assistant integration figures/apper in "%"  but really the setup is in Watt.
As I mention before, for example in Home Assistant I set 10% but when I check in SolarGo the value is 10W, no 10% and so on.
This must to be adjusted in the code of Home Assistant Integration right?

Hi All
Can I ask what the outcome of this was? I have the same 8500-ms inverter and trying to use the export limit but it is showing in watts not percent and when I try and set it I get an error


chore: add support for blender 2.90.1

Great work man, i actually been using your script for a while and added the 2.90.1 support myself (it was basic for me cause i have no knowledge of python) however, is there any chance optiX can be supported?


Fix typo

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/07e2b81847592045529dc76d4423d862663fe009/
Edited pages:

v20.1/import-performance-best-practices.md

Can you fix the typo in the 20.2 doc as well?

@JakeSCahill Thank you for your contribution! We recently moved our default branch from master to main and restructured our content. I applied your suggestion to our main branch via #17220.


Develop branch merge

Closes #22  Closes #21

Pulling in all the fixes on the develop branch into the master branch.


Make use of exchangerate-api.com instead of exchagerateapi.io.

Pull Request Label:

[X] Bug
[ ] New feature
[ ] Enhancement
[ ] New component
[ ] Typo

Pull Request Checklist:

[X] Have you followed the guidelines for contributing?
[X] Have you checked that there aren't other open pull requests for the same fix or component?
[ ] Have you ran the tests locally with bats tests?

Due to exchagerateapi.io is now requires an access key, the currency script will fail with syntax error.
As a remedy, I make use of exchangerate-api.com instead.

Thanks for the contribution 🎊


PR for eslint configuration

What does this PR do?
This PR sets up eslint to use ES6 syntax
Description of Task to be completed?
Task enables checking of Airbnb ES6 style violation on command line.
How should this be manually tested?
To manually test this, run the following command :
git clone https://github.com/andela/izanami-cfh.git
cd izanami-cfh
npm install
./node_modules/.bin/eslint <path to js file>

Any background context you want to provide?
N/A
What are the relevant pivotal tracker stories?
configure eslint
Screenshots

Hound is throwing an error of how eslint was configured. Please check this out


Laravel Routes Test Error

I have the original document for the v. 3.2 and i don't edit anything. When i do the Step following the youtube's tutorial that i have to insert in the console phpunit, this declare that i have a Fail. And is this:
LaravelRoutesTest::testLandingResponseCode Failed asserting that 500 matches expected 200
C:\xampp\htdocs\ECOMotoAPI\API\test\LaravelRoutesTest.php:15
C:\xampp\php\pear\PHPUnit\TextUI\Command.php:176
C:\xampp\php\pear\PHPUnit\TextUI\Command.php:129
The original code from teh project is:
<?php

class LaravelRoutesTest extends TestCase
{
    /**
     * A basic functional test example.
     *
     * @return void
     */
    public function testLandingResponseCode()
    {
        $response = $this->call('GET', '/');

        $this->assertEquals(200, $response->status());
    }

    public function testUnsupportedBrowserPage()
    {
        $this->visit('/unsupported-browser')
             ->see('update your browser')
             ->see('Internet Explorer');
    }
}

I have to change this line:
$this->assertEquals(200, $response->status());
for this?
$this->assertEquals(500, $response->status());
If i do this the Fail don't appear, but i don't know if is the correct solution.

Hi @RVidal111
If you  run php artisan serve and browser to localhost:8000 does the site load?
Also have you finished all installation steps?


add resp.Error.Type()

Errors returned by a redis server are always made of a leading uppercase code which represents the type of error that was encountered.
This PR adds a method to extract those codes with a call to the resp.Error.Type() method.
Please take a look and let me know if something should be changed.

Thanks for the review!


Reset role inheritance and remove all existing unique role assignments

Added option to remove all existing unique role assignments.
Added option to reset role inheritance
I hope I'm not too late to the party again. New PR for #289

Hi @jensotto,
I'm working on a new schema version and I'm trying to process this PR, too. Could you please expand a little bit more about the use case you need to satisfy with this PR? Thanks.

Currently if you specify unique role assignments existing unique role assignments already defined on the securable object will be kept. Current implementation will only allow to add role assignments and not replace or remove existing role assignments, unless you know upfront exactly what role assignments to remove. This approach is impractical. There might be situations where it is required to reset role inheritance so that it is inherited from it's parent. It might also be required to clear all existing unique role assignments on the securable object so that only the role assignments in the provisioning template are present after applying the template.

Ok, thanks @jensotto I got it. This item will be closed, but I already added your proposal to the next schema and you will be credited. Thanks, Paolo.


Docker container for Travis CI

Create a Dockerfile for creating a Docker image which is used for the Continuous Integration workflow.

Documentation is currently WIP.

Cool! Does this generate the docker image every time it runs or does docker cache these? Or do I have to do something extra to make that happen?

I haven't tested it in detail, but on first sight on Travis, id didn't rebuild the image every time. Although this was also the case for the build without Docker.
That's why I've written the comment on #149, as the Docker build is without an additional feature may be a bit obsolete.


Add missing "Automate New Version bumping" workflow to the generated template

Why
According to what we have done in this task https://github.com/nimblehq/flutter_templates/issues/102, we already built a new GitHub Action workflow to automate the new version bumping step for the Flutter templates project repository. However, we will need the same workflow for the generated project by this template to automate the same action too.
The idea is to have the same workflow as bump_version.yml. This new workflow will be put at https://github.com/nimblehq/flutter_templates/tree/develop/.template/.github/workflows for the generated project.
Who Benefits?
Developers

@chornerman This is a simple task. Can I know your status on this? Do you have any concerns about finishing this one, please?

@chornerman This is a simple task. Can I know your status on this? Do you have any concerns about finishing this one, please?

@luongvo Sorry about this. I've been busy with POCs and my Compose IC lately. Will try to finish this task within this week 🙏


GetPrecursorInfoFromScanNum() problem with MSFileReader_3.1SP4_x64

Hi,
Thanks for the code you offer, i took it and added it to my project.
For some reason, now my script crashes every now and then.
I located the source of the crash to GetPrecursorInfoFromScanNum() function and apparently the script crashes when i tries to touch the VARIANT variable after calling the dll function.
The odd thing is that it happens once in a while, i can run it for an hour and it won't crash then run it again and it crashes on start.
Would really appreciate you help,
Rotem

Hello,
What version of msfilereader do you use? I recommend trying with a
different version of msfilereader, these are just python wrappers to it.
You are the first one to signal me this kind of problem.
Cheers
On Thursday, October 11, 2018, pmrotem<EMAIL_ADDRESS>wrote:

Hi,
Thanks for the code you offer, i took it and added it to my project.
For some reason, now my script crashes every now and then.
I located the source of the crash to GetPrecursorInfoFromScanNum()
function and apparently the script crashes when i tries to touch the
VARIANT variable after calling the dll function.
The odd thing is that it happens once in a while, i can run it for an
hour and it won't crash then run it again and it crashes on start.
Would really appreciate you help,
Rotem
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.<
https://ci4.googleusercontent.com/proxy/a-G1Upd5y_uj_UleLeCL7acX0DaNozQ0jD-TMAaxudJmcgjAAzUGFNrDr3Ksj3hn9qseFvmjOpWJXRNbj_JigeXrG2Rg9KJV5kwCVogm3WbgrydFWZ4QoD7gSU8M8ujGLVjYbyfJ2IQlP8j-KhSqJyoIDB8hHA=s0-d-e1-ft#https://github.com/notifications/beacon/AB1Q2i_f0M69OdkQhe-lyVoZu0B3lUKQks5ujvMFgaJpZM4XW7-o.gif

--
François ALLAIN
+353 83 470 6341
+33 651399906

ok thanks,
will try another msfilereader.

Hi,
i tried 2 other versions, but the same crash still happens.
I'm using 64 bit thermo dll and python, maybe switching to 32bit can make a change?
Thanks,
Rote,

Hi,
Just to let you know, it seems that moving to python 3 32-bit and MSFileReader_3.0SP2.zip 32-bit seems to solve the problem, can't reproduce the crash i had.
Rotem

Interesting thanks, what was the original version of msfilereader? What did
you try?
On Wednesday, October 17, 2018, pmrotem<EMAIL_ADDRESS>wrote:

Hi,
Just to let you know, it seems that moving to python 3 32-bit and
MSFileReader_3.0SP2.zip 32-bit seems to solve the problem, can't reproduce
the crash i had.
Rotem
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/frallain/MSFileReader-Python-bindings/issues/4#issuecomment-430600192,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB1Q2qQk3JbqUDnmGBxv1sixMwvgfAEfks5ulxvBgaJpZM4XW7-o
.

--
François ALLAIN
+353 83 470 6341
+33 651399906

at first i used MSFileReader_3.1SP4_x64 and python 3.5 64-bit.
I tried using other versions of comtypes package, and other msfilereader versions, but only switching to 32-bit seems to solve the issue.

@pmrotem Could you provide your rawfile so that I (or Thermo) can reproduce this bug?
It must be a regression bug introduced in version 3.1

Also, have you been trying on the same OS? Which one?
Same version of comtypes? Which one?
Same version of python? Which one?
What are the combinations of MSFileReader-Python versions you tried?

Hi,
It is been a long time since then but i'll try the best i can:
comtypes - i tried 1.1.7 and maybe some earlier versions
os - i tried win10 mostly, i think also tried win7. i encountered this bug on at least 2 different pc's.
python 3.6.* 32 bit and the 32 bit msfilereader dll i mentioned(which works), but just so you'll know i encountered a memory error with big files due to the 32bit python(the virtual addresses are much smaller)
python 3.6.* 64 bit and the msfilereader 64bit 2 dll's (i mentioned above).
i can check if i can upload the mzml, but to where (btw, i encountered this error with different files, not only one)? as i told you, this bug is a nasty one, it doesn't happen at the same time and at the same place.
Thanks alot, and i hope this issue will be resolved.
Rotem

I'm having the same problem.... python 3.8 64-bit... windows 10
When I call getVersionNumber, I get "66".  The size of the DLL file is 263,680 bytes.  Maybe that tells you which version.
The queer thing is that it causes the program to crash with an Oracle error message, so it took me a heck of a long time to track this down.
ORA-24550: signal received: Unhandled exception: Code=c0000005 Flags=0

Encountered exception while getting args for function:0x00007FFCEEBAD4CC
kpedbg_dmp_stack()+350<-kpeDbgCrash()+123<-kpeDbgSignalHandler()+128<-skgesig_Win_UnhandledExceptionFilter()+164<-00007FFCEB1F6913<-00007FFCEEBAD504<-00007FFCEEB963A6<-00007FFCEEBA9FFD<-00007FFCEEB351C8<-00007FFCEEBA907E<-00007FFCB931F1A0<-00007FFCB9315171<-00007FFCB9318159<-00007FFCB9318910<-00007FFCB9437254<-00007FFCB9420192<-00007FFCB9436907<-00007FFCB9436E73<-00007FFCB9420192<-00007FFCB9436907<-00007FFCB9436E73<-00007FFCB9420192<-00007FFCB941FE1A<-00007FFCB943F2CB<-00007FFCB9423CFD`
```
I can't tell from the chain above whether a working version has been identified.
I'm sort of stuck until this is sorted out ☹ So I will start trying different versions in the morning...


Is it possible to grant co-administrator permission (to manage ASM) with PIM?

Is it possible to grant co-administrator permission (to manage ASM) with PIM?
I tried to create a custom role but I couldn't find what to add to owner role definition to allow co-administrator permissions.

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

ID: e87c5c36-7f4f-cb86-8835-85df5ae91269
Version Independent ID: 3e5c0cc6-a001-bd81-6bed-c4322fc11faa
Content: Assign Azure resource roles in PIM
Content Source: articles/active-directory/privileged-identity-management/pim-resource-roles-assign-roles.md
Service: active-directory
GitHub Login: @rolyon
Microsoft Alias: rolyon

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

Hi @amirgra , this seems to be what the doc states. What part of this did you think needed to be amended?

If your organization uses managed (non-federated) setup with on-premises AD and does not use ADFS to federate with Azure AD, then hybrid Azure AD join on Windows 10 relies on the computer objects in AD to be sync'ed to Azure AD. Make sure that any Organizational Units (OU) that contain the computer objects that need to be hybrid Azure AD joined are enabled for sync in the Azure AD Connect sync configuration.

Yes, you can add co-administrators to manage Azure Services. You would just assign a global administrator role to user. This guide is very detailed and should help you. https://the-eye.eu/public/Books/qt.vidyagam.es/library/humble-cloud-computing-bundle/Mastering Identity and Access Management With Microsoft Azure/Mastering Identity and Access Management With Microsoft Azure - Jochen Nickel.pdf

I think this should answer your question. If you have further inquiries please leave a comment below or open another issue and I will gladly continue the discussion.

Thanks @rolyon and @MarileeTurscak-MSFT
I submitted a request 👍


[WIP] feat(api/plugins): create plugins api documentation

[WIP] This will be a big one, but I think we might as well get it started. I have fully scanned through the compiler calls for any applyPlugins****() functions, however I'm not 100% sure I have all the correct hooks.

[ ] Describe the x ways to create a plugin
[ ] Describe what tapable is, and how it relates to webpack
[ ] Describe a 'tapable instance'

[ ] List All Tapable Instances

[ ] List all hooks for all instances

Part of me wants to separate these in to separate docs now that I'm think about the whole divide and conquer aspect of things, but in regards to the layout of the documentation, it makes sense for these things to all be on one page. @bebraw @jhnns @SpaceK33z Thoughts?

api/tapable/factories, api/tapable/templates and so on would work. api/tapable would work as a brief intro (high level view).

Continuing on my thought dump before I move on to something else for now: I wonder, is there any way that we could generatively find all of the webpack hooks? Like do a lib search for all of the tapable.prorotype protected methods at the least, and mention what file they come from, and then use this to fill in the details (IE: what tapable instance is this, what are the data points called).

That sounds reasonable. recast can match the pattern if you can find a nice way to traverse the source (glob would work).

I don't have much experience with building plugins, so can't comment on the specifics.
Would it be possible to show an example of a very simple plugin and explain how it works? I think this would help many developers to actually get started quickly without scouting through the whole internet to find a piece of example code :).

Referencing #36 here.

@TheLarkInn - Hey how do I contribute to this PR? You have this in a branch in your fork. I cloned your fork but I have no permission push to your branch. I'm not sure what git flow I should follow here.

I agree with @bebraw 's suggestion on how to structure the content.

First overview (How do you write plugins? What is a tapable? How do you hook into the compilation process?)
Compiler, MultiCompiler
Compilation
ContextModuleFactory, NormalModuleFactory, ...
Resolver
Template, ChunkTemplate, ...

bump @TheLarkInn I would love to take this up.

Oh hey! @pksjce Thanks for the bump. I literally just started looking into to continuing on this.

I was thinking about having this have a sub folder structure @bebraw @jhnns:
/api/plugins (index.md) (contains links to other sections)
/api/plugins/compiler (also has multi compiler)
/api/plugins/compilation
/api/plugins/module-factories
/api/plugins/resolver
/api/plugins/template
/api/plugins/dependencies (how to work with, create, add custom dependencies [IE when to use Null and ConstDep, etc, vs create your own, and link back to template]).

The structure looks good to me. I expect you can push some specific content below how tos (or guides) and cross-reference.

Closing in favor of https://github.com/webpack/webpack.js.org/pull/361


[Tasks] Lists of task to do a dev branch alpha relase

This is initial tasks list which we have to do/perform to have an alpha release from dev branch.

[ ] Bundle location (Right now on GCP)
[ ] Installer for Mac/Windows ( As of now even in dev branch, installer contain the bundles and if we create installer without bundle then we need to change the bundle cache path from installed directory to default one so we can avoid permission error.
[ ] No tray integration initially (we can hook it in later release mostly in beta)
[ ] Try to do initial release for Linux/Mac.
[ ] Document steps on wiki about how to use this dev release to try it out.

Update the process as we go on..

As of now even in dev branch, installer contain the bundles and if we create installer without bundle then we need to change the bundle cache path from installed directory to default one so we can avoid permission error.

Do we change it completely? Or do we keep the option of shipping single installer for bundle + crc, but while having the possibility of downloading to ~/.crc/cache if bundle is missing?

[ ] Add 'Known Issues' document to the wiki
[ ] Add a big 'This is an experimental releases for testing purposes, please report any issues you find to  ....` banner every time(?) the binary is used

Do we change it completely? Or do we keep the option of shipping single installer for bundle + crc, but while having the possibility of downloading to ~/.crc/cache if bundle is missing?

We do need to change it completely because it doesn't make sense to add both bundle (podman + openshift) + crc as part of installer or even with default installer (where we only ship the opnshift bundle) and the user require the podman one.

I agree podman + openshift + crc do not make sense.
I can see a use case for shipping openshift + crc, but downloading the podman bundle if the user eventually decides to use podman. We'd also be shipping either crc standalone, or crc+podman for people who know from the start they only want podman.


Pull upstream

@MBeijer seems that SDL-mirror is not pulling from Mercurial :/

:(
On Thu, Mar 26, 2020 at 10:35 AM capehill<EMAIL_ADDRESS>wrote:

@MBeijer https://github.com/MBeijer seems that SDL-mirror is not
pulling from Mercurial :/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AmigaPorts/SDL/pull/132#issuecomment-604324900, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACC5VBOEIDKV6XY3VLMA6NDRJMOUHANCNFSM4LUBY4TA
.


[5.4] Adding tinyIncrements database schema method

I have just met this problem, there is every size of increments, except tinyIncrements, which can be useful for smaller datasets, like currencies (<200 exists).

Sorry, wrong branching ;)


Logging output is sent to stdout instead of stderr when using --stdin

When using ktlint with --stdin, it's expected that the output of stdout is only the formatted code. Instead, an info logging line is prepended to the stdout with 0.47.1. The pre-commit hook we use (based on https://github.com/hallettj/git-format-staged) relies on the --stdin functionality, and using the latest version the committed files end up with an extra line in the file
Expected Behavior
When called with -F --stdin, only the formatted code should be sent to stdout. Additonal output may be in stderr
Observed Behavior
An INFO level logging line is always output as the first line of stdout
Steps to Reproduce
> echo "class Foo {
fun foo() {}
}" | ./ktlint-0.47.1 -F --stdin 2>/dev/null

Outputs
10:02:35.047 [main] INFO com.pinterest.ktlint.internal.KtlintCommandLine - Enable default patterns [**/*.kt, **/*.kts]
class Foo {
    fun foo() {}
}

I expect that sending all log output to stderr will result in other issues for other use cases. In your example it would make sesnse as you ignore all output from stderr as a result of 2>/dev/null. Maybe you can for now exclude the log line by changing your command to:
$ echo "class Foo {
fun foo() {}
}" | ktlint-0.47.1 -F --stdin 2>/dev/null | grep -v "KtlintCommandLine - Enable default patterns"
class Foo {
    fun foo() {}
}

When issue #1632 is implemented in version 0.48.x you can set the log level to something like "fatal" or "none" which effectively would mean that nothing will be logged.

References in documentation to stderr should be fixed as since version 0.44 ktlint no longer writes explicitly to stdout and stderr.

In ktlint 0.48.0 it seems --log-level is not respected:
$ echo "class Foo {
fun foo() {}
}" | ktlint --log-level=fatal -F --stdin 2>/dev/null
08:48:35.907 [main] INFO com.pinterest.ktlint.internal.KtlintCommandLine - Enable default patterns [**/*.kt, **/*.kts]
class Foo {
    fun foo() {}
}

As a workaround I'm using a similar grep trick to the above, but if would be nice if we could suppress this and/or log to stderr.


Add try/catch for if an object is not iteratable

As was noted in https://github.com/bosswissam/pysize/issues/8, it is possible for some objects to have hasattr(obj, '__iter__') be True, and still not be iterable.
The python language docs say:

Checking isinstance(obj, Iterable) detects classes that are registered as Iterable or that have an iter() method, but it does not detect classes that iterate with the getitem() method. The only reliable way to determine whether an object is iterable is to call iter(obj).

See: https://docs.python.org/3/library/collections.abc.html#collections.abc.Iterable
This may cause a bit of a performance hit for this code, but I think it is the complete solution for this general problem.
I'm not sure if there is another way to add up the size of the object that should be attempted if the TypeError is caught, but I'm happy to add to the PR if you have thoughts.

No thoughts about an alternative way off the top of my head, I think adding an exception message if the error is caught will at least notify the user something went wrong so that they expect the size measurement not to be perfect.

Maybe a "report this error" note as well


Fps issues

So me and my friend tried to launch Mockup, everything was right at first but then, we see each others lagging and having bad fps too.  I see my friend having very low fps. Any advice?

Play Fusion, Mockup is an unfinished unpolished experience.


Suggestion: Update type without extensions

Just like we have UpdateItemInput<typeof PokemonEntity> and UpdatAttributeInput<typeof PokemonEntity>, it would be helpful to have SimpleUpdateInput<typeof PokemonEntity> (Bad name I know, naming things is hard...),
This type would be the same as the one we already have for the Update command, but without the Extensions (get, set, add, etc.). Since it is simpler, it would work as Input for both update commands.
Why would this be useful? Serialization.
Sometimes, when I need to move the UpdateItemInput as a JSON between lambdas in step functions, even though I know there are no ADDs or SETs, getting TS happy with the typing can be challenging.
isExtension has helped a lot in this sense, but there is still a lot of boring code on depths of 3+

Excellent, I had not realized that. This solved my problem!
This does not affect my use case but it seems that the fill option seems to not be doing anything in the example you provided.
const pokeSchema = schema({
	pokemonId: string().key().transform(prefix('POKE')).savedAs('pk'),
	trainer: string().key().savedAs('sk'),
	evolvedAtLvl: set(number()).putDefault(() => new Set([5])),
}).and(() => ({
	// Auto delete
	ttl: number()
		.hidden()
		.putLink(() => {
			return (Date.now() + 1000 * 60 * 60 * 24 * 20) / 1000;
		})
		.savedAs('_ttl'),
}));

export const PokemonEntity = new Entity({
	name: 'POKEMON',
	timestamps: {
		created: {
			savedAs: '_createdAt',
			name: 'createdAt',
		},
		modified: {
			savedAs: '_updatedAt',
			name: 'updatedAt',
		},
	},

	schema: pokeSchema,
	table: Dynamo.radarsTable,
});

export type PokeUpdate = EntityParserInput<
	typeof PokemonEntity,
	{
		mode: 'update';
		fill: true;
	}
>;


Flutter Stable 3.22.3 engine presubmit Linux linux_web_engine failed "desc = build.summary_markdown: too big to accept"

[I2024-07-03T08:48:10.106743-07:00 24247 0 cleanup.go:37] running cleanup "butler"
[W2024-07-03T08:48:10.121727-07:00 24247 0 client.go:357] RPC failed permanently: rpc error: code = InvalidArgument desc = build.summary_markdown: too big to accept (4101 > 4000 bytes) {"host":"cr-buildbucket.appspot.com", "method":"UpdateBuild", "service":"buildbucket.v2.Builds"}

Task: https://chromium-swarm.appspot.com/task?id=6a91d08089172110&o=true&w=true
Build: https://ci.chromium.org/ui/p/flutter/builders/try/Linux linux_web_engine/24328/infra
PR: https://github.com/flutter/engine/pull/53686

I addressed this by no longer inheriting sub-build summary markdown from collecting builds in: https://flutter-review.googlesource.com/c/recipes/+/58280


Selected mod buttons are overly-cached

Mod Menu 1.5.0-78, API 0.2.7+126, Loader 0.4.2+132

Config button doesn't exist, even for mods that register config overrides

Should be resolved in v1.5.1; Let me know if it isn't!


synchronization fails if there is a k8s model

If there is a k8s model installed, the synchronize-accounts action fails with
  results:
    ReturnCode: 1
    Stderr: |
[...]
      ERROR Juju command "add-ssh-key" not supported on container models
    Stdout: |
[...]

Closed since it's a duplicate.


RESTEASY-2463 cleanup old org.codehaus.jackson dependencies

@asoldano Thanks do much for looking at this! addressed your change request

Yes, i agree

@asoldano Thanks for looking at this! addressed your change request

merged, thanks!


The same private key can be imported into the wallet multiple times

The same private key should be limited to one import on the same profile

@David0817 What is the security impact here?

There is none, it's just an UX issue
Le lun. 13 avr. 2020 à 17:38, therealsphinx<EMAIL_ADDRESS>a
écrit :

@David0817 https://github.com/David0817 What is the security impact
here?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nemfoundation/symbol-desktop-wallet/issues/214#issuecomment-612829849,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIWPBP2RKX4XNOOJEZX62HLRMLMSJANCNFSM4MDDCMNA
.


Quotes around command needed on MacOS

According to the README, commands shall be called using keycmd command, while on MacOS commands need to be called like keycmd "command".
Is this expected behaviour, or a misconfiguration on my machine?

That's expected behavior. It's actually not determined by the OS, but by the shell you are using. It is called out in the readme but not in every place. It gets very verbose quickly. If you think you can improve the readme, please feel free to open a pull request.
Example from the README:
https://github.com/ClinicalGraphics/keycmd/blob/255ecdd683e0844811415798c308cd65ba29e919/README.md?plain=1#L119-L121

Very clear! I did not see that part in the readme, but i agree the readme would be filled with clutter if the different types of shells would need to be addressed. Will close this issue.

We can consider adding a separate section to the readme that addresses this, and we can "standardize" the readme to use one specific shell (let's say bash) in its examples throughout.


Fonts render bold in 1.40.1

VSCode Version: 1.40.1
OS Version: MacOS Mojave 10.14.6

Steps to Reproduce:

View document in VS Code. I'm using Menlo font, but seems to be the same with all fonts.
Fonts appear bolder than normal. Changing font weight all the way down to 100 has no effect.
Increasing font weight to high values does make the fonts even bolder again, but the minimum font weight looks like what would have been a bold weight in previous versions.

Does this issue occur when all extensions are disabled?: Yes

Duplicate of #84211


git-ftp: 1.4.0 -> 1.5.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/git-ftp/versions.
These checks were done:

built on NixOS
/nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1/bin/git-ftp passed the binary check.
1 of 1 passed binary check by having a zero exit code.
1 of 1 passed binary check by having the new version present in output.
found 1.5.1 with grep in /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1
directory tree listing: https://gist.github.com/db2f3eebbf94391961fe177450df28d8
du listing: https://gist.github.com/8e1f6afd03639aaba4c09de2d38fbf54

meta.description for git-ftp is: '"Git powered FTP client written as shell script."'.
cc @thorstenweber83 for testing.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: git-ftp
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-darwin (full log)
Attempted: git-ftp
Partial log (click to expand)
        -o  git-ftp.1
make[1]: Leaving directory '/private/tmp/nix-build-git-ftp-1.5.1.drv-0/source/man'
post-installation fixup
moving /nix/store/8h6b7xrgln52mh92g86q5gl19sjx7bqx-git-ftp-1.5.1/man to /nix/store/8h6b7xrgln52mh92g86q5gl19sjx7bqx-git-ftp-1.5.1/share/man
gzipping man pages under /nix/store/8h6b7xrgln52mh92g86q5gl19sjx7bqx-git-ftp-1.5.1/share/man/
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/8h6b7xrgln52mh92g86q5gl19sjx7bqx-git-ftp-1.5.1/bin
patching script interpreter paths in /nix/store/8h6b7xrgln52mh92g86q5gl19sjx7bqx-git-ftp-1.5.1
/nix/store/8h6b7xrgln52mh92g86q5gl19sjx7bqx-git-ftp-1.5.1/bin/git-ftp: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/bash"
/nix/store/8h6b7xrgln52mh92g86q5gl19sjx7bqx-git-ftp-1.5.1

Success on x86_64-linux (full log)
Attempted: git-ftp
Partial log (click to expand)
post-installation fixup
moving /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1/man to /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1/share/man
shrinking RPATHs of ELF executables and libraries in /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1
gzipping man pages under /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1/share/man/
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1/bin
patching script interpreter paths in /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1
/nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1/bin/git-ftp: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1...
/nix/store/99qm5jxal3n5kpyk7jb6byf68zir13hq-git-ftp-1.5.1


Feature Request: Add Disk Usage / Volume Usage to the stats

Is your feature request related to a problem? Please describe.
I'm noticing a very heavy amount of writing done to one of my drives, and I can't track where the writing is coming from.
I when to inspect my containers, and I found nice graphs for CPU and Network utilization, but nothing for disk usage.
I do understand that the disk usage my be a bit tricky to implement due to the inherent nature of docker containers, which is why its likely not implemented yet.
Describe the solution you'd like
It would be nice to have either an overall 'disk usage' graph, or (if possible) a graph by the volume (since volumes from multiple drives can be mounted to the container)
Describe alternatives you've considered
I have no idea how I'm going to track down this incredibly high amount of writes. All I'm trying to do is download files from my nextcloud server, but its stuck at <10kb/s
Additional context
I'm using OMV as my host system. Other than OpenMediaVault, I only have portainer and docker installed.

Greetings!
Is this issue available to be worked on? I'd love to have a go at it!
Thank you!


your .theanorc

Hi.
Thank you for your research!
Sorry, I have problem with testing, can you show your .theanorc?
I got typecasting error:
TypeError: Cannot convert Type TensorType(float32, matrix) (of Variable AdvancedSubtensor1.0) into Type TensorType(float64, matrix). You can try to manually convert AdvancedSubtensor1.0 into a TensorType(float64, matrix).

you need to set floatX to float32
my theanorc looks like this
[global]
base_compiledir = /tmp/%(user)s/theano
floatX = float32
device = cpu
allow_gc = True
[nvcc]
fastmath = True
[scan]
allow_gc = True
[blas]
ldflags = -L/u/emansim/local/lib -lblas
[cuda]
root = /pkgs/cuda-5.5


Remove DotNetBuildOffline switch at the outer repo build level

See https://microsoft-my.sharepoint.com/:w:/p/mmitche/EdchH8A4okpOoKhkki1sJEYB0LyAaaCyX5_6A887gL744Q?e=JERvht for full design
If present, remove usages of DotNetBuild at the outer repo build level.

Already removed.


User Account Creation Hiccups

When a new user is created, the setup process doesn't load fully. The URL changes to setup, but only shows the spinner icon until a manual browser refresh.

On refresh, the setup process begins but on step 3, clicking next produces no result. I had to clear browser cache/cookies to be logged out, and the process repeats. I've tested this with 2 users and in 2 browsers, but if you have additional troubleshooting steps, I'm happy to do further testing.

Password reset email sends a link, but seems to only direct to the login URL, not a password reset screen. I'm using a hosted suprabase setup with emails directly through their service.

I had a similar issue to #1, but was related to migrations not running against supabase in my case. YMMV, of course, but an existing user did not have an issue. Probably depends what rev you are coming from on how it manifests, but I found a few migraitons not run and that addressed it.

I believe the migration was successful - but only because I've done it about 30 times learning as much as I can. I did manually export some users from a previous install and imported them here. I think I did that correctly, but now I wonder if something there is throwing the newly created ones off.

Double check migrations. That's the issue.


[Map] DM-FoT-Erebus

Hash: 9e5ff9aa46aab9e784424bcb1f9cf512590697d7
Current name: DM-FoT-Erebus
The author's name is Revelation
Need to remove the ( after Revelation here and in all the other instances where Revelation( occurs

Looks like the UA uploader doesn't parse well the URLs.
Fixed.


feat(table): support modify table name dynamically

Signed-off-by: storyicon<EMAIL_ADDRESS>Because there has been no further discussion for a long time, I took the initiative to initiate this PR.
It aims to solve: https://github.com/ent/ent/issues/1990.
I think ent needs this kind of ability, which is a very common practice in large projects.

My team now encountered this issue. pls support this feature as soon as possible. thanks very much

@poonman To make create work, I think you have to do some code generation. Here is my idea:
Let's use card as example:
func (cc *CardCreate) sqlSave(ctx context.Context) (*Card, error) {
	_node, _spec := cc.createSpec()
	if err := sqlgraph.CreateNode(ctx, cc.driver, _spec); err != nil {
		if sqlgraph.IsConstraintError(err) {
			err = &ConstraintError{err.Error(), err}
		}
		return nil, err
	}
	id := _spec.ID.Value.(int64)
	_node.ID = int(id)
	return _node, nil
}

func (cc *CardCreate) createSpec() (*Card, *sqlgraph.CreateSpec) {
	var (
		_node = &Card{config: cc.config}
		_spec = &sqlgraph.CreateSpec{
			Table: card.Table,
			ID: &sqlgraph.FieldSpec{
				Type:   field.TypeInt,
				Column: card.FieldID,
			},
		}
	)
...

Save will call sqlSave, and sqlSave will call createSpec. Here is the interesting part, you can customize createSpec:
https://github.com/ent/ent/blob/f326c7dfd088f112d0bc3150161862115d6fff63/entc/gen/template/dialect/sql/create.tmpl#L50
So if you create a template, for example:
{{ define "dialect/sql/create/spec/dynamictable" }}
if {{ $receiver }}.Table != "" {
	_spec.Table = {{ $receiver }}.Table
}
{{end}}

Then you can customize table name. But there is still one question,
{{ $receiver }} is CardCreate, let's take a look:
type CardCreate struct {
	config
	mutation *CardMutation
	hooks    []Hook
	conflict []sql.ConflictOption
}

No Table field here, but again, you can add from external template:
https://github.com/ent/ent/blob/f326c7dfd088f112d0bc3150161862115d6fff63/entc/gen/template/builder/create.tmpl#L32
This way, you can achieve your goal from only external templates, no need to override ent built-in templates.

My team now encountered this issue. pls support this feature as soon as possible. thanks very much

With the current solution, another problem needs to be solved: some modifications need to be made in the columnChecker function of ent.go, to prevent dynamic table names can't pass check.
I do not insist on any solution, and I look forward to further discussion on this issue.

	.Modify(func(s *sql.Selector) {
		s.From(sql.Table(table(uid)).Schema("userdb")).

	Modify(func(s *sql.Selector) {
		s.From(sql.Table("table_01").Schema("dbname")).