Utility structs not initialized properly log error on opening project

My game project contains the ALSXT plugin. Errors are logged when I open my project in my IDE, and then in the Unreal Editor via my IDE.
My IDE is JetBrains Rider 2022.3.2
The errors have the following pattern:
Error ...  ObjectProperty F... is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
There is no error building the project. However, when the Unreal Editor opens, the errors can be seen in the UE Output Log:
LogClass: Error: ObjectProperty FLastTargetEntry::Target is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogClass: Error: ObjectProperty FALSXTBloodSpatterType::Albedo is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogClass: Error: ObjectProperty FALSXTBloodSpatterType::Normal is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogClass: Error: ObjectProperty FALSXTBloodSpatterType::Packed is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogClass: Error: FloatProperty FALSXTBloodSpatterType::MaxDripSpeed is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogClass: Display: 5 Uninitialized script struct members found including 4 object properties
LogAutomationTest: Error: UObject.Class AttemptToFindUninitializedScriptStructMembers will be marked as failing due to errors being logged
LogAutomationTest: Error: LogClass: ObjectProperty FLastTargetEntry::Target is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogAutomationTest: Error: LogClass: ObjectProperty FALSXTBloodSpatterType::Albedo is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogAutomationTest: Error: LogClass: ObjectProperty FALSXTBloodSpatterType::Normal is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogAutomationTest: Error: LogClass: ObjectProperty FALSXTBloodSpatterType::Packed is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogAutomationTest: Error: LogClass: FloatProperty FALSXTBloodSpatterType::MaxDripSpeed is not initialized properly. Module:ALSXT File:Public/Utility/ALSXTStructs.h
LogEngine: Initializing Engine...

There are no errors in the Message Log.
The live-coding recompile shows no errors.

Should be fixed as of caf2a534 or before


How to add elements to symbols

If there is a [danger] tag after the> symbol, how to change the conversion output

>[danger] markdown-it =
markdown-it

You can replace existing blockquoterule, adding your tag matcher instead of simple >. And add class atr to token when tag exists.

hello, may I ask the few lines in the markdown-it.js file, I did not find it, it is best to give the code.

https://github.com/markdown-it/markdown-it/blob/master/lib/rules_block/blockquote.js#L37
Please, try to avoid basic programming questions in tracker.


Adding International Format Method to PhoneNumber Class

Adds a getFormattedIntl() method to PhoneNumber class
Resolves Issue #28

The format function has change lately and added the possibility to format a phone number for another country, the parameter should be passed here too so both behaviors are streamlined


ClosureForGroups fix

Changed the new forUnitsInRange() to allow for the () -> syntax.
I believe the callback has to be the last argument.

Ah yes, seems we missed that. 👍


Add const pubkey support and make declare_id a declarative macro

Problem

Proc macros are slow to compile
Proc macros are harder to move around when they need to import other crates (since Rust doesn't have macro-dependencies yet). In particular this matters for making types available without solana_program.
const base58 decoding can be done with the five8_const crate, which has more useful error messages than the bs58 crate (that repo has a PR to improve this but it's been open for months)

Summary of Changes

Add a from_str_const associated function to Pubkey. I just lifted this from #1806 which is a draft PR at the time of writing
Replace the declare_id alias in solana_program with a declarative macro of the same name that does the same thing in solana_pubkey (re-exported in solana_program)
Deprecate the program_declare_id! macro in solana_sdk_macro
Convert the pubkey! macro to a declarative macro and deprecate solana_sdk_macro::program_pubkey

good work


Replace GameObject.SendMessage("Method");

Pull Request https://github.com/Microsoft/HoloToolkit-Unity/pull/227
Many experienced Unity developers would probably tell you not use GameObject.SendMessage("String"); because it's slow (under the hood it uses reflection), hard to debug, and it lacks direct symbol references in the editor which makes it prone to spelling errors because it's a string and not a symbol. This can also make it difficult to find everywhere the method referenced can be called and could potentially increase the amount of spaghetti code.  It may be worth while to see this updated to utilize a delegate/Event call instead.
TL;DR
This will make the code easier to follow in the editor, easier to debug, and will increase performance.
Some arguments for using a delegate vs SendMessage:

SendMessage and delegates are used for similar purposes, but they work entirely differently. Delegates/Events behave exactly like they do in any other .Net program. SendMessage() is called much like Unity calls other messages like Update(). Unity reflects over all the code on the game object to see if it can invoke any messages.
As far as performance. Delegates are several times faster than SendMessage. In the order of performance:

(Least) Direct Method Call ==> Delegate/Event ==> Update() ==> SendMessage (Most Expensive)

As far as usage, SendMessage is like a very broad direct method call. The general paradigm is that one script specifically wants to send a message to a specific object. We're just not sure how many times is can respond or if it can respond at all. We know the intended receiver, we just don't know if it can receive the message.
With events, I usually follow the idea that the event owner doesn't know who or how many objects might respond. We are simply telling the world that something happened without too much knowledge of who will use this information.

Changes to the following classes:
GestureManager.cs

[x] Change System.Actions to delegate events to fix delegate subtraction issues in GestureManipulator.cs
[x] Add OnSelect(GameObject) event
[x] Add explicit private modifiers to Unity Methods

GestureManipulator.cs

[x] Remove redundant using HoloToolkit.Unity reference
[x] Ensure we're checking GesureManager instance is null
[x] Add explicit private modifiers to Unity Methods

GazeManager.cs

[x] Remote unused using reference
[x] Add delegate events for OnGazeEnter
[x] Add delegate events for OnGazeExit
[x] Ensure StabilizationPlaneModifier instance is null

TapToPlace.cs

[x] Update to work with new design pattern

GestureResponder.cs

[x] Update to work with new design pattern

SelectedObjectMessageSender.cs

[x] Remove File

SelectedObjectMessageReciever.cs

[x] Rename file to ChangeColorOnFocus
[x] Update to work with new design pattern

FocusedObjectMessageSender.cs

[x] Remove File

FocusedObjectMessageReciever.cs

[x] Rename file
[x] Update to work with new design pattern

OnSelectEvent.cs

[x] Remove File (replaced by Intractable.cs)

OnGazeEnterEvent.cs

[x] Remove File (replaced by Intractable.cs)

OnGazeLeaveEvent.cs

[x] Remove File (replaced by Intractable.cs)

Intractable.cs

[x] Add file Intractable.cs

KeywordManager.cs

[x] Update to work with new design pattern

ScaleObjectMessageReciever.cs

[x] Update to work with new design pattern
[x] Renamed to ScaleFocusedObject.cs

SphereKeywords.cs

[x] Update to work with new design pattern

Updates to the following scenes:
SelectedObjectKeywords.unity
FocustedObjectKeywords.unity
GazeEvents.unity
Updates to the following Prefabs:
SelectedObjectKeywordManager.prefab
FocusedObjectKeywordManager.prefab

I think there are multiple questions here:

Should we always use event/delegate going forward? Probably.
Should we go back and add event/delegate functionality to SendMessage systems? Would be nice!
Should we drop support for existing SendMessage systems? Meh.

Should we drop support for existing SendMessage systems? Meh.

I can see this being the only real sticking point for some people.

Notice how OP could explain the send message with the code GameObject.SendMessage("Method");
but had to link to a video to explain how delegates work.
Making code more complicated and thus less accessable is not worth it for a few nanoseconds for an event that uses tens of thousands of times more for the recognizers.
This is a clear example of premature optimization.

@izatar did you have anything constructive to add to your opinion?
Maybe references or code snippets you could contribute to further our discussion?

This would be a clear example of premature optimization.

Yes, premature optimization can be bad, but we're talking about a 85.5x speed improvement.  Remember, the HoloLens is a mobile device, with a limited amount of overhead.  It's safe to say this should have been thought about during preproduction.

We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.

Donald Knuth

Debugging in VS with SendMessage is nearly impossible unless you know exactly where to look for your trouble spots and place a break.  What what about those times where you're unsure, and stepping through the code is your only option?
Not to mention, while working at Microsoft last spring on a HoloLens project, we made the decision to explicitly not use this design pattern and ensure we followed rules for exactly how we should be allocating memory.  In fact I'm surprised to see that many of those same rules are not enforced here.
Why don't you take the time to make the pull, and read the code, and write a constructive review.

My reference to "the OP" was not intended as a personal attack.
May I suggest that you could spend as much effort finding the weaknesses in your own argument as you did in mine?

I didn't think it was a personal attack by any means. I welcome criticism and critique. That's the only way for professionals like us to learn, grow, and hone our abilities.  Sorry, I've spent waaaaay too much time on the debate team.

Hi there,
First thanks and kudos for doing this "massive" work.. I've been thinking about doing something similar but never found the time.
I'll go through your PR asap but the only concern I have is on backwards compatibility issue.
Even though this design is better on many levels, right now getting the latest version of the HTK means ppl would have to update their code and that's IMO is a no go (your update is a major change and the fact there's no versioning system or release notes in place here doesn't help of course..)
But basically ppl would get the latest version and all the HL input wouldn't work anymore.
Also there's a lot of people who don't really care about performance, and arguably the SendMessage approach is ok for "simple" cases.
So my recommendation would be to keep the SendMessage API (and set it on per default) and add a new mode on the GazeManager etc.. (that was my plan but you were faster than me :-)
Any thoughts ?

@stbertou I totally agree, and even suggested keeping the old SendMessage stuff around, and marking it as obsolete to give people time to transition over.
Yes, I found that a lot of the time I was just rewriting the what what already in the HTK, but was frustrated by this because I wanted to stay open to future updates. That was my main driving factor behind these changes.

Thank you everyone for the hard work.
We all should be respectful and open to each other's thoughts and comments. As said earlier, we all are learning and growing together.
Many people look at the HoloToolkit as a learning or starting point as well for Unity and HoloLens interaction. SendMessage is not ideal for reasons stated above but many developers find it super simple to understand and easy to use. Hence it exists and the reason it was used to teach concepts.
I am totally onboard for a transition plan. Such large breaking changes obviously won't work.
We need a better story for breaking changes and I will try to come up with a plan for that.
Thanks again! Will review the PR shortly and sorry for the delay.

A couple of updates from the PR over the weekend:
KeywordManager will be removed from the PR while we look for other ways to facilitate assigning events in the Inspector.
GestureManager now throws a warning about deprecated SendMessage events and in the future will point to documentation supporting the best way to update.

Another major benefit of using Delegate/Event is type checking. A delegate specifies specific types that must be passed as parameters, while SendMessage just accepts an object.

Another good link

Emblematic example of these bad choices is the communication system built around SendMessage and BroadcastMessage. If you use them, you should just stop already!
In fact SendMessage and BroadcastMessage are so wrong mostly because they heavily rely on reflection to find the functions to call. This of course has a given impact on performance, but performance is not the issue here, the issue is instead related to the quality of the resulting code.
What can be so bad about it? First (and foremost) the use of a string to recognize a function is way worse than using a string to recognize an Event. Just think about it: what happens if someone in the team decides to refactor the code where the calling function is defined and decides to rename the function or delete it?
I tell you what happens: the compiler will not warn the poor programmer of the mistake is doing and even worse, the code will just run as nothing happened. When the error will be found, it could be already too late.
Even worse is the fact that the calling function can be declared as private since the system uses reflection. You know what I usually do when I find a private function that is not used inside the declaring class? I just delete it, because the code is telling me: this function cannot be used outside this class and I am not using it, so why keep useless code?

Path forward for this feature:

This change is a breaking change for several apps.
We have not collectively agreed on a the right design for the change. Delegates Vs Interface.

Here's what I recommend we do for such features as documented in Contributing.md:

We will create a new branch called Feature-SendMessageRemoval.
@HodgsonSDAS please feel free to code this change in that branch. Only changes related to this feature will be accepted in that branch. Let's try to lock on the design as well.
We will give developers 2 weeks to move to the new feature once the PR's are accepted in that branch.
We will announce on forums and other sources where we can.
Then we will merge this breaking change after 2 weeks into master.
Feature-SendMessageRemoval branch will then be deleted.

Questions/concerns, please let me know.

@HodgsonSDAS a new branch called Feature-SendMessageRemoval has been created. Please feel free to use it for adding this feature. Also please close without merge the existing PR when ready. Thanks everyone!

Will do.

@darax I'd like to see how we could implement the Interface you were talking about instead of using the virtual methods for our Interactable class.  I see a lot of potential in that.

http://jacksondunstan.com/articles/3605

I don't disagree with this change, but that article doesn't really support removing SendMessage for performance reasons the way we use it. About SendMessage:

That said, each function type was called 100 million times, so it’s not so slow that you should never use it. Each call was only 6/10,000 of a millisecond, so feel free to make a few of these calls without worrying that it’ll ruin your app’s performance.

I'm pretty sure we call (most of? all of?) these one frame at a time. If we had a couple hundred every Update, maybe it'd be noticeable.

@keveleigh I think it's more about readability and debug ability more than anything, I just wanted to share that's all.

@HodgsonSDAS Ahh yep, definitely agreed with you there! It is interesting to see the data as well. Thanks for the share!

Closed by https://github.com/Microsoft/HoloToolkit-Unity/issues/277


shoulder joint

Add new terms:
abnormal shoulder joint morphology (a child of abnormal forelimb joint morphology MP:0030807)
DEF: any structural anomaly of the joint that is formed by the union of the humerus, the scapula (or shoulder blade), and the clavicle (or collarbone)
SOURCE: UBERON:0016884
abnormal glenohumeral joint morphology (a child of abnormal shoulder joint morphology)
DEF: any structural anomaly of the main articulation of the shoulder joint; the glenohumeral joint is the multiaxial ball-and-socket synovial joint formed by the articular surfaces of the glenoid cavity of the scapula and the head of the humerus
https://emedicine.medscape.com/article/1899211-overview
Existing term abnormal acromioclavicular joint morphology MP:0013819 should be made a child of abnormal shoulder joint morphology.

Added new terms:
abnormal shoulder joint morphology MP:0030816
abnormal glenohumeral joint morphology MP:0030817


[beginner question] example/runtest not running

After building pythonSoftIoc I get the following output when trying to run runtest:
bam01:/soft/epics/inst-3.15.7/pythonIoc/example # ./runtest
Traceback (most recent call last):
filename="../../../src/ioc/dbStatic/dbLexRoutines.c" line number=259
No such file or directory dbRead opening file ioc.db
  File "startup.py", line 10, in <module>
    softioc.devIocStats('TS-DI-TEST-01')
  File "/soft/epics/inst-3.15.7/pythonIoc/python/softioc/softioc.py", line 161, in devIocStats
    'IOCNAME=%s,name=' % ioc_name)
  File "/soft/epics/inst-3.15.7/pythonIoc/python/softioc/softioc.py", line 156, in dbLoadDatabase
    imports.dbLoadDatabase(database, path, substitutions)
  File "/soft/epics/inst-3.15.7/pythonIoc/python/softioc/imports.py", line 11, in expect_success
    assert status == 0, 'Expected success'
AssertionError: Expected success
bam01:/soft/epics/inst-3.15.7/pythonIoc/example #

What am I doing wrong?

Ah, my apologies.  This needs improvements to the instructions.  I assume that you've already commented out the DEVIOCSTATS line in configure/RELEASE (I really ought to suggest that in the README!) ... to run the tests you also need to comment out the failing line 10 in startup.py, as the tests are also trying to load devIocStats.
With luck that should be enough.

I left the DEVIOCSTATS undefined, like it is recommended in the RELEASE file:
DEVIOCSTATS =
Commenting out line 10 in startup.py brought the solution, thanks!


Add Defer instances for Decoder and Encoder

Implements #2122

Could we add some documentation as well to the docs for this?  You could easily transform what you have in the accommodating issue and it would be great for discoverability of this.

@morgen-peschke Thanks for adding the tests.  It looks like this build failed MIMA for some reason, do you mind taking a look?

failure is genuine: https://github.com/circe/circe/actions/runs/9078292566/job/24945019131?pr=2123#step:13:2785


Dart-internal docs_publish on release-builder not generating provenance

Example build without provenance https://luci-milo.appspot.com/ui/p/dart-internal/builders/flutter/Linux flutter_release_builder/15/overview

Provenance was not generated because the zip files were empty. Fixed by https://github.com/flutter/flutter/pull/117227


Create Survey / Wizard with Serenity Need Sample / Headstart

Create Survey / Wizard with Serenity Need Sample / Head-start

I recommend taking a look at
https://github.com/rstaib/jquery-steps
https://github.com/VinceG/twitter-bootstrap-wizard

Thank you very much Volkanceylan,  I would like to know how wizard can be evolved from Serenity Entity Dialog
Do i need to make changes in Typescript code for Dialog?

What is 2 page wizard sample?

I mean Wizard with just 2 pages/tabs


fix(docs): improve SEO

fixed http issue
What is it?

[ ] Feature / enhancement
[ ] Bug
[X] Docs / tests / types / typos

Description
Changed HTTP to https due to SEO related issues
Use cases and why
SEO
Checklist:

[X] My code follows the developer guidelines of this project
[X] I have performed a self-review of my own code

Thanks @Stahlwalker


Resolved IDENTITY-4181

Please use the utility methods provided in identity.core.ui to do the validations. Don't hardcode the patterns.


Error with .slideOverCard

iOS 15.2
Xcode Version 13.2.1 (13C100)

My ContentView.swift:
import SwiftUI

struct ContentView: View {

    @State private var showCard = false
    var body: some View {
        HStack{
            Text("Hello, world!")
                .padding()
            Button("abb"){
                showCard = true
            }
        }
        .slideOverCard(isPresented: $showCard ) {
            Text("Hello, world!")
              // Here goes your awesome content
            }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}

And the error:
🔴 Value of type 'HStack<TupleView<(some View, Button<Text>)>>' has no member 'slideOverCard'

If I use .sheet, no error occurs. Why?

import SwiftUI

struct ContentView: View {

    @State private var showCard = false
    var body: some View {
        HStack{
            Text("Hello, world!")
                .padding()
            Button("abb"){
                showCard = true
            }
        }
        .sheet(isPresented: $showCard ) {
            Text("Hello, world!")
              // Here goes your awesome content
            }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}

hey @sunshinewithmoonlight! tysm for using my Swift Package!
I think the problem with your code snippet is that you're not importing/adding the package to that file. so make sure to add an import SlideOverCard at the top!

You are right, thanks for your reply!


Benchmark against diesel and other orms interpretation

How should I interpret the results available at https://github.com/diesel-rs/metrics ? From what I see diesel is always a lot faster than sqlx regardless of database engine and query length. My previous understanding was that sqlx was demonstrably faster than any orm because you write all the sql yourself and there is zero orm overhead. How can diesel with all the overhead that comes with a robust orm be always faster than the most bare metal solution?

https://github.com/launchbadge/sqlx/issues/1481 read that

Thanks that was really helpful.
I think it'd be worthwhile to include an answer from @weiznich , one of the diesel contributors, as it would be lost on gitter.
"There is no simple answer to that. I haven't analyzed that in depth yet, but I assume there are multiple reasons:

First of all diesel is not a classical ORM, which means there is not much going on at runtime that you wouldn't do in an optimized hand written implementation anyway
Diesel uses several clever tricks to calculate queries at compile time (and does prepared statement caching "at compile time")
Diesel uses the native database drives written in c, those have seen quite a lot of optimizations, while sqlx uses a self written rust driver. Their drives is not that mature…
Diesel uses a sync execution model, while sqlx is "async first". Using async code has disadvantages like for example doing more work than nessesary

That written: You should not take those results as the truth. If you have a use case where performance really matters you should build your own benchmark case and measure that one instead."
Im going to close that issue as there isn't much more useful information to be added.


Update Mockito to 4.2.x

Signed-off-by: Andriy Redko<EMAIL_ADDRESS>Description
Update Mockito to 4.2.x.
Notable changes in 4.x with respect to deleted classes/methods:
- org.mockito.Matchers which was an alias for org.mockito.ArgumentMatchers
- org.mockito.ArgumentMatchers#{anyObject,anyVararg} both which were aliases for org.mockito.ArgumentMatchers#any
- org.mockito.ArgumentMatchers#any*Of, which were aliases for the same method name without the Of and the generic parameters (which were ignored)
- org.mockito.ArgumentMatchers#{is}{Not}Null(Class) which took a class which was ignored. Aliases for the same methods without the parameter
- org.mockito.Mockito#verifyZeroInteractions an alias of verifyNoMoreInteractions
Issues Resolved
Closes https://github.com/opensearch-project/OpenSearch/issues/1829
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

x   Gradle Check failure b9f9d8c Log 1733
Reports 1733

Interesting failure:
org.opensearch.ingest.common.DateProcessorTests > testJavaPatternDefaultYear FAILED
    java.lang.AssertionError:
    Expected: "2022-06-12T00:00:00.000+02:00"
         but: was "2021-06-12T00:00:00.000+02:00"
        at __randomizedtesting.SeedInfo.seed([75DA7E16D135903:DAAFA45DDBA77FA7]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.junit.Assert.assertThat(Assert.java:956)
        at org.junit.Assert.assertThat(Assert.java:923)
        at org.opensearch.ingest.common.DateProcessorTests.testJavaPatternDefaultYear(DateProcessorTests.java:217)

Seems like local date time on CI is 2021, but zoned data time is already 2022 ....

Needs a rebase, please.


Set up the development environment

As a developer
I need to set up the development environment
So that I can start working on the project
Details and Assumptions
* Development environment includes necessary software, tools, and configurations required for coding, building, and testing the application.

Acceptance Criteria
gherkin
Given that I have access to the project repository
When I follow the setup instructions in the README file
Then I should have the development environment configured correctly
And I can verify the setup by running the application locally


show container after closed

Hi friends, I'm trying to open the container after it's closed, but it does not work.
According to the documentation, it should be
container.show()
but not it's works.
container.close() it works.
help me please!

que gonorrea, nadie ayuda :(

Can you create a sample repo mimic the behaviour


[BUG] in read-only mode -> in table -> in first row -> only last cell doesn't have border styling

If you want to ask for support or request features, sponsor the project and contact me over email.

[x ] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
[ x] I have read the documentation and cannot find an answer.

Describe the bug
in read-only mode -> in table -> in first row -> only last cell doesn't have border styling
Reproduction
https://codesandbox.io/p/sandbox/mdx-editor-base-forked-gjtppm

Expected behavior
Last cell in first row in read-only mode should have border styling
Screenshots
readOnly={true}

readOnly={false}

any update on this?

@denisvely should be a simple fix - happy to accept a PR.

Thanks, guys it works now!


Unable to find type [InsertBeforeOrAfter] :(

I'm still receiving "Unable to find type [InsertBeforeOrAfter]" using the latest version of PSWinDocumentation.AD and Documentimo:
C:\Users***\Documents\WindowsPowerShell\Modules\PSWriteWord\1.0.2\PSWriteWord.psm1:820 char:9

param([InsertBeforeOrAfter] $Table,

    ~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (InsertBeforeOrAfter:TypeName) [], RuntimeException
FullyQualifiedErrorId : TypeNotFound
or
Unable to find type [InsertBeforeOrAfter].
At C:\Users***\Documents\WindowsPowerShell\Modules\PSWriteWord\1.0.2\PSWriteWord.psm1:2996 char:72

... elineByPropertyName, ValueFromPipeline)][InsertBeforeOrAfter] $Paragr ...

                                        ~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (InsertBeforeOrAfter:TypeName) [], RuntimeException
FullyQualifiedErrorId : TypeNotFound

Tried to replace Xceed.Words.NET.dll v1.3.0 with v1.2.0 but the error still exsists.
Any ideas? :)

Are you using Import-Module PSWriteWord -Force before? Are you using PSGallery version?

Yes, i'm using PSGallery Version. ...upps will try to force PSWriteWord before.

Problem is related to Namespaces. For PSWriteWord to work you need to have this executed.
https://www.powershellgallery.com/packages/PSWriteWord/1.0.2/Content/PSWriteWord.Usings.ps1
When you execute Import-module PSWriteWord it should read .psd1 file in which it says:
    # Script files (.ps1) that are run in the caller's environment prior to importing this module.
    ScriptsToProcess = 'PSWriteWord.Usings.ps1'

So that means execute that ps1 file before running PSWriteWord. Let me know if Import-Module PSWriteWord helps.
https://www.powershellgallery.com/packages/PSWriteWord/1.0.2/Content/PSWriteWord.psd1

Ok. Thanks a lot for your quick support!

Did it work?

I don't know yet. It's a large test environment and I think it still running over the whole ad... I let you know about the results, I promise!
#pozdrokatowice

Hi! A word file was finally created. But it delievers only sites and services information. All others are empty... I'm running PoSh elevated as enterprise admin.

Hi, this is not really an issue of PSWriteWord.
Please use: https://evotec.xyz/what-do-we-say-to-writing-active-directory-documentation/
Could it be related to your configuration file? Sections enabled? Please review your configuration and maybe open an issue related to product you're using?


modify one error word

there is two incorrect word。

Hi @rsj217, thank you very much.  I'm going to give @cizixs, who originally did the translation, an opportunity to look this over before I merge.
Thank you again for your contribution :+1:

@doomspork This is valid change fixing my typo. You can merge this.
Also I will be happy to be the point-of-contact for the Chinese translations as you mentioned at PR #69 .

Thank you @rsj217 and @cizixs


UTIL_Namespace.StrTokenRemoveNSPrefix incorrectly removing npsp__ from other parts of field names

This replace should only be happening if the string starts with npsp__, otherwise fields named "foo_bar_npsp__c" will be incorrectly modified.

Included in beta release version 3.50 (Beta 2) and higher

Included in production release version 3.50


Makerfabs ESP32-S3 WROOM1 3,5 TFT SPI is not supported

https://www.openhasp.com/0.7.0/hardware/makerfabs/esp32-s3-spi-tft-touch/

The same board works 100 percent for me. Check your settings.

does the file exist in your system and is it compiled with ?
user_setups/esp32s3/makerfabs-s3-tft35-spi.ini

I did not try to complie it by myself. I tried the web esp flasher with
provided precomplied binaries.
Martin @.***> schrieb am Di., 21. Mai 2024, 07:59:

does the file exist in your system and is it compiled with ?
user_setups/esp32s3/makerfabs-s3-tft35-spi.ini
—
Reply to this email directly, view it on GitHub
https://github.com/HASwitchPlate/openHASP/issues/728#issuecomment-2121808631,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADI6EC3TVIFHSD6GKWW4FTDZDLPF7AVCNFSM6AAAAABH5NQVJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRRHAYDQNRTGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ich habe den ESP-Flasher noch nie verwendet. Das selbst Kompilieren läuft ohne Fehler durch.

I added the Makerfabs S3 to https://nightly.openhasp.com/ please try it there.

I added the Makerfabs S3 to https://nightly.openhasp.com/ please try it there.

Thanks for adding. But it fails with the same error:

Thanks, I must have overlooked something.. please try again now.

Yes, it is working. Many thanks
fvanroie @.***> schrieb am Di., 28. Mai 2024, 21:53:

Is this problem resolved now?
—
Reply to this email directly, view it on GitHub
https://github.com/HASwitchPlate/openHASP/issues/728#issuecomment-2135999698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADI6EC2L553NGYRRYW6M5C3ZETODFAVCNFSM6AAAAABH5NQVJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVHE4TSNRZHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


KAFKA-8212 DOCS (kafka) - Fix Maven artifacts table from cutting off …

Description
Jira ticket: https://issues.apache.org/jira/browse/KAFKA-8212

Fixed the table from cutting off the text by changing the table class to datatable (re-using a style that was already in the CSS and has an overflow property set).

This isn't the ideal fix. Given the current CSS, the <pre> items should have a horizontal scroll, but they don't. If the entries in the first column of this table get too long, it will cut off the final column text. I tried several strategies, and nothing seemed to work. Can revisit if I have more time, this should work for now.

Related
PR on kafka-site: https://github.com/apache/kafka-site/pull/200
Reviewers, cc:
@mjsax , @guozhangwang , @joel-hamill , @JimGalasyn
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

Merged to trunk and cherry-picked to 2.2, 2.1, 2.0, 1.1, and 1.0.
Thanks for the fix @londoncalling!


Problem while running MINOS

Hi! Following error occurs while running MINOS. I tried reinstalling Python3 but it had no effect, I've installed Anaconda as well.
romi@romi-Z370-AORUS-Gaming-3:~/minosmi/minos$ python3 -m minos.tools.pygame_client --empty_room
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
2018-11-14 19:44:31,043 INFO {'sim_id': 'sim00', 'machine': 'romi-Z370-AORUS-Gaming-3', 'sim_git_hash': '478f622', 'stk_git_hash': '478f622'}
Starting simulator...
2018-11-14 19:44:31,051 INFO sim00:Starting sim server at /home/romi/minosmi/minos/minos/server/server.js with port 51849
2018-11-14 19:44:32,055 INFO sim00:sim server has exited with rv 1
2018-11-14 19:44:32,062 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206672057-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361668>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:33,066 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206673063-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce3614a8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:34,070 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206674067-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce3615f8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:35,074 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206675071-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361e10>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:36,078 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206676076-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361cc0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:37,082 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206677080-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361630>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:38,086 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206678084-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361668>: Failed to establish a new connection: [Errno 111] Connection refused',))
^CTraceback (most recent call last):
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/logs.py", line 29, in _yield_warning_screen
    yield elapsed_time
Exception: [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206678084-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361668>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/romi/minosmi/minos/minos/tools/pygame_client.py", line 438, in main
    ep_info = sim.start()
  File "/home/romi/minosmi/minos/minos/lib/Simulator.py", line 321, in start
    started = self.start_child_servers()
  File "/home/romi/minosmi/minos/minos/lib/Simulator.py", line 255, in start_child_servers
    self._sio = SocketIO(self.params.host, self.params.port)
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/__init__.py", line 353, in __init__
    resource, hurry_interval_in_seconds, **kw)
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/__init__.py", line 54, in __init__
    self._transport
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/__init__.py", line 62, in _transport
    self._engineIO_session = self._get_engineIO_session()
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/__init__.py", line 83, in _get_engineIO_session
    warning_screen.throw(warning)
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/logs.py", line 35, in _yield_warning_screen
    time.sleep(1)
KeyboardInterrupt
Error running simulator. Aborting.
2018-11-14 19:44:38,210 INFO sim00:Stopping the simulator
2018-11-14 19:44:38,210 INFO Counter()
2018-11-14 19:44:38,210 INFO sim00:Stopping child servers
2018-11-14 19:44:38,211 INFO sim00:Stopped child servers
2018-11-14 19:44:38,211 INFO sim00:Simulator killed.

@romi-seecs Hi, I have met the same problem with you. Have you fixed the problem? Thank you very much!

Please attach the  log/simserver.log to see whats the problem.

@ZhuFengdaaa Hi, That is my simserver.log. Please give me some help. Thank you very much!
simserver.log:
2018-11-28 11:28:21,215 ERROR b'/home/jin/minos/minos/server/node_modules/sstk/ssc/stk-ssc.js:25'
2018-11-28 11:28:21,215 ERROR b'var doc = jsdom.jsdom('<!doctype html>', {'
2018-11-28 11:28:21,215 ERROR b'                ^'
2018-11-28 11:28:21,215 ERROR b''
2018-11-28 11:28:21,215 ERROR b'TypeError: jsdom.jsdom is not a function'
2018-11-28 11:28:21,215 ERROR b'    at Object. (/home/jin/minos/minos/server/node_modules/sstk/ssc/stk-ssc.js:25:17)'
2018-11-28 11:28:21,215 ERROR b'    at Module._compile (internal/modules/cjs/loader.js:688:30)'
2018-11-28 11:28:21,216 ERROR b'    at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)'
2018-11-28 11:28:21,216 ERROR b'    at Module.load (internal/modules/cjs/loader.js:598:32)'
2018-11-28 11:28:21,216 ERROR b'    at tryModuleLoad (internal/modules/cjs/loader.js:537:12)'
2018-11-28 11:28:21,216 ERROR b'    at Function.Module._load (internal/modules/cjs/loader.js:529:3)'
2018-11-28 11:28:21,216 ERROR b'    at Module.require (internal/modules/cjs/loader.js:636:17)'
2018-11-28 11:28:21,216 ERROR b'    at require (internal/modules/cjs/helpers.js:20:18)'
2018-11-28 11:28:21,216 ERROR b'    at Object. (/home/jin/minos/minos/server/server.js:7:11)'
2018-11-28 11:28:21,216 ERROR b'    at Module._compile (internal/modules/cjs/loader.js:688:30)'
2018-11-28 11:28:21,217 INFO Finished simserver stdout
2018-11-28 11:28:21,218 INFO Finished simserver stderr
2018-11-28 11:28:21,900 INFO Waiting for simserver stdout to finish
2018-11-28 11:28:21,901 INFO Waiting for simserver stderr to finish

https://github.com/airbnb/enzyme/issues/942#issuecomment-314715229

Hi @ZhuFengdaaa @jsdd25 thank you for your help but I don't know JavaScript and need to understand what I have to do with following code:

var jsdom = require('jsdom');
const { JSDOM } = jsdom;

const { document } = (new JSDOM('')).window;
global.document = document;

Do I have to access home/romi/minos/minos/server/node_modules/sstk/ssc/stk-ssc.js:25
and modify code there? If yes then what do I do after that?
Please help me out here!

Thanks @ZhuFengdaaa for identifying the problem!  @romi-seecs You can check which jsdom version you are using by looking at the file minos/server/node_modules/sstk/node_modules/jsdom/package.json
It should be 9.12.0 - jsdom 11.0.0 and higher will not work.
I'm not sure why you got a newer version installed.  You can try to remove minos/server/node_modules and run "npm install" again in the minos/server to see if the jsdom version is changed.

@romi-seecs I have fixed this problem. Welcome to get in touch with me. My e-mail is<EMAIL_ADDRESS>

Thanks a lot guys @jsdd25 @angelxuanchang , that helped me solve the problem.
But now when I give the command:
romi@romi-HP-Compaq-8200-Elite-MT-PC:~/minos$ python3 -m minos.tools.pygame_client
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
2018-12-18 18:27:32,652 INFO {'sim_git_hash': '21dd855', 'machine': 'romi-HP-Compaq-8200-Elite-MT-PC', 'sim_id': 'sim00', 'stk_git_hash': '21dd855'}
Starting simulator...
2018-12-18 18:27:32,669 INFO sim00:Starting sim server at /home/romi/minos/minos/server/server.js with port 47860
Traceback (most recent call last):
  File "/home/romi/minos/minos/tools/pygame_client.py", line 438, in main
    ep_info = sim.start()
  File "/home/romi/minos/minos/lib/Simulator.py", line 321, in start
    started = self.start_child_servers()
  File "/home/romi/minos/minos/lib/Simulator.py", line 255, in start_child_servers
    self._sio = SocketIO(self.params.host, self.params.port)
  File "/home/romi/.local/lib/python3.5/site-packages/socketIO_client/__init__.py", line 345, in __init__
    resource, hurry_interval_in_seconds, **kw)
  File "/home/romi/.local/lib/python3.5/site-packages/socketIO_client/__init__.py", line 58, in __init__
    self._transport
  File "/home/romi/.local/lib/python3.5/site-packages/socketIO_client/__init__.py", line 66, in _transport
    self._engineIO_session = self._get_engineIO_session()
  File "/home/romi/.local/lib/python3.5/site-packages/socketIO_client/__init__.py", line 80, in _get_engineIO_session
    transport.recv_packet())
  File "/home/romi/.local/lib/python3.5/site-packages/socketIO_client/transports.py", line 92, in recv_packet
    for engineIO_packet in decode_engineIO_content(response.content):
  File "/home/romi/.local/lib/python3.5/site-packages/socketIO_client/parsers.py", line 95, in decode_engineIO_content
    content, content_index)
  File "/home/romi/.local/lib/python3.5/site-packages/socketIO_client/parsers.py", line 202, in _read_packet_length
    while get_byte(content, content_index) not in [0, 1]:
  File "/home/romi/.local/lib/python3.5/site-packages/socketIO_client/symmetries.py", line 36, in get_byte
    return six.indexbytes(x, index)
IndexError: index out of range
Error running simulator. Aborting.
2018-12-18 18:27:35,097 INFO sim00:Stopping the simulator
2018-12-18 18:27:35,097 INFO Counter()
2018-12-18 18:27:35,097 INFO sim00:Stopping child servers
2018-12-18 18:27:35,097 INFO sim00:Killing sim pid 3302
2018-12-18 18:27:35,106 INFO sim00:Stopped child servers
2018-12-18 18:27:35,106 INFO sim00:Simulator killed.

My log file gives following report:
2018-12-18 18:27:33,259 INFO b'Configuration { fileCache: { size: 50 },'
2018-12-18 18:27:33,259 INFO b'  imageCache: { size: 200 },'
2018-12-18 18:27:33,260 INFO b'  imageQueue: { concurrency: 4 },'
2018-12-18 18:27:33,260 INFO b"  base_url: '/home/romi/work/',"
2018-12-18 18:27:33,260 INFO b"  assets_url: 'file:///home/romi/minos/minos/server/node_modules/sstk/ssc/../server/static' }"
2018-12-18 18:27:33,624 INFO b'Waiting for client connection on port 47860'
2018-12-18 18:27:33,643 ERROR b'Cannot register unknown asset 2d3ds'
2018-12-18 18:27:33,643 INFO b'register ../server/static/data/matterport/matterport3d.json'
2018-12-18 18:27:33,646 INFO b'Registered asset group: mp3d'
2018-12-18 18:27:33,650 INFO b'Got 90 assets'
2018-12-18 18:27:33,705 INFO b'register ../server/static/data/suncg/suncg.planner5d.models.json'
2018-12-18 18:27:33,706 INFO b'Replace asset group p5d'
2018-12-18 18:27:33,707 INFO b'Registered asset group: p5d'
2018-12-18 18:27:33,791 INFO b'Got 2623 assets'
2018-12-18 18:27:34,704 INFO b'Loaded lightSpecs for 202 models.'
2018-12-18 18:27:34,704 INFO b'register ../server/static/data/suncg/suncg.planner5d.textures.json'
2018-12-18 18:27:34,707 INFO b'Replace asset group p5dTexture'
2018-12-18 18:27:34,707 INFO b'Registered asset group: p5dTexture'
2018-12-18 18:27:34,944 INFO b'Got 67072 assets'
2018-12-18 18:27:35,097 INFO Waiting for simserver stdout to finish
2018-12-18 18:27:35,105 INFO Finished simserver stdout
2018-12-18 18:27:35,105 INFO Finished simserver stderr
2018-12-18 18:27:35,105 INFO Waiting for simserver stderr to finish

I have suncg and matterport3D data sets under home/work folder.
Please help me out here

@romi-seecs This appears to be an error related to the socket IO package version.  Please try following the instructions here: https://github.com/minosworld/minos/blob/master/FAQ.md#i-get-an-error-from-the-socketio_client-package

That didn't work however copying mp3d dataset again in work folder worked for me.
Thanks a lot everyone for your help, you made this so easy for me :)


Build the MSVC dll with C cleanup code

Checklist

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

I'd like to package cppTango with Conda that depends on pthreads-win32. It relies on (see CMakeLists.txt):
        set(PTHREAD_WIN_PKG_LIBRARIES_DYN "pthreadVC2.lib")
        set(PTHREAD_WIN_PKG_LIBRARIES_STA "pthreadVC2-s.lib")

I added the pthreadVC2 lib and dll to the package.
I also added the pthreadVC2-s.lib name for the static lib. Is it possible to create a link instead?

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

You should patch that package to use pthread.lib and pthread_static.lib

Thanks for the quick feedback!
I thought about that for the static lib.
Regarding the dll, are you saying using pthreadVC2.dll or pthreadVSE2.dll is equivalent?

Reading again the pthreads-win32 FAQ, I was a bit puzzled about the "Which of the several dll versions do I use". I got the impression that the version chosen had an impact on the application using it.
But I then found:

Note 1: the incompatibility is really between EH implementations
of the different compilers. It should be possible to use the
standard C version from either compiler with C++ applications
built with a different compiler. If you use an EH version of
the library, then you must use the same compiler for the
application.

So my understanding is that, due to how Conda packages are built (with the same compiler), it's safe to use the EH implementation. And that's why it's only the VSE dll version that is provided by this package.
Sorry for the noise. I'm closing this PR.

Reading again the pthreads-win32 FAQ, I was a bit puzzled about the "Which of the several dll versions do I use". I got the impression that the version chosen had an impact on the application using it.
But I then found:

Note 1: the incompatibility is really between EH implementations
of the different compilers. It should be possible to use the
standard C version from either compiler with C++ applications
built with a different compiler. If you use an EH version of
the library, then you must use the same compiler for the
application.

So my understanding is that, due to how Conda packages are built (with the same compiler), it's safe to use the EH implementation. And that's why it's only the VSE dll version that is provided by this package.
Sorry for the noise. I'm closing this PR.


Multiple links between two nodes not being rendered after init

I'm trying to add multiple links between two nodes after initialisation via:
<GojsDiagram model={myModel} linkKeyProperty="key" />

I do have linkKeyProperty="key" defined as described in #83. My model looks initially looks like this:
{
  nodeDataArray: [{type: "Company", key: "id1"}, {type: "Person", , key: "id2"}],
  linkDataArray: [{from: "id1", key: "id1-id2-worksAt", text: "WorksAt", to: "id2", type: "WorksAt"}]
}

After updating after initialisation, it looks like this:
{
  nodeDataArray: [{type: "Company", key: "id1"}, {type: "Person", , key: "id2"}],
  linkDataArray: [{from: "id1", key: "id1-id2-worksAt", to: "id2", type: "WorksAt"}, {from: "id1", key: "id1-id2-buysAt", to: "id2", type: "BuysAt"}]
}

I was expecting that the diagram would render the second node but it does only do that when it was already included on initial render.
It did find applyAddRemoveLinksFromModel in GojsDiagram.tsx is checking for el.from === e.from && el.to === e.to, which means that it will not return a second link added to the model which has the same from and to as and existing link. A possible fix could be checking for the unique identifier linkKeyProperty, like el.from === e.from && el.to === e.to && el[this.props.linkKeyProperty] === e[this.props.linkKeyProperty]. The array linksToAdd now includes an object representing a second link added after initialisation. However, it still doesn't render in the diagram after calling (this.myDiagram.model as GojsModel).addLinkDataCollection(linksToAdd); I can't look for a possible bug in the source of this file since it's minified.
Could you confirm that after (this.myDiagram.model as GojsModel).addLinkDataCollection(linksToAdd); the diagram should render the new link? What could be the reason that the second link is not being rendered?

I confirm the bug. Thanks for your PR


gofpdf.SetProtection() and gofpdi.ImportPage()  + gofpdi.UseImportedTemplate() bug

My imports (commit 8060f8371088d63b5935a6eeb617328705387ace):
"github.com/jung-kurt/gofpdf"
"github.com/jung-kurt/gofpdf/contrib/gofpdi"
When use gofpdf.SetProtection() I can't use gofpdi.ImportPage()  + gofpdi.UseImportedTemplate() - imported template pages not saved to result PDF.

This is an interesting problem. Protection involves encrypting the data stream as it is written to the internal buffer. @phpdave11, do you have any insights into what it would take to apply the encryption to embedded PDF templates? This problem may involve templates in general, not just those that contain embedded PDF pages. If a solution is too complex to handle at this point, we may want to document the limitation and set an error internally if an incompatible embedding method is called.

I don't have any experience with PDF encryption; however, I will do some research to see how difficult it would be to encrypt the objects when they are imported into gofpdf.

This is likely a problem with gofpdf. Don't spend too much time on this unless you have some immediate insights that have escaped me. I need to examine the error this produces to understand what is failing and where.

请问，如何获取导入pdf文件的页面高度、宽度、页面数量等信息？

Excuse me, how can I get the page height, width, page number and other information of the imported pdf file?

I don't see any way to do this in the underlying import package gofpdi. @phpdave11, does your library ever have access to this information?

@denept 我添加了一个gofpdi接口，允许您获取PDF中所有页面的页码，宽度和高度。 这是在gofpdi v1.0.5中添加的。
@jung-kurt I have added an interface to gofpdi that allows you to get the page number, width, and height for all pages in a PDF.  This was added in gofpdi v1.0.5.
Example usage to get the width and height of all pages in a PDF:
package main

import (
    "fmt"
    fpdi "github.com/phpdave11/gofpdi"
)

func main() {
    importer := fpdi.NewImporter()
    importer.SetSourceFile("example.pdf")
    pageSizes := importer.GetPageSizes()

    for pageNo := 1; pageNo <= len(pageSizes); pageNo++ {
        fmt.Printf("Page: %d\n", pageNo)
        width := pageSizes[pageNo]["/MediaBox"]["w"]
        height := pageSizes[pageNo]["/MediaBox"]["h"]
        fmt.Printf("Width: %f, Height: %f\n", width, height)
    }
}

Output:
Page: 1
Width: 595.280000, Height: 841.890000


Create contact page

Addresses issue #541
Builds Contact component. Creates links to page in Header and Footer. Updates App.js to include Contact Us page. The form on the page is non-functional and does not yet connect to an API.

The checks are not completing.  I have updated the PR.


cross k8s clusters for sharing storage

Current CephFS plugin creates a random 'share name' when provisioning every time. If we could configure pvc parameters (path in a filesystem) in the future, we may use the given name when provisioning.
Therefore we could create the same pvc/pv in different k8s clusters and all of them are related to the same 'path' in a filesystem.
The benefit is that we may share storage in different k8 clusters, this is useful in k8s cluster federation.

there is now an option to make the shares deterministic, pls open a new issue if you've any questions


ModuleNotFoundError: No module named 'tensorflow.python.distribute.cross_device_ops

tensorflow version 1.12.0 ,import error ModuleNotFoundError: No module named 'tensorflow.python.distribute.cross_device_ops

you can google it

Try TF 1.13?

try again https://github.com/guotong1988/BERT-multi-gpu/issues/18

Still reproduce this error by v2.

I did not encounter this problem. If someone solved it please tell us. Thank you.

Try tf.contrib.distribute.AllReduceCrossDeviceOps as AllReduceCrossDeviceOps

I just upgrade my tensorflow to 1.14, the error does not rised


Added support for geo: urls

Other apps that support the "android geo: uri standard" like OsmAnd or "c:geo" can open wikijourney_app as a sup-activity to show what infos are available around the current selected geo point.

Awesome! Many thanks for this contribution, I just tested it and I will merge soon!
(Still have to finish properly reinstalling and debugging my Android setup on a new system...)


allow dumping the error result to a json file

in order to post-process the result of the check, it would be great if one could dump it into some structured data. i picked json for no particular reason.
ideally, the output would also include things such as:

where the information was obtained
already existing translations for that key

the idea behind this is that i could hook up a translation service and suggest translations within a failed build, or even automate the first translation based on a given locale.

I like the idea.
But I need to think about output format. Probably html, json, xml.


redo timeline page layout with JS

To avoid issues with bad sort in Liquid.
Follow model from CB-Sheets. Improve set up to be configurable.

See gist implementation example for basic version to support BC dates as negative years.


Link to send account details or new password to the user

Add a mailto link to the notification messages:

[x] When new user created
[x] When user account's password reset

Example:

Is there a way to translate the default message for the password? I do not see it in crowdin and we would like to send this messages in spanish

You're right, it's not added to the translatable variables.  New IPT version should be released to address that though.


PowerPC64 support

Updated bindgen, fixed regular expression and added generated binding for PPC64 platform.

Please see if this is something they would accept upstream. We'll do ourselves a favor if we don't have to actually maintain our own fork.


Dont allow buy orders over the river

it is possible to deploy units into the river - the model ghost appears on the river bed - upon spawning, the unit sits at the spawn position not moving

Addition: Unit behaves normally upon receiving a new move command


Bar chart only support three colors?

I want to show five colors in my Bar chart,but only show three colors,

Better documentation would help here but you want to use the pallete property to specify the colors you want to use. For example, I tweaked the "Bar (Column) - Basic" chart in the example app so that it looks like this:

I did this by adding data values for new columns named "orange" and "pear" and then I added the palette property to the Bar component like so:
<View style={styles.container}>
        <Bar
          data={data} options={options} accessorKey='v'
          pallete={
            [
              {'r':25,'g':99,'b':201},
              {'r':24,'g':175,'b':35},
              {'r':190,'g':31,'b':69},
              {'r':100,'g':36,'b':199},
              {'r':214,'g':207,'b':32},
              {'r':198,'g':84,'b':45}
            ]
          }
          />
      </View>

Does that help?

oh,thank you very much,i get t.


[demikernel] Expose C Bindings for getaddrinfo()

Description
We should support getaddrinfo() in Demikernel.

As discussed in the core meeting, we don't need to provide getaddrinfo(). One can rely on the Linux system call for this.


add optional api key auto refresh callable to EndpointWrapperModel

Add an optional api key auto refresh callable to EndpointWrapperModel to allow the api key to be refreshed automatically.
Also adds a test.
This additional parameter/constructor was added due to errors users have encountered with the notebook:
https://github.com/Azure/azureml-examples/blob/main/sdk/python/responsible-ai/text/responsibleaidashboard-text-classification-blbooksgenre.ipynb
Specifically, after a day the api key expires, and users start to see errors like:
Jwt is expired
Please check this guide to understand why this error code might have been returned
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-troubleshoot-online-endpoints#http-status-codes

Failed to convert result to numpy array, json_data:
Traceback (most recent call last):
  File "/azureml-envs/responsibleai-text/lib/python3.8/site-packages/ml_wrappers/model/endpoint_wrapper.py", line 137, in _make_request
    result = np.array(json.loads(json_data))
UnboundLocalError: local variable 'json_data' referenced before assignment

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/azureml-envs/responsibleai-text/lib/python3.8/site-packages/responsibleai_text/managers/error_analysis_manager.py", line 134, in _raise_user_error_on_prediction_failure
    return func(*args, **kwargs)
  File "/azureml-envs/responsibleai-text/lib/python3.8/site-packages/ml_wrappers/model/endpoint_wrapper.py", line 191, in predict
    result = self._call_webservice(model_input)
  File "/azureml-envs/responsibleai-text/lib/python3.8/site-packages/ml_wrappers/model/endpoint_wrapper.py", line 172, in _call_webservice
    batch_result = self._make_request(data[i:i + batch_size])
  File "/azureml-envs/responsibleai-text/lib/python3.8/site-packages/ml_wrappers/model/endpoint_wrapper.py", line 140, in _make_request
    print(json_data)
UnboundLocalError: local variable 'json_data' referenced before assignment

Note the actual callable will be implemented in another package since we don't want to pollute this repository with platform/cloud specific logic (eg adding MLClient from AzureML here), both to keep the code separated and also because we don't have the test setup to validate the code against an AzureML workspace/services.

Codecov Report

Merging #153 (ec97f48) into main (68be2d0) will decrease coverage by 40.61%.
The diff coverage is 12.50%.

:exclamation: Current head ec97f48 differs from pull request most recent head 893d444. Consider uploading reports for the commit 893d444 to get more accurate results

@@             Coverage Diff             @@
##             main     #153       +/-   ##
===========================================
- Coverage   75.12%   34.52%   -40.61%
===========================================
  Files          27       27
  Lines        1813     1825       +12
===========================================
- Hits         1362      630      -732
- Misses        451     1195      +744

Flag
Coverage Δ

unittests
34.52% <12.50%> (-40.61%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

python/ml_wrappers/model/endpoint_wrapper.py
26.98% <12.50%> (-32.67%)
:arrow_down:

... and 17 files with indirect coverage changes

We only retrieve the api key if it fails. The code already catches the "urllib.error.HTTPError" which specifically I've seen in the stack trace for this issue, not sure if I can get more specific than that.


Post title missing from  element

The post title is missing from the title element.
Examples:

https://vandragt.com/taskfile-eol
https://vandragt.com/setup-textpattern-using-php-composer-and-ddev

Expected outcome:
Post title - Site Title
Observed:
Site title

Is the Site title even needed unless the post has no title? It always clutters up my bookmarks, and the post title is usually long enough.


[ja] Translate tasks/configure-pod-container/security-context into Japanese

This is a Feature Request
What would you like to be added
Translate tasks/configure-pod-container/security-context  into Japanese.
Why is this needed
This page has not been translated.
Comments
/language ja
/assign

/triage accepted

/remove-lifecycle rotten

/remove-lifecycle stale

/remove-lifecycle stale


InlineQueryResultPhoto will not return result or throw an error

Required Information

Operating system: SunOS aklathep 5.10 Generic_150401-49 i86pc i386 i86pc Solaris
PHP version: PHP 7.1.13 (cgi-fcgi) (built: Jan 10 2018 19:09:42)
PHP Telegram Bot version: 0.52.0
Using MySQL database: no
MySQL version: -
Update Method: Webhook
Self-signed certificate: no
RAW update (if available):

Expected behaviour
Using the class InlineQueryResultPhoto should return a thumbnail / picture inline when calling the bot.
Actual behaviour
Nothing is happing, after a couple of seconds of loading bot is not answering at all
Steps to reproduce
I am using the telegram-bot-manger v. 1.2.2 and the example InlinequeryCommand.php from the example-repository.
To test if the bot is properbly configured and working at all, I just registered the webhook and send a request to the bot. The bot is working and returning the 3 example items from the example class. So, it's working.
Now I change just to things. First the list of items to return. I set the required properties as described in the API-doc. (Even the optional fields, because it turns out, that they are maybe not optional, at least width & height).
			$articles = [
                [
					'id'                    =>  1,
					'type'                  => 'photo',
					'thumb_url'             => 'https://wiki.kip.uni-heidelberg.de/KIPwiki/images/thumb/f/fc/Testbild.jpg/120px-Testbild.jpg',
					'photo_url'             => 'https://wiki.kip.uni-heidelberg.de/KIPwiki/images/thumb/f/fc/Testbild.jpg/750px-Testbild.jpg',
                    'title'          		=> 'you enter: ' . $query,
                    'description'           => 'you enter: ' . $query,
					'photo_width' 			=> 674,
					'photo_height'			=> 539,
                    'input_message_content' => new InputTextMessageContent(['message_text' => 'https://wiki.kip.uni-heidelberg.de/KIPwiki/images/thumb/f/fc/Testbild.jpg/750px-Testbild.jpg'])

                ]
            ];

Second I change the return object from Article to Photo:
            foreach ($articles as $article) {
                // $results[] = new InlineQueryResultArticle($article);
                $results[] = new InlineQueryResultPhoto($article);
            }

Please note: When switching back to the  InlineQueryResultArticl  with the above mentioned articles-array, it contains all the data as provided in input_message_content, including the thumbnail.
It's just the InlineQueryResultPhoto that's not working. And I don't get any error-message in the log-files either.
Extra details

OK. This is  on me and it's some serious and embarrassing beginner failure. Of course I have to use the correct library:
use Longman\TelegramBot\Entities\InlineQuery\InlineQueryResultPhoto;
This will help.


Building all api at one go

Hi 😄
In this PR I would like to perform build using build aggregator.
The build aggregator will build all maven modules in one go.
Please review and merge if you're happy!
Thanks.
XOXO

terima kasih


Add parsing of Tgid: from /proc/<pid>/status

Hi @discordianfish @pgier ! Thank you for GREAT library !
I added parsing of Tgid: from /proc/<pid>/status
This pull request contains 2 fixes.

Fix fixtures.ttar ( /proc/26231/status Pid: should be 26231 )
Add parsing of Tgid: from /proc/<pid>/status

Use case

I want to detect if thread reader process ( using p.PID == p.TGID )

Thank you !

@pgier Thank you!!!


New value conversion API (replace type Value)

CloudEvents types are represented by these 6 native Go types (or canonical strings):
bool, int32, string, []byte, *url.URL, time.Time

Simple canonical string conversions following package strconv conventions:
FormatX(X) string ParseX(string)(X, error)

Where X is one of Bool, Integer, String, Binary, URL, Time:
Flex conversion: accepts any native value or canonical string and converts to native:
ToX(interface{}) (X, error)

Flex format: accepts any native value and produces the canonical string:
Format(interface{}) string

Validation: validates and converts any convertible value into one of the preferred native types. This is for internal use and for bindings with their own type-mapping rules; the binding's type switch only need consider the 6 types above, and can ignore conversions.
Validate(interface{}) (interface{}, error)

Signed-off-by: Alan Conway<EMAIL_ADDRESS>

Left that FIXME by mistake, glad Scott likes the way it is :) Will clean
up.
On Tue, Oct 1, 2019 at 11:05 AM Matthias Wessendorf <
<EMAIL_ADDRESS>wrote:

@matzew commented on this pull request.
In pkg/cloudevents/types/value.go
https://github.com/cloudevents/sdk-go/pull/224#discussion_r330110711:

return FormatBinary(v), nil

case url.URL:

return v.String(), nil

case *url.URL:

// url.URL is often passed by pointer so allow both

return v.String(), nil

case time.Time:

return FormatTime(v), nil

default:

return "", fmt.Errorf("%T is not a CloudEvents type", v)

}
+}

+// Validate v is a valid CloudEvents attribute value, convert it to one of:
+//     bool, int32, string, []byte, *url.URL, time.Time
+func Validate(v interface{}) (interface{}, error) {
I like this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cloudevents/sdk-go/pull/224?email_source=notifications&email_token=AB3LUXTGO37IR7DBVLNPBGDQMNRJ3A5CNFSM4I4B4OJKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGP2RCY#pullrequestreview-295676043,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB3LUXSUHNXBOY6IUOUSKWDQMNRJ3ANCNFSM4I4B4OJA
.


Erratic normals on CSGPolygon when SmoothFaces is true

Godot version: commit da6646dd5e5c779d72d5819bffce4a4e96e94344

OS/device including version: Linux/X11

Issue description:
When extruding a Polygon along a Path using a CSGPolygon and checking the "Smooth" checkbox, the normals get messed up.

Actual behavior:
When enabling "Smooth" on a square extruded along a straight path, this happens:
The below screenshots show the view space normals (i.e. ALBEDO = NORMAL)

becomes

Expected behavior:
Actual smooth normals, like the section in the left part of the image
Steps to reproduce:

Create a Path representing a straight line
Create a CSGPolygon using that path
Toggle "Smooth Faces"

Minimal reproduction project:

bug.tar.gz
This may be related to https://github.com/godotengine/godot/issues/19916?

In csg_shape.cpp, in CSGShape::_update_shape(), smooth normals are calculated using the OAHashMap<Vector3, Vector3> vec_map; by iterating through all faces and their vertices v, looking up v in vec_map and adding the face normal to that v's normal.
I suspect that due to rounding errors, this hashmap lookup sometimes fails to treat ("almost") equal vertices as equal sometimes, and thus assigns them distinct, unsmoothened normals. These rounding errors would also explain the pseudorandom pattern.
If that is the case, possible fixes would be either to avoid these rounding errors beforehand, or to use a fundamentally different approach using indexed vertex lists. That would ensure the floats to be exactly equal (or enable one to compare the indices instead of the float values in the first place)

I tracked this down to a bug in OAHashMap. It seems to lose elements.
A fix (together with lots of debugging output to illustrate the problem) can be found at https://github.com/Windfisch/godot/tree/hashmap_fixed . It exchanges the use of OAHashMap<Vector3,Vector3> by HashMap<Vector3,Vector3>.

THIS SHOULD NOT HAPPEN, could not find 8.875809 -1.482800 -4.560672 = 410e0350 bfbdcc65 c091f106 at 369 2

The first miss is fine, the following hits are fine too. The last line indicates that OAHashMap had previously had an entry for 8.875809 -1.482800 -4.560672, but now it can't find it any more. Despite it was never removed!
If you want, I can create a pull request from a cleaned up version of my fix; however, I'm not sure if there's a good reason to prefer OAHashMap instead. And obviously, the OAHashMap needs to be fixed.
With the HashMap fix, the last line does not show up, and the normals seem correct.

Yes, this most likely caused by issue #22928.

I assume it's fixed by #22929 then, thanks for the debugging and fix!


[Documentation Issue] can you expand on the 'building partial objects step by step' documentation?

I'm trying to use the Wicked gem to handle the entire creation of an object. Is there a more thorough end to end tutorial, including the view-logic, related to this Wiki page?

That's all I got.

Okay, I take it from that response that you're not interested in expanding on this in the future either? In particular, I'm not sure what implementation you're envisioning exactly for "or we can use a route with a placeholder product_id such as [POST] /products/building/build in order to hit this create action."

Nope. I don't use wicked that way anymore so I don't have any examples to go off of. You can check out the tests directory, they're all examples of how you can write controllers and that can help. I wrote that wiki years ago and haven't touched it since.
If you want to write a tutorial I'll be happy to link to it and tweet about it.


Draft: Start work on switching to new style containers

Wanted to start discussions on this before I get too deep. This will look at the AWS page to build all supported images when they're released. Also greatly simplifies the build steps

@mLupine Do you have any thoughts on this so far? Anything you'd like to do differently? or should I finish it up the way it is
Still need to:

[ ] add pipelines
[ ] Figure out ruby (hasn't been on al2023 yet)
[ ] cleanup comments and files


Move Trash Slot If Able

It conflicts with EBWizardry GUIs and places itself relative to the left side of the screen instead of the UI window (putting it smack in the middle of inventory which is a potential hazard)
To avoid this, place it to the left of inventory instead of the right.

It looks like a recent update to whatever mod adds this button has fixed the issue!


No item image is displayed in Canvas

Hi @andersgMSFT,
I created this sample following the steps in Fork the Repository.
Should the canvas app display image of an items?

Regards,
Bojan

Hi Bojan
Yes, it definitely should show the image inside the app :)
It looks like you did run the sample data generator, and the image is added to the item.
Do the images show up in the menu/list view?
Another thing I would like to see if to open the item in "edit-mode" (or maker-mode). And see if there are any issues.
If your fork is public we can take a look and see if there is anything that stands out
/Anders

Hi Anders,
lmage is not visible anywhere within the canvas app.
Looks like I'm having trouble with resource 'itemsWithImage' (/businessCentralDemos/TakeOrder/beta). Other resources are ok.
Removing and adding the source back doesn't help either. No problems in Postman, tho.

Regards,
Bojan

Thanks!
I'll take a look and get a back to you! :)

Ok, thanks.
In the meantime, I managed to get the app working with a sligty changed API page (itemsWithImage - picture field as a Base64 string) and a custom connector for the BusinessCentralDemos/TakeOrder/beta resource with slight changes to the Canvas app. I was able to add a data connection to a my custom connector.

Sorry for the slow response time!
We found a bug in the Power Platform connector, that causes issues with APIs starting with "items".
It sounded like you might have already found a workaround. If not, changing the API name to something that does not start with "Items" should help fix the issue.
We're rolling out a fix for the connector and anticipate it will be live in about a week, so after that, all APIs should be functioning again.
Thanks for trying the sample and reporting the issue! If you have more questions or feedback, we are happy to hear them!

Thanks, np.
Just wanted to test ALM for PP and BC artifacts and discovered this issue.I'm transitioning from BC to work more on PP so I wanted this app to work and try different things. So I found a solution with my custom connector just because I wanted to learn and try more things with PP and custom connectors.
BR,
Bojan


Memory segmentation extension proposal

Literally everything is up to discussion, I made it to sound reasonable and somewhat easy to build.

Currently rejected since it conflicts with the memory operands 2 extension and the plan to skip segmentation and go straight to paging.

Closing for now.


'invalid token received 0xa9' when using ORDER BY

When I make a query that sorts a table:
SELECT [Name] ,[Email] FROM [RIS].[dbo].[Employee] ORDER BY NAME
I get a panic: thread 'main' panicked at 'invalid token received 0xa9', C:\Users\bs\.cargo\git\checkouts\tiberius-efcdb30e5dbea5fc\28d2aa5\src\transport.rs:347
If I remove the ORDER BY it runs just fine.
The token 0xA9 is in fact the ORDER BY token :-)

yep I'll look into that soon.

@gugi9000
Should be fixed in the latest master

Now I get invalid token received 0x0 or invalid token received 0x1
0x0 can be triggered with:
SELECT [Name]
  FROM [Employee]
  ORDER BY Name```

@gugi9000
yep small logic flaw, should be fixed now.

confirmed :-)


image browser css GRID

On the danger of nitpicking I got the following remark.  Installed fresh project wagtail 4.1 today and uploaded a first image.
When looking at the image browser I noticed that the image is in the middle. Inspecting the CSS panel I notice that the CSS is has css class of "listing.horiz" in there we find a a GRID css that says grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
I think it would be better (auto-fill) instead of (auto-fit)
When its "auto-fill" the first image will be centralized. I you upload a second it will both be distributed with lots of whitespace.
With auto-fit the result is more the same. It also looks better on wide screens
It very small issue but might be more consistent result.
Auto-fit:

Auto-fill

@media screen and (min-width: 50em)
.listing.horiz {
    align-items: flex-end;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(210px,1fr));
    justify-items: legacy;

Thank you for reporting @onno-timmerman, I would investigate this and provide feedback shortly.

I have been able to reproduce this using 1 to 3 images to see how the image position changes with the suggestion made by @onno-timmerman and how the various images changed with the original repo code (auto-fit).
These are my observations and suggestions;
I reproduced the images with the original code and - when there is just one image, from my observation, the initial intention was for it to be at the middle. Please correct me if I'm wrong @thibaudcolas @lb-

I also reproduced this with 2 and 3 images to see how their positions are altered.

I adjusted the code to see how 1 to 3 images would look with the code tweak (grid-template-columns: repeat(auto-fill,minmax(210px,1fr));

Have confirmed this but flagging as an enhancement instead of a bug.


Fix #501, #500, #503 = #506

501 Bug analysis
It was a degrade from 1.7.18.
When grant_code is used at token endpoint to issue an access token, the token subject does not have the association with the roles that should be allocated to it.
Causes of the degrade :

Appropriate tests were missing
At 1.7.18, a refactoring was performed against confused codes around Tokens, especially grant code.

This PR includes

fix for the bug 501
Scenario test that simulates the app launching flow from the current HomeApp.
fix for 503 = #506

@shimono Checkstyle failed and displayed the error message TreeWalker is not allowed as a parent of SuppressWithNearbyCommentFilter. The cause is the changes introduced in checkstyle 8.1.
Current pom.xml uses maven-checkstyle-plugin 3.0.0 that use checkstyle 6.18 as default. To be successful, modify following 2 lines to 3.1.0, that use checkstyle 8.19.

https://github.com/personium/personium-core/blob/cdf9f90d71e8a789e030ce7f3b4097884f74ec84/pom.xml#L427
https://github.com/personium/personium-core/blob/cdf9f90d71e8a789e030ce7f3b4097884f74ec84/pom.xml#L511

To specify checkstyle version explicitly, modify as following.
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-checkstyle-plugin</artifactId>
                <version>3.1.0</version>
+                <dependencies>
+                    <dependency>
+                        <groupId>com.puppycrawl.tools</groupId>
+                        <artifactId>checkstyle</artifactId>
+                        <version>8.26</version>
+                    </dependency>
+                </dependencies>


docs(wait for file chooser): clarifies wait for file chooser docs

Clarifies page.waitForFileChooser() and class FileChooser docs.
Docs was misleading for me, therefore I wasted hours of work.
The intention of this PR is to clarify docs.

I see the distinction you're trying to make, but the current phrasing is misleading. Maybe we could just add a single note saying something like

“File picker” refers to the operating system’s file selection UI that lets you browse to a folder and select a file to be shared with the web app, like the one that appears when clicking an <input type=file>. It’s not the “Save file” dialog.


[Flaky CI] [Serial][rfe_id:393][crit:high][vendor:cnv-qe@redhat.com][level:system] VM Live Migration Starting a VirtualMachineInstance rook-ceph live migration cancelation should be able to cancel a migration [test_id:2226] with ContainerDisk

/triage build-watcher
/kind bug
What happened:
vendor/github.com/onsi/ginkgo/extensions/table/table_entry.go:43
Timed out after 720.002s.
Should have AgentConnected condition
Expected
    <bool>: false
to be true
tests/utils.go:4374

Prow logs

again
https://prow.apps.ovirt.org/view/gcs/kubevirt-prow/pr-logs/pull/kubevirt_kubevirt/5054/pull-kubevirt-e2e-k8s-1.17-rook-ceph/1366430772151455744


Questions about mapping 2D block of data to threads

How is a 2D block of data mapped to a block of threads? For example, if we want to map a (64x64) block of data to 256 threads, there are multiple possible mappings? For example, they could be mapped to (16x16) thread blocks, where each thread works on a consecutive 4 elements from both the row and column. But mapping to a (64x4) or even (32x8) thread block is also legit. What's triton's mechanism to map 2D blocks to threads?
I understand how 1D blocks are mapped, for example, mapping a 256 block to 128 threads would result in a vectorized load for each thread. And each thread uses 2 registers to work on 2 elements at a time. But I am not sure how 2D blocks work.
Further, is there a way to specify how 2D blocks are mapped to threads? Conceptually something like this:
# map BLOCK_M to 8 threads
for i in range(M, BLOCK_M):
    # map BLOCK_N to 16 threads
    for j in range(N, BLOCK_N):
        ...

Thanks!

It depends on what ops (e.g., load/store, dot) are used in the loop nests.
There's no way for users to manually specify the layout, unless you want to hack TritonGPU IR.

It depends on what ops (e.g., load/store, dot) are used in the loop nests.
There's no way for users to manually specify the layout, unless you want to hack TritonGPU IR.

Ah okay, it makes sense that it's op-dependent. Is it possible to get an idea/intuition what rules are used to determine the mapping given an op? In particular, when the op involves broadcasting and reduction, I think different way of mapping data to threads will affect the reuse of registers, whether thread-synchronization is required etc.
For reduction operation on a MxN block, my guess is that triton will try to map the reduced dimension to the same thread, and the other dimension (element-wise) to different threads. For example, reducing a (128x4) block with axis=1 will probably result in each thread reducing one row (4 elements). This way thread synchronization can be minimized. Likewise, reducing a (256x4) with axis will result in reach thread reducing two rows (8 elements). Still no synchronization is needed. However, reducing a (128x4) block with axis=0 will be more complicated. It could be mapped to all 128 threads working on reducing one column at a time, and repeat that 4 times. Alternatively, it's possible to map to a (64x2) cta where 64 of them working on reducing one column at a time. And two columns can be reduced concurrently. Similarly mapping to a (32x4) block will make the reduction even more concurrent.
For element-wise operation with broadcastings, register reuse is possible due to the broadcasting. My guess is that triton will still try to map the element-wise dimension to different threads, and the broadcast dimension to the same thread. For example, when adding a (128x2) block A with a (128) block B. The second dimension is broadcast dimension, so mapping it to the same thread results in each thread loading a column from A, and add with one element from B, with register reuse. It's possible to map to a (64x2) cta, but that way register reusing is not achieved.
In summary, my guess is that to achieve optimal register reuse and minimizing thread synchronizations, triton will likely try to for a 2D operation, determine what dimension is element-wise, and what dimension is reduction, and it'll try to map the element-wise dimension to different threads, and the reduction diemnsion to the same thread. Matmul is another scenario where it has two broadcast dim and one reduction dim (no element-wise dim). For example, when matmul a (64x32) block with a (32x64) block, the two 64 dimensions are broadcast dim, mapping to a (32x8) cta could achieve (64//32, 64//8) amount of register reuse, while the k (32) dimension will be mapped to the same thread, so that same thread reduces along the k dim.
Is it possible to confirm that this is the correct intuition? Thanks!

For reduction operation on a MxN block, my guess is that triton will try to map the reduced dimension to the same thread, and the other dimension (element-wise) to different thread

Nope, there's no guarantee that the reduced dimension is the "fast changing" dimension, which is the first dimension when accessing a tensor.
The order is determined very much based on the coalesce pass and the axisinfo pass based on memory operations. Of course, there are also some cases where the order is determined by the dot operation.

There's no optimization that concerning about reducing register pressure and minimizing thread synchronization by assigning different layouts, but it is an interesting point.

For reduction operation on a MxN block, my guess is that triton will try to map the reduced dimension to the same thread, and the other dimension (element-wise) to different thread

Nope, there's no guarantee that the reduced dimension is the "fast changing" dimension, which is the first dimension when accessing a tensor.
The order is determined very much based on the coalesce pass and the axisinfo pass based on memory operations. Of course, there are also some cases where the order is determined by the dot operation.

Okay, then for matmul specifically, is it possible to know the thread block size/shape for a given kernel invocation? Suppose num_warps is 4, and we tl.dot a 64x32 block with a 32x64 block, can we somehow know the thread block size? Perhaps (x=32, y=4) or (x=16, y=8) etc?

Okay, then for matmul specifically, is it possible to know the thread block size/shape for a given kernel invocation? Suppose num_warps is 4, and we tl.dot a 64x32 block with a 32x64 block, can we somehow know the thread block size? Perhaps (x=32, y=4) or (x=16, y=8) etc?

It is always known if you inspect the generated IR. Do you want to know it before compilation or after compilation?

Okay, then for matmul specifically, is it possible to know the thread block size/shape for a given kernel invocation? Suppose num_warps is 4, and we tl.dot a 64x32 block with a 32x64 block, can we somehow know the thread block size? Perhaps (x=32, y=4) or (x=16, y=8) etc?

It is always known if you inspect the generated IR. Do you want to know it before compilation or after compilation?

Ah it's great to know that this can be known! Maybe after compilation? I am not sure why it's known before triton compiles the kernel. Doesn't the compiler need to compile the triton kernel to determine the grid size?
How do I print it or view it programmatically? I know how to print the generated PTX code, using kernel.asm["ptx"], can the grid size be retrieved in a similar way? Thanks a lot!

I believe it could be found in kernel.asm['ttgir']

Doesn't the compiler need to compile the triton kernel to determine the grid size?

grid size is always specified by the user through users unless autotuned.

Doesn't the compiler need to compile the triton kernel to determine the grid size?

grid size is always specified by the user through users unless autotuned.

Sorry, I meant thread block size, not grid size

Sorry, I meant thread block size, not grid size

That is determined by num_warps, but the shape handled by each block (CTA) can be extracted from the IR.

Sorry, I meant thread block size, not grid size

That is determined by num_warps, but the shape handled by each block (CTA) can be extracted from the IR.

Thanks for the guidance! I just tried to print the ttgir, and did see something like this in the first line:
{sizePerThread = [1], threadsPerWarp = [32], warpsPerCTA = [4], order = [0]}

I assume that's the shape of the thread block. In the above example, I had just a 1D block and every list is just 1D, but I guess when for 2D block of data, these values could be 2D. I will later try a matmul like example and see what's the shape of the thread block there.
BTW, what's sizePerThread and order though? Thanks a lot!


Added post epoch callback for training

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trunghlt There is ongoing work to provide the Trainer class with a richer set of callbacks, see #1168: I think the callback you propose fits there, so feel free to comment there on the various choices if you want to


Investigate need for "max length" property to "input"

Overview:
Rewrite to represent the discovery work needed.
Issue surface by Kevin Yu (Full Stack Dev) current text input does not support "max width" property.
This feature is needed by Land titles digital service, as well as Advanced Education.

The line length and usage is outlined in our design documentation for text field and text area

[ ] Review design documentation with a designer to coordinate the approach for line length and usage.

There are some interesting ways to implement line length in code that I found that uses character count, for example: width: 50ch;
https://css-tricks.com/typography-for-developers/#aa-the-length-of-a-line-of-text-is-more-important-than-you-might-think

It would be great to provide a few options for this for different mental models. The GDS design system does this in a really nice way that uses both fluid width inputs and fixed width inputs that would be great for us to emulate. I can build out the same on the design side in Figma.

In HTML, the input with type=text, has maxLength property. This limits number of characters typed into the textbox. This property does not influence the width of the textbox display.
This property should be kept separately from maxWidth property.
In  other project I worked on, I did not set maxWidth. It was taken care by layout components. The layout components managed the responsiveness of all the controls inside

There is currently a width attribute

Hey @chrisolsen Is solving this just a matter of including that properties table that you've started including in some of our new ui-components?

I had a quick chat with Kevin Liu and to clarify, what he is looking for is having an ability to put a limit on the number of characters in an input field.
From Kevin "What we need is to set the max length of the input like this
We also discussed that it'd be nice to have the ability to turn on a character limit counter for future iterations.

Just finished a discussion with Ravi and Chris and we have agreed on not moving forward with the ability to set a character limit.
Reasons:

This may affect usability (users may not know they are already over the limit).
We want service teams to have the flexibility to identify when and how to do validate different input fields based on their unique use cases.

Moving forward:
@chrisolsen will talk to Kevin Yu to provide better context of why we will not be supporting this feature moving forward.


Add Tags and TaggedOperation class

Draft of basic Operator Tag functionality.

Tags are a wrapper around strings that allow you to
mark a specific instance of an operator for special processing.
This can be used, for example, to exclude certain operations
from optimizer routines or give operations information specific
to the underlying hardware.

This PR adds a Tag class which is a wrapper around a string and
can also be sub-classed.
It also adds a TaggedOperation class which wraps an Operation and
includes Tags on that Operation.

We could consider switching the convention to "basic operations preserve tags" but I don't consider it blocking.

I felt that was tricky because it raises the question of what a basic operation is, and when does or doesn't this apply.  Making it so that any new creation deletes tags is sometimes annoying, but never ambiguous.


Stdlib function to transform sketches/solids

Background
Say you're trying to draw a square in KCL. Pretty straightforward.
fn square = (length) => {
  l = length / 2
  p0 = [-l, -l]
  p1 = [-l, l]
  p2 = [l, l]
  p3 = [l, -l]
  return startSketchAt(p0)
  |> lineTo(p1, %)
  |> lineTo(p2, %)
  |> lineTo(p3, %)
  |> close(%)
}
square(20)

This draws a square with side length 20. The square's center is at [0, 0].
Problem
What if you want to make the center a parameter? The code becomes more complex.
fn squareAt = (length, center) => {
  l = length / 2
  x = center[0]
  y = center[1]
  p0 = [-l + x, -l + y]
  p1 = [-l + x, l + y]
  p2 = [l + x, l + y]
  p3 = [l + x, -l + y]
  return startSketchAt(p0)
  |> lineTo(p1, %)
  |> lineTo(p2, %)
  |> lineTo(p3, %)
  |> close(%)
}

We have to do a lot of manual math.
Solution
This could be dramatically simplified if we wrote a translate(point, sketch) function that took a sketch (or solid?) and translated it in some direction.
fn squareAt = (length, center) => {
  square(length) |> translate(center)
}

But that might be a bit too specific. I think @benjamaan476 has talked about reusing the Transformation we use in the "pattern transform" API for single objects. I think we should do that!
fn squareAt = (length, center) => {
  square(length) |> transform({rotate: 45, translate: [10, 0, 0]}, %)
}

This would DRAMATICALLY simplify my helical gear.

I know the code diff doesn't look very dramatic, but getting that offset angle correct took a lot of very careful math that Ben and I had to collaborate on, it probably would have saved me an hour of work.

Yeah that is definitely doable! My transform work that I sketched out was for Objects so there is no reason it can't be used for Solid2ds. That's basically what we do in patternTransforms. Shouldn't be too difficult to expose

It occurred to me over the weekend that you can probably gain a lot of flexibility by adding a skew option to this. You don't do this in normal rendering as it is considered a distortion, which you don't want. But thinking of @jgomez720 's problems in his kcl doc with trying to make that equal sided diamond for the base plate, you could skew an equal length square.


optimize: repackage spring-boot-starter

Signed-off-by: slievrly<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
optimize: repackage spring-boot-starter
Ⅱ. Does this pull request fix one issue?

Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2601 into develop will decrease coverage by 0.13%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #2601      +/-   ##
=============================================
- Coverage      51.17%   51.03%   -0.14%
  Complexity      2804     2804
=============================================
  Files            554      554
  Lines          17772    17755      -17
  Branches        2099     2062      -37
=============================================
- Hits            9094     9061      -33
+ Misses          7819     7812       -7
- Partials         859      882      +23

Impacted Files
Coverage Δ
Complexity Δ

...n/java/io/seata/common/util/StringFormatUtils.java
0.00% <ø> (ø)
0.00 <0.00> (?)

...ta/spring/boot/autoconfigure/StarterConstants.java
96.29% <ø> (ø)
1.00 <0.00> (ø)

...utoconfigure/properties/client/LockProperties.java
53.84% <ø> (ø)
4.00 <0.00> (?)

...autoconfigure/properties/client/LogProperties.java
60.00% <ø> (ø)
2.00 <0.00> (?)

.../autoconfigure/properties/client/RmProperties.java
47.61% <ø> (ø)
5.00 <0.00> (?)

...configure/properties/client/ServiceProperties.java
54.54% <ø> (ø)
6.00 <0.00> (?)

...onfigure/properties/client/ShutdownProperties.java
60.00% <ø> (ø)
2.00 <0.00> (?)

...ure/properties/client/ThreadFactoryProperties.java
45.94% <ø> (ø)
8.00 <0.00> (?)

.../autoconfigure/properties/client/TmProperties.java
55.55% <ø> (ø)
3.00 <0.00> (?)

...nfigure/properties/client/TransportProperties.java
52.00% <ø> (ø)
7.00 <0.00> (?)

... and 42 more


PostCSS Plugins Guidelines

PostCSS Plugins Guidelines are ondatory for all PostCSS plugins. You need quickly fix:

[ ] 1.4 Create plugin by postcss.plugin
[ ] 2.1. Plugin must be tested
[ ] 4.2. Put input and output examples
[ ] 4.4. postcss-plugin keyword in package.json

I suggested a 2 steps plan. We need to fix 1.4, 4.2 and 4.4 today and test can be written on this week.
/cc @vvasilev-

Thanks for the feedback.
Point 1.4 is already done, so can you see it here and the tests will be added as soon as possible.


Update reverse-dns.md

Replaced promo with implementation services promo
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @negarzipan,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Add end-to-end test for Rust Client

For the sake of client quality, we need to add new use-case metrics to measure client delivery and add them to the CI workflow
Currently, the test for apache/rocketmq  is the apache/rocketmq-e2e repository, We tried to formulate a non-development language dependent use case to unify the e2e test case description
BDD cases

you are welcome to PR rust-e-2-e test cases -_-


Added a user flag to allow user to provide user define llvm-spirv.

[x] Have you provided a meaningful PR description?
[ ] Have you added a test, reproducer or referred to an issue with a reproducer?
[ ] Have you tested your changes locally for CPU and GPU devices?
[ ] Have you made sure that new changes do not introduce compiler warnings?
[ ] If this PR is a work in progress, are you filing the PR as a draft?

It was agreed to not add the config option.


mac-22 is dead.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-22 is dead.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

mac-22 is up and running fine. Machine is out of sync with Salt master. Run command “salt-call state.apply” to re-sync salt master again.
flutter@flutter-devicelab-mac-22 ~ % uptime
15:17  up 17 mins, 3 users, load averages: 1.41 1.28 0.92