TransactionReceipt optimism fields missing rename camelCase

https://github.com/gakonst/ethers-rs/blob/5394d899adca736a602e316e6f0c06fdb5aa64b9/ethers-core/src/types/transaction/response.rs#L514
This and the fields below it do not rename to camelCase, so they will not actually deserialize from the RPC provider response.

It's also missing the deposit_receipt_version field.


fix: PS_18291_SN_TABLE_BASIC_FEATURES off-boarding

I'm not seeing any changes in the ext/ folder?


Use of term Exposure Notifications Framework on Android

Where to find the issue
https://www.coronawarn.app/en/faq "Frequently Asked Questions about the Corona-Warn-App"
and specifically:

https://www.coronawarn.app/en/faq/#ENF_version "[Google/Android]: Which version of the COVID-19 Exposure Notification Framework is currently installed?"
https://www.coronawarn.app/en/faq/#API10 "[Google/Android]: Error when communicating with Google API(10)"

Describe the issue
For Android systems the CWA FAQ should refer to Exposure Notifications System (ENS) not Exposure Notification(s) Framework (ENF).
The installed UI (see screen shot below) calls it by the name Exposure Notifications System as does the help reference https://support.google.com/android/answer/9888358?hl=en.
Google's blog July 31, 2020 https://blog.google/inside-google/company-announcements/update-exposure-notifications/ also refers to Exposure Notifications System using the acronym ENS. In fact Google consistently uses the term Exposure Notifications System and never Exposure Notifications Framework. See also https://developers.google.com/android/exposure-notifications/exposure-notifications-api left-hand menu "Exposure Notifications system".
"Framework" seems to be a term used only by Apple e.g. https://developer.apple.com/documentation/exposurenotification.

Suggested change
Change references for Google/Android entries in the FAQ:

from Exposure Notification(s) Framework to Exposure Notifications System (plural)
from ENF to ENS

To avoid breaking the link https://www.coronawarn.app/en/faq/#ENF_version either leave it the way it is or change it to https://www.coronawarn.app/en/faq/#ENS_version and add a redirection from ENF_version to ENS_version

Thank you for your suggestion @MikeMcC399, I will change the wording accordingly.


Reproducer for CEP KieSession deserialization NullPointerException with Timer and expiration

See DROOLS-1328: https://issues.jboss.org/browse/DROOLS-1328

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

Test case incorporated and fixed by https://github.com/droolsjbpm/drools/pull/962


fix: improve entity label conflict modal

Adds additional information to entity label conflict modal.  Aims to improve the following

Shows the current labels they attempted to submit which were rejected due to conflicts so they can compare it with previously submitted labels and see the problem
Explains why the bot needs consistent labelling
Explains what clicking Accept will do.

Future improvements:
Out of scope for PR and I had already talked to Lars about it but I think we eventually should let the user continue even if the labels cause a conflict.  If they had labeled the input incorrectly the first time and now try to label the input correctly this time they can't and are stuck. They won't want to accept changes because they're wrong and closing the dialog does nothing.  They could either stop the dialog or accept the incorrect labels and then remember to go back and update all the incorrect labels.  Being able to continue from here is likely not easy operation either.  The service would have to implicitly update all the existing dialogs which now have conflicts to use the new labels and and still ensure they can be replayed correctly with different set of entities labeled.

Ok, left the "current" part since Lars thought it was important for the user to know that it could be from the same dialog but I updated the subtitle to match your suggestion

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


"High performance" is incorrect.

The Javadoc for the compute API says: "A client for Google Compute Engine – High-performance, scalable virtual machines."
"High performance" is incorrect. The point of scalable here is that you may choose low performance VMs for less cost if that suits your needs better.

That line reflects the general Compute documentation at https://cloud.google.com/compute/ that says Google offers "High-Performance, Scalable VMs".
@elharo How would you see the Javadocs phrased?

Please reactivate if there is a concrete suggestion here.

My suggestion is to delete "high performance". It's a meaningless buzzword that adds no useful information. In this case, it is also actively misleading. It actively contradicts the next word, "Scalable". GCE scales from low performance to high performance. Users pick and pay for what they need.
It should probably be deleted from https://cloud.google.com/compute/ as well, though I'll have to file an internal bug for that.

We really need to follow the lead of the API from the client side. If the GCE team agrees to remove this wording from their main reference documentation, we will can change this corresponding documentation here.


Fix word boundary and grammar of error messages

|07:34 <hloeung> msg: Test disconnection could not be sendhttps://mymattermostserver.local/api/v4/posts: ...

Becomes:
|07:34 <hloeung> msg: Test disconnection could not be sent https://mymattermostserver.local/api/v4/posts: ...

:+1:


Minor CI tweaks

Change the debug_diagd default for the tests to False. There's just too much output to make sense of when it's default True.
Drop the circuitbreaker tests to 400 requests rather than 500 or 1000. I'm of two minds about this one; more digging is indicated.
Make the Knative tests XFail, rather than being skipped, when they're not supported. (They're not supported in Kubernaut CI, and skipping all the tests was making the Knative part fail, which makes CI fail.)
Make the Ingress tests XFail on MacOS, where we can't run the (built-for-Linux) kubestatus command.

Hmmmmmm. Gotta sort out what's up with this stuck "waiting for status to be reported"...


Allow glue_table_settings attribute on to_iceberg

Is your idea related to a problem? Please describe.
Currently, I'm working with Iceberg tables in Athena. When I want to add comments to the table or columns, I have to make a separate boto3 call to glue.
Describe the solution you'd like
wr.s3.to_parquet contains a glue_table_settings parameter which allows users to add a GlueTableSettings object to configure the glue catalog and update data in one function call. I was wondering if its possible or would make sense to do something similar for the to_iceberg function?
I would willing to open a PR and take a stab at this if it makes sense to add.

Hi, unlike s3.to_parquet which makes a Glue call to create a table in the catalog, the athena.to_iceberg API creates the table via an Athena query. It means that it's limited by the parameters exposed here. We expose the additional_table_parameters in the API but comments are not one of those listed. PRs are always welcome though

@jaidisido Ahh I see. Rather than creating a whole glue_table_settings parameter, I think a column_comments parameter might make more sense. I noticed that you can add column comments in the athena sql. I think this could be done by injecting the values of a column comments parameter into the Athena query. I can work on implementing this


Unncessary thread pool creation in GraphiteReporter

I recently started using GraphiteReporter and I notice that it seems to create a new thread pool (metricsRegistry.threadPools().newScheduledThreadPool(1, "graphite-reporter");) even if I do a new instead of calling GraphiteReporter.enable(). I propose that we move the thread pool creation to enable() instead of the constructor.
I also noticed that the class has a start() method but no stop() method. Should we supply one in case users want to temporarily or permanently disable the stats reporting?
Would you be open to a patch that fixes these two issues?

It looks to me like this thread is gone ...


Unexpected error posting the comment. Please try again later. error message during onboarding

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

Version Number: 9.0.66-7
Reproducible in staging?: Y (Able to reproduce only once)
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @jamesdeanexpensify
Slack conversation (hyperlinked to channel name): ts_external_expensify_convert
Action Performed:

Signup for a new user and choose manage my team
Choose number of employees and accounting software option
Click Continue

Session link : https://app.fullstory.com/ui/o-1WN56P-na1/session/5382848192966034882:5382848192966034882!4478378206927077736
Expected Result:
No error message and tasks displayed in concierge
Actual Result:
The setup tasks flash for a second and then the error message Unexpected error posting the comment. Please try again later.
Workaround:
Unknown
Platforms:

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

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/71273cd7-aac8-4f9a-862e-86ac465afa3f
View all open jobs on GitHub

<EMAIL_ADDRESS>I cannot reproduce this

I was unable to reproduce this

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989


Putting your computer to sleep with skill tree up causes it to crash when you come out of sleep to use it.

Put compute to sleep with skill tree up.
Un-sleep it.
I click drag then mousewheel zoom and it crashes 100% of the time.

As said in #318, we most likely can't fix this, I can't even reproduce it and others can't get it to a point that is debuggable. But I'll keep this one open to prevent duplicates.

 What operating system do you happen to be on?

Win7

This no longer happens in on https://github.com/EmmittJ/PoESkillTree/releases/tag/2.4.0

Thanks for the update!
Next try at closing this bug in the hopes its fixed for everyone.


modules/clickhouse: JDBC driver name changed, liveness port

driver changed from ru.yandex.clickhouse (deprected) to com.clickhouse
as soon as class ClickHouseContainerextends class with generic type (JdbcDatabaseContainer) I think it should extend it in same way as MySQLContainer or PostgreSQLContainer etc.
method getLivenessCheckPortNumbers changed to be the same as in containers mentioned above.

@eddumelendez I do see a problem with dropping the support for an old driver, as this is a breaking change.

In order to keep backward compatibility we can do something like this
@Override
public String getDriverClassName() {
    try {
        Class.forName("ru.yandex.clickhouse.ClickHouseDriver");
        return "ru.yandex.clickhouse.ClickHouseDriver";
    } catch (ClassNotFoundException e) {
        return "com.clickhouse.jdbc.ClickHouseDriver";
    }
}

Why not try to load the new driver class first, and fall back to the old one if failed?

@anavrotski by any chance do you have some time to work on the changes? Thanks in advance.


Adding external table to sql 2019 fails

Issue Type: Bug
Try to add an Oracle external table, after attempting to create a connection to my data source, I get an error "external data sources are not supported with type GENERIC"
Azure Data Studio version: azuredatastudio 1.0.0 (cab8f3e37c9ac4367e0dacef5185da08bd8021c2, 2018-09-20T22:04:35.897Z)
OS version: Windows_NT x64 10.0.16299

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (4 x 3600)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
31.90GB (20.58GB free)

Process Argv
D:\Program Files\Azure Data Studio\azuredatastudio.exe

Screen Reader
no

VM
0%

Extensions (5)

Extension
Author (truncated)
Version

mssql-db-insights
mat
0.2.2

agent
Mic
0.33.0

import
Mic
0.2.0

server-report
Mic
0.1.3

sql-vnext
Mic
0.6.9

Have you enabled PolyBase in your SQL Server instance?
https://docs.microsoft.com/en-us/sql/relational-databases/polybase/polybase-installation?view=sql-server-2017

Yes I did.  Still get that error. And yes I verified I installed the CTP
2.0.  Installed all the features
On Thu, Oct 11, 2018 at 4:32 PM Cory Rivera<EMAIL_ADDRESS>wrote:

Have you enabled PolyBase in your SQL Server instance?
https://docs.microsoft.com/en-us/sql/relational-databases/polybase/polybase-installation?view=sql-server-2017
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/azuredatastudio/issues/2819#issuecomment-429108179,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABl36d7IOENxDAhaa4yzFITgrEyeqVX-ks5uj6r0gaJpZM4XYF48
.

Are you trying to create this external table through T-SQL, or the External Table wizard in the sql-vnext extension?

Both. I get the same error on both.  Happy the share my desktop some time?
On Thu, Oct 11, 2018 at 4:37 PM Cory Rivera<EMAIL_ADDRESS>wrote:

Are you trying to create this external table through T-SQL, or the
External Table wizard in the sql-vnext extension?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/azuredatastudio/issues/2819#issuecomment-429109504,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABl36XwYy2YFybyJ0xSpx2HGwzwnJ_F6ks5uj6vxgaJpZM4XYF48
.

@dawazualex Were you able to resolve this issue?

I figured it out.  It was an edition issue.  Trying to connect to an oracle
data source with a ton of tables (1400 +), I'm getting this error when
expanding the database to see the list of tables - The user specified
schema column count is 55, which varies from the external table schema
column count of 65.
On Mon, Oct 22, 2018 at 6:50 PM Cory Rivera<EMAIL_ADDRESS>wrote:

@dawazualex https://github.com/dawazualex Were you able to resolve this
issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/azuredatastudio/issues/2819#issuecomment-432018740,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABl36ZdsVMcOiUeuT2vsqx--e0pFB2nyks5unkvDgaJpZM4XYF48
.

Could you open a separate issue for that bug?

I have a similar issue when trying to Create an External Data Source using TSQL  in SQL Server 2019 for the purpose of connecting to MongoDB through PolyBase.
"External data sources are not supported with type GENERIC."
ODBC Drivers installed.
I am thinking that due to SQL Server 2019 being in CTP it may not be working yet.

@AdeDarbs that error message indicates Polybase not being enabled. Per the instructions, install & enable Polybase. In particular you'll want to run the enable polybase command (see below).
exec sp_configure @configname = 'polybase enabled', @configvalue = 1;
RECONFIGURE [ WITH OVERRIDE ]  ;

Hey Kev. My script does that. Polybase is installed. It must be a SQL config setting surrounding TCP/IP and the 27017 port. Thanks for replying.


Valid YouTube Playlist Causing Error

A playlist I've been using to collect songs on youtube is suddenly not working, it was working a few weeks ago but not now.  I tried updateing to latest lavaplayer (1.3.72) and it still is not working.  Other smaller playlists work just fine including playlists with deleted songs.  The playlist that is not working is 734 songs so I'm speculating that it is the length of the playlist, but I don't have any other long playlists to test.  (the second longest playlist I have is 23 songs and works fine)
this is the link to the playlist that is not playing https://www.youtube.com/playlist?list=PLi9EN2LtHhO2AIKkRNaoPbbDNiSNOuamJ
and here is the stack trace
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong when looking up the track
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:44)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.dispatchItemLoadFailure(DefaultAudioPlayerManager.java:236)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:225)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
	Suppressed: com.sedmelluq.discord.lavaplayer.tools.exception.EnvironmentInformation:
  lavaplayer.version: 1.3.72
  os.arch: amd64
  os.name: Windows 10
  os.version: 10.0
  java.vendor: Oracle Corporation
  java.version: 1.8.0_191
  java.runtime.version: 1.8.0_191-b12
  java.vm.version: 25.191-b12
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: Invalid status code for playlist response: 404
	at com.sedmelluq.discord.lavaplayer.tools.ExceptionTools.wrapUnfriendlyExceptions(ExceptionTools.java:58)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.playlist(YoutubeAudioSourceManager.java:243)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.playlist(YoutubeAudioSourceManager.java:228)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.routeFromMainDomain(DefaultYoutubeLinkRouter.java:70)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeLinkRouter.route(DefaultYoutubeLinkRouter.java:42)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItemOnce(YoutubeAudioSourceManager.java:196)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager.loadItem(YoutubeAudioSourceManager.java:131)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:436)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:418)
	at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$createItemLoader$0(DefaultAudioPlayerManager.java:217)
	... 4 more
Caused by: java.lang.RuntimeException: java.io.IOException: Invalid status code for playlist response: 404
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubePlaylistLoader.load(DefaultYoutubePlaylistLoader.java:47)
	at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioSourceManager$LoadingRoutes.playlist(YoutubeAudioSourceManager.java:240)
	... 12 more
Caused by: java.io.IOException: Invalid status code for playlist response: 404
	at com.sedmelluq.discord.lavaplayer.tools.io.HttpClientTools.assertSuccessWithContent(HttpClientTools.java:155)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubePlaylistLoader.buildPlaylist(DefaultYoutubePlaylistLoader.java:100)
	at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubePlaylistLoader.load(DefaultYoutubePlaylistLoader.java:45)
	... 13 more

This API endpoint no longer exists and needs to be fixed.
https://github.com/sedmelluq/lavaplayer/blob/3d54ef10bdf6b7da32fe08beff761a8efe560cbb/main/src/main/java/com/sedmelluq/discord/lavaplayer/source/youtube/DefaultYoutubePlaylistLoader.java#L179

I figured that was probably the issue, do I just have to wait for an update then?

Yes

I figured that was probably the issue, do I just have to wait for an update then?

Yup.

Fixed in 1.3.73.


Fix grafana namespace can not update error

Ⅰ. Describe what this PR does
Fix grafana variable namespace can not update error.
Ⅴ. Special notes for reviews

Codecov Report

Merging #497 (2158bc4) into master (f0a3aca) will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #497      +/-   ##
==========================================
- Coverage   19.72%   19.68%   -0.04%
==========================================
  Files          57       57
  Lines        2119     2123       +4
==========================================
  Hits          418      418
- Misses       1656     1660       +4
  Partials       45       45

Impacted Files
Coverage Δ

pkg/utils/quantity.go
0.00% <0.00%> (ø)

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 f0a3aca...2158bc4. Read the comment docs.


Whitelist a commit within the rule

Is your feature request related to a problem? Please describe.
I would like to be able to whitelist a commit within the rule. Furthermore, I would like the ability to have multiple whitelists for commits so I can add more descriptive tags from which repo the commit lives etc.
Describe the solution you'd like
[[rules]]
	description = "AWS Secret Key"
	regex = '''(?i)aws(.{0,20})?(?-i)['\"][0-9a-zA-Z\/+]{40}['\"]'''
	tags = ["key", "AWS"]
        [[rules.whitelist]]
            regex = '''.*EXAMPLE.*'''
            description = "ignore aws key"
        [[rules.whitelist]]
            commit = "a98223fa32d364d1735e527a9f0ad7bf949c304b"
            description = "from repo 1"
        [[rules.whitelist]]
            commit = "b98223fa32d364d1735e527a9f0ad7bf949c304b"
            description = "from repo 2"

Describe alternatives you've considered
I was only able to get it working with just a [whitelist]
[whitelist]
	description = "commit whitelist"
	commits = [
		"rep1",
		"111151b7e31c84013d503a1fd972acd753525b814",
		"11111111fa32d364d17c5e527a9f0ad7bf949c304b",
		"repo2",
		"11110efaffb96fd057439830cf7ea47e6e7c8a63",
		"1111b59ef22e7fcaf38a7f24e3346cb14f927510",
		"repo3",
		"111133044902e4ff7a761767528fc50096648141"
	]

cc @zricethezav

I think this is a solid feature request and easy enough to implement to where I think the community could easily contribute if someone wanted to pick this up. I don't have much time the next couple weeks unfortunately.

See https://github.com/zricethezav/gitleaks/wiki/Configuration supported in v7
ex:
[[rules]]
  description = "a string describing one of many rule in this config"
  regex = '''one-go-style-regex-for-this-rule'''
  file = '''a-file-name-regex'''
  path = '''a-file-path-regex'''
  tags = ["tag","another tag"]
  [[rules.entropies]] # note these are strings, not floats
    Min = "3.5"
    Max = "4.5"
    Group = "1"
  [rules.allowlist]
    description = "a string"
    files = ['''one-file-name-regex''']
    commits = [ "commit-A", "commit-B"]
    paths = ['''one-file-path-regex''']
    regexes = ['''one-regex-within-the-already-matched-regex''']


Covid-drdb, if a study only contains fold change data, the table will be blank.

Please see this link: https://covdb.stanford.edu/search-drdb/?article=Margolis21&host=human

Issue is transferred from hivdb/chiro-frontend after determined the reason was caused by a table-deriving script.


[Feature] New resources for JS and CSS in front-end

Added new resources for CSS and JS. Also added a link to MDN's front-end web developer learning pathway.
resolves #5

@all-contributors please add @SharmaAayush  for Frontend resources

@all-contributors please add @SharmaAayush  for Frontend resources


Add Demo Manager alert banner to JPB and SPB

Resolves #1856.
Notes:

This turned out not to require any interaction with React, since the banner appears above the Progress Tracker.
I wanted to consolidate some code patterns that were showing up everywhere. So I moved the conditional check for the banner into the twig partial itself, and generated the 'show_notification' variable in a Manager Portal-wide view composer.
I also renamed show_notification to show_demo_notification. Better to be me more specific when its being passed to more views.

Looks good.
We don't want it on the FAQ, right? The notification links there, and it was appearing on the applicant portal as well. I removed it.

I thought we wanted it there? However, since the user_role of a demo manager and applicant are identical I don't think there is a way to differentiate and output the notification accordingly using just the composer. I'll add in the conditional back into the ManagerProfileController.php faq() method.


Verify Internet Access section missing US Gov URLs

The  Verify Internet Access section of this article is missing mention of the URLs needed for Azure Gov tenants:
https://docs.microsoft.com/en-us/azure/backup/install-mars-agent#verify-internet-access
The information is availabe in the MARS support matrix
https://docs.microsoft.com/en-us/azure/backup/backup-support-matrix-mars-agent#url-and-ip-access
But needs to be added in this article as well:
If you are a US Government customer, ensure that you have access to the following URLs:
http://www.msftncsi.com
*.Microsoft.com
*.WindowsAzure.us
*.microsoftonline.us
*.windows.net
*.usgovcloudapi.net
Access to all of the URLs and IP addresses listed above uses the HTTPS protocol on port 443.

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

ID: 59cde3ab-f5bb-a7a3-3b14-40a87b9efcb3
Version Independent ID: 2ccbb179-0216-346a-a56f-c03b3eafd57e
Content: Install the Microsoft Azure Recovery Services (MARS) agent - Azure Backup
Content Source: articles/backup/install-mars-agent.md
Service: backup
GitHub Login: @v-amallick
Microsoft Alias: v-amallick

Hi @stantoni-msft
Thank you for your feedback. Currently, we are updating the article. Will get back with the updates.

#assign:v-amallick

Hi @stantoni-msft
We have updated the article and the URLs for US GOV tenants are available in the following link:
https://docs.microsoft.com/en-us/azure/backup/install-mars-agent#url-and-ip-access
Thank you.

#please-close


(WIP) Datetime Queue Items

Related Issue or Background Info
#432
Changes Proposed

updates the frontend so the user can add datetimes for dates
updated the backend queueMutation resolvers and test to process datetime instead of dates.
added tests

Additional Information
This is unfinished. Remaining todos

[ ] I could use help I could use help writing tests submitTestResult in TestResultTest.java. Maybe @benwarfield-usds
[ ] frontend styling and finishing touches

Is there a different story to store the time zone in the DB?

Is there a different story to store the time zone in the DB?

There is a related story about this that is more backend oriented:
https://github.com/CDCgov/prime-simplereport/issues/474
That issue states:

Expected Result: backdate should be treated as local date (with out a time) and no localization should be applied

However, based on #432, the frontend will be sending a local date with a time. Is the idea to:

store the datetime along with the timezone the client is in
store everything as UTC in the db, but display it in the correct timezone on the client
something else?

I missed the discussions on this over the past few weeks and am not trying to rehash any of it. More than happy to be told what to do.
As a side, I'm not sure in what circumstance the user entering this information would reliably know the time of a backdate @hmyers-cms

There is a related story about this that is more backend oriented:
https://github.com/CDCgov/prime-simplereport/issues/474
That issue states:

Expected Result: backdate should be treated as local date (with out a time) and no localization should be applied

However, based on #432, the frontend will be sending a local date with a time. Is the idea to:

store the datetime along with the timezone the client is in
store everything as UTC in the db, but display it in the correct timezone on the client
something else?

I missed the discussions on this over the past few weeks and am not trying to rehash any of it. More than happy to be told what to do.
As a side, I'm not sure in what circumstance the user entering this information would reliably know the time of a backdate @hmyers-cms

If we're passing timestamps to the hub in UTC, then storing the override time as a (actual!) UTC timestamp as well would make sense. Otherwise I'm not sure what we'd do to keep everything straight for multiple clients.

If we're passing timestamps to the hub in UTC, then storing the override time as a (actual!) UTC timestamp as well would make sense. Otherwise I'm not sure what we'd do to keep everything straight for multiple clients.

Notes from some manual testing:

this seems to break quite badly on Firefox 83
it seems like we store a backdate in every case, even the "use current date and time" button is selected. That seems wrong to me.

Notes from some manual testing:

this seems to break quite badly on Firefox 83
it seems like we store a backdate in every case, even the "use current date and time" button is selected. That seems wrong to me.

@benwarfield-usds

The lack of firefox support is frustrating, esp because their own docs indicates it should work:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local
I will look for an alternative.

What do you mean we store a backdate if the "use current date and time" button? If that is selected, the value submitted is still an iso timestamp of the current date/time (tho it also has seconds)

What is the remaining diff needed to ship this? Are any of the confusing behavior blockers, or can they be addressed in a follow up PR? Potential blockers:

firefox support (if current users are using firefox?)
neil manually tests with your tweaks (haven't done this yet)

@benwarfield-usds

The lack of firefox support is frustrating, esp because their own docs indicates it should work:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local
I will look for an alternative.

What do you mean we store a backdate if the "use current date and time" button? If that is selected, the value submitted is still an iso timestamp of the current date/time (tho it also has seconds)

What is the remaining diff needed to ship this? Are any of the confusing behavior blockers, or can they be addressed in a follow up PR? Potential blockers:

firefox support (if current users are using firefox?)
neil manually tests with your tweaks (haven't done this yet)

Clarified the API usage issue offline. I think FF support is the only other blocker, if FF support is a blocker.

Clarified the API usage issue offline. I think FF support is the only other blocker, if FF support is a blocker.

Firefox support is not a blocker

Firefox support is not a blocker


Outcome of Meetings

As a Citizen,
I want to see what the outcome for an Agenda Item is and how my Elected Official voted on it,
so that I can stay informed and hold my representative accountable.
From the CETF Report:
"It is also important to manage expectations. Some feel there are no structures to make sure that the results of engagement are followed. They suggested creating a system that closes the feedback loop, so that after you’ve engaged, you can find out what decision was made and why."

Screenshots from Countable displaying the outcome of a vote on a house bill.


flickrdownloadr crashes when trying to download ~7k photos at once

I tried to download my photostream at once(about 7k items). The downloader tried to calculate the photos for a while and then simply shutdown without any further message. Looks like that it ran out of memory or so.
Think the downloader should either handle this number correctly (preferred) or limit the number of photos to download, alerting when trying to download more.

@m2mexpert Could you please try the latest version (<IP_ADDRESS>) and let us know if the issue is resolved?


Base Upgrade isn't in the recipes book

I was trying to get some of the pickaxe upgrades, but in the book isn't the craft of the base upgrade, then i found it on this page and i did them, but when i have the pickaxe with the upgrade it doesn't work. I don't know if is a bug or i don't know how to put the upgrades, but please help me, couse the recipes and tips from this page aren't for the new version of the datapack.

Most upgrades require power from a portable battery in you're hotbar.

Thanks you!!!

Hello, i tried with the portable battery and it doesnt work. Then i put the armor upgrade on my boots and that dont work to. I think that im doing something wrong so can you explain me how to use the tinker table please (I'm playing on realms)


Update cfq.py

Make the dataset name consistent with in the paper:  Compositional Freebase Question => Compositional Freebase Questions.

Thanks @brainshawn  for this update


Add support for markdown-it-center-text

Issue Summary
It would be great to be able to use ->Centered Text<- markdown syntax instead of html to center the text
Steps to Add

Add markdown-it-center-text plugin
.use it during md initialization
update user info

Technical details:

Ghost Version: 1.4.1
Node Version: 6.10.0
Browser/OS: All

Has it been solved now? can the text be centered?


docs: document onError option

This PR documents the onError option added to the ShapeStream options in https://github.com/electric-sql/electric/pull/2011

We should update at least the gatekeeper-auth client code: https://github.com/electric-sql/electric/blob/main/examples/gatekeeper-auth/client/index.ts
Are there any other places we have example code using this client that should be updated too?

@thruflo I'm not sure if most people will care to explicitly handle errors — generally just letting them bubble up is fine as people will see them in their console during dev & error trackers will see them in prod.

I'm not sure if most people will care to explicitly handle errors

Fair enough, we don't need to highlight this everywhere.
I think the auth token renewal is a common case where (unless we do something else like auto call a function to retry with new headers) it is useful to handle the fetch error. My point about the gatekeeper client example is that's exactly what that code is trying to illustrate -- how to handle token renewal.

@thruflo oh for sure — I just meant elsewhere — this addition was entirely to handle that use case 😆


Node data stricter types

Addresses https://github.com/davidkpiano/xstate/discussions/1261
I still need to write changeset for this but I would like to get feedback first.

I've removed all | any that I could find because it's like multiplying by 0 - you always get ~0~ any, all other union members are just lost
Had to rename StateNode#data to StateNode#doneData because TS couldn't infer things correctly due to overlapping .data properties in both InvokeConfig and StateNode which are both allowed for invoke property. A simplified version of the problem can be checked out here after uncommenting that single comment in the Config type

Re: changeset, this probably fits into the "minor change" category since a "public" method is being changed from .data to .doneData (which is more accurate). We already have a pending minor change so this can just go into that.

Re: changeset, this probably fits into the "minor change" category since a "public" method is being changed from .data to .doneData

Yeah, I was planning to make it a minor. I assume you are OK with changes here so I'm going to add changesets later and ping you for a final review.

Yep, all good!

@davidkpiano ok, i've added changesets - please take a look.


🐞 Platform type is converted to string by the code generator

What is the issue?
The core Platform type is converted to string when using a module that references that type.
Dagger version
dagger v0.9.6 (registry.dagger.io/engine) darwin/arm64
Steps to reproduce
No response
Log output
No response

Can you provide more details?

I use Platform in this module.
When using that module as a dependency, the code generator turns Platform to string:
type GoWithSourceBuildOpts struct {
	// Target platform in "[os]/[platform]/[version]" format (e.g., "darwin/arm64/v7", "windows/amd64", "linux/arm64").
	//
	Platform string
}

So the issue must extend to all scalars then.
@sipsma, do we need a KindScalar?


Calling MultiChildLayoutDelegate.hasChild from MultiChildLayoutDelegate.getSize throws an exception because _idToChild is null

Steps to Reproduce

Execute flutter run on the code sample
Exception is thrown

Expected results: Calling hasChild in getSize returns normally.
Actual results: Calling hasChild in getSize throws an exception.

Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: CustomMultiChildLayout(
        delegate: _MultiChildLayoutDelegate(),
        children: [
          LayoutId(
            id: 0,
            child: const SizedBox(
              width: 50,
              height: 50,
            ),
          ),
          LayoutId(
            id: 1,
            child: const SizedBox(
              width: 50,
              height: 50,
            ),
          ),
          LayoutId(
            id: 2,
            child: const SizedBox(
              width: 50,
              height: 50,
            ),
          )
        ],
      ),
    );
  }
}

class _MultiChildLayoutDelegate extends MultiChildLayoutDelegate {
  _MultiChildLayoutDelegate();

  @override
  Size getSize(BoxConstraints constraints) {
    hasChild(0);
    return Size(constraints.maxWidth, constraints.maxHeight);
  }

  @override
  void performLayout(Size size) {}

  @override
  bool shouldRelayout(covariant MultiChildLayoutDelegate oldDelegate) {
    return true;
  }
}

Logs
           ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
           The following _CastError was thrown during performLayout():
           Null check operator used on a null value

           The relevant error-causing widget was:
             CustomMultiChildLayout
             CustomMultiChildLayout:file:///Users/max/AndroidStudioProjects/layout_bug_example/lib/main.dart:28:13

           When the exception was thrown, this was the stack:
           #0      MultiChildLayoutDelegate.hasChild (package:flutter/src/rendering/custom_layout.dart:133:46)
           #1      _MultiChildLayoutDelegate.getSize (package:layout_bug_example/main.dart:63:5)
           #2      RenderCustomMultiChildLayoutBox._getSize (package:flutter/src/rendering/custom_layout.dart:359:44)
           #3      RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:409:12)
           #4      RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
           #5      RenderBox.layout (package:flutter/src/rendering/box.dart:2418:11)
           #6      MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:12)
           #7      _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1055:7)
           #8      MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
           #9      RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:410:14)
           #10     RenderObject.layout (package:flutter/src/rendering/object.dart:2135:7)
.....
       The following RenderObject was being processed when the exception was fired: RenderCustomMultiChildLayoutBox#21a29 relayoutBoundary=up1 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
             creator: CustomMultiChildLayout ← KeyedSubtree-[GlobalKey#19ad8] ← _BodyBuilder ← MediaQuery ←
               LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← _ActionsMarker ← Actions ←
               AnimatedBuilder ← DefaultTextStyle ← AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#ce20a ink
               renderer] ← ⋯
             parentData: offset=Offset(0.0, 0.0); id=_ScaffoldSlot.body (can use size)
             constraints: BoxConstraints(0.0<=w<=411.4, 0.0<=h<=843.4)
             size: MISSING
           This RenderObject had the following descendants (showing up to depth 5):
               child 1: RenderConstrainedBox#b765d NEEDS-LAYOUT NEEDS-PAINT
               child 2: RenderConstrainedBox#938bd NEEDS-LAYOUT NEEDS-PAINT
               child 3: RenderConstrainedBox#93540 NEEDS-LAYOUT NEEDS-PAINT
           ════════════════════════════════════════════════════════════════════════════════════════════════════

Running "flutter pub get" in layout_bug_example...                 253ms
Analyzing layout_bug_example...
No issues found! (ran in 3.1s)

[✓] Flutter (Channel stable, 3.3.8, on macOS 13.0.1 22A400 darwin-arm, locale en-DE)
    • Flutter version 3.3.8 on channel stable at /Users/max/fvm/versions/3.3.8
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (2 weeks ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/max/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/max/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14B47b
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/max/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/max/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] IntelliJ IDEA Community Edition (version 2022.2.3)
    • IntelliJ at /Users/max/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/222.4345.14/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] Connected device (4 available)
    • Pixel 7 (mobile)            • 29021FDH2004TJ • android-arm64  • Android 13 (API 33)
    • sdk gphone64 arm64 (mobile) • emulator-5554  • android-arm64  • Android 12 (API 31) (emulator)
    • macOS (desktop)             • macos          • darwin-arm64   • macOS 13.0.1 22A400 darwin-arm
    • Chrome (web)                • chrome         • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Not sure if I am not supposed to call hasChild during getSize. But since the documentation clearly states that this may be done

/// True if a non-null LayoutChild was provided for the specified id.
///
/// Call this from the [performLayout] or [getSize] methods to
/// determine which children are available, if the child list might
/// vary.
bool hasChild(Object childId) => _idToChild![childId] != null;

I assume this is either an issue with the documentation or with the framework.

Triage report
I can reproduce this issue on Master (3.6.0-7.0.pre.35)

Code Sample (Same as OP)
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: CustomMultiChildLayout(
        delegate: _MultiChildLayoutDelegate(),
        children: [
          LayoutId(
            id: 0,
            child: const SizedBox(
              width: 50,
              height: 50,
            ),
          ),
          LayoutId(
            id: 1,
            child: const SizedBox(
              width: 50,
              height: 50,
            ),
          ),
          LayoutId(
            id: 2,
            child: const SizedBox(
              width: 50,
              height: 50,
            ),
          )
        ],
      ),
    );
  }
}

class _MultiChildLayoutDelegate extends MultiChildLayoutDelegate {
  _MultiChildLayoutDelegate();

  @override
  Size getSize(BoxConstraints constraints) {
    hasChild(0);
    return Size(constraints.maxWidth, constraints.maxHeight);
  }

  @override
  void performLayout(Size size) {}

  @override
  bool shouldRelayout(covariant MultiChildLayoutDelegate oldDelegate) {
    return true;
  }
}

Logs
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following _CastError was thrown during performLayout():
Null check operator used on a null value

The relevant error-causing widget was:
  CustomMultiChildLayout
  CustomMultiChildLayout:file:///home/exabyt3/dev/nevercode/issue_115898/lib/main.dart:28:13

When the exception was thrown, this was the stack:
#0      MultiChildLayoutDelegate.hasChild (package:flutter/src/rendering/custom_layout.dart:133:46)
#1      _MultiChildLayoutDelegate.getSize (package:issue_115898/main.dart:63:5)
#2      RenderCustomMultiChildLayoutBox._getSize (package:flutter/src/rendering/custom_layout.dart:359:44)
#3      RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:409:12)
#4      RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#5      RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#6      MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:12)
#7      _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1080:7)
#8      MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
#9      RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:410:14)
#10     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#11     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#12     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#13     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#14     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#15     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#16     _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1467:11)
#17     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#18     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#19     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#20     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#21     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#22     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#23     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#24     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#25     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#26     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#27     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#28     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#29     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#30     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#31     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#32     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#33     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#34     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#35     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#36     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#37     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#38     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#39     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#40     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#41     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#42     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#43     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#44     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#45     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#46     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#47     RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3815:13)
#48     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#49     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#50     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#51     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#52     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#53     _RenderTheatre.performLayout (package:flutter/src/widgets/overlay.dart:856:15)
#54     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#55     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#56     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#57     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#58     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#59     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#60     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#61     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#62     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#63     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#64     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#65     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#66     RenderCustomPaint.performLayout (package:flutter/src/rendering/custom_paint.dart:552:11)
#67     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#68     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#69     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#70     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#71     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#72     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#73     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#74     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#75     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#76     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#77     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#78     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#79     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#80     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#81     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#82     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#83     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#84     RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:120:14)
#85     RenderObject.layout (package:flutter/src/rendering/object.dart:2189:7)
#86     RenderBox.layout (package:flutter/src/rendering/box.dart:2430:11)
#87     RenderView.performLayout (package:flutter/src/rendering/view.dart:175:14)
#88     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2027:7)
#89     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1020:18)
#90     RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:516:19)
#91     WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:869:13)
#92     RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:381:5)
#93     SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1289:15)
#94     SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1218:9)
#95     SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:942:7)
#99     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:192:26)
(elided 3 frames from class _Timer and dart:async-patch)

The following RenderObject was being processed when the exception was fired: RenderCustomMultiChildLayoutBox#71e82 relayoutBoundary=up1 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
  creator: CustomMultiChildLayout ← KeyedSubtree-[GlobalKey#bdc5b] ← _BodyBuilder ← MediaQuery ←
    LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← _ActionsMarker ← Actions ←
    AnimatedBuilder ← DefaultTextStyle ← AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#ce008 ink
    renderer] ← ⋯
  parentData: offset=Offset(0.0, 0.0); id=_ScaffoldSlot.body (can use size)
  constraints: BoxConstraints(0.0<=w<=952.0, 0.0<=h<=1014.0)
  size: MISSING
This RenderObject had the following descendants (showing up to depth 5):
    child 1: RenderConstrainedBox#7ee0d NEEDS-LAYOUT NEEDS-PAINT
    child 2: RenderConstrainedBox#2dd2d NEEDS-LAYOUT NEEDS-PAINT
    child 3: RenderConstrainedBox#ed89d NEEDS-LAYOUT NEEDS-PAINT
════════════════════════════════════════════════════════════════════════════════════════════════════

Another exception was thrown: RenderBox was not laid out: RenderCustomMultiChildLayoutBox#71e82 relayoutBoundary=up1 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE

Another exception was thrown: Updated layout information required for RenderConstrainedBox#7ee0d NEEDS-LAYOUT NEEDS-PAINT to calculate semantics.
The Flutter DevTools debugger and profiler on Linux is available at: http://<IP_ADDRESS>:9100?uri=http://<IP_ADDRESS>:35461/Le6dWbqzasA=/

Another exception was thrown: 'package:flutter/src/widgets/binding.dart': Failed assertion: line 842 pos 14: '!_firstFrameCompleter.isCompleted': is not true.

It seems like a documentation issue.
Looking into the source _idToChild is only assigned when layout and getSize is called before the layout.

flutter: getSize
flutter: performLayout

As expected _idToChild is null before layout.
hasChild looks for _idToChild which is not assigned until layout

bool hasChild(Object childId) => _idToChild![childId] != null;


Errors when targeting omp and cuda at the same time

When compiling the example bruteforce_nbody problem with both openmp and cuda as a target some errors are being produced. However, when  I compile to cuda or OpenMP separately everything works as expected. So the issue seems to only arise when targeting them both.
Using the following command: syclcc -o test bruteforce_nbody.cpp --hipsycl-targets='omp;cuda:sm_60'

Logs.
syclcc -o test bruteforce_nbody.cpp --hipsycl-targets='omp;cuda:sm_60'
syclcc warning: No optimization flag was given, optimizations are disabled by default. Performance may be degraded. Compile with e.g. -O2/-O3 to enable optimizations.
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:53:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (acos,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:54:19: note: previous declaration is here
__DEVICE__ double acos(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:55:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (asin,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:58:19: note: previous declaration is here
__DEVICE__ double asin(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:57:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (atan,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:64:19: note: previous declaration is here
__DEVICE__ double atan(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:59:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (atan2,, (_Mdouble_ __y, _Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:62:19: note: previous declaration is here
__DEVICE__ double atan2(double, double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:62:17: error: exception specification in declaration does not match previous declaration
__MATHCALL_VEC (cos,, (_Mdouble_ __x));
                ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:74:19: note: previous declaration is here
__DEVICE__ double cos(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:64:17: error: exception specification in declaration does not match previous declaration
__MATHCALL_VEC (sin,, (_Mdouble_ __x));
                ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:191:19: note: previous declaration is here
__DEVICE__ double sin(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:66:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (tan,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:197:19: note: previous declaration is here
__DEVICE__ double tan(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:71:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (cosh,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:76:19: note: previous declaration is here
__DEVICE__ double cosh(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:73:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (sinh,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:193:19: note: previous declaration is here
__DEVICE__ double sinh(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:75:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (tanh,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:199:19: note: previous declaration is here
__DEVICE__ double tanh(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:85:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (acosh,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:56:19: note: previous declaration is here
__DEVICE__ double acosh(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:87:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (asinh,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:60:19: note: previous declaration is here
__DEVICE__ double asinh(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:89:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (atanh,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:66:19: note: previous declaration is here
__DEVICE__ double atanh(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:95:17: error: exception specification in declaration does not match previous declaration
__MATHCALL_VEC (exp,, (_Mdouble_ __x));
                ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:84:19: note: previous declaration is here
__DEVICE__ double exp(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:98:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (frexp,, (_Mdouble_ __x, int *__exponent));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:104:19: note: previous declaration is here
__DEVICE__ double frexp(double, int *);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:101:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (ldexp,, (_Mdouble_ __x, int __exponent));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:140:19: note: previous declaration is here
__DEVICE__ double ldexp(double, int);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:104:17: error: exception specification in declaration does not match previous declaration
__MATHCALL_VEC (log,, (_Mdouble_ __x));
                ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:158:19: note: previous declaration is here
__DEVICE__ double log(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:107:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (log10,, (_Mdouble_ __x));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:147:19: note: previous declaration is here
__DEVICE__ double log10(double);
                  ^
In file included from <built-in>:1:
In file included from /usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_runtime_wrapper.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/x86_64-linux-gnu/bits/mathcalls.h:110:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
            ^
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_math_forward_declares.h:165:19: note: previous declaration is here
__DEVICE__ double modf(double, double *);
                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for host.

The issue seem to be arising from multiple decelerations of the same functions. It would be nice if someone could point me in the right direction of how to get this solved as it seems like hipSYCL does support multiple targets at the same time but something may just be wrong with my configuration.

Using OpenMP and CUDA together is broken in LLVM / Clang until version 11.0.1
So to use these together, you have to update your LLVM from 10 to at least 11.0.1.
If that's currently not possible, you might try to dirtily copy those headers from https://github.com/llvm/llvm-project/tree/llvmorg-11.0.1/clang/lib/Headers/openmp_wrappers to your /usr/lib/llvm-10/lib/clang/10.0.0/include/

Thanks for the quick response, I was able to upgrade LLVM and clang to version 11.1.0. But it resulted in new errors:

syclcc -o test bruteforce_nbody.cpp --hipsycl-targets='omp;cuda:sm_60'

syclcc warning: No optimization flag was given, optimizations are disabled by default. Performance may be degraded. Compile with e.g. -O2/-O3 to enable optimizations.
/usr/bin/ld: /tmp/bruteforce_nbody-6e8048.o: undefined reference to symbol '_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_@@GLIBCXX_3.4.21'
/usr/bin/ld: /lib/x86_64-linux-gnu/libstdc++.so.6: error adding symbols: DSO missing from command line
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Which was fixable by adding -lstdc++ but resulted in a new error:

syclcc -o test bruteforce_nbody.cpp --hipsycl-targets='omp;cuda:sm_60' -lstdc++

syclcc warning: No optimization flag was given, optimizations are disabled by default. Performance may be degraded. Compile with e.g. -O2/-O3 to enable optimizations.
/usr/bin/ld: /tmp/bruteforce_nbody-98cf6d.o: undefined reference to symbol 'sqrtf@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Which I finally was able to fix by adding -lm:

syclcc -o test bruteforce_nbody.cpp --hipsycl-targets='omp;cuda:sm_60' -lstdc++ -lm

The resulting binary is possible to run.
However, it feels like something is still configured a bit wrong on my end as I had to add those extra flags. Any advice for that?

This usually happens if you pass a path to clang, not clang++ to the cmake CLANG_EXECUTABLE_PATH variable. clang does not link to libstdc++ by default while clang++ does.

What @illuhad said :)
To verify, can you have a look at /etc/hipSYCL/syclcc.json whether the default-clang is set to clang or clang++
And as a quick verification, you can also try to add --hipsycl-clang=<path-to>/clang++ to the command line

Yep, that did the trick! Thanks for all the help. I will close this issue now as it has been resolved :)


Recommendations

@blynch11p @mannyrivera2010 @mleeBoeing @rkenyon1969
Trying to get this merged to main for demo

I made a small commit because of an error with newListing being redefined in the if/else.
Otherwise :+1:

:+1:


More compact way to add traits in JobDSL Configuration Blocks

Summary
Hello,
Having read _posts/2020-04-30-jenkins-jobdsl-git-traits.markdown, I've found a more compact solution:
branchSources {
	branchSource {
		source {
			git {
				id(...)
				remote(...)
				traits {
					gitBranchDiscovery()
					localBranchTrait()
				}
			}
		}
	}
}

This seems more idiomatic to Jenkins jobdsl.
Regards.

Thanks for taking the time to mention that. I'll update the post soon

Are you able to get this working specifically with the GitLFSPullTrait and CheckoutOptionTrait? It seems like some traits are not accessible other than through configure blocks. If you have a working example that'd be appreciated.
I think my use of cloneOptionTrait is also not current

Thanks again for the suggestion (ignore my previous accidental comment) - I have updated the post and it works in my testing.


Build a Kotlin DSL related to Condition

Motivation:
Using the Kotlin DSL, we can use condition-related functions more easily.
Modifications:

Built a Kotlin DSL for the Condition class.

Result:

When using Kotlin, we can use the Kotlin DSL without using the Java method of the condition-related class.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@doljae Can you review this PR?

Note that this PR is related to #3

@doljae Can you review this PR?

I'm not sure if it's okay for me to review this PR, but I'll try 🙂

Like the existing code base, it seems that the code has become better by adding descriptions of functions through KDoc 👍
It's a very small part, but I was curious about the infix function writing style.

The previously written code style exposed the this.
infix fun Condition.and(condition: Condition): ComposedCondition = this.and(condition)

But the current version seems to have removed this.
infix fun Condition.and(condition: Condition): ComposedCondition = and(condition)

In this regard, I searched for a convention suggested by the Kotlin Style Guide, but it seems that there is no related content. So, I have raised an issue on the Kotlin Style Guide.
Personally, I think that using the this is similar to using the original function to be made into an infix function, and it has the advantage of helping to understand the code.
However, since the original function is not complicated and there will be no major problems even if this is omitted, I think it is fine as it is now 🙂


TextField uses timer task to perform cursor blinking

Related to #5023
TextField now relies on Timer and update cursor visibility from its callback. This will allow TextField to have a blink animation even under non-continuous rendering state.
One drawback should be considered though. There are cases when blinking should be restarted (key input, cursor moved) and since Timer API doesn't allow to reset scheduled repeated task immediately, workaround is used and the task imitates reset by making cursor visible and skipping one blink cycle. But this should be fine due to blink ticks happen pretty often and effect is barely noticeable.

Oh, I'm a bit late. Anyway, thanks Nate!


Adding support for server side encryption of spark jar.

Hello, Your plugin is very helpful . I have added the support for spark jar file with server side encryption upload support . Could you please merge and release it to maven central ?
Let me know if you need anything from me.
Warm Regards,
Alvin.

implemented the changes you suggested.By providing the function to user is awesome way to do it.Let me know if you think something is not right. Thanks for you help.

LGTM. Thanks for the contribution.

@alvinhenrick The email address in your commits is<EMAIL_ADDRESS>which is not connected with your Github account. You may try to add the email to your Github account to let your name shown on the contributors list. :P

Sent another pull request with updated email since I no longer have access to<EMAIL_ADDRESS>email address.
Apologize for inconvenience. Thanks


added seed to declaration

https://github.com/edenlabllc/ehealth.api/issues/669

Changes Unknown when pulling 026ef6a2d651563dd77b836a7ab9b6feadebd7ee on add_seed_to_declaration#669 into ** on master**.

Changes Unknown when pulling 46334f4a119f370f0d8f75226a3fff909fcb4ec8 on add_seed_to_declaration#669 into ** on master**.

Changes Unknown when pulling a614b3021eaf6710df2c462a0a2bebe19394f165 on add_seed_to_declaration#669 into ** on master**.


Engine syntax incorrect

I cannot install the latest v7 on node 16 at the moment. NPM is complaining about incompatible version:
npm ERR! code EBADENGINE
npm ERR! engine Unsupported engine
npm ERR! engine Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Not compatible with your version of node/npm<EMAIL_ADDRESS>npm ERR! notsup Required: {"node":">=6.4.0 <13|>=14"}
npm ERR! notsup Actual:   {"npm":"8.3.0","node":"v16.13.0"}

I believe the issue is the syntax used in the engines block in the package.json
I think instead of:
  "engines": {
    "node": ">=6.4.0 <13|>=14"
  },

it should be:
  "engines": {
    "node": ">=6.4.0 <13||>=14"
  },
``` (double pipe instead of single)

#1661

v7.0.1 released https://github.com/visionmedia/superagent/releases/tag/v7.0.1

This is still an issue.
$ npm install superagent
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '>=6.4.0 !13' },
npm WARN EBADENGINE   current: { node: 'v17.3.0', npm: '8.3.0' }
npm WARN EBADENGINE }
up to date, audited 38 packages in 2s
9 packages are looking for funding
run npm fund for details
found 0 vulnerabilities

What might be a valid fix? Not too experienced with engines property.
On Friday, January 7, 2022, Nitish Bezzala @.***> wrote:

This is still an issue.
$ npm install superagent
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: @.***',
npm WARN EBADENGINE required: { node: '>=6.4.0 !13' },
npm WARN EBADENGINE current: { node: 'v17.3.0', npm: '8.3.0' }
npm WARN EBADENGINE }
up to date, audited 38 packages in 2s
9 packages are looking for funding
run npm fund for details
found 0 vulnerabilities
—
Reply to this email directly, view it on GitHub
https://github.com/visionmedia/superagent/issues/1660#issuecomment-1007855030,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD7XBID3LYVFLGK4BUGK2LUU6GHTANCNFSM5LOQKERA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Looking at the Semver spec I don't think there actually is a not equals operator available.
It looks like the correct solution is the one I original gave or the symantically equivelent PR by @nbezzala above. Both of which might cause you Eslint issues.
On the plus side it looks like the reported error is a warning only and it is still installing the module

Also running Eslint seems to suggest that the earliest supported node that will work is v10.10.0 (Catch binding and http2 support).
Removing the catch binding would lower the supported Nodejs to v8.13.0 as http2 was backported

You want e.g. >=6.4.0 <13 || >=14, you can try these out on https://semver.npmjs.com/

+1

v7.0.2 released https://github.com/visionmedia/superagent/releases/tag/v7.0.2
I had to publish with np --no-tests because of yarn test lint errors with eslint not parsing engines properly per https://github.com/mysticatea/eslint-plugin-node/issues/315.


Listener state: Not listening, was working just yesterday

It was working yesterday, but isnt anymore, second day using it
Not listening but suppported

Ive tried redownloading different .ini files, and completely deleted it and redownloaded it, anyone got another solution?
Im running windows 11 Pro N if that affects the situation.
Since the not listening issue its ive had zero audio on my pc too!

Duplicate of https://github.com/stascorp/rdpwrap/issues/2006

One termsrv.dll version = one opened issue.
Try:

Download RDP Wrapper 1.6.2 and extract this to any directory.
Place rdpwrap.ini in the same directory.
Open CMD as administrator
Execute this commands

cd C:\path\to\directory\
rdpwinst -u -k
rdpwinst -i

Enjoy!

Original message: https://t.me/rdpwrap/49131


Parallelized Module In Bioscrape Inference

Emcee is designed to deal with parallelization - we should make use of this!

I will bring this up again in BE240 recitation to see if we can get help on this from someone...

Reviving this issue, since there has been some progress on it over the last few months. A related issue is to add GPU compatibility for inference.
@Farnazmdi (bioscrape reviewer for JOSS) suggested Numpyro as a possible option that may speed up the inference module.
@WilliamIX  I believe you have worked on both of these aspects - parallelization and GPU compatibility. Do you want to add your thoughts here?

Thanks for suggesting this @ayush9pandey and @farnazmdi. Short answer is that the bulk of Bioscrape was written before Numpyro and similar tools were commonly used and stable. I agree that such libraries provide a route for potential GPU compatibility, however they would likely require a complete overhaul of the entire library switching from compiled Cython code to just-in-time compilation methods with completely different dependencies and implementation.
At a higher level, there are a number of GPU-enabled ODE and SSA solvers that have become available in the past few years. I think these are better options for GPU-based inference approaches. Bioscrape is not aiming to be the fastest inference engine possible, but rather strike a balance between a functional set of unique features (many of which aren't readily available in many simulators, such as stochastic delays) and speed.


Lambda on value-card text

Can you make ability to use lambdas on value-card text attribute?
Like
    on_time:
      - cron: '* * * * * *'
        then:
          lambda: |-
            char buff[10] = "-";
            auto time = id(homeassistant_time).now();
            if (time.is_valid())
              sprintf(buff, "%02d:%02d:%02d", time.hour, time.minute, time.second);
            id(local_time).set_text(std::string(buff));

I have no plans to enhance v1 in any way. Only bug fixes might be applied. But yes, I'm considering accepting lambdas for text properties in v2.


Handling Keys

First of all i love the project you are making, i used orm before but the tool i used was rly stupid compared to this simple and easy solution.
One thing is it possible to handle keys? Like primary keys for auto increase and keys to link 2 databases together? And then use it in the Database Model? I have a account database and a device database a account can be linked to a device. So the device database has a key in it from the primary key from the account database. So i know which account is linked to this device.
Thanks!

Hi @flo2000ace thank you for your kind words.
I don't have any plans for natively defining foreign keys. The reason being is that 1) attributes require compile time constants and 2) it would create additional constraints on instantiation (ie type initialization ordering and finalization).
You can of course use class properties like foreign keys without a foreign key constraint. Or, pre-initialize the tables with the foreign key constraints in place.

Ah ok thanks, i think i will use class properties, thanks!


human_pp_humansegv2_lite_192x192_inference_model_with_softmax导出onnx出错

Please fill in the information below so that we can solve the problem quickly, Thanks !
Describe the bug
A clear and concise description of what the bug is.
Informations (please complete the following information):

Inference engine for deployment:
Why convert to onnx：
Paddle2ONNX Version:
Email/Wechat/Phone:

Screenshots

Additional context

You can use the following script to convert your model to static shape model and then use paddle2onnx to convert to onnx: https://github.com/jiangjiajun/PaddleUtils/tree/main/paddle#2-修改paddle模型输入shape


Unkown Blob Error

Version
4.0.5
Environment info

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
  Binaries:
    Node: 10.16.3 - C:\Program Files\nodejs\node.EXE
    Yarn: Not Found
    npm: 6.11.3 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 44.17763.831.0
  npmPackages:
    @jwc/vue-openjscad: ^1.0.3 => 1.0.3
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0
    @vue/babel-plugin-transform-vue-jsx:  1.1.2
    @vue/babel-preset-app:  4.0.5
    @vue/babel-preset-jsx:  1.1.2
    @vue/babel-sugar-functional-vue:  1.1.2
    @vue/babel-sugar-inject-h:  1.1.2
    @vue/babel-sugar-v-model:  1.1.2
    @vue/babel-sugar-v-on:  1.1.2
    @vue/cli-overlay:  4.0.5
    @vue/cli-plugin-babel: ^4.0.0 => 4.0.5
    @vue/cli-plugin-eslint: ^4.0.0 => 4.0.5
    @vue/cli-plugin-router:  4.0.5
    @vue/cli-plugin-vuex:  4.0.5
    @vue/cli-service: ^4.0.0 => 4.0.5
    @vue/cli-shared-utils:  4.0.5
    @vue/component-compiler-utils:  3.0.2
    @vue/preload-webpack-plugin:  1.1.1
    @vue/web-component-wrapper:  1.2.0
    eslint-plugin-vue: ^5.0.0 => 5.2.3
    vue: ^2.6.10 => 2.6.10
    vue-eslint-parser:  5.0.0
    vue-hot-reload-api:  2.3.4
    vue-loader:  15.7.2
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.6.10 => 2.6.10
    vue-template-es2015-compiler:  1.9.1
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce
I'm trying to use Vuejs to develop a website in which the OpenJsCad tool is embedded for 3D model rendering purpouses. The problem is the following one:
I managed to include properly every component in the main App.vue file, but some weird error pops out when I "npm run serve". I want to point out that nothing this strange happens if I run the raw HTML source. Since I don't get what actually happens, I'm adding some screenshots to make you figure out what the situation is.
What is expected?
The webpage displays no errors.
What is actually happening?
The error pops out under the 3D viewer.

Hello!
Thank your for your interest in this project.
However, your issue is a usage/support question, and the issue tracker is reserved exclusively for bug reports and feature requests (as outlined in our Contributing Guide).
We encourage you to ask it on the forum  , Stack Overflow or on our Discord chat and are happy to help you out there.


fix text-align-justify and replace the span tag with strong to make t…

…he five pointer related to create a foundation for Terraform bold

Thanks!


Prefix hashes with underscores based on CSS spec

According to the CSS spec, "identifiers cannot start with a digit, two hyphens, or a hyphen followed by a digit" (Source)
The current regular expression doesn't quite follow the spec, leading to unnecessary prefixing. I noticed this when using the [emoji] placeholder in localIdentName. Every emoji was being prefixed with an underscore, despite Glen Maddern's site proving to the world that a single emoji is a valid class name.
Also, I noticed that this prefixing behaviour was currently untested, so I've added some test cases for the new regular expression to show how it works in practice.
cc @geelen

Thanks

@sokra are you happy for me to release this as a patch update?

it's a minor release.


Ability to use WITH clause

First, thank you so much for this excellent library!
I was wondering if it's possible with create a WITH my_table AS clause with PyPika?
For example:
WITH nameless_selection AS (
    SELECT last_name, dob, location
    FROM users
    WHERE first_name = ''
)  SELECT * FROM nameless_selection;

I have searched the documentation thoroughly but I wanted to check here in-case I somehow missed it?

Currently this is not possible, but should be straight forward to implement it

Yes, this should be great to have!

I agree. And also we need an ability to insert raw queries, because query builders never covers all case.
For example I need something like this:
with someitems as (
    select * from (values (171, 60), (33342, 50)) myitems (aaa, bbb)
)
select * from product
join someitems on products.somefield=someitems.aaa


use vscode icons instead of external files

this is not documented but it works as expected for both light & dark

Looks really good! Thanks for the contribution 👍

https://code.visualstudio.com/updates/v1_42#_codicons-for-reuse


Number of tokens exceeded

After sending several different prompts, the moment came when it sent me the following message:
This model's maximum context length is 2049 tokens, however you requested 4098 tokens (2 in your prompt; 4096 for the completion). Please reduce your prompt; or completion length.
Even if I put a small promt (like hello) I got the error message.

I guess this has to do with the history of prompts that are being sent to the same conversation. Is there a way to clear the history or to indicate that it is a new conversation?

try 1024 tokens


Anchor offset is wrong when parent has a relative position

When loading a page with an anchor in the path, the offset calculation of the target element el.offsetTop is returning the wrong value when it has a parent with relative positioning. My specific scenario is due to Bootstrap applying position: relative to all columns. The easy fix (I assume) would be to loop through the el.offsetParent property, but I thought I better start the conversation here first in case there are some problems with this approach that I haven't considered.

Hi, thanks for filling this issue.
This behavior is already customizable with 2.0's [scroll behavior] hook (http://router.vuejs.org/en/advanced/scroll-behavior.html)
(I assume you're talking about<EMAIL_ADDRESS>Example:

If you want to simulate the "scroll to anchor" behavior:

scrollBehavior (to, from, savedPosition) {
if (to.hash) {
return {
selector: to.hash
}
}
}

And it uses `getBoundingClientRect` by default to scroll to elements, so no more `offsetTop` issues, but you can still customize it any way you want. ;)


React-based WebApp Environment Added

Added the react-based UI design environment for front-end development of the program.

Very Good environment


Implement torchIO and the necessary data augmentation strategies in ivadomed

Context: https://github.com/ivadomed/model_seg_ms_mp2rage/pull/11#issuecomment-992718212
The data augmentations we would like to implement to parallelize the the two pipelines (i.e. custom script mentioned in the context above and ivadomed) in the hopes of achieving better performance with ivadomed are:

[x] Random flipping in all axes
[x] Random gamma contrast
[x] Random bias field
[x] Random blur

Random flipping in all axes now works in ivadomed with a bug fix introduced with the already merged PR #1013. Random gamma contrast augmentation is now implemented in ivadomed with the ready-to-be-reviewed PR #1015. The task list above is updated accordingly.

Random bias field augmentation is now implemented in ivadomed with the ready-to-be-reviewed PR #1033. The task list above is updated accordingly.

Random blur augmentation is now implemented in ivadomed with reviewed and merged PR #1034.
With this, I am closing this issue as all four augmentations has been implemented in ivadomed.


Emoji for release?

:shipit:? Feels different from :bookmark:.

I never liked :shipit: unless I'm making a joke.

I never liked :shipit: unless I'm making a joke.


Integration Error after HA Update

Hi @alexdelprete ,
after last HA update i have the following error on log window about the integration.
`Logger: custom_components.abb_powerone_pvi_sunspec
Source: custom_components/abb_powerone_pvi_sunspec/init.py:228
Integration: ABB Power-One PVI SunSpec (documentation, issues)
First occurred: 05:32:57 (1 occurrences)
Last logged: 05:32:57
(read_data) Error: check Slave ID: 1 & Base Address: 40000`
Until this update everything worked fine
Can you help me to resolve this issue?
Thank you for your support
HA Running Information:
Home Assistant 2023.9.0
Supervisor 2023.08.3
Operating System 10.5
Frontend 20230906.1 - latest

Same problem here

Same here :(

I upgraded to 2023.9 and I don't see this error.

I just tryed to remove the integration and reinstall with the same settings..........it show "no device or entities"
Before the 2023.9 upgrade everything was perferct

Hi, same issue for me, integration indicates inverter not available since I upgraded to 2023.9.0.

Solved! I’ve manually deleted abb integration and manually installed a new one. Configuration has been made from the mobile phone app instead od a computer browser.
Now everything seems to work. Keep finger crossed

I did the same but nothing change
Now i have no device or entity

Reconfigured now....
Same error

Nothing changed in 2023.9.0 that impacts the integration (pymodbus etc.). It's working fine here.
Make sure the IP is reachable (the VSN card) and that slave id and base address are ok.

@alexdelprete
The ip is reachable and i checked the slave id and base address directly on inverter
Everything is ok
Nothing working after HA update
Before update the integration was good always perfect

I also test the TCP modbus with modpoll client
And i see all the data

I have also the Cnje/sunspec integration.
Same issue...
I left and reconfigured it and now is working

I left and reconfigured it and now is working

what is working?
ANd also, tell me, what's this stuff highlighted in the red box?

@alexdelprete
Now is working the Cjne/ha-sunspec integration.

In the red box there are two consumption control but now are disabled.

Can i do some checks from ha?

In the red box there are two consumption control but now are disabled.

So you modified the code? Reinstall the component from scratch. And also, post the entire HA log so we can check if you have other errors too.

No i don't modify the code
They are simple Riemann helpers
I try to reinstall from scratch

I also test the TCP modbus with modpoll client And i see all the data

from where are you testing TCP modbus? how is HA installed? docker...bare metal...you need to test TCP modbus connection from the same instance HA is running, not only from your pc.

HA is installed on a VM
I can make some tests from terminal

HA is installed on a VM
I can make some tests from terminal

from the VM, check basic ping first, then Modbus TCP. The error is clear: it can't contact the VSN card.

Basic ping is working
How can i test modbus TCP?

I installed integration from scratch again
Seems to be no errore occured

I installed integration from scratch again Seems to be no errore occured

So it's working?

Nop

When i install the integration pack
But when i configure the inverter not working

setup a test HA instance from scratch (if you have a docker VM), and install from there to test.

Probably i understand the problem.
Inside the integration folder is missing some files.
Later i will install the package manually and i will let you know

Probably i understand the problem. Inside the integration folder is missing some files. Later i will install the package manually and i will let you know

If you reinstalled from scratch, how can there be missing files?
Also, try the "redownload" option of HACS: open the component page from HACS and in the upper right, click the three dots and redownload. It will install all the files again.
If you're missing files, you have something not working correctly.

I removed the integration from HACS and i reinstalled it
This is what i see

Now i try to upload all the files and i let you know

Resolved.....
Files missing on integration folder after update
Problably something wrong with HACS
Thank you all for support


Operation Level Tags must be unique, Fix For Issue 1727

Operation Level Tags must be unique

changed the branch to 3.1.0-dev

Thanks. The commit also needs to be against the 3.1.0 markdown file.


feat: upgrade to latest Dynatrace Terraform provider

I am running into problems with Java and Dotnet on my machine so it's not complete as it stands but I at least wanted to get it up to you to show you we've done the work of adding the tokens.

@williamsbdev I used the new auto mapping functionality in the terraform providers to make this a whole lot easier. See https://github.com/lbrlabs/pulumi-dynatrace/pull/41

@williamsbdev I used the new auto mapping functionality in the terraform providers to make this a whole lot easier. See #41

Awesome! I made a couple of suggestions on #41 for typos and reordering the i resources (were slightly out of alphabetical order). Thank you so much for helping get this ready to release! My team is anxiously awaiting this new release as we're implementing Dynatrace.

@williamsbdev I used the new auto mapping functionality in the terraform providers to make this a whole lot easier. See #41

@jaxxstorm - How did you do this "auto mapping functionality"? Could you point me to the docs on this? I'm trying to contribute some docs on how folks can contribute to this but I'm not finding anything about this.


Add gc metrics

Attempt to add GC metrics, resolves #385.

This is a fairly naive attempt to make it work - there is likely something missing, but it does seem to show the desired metrics.