Support exporting multiple values per query

This change adds the ability for the bigquery exporter to run queries and interpret results that contain multiple values. Each distinct value is identified by a suffix to columns with the prefix value. So, for example, columns named value_foo will create metrics name <metric>_foo <value>.
This change allows us to consolidate and run more efficient queries for which we want multiple values, such as avg upload, avg download, and avg up/down rtt per machine

This change is

Review status: 0 of 7 files reviewed at latest revision, 1 unresolved discussion.

bq/bq.go, line 16 at r1 (raw file):

	valType prometheus.ValueType
	descs   map[string]*prometheus.Desc

Add documentation for these fields?

Comments from Reviewable

Review status: 0 of 7 files reviewed at latest revision, 2 unresolved discussions.

README.md, line 105 at r1 (raw file):

3. Authenticate using your account. Both steps are necessary, the first to run
   gcloud commands (which uses user credentials), the second to run the bigquery
   exporter (which uses application default credentials).

Will any one outside (w/o mlab project authentication) be able to use this BQ exporter?

Comments from Reviewable

Thanks, Ya.  PTAL?

Review status: 0 of 7 files reviewed at latest revision, 2 unresolved discussions.

README.md, line 105 at r1 (raw file):
Previously, yachang wrote…
Will any one outside (w/o mlab project authentication) be able to use this BQ exporter?

Yes. The mechanisms bqe use are only specific to Google Cloud APIs. There is nothing particular to M-Lab.

bq/bq.go, line 16 at r1 (raw file):
Previously, yachang wrote…
Add documentation for these fields?

Done.

Comments from Reviewable

Review status: 0 of 7 files reviewed at latest revision, 2 unresolved discussions.

Comments from Reviewable


Extend Dockerfile to complete multi-container Docker setup

Use docker-compose to build:

three database containers with one service per container: mysql, pgsql, mssql.
main container with nanodbc development environment, ODBC drivers
and command line database clients, for ultimate convenience.

Database containers are available from host.
User can development nanodbc in local environment and
test against database services runing inside containers.

Tested on Windows 10 with Docker For Windows:
D:\>docker --version
Docker version 17.06.2-ce, build cec0b72

D:\>docker-compose -version
docker-compose version 1.14.0, build c7bdf9e3

Merged into new repo https://github.com/nanodbc/nanodbc/commit/9a562cef21efedcdfb08b1f770ea651f55170855


Course Drag Update

Explanation
We want to add a feature that lets the user create new semester by dragging any course down past the bottom of the last semester container. A helpful tip message should display to the user about the existence of this feature when they are dragging a course over the last container. This tip should show up instantly on first hover over the last semester container, or when the user hovers for more than 750ms (temporary constant) over said container.

This issue is linked to the branch development starting on branch enhancement/course-drag-update-36


Update util.js

If body is undefined, throws an exception and crashes IE11 and below.

Added suggested changes as this now works locally,

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

Thanks!


multiple colours in one text layer

hey,
I dont suppose there is a way to have multiple text colours in one text layer is there?
See a below example:

If i use nexrender to change the text in this type of example, i lose the formatting of the colour, and it will all go white to match the start of the text layer.
maybe it accepts a sort of rudimentary html like text colour and i'm just missing the way to tell the JSON?
hopefully that makes sense!

Hey @jonnymangothinkjam
If there is a way to do it via JSX scripting (like defined in Adobe AE docs), then it will be exactly the same way for nexrender.
Hope that helps 👍
Cheers!


fix: Update store.go

Our relayer started working much better with values like these.  I suggest that for now, we make this the default.
I think it would reduce epoch times, too.
Also, this won't cause linear increases in memory consumption, but I don't know why that is.  My nodes tend to level out at around 40gb.  I'd recommend 64gb of ram for people using this and since a validator could just like:
4 or 8 core consumer cpu
1.8t samsung 980pro
64gb ram
I reckon for about a thousand bucks, once, seems a real nice way to both fully eliminate the epoch time meltdown issue and decentralize the validator set.

@faddat @ValarDragon is this PR now out of date?
Seems the changes were undone in https://github.com/osmosis-labs/cosmos-sdk/commit/7e450a5d96c50cf1929b33b8aaa3cd2cd1d05fbe

@sunnya97 This is out of date.


fix(chat): fix markdown table displaying (Issue #2446)

Description:
fix markdown table displaying
Issues:

Issue #2446

UI changes

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review


Stuck at Firebase Crashlytic verification loading...

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.2
Firebase SDK version: 6.34
Installation method: CocoaPods
Firebase Component: Crashlytics

[REQUIRED] Step 2: Describe the problem
In my new project, i have successfully setup Firebase Crashlytic and placed the testing crash "fatalError()" in the button action. However after do all the necessary step, when I go back to Firebase Crashlytic console page and it still loading the verification process. I also wait for after 30 minutes, and the page still appear to be same(nothing change).

When i check the xcode log, it seem the crashlytic setup was successful.

Appreciate anyone help on this matter. Thank you ^_^
Steps to reproduce:
Here is my podfile setup:-
pod 'Firebase/Analytics', '~> 6.34.0'
pod 'Firebase/Crashlytics'

Hey @Blurzschyter, please file this issue at Firebase Support. They'll be able to look at the state of your project and tell you why it's stuck.

Hey @Blurzschyter, please file this issue at Firebase Support. They'll be able to look at the state of your project and tell you why it's stuck.


Fixes #297

Fixes mentioned at #297. Related with: #269. And used same strategy with #286

thank you for your contribution @cagritepebasili 👏


Lockdown ktlint version

This is just a preemptive lockdown of the ktlint version being used. If the plugin is updated and also updates the ktlint version then we will see a lot ktlint errors.  This change is also meant to allow us to migrate to newer versions of ktlint gradually.  The version was set to the current version used by the plugin (see https://github.com/JLLeitschuh/ktlint-gradle/blob/master/plugin/src/main/kotlin/org/jlleitschuh/gradle/ktlint/KtlintExtension.kt#L38)
Test Steps:

Run ./gradlew ktlintcheck and verify the check is successful.

Changes

Lock down the ktlint version to what is used by the gradle plugin.
Updated getting started doc

Checklist
Testing

[x] Tested locally?
[ ] Ran ./prime test or ./gradlew testSmoke against local Docker ReportStream container?
[ ] (For Changes to /frontend-react/...) Ran npm run lint:write?
[ ] Added tests?

Process

[ ] Are there licensing issues with any new dependencies introduced?
[ ] Includes a summary of what a code reviewer should test/verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Linked Issues

Fixes #issue

To Be Done
Create GitHub issues to track the work remaining, if any

#issue

Specific Security-related subjects a reviewer should pay specific attention to

Does this PR introduce new endpoints?

new endpoint A
new endpoint B

Does this PR include changes in authentication and/or authorization of existing endpoints?
Does this change introduce new dependencies that need vetting?
Does this change require changes to our infrastructure?
Does logging contain sensitive data?
Does this PR include or remove any sensitive information itself?

If you answered 'yes' to any of the questions above, conduct a detailed Review that addresses at least:

What are the potential security threats and mitigations? Please list the STRIDE threats and how they are mitigated

Spoofing (faking authenticity)

Threat T, which could be achieved by A, is mitigated by M

Tampering (influence or sabotage the integrity of information, data, or system)
Repudiation (the ability to dispute the origin or originator of an action)
Information disclosure (data made available to entities who should not have it)
Denial of service (make a resource unavailable)
Elevation of Privilege (reduce restrictions that apply or gain privileges one should not have)

Have you ensured logging does not contain sensitive data?
Have you received any additional approvals needed for this change?

OH HELL YEAH

I think this is good, but just as a heads up, the linter only cares about certain formatting issues, it's still happy with or without trailing commas, and it's okay with certain whitespace differences. Still, this is good progress, it does fix some of the linebreak discrepancies. And there may be additional things we can do later in terms of IDE settings to unify some of the other formatting differences.

That all depends on the ktlint version being used.  Newer versions add those checks you mentioned, but unsure the program wants those at this point.


document use of KIND_CLUSTER_NAME with kind.local

It is not called out here and probably should be: https://github.com/google/ko/blob/master/README.md#with-kind

cc @markusthoemmes

/assign


Fixture tearDown doesn't handle constraints well

I get constraint errors during fixture teardown.  At the moment I'm injecting a db flush to get around it, which seems to work ok.

   @classmethod
    def _fixture_teardown(cls):
        fixtures = getattr(cls, 'fixtures', None)
        _fb_should_teardown_fixtures = getattr(cls, '_fb_should_teardown_fixtures', True)
         # _fixture_teardown needs help with constraints.
         if fixtures and _fb_should_teardown_fixtures:
             call_command('flush', interactive=False, verbosity=1)
         return super(MyFastFixtureTestCase, cls)._fixture_teardown()

There are a number of bugs around fixtures.  Can you provide a test case or a public project that reproduces the error?


Steam cloud (and maybe other steam apis?)

Some reference to the SDK, such as the developer site or a wikipedia article.
https://partner.steamgames.com/doc/features/cloud
You can also see it on game pages but not search for it: https://steamdb.info/app/400/ufs/
SteamDB links
One that lists Steam cloud as a feature: https://steamdb.info/app/1145360/ufs/
One that doesn't https://steamdb.info/app/400/ufs/
Possible way to detect it
I know this tool can search for games that show they use the Steam Cloud feature; here is a search for games that supposedly doesn't use it. https://steamdb.info/instantsearch/?refinementList[categories][0]=-Steam Cloud
The problem is that lots of games on this list use Steam Cloud even though they don't advertise it, example with Portal: https://steamdb.info/app/400/ufs/
I'm curious about what games that actually uses Steam Cloud and what games don't etc so that's why i want this advanced search feature, maybe this is the wrong place to ask for it?

best we can do is detect the steam sdk itself, since it's all contained inside one file called steam_api.dll

But the website can detect it somehow right? Every game page either has that cloud tab doesn't have it, I just want it searchable.
Maybe this out of the scope for this repo...

But the website can detect it somehow right? Every game page either has that cloud tab doesn't have it, I just want it searchable. Maybe this out of the scope for this repo...

yeah it is, in this repo we're detecting technologies (Unity, Unreal Engine, etc.) using files inside game depots

https://steamdb.info/instantsearch/?refinementList[categories][0]=Steam Cloud you can see all the games that offer this feature (and notify about it on their store page) here

That search is missing all the games that doesn't list it on the store page though: https://steamdb.info/instantsearch/?refinementList[categories][0]=Steam Cloud
Makes it tricky to find a list that shows games that actually doesn't support steam cloud.

That search is missing all the games that doesn't list it on the store page though: https://steamdb.info/instantsearch/?refinementList[categories][0]=-Steam Cloud Makes it tricky to find a list that shows games that actually doesn't support steam cloud.

https://github.com/SteamDatabase/steamdb.info-issues
you should probably open an issue here, as we can't help you with it here

Gotcha, thanks for the info. 👍
I thought it kinda would fit on this page but i guess not https://steamdb.info/tech/

https://github.com/SteamDatabase/steamdb.info-issues
you should probably open an issue there, as we can't help you with it here
No, steamdb is not steam, it's the devs fault for not marking it correctly, there's nothing steamdb can do about that

https://github.com/SteamDatabase/steamdb.info-issues
you should probably open an issue there, as we can't help you with it here

No, steamdb is not steam, it's the devs fault for not marking it correctly, there's nothing steamdb can do about that

i know, but all the games that have the feature have /ufs/ page on steamdb, so i guess it would be possible to sort the games using it?


NuGet installation fails

Install-Package : Could not install package 'tdlib.native 1.6.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.8', but the package does not contain any
assembly references or content files that are compatible with that framework. For more information, contact the package author.

Could you please share the project for me to easier reproduce the issue? Thanks.
I'm not sure how it is supposed to work in a .NET Framework project (since the DLL layout is a bit different), but the libraries here are purely native, so ideally it should work.

There is nothing to share. It was a brand new empty console project with
.NET Framework 4.8
On Tue, May 5, 2020, 10:59 Friedrich von Never<EMAIL_ADDRESS>wrote:

Could you please share the project for me to easier reproduce the issue?
Thanks.
I'm not sure how it is supposed to work in a .NET Framework project (since
the DLL layout is a bit different), but the libraries here are purely
native, so ideally it should work.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/ForNeVeR/tdlib.native/issues/30#issuecomment-624142575,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFTVBQ42JPHM7NYESFT2STRQAZXHANCNFSM4MZERE3A
.

I am sorry, but it seems there was something to share, since I wasn't able to reproduce your issue. Here's my .csproj:
<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <OutputType>Exe</OutputType>
        <TargetFramework>net48</TargetFramework>
    </PropertyGroup>

    <ItemGroup>
      <PackageReference Include="tdlib.native" Version="1.6.0" />
    </ItemGroup>

</Project>

This passes dotnet restore just fine, no warnings are shown.
Is it possible that you use old (pre-Core) SDK for some reason? If you do, then I advise you against it. I don't know if it old SDK supports any layout for native artifacts; most likely, it doesn't.


Docs: readme.md added installation instructions

Dlib can be easily used with CMake, I am adding some instructions how to install and use dlib. Hope this will reduce amount of such questions

I don't really want to encourage people to install dlib.  I'm pretty sure that will lead to even more confused questions.  That's not to say that these instructions aren't useful, but maybe they should be placed somewhere less prominent and with a huge disclaimer that says like "you don't need to install dlib to use it, but if you want to install it as a shared library then do this".  So maybe at the bottom of the how to compile web page.
I'm saying this because I'm really sure that 99% of people who post in the dlib forums don't really even understand what a shared library is or how the C++ compile+link process works. Hell, I've met a lot of professional software developers in real life who didn't understand linking.  The main reason I've always avoided any kind of dlib install process is because I think the step of producing a shared or static library file that's then used later is too error prone for most people.  For example, I've lost track of the number of times I've seen someone compile some part of their code to a library file (or download the file) in some mode or with some compiler or runtime, then try to use that compiled library with incompatible compiler switches, runtime, whatever.  Then they get confusing linker errors or maybe just program crashes and they have no idea what's happening.
So for example, here are things that will happen if we put this instruction out where most users see it.  People will run it on some linux machine but not know to run ldconfig, which sometimes needs to be run after installing a shared library on linux.  Or they will install it on OS X and there will be some similar issue. Does OS X put /usr/local/lib into the linker load path by default?  I'm not sure.
What's even worse is visual studio users.  The notion of installing a library is just totally broken in windows.  Each version of visual studio has 8 different compile modes (the combination of 64/32 bit, debug release, multi-threaded/not-multi-threaded) and all are incompatible with each other in subtle ways that sometimes show up as confusing linker errors but more often as weird runtime errors.  Practically every single visual studio user who tries to install dlib with this process we are suggesting is going to have a bad experience.  I've already setup the CMake scripts to only generate static shared libraries when you do the install on windows to avoid people needing to use .dlls, which requires updating the system PATH environment variable, which most users will not understand.  Static don't require updating PATH, so at least programs will be executable without PATH variable changes, so at least there is that positive :)

Thanks for the explanation. I agree that some skills are required for using CMake, and not everybody have them.
I will move CMake instructions into compile.html documentation file - to have all of them in one place - i will update PR
Do you want to keep faq/stackofervlow text on the top of readme?

The FAQ link is probably a good idea.  But the stackoverflow link should probably go or else people will probably post bug reports to stack overflow.  Although most of "the bug" reports we already get on github are just user error :(

"How to compile Dlib" is the most common question on StackOverflow :(
30% - using with Visual Studio
30% - OSX problems
30% - python "no image_window"
<10% - Linux users with GCC
I think we should extend the documentation with more screen-shots and compilation explanations. I will write some additional documents about using dlib with Visual Studio, CMake, MinGW and GCC on Linux and put into this PR a bit later

Sounds good.  Just make sure the documentation stays concise and easily navigated.  Mainly because most people don't read documentation.  When they glance at the page, if the answer doesn't jump out and punch them in the face, they won't read it.  This is made worse and worse the longer a piece of documentation gets.  So it's easy to end up with more questions after adding more detailed instructions.
I even get questions where people copy and paste the error message to me, and inside the error message is literally the answer to their question.  But they just didn't read it.   That's how bad people are at reading instructions.
There is also a selection bias where the most ignorant and unmotivated people post the most, while the vast silent majority of users who will read simple instructions don't have problems. Right now, for most people who have developed software before, the http://dlib.net/compile.html page is pretty straight and to the point.  But if you make it really long with a bunch of tutorials on GCC, 'what is a compiler?', visual studio tutorials, and stuff for novices then you will run into the problem of more experienced people taking a look at that page and then not reading it because it looks like it's long winded or not containing the content they want (basic, how to compile instructions).
So keep all that in mind.  Maybe the things you are talking about adding would be on a separate page but linked to from the 'how to compile page'.  Or located further down.  There is definitely a problem with people though where they land on a web page and immediately flick the scroll wheel, skipping the top content, since top content is often boilerplate.  So if there are suddenly screenshots and tutorials down below they might end up being what they read when their question was more easily answered by the top content.
Anyway, yeah, this sounds good.  But writing documentation is harder than most people think because of all these human factors problems.  But give it a go :)

So may be better will be adding "5-minute tutorial" section on the main page of www.dlib.net where we can describe how to use dlib with different compiler types?

Maybe.  Do you think people don't find the how to compile page at all?

My impression has always been that that's not the problem.

Maybe change the how to compile page to show the cmake instructions.  And then something below that which says "if you don't want to use cmake then here are a list of non-cmake tutorials"

Although, most of those "I can't compile dlib" questions come from people who obviously have never used visual studio/xcode/gcc befor either.  I think the real issue is how can we best convince them to use CMake?  CMake is a lot easier to use for a novice than navigating visual studio's GUI, for instance.
So maybe if the cmake instructions included a very short example cmake file/tutorial.  I'm not sure.  The examples literally already contain a cmake file that's pretty simple and functionally a tutorial.  But that obviously doesn't convince these people to use CMake or to not be confused by it.

I think that 5-minute tutorials will be useful for the users that are starting with dlib. What can we put into tutorials?

how to compile and run face detection example with CMake
how to compile, install and use dlib in your project with CMake
Using Visual Studio IDE with dlib, how to deal with Release/Debug configurations with MSVC and CMake, using dlib with all/Source.cpp
using dlib with OpenCV
how to compile python library and use it, what to do with image_window issue
compiling Dlib with MSVC and CUDA for DNN module
Using QTCreator IDE with dlib
XCode with dlib

Having this small tutorials should solve some user problems

@davisking , I have created a sample tutorial. Please check if you want to have it on your website
https://drive.google.com/file/d/0B0_JKP9ZnGdMd2tCWEJmeXR0ams/view?usp=sharing
If this is Ok - I will write some more tutorials and we will find a way how to publish them

I just read the tutorial and it's good and clearly written.  However, I'm pretty sure that putting it on the dlib web page will lead to more confused user questions rather than less.  Because, (1) it's long and there are lots of steps, and (2) visual studio's multiple runtimes are inherently complex and this way of setting up a project requires the user to be aware of them.  Except that the sort of people who need this help definitely aren't aware of the issue.
For instance, here is something that will definitely happen regularly.  Someone will follow these steps and generate a visual studio project.  It will be either the release or debug one.  Then they will open it in the visual studio IDE and click the compile button, as they should be able to do.  However, if the little dropdown in the IDE that picks release/debug doesn't match the release/debug command used to generate the project then everything will break in a way most users won't understand.
There is also this general problem I've noticed where novice users don't want to use cmake.  In general, the people who use cmake don't have a problem.  Experienced people don't have a problem either.  It's just the people who are new to C++ programming and also, for some reason, refuse to use cmake, who have trouble compiling dlib.  These people would have trouble compiling anything though.
So a better way to approach this is probably to write a general cmake tutorial that encourages people to use cmake.  And definitely encourages visual studio users to use dlib the way the examples/CMakeLists.txt file does, by just compiling it inside their project in one big project.  That way the whole issue of visual studio runtimes is gone.
Also, part of the problem I have with this kind of thing is that examples/CMakeLists.txt is literally already a tutorial.  Yet somehow people look at that file and don't get it.  After years of doing this I've noticed that a lot of the time people simply don't read the text on the screen.  For instance, if you sit with someone, even a smart person, they will land on a page and immediately start scrolling without reading the text on the monitor.  So presentation matters a lot.  So I just now modified the example CMakeLists.txt file to include a huge ASCII art comment at the top that says "this a tutorial, read the comments!!!".  So hopefully that will catch the eye.
There is still the issue of getting people to look at that file in the first place.  The links to it should probably be more common and prominent on the dlib web sites.

I also just added a link from the front page README.  So maybe that will help :)

examples/CMakeLists.txt is very imressing! I think people will like it. CMake is hard for Windows users who are using GUI applications most of time. You are right here, that we if someone can use CMake, he will not have problems with Dlib
so, how can we reduce the amount of issue requests from newbies?

lol, yeah.  I think the ASCII art will help.
But yeah, still I bet there will be questions.  I'm not sure what to do. Also, consider, dlib is a software library, not an end user application.  You have to be able to program to use it.  But we have all these questions from people who obviously don't know how to program since they can't even compile a basic program in visual studio.  Suppose we somehow eliminate all the troubles for those people while compiling the examples.  How are they then going to write a program that does anything?   They will just post questions at that point like "my program won't compile?  now what?"

As another example.  What kind of documentation do you think would make it easier for this guy to make progress: http://stackoverflow.com/questions/43017973/cant-include-the-jpeg-support-headers-in-a-dlib-cpp-file ?  :)

I am closing this PR as existing documentation improved and I don't see the right way how to make it better. May be later we can find some more ideas

Yeah, sounds good.  Thanks for working on this :)


rustfmt: format comments

This PR adds comment formatting configurations to the repository's rustfmt.toml file, and the associated changes from cargo +nightly fmt --all.
Comment width 80.

Current dependencies on/for this PR:

master

PR #5741

PR #5742

PR #5743

PR #5744   👈

This stack of pull requests is managed by Graphite.

Once we cleanup those bits, this should be good to go.

😅 😅 😅
I will probably not do this right away hah.
Thanks for a thorough review though!

I will probably not do this right away hah.

Please do it on the sooner side to avoid merge conflicts later! I really don't want to go through all of this again.

Please do it on the sooner side to avoid merge conflicts later!

Ah nuts.

Holy schmoly,

Merge activity

Nov 8, 3:35 PM: @buffalojoec started a stack merge that includes this pull request via Graphite.


[Bug] Track downloading is broken

Describe the bug
The bot fails to initialize the download due to a missing directory /temp.
To Reproduce
Steps to reproduce the behavior:

Use /download.

Expected behavior
Nothing should be logged, and the bot should start the download.
Screenshots
None.
Stacktrace
←[35m[17:53:31.096]←[0;39m ←[36m[ForkJoinPool.commonPool-worker-3]←[0;39m ←[32m[c.p.m.music.download.TrackDownloader]←[0;39m ←[1;31m[ERROR]←[0;39m - Something broke while downloading com.sapher.youtubedl.YoutubeDLException: Cannot run program "bin/youtube-dl.exe" (in directory "temp"): CreateProcess error=267, The directory name is invalid         at com.sapher.youtubedl.YoutubeDL.execute(YoutubeDL.java:81)         at com.pattexpattex.musicgods.music.download.TrackDownloader.lambda$start$3(TrackDownloader.java:88)         at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)         at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)         at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)         at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)         at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)         at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)         at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Additional context
None.

Fixed in 94210a5.


replace custom [] operators by normal functions?

Replace custom [] by normal functions? They are difficult to read, complicate navigating the code, debuging, ide does not work with them as well as with normal functions ...

We can replace the operator[] with .at() functions.

Well, replacing operator[] with at() does not make sense at all. What would be a benefit? Generally, removing operator[] makes sense if we agree that a user of library (student, or reseacher) is a mediocre C++ programmer who would not like to be bothered with idioms of language such operator overloading definitelly is. I think this is actually our case since the developers of the library are interested with algorithmic stuff. Otherwise, it just looks like an ad-hoc idea.

I am personally against this, as I think that the benefits are minuscule. But this was decided on the last meeting, given the exact reason you describe. The reason makes sense. I just think it will have little to no effect on anything and anyone. But if it helps at least someone, I am fine with the change.

Well, replacing by at() will have negative effect on anyone slightly familiar with C++ idioms. Replacing with the custom functions is a decision on which side of the given trade off we want to be and I am ok with that.

Well, replacing by at() will have negative effect on anyone slightly familiar with C++ idioms.

Yes.

Replacing with the custom functions is a decision on which side of the given trade off we want to be and I am ok with that.

I see it similarly.

Similarly, we can replace NumberPredicate::operator[]() with NumberPredicate::pred().

The removal of operator[] is indefinitely postponed.


Is 6.6 oap cluster can receive  trace from 6.5 Agent ？

Question

What do you want to know?
Is 6.6 oap cluster can receive  trace from 6.5 Agent .
I update my cluster from 6.5 to 6.6. But  some agent is 6.5 。
The oap clusters  can run . But some trace is bad. Service can not show right name ,It it show VNode....

I don't think that is related to 6.5->6.6. It is compatible, and agent should be able hot reboot if you erase all data int the storage.
I am not sure what do you mean bad. VNode is a UI enhancement to tell you, some part of the traces has not been reported.

compatible, and agent should be able hot reboot if you erase all data int the storage.

I delete all index just now . It is  works
tks .


Package subpath './plugin' is not defined by "exports"

I followed the installation instructions at https://astro-imagetools-docs.netlify.app/en/installation/, but I'm getting:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './plugin' is not defined by "exports" in /Users/ianvs/code/defined/www/node_modules/astro-imagetools/package.json imported from /Users/ianvs/code/defined/www/astro.config.mjs

I guess that installation link is old, netlify isn't being used anymore.  Might be good to stop serving those pages in case anyone has them bookmarked.


Registering on iOS 9

Hi, thanks for this awesome plugin!
I noticed the following weird behaviour on iOS 9.0.2 and version 1.3.0 of this plugin (i'm not sure if this happens on earlier versions of iOS as well). Also it only happens about 50% of the time.
Steps to reproduce:

new install app with this plugin
call PushNotification.init with options
don't accept or deny notifications when system popup is shown

Result (about 50% of the time):

the registration event is called with a token!
when the used accepts, the registration event is called again!

When the user chooses to reject notifications, of course messages won't arrive. When he later turns them on in the settings app, they will arrive with the previous obtained token.
The problem is that my app cannot reliably know if registration was successful or not, since It is possible a token is registered and a moment later the user chooses not to allow notifications... Also, it is undesirable that the registration event is called twice when the user accepts them.

@alexbuijs it was fixed by PR #215 which is in master and will be part of the 1.4.0 release I hope to get out this week.

I missed that. Great, thanks!

I tested again with the master branch. Unfortunately, the original problem is not solved. It did solve the re-registering problem! But the fact that the plugin some (most) of the time registers before waiting for the result of the system popup, is still a problem, imo.

@macdonst can you confirm this is still an issue and reopen it?

@alexbuijs are you using PhoneGap Build? If so please comment on issue #201

@macdonst No, I'm using plain cordova, most recent version. Actually, what this issue was about, is described here: http://stackoverflow.com/questions/11045406/apple-push-notification-registration-device-token-receive-clarification. So didRegisterForRemoteNotificationsWithDeviceToken is called with a token, whether the user allows notifications or not. I reckon there is not much you can do about this. My workaround is calling init at different points in time.  (Which can be registered with a timeout).


Speed up dev server startup

I don't know what's making the dev server take multiple seconds to start up, but I want it to be much faster (instant).
This is open for anyone to troubleshoot.

epic-stack server/index.js time is only 25ms
You should probably look at Remix.
When it log info built (3.3s) the actual time is about 2 seconds more.

I wonder if it would be possible to do some things in parallel. Maybe the server can start accepting traffic but hold off on responding until the build is ready? That would at least make it easier during development to start opening the app immediately even if it doesn't respond right away.

There is a dev server warning about totp being ESM now, unsure if related. dev server also does pre-build step which might only need to happen once, not everytime a dev server is started

That's a false warning. The Remix team is going to be removing it in the next version.

this seems to be slow boot when using express

I wouldn't mind switching from express. But we'd need to support all the things we do in express with whatever else we use.


ANR occurred during the pressure test

"main" prio=5 tid=1 Blocked
| group="main" sCount=1 ucsCount=0 flags=1 obj=0x721d0ff8 self=0xb400006eedd4e380
| sysTid=6663 nice=-10 cgrp=top-app sched=0/0 handle=0x70253a7500
| state=S schedstat=(<PHONE_NUMBER>75<PHONE_NUMBER>3 2101982 ) utm=44907 stm=11116 core=4 HZ=100
| stack=0x7fcd8d0000-0x7fcd8d2000 stackSize=8188KB
| held mutexes=
at com.pedro.rtplibrary.view.OpenGlViewBase.onFrameAvailable(OpenGlViewBase.java:210)

waiting to lock <0x0eb3c699> (a java.lang.Object) held by thread 32
at android.graphics.SurfaceTexture$1.handleMessage(SurfaceTexture.java:212)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7870)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1005)

"glThread" prio=5 tid=32 Native
| group="main" sCount=1 ucsCount=0 flags=1 obj=0x13783bf0 self=0xb400006eeddd78b0
| sysTid=6744 nice=0 cgrp=top-app sched=0/0 handle=0x6cdcfa6cb0
| state=S schedstat=(<PHONE_NUMBER>525<PHONE_NUMBER>26 15558134 ) utm=100194 stm=73595 core=0 HZ=100
| stack=0x6cdcea3000-0x6cdcea5000 stackSize=1039KB
| held mutexes=
native: #00 pc<PHONE_NUMBER>04c25c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
native: #01 pc<PHONE_NUMBER>050880  /apex/com.android.runtime/lib64/bionic/libc.so (__futex_wait_ex(void volatile*, bool, int, bool, timespec const*)+144)
native: #02 pc<PHONE_NUMBER>0b0a8c  /apex/com.android.runtime/lib64/bionic/libc.so (pthread_cond_wait+80)
native: #03 pc<PHONE_NUMBER>0564e0  /system/lib64/libc++.so (std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)+20)
native: #04 pc<PHONE_NUMBER>089268  /system/lib64/libgui.so (android::BufferQueueProducer::waitForFreeSlotThenRelock(android::BufferQueueProducer::FreeSlotCaller, std::__1::unique_lockstd::__1::mutex&, int*) const+216)
native: #05 pc<PHONE_NUMBER>0897b8  /system/lib64/libgui.so (android::BufferQueueProducer::dequeueBuffer(int*, android::spandroid::Fence, unsigned int, unsigned int, int, unsigned long, unsigned long, android::FrameEventHistoryDelta*)+616)
native: #06 pc<PHONE_NUMBER>0e40f4  /system/lib64/libgui.so (android::Surface::dequeueBuffer(ANativeWindowBuffer**, int*)+392)
native: #07 pc<PHONE_NUMBER>0147bc  /vendor/lib64/egl/eglSubDriverAndroid.so (???)
native: #08 pc<PHONE_NUMBER>013e60  /vendor/lib64/egl/eglSubDriverAndroid.so (???)
native: #09 pc<PHONE_NUMBER>295394  /vendor/lib64/egl/libGLESv2_adreno.so (???)
native: #10 pc<PHONE_NUMBER>1a6b20  /vendor/lib64/egl/libGLESv2_adreno.so (???)
native: #11 pc<PHONE_NUMBER>1a843c  /vendor/lib64/egl/libGLESv2_adreno.so (???)
native: #12 pc<PHONE_NUMBER>1e6bf8  /vendor/lib64/egl/libGLESv2_adreno.so (???)
at android.opengl.GLES20.glClear(Native method)
at com.pedro.encoder.input.gl.render.ScreenRender.draw(ScreenRender.java:137)
at com.pedro.encoder.input.gl.render.ScreenRender.draw(ScreenRender.java:102)
at com.pedro.encoder.input.gl.render.ManagerRender.drawScreen(ManagerRender.java:76)
at com.pedro.rtplibrary.view.OpenGlView.run(OpenGlView.java:201)

locked <0x0eb3c699> (a java.lang.Object)
at java.lang.Thread.run(Thread.java:920)

Hello, ANR log above; is there a good approach to resolve this ANR issue?
Furthermore, during the long-term stress test, there will be an issue with the preview screen getting stuck. The log indicates that onFrameAvailable is not called back. Is there an idea about this?
Looking forward to your response.

Hello,
Which library version are you using?
com.pedro.rtplibrary.view.OpenGlView is an old library version. Try with last version 2.3.9

Hello,
Which library version are you using? com.pedro.rtplibrary.view.OpenGlView is an old library version. Try with last version 2.3.9

Last July. Could you please tell me what I should do next? There will be many incompatibilities following yesterday's upgrade.

According with your comment. That means version 2.2.4
You have this differences:

Multiples classes packages changed. Try remove and import all packages to fix (exactly rtplibrary package was renamed to library)
LightOpenGlView was removed, Use OpenGlView
AAEnabled, numFilters and keepAspectRatio attribs from OpenGlView was removed because it is unnecessary now.
ConnectCheckerRtmp, ConnectCheckerRtsp was replaced with ConnectChecker (it is exactly the same interface that before but with names a bit changed, for example onConnectionSuccessRtmp to onConnectionSuccess)

This should be all. Let me know if you have others error and I can help you to solve it.

Hi pedroSG94, Sorry for the late reply.According to you mean modify
1、 LightOpenGlView/OffScreen was removed, Use OpenGlView
2、[use executors in glviews]
We need to support recording in the background. After synchronizing the above modifications, we cannot record (the hardware layer supports background recording).
Can you pull a branch from 2.2.4 and help change the thread to executors

Because thread is often stuck on onFrameAvailable

Hello,
I need more info about the case.
Are you using DisplayRtmp or which class are you using?
What do you mean with stuck? How did you check it?
Also, if possible, use version 2.4.0 that provide a fix in that classes


remove old non-pattern-based shape inference

The comments and logic removed in ShapeInferencePass.cpp are quite old and don't make 100% sense anymore.
Unless anybody protests within the next month I intend to merge this PR around June 18. By then hopefully we will have surfaced any issues with the new pattern based shape inference which became the default in PR #2240 which was merged today.

I am hesitating in remove the old code.

I agree, I think we should keep it until we resolve the onnx model failures.

I am hesitating in remove the old code.

I agree, I think we should keep it until we resolve the onnx model failures.

OK to go ahead and remove the old code now? The comments and logic removed in ShapeInferencePass.cpp are quite old and don't make 100% sense anymore.

@chentong319 please let us know if this is ok by you.
If there is no consequences, I am in favor of removing unused passes

Jenkins Linux s390x Build #11986 [push] remove old non-pattern-b... started at 21:25

Jenkins Linux ppc64le Build #10980 [push] remove old non-pattern-b... started at 21:31

Jenkins Linux amd64 Build #11974 [push] remove old non-pattern-b... started at 20:26

Jenkins Linux amd64 Build #11974 [push] remove old non-pattern-b... failed after 1 hr 25 min

Jenkins Linux s390x Build #11986 [push] remove old non-pattern-b... passed after 1 hr 50 min

Jenkins Linux ppc64le Build #10980 [push] remove old non-pattern-b... passed after 2 hr 10 min


WithCache operator

For one of my application, I needed to cache response from API calls but no operator exist in rx.net.
Luckily, I found a tutorial (https://asizikov.github.io/2015/07/26/rx-api-with-cache-one/) so I added an extension and a service to cache data in a Dictionary<string, object>.
So, my proposition is to add a WithCache operator which look like this:
public static IObservable<T> WithCache<T>(this IObservable<T> source, Func<T> get, Action<T> put) where T : class
{
    return Observable.Create<T>(observer =>
    {
        var cached = get();
        if (cached != null)
        {
            observer.OnNext(cached);
        }
        else
        {
            source.Subscribe(item =>
            {
                put(item);
                observer.OnNext(item);
            }, observer.OnError, observer.OnCompleted);
        }

        return Disposable.Empty;
    });
}

And using it like that:
return Observable.Create<A>(async observer =>
{
    var result = await ExtractResponseFromGetRequestAsync<A>("https://myapi.com/a");
    observer.OnNext(result);
})
.WithCache(() => _cacheService.Get<A>("a"), r => _cacheService.Set("a", r));

In this version, the developer has to implement his own caching service (in-memory, local storage, or even Cloud storage). By default, I use an in-memory service using a Dictionary<string, object>, so I have another proposal for this operator so we can use it like that:
return Observable.Create<A>(async observer =>
{
    var result = await ExtractResponseFromGetRequestAsync<A>("https://myapi.com/a");
    observer.OnNext(result);
})
.WithCache(r => r.Key); // Automatically get/set from in-memory storage with a key constructed with the result

A few comments:

The signature is quite an odd one compared to the existing Rx operators.
If an item is cached, the IObservable will never complete.
T is limited to classes.
If the source has multiple items, only the last item will be available as cached.
Multiple subscriptions running concurrently when there is nothing yet cached may overwrite each other's value.
The API should require the get and put lambdas to be thread-safe and/or talk to a thread-safe container.
The non-cached source.Subscribe's returned IDisposable is ignored, making an ongoing flow non-cancellable.

@akarnokd Thanks for the reply. I am not aware of the best practices on this repo for now. I used the example as-is and it works for me because my use case is simple. 1 API call = 1 Observable on a Page.
Maybe I can start with some Unit Tests to check that everything should work fine (no overwrite, no concurrency, etc..).

@Odonno your described behavior sounds very similar to the Start operator: this operator also caches the results of an arbitrary async function for future subscriptions. You can combine it with other observables very easily using async/await or Defer.

Can this issue be closed? It seems an operator like this is very specific to justify inclusion in Rx.
In terms of feedback, I'd say you should always be wary of the following:

Discarding an IDisposable in a no-no.
IObservable<T> operators parameterized by shared state (e.g. the delegates) that will be used across multiple subscriptions.


keycloak packer + pulumi first round

Description
This pull request has the configuration for a basic keycloak AMI build + the basic structure for a keycloak environment provisioned with pulumi. It is not ready for production.
Still need to

write structure around a keycloak.conf file and mount that into the docker container

(and figure out where in the container it goes).

Need to add custom providers we need either via a custom Dockerfile or with volume mounts.
Probably a ton of other stuff too.

Further helpful documentation

https://www.keycloak.org/server/containers
https://www.keycloak.org/guides#server

Motivation and Context
Closes #1330
How Has This Been Tested?
Provisioned a CI environment that is stable and does not boot-loop.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Enhancement (improves on existing behavior)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[X] My code follows the code style of this project. (Did you install and run the pre-commit hooks?)
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Partially addresses #1332


Update fr.coffee

Translate word Hints in French "Aide"

Coverage decreased (-33.7%) to 19.891% when pulling 226a4ec7d5fee5604394f16ba7847f03b9483253 on pagrette:patch-1 into 1fe3f335ed32a2d53a42bc62aaadc30505769f5d on codecombat:master.

Thank you, @pagrette!


Not possible to use -webkit-line-clamp

Is imposible to use -webkit-line-clamp property because the autoprefixer erases 'display: -webkit-box'.
.foo {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}

First, why you use only -webkit- prefixes in your CSS? It is a very bad practice. You should write unprefixed versions like display: flex.

Second, I tried to input
.foo {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}

to interactive demo and I got
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}

So seems like Autoprefixer do not remove anything.

Yes, I know that is a bad practice but I'm using fallbacks to other browsers.
I want to use this weird webKit flexbox way: http://dropshado.ws/post/1015351370/webkit-line-clamp
I'm using gulp-autoprefixer in the gulpfile and the output I get is:
.foo{
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
The autoprefixer is removing 'display: -webkit-box;'.
I understand that is a stilted and non standard solution and you are creating useful standard tools.
Thanks for your prompt response

@nabaroa Show your build code.

What version of Autoprefixer you use and what is your browser options for it?

Sure! I'm using too restrictive browser options. I've changed them and is working perfectly. Thank you for your help. <3


WIP: Delete deprecated apis

A work in progress for removing v1beta1 and v1beta2 APIs from the code base. #8087

What else needs to be done in this PR?
Please rebase at some point so we can get Travis and Shippable to run the tests. You're getting a merge conflict right now.

I rebased and had to modify the code gen tools.

Note, I expect on the the travis tests to fails because I haven't updated it to not use v1beta1.

@krousey Please replace v1beta1 tests with v1 tests on Travis/Shippable in this PR, assuming that works. If not, just make both builds run v1beta3 tests for now.

cc @smarterclayton, so he can verify we're not nuking something Openshift needs.

LGTM once tests pass.

Remove WIP from the PR title once tests are working.

@derekwaynecarr can you double check that we're not dependent on any of these types still (pretty sure, just want to verify).

@k8s-bot test this please
(I accidentally wiped the output directory while it was building which caused it to fail.)

@bgrant0607 I'll also wait until I get e2e running locally. Need to wait on a heapster release that @vishh is working on.

Awesome. LGTM once e2e is working.

This PR is a breath of fresh air.

Yes, I am SO dying to nuke v1beta1/2.

@vishh is out today, so I asked @vmarmol if he could look into getting a new heapster image released today.

https://github.com/GoogleCloudPlatform/heapster/pull/301 FYI

I rebased and added a couple of more commits. One removes swagger specs. I'd like someone to make sure that looks sane. The other updates our use of heapster to version 0.13.0 which was cut to add v1beta3 support.

I'll squash once I get the OK.

I would say to split some of those commits into other PRs, but outside of that the Heapster changes LGTM :)

One PR/commit makes it easier to rollback.

LGTM. To be merged on Monday morning.
cc @erictune, who will be on call

Squashed

e2e passed with new heapster image

please rebase

Done, and why isn't shippable running?

Merge conflict would be my guess.

The experimental Jenkins builder seems to have failed to fetch this PR to test. Doesn't seem to be a problem with this PR specifically.


orthographic error in footer

In the left side of the footer there is an ortographic error where it says:
Sinppets sourced from open-source projects. See credits
Change Sinppets for Snippets.
Thank you!

Great catch, I had one more person find this in the past few days. Thanks!

you are welcome! congratulations for this great project! 🤘🏻🤘🏻

I was hoping I was the first one to find it, but alas you have beat me to it. xD


Buttons on panels don't get the image updated after being selected

Godot version: master
Issue description:
Buttons on editor panels don't get the image updated after being selected.
Add node icon on the scene panel stays gray, other like the gear on the inspector (to do things like copy/paste params) disappears after using an option.
Steps to reproduce:
Use the buttons on editor panels.

Sorry, issue description makes no sense to me, no matter how hard I try to understand it..

The issue is slightly different now but the effect is the same, I'll add a gif and change the title to reflect the current status.
Basically, some buttons on panels never return to the "normal" image.
This is on the alpha 1, look at the buttons that stay blue, and stay that way until the editor is closed:

I cannot reproduce on Master so it seems that is fixed.


debug port left open after application quits

IntelliJ 13.1.6 Ultimate, plugin 0.9.2
When I run a Haxe application from the "debug" button then quit it either from the application itself or using the "stop" (red square) button on IntelliJ, the debug port is left open and I am unable to re-run the application due to a "Address already in use" error. Restarting IntelliJ releases the port.

@johngirvin Why did you close this?  Version mismatch?
I think that plugin 0.9.2 is for IDEA 14.  0.9 is the latest for Idea 13.  But that may be beside the point.


fix: Replace deprecated grpc.Dial with grpc.NewClient

Description
Replaces grpc.Dial usage with grpc.NewClient. gRPC deprecated (and then briefly un-deprecated, but plan to re-deprecate) Dial and DialContext in favor of NewClient. See https://github.com/grpc/grpc-go/pull/7010 for more info about NewClient.
Type of change

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

Testing performed?

[x] Unit tests
[ ] Integration tests
[ ] Acceptance tests

Checklist:

[x] This PR is being made against the main branch, or relevant version branch
[ ] I have made corresponding changes to the documentation
[x] I have added testing for my changes

If you have any questions, or want to get attention for a PR or issue please reach out on the #logging-and-metrics channel in the cloudfoundry slack

@rroberts2222 and I tested these changes within CF-D and saw that they resulted in RLP and TrafficController not initiating any TCP connections to Dopplers until a client attempted to connect to them. This is in contrast to the old behaviour where the Doppler connection pools were pre-filled to the max. We think this change is fine.
@acrmp and tested the RLP Gateway changes and saw that clients will consistently receive 503 errors now when the RLP is not available, e.g. from the log-stream plugin:
unexpected status code 503: {"message":"streaming is temporarily unavailable","error":"streaming_unavailable"}

The RLP Gateway logs will not emit stack traces in those cases, but will emit an error line for every failed request:
2024/04/16 21:41:25 failed to open stream from logs provider: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp <IP_ADDRESS>:8082: connect: connection refused"


DO-NOT-MERGE-Dashrews/test upgrade time

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

/test stackrox_branding-push-images

/test stackrox_branding-push-images


testing: T.TempDir doesn't work well with testing libraries

The new T.TempDir method is documented to return the same path on every call within the same test:

Subsequent calls to t.TempDir return the same directory.

This means that it's easy for tests that use TempDir to shoot themselves in the foot by overwriting or reading content owned by testing libraries. To use TempDir correctly in the presence of multiple packages you must use a unique subdirectory name, which is hard to choose, so you'd need to use ioutil.TempDir which loses the whole point of having TempDir in the first place.
I propose that every call to TempDir return a new temporary directory; tests can save the result in a local variable if need be.
If it seems like the implied semantics of the name TempDir no longer match the actual behaviour, another possible name would be Mkdir.

CC @bradfitz

Maybe? But each subtest has its own *testing.T, so if the test needs different subdirectories for different test cases, it seems straightforward enough to split those into separate subtests...

… you'd need to use ioutil.TempDir which loses the whole point of having TempDir in the first place.

Does it? They seem complementary to me: (*T).TempDir constructs a temporary directory with the same lifetime as the test (which can be logged, and perhaps preserved with -work). ioutil.TempDir constructs a unique subdirectory within that directory.
For package-independent test helpers, I would recommend passing in the output directory as an explicit argument anyway. For example, the helper might be called from a subtest, but generate an output for a parent test (perhaps guarded by a sync.Once).

Does it? They seem complementary to me: (*T).TempDir constructs a temporary directory with the same lifetime as the test (which can be logged, and perhaps preserved with -work). ioutil.TempDir constructs a unique subdirectory within that directory.

Preserving the temporary directory with -work is an interesting consideration, which is not done yet, would need some more work (AFAIK currently the test binary has no way of knowing whether the -work flag was provided or what that temporary directory is named), and seems to me to be orthogonal to this issue.
ISTM that using ioutil.TempDir within that directory is not enough to avoid clashes - a test could walk ioutil.TempDir assuming that its contents have all been created by itself, for example.
Let's put this another way: what's the advantage of always returning the same name from TempDir ?
FWIW I've been using this functionality for a long time now, and I've very often found it to be useful to create several independent temporary directories within a test. Having a handy function that returns a new scratch directory is great! (and makes it easy to avoid unintentional bleedthrough and extra bookkeeping).

(*T).TempDir constructs a temporary directory with the same lifetime as the test (which can be logged, and perhaps preserved with -work).

Indeed, but I don't think this precludes a subsequent call returning a different directory that is similarly tied to the lifetime of the test. The similar naming of (*T).TempDir and ioutil.TempDir just seems a likely source of confusion (at least I was surprised 😄).
For a given *testing.T, subsequent calls to (*T).TempDir could return directories that share the same temporary root (making the cleanup trivial).

@bcmills Any further input on this, please? The release approaches fast!

I'm skeptical about this. I think of it like os.TempDir, that it returns the "/tmp" for the test. How are libraries and tests colliding exactly? Don't they have different file names they'd use?

I talked to @bcmills about this. The argument is that if t.TempDir is like os.TempDir, it's hard to get multiple directories without calls to Mkdir or ioutil.TempDir. But if t.TempDir is like ioutil.TempDir, then it's easy to get a single directory - just call it once and remember the result. That suggests we should make the change that @rogpeppe has proposed.
I'll review the CL. Thanks.

FWIW that's why I liked the name "Mkdir" which makes it clear that it's making a new directory each time with no confusion between ioutil.TempDir and os.TempDir.

FYI, we split @rogpeppe's https://github.com/golang/go/issues/38850#issuecomment-630975286 into https://github.com/golang/go/issues/39169, since this issue is now closed.


ADOT Lambda .NET SDK  is still Beta

Dotnet OTEL support is still in beta. Is there a timeline for the GA release of these packages?
e.g https://www.nuget.org/packages/OpenTelemetry.Contrib.Instrumentation.AWSLambda/

Thanks for flagging this issue. @willarmiros can you help get this Nuget package updated for tracing GA?

Hi @fodonnel,
Thanks for raising this. ADOT provides GA support for .NET on compute platforms other than Lambda; the Lambda instrumentation package is currently the only ADOT .NET package not yet stable. Unfortunately we are not able to provide a timeline on the GA of such a package since it is partially dependent on the upstream maintainers, but I can tell you that we are working on an auto-instrumentation solution for .NET Lambda functions which will provide similar functionality to the java auto-instrumentation layer, by providing a zero-code-change experience for onboarding .NET Lambda Functions to ADOT, so even if the instrumentation is still not stable, users would be protected from possible breaking changes.
In the meantime, I've created this issue to track the GA of the Lambda Instrumentation package you can follow for updates: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/issues/166


Can't build on Windows from command prompt with Ninja

Getting unresolved symbols when linking storage test exe
azure-storage-common.lib(crypt.cpp.obj) : error LNK2019: unresolved external symbol __imp__CryptStringToBinaryA@28 referenced in function "class std::vector<unsigned char,class std::allocator<unsigned char> > __cdecl Azure::Storage::Base64Decode(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?Base64Decode@Storage@Azure@@YA?AV?$vector@EV?$allocator@E@std@@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
azure-storage-common.lib(crypt.cpp.obj) : error LNK2019: unresolved external symbol __imp__CryptBinaryToStringA@20 referenced in function "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl Azure::Storage::Base64Encode(class std::vector<unsigned char,class std::allocator<unsigned char> > const &)" (?Base64Encode@Storage@Azure@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$vector@EV?$allocator@E@std@@@4@@Z)
sdk\storage\azure-storage-test.exe : fatal error LNK1120: 2 unresolved externals
[102/102] Linking CXX executable sdk\template\azure-template\test\azure-template-test.exe
ninja: build stopped: subcommand failed.

Building windows x86
From Windows Developer command run
cmake -GNinja -DBUILD_TESTING=ON ..
cmake --build .

I can reproduce this issue and I believe it will be fixed in #1230.
But I'm still curious, the dependency has been existing for like several months and why this issue wasn't found until yesterday.

But I'm still curious, the dependency has been existing for like several months and why this issue wasn't found until yesterday.

If I had to guess, it likely is because we don't test and build on Ninja often (or in CI), and it was discovered by doing adhoc testing on different build systems.

yeah, @ahsonkhan  is correct. We don't use Ninja for CI. (we use Visual Studio 2019 project for all Windows gates)
I am expecting to work with @danieljurek to enable at least on of the gates with Ninja.
This was discovered by trying to do it manually/locally in my PC

yeah, @ahsonkhan  is correct. We don't use Ninja for CI. (we use Visual Studio 2019 project for all Windows gates)
I am expecting to work with @danieljurek to enable at least on of the gates with Ninja.
This was discovered by trying to do it manually/locally in my PC


BahamutoD (BDA) Continuations

Reference: #4607

These all seem to work. Excellent work! Merging with thanks!


Only include TestBox.h if needed

This silences some linter warnings about unused includes when regression tests are disabled.

[approve ci autest]


Feature/thermal rotation

Verified thermal camera is mounted with 8x8 text on drone right, cable coming up out of tilt assembly.
Thermal camera in FPV view.

Any feelings on making this a setting, like 4 radio buttons that are "rotate 0/90/180/270" ?

Dennis has specific build instructions for how we mount the camera. So I
would say let’s leave it.
On Mon, Sep 19, 2022 at 6:43 PM Nathan Vaughn @.***>
wrote:

Any feelings on making this a setting, like 4 radio buttons that are
"rotate 0/90/180/270" ?
—
Reply to this email directly, view it on GitHub
https://github.com/bellflight/AVR-2022/pull/240#issuecomment-1251682038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHVIUYG5AGMPGCAOPLUA6SLV7D3BLANCNFSM6AAAAAAQQRWBPY
.
You are receiving this because you authored the thread.Message ID:
@.***>


fix (webdriver detection): Prevent detection

The kleinanzeigen started to detect the webdriver.
At the moment no automated login is possible.
This commit adds configuration to set the webdriver disabled,
and prevent detection of automation.

I ran in the same problem and can confirm that the code proposed here fixes my issue. Thanks!

Works for me, too. Thanks for the quick fix!
P. S. Is it possible to rotate images automatically?

Works for me, too. Thanks for the quick fix!
P. S. Is it possible to rotate images automatically?

What do you mean exactly with rotating?
I'm not really developed the ebayKleinanzeigen, just contributed one fix. =)


Whitelist filter in phpunit.xml

Hi,
I think the path to the whitelist folder should be ../src instead of ./src. Please confirm.

Yes it is, there is a missing dot. Thanks.


build: upgrade CI/CD workflow scripts

:tada: This PR is included in version 0.63.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Consolidate WebAuthenticationExceptions caused by a user cancelling the flow into a single exception.

Checklist

[X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
[X] I have looked into the API documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved
Users cancelling a web authentication session workflow results in a WebAuthenticationException with an internal code field that describes the cause for the exception. Presumably this is because many things could cause this type of exception.
I have a use case where knowing specifically that the user cancelled the session is helpful, but in order to identify whether this action was taken by a user, I must inspect the code for each platform that can throw it (iOS and Android for me) and determine whether the code is either USER_CANCELLED (iOS) or a0.authentication_canceled (Android).  These appear to be platform-specific codes that are emitted from a native layer.
Describe the ideal solution
Ideally there is an exception type that wraps any scenario where a user cancelled the web authentication session, perhaps by subclassing WebAuthenticationException with a new exception UserCancelledWebAuthenticationException. Internal to the SDK, this exception can be created by inspecting the variety of codes that indicate the exception, and create a single exception that could be caught and dealt with.
Alternatives and current workarounds
As it stands, this is the class I am using to capture these codes:
import 'package:auth0_flutter/auth0_flutter.dart'
    show WebAuthentication, WebAuthenticationException;

/// {@template web_authentication_exception_code}
/// Error codes that can be returned from a [WebAuthentication] session within a
/// [WebAuthenticationException].
///
/// These codes are emitted from the native layer which means that different
/// unique codes can exist for the same type of exception on different
/// platforms.
/// {@endtemplate}
enum WebAuthenticationExceptionCode {
  /// The user cancelled an iOS web authentication session.
  iOSUserCancelled('USER_CANCELLED'),

  /// The user cancelled an Android web authentication session.
  androidUserCancelled('a0.authentication_canceled');

  /// {@macro web_authentication_exception_code}
  const WebAuthenticationExceptionCode(this.code);

  /// The [String]-based code representing the reason for the exception.
  final String code;

  /// Whether the given [code] represents a user cancelling a web authentication
  /// session regardless of platform.
  static bool userCancelled(String code) =>
      code == WebAuthenticationExceptionCode.iOSUserCancelled.code ||
      code == WebAuthenticationExceptionCode.androidUserCancelled.code;
}

Then in my login method I am doing something like the following:
try {
      return await _auth0
          .webAuthentication(scheme: _customScheme)
          .login(audience: _audience);
    } on WebAuthenticationException catch (error, stackTrace) {
      if (WebAuthenticationExceptionCode.userCancelled(error.code)) {
        Error.throwWithStackTrace(
          LoginCancelledException(error),
          stackTrace,
        );
      }

      rethrow;
    } catch (error, stackTrace) {
      Error.throwWithStackTrace(
        LoginException(error),
        stackTrace,
      );
    }

Additional context
No response

I have the exact same thing in my app
      if (e.code == "USER_CANCELLED" ||
          e.code == "a0.authentication_canceled") {
        // user closed the login webpage
        store.dispatch(const LoginFailedAction("Login cancelled"));
        return;
      }

There are differences when tokens fail to refresh while offline as well. The android "code" is not even really a code, it's a full sentence (same as the message).
  static const _androidRefreshErrorCode =
      "An error occurred while trying to use the Refresh Token to renew the Credentials.";
  static const _iOSRefreshErrorCode = "RENEW_FAILED";

It would be very nice to have the codes be identical on all platforms


npm ERR! Failed to parse json

Hello there,
I'm trying to install npm express on window(window 10) system. It give me error.
npm ERR! file E:\development\htdocs\node\package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! Trailing comma in object at 25:3
npm ERR!   }
npm ERR!   ^
npm ERR! File: E:\development\htdocs\node\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR!      C:\Users\Shree\AppData\Roaming\npm-cache_logs\2017-03-24T08_10_13_629Z-debug.log
I'm also use 'npm cache clean' but not able to install npm express on window 10. Please revert me as soon as possible.

I would take a guess there is an error inside your package.json and not Express itself.
What happens if you create a new project directory, run npm init -y and then npm install express --save?

When i run my node js project, I'm getting this..
module.js:472
throw err;
^
Error: Cannot find module 'express'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (E:\development\htdocs\node\app.js:1:77)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)

Can you paste the contents of your package.json so I can hopefully debug this for you?
I've installed Express successfully on Windows 10 this morning and had no problems, so it appears as though this is a local issue and I think either the name of your project is called express or there is an error inside package.json.

{
"name": "expapp",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"author": "",
"license": "ISC",
"devDependencies": {
"gulp": "^3.9.0",
"gulp-develop-server": "^0.5.0",
"gulp-jshint": "^1.12.0",
"jsdoc": "^3.4.0",
"mocha": "^2.3.4",
"should": "^7.1.1",
"supertest": "^1.1.0"
},
"dependencies": {
"async": "^1.5.0",
"body-parser": "^1.14.1",
"express": "^4.13.3",
}
}

I'm refer Youtube video for build node.js API
Ref: https://www.youtube.com/watch?v=0M2S_7-Tcsc

Replace your scripts block with the following:
"test": "echo 'Error: no test specified' && exit 1"```

You also have a trailing comma on line 23 at the end of `"express": "^4.13.3"`.

It again give me error
module.js:472
throw err;
^
Error: Cannot find module 'express'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (E:\development\htdocs\node\app.js:1:77)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
Please guide me full process for installation and run the project. Please....

Have you ran npm install inside your project directory?

This package.json works for me on Windows 10.
{
  "name": "expapp",
  "version": "1.0.0",
  "description": "",
  "main": "app.js",
  "scripts": {
    "test": "echo 'Error: no test specified' && exit 1"
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "gulp": "^3.9.0",
    "gulp-develop-server": "^0.5.0",
    "gulp-jshint": "^1.12.0",
    "jsdoc": "^3.4.0",
    "mocha": "^2.3.4",
    "should": "^7.1.1",
    "supertest": "^1.1.0"
  },
  "dependencies": {
    "async": "^1.5.0",
    "body-parser": "^1.14.1",
    "express": "^4.13.3"
  }
}

It's necessary to install npm inside project directory?

Please guide me complete process from starting...

Running npm install will install any dependencies listed inside package.json.
I'm in the process of writing a very basic express tutorial on GitHub, if you wish to follow here, but the Express docs are less verbose if that's quicker to follow.

It's give me again same error. After install npm
module.js:472
throw err;
^
Error: Cannot find module 'express'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (E:\development\htdocs\node\app.js:1:77)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)

What happens when you run npm install, can you provide a screenshot? Just to clear that up first.

Strange. There should at least be a warning of no description.
What if you rename your folder node to something else like testapp and then deleted the node_modules folder.
Can you run dir while inside your project folder and provide a screenshot.

What happens if you run npm install now within that directory?

I'm not sure why npm install doesn't do anything. This certainly looks to be an issue with your local system and not Express itself, so this issue could be closed but I suggest you have a look on Stack Overflow for further advice unless anyone else jumps into this issue.
Sorry I can't be any further help. Hopefully I'm missing something extremely simple.

okay thanks

Now I'm getting this.
module.js:472
throw err;
^
Error: Cannot find module 'body-parser'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (E:\development\htdocs\test\app.js:3:18)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)

Hi @bswscube you can find links to the various different help areas at https://github.com/expressjs/express#docs--community . I would suggest using https://gitter.im/expressjs/express for support questions, as it is a chat-like system that allows someone to help in real time instead of waiting around :)


Update aws-java-sdk-bundle to 1.12.454

About this PR
📦 Updates com.amazonaws:aws-java-sdk-bundle from 1.12.450 to 1.12.454
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #2660.


notifySplices fails to notify about changes in array of primitives

I have an array of Strings that's being changed:
var model = {
    people: [
        "Alice",
        "Bob"
    ]
};
// ...
model.people[0] = "Anna";

So, I would like to notify my dom-bind about this change using notifySplices:
domBind.notifySplices('organization.people', [{
    index: 0,
    removed: removed,
    addedCount: 1,
    object: model.people,
    type: 'splice'
}]);

Live example here
http://jsbin.com/kocowalimi/1/edit?html,console,output
In result, entire content of dom-repeat disappears and throws an error:
"TypeError: Cannot read property 'isPlaceholder' of undefined
    at dom-repeat.Polymer._detachInstance (http://polygit.org/components/polymer/polymer.html:4415:10)
    at dom-repeat.Polymer._detachAndRemoveInstance (http://polygit.org/components/polymer/polymer.html:4430:17)
    at dom-repeat.Polymer._applySplicesArrayOrder (http://polygit.org/components/polymer/polymer.html:4406:6)
    at dom-repeat.Polymer._render (http://polygit.org/components/polymer/polymer.html:4259:6)
    at Object.Debouncer.complete (http://polygit.org/components/polymer/polymer-mini.html:2099:15)
    at boundComplete (http://polygit.org/components/polymer/polymer-mini.html:2078:6)
    at Object.Polymer.Async._atEndOfMicrotask (http://polygit.org/components/polymer/polymer-mini.html:2055:1)
    at MutationObserver.window.MutationObserver.observe.characterData (http://polygit.org/components/polymer/polymer-mini.html:2070:15)"

If I change string names to objects like {name: "Alice"}.. it works, but I cannot change my database models, just to fit this UI.

I'm trying to understand notifySplices myself, the docs aren't super clear.  Reading the code for dom-repeat is vaguely helpful, but I haven't found everything I needed yet.
@tomalec - I noticed one actual mistake in your jsbin - you need to pass an array as the second arg to notifySplices, rather than a raw object.   But that alone doesn't make it work.
Here's a link to my edit of your jsbin - http://jsbin.com/juwiyodefu/1/edit?html,console,output. For simplicity I made people a property of the model directly, rather than a child of organisation, though that also didn't help.  However I did find the following:
// This does work...
var removed = domBind.people.splice(0, 1, "Anna")

// This does *not* work
var removed = domBind.people[0];
domBind.people[0] = "Anna";

Thanks @d1manson, I have updated examples at OP
I'm also happy to hear that, I'm not the only one struggling with this problem ;)

The notifySplices API is for notifying Polymer of changes that have already been made to an array, which didn't use the built-in Polymer array mutation methods. (Polymer.Base.push, pop, splice, etc.) These methods are available on any Polymer element, and also on dom-bind.
@d1manson's sample does this by calling domBind.people.splice ... This sample is basically the same as the example in the API docs:
https://www.polymer-project.org/1.0/api/#Polymer.Base:method-notifySplices
If you just want to change a value in the array, you can also use set, as in:
domBind.set('people.0', 'Anna');
If you've already changed the array (or more to the point, if you have a third-party library that's changing the data), you need to notify Polymer after the fact using notifyPath or notifySplices.
Here's a version of the original JSBin that shows off several of these techniques.
http://jsbin.com/xevije/edit?html,console,output
So it doesn't seem like there's a bug here, except perhaps that the API docs for notifySplices could be improved? (Notably, the basic description could be clearer about the fact that notifySplices is an alternative to using the built-in dom manipulation methods like this.splice, and should be used to notify Polymer of changes that have already happened.)

Yeah, the docs for notifySplices aren't very clear.
Is it correct to use removed: [{name: 'Todd'}], i.e. not to use the original object, but to make a new one that happens to have the same data?  As far as I can tell, the whole array machinery is backed by a WeakMap which uses objects as keys, so it wouldn't make much sense to provide a new object?  Although perhaps everything could still work using just the indices?
Also, what exactly does it mean by:

splice records must be normalized such that they are reported in index order

In particular, how are you supposed to handle moving elements?  I read somewhere (I forget now where exactly) that you can't have the same element in the array in multiple locations simultaneously. So if you want to move element 5 to position 2, you need to first splice it out and then splice it back in at the new location...but apparently notifySplices wants splice records in index order, i.e. the "splice in at index 2" record should come first...but then you're back to having the entry in the array multiple times.

To the first question, I think the answer is no, you need to use the original object.
To the second question, I defer to @kevinpschaaf, but my testing suggests that yes, you should report those operations to notifySplices in index order. Here's a jsbin:
http://jsbin.com/zoyebe/edit?html,output
Your array doesn't actually end up with duplicate entries, and the code that handles notifySplices is prepared for this kind of thing.
If you're curious, the internal collection is updated in _applysplices. It took some head-scratching on my part, but I see how it handles your case. I think.
Hope that helps.

wait, but in your jsbin you give the operations as index: 3, then index: 1...which isn't what I'd call "index order", but maybe I've misunderstood?

P.S. Thanks for looking into this!

Oops... Heh. Right you are--I realized I'd written the example backwards (moving something from 0 to 3 instead of vice versa) and edited it quickly.
I've fixed that, and now they're in index order (note since the added is first, the removal is now index: 4 since that's where the removed item would be if the operations were actually done in this order (which I believe is part of what falls into the "normalized" category).
Why the first example worked... Again I defer to @kevinpschaaf ... I think if they aren't passed in index order there are various potential pitfalls.

Ok, well it's looking promising then!
If @kevinpschaaf can gives us the full rundown that would be nice, and I guess the docs ought to be fleshed out a bit to make this all clearer.

@arthurevans Why did said  that I should use notifyPath not notifySplices for replacing an array item? (at http://jsbin.com/xevije/edit?html,console,output)
// this is equivalent to the two steps:
// domBind.people[1] = "Bobby";
// domBind.notifyPath("people.1", "Bobby");

As I have already discovered in other issue - https://github.com/Polymer/polymer/issues/2540, and from what I get from latest docs: For replacing an array element which is object I need to use notifySplices.
Is there a hidden rule that "To notify the changes to an array of objects, you shall use notifySplices, but to notify the changes to an array of primitives, you shall use notifyPath" ?
If so I found it very inconsistent. Plus, what about arrays of primitives and objects?
Moreover neither notifyPath nor notifySplices works in my case
http://jsbin.com/niviworotu/1/edit?html,console,output
http://jsbin.com/kocowalimi/1/edit?html,console,output
which is just to notify about  replacing the firs element of an array of primitives.

I believe that I am having a similar issue with notifySplices causing an error when trying to use the Polymer array mutations functions and then updating the display.  It does however make the manipulation to the array and then update the display, but it still throws an error.  I tried using the suggested arrayItem helper method and just accessing the element directly, but it was giving me errors for trying to use the 'this.myArray.*.base[idx]' syntax.  Does anyone have any ideas for workarounds?

Sorry, my bad, that was my bug - again "removed should be an array` :no_mouth:. Fixed use case is here http://jsbin.com/fakuxo/edit?html,console,output
@rsORAU  do you still have any problems with it?
If not, I think we can close this issue.

I have found another problem with arrays of primitives, that may be related https://github.com/Polymer/polymer/issues/3682

I came up with a workaround for my specific use case, using instead notifyPath() outside of any async calls.  However, this is not an ideal solution to be restricted from being able to access specific elements in an array, even with the Polymer array wrapper methods.
A more specific description of my workaround will follow.

This was fixed with #3970 in Polymer 2: http://jsbin.com/budocaxeru/edit?html,console,output


Note on Add x.str.cat (#3028) (lines 125-126)

It's not clear to me why String.str.cat isn't supported in Dask when others == None. Not having the ability to concat a single series into a string is a significant cost, I think. Unless there's a reason for this condition, I recommend deleting lines 126-126.

Do you have a minimal example of the input for a .str.cat with a dask series would be?
What would the return type be?
And the result is a single string, right? Should we assume that string fits in memory?

Where others == None, String.str.cat in Dask should be isomorphic with String.str.cat in Pandas. For example:
import pandas as pd
import dask.dataframe as dd
df = pd.DataFrame([['x','x'], ['y','y'], ['z','z']], columns=['a','b'])
dff = dd.from_pandas(df, npartitions=2)
dff['a'].str.cat(sep=' ')

The result would indeed be a single string. We should assume that the string fits in memory.

@samuelkampa any interest in submitting a PR?

Just submitted a PR. Thanks!

@samuelkampa was a PR submitted for this? I don't see one linking to this issue.

xref https://github.com/dask/dask/pull/5559


Set the Block Index for Method Calls

Previously only function calls had their index set in ApiCallInfo. I noticed all the methods had index zero when doing JSON output of DX12  (the ascii consumer counts calls itself not using the block count).

CI gfxreconstruct build queued with queue ID 50210.

CI gfxreconstruct build # 3266 running.


nz-transfer Support header custom render

What problem does this feature solve?
custom  nz-transfer  header
What does the proposed API look like?
--


Show the revoked state of a OAuth App

Moved from: https://wso2.org/jira/browse/IDENTITY-7133
When you revoke your OAuth application IS doesn't indicate the state of the Application, only if you revoke again you will know the application is already revoked. Can we address this?

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


engine_rocks: ignore NoSpace error during flush or compaction

Signed-off-by: tabokie<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: close #11224
Problem Summary: Let RocksDB auto recovers from NoSpace error.
What is changed and how it works?
What's Changed:
The full message for NoSpace error during compaction is like this: "IO Error: No space left on deviceWhile appending to file xxx: No space left on device".
Related changes

Need to cherry-pick to the release branch

Check List
Tests

Integration test

Release note
Do not panic when RocksDB flush or compaction hits disk capacity

/release

/merge

/run-test


Hover field definitions for packed database fields

The on-hover field definitions for packed database fields isn't correct.
Database definition:

RPG program:

The zoned (numeric) database field was ok, and packed variables defined in the program were ok.

Fix out soon


Solidworks - Change Sketch Text Font size via VBA

Is there a way to change the font size of sketch text in a Solidworks part model using vba code.
I was hoping to just select the sketch in the tree containing the sketch text then run the code
to change the font size and font name. I need to do this for over 1000 models to meet my company's new
font parameters.  Can anyone help?

The following examples/discussions might help you:
https://help.solidworks.com/2017/English/api/sldworksapi/Replace_Sketch_Text_Example_VB.htm
Search the SolidWorks (3DExperience) forums for "VBA: Need Help editing/formatting SketchText inside a Selection Set"

Loebotomy - Thanks for your help, the example you referenced was what I needed.
-----Original Message-----
From: Loebotomy @.>
To: xarial/codestack @.>
Cc: cadthinker01 @.>; Author @.>
Sent: Tue, Jan 11, 2022 10:17 am
Subject: Re: [xarial/codestack] Solidworks - Change Sketch Text Font size via VBA (#36)
The following examples/discussions might help you:https://help.solidworks.com/2017/English/api/sldworksapi/Replace_Sketch_Text_Example_VB.htmSearch the SolidWorks (3DExperience) forums for "VBA: Need Help editing/formatting SketchText inside a Selection Set"—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>


Error while getting api_hash and api_id.

Hello dear support team,
Please suggest me solution for resolving an issue with Error.
I cannot get API_HASH and API_ID from my.telegram.org/apps.
When I try to create application so I can get hash and id, I get an error : https://imgur.com/NIN6dqV
Are there other ways to get API_HASH and API_ID? How I can overcome this issue?
Thank you in advance!
Best regards,
Arsenii

In most cases disabling of VPN helps to get API_HASH and API_ID.

Thank you for the reply!
I'm not using VPN or any similar technology.

Then you can only try with some other internet provider.

I have the same problem, I can't find a way to solve it.

My colleague was able to create an api thanks to a static api from his phone in the firefox browser. Maybe this will help someone.
VPN was not used.

https://www.youtube.com/watch?v=V4lxe4ly5GY&t=377s, Here's the solution you need and that's how I tried and succeeded

Restricted link.
But thank you!

https://www.youtube.com/watch?v=V4lxe4ly5GY&t=377s, Here's the solution you need and that's how I tried and succeeded

Restricted link. But thank you!

The content of the video is to repeat the application until it is successful when the error prompt appears. Although it sounds ridiculous, I successfully applied through this method.

Thank you for your advice! I will definitely try that!

Has expired,I clicked for several hours, and the Enter key and left mouse button almost stopped working.

try to use sell phone data, don't use wifi. That should be work.

The whole problem is related to App title and Short name. Go to the Avast Random Password Generator website https://www.avast.com/random-password-generator then copy and paste in App title and Short name.

Hello dear support team, Please suggest me solution for resolving an issue with Error. I cannot get API_HASH and API_ID from my.telegram.org/apps. When I try to create application so I can get hash and id, I get an error : https://imgur.com/NIN6dqV Are there other ways to get API_HASH and API_ID? How I can overcome this issue? Thank you in advance! Best regards, Arsenii

https://github.com/RootedOne/Telegram-Api-Error

The whole problem is related to App title and Short name. Go to the Avast Random Password Generator website https://www.avast.com/random-password-generator then copy and paste in App title and Short name.

It worked, thanks.

Hello dear support team, Please suggest me solution for resolving an issue with Error. I cannot get API_HASH and API_ID from my.telegram.org/apps. When I try to create application so I can get hash and id, I get an error : https://imgur.com/NIN6dqV Are there other ways to get API_HASH and API_ID? How I can overcome this issue? Thank you in advance! Best regards, Arsenii

https://github.com/RootedOne/Telegram-Api-Error

Thanks a lot man!

The whole problem is related to App title and Short name. Go to the Avast Random Password Generator website https://www.avast.com/random-password-generator then copy and paste in App title and Short name.

Thanks a lot. It turned out that the issue has less thing to do with using VPN. Your approach worked perfectly and solved my headache which bothered me for months.

The whole problem is related to App title and Short name. Go to the Avast Random Password Generator website https://www.avast.com/random-password-generator then copy and paste in App title and Short name.

error - September 1, 2024

The whole problem is related to App title and Short name. Go to the Avast Random Password Generator website https://www.avast.com/random-password-generator then copy and paste in App title and Short name.

Thanks a lot. It turned out that the issue has little to do with using VPN (I used VPN). Your approach worked perfectly and solved my headache which bothered me for months.

App title and Short name, do you use 16 bits?

The issue with the proxy — this video provides a free solution
https://yyoutube.com/watch?v=BV_UYI9G4hM

The issue with the proxy — this video provides a free solution
https://yyoutube.com/watch?v=BV_UYI9G4hM

这个是不是盗号的？
Is this account stolen?

The issue with the proxy — this video provides a free solution
https://yyoutube.com/watch?v=BV_UYI9G4hM

这个方法有账号被盗的风险吗？ Is there any risk of account being stolen with this method?

你自己好好想想嘛，这怎么盗号？这个验证码只能用来获取API，又不能用来登录

The whole problem is related to App title and Short name. Go to the Avast Random Password Generator website https://www.avast.com/random-password-generator then copy and paste in App title and Short name.

Thanks a lot. It turned out that the issue has little to do with using VPN (I used VPN). Your approach worked perfectly and solved my headache which bothered me for months.

App title and Short name, do you use 16 characters?

Nope, both of mine are 15 characters.
没有，我的两个都是15字符长度

https://www.youtube.com/watch?v=V4lxe4ly5GY&t=377s, Here's the solution you need and that's how I tried and succeeded

not available any more


The contributing part is all about CITA

But it's the same level with CITA.
maybe fix it or move it to the CITA part.

#146


Regarding client connection issues

When using opcua client, connect to a specific Opcua Server machine.
Calling OpenSecureChannel() will succeed.
But calling FindServers() and GetEndpoints() will fail. (BadEncodingLimitsExceeded)
When the same Opcua Server is connected via UaExpert, the following message will appear.
If we press the agree button, we can successfully connect to Opcua Server.
I guess this may be the problem. How can I troubleshoot this problem?
===========================================
GetEndpoints failed using the discov overy URL opc.tcp://MX6PLATFORM0001:4840/ returned from FindServers. Do you want to try the URL opc.tcp://192.168. 1.15:4840/ with the hostname used to call FindServers?
The hostname of the discovery URL used to call GetEndpoints (mx6platform0001) was replaced by the hostname used to call FindServers (<IP_ADDRESS>) Do you also want to replace the hostnames of the EndpointURLs with this hostname?

If you try to connect via hostname, you need to do this to resolve the IP and connect via IP: https://stackoverflow.com/questions/68636144/c-sharp-resolve-hostname-with-dns-to-ip-address/68646923#68646923
If that still doesn't work, record a Wireshark capture with security disabled of the case where the calls fail and I can take another look.

Can you record a Wireshark capture with security disabled? I can look at that. Otherwise I don't have enough information to find a problem.

Sorry, there is no way to provide Wireshark capture.
I will close this issue.


Group Rings Missing Function

The C-hat function is not implemented in the Group Rings file.  This needs to be added.

This has been added, to both the .ipynb file, and the website.


async/await support

There are plans to support async/await (yield) semantics from EcmaScript 6?

Fixed, 4.0.0-rc1 supports yield for async ops