Added KphpNotSupportFunctionsInspection inspection

Info
Since KPHP does not support some functions, it would be nice to report this to the IDE
This place is in the KPHP code: link
Example

Images

Interesting, you can also add a quick fix.

Interesting, you can also add a quick fix.

1. Select function

2. Show Context Action

3. Selecting a replacement function

4. Replace function

@Danil42Russia, cool, I like it!
Let's wait what Sasha says about this.

It seems strange to me that the suggestion to replace with array_first_key comes first, since reset returns the value of the first element, not the key.

<?php # functions.php

namespace MyFunctions;

function reset() {}

<?php # script.php

$a = [];

echo MyFunctions\reset();

I think it's better to compare function names with fqn to avoid this.

It seems strange to me that the suggestion to replace with array_first_key comes first, since reset returns the value of the first element, not the key.

Plugin Code

IDE Context Action

Apparently the IDE sorts them alphabetically...

Apparently the IDE sorts them alphabetically...

Yep, it's unclear if this can be fixed. In general, you can probably leave the current version, but maybe you can find a better solution.

Apparently the IDE sorts them alphabetically...

Yep, and it's unclear if this can be fixed. In general, you can probably leave the current version, but maybe you can find a better solution.

I can "support" with a crutch

Apparently the IDE sorts them alphabetically...

Yep, and it's unclear if this can be fixed. In general, you can probably leave the current version, but maybe you can find a better solution.

I can "support" with a crutch

Perhaps you can do it this way, because array_first_value is a more correct replacement for reset, and array_first_key is an additional replacement.

Apparently the IDE sorts them alphabetically...

Yep, and it's unclear if this can be fixed. In general, you can probably leave the current version, but maybe you can find a better solution.

I can "support" with a crutch

Perhaps you can do it this way, because array_first_value is a more correct replacement for reset, and array_first_key is an additional replacement option.

That's what I did :)

That's what I did :)

By the way, it would be nice to add tests for quick fixes as well.

@i582, can add an extension function to check for "global functions"?
fun FunctionReference.isGlobalFunction(): Boolean {
    if (this.immediateNamespaceName != "" && this.immediateNamespaceName != "\\")
        return false

    if ((this.reference as PhpReference).resolveLocal().isNotEmpty())
        return false

    return true
}

@i582, can add an extension function to check for "global functions"?
fun FunctionReference.isGlobalFunction(): Boolean {
    if (this.immediateNamespaceName != "" && this.immediateNamespaceName != "\\")
        return false

    if ((this.reference as PhpReference).resolveLocal().isNotEmpty())
        return false

    return true
}

Well, or in the extension properties :)

@Danil42Russia, I'm not sure if this is necessary, since you're not going to reuse this code somewhere else, I think it would be enough to move it to a private method of object : PhpElementVisitor to make the code more self-documenting.

Found a funny bug:
Here is the error:
<?php

$a = [];

echo reset($a);

But here it is no more:
<?php

use function \reset;

$a = [];

echo reset($a);

Also code like this doesn't give errors either:
<?php

use function \reset as reset2;

$a = [];

echo reset2($a);

And it looks a little strange:

Fixed the bug that when replacing the function, the plugin did not delete the namespace
Before replacement
<?php

$a = [];

echo \end($a); // warning 'KPHP does not support'

Before fixing the bug
<?php

$a = [];

echo \array_last_value($a); // not warning

After fixing the bug
<?php

$a = [];

echo array_last_value($a); // not warning


Preventing navigation header opacity change

I have Sticky UI component that sticks under navigation header nicely, I just don't want the opacity of navigation header to change when its collapsing or expanding.

Would be really useful

fixed by #183
v5.10.0 is published.


Updated UI, Person Cards not completed

Updated colors for command input, result display, menu bar.
Current view:

To be completed:

personcards ui - colors, arrangment of fields
change tag colors
fix logo size

Codecov Report

Merging #71 (20fb07e) into master (c02f4e1) will decrease coverage by 1.49%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #71      +/-   ##
============================================
- Coverage     71.32%   69.82%   -1.50%
- Complexity      488      503      +15
============================================
  Files            89       89
  Lines          1583     1690     +107
  Branches        157      174      +17
============================================
+ Hits           1129     1180      +51
- Misses          402      440      +38
- Partials         52       70      +18

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/ResultDisplay.java
0.00% <0.00%> (ø)

...in/java/seedu/address/logic/parser/ParserUtil.java
54.71% <0.00%> (-41.84%)
:arrow_down:

.../seedu/address/logic/parser/EditCommandParser.java
60.52% <0.00%> (-31.48%)
:arrow_down:

...java/seedu/address/logic/commands/EditCommand.java
90.51% <0.00%> (-6.41%)
:arrow_down:

.../seedu/address/model/person/GradeProgressList.java
72.41% <0.00%> (-5.85%)
:arrow_down:

.../java/seedu/address/model/person/HomeworkList.java
61.76% <0.00%> (-2.53%)
:arrow_down:

...ava/seedu/address/model/person/AttendanceList.java
56.66% <0.00%> (-1.67%)
:arrow_down:

...c/main/java/seedu/address/model/person/Person.java
82.81% <0.00%> (-1.57%)
:arrow_down:

.../java/seedu/address/model/util/SampleDataUtil.java
50.00% <0.00%> (ø)

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

darkened scroll bar color to match UI, changed person card color to match border
current look [1st box selected color]:

updated help window to match main window ui.
current look:

current help page:

FXML now includes label for grade progress, homework, assignment, attendance and lesson plan
Removed headers from fields with lists
Added header to lesson plan
Moved grade progress field to be below phone number


add warning to upgrade

Adding comments via a PR is not the way to register an enhancement request. Please see http://tomcat.apache.org/bugreport.html


I have been able to get docker and fast api set up and running, what are the next steps?

The readme files albeit informative leaves some details out for newbies, I want to know how to write a backend and a frontend using this API, do I have to replace any files or just update the already existing files,for  example whenever I load localhost/api it shows details not found, how do I change this to show my actual backed and the front end how do I get it to show what I want.

what do i do with the postgres server do i create a database, there are so many abstractions.

there 2 things you can do next:

Deploy this in real production check out this medium article.  or trying to deploy the smaller one for free check this one
Learn How Vue works for frontend and postgres server works

also what goals do you want to make this app?

Thank you for your response, I will learn Vue and Postgres server.
Although I want to learn fast API for skill purposes, I also want to currently use it to monitor data and changes in the data to sort of create an integrated data management/ monitoring system. Probably integrating another API with it as well.

Also, with the vue JS, do I have to input a new file with the code or modify already existing frontend files..

you can do both with Vue,js,
just keep in mind that vue js has higher entry barrier for beginner to learn but really easy to learn after that and scale up to very big production.

Just to be clear, what's the best way to go about developing this repo? Like what's a clear path to learning to improving and changing the customizable parts? I appreciate any feedback!

I think that the main point is to make the front-end interact with all the api's exposed in localhost:80/docs  by adding more views in
full-stack-fastapi-postgresql/frontend/src/router.ts
it would be nice to have an example to copy and paste for that kind of simple interaction with Vue


new alerts UI

New view that will show all the alerts based on ems_container providers.

@miq-bot add_label wip

depends on : https://github.com/ManageIQ/manageiq/pull/11049/files


Review MVR checklist

From https://gist.github.com/eigenhombre/204400c786f9dba3a8d3193d3ce1542a:

[x] LICENSE file
[x] Automated build via Docker and GitHub Actions
[x] Build badge
[x] Artwork
[x] Versioned
[x] Minimum snippet / example
[x] Link to API and/or help output
[ ] Project available in public package manager
[x] Track outstanding TODOs in Issues

Issue for inclusion submitted to Quicklisp: https://github.com/quicklisp/quicklisp-projects/issues/2183


Assigning to a list element fails with cryptic error

I'm cool with list values being immutable, but the error message to discover it is cryptic. Trying mylist[1] = 5 yields:

unsupported operand type(s) for +: 'list' and 'dict'

And it'd be awesomest if Skylark automatically turned mylist[i] = x into mylist = mylist[:i-1] + [x] + mylist[i+1:].

Laurent: can you say wether should we make the list mutable or fix the message? (there is no way to CC people so I assigned you, feel free to unassign it).

The implementation of lists is going to change (current solution is very hacky), and we'll allow mutation in cases where it is thread-safe.

lists are mutable and the error message is not cryptic anymore


Fix/pagination

Coverage remained the same at 95.71% when pulling 934317db40120fd1fb4a781d8e11c0589f18211f on isocolsky:fix/pagination into d9e9ad93318b1912fd845173fa01be6a39316dc2 on bitpay:master.


Enable bench unittests for CI performance testing

Refactor of SQLite initialization to make integration with unittests easier

Add bench step to GitHub "makecheck" workflow

Disable prevector bench test

Port nano test bench framework from BitcoinCore

@tawmaz Are conflict fixes needed? Or is the work still underway?

Looks like the copyright string is the only conflict.  I will fix this as soon as we get 0.20.18 out so as to not create any branch problems for the release.


Not exactly an issue.

This isn't an issue, more or less just a question on how I could do something.
MessageEmbed Var
let Pages = new MessageEmbed({
  title: 'Your created Tickets | Max Pages = 5 / 50 Tickets Max',
});

Function For my Loop
function menuContent(off) {
  if(!off){off = 0}
  con.query(`SELECT * FROM ticket_data WHERE User_ID = '${message.author.id}' LIMIT 10 OFFSET ${off}`, (err, rows) => {
    if (err) throw err;
    let status;

    for (i = 0; i < rows.length; i++) {
      if (rows[i].Approval_Status === 1) { status = "Approved" } else {  status = "\nNot Approved"}
      Pages.addField(`Ticket ${i+1} (${rows[i].Ticket_ID})`, `**Approved Status:** ${status}`, true);
    }
  });
}

My entire Sub command
I'm creating a list of pages from my database, but I have to loop through it before adding the field.
I've been trying to test how I could run the function based on the page you're on.
So page one, it lists 0-9 from my DB, Page two 10-19 and so on.
I haven't found a way to use it in the menu or a way to use it in the .on('pageChange')
Is it possible to run my function based on the page? so it showed like this Rather than this
Thanks for reading my "issue"

Sorry for the more of a time waster.
https://gyazo.com/ff33ef4c605af713301f04472eb7cde8
I just got it working. I moved the menu into the function, then called the function.
It works now


Fix display issues for IPv6 proxy setup in Options Dialog  (UI only, no functionality impact)

Currently, setting up a proxy (whether SOCKS5 or Tor) with an IPv6 address works correctly via the command line or configuration file in both bitcoind and bitcoin-qt (also from the UI the ipv6 address gets saved properly in settings.json). However, the UI does not reflect this properly, which can create confusion. Since some ISPs and VPNs still experience issues with IPv6, users may mistakenly think there is a problem with Bitcoin Core, when in fact the proxy setup is functioning as expected.
So this PR ensures that the proxy IP is displayed correctly in the UI when using an IPv6 address.
No functionality impact; changes only affect UI display.

Click her to see before and after screenshots.

Before:

After:

Test instructions
(Ubuntu 22.04)

Start ssh service on localhost.
ssh -D [::1]:1080 -f -C -q -N localhost

Check that the service is up and running.
ps aux | grep ssh
pepe    2860289  0.0  0.0  20456  5576 ?        Ss   06:59   0:00 ssh -D [::1]:1080 -f -C -q -N localhost

Check with bitcoind if it works correctly.
bitcoind -onlynet=ipv6 -proxy=[::1]:1080

Check for established connections.
netstat -natl |grep 1080
tcp6       0      0 ::1:1080                :::*                    LISTEN
tcp6       0      0 ::1:47610               ::1:1080                ESTABLISHED
tcp6       0      0 ::1:1080                ::1:47610               ESTABLISHED
tcp6       0      0 ::1:1080                ::1:47606               TIME_WAIT

[
   {
     "id": 0,
     "addr": "[2a01:4f9:4a:2a07::2]:8333",
     "addrbind": "[::1]:47638",
     "network": "ipv6",
...

Stop bitcoind and run bitcoin-qt adding the corresponding configuration in settings.json.
{
   "onlynet": "ipv6",
   "proxy": "[::1]:1080",
}

Open the Peers window to check available connections or run getpeerinfo on the rpc-console window.

Same can be done for Tor setting up tor service (I'll add instructions later) and configuring on its default port 9050 and forcing "onlynet": "onion" to verify easily the net traffic.

Thanks jarolrod and vasild for your help on validating ipv6 was not broken.

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews
See the guideline for information on the review process.
A summary of reviews will appear here.

🚧 At least one of the CI tasks failed.
Debug: https://github.com/bitcoin-core/gui/runs/30169388972
Hints
Make sure to run all tests locally, according to the documentation.
The failure may happen due to a number of reasons, for example:

Possibly due to a silent merge conflict (the changes in this pull request being
incompatible with the current code in the target branch). If so, make sure to rebase on the latest
commit of the target branch.

A sanitizer issue, which can only be found by compiling with the sanitizer and running the
affected test.

An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

Updates:

Addressed @vasild's feedback.


pull request for e2e test at 12/07/2016 03:15:01

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Enhance the robustness of the flash attention check

Also fixes GPU CI.

Codecov Report
Attention: Patch coverage is 11.76471% with 15 lines in your changes missing coverage. Please review.

Project coverage is 59.97%. Comparing base (0861e09) to head (2ec34fb).
Report is 2 commits behind head on master.

Files with missing lines
Patch %
Lines

keras/src/backend/torch/nn.py
8.33%
11 Missing :warning:

keras/src/backend/jax/nn.py
20.00%
4 Missing :warning:

:exclamation:  There is a different number of reports uploaded between BASE (0861e09) and HEAD (2ec34fb). Click for more details.
HEAD has 6 uploads less than BASE

Flag
BASE (0861e09)
HEAD (2ec34fb)

keras
4
1

keras-torch
1
0

keras-tensorflow
1
0

keras-jax
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #20495       +/-   ##
===========================================
- Coverage   82.09%   59.97%   -22.13%
===========================================
  Files         515      515
  Lines       47575    47615       +40
  Branches     7463     7465        +2
===========================================
- Hits        39056    28556    -10500
- Misses       6710    17308    +10598
+ Partials     1809     1751       -58

Flag
Coverage Δ

keras
59.97% <11.76%> (-21.98%)
:arrow_down:

keras-jax
?

keras-numpy
59.97% <11.76%> (+<0.01%)
:arrow_up:

keras-tensorflow
?

keras-torch
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

This PR should be ready to run on GPU CI again now. I’m wondering if it’s possible to use a newer GPU for Keras GPU CI, as flash attention isn't available on T4, and these tests are currently being skipped.
BTW, I saw the announcement. Good luck and best wishes, @fchollet!
I've really enjoyed collaborating with you, and I’m proud of my contributions to Keras. Looking forward to seeing your next move!


Fix typo and filename

Simply changed from "a" to "an" in two places for fluidity and consistency. I also added the filename extension for Startup and made it italic.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


bug: cairo-format interferes with Cairodoc

Bug Report
Cairo version:
2.7.1

Current behavior:
Running Cairo-format will format the //! COMMENT cairodoc lines
See example:

FYI //! comments are not supported in cairo doc yet, there are open issues for this #6080 and https://github.com/software-mansion/scarb/issues/1439


POST annotation SDK shows validation error

Hi!
I use labelstudio 1.12.1 and labelstudio sdk 1.0.0
I wanted to create a new annotation using the SDK. A call using the current python example does not work and leads to an validation error. Also it seems like the data structure of the examples and what is actually saved when creating an annotation manually is different.
The documentation  says:
"values": {"rectanglelabels": {"0": "Airplane"}}

but labelstudio saves the values like this:
"rectanglelabels": [
              "Airplane"
            ]

When I call api with curl like this:
curl -X POST https://..../api/tasks/12/annotations \
     -H "Authorization: Token ..." \
     -H "Content-Type: application/json" \
     -d '{
  "result": [
        {
          "original_width": 762,
          "original_height": 504,
          "image_rotation": 0,
          "value": {
            "x": 75,
            "y": 15,
            "width": 12,
            "height": 21,
            "rotation": 0,
            "rectanglelabels": [
              "Airplane"
            ]
          },
          "from_name": "label",
          "to_name": "image",
          "type": "rectanglelabels"
        }
      ],
      "was_cancelled": false,
      "ground_truth": false
    }'

The annotation is created properly. Doing the same with the python SDK also creates the annotation properly but leads to a validation error:
x = ls.annotations.create(
    id=12,
    result=[
        {
          "original_width": 762,
          "original_height": 504,
          "image_rotation": 0,
          "value": {
            "x": 75,
            "y": 15,
            "width": 12,
            "height": 21,
            "rotation": 0,
            "rectanglelabels": [
              "Airplane"
            ]
          },
          "from_name": "label",
          "to_name": "image",
          "type": "rectanglelabels"
        }
      ],
    was_cancelled=False,
    ground_truth=True
)
x

It returns "value is not a valid dict".
ValidationError: 1 validation error for ParsingModel[Annotation]
__root__ -> result
  value is not a valid dict (type=type_error.dict)
File <command-2907982429628373>, line 1
----> 1 x = ls.annotations.create(
      2     id=12,
      3     result=[
      4         {
      5           "original_width": 762,
      6           "original_height": 504,
      7           "image_rotation": 0,
      8           "value": {
      9             "x": 75,
     10             "y": 15,
     11             "width": 12,
     12             "height": 21,
     13             "rotation": 0,
     14             "rectanglelabels": [
     15               "Airplane"
     16             ]
     17           },
     18           "from_name": "label",
     19           "to_name": "image",
     20           "type": "rectanglelabels"
     21         }
     22       ],
     23     was_cancelled=False,
     24     ground_truth=True
     25 )
     26 x
File /local_disk0/.ephemeral_nfs/envs/pythonEnv-d28d80db-7fa5-42c7-a02d-6197d84b6649/lib/python3.11/site-packages/label_studio_sdk/annotations/client.py:376, in AnnotationsClient.create(self, id, result, task, project, completed_by, updated_by, was_cancelled, ground_truth, lead_time, request_options)
    359 _response = self._client_wrapper.httpx_client.request(
    360     f"api/tasks/{jsonable_encoder(id)}/annotations/",
    361     method="POST",
   (...)
    373     omit=OMIT,
    374 )
    375 if 200 <= _response.status_code < 300:
--> 376     return pydantic_v1.parse_obj_as(Annotation, _response.json())  # type: ignore
    377 try:
    378     _response_json = _response.json()
File /databricks/python/lib/python3.11/site-packages/pydantic/tools.py:38, in pydantic.tools.parse_obj_as()
File /databricks/python/lib/python3.11/site-packages/pydantic/main.py:341, in pydantic.main.BaseModel.__init__()

Thanks for reporting this. Fixed in https://github.com/HumanSignal/label-studio-sdk/pull/236

Please try using the latest update, pip install label-studio-sdk>=1.0.1

@StickyDoughnut thanks for reporting the initial bug, feel free to create a new issue or message me on Slack if the issue persists (and I'll reopen this issue for more discussion)


Implement overlapping interventions

This issue is to request a way to concatenate interventions and apply the combined intervention with age-specific effects to the default model (and by extension any model with age structured social contacts). See the equivalent implementation in {epidemics}.

Fixed in #21.


ManipulationHandler is sluggish when moving in y-direction (HL v1)

Overview
When I use ManipulationHandler (MRTK 2.0.0) with a HoloLens v1 on a GameObject, I can target the object with my gaze, press down with my hand and can move it around.
When I move my hand right / left or forward / backward (relative to my head) it seems to work as expected but when I move my hand up / down, the object moves a lot more sluggishly
Expected Behavior
Movement in all axes should work the same. I remember there being a HandGrabbable.cs script in HoloToolkit that worked great!
Steps to reproduce

Set up MRTK with default HoloLens 1 profile
Create a GameObject
Drop ManipulationHandler on it with the following settings:

Hit Play, and use the input simulation service to target the object by gaze and then try to manipulate it's position by using Space + the mouse to tap on the object and then move the mouse to move the "hand"
Moving the mouse left and right works great, moving it up and down is really sluggish moving the mouse forward / backward (rolling mouse wheel) works great too

Unity Editor Version
Unity 2019.2.0f1
Mixed Reality Toolkit Release Version
v2.0.0

I can also confirm that this is a bit annoying compared to RC2.1 To me it seems like a sensitivity issue,
moving the object to the left/right or forward/backward look the same compared to RC2.1, but when moving it up or down it doesn't move as far as i would expect it to go.
See below:

This makes me think about X-axis and Y-axis mouse sensitivity settings found in certain FPS games.
It could be interesting to add such parameters to the ManipulationHandler script, although i don't know if it would create issues with other parameters like Smoothing.

@julenka, @thalbern
It looks like the difference between GGV (HL1 style) and hand ray (HL2 style) is that the rotation fields are actually critical to the up/down functionality:
public Vector3 Update(MixedRealityPose pointerCentroidPose, Quaternion objectRotation, Vector3 objectScale, bool isNearMode, bool usePointerRotation, MovementConstraintType movementConstraint)
        {
            if (!isNearMode || usePointerRotation)
            {
                Vector3 headPosition = CameraCache.Main.transform.position;
                float distanceRatio = 1.0f;

                if (movementConstraint != MovementConstraintType.FixDistanceFromHead)
                {
                    // Compute how far away the object should be based on the ratio of the current to original hand distance
                    var currentHandDistance = Vector3.Magnitude(pointerCentroidPose.Position - headPosition);
                    distanceRatio = currentHandDistance / pointerRefDistance;
                }

                Debug.Log("Distance ratio: " + distanceRatio);
                Debug.Log("Pointer centroid pose: " + pointerCentroidPose.Position);
                Debug.Log("Local grab point: " + pointerLocalGrabPoint + " object local grab point: " + objectLocalGrabPoint);
                Debug.Log("Rotation: " + pointerCentroidPose.Rotation);

                Vector3 scaledGrabToObject = Vector3.Scale(objectLocalGrabPoint, objectScale);
                Vector3 adjustedPointerToGrab = (pointerLocalGrabPoint * distanceRatio);
                adjustedPointerToGrab = pointerCentroidPose.Rotation * adjustedPointerToGrab;

                if (Math.Abs(pointerCentroidPose.Rotation.x) > .2 ||
                    Math.Abs(pointerCentroidPose.Rotation.y) > .2 ||
                    Math.Abs(pointerCentroidPose.Rotation.z) > .2)
                {
                    Debug.Log("yay");
                }

                Debug.Log("New location: " + (adjustedPointerToGrab - objectRotation * scaledGrabToObject + pointerCentroidPose.Position));
                return adjustedPointerToGrab - objectRotation * scaledGrabToObject + pointerCentroidPose.Position;
            }
            else
            {
                return pointerCentroidPose.Position + pointerToObject;
            }
        }

If you set a breakpoint on Debug.Log("yay") it'll never get hit on HL1 style interactions, because the x rotation is always 0 (i.e. there is no rotation of the hand for the GGV style, but on HL2 it's based I think on the direction of the ray).

adding @MenelvagorMilsom - he's our manipulationhandler move expert now :)

If you set a breakpoint on Debug.Log("yay") it'll never get hit on HL1 style interactions, because the x rotation is always 0 (i.e. there is no rotation of the hand for the GGV style, but on HL2 it's based I think on the direction of the ray).

Damn, I should noticed this. I know what the issue is here. I can have a look soon enough.


File exists, No file or directory (related to parallel conda activations) error for SG10K jobs

SG10K pipeline when try to submit hundreds of jobs, the following error occurs at GIS Aquila cluster.
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/projects/rpd/apps/miniconda3/envs/snakemake-3.7.1/bin/conda'
FileExistsError: [Errno 17] File exists: '/mnt/projects/rpd/apps/miniconda3/bin/activate' -> '/mnt/projects/rpd/apps/miniconda3/envs/snakemake-3.7.1/bin/activate'
Conda version: conda 4.1.8
Bug issue @ [https://github.com/conda/conda/issues/2837]
downgrading the conda version to 4.0.5 or 4.0.10 may be required?
[https://kundajelab.github.io/bds_pipeline_modules/troubleshooting.html]
NSCC version is conda 4.0.10

Yes, we saw this in the past after which I downgraded. I though I had created a ticket but can't find it now. Weirdly all conda versions were downgraded except GIS production.
See also my comment on https://github.com/conda/conda/issues/3001
Anyway, will wait now for new release next week (upgrade needs stopping of cron and completion of running jobs).

Testing was upgraded to 4.3.17 on 4th May 2017

Not observed anymore


No back button to exit itinerary

Back button to itinerary is not available which is not so conveinent when they want to go back and forth the city info page.


Trimmer returns 0 even if the build failed

I'm using Trimmer as part of my build pipeline. Sometimes when the build fails, Unity returns 0 even when it shouldn't. This is on Ubuntu 2019.3.0f5. I'm not sure when exactly this happens, though. What info can I give you to help narrow this down?

Uh, this was a long time ago, sorry for the delay.
In 878941ee I changed the Build method to throw in case of an error when a command line build is detected. This will make Unity exit with code 1 if the build has failed.
Not sure why you'd want Build to return void and how that would simplify error handling?

In 878941e I changed the Build method to throw in case of an error when a command line build is detected. This will make Unity exit with code 1 if the build has failed.

Thank you!

Not sure why you'd want Build to return void and how that would simplify error handling?

To be honest, I forgot. Maybe it had to do with partial methods?


CRITICAL: [Actionable Whispers] The report total is negative when converting a tracked expense to request

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: N/A
Reproducible in staging?: N/A
Reproducible in production?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Action Performed:
Note: This occurs as part of a feature from this PR
Break down in numbered steps

Track an expense to the self-DM
Convert it to a request on an IOU that already has an existing IOU

Expected Result:
The reportPreview should show correct amount owed
Actual Result:
The reportPreview shows negative amount owed
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[X] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ebe41f88ebb9d14a
Upwork Job ID:<PHONE_NUMBER>144013312
Last Price Increase: 2024-04-16

Issue OwnerCurrent Issue Owner: @thienlnam

Seems like a BE issue

I am seeing that this is also fixed in https://github.com/Expensify/Auth/pull/10564 as well

Great, can we close this?

Yup, this is on production now

This is still happening when converting tracked expenses to requests on an IOU with existing requests - https://expensify.slack.com/archives/C03U7DCU4/p1715000997219589
cc @shawnborton / @dannymcclain

Found the issue - it relies with how we handle the amount negative values for IOUs depending on who is the owner of the IOU. Working on it here https://github.com/Expensify/Auth/pull/10798

Fix is in review

Merged - pending deploy

We're done here!


Feat(LinearAlgebra/TensorProduct/Basic): Tensoring with the action of a scalar gives the action of that scalar

Tensoring with the action of a scalar gives the action of that scalar.

bors r+


Enable EBMC Phype stack in optest

Have some pylint fixes
Added EBMC stack in op-test which helps to run command via op-test in EBMC based phyp

@abdhaleegit review, please

@PraveenPenguin one more suggestion to avoid code duplicate.. why have new OpTestEBMC.py , I see similar code in OpTestOpenBMC.py  and the only difference is to change the API path i.e rest to redfish.. that we can handle with IF EBMC_PHYP check ?

@PraveenPenguin one more suggestion to avoid code duplicate.. why have new OpTestEBMC.py , I see similar code in OpTestOpenBMC.py and the only difference is to change the API path i.e rest to redfish.. that we can handle with IF EBMC_PHYP check ?
OpTestOpenBMC.py
 if self.conf.util_bmc_server is None:
            self.conf.util.setup(config='REST')    >>> handle it for REDFISH

OpTestUtils.py
        elif config == 'REST':
            rest_server = "https://{}".format(self.conf.args.bmc_ip)
            self.conf.util_bmc_server = Server(url=rest_server,
                                               username=self.conf.args.bmc_username,
                                               password=self.conf.args.bmc_password)

can add check to REDFISH
With this you can reuse OpenBMC.py and avoid EBMC.py

I would recommed to reuse code then duplication. OpenBMC and EBMC I see the code is same.  Let us handle only the difference part of OpenBMC and EBMC

@PraveenPenguin one more suggestion to avoid code duplicate.. why have new OpTestEBMC.py , I see similar code in OpTestOpenBMC.py and the only difference is to change the API path i.e rest to redfish.. that we can handle with IF EBMC_PHYP check ?
OpTestOpenBMC.py
 if self.conf.util_bmc_server is None:
            self.conf.util.setup(config='REST')    >>> handle it for REDFISH

OpTestUtils.py
        elif config == 'REST':
            rest_server = "https://{}".format(self.conf.args.bmc_ip)
            self.conf.util_bmc_server = Server(url=rest_server,
                                               username=self.conf.args.bmc_username,
                                               password=self.conf.args.bmc_password)

can add check to REDFISH
With this you can reuse OpenBMC.py and avoid EBMC.py

I would recommed to reuse code then duplication. OpenBMC and EBMC I see the code is same. Let us handle only the difference part of OpenBMC and EBMC

not sure as i feel using loop else needs to repeat the code as right now we have a very basic one later EBMC code going forward we need to have more support like NV API support I feel considering the maintenance aspect in the future thinking we are good , please let me know your thought


DEV-13017: Render all figure types in lightbox slides

Implement figureTableElement component
Implement figureSoundcloudElement
Implement figureVideoElement component
Fix video shortcode missing poster error; ensure poster arg for videos is prefixed with config.params.image_dir
Display soundcloud, video, vimeo, and youtube figures in slides

Everything here works, just still in draft since the recently-implemented slide types aren't styled. Could merge as-is and handle styles in another PR.
Also open to suggestions on the figure[Type]Element naming - I was following the existing convention with figure/image/element, but they could also use media instead of element, e.g. figureTableMedia, or could be just tableElement, videoElement, soundcloudElement (without the figure)

@anderspollack this refactoring is making the media elements much clearer. What do you think of refactoring the figure/soundcloud element as figure/audio following the pattern used for figure/video, either as part of this or a separate pull-request?

I can handle that here as well, I think that's a nice idea in case we want to support static audio/other kinds of embeds in the future


fix(model-decorator): remove limitation for index creation

it is not our job to make assumptions about such limitations, removing the check. Also the check was not correct. By default 5 LSI and 20 GSI are allowed.(https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html#limits-secondary-indexes)
closes #206

Coverage increased (+0.05%) to 94.896% when pulling e4c0b19b8eee397cf4002bd2f4c8bd22b2f64f80 on #206-remove-index-limitation into a006e70fe05a7777aa69d2d9afa20076bd262f64 on master.

:tada: This PR is included in version 5.2.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Preservative XML Import/Export

Allow to have XML content not manipulated by Substance, and preserve these data during export.

One idea is to use XPath during conversion to denote which parts of the original DOM is gonna be exported, such as
/html/body/div[1]/div/div/div[3]/div[2]/div[1]/div/div/div/div/div/div[13]

Nothing like that. In JATSWriter we just make sure to model the entire XML spec.


oncopipe installation from pip appears to be broken

I get the following error when I attempt to build the reference directory after installing oncopipe from pip (pip install oncopipe):
AttributeError in line 125 of /home/rmorin/lcr-modules/workflows/reference_files/1.0/reference_files.smk:
module 'oncopipe' has no attribute 'as_one_line'
File "/home/rmorin/lcr-modules/workflows/reference_files/1.0/prepare_reference_files.smk", line 28, in
File "/home/rmorin/lcr-modules/workflows/reference_files/1.0/reference_files.smk", line 125, in
Workaround:
Running the installation from the oncopipe version in the repo fixes this issue.
pip install -e lcr-modules/oncopipe
Installing collected packages: oncopipe
Attempting uninstall: oncopipe
Found existing installation: oncopipe 1.0.0
Uninstalling oncopipe-1.0.0:
Successfully uninstalled oncopipe-1.0.0
Running setup.py develop for oncopipe
Successfully installed oncopipe
/workflows/reference_files/1.0/prepare_reference_files.sh /projects/rmorin/TEMP/lcr-modules-reference/ Building DAG of jobs...

Thanks for picking up on this! I had misconfigured the setup.py script. The PyPI version is working now.
pip install oncopipe==1.0.2

Thanks. I confirm this is resolved. The ==1.0.2 also looks to be unnecessary as it defaults to the latest version.


Backend not reachable

Hi,
If I try https://s.d.com//monitor/1/beats?token=????? it works well and show json data, but my apple watch has back end not reachable message.
Token is the same, url is the same, no port or with port, http or https ..... I already did multiple tests with no lucky
Thanks

Hey,
that's hard to analyze from here.
So, the backend seems to work.
You have it locally or exposed the backend to the internet?
Have you tried to send the settings again?
Token and url in the info screen of the Watch app is correct?
Do you see any logs in the docker container, when you open the app or refresh?

Hi, thanks for your reply,
I know it's hard to guess without so much information, the same for me....
You have it locally or exposed the backend to the internet?
internet
Have you tried to send the settings again?
many times and many possibilities like http, https, explicit port 80, 443 or with no port information.....
Token and url in the info screen of the Watch app is correct?
can't read url entirely but looks like ok
Do you see any logs in the docker container, when you open the app or refresh?
yes when testing from web browser
no when trying from apple watch
<IP_ADDRESS> - - [16/Jun/2024 17:06:14] "GET / HTTP/1.1" 404 -

<IP_ADDRESS> - - [16/Jun/2024 17:07:22] "GET / HTTP/1.1" 404 -

<IP_ADDRESS> - - [16/Jun/2024 17:09:29] "GET /status HTTP/1.1" 403 -

<IP_ADDRESS> - - [16/Jun/2024 17:13:39] "GET /status?token=ac45mr HTTP/1.1" 200 -

<IP_ADDRESS> - - [16/Jun/2024 17:14:14] "GET /status?token=ac45mr HTTP/1.1" 200 -

<IP_ADDRESS> - - [16/Jun/2024 17:14:14] "GET /favicon.ico HTTP/1.1" 404 -

<IP_ADDRESS> - - [16/Jun/2024 17:14:39] "GET /monitors?token=ac45mr HTTP/1.1" 200 -

<IP_ADDRESS> - - [16/Jun/2024 17:15:39] "GET /monitor/1/beats?token=ac45mr HTTP/1.1" 200 -

<IP_ADDRESS> - - [16/Jun/2024 17:17:49] "GET /monitor/1/beats?token=ac45mr HTTP/1.1" 200 -

<IP_ADDRESS> - - [16/Jun/2024 17:24:07] "GET /monitor/1/beats?token=ac45mr HTTP/1.1" 200 -

<IP_ADDRESS> - - [16/Jun/2024 17:24:07] "GET /favicon.ico HTTP/1.1" 404 -

<IP_ADDRESS> - - [16/Jun/2024 17:55:53] "GET /monitor/1/beats?token=ac45mr HTTP/1.1" 200 -

<IP_ADDRESS> - - [16/Jun/2024 17:58:54] "GET /monitor/1/beats?token=ac45mr HTTP/1.1" 200 -

<IP_ADDRESS> - - [16/Jun/2024 17:58:54] "GET /favicon.ico HTTP/1.1" 404 -

@schech1 if you have any contact that you fell comfortable to share email, telegram.... I can send you my url and api key so you can test it in your side, maybe it's something related to apple watch version, network type.... I don't know

You can sent me a PM on reddit.
I opened this topic:
https://www.reddit.com/r/selfhosted/s/aX8v4Zi58o
I would really like to take a look.
But I also now thought, that I will implement a backend check already in the iOS-App that can show helpful error messages, before sending it to watch.

App version 1.0.4 has now a backend check with proper error messages in the iOS app.
@ivolanski  If you have any more hints what caused the issue, feel free to post it here.

Closing for now. Could not be reproduced.


"global.json" interferes with "dotnet restore" of script

If you try to run a C# script from a folder that contains a global.json to pin to a .NET Core SDK version then dotnet restore that's executed by dotnet-script may fail (depending on the SDK version) to restore packages.
PowerShell steps to reproduce:

Create a blank directory and set it as the current directory
Create a global.json file that pins to .NET Core SDK 3.0.100:Set-Content global.json '{ "sdk": { "version": "3.0.100" } }'

Evaluate a script, e.g.:dotnet script eval //

At the end of step 3, you should get an error along the lines of:
Unable to restore packages from 'C:\Users\johndoe\AppData\Local\Temp\dotnet-script\A\temp\Eval\interactive\interactive\netcoreapp3.1\script.csproj'. Make sure that all script files contains valid NuGet references

Evaluating a script that's just a comment, as in the last step above, is the simplest way to reproduce this error but the issue applies equally to running a script:
❯ Set-Content global.json '{ "sdk": { "version": "3.0.100" } }' # pin SDK
❯ Set-Content test.csx $null # create a blank script file
❯ dotnet script test.csx
Unable to restore packages from 'C:\Users\johndoe\AppData\Local\Temp\dotnet-script\A\temp\netcoreapp3.1\script.csproj'. Make sure that all script files contains valid NuGet references

I should add that the bigger problem here is that the success/failure of running a script will depend on the directory your are in and whether it has a compatible global.json. The success/failure can therefore be completely arbitrary.

I have seen this on a couple of occasions myself and I think it might be because dotnet restore is executed with the script folder as the current working directory. I better approach would probably be to set the working directory to the same folder as the generated csproj file located in the temp folder.

Can we mark this as a bug then?

I better approach would probably be to set the working directory to the same folder as the generated csproj file located in the temp folder.

Right except I think it breaks several tests that assert assumptions about relative paths.

I'll have a look


[Select][Radio] Radio buttons are rendered as a list and the value of boolean is a string

I see that you defined in your domain config file:
module.exports = {
    type: 'boolean',
    DisplayComponent: FocusComponents.common.display.component,
    //InputComponent: FocusComponents.common.input.checkbox.component
    InputComponent: FocusComponents.common.select.radio.component,
    refContainer: {yesNoList: [{code: true, label: 'select.yes'}, {code: false, label: 'select.no'}]},
    listName: 'yesNoList'
};

instead of :
'DO_OUI_NON': {
    SelectComponent: FocusComponents.common.select.radio.component,
    refContainer: {yesNoList: [{code: true, label: "select.yes"}, {code: false, label: "select.no"}]},
    listName: 'yesNoList'
}

(you did not defined the select component. By default, it uses classic dropdown).


[KOGITO-9838] Add a troubleshooting guide for remote service invocations

JIRA:
https://issues.redhat.com/browse/KOGITO-9838

Description:
In this PR, we complement the work in KOGITO-9838 by adding a quick troubleshooting guide for remote service invocations. We should keep updating this guide with more information.

https://github.com/apache/incubator-kie-kogito-runtimes/pull/3238
Please make sure that your PR meets the following requirements:

[ ] You have read the contributions doc
[ ] Pull Request title is properly formatted: KOGITO-XYZ Subject
[ ] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[ ] The nav.adoc file has a link to this guide in the proper category
[ ] The index.adoc file has a card to this guide in the proper category, with a meaningful description

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

@fjtirado can you take a look?


Rename config.php to config_example.php

I think it is better to rename config.php into config_example.php. Otherwise every time I pull from GitHub my config.php is getting overwritten.  Just a suggestion.

Done.


Match Ecto's SQL generation, part 1

Refactoring to be more like what's in Postgres.Connection so we can track changes more easily.

Coverage decreased (-3.7%) to 83.285% when pulling f8fb929cafc40822903c309793cd72ec6ab4839a on match-ecto-sql-generation-part-1 into b7b5c8c04ff9d79b17486e33f5d02c30230c2465 on master.

Coverage decreased (-3.7%) to 83.285% when pulling f8fb929cafc40822903c309793cd72ec6ab4839a on match-ecto-sql-generation-part-1 into b7b5c8c04ff9d79b17486e33f5d02c30230c2465 on master.


Implement use-and rule

To check that repeated steps like: When, When, Then, Then, Then
Are written using And like: When, And, Then, And, And
When editing feature files, it's easy to make the mistake
of not using And when you should (e.g. when copy-pasting
existing steps to create new ones).  This linting rule ensures
that And is used consistently.
Future improvements:
I guess one might want to either apply this rule, or the opposite
of it - never using And, but repeating the step keywords instead.
For this the rule should be configurable, something like:
use-and: ["on", "always"/"never"]

Hi, any thoughts about this feature?

Sorry, I have been really busy with work and forgot. This looks good!

@nene  This is now published with<EMAIL_ADDRESS>


Unexpected behavior in ReactiveProperty

I have confirmed that the A subscription does not work correctly when I run the following code.
The operating environment is as follows
Unity 2022.3.16f1
Unity 2023.2.3f1
using System.Threading;
using R3;
using UnityEngine;

public class NewBehaviourScript : MonoBehaviour
{
    void Start()
    {
        var count = 0;
        var r = new ReactiveProperty<int>(count);
        var ctsA = new CancellationTokenSource();
        var ctsB = new CancellationTokenSource();
        var ctsC = new CancellationTokenSource();
        r.Subscribe(x => Debug.Log($"A = {x}")).RegisterTo(ctsA.Token);
        r.Subscribe(x => Debug.Log($"B = {x}")).RegisterTo(ctsB.Token);
        r.Subscribe(x => Debug.Log($"C = {x}")).RegisterTo(ctsC.Token);
        ctsA.Cancel();
        ctsA.Dispose();
        Debug.Log("A disposed");
        ctsA = new CancellationTokenSource();
        r.Subscribe(x => Debug.Log($"A = {x}")).RegisterTo(ctsA.Token);
        Debug.Log("A re-registered");
        ctsA.Cancel();
        ctsA.Dispose();
        Debug.Log("A disposed");
        ctsA = new CancellationTokenSource();
        r.Subscribe(x => Debug.Log($"A = {x}")).RegisterTo(ctsA.Token);
        Debug.Log("A re-registered");
        r.Value = ++count;
        r.Value = ++count;

        // Expected operation:
        // A = 0
        // B = 0
        // C = 0
        // A disposed
        // A = 0
        // A re-registered
        // A disposed
        // A = 0
        // A re-registered
        // A = 1
        // B = 1
        // C = 1
        // A = 2
        // B = 2
        // C = 2

        // However, the actual operation is:
        // A = 0
        // B = 0
        // C = 0
        // A disposed
        // A = 0
        // A re-registered
        // A disposed
        // A = 0
        // A re-registered
        // B = 1
        // C = 1
        // B = 2
        // C = 2
    }
}

We have confirmed that this also occurs in R3 version 1.1.8...!

thank you, I've fixed in 1.1.9 and added your code as test(after re-registered, expected is B = 1, C = 1, A = 1, B = 2, C = 2, A = 2).

Ah, I was wrong about the expectations! Thank you very much!


Changed role_allows? method to return true for common hidden features.

Changed role_allows? method to return true for common hidden features that are for read only buttons are used from different screen and are under a hidden parent.
https://bugzilla.redhat.com/show_bug.cgi?id=1191222
https://bugzilla.redhat.com/show_bug.cgi?id=1191197
@dclarizio please review/test.

@h-kataria Can we add a few tests around this method so we can feel more confident of future changes?  Thx, Dan

@dclarizio @fryguy please re-review.

@dclarizio re-review, renamed new method to "parent_for_feature", as feature_parent method already existed that only returns the id of parent feature.

Verified fix.


v3: debounced refresh independent of key presses

Hello, first of all, v3 is looking great!
I just had a question regarding the debounced refresh. It looks like it's using a uv timer to execute a refresh every debounce ms, which is great, but I noticed that the timer seems to reset on every key press. Normally this wouldn't be a problem when vertically navigating a buffer with c-u and c-d, but it does result in a noticeable refresh delay when using j or k, in the case where your key repeat time is less than your configured debounce.
This situation can be seen below when indents "pop" when you stop pressing the j key (ignore the janky asciinema).

So my question  is: Is this a neovim limitation or is there a way to have the refresh timer independent of key presses?
Thank you for the great work.

Yeah, I think I can improve this.
What really should happen is

First call to refresh triggers immediately
Subsequent calls get debounced, but the timer does not get rest, so there is a refresh ever deboucnems

Should be doable

I pushed a new version, let me know what you think.

Just tried it out, it works great. Thank you!


Update to final CSV for data model

Per @brynnz22 's request, the final aggregate CSV should only contain the annotation properties (rather than include all of the attributes & descriptions from the valid values).  For example:
Attribute,Description,Valid Values,DependsOn,Required,Properties,Parent,DependsOn Component,Source,Validation Rules
Consortium,Consortium information,,"Component, Consortium Name, Consortium Display Name, Consortium Full Name, Consortium Description, Consortium Funding Agency, Website",FALSE,,,,,
Consortium Name,"Machine readable name of the research consortium. (e.g. sage_bionetworks, csbc_pson, etc.)",,,TRUE,,,,,
Consortium Display Name,"Human readable display name of research consortium (e.g. Sage Bionetworks, CSBC, PS-ON, etc.)",,,TRUE,,,,,
Consortium Full Name,Full name of research consortium. (e.g. Cancer Systems Biology Consortium).,,,TRUE,,,,,
Consortium Description,Description of research consortium,,,TRUE,,,,,
Consortium Funding Agency,Funding agency of research consortium ,NIH,,TRUE,,,,,
Website,Website of research consortium,,,TRUE,,,,,url
...

Let me know if this is what you had in mind, @brynnz22 !

Yeah I think so! It looks right from what I can see.


Is the system incompatible? with Radar, Camera, GNSS

Hello. I am a self-driving Korea researcher.
We will not use NVIDIA drive PX2 anymore.
I want to use it as an Apollo system.
Anyway, I have a few question.
Q1. Does Apollo System not support Ellipse2-D INS?
Q2. Dose Apollo System not support continental ARS441, continental ARS510?
Q3. How many cameras can I install? and Which Hardware compatible?
EX) I have a  continental MFS430, MFS430 cameras
thank you.

The compatible hardware devices that we know of are listed on this web page. The other ones we have not tested yet. If you have the sample and time to explore please let us know what you find.

Closing this issue as it appears to be resolved. Thanks!


Analytically compute the square root of the transition covariance

Solves #257
But instead of actually using IntegratedWienerProcesses.jl I copied and slightly changed the code to compute the left square root factor, as well as to automatically use BigInt to compute factorials if the desired smoothness gets too large.
Left to do:

[ ] can we simplify to have less calls to factorial?
[ ] filling by row or column can have quite a performance cost; are we doing it in the right order right now?
[ ] add a docstring

Held up by Fenrir.jl's patch release with increased ProbNumDiffEq.jl compat: https://github.com/JuliaRegistries/General/pull/94460


Horizontal ListView Resets Scroll View contentOffset on update

I've a horizontal ListView. When the dataSource is updated, hence the ListView,  it scrolls with contentOffset {0,0}, no matter what the current contentOffset is. Here is the snippet of view:
 <ListView
          horizontal
          dataSource={this.state.dataSource.cloneWithRowsAndSections({
            section1: this.state.products,
          })}
          renderRow={this.renderRow.bind(this)}
        />

I've tried onScroll={this.handleScroll.bind(this)} and updating contentOffset in global state, but the changes don't reflect even when ListView is update with contentOffset={this.state.contentOffset}.

Thanks for reporting this! Can you try out FlatList instead? If it is still an issue there, please do submit a new issue against FlatList.

YES.Same issue with FlatList.


google style API has changed

https://github.com/google/google-api-go-client/blob/0e8d13b5c025da6a7cf249bb854e5869921dd459/GettingStarted.md#using-the-service
There is no single client now. Just services and sub services where the sub services are fields.

oh bummer

Going to close as it has been a long time and I'm not sure if this is relevant anymore.


Spanish translation

Sorry @Kingfire16 - I just noticed I'd not responded yet,
For transparency:
Progress: Your additions have been merged in, and are in the pre-release version of the app. Thank you for the translations!
Timeline: These will be available in the current pre-release of the app (made-available to our testing team & as non-production-ready releases to our Patrons.) It will be made available to the wider public once the current release features are stable and we're happy with the full public release.
Remaining Requirements:
Before I can officially merge your translations into the app, I'd love to add you to the credits within the about screen of the app. For this - can you please provide: A name (or username for us to say thanks to you), and a link to your Twitch/Twitter or github etc - allowing us to promote you/your work 👍
(Example placement:

)

@NoelDavies Are we good to merge this in?


Add monitor options for synthetics options

What

Add `MonitorOptions' for Synthetic test

Why

There is .options.monitor_options .

renotify_interval is very important.

With current API you can create a like below.
curl -X "POST" "https://api.datadoghq.com/api/v1/synthetics/tests" \
     -H 'Content-type: application/json' \
     -H 'DD-API-KEY:xxxxxx' \
     -H 'DD-APPLICATION-KEY: xxxxxxxx' \
     -d $'{
  "config": {
    "assertions": [
      {
        "type": "certificate",
        "operator": "isInMoreThan",
        "target": 45
      }
    ],
    "request": {
      "host": "example.com",
      "port": 443
    }
  },
  "message": "[Keke test] KeisukeYamashita",
  "locations": [
    "aws:ap-northeast-1"
  ],
  "subtype": "ssl",
  "type": "api",
  "options": {
    "tick_every": 60,
    "monitor_options": {
      "renotify_interval": 200
    }
  },
  "tags": [
    "env:production",
    "team:merpay-sre",
    "user:keisukeyamashita",
    "host:example.com"
  ],
  "name": "[Keke test] An KeisukeYamashita test"
}'

@btoueg  Thanks for your review. I've added the missing test.

@btoueg  Please review. Thank you in advance.


Question: Is there a way to associate a flow to a list provisioned with the template?

Hi,
I was wondering if there is a way to associate directly a flow to a list provisioned with the template and if so where and how to do the configurations?
Thank you in advance.
Br,
Anisia Pop

Hi,
Unfortunately, due to a lack of APIs, we cannot do that yet.


Date and time moved to the right

Hi, I didn't touch anything, I just compiled the firmware with the date written and moved to the right, how can I solve it?
Thank you

no idea


Update messages.po (german)

I hope you like it. I edited it first on main, sorry for that.

Hi @Dravenex.
First of all, thank you for your work.
I am sorry but we are not accepting translations via GitHub PR.
If you want to improve translations you need to add your translations here https://crowdin.com/project/chia-blockchain.
The reason is that we have automatic PR from Crowdin and we are not able to do it in the opposite way.

Hello Zlatko,
thanks for your information. I will edit the messages.po at crowdin then. :)
I just clicked in the chia Interface on „help translate“ which directly sent me to GitHub.
Best regards
André Bender

Am 20.03.2021 um 14:19 schrieb Zlatko Fedor @.***>:

Hi @Dravenex.
First of all, thank you for your work.
I am sorry but we are not accepting translations via GitHub PR.
If you want to improve translations you need to add your translations here https://crowdin.com/project/chia-blockchain.
The reason is that we have automatic PR from Crowdin and we are not able to do it in the opposite way.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

We need to update the README. My apologies.

Hello Mr. Hoffman,
I just finished the german translation and it has now 100% completion. Unfortunately I can’t see where my translation will be in the GUI. So I might change some translations afterwards.
When is it possible to test the translation in the GUI?
Best regards,
André (Dravenex)
Von: Gene Hoffman @.>
Gesendet: Samstag, 20. März 2021 18:02
An: Chia-Network/chia-blockchain-gui @.>
Cc: Dravenex @.>; Mention @.>
Betreff: Re: [Chia-Network/chia-blockchain-gui] Update messages.po (german) (#182)
We need to update the README. My apologies.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/Chia-Network/chia-blockchain-gui/pull/182#issuecomment-803411790 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AS7EHTMIUCAUM6LX5WRVOETTETIJ7ANCNFSM4ZLM7YVA .  https://github.com/notifications/beacon/AS7EHTN5IUAT47PXW7TNLULTETIJ7A5CNFSM4ZLM7YVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF7RROTQ.gif

Unfortunately there isn't an easy way to see the results until we include it in a release. That will probably be next week for a testnet release.


Query: Don't funcletize DbSet/InternalDbSet

Issue: A linq query starting from DbSet always has EntityQueryable. But for a manually created query incorrectly passes Constant(IQueryable) rather than IQueryable.Expression then we try to parametrize it and cause multiple running queries.
The fix is to not funcletize it. The Constant(DbSet) gets converted to EntityQueryable during ReLinq query parsing.
This is a negative case. The query is malformed. We would leak context instance in this case. Since it is hot path, we are not going to add overhead for all other cases.
Resolves #11043

@anpete - Updated conditions.


wrong ogre source and ogre binaries got in cmake

in cmake when charged it goes to get automatically wrong path to ogre_source and ogre_binaries
F:/game_develop/colibrigui/Dependencies/Ogre/build
F:/game_develop/colibrigui/Dependencies/Ogre
it seems go to get path of colibri path
once set right paths there is another error:
CMake Error at CMake/Dependencies/OGRE.cmake:261 (file):
  file COPY cannot find "F:/game_develop/ogre/Samples/Media/Hlms/Common": No
  such file or directory.
Call Stack (most recent call first):
  CMakeLists.txt:41 (setupOgre)

i checked in current release of ogre and the path is: F:\game_develop\ogre\Media\HLMS
in my configuration F:\game_develop\ogre is OGRE_SOURCE

Hi!
Colibri's CMake scripts are prepared to work with out-of-source Ogre builds, not the SDK build.
It seems you're trying to use it against the SDK build. You can use the build scripts to quickly prepare an out-of-source build that matches the latest SDK

is there a guide on how to use? i tried to use as batch but i have a result of
The syntax of the command is incorrect.

thanks i downloaded them, but i have to use cmake with ogre-next? because if i use directly batch file nothing happens

You just double click on those batch files.
Beware Windows 10 has a 'feature' called Quick Edit which freezes command prompt until keypress.

You just double click on those batch files.
Beware Windows 10 has a 'feature' called Quick Edit which freezes command prompt until keypress.

in windows 10 is already enabled function quickedit, but nothing happens when i click on batch

I just tested the batch and it is working fine.
Could you post more information? For example, the terminal output from running the batch.

C:\Users\nevar\Downloads>build_ogre_Visual_Studio_15_2017_Win32.bat
The syntax of the command is incorrect.
C:\Users\nevar\Downloads>
C:\Users\nevar\Downloads>
C:\Users\nevar\Downloads>build_ogre_Visual_Studio_15_2017_x64.bat
The syntax of the command is incorrect.
C:\Users\nevar\Downloads>
C:\Users\nevar\Downloads>

What the...?
Check the following if the following is installed:

CMake is in either "C:\Program Files (x86)\CMake\bin\cmake.exe" or "C:\Program Files\CMake\bin\cmake.exe"
git for Windows and typing 'git' in the terminal works.

Additionally try downloading the .bat file again. The browser may have performed some text conversion which screwed up the syntax.
Try removing '@echo off' from the bat to see if it gives more info

on cmake was missing from regular path, but now seems solution files are missing or not generated
CMake 64-bit detected
Using CMake at "C:\Program Files\CMake\bin\cmake.exe"
A subdirectory or file Ogre already exists.
--- ogre-next-deps repo detected. Cloning skipped ---
A subdirectory or file build already exists.
--- Building ogre-next-deps ---
CMake Error: Could not create named generator {1}

Generators
* Visual Studio 16 2019        = Generates Visual Studio 2019 project files.
                                 Use -A option to specify architecture.
  Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 12 2013 [arch] = Generates Visual Studio 2013 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 11 2012 [arch] = Generates Visual Studio 2012 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 10 2010 [arch] = Generates Visual Studio 2010 project files.
                                 Optional [arch] can be "Win64" or "IA64".
  Visual Studio 9 2008 [arch]  = Generates Visual Studio 2008 project files.
                                 Optional [arch] can be "Win64" or "IA64".
  Borland Makefiles            = Generates Borland makefiles.
  NMake Makefiles              = Generates NMake makefiles.
  NMake Makefiles JOM          = Generates JOM makefiles.
  MSYS Makefiles               = Generates MSYS makefiles.
  MinGW Makefiles              = Generates a make file for use with
                                 mingw32-make.
  Unix Makefiles               = Generates standard UNIX makefiles.
  Green Hills MULTI            = Generates Green Hills MULTI files
                                 (experimental, work-in-progress).
  Ninja                        = Generates build.ninja files.
  Ninja Multi-Config           = Generates build-<Config>.ninja files.
  Watcom WMake                 = Generates Watcom WMake makefiles.
  CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files.
  CodeBlocks - NMake Makefiles = Generates CodeBlocks project files.
  CodeBlocks - NMake Makefiles JOM
                               = Generates CodeBlocks project files.
  CodeBlocks - Ninja           = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - MinGW Makefiles   = Generates CodeLite project files.
  CodeLite - NMake Makefiles   = Generates CodeLite project files.
  CodeLite - Ninja             = Generates CodeLite project files.
  CodeLite - Unix Makefiles    = Generates CodeLite project files.
  Sublime Text 2 - MinGW Makefiles
                               = Generates Sublime Text 2 project files.
  Sublime Text 2 - NMake Makefiles
                               = Generates Sublime Text 2 project files.
  Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
                               = Generates Sublime Text 2 project files.
  Kate - MinGW Makefiles       = Generates Kate project files.
  Kate - NMake Makefiles       = Generates Kate project files.
  Kate - Ninja                 = Generates Kate project files.
  Kate - Unix Makefiles        = Generates Kate project files.
  Eclipse CDT4 - NMake Makefiles
                               = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - MinGW Makefiles
                               = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.

Error: could not load cache
Error: could not load cache
Error: could not load cache
Error: could not load cache
--- Cloning Ogre {0} ---
'git' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
You do not have sufficient privilege to perform this operation.
A subdirectory or file build already exists.
--- Running CMake configure ---
CMake Error: Could not create named generator {1}

Generators
* Visual Studio 16 2019        = Generates Visual Studio 2019 project files.
                                 Use -A option to specify architecture.
  Visual Studio 15 2017 [arch] = Generates Visual Studio 2017 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 14 2015 [arch] = Generates Visual Studio 2015 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 12 2013 [arch] = Generates Visual Studio 2013 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 11 2012 [arch] = Generates Visual Studio 2012 project files.
                                 Optional [arch] can be "Win64" or "ARM".
  Visual Studio 10 2010 [arch] = Generates Visual Studio 2010 project files.
                                 Optional [arch] can be "Win64" or "IA64".
  Visual Studio 9 2008 [arch]  = Generates Visual Studio 2008 project files.
                                 Optional [arch] can be "Win64" or "IA64".
  Borland Makefiles            = Generates Borland makefiles.
  NMake Makefiles              = Generates NMake makefiles.
  NMake Makefiles JOM          = Generates JOM makefiles.
  MSYS Makefiles               = Generates MSYS makefiles.
  MinGW Makefiles              = Generates a make file for use with
                                 mingw32-make.
  Unix Makefiles               = Generates standard UNIX makefiles.
  Green Hills MULTI            = Generates Green Hills MULTI files
                                 (experimental, work-in-progress).
  Ninja                        = Generates build.ninja files.
  Ninja Multi-Config           = Generates build-<Config>.ninja files.
  Watcom WMake                 = Generates Watcom WMake makefiles.
  CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files.
  CodeBlocks - NMake Makefiles = Generates CodeBlocks project files.
  CodeBlocks - NMake Makefiles JOM
                               = Generates CodeBlocks project files.
  CodeBlocks - Ninja           = Generates CodeBlocks project files.
  CodeBlocks - Unix Makefiles  = Generates CodeBlocks project files.
  CodeLite - MinGW Makefiles   = Generates CodeLite project files.
  CodeLite - NMake Makefiles   = Generates CodeLite project files.
  CodeLite - Ninja             = Generates CodeLite project files.
  CodeLite - Unix Makefiles    = Generates CodeLite project files.
  Sublime Text 2 - MinGW Makefiles
                               = Generates Sublime Text 2 project files.
  Sublime Text 2 - NMake Makefiles
                               = Generates Sublime Text 2 project files.
  Sublime Text 2 - Ninja       = Generates Sublime Text 2 project files.
  Sublime Text 2 - Unix Makefiles
                               = Generates Sublime Text 2 project files.
  Kate - MinGW Makefiles       = Generates Kate project files.
  Kate - NMake Makefiles       = Generates Kate project files.
  Kate - Ninja                 = Generates Kate project files.
  Kate - Unix Makefiles        = Generates Kate project files.
  Eclipse CDT4 - NMake Makefiles
                               = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - MinGW Makefiles
                               = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Ninja         = Generates Eclipse CDT 4.0 project files.
  Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files.

--- Building Ogre (Debug) ---
Error: could not load cache
Error: could not load cache
--- Building Ogre (Release) ---
Error: could not load cache
Error: could not load cache
Done!

Could you download the batch scripts again?
The messages are saying things like 'Cloning Ogre {0}' which is just like what our template says while it should be saying 'Cloning Ogre v2.2.1' which is what our batch script says.
Please download the batch scripts from the location I pointed to, do not use build_ogre.bat and rename it. That won't work.
Cheers


markupsafe constraint conflicts with airflow v2.6.2+

The markupsafe constraint requires a version that is 1.5 years old which conflicts with airflow v2.6.2+ constraints.
I searched the soda codebase and there does not seem to be any direct usage of markupsafe.  I might have missed something, because I only did a quick scan of the other install_requires, but the recent versions either have no dependency on markupsafe of work with v2.1.3+.

SAS-3728

Further investigation: it looks like opentelemetry-api is a few version behind too.  would it be possible to work with 1.24 (or greater)

facing the same problem with airflow 2.8.1 @rajukrishnamurthy  did you take a different route.
I am using MWAA and mwaa-local-runner from https://github.com/aws/aws-mwaa-local-runner/tree/v2.8.1/docker .
Any insights would be greatly appreciated.


TypeError: ParameterExpression with unbound parameters ({ParameterVectorElement()}) cannot be cast to a float.

Environment

Qiskit Terra version: 0.25.3
Python version: 3.9.18
Operating system: ubuntu

What is happening?
When I tried to construct a parameterized quantum circuit with multiple-controlled quantum gates with RYGate(theta).control(num_ctrl_qubits=5, ctrl_state='01101'), [0,1,2,3,4,5]) in ubuntu OS, it turns to be a warning that TypeError: ParameterExpression with unbound parameters ({ParameterVectorElement(θ[0])}) cannot be cast to a float.. If I applied this controlled gate with fewer control qubits, the warning would not occur. By contrast, as I ran the codes in windows OS, nothing unexpected happened, in the case of the same version of qiskit.
I don't know what is wrong with that and I wonder whether ubuntu OS triggers this bug.
How can we reproduce the issue?
Run the below codes, especially in ubuntu
from qiskit.circuit import QuantumCircuit, ParameterVector
from qiskit.circuit.library import RYGate

theta_list = ParameterVector('θ', 6)
circuit = QuantumCircuit(10)
for theta in theta_list:
    circuit.append(RYGate(theta).control(num_ctrl_qubits=5,
                                        ctrl_state='01101'),
                                        [0,1,2,3,4,5])
circuit.draw('mpl')

What should happen?
The program crash should not happen like that in windows OS.
Any suggestions?
No response

Please refer to issue #10697 .

I'm experiencing this exact issue.

I'm experiencing this exact issue.

My temporary solution is to give up the parameterized circuit and directly bind parameters when applying the rotation gates.

This is related to issue #10311.


JSON based encoding should completely ignore unexported fields

slog.JSON should behave exactly like json.Marshal and then we should have slog.Reflect for using slog's reflection with slog structure tags.

Don't think we need slog.Reflect since that is the default.
Lets just make slog.JSON a type that wraps around another type and declares that the value wrapped should be encoded as if exactly with encoding/json
The function is kinda weird since it's really a type.


Error message on integration activation

Checklist

[X] I have installed the latest release (or BETA) version of the integration and home assistant.
[X] I have checked that the issue still exist with a none default Node number (not equals 1) - check 2,3 or 4
[X] I have prepared DEBUG log output (for technical issues) | In most of the cases of a technical error/issue I would have the need to ask for DEBUG log output of the integration. There is a short tutorial/guide 'How to provide DEBUG log' here

Meter type? | check your http://[YOUR-PULSE-IP]/nodes/1/config
SML 1.04
Output of the Tibber webfrontent data.json | check http://[YOUR-PULSE-IP]/nodes/1/data or http://[YOUR-PULSE-IP]/data.json?node_id=1
v
���bbrev��<
APA�_wrbe��uc5�v
���bbrew
APA�_wb
��rbe��u�w`2APAw`�
APA�_ww�e9bR�i�'�w�bR�i	�$w�bRY��������w$�bRY��������w8�bRY��������wL�bRYw �b#R�i	w4�b#R�i	6wH�b#R�i	,w�b!R�iPw3�b!R�iSwG�b!R�iYwQ�bRYuwQ�bRY�wQ�bRY�wQ�bRYwQ�bRYw�b,R�i�w1000w`Z97DEcEv
���bbreqc<��

Integration DEBUG log
No response
Any additional description
I can access additional data via rest template sensor, so bridge is available from HA.
Sometimes I get connection errors, sometime I get  not yet implemented error when trying to activate implementation.
I tried rotating pulse without success. Also nodes/1/data changes regulary in webinterface and data is available in tibber cloud. Looks like pulse-bridge communication is stable.

Sometimes I get connection errors, sometime I get not yet implemented error when trying to activate implementation.

this is IMHO the indication, that 'sometimes' data provided by the bridge is corrupted. Indicating, that pulse reading head is at suboptimal position - might be just too big difference...

I tried rotating pulse without success.

sometimes just few degree's (< 5) make a big difference!

I rotated the device and in optimal position (around 5pm)  I have not seen a last data > 3s
192-168-178-68-nodes-.webm

.... mhh ok - 'then' I would need the debug log output of the data that was read from the bridge (multiple readings preferred) - since SML1.04 ins mainly binary the output from the web-console is useless - the integration should provide some valid binary2string output...
But I have to admit, that I don't expect big surprises from the data - I assume it will generate parser-errors here as well... but at least worth a try...

hope this is the correct log
tibber_local_debug.txt

Yes it's the 'correct' (required) log data - but indeed this byte[] can't be parsed (via the SML python lib)... :-/ [no clue if this can/will be fixed by the author - OR if it's really corrupted data?!]


ADD:Add leaderboard function

Add option after show leaderboard.
Add while statement because of wrong insert.
Add '-' and attribute to display leaderboard table.
Add deleted part(else part) when I mergeed last time.

merge 합시다~~!

수고하셨습니당 merge해요!

수고라셨어요^^ 머지합시다~


Dispatching using polling interval when using retry all in falied executions.

As a newcomer to this feature, I've encountered something that I'm unsure whether it's an issue or simply a gap in my understanding. I've been utilizing jobs to invoke an API that has a rate limit. To avoid this limit, I've configured solid queue in the YAML file with a polling interval of 5 seconds.
When using this setup, everything functions as expected; however, occasionally, jobs fail. After fixing these failures, I attempt to retry the calls. It appears that the 'retry all' option dispatches all of them simultaneously, which triggers the rate limit once again. When I send a few of them individually, I don't encounter this issue.
I'm uncertain whether this could also impact the scheduled job, but it took me a lot to determine why I was experiencing this issue. The only explanation I can think of is that the 'retry all' function might not be considering the polling interval option configuration.

Hi @DickyMacias! Thanks for writing this up.

the 'retry all' function might not be considering the polling interval option configuration.

Ohh, I see! No, it does. It's independent of the polling interval. "Retry all" simply gets all the failed jobs and puts them back into the queue. The queue backend is then responsible for polling these again, so the polling interval would apply here. However, polling means how often the workers check for new work. If there's new work all the time, they won't be stopping for 5 seconds, they'll continue to work all pending jobs until they're done. I don't know if this is what you're seeing, though.

Thank you, @rosa. Indeed, that's what I was looking for. I appreciate your help regarding this issue. I will look for another approach to resolve this.

Thank you, @rosa. Indeed, that's what I was looking for. I appreciate your help regarding this issue. I will look for another approach to resolve this.


Blank page when using Timber + Heroic Knowledge Base

Hi,
I do have a custom theme using Timber / Twig - never had an issue before, with any other plugin.
Unfortunatelly when we use Heroic Knowledge Base.
We do see on those pages totally clean / blank page. No code is generated in source.

Seem like when I do comment in header.php
<?php
$GLOBALS['timberContext'] = Timber::get_context();
ob_start();
this line :
$GLOBALS['timberContext'] = Timber::get_context();
but then unfortunately, timber is not loading templates obviously, but content of Knowledgebase is displayed, but with no styling etc.
What version of WordPress, PHP and Timber are you using?
PHP Version: 7.4.28
MySQL: 8.0.29
WordPress: 5.9.3
Timber: 1.19.1
How did you install Timber? (for example, from GitHub, Composer/Packagist, WP.org?)
WP.ORG

3rd party and older versions reported. Should we close this as well?


feat(python, rust): cdc write-support for overwrite and replacewhere writes

Description
A normal write with mode "overwrite" or "overwrite" with predicate, will write CDC actions and CDC data now.
This one should be merged first: https://github.com/delta-io/delta-rs/pull/2721
Related Issue(s)

related https://github.com/delta-io/delta-rs/issues/2720

just was looking thorough some of the recent PRs - it seems we did not do any testing for rust in this PR. Should we add an issue for this or did I just miss that?

@roeap might have missed that, but can add them at later!


Unable to open more included files after viewing one

Extension version: 0.1.2
VSCode Version: 1.27
OS: Mac HS 10.12.6

Steps to Reproduce:

Click 'Description' entry in PR panel.
Click an included file to see diff view
Click another file
No further files or 'Description' can be opened, even when closing all tabs.

See screenshot does not display the contents of 'Description'

@MartinDM Is there anything in the dev console when this happens? Can you try upgrading to the latest extension version, 0.1.6?

I have done that; still getting the issue when running 0.1.6 (I think I was already running this, my mistake).
It's intermittent, which makes this difficult to reproduce consistently, but after checking out a couple of PRs one after the other and switching between the changes in them, I am still able to trigger the issue.
Nothing is output to the console unfortunately. Not expecting a resolution as a result, but wanted to raise as a potential issue for others too?
Will update this info if I discover anything that seems to cause it.


Position of the parallax background image jumps on initial scroll in mobile

Thanks for the script. It works fine in desktops and tablets in my testing.
I implemented it here: https://universal-parallax.wpdemos.net/
But one problem is that after the above page is viewed in iPhone, as soon as we start to scroll down the background image jumps abruptly. After that, it works fine.
Any idea?

Fixed.


Consolidate bundle and BD controller code

Closes #575

New libraries are:

internal/provisioner/bundle
internal/provisioner/bundledeployment

Interface implementations are still under internal/provisioner/<format>, but code in those directories is now limited to just the interface implementations.
Main commands were updated to build the reconcilers with the new libraries and format-specific implementations.

This looks good.  I have some minor comments.

The code here looks good and it is blocking some work that @akihikokuroda is doing. I'm going to go ahead and hit the merge button on @joelanford's behalf as he is on PTO for awhile.


About Code Efficiency Improvement

Hello, thanks for such a useful code! However, when I use lora in a multi-head attention layer, I find that it is slow when inferring.
I looked at the source code and suspected that it was due to the need to re-merge the parameters of the lora and recover them each time the forward function is called (the corresponding functions are self.merge_lora_param() and self.sub_lora_data()).
So, can I please remove the above two directives from the forward and move them to the end of the __init__  function at the same time?  I'm not sure this operation will have any bad effects.

I just found out that there is a lora_train function in the source code, can I call model.lora_train(mode=False),to fulfill the above requirement?

when inference, you should call model.eval() first, then model.lora_train(mode=False) will be automatically called.

Yes, I did call model.eval() and now the inference is still slow, do you have any suggestions for improvement?

if you have called model.eval(), the lora matrixs will be merged only once and self.merged is always True until model.train() is called.

Closed as no further updates.


fixes #33 Kill off the impl.pipe.IsOpen

Codecov Report

Merging #44 into master will increase coverage by 0.39%.
The diff coverage is 87.5%.

@@           Coverage Diff            @@
##           master    #44      +/-   ##
========================================
+ Coverage   55.61%    56%   +0.39%
========================================
  Files          43     43
  Lines        5754   5737      -17
========================================
+ Hits         3200   3213      +13
+ Misses       2242   2217      -25
+ Partials      312    307       -5

Impacted Files
Coverage Δ

impl/pipe.go
78.37% <ø> (+2.06%)
:arrow_up:

transport/ws/ws.go
77.32% <100%> (-0.19%)
:arrow_down:

test/transport.go
51.21% <100%> (+0.53%)
:arrow_up:

transport/conn.go
63.88% <100%> (-0.98%)
:arrow_down:

transport/inproc/inproc.go
89.74% <75%> (+0.36%)
:arrow_up:

protocol/req/req.go
65.61% <0%> (-0.58%)
:arrow_down:

protocol/xreq/xreq.go
41.66% <0%> (+0.87%)
:arrow_up:

protocol/xrespondent/xrespondent.go
45.31% <0%> (+4.29%)
:arrow_up:

protocol/xsurveyor/xsurveyor.go
48.88% <0%> (+6.11%)
:arrow_up:

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 a700d83...62c3b5f. Read the comment docs.


Dealing with MSVC-built DLLs is painful

One issue that has become incredibly painful to me in the past few days setting up a complex Rust application to ship on Windows, is that of the differing run-time DLL availability requirements at runtime between MinGW and MSVC, and how that combines at compiletime. With an MSVC-generated dynamic library, you have the dll (containing the code) and the export library (.lib) containing symbols and some junk. You are supposed to link against the .lib, and then make the .dll available at runtime in its PATH somehow. This conflicts with the Cargo and MinGW view of the world, where you can link against the .dll directly and also make it available at runtime. This conflict means that using an MSVC DLL in a Cargo project requires manually copying a lot of DLLs around to where they need to be, or forgoeing cargo run etc for a custom app setup.
Ideally, Cargo would know somehow about this split and be able to copy DLLs itself where necessary, or modify the PATH before running executables.
This is also tied in with the "How do I make a bundle that I can zip up and ship" problem.

(I suspect once https://github.com/rust-lang/rust/pull/25350 lands this will be even more of an issue!)

I think I'm pretty confused by this issue and I'm not quite sure what's actionable here. From what I've learned, trying to mix MSVC-generated and MinGW-generated object code works some of the time, but not most of the time, so I don't think that's going to be an intended use-case of Cargo. Otherwise it's not clear to me what Cargo needs to do here (apart from the compiler itself).
Could you elaborate a little more on what you would expect Cargo to do to make this use case easier? For example what DLLs are you copying, and why are you copying them? Why does Cargo need to know about .lib and .dll files? (e.g. the compiler definitely needs to know, but this doesn't seem like Cargo needs to)


toNotExist() issue

Hi all,
First of all, congrats for the library. I am having issues with toNotExist(). ie:
expect(null).toNotExist() outputs TypeError: expect(...).toNotExist is not a function
Thank you, J

@jmderueda what version of expect are you using? v21+ is maintained by the jest team; see https://github.com/mjackson/expect#notice

Same for me. On v22.0.3.
Same test worked with calling alias toBeFalsy

@elgelbo expect v21+ is maintained by jest; that's not this repo.

The expect assertion library has changed ownership. It was handed over to the Jest team, who in their infinite wisdom, created a new API.
You must now use 'toBeTruthy()' instead of 'toExist()'. You can still install expect as before, "npm install expect --save-dev", which is currently at version 21.2.1.Most methods names will remain unchanged except for a few, including 'toExist()'.

@IoanZ1994 that is a very wrong conclusion; that “worked” because it’s a noop - it’s undefined.
Never use noop matchers, only ever use a matcher that terminates in a function call, for this reason.

@ljharb Thank you very much for your comment. I found the right answer.

In expect.js library was made next changes

  .toExist()          // aka: toBeTruthy()   .toNotExist()       // aka: toBeFalsy()
From official expect.js page [https://devhints.io/expectjs]

Given testedEntity == null
expect(testedEntity).toBeFalsy()
or
expect(testedEntity).toBe(null) works as well


Check for missing shared libs on failed LibFuzzer -help check

Add existing shared library error reporting capabilities to the LibFuzzer helpers used by the actual task worker.
Closes #1806.
Manual testing

[x] linux-libfuzzer-linked-library w/missing dependency
[x] windows-libfuzzer-linked-library w/missing dependency

The missing library logic kicks in as expected. There are currently 2 issues with the error messages:

Windows missing library detection fails on a fresh image's registry. This can be addressed separate from this PR, and our fallback error message is no worse than before.
In the OneFuzz context, we may over-report missing libraries on Linux. Again, this can be addressed in a separate PR, and appears to be due to env var configuration in the way we invoke the shared library checker.


pypi package does not include links to source code and issue tracker

The PYPI presence of this package does not point to this repository, making harder for users to find where the code is developed or to find the issue tracker.
See https://pypi.python.org/pypi/kerberos/ -- which should contain both links.

This should be resolved with the release of 1.3.0.

Related: could someone clarify if these two are one and the same package (i.e. is it duplicated on pypi)?
https://pypi.org/project/pykerberos/#description
https://pypi.org/project/kerberos/#description


whisper: No such file or directory: 'mlx_models/config.json'

I'm trying to run whisper, but I'm getting No such file or directory: 'mlx_models/config.json' I converted pytorch large model, the conversion creates this structure: mlx_models/large/config.json So, when I try to do whisper.transcribe(speech_file, model="large"), it doesn't recognize the folder and looks for config.json in mlx_models instead of in mlx_models/large/...

Maybe you are using an outdated whisper? The transcribe function takes an path_or_hf_repo as the second argument which you should set to mlx_models/large if that's where you stored the model.

I think the README for this example needs a little work, I will update it.

For future reference help(whisper.transcribe) will tell you about the arguments it can accept 😄


hotfix(conf) make lua_ssl_trusted_certificate fail softly on launch

When system was opt-in, it made sense to "fail noisily" if the current
system didn't have certs in any of the usual places and the user had
opted in to system.
Now that we look for them by default, the noisy behavior is incorrect,
because it makes kong unable to start in places with no system certs.
Instead, the abstence of default certificates gets noted in the logs,
but Kong can continue without them.
Related with #8602

Discussed elsewhere, but adding here for visibility's-sake:
IMO it's a little more nuanced than "now that it's the default, we shouldn't throw a fatal error." If a user has explicitly set lua_ssl_trusted_certificate = system I think we should fail hard and fast. If the user has left the setting empty/undefined, we should log and continue on.
This requires the ability to distinguish between a value that is explicitly set vs a value that is inherited from defaults, which might not be a capability that exists in the conf loader right now but seems worth exploring.

If a user has explicitly set system I think we should fail hard and fast.
Not possible to make that distinction any more, the new default is system  in 3.0 (too many support issues open because of the old empty default)


Support ERC721Enumerable interface

Why: Speeds up and simplifies balance query for ERC721.
First detect the ERC721Enumerable interface in your Token interface check:
ERC721Enumerable Interface hash: 0x780e9d63
Then using this contract call:
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256)
Walk the balance index sequentially to fetch all ERC721 tokenIds for an address.
You will need the balanceOf(address owner) to find the total balance held, then just do 0 -> (total balance -1) and use that for the index in the tokenOfOwnerByIndex call.
Eg:
balanceOf(0x123456...)
returns a balance of 3
for (uint i = 0; i < balanceOf(0x123456...); i++)
{
  balanceArray[i] = tokenOfOwnerByIndex(0x123456..., i);
}

balanceArray could be { 6345, 1295, 5566 }
Which is your TokenId list.
See:
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC721/extensions/ERC721Enumerable.sol#:~:text=function tokenOfOwnerByIndex(,%7D
Note, for AW Android this doesn't completely replace the event log search, because we still want to find events to populate the activity pane. It does mean though that you don't need to check that the address still holds the tokenId before adding it (after finding the tokenId via a receive log).

It does mean though that you don't need to check that the address still holds the tokenId before adding it

Isn't eventlog fetching for a single contract + address a single call so we can sift through it right away and figure out if the tokenId is still held? Or is there a catch?

It does mean though that you don't need to check that the address still holds the tokenId before adding it

@JamesSmartCell Isn't eventlog fetching for a single contract + address a single call so we can sift through it right away and figure out if the tokenId is still held? Or is there a catch?

You'd need at least 2 calls, as you can't just scan incoming logs, you need to scan outgoing. Using this method I'd also check the ownerOf for each token I find in this manner, because you don't know if the event scan is complete; you might only be halfway through the scan, and it massively simplifies the code to do it this way and ensures no false positives.
Enumerable will always be the best method if it's available.
You can mint your own Enumerable tokens on my TokenScript site here: http://smarttokenlabs.duckdns.org/
In AW you can use the mint verb to get more, providing you're minting from the same account that you used to create the contract (ownerOnly modifier on the TS mint function). All the Transfer functions are also onlyOwner (in line with it being a door lock token).


Relax the |isSymbolicFont| check for TrueType (3, 1) cmap tables (issue 5701)

Fixes #5701.
Also fixes the font issues in #4580, but the performance issues are still present.

/botio test

/botio-windows test

Hi, how can I get the new code to retest my pdf file?

/botio test

/botio makeref


mapping values are not allowed in this context

Hi folks,
I'm in the process of hacking my JOSS paper together. My first test paper.md compiled perfectly but now with the latest commit the action failed with the error
YAML parse exception at line 12, column 9:
mapping values are not allowed in this context

which is kind of funny because the YAML file had actually not changed since the last time when it worked. The indicated position is this one:
      - name: Build draft PDF
        uses: openjournals/openjournals-draft-action@master
        with:
        ^

Since the YML file itself has not changed, could it be due to the commit to paper.md itself? It comments out a section with <!-- --> HTML syntax, could this be the issue?
Here is the list of latest runs for inspection.
Thank you in advance!

Update: Just removed the HTML comment from the draft but the problem persists. Here the screenshot for more context:

The issue probably stems from the re-indentation of YAML in paper.md, specifically lines 13ff. Can you try again after reversing those indentation changes?

Thank you for looking into this! That was the issue, indeed. I had gone a bit over the top with my editor's automatic reformatting :roll_eyes: Sorry for that.

For anyone ever running into this issue, I highly recommend using this open tool for checking your YAML syntax:
https://yamlchecker.com
Even from the discussion above, it was not clear to me what the issue actually was and where it was coming from, but using this tool it pointed exact to where the issue was. See snapshot below:


having possibility to load the reducers dynamically

k-ramel already propose the ability to load listeners dynamically.
Do you think that it could also load some reducers dynamically in order to have a complete separation of some screens ?
For example, in my app, I have an admin page that managing all my application users. And I have specific reducers (users data, admin screens data) specific to that page. So I could have a container loading k-ramel reducers and listeners specific to it :
import { updateStore, when } from '@k-ramel/react'
import AdminPage from './AdminPage'

updateStore({
  data: { users: { type: 'keyValue', id: 'uid' } },
  ui: { admin: { type: 'simpleObject' } },
}, [
  when('MY_ADMIN_ACTION')(() => { /* do something */ })
]})(AdminPage)

And it could be a great optimisation for apps using code splitting (dynamic imports).

Yes we could I thank about it a lot.
All of this is related to:

https://github.com/alakarteio/k-ramel/issues/94#issue-297923024

(#94/#102/#72) this is about hot loading reducers / configurations
But this is a big issue to think about since:

We don't want to have overhead when we re configure the store
We can't dispatch in reducers
We can't dispatch when a dispatch is running (redux 4)

An other thing we can do is to create a local store for your screen.
We can get inspiration from https://github.com/alakarteio/multi-store-redux-saga so all events pass through parent store.