[RFE] open links to foreign sites on a new tab

Is your feature request related to a problem? Please describe.
To not break the user's context links to the documentation and other remote sites should be opened in a new tab. For example the links on the blank Harvester Clusters page pointing to harvesterhci.io. Of course I could use the built in "open in new tab" feature of chrome and firefox, but usually I forget, and when I finally notice there was no new tab I am frustrated.
IMHO it is good practice.
Rancher is version 2.8.2, browser is Brave (derived from Chromium).
Additional context
https://html.com/attributes/a-target/#a_target8221_blank8221_Open_in_New_Browser_Tab_or_Window

@harridu thanks for raising this issue and helping to make Rancher better!
@gaktive I'm transferring this to the dashboard repo for triage.

I'm unable to reproduce while testing on v2.9-head. It looks like this RFE is a duplicate of a bugs discovered in 2.8

#9379
#9920


Integrate Z/OS automation as a Techzone environment

Integrate Z/OS automation as a Techzone environment
automation: https://github.com/cloud-native-toolkit/software-everywhere/issues/328
Details on Techzone:
https://ibm.ent.box.com/notes/977212608527?s=0hqyk884m6a03p0ivodup1y9mhkgyupz
General flow:

create automation to deploy resources
update automation to work with techzone framework (either wrap, or direct updates)
PR with automation into https://github.ibm.com/dte2-0/ccp-gitops-patterns/
work with Techzone team to get PR merged, then will be provisionable within Techzone environments

Related Techzone story: https://github.com/cloud-native-toolkit/software-everywhere/issues/330


flow-typed broken by recent PR

https://github.com/flowtype/flow-typed/pull/785#issuecomment-304462772

We're also seeing this issue however we have no angular dependencies.

Based on the error message provided in the comment, it seems like the issue might be here:
https://github.com/flowtype/flow-typed/blob/d975648089169d519666b628ea201ea7c9bec2c2/cli/src/lib/flowVersion.js#L398
or 'flow_v-v' (for a range).
But here we're seeing a space used instead of a - to separate the versions.

First, this is being pulled in even though we use Angular v1.6.4, so I might expect problems just from that. However, flow is complaining about long-existing functions like angular.isUndefined() and angular.isDefined(). Also, some controller declarations also fail.

This should be fixed in v2.2 by #1311


e2e: dynamic matrix

Signed-off-by: CrazyMax<EMAIL_ADDRESS>

Oh forgot to update the build step, let me fix that.


Remove this one?

@KarstenHopp can I remove this repo? Is it still needed for anything? If it is, move it to https://github.com/modularity-modules please.

I'm not sure if the README.md is still valuable -- it isn't to me. Does anyone still need it? Otherwise I'm +1 on removing.


DISTMYSQL-243 - Orchestrator uses inefficient subquery in REPLACE to …

…update cluster aliases
Problem:
Orchestrator has backend table cluster_alias to store aliases. At certain intervals, orchestrator will update the aliases or insert new host aliases. To do this, it uses the below query in UpdateClusterAliases():
			replace into
					cluster_alias (alias, cluster_name, last_registered)
				select
				    suggested_cluster_alias,
						cluster_name,
						now()
					from
				    database_instance
				    left join database_instance_downtime using (hostname, port)
				  where
				    suggested_cluster_alias!=''
						/* exclude newly demoted, downtimed masters */
						and ifnull(
								database_instance_downtime.downtime_active = 1
								and database_instance_downtime.end_timestamp > now()
								and database_instance_downtime.reason = ?
							, 0) = 0
					order by
						ifnull(last_checked <= last_seen, 0) asc,
						read_only desc,
						num_slave_hosts asc

The problem with the select query is it will generated the same alias,cluster_name multiple times. REPLACE does this operation by doing DELETE+INSERT. REPLACE repeatedly does the same work for all the duplicated records.
This creates un-necessary work for two sub systems in InnoDB

Purge
SELECTS (ReadView)

All those delete marked records create stress on Purge. SELECTs, when they have to build a older version of record, they have to build a long chain of old version records (using undo log). So the un-necessary REPLACE work will create a long chain of records to be built.
Fix:
Use GROUPBY to filter duplicate records in subquery in REPLACE.

Related issue: https://github.com/openark/orchestrator/issues/0123456789
Description
This PR [briefly explain what is does]

https://ps80.cd.percona.com/job/mysql-orchestrator-pipeline/45


should in memory table have TableType::Temporary type?

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
should in memory table have TableType::Temporary type?
Describe the solution you'd like
not sure if ::Base is correct given that mem table goes away after process shutdown
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

cc @Dandandan


[DS-3661] ImageMagick PDF Processing Degraded with Changes in 5.7 release

https://jira.duraspace.org/browse/DS-3661

Hard to see the code changes with all the whitespace noise...

@alanorth , try https://github.com/DSpace/DSpace/pull/1817/files?w=1 to simplify the review.  The whitespace was inconsistent so I let Eclipse normalize it.

Regarding the changes, you're correct to only get the image info if the cmyk and srgb profiles are defined 👍. Good catch. I take it that at GeorgeTown you've not defined those, so it is unnecessarily checking the image class every time?
It took me longer than it should have to read this, due to the non-functional changes to style and formatting. In my opinion commits should be concise and atomic—apply the functional changes first and then clean up the formatting in a separate commit. You should also describe your changes in the commit message(s). 😄

@alanorth , thanks for offering to test this.  This issue led to a significant performance issue in my production environment, so my creation of this PR was done in a bit of a scramble.  I appreciate your patience with the format changes and I agree that your suggestions would be the ideal way to create the PR.
We have the color profile option disabled in dspace.cfg.  We added several hundred large PDF's into our repository.  When the conversion was invoked on these files, the process appeared to serialize each page of the PDF as a file in /tmp even though we only needed the first page.  It took about 30 seconds per page to process.  When I bypassed the calls to org.im4java.core.Info, the thumbnail generation process ran significantly faster (50-100x faster),

@terrywbrady no problem, your solution looks logical. In fact, it seems obvious in hindsight that we'd only even attempt to get the image info if we had the profile options enabled! We don't use very large PDFs so didn't notice this issue. I suspect we need to pass a page number to Info() like we do for the actual image thumbnailing.
Case in point, ImageMagick on the command line takes nearly one minute to return the results of this simple command:
$ identify -format '%r\n' ~/Downloads/DSpace-Manual.pdf | wc -l
833

And notice it returns 833 lines (the PDF is 833 pages!). Versus this, which returns instantly:
$ identify -format '%r\n' ~/Downloads/DSpace-Manual.pdf\[0\]
DirectClass sRGB Alpha

So your observation is correct! Maybe try to see if you can find a way to pass a page number to the Info() call.

Tangential comment on formatting:  I tend to fix the formatting first so that I can read the code without getting a headache.  But I agree that it's best to split formatting and logic into separate commits.

I am still running ghostscript 8.7.  I cannot find any icc files in my ghostscript install directory, so this leaves me unable to fully test this process.
It would be good for someone with a newer version of ghostscript to resolve this issue.
Once this is resolved, the color profile change still needs to be ported to 6x and to master.  That will require additional testing.

I created a new ticket to address the underlying cause of this issue.  https://jira.duraspace.org/browse/DS-3664.  This PR can provide an immediate workaround for the performance issue.

I just tested this change on our DSpace 5.x instance and it works. To clarify, we're using the CMYK detection code and this commit does not affect that functionality, but does make it more streamlined in that it avoids some unnecessary setup/tests for users who aren't using the CMYK detection functionality. Looks good to me. 👍
@terrywbrady can you force push a new commit that has a nice description, though? Future DSpace developers will thank you when they see a nice description in the git log. 😄

I see 2 +1's on this.  Merged...


docs(qa/v1): Report on saturation point and 200-nodes test

Closes #2461, #2513
This report includes results for tests with and without latency emulation.
Rendered

PR checklist

[ ] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[ ] Updated relevant documentation (docs/ or spec/) and code comments
[X] Title follows the Conventional Commits spec

We need to find a way to render the y axis of the graphs similar.

Are you waiting for #2714 to be merged into this branch? There are conflicts already.

Are you waiting for #2714 to be merged into this branch? There are conflicts already.

No, the target branch of #2714 is this branch. First we merge this one into main and the target branch of #2714 will automatically change to main. Then we can fix the conflicts in that PR.


Dual Cam on std RPi evaluation

evaluate a possibility to connect 2 RPi cameras to single CSI MIPI connector. CSI0 to one camera, CSI1 to second

not work as expected


fix: send messages as json with 'message' key

Codecov Report

Merging #10 into dev will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##              dev      #10      +/-   ##
==========================================
- Coverage   25.35%   25.35%   -0.01%
==========================================
  Files         314      314
  Lines        8046     8047       +1
  Branches      705      705
==========================================
  Hits         2040     2040
- Misses       5950     5951       +1
  Partials       56       56

Impacted Files
Coverage Δ

Vstack.Api/Web/Controllers/BaseApiController.cs
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Better Pluralisation

Hello,
I am translating GitExtensions, which use SmartFormat.NET
There are some texts like "{0} {1:month|months} ago".
But for Polish I need 3 forms like:
"nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;"
(for example .po of FileZilla - 1 / 2, 3, 22 ... / 0, 5, 6, 7...)
or something like that: http://www.mediawiki.org/wiki/Localisation#.E2.80.A6on_numbers_via_PLURAL
So I could write "{0} {1:miesiąc|miesiące|miesięcy} temu". For now I have to use unclean "{0} {1:miesiąc|miesięc(e/y)} temu" :/
Could you try add this?
Thanks in advance,
Greetings, Maciej

Language-specific logic is already a feature. Specifically, Polish uses the following code:
        public static int Polish(decimal value, int pluralCount)
        {
            // Three forms, special case for one and some numbers ending in 2, 3, or 4
            if (pluralCount == 3)
            {
                return (value == 1) ? 0 : (value % 10 >= 2 && value % 10 <= 4 && (value % 100 < 10 || value % 100 >= 20)) ? 1 : 2;
            }
            return -1;
        }

Is this what you're asking for?
To utilize this code, you will need to pass a Polish CultureInfo as the first parameter to Smart.Format.

I checked current rule but it is wrong.
Correct rule is that from FileZilla - perfectly chosing form to number.
I think is it also the best for most of languages.
Could you update Polish rule or give it me so I could ask GitExtensions developers to update? Thanks!

Oh, are you're saying that the Polish rule is wrong?  I'd be happy to correct it.
What is the correct rule?
The current rule has "few" defined as value % 10 >= 2 && value % 10 <= 4 && (value % 100 < 10 || value % 100 >= 20), which is numbers like 2, 3, 4, 22, 23, 24, 32, 33, 34, etc.
According to the rule you posted, "few" is defined as n % 10 >= 2 && n % 10 <= 4 && (n % 100 = 20), but that doesn't look right (this expression is always false).  Maybe a copy-and-paste error?
Anyway, what is the correct rule?

According to my sources (http://localization-guide.readthedocs.org/en/latest/l10n/pluralforms.html), the current Polish rule is correct.

Take a look into FileZilla .po file with Polish and search "%s file" string, you will see what I am talking about.
http://maciej.kuzniczysko.pl/files/filezilla.po
And better examples what I need - based on "x months ago":
1 miesiąc temu
2 miesiące temu
3 miesiące temu
4 miesiące temu
5 miesięcy temu
6 miesięcy temu
7 miesięcy temu
[... x miesięcy temu ...]
22 miesiące temu
23 miesiące temu
etc.
I can't get it by SmartFormat.NET:
"{0} {1:miesiąc|miesiące|miesięcy} temu"
give me ->
4 miesięcy temu
5 miesięcy temu
"{0} {1:miesiąc|miesięcy|miesiące} temu"
give me ->
4 miesiące temu
5 miesiące temu
Or maybe you have another rule to get script know what rule should be used, that I didn't know?

On a good note:

It sounds like the current Polish rule is correct, so this feature should be fully supported.
I've been looking for "sample phrases" in different languages to add to the Plural unit tests.  I currently have English, Russian, and Turkish, so I will definitely add a Polish test with "{0:miesiąc|miesiące|miesięcy} temu".

And hopefully this will help you out:

To use the Polish pluralization rule, you must pass a CultureInfo as the first parameter to Smart.Format, such as Smart.Format(CultureInfo.GetCultureInfo("pl"), format, value).  The CultureInfo object provides culture-specific formatting info, such as formats for Numbers and Dates, and is also used by the Plural formatter to determine which Plural rule to use.

Hi. Should it work without culture info, if correct country set in windows?

@KindDragon Right now, the way it works is:

If you explicitly supply the CultureInfo, it works as I described.
If not, the default language rule is English.
Unfortunately, changing the default language is not easy -- you must replace the PluralLocalizationFormatter with a new PluralLocalizationFormatter("pl")
I don't have extensive experience with localization, so I'm not sure if it makes sense to use the Current Culture Info ... what if the computer's language is not the language of the application?  Can this happen?  We wouldn't want the wrong language rules to be used.

I've added the Polish phrases to the unit tests.  Take a look, does it look good?

As regards my side - fine, that is exactly I need.

Unfortunately, changing the default language is not easy -- you must replace the PluralLocalizationFormatter with a new PluralLocalizationFormatter("pl")
I don't have extensive experience with localization, so I'm not sure if it makes sense to use the Current Culture Info ... what if the computer's language is not the language of the application? Can this happen? We wouldn't want the wrong language rules to be used.

My only problem it's hard to pass CultureInfo to each Smart.Format.
Can I change default PluralLocalizationFormatter  to formatter for my current localization?
BTW, would be nice if you create a wiki page with a description of what plural rules are supported, to what countries and an example of how to use it, so that I could give link to localizers.

BTW, would be nice if you create a wiki page with a description of what plural rules are supported, to what countries and an example of how to use it, so that I could give link to localizers.

I found that page https://github.com/scottrippey/SmartFormat.NET/wiki#pluralisation
Would be if that page have example for language with more complex rule.

I've just added a way to change the default:
    Smart.Default.GetFormatterExtension<PluralLocalizationExtension>().DefaultTwoLetterISOLanguageName = "pl";

This change is merged to `master", and will be included in v1.2.  Unfortunately, I'm still trying to figure out how to manage "release management", so I can't say when 1.2 will be released ... but it shouldn't be long.

Thank you

@odie2 As a Polish speaker, I have a question for you.  Although Polish usually has 3 plural forms, does it ALWAYS have 3 different plural forms? Or are there scenarios where there's only 2 plural forms? (Or where the 2nd and 3rd forms are the same)
SmartFormat's plural rules are currently dependent on the number of forms supplied.  So, the Polish rule says "if there are 3 forms, choose [one|few|other]" but there's also a rule that says "if there are 2 forms, choose [one|other]".
And that's how I treat all languages.  If there are 4 plural forms, such as "[one|two|few|other]", then it also supports "[one|two|other]" and "[one|other]".
I'd like to determine if this is a useful feature, or if it doesn't really make sense.  All other Plural Rules that I can find seem to require all 3 forms, so you'd end up repeating yourself if there were only 2 forms.

Hmm,
we have 2 plurals and one singualar:
Dog(s):
1 pies (singualar)
2 psy (1st plural)
5 psów (2nd plural)
Branch(es):
1 gałąź
2 gałęzie
5 gałęzi
Comment(s):
1 komentarz
2 komentarze
5 komentarzy
As I remember, there are no the same word for two plurals, if exists very rarely.
I suggest you for others languages fill unfilled plurals with previous,
so {1:one|two} will be {1:one|two|two}.
For most languages that should be fine. The question is for
{1:one|two|three} to {1:one|two|three| two or three? } for "nicer" languages.
I think you could check PO examples (maybe predefined for certains languages - option in translation properties).


Fix IREE_FLAGS_ENABLE_FLAG_FILE file IO support

IREE_FLAGS_ENABLE_FLAG_FILE only works when file IO is enabled. For generic platforms with IREE_FILE_IO_ENABLE=0 it could cause build failure. Add additional checks for the default setting.

This fixes the build error when build for generic-riscv_32 with -DIREE_SIZE_OPTIMIZED=ON https://github.com/iree-org/iree/blob/fc610481f467d1996ad58f0105a61535a99ad593/build_tools/cmake/iree_copts.cmake#L397-L407

Nice, thanks!


PassCore Debug

Hello,
I'd like to look inside PassCore code, just for my personal knowledge, but I encountered some problems while debugging it. I'm not programming expertise, but I'm an IT, so if you can give me just a few recommendations it would be great.
Please, tell me if it is the wrong place to ask.
Describe the bug
Basically I have to problems while debugging PassCore code:

Warning "The breakpoint will not currently be hit. No symbols have been loaded for this document" for any breakpoint set in dependency project (e.g. Unosquare.PassCore.Common => PasswordChangeProvider.cs)
While testing it, any username/password is accepted (message: "You have changed your password successfully.") even if it doesn't exist or it's wrong.

Desktop:

OS: Windows 10 1903
Browser: Chrome
Development Environment: VS 2019 (16.3.4), .NET Core SDK 3.0.100, Node.js 10.16.3 LTS, parcel-bundler 1.12.4 (npm install -g parcel-bundler).

Thank you very much,
Luca

Hi,
Let me explain each issue:
1 - If you are not able to set a breakpoint you may need to check if you are running in Debug. If it is not the case, you can check at Google for similar issues with VS (https://developercommunity.visualstudio.com/content/problem/97445/vs2017-the-breakpoint-will-not-currently-be-hit-no.html)
2 - Passcore has three possible builds, based on build settings. Each one will use a different PasswordChange Provider:

Release Windows - Provider using Microsoft Directory Services
Release Linux/Mac - Provider using Novell LDAP.
Debug - Provider using mock data.
You might be using Debug provider and that is why you are getting this behaviour (and also issue 1)

If you want to switch to Release Provider using the debugger. You can edit the Startup.cs file in Web project (https://github.com/unosquare/passcore/blob/master/src/Unosquare.PassCore.Web/Startup.cs) and modify the lines:
#if DEBUG
to
#if !DEBUG
This will adjust the source code to compile against the right provider.

Hello @geoperez,
thank you very much for clear explanation.
It worked: I missed the #if DEBUG part.
Thank you again guy.
Luca

Hello @geoperez,
thank you very much for clear explanation.
It worked: I missed the #if DEBUG part.
Thank you again guy.
Luca


fallback to cwd if log location is unavailable

tiny PR that just ensures that there will always be a log location that will fallback to the cwd if necessary, while letting the user know:
$ radosgw-agent --test-server-host localhost --test-server-port 8888 --src-access-key SRC_ACCESS_KEY --src-secret-key SRC_SECRET_KEY --dest-access-key DEST_ACCESS_KEY --dest-secret-key DEST_SECRET_KEY http://localhost:8888
2015-03-10 14:52:07,551 2141 [radosgw_agent][WARNIN] unable to use log location: /var/log/ceph/radosgw-agent/radosgw-agent.log
2015-03-10 14:52:07,551 2141 [radosgw_agent][WARNIN] [Errno 2] No such file or directory: '/var/log/ceph/radosgw-agent/radosgw-agent.log'
2015-03-10 14:52:07,552 2141 [radosgw_agent][WARNIN] will fallback to ./radosgw-agent.log

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/radosgw-agent-pull-requests/228/
Tests passed for this pull request.


Make it possible to extend the isa check.

PR checklist:

[ ] Added changelog entry.

Example usage: https://github.com/osohq/gitclub/blob/sam/prisma/backends/express-prisma/src/oso.ts#L32


Mouse disapears in VScode for MacOS

Issue Type: Bug
Mouse/cursor isn't visible within the canvas (writing area), move to the chrome/edge UI and the mouse re appears.
VS Code version: Code 1.23.1 (d0182c3417d225529c6d5ad24b7572815d0de9ac, 2018-05-10T16:03:31.083Z)
OS version: Darwin x64 17.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7267U CPU @ 3.10GHz (4 x 3100)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
6, 6, 6

Memory (System)
8.00GB (0.03GB free)

Process Argv
/Applications/Visual Studio Code.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

vscode-markdownlint
Dav
0.17.0

xml
Dot
1.9.2

vscode-devskim
MS-
0.2.2

vscode-docker
Pet
0.0.27

sort-lines
Tyr
1.7.0

code-runner
for
0.9.3

auto-comment-blocks
kev
1.0.1

markdown-shortcuts
mdi
0.8.1

PowerShell
ms-
1.7.0

wordcount
ms-
0.1.0

copy-json-path
nid
0.0.1

partial-diff
ryu
1.1.0

markdown-pdf
yza
1.2.0

I'm experiencing this issue now, and per my testing, it seems related to the external monitor I'm using. I don't have the issue on the MacBook Pro's display when not connected to an external monitor. The issue surfaces when I'm connected to one monitor (Dell P2715Q) but not when connected to another (Dell U3417W). I believe the biggest difference between the two is the P2715Q (the one that produces the issue) is 4k while the other one (that doesn't produce the issue) is not.

Are we certain this is a duplicate? This does not appear to be an OS specific bug. I'm seeing this only in the code editor window, and only in Visual Studio Code. No other apps.

I'm actually seeing it in SublimeText when using a dark theme there also.
If I use a light theme in either app, the cursor remains. The only
workaround that's working for me at this time is to use the Accessibility
settings to make my cursor ever so slightly larger than normal size. I wish
it wasn't necessary. There's definitely a bug here somewhere, which would
be nice to see fixed.
On Mon, Jun 4, 2018 at 1:17 PM Drew Covi<EMAIL_ADDRESS>wrote:

Are we certain this is a duplicate? This does not appear to be an OS
specific bug. I'm seeing this only in the code editor window, and only in
Visual Studio Code. No other apps.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/50409#issuecomment-394449018,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACuRtruskhT7DVj3CgNTGpuUagb1zVCjks5t5XmcgaJpZM4UMwQT
.


Fix wrong emoji code

In lib/twemoji/data/emoji-unicode{,-png,-svg}.yml,
a colon was missing in :woman::skin-tone-6: emoji's code as below.
:woman::skin-tone-6

This colon is supplemented.

I'm glad if you add me as an owner :grinning:.
There is my e-mail address here.
But I don't know how to use rubygems.org (I'm learning it now.)
Could you merge and release my PR as an example?

@yantene Do you signed up by this email on rubygems.org?

@JuanitoFatas Yes, I did.

Added :)
$ gem owner twemoji -a<EMAIL_ADDRESS>Owner added successfully.
Owners for gem: twemoji
-<EMAIL_ADDRESS>

@JuanitoFatas Thank you!


color ring for flood

test with just 95% only to see if it visually works

And now that I am thinking about it today, the goal is to summarize WY2018 and I think we would be doing a disservice to it if we didn't indicate flooding vs just higher levels (and peak or not..).
@aappling-usgs do you have any thoughts? If we go with showing flooding, I still need to choose a better way to show it.

Based on your test, I think showing flood status is visually achievable. I agree with your recent thinking that this would be a really nice feature to include. My only hesitation might be that I think not all gages have flood stage information, is that right? If a big fraction (>10%, say?) of the dots being displayed have no flood stage, then I'd be more reluctant to include that info for the other ones, though we could get around that by noting somewhere that not all gages have that info available.
I often drift to purples when I'm using red and blue and need a third color, and that's what I'd try next here. But whether you land on purple, green, or something else, I think the ring color should be a little brighter so it stands out more from a distance.
How about keeping the dot the same size as the others but adding a thick ring around it (thicker than what you currently have)? Idea would be that yes, the inside of the dot might be dark or lighter blue to stay true to the data, but the main message would be the presence of the ring=FLOOD!.
There could still be just one legend entry for flooding, just showing the darkest blue and its ring, even if the inside dot might occasionally be light on the map itself, again going with the idea that we have a main message about flooding and the details of edge cases are less important.

I'm inclined to forge ahead with a note.


374 integration test refactor

azure pipeline failed due to no more resources available this month, merging code based on acceptable manual testing.


add docs with account upgrade instructions

Description & motivation
We received a request to add detailed instructions to the dbt Cloud docs for how to upgrade an account: https://dbt-labs.slack.com/archives/C02HE19D51R/p1646682090230399
This doc is meant to essentially take a user step by step through the upgrade process, whether they want to select the Developer, Team, or Enterprise option.
Pre-release docs
Is this change related to an unreleased version of dbt?

[ ] Yes: please

update the base branch to next
add Changelog components: <Changelog>[New/Changed] in v0.x.0</Changelog>
add links to the "New and changed documentation" section of the latest Migration Guide

[X] No: please ensure the base branch is current
[ ] Unsure: we'll let you know!

Checklist
If you added new pages (delete if not applicable):

[X] The page has been added to website/sidebars.js
[X] The new page has a unique filename

hey @sophiad96 - this is so helpful! what do you think about moving this to the faqs, under account? there isn't a dbt cloud section anymore in the layout of the new docs.
then you can also open up a pr to include the faq as a 'related docs' in the environment page and [upgrade core version](https://docs.getdbt.com/docs/dbt-versions/upgrade-core-in-cloud) page

hey @sophiad96 , wanted to check in on this. i think this would be great under our faqs -> accounts. happy to move this over for you.

hey @matthewshaver thanks for your awesome feedback, I'm made some tweaks to this - can you have a look?

thanks @matthewshaver - @sophiad96 this is merged now, thanks for your awesome content!


C++17 features used even though C++11 standard explicitly given

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Fedora 30
TensorFlow installed from (source or binary): source, master branch (c156831c298e27ce4d058c6ab03ec61bc6e910bf)
TensorFlow version: 2.0
Python version: 3.7
Installed using virtualenv? pip? conda?: building in virtualenv
Bazel version (if compiling from source): 0.25.2-1
GCC/Compiler version (if compiling from source): 9.1.1-1
CUDA/cuDNN version: 10.1.168
GPU model and memory: (unimportant)

Describe the problem
Building error messages about use of C++17 features but the -std=c++17 is not being passed to GCC (even if I do --copt=-std=c++17 for the bazel command). Temporary workaround was to change that constexpr to const however I cannot be certain that actually worked since I have not successfully built yet due to other errors.
ERROR: /home/x/tf/tensorflow/tensorflow/tensorflow/compiler/tf2tensorrt/BUILD:330:1: C++ compilation of rule '//tensorflow/compiler/tf2tensorrt:trt_conversion' failed (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command
  (cd /home/x/.cache/bazel/_bazel_x/5f286644534b1c99abf8273939acd3e7/execroot/org_tensorflow && \
  exec env - \
    LD_LIBRARY_PATH=/usr/local/cuda/lib64:/opt/intel/mkl/lib/intel64:/usr/local/cuda/lib64:/opt/intel/mkl/lib/intel64 \
    PATH=/usr/local/cuda/bin:/home/x/.npm-packages/bin:/usr/local/cuda/bin:/home/x/.npm-packages/bin:/home/x/.local/bin:/home/x/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin \
    PWD=/proc/self/cwd \
  external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/host/bin/tensorflow/compiler/tf2tensorrt/_objs/trt_conversion/convert_nodes.pic.d '-frandom-seed=bazel-out/host/bin/tensorflow/compiler/tf2tensorrt/_objs/trt_conversion/convert_nodes.pic.o' -D__CLANG_SUPPORT_DYN_ANNOTATION__ -DEIGEN_MPL2_ONLY '-DEIGEN_MAX_ALIGN_BYTES=64' '-DEIGEN_HAS_TYPE_TRAITS=0' -DTF_USE_SNAPPY -DTENSORFLOW_USE_NUMA -iquote . -iquote bazel-out/host/bin -iquote external/com_google_absl -iquote bazel-out/host/bin/external/com_google_absl -iquote external/eigen_archive -iquote bazel-out/host/bin/external/eigen_archive -iquote external/local_config_sycl -iquote bazel-out/host/bin/external/local_config_sycl -iquote external/nsync -iquote bazel-out/host/bin/external/nsync -iquote external/gif_archive -iquote bazel-out/host/bin/external/gif_archive -iquote external/jpeg -iquote bazel-out/host/bin/external/jpeg -iquote external/protobuf_archive -iquote bazel-out/host/bin/external/protobuf_archive -iquote external/com_googlesource_code_re2 -iquote bazel-out/host/bin/external/com_googlesource_code_re2 -iquote external/farmhash_archive -iquote bazel-out/host/bin/external/farmhash_archive -iquote external/fft2d -iquote bazel-out/host/bin/external/fft2d -iquote external/highwayhash -iquote bazel-out/host/bin/external/highwayhash -iquote external/zlib_archive -iquote bazel-out/host/bin/external/zlib_archive -iquote external/local_config_cuda -iquote bazel-out/host/bin/external/local_config_cuda -iquote external/double_conversion -iquote bazel-out/host/bin/external/double_conversion -iquote external/local_config_tensorrt -iquote bazel-out/host/bin/external/local_config_tensorrt -Ibazel-out/host/bin/external/local_config_cuda/cuda/_virtual_includes/cuda_headers_virtual -Ibazel-out/host/bin/external/local_config_tensorrt/_virtual_includes/tensorrt_headers -Ibazel-out/host/bin/external/local_config_cuda/cuda/_virtual_includes/cudnn_header -isystem third_party/eigen3/mkl_include -isystem bazel-out/host/bin/third_party/eigen3/mkl_include -isystem external/eigen_archive -isystem bazel-out/host/bin/external/eigen_archive -isystem external/nsync/public -isystem bazel-out/host/bin/external/nsync/public -isystem external/gif_archive/lib -isystem bazel-out/host/bin/external/gif_archive/lib -isystem external/protobuf_archive/src -isystem bazel-out/host/bin/external/protobuf_archive/src -isystem external/farmhash_archive/src -isystem bazel-out/host/bin/external/farmhash_archive/src -isystem external/zlib_archive -isystem bazel-out/host/bin/external/zlib_archive -isystem external/local_config_cuda/cuda -isystem bazel-out/host/bin/external/local_config_cuda/cuda -isystem external/local_config_cuda/cuda/cuda/include -isystem bazel-out/host/bin/external/local_config_cuda/cuda/cuda/include -isystem external/double_conversion -isystem bazel-out/host/bin/external/double_conversion '-std=c++11' -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -fPIC -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -fno-omit-frame-pointer -no-canonical-prefixes -fno-canonical-system-headers -DNDEBUG -g0 -O2 -ffunction-sections -fdata-sections -g0 '-march=native' -g0 -DEIGEN_AVOID_STL_ARRAY -Iexternal/gemmlowp -Wno-sign-compare -fno-exceptions '-ftemplate-depth=900' '-DGOOGLE_CUDA=1' '-DGOOGLE_TENSORRT=1' '-DINTEL_MKL=1' -DEIGEN_USE_VML -DENABLE_MKL -fopenmp -msse3 -pthread '-DGOOGLE_CUDA=1' '-DINTEL_MKL=1' -DENABLE_MKL '-DGOOGLE_TENSORRT=1' -c tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc -o bazel-out/host/bin/tensorflow/compiler/tf2tensorrt/_objs/trt_conversion/convert_nodes.pic.o)
Execution platform: @bazel_tools//platforms:host_platform
tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc: In function 'tensorflow::Status tensorflow::tensorrt::convert::ConvertMatMulHelper(tensorflow::tensorrt::convert::OpConverterParams*, tensorflow::tensorrt::convert::TRT_TensorOrWeights, tensorflow::tensorrt::convert::TRT_TensorOrWeights, bool, bool, std::string)':
tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc:4198:18: error: the type 'const tensorflow::tensorrt::convert::ConvertMatMulHelper(tensorflow::tensorrt::convert::OpConverterParams*, tensorflow::tensorrt::convert::TRT_TensorOrWeights, tensorflow::tensorrt::convert::TRT_TensorOrWeights, bool, bool, std::string)::<lambda(nvinfer1::ITensor*, bool)>' of 'constexpr' variable 'get_matrix_op' is not literal
 4198 |   constexpr auto get_matrix_op =
      |                  ^~~~~~~~~~~~~
tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc:4199:8: note: 'tensorflow::tensorrt::convert::ConvertMatMulHelper(tensorflow::tensorrt::convert::OpConverterParams*, tensorflow::tensorrt::convert::TRT_TensorOrWeights, tensorflow::tensorrt::convert::TRT_TensorOrWeights, bool, bool, std::string)::<lambda(nvinfer1::ITensor*, bool)>' is not literal because:
 4199 |       [](nvinfer1::ITensor* in, bool transpose) -> nvinfer1::MatrixOperation {
      |        ^
cc1plus: note:   'tensorflow::tensorrt::convert::ConvertMatMulHelper(tensorflow::tensorrt::convert::OpConverterParams*, tensorflow::tensorrt::convert::TRT_TensorOrWeights, tensorflow::tensorrt::convert::TRT_TensorOrWeights, bool, bool, std::string)::<lambda(nvinfer1::ITensor*, bool)>' is a closure type, which is only literal in C++17 and later
tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc: At global scope:
tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc:637:41: warning: 'std::vector<std::pair<int, int> > tensorflow::tensorrt::convert::CreateSamePadding(const nvinfer1::DimsHW&, const nvinfer1::DimsHW&, const std::vector<long int>&)' defined but not used [-Wunused-function]
  637 | static std::vector<std::pair<int, int>> CreateSamePadding(
      |                                         ^~~~~~~~~~~~~~~~~
Target //tensorflow/tools/pip_package:build_pip_package failed to build

The command line explicitly contains '-std=c++11' but GCC says that the feature used cannot be used without '-std=c++17'.
Provide the exact sequence of commands / steps that you executed before running into the problem
sudo dnf install @development-tools @"C Development Tools and Libraries" dnf-plugins-core cmake xz wget llvm clang python3-devel openssl-devel zlib-devel bzip2-devel readline-devel sqlite-devel ncurses-devel tk-devel libnccl-devel libcudnn7-devel libnvinfer-devel
virtualenv tensorflow
cd tensorflow
. bin/activate
pip install --upgrade --force-reinstall pip setuptools
pip install wheel numpy scipy keras
git clone https://github.com/tensorflow/tensorflow.git --single-branch --branch master
cd tensorflow
./configure # all defaults except Y for CUDA and TensorRT support and 7.0 for compute support
export TMP=/tmp
bazel build -c opt --config=opt --config=v2 --config=mkl --config=numa --verbose_failures \
    //tensorflow/tools/pip_package:build_pip_package

Some other arguments tried with bazel are --copt=-std=c++17 (didn't fix problem #1 and caused other issues) and --verbose_failures to get longer messages.

Did you try building from TensorFlow website. Also TensorFlow versions above 1.13.0 support CUDA 10.0 and bazel 0.24.1. Let us know if that helps to build the TensorFlow successfully. Thanks!

No I didn't. Using a different version of bazel and CUDA is extremely unlikely to have an impact on the result since bazel would still pass the -std=c++11 command line but the feature in your code (not CUDA's code) is a C++17 feature.
The more likely reason is that GCC 9 was being used to compile it is likely stricter on the use of C++17 features in C++11 code unlike GCC 8.
I can give you the patch that simply changes constexpr to const which causes the entire code base to compile with GCC 9 and apparently still function correctly. Just trying to give you an extremely small change to make your code more compatible with newer versions of GCC and more consistent with the C++ standard you claim to be using.

@coderforlife Thanks for filing the issue, and sorry for the delay.
I have recently saw a few other cases where we violate our rule to restrict ourselves to C++11.
We would be happy to accept your patch.

I hope this patch still works. But should be easy to re-make though, it's a one-word-change.
diff --git a/tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc b/tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc
index 6cb09cb122..4aac41cd0b 100644
--- a/tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc
+++ b/tensorflow/compiler/tf2tensorrt/convert/convert_nodes.cc
@@ -4195,7 +4195,7 @@ Status ConvertMatMulHelper(OpConverterParams* params,
         params, input_a.tensor(), input_b.weights(), transpose_b, node_name);
   }

-  constexpr auto get_matrix_op =
+  const/*expr*/ auto get_matrix_op =
       [](nvinfer1::ITensor* in, bool transpose) -> nvinfer1::MatrixOperation {
     return (in->getDimensions().nbDims < 2)
                ? nvinfer1::MatrixOperation::kVECTOR

@coderforlife sorry for the late response. Please feel free to file a PR and I can review that.


Added vdma oneway transfer to library, fixed passing of frame info

For applications where single frames need to be pulled in with VDMA, it may be required to have a single transfer function besides the continuously running video transfer.
I added a new function to the library rather than change the signature of the existing axidma_oneway_transfer function in order to preserve backwards compatibility. In this work i also discovered a small bug in the dma layer where frame size information was not passed through for single transactions.

Hi, skoster, nice work. BTW, what platform do you use? ZynqMp or Zynq7000? Have you tested vdma loopback? @skoster-enclustra

The project in which i used this library has long since finished, so I'm a bit fuzzy on the details, but i think it was on zynqmp. We used and abused the axidma driver to inject images generated in software running on the PS. I'm pretty sure we created a loopback in firmware to test the driver.


Improve Daemonset Checking with DNS lookups and API calls

Deploying a pod to each node is a good start, but it would be nice if that pod also validated that it could communicate with the Kubernetes API and resolve DNS.  It is possible for nodes to be online but with corrupted routing tables or kube-proxy configs.  Better synthetic checks should reveal issues like this.
Let's create and publish a new container with an automated build pipeline.  The container will simply query the Kubernetes API for some basic metadata.  Just enough to ensure that kubernetes.default resolves and TCP connections to API servers work. Then, we modify the daemonset checker to build this pod and only start removal once all pods have come online AND completed their checks successfully.  Maybe we use the health check command to indicate when the pod is ready.
We had a production impacting issue this week at my job due to a single node in the cluster having incomplete routing tables from Calico and/or kube-proxy.  This caused anything routed through the bad node (or built there) to fail to resolve DNS and other bad things.

I think this is a duplicate of #16


CatUrl creator

Hi.
If r want to use this lib in anyother downloader like universal, how can i use it?
This lib provides a CatUrl.getCatUrl() method?

You can fork it and change from picasso to universal, I just don't see any advantage with universal..
I don't provide any getCatUrl but you can read the code here and create your own -> https://github.com/cesarferreira/CatKit/blob/master/catkit/src/main/java/github/cesarferreira/catkit/CatKit.java

Ok i will do a fork.
The think here, is with a generic url generator, i can use any image provider (picasso, aquery, uil), without need to change imports after.
So i can do Picasso.load(Caturl.get())

Yeah I see your point, fork it, add a public static method that receives (width, height) and I'll review it ;)


refactor: improve generator

Currently, icons are defined separately one by one, so it takes time to add or change icons for the same type of file.
For example, if we want to add more icons of same format, we have to repeat the copy and paste for each extension. After a while, if we want to change the colors of these icons, we will have to find all of them and replace the colors correctly.
This PR fixes these probrem and refactors the generator.
before:
+ [".gitattributes"] = { icon = ".", color = "#......", name = "GitAttributes" },
  [".gitconfig"] = { icon = ".", color = "#......", name = "GitConfig" },
+ [".gitkeep"] = { icon = ".", color = "#......", name = "GitKeep" },
+ [".gitmodules"] = { icon = ".", color = "#......", name = "GitModules" },

after:
- Git = { icon = ".", color = "#......", file = { ".gitconfig" } },
+ Git = { icon = ".", color = "#......", file = { ".gitattributes", ".gitconfig", ".gitkeep", ".gitmodules" } },

This looks great! It works and will be a dev time savings.
This is a refactor of the existing functionality: a major refactor of the source files. That adds value.
This is, however, a nearly full rewrite of the generator. Unfortunately I can't justify such a large change, with the additional complexity and maintenance it requires.

All is not lost!
We have a major generation change planned: use the css classes rather than icons: #192 which would allow us to create icon sets, starting with seti #391
This css class change would marry beautifully with this refactor. Are you up for the challenge @futsuuu ?

We will help you make and test this change. See https://github.com/nvim-tree/nvim-web-devicons/pull/376#issuecomment-1890843503 for a proof of concept gist to extract the icons from nerd fonts.

Sure! But I can't imagine how you want to create icon sets, could you tell me?

This is, however, a nearly full rewrite of the generator. Unfortunately I can't justify such a large change, with the additional complexity and maintenance it requires.

I understand this, but the definition and the generated should be separate files for maintenance.

I understand this, but the definition and the generated should be separate files for maintenance.

Absolutely. This change and the addition of css class names does justify the change.
I was being too dramatic in my language...

Sure! But I can't imagine how you want to create icon sets, could you tell me?

Let's build one default sample - seti - first, then we can decide about icon sets.
It may be best to add icon sets after this change.

Here are the changes to generate the icons from css classes: #418
It is clunky and tightly coupled right now. Integration with this rewrite will result in an elegant solution.

Me at #433

Would be possible to create groups, for example create a single icon entry and use it various times for different file extensions to simplify the code?

This would be very useful because I reuse a lot of icons


[Navigation] Try avoid hard-coded values on Example

Description
I see you put screen name with hard-coded way. so when some user want change screen name and forget change it on other places app will not work fine or may be crash.
Steps to reproduce
on AnimatedNavHostSample you can see hard-coded values
Expected behavior
declare enum or static values for screens name
Additional context

This is definitely a good practice, but it makes it harder to understand what types the APIs actually use (an extra level of indirection) and it makes it harder for someone new to the API surface to understand exactly what is going on.
Generally, as per the Navigation Compose documentation, you should to co-locating all references to the routes of a navigation graph in one file (and removing all references to Navigation from other parts of your code), thus making it much harder to miss 'forgetting to change screen names' if you do need do that after the fact.
Of course, you are free to make as many constants as you want in your own code.

I make a PR for this point
you can check it if you have a free time #922


"Settings Sync" fails to switch from Github account to Microsoft account

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.82.1
OS Version: windows 10 19045.3393. Windows_NT x64 10.0.19045

Version: 1.82.1 (system setup)
Commit:<PHONE_NUMBER>d557a81c9d0b5f8a5a1e9274db5585
Date: 2023-09-08T08:45:05.575Z
Electron: 25.8.0
ElectronBuildId: 23503258
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
Background:
I have a github account and a microsoft account with same email, and thus I have to guess which one is the account I have turned on settings. However, the most annoying thing is, when I was wrongly signed in with github account, and then even if I had signed out github account and signed in with microsoft account, the setting sync is off (1) options always ask me to signed in with github account after clicking and never and no where to choose microsoft account instead! I have to temporarily disable github authorization extension (this might not be the accurate name, since this extension is a built-in extension and I even cannot find it and reopen it) and signed in with microsoft account and turn on settings sync.
Steps to Reproduce:

Sign in with a blank github account and turn on "settings sync".
Turn out "settings sync"
Signed out and signed in microsoft account. (This is difficult for me. I finally made it by turn off cloud changes and re-turn on, which will give a pops-up to choose sign in with microsoft account)
Turn on "settings sync". This will redirect to github website and ask to authorize.

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

Sorry, I cannot make it. It will take me much time and I will take more time to turn settings sync back.
If my explainations are difficult to understand, I am sorry for my Englishand please just forget it, until anyone else being annoyed enought to capture a gif.
For anyone cannot understand but want to try:

Use a brand new environment or delete all configure files. (Not just uninstall vscode, but I cannot find the config file)

Prepare two accounts:
a. a microsoft account, which you have used to logged in to vscode, have something changed (e.g. theme) and have turned on  settings sync  option. Optionally, you can turn on  cloud sync  option. Just remember, this is a simulation scenario that you have a new laptop or something, and you want to install vscode and use  settings sync  to sync config with this account.

b. a github account you have never used to log in vscode, or maybe with a different config synced. This is for the scenario that you have wrongly logged in vscode using this account, but you do not want to use it for  settings sync.

Log in vscode use github account and turn on 'Settings sync' and optionally turn on cloud changes, which I have turned on. Just make sure you can see 'settings sync   (1)',   where '(1)'  means you are truly syncing your config with you github account.

Now you can do anything trying to cut down the  setting sync  relationship with your github account and try to sync with your microsoft account. From my experience, you will fail. Vscode will always ask you to log in to github account and sync with github account. Until you disable an extension for auth to github or remove you config file, you can log in vscode with your microsoft account and start settings sync you actually want.

On 2023年9月15日 at 22:06, Sandeep Somavarapu  @.***>  wrote:
/gifPlease
—
Reply to this email directly,   view it on GitHub, or   unsubscribe.
You are receiving this because you authored the thread.Message ID:  @.***>

Log in vscode use github account and turn on 'Settings sync' and optionally turn on cloud changes, which I have turned on. Just make sure you can see 'settings sync   (1)',   where '(1)'  means you are truly syncing your config with you github account.

By settings sync   (1)  you mean Sign into Settings Sync (1)?

Now you can do anything trying to cut down the  setting sync  relationship with your github account and try to sync with your microsoft account. From my experience, you will fail. Vscode will always ask you to log in to github account and sync with github account. Until you disable an extension for auth to github or remove you config file, you can log in vscode with your microsoft account and start settings sync you actually want.

If you want to switch accounts at this state, you should first turn off and turn on settings sync again. You can do this by

F1 > Settings Sync: Turn Off
Turn on Settings Sync again from the Account or Gear menu.

Thank you for your detailed method. It hists me just now that I have seen something similar before, saying it has already put in docs...    Sorry for that! It's my fault forget to search the docs first... I promise I have read other issues.
I believe your answer is relavent, but I do not have courage to test it. I will close the issue.
Thank you and apologize again!

On 2023年9月16日 at 01:43, Sandeep Somavarapu  @.***>  wrote:

Log in vscode use github account and turn on 'Settings sync' and optionally turn on cloud changes, which I have turned on. Just make sure you can see 'settings sync (1)', where '(1)' means you are truly syncing your config with you github account.

By  settings sync (1)  you mean  Sign into Settings Sync (1)?

Now you can do anything trying to cut down the setting sync relationship with your github account and try to sync with your microsoft account. From my experience, you will fail. Vscode will always ask you to log in to github account and sync with github account. Until you disable an extension for auth to github or remove you config file, you can log in vscode with your microsoft account and start settings sync you actually want.

If you want to switch accounts at this state, you should first turn off and turn on settings sync again. You can do this by
F1  >  Settings Sync: Turn Off
Turn on Settings Sync again from the Account or Gear menu.
—
Reply to this email directly,   view it on GitHub, or   unsubscribe.
You are receiving this because you authored the thread.Message ID:  @.***>


fix(python): type-checking may require incorrect type

Since dae724c, Python type-checking
relies on a nested stub function as a type annotations source. The
parameter signature of that stub was copied verbatim from the
surrounding function, including any forward type references.
However, the forward references can safely be replaced with regular type
references as the module is guaranteed to be fully loaded by the time
the stub is created, and using forward-references there results in
typeguard possibly evaluating those in a different context than the
one where the surrounding function was defined. The consequence of this
is that multiple different foward references by the same name may be
incorrectly treated as referring to the same type, despite coming from
different modules.
This is fixed by turning forward type references in the stub with
regular type references (in other words, removing any " from the
parameter signature of the stub), which lets the type be resolved from
the local definition context instead of the final runtime context in
which the function is called.
Fixes #3818

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Romain indicated to me in private chat that he believes this will not cause performance impact.
Don't want to hold up the fix if it's legit, since people are waiting for it.

Can you quantify the effect on load time of the CDK library with this change?

I have no infrastructure to produce a reliable, comparable, reproductible benchmark of load times. But I could give it a shot in a somewhat un-scientific manner... But what are you concerned about here? That the new code will take significantly longer to load than the previous code? I don't see how this could be the case (or else, the Python VM would be utter rubbish, which it isn't)

Since this was a run-time error, shouldn't there be a test that calls the generated Python code?

There is already one added as part of the PR in<EMAIL_ADDRESS>


GridDevice gateset, gate_duration, and compilation_target_gateset support

Part of https://github.com/quantumlib/Cirq/issues/5050
Adds the remaining major components to GridDevice.

Displays a warning about old Cirq version if DeviceSpecification contains gates not recognized by the client.
Added compilation target gateset example in GridDevice docstring

@dstrain115 @MichaelBroughton @tanujkhattar

Pulled in the latest changes. This is now ready for review!


[interpreter][test] add test_interpreter

this PR add a test file for the interpreter, it mostly reuse the test from the test_core file but run in interpreter mode
Currently only binary ops are included, more test can be included if necessary (indexing, broadcasting etc...)
cc @Jokeren @ptillet

Please run pre_commit

At a high level, I think it would be better to annotate the tests inside test_core with "compatible with the interpreter or not", instead of making a separate file.

It seems like a good idea to me. This way we don't have to import test_core.

Hi guys, thanks for the input. If I understand correctly we would instead use a python decorator in test_core like

def run_interpreter(func):
	func()  # run regular

	os.environ['TRITON_INTERPRET'] = '1'
	func()  # run interpreter mode
	os.environ['TRITON_INTERPRET'] = '0'

@pytest.mark.parametrize(...)
def test_bin_op(...):
	...

Is this a more desirable solution?

The proposed solution looks good to me


Slow performance on parallel Tasks

I have application which is divided into two parts.
It starts with single thread, than it creates 8 parallel Tasks.
Running this application on .Net framework 4.6 and .Net Core 2.0 (on the same machine) gives different performance results.
On parallel Tasks .Net Core 2.0 is about 15% slower than .Net Framework 4.6. But on single thread part .Net Core is faster about 5%.
Are there any ways to improve performance of parallel Tasks in .Net Core 2.0 ?
I use the following configuration for my application:
<PropertyGroup>     <OutputType>Exe</OutputType>     <TargetFramework>netcoreapp2.0</TargetFramework>     <Platforms>AnyCPU;x64</Platforms> 	<ServerGarbageCollection>true</ServerGarbageCollection>   </PropertyGroup>

This isn't an issue with this project.  This is not a .NET project. Closing this issue as it doesn't apply to this project at all.


docs(aap): aap backend plugin documentation

GH issue: https://github.com/janus-idp/backstage-plugins/issues/546

Hi @hmanwani-rh ,
can you please run yarn prettier:fix? The README.md doesn't comply with our linting rules.

Done, but still the build is failing.

@tumido do you have insights into why are build failing here https://github.com/janus-idp/backstage-plugins/actions/runs/6048851995/job/16414995269?pr=690?


Unable to run ETL tests from docs

Hi,
I'm struggling to run even a basic ETL test from docs. Using fresh installation NBi.Framework (1.22).
Tests are executed on SQL Server machine.
Any hints what could be wrong here?
<test name="Basic package run" uid="0003">
  <system-under-test>
    <execution>
      <etl path="D:\ETLTests\" name="BasicLoad.dtsx" version="SqlServer2016">
      </etl>
    </execution>
  </system-under-test>
  <assert>
    <successful/>
  </assert>
</test>

The error:
NBi.NUnit.Runtime.TestSuite.Basic package run:
System.ArgumentException : Value does not fall within the expected range.

 <test name="Side effects with SSISDB">
  <setup>
    <etl-run
      server="localhost"
      catalog="SSISDB"
      folder="ETLTests"
      project="ETL_Tests_Demo"
      name="BasicLoad.dtsx"
      version="SqlServer2016">
    </etl-run>
  </setup>
  <system-under-test>
   <result-set>
    <query connection-string="Provider=SQLNCLI11;Server=localhost;Database=ETLTest;Trusted_Connection=yes;">
		SELECT * from dbo.srcTestTable
    </query>
   </result-set>
  </system-under-test>
  <assert>
   <equal-to>
    <query connection-string="Provider=SQLNCLI11;Server=localhost;Database=ETLTest;Trusted_Connection=yes;">
		SELECT * from dbo.dstTestTable
    </query>
   </equal-to>
  </assert>
 </test>

The error:
NBi.NUnit.Runtime.TestSuite.Side effects with SSISDB:
Exception during the setup of the test: '<>f__AnonymousType1<NBi.Core.Scalar.Resolver.IScalarResolver<string>,NBi.Core.Scalar.Resolver.IScalarResolver<string>,NBi.Core.Scalar.Resolver.IScalarResolver<string>>' does not contain a definition for 'Etl'
   at CallSite.Target(Closure , CallSite , Object )
   at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
   at ActLike_IEtlRunCommandArgs_950c1299fd5546f4ad476872d67e5969.get_Etl()
   at NBi.Core.Decoration.DataEngineering.EtlRunCommand.Execute() in C:\projects\nbi\NBi.Core\Decoration\DataEngineering\Commands\SqlServer\EtlRunCommand.cs:line 17
   at NBi.NUnit.Runtime.TestSuite.ExecuteSetup(SetupXml setup, IDictionary`2 allVariables) in C:\projects\nbi\NBi.NUnit.Runtime\TestSuite.cs:line 175

I probably broke something in the latetst releases of NBi related to SSIS. Since the beginning the management of the SQL Server versions has been a pain and I decided to push this to a separate package. I'll take a look to this.

Hi,
I have the same error in NBi.Framework 1.23.0 (NBi.VisualStudio 1.22.1). Is something broken in this release too?
Thank you!

I’m convinced that I broke something earlier and that I never fixed it.

On 23 Aug 2022, at 11:38, stefaniaa09 @.***> wrote:

Hi,
I have the same error in NBi.Framework 1.23.0 (NBi.VisualStudio 1.22.1). Is something broken in this release too?
Thank you!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.


Select Menu users

How can I make it so that only the person who sends the (together) command can use the select menu?

Sorry for the late response.
We have no plans to implement this, but you can probably store the author/member object of the command somewhere and check if the author matches with the sender of the selectmenu interaction.
https://discord.js.org/#/docs/discord.js/stable/class/Message?scrollTo=member
https://discord.js.org/#/docs/discord.js/stable/class/Interaction?scrollTo=member


Add more library name aliases

Hopefully fixes #15.
@eford, could you try the following and tell me if it works for you?
Pkg.checkout("FFTW")
Pkg.checkout("FFTW", "aa/yum")
Pkg.build("FFTW")
# then Pkg.free("FFTW") to go back to the tagged version

Hmm,
julia> Pkg.checkout("FFTW")
INFO: Checking out FFTW master...
INFO: Pulling FFTW latest master...
INFO: No packages to install, update or remove
julia> Pkg.checkout("FFTW", "aa/yum")
INFO: Checking out FFTW aa/yum...
INFO: Pulling FFTW latest aa/yum...
INFO: No packages to install, update or remove
julia> Pkg.build("FFTW")
INFO: Building FFTW
[sudo] password for ebf11:
================================================================[ ERROR: FFTW ]================================================================
LoadError: Provider BinDeps.PackageManager failed to satisfy dependency libfftw3_threads
while loading /astro/faculty/ebf11/.julia/v0.6/FFTW/deps/build.jl, in expression starting on line 86
===============================================================================================================================================
===============================================================[ BUILD ERRORS ]================================================================
WARNING: FFTW had build errors.

packages with build errors remain installed in /astro/faculty/ebf11/.julia/v0.6
build the package(s) and all dependencies with Pkg.build("FFTW")
build a single package by running its deps/build.jl script

===============================================================================================================================================
julia> Pkg.status("FFTW")

FFTW                          0.0.2+             aa/yum

If it matters, I can find on my system already...
/usr/lib64/libfftw3l_threads.a
/usr/lib64/libfftw3f_threads.so.3
/usr/lib64/libfftw3_threads.so
/usr/lib64/libfftw3l_threads.so.3
/usr/lib64/libfftw3.so.3.2.3
/usr/lib64/libfftw3l.a
/usr/lib64/libfftw3l.so.3
/usr/lib64/libfftw3f.so.3.2.3
/usr/lib64/libfftw3l_threads.so.3.2.3
/usr/lib64/libfftw3f.a
/usr/lib64/libfftw3.a
/usr/lib64/libfftw3.so
/usr/lib64/libfftw3f_threads.so
/usr/lib64/libfftw3l.so
/usr/lib64/libfftw3l_threads.so
/usr/lib64/libfftw3l.so.3.2.3
/usr/lib64/libfftw3f.so
/usr/lib64/libfftw3.so.3
/usr/lib64/libfftw3f_threads.a
find: `/usr/lib64/audit': Permission denied
/usr/lib64/libfftw3f_threads.so.3.2.3
/usr/lib64/libfftw3f.so.3
/usr/lib64/libfftw3_threads.so.3
/usr/lib64/libfftw3_threads.a
/usr/lib64/libfftw3_threads.so.3.2.3

Do you know what installed the system libraries? Was that Yum? Do you have any other Linux package managers in your path, e.g. APT?

I don't know.  apt-get isn't in my path.
But our sysadmins do the base setup and maintance.  I could ask, but it may
take them a while to respond.
Cheers,
Eric
On Fri, Jun 30, 2017 at 2:31 PM, Alex Arslan<EMAIL_ADDRESS>wrote:

Do you know what installed the system libraries? Was that Yum? Do you have
any other Linux package managers in your path, e.g. APT?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JuliaMath/FFTW.jl/pull/16#issuecomment-312341649, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABQywgixQSDRxINUubpuuur4OevJ3o8qks5sJT8fgaJpZM4OK5kD
.

--
Eric Ford
Professor of Astronomy & Astrophysics
Center for Exoplanets & Habitable Worlds
Center for Astrostatistics
Institute for CyberScience
Penn State Astrobiology Research Center
Pennsylvania State University

Hm, I wonder if maybe you're running into a permissions issue and the error just isn't being reported well. Can you try
using BinDeps
BinDeps.debug("FFTW")

and tell me what you get?

julia> using BinDeps
julia> BinDeps.debug("FFTW")
INFO: Reading build script...
The package declares 2 dependencies.

Library "libfftw3_threads"

Providers:

BinDeps.AptGet package libfftw3-double3 (can't provide)
BinDeps.Pacman package fftw (can't provide)
BinDeps.Zypper package libfftw3 (can't provide)
BinDeps.Yum package fftw
BinDeps.BSDPkg package fftw3 (can't provide)
Simple Build Process

Library "libfftw3f_threads"

Providers:

BinDeps.AptGet package libfftw3-single3 (can't provide)
BinDeps.Pacman package fftw (can't provide)
BinDeps.Zypper package libfftw3 (can't provide)
BinDeps.Yum package fftw
BinDeps.BSDPkg package fftw3 (can't provide)
Simple Build Process

On Fri, Jun 30, 2017 at 2:53 PM, Alex Arslan<EMAIL_ADDRESS>wrote:

Hm, I wonder if maybe you're running into a permissions issue and the
error just isn't being reported well. Can you try
using BinDeps
BinDeps.debug("FFTW")
and tell me what you get?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/JuliaMath/FFTW.jl/pull/16#issuecomment-312346789, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABQywowhlNCbrht-0OOv9iWUcUuTJdttks5sJUQjgaJpZM4OK5kD
.

--
Eric Ford
Professor of Astronomy & Astrophysics
Center for Exoplanets & Habitable Worlds
Center for Astrostatistics
Institute for CyberScience
Penn State Astrobiology Research Center
Pennsylvania State University

Okay. Do you have sudo access on your system? That is, if you sudo yum install something, does it work? Otherwise I'm inclined to think it's a permissions issue with Yum, since BinDeps is trying to install it at the system level using sudo.

Yes, I have sudo

sudo yum install fftw
[sudo] password for ebf11:
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                                                                |  15 kB     00:00

base: reflector.westga.edu
epel: mirror.cogentco.com
extras: mirror.cogentco.com
updates: bay.uchicago.edu
adobe-linux-i386                                                                                | 2.9 kB     00:00

adobe-linux-x86_64                                                                                | 2.9 kB     00:00
base                                                                                | 3.7 kB     00:00
chromium-el6                                                                                | 1.9 kB     00:00
cuda                                                                                | 2.5 kB     00:00
extras                                                                                | 3.4 kB     00:00
google-talkplugin                                                                                |  951 B     00:00
updates                                                                                | 3.4 kB     00:00
Package fftw-3.2.1-3.1.el6.x86_64 already installed and latest version
Nothing to do
My sysadmin got back....
 Yum would be the primary method of system libraries that are native/compatible with CentOS6. I'm attaching a list of RPM's installed help you out. As far as python goes, it looks like you have access to Ureka and some stuff on the old /usr/astro/python-2.7 instance as well. Those kinds of libraries would've been done manually or with pip. I hope this helps. If there's any package you need to know specifically about, I'm happy to take a look more in-depth."
His list of RPMs included the following related to fftw:
fftw-3.2.1-3.1.el6.x86_64
fftw-devel-3.2.1-3.1.el6.x86_64
fftw-static-3.2.1-3.1.el6.x86_64

Okay, well... I have no idea what's going on. @tkelman or @staticfloat, do either of you know what could be happening in Eric's situation?

Sysadmin says:
">Can you tell how the three fftw RPMs were installed?

fftw-3.2.1-3.1.el6.x86_64
fftw-devel-3.2.1-3.1.el6.x86_64
fftw-static-3.2.1-3.1.el6.x86_64

Those packages are part of the CentOS6 "base" yum repository. Those would've been install with a yum install fftw command."

Okay, well this doesn't fix the linked issue but it's still an improvement so I'm going to merge it.


DropdownButtonFormField way too small tap area

Use case
The tap area on the DropdownButtonFormField  is very small. It only has the height of the actual DropDownButton widget. The whole InputDecorator with its padding etc. is not reacting to any taps/touches/clicks...
This results in a rather frustrating user experience, as you try to tap on the widget, but nothing happens, because you didn't touched on the very small area in the middle, but still inside the InputDecorator widget...
Image explaining the issue: (Only the green area reacts to tap/click actions.)

Proposal
Increase the tap area so that the whole InputDecorator element can be clicked.
(Therefor the DropDownButton element needs to expose methods to open / close it from outside.)

@lazylazyllama
Does this issue resemble yours ?
There seems to be a PR open just recently to fix the clickable area of DropdownButtonFormField.

It does. Closing as this is a duplicate.

+1

Any solution for this to increase the tap size area?


Add a way to backup/restore to/from a list of apps

So that you can use Applite to reinstall all apps on a new machine from a backup of Applite's config

Brewfile support will be added in the near future.

Functionality was added in the 1.1 release.


pdfkit vuejs example

Question
Is it possible to get a vue.config.js example working with @vue/cli project?
Description
I'm trying as crazy to make it work changing the webpack config (based on this example: https://github.com/blikblum/pdfkit-webpack-example)
But I'm always getting crazy errors like:
 ERROR  Failed to compile with 5 errors                                                                                9:53:27 AM
 error  in ./src/assets/css/shadow.css

Syntax Error: SyntaxError

(1:1) Unknown word

> 1 | module.exports = require("../../../node_modules/arraybuffer-loader/lib/to-array-buffer.js")("LnotZGVwdGgtMSB7DQogICAgYm94LXNoYWRvdzogMCAxcHggM3B4IHJnYmEoMCwgMCwgMCwgMC4xMiksIDAgMXB4IDJweCByZ2JhKDAsIDAsIDAsIDAuMjQpOw0KICAgIC8qdHJhbnNpdGlvbjogYWxsIDAuM3MgY3ViaWMtYmV6aWVyKC4yNSwuOCwuMjUsMSk7Ki8NCn0NCg0KLnotZGVwdGgtMiB7DQogICAgYm94LXNoYWRvdzogMCAzcHggNnB4IHJnYmEoMCwgMCwgMCwgMC4xNiksIDAgM3B4IDZweCByZ2JhKDAsIDAsIDAsIDAuMjMpOw0KfQ0KDQouei1kZXB0aC0zIHsNCiAgICBib3gtc2hhZG93OiAwIDEwcHggMjBweCByZ2JhKDAsIDAsIDAsIDAuMTkpLCAwIDZweCA2cHggcmdiYSgwLCAwLCAwLCAwLjIzKTsNCn0NCg0KLnotZGVwdGgtNCB7DQogICAgYm94LXNoYWRvdzogMCAxNHB4IDI4cHggcmdiYSgwLCAwLCAwLCAwLjI1KSwgMCAxMHB4IDEwcHggcmdiYSgwLCAwLCAwLCAwLjIyKTsNCn0NCg0KLnotZGVwdGgtNSB7DQogICAgYm94LXNoYWRvdzogMCAxOXB4IDM4cHggcmdiYSgwLCAwLCAwLCAwLjMwKSwgMCAxNXB4IDEycHggcmdiYSgwLCAwLCAwLCAwLjIyKTsNCn0=")
    | ^

 @ ./src/assets/css/shadow.css 4:14-220 14:3-18:5 15:22-228
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

 error  in ./src/assets/css/bootstrap-override-container.css?vue&type=style&index=0&id=65563b56&scoped=true&lang=css&

Code sample
vue.config.js
const path = require('path')

module.exports = {
    configureWebpack: {
        resolve: {
            alias: {
                fs: 'pdfkit/js/virtual-fs.js'
            }
      },
      module: {
        rules: [
          { enforce: 'post', test: /fontkit[/\\]index.js$/, loader: "transform-loader?brfs" },
          { enforce: 'post', test: /unicode-properties[/\\]index.js$/, loader: "transform-loader?brfs" },
          { enforce: 'post', test: /linebreak[/\\]src[/\\]linebreaker.js/, loader: "transform-loader?brfs" },
          { test: /src[/\\]assets/, loader: 'arraybuffer-loader'},
          { test: /\.afm$/, loader: 'raw-loader'}
        ]
      },
    }
};

Your environment
package/json
{
  "name": "pack-management",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "blob-stream": "^0.1.3",
    "bootstrap": "^4.4.1",
    "core-js": "^3.4.4",
    "jquery": "^3.4.1",
    "pdfkit": "^0.11.0",
    "popper.js": "^1.16.0",
    "socket.io-client": "^2.3.0",
    "vue": "^2.6.10",
    "vue-router": "^3.1.3",
    "vuex": "^3.1.2"
  },
  "devDependencies": {
    "@fortawesome/fontawesome-free": "^5.12.0",
    "@vue/cli-plugin-babel": "^4.1.0",
    "@vue/cli-plugin-eslint": "^4.1.0",
    "@vue/cli-plugin-router": "^4.1.0",
    "@vue/cli-service": "^4.1.0",
    "arraybuffer-loader": "^1.0.8",
    "babel-eslint": "^10.0.3",
    "brfs": "^2.0.2",
    "browserify": "^16.5.0",
    "eslint": "^5.16.0",
    "eslint-plugin-vue": "^5.0.0",
    "transform-loader": "^0.2.4",
    "vue-template-compiler": "^2.6.10"
  }
}

pdfkit version: ^0.11.0
Node version: v10.16.3
Vue version: @vue/cli 4.1.2
Operating System: Windows 10 64bit

Ok I removed brfs/browserify (looks like already on the vuejs project) and arraybuffer-loader (seems useless).
I change my vue.confing.js like this:
const path = require('path')

module.exports = {
    configureWebpack: {
        resolve: {
            alias: {
                fs: 'pdfkit/js/virtual-fs.js',
            }
      },
      module: {
        rules: [
          { enforce: 'post', test: /fontkit[/\\]index.js$/, loader: "transform-loader?brfs" },
          { enforce: 'post', test: /unicode-properties[/\\]index.js$/, loader: "transform-loader?brfs" },
          { enforce: 'post', test: /linebreak[/\\]src[/\\]linebreaker.js/, loader: "transform-loader?brfs" },
         /* { test: /src[/\\]assets/, loader: 'arraybuffer-loader'},*/
          { test: /\.afm$/, loader: 'raw-loader'}
        ]
      },
    }
};

I runned npm run serve, I got in console:
Error: File 'data/Helvetica.afm' not found in virtual file system

Then I added in my main.js:
import fs from 'fs'
import Helvetica from 'pdfkit/js/data/Helvetica.afm'

fs.writeFileSync('data/Helvetica.afm', Helvetica)

It seems worked until that I try to export a PDF:
vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in v-on handler: "Error: File 'documents/45611/2.jpg' not found in virtual file system"
vue.runtime.esm.js?2b0e:619 [Vue warn]: Error in v-on handler: "Error: File 'documents/45611/3.jpg' not found in virtual file system"

And that is really problematic because 45611 and 2/3 are dynamic variables. I don't want to have to tamper all pictures in a "virtual fs".
I will try with another way.

Ok I just read this: How to compile a standalone PDFKit for use in the browser
Seems like I need to get all pictures by request :/.
It's not at all what I was expecting. The pictures are already GET one time to be displayed on the page I don't want to get it again just for the PDF rendering.
Maybe there is a way to get it without Ajax call directly from the page?

Ok I uninstall all, blob-stream, pdfkit, brfs, browserify, arraybuffer-loader, raw-loader and deleted the vue.config.js. I installed another lib [jsPDf](https://www.npmjs.com/package/jspdf) more easy to integrate with vuejs.
It take base64 URL or an HTMLImgElement then it feet perfectly with what I need.


[Coverity CID :195839]Memory - corruptions in /tests/net/traffic_class/src/main.c

Static code scan issues seen in File: /tests/net/traffic_class/src/main.c
Category: Memory - corruptions
Function: traffic_class_recv_data_mix
Component: Tests
CID: 195839
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

False positive


make fails with link error

$ markdown --version                                            ↑
markdown: discount (main)2.2.7b
$ uname -a                                                      ↑
Linux xxx 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_
64 GNU/Linux
$ ./configure --with-apxs=/usr/bin/apxs --with-discount=/usr/local
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
$ make                                                          ↑
/usr/bin/apxs -c -I/usr/local/include -L/usr/local/lib -lmarkdown mod_markdown.c
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-p
ic -pipe -g -O2 -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-securi
ty  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/include/apache2  -
I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I/usr/local/include  -c -o mod_markdo
wn.lo mod_markdown.c && touch mod_markdown.slo
libtool: compile:  x86_64-linux-gnu-gcc -pipe -g -O2 -flto=auto -ffat-lto-objects -fstack-protector-
strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_
SOURCE -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I/usr/lo
cal/include -c mod_markdown.c  -fPIC -DPIC -o .libs/mod_markdown.o
/usr/share/apr-1.0/build/libtool  --mode=link --tag=disable-static x86_64-linux-gnu-gcc -Wl,--as-nee
ded -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now    -o mod_markdown
.la  -L/usr/local/lib -lmarkdown -rpath /usr/lib/apache2/modules -module -avoid-version    mod_markd
own.lo
libtool: link: x86_64-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/mod_markdown.o   -L/usr/local/lib -l
markdown  -Wl,--as-needed -Wl,-Bsymbolic-functions -flto=auto -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,
-soname -Wl,mod_markdown.so -o .libs/mod_markdown.so
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): warning: relocation against `extratags' in read-o
nly section `.text'
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_X86_64_PC32 against symbol `extratag
s' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
apxs:Error: Command failed with rc=65536

Similar problem. The initial error message indicates to recompile libmarkdown with -fPIC.
$ uname -a
Linux no2 5.15.0-1050-raspi #53-Ubuntu SMP PREEMPT Thu Mar 21 10:02:47 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux

$ markdown -V
markdown: discount 2.2.7d

$ git clone https://github.com/hamano/apache-mod-markdown.git
Cloning into 'apache-mod-markdown'...
remote: Enumerating objects: 302, done.
remote: Counting objects: 100% (47/47), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 302 (delta 25), reused 28 (delta 14), pack-reused 255
Receiving objects: 100% (302/302), 92.49 KiB | 1.54 MiB/s, done.
Resolving deltas: 100% (164/164), done.

$ cd apache-mod-markdown

apache-mod-markdown$ autoreconf -f -i
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:6: You should use the 'AC_CONFIG_HEADERS' macro instead.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:745: AM_CONFIG_HEADER is expanded from...
configure.ac:6: the top level
configure.ac:10: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:10: You should run autoupdate.
m4/libtool.m4:100: AM_PROG_LIBTOOL is expanded from...
configure.ac:10: the top level
configure.ac:38: warning: AC_OUTPUT should be used without arguments.
configure.ac:38: You should run autoupdate.
configure.ac:9: installing './compile'
configure.ac:5: installing './missing'

apache-mod-markdown$ ./configure --with-apxs=/usr/bin/apxs --with-discount=/usr/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking build system type... aarch64-unknown-linux-gnu
checking host system type... aarch64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics...  APXS found!
checking for discount directory... DISCOUNT found!
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

apache-mod-markdown$ make
/usr/bin/apxs -c -I/usr/local/include -L/usr/local/lib -lmarkdown mod_markdown.c
/usr/share/apr-1.0/build/libtool  --mode=compile --tag=disable-static aarch64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2   -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/include/apache2  -I/usr/include/apr-1.0   -I/usr/include/apr-1.0 -I/usr/include -I/usr/local/include  -c -o mod_markdown.lo mod_markdown.c && touch mod_markdown.slo
libtool: compile:  aarch64-linux-gnu-gcc -pipe -g -O2 -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -I/usr/local/include -c mod_markdown.c  -fPIC -DPIC -o .libs/mod_markdown.o
/usr/share/apr-1.0/build/libtool  --mode=link --tag=disable-static aarch64-linux-gnu-gcc -Wl,--as-needed -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now    -o mod_markdown.la  -L/usr/local/lib -lmarkdown -rpath /usr/lib/apache2/modules -module -avoid-version    mod_markdown.lo
libtool: link: aarch64-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/mod_markdown.o   -L/usr/local/lib -lmarkdown  -Wl,--as-needed -Wl,-Bsymbolic-functions -flto=auto -Wl,-z -Wl,relro -Wl,-z -Wl,now   -Wl,-soname -Wl,mod_markdown.so -o .libs/mod_markdown.so
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libmarkdown.a(tags.o): in function `mkd_define_tag':
/home/jjp/tmp/discount-2.2.7d/tags.c:32:(.text+0x34): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:33:(.text+0x48): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:33:(.text+0x54): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:33:(.text+0x60): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:33:(.text+0x6c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x78): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x84): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x98): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0xa8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0xbc): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0xc8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0xd8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0xe4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x10c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x11c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x128): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x144): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x150): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x15c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:34:(.text+0x16c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libmarkdown.a(tags.o): in function `mkd_sort_tags':
/home/jjp/tmp/discount-2.2.7d/tags.c:64:(.text+0x238): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:64:(.text+0x244): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libmarkdown.a(tags.o): in function `mkd_search_tags':
/home/jjp/tmp/discount-2.2.7d/tags.c:82:(.text+0x2e4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:83:(.text+0x2f8): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:83:(.text+0x304): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libmarkdown.a(tags.o): in function `mkd_deallocate_tags':
/home/jjp/tmp/discount-2.2.7d/tags.c:94:(.text+0x36c): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:95:(.text+0x380): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:95:(.text+0x394): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:95:(.text+0x3a4): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:95:(.text+0x3b0): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:95:(.text+0x3bc): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/local/lib/libmarkdown.a(tags.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `extratags' which may bind externally can not be used when making a shared object; recompile with -fPIC
/home/jjp/tmp/discount-2.2.7d/tags.c:95:(.text+0x3cc): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
apxs:Error: Command failed with rc=65536
.
make: *** [Makefile:708: mod_markdown.la] Error 1

In my case the solution was to add -fPIC to CFLAGS in the discount Makefile before building.

So when building discount for aarch64 use:
CFLAGS="-g -fPIC" ./configure.sh

The -fPIC flag generates Position Independent Code suitable for use in a shared library.


Create a first commit yml action

Show a welcome message to first time contributors.

@JamesSmartCell feel free to merge at your convenience


Update set-up-sso-saml-2.0.md

Add OneLogin integration instructions
Description & motivation

To-do before merge

Prerelease docs
If this change is related to functionality in a prerelease version of dbt (delete if not applicable):

[ ] I've added versioning components, as described in "Versioning Docs"
[ ] I've added a note to the prerelease version's Migration Guide

Checklist
If you added new pages (delete if not applicable):

[ ] The page has been added to website/sidebars.js
[ ] The new page has a unique filename

If you removed existing pages (delete if not applicable):

[ ] The page has been removed from website/sidebars.js
[ ] An entry has been added to _redirects
[ ] Run link testing to update the links that point to the deleted page

hey @BrJan made some small tweaks and included numbers for the steps! have a look and let me know what you think, hopefully the deploy link will render it correctly 🙏