Make getGeoServerBaseURIFromNameSpace method be public again

Visibility of the method getGeoServerBaseUriFromNameSpace was decreased from public to private in #280. That has broken backwards compatibility for some projects which make use of this method.
This PR makes getGeoServerBaseURIFromNameSpace be public again.
Please review @buehner @ahennr

:+1: I'll merge now


Support for endless labels

Is it possible to add support for endless label rolls?
brother_ql returns label size as [x,0] for them
https://github.com/pklaus/brother_ql/blob/56cf4394ad750346c6b664821ccd7489ec140dae/brother_ql/labels.py#L89
So function
https://github.com/sam159/brotherql_grocylabels/blob/7d1c782d5e5d4e3b7fc2de27124fec747ba66c9c/app/imaging.py#L22
cannot create proper image.
I think of a workaround like set height of the label to NAME_FONT_SIZE multiplied by NAME_MAX_LINES plus feed_margin that can be received from ALL_LABELS.

@ThomasLawful  I think thats certainly possible. I'll have a try at implementing it this weekend. Would you be able to test it if I do?

@ThomasLawful I've added support for endless labels, can you give it a spin? Its under the develop tag over on dockerhub
I've set the height to be roughly the line height * max lines + due date height (if used). Theres also new a new environmental variable for ENDLESS_MARGIN which defaults to 10, but I might change to 35 if thats needed

It works.
Got Label 62, 62mm endless as / response
Used GET /print?product=test&grocycode=1234  - printed and cut.
Will check margins with proper grocy products, different codes with dates and a handheld qrcode reader.
Default seems a bit large at the bottom when printed without a date, will play with new ENV.
But overall this update made this service golden for me.


Add examples to docs

I add examples of

processors/resize/ResizeToFill
processors/resize/ResizeToCover
processors/resize/ResizeToFit
processors/resize/Thumbnail
processors/filter/GaussianBlur

to docs.
All example images are generated by a custom sphinx directive at build time.
This custom sphinx directive executes code inside 'pil-block',  then shows an image variable named 'new_img'.
Now you can add examples very easily.
The result seems to be the below screenshot.

#35

@lexifdev thank you very much for your contribution. It's looking very useful!!!


Add EOL check for the cluster used for testing a chart (e.g. testedOpenShiftversion)

It's logical to make sure that either

the cluster used for testing a chart with chart-verifier is not an OpenShift EOL cluster, or
the cluster used for testing a chart with chart-verifier fits within the kubeVersion range.

The former makes more sense, but may be a bit complicated to implement.  We may be able to add and manage this information in a library https://github.com/opdev/getocprange, or otherwise need to talk to Pyxis to get this information (which adds a network call).

The logic for what you need can be found below:
https://github.com/redhat-openshift-ecosystem/operator-certification-operator/blob/c4530a7b805e5a7fb6eff9176ae69de2fd47e5fd/internal/pyxis/pyxis.go

/assign


Integration testing covering upgrades

In light of #861 and thanks to @aaronlehmann integration test suite, we should be able to add coverage for upgrades:

start registry version stable, using local host system as a storage
push an image
stop registry, and start registry master, using the same storage
pull back image

@aaronlehmann what do you think?

Closing, added in https://github.com/distribution/distribution/pull/3348


Consider multimethods over register function

You could define handle-subscribe and a handle-dispatch multimethods and have no need to manually register handlers. Does this sound like a good idea to you?

My initial implementation used multimethods.  I'm trying to remember why I moved away from that.  Was there a problem with the way figwheel can reload multimethods?  Or maybe because I thought (mistakenly) that we'd need to register and deregister handlers?  Or was it because I heard that multimethods are slow, or something.  Or did I plan to achieve the equivalent of multimethods via use of a macro (best of both worlds?).  I can't quite remember.
Irrespective, at this point, I'd like to stick with the long term flexibility of registration over the slight convenience of multi-methods.

Also, at one point, when investigating some Flux implementations,  I wondered if we'd need to support having more than one handler registered for an event.  Flux allows for all sorts of things;  one handler "waiting" for another etc.  Didn't ever happen in re-frame (yet), but it left me a feeling the need to default to the most flexible arrangement.

Closing this. See the latest steps in the Wiki

Thanks for explaining your reasoning on this.


Fix booting from cd while hda present, booting from hda while cd present

This is towards #900: We can now boot either from HDA or CDROM, with the other present, and it boots successfully.  For testing I'm booting into Windows 3.0 (from CD) with Windows 3.1 on hda or from Windows 3.1 (on hda) with Windows 3.0 in the cdrom.
One big change here: The cd-rom device is now always present, either at ide0 or ide1 depending on whether hda/hdb are present.  Of course we can still boot (at least into Windows) if you only have hda and an empty cdrom, or don't have hda and just have a cdrom.

The Bochs BIOS does not like the empty cd-rom drive.  I'll investigate how it should properly report being empty.  If I keep the "empty drive" status register readout to 0, seaBIOS ignores the drive but bochs BIOS hangs.

It looks like the ata command sending code in bochs doesn’t like how our buffer-less cdrom drive is reporting its state register, so it waits forever before sending the IDENTIFY PACKET DEVICE ATA command.  I’ll investigate what’s going on Monday or Tuesday but my suspicion is that the current approach of hard coding one value to send for empty drives is not going work.

Sorry for the spam.  I think the path of least resistance here is to add a setting for “wants_cdrom” which defaults to true if cdrom is non-null, and a cdrom device should only be created if cdrom is defined or wants_cdrom is true.  The bochs empty cdrom boot behavior really should be a separate PR aimed at #900 .

Whoops, and I’ll revert my changes to the html files and main.js.

I’ve trimmed down the changes made by this commit (I left the changes to logging because they’re actually pretty useful) to just changing the BAR4 location for each IDE device and not asserting on a spurious dma control write that occurs before a dma start command arrives (this is something some OSes or maybe seabios seem to do but it doesn’t seem to cause any harm to allow it, I guess they’ll try to trigger it again after it doesn’t do anything the first time—I wonder if a better fix would be for the start dma commands to start the dma transfer immediately if the control start bit was set already).  I’ll do some more testing locally (I figured out how to run the integration tests locally and added test machines with both hda and cdrom and booting from one or the other) and I’ll push a commit over the next day or two.

The main changes necessary to make this work were, in the end:

Change the debug assert to an error condition in the "spurious DMA write" case
Change the BAR4 address for each IDE controller.

The wants_cdrom change is not strictly necessary here but will be important for my next PR which will support empty CD-ROMs, so please consider rolling it in to this.

I've gone ahead and added tests for booting with wants_cd true when Bochs bios is active (and inactive) and with varying permutations of hda, fda, and boot order in FreeDOS. It now boots successfully with an empty CD-ROM in both BIOSes.
The problem is that Bochs was enumerating the slave device of every IDE device, but the slave device was seemingly never fully implemented (?)---so instead I have dummied out writes to slave devices when the slave buffer is null.

With these changes, CDs are also readable by at least FreeDOS 13 with the UDVD2 driver.  They don’t seem to be readable in win95.  I’m going to see if I can implement inserting and ejecting disks later this week.

I've rebased this branch on latest master and removed unnecessary changes.  eject is still in progress, but insert seems to work (I can boot FreeDOS 1.3 with an empty CD-ROM, see dir D: fail, insert a CD-ROM, and see dir D: succeed).

@JoeOsborn Thanks! I will try to look into this in the coming days.

I see my api-test is hanging, it was tricky to get the timing of abort/retry/fail and inserting the CD right.  It works on my machine but I’m open to advice on getting it working in CI.

Sorry @copy , I don’t want to use up your CI credits or whatever, but I don’t know how to kill the actions jobs from my end.

After more testing, I see that ejecting a CD-ROM and inserting a new one also seems to work.

This causes some problems on Linux:
There are some 0-bytes drives:
[   32.946240] sd 1:0:1:0: [sdc] 0 512-byte logical blocks: (0 B/0 B)
[   32.946845] sd 1:0:1:0: [sdc] Write Protect is off
[   32.951335] sd 1:0:1:0: Attached scsi generic sg3 type 0
[   32.956020] sd 1:0:1:0: [sdc] Write cache: disabled, read cache: enabled, doe
sn't support DPO or FUA
[   32.970920] sd 1:0:1:0: [sdc] Attached SCSI disk

There are some timeouts, e.g. running fdisk /dev/sr0:
[  176.750270] ata2: lost interrupt (Status 0x58)
[  176.750920] ata2: drained 32 bytes to clear DRQ
[  176.751025] ata2.00: limiting speed to MWDMA1:PIO2
[  176.751340] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  176.751910] ata2.00: cmd a0/01:00:00:20:00/00:00:00:00:00/a0 tag 0 dma 16416 in
[  176.751910]          Get configuration 46 00 00 00 00 00 00 00 20 00res 40/00:02:00:0c:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[  176.752900] ata2.00: status: { DRDY }
[  176.753640] ata2: soft resetting link
[  176.914875] ata2.00: configured for MWDMA1
[  176.915840] ata2.01: configured for MWDMA2
[  176.916755] ata2: EH complete
[  184.750285] ata2: lost interrupt (Status 0x58)
[  184.751185] ata2: drained 16 bytes to clear DRQ
[  184.751285] ata2.00: limiting speed to PIO2
[  184.751640] ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  184.752215] ata2.00: cmd a0/01:00:00:10:00/00:00:00:00:00/a0 tag 0 dma 16400 in
[  184.752215]          Get configuration 46 00 00 28 00 00 00 00 10 00res 40/00:02:00:0c:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
[  184.753650] ata2.00: status: { DRDY }
[  184.755615] ata2: soft resetting link
[  184.914770] ata2.00: configured for PIO2
[  184.915615] ata2.01: configured for MWDMA2
[  184.916485] ata2: EH complete

You should be able to reproduce with tinycore (it can be used both as cdrom and hard drive disk).

To clarify on the linux issues, is this the set of test cases you’re using?

Boot from tinycore as hda, insert tinycore cd, mount it
Boot from tinycore as hda with some cd image, run fdisk on the cd? This one’s a bit confusing to me, is it just that the error condition isn’t being handled properly?  Or should something like CD-R support be implemented?

@JoeOsborn Sorry, here is a better reproduction:
Boot with linux4.iso as cdrom and tinycore (or anything else) as hard drive, set boot order to CD first. fdisk /dev/sr0 hangs, but I believe the same hang also happens during boot on tinycore. It looks like an interrupt missing somewhere.

Something I’m finding confusing here is that linux seems to be configuring the drive to use DMA even though the capabilities reported are lba-only.
I think maybe the OS is waiting for some status flag to be set or something, or else it’s ignoring irqs that come in too soon after the command is sent, since liberally adding irqs didn’t seem to help.  Any tips for triggering an IRQ after some delay?

Any tips for triggering an IRQ after some delay?

You can try setTimeout(() => this.push_irq(), 4) or similar, but in my experience that isn't usually needed and is somewhat of an anti-pattern.

Just posting to say I'm still investigating this, but the beginning of the semester has slowed down my experiments here.  Once I've settled into teaching a little more I'll have another chance to get back to it.

Was this work abandoned? I think this is essential for the emulator and I'm working on a project that requires this functionality.
I tried to build the version from this branch but it seems like it's broken. I'm getting the following errors:

Sadly I don't think I have the skills to fix this.

It’s not abandoned, but it is delayed.  I likely won’t be able to pick it up until January—it is on my critical path for some preservation work, but other aspects of the project (and my other obligations) have taken the front seat for a while.

That's fair enough, thank you for getting back to me.

Hello,
I feel this PR is now on way outdated code.
I wonder how we could get this issue fixed, I think it's a very important fix.

Hey, does anyone know if this is still being actively worked on?

Does anyone know if this is still being actively worked on?

Probably nobody, but feel free to pick it up.


upgrade GH plugin support to prod

Description
Please explain the changes you made here.
We have doc'd and tested these two plugins so we can declare their support level as prod
Which issue(s) does this PR fix

Fixes #?
https://issues.redhat.com/browse/RHIDP-3953

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

As Prod Experience has said this is OK, +1 to the change.

/cherrypick 1.3.x

/cherry-pick 1.3.x


Add UML diagram for documentation purposes

I was pretty taken aback at how complex uploading files actually is so I made it into a uml diagram to help understand it better
Seems like client based uploading including larger files is actually fairly difficult

This doesn't even include logic for accessing the files after they've been uploaded haha

Great @jonathanpv 👏🏼 I missed this issue so only seeing it now.  I think it would be great if we had editable version of the diagram so that other people could improve/fix it if any issues. Generally, we'd use mermaid diagrams and open a pull request with the diagram included in the README of this repo.


Vec generates unreasonably large verilog with unnecesarry wires

We are creating a 16 core chip, it is a heavily modified version of rocket-chip, the size of the verilog with one core is 10 MB, the size of 16 cores is over 1 GB.
It is logistically unworkable as it takes days to compile the verilog.
We isolated the issue to the way that chisel handles Vec. Vec of 64 bit width will generate 64 separate wires and any operation performed with that Vec will require assign statement for all 64 of them. An improvement would be for Vec to generate a single verilog Wire of 64 bit. wire myVec[63:0]
For eg We are using original rocket TLDebug module
4 cores 100 MB verilog in which
20%  is TLDebugModuleInner : 2,33,034 lines, 9259 cells
2 cores 44 MB verilog in which
9%  TLDebugModuleInner : 66,595 lines, 8556 cells
The following zip contains output verilog as well as the chisel code for the above mentioned
VEC.zip

Thank you for taking the time to provide this feedback, and thank you for digging into the cause. Vecs are certainly in need of improvement, and I hope we are able to get to it soon.
Such long compilation times are unacceptable, so until we have fixed the underlying issue, let me suggest a few things you can do to minimize the pain for the time being:
(This ended up being a lot longer than I expected, but hopefully it's useful for dealing with such issues)
Looking at TLDebugModuleInner (https://github.com/chipsalliance/rocket-chip/blob/7a8b3679d8aed1553c466cdf09fc546fb08f1349/src/main/scala/devices/debug/Debug.scala#L671), there are tons of Vecs of Bool which I suspect are causing the bulk of the compilation issues. I suggest replacing each one of these Vecs of Bool with a UInt of the same size. It is a fairly simple transformation that can have an enormous impact on the compilation speed and size of the emitted Verilog.
Let us consider an example from TLDebugModuleInner. I've taken one of these Vec of Bool and transformed a few of it's uses:
val haltedBitRegs    = Reg(Vec(nComponents, Bool()))

Becomes
val haltedBitRegs    = Reg(UInt(nComponents.W))

Example 1
DMSTATUSRdData.anyhalted := ((~io.debugUnavail &  haltedBitRegs) & hamaskFull).reduce(_ | _)

This is a very simple modification. Most of these operations being used are defined on class UInt to operate at the world-level. The only change necessary is the Scala Seq .reduce is operating a bit-level on the Vec, instead we use the Chisel built-in .orR (or reduction). We also do need to change each other val involved to a UInt.
DMSTATUSRdData.anyhalted := ((~io.debugUnavail &  haltedBitRegs) & hamaskFull).orR

Example 2
haltedStatus(ii) := Cat(haltedBitRegs.slice(ii * 32, (ii + 1) * 32).reverse)

This one is a little more complicated. One important observation is that Cat(myVec.reverse) is actually equivalent to myVec.asUInt, so we can just remove those, but we're left with slice which is a Scala Seq operation. In this context, it is essentially selecting a 32 Bools from the Vec. Put another way, it's selecting a 32-bit slice from the full word:
haltedStatus(ii) := (haltedBitRegs >> (ii * 32))(31, 0) // note may need to deal with < 32-bit result

Example 3
These are the easy examples, but what about the main use case in Chisel for Vec over UInt: dynamic indexing? This transformation is a little more complicated. The idea is that you create some logic to construct a full-sized UInt result, and connect that to the Reg. For Vec of Bool it's easier because you can think about it as masking.
    for (component <- 0 until nComponents) {
      when (~io.dmactive || ~dmAuthenticated) {
        haltedBitRegs(component) := false.B
      }.otherwise {
        // Hart Halt Notification Logic
        when (hartIsInResetSync(component)) {
          haltedBitRegs(component) := false.B
        }.elsewhen (hartHaltedWrEn) {
          when (hartSelFuncs.hartIdToHartSel(hartHaltedId) === component.U) {
            haltedBitRegs(component) := true.B
          }
        }.elsewhen (hartResumingWrEn) {
          when (hartSelFuncs.hartIdToHartSel(hartResumingId) === component.U) {
            haltedBitRegs(component) := false.B
          }
        }

I personally find this logic really hard to follow, a rewrite might make it more clear (and more efficient), so here's an attempt:
  when(~io.dmactive || ~dmAuthenticated) {
    haltedBitRegs := 0.U
  }.otherwise {
    // Summarizing this chunk of logic in English
    // For each bit
    //   * if hartIsInResetSync is true, clear it
    //   * else if hartHaltedWrEn, set bit of hartHaltedId
    //   * else if hartResumingWrEn, clear bit of hartResumingId

    // Low priority default that we'll conditionally override
    val haltedBitRegsNext = WireInit(haltedBitRegs)

    // Hart Halt Notification Logic is higher priority than what follows so we'll put it last for last connect semantics
    // Note that its when condition is per-bit while the later are
    val hartHaltedIdIndex = UIntToOH(hartSelFuncs.hartIdToHartSel(hartHaltedId))
    val hartResumingIdIndex = UIntToOH(hartSelFuncs.hartIdToHartSel(hartResumingId))

    //  else if hartHaltedWrEn, set bit of hartHaltedId
    when(hartHaltedWrEn) {
      haltedBitRegsNext := haltedBitRegs | hartHaltedIdIndex
    // else if hartResumingWrEn, clear bit of hartResumingId
    }.elsewhen(hartResumingWrEn) {
      haltedBitRegsNext := haltedBitRegs & ~hartResumingIdIndex
    }
    // Hart Halt Notification Logic (clear each bit with corresponding bit in hartIsInResetSync set)
    haltedBitRegs := haltedBitRegsNext & ~hartIsInResetSync
  }
}

The solution you wrote worked out great although at first it seems like introducing extra logic of applying masks to large width wires, but after I synthesized the output verilog to a physical design, the results are more or less the same in terms and area and timing, Thank you for the help.


Foreign key on primary key column

Hi,
I have rows in two separate tables that have a one-to-one relationship with a row in a common table. A scenario that replicates the problem is representing inheritance in a SQL database. Instead of having a single table for all types in the hierarchy, you have base tables that have the common columns. Then, you have subtables that define the columns specific to the subtype. Both the base and subtable reference each other via the primary key in the base table. The primary key of the subtable is also a foreign key to the common base table.
The generated code that does reference the _id type of the column. Instead, it tries to perform equality on the model object of the foreign/primary key. To replicate the problem, just add a ForeignKey definition to a PimaryKey column.
Here is the error produced confidential information removed:
Foo_Adapter.java:121: error: no suitable method found for eq(Bar)
    return ConditionGroup.clause().and(Foo_Table.campaign.eq(model.bar));
                                                                         ^
    method BaseProperty.eq(ITypeConditional) is not applicable
      (argument mismatch; Campaign cannot be converted to ITypeConditional)
    method BaseProperty.eq(BaseModelQueriable) is not applicable
      (argument mismatch; Campaign cannot be converted to BaseModelQueriable)
    method Property.eq(String) is not applicable
      (argument mismatch; Bar cannot be converted to String)

It seems that the code generator just needs to call the _id attribute on the primary key object to resolve the compilation error. In other words:
Foo_Table.campaign.eq(model.bar._id)

@agrosner I have resolved the problem in my fork of the repo. Basically, the code generation failed if the a primary key was also a foreign key, and the foreign was a model and not a model container. I refactored the code for the ColumnDefinition class such that the getPropertyComparisonAccessStatement() does not know about the ForeignKeyColumnDefinition as this is a bad design and tightly couples the code.
I have also implemented a new type of ForeignKey called ExternalForeignKey that is designed to emulate foreign key references across databases. This will become important now that we have module support in DBFlow. I have many use cases where this is needed. I will be adding the ExternalForeignKey on a separate issue/pull-request from this fix.

@hilljh82 I'd be interested in seeing your fork, I'd like to use a composite foreign key as a primary key and am getting the same error. I can't see it listed on your GitHub profile, could you create a pull request for it?

wow this seems like a complex kind of table. lol can you send over example tables so I can add them to tests and figure out the best solution for this that will work?

technically you could run into a @Primary key thats a model that references another model primary key, that happens N times. What I need to decide is how far to go and where should it be limited - or if such limitation should be necessary.

It's not that complex, we just have a table with a composite primary key that wants a one-to-many relationship with another table, e.g.
@Table(database = MyDatabase.class)
public class A extends BaseModel {

  @PrimaryKey
  long key1;

  @PrimaryKey
  long key2;
}

@Table(database = MyDatabase.class)
public B extends BaseModel {

  @PrimaryKey
  @ForeignKey
  A a;

  @PrimaryKey
  long keyB;
}

It looks like it's been fixed by https://github.com/Raizlabs/DBFlow/commit/16f9489f907b5c8c6979bb1478e23b4e067386b4 through, so that's cool! Feel free to close this bug, any idea when you'll be making a release which includes the fix?

I fixed this in develop I believe yesterday. Here is a test class I am using:
@ModelContainer
@Table(database = TestDatabase.class)
public class ForeignAsPrimaryModel extends BaseModel {

    @PrimaryKey
    long id;

    @ForeignKey
    @PrimaryKey
    TestModel1 testModel1;

    @ForeignKey
    @PrimaryKey
    BoxedModel boxedModel;

    @ForeignKey
    @PrimaryKey
    ForeignKeyContainer<BoxedModel> boxedModelForeignKeyContainer;
}

works for both foreign key containers and regular models as primary and foreign keys.

3.0.0-beta3 will have this fix in there or you can grab the 10 digit commit hash of latest in develop if wish not to live on the bleeding edge.

That test class doesn't match my issue which was that the foreign model has a composite primary key, both TestModel1 and BoxedModel have a single field annotated with PrimaryKey. I believe your fix also fixes my case, but to be sure could you add something like this:
@ModelContainer
@Table(database = TestDatabase.class)
public class CompositePrimaryKeyModel extends BaseModel {

    @PrimaryKey
    long key1;

    @PrimaryKey
    long key2;
}

@ModelContainer
@Table(database = TestDatabase.class)
public class ForeignAsPrimaryModel extends BaseModel {

    ...

    @ForeignKey
    @PrimaryKey
    CompositePrimaryKeyModel compositePrimaryKeyModel;
 }

So, is it safe to close this issue?!


2000 milliseconds is 2 seconds, 120*1000ms is 2 minutes

This was possibly a typo but probably best to update it.

@mhuguet  Can you apply this change?


Seed data

feature/#16-seed

currently won't compile because Category is undefined

working now in development and in production


Freeze column functionality

Hello @AllenFang,
We are currently using react-bootstrap-table in a project and everything is working perfectly but we really need the freeze column functionality and we're wondering if it is planned to be implemented in react-bootstrap-table2 ?
Thanks

@Botsy I will consider to implement it, not it's still not in my radar. Currently, I still work on recovering all the functionality from legacy react-bootstrap-table. so PR is welcome :)

Use the following CSS to Freeze the column
.react-bootstrap-table table > tbody > tr > td:nth-child(1), .react-bootstrap-table table > thead > tr:nth-child(1) > th:nth-child(1) { background-color: #ccc; position: sticky; position: -webkit-sticky; left:0; z-index:1; }

Use the following CSS to Freeze the column
.react-bootstrap-table table > tbody > tr > td:nth-child(1), .react-bootstrap-table table > thead > tr:nth-child(1) > th:nth-child(1) { background-color: #ccc; position: sticky; position: -webkit-sticky; left:0; z-index:1; }

does not work in IE, position: sticky is not available there

is this updated in react-bootstrap-table2 ???????

<TableHeaderColumn dataField='xyz' dataAlign="center"
tdStyle={{ whiteSpace: 'normal', backgroundColor: '#ccc', position: 'sticky', left: 0, zIindex: 1 }}
thStyle={{ whiteSpace: 'normal', backgroundColor: '#ccc', position: 'sticky', left: 0, zIindex: 1 }}
>XYZ
This can be used to make the column fixed.


API for match checker

Currently the match checker feature is manual and a person needs to be added before checking match
( https://vedastro.org/Match )
( in API builder section - https://vedastro.org/APIBuilder )
Please provide an API for checking match between two profiles by inputting their birth dates time and place directly in API itself  :pray:
Thank you for your good work

noted, there is a half baked version of this API available, but it needs little work
hopefully sometime this month or the next, we can have a working version

@ar-daniel.........API is done 🫡😁, have fun 🎈
POST URL --> https://api.vedastro.org/Match
POST BODY :
{
  "PersonList": [
    {
      "Name": "Romeo",
      "Gender": "Male",
      "BirthTime": {
        "StdTime": "12:05 24/09/1975 +03:30",
        "LocationName": "London"
      }
    },
    {
      "Name": "Juliet",
      "Gender": "Female",
      "BirthTime": {
        "StdTime": "12:05 23/09/1975 +01:30",
        "LocationName": "Peru"
      }
    }
  ]
}

OUTPUT JSON
{
    "Status": "Pass",
    "Payload": {
        "KutaScore": 25.0,
        "Notes": "...",
        "Male": {
            "PersonId": "Romeo1975",
            "Name": "Romeo",
            "Notes": "",
            "BirthTime": {
                "StdTime": "12:05 24/09/1975 +03:30",
                "Location": {
                    "Name": "London, United Kingdom",
                    "Longitude": -0.126,
                    "Latitude": 51.5
                }
            },
            "Gender": "Male",
            "OwnerId": null,
            "LifeEventList": []
        },
        "Female": {
            "PersonId": "Juliet1975",
            "Name": "Juliet",
            "Notes": "",
            "BirthTime": {
                "StdTime": "12:05 23/09/1975 +01:30",
                "Location": {
                    "Name": "Peru, Peru",
                    "Longitude": -77.037,
                    "Latitude": -12.058
                }
            },
            "Gender": "Female",
            "OwnerId": null,
            "LifeEventList": []
        },
        "PredictionList": [
            {
                "Name": "GrahaMaitram",
                "Nature": "Bad",
                "MaleInfo": "SamePlanet Sign",
                "FemaleInfo": "SamePlanet Sign",
                "Info": "no good connection between these horoscopes",
                "Description": "happiness, mental compatibility (important)"
            },
            {
                "Name": "Rajju",
                "Nature": "Good",
                "MaleInfo": "Kati",
                "FemaleInfo": "Pada",
                "Info": "both constellations are in different groups",
                "Description": "strength/duration of married life (important)"
            },
            {
                "Name": "NadiKuta",
                "Nature": "Good",
                "MaleInfo": "Pitha (bile)",
                "FemaleInfo": "Vatha (wind)",
                "Info": "agreement between the couple will be good",
                "Description": "nervous energy compatibility (important)"
            },
            {
                "Name": "VasyaKuta",
                "Nature": "Bad",
                "MaleInfo": "Aries",
                "FemaleInfo": "Aries",
                "Info": "neither controls the other",
                "Description": "degree of magnetic control"
            },
            {
                "Name": "DinaKuta",
                "Nature": "Bad",
                "MaleInfo": "Aries",
                "FemaleInfo": "Aries",
                "Info": "remainder is 1",
                "Description": "day to day living compatibility"
            },
            {
                "Name": "GunaKuta",
                "Nature": "Neutral",
                "MaleInfo": "ManushaHuman",
                "FemaleInfo": "DevaAngel",
                "Info": "evil maybe ignored, female star is more than 14th from male's",
                "Description": "temperament and character compatibility"
            },
            {
                "Name": "Mahendra",
                "Nature": "Bad",
                "MaleInfo": "Bharani - 2",
                "FemaleInfo": "Aswini - 3",
                "Info": "no well-being and no longevity, count 2",
                "Description": "well-being and longevity"
            },
            {
                "Name": "StreeDeergha",
                "Nature": "Bad",
                "MaleInfo": "Bharani - 2",
                "FemaleInfo": "Aswini - 3",
                "Info": "constellation count lower than 9, it is 2",
                "Description": "husband well being, longevity and prosperity"
            },
            {
                "Name": "RasiKuta",
                "Nature": "Neutral",
                "MaleInfo": "Aries",
                "FemaleInfo": "Aries",
                "Info": "bad, but neutralized by friendly Janma Rasi lord",
                "Description": "rasi compatibility"
            },
            {
                "Name": "Vedha",
                "Nature": "Good",
                "MaleInfo": "Bharani",
                "FemaleInfo": "Aswini",
                "Info": "constellation pair not hostile",
                "Description": "birth constellations compatibility"
            },
            {
                "Name": "Varna",
                "Nature": "Good",
                "MaleInfo": "Vaisya Workmen",
                "FemaleInfo": "Vaisya Workmen",
                "Info": "boy higher and girl lower or both same Varna, is good",
                "Description": "spiritual/ego compatibility"
            },
            {
                "Name": "YoniKuta",
                "Nature": "Bad",
                "MaleInfo": "Elephant - Male",
                "FemaleInfo": "Horse - Male",
                "Info": "pairs are hostile, should be avoided.",
                "Description": "sex compatibility"
            },
            {
                "Name": "Empty",
                "Nature": "Empty",
                "MaleInfo": "",
                "FemaleInfo": "",
                "Info": "",
                "Description": ""
            },
            {
                "Name": "KujaDosa",
                "Nature": "Bad",
                "MaleInfo": "103.75",
                "FemaleInfo": "0",
                "Info": "charts cannot be matched, male dosha above 25% of female",
                "Description": "if bad, may cause death/bad health to spouse"
            },
            {
                "Name": "BadConstellation",
                "Nature": "Good",
                "MaleInfo": "",
                "FemaleInfo": "",
                "Info": "no evil constellation in either person",
                "Description": "checks if evil constellation is in chart"
            },
            {
                "Name": "SexEnergy",
                "Nature": "Neutral",
                "MaleInfo": "Under-Sexed",
                "FemaleInfo": "",
                "Info": "no evil or good, neutral result",
                "Description": "sexual compatibility based on planets in 7th house"
            }
        ],
        "UserId": "",
        "Id": "60f6c1210e0e4d8cad46bbca64db5f74"
    }
}

Great, thank you, will use this new match feature and come back


trying to overload ntohl/htonl breaks OSX compilation

On OSX, ntohl and htonl seem to be macro instead of functions (this strikes me as a pretty bad idea but I can't really change that). This causes the overloads in SMD2Structs.cpp to expand to some weird constructs.
Overloading standard/third party library functions should probably be avoided, just in case (and fresh names should probably be chosen instead).

I only wrote htonl and ntohl there, because they were not defined for the 64bit integers in some headers.


Fixed duplicates .plist in the example that was making fail carthage …

Fixed duplicates .plist in the example that was making fail carthage installation

Hey @callo90 just wanted to check how you were running into this problem.  Were you using the 1.0.9 release here or targeting the master branch?

Closing this, since it seems to be fixed in the latest versions.  Thanks for the PR though.


Remove path() from RemoteFluidObjectHandle class

This PR aims to remove one of the deprecated function path() which is part of @fluidframework/runtime-utils package RemoteFluidObjectHandle class.
Fixes: https://github.com/microsoft/FluidFramework/issues/8290

Is there a reason you are removing this other than this being deprecated? I ask because you could also look into removing path from FluidObjectHandle.

Is there a reason you are removing this other than this being deprecated? I ask because you could also look into removing path from FluidObjectHandle.

I was looking into removing path() since it was deprecated, but I'll take a look at path from FluidObjectHandle as well


[mesa] win_FLEX.exe has races in %TEMP% that cause sporadic build failures.

Host Environment

OS: Windows
Compiler: N/A

To Reproduce
Steps to reproduce the behavior: https://dev.azure.com/vcpkg/public/_build/results?buildId=84018
This has been intermittently failing in CI. Usuaully with crashes; this is the first time we got something that tries to explain what happened.
Installing 1393/2048 mesa:x86-windows...
Building mesa[core,default-features,gles1,gles2,opengl]:x86-windows...
-- Downloading https://gitlab.freedesktop.org/mesa/mesa/-/archive/mesa-22.1.7/mesa-mesa-22.1.7.tar.gz -> mesa-mesa-mesa-22.1.7-1.tar.gz...
-- Extracting source D:/downloads/mesa-mesa-mesa-22.1.7-1.tar.gz
-- Applying patch def-fixes.patch
-- Applying patch clover.patch
-- Using source at D:/buildtrees/mesa/src/esa-22.1.7-39303a924c.clean
-- Setting up python virtual environmnent...
-- Installing python packages: setuptools;mako
-- Setting up python virtual environmnent...finished.
-- Found external ninja('1.11.0').
-- Getting CMake variables for x86-windows
-- Configuring x86-windows-dbg
-- Using cached msys-mingw-w64-i686-pkg-config-0.29.2-3-any.pkg.tar.zst.
-- Using cached msys-mingw-w64-i686-libwinpthread-git-<IP_ADDRESS>73.5be8fcd83-1-any.pkg.tar.zst.
-- Using msys root at D:/downloads/tools/msys2/9a1ec3f33446b195
-- Configuring x86-windows-dbg done
-- Configuring x86-windows-rel
-- Configuring x86-windows-rel done
-- Package x86-windows-dbg
-- Package x86-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" install -v
    Working Directory: D:/buildtrees/mesa/x86-windows-rel
    Error code: 1
    See logs for more information:
      D:\buildtrees\mesa\package-x86-windows-rel-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_meson.cmake:33 (vcpkg_execute_required_process)
  ports/mesa/portfile.cmake:117 (vcpkg_install_meson)
  scripts/ports.cmake:147 (include)

error: building mesa:x86-windows failed with: BUILD_FAILED
Elapsed time to handle mesa:x86-windows: 57.88 s

D:\buildtrees\mesa\package-x86-windows-rel-out.log has:
[87/901] "D:/downloads/tools/win_flex/2.5.25\win_flex.EXE" "--wincompat" "-DYY_USE_CONST=" "-o" "src/compiler/glsl/glcpp/glcpp-lex.c" "../src/esa-22.1.7-39303a924c.clean/src/compiler/glsl/glcpp/glcpp-lex.l"
FAILED: src/compiler/glsl/glcpp/glcpp-lex.c
"D:/downloads/tools/win_flex/2.5.25\win_flex.EXE" "--wincompat" "-DYY_USE_CONST=" "-o" "src/compiler/glsl/glcpp/glcpp-lex.c" "../src/esa-22.1.7-39303a924c.clean/src/compiler/glsl/glcpp/glcpp-lex.l"
win_flex.EXE: error deleting file C:\Users\AzDevOps\AppData\Local\Temp\~flex_out_main_2

Ideally we would fix this to put these temporary files in a location where they won't be broken by parallelism.

I think the [mesa] in the title is wrong. It could happen in any port using win_flex or not? It is just observed in the mesa port.

How many ports do multiple non-serialized runs of win_flex?
The parallelism between debug and release could be resolved quite easily - there seems to be a specific environment variable for the tool's temporary dir.

I think the [mesa] in the title is wrong. It could happen in any port using win_flex or not? It is just observed in the mesa port.

I don't know. Maybe? I just remember seeing it in Mesa.

We are having the same problem building https://github.com/AcademySoftwareFoundation/OpenShadingLanguage with win_flex.

https://github.com/lexxmark/winflexbison/issues/86 is closed, but there is no new release yet.

(I think I had

t could happen in any port using win_flex or not? It is just observed in the mesa port.

I don't know. Maybe? I just remember seeing it in Mesa.

Just observed for libpq.

Just observed for libpq.

And again. Normally hidden by the fact vcpkg CI doesn't build the programs, invisible together with other issues...

It appears again: Pipelines - Run 20231219.1 (azure.com)

It appears again: Pipelines - Run 20240316.2 (azure.com)

Experienced the same (outside vcpkg), I switched to the older version 2.5.24 and it is running stable so far


feature: 重装 agent 时保存的密码如果仍在有效期内，需要回显成 *

Codecov Report

Merging #1062 (b79efb6) into V2.2.22-rc (ced6435) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@              Coverage Diff               @@
##           V2.2.22-rc    #1062      +/-   ##
==============================================
- Coverage       73.24%   73.20%   -0.04%
==============================================
  Files             322      322
  Lines           22942    22976      +34
==============================================
+ Hits            16804    16820      +16
- Misses           6138     6156      +18

Impacted Files
Coverage Δ

apps/node_man/handlers/job.py
84.84% <0.00%> (-1.05%)
:arrow_down:

apps/node_man/handlers/policy.py
81.72% <0.00%> (-1.04%)
:arrow_down:

apps/backend/subscription/steps/plugin.py
55.21% <0.00%> (-0.66%)
:arrow_down:

apps/backend/subscription/tasks.py
71.21% <0.00%> (-0.53%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Relayer signature forwarding

Motivation
This proposal is built upon the Verifying Remote Signing, introducing a mechanism for remote signers to authenticate the provenance of the relayer responsible for signing a blinded block. It aims to enhance the integrity of the signing process.
Rationale
This enhancement provides verification capabilities of the block proposals content to remote signers prior to signing the block, thereby facilitating a trustless operational setup between the validator client and the remote signer.
The specification aims to optionally extend the capabilities of the remote signer API while maintaining compatibility with the current API with the following (optional, flag-enabled) addition:

Validate BlindedBlock authenticity:
In a MEV context, when the signing request is built for a BlindedBlock, in order to validate the authenticity of the BlindedBlock, the validator client can include the relayer's signature by adding the signature field from the SignedBeaconBlockHeader to verify that the signature was performed by a given relayer.

Specification Overview
This specification proposes a structured methodology to refine the interaction between validator clients and the remote signer.
Property Specification in validator client
This process involves validator to knowing by flags where to find the remote signer and which properties the remote signer is ready to validate:

Relayer Signature: Specifically for block proposals that are instances of SignedBeaconBlockHeader, indicating whether a relayer's signature should be forwarded to the remote signer.

Verifying Signature Request in /api/v1/eth2/sign/{pubkey}
Enhancing signature requests with the inclusion of relayer signatures. Based on the properties specified for each validator in the previous step, the verifying remote signer will perform before signing:

Relayer Signature Validation: If applicable, the remote signer validates that the BLS signature in the signature field was indeed generated by the specified relayer, thereby confirming the authenticity of the BlindedBlock in the signing request.

Sequence Diagram

Thanks! I am a bit confused due to:

The relayer does not sign a BeaconBlockHeader. Instead is signs a BuilderBid (ref).
The validator client does not request a SignedBeaconBlockHeader, and the beacon node does not sign. Also in the case of using a relayer it will return a BlindedBeaconBlock.

This signature field from the relayer can authenticate that the execution payload originates on the relayer, not the entire beacon block.
Also this PR includes changes from https://github.com/ethereum/remote-signing-api/pull/10, please maintain the scope of this branch to "Relayer signature forwarding" only


KeyError: token name from DSL

i run the code with python Main.py -n 10 in fedora 36 and and i got
Traceback (most recent call last):
  File "/home/ala/Desktop/sketched-webpages-generator/Main.py", line 223, in <module>
    generateDataset(KEEP_INTERMEDIATE_OUTPUTS=args.intermediate,
  File "/home/ala/Desktop/sketched-webpages-generator/Main.py", line 155, in generateDataset
    compileDSL(GENERATOR_OUTPUT_PATH + fileName + '_0.dsl')
  File "/home/ala/Desktop/sketched-webpages-generator/Compiler/WebCompiler.py", line 51, in compileDSL
    compiler.compile(input_file_path, output_file_path, rendering_function=render_content_with_text)
  File "/home/ala/Desktop/sketched-webpages-generator/Compiler/classes/Compiler.py", line 46, in compile
    output_html += self.root.render(self.dsl_mapping, rendering_function=rendering_function)
  File "/home/ala/Desktop/sketched-webpages-generator/Compiler/classes/Node.py", line 34, in render
    content += child.render(mapping, rendering_function)
  File "/home/ala/Desktop/sketched-webpages-generator/Compiler/classes/Node.py", line 36, in render
    value = mapping[self.key]
KeyError: 'navba'

and i also made change in Render.py
self.driver = webdriver.PhantomJS()
to
       self.driver = webdriver.Chrome()
so what is the problem ??

i fix it here
https://github.com/Ala-Alsanea/sketched-webpages-generator


[general] Salesforce Inspector reloaded stop working on Chrome

Hello,
the extension has stopped working in Chrome and I removed and reinstalled it but it is not showing in Chrome anymore maybe because of the inactive service worker
It does show in installed extensions but not in salesforce
I have already tried steps from this page: https://tprouvot.github.io/Salesforce-Inspector-reloaded/troubleshooting/ but nothing works

HI @tprouvot my chrome version is already up to date Version 128.0.6613.85 (Official Build) (arm64)
but rolling back to the previous version 1.23 for salesforce inspector reloaded works for me, thank you

Hi. @tprouvot Also, the Beta version is working fine for me as well

New version has been released today, I'm closing this issue


socket hang up on HTTPS servers

I am seeing an issue where stoppable is killing in-flight HTTPS connections. My test verification sets up an HTTPS server, applies stoppable, makes a request (the handler will delay 1 second to reply), calls server.stop() immediately without waiting for the request to return, and the request then errors out immediately with "socket hang up" error.
However, if I use HTTP instead, and leave all other code the same, everything works correctly and the server.stop() command waits the 1 seconds for the delay handler to return, sees the connection ended, then the stop() callback fires.
I have also tested with keep alive enabled and disabled on the request side of things. In both cases HTTP works, and HTTPS gets a socket hang up.
Here is my test file. To run it, install async, request and stoppable, set the "configure test here" values, and then run the file with node v6 or v8. For config, the problems occur for secure = true, no matter what the other two config values are.
Keep in mind, if you use the config values of applyStoppable = false and keepAlive = true, the server will hang forever. In that case ctrl+c to exit.

const async = require( 'async' ); // https://www.npmjs.com/package/async
const fs = require( 'fs' ); // native
const http = require( 'http' ); // native
const https = require( 'https' ); // native
const request = require( 'request' ); // https://www.npmjs.com/package/request
const stoppable = require( 'stoppable' ); // https://www.npmjs.com/package/stoppable

// configure test here
let secure = true; // run tests on HTTP (false) or HTTPS w/ self-signed cert (true)
let applyStoppable = true; // run native server with close (false) or stoppable server with stop (true)
let keepAlive = false; // whether or not to use keep alive agent for requests

/**
 * Generated the self-signed cert in certs directory with:
 *
 * openssl genrsa -out test.key 2048
 * openssl req -new -key test.key -out test.csr
 * openssl x509 -req -in test.csr -signkey test.key -out test.crt -days 3650 -sha256
 *
 */
let tlsOptions = {
  key: fs.existsSync( 'certs/test.key' ) ?
       fs.readFileSync( 'certs/test.key', 'utf8' ) :
       null,
  cert: fs.existsSync( 'certs/test.crt' ) ?
        fs.readFileSync( 'certs/test.crt', 'utf8' ) :
        null
};

// a logging utility that prepends timing info
let log = function ( message ) {
  console.log( new Date().toISOString(), message );
};

let onRequestHandler = null; // this gets set on line 92

// echo back
let requestHandler = function ( req, res ) {

  // lets the control code know the request has connected and we can
  // call server.stop()
  if ( typeof onRequestHandler === 'function' ) {
    let temp = onRequestHandler;
    onRequestHandler = null;
    temp();
  }

  // make up a response payload
  let response = {};

  response.method = req.method;
  response.url = req.url;
  response.headers = req.headers;

  log( 'request received, delaying response: 1000ms' );

  setTimeout( () => {

    // after we delay 1000ms, allowing time for the server.stop() command to be called, send the response
    res.writeHead( 200, { 'Content-Type': 'application/json' } );
    res.write( JSON.stringify( response ) );
    res.end();

    log( 'response sent' );

  }, 1000 );

};

// select HTTP or HTTPS server
let server = secure ?
             https.createServer( tlsOptions, requestHandler ) :
             http.createServer( requestHandler );

server.keepAliveTimeout = 0; // make keep alive connections hang for always (makes node v8+ act like node v6)

log( 'testing HTTP' + (secure ? 'S' : '') + ' protocol ' +
     'w/' + (applyStoppable ? '' : 'out') + ' stoppable ' +
     'on ' + (keepAlive ? '' : 'non-') + 'keep-alive connection' );

if ( applyStoppable ) {
  server = stoppable( server, 30000 ); // no connection with an active HTTP request should be closed for at least 30s
}

async.series( [
  function ( done ) {
    server.listen( secure ? 8443 : 8080, done ); // start the server listening
  },
  function ( done ) {

    // fire the call back as soon as the request handler starts handling the request about to be sent, but before the response to the request is returned
    onRequestHandler = done;

    // start a request to the delay handler
    request( {
      url: 'http' + (secure ? 's' : '') + '://localhost:' + (secure ? 8443 : 8080),
      agentOptions: {
        keepAlive: keepAlive,
        rejectUnauthorized: false // allow self-signed cert
      }
    }, function ( err ) {
      log( 'request err: ' + err ); // this should never error because the response comes in long before grace period
    } );

  },
  function ( done ) {

    log( 'stop server sent' );
    if ( applyStoppable ) {

      // call stop(), since we are using stoppable
      server.stop( done );
    } else {

      // use native close(), since we are not using stoppable
      server.close( done );
    }

  },
  function ( done ) {
    log( 'stop server complete' ); // all connections are kills and stop() or close() fired their callback
    done();
  }
] );

Upon further inspection it looks like the problem is that for https server instances, it fires both 'connection' and 'secureConnection' events. Then, when you call server.stop(), the 'connection' socket is idle even though the 'secureConnection' socket has a single request on it. The loop calling endIfIdle then kills the 'connection' socket, which actually kills the 'secureConnection' socket also.
My guess is that we need to listen to only one of the two events depending on whether its a secure server or not.

Final update... After some digging it looks like 'secureConnection' is fired off by TLS server, not HTTPS. Whereas 'connection' is fired by HTTP server. According to all docs for latest versions of node 4, 6, 8 and 10, a TLS server object will have a function named getTicketKeys. If we test for presence of this function on the server object passed into stoppable, and only do one of the event listens onConnection, this solves the problem.
Let me know if this sounds like a suitable hook in the system. It feels a little hacky but the API for the TLS server object is way stable. I think we can depend on it. If all sounds good I will get a pull request together.


Refactored Functions’s Result Handling

Replaced the processedResponseData(from:error:) method with separate methods for handling data and errors, to better suit the async / await function-calling method (which returns either data or error but not both)

Technically independent but semantically related is this pull request which makes all supported platforms use the async / await method. The code paths for older versions still work, but once they’re no longer needed, the current PR makes it easier to just remove them, without the need for further refactoring.


App Services: Required openid scope not added to OpenId Authentication Request (OpenId Connect Authentication Provider)

App Services: The OpenId Connect Provider does not add the required openid scope (per specification https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest).
In the following assembly
// Microsoft.Azure.AppService.Middleware.Modules.dll
// Microsoft.Azure.AppService.Middleware.Modules, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Class "Microsoft.Azure.AppService.Middleware.OpenIdConnectProvider"
Method "protected override Task GetLoginRedirectUrlAsync"
// Code extract
if (OpenIdConnectConfig.Login.Scopes != null && OpenIdConnectConfig.Login.Scopes!.Length != 0)
{
dictionary["scope"] = string.Join(" ", OpenIdConnectConfig.Login.Scopes);
}
// End code extract
As seen above no "openid" scope is added in code. The OpenIdConnectConfig.Login.Scopes are added.
Looking at the Environment Variable "WEBSITE_AUTH_V2_CONFIG_JSON" on the App Service (set by configuring authentication in Azure Portal UI) has (part of the json value):
// Extract of JSON
"identityProviders": {
"customOpenIdConnectProviders": {
"TIH": {
"registration": {
"clientId": "8761158199475293316",
"clientCredential": { "clientSecretSettingName": "TIHGGDClientSecret" },
"openIdConnectConfiguration": { "wellKnownOpenIdConfiguration": "https://www.theidentityhub.com/azureadggdpoc/App/8761158199475293316/.well-known/openid-configuration" }
}
}
}
// End extract of JSON
No scopes have been defined in the json. We can not modify the json configuration.
All of this means that the openid scope is not passed when making the OpenId Authentication Request. In the end no id_token is returned to the App Service Microsoft.Azure.AppService.Middleware.Modules middleware and the authentication fails.

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

ID: ffd28ed3-76d0-f9d0-dbff-f29db6fe8b3d
Version Independent ID: b0ca2e70-d558-d562-2a66-0d07fef5ef6a
Content: Configure an OpenID Connect provider (Preview) - Azure App Service
Content Source: articles/app-service/configure-authentication-provider-openid-connect.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

@TheIdentityHub
Thanks for the feedback! We are currently investigating and will update you shortly.

@TheIdentityHub We would like to work closer with you on this matter as we have not been able to reproduce the scenario.
Can you please email us at<EMAIL_ADDRESS>with the subject as ATTN: Bryan and in the body of the email include your Azure subscription ID?
We look forward to your reply. Since we are taking the discussion offline with you, we will close this thread.


pet feeder inland model

I have this model(mmgg.feeder.inland) of the pet feeder.
I can do this control: pet_feeder.pet_food_out
but no other information from sensor, like feed total or food status
How do I integrate the other functionalities?

'pet_food_left_level'
'feed_today'

Show me the entity attributes.

Run this service as a script to put foods.
service: xiaomi_miot.call_action
data:
  entity_id: sensor.mmgg_inland_xxxx_pet_feeder
  siid: 2
  aiid: 1
  params:
    - 1 # feeding-measure


Generating HTML file fails

Environment info

BlockMap version: 1.6.1
Java version:

openjdk 13.0.2 2020-01-14
OpenJDK Runtime Environment (build 13.0.2+8)
OpenJDK 64-Bit Server VM (build 13.0.2+8, mixed mode, sharing)

Operating system:

~ $ uname -a
Linux pecet 5.4.0-4-amd64 #1 SMP Debian 5.4.19-1 (2020-02-13) x86_64 GNU/Linux
~ $ cat /etc/debian_version
bullseye/sid

Description
I can't get the HTML map to generate propertly, it fails with an error.
Steps to reproduce
jdk-13.0.2/bin/java -jar Pobrane/BlockMap-cli-1.6.1.jar -v render -l --create-tile-html -d OVERWORLD -o a Minecraft/Zapisy/Lody

Actual result
~ $ cat a/tiles.html
<html><head>
<link rel="stylesheet" type="text/css" href="tiles.css"/>
</head><body>
<div style="height: 18944px">%
~ $

Expected result:
Working map in HTML file.
Debug log
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.gson.internal.reflect.UnsafeReflectionAccessor (file:/home/grzesiek11/Pobrane/BlockMap-cli-1.6.1.jar) to field java.util.Optional.value
WARNING: Please consider reporting this to the maintainers of com.google.gson.internal.reflect.UnsafeReflectionAccessor
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
20-03-10 16:21:57 INFO  PostProcessing [34] - Writing HTML tiles...
java.lang.NullPointerException
        at de.piegames.blockmap.world.RegionFolder$LocalRegionFolder.getPath(RegionFolder.java:315)
        at de.piegames.blockmap.standalone.PostProcessing.createTileHtml(PostProcessing.java:73)
        at de.piegames.blockmap.standalone.CommandLineMain$CommandRender.run(CommandLineMain.java:202)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1729)
        at picocli.CommandLine.access$900(CommandLine.java:145)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2101)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2068)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1935)
        at picocli.CommandLine.execute(CommandLine.java:1864)
        at de.piegames.blockmap.standalone.CommandLineMain.main(CommandLineMain.java:210)

Thanks for reporting. There was a bug when rendering non-rectangular worlds. Please try out the latest master, I'll do a release if you confirm that this resolves the issue for you.

Yeah, it works when compiled from master.


add homepage, bugs and repo fields to package.json

useful for contributors

We can backport bugs fixes there. Do we have a place where it will be shown? We do not publish this package to npm.

If a developer/contributor has the repo cloned then it's an easy way for them to get to GitHub issues. I often find it helpful when that is added. Not a big deal though....


⚠ Bofrost.be has degraded performance

In 9576269, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1633 ms

Resolved: Bofrost.be performance has improved in 1e8a1ed.


Set Up for Horizontal Scaling

This is doable after the rebuild, the database needs to know about the instance names for the presence system to work.

Not needed yet, focus on 1 instance first

Not needed yet, focus on 1 instance first


Error in endTime calculating

Hello! I'm using your widget CategoryCalendarDayView. I found 1 issue, that makes my life harder. In getTimeList method you do not take into account the information about timeEnd/start minutes, and carry out all calculations only with hours. It doesn't make sense. If im trying to make timeEnd = 13:15 => last row to draw will be 13:00 - timeGap (if gap = 15, last row to draw will be 12:45, if gap = 1, last row to draw will be 12:59 and etc.). I hope these note will help you to solve this problem. Thank you for your reply.
List getTimeList({
required TimeOfDay startOfDay,
TimeOfDay? endOfDay,
required int timeGap,
}) {
final timeEnd = endOfDay ?? const TimeOfDay(hour: 23, minute: 0);
final timeCount = !!!(PROBLEM IS HERE)!!!=> ((timeEnd.hour - startOfDay.hour) * 60) ~/ timeGap;
DateTime first = DateTime.parse(
"2012-02-27T${startOfDay.hour.toString().padLeft(2, '0')}:00");
List list = [];
for (var i = 1; i <= timeCount; i++) {
list.add(TimeOfDay.fromDateTime(first));
first = first.add(Duration(minutes: timeGap));
}
return list;
}

@KazantsevLev Hi, I'm sorry for the late response. I didn't got notify of this.
what version are you using?  could you try 3.0.0-dev.1

closed as inactive


Disable new account registrations

Remove the JOIN WORBLI button from the top menu
Remove the JOIN WORBLI link from the login page
disable the new account registration API call (backend)

Completed and moved to master branch for portal front end and backend


how to use cordova-res programmable way into Ionic Project

how to use cordova-res programmable way into Ionic Project.
Currently i have implemented the flow like
Step 1 : Introduced Configuration File

Step 2 : Introduced Hook

Step 3: Running App
Output
Error Occurs and Build Failed

well, knowing the error that you get would help, but from what you have shared I see the file is located at [project]/resource-builder.js while your Cordova hook config is looking for it at [project]/src/resource-builder.js..
either way, since this isn't "application source code", in my opinion you shouldn't put it in the src folder anyway. I'd recommend you keep things like this in a dedicated scripts folder in the project root, easy to access from the CLI or any of your config files.

Closing as we're moving away from Cordova support in this project with 1.0. The current README has info on using this programatically


Use of a persistant SSH connection

Hey ;)
Would it be possible to use a persistent SSH connection?
On a single deployment the bundel is using 22 ssh sessions.
Greetings,
Florian

I'm getting ssh_dispatch_run_fatal: Connection to *** port 22: Operation timed out all the time. Several requests after 'release' directory gets created. What to do

In my case on the server, I had ssh connection rate limiting, which caused connect to *** port 22: Connection Refused.
So to reuse existing SSH connections I added this to my local ~/.ssh/config file:
Host name-of-my-server
    ControlPath ~/.ssh/sockets/%r@%h:%p
    ControlMaster auto
    ControlPersist 10

Make sure to create the ~/.ssh/socket directory.


how we should start mpv ?

https://github.com/mpv-player/mpv/issues/9150#issuecomment-2423602231

mpv --force-window --idle ?

mpvDLNA should work with mpv any way you want start it as long as you have installed the plugin correctly. I think the standard way is to use either mpv --force-window --idle if you don't want to open specific file or mpv /path/to/file if you do.
If you prefer a gui based program instead of a command line program I personally use mpv.net since I find it more convenient.

TBH I think instruction to start mpv with mpv --force-window --idle should be in Readme.md


In generated code in merge_from switch by tag, not by field number

Currently for proto
repeated int32 x = 1;

parser code like this is generated:
let (field_number, wire_type) = is.read_tag_unpack()?;
match field_number {
    1 => {
        match wire_type {
            varint => read one varint
            length-delimited => read as length delimited
        }
    }
    ...
}

Google java protobuf generates code using switch by tag:
let tag = is.read_tag();
match tag {
    8 => read one varint
    10 => read as length delimited
    ...
}

Version which does switch by tag should be a bit faster.
Note, currently rust-protobuf returns error if message of wrong wire type appeared in stream (e. g. when length-delimited is expected for message while stream contains fixed64), while Google protobuf stores wrong wire type message parts in unknown fields.
Thus this change will be backward incompatible, but result will closer to Google's impl.

Done in v3.


Add timelock example

What problem does your feature solve?
Access to time and ledger sequence were added in https://github.com/stellar/rs-soroban-env/pull/330 and https://github.com/stellar/rs-soroban-sdk/pull/455 but we aren't exercising this functionality at all.
What would you like to see?
A simple timelock contract. One version of this would be analogous to a claimable balance with just one claimant and one time predicate, but I'm open to other ideas.
What alternatives are there?
N/A

Closed by https://github.com/stellar/soroban-examples/pull/101


Big Task: Create pub/sub event bus for Services

This should allow services to publish messages to other services.
Thinking of a ThreadLocal facade that allows registration of a service queue with the event manager.
Then the event manager can publish to running queues of services.
Then services can be notified of events by implementing queueEvent(Object object) for an untyped passage.
Later we can annotate methods:
@Listen("employee.hired")
void employeeHiredHandler(Employee employee) {

}

Or if they want to manually register....
Inside of service code

private void queueInit() {
     eventManager().register("employee.hired", "employeeHiredHandler")
}

void employeeHiredHandler(Employee employee) {

}

The service just takes MethodCall and Event objects and does the right thing with them.
They both go over the Service receive queue.
The EventManager is a simple routine. It has a map of event names to list of requestQueues for services.
A send is a mere matter of getting an event and propagating it to every service queue that is subscribed.
An event can be a single object or a list/array of objects, and the marshaling works similar to how marshaling already works.

This will also be a good integration point with other platforms who want to publish into QBit services from other buses. This is where you would integrate a RabbitMQ or Kafka bus.

The earlier version of Boon had this sort of event bus. It becomes somewhat essential.


Feature Request: Change file creation time and not only modified time

Creation time isn't recorded on all platforms/filesystems.
Even on supported platforms/filesystems, changing it currently requires hacky workarounds such as changing the system time.
I would instead recommend using a simple script in exec that applies the mtime to the creation time after FixupMtime has run.
On Windows, you can do this trivially with PowerShell:
Set-CreationTime.ps1:
param (
    [string]$filePath
)

if (-not (Test-Path -LiteralPath $filePath)) {
    Write-Error "File not found: $filePath"
    exit 1
}

Get-Item -LiteralPath $filePath | ForEach-Object { $_.CreationTime = $_.LastWriteTime }

yt-dlp --exec "powershell -File `"path/to/Set-CreationTime.ps1`" {}" -- <URL>

(the above command works when yt-dlp is invoked via PowerShell, you might need to experiment with the quoting if yt-dlp is invoked via cmd.exe)
If an official/non-hacky way of modifying creation time is added to Python in the future, I'll reconsider, but for now I don't feel like implementing this.


TS-developed changes

Added context-sensitive menus to the file explorer inside VSC to scan the currently selected file or folder, or scan the entire workspace.  Renamed the original commands "Scan Any File" and "Scan Any Folder".
Added .vscode and node_modules to the default exclusions list
Added an unpublished setting, cx.quiet.  If added (manually) to the settings.json, it stops most informational popups, like progress reports while scan is running, since you can see them (and more!) in the Checkmarx output window.  It is not enabled by default, so if you don't add the settings you will see the same behavior as before.
Made a few minor changes, like switching yes/no questions to a pick list.

Thanks for your PR.
Most changes were applied with some more changes.
Therefore, PR will be closed without being merged.


Link to Dashboard at top of Livepeer.com/docs

What does this pull request do? Explain your changes. (required)

Specific updates (required)

Link to Dashboard at top of Livepeer.com/docs

Does this pull request close any open issues?

Fixes #731

Screenshots (optional):

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

@adamsoffer  good idea, but it is not good the button position on the mobile view like this:

I'm +1 to dropping the styling to improve the mobile view


Fix token name for publishing GH packages

Why:
The name of the token seems wrong as the original key results always in error saying it cannot find a token inside the workflow. This example is not reproducible.
Discussed here
What's being changed (if available, include any code snippets, screenshots, or gifs):
Changing the NODE_AUTH_TOKEN to NPM_AUTH_TOKEN logs in the workflow successfully.
Check off the following:

[x] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@ValentinnDimitroff Thanks so much for opening a PR! I'll get this triaged for review :zap:

Thanks again for opening a PR! I've spoken with the team and can confirm that NODE_AUTH_TOKEN is what's used in actions/setup-node and will be closing this PR.
Check out Publish to npmjs and GPR with npm for more information.
Thank you for your interest in improving GitHub Docs! :sparkling_heart:


Start live stream at preferred Resolution/Variant.

Have you read the Tutorials?
yes
Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
3.2.1
Please ask your question
I am working on the two following tasks mentioned below.

Manage player resolution up to 720p on startup for the live stream
Answer: Is doable by ABR configuration from restrictions by setting maxBandwidth

start the live stream at 144p then upscale (if the bandwidth permits it) up to 720p maximum.
Is there any way to start the live stream at the lowest variant? by using config or manually doing it after the player is loaded?

My questions:

Is there any way to start the live stream at the lowest variant? by using config or manually doing it after the player is loaded?
is there any way to detect the device max supported bandwidth from shaka-player?
can we auto upscale it using ABR up to the supportable bandwidth of the client?

Can you give me a perfect explanation of what these properties do?
bandwidthDowngradeTarget: 0.85,
bandwidthUpgradeTarget: 0.15,
switchInterval: 5

Thanks

Is there any way to start the live stream at the lowest variant? by using config or manually doing it after the player is loaded?

You can configure abr.defaultBandwidthEstimate to give shaka a starting point for its bandwidth estimate. If you set it sufficiently low it should cause shaka to start at the lowest bandwidth.

is there any way to detect the device max supported bandwidth from shaka-player?
Not that I'm aware. Shaka builds an internal bandwidth estimate for a playback session, which it uses to upgrade or downgrade tracks according to the sensitivity configured in the abr configuration. You can also override the AbrManager yourself for complete control of variant track selection.

Can you give me a perfect explanation of what these properties do?

https://shaka-player-demo.appspot.com/docs/api/shaka.extern.html#.AbrConfiguration

@hiren3897 With the previous comment have all your doubts been resolved?

Hello, yes it answers my question :) thanks


GetCRLNumber() throws System.NullReferenceException

When the imported CRL does not have extensions (e.g. the one of Verisign (http://CSC3-2004-crl.verisign.com/CSC3-2004.crl)) the method throws a System.NullReferenceException rather than return zero (as defined in the documentation).
I guess it is caused because the following line fails (since Extension is null):
X509Extension e = Extensions[X509CertExtensions.X509CRLNumber];

Haven't heard from OP for a week. Closing.


tests: Fix breadcrumb ordering tests

These tests were failing for me locally as the timestamps were without tzinfo and all were assumed UTC whereas my local timezone is BST at the moment. This patch fixes them by forcing things to have the UTC timezone.

Thanks @BYK for the PR. (we had a pr for that: https://github.com/getsentry/sentry-python/pull/3537) but yours is nicer, so I will close the other one. :-)

@antonpirker ah, sorry 😅 was working on another patch and these failed. Didn't think of looking for an existing PR.

One of the test_datetime_from_isoformat cases fails on a non-UTC system. Opening issue


Build kubevirt.yaml

Add and build kubevirt.yaml
This patch introduces a patch to build a manifest file for the current git tree.
This is especially helpful if we are at a tag. In that case the manifest will create
a manifest which is refencing the tags which are also used for the containers.
Thus these manifests can then be used to deploy this given release on a cluster.
This patch includes a make target to run the functests against the deployment
based on kubevirt.yaml.
This patch depends on #560.
Flow:
$ make kubevirt.yaml
$ minikube start ...
$ kubectl create -f kubevirt.yaml

and for tagged releases.
$ kubectl create -f https://github.com/kubevirt/kubevirt/releases/download/v0.0.4/kubevirt.yaml

Okay, I need to rebase this onto #560 and build manifests for the change after 7663a98.

@rmohr This patch will compile a kubevirt.yaml. This file can then be published alongside the bnary in the releases link of the project.
Others can then use this reference manifest to use it in their setup.
I.e. I then plan to pull this manifest into the demo - where I'll also add tests to make sure that new manifests work.

retest this please

retest this please

at the moment, does our release process involve pushing release tagged containers to the registry?

Yes, for convenience and reproducability we push tagged containers, see:
https://github.com/kubevirt/kubevirt/blame/master/docs/release.md#L24
and
https://hub.docker.com/r/kubevirt/virt-handler/tags/
With this patch we'd have all the pieces to do a basic reference deployment
of kubevirt.
At least the cluster internal pieces would be setup correctly.
(There are still some bugs to enable all features with this reference
deployment, but this is an important step)

Ping?

I updated the patch to include a make target to run the functional tests against the kubevirt.yaml deployment.
After all it will be just like the regular deployment, as it contains the very same component definitions.
The idea is to build and run the kubevirt.yaml for release, also only in that case the functests will be run against this definition.

The current patch is exclusively focused on providing the kubveirt yaml for releases.
This is an important gap to close in order to make it more useful.
The best start here to catch regressions is to use the functioanl tests.
On the demo side I will add tests to ensure that - once the demo is getting udpated - we also have functional tests on that side.
In future we can see how we add a real test matrix to run the tests against ocp, minikube, …

Thanks for the review @davidvossel .
Yes, the demo pods. I'd favor if we keep it in this step, but on the mid run we can see that we further improve the situation, just to name a few things

Factor out testing stuff
Factor out demo stuff
Reference service creation template

working on adding ci support for it.

Closing this in favor of #602


Text Size oddity

all font is of size 24

this only happens with raylib's default font, not with any custom added font
ex:
commiting out
            FontManager.RegisterFont("cas", "CascadiaMono.ttf");
            FontManager.SetDefFont("cas");
            ```
in the normal testing program makes the checkbox text smol. could be something with text?

So Raylib's default font is of size 10. when using the default font, text uses the font's base size

Text now uses an internal font size like label


chore: add eventual consistency test

Compare to https://github.com/momentohq/client-sdk-javascript/blob/main/packages/common-integration-tests/src/cache/replica-reads.ts


Make code readable / efficient.

Found a TODO comment on line 315 of file crates/nu-term-grid/src/grid.rs

I think this has been fixed, let's close it.


Automated cherry pick of #11563: feat(host): aware of kubelet eviction config

Cherry pick of #11563 on release/3.6.
#11563: feat(host): aware of kubelet eviction config

/lgtm

/approve


wgpu: add vec3 padding in quad.vert; fixes #511

This adds a vec4 in place of single float in quad uniforms to avoid metal validation errors.

@hecrj forgot to make PR, can review please?

@hecrj ping

Hey, thanks!
What is exactly the cause of this issue? Could it be a bug in wgpu?

Wgpu should catch yes, but issue is (i think) the uniform is not correctly aligned / padded according to metal layout requirements. It could perhaps be shaderc bug, which doesn't add the necessary padding at end of the uniform, I'm not sure?

I see. I believe that, before merging, we need to identify the root cause of the issue and whether it is up to us to fix it.
The proposed fix here affects all of our wgpu backends, not only Metal.

Is this issue still present after #725? If it is, does wgpu provide any more hints about what is going on?
I am closing this, but feel free to reopen it if you find out the actual cause.


Add support for plugin-provided Mixins

Fixes #249.
With these changes plugins can define Mixin configs in their manifest which will be loaded and applied by SpongeVanilla under the condition that the TweakClass in the manifest is set to the Mixin tweaker - even though the tweaker is never actually applied on SpongeVanilla.
Loading any kinds of tweakers can be still added later on since that requires more complex changes and is not as safe as simply applying some Mixins. (Since the transformers can basically do anything and therefore break things much easier if not done properly.)
Test plugin: https://github.com/Minecrell/pluginmixintest
Download: https://github.com/Minecrell/pluginmixintest/releases

Added test plugin which shows how a plugin-mixin project could be set up.


[WIP] Optimize indexing fee recharge.

[x] Support indexing fee recharge.
[x] Validate resource token amount validation during side chain chain creation request.
[x] Add Referendum to native token and primary token white list.

:white_check_mark: Build AElf <IP_ADDRESS>00 completed (commit https://github.com/AElfProject/AElf/commit/2fb0fa9261 by @EricBlack)

:white_check_mark: Build AElf <IP_ADDRESS>02 completed (commit https://github.com/AElfProject/AElf/commit/817258e1f3 by @shiwk)


Multiple Keyboard Remappings

Description of the new feature / enhancement
Make it possible to have a Layout selection.
Scenario when this would be used?
When you are programming or writing or gaming. you can imagine people to want different layouts for all of those but you can only make one keyborad remapping at the moment. Make it possible to add multiple and switch between them
Supporting information
No response

+1.
More ever, if I have two keyboards (e.g., my laptop keyboard and an external keyboard) I want to remap only missing keys on my laptop (media controls) but not on my external keyboard.

@MaxBrandner I believe this is where layers come into effect.
On keyboards that have QMK, you can set up a layer for regular typing and one for gaming or as many as you would like.
Referring to @matipojo comment, I believe that something like per keyboard settings would address this.
For example on MacOS you can set it so that only the laptop Apple keyboard switches cmd with ctrl, but any other keyboard would ignore that setting.

In a perfect world, this would be done via https://github.com/microsoft/PowerToys/issues/1460 but until we have a proper way to detect keys based on keyboard, /dup https://github.com/microsoft/PowerToys/issues/1881 would be how we'd do this. You'd create some type of profile.


GetEntry fixes, key ordering, path manipulation fixes

This PR addresses a few issues regarding schema loading:

Entry lookups where cases do not have the name of the child
Improved/Refactored module lookups for GetEntry
getentry fixes in case a prefix is a part of the path
buildpath fixes for choicecases
path resolution fixed for some paths where a choicecase would erroneously be part of the path

==============================================================================
02-Crud                                                               | PASS |
117 tests, 117 passed, 0 failed
==============================================================================


Can I clone an element?

Using React I can do this:
const SuperPuperWrapper = ({ children }) => {
  return React.cloneElement(children, {
    someProp: 42
  })
}

Sometimes this feature helps. But I don't see how I can do this in SolidJS

What exactly are you trying to achieve? This works differently in Solid cause there are no V-DOM elements, when you do const par =
hello
 for example, par will contain an actual DOM element.


Wrong sentence in Japanese page

There are (*) both below 9.8 and 9.8 + in Japanese page.
9.8 より前の ASA 用 ASA () RouteBased (IKEv2- No BGP)
9.8 以降の ASA 用 ASA () RouteBased (IKEv2- No BGP)
I predict "9.8 +" is wrong, so could you revise this document for Japanse ?

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

ID: 779fbece-f67b-28ef-143e-f58ecfa29b1d
Version Independent ID: fe532684-022f-9006-9179-c534fd923171
Content: About VPN devices for cross-premises Azure connections
Content Source: articles/vpn-gateway/vpn-gateway-about-vpn-devices.md
Service: vpn-gateway
GitHub Login: @yushwang
Microsoft Alias: yushwang

@hisasima Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

#please-close

@hisasima We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


[2773] Stop pre-populating the ITT start date with the course start date

Context
https://trello.com/c/0OT3KsCK/2733-bug-itt-start-date-pre-population
Changes proposed in this pull request

Stop saving the publish course start date as the trainee's start date for pg_teaching_apprenticeship trainees before asking them the ITT start date question

Guidance to review

Create a pgta trainee
Select a publish course
Click continue until you get to the ITT start date form
Check that it's not pre-populated with the publish course start date

 Bug - ITT start date pre-population

That's working, nice one!


Added auto-install powershell script for Windows users

I added a script that automatically downloads the zipped folder straight from the main branch, unzips it and then applies the changes to spicetify. It also checks if spicetify is installed or not.
Note: This only supports windows, it would probably be a good idea if there were a linux version of this too
Feel free to change anything unnecessary in here. This was edited from https://github.com/JulienMaille/dribbblish-dynamic-theme/blob/main/install.ps1
Love this project so far, I just thought it'd be nice to add an auto install script 👌

Thanks for this! I don't know anything about PowerShell (only use Windows for gaming), so won't be able to help if anyone needs support or has any issues with the script. We can add it though, if you've tested it and it's all good?

There seems to be issues with this, I got a bunch of my friends to test it. I'm going to work on it and also change things based on your suggestions. I'll update it soon

I've made too many mistakes doing this, I am going to close the pull request and make another one when I'm done lol


Updated expose port for HTTP

@KeeBac Added port 80 for HTTP

@KeeBac Raised PR from forked branch now


Make EditWord dialog movable

The modal dialog edit-word obscures the puzzle.

Not exactly movable, but I changed it to absolute positioning and moved it more to the right.


Misalignment in opened/imported structure while opening a KET file

Steps to Reproduce

Launch Ketcher v2.5.0 standalone
Create a reaction using elements in the RHS vertical tool bar
For instance create using this sequence of events: Click on H and add to screen > Click on +> Click on O> Click and add reaction arrow> Click and add H
Save this reaction in KET format with .ket extension
Next, Click on Open in menu bar to import this saved .ket file
On importing this recently saved .ket file there is a misalignment in the imported structure which can be observed.

PFA KET file which was imported:
ketcher bug import file.txt
Expected behavior
The opened/ imported .ket file must be imported in the arrangement it was saved i.e. there must not be any misalignments in the imported structure.
Actual behavior
The reaction is made using elements in RHS vertical toolbar. Opening/ importing this reaction after saving it in KET format leads to misalignment of imported reaction.
Screenshots

Desktop

OS: Windows 10
Browser Google Chrome
Version Version 104.0.5112.102 (Official Build) (64-bit)

Version: Ketcher  v2.5.0
Additional context
The issue is not experienced when the chemical reaction is accompanied by organic reaction components.

Hi! Error in response (please, see the attach screens)


Workshop readme

Added a reference to the workshop that Tim and I used last week to facilitate a group of Java developers learning about Baker.

Codecov Report

Merging #445 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #445   +/-   ##
=======================================
  Coverage   79.91%   79.91%
=======================================
  Files         107      107
  Lines        3340     3340
  Branches       71       71
=======================================
  Hits         2669     2669
  Misses        671      671

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19cdc17...78a57ac. Read the comment docs.


Geometry offset attribute cleanup

Cleanup from #6607

Fix IE by passing the offsetAttribute through to the geometry instead of searching through the applyOffset per vertex to figure out if the geometry was  using GeometryOffsetAttribute.TOP
Fix bounding sphere when using GeometryOffsetAttribute.NONE
Fix bounding sphere when retrieving it from the geometry instance batch table
Fix crash if instance attribute was undefined

ie. attributes : { color : colorAttribute, offset : undefined } instead of attributes : {color : colorAttribute}

@bagnell can you take a look at this?

One sec, I fixed this for synchornous primitives but not asynchronous

@bagnell this is ready for a full review now.  Thanks!


Fix broken non-land Base Speed tooltip labels in creature documents

This label was missed when the actor base speed labels were refactored.
Noticed while doing some Familiar Sheet work 👀

It doesn't look like it even appears from PC sheets

Yeah it didnt seem to, but it does on Familiar sheets when they have the corresponding Abilities


[silx view] Make NXdata view richer: complex field, 3D view...

As it is now, if we try to put display a 2d image of complex, it is displayed as an image... how far can we go with nexus, and far do we want to go into having a rich interpretation of the NXdata?

Closed by #2450 #2455 #2456 and #2457


Text edit gui handling refactor

I've messed up before so I've started a new branch, basically what I'm doing here is refactoring the TextEdit gui handling so it can be more DRY and scalable.

Hmm, I didn't get the static check error(?)

Trailing whitespace.
You can use clang-format to fix that automatically.

I think that's it, for now atleast.
One thing I've noticed is that mouse motion don't follow the completion list, it also needs two clicks to work. Should this be considered a bug?
It's the same way on master so it's not about this PR.


API-WS: Abnormal Closure

After a playground tab has been open for a while, I start to see the following error in the browser console:
API-WS: disconnected from wss://tfchain.grid.tf/ws: 1006:: Abnormal Closure
apply @ index-e270ec15.js:97
error @ index-e270ec15.js:97
value @ index-e270ec15.js:110

This affects any playground tabs that I have open at the same time, so mainnet and testnet will both be affected, for example.
If I open a private window or restart my browser, the problem goes away.

Investigation and Solution:
The issue happens when the playground tab is left open for a while. Not sure if this is a network issue or something else. Still investigating.

Investigations:
The applied fix could make the ping function last longer but the issue remains. I tried to trace the issue but couldn't figure out the reason why it stops pinging.

I am still seeing this issue in 2.3.0 on the mainnet dashboard now. In this case today, I've tried loading my contracts view.
Here's a log snippet:

The wheel just spins and spins:

It uses a full CPU core without mercy:

Today I have another occurrence. This time there's no huge CPU load, but a lot of log messages are being generated. It happened after waking my machine from sleep, so perhaps the interruption of connection to TF Chain at that time has something to do with it.

I think @AhmedHanafy725 resolved this issue, will pass it to the blocked till Hanafy return back from his vacation


Produce output file even if no dependency is found

I'd like to scan all projects, even those that don't have any dependency (yet). But when I scan some Maven project with no dependency, it does not produce any output XML file, which causes failure when processing it further.

To be clear, what you would like is an empty report to be generated?  That seems entirely reasonable and I'm a little surprised it doesn't do that already... I will take a closer look at the code and try to resolve this in the near future.

Yes, this is exactly what I'd like to get. The report would ideally include metadata about freshness of the database, like other reports do, but no dependencies.


Add logging to identify calls to IW tests in smoke

For #8599

Codecov Report

Merging #8602 (f79cf2a) into main (22b712a) will increase coverage by 0%.
The diff coverage is 100%.

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

@@          Coverage Diff          @@
##            main   #8602   +/-   ##
=====================================
  Coverage     71%     71%
=====================================
  Files        381     381
  Lines      24471   24472    +1
  Branches    3758    3758
=====================================
+ Hits       17470   17473    +3
+ Misses      5484    5481    -3
- Partials    1517    1518    +1

Impacted Files
Coverage Δ

.../datascience/notebook/notebookControllerManager.ts
79% <100%> (+<1%)
:arrow_up:

src/client/datascience/raw-kernel/rawSocket.ts
82% <0%> (-2%)
:arrow_down:

...rc/client/datascience/jupyter/debuggerVariables.ts
65% <0%> (+<1%)
:arrow_up:

src/client/logging/_global.ts
76% <0%> (+1%)
:arrow_up:

...ience/kernel-launcher/localKernelSpecFinderBase.ts
76% <0%> (+2%)
:arrow_up:


Very long time for send/receive mail via WiFi, no problem with mobile network

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
5.806
Where did you get the app from?
Google Play
Android version
11 RKQ1.200826.002
Device model
Xiaomi Poco X3 Pro
Steps to reproduce
pull down screen to receive mails or attempt to send mails
Expected behavior
Action executed within seconds
Actual behavior
Very long time or failure on WiFi. Normal behaviour on mobile network.
I tested same mail with Notebook connected to same WiFi - usual behaviour.
Router is only a few meters away.
Logs
k9_log.txt

The log doesn't contain any log messages from K-9 Mail. Did you check Settings → General settings → Debugging → Enable debug logging before checking for new messages?

k9.log
Sorry, picked wrong file.

By the way. I have the same issue on my old Huawei Phone.
It worked well for a long time. Maybe a recent fix causing that problem.

The issue is that the name of your incoming mail server resolves to both an IPv6 and an IPv4 address. But your mail service is only listening on IPv4, not IPv6. Currently K-9 Mail tries to sequentially connect to the addresses in the order they are returned from the OS (most are configured to prefer IPv6).
In your case K-9 Mail tries to connect to to the IPv6 address first. That connection attempt times out after 30 seconds. Then the app successfully connects to the IPv4 address. Unfortunately, that means it takes at least 30 seconds for a connection to be established.
The proper fix is for us to implement the "happy eyeballs" algorithm to connect to both IP addresses in parallel and use the connection that can be established first.
What you could do:

Configure the mail server to also listen on IPv6. If you're not hosting the server yourself, you'd have to ask your email provider for this. I don't think it's an unreasonable request. And it's something that needs to happen sooner or later anyway.
Expert/annoying option: use a host name that only resolves to the IPv4 address of your mail server. This will lead to a certificate error when changing settings in K-9 Mail, because the host name configured in the app doesn't match the hostname in the server's certificate. K-9 Mail allow users to manually accept those certificates. However, you'll have to repeat this step each time the server renews its certificate.

Duplicate of #1382

Correction: The configured mail server does listen on IPv6. It's probably an issue with your network, then.

Thanks for the fast reply.
But I didn't get it completely.
What ipv is missing 4 or 6 ?

The server belongs to me, of course I could also change the DNS-records,but everything else seems to work fine.

Thanks for the fast reply.
Yes I see the probleminthe log.
Must find a way to fix it :-(


Misc zealbooter updates

Reviewed and tested locally, installations successful on Linux host with Limine for UEFI or BIOS


fix(product-sync): stringify order hint values

[x] commit messages are commitizen-friendly
[x] code is unit tested
code is integration tested
public code is documented
[x] code is reviewed by at least one person
[x] code satisfies linter rules

👍


Update dependencies and make use of thread_local

This PR updates the js-sys and wasm-bindgen dependencies and uses thread_local to make it compile again.

@RReverser I'll give it a shot, I need the other dependencies up do date because of other crates.
BTW, while I was doing this, I noticed that Contributing.md still references a CLA, since this is no longer a google project, I think you probably dont need that around any longer?

Good catch, I'll remove that.


应用启动监听后一直打印日志

engine.go:434: [Error] HERTZ: Error=read tcp <IP_ADDRESS>:9957-><IP_ADDRESS>:38922: wsarecv: An existing connection was forcibly closed by the remote host., remoteAddr=<IP_ADDRESS>:38922
engine.go:434: [Error] HERTZ: Error=read tcp <IP_ADDRESS>:9957-><IP_ADDRESS>:51260: wsarecv: An existing connection was forcibly closed by the remote host., remoteAddr=<IP_ADDRESS>:51260

Please follow the issue template.

Please follow the issue template to give more info.

+1

The information is so small and not filled out as required by the template that there is no way to troubleshoot the problem


E2E with Google Login user and Various Documentations

Close #2
Co-authored-by: Nathan Foss<EMAIL_ADDRESS>

It's a masterpiece.


How do style the root wrapper div

Duplicate of #13; duplicate of #8; duplicate of #2.
https://brigade.engineering/don-t-pass-css-classes-between-components-e9f7ab192785 is a good read.

Yes I know the article, I get the reasoning, I don't understand how I style that div though. I can use a ref and imperatively change it, but basically the issue I am running into is that I need a height 100% on that div and I dont see a good way to target it with css or make that happen.

<div id="root">
  <OutsideClickHandler {...props} />
</div>

#root, #root > div {
  height: 100%;
}

?

thanks!

#root, #root > div is totally unperformant.
Remember that CSS is always evaluated from right to left. Paiting in the browser is going to be slow with no sense.
Using tagNames at the end of a CSS rule, is one of the worst CSS practices


Fixes key handling in NetDriver (for WSL anyway)

This is all NetDriver under WSL:

[x] A...Z and a...z work
[x] D0..D9 shifted/unshifted work
[x] "." / ","
[x] "?"/"/"
[x] Cursor Keys
[x] Accents (``` + a = à) (shifted and not)
[x] "Tab"
[x] "Shift+Tab"
[x] F keys

AltGr (US Intl keyboard):

[x] "AltGr+a" -> [ConsoleKeyInfo(Key: Null (None), KeyChar: á (225))]
[x] "AltGr+b" -> WORKS! (was  [ConsoleKeyInfo(Key: 223 (Oem8) | Alt, KeyChar: ß (223))] once)
[x] "AltGr+d" -> [ConsoleKeyInfo(Key: Null (None), KeyChar: ð (240))]
[x] ... all rest including shifted work

Alt:

[x] "Alt-alpha" (unshifted and shifted) all work
[x] "Alt-numbers" (unshifted) all work
[ ] "Alt+Shift+numbers" (unshifted) [ConsoleKeyInfo(Key: Null (None), KeyChar: ! (33))]
[ ] "Alt-." -> (OemPeriod) | Alt, KeyChar: . (46))]
[x] "Alt-Fn"
[x] "Alt-Shift-Fn"

Ctrl:

[ ] "Ctrl+1" (sometimes works)
[x] "Ctrl+2"
[ ] "Ctrl+3" -> "Esc" ('[ConsoleKeyInfo(Key: Esc (Escape), KeyChar: ␛ (27))]')
[x] "Ctrl+4"
[x] "Ctrl+5"
[x] "Ctrl+6"
[x] "Ctrl+7"
[ ] "Ctrl+8" -> "Backspace" ('[ConsoleKeyInfo(Key: Backspace (Backspace), KeyChar: ⑿ (127))]')
[ ] "Ctrl+9" gives "9" ([ConsoleKeyInfo(Key: D9 (D9), KeyChar: 9 (57))])
[ ] "Ctrl+0" gives "Ctrl+P" (ConsoleKeyInfo(Key: P (P) | Control, KeyChar: ␐ (16))])
[ ] "Ctrl+Shift+`" -> "Ctrl+2"
[ ] "Ctrl-Tab" -> [ConsoleKeyInfo(Key: Tab (Tab), KeyChar: ␉ (9))]
[x] "Ctrl+Fn"
[x] "Ctrl+Shfit+Fn"
[ ] "Ctrl+=" (OemPlus) -> [ConsoleKeyInfo(Key: D5 (D5) | Control, KeyChar: ␀ (0))]
...

@BDisp I have this working pretty well under WSL now. good enuf for now (and better than v2_develop and even develop).
Please merge this into your PR and then I'll merge your PR in v2_develop.  We can then work on the VK_PACKET stuff at our leisure. Ok?


Horrendously laggy and many errors after updating to macOS Ventura

Now on Ventura, when clicking and dragging to select text, the console is filled with the following error:
[Sandbox] Could not enable Mach bootstrap, errno = 1.

And when typing, this error:
=== AttributeGraph: cycle detected through attribute xxxxxxx ===

I think it's a me problem, sorry :)