Task system taking longer to run compound tasks the second time

Issue Type: Bug
Repro repo here: https://github.com/s73obrien/task-tracking-repro .

Clone repo and run "Launch Program" twice (2x).
The second time, after about 8-10 seconds, it will error out with 'The specified task cannot be tracked'.
Please note that this happens only after the first time running after a fresh VSCode instance is started.
I used ping here just for reproduction purposes.
This started showing up directly after the February 2020 update.
I can confirm that this reproduces when using only shell-based tasks (no npm involved) as well.

VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4910MQ CPU @ 2.90GHz (8 x 2893)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.94GB (21.99GB free)

Process Argv
C:\Users\sobrien\Documents\task-tracking-repro

Screen Reader
no

VM
0%

Extensions (15)

Extension
Author (truncated)
Version

pascal
ale
9.0.0

pascal-formatter
ale
2.2.0

JSDocTagComplete
Hoo
0.0.2

innosetup
idl
1.2.0

debugger-for-chrome
msj
4.12.6

show-offset
ram
0.0.4

java
red
0.58.0

vscode-xml
red
0.10.1

addDocComments
ste
0.0.8

vscodeintellicode
Vis
1.2.6

vscode-java-debug
vsc
0.25.1

vscode-java-dependency
vsc
0.9.0

vscode-java-pack
vsc
0.8.1

vscode-java-test
vsc
0.22.2

vscode-maven
vsc
0.21.1

(1 theme extensions excluded)

I have also reproduced this without any extensions enabled

I also have the same issue which seems to have re-appeared with the last update. It seems to be linked to issue #63705 (and multiple others linked to it) which is closed atm. I tried adding "isBackground" to my sub-tasks but nothing seems to work. I currently bypass the problem by compiling outside of vscode. It might be the version tag that's at fault, but I recently switched to vscode and I'm not fully familiar.
tasks.json
 {
    "version": "2.0.0",
    "options": {
        "cwd": "${workspaceRoot}"
    },
    "tasks": [
        {
            "label": "cmake",
            "args": ["-DCMAKE_BUILD_TYPE=Debug"],
            "type": "shell",
            "command": "cmake",
            "isBackground": true
        },
        {
            "label": "make",
            "args": ["-j16"],
            "type": "shell",
            "command": "make",
            "isBackground": true
        },
        {
            "label": "Build",
            "dependsOn": ["cmake", "make"],
            "group":"build",
        }
    ]
}

launch.json
{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "cwd": "${fileDirname}"
        },
        {
            "name": "(gdb) Launch",
            "type": "cppdbg",
            "request": "launch",
            "program": ".../bin/program",
            "args": ["--loglevel=2", "--su"],
            "stopAtEntry": false,
            "cwd": ".../bin/",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "preLaunchTask": "Build",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": false
                },
                {
                    "description": "Enable only unhandled exceptions",
                    "text": "catch throw terminate",
                    "ignoreFailures": false
                }
            ],

        }
    ]
}

@s73obrien thank you for the very simple example! I debugged it, and it looks like we are literally taking longer to run the tasks the second time, and because of that the debug system times out. For example, if you change your npm task to only ping 9 times instead of 12, it makes it before the debug system timeout. That's not a solution, it just illustrates what's going on.
Clearly the task system should try not to take noticeably longer to run tasks the second time; however, if you do have a long running task you could hit the debug system task timeout anyway. I'll look into what could be slowing things down so much the second time.
If you're going to have non-background tasks as your prelaunch task, they must take less than 10 seconds to run, otherwise you need to convert them into background tasks.
@isidorn FYI

Idealy we could also ask the user from debug land if after 10 seconds he wants to wait more..

@alexr00 Can you refer me to an issue that's more related to my problem? So that I don't file a new duplicate for the background task system not working and timing out my debug session each time I change my code? Now that you have changed the name of the issue, my comment became irrelevant...

@alexr00 For clarification:
Does the use of dependsOn force one's tasks to be run non-background?  There seems to be precious little documentation about the expected behavior (unless I am missing it).
Or more to the point: why is it that, when run on its own, npm: task2 can seemingly run as long as it pleases?
@Feynstein have you tested to see if your tasks will run successfully once on a fresh instantiation of VSCode and then not-so-successfully thereafter, as described above?  Your tasks.json looks identical to mine, topologically-speaking.

@s73obrien Oh yeah... I closed vscode, then clean build then reopenend and started debug and even though it was long, it did work! Then I changed a line, so there was basically only linking to do and it timed out! I'm in the right issue after all!

@s73obrien the debug system defines that a non-background task needs to finish in 10 seconds. As @isidorn said, ideally we'd ask the user after 10 seconds. You can have a background task that uses dependsOn (but the task in the depends on can't be background https://github.com/microsoft/vscode/issues/70283), but to be a background task that can be used as a prelaunch task you must have a watching problem matcher.

@alexr00 But as I mentionned in my last comment, on a clean boot of vscode running my whole compilation (after a make clean) doesn't trigger any timeout. And then changing one line in one file (which is basically at least 10x faster) I get a timeout. This is unstable behaviour if I ever saw any.

Yes:

Clearly the task system should try not to take noticeably longer to run tasks the second time; however, if you do have a long running task you could hit the debug system task timeout anyway. I'll look into what could be slowing things down so much the second time.

A 10 second time limit seems severely too restrictive to me. Even on a small .NET Core project, dotnet build can take 10+ seconds if NuGet restore is slow. In almost any reasonable Node.js project I can't imagine npm install taking less than 10 seconds.
According to that rule, dotnet build should become a background task, but because of #70283 that makes Docker debugging impossible, because docker build has to depend on dotnet build.
I think we should rethink that 10 second timeout. Maybe 10 seconds without any output from the task, but even that is seriously restrictive.

The 10 second timeout ended up being a red herring. There is a 10 second timeout, but is on the task starting not completing. Fix is pushed to master and will be available in the text insiders.

Ah, that makes sense. Ten seconds to start is reasonable.

The 10 second timeout ended up being a red herring. There is a 10 second timeout, but is on the task starting not completing. Fix is pushed to master and will be available in the text insiders.

Thanks Alex, is it going to be available in the Insiders nightly build today? Also, are there any plans to have a servicing release for the stable branch?

Yes, it is in the latest insiders now. It is also planned to be included in the 1.43.1 sable release.


Backend functionality for retrieving based on warming levels approach

Description of PR
This branch of climakitae needs to be run with the corresponding branch of the same name in climakitaegui
Backend and front-end functionality added for retrieving based on warming levels or time based approach.
Eventually I think the goal is to move away from the warming levels explore module (?) since this functionality essentially duplicates that functionality within DataParameters object. Will need to discuss with the team what to do with the existing GUI functionality from warming.py since I believe having two similar but slightly different warming levels objects/functionality (i.e. ways to access data by warming level) will confuse users.
Notebook documentation should be updated to reflect this new functionality!
In a separate PR, I will update the functions in the climakitae_direct_data_download.ipynb notebook to reflect these new options and allow for users to use this approach without using the GUI or directly modifying the selections object.
Summary of changes and related issue
Lots of changes were made; I'll try to summarize as best as I can here.

Several new attributes were added to the DataParameters object to allow for retrieving based on warming levels: DataParameters().approach, DataParameters().warming_levels_window, DataParameters().warming_levels_months.
The global warming levels table (gwl_1850_1900_file) was added as an attribute to the DataInterface object, allowing the table to be passed around easily instead of read in by individual modules
The selections GUI was changed to reflect the new options
A new module added in utils "warming_levels.py" with the warming levels helper functions.

Relevant motivation and context
Part of a larger effort to incorporate warming levels into AE stuff.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Definition of Done Checklist
Practical

[x] 80% unit test coverage
[x] Documentation

[ ] All functions/adjusted functions documented in the readthedocs.
[ ] Documentation is pushed

[x] Complex code commented
[x] Naming conventions followed

[x] Helper functions hidden with _ before the name

[x] Context of function is clearly provided

[x] Intent of function is provided
[x] How to test, so that it is not siloed on scientists and anyone can review
[x] Appropriate manual testing was completed

[ ] Any notebooks known to utilize the affected functions are still working
[x] Linting completed and resolved

Conceptual

[ ] Doesn't replicate existing functionality
[x] Aligns with general coding standard of existing functions
[x] Matches desired functinonality from users/scientists

 WL integration step 2: backend data retrieval

Looks good to me! I just left a few small comments, but otherwise, the functionality of this PR looks great! Great work on such a big change in our codebase and including WL's in a much more consolidated format.


WIP: Remove viewer tests to save storage

@kimwnasptd should we close this PR, it does not look like it will be needed anymore.


Frontend: vsync defaults to off, add --vsync, add mmSetVSync()

Interval has one additional 'l' all over the place :P


[storage-file-share] Migrate to latest test recorder & test proxy

Packages impacted by this PR
@azure/storage-file-share
Issues associated with this PR
#23427
Describe the problem that is addressed by this PR
Migrate to use the latest test recorder based on the standard EngSys test proxy. This will allow us to migrate recordings out of the repository in a future PR.

API change check
API changes are not detected in this pull request.

LGTM. Should we move the recordings to asset sync in this PR too?

Probably could, and maybe I'm too superstitious, but I think I'll merge this since it's green and open a quick second one to migrate. :)

Sounds like somebody wants to inflate their lines of code changed stats ;). But makes sense.


Adds support for HTTPS via plug_cowboy_opts

I opted to leave the :port option as a root option and override the value in :plug_cowboy_opts if it is passed to maintain backward compatibility.
Resolves #16

Codecov Report

Merging #22 into master will increase coverage by 0.55%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master   #22      +/-   ##
=======================================
+ Coverage   94.44%   95%   +0.55%
=======================================
  Files           3     3
  Lines          18    20       +2
=======================================
+ Hits           17    19       +2
  Misses          1     1

Flag
Coverage Δ

#1_6_otp20
95% <100%> (+0.55%)
:arrow_up:

#1_6_otp21
95% <100%> (+0.55%)
:arrow_up:

#1_9_otp20
95% <100%> (+0.55%)
:arrow_up:

#1_9_otp22
95% <100%> (+0.55%)
:arrow_up:

Impacted Files
Coverage Δ

lib/telemetry_metrics_prometheus/supervisor.ex
100% <ø> (ø)
:arrow_up:

lib/telemetry_metrics_prometheus.ex
90.9% <100%> (+2.02%)
: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 b0298d5...a614ba0. Read the comment docs.


SFrame head method is returning [n+1] rather than [n] rows

I'm currently using the SFrame object to load data from a csv file and it's working perfectly fine.
However, when I call the head(n) method to retrieve the first n rows (as mentioned in the API docs), the result is always n+1.
I forked this project and edited the unity_sframe::head(size_t nrows) method in the src/unity/lib/unity_sframe.cpp file, by subtracting 1 from nrows in the for loop.
But it seem to be not working properly. So I wanted to ask if this is the correct file that handles the head method in the Python package?
Great work by the way!
I'm very excited to create new CoreML models using this amazing tool :)

Can you provide repro steps? I don't quite see this behavior
import turicreate
sf = turicreate.SFrame({'a': range(100)})
sf.head(10)

returns
Columns:
	a	int

Rows: 10

Data:
+---+
| a |
+---+
| 0 |
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
| 6 |
| 7 |
| 8 |
| 9 |
+---+
[10 rows x 1 columns]

@srikris, I see where the problem is coming from now!
The data in the sample csv file I'm using doesn't have the 'a' column and starts right away from the actual data. So when I was counting, I included the 'a' column.
Here's how it looks like:

dataBuffer is the SFrame object

The row in bold is the "header" row. I think your call to read_csv automatically assumed the first row is the header which it should not be. When you use read_csv, you can use the header = False option that will prevent that from happening.

Perfect, thank you.


add 'mvn clean install -DskipTests --offline' alias to speed up maven compile

It doesn't need to check the latest dependency for the most part.

Can you add this in the mvn plugin README as well?

OK, thanks for reminding!


importing main.js --> importing main

1b. We are importing main.js … shouldn't we be using systemjs config so we can import main?
cc @Brocco @hansl

defaultExtension: 'js' ?

yep. it's not configured for the main right now in the CLI, but it is configured for all other folders/files
@hansl may know why

I've been working on SystemJS and can add that to this PR https://github.com/angular/angular-cli/pull/481

https://github.com/angular/angular-cli/pull/550 will fix that. 481 will probably be closed.


Refactor tests

Use mock.patch instead of manual monkey patching

Is it really that difficult @meetmangukiya ? :)

@meetmangukiya Could your please elaborate what you mean by monkey patching.


Proxy error on user spawn but not admin spawn.

In some cases, when our hub users click on My Server to start their server, the hub responds with an HTTP 503. When this happens, admins can click on "start server" for the user from the Admin page and "stop server" to stop. The user can then hit My Server without error.
When the user does see the 503, the routing table has an entry for them pointing at a spawned container that no longer exists. I don't know how relevant this is because it plays no part in the admin being able to start the server. The user's server spawned by the admin ends up with an updated entry in the routing table (new node/ip).
We're using swarmspawner.

This went away with a restart of the hub container. We haven't seen recurring issues with the 503 since.

Interesting! Hopefully it's fixed. Do you have logs saved that we might dig through for insight?

No logs from that time period unfortunately. I'll leave this open for maybe a few more weeks in case it pops up, but we haven't seen this particular issue for a while.

After spending some time in your logs, I found a race condition that should be fixed by #445

Thanks for the debugging info!

Awesome, thanks very much!


Auto renew token

The token times out in about 2 mins "invalid_token"}']. In the TD API it would auto refresh that token.
Know anything on that?
thanks again

Hi @dougbrowning, I've added auto-renewal of tokens in 0.3.3, please take a look!

Thanks but now this line is failing on me
api.quote([stock])
spy_quotes =  api.quote([stock])
AttributeError: 'Schwab' object has no attribute 'quote'
What changed?  thanks


Devices added to Traccar, but data not accepted

Hi,
I used the 2.x version on my Synology NAS till this morning when I saw that 3.3 is avaliable as syno package & updated. Since the migration script had an issue (I can provide info on a separate thread), i renamed the DB then uninstalled and did a fresh install.
Now, none of my 4 devices (3 iPhones + my car TK102B GPS) are no longer accepted by the server, even if I added the device IDs.
  Commands end with ; or \g.
Your MariaDB connection id is 84
Server version: 5.5.44-MariaDB Source distribution

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> use traccar
Database changed
MariaDB [traccar]> select * from devices
    -> ;
+----+----------------+--------------+--------+------------+------------+
| id | name           | uniqueId     | status | lastUpdate | positionId |
+----+----------------+--------------+--------+------------+------------+
|  1 | Opel Corsa     |<PHONE_NUMBER>68 | NULL   | NULL       |       NULL |
|  2 | iPhone Gabi    | 406770       | NULL   | NULL       |       NULL |
|  3 | iPhone Gabi OT | 961976       | NULL   | NULL       |       NULL |
|  4 | iPhone Mara    | 754272       | NULL   | NULL       |       NULL |
+----+----------------+--------------+--------+------------+------------+
4 rows in set (0.00 sec)

MariaDB [traccar]>

What can I do to fix this?
Thanks
Gabriel

Your are using wrong port for Traccar Client. In default Traccar it should be 5055. In case of Synology I guess it should be 55055.

Thanks a lot! now working for the iPhones - i will have to check the SIM for my car device - not answering to SMS commands :(. Will try to see if it works on *002 or I need to change the port)...


Update to Swift 4.2 syntax

Currently, SwiftRangeSlider (pod version 2.0.0) no longer compiles in Xcode 10.0 using Swift 4.2 because of some minor syntax changes.
The suggested modifications to RangeSlider.swift fix those issues.

@BrianCorbin any plans on getting this into the upstream please?


Better control over the location of source maps

I'm  having an issue where my sourcemap is often not loading correctly. The soruceMappingURL seems to be relative (doesn't start with a slash), which normally would be good, because it'll be loaded relative to whatever url the bundle is loaded from. However, in my case, I'm embedding the bundle in a base-file that can be loaded from many URLs, while the sourcemap file is obviously only in one location. Is there a way I can tell webpack a different sourcemap location to write in the bundle?
Really this problem comes from the fact that I'm embedding the bundle into an html file (to save an http request). There are a couple problems with the way I'm doing it:
A. The column numbers for the first line aren't correct
B. The sourceMapURL issue above ^
Is there a better way to embed the bundle in an html file?

I know this is a closed issue, but I couldn't find a better place to post... if I try using SourceMapDevToolPlugin with UglifyJsPlugin I end up with 2 sourceMapUrls in my js file.  Any way around this?


Sortable products in collections

Definitions

[x] Categories contains sortable products -> category_sort -> qs = category.products
[x] Collections contains sortable products -> Many2Many - through: CollectionProducts -> product + collection
[x] References are properly deleted/cleaned and handled, no traces are left when a change is made to relation
[x] Can sort by category custom sort
[x] Can sort by collection custom sort
[x] Can retrieve the sort position of a product inside a category (implicit, only the relative position)
[x] Can retrieve the sort position of a product inside a collection (implicit, only the relative position)
[ ] Can be able to sort products within a collection/category through filters edit: #4143
[x] Migrations are done and migrates old data, if needed

GraphQL Mutations

[x] ProductCategoryReorderBulk (bulk)
[x] ProductCollectionReorderBulk (bulk)

Pull Request Checklist

[x] Privileged views and APIs are guarded by proper permission checks.
[x] All visible strings are translated with proper context.
[x] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Database queries are optimized and the number of queries is constant.
[x] Database migration files are up to date.
[x] The changes are tested.
[ ] The code is documented (docstrings, project documentation).
[x] GraphQL schema and type definitions are up to date.
[x] Changes are mentioned in the changelog.

Magic Words
I summon with my magic wand... closes #3900.

Looks great @NyanKiyoshi!


Whole project visibility

I would like for github copilot to be able to read and understand every file in the project.
Diagram/image/pdf generation would also be nice.

Good point. I think when copilot finally migrates to GPT-4-Turbo, this will be possible. With just 16k tokens you can't really provide project context understanding, but with the new 120k tokens it probably at least be able to use the last few opened files or the files that are in the same directory/references to other files as context.

Forget project context understanding.  I am on a certain file which I just generated, and asked for changes to that file, it is not able to do it.

yea would be great if you can tell copilot which files in your workspace you want it to consider in a single context too! (in case I have folders that are not related to a certain project in the same workspace)

100% needed to make complete use of the AI. Even WITHOUT the 120k token limit, if the AI could just go into source files and get a basic idea or run down of what the code does a level or two down, it could give much better advice or code suggestions instead of making guesses.

Not clear whether you have used @workspace and are asking for that or improvements to it

Not clear whether you have used @workspace and are asking for that or improvements to it

I think I tried using @workspace before and it refused reading a .txt file containing info about the project.
I tried it again and with @workspace I am indeed able to make copilot read the whole code base.
Thanks, I will close the issue.


Fix image path for graphiql UI screenshot

With #2687 image extension was changed from .jpg to .png, but the readme link was not updated according to the new file extension

Thanks a lot for catching that and opening a PR 🙌 in fact I just merged that same fix that came in an hour earlier in https://github.com/graphql/graphiql/pull/2703, so I'm closing this.


Private repo copy

hello,great share!I‘m a newcomer to xamarin, I'm studying your XamarinComponents,but  some  be short of jar or arr,leading to build failure,can you send me jar and arr,please,thanks,my<EMAIL_ADDRESS>

@shmliao We are missing some info in the readme.  We will add that in the coming days.
The content will be similar to our Facebook repo
You can join us on Gitter as well.
The basic idea is that the cake build scripts will fetch all the 3rd party dependencies such as jars and aars.


Enable CORS for Try it out

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I recently made serverless - tiny api server for my project.
therefore i need to make another documentation, but i dont want to separate document projects.
so I made two swagger documentation in one project,
which i used from this topic:Docs/improve multiple instance docs #128
and it working great.
BUT there is another probloms with Try it out on sawggerUI.
this -newly created document- is not a same url as original.
therefore my test result shows CORS error like below

i tried to add cors request headers on swagger API like above image,
and enabled cors on express.js like below.

Describe the solution you'd like
i see some of difference packages are have enableCORS option on init, or they can just simply enable cors on express.js.
Describe alternatives you've considered
sorry, no idea.
Additional context
First of all, i have no clue that i tried right way or not.
i did enabled cors in my server decade ago, but oddly, cors error has occurred on swaggerUI.
full request and error log of first screenshot is below
request info :
General
- Request URL: http://localhost:7071/api/HttpTrigger1?code=EIfMtpIuZfCUajK4txznaZX/w5JED0ITZjbY/RFUE4KX/MLCbtT4HQ==
- Referrer Policy: strict-origin-when-cross-origin
Header
- accept: */*
- Access-Control-Allow-Headers: Content-Type,api_key,Authorization
- Access-Control-Allow-Methods: *
- Access-Control-Allow-Origin: *
- Content-Type: application/json
- DNT: 1
- Referer: http://<IP_ADDRESS>:3000/
- sec-ch-ua: "Google Chrome";v="89", "Chromium";v="89", ";Not A Brand";v="99"
- sec-ch-ua-mobile: ?0
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

General
 - Request URL: http://localhost:7071/api/HttpTrigger1?code=EIfMtpIuZfCUajK4txznaZX/w5JED0ITZjbY/RFUE4KX/MLCbtT4HQ==
 - Request Method: OPTIONS
 - Status Code: 404 Not Found
 - Remote Address: <IP_ADDRESS>:7071
 - Referrer Policy: strict-origin-when-cross-origin

RequestHeader
 - Accept: */*
 - Accept-Encoding: gzip, deflate, br
 - Accept-Language: ko-KR,ko;q=0.9,en-US;q=0.8,en;q=0.7
 - Access-Control-Request-Headers: access-control-allow-headers,access-control-allow-methods,access-control-allow-origin,content-type
 - Access-Control-Request-Method: POST
 - Connection: keep-alive
 - Host: localhost:7071
 - Origin: http://<IP_ADDRESS>:3000
 - Referer: http://<IP_ADDRESS>:3000/
 - Sec-Fetch-Dest: empty
 - Sec-Fetch-Mode: cors
 - Sec-Fetch-Site: cross-site
 - User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36

Response Header
 - Content-Length: 0
 - Date: Mon, 29 Mar 2021 04:25:46 GMT
 - Server: Kestrel

ERROR LOG ON CONSOLE
* Access to fetch at 'http://localhost:7071/api/HttpTrigger1?code=EIfMtpIuZfCUajK4txznaZX/w5JED0ITZjbY/RFUE4KX/MLCbtT4HQ==' from origin 'http://<IP_ADDRESS>:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
* POST http://localhost:7071/api/HttpTrigger1?code=EIfMtpIuZfCUajK4txznaZX/w5JED0ITZjbY/RFUE4KX/MLCbtT4HQ== net::ERR_FAILED

turns out, it work if you call cors() on express init.
i just mis-settings on endpoint.
Thankyou for support anyway! <3


eigensolver can't converge when computing a few more eigenvalues on some graphs

conroy or tamas budvari might be able to help with that.  do you know tamas?
On Fri Jan 09 2015 at 9:04:19 AM Da Zheng<EMAIL_ADDRESS>wrote:

—
Reply to this email directly or view it on GitHub
https://github.com/icoming/FlashGraph/issues/75.

I don't think I know tamas budvari. Let me look into the problem deeper and find the question I want to ask first.

he is AMS faculty, worked with alex for years.
he'd be very excited to get involved i think,
and very useful from a numerical linear algebra perspective, since that is
what he does :))
On Fri, Jan 9, 2015 at 9:30 AM, Da Zheng<EMAIL_ADDRESS>wrote:

I don't think I know tamas budvari. Let me look into the problem deeper
and find the question I want to ask first.
—
Reply to this email directly or view it on GitHub
https://github.com/icoming/FlashGraph/issues/75#issuecomment-69340606.

--
it's our dream
openconnecto.me, jovo.me, my calendar
https://www.google.com/calendar/embed?src=joshuav%40gmail.com&ctz=America/New_York

I think I might have met him before. I'll talk to them once I have my question.

We will no longer make effort to improve the implementation of this eigensolver.
We'll be able to provide an eigensolver after we port Trilinos to our framework.


Dependencies?

On plain vanilla nixos (not nix-bitcoin), I tried installing sparrow as per the instructions.
Unpacking worked but the file does not execute. I think it is lacking dependencies, which nixos does not come with by default. Thus my question here:
What are the dependencies for sparrow wallet so that I can run it on nixos?
Thank you

The dependencies are very minimal and should be present already, AFAIK. See https://github.com/sparrowwallet/sparrow/issues/372#issuecomment-1239169799: libc6, xdg-utils, zlib1g
Did you use the correct download for your system architecture (arm vs amd)?

Thanks Craig, I think I got the right download but I will double check now. I did think it was a depenencies thing because blockstream green quits as well in the same fashion with the same error message. I grab the exact message next time in nix, I've not got my github connection set up there

Can we close this?

Sure


[CREATED]: Created basic structure for login page

->Vishruth VS
->Created the basic working structure for login page

Hi @VishruthVS ,
Thank you for your pull request! I appreciate your contribution to the project.
Your changes do not conflict with existing ones. But I'd like to suggest you following things :

Next time when you make PR, do include screenshots (if you have) of working changes in the PR.
Create separate styling file for each separate page (if you work on one).
Include proper comments on necessary lines.

Best regards,
Avinash Dubey
Repository Maintainer/Manager


For Game where there are destinations, show the Corp Specification to show Location

For Games with Destinations (1856), In the Round Frame, show [  CA (H16)  ] and once the Destination is reached [  CA ***  ].
In the Corporation Frame (where there is more space):
Destination  [A20] Detroit-Windsor
This

Added to Abbrev Label  [. CA (Destination: H18 ] if not reached yet. Otherwise [. CA*  ] when it has reached it's destination.


No data on lots of metrics

Lots of the metrics show no data, is this only me or a configuration issue ?

Probably only you and probably a configuration error 🙃

You probably need to run kube-state-metrics-config.
I'm also here to add that those metrics (reconciliation status of all resources) should probably be exposed by default. Also, not everybody needs grafana, prometheus and loki, some of us have those already, we just need the dashboards. For reference, I use TrueNAS + TrueCharts.
Can we somehow contribute this to the readme and maybe split the repo in a way that we can install some parts of it?

We have Flux Bug Scrubs where the primary authors and maintainers of the monitoring config are typically in attendance, if you want to propose a PR, or discuss a failure mode that you think we could solve with a new structure, we're very friendly and we will be glad to look at your idea.
The meeting is 1.5x for each Flux Dev Meeting, it would be great to have anyone present your problem or idea there. We can look at your config and try to help you resolve common issues, I would not consider this a major imposition on our time even if it turns out to be your particular issue, since it helps us as docs authors to understand what are the common issues.

Cool, I'll join next Wednesday!
Just for reference, I will share here my pain-points, maybe those can serve as Agenda for discussions.

I installed Kibana+Prometheus seamless with 1-click deployment from TrueNAS / Truecharts
Bootstrapped flux and enjoying using it with Gitlab CI.
I wanted more visibility into what flux was doing after git commit and found the only dashboard on the official marketplace, not updated since 2022: https://grafana.com/grafana/dashboards/16714-flux2/ -- maybe @jtyr is the owner and can help us update it or share access to it to the maintainers of flux.
Half of the metrics do not work anymore with latest flux version, since deprecation in v2.1.0
I then tried finding why this is and found this repo, where everything is very tightly integrated, it is an "take it all or nothing" solution, that does not fit my use-case (and hopefully others too, to make this worthwhile).
I spent a few hours without success to manually install only loki and kube-state-metrics-config, but failed, even tho I have years of experience as DevOps 🙂
while researching, I found out that loki-stack is deprecated as well, and that version is too old for the latest version of grafana.
for my use-case, I only needed the dashboards, which I added manually by json, but then... flux removed all metrics relevant for them to work from the controllers, namely gotk_resource_info does not exist by the default.

Proposals:

include gotk_resource_info as default metrics in the controllers, so people can easily monitor flux with existing grafana installations (including grafana-cloud)
split the stacks into smaller parts, so that one can install just the parts needed, switching to a different loki chart, including kube-state-metrics separately as well.

Thank you for reading this!
R

OK, thanks @razvanphp - we took some of your feedback during bug scrub this week, and we brought it back to the dev meeting, although it happened after the recording, so our discussion was not captured.
Basically two or three points I can synthesize from that about how our docs can improve, there are a few other points about our examples, but I think the example will mostly stay how it is now, with only minor changes. It is all-in-one on purpose.
The problem with adding multiple paths in the docs is that we already have trouble keeping up with kube-prometheus-stack and examples will quickly grow stale when you don't test them. So who is going to test and maintain multiple examples of use cases intended for different people? We should not make any maintainers' job so big that one person cannot do it all. (And if there is separate configuration for kube-state-metrics, how will we ensure that we keep multiple examples in sync?)
Hopefully kube-state-metrics won't have breaking changes in the future, maybe this section does not change and concerns are overblown, but who knows?
I think we can make some minimal changes to support the stand-alone kube-state-metrics use case directly in the docs without going afoul of these issues, but yours (and my) complaint extends a bit deeper. There is a big gap in the Prometheus docs themselves, they are not super accessible, and they do not pick up where Flux docs leave off in any meaningful sense. Perhaps this need should be served by some sort of company that provides Prometheus training as a core goal. I think the Flux example does not go far enough, for the person who is in a green field and setting Prometheus up from scratch.
But we are not that company to provide Prometheus training... still we should be able to provide complete examples, including everything you need to monitor Flux, and how to install those alerting rules, dashboards, etc. - you should not be left on your own to pick it apart from the all-in-one example, it should be straightforward to add a PrometheusRule for alert or Grafana dashboard to an existing installation of both, we can provide these as easy instructions for an existing installation.
Anyway, we concluded at the dev meeting with some discussion that these things may not all belong in the Flux docs, but a blog post instead. Blog posts are allowed to stray from project core goals, blog posts can get stale and nobody sees it as bit-rot. So that's the best place to provide this much detail, and as I have lots of experience with this pain point personally, I volunteer to write the post.
Briefly, I do not find the Prometheus ancillary tools docs very accessible, tl;dr: I went looking for AlertManager docs, found https://prometheus.io/docs/alerting/latest/overview/ and clicked through to the rest, I'm getting strong "draw the rest of the owl" from these docs and I do not know how one is supposed to get from the Flux monitoring guide as a beginner to the next step that should come after it, where monitoring is configured with some basic alerts to notify you when things go wrong.
And I have configured alertmanager before (it's serviceable, it works, but it is ugly) - this is partly a Helm issue because merging arrays in values.yaml is not possible. So I wound up with a full copy of the default values.yaml with all the default alerts in it, and it has surely diverged from upstream by now. I did my best, for a first attempt; I wouldn't do it that way again.
This is not only about kube-state-metrics but it is the same thread. It's about configuration of Prometheus ecosystem tools after day 1. Some users may not want to use the umbrella chart, some users may not use Helm values for the configuration at all. @swade1987 linked me a post from Mettle that goes even further (skipping over the CRDs as well, to entirely do the configuration with all ConfigMaps and way more GitOps... https://swade1987.medium.com/monitoring-mettle-59bbbb408ff)
I think I can use CRDs to do most of the configuration, rather than Helm; maybe we analyze the configuration as helm values and then show the resulting configuration as flat YAML to show how Prometheus is configured to scrape, for understanding?
And similarly, there is no straightforward path to install Flux grafana dashboards without copy-pasting a bunch of JSON from the monitoring guide. The marketplace makes this easy, if you publish in there, but we haven't. (Then someone will need to maintain the dashboard there. Maybe we can ask the person who already posted a flux2 dashboard to update it, or hand over control of the existing entry so we can update it.) I'm not prepared to do all that now, but it could be part of this same effort. The blog should show all of how to add alerts, grafana dashboards, scraped metrics, anything else I forgot for day-2?
Let's walk people through the all-in-one monitoring example in brief, point out the things it already covers well, and discuss the handful of different ways to configure a Prometheus installation (either through values, through CRDs, or through configmaps) then pick one that's a bit divergent from what the docs already show to provide a new complete example.
Since the metrics from kube-state-metrics are so pivotal, we can provide an example installation of KSM that stands alone and show how to connect it to the metrics collectors, (I think I'll actually use victoria metrics for this, because I heard it is fully compatible with Prometheus; it's something that people might actually want, and moreover it won't be fully redundant compared to what we already show. Plus it happens to be on my way now... it is the metrics aggregator used by default in Cozystack, I am not choosing it from my own experience, so in truth I do not know at all yet how similar it will actually be.)
After having written all that out, it definitely sounds like at least two different blog posts.
Anyway, if you (anyone) want to help with this, it'll be work-in-progress for a few weeks while I figure out my own mess. I'll post a PR on fluxcd/website soon and link it back here.

The Flux Operator exposes metrics for all Flux resources without the need for kube-state-metrics nor Prom Operator. I plan to create a dashboard for it that should work with plain Prometheus or any of the managed Prom services from AWS, GCP, Azure.

The Flux Operator exposes metrics for all Flux resources without the need for kube-state-metrics nor Prom Operator. I plan to create a dashboard for it that should work with plain Prometheus or any of the managed Prom services from AWS, GCP, Azure.

@stefanprodan Has there been any progress on this? I imagine the existing dashboard could be modified, at least in part, to use the new metrics from the operator.


remove false info about admin groups

https://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/issues/904

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@kwekuako - PR has been copy edited and is ready for final review. This is based on issue #904
Thank you.
cc: @kenwith


Rotated thin ImageMobjects jitter on animation

When an ImageMobject is much taller than wide, rotated, and then moved in an animation, it jitters around its supposed position.
class TestScene(Scene):
    def construct(self):
        pencil = ImageMobject(filename_or_array='pencil_white2').rotate(TAU/8)
        self.add(pencil)
        self.play(pencil.move_to, RIGHT)

This only happens with images that are taller than wide, not the other way around.
The initial rotation is necessary to produce the bug.
An unrotated ImageMobject also jitters on self.play(pencil.rotate, TAU/4), but not on self.play(Rotate(pencil, TAU/4)).

Can you provide a link to the image you used, or another image that causes this behavior?


Add config.json file

Pull Request Test Coverage Report for Build 196

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

Totals

Change from base Build 180:
0.0%

Covered Lines:
1488

Relevant Lines:
1603

💛  - Coveralls


Comments; Remove emoji and attachment buttons

If you want to attach a file/image or an emoji to your comment it doesn't open the window when you actually click on those buttons.

Remove them, we won't use them!


Component Graph doesn't expand to full width of devtools window

I apologize if this is some sort of limitation I'm unaware of, however the component graph doesn't expand the full width of the window.

Chrome 55.0.2883.95 (64-bit)
macOS 10.12.3
Let me know if more info is needed. Otherwise, great tool keep up the good work.

thanks nick, we will get right on it!

Hey Nick - just uploaded the fix for this. Thanks for letting us know.


docs(readme): Remove outdated plugin docs

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Default to kind:uups if UUPSUpgradeable in inheritance list

Objective: Create detection for the upgradeTo function and default to kind:UUPS if the function is present in the contract.
Hint: implementation should be present in deploy-proxy.ts and will make use of the AST for checking for a function
Tasks:

[ ] Hardhat Implementation
[ ] Hardhat Tests
[ ] Truffle Implementation
[ ] Truffle Tests


Add Track Awesome List Badge

Hi, @fffaraz :
I'm Owen, a big fan of awesome-cpp. After discovering this awesome list, I read all kinds of interesting items in the entire list. After that, I wanted to see what updates were made to this list every once in a while, and had to go through Github's commit history to see what was updated for each commit. To be honest, it was quite a poor reading experience.
So for this need, I created Track Awesome List in my spare time, and created a profile for awesome-cpp, https://www.trackawesomelist.com/fffaraz/awesome-cpp/ . With this link, we can read the latest updates of awesome-cpp by day/week, daily updated. I wonder if anyone else has this need to see the latest updates, and if so, whether to add this badge link somewhere in the readme to tell others they can see the updates via this link?

There are also some other awesome repos like awesome-vue, free-for-dev, awesome that have added this badge or link.
Let me know what you think. I'm happy to receive any feedback or suggestions for improvement. I want this to be as useful as possible.
If you don’t think it’s necessary, that’s okay. I really appreciate you maintaining such an awesome list. I like this list.

Nice job!


Migration to Chrysalis wallet.

I can not get my balance from Trinity to Firefly wallet. How to do it?

Hey. It's best to join the Discord and ask in the #help channel about these sorts of things.

Sorry but Discord does not accept the invitation. I am really worry about
my balance. Thack you.
El jue., 29 abr. 2021 14:46, Charlie Varley @.***>
escribió:

Hey. It's best to join the Discord https://discord.iota.org/ and ask in
the #help channel about these sorts of things.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/iotaledger/firefly/issues/1066#issuecomment-829207702,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASTA2OXQ46XBGY5LOBSKRP3TLFIIVANCNFSM43Z2K5ZA
.


try unit conversion instead of literal dimensionality check #99

Closes #99.
No extra test needed, coverage remained the same.
py38-django32: OK (38.93=setup[23.56]+cmd[15.37] seconds)
py39-django32: OK (41.60=setup[31.53]+cmd[10.07] seconds)
py310-django32: OK (42.34=setup[30.75]+cmd[11.59] seconds)
py311-django32: OK (41.89=setup[31.09]+cmd[10.80] seconds)
py38-django42: OK (47.90=setup[31.02]+cmd[16.88] seconds)
py39-django42: OK (41.26=setup[30.63]+cmd[10.63] seconds)
py310-django42: OK (42.95=setup[31.91]+cmd[11.04] seconds)
py311-django42: OK (40.84=setup[30.06]+cmd[10.78] seconds)
congratulations :) (337.97 seconds)

Actually I was just thinking if you wanted me to write a test that check that the context actually works.
Please comment.

Added a bunch of tests for the context functionality.

LGTM beside the missing docstring for the test. Now I think I understood what is happing.


Issue 994 refactoring

EhcacheEntityMessage entity messages are divided into two subtypes: ServerStoreOpMessages and LifeCycleOpMessages. And this reflects in the encoded messages as well. We have a byte reserved to identify this top-level split and another byte specifying the actual operation. Do we really need this extra byte in the message payload itself. It is just one byte but one that gets added to all cache operation messages making it a bit costly. Can't we get rid of this top level type byte somehow? Looks like an implementation details leaking out to the messages. I know this is a perf improvement and could be looked at later.

Decoupled the codecs and messages.

Rebased and removed all message factories from constructor visibility..

Still have a number of remarks on the internals of a few classes. However, structure looks ok and since there are dependencies on it, merging now.


Custom Build Save Path does not work

Giving a custom build save path in Options successfully changes it to the correct folder, but next time you open PoB it won't remember it. Then, all my "shared items" seem to be missing.

Where is PoB installed? This behaviour indicates that the settings file isn't being saved correctly.

I have two drives, an SSD and an HDD, not sure if that matters. It's installed on the SSD.. Program Files(x86)\Path of Building. The place I'm trying to change it to is my OneDrive folder in the HDD.

Are you using the normal installer (the .exe) or the standalone .zip?

The Settings.xml file is saved in "%ProgramData%\Path of Building"; could you check if that folder is read-only?

I tested it some more.. Turns out it only happens when I restart my computer. If I just quit the application but don't restart my computer it remembers the folder.

Weird, it seem to be working even on computer restart now! I didn't change anything. If it stops working again I'll let you know...


Pannelum load event with multires

Hi, I have an issue caching load event (with autoLoad:true) when using multires panaorama.
The load event fires before the code viewer.on('load'....
If I add little delay with setTimeout in pannellum.js to this line fireEvent('load'); then load event works with following code, but this is not something I want to do.
Is there a way I can rewrite this code so I can hear the load event after I init panorama?  How could I attach listener before I actually set pano data to load?
  `var viewer = pannellum.viewer('panorama', {
	autoLoad:true,
    "type": "multires",
    "multiRes": {
        "basePath": "./multires",
        "path": "/%l/%s%x%y",
        "fallbackPath": "/fallback/%s",
        "extension": "png",
        "tileResolution": 256,
        "maxLevel": 4,
        "cubeResolution": 2048
    }
});

viewer.on('load',
    function () {
        console.log("load");
    }
);`

When constructing a viewer with a multires panorama and autoLoad: true, the panorama will be considered loaded before the pannellum.viewer  returns. Thus, there is little reason to have an event listener for this. You could accomplish the same thing by just calling your event handler manually with something along the lines of:
var viewer = pannellum.viewer('panorama', {...});
function loadHandler () {
    console.log("load");
}
viewer.on('load', loadHandler);
loadHandler();

Alternatively, instead of setting autoLoad: true, just call viewer.loadScene(); after adding your event listener.

So with multires, Is there a way of actually knowing when the scene has loaded (maybe with some code mod) so I can fade in scene nicelly?

You can query the loading status with viewer.getRenderer().isLoading().
However, tile loading is linked to rendering for performance reasons, so a scene won't load if it isn't being rendered.


HR: Empty strings in optional fields

@kristinaleko In file HR 2.json, the optional fields ma and nm are present and hold empty strings. The correct is to not include these fields if they haven't got a value. Including an empty string for ma leads to validation errors when checking against allowed value-set.

@martin-lindstrom @daniel-eder also for testing and closure :)


Compute the sensitivity of index terms, zero grad

We have terms to access the contents of a matrix/vector (Index m i j and VIndex v i) which do not appear as such in duet. The question is what scaling should be applied to the context of the index.

Is ZeroGrad 1 sensitive in the model?

actually Index appears in duet, but it is hidden on page 21 of the paper. it is 1-sensitive in the matrix and infinitely sensitive in the indices. it's the same for vectors.
ZeroGrad is (at least in our way of treating gradients as if they were totally independant from their models) only an mcreate term used on the model dimension. it is hence 0-sensitive in the model. in addition, the clipping parameter does not need to be unbounded in the result matrix, as we know it only has zeros.


Scrolling inside a Layer

I'm using react-scroll for focussing on special sections of an application that is rendered on a single page, which works fine as long as it's rendered in Fullscreen. But for some entrypoints there will be a layer (or overlay) opened where this app is rendered in (scroller and elements are implemented inside of this app).
In this case the scrollTo-function leads to scrolling to the coordinates defined by the section-Elements, but only in the background instead of the contentLayer they're defined in.
Does anyone know how to bind this to the opened layer e.g. by setting special parameters, using css or something or will this be an issue created because of the implementation of the layer components?
(These are created by an external service I have to use, so I'm not sure what exactly happens behind the scenes)
Thanks in advance

We are having the exact same problem.
It would be nice, if we could provide the scroller with a reference of the element it should scroll on.
Is a feature like this planned?

Scrolling in a container is supported, checkout the examples.

I am trying to use scrolling in a container, but fail.
I have a fixed modal, which is my container, some levels of nested elements and somewhere inside - my element I'd like to scroll to. But when I use scroller.scrollTo('Name', options) it scrolls to the top of my fixed container, not to the position of my element.
As far as I can understand, here https://github.com/fisshy/react-scroll/blob/ad6d5cf6feb58e4fe0ef9e4a1ab94f714f732e9a/modules/mixins/utils.js#L33 point of scrolling is calculated as t.offsetTop, but it is always 0 in my case, because the element I want to scroll to has no offset from its parent, but its parent is not the container!

give id to your outer component and use your Links with same id of your container. See example below

1st element
2nd element
3rd element

give your outer component an id and give your links to this id like example below


Unknown binary operator

Here's a MWE for an error I experienced:
julia> using Enzyme

julia> function f(x)
           y = (x + im)*(x - im)
           real(y)
       end
f (generic function with 1 method)

julia> autodiff(f, Active(2.0))
4.0julia> function g(x)
           y = (x + im)*(1 - im*x)
           real(y)
       end
g (generic function with 1 method)

julia> autodiff(g, Active(2.0))define dso_local double @preprocess_julia_overdub_1835(double) local_unnamed_addr {
top:
  %1 = bitcast double %0 to i64
  %2 = and i64 %1, -9223372036854775808
  %3 = bitcast i64 %2 to double
  %4 = fsub double 1.000000e+00, %3
  %5 = fmul double %4, %0
  %6 = fadd double %5, %0
  ret double %6
} constantinst[  %1 = bitcast double %0 to i64] = 0 val:0 type: {[-1]:Float@double}
 constantinst[  %2 = and i64 %1, -9223372036854775808] = 0 val:0 type: {[-1]:Float@double}
 constantinst[  ret double %6] = 1 val:1 type: {}
 constantinst[  %3 = bitcast i64 %2 to double] = 0 val:0 type: {[-1]:Float@double}
 constantinst[  %4 = fsub double 1.000000e+00, %3] = 0 val:0 type: {[-1]:Float@double}
 constantinst[  %5 = fmul double %4, %0] = 0 val:0 type: {[-1]:Float@double}
 constantinst[  %6 = fadd double %5, %0] = 0 val:0 type: {[-1]:Float@double}
cannot handle unknown binary operator:   %2 = and i64 %1, -9223372036854775808
ERROR: LLVM error: unknown binary operator
Stacktrace:
 [1] handle_error(::Cstring) at /home/mason/.julia/packages/LLVM/dVU7J/src/core/context.jl:105

Oh this is a pretty interesting bithack that Julia seems to have emitted (abs(x) == and(x, MAGIC NUM)).
Usually horrible bithacks of active values tend not to be handled in Enzyme automatically but this one should be easy to ensure happens.
I'll make a patch to Enzyme proper and we'll propagate that to Enzyme.jl shortly

Merged in #31


IMPORT CV2

📚 Documentation
(A clear and concise description of what the issue is.)
Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)

Hey @Sanskrutim17 Sorry for the late response, I wanted to know what is the issue that you are trying to solve. I am not able to understand properly.


Skip Firefox test using Cypress v9 to resolve flaky tests

This PR resolves the issue https://github.com/cypress-io/github-action/issues/659 "CI: Sporadic failures in example-firefox".
The Firefox test under Cypress v9 in .github/workflows/example-firefox.yml is disabled, since it is unreliable and the issue has been shown to be reproducible on a local machine independently of github-action.
This allows the Cypress v10 test to then run reliably.

Test results
The results are good!
Success
Note especially the success of example-firefox / firefox-v10 https://github.com/cypress-io/github-action/actions/runs/3670236402/jobs/6204633271 🙂
Skipped
As planned, example-firefox / firefox (the v9 test) is skipped https://github.com/cypress-io/github-action/actions/runs/3670236402/jobs/6204633548
Failures

Due to issue https://github.com/cypress-io/github-action/issues/657, which should be fixed when https://github.com/cypress-io/github-action/pull/658 is merged:

In detail:

https://github.com/cypress-io/github-action/actions/runs/3670236396/jobs/6204633636
https://github.com/cypress-io/github-action/actions/runs/3670236396/jobs/6204633841

Hi @jaffrepaul
How do you feel about this PR?
Disabling the Firefox test on v9 is a quick workaround to get the test suite to succeed running v10, instead of getting tripped up on  "Error: could not find CRI target" from the v9 test.
I don't expect to see a fix for this scenario however, so a more permanent solution would be to remove the complete v9 test for Firefox instead of simply skipping it.
@nagash77 responded in https://github.com/cypress-io/cypress/issues/23215#issuecomment-1351486158 so I don't expect any change in the Cypress code for 9.x. If there is no identified issue on the Mozilla Firefox side with CRI (Chrome Remote Interface?) then there is also not much likelihood of Mozilla issuing a fix. So in total there is not much chance of this test becoming reliable again.

Thanks @MikeMcC399. Im ok to skip this test but leave as-is for reference and the thread which discusses things in more depth.

@jaffrepaul
I'm happy you agreed and it is rewarding to see that the badge

and all other workflows are succeeding!


Custom Select component value using editComponent

Hi people!
I have an editable table with MUI Select components rendered by the editComponent attribute. Everything works well until I save the data row. Instead of displaying the text of the selected value, it shows the value. After clicking on the Edit button, it shows the Select correctly, with the correct text. According to my investigation, rowData stores the value of the Select component and not the text. I think this behavior it's ok, but how can get the same behavior as when we use the lookup attribute?
This issue is made me feel crazy!! I also tried to get the rowData when clicking on the Edit button but was impossible.
Please, I really appreciate any help!!
Thanks in advance!
Before save

After save

This is one of the Select fields:
const BANCOS = [
  { value: "", label: "" },
  { value: "1", label: "BROU" },
  { value: "2", label: "BCU" },
];
.
.
.
{
      title: "Banco",
      ...cellStyles(5),
      field: "codBanco",
      editComponent: ({ value, onChange, error, helperText }) => (
        <TextField
          select
          value={value === undefined ? "" : value}
          onChange={(e) => onChange(e.target.value)}
          style={{ width: 80 }}
          error={error}
          helperText={helperText}
        >
          {BANCOS.map((banco) => (
            <MenuItem key={banco.value} value={banco.value}>
              {banco.label}
            </MenuItem>
          ))}
        </TextField>
      ),
      validate: (rowData) =>
        rowData.codBanco === "" || rowData.codBanco === undefined ? "" : true,
    },

And this is the table:
        <MaterialTable
          title={TOTAL}
          data={data}
          columns={tableColumns}
          options={tableOptions}
          localization={{
            ...localization,
            toolbar: {
              ...localization.toolbar,
            },
            header: {
              actions: "",
            },
          }}
          editable={{
            onRowAddCancelled: (rowData) => console.log("Row adding cancelled"),
            onRowUpdateCancelled: (rowData) =>
              console.log("Row editing cancelled"),
            onRowAdd: (newData) => {
              return new Promise((resolve, reject) => {
                /*                 httpClient
                  .post(
                    "configurarEvaluacionDesempenio?accion=agregarModulo",
                    newData
                  )
                  .then((data) => { */

                if (!validarTipoCheque(newData.tipo, archivos)) {
                  console.log("no valid");
                  setMessageOpen(true);
                  reject();
                } else {
                  console.log("newData", { ...newData, archivos });
                  setData([...data, { ...newData, archivos }]);
                  resolve();
                }
              });
              //});
            },
            onRowUpdate: (newData, oldData) => {
              console.log("new Data", newData);
              console.log("old Data", oldData);
              return new Promise((resolve, reject) => {
                setTimeout(() => {
                  const dataUpdate = [...data];
                  // In dataUpdate, find target
                  const target = dataUpdate.find(
                    (el) => el.id === oldData.tableData.id
                  );
                  const index = dataUpdate.indexOf(target);
                  dataUpdate[index] = newData;
                  setData([...dataUpdate]);
                  resolve();
                }, 1000);
              });
            },
            onRowDelete: (oldData) => {
              return new Promise((resolve, reject) => {
                setTimeout(() => {
                  const dataDelete = [...data];
                  const target = dataDelete.find(
                    (el) => el.id === oldData.tableData.id
                  );
                  const index = dataDelete.indexOf(target);
                  dataDelete.splice(index, 1);
                  setData([...dataDelete]);
                  resolve();
                }, 1000);
              });
            },
          }}
        />

Hello! Would you mind throwing that into a sandbox so we can take a look?

Hello @oze4, thank you for your reply.
Here is the example in CodeSandbox. I had to reduce a lot of code but the behavior of Select fields is the same in this example.
The is a problem, every action is delayed due to an error that I don't understand but it works anyway.

CodeSandbox

In your useTable file/hook, when rendering the MenuItem component you can just pass the .label into the value prop instead of passing the .value in.
I changed it to the following and it worked:
// Pass in `.label` to the `value={..}` prop
<MenuItem key={banco.value} value={banco.label}>
    {banco.label}
</MenuItem>

I don't know how the lookup attribute works internally, but it has a value and a label, after saves data it display the label and not the value.

Thank you! I really appreciate your help!
Now, I added a new field that uses lookup. If you take a look at the console.log, rowData stores the id of the country field and displays the text in the cell, that is the behavior I need for my custom select.
The server comes when it takes to save the data in the database. The value of the options selected corresponds to an ID in tables in the database and it is the foreign key for the data I am stored in another table. It's for performance. Imagine if I have to display 100 options, I will not write them in a JS file, I will get them from the database and then load them in a select with their corresponding id.
I hope you can understand. Again, thank you very much for your help!!
https://codesandbox.io/s/material-table-starter-template-forked-kz7f8f?file=/src/useTable.js

Ok cool that makes sense. You would have to keep track of that logic yourself, most likely within the onChange handler in the TextField.
Another way would be to use the lookup column prop and modifying the data before passing it in. https://codesandbox.io/s/material-table-starter-template-forked-t898yo?file=/src/index.js
I honestly can't think of a quick/easy way to accomplish that - are you overriding the editComponent to change styling?

Another way would be to use the lookup column prop and modifying the data before passing it in.
Is the correct answer here, I think. Since we use the keys for mapping and values for display, the lookup item you pass must be shaped like this as well.
If you look into the ts files: https://github.com/material-table-core/core/blob/master/types/index.d.ts#L227 you can see that it should not be an value label array, but an object, where key is the id and value the display value.

@raulrobi2018 Maybe this helps as well: https://medium.com/@domino051/cascading-dropdown-material-table-e9025a424715

Thank you @Domino987 !!
It is not exactly what I need but it solved another problem I had.
Thank you very much!!

@raulrobi2018 You are trying to display an object because if you console.log your value, its an object. But you need the value.
SO try this:
 onChange={(e, {value}) => {
            onRowDataChange({ ...rowData, tipo: value });
          }}

Or else tipo is and object and react cannot render an object, once the edit is through and row.tipo is accessed.

Thank you very much @Domino987 . I'll try it!

Hi @Domino987 @oze4 ! Finally solved!!
The key was to change the field attribute of the column definition. I was defining the field attribute of the column "tipo" with tipo value, instead of doing that I changed it to tipo.title.
Since I managing the Autocomplete with objects and setting the value with the title attribute, the field should be referenced with the same attribute title as well.
Take a look at the console.log to see the object selected in the autocomplete inside the rowData.
Here is the sandbox:
Sandbox


jimtcl: Fix cross compilation and allow disable of SDL

Jimtcl is dependency of OpenOCD that does not need SDL. For some embedded systems it is beneficial to not pull in graphics related dependencies to reduce the size. The second reason is that right now SDL_gfx is not cross compiling and thus OpenOCD can't be cross compiled either.
This also fixes cross compilation of Jimtcl itself. The attempt to cross compile resulted in:
  No installed jimsh or tclsh, building local bootstrap jimsh0

The solution here is to add jimtcl to native build dependencies in case of cross compilation.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

The solution here is to add jimtcl to native build dependencies in case of cross compilation

we could use tcl instead. it has less dependencies and is deeper in the dependency graph

The solution here is to add jimtcl to native build dependencies in case of cross compilation

we could use tcl instead. it has less dependencies and is deeper in the dependency graph. We could even add it unconditionally

That is a good idea... done.

Look like that broke darwin
timer-3.2 ERR TimerHandlerEventProc procedure: multiple timers
/private/tmp/nix-build-jimtcl-0.82.drv-0/source/tests/timer.test:61:Error test failure
Expected: {80 {80 240} {80 240 400}}
Got     : {80 {80 240 400} {80 240 400}}

Looks like this could be a bug either in tcl or jimtcl. I guess we should report it upstream and meanwhile bootstrap through jimtcl like you did initially

I reverted the fixup.

Look like that broke darwin
timer-3.2 ERR TimerHandlerEventProc procedure: multiple timers
/private/tmp/nix-build-jimtcl-0.82.drv-0/source/tests/timer.test:61:Error test failure
Expected: {80 {80 240} {80 240 400}}
Got     : {80 {80 240 400} {80 240 400}}

Looks like this could be a bug either in tcl or jimtcl. I guess we should report it upstream and meanwhile bootstrap through jimtcl like you did initially

the error is still happening

Upstream provided a fix: https://github.com/msteveb/jimtcl/issues/282#issuecomment-1718405499
We can try applying it and going back to tcl

I added the patch from the upstream. Hopefully, it will fix darwin.

Seems like the patch depends on https://github.com/msteveb/jimtcl/commit/d6ce55ad7e01a51acb8a2a909383366ecc89d0b2
We can try applying that too, or (probably better) we can just disable that test for now.

@Artturin you're on darwin right? Could you try to build jimtcl with src set to this branch so we can let upstream know if the patch works?

We can try applying that too, or (probably better) we can just disable that test for now, as suggested by upstream.

I just removed the problematic test file for now.

@Artturin you're on darwin right? Could you try to build jimtcl with src set to this branch so we can let upstream know if the patch works?

I am not on darwin, I only looked at ofborg CI


Short solution needed: "How to use freetype font" (php-gd)

Please help us write most modern and shortest code solution for this issue:
How to use freetype font (technology: php-gd)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to use freetype font


Some problems encountered in getting started of Development Environment

Firstly, I import the SPIFe projects from Github into Eclipse. However ,when I select the SPIFe target definition,the Target Editor shows broken locations, then I follow the directions and click the "Update" button, but it doesnot fix the problem.
I guess the address has been updated
No repository found at http://download.eclipse.org/technology/nebula/snapshot, etc.
Could you please help me

Yes, replace that location by this one:
http://download.eclipse.org/nebula/releases/1.0.0

From: chenkoucer<EMAIL_ADDRESS>Sent: Thursday, April 9, 2020 1:04 AM
To: nasa/OpenSPIFe
Cc: Subscribed
Subject: [EXTERNAL] [nasa/OpenSPIFe] Some problems encountered in getting started of Development Environment (#5)
Firstly, I import the SPIFe projects from Github into Eclipse. However ,when I select the SPIFe target definition,the Target Editor shows broken locations, then I follow the directions and click the "Update" button, but it doesnot fix the problem.
I guess the address has been updated
No repository found at http://download.eclipse.org/technology/nebula/snapshothttps://urldefense.proofpoint.com/v2/url?u=http-3A__download.eclipse.org_technology_nebula_snapshot&d=DwMCaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=0Veb5elmyTpUKI9BXbgwBJ4tVpgoue6qwMv2Zw96YPI&m=mwPkmobPEX5hPtBDwyFkKJzWHl5EgtIeMjwBWJCKSFQ&s=2gW1lDFVdUKIe6URABBuTikMrB9smeArv6wgjkwHE7Y&e=, etc.
Could you please help me
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_nasa_OpenSPIFe_issues_5&d=DwMCaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=0Veb5elmyTpUKI9BXbgwBJ4tVpgoue6qwMv2Zw96YPI&m=mwPkmobPEX5hPtBDwyFkKJzWHl5EgtIeMjwBWJCKSFQ&s=PhOg2dwWHaz3Gnt5OWAAjAo_SHBdUYlRWfB9XNTuPD8&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AB43UNZOLBB6M7VSJRJWZDTRLV6RPANCNFSM4MEQ7SMA&d=DwMCaQ&c=ApwzowJNAKKw3xye91w7BE1XMRKi2LN9kiMk5Csz9Zk&r=0Veb5elmyTpUKI9BXbgwBJ4tVpgoue6qwMv2Zw96YPI&m=mwPkmobPEX5hPtBDwyFkKJzWHl5EgtIeMjwBWJCKSFQ&s=rCO4fhoFMAY4kc9qsoN31tlZG5G_pXPqDfv9BRSjYng&e=.


Creates a sparse file on NTFS which does not write zeros to disk

I was doing some testing with your program and found that if you read the file in HxD it shows up as being all zeros, but if you read the contents of the disk instead, you find that there is no such section that has been zeroed out (tested with 6 gig files on an 8 gig flash drive). While the run time of the program was excellent, it was also far faster than my flash drive should be able to do (near-instant execution on a flash drive with ~7.5MB/s write speed). After doing some further testing; formatting my flash drive to NTFS or FAT32, writing some random data, then testing the program, I found that this program only works as intended on FAT32 file systems, and after some digging, here is what I found:
NTFS has the concept of a "sparse file" (relevant section) which are essentially any large file (typically anything larger than an image) where different portions of the file can exist on different sections of a disk. NTFS sparse files also allow the file system to allocate a large chunk of the drive without actually having to write out that data. From my understanding when SetFilePointerEx (relevant section) and SetEndOfFile (relevant section) are called, Windows does not automatically write to this created file and is instead just allocating the space. The Windows docs also state that the data written to by SetEndOfFile is undefined, and in the case of an NTFS file system, it is creating a sparse file that allocates and "writes zeros", but doesn't actually write any zeros. Sparse files however will report the relevant sections that are zeroed out as being zeros, even though no data has been written. I would imagine from a performance/longevity standpoint this is a huge boost, but it also means that to write data to the drive, you have to explicitly write data out to the drive.
There might be something I'm missing here or another of doing this, but it appears that the current method being used doesn't work on NTFS file systems.

The code has now been updated to write pseudo-random bytes. It's now quite slow, since speed is now limited by disk transfer rate,

Issue is now closed.


No module named dolfin

I just cloned the repo and tried to go through the readme aka pytest but doesn't work. Love an updated readme. Thanks! It gets error that I need a module called dolfin.

Yeah, maelstrom needs a proper overhaul. I'm looking at it now to stitch up the most apparent failures. The rest will follow next year.

I'll look at this once FEniCS 2017.2 is released -- this should be in about two few weeks.

I've now updated maelstrom to use FEniCS 2017.2. Simply install dolfin and it all should work.


X86 vs Power libcxl Library compilation

Issue :
Assume you're using the exact same working directory for a project (say nimbix /data located snap directory) and moving from development to deployment, back and forth.
Should you want to use the tools or the snap applications on Power, they need recompilation. Running a "make" will lead you to an error as libcxl library is seen as already compiled in x86 mode.
Assume you don't want to loose your model and image report, etc, you don't want to clean everything.
Then it becomes a bit tricky to selectively clean and recompile only what you need.
Proposed solution :
When compiling libcxl, 2 different directories could be used for each type of machine as we detect it early in the process. This would simplify the development process.
thanks

So, you are using the same directories on Power and on x86?
How do you do that?

As mentioned in my issue description with Nimbix, we can share /data folder between instances.
Thanks

Im my eyes the required effort does not really justify the benefits we get from this. If you agree, I would like to close this. We might keep multiplatform build in mind when establishing SNAP for OpenCAPI.

Proposed another solution : instead of dealing with 2 directories, which looks painful, we could either leave a trace of what is has been compiled for, or check platform consistency and eventually enforce recompilation for the desired platform.
Thanks

https://github.com/open-power/snap/tree/SW_add_check_platform
After playing a little bit with how to get the exit codes properly processed in bash and Makefile, here a first idea how it might look like. I wonder if that might have negative side effects ... ;-).
Have a look if that works for you. Feel free to fix it up in the same branch if you discover things
not working right.

Successfully tested SW_add_check_platform branch on cloud, it works great. We can now use the same directory to prepare our development work and deploy on POWER systems.
If this is ok, please include the platform test in master.
Thanks


PIN problem for authorization

When I click authorize after giving my username and password it opens a screen with text, "You've granted access to your_app. Next, return to your_app and enter this PIN to complete the authorisation process.
What is it??? please help me... I'm stuck into it... I've posted a question a community...
https://community.appcelerator.com/topic/4188/signin-signup-through-twitter-and-google-plus
Thank you...
Muhammad Sabir

Hi Muhammad,
I have the same issue (Android only, iOS still works as before). This is an issue with Android, not this module. Here is how I go about fixing this on Android.
From this issue: https://github.com/aaronksaunders/test_social/issues/11
"getHtml on the webView is returning null in Android, but again fine in iOS - Just putting this out there in case anybody runs into this error. Doesn't seem to be a fault of this module.
I modified the authorizeUICallback function:
function authorizeUICallback(e) {

     var promptView = Ti.UI.createView({
            width:'30%',
            height:'10%',
            layout: "vertical",
            backgroundColor:'black',
            bottom:"20%"
        }),
        pinField = Ti.UI.createTextField({
            width: Ti.UI.FILL,
            height: Ti.UI.SIZE,
            hintText: 'Enter PIN'
        }),
        pinButton = Ti.UI.createButton({
            width: Ti.UI.SIZE,
            height: Ti.UI.SIZE,
            title: "Authorize"
        });

    promptView.add(pinField);
    promptView.add(pinButton);
    view.add(promptView);

    pinButton.addEventListener('click', function() {
        if (!pinField.value) {
            alert('No PIN found');
        } else {
            pin = pinField.value;
            response = 1;
           response ? ( pin = pinField.value, /*pin = response.split("<code>")[1].split("</code>")[0]*/ destroyAuthorizeUI(), receivePinCallback()) : (loadingView && loadingView.hide(), loadingContainer && loadingContainer.hide(), webView && webView.show()), loading = !1, clearInterval(intervalID), estimates[estimateID] = (new Date).getTime() - startTime, Ti.App.Properties.setString("Social-LoadingEstimates", JSON.stringify(estimates));
        }
    });
  }


flutter_tools: URI-decode data: URI content

In getFlutterRoot(), scripts loaded via data: URIs are URI encoded.
getFlutterRoot() scans the contents of the data for the file:// URI path
of the Flutter SDK, which itself is URI-encoded. The end result is that
if the SDK path contains a space, the embedded file:// URI will contain
a %20. When this is encoded in a data: URI, the contents are
URI-encoded, resulting in %2520, since the % is encoded to %25.
This patch decodes the data: URI before extracting the SDK file:// URI.

The penultimate patch in the long and twisting path to supporting paths with arbitrary UTF-8 paths in Flutter.


feat: [M3-7129] Update PR template

Description 📝
This PR updates our template when opening a PR. I welcome all suggestions to improve it as this is something we use every day and all want to be in (relative) agreement about.
It does streamline the previous iteration by focusing on shipping quality rather than the kind of commit we expect, which is now an obsolete concept with changesets.
Preview 📷

Before
After

How to test 🧪

If wanting to look at markup rendition, either look at an online converter such as http://demo.showdownjs.com/ or pull the code locally and use the MD preview from VScode. None of those solutions will exactly mirror the final result but will help get a sense of the final result.

I think the PR template could also mention running the changeset script and including it as part of the PR.

@abailly-akamai  Is there a separate ticket to update the CONTRIBUTING.md file? We have a whole section in there named Submitting a pull request. I think it would benefit to sync the two docs once this one is finalized.

@linode/frontend Addressed feedback and looking to get this merged.
The people have spoken. In the end it's very few changes

adding the laundry list section
narrowed our commit types to match our changeset types (both in the template and the contributing document)
Few copy changes to clarify things or remove ambiguity

Can't please everyone please give it another look and we can also iterate after using it for a bit. thx!


Play Framework

Hi there,
I'm trying to communicate from Swift to a server running the play framework.
I've tried the "option (.google.protobuf.swift_file_options).compile_for_framework = false;" thing but that just removes the "import ProtocolBuffers" line which then breaks everything.
Do you know of a way or am I doing something wrong?
Thanks for this rather life saving bunch of code though :)

Have you added  "runtime-pb-swift" directory in the project?

In the xcode project? Adding it makes no difference as nothing is referencing it...
I've tried adding "runtime-pb-swift" manually by dragging it in and adding it to the "protocolBuffers-Swift" target that CocoaPods added.
PS. I originally installed everything via CocoaPods

Let me just add, I might be misunderstanding what you mean by "framework". I'm trying to communicate with the Play Framework, not generating something for a framework...

If you installed from cocoapods, why you use compile_for_framework option? This is not right...


⚠ Bofrost.fr has degraded performance

In adc3e9b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1275 ms

Resolved: Bofrost.fr performance has improved in 1d9d122 after 6 minutes.


Add web3 forced version in addresses workflows

A new major version of web3 is available but (for the moment) is not compatible with safe-eth-py (https://pypi.org/project/web3/7.0.0/)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

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

Files with Coverage Reduction
New Missed Lines
%

gnosis/eth/ethereum_client.py
1
86.16%

gnosis/safe/tests/utils.py
1
60.0%

gnosis/eth/clients/ens_client.py
1
59.38%

gnosis/safe/safe_tx.py
1
90.97%

Totals

Change from base Build<PHONE_NUMBER>5:
0.0%

Covered Lines:
8670

Relevant Lines:
9234

💛  - Coveralls


DOPE -Running Rviz2 on Jetson

Hello,
I'm following the instructions for Inference on DOPE using TensorRT on a Jetson Xavier NX, and have been successful through step 8.
However, step 9 is to run rviz2.  I am running this from the docker pulled from isaac_ros_common, but the ROS2 build is base, and does not appear to have rviz2
I have looked upstream at the the jetson-containers repo where the base image is created, but when I try to create a new base which includes ROS2 desktop rather than base, it is failing, and in reading some of the issues, even Dusty was not able to get full desktop ROS2 to build successfully.
For step 9 in the DOPE instructions where you mention running RVIZ, did you get that to work on a Jetson?  If so, can you let me know how?
Thanks!

You will need to run rviz2 in desktop connected to the same network with the Jetson and launched with the same ROS_DOMAIN_ID (or just the default). We have not been able to run rviz2 to run directly on the Jetson itself.

From: Rob Roberts @.>
Sent: Tuesday, November 16, 2021 7:05:57 PM
To: NVIDIA-ISAAC-ROS/isaac_ros_dnn_inference @.>
Cc: Subscribed @.***>
Subject: [NVIDIA-ISAAC-ROS/isaac_ros_dnn_inference] DOPE -Running Rviz2 on Jetson (Issue #2)
Hello,
I'm following the instructions for Inference on DOPE using TensorRThttps://github.com/NVIDIA-ISAAC-ROS/isaac_ros_dnn_inference#inference-on-dope-using-tensorrt on a Jetson Xavier NX, and have been successful through step 8.
However, step 9 is to run rviz2. I am running this from the dockerhttps://github.com/NVIDIA-ISAAC-ROS/isaac_ros_common/blob/main/docker/Dockerfile.aarch64.base pulled from isaac_ros_common, but the ROS2 build is base, and does not appear to have rviz2
I have looked upstream at the the jetson-containers repo where the base image is created, but when I try to create a new base which includes ROS2 desktop rather than base, it is failing, and in reading some of the issues, even Dusty was not able to get full desktop ROS2 to build successfully.
For step 9 in the DOPE instructions where you mention running RVIZ, did you get that to work on a Jetson? If so, can you let me know how?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/NVIDIA-ISAAC-ROS/isaac_ros_dnn_inference/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASS44RX5ZR77SJT6WWJBUXTUMMLZLANCNFSM5IF3LMTQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Understood, thanks for the quick reply!


help: rendering referenced image with relative path

I have an SVG (created by FabricJS) that rather than embedding an image via dataurl it references a "local" (i.e. in same folder as the SVG) relative path.  When rendering it quietly fails with the following trace, and the image isn't part of the result:

Error: 0 : Error loading image: 'F3CFD546-9A7A-11E6-B77D-3F565C1445DF.png', error: Invalid URI: The format of the URI could not be determined.

What's the best way to include the image?  Do I need to parse the XML first and "correct" the image path to a full filepath?
<?xml version='1.0' encoding='utf-8' standalone='no'?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="3200" height="3200" viewBox="0 0 3200 3200" xml:space="preserve" preserveAspectRatio="xMidYMid meet" zoomAndPan="magnify" contentScriptType="application/ecmascript" contentStyleType="text/css">
<desc>Created with Fabric.js 1.6.0</desc>
<defs></defs>
<g transform="translate(1424 1492) scale(8 8)">
	<image xlink:href="F3CFD546-9A7A-11E6-B77D-3F565C1445DF.png" x="-48.074921956295526" y="-47.72727272727273" style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" width="96.14984391259105" height="95.45454545454545" preserveAspectRatio="none" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"></image>
</g>
</svg>

It seems if you can alter the XML (i.e. after reading it from a file) to change the HREF to a full filepath (e.g. Path.Combine(Path.GetDirectoryName(svgPath), theRegexMatch)) it will render.  Any better ideas?

Relative path shall work after  PR #287 is merged - only just noticed that there is an issue for this.


[RCINT-3000] add proxy frame retry mechanism

https://github.com/ringcentral/Dynamics/pull/204
The above PR must be merged before merging this one.

Coverage decreased (-0.8%) to 27.924% when pulling f8f75411c22e551614f3c00841aa07a7448ef514 on u9520107:rcint-3000 into 19f4a7245f5e12676395a5e7f627a6645e2337ae on ringcentral:master.


Override gherkin keywords

As I see the code, for now we have ability to use english language only to use standard gherkin keywords: Feature, Scenario, Given, When, Then
Seems like it will be good feature if end users will be able to override these keywords, for example, if we need to create gherkin tests on the other language.

Hi,
this is an interesting idea. It may not be so hard to do it, but I am wondering whether it really has a use case. Gherking language seems to be defined and can be considered almost as a programming language with defined keywords which everyone seems to understand (as soon as you know what Gherkin is).
I remember Excel allowing localized macros and they did not work in Excel instances without the particular language support. So, in the end it was a terrible feature. I would love to avoid that here.
Can you please clarify what kind of users would benefit from this? Or, are there any Gherkin frameworks supporting that?

Official cucumber documentation provides specification for different languages:
https://cucumber.io/docs/gherkin/languages/
So I think it will be useful out of the box. Also, Domain context from gherkin tests is easy to understand if they wrote on the same language business speak.


StatefulGRU "Input dimension mis-match" on predict()

I have this code:
in_out_neurons = 1
hidden_neurons = 10
batch_size = 10

model = Sequential()
model.add(SGRU(output_dim=hidden_neurons, input_dim=in_out_neurons, return_sequences=True, batch_size=batch_size))
model.add(Dropout(0.2))
model.add(TimeDistributedDense(in_out_neurons))
model.add(Activation("linear"))
model.compile(loss="mean_squared_error", optimizer="rmsprop")

early_stopping = EarlyStopping(monitor='val_loss', patience=10)
model.fit(X_train, y_train, batch_size=batch_size, nb_epoch=1000, validation_split=0.1, callbacks=[early_stopping])
predicted = model.predict(X_test)

Training seems to be ok, but it gives
ValueError: Input dimension mis-match. (input[0].shape[0] = 10, input[1].shape[0] = 1)
Apply node that caused the error: Elemwise{mul,no_inplace}(<TensorType(int8, col)>, <TensorType(float64, matrix)>)
Toposort index: 0
Inputs types: [TensorType(int8, col), TensorType(float64, matrix)]
Inputs shapes: [(10L, 1L), (1L, 10L)]

on model.predict().
Standard "GRU" from Keras does work fine.
Theano is up-to-date (GIT version).
Am I missing something?

Were you able to train the Stateful GRU on your data?
If so try making the batch size fixed:
predicted = model.predict(X_test, batch_size=batch_size)
Statefulness forces a cap on the batch size.
Also, note that statefulness is handled with callbacks during training. If you want to use states passed from one batch to another, I think you won't be able to use predict. You will have to write you own function for testing. That function should get the final state of the model after each batch and pass it as initial state for the next batch. But maybe you don't have to do that if results are good enough.

Thank you for your answer.
I'm able to train the Stateful GRU, but it gives that error when I call model.predict()
I changed
predicted = model.predict(X_test)

to
predicted = model.predict(X_test, batch_size=batch_size)

but it still gives the same identical error.

What is the size of your test set and batch size?

X_test shape is (120L, 5L, 1L).
Batch size is 10 (it's 10 for training too).

Stateful RNNs are now part of keras.


Support asset findings data on UI

Problem Statement
Following up the changes in the relationship between assets and findings https://github.com/openclarity/vmclarity/blob/main/rfc/change-asset-findings-relationships.md, UI changes are required in the Findings section.
Proposed Solution

In the Findings table, the Asset Name, Asset Location and Found on fields are deprecated. These fields should be replaced by the new fields First seen and Last seen. Additionally a new Asset Count column should be added, these value is already in use by the Findings impact in the dashboard page.

In the Finding details page, the updates required reflect the updates in the Findings table page. Optionally, the Last seen by field which specifies the ID of the last Asset Scan that saw this particular finding can be added.

There is no longer have an 1:1 relationship between findings and assets, therefore this Asset details for a Finding page needs to be replaced by a table of Assets similar to the Assets table page. The assets in this table need to be filtered using the new Asset Findings Table by Finding ID.
Changes can be tested against the following branch: https://github.com/openclarity/vmclarity/pull/1758.
Alternatives Considered
N/A
Additional Context
N/A

The idea of a Last seen by column has been ditched?

Last seen by is the asset scan ID which I believe is not visible in the UI (neither on the asset scans table page or on the asset scan details page), right? If that is the case, it would be better to hide that column.


docs(configuration): add electron-preload as available target

This PR adds the electron-preload target option to the configuration/target page.
See https://github.com/webpack/webpack/pull/9188

Can you please link related merged PR that introduced this target?

Can you please link related merged PR that introduced this target?

https://github.com/webpack/webpack/pull/9188
https://github.com/webpack/webpack/search?q=electron-preload&unscoped_q=electron-preload
https://github.com/webpack/webpack/commit/2ec75c1cdb814fc5f46ab7b16525812af7638152

Thanks!


Fix #1096 - "Out of gas issue" from brownie, in test_ve_ocean.py

Fixes #1096
Two fixes:

block.timestamp not chain.time
txs use chain.block_gas_limit

Thanks very much to @mariacarmina for the work that led to this merge:)


Weird interaction when working with 'react-sortable-hoc'

https://codesandbox.io/s/qYEvQEl0
So I wrote a demo myself that didn't work compare to one sample that works, the only difference being one props for <List/>
rowHeight={({ index }) => 50}
rowHeight={50}
I use the latter way. And it is not working. Why?

This creates a new function prop each time you render:
rowHeight={({ index }) => 50}

That's sufficient to trigger a re-render of the child component, even if no other properties changed. In this case, you could pass a small attribute that changes each time sort order changes (eg an incremented counter) to let the component know to re-render.
Check out the section on "pure components" in the docs for more info.

@bvaughn  I  have to do a lot more than sorting, all CRUD on  items, I'm using redux, so the list of task can be read from redux store as array of tasks
[{id:12312, title:task1, completed:false,  ... }, { ... }, ...]
So I add state sortCount as you suggested, and making it props of <List />, and then to make every change works, I add a setState() in componentWillReceiveProps,
  state = { sortCount: 0 }

  componentWillReceiveProps(nextProps) {
    this.setState({ sortCount: this.state.sortCount + 1 })
  }

my question is, is this a burden in performance? How do I improve?

Any time your data changes, you need to re-render the list, right? There's no way around this.
You don't need to use a counter. Actually if you have something in the data that changes, it's probably even better to just pass it through (eg a prop like sortOrder or...anything).
I spent a lot of effort optimizing react-virtualized. Re-rendering isn't that expensive since it's only rendering a slice of the rows.


hotfix version of the floating CTA suppression fix

This fix removes the on-page CTA suppression feature from Floating CTA for pricing blocks
Resolves: MWPW-NUMBER Pending
Test URLs:

Before: https://main--express--adobecom.hlx.page/express/spotlight/marketers?martech=off
After: https://cta-suppression-hotfix--express--adobecom.hlx.page/express/spotlight/marketers?martech=off

Codecov Report
Attention: 71 lines in your changes are missing coverage. Please review.

Comparison is base (8e89c93) 32.11% compared to head (a933384) 33.05%.
Report is 12 commits behind head on main.

Files
Patch %
Lines

express/blocks/marquee-exp-1/marquee-exp-1.js
84.28%
66 Missing :warning:

express/scripts/utils.js
50.00%
3 Missing :warning:

express/blocks/puf/puf.js
33.33%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #614      +/-   ##
==========================================
+ Coverage   32.11%   33.05%   +0.94%
==========================================
  Files         130      129       -1
  Lines       24600    24925     +325
==========================================
+ Hits         7901     8240     +339
+ Misses      16699    16685      -14

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

Closing as the version through stage branch is merged.


Fix incorrect data version in WriteBack flush jobs

Prior to the change, the version in updateStateAndAct may occasionally become incorrect
when there are a bunch of consecutive writes taking place in a short period.
The root cause is the atomic version.value is only updated during flushing WritBack jobs.
A new job is queued with current version.value which could be an intermediate version number duplicate to one of previously-queued jobs if there are still unfinished flush jobs.
The solution is simply moving the flush job one level up from updateStateAndAct to
processModelChange since the processModelChange is guaranteed with the latest
observed data version.

This is a great find! Thanks!
Would you mind adding a unit test that verifies the model-change ordering occurs correctly, so we don't regress down the road?

Np, will do.

Done.
Use the unit test to verify before vs after the change:
before: nearly 100% failure over 1000 runs
after: 100% success over 1000 runs
The PR also fixes some flaky errors in FakeDataManager where WTF happens
in the process of collecting the clientFlow with the clause:
JobCancellationException: StandaloneCoroutine is cancelling....
Using an independent Job can avoid cancellation during collection of the flow.