add a pull request template

closes #354. I'm open to suggestions on how to improve it. I'll merge in a few days.

Is there any conception of what a 1.0 release would entail?

@thunderfish24 we have not seriously discussed what a 1.0 release would look like. Does it impact this PR? I didn't understand the point of your semver link on the related issue, so I feel like I must be missing something. I understand the semver concept and try to manage pvlib in a similar way, but I don't see the connection to the pull request template. The point of the PR template is to get contributors to check or at least think about a few things before the code reviewers comment on them. So, it seems to me that the PR template would be the same no matter what version we're on.
In any case, it would be a good idea to discuss a roadmap to a 1.0 release in a dedicated issue.

At Workiva we use a versioning checklist in our PR templates for post-1.0.0 repo's:
[Semantic Versioning](http://sermver.org} (check all that apply)
Patch

[ ] This change does not affect the public API

Minor

[ ] This change adds something to the public API
[ ] This change deprecates a part of the public API

Major

[ ] This change modifies part of the public API in a backwards-incompatible manner
[ ] This change removes part of the public API

We also use the rule of thumb that once you have more than one consumer, it's time to go >=1.0.0.
Personally, I think it's good to be a stickler about not breaking consumers' code "out of the blue", so that consumers should not have to worry about minor/patch bumps (other than new bugs!). Furthermore, "graceful" upgrade paths are great wherever possible: Deprecate with instructions on how to upgrade in a minor bump before removing deprecations in the next major bump. (One can always wait longer than the next major bump, if the need arises.)

Thanks for clarifying. I had not considered that kind of checklist on a PR before. I think that could be useful once we get to 1.0.0, but I'd like to keep it a little more flexible until then. I'm a little surprised I don't see it on any of the major pydata projects that I've surveyed. I guess that could be because so much of pydata is sub-1.0.0.
I want to incorporate ideas from a few more templates before merging this PR:

matplotlib
pandas
xarray
bokeh
scipy
pytest

Cool. I agree that updating the api.rst and whatsnew.rst seems sufficient at this time.


Cycle Controller

Recloned, new branch, tried to fix library. Took out extra debounce cap for vbat.
@inceptionev notes from prior PR
Bringing over relevant notes from parent PR #950 (most them have since been implemented so I won't bring them over - thanks!)
Cycle Controller:
Looks like we have the go-ahead from software to use the STM32L496 built-in RTC. Let's switch the 32khz crystal to populated. And connect Pin 1 VBAT to the coin cell battery. We can delete the RTC from the aux page (thanks Don).
If built in RTC, why populate this crystal?

ugh wait I didn't go back to master before checking out with just cycle controller page

ugh wait I didn't go back to master before checking out with just cycle controller page


QWT version check is slightly wrong

From 6.832X piazza:
The error is:
drake-distro/externals/signalscope/src/signal_scope/plot.cpp:83:63: error: cannot convert ‘const QwtScaleDiv’ to ‘const QwtScaleDiv*’ in initialization
       const QwtScaleDiv* scaleDiv = mPlot->axisScaleDiv( axis );
                                                               ^
src/signal_scope/CMakeFiles/signal-scope.dir/build.make:527: recipe for target 'src/signal_scope/CMakeFiles/signal-scope.dir/plot.cpp.o' failed
make[7]: *** [src/signal_scope/CMakeFiles/signal-scope.dir/plot.cpp.o] Error 1
CMakeFiles/Makefile2:106: recipe for target 'src/signal_scope/CMakeFiles/signal-scope.dir/all' failed
make[6]: *** [src/signal_scope/CMakeFiles/signal-scope.dir/all] Error 2

And one of the students pointed out that:

Oh, that one. The code is using an incorrect #if QWT_VERSION < something preprocessor directive to decide whether the qwt method is returning a pointer or not. The fix is to add & before the method call, just like it is written in the #else part. I completely forgot to report that error...
Well, the actual fix would be to find out which qwt version changed things and fix the #if ... directive, but that would require digging through qwt's changelog files or git logs or something like that.
Edit: I took a look at the svn repo for qwt and it seams the last version using the pointer returns is 6.0.2, while all 6.1.x versions return a reference. So, the code should be changed from "#if QWT_VERSION < 0x060102" to "#if QWT_VERSION < 0x060100" (just the 2 at the end has to become 0). Therefore, you can either change that #if, or just use &mPlot->axis... in both branches.

Hello,
Yes, you have noticed the API change in version 6.1.2, while the change was introduced with 6.1.0. Apparently, *ubuntu 15.04 is using qwt 6.1.1 which falls exactly between.
Here are the source files in the last version before the 6.1.x branch:
qwt_plot.h from 6.0.2
and in the first version of the 6.1.x branch:
qwt_plot.h from 6.1.0
Simply dropping the limit to 0x060100 should do the trick.


'Thank you' page showing up repeatedly!

Hello there!
After its successful installation the "Thank you" page is showing up consistently upon first browser-start of the day!
The following URL is turning up always upon launching the Browser.
https://www.openscreenshot.com/?t=thankyou
Please help suggest further in the relevant context?
Thank you.

Please test the last version, it should be fixed.


Switch download tracking to use events

Events show a user intent, but are less likely to be interpreted incorrectly – it shows that a user clicked a link on a page, rather than the file was successfully downloaded and viewed.
It should avoid inflating our pageview numbers, prevent an increase in our cardinality and leave open a more complete pageview tracking solution from logs (eg for direct downloads).

:+1:


Vulnerability in E-Mail unsubscription

So, I can unsubscribe from e-mails by this link<EMAIL_ADDRESS>But any person can unsubscribe from e-mails any FreeCodeCamp user by providing another e-mail address in the end of this link. For example<EMAIL_ADDRESS>

Also, then I write wrong e-mail address in the end of this link (for example http://www.freecodecamp.com/unsubscribe/hui@sfbjfbdfknfjdnkfjsk.com), I get only this:
Cannot GET<EMAIL_ADDRESS>

Vulnerability implies there can be damage done to users data or information leaked.
While it is true that anyone can be unsubscribed from emails, you would still need there email to do it which is information we do NOT give out.
The most harm you could do is prevent someone from getting our emails. That endpoint doesn't do anything but set a flag on the user object.
Also, if a user is not found matching that email, then the user is simply redirected, so not sure where you are seeing that error message.

But most of FreeCodeComp users are your Github repository stargazers. So I can get their emails if there are public
Yes, I ain't right, that it is vulnerability, but I think the email unsubscription must be implemented another
way
Hm. Now I don't get message Cannot GET ..., but see redirection. All is ok


Added SerialSetCtrlRequest

I might still have to change it. On request i did open a Issue on the Server.
https://github.com/SlimeVR/SlimeVR-Server/issues/190

OK well feel free to request a review from Eiren or Anna when ready and if they approve I can merge

I agree on this, and this definetely shouldn't be part of GUI...


[FormRecognizer] FieldValue should be able to handle 64-bit integers

Summary
The Integer value returned by the service to populate FieldValue can be as big as a 64-bit integer, but the client stores it as an int.
Required CodeGen changes
Explicitly make FieldValue_internal.valueInteger a long? so CodeGen can parse it as a 64-bit integer.
Reference: change a model property type
Required client changes
Rename FieldValue.AsInt32 to FieldValue.AsInt64 and update return type and docs description.
Related
Currently there's an open discussion about defaulting Integer types to long in generated code: https://github.com/Azure/autorest.csharp/issues/744

Getting this closed by #12320 since it's not blocked by the CodeGen discussion. I have opened a new issue to keep track of that (#12321) and added it to our backlog.


error in crossmapnormalization

Hi,
I am trying to test my trained model using compare.py. I am getting this error.
torch/install/bin/luajit: ...rch/install/share/lua/5.1**/fbnn/CrossMapNormalization.lua:43: attempt to call field 'CrossMapNormalization_updateOutput' (a nil value)**
stack traceback:
...rch/install/share/lua/5.1/fbnn/CrossMapNormalization.lua:43: in function 'updateOutput'
...e/akanksha/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
...torch/demos/openface-master/openface/openface_server.lua:71: in main chunk
[C]: in function 'dofile'
...ksha/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670
It would be great someone can help resolve the error.
thanks

Hi @AkankshaJ - OpenFace doesn't use fbnn.CrossMapNormalization. We instead use https://github.com/torch/nn/blob/master/SpatialCrossMapLRN.lua. However I've faced the same issue when trying out fbnn.CrossMapNormalization and filed this issue with some more information in their issue tracker: https://github.com/facebook/fbnn/issues/10
-Brandon.

Hi Brandon,
If i dont use fbnn, i get the following error
Error getting result from Torch subprocess.
Line read:
Exception:
could not convert string to float:
============
stdout:
============
stderr: /home/akanksha/torch/install/bin/luajit: /home/akanksha/torch/install/share/lua/5.1/torch/File.lua:334: unknown Torch class <nn.CrossMapNormalization>
stack traceback:
[C]: in function 'error'
/home/akanksha/torch/install/share/lua/5.1/torch/File.lua:334: in function 'readObject'
/home/akanksha/torch/install/share/lua/5.1/torch/File.lua:360: in function 'readObject'
/home/akanksha/torch/install/share/lua/5.1/torch/File.lua:360: in function 'readObject'
/home/akanksha/torch/install/share/lua/5.1/nn/Module.lua:154: in function 'read'
/home/akanksha/torch/install/share/lua/5.1/torch/File.lua:342: in function 'readObject'
/home/akanksha/torch/install/share/lua/5.1/torch/File.lua:391: in function 'load'
...torch/demos/openface-master/openface/openface_server.lua:46: in main chunk
[C]: in function 'dofile'
...ksha/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x00406670
Should i rectify it at the training level?? Since it seems that it uses fbnn crossmapnormaliztion during training ?

Hi @AkankshaJ - did you train a model with an older version of OpenFace that uses fbnn.crossmapnormalization? If so I recommend updating OpenFace because we don't use it anymore.


Add Checksum app

Checksum is an simple application that help you verifying the checksum of a file, make sure the file was is the correct file and wasn't corrupted during download.
Built with electron-vue, thanks for this boilerplate.

Hey @mnismt, thanks for this PR! I am willing to add you Checksum app, but this PR contains translations for a new language, which isn't complete. If you want to translate the docs, please do that in another PR. Feel free to make another PR to just add your Checksum app :slightly_smiling_face:


SQL Track 2 SDK with one passing test case

Additional test cases are being migrated.

/check-enforcer reset


Mapsui.Avalonia : Tile map layer opacity is applied to some tiles

I have an application that using the avalonia as ui and Mapsui for display map
My map format is mbtiles
I am using this mbtiles map as background and user can change the opacity of base map.
when the map's opacity is set to less than 1  and user zoom the map the opacity applied to the some tiles and other tiles rendered with opacity=1
Mapsui 4.0.0-beta.5
Mapsui.Avalonia 4.0.0-beta.5
Avalonia 0.10.15
Windows 10 / Ubuntu

If I stop zooming everything is fine as expected and the area of the map that is in the viewport is displayed correctly.
This happens only when zooming in and zooming out for the first time, and it does not happen after all tiles are cached once.
For testing, I developed a separate application that only contains a form and displays the map, and the issue still exists.

So, I think this is indeed the problem I described above.
Workarounds with the current implementation

Don't use transparency
In the constructor of the TileLayer there is a IRenderFetchStrategy Parameter. It determines which tiles are fetched for rendering. You can use the MinimalRenderFetchStrategy as a parameter.  It does not try to be smart by fetching a higher level tile if the current level tile is not there yet. So there will be no semi-transparant tiles drawn over each other. There will be a moment when only the background is visible. Still not very nice, but perhaps better than the current solution.

Possible future improvements (which will not have high priority).

When drawing the higher level tile the renderer should clip it to the extent of the current level tile.
Make it possible to draw a semi-transparent surface over the tile layer. This will be useful for what I see in your animation, but it won't help if you actually want to see what is underneath.

I see this as a known limitation. Not a bug. A possible future improvement should be discussed in a new issue.


Add parallel runs for schemas validator

What is the context of this PR?
This PR needs to be used with the relevant validator changes. It adds parallelism to our schemas validator runs.
How to review
Use make commands, the branch of the validator is set temporarily so FastAPI version will be used.
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

Will need a similar change in the questionnaire schemas repo 👍


Ansible request for: Missing Endian.h on build-osuosl-aix72-ppc64-1

Please put the name of the software product (and affected platforms if relevant) in the title of this issue
Delete as appropriate from this list:

Missing install

Details:
An AIX build of JDK21 (link) has failed to find endian.h on build-osuosl-aix72-ppc64-1.
endian.h appears to be the file that indicates the endian-ness of the system, and also provides conversion tooling (turning big-endian data into little-endian, and visa-versa).
Ansible playbook omission/bug perhaps? Requesting investigation.

Is this a new requirement in the codebase? (Seems plausible sine it's It may be that it's a file which simply isn't available on AIX.

Upstream issue - should be fixed for next build: https://bugs.openjdk.org/browse/JDK-8309703

Build -6 passed: https://ci.adoptium.net/job/build-scripts/job/jobs/job/jdk21/job/jdk21-aix-ppc64-temurin/6/
01:22:49  openjdk version "21-beta" 2023-09-19
01:22:49  OpenJDK Runtime Environment Temurin-21+26-202306142334 (build 21-beta+26-202306142334)
01:22:49  OpenJDK 64-Bit Server VM Temurin-21+26-202306142334 (build 21-beta+26-202306142334, mixed mode)


doc: fix typo in docs/cn/controller/design.md

The word ‘falgs’ in [docs/cn/controller/design.md] is wrong.So change it to 'falgs'.

Hi @yao-wenbin Plz create an issue releated the pull request.

Codecov Report

Merging #6942 (9b3c0e6) into develop (e369d7d) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #6942   +/-   ##
==========================================
  Coverage      42.66%   42.66%
- Complexity      9207     9211    +4
==========================================
  Files           1131     1131
  Lines          80421    80421
  Branches       10511    10511
==========================================
+ Hits           34310    34312    +2
- Misses         41822    41824    +2
+ Partials        4289     4285    -4

see 13 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

This pull request fixes #6943.

Hi @yao-wenbin Plz create an issue releated the pull request.

Thanks for you comment. I already create a issue #6943 related the pull request.


RFC: Thread local storage for grpc

We're approaching the point where we'll really need something here.
This is what I'd consider to be a fairly safe and compatible proposal that should be implementable on any platform I've ever seen.
@nicolasnoble @vjpai (and anyone else that's interested) - what do you think here?

So, I'd be willing to make the pthread version more busy and complicated, in order to make the msvc / gcc / clang versions less cluttered. Basically, I don't like the idea of the init / destroy for the TLS, as they really aren't that necessary. The funny part is that even in that PR, you don't have any scenario where pthread is used :-) And I can't think of any on the top of my head.
In order to solve the lack of init / destroy, we could render the pthread version to abuse of pthread_once_t and atexit, in order to call pthread_tls_create and pthread_tls_destroy.
Or we could kill the pthread version alltogether for now, until such time we get a platform which doesn't use either of msvc / gcc / clang / icc, which is very unlikely.

So... rough platforms that I know need API calls:

Windows XP (I don't think we care too much)
QNX (we probably will at some point)
any gcc implementation not using libc (and which hasn't copied the TLS magic from libc)

We have too much API calls at the moment that requires at least Vista, so XP is out of the picture, and I don't think we should care.
For QNX, how does that platform support C11's _Thread_local, if at all ? That might be interesting to look at.
For gcc implementations not using libc... I can actually think of a few - but then pthreads would also be an issue on these platforms. Any specific one in mind that'd also have pthreads ?

QNX is the example that has pthreads but not a compatible libc.

Anyway... want to sketch out an alternative proposal?

sigh actually, no. Not if I don't want to cause a seizure or something. The only way to pull off something that'd work properly with pthreads without an initialization phase would be so hackish and compiler-dependent that it'd be bound to cause health issues to whomever reads it.

Pains me a bit, but, alright.

Despite my earlier complaints, I'm probably going to use this once I get past the first version of the instrumentation code....


Note down the BUGs in the Client app

User Onboarding Screen

[ ] User onboarding screen has weird input checking. Name regex, date format not intuitive (MM/DD/YYYY).
[ ] Immediately after onboarding, when clicking request button, onboarding launches again
[ ] User onboarding address screen is not intuitive at all, by intuition it seems like it is asking for email address
[ ] Onboarding screen hides the input box when writing

Sign Up / Sign In

[ ] No loader on some Sign up/ Sign in screens

User Profile

[ ] User screen logs some errors after creating new user, image source for profile not provided etc.
[ ] No option to update user location
[ ] Listed, Donated, Received does not show numbers
[ ] Received is spelled wrong
[ ] Option to edit password does not work

Req/Receive page

[ ] Req/Receive page header
[ ] Search bar is not functional
[ ] Timer is not functional at all ( very glitchy )

My Orders

[ ] No loader when opening the tab


Disable acceptance-tests linting for now.

We will follow-up as discussed.

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

v1.1.0
GitHub release

Your semantic-release bot :package::rocket:


Incorrect dead code removal quick fix when multiple cases share a body

The following code triggers the unreachable_switch_case hint:
enum E { e1, e2 }

_f(E e) {
  switch (e) {
    case E.e1:
    case E.e2:
    case E.e1: // hint shown here
      print('hello');
  }
}

That's behaving as expected. However, if I go to the location where the hint is reported, and invoke the "remove dead code" quick fix, the code is changed to:
enum E { e1, e2 }

_f(E e) {
  switch (e) {
    case E.e1:
    case E.e2:
  }
}

Which is not equivalent. The print('hello'); line shouldn't have been deleted, because it is not dead; only the extraneous case E.e1 is dead.

I'm going to work on this, since otherwise it will block my ability to roll out a fix to https://github.com/dart-lang/sdk/issues/54575.


ConnectionResetError, no additional info with verbose

What happened?
I am trying to run fmriprep:23.0.1 on my Linux Ubuntu 16.04 machine using Docker and am getting what seems to be a multiprocessing error at the very beginning of fmriprep. When trying to get more info by using -v, -vv, -vvvv, no additional info is printed.
What command did you use?
$ fmriprep-docker /media/localadmin/DATA/hugo/70subjects /media/localadmin/DATA/hugo/70subjects_outputs participant --participant-label sub-CHUVL048 --skip_bids_validation --bids-database-dir /media/localadmin/DATA/hugo/70subjects_outputs/.bids-db --fs-license-file /home/localadmin/Installs/freesurfer/license.txt --nprocs 1 --omp-nthreads 1 -vvvv

What version of fMRIPrep are you running?
23.0.1
How are you running fMRIPrep?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
RUNNING: docker run --rm -e DOCKER_VERSION_8395080871=20.10.7 -it -v /home/localadmin/Installs/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v /media/localadmin/DATA/hugo/70subjects:/data:ro -v /media/localadmin/DATA/hugo/70subjects_outputs:/out -v /media/localadmin/DATA/hugo/70subjects_outputs/.bids-db:/tmp/bids_db nipreps/fmriprep:23.0.1 /data /out participant --participant-label sub-CHUVL048 --skip_bids_validation --nprocs 1 --omp-nthreads 1 -vvvv --bids-database-dir /tmp/bids_db
230406-15:09:06,318 cli INFO:
	 Telemetry system to collect crashes and errors is enabled - thanks for your feedback!. Use option ``--notrack`` to opt out.
Traceback (most recent call last):
  File "/opt/conda/bin/fmriprep", line 8, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/fmriprep/cli/run.py", line 93, in main
    retval = mgr.dict()
  File "/opt/conda/lib/python3.9/multiprocessing/managers.py", line 715, in temp
    token, exp = self._create(typeid, *args, **kwds)
  File "/opt/conda/lib/python3.9/multiprocessing/managers.py", line 598, in _create
    conn = self._Client(self._address, authkey=self._authkey)
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 513, in Client
    answer_challenge(c, authkey)
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 757, in answer_challenge
    message = connection.recv_bytes(256)         # reject large message
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 221, in recv_bytes
    buf = self._recv_bytes(maxlength)
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 419, in _recv_bytes
    buf = self._recv(4)
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 384, in _recv
    chunk = read(handle, remaining)
ConnectionResetError: [Errno 104] Connection reset by peer
fMRIPrep: Please report errors to https://github.com/nipreps/fmriprep/issues

Additional information / screenshots
No response

Is this happening consistently? Perhaps you try running with --debug pdb and see if you still run into the problem.

I'm having the exactly same issue and it happen consistently.
docker run -ti --rm -v /usr/local/freesurfer/license.txt:/opt/freesurfer/license.txt:ro -v ${bids_path}:/data:ro -v ${bids_path}/derivatives:/out nipreps/fmriprep:23.0.1 /data /out participant --participant-label ${sub} --skip_bids_validation --output-spaces anat:res-native
 Traceback (most recent call last):
  File "/opt/conda/bin/fmriprep", line 8, in <module>
    sys.exit(main())
  File "/opt/conda/lib/python3.9/site-packages/fmriprep/cli/run.py", line 93, in main
    retval = mgr.dict()
  File "/opt/conda/lib/python3.9/multiprocessing/managers.py", line 715, in temp
    token, exp = self._create(typeid, *args, **kwds)
  File "/opt/conda/lib/python3.9/multiprocessing/managers.py", line 598, in _create
    conn = self._Client(self._address, authkey=self._authkey)
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 513, in Client
    answer_challenge(c, authkey)
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 757, in answer_challenge
    message = connection.recv_bytes(256)         # reject large message
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 221, in recv_bytes
    buf = self._recv_bytes(maxlength)
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 419, in _recv_bytes
    buf = self._recv(4)
  File "/opt/conda/lib/python3.9/multiprocessing/connection.py", line 384, in _recv
    chunk = read(handle, remaining)
ConnectionResetError: [Errno 104] Connection reset by peer

However, the previous version(21.0.2) works fine without any problems.
My system info (from docker info):
 Operating System: CentOS Linux 7 (Core)
 OSType: linux
 Architecture: x86_64
 CPUs: 36
 Total Memory: 376.9GiB

@HEO-K thanks for the report - could you try running with --debug pdb?

@mgxd

Interesting - this shows that you are hitting your thread threshold. Are you using an older version of Docker? It looks like you may be hitting this: https://stackoverflow.com/questions/70087344/python-in-docker-runtimeerror-cant-start-new-thread

@mgxd
Version is 19.03.03 of server, where I got error. On the other hands, on my local computer, Docker 20.10.23, fmriprep is working very well. I can't update the program on the server at will, so I can't check this is because of version, but I think you're probably right. If the problem still persists after update of Docker on the server, I will comment or reopen new issue. Thanks!


Unable to download file due to SSLHandshakeException

Unable to download file https://releases.hashicorp.com/terraform/0.8.7/terraform_0.8.7_linux_amd64.zip. Task fails with error javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake (see log file)
Using the latest version of the plugin (3.2.0).

I created a small build file and tested it with Gradle 3.4. Downloading works for me. Here is my build file:
plugins {
    id "de.undercouch.download" version "3.2.0"
}

task down(type: de.undercouch.gradle.tasks.download.Download) {
    src 'https://releases.hashicorp.com/terraform/0.8.7/terraform_0.8.7_linux_amd64.zip'
    dest buildDir
}

Let me know if you find any differences between my build file and yours that could lead to such an error. Maybe you're using a custom version of Apache HttpClient? Would it be possible to update it to the latest version?

Here is my build file:
plugins {
	id "de.undercouch.download" version "3.2.0"
}
import de.undercouch.gradle.tasks.download.Download

def OS = 'linux'
def ARCH = 'amd64'
def TERRAFORM_VERSION = '0.8.7'

task downloadTerraformZip(type: Download) {
	src "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_${OS}_${ARCH}.zip"
	dest new File(buildDir, "terraform_${TERRAFORM_VERSION}_${OS}_${ARCH}.zip")
	onlyIfNewer true
}

Gradle version is 3.3 and I don't use any specific version of HttpClient, in logs found that gradle downloads httpclient:4.5.2.
Probably the only difference is java. I use "IBM SDK for Linux, Java Technology Edition, Version 8" so I assume the error is somewhere there.

Maybe your system is missing some certificates. Or you have to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files? The following StackOverflow thread lists some possible causes:
http://stackoverflow.com/questions/21245796/javax-net-ssl-sslhandshakeexception-remote-host-closed-connection-during-handsh
I hope this helps. I think we can close the issue here because it seems it's not related to gradle-download-task. What do you think?

Thanks, I'll check that out.
Closing the issue.


refactor: neo dropdown

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Needs QA check

@kodadot/qa-guild please review

Context

[x] Related #5852

Did your issue had any of the "$" label on it?

[ ] My DOT address: Payout

Screenshot 📸

[ ] My fix has changed UI

Copilot Summary

🤖 Generated by Copilot at 934af36
Refactored various components to use custom NeoDropdown and NeoDropdownItem components instead of Buefy components for better UI consistency, accessibility, and performance. Added a new feature to list an NFT directly from the gallery item by passing the nftId and price as parameters. Updated the NeoDropdown and NeoDropdownItem components to extend the oruga library components and allow more customization. Fixed some minor bugs and improved the styling of the dropdown components.

🤖 Generated by Copilot at 934af36

We're breaking free from the chains of Buefy
We're building our own NeoDropdown army
We're refactoring the code with fire and fury
We're improving the design, performance, and accessibility

todos:

[ ] migrate .dropdown-menu and .dropdown-item selector

Create on Statemine:

Chart dropdown broken on mobile
Dropdown options won't show

Mobile issues(on both items and gallery pages):

@roiLeo @prury updated

Another one(unlockables mobile):

Another one(unlockables mobile):

updated

is there something that can be done about the repeating
<template #trigger="{ active }">

can we make trigger active by default
what are the other options except for active?

is there something that can be done about the repeating <template #trigger="{ active }"> ?
1. can we make trigger active by default

2. what are the other options except for active?

I think we can replace it by <template #trigger> and it would still work

cc @preschian ?

is there something that can be done about the repeating
<template #trigger="{ active }"> ?

feel free to create a wrapper component for this case. for NeoDropdown let it extends ODropdown components

can we make trigger active by default
what are the other options except for active?

need to pass it down from slot-props. ref: https://oruga.io/components/Dropdown.html
for now only active from slot-props. ref: https://github.com/oruga-ui/oruga/blob/126aba420d7b0635e8d1c9aec1202ab1bf2eab20/packages/oruga/src/components/dropdown/Dropdown.vue#L17


I want use rancher in a private cloud(can not access internet), could rancher had a road-map to support that?

I found a few problems.

When open the home page, some resource require access internet, for example, vender.css, vender.js
start rancher agent, it seems like download file from internet.

Maybe you can setup a transparent proxy and copy/paste the needed files in your server?

Seems like a not good idea. Should I try to find files need by every pages and needed to download from agent? If resource added or modified in the new version, we will work again to make sure everything is ready?

You can run Rancher with a transparent proxy that forward traffic to internet AND cache files on disk, then switch off Internet and Rancher should use cached files.
Easy to write but I am not sure about the implementation ;-)

Yes, we already have this on our roadmap. https://github.com/rancher/rancher/issues/924
Please follow the other issue to get status updates.


chore: release main

:robot: I have created a release beep boop
bitswap: 1.0.1
1.0.1 (2024-04-22)
Bug Fixes

define max bitswap message sizes (#510) (58d7ddf)
split bitswap messages (#507) (59de059)

block-brokers: 2.1.1
2.1.1 (2024-04-22)
Bug Fixes

prevent duplicate trustless-gateway reqs (#503) (338885f)

Dependencies

The following workspace dependencies were updated

dependencies

@helia/bitswap bumped from ^1.0.0 to ^1.0.1

car: 3.1.4
3.1.4 (2024-04-22)
Dependencies

The following workspace dependencies were updated

devDependencies

@helia/unixfs bumped from ^3.0.4 to ^3.0.5

http: 1.0.5
1.0.5 (2024-04-22)
Dependencies

The following workspace dependencies were updated

dependencies

@helia/block-brokers bumped from ^2.1.0 to ^2.1.1

interop: 6.1.1
6.1.1 (2024-04-22)
Dependencies

bump ipfsd-ctl from 13.0.0 to 14.0.0 (#505) (97fb1a7)
The following workspace dependencies were updated

dependencies

@helia/block-brokers bumped from ^2.1.0 to ^2.1.1
@helia/car bumped from ^3.1.3 to ^3.1.4
@helia/http bumped from ^1.0.4 to ^1.0.5
@helia/mfs bumped from ^3.0.4 to ^3.0.5
@helia/unixfs bumped from ^3.0.4 to ^3.0.5
helia bumped from ^4.1.1 to ^4.1.2

mfs: 3.0.5
3.0.5 (2024-04-22)
Dependencies

The following workspace dependencies were updated

dependencies

@helia/unixfs bumped from ^3.0.4 to ^3.0.5

unixfs: 3.0.5
3.0.5 (2024-04-22)
Bug Fixes

relax unixfs blockstore input type (#509) (5d62dfb)

helia: 4.1.2
4.1.2 (2024-04-22)
Dependencies

The following workspace dependencies were updated

dependencies

@helia/block-brokers bumped from ^2.1.0 to ^2.1.1

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ipfs/helia/releases/tag/block-brokers-v2.1.1 :sunflower:

:robot: Release is at https://github.com/ipfs/helia/releases/tag/bitswap-v1.0.1 :sunflower:

:robot: Release is at https://github.com/ipfs/helia/releases/tag/car-v3.1.4 :sunflower:

:robot: Release is at https://github.com/ipfs/helia/releases/tag/helia-v4.1.2 :sunflower:

:robot: Release is at https://github.com/ipfs/helia/releases/tag/http-v1.0.5 :sunflower:

:robot: Release is at https://github.com/ipfs/helia/releases/tag/interop-v6.1.1 :sunflower:

:robot: Release is at https://github.com/ipfs/helia/releases/tag/mfs-v3.0.5 :sunflower:


proposal: Object.equals() to == what Object.hash was to hashCode

Many Flutter classes override == and hash. Hash was solved with Object.hash, so why == is still so verbose?
I know the current "understanding" is that data classes or macros are eventually going to solve this, but an Object.equals could make everyone's life easy, now. There are classes, such as the new SegmentedButtonThemeData, where operator == accounts to 10% of the LOC:

This code is copied and pasted everywhere. Most people don't even know what identical does, they just copy and paste. The package Equatable has a great equals implementation. I believe Dart could made this function part of Object.equals and allow people to remove a buuuunch of code. I'm sure, if the implementation is good enough and performant enough, its author would give to Dart.
Flutter has 215 places of "duplicated" code that could be somehow improved/replaced/cleaned-up. More than 3k LOC. Possibly 4k LOC. The super parameters feature has cleaned-up about 3k. Could be about the same size.

I think the biggest problem is, without macros, it's not clear what this function would do:
// Attempt 1
class Object {
  static bool equals(
    Object? a1,
    Object? a2, [
    Object? b1 = _sentinelValue,
    Object? b2 = _sentinelValue,
    // Imagine this continuing up to 20 pairs of objects, similar to Object.hash
  ]) {
    if (identical(a, b)) {
      return true;
    }
    if (_sentinelValue == b1) {
      assert(_sentinelValue != b2);
      return b1 == b2;
    }
    return a1 == a2;
  }
}

I think the biggest problem is this is awkward to use, there isn't a clear association between a1 and a2. Maybe with tuples (records?) this makes more sense:
// Attempt 2
class Object {
  static bool equals(
    // I did not read the spec, so substitute the real syntax if this is wrong.
    (Object?, Object?) a, [
    (Object?, Object?) b =  _sentinelTuple,
    // Imagine this continuing up to 20 pairs of objects, similar to Object.hash
  ]) {
    if (identical(a, b)) {
      return true;
    }
    if (_sentinelValue == b) {
      return b.$0 == b.$1 && a.$0 == a.$1;
    }
    return a.$1 == a.$2;
  }
}

The final non-macro solution is a secret intrinsic function, but I'll defer that to the Dart team.

FWIW the function does not have to be implemented in Dart, e.g. you could probably specify it in the following way:
external bool _haveSameRuntimeType(Object? obj, Object? bar);

/// Returns the list of values stored in fields of object obj.
/// The order is unspecified but consistent for instances of the
/// same class.
external List<Object?> _valuesOf(Object? obj);

bool shallowEquals(Object? a, Object? b) {
  if (identical(a, b)) {
    return true;
  }

  if (!_haveSameRuntimeType(a, b)) {
    return false;
  }

  final aValues = _valuesOf(a);
  final bValues = _valuesOf(b);
  for (var i = 0; i < aValues.length; i++) {
    if (!identical(aValues[i], bValues[i])) {
      return false;
    }
  }
  return true;
}

bool deepEquals(Object? a, Object? b) {
  if (identical(a, b)) {
    return true;
  }

  if (!_haveSameRuntimeType(a, b)) {
    return false;
  }

  final aValues = _valuesOf(a);
  final bValues = _valuesOf(b);
  for (var i = 0; i < aValues.length; i++) {
    if (aValues[i] != bValues[i]) {
      return false;
    }
  }
  return true;
}

The actual implementation will have to depend on native vs JS vs Wasm though. I think Wasm is the problematic one here - because I don't think you can iterate over struct fields. Also the speed is not going to be great in JS either - at least if you write it reflectively through Object.keys.
You would need to have compiler to produce specializations for pattern like
bool operator == (Object? other) => Object.equals(this, other);

/cc @lrhn

Great discussion. From my understanding reading your comments, Equatable package would fail in wasm?

For two objects to be equal they must behave the same. I don't think you can generally determine this without asking both objects if they agree that the other object is equal. Let us posit a instance method predicate called trusts which determines if the object would accept the other object being used in its place. Then equality becomes symmetrical.
abstract class GoodEquals {
  bool operator ==(Object other) => other is GoodEquals && this.equals(other);
  bool equals(GoodEquals other) => this.trusts(other) && other.trusts(this);
  bool trusts(GoodEquals other);
}

class Point extends GoodEquals {
  int x,y;
  bool trusts(GoodEquals other) => other is Point && x == other.x && y == other.y;
}

Now let's say in a new library or package we implement Point in various ways.
A ColoredPoint is not the same as a Point because the ColoredPoint says so.
A CachingPoint has different fields, but can be used wherever a Point can be used.
From a method solely on Point there is no way to distinguish these two cases. e.g. using .runtimeType.
class ColoredPoint extends Point {
  int color;
  bool trusts(other) => other is ColoredPoint && this.color == other.color && super.trusts(other);
}

class CachingPoint implements Point {
  int? _x;
  int get x => _x ??= computeX();
  ...
  bool trusts(other) => other is Point && this.x == other.x && this.y == other.y;
}

A problem here is that we check both a.x == b.x and b.x == a.x. If the 'properties' are also GoodEquals objects, the cost becomes exponential in the structural depth.
This might be solved by independently checking which properties are available (the shape), and checking the property values.
abstract class GoodEquals {
  bool equals(GoodEquals other) =>
      this.trustsShape(other) && other.trustsShape(this) && equalProperties(other);
  bool trustsShape(GoodEquals other);
  bool equalProperties(covariant GoodEquals other);
}

class Point {
  ...
  bool trustsShape(other) => other is Point;
  bool equalProperties(/*covariant*/ Point other) => this.x == other.x && this.y == other.y;
}

class ColoredPoint extends Point {
  ...
  bool trustsShape(other) => other is ColoredPoint;
  bool equalProperties(/*covariant*/ ColoredPoint other) =>
       this.color == other.color && super.equalProperties(other);
}

class CachingPoint implements Point {
  ...
  bool trustsShape(other) => other is Point;

  bool equalProperties(/*covariant*/ Point other) {
    // Try not to compute `x` unless necessary
    if (_x == null ||
        other is CachingPoint && other._x == null) {
      return y == other.y && x == other.x;
    }
    return x == other.x && y == other.y;
  }
}

How much of this can be automated? Perhaps something like:

Users can define trustsShape and / or trustsProperies.
A default implementation of trustsShape for class C or C<T> is => other is C or => other is C<T>.
A default implementation of equalProperties compares the public getters of the class tested in trustsShape.

Alternatively, equality should just not be a virtual method. Don't ask whether a CachingPoint thinks it's equal to a ColorPoint. Ask whether the two are equal as Points, if that is the equality you care about. If all you know and use about the objects is that they are Points, you don't need to distinguish them by color.
Dart is not well geared to that. C# has static operators in general, including ==, and can access == through generic type parameters too. That's probably what it would take to do the same thing in Dart.

Swift did something like this with their "data classes" using macros.

Hi author of package:equatable here 👋
Just chiming in to say I'd be more than happy to help however I can 😄
I've just started experimenting with how package:equatable could look like with macros ↓
https://github.com/dart-lang/sdk/assets/8855632/469520dd-2d4d-4b6a-9f0c-1e1c5440f8cb


Error 500 - Hitting return in Title (debug section)

PHP Fatal error:  Uncaught Weathermap\Core\WeathermapInternalFail: Don't like this config filename in /usr/share/cacti/site/plugins/weathermap/lib/Weathermap/Editor/EditorUI.php:972
Stack trace:
#0 /usr/share/cacti/site/plugins/weathermap/editor.php(38): Weathermap\\Editor\\EditorUI->main(Array, Array, true)
#1 /usr/share/cacti/site/plugins/weathermap/weathermap-cacti10-plugin-editor.php(26): require_once('/usr/share/cact...')
#2 {main}
thrown in /usr/share/cacti/site/plugins/weathermap/lib/Weathermap/Editor/EditorUI.php on line 972,
referer: weathermap/weathermap-cacti10-plugin-editor.php?mapname=empty.conf&action=nothing&plug=1

Can you explain a bit more? Hitting return in title?
empty.conf is a valid filename... does the file exist?

Yeah, I did what you suggested, touched the file.  In the debug section at the bottom (which I maybe shouldn't be messing with) I just happened to click with the mouse.  Then I hit return. Then I got the error.

The fix for this will be to remove the debug section :-) Basically it allows you to submit commands to the editor, with any (or no) action. The editor validates input, sees action is blank and gets upset. Correctly, but not really helpful. So I'll hide those before the final.

Isn't this technically fixed now then?


Compiling Issues

I am having some issues compiling and running main.py, as it is saying it can't find the pathFinder module. Can main.py be compiled in both python2 and python3?

Use python2.7.
I'm getting an error re print when using python3 so I can't reproduce what you're seeing.
Also, in case you get it working, make sure you set load_model to False on first run.

Thanks for the reply. I assume I need to re-install torch with python2.7 also?
Should it be able to start training off the bat by running python main.py? Or do I need to run setup.py to compile and create the extension for pathFinder.cpp? If you could detail some of the intermediate steps to start training(eg. building the pathFinder module), that would be great!

Thanks for the reply. I assume I need to re-install torch with python2.7 also?
Should it be able to start training off the bat by running python main.py? Or do I need to run setup.py to compile and create the extension for pathFinder.cpp? If you could detail some of the intermediate steps to start training(eg. building the pathFinder module), that would be great!

Yup, you need to install torch for python2.7 as well.
pathFinder is already compiled for you here and you should be able to run the code out of the box on a Linux machine.
Haven't tried any other OS but have you seen setup.py:
# $ python setup.py build
# $ sudo python setup.py install
# $ sudo rm -rf build
...

Yes it started training. Is it possible to run on GPU currently? Since I was having versioning issues with Python2.7, PyTorch 1.4, and CUDA 11.4 in my conda env.

Is it possible to run on GPU currently?

Yes, you can train on GPU, I trained my own model using Colab.

Also, can you explain how you structured/represented the board you pass to the QuoridorNNet, specifically the dimensions 4xnxn of the pieces field of the Board class?

You're gonna have to more specific.


Osmdroid (Open Street Maps) not working on iOS, but working on Android

Is this a bug report?
Yes.

Have you read the Installation Instructions?
Yes.
Environment
react-native: 0.59.9
react: 16.8.3
react-native-maps-osmdroid: ^0.23.0-rc2
Target Platform: iOS - 12.2 Simulator/iPhone XR

Steps to Reproduce

Created new React Native project using, react-native-init AppName
Added osmdroid library using, yarn add react-native-maps-osmdroid
Linked using react-native link react-native-maps-osmdroid
Added following code,

import MapView from 'react-native-maps-osmdroid';

<MapView
    style={{flex: 1}}
    initialRegion={{
        latitude: 30.7333,
        longitude: 76.7794,
        latitudeDelta: 0.0922,
        longitudeDelta: 0.0421,
    }}
/>

If I follow the above mentioned steps and run the app on Android, then it shows Open Street Maps, I think that is because on Android the default provider is osmdroid.
But if I run the app on iOS device, then by default it shows Apple Maps.

So I changed provider to osmdroid like the following,

import MapView, { PROVIDER_OSMDROID } from 'react-native-maps-osmdroid';

<MapView
    style={{flex: 1}}
    provider={ PROVIDER_OSMDROID }
    initialRegion={{
        latitude: 30.7333,
        longitude: 76.7794,
        latitudeDelta: 0.0922,
        longitudeDelta: 0.0421,
    }}
/>

But it doesn't work and throws error.
Expected Behavior

It should show Open Street Map on App.
Actual Behavior

Getting following Error,
"Invariant Violation: Element type is invalid: expected a string (for built in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it’s defined in, or you might have mixed up default and named imports."

Suggestion:

Right now it only shows installation instructions of react-native-maps. From that a new developer might not get that he/she needs to install react-native-maps-osmdroid. So it will be better and very helpful if you could add installation instructions as well in the read me file. Thanks.

Reproducible Demo

react-native-maps-osmdroid based on Osmdroid. Osmdroid - OpenStreetMaps implementation for Android
You can use AppleMaps provider for iOS.
Final code can look like this:
import {  Platform} from 'react-native'
import MapView from "react-native-maps-osmdroid"

<MapView
provider={Platform.OS === 'ios' ? null : 'osmdroid'}
/>

@Peretz30 Basically I want to show Osmdroid - Open Street Maps on iOS as well. That is what I was trying to achieve.

Hello @Android773, I understand but this project does not support that at this moment.
I created this fork to enable me to remove all dependencies on Google Maps on my projects, and I just didn't care about using Apple maps.
It would be amazing to have OSM on all platforms, but I just don't have the time nor the knowledge to implement this on iOS. To be honest, I am not even have the time to maintain this fork as it deserves: we are two versions behind react-native-maps.
I will left this issue open, since this is a common question and/or request. Maybe someone interested in this could help on this implementation.
;-)

@fqborges Hey thanks buddy ! I understand this and really appreciate your efforts for creating the library. Let's hope if someone could help further on this.

@Android773 How about using UrlTile ?
        <UrlTile
          urlTemplate="http://c.tile.openstreetmap.org/{z}/{x}/{y}.png"
        />

hello, @slavikdenis I just want to ask {z/x/y} what does mean?

here's I got after trying MapView as you write in your code, How can I solve it? @Android773
https://i.imgur.com/wrnR9Hi.png

@anastely
https://wiki.openstreetmap.org/wiki/Tile_servers
https://github.com/fqborges/react-native-maps-osmdroid#tile-overlay-using-tile-server

Is this a bug report?
Yes.
Have you read the Installation Instructions?
Yes.
Environment
react-native: 0.59.9
react: 16.8.3
react-native-maps-osmdroid: ^0.23.0-rc2
Target Platform: iOS - 12.2 Simulator/iPhone XR
Steps to Reproduce

Created new React Native project using, react-native-init AppName
Added osmdroid library using, yarn add react-native-maps-osmdroid
Linked using react-native link react-native-maps-osmdroid
Added following code,

import MapView from 'react-native-maps-osmdroid';

<MapView
    style={{flex: 1}}
    initialRegion={{
        latitude: 30.7333,
        longitude: 76.7794,
        latitudeDelta: 0.0922,
        longitudeDelta: 0.0421,
    }}
/>

If I follow the above mentioned steps and run the app on Android, then it shows Open Street Maps, I think that is because on Android the default provider is osmdroid.
But if I run the app on iOS device, then by default it shows Apple Maps.

So I changed provider to osmdroid like the following,

import MapView, { PROVIDER_OSMDROID } from 'react-native-maps-osmdroid';

<MapView
    style={{flex: 1}}
    provider={ PROVIDER_OSMDROID }
    initialRegion={{
        latitude: 30.7333,
        longitude: 76.7794,
        latitudeDelta: 0.0922,
        longitudeDelta: 0.0421,
    }}
/>

But it doesn't work and throws error.
Expected Behavior
It should show Open Street Map on App.
Actual Behavior
Getting following Error,
"Invariant Violation: Element type is invalid: expected a string (for built in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it’s defined in, or you might have mixed up default and named imports."

Suggestion:

Right now it only shows installation instructions of react-native-maps. From that a new developer might not get that he/she needs to install react-native-maps-osmdroid. So it will be better and very helpful if you could add installation instructions as well in the read me file. Thanks.

Reproducible Demo

same with me


Running the dev server with Turbo using Next 14 results in errors

Issue
I forked the repo and started the dev server using next dev --turbo. This resulted in the following error message:
Error resolving EcmaScript Modules request
unable to resolve module "components" with subpath "/grid/three-items"
It was not possible to find the requested file.
    Parsed request as written in source code: module "components" with subpath "/grid/three-items"
    Path where resolving has started: [project]/app/page.tsx
    Type of request: EcmaScript Modules request
    Import map: No import map entry

Note that this error occurred for all the base paths that were used in the code.
Other
I did not change anything other than adding --turbo to the dev server.
Fix
I fixed it by adding the paths to the tsconfig.json but I am not sure if this issue is experienced by more people. If it is, here is the fix:
tsconfig.json

{
  "compilerOptions": {
  ...standard compiler options
     "baseUrl": "./",
    "paths": {
      "components": ["components/*"],
      "lib": ["lib/*"],
      "pages": ["pages/*"],
      "public": ["public/*"],
      "styles": ["styles/*"]
      // Add more paths as needed
    }
  },
 ... rest of the config
}

Seems to be working on the latest canary version now!
https://github.com/vercel/commerce/pull/1236


integration tests automation is broken

Although the automateFor idea is nice, it unfortunately does not work because settingsFor will not be set for the IntegrationTest config. Nice try!

It's not broken! You have to call settingsFor and automateFor for all configurations.
See https://github.com/hseeberger/reactive-flows/blob/master/build.sbt#L57.

I think there might be a way to do this automatically, but it'll probably involve doing some trickery that I'm certain Josh and Eugene will yell at me for (it's possible to go "off graph" and call tasks / settings dynamically for any project and get its ivy configs...)

maybe automateFor should also imply settingsFor ?

Hi there,
any update for this issue? any work around?
Thanks

(waits for @onnoll to read the comments...)


Adds Testcontainers support for kotest(kotlintest)

Kotest previously known kotlintest is a widely used test framework for kotlin. This commit add test container support for kotest by providing TestListeners implementation to hookup test container with test lifecycle.

@rnorth @bsideup @kiview Any feedback on this pull request?

How close are we on this PR? I'd love to start using it. At the moment I'm having to roll my own support.

@bsideup could you please let me know what else we need to improve in this pull request

@ashishkujoy please hold tight; as you can see we have quite a few other PRs to review. Also this one needs more careful consideration than most: adding a new language to our build is not a small thing for those of us who will have to maintain it.
We'll get back to you!

@ashishkujoy please hold tight; as you can see we have quite a few other PRs to review. Also this one needs more careful consideration than most: adding a new language to our build is not a small thing for those of us who will have to maintain it.
We'll get back to you!

Agreed, thanks for reply.

Looking forward to use this as my colleagues and I are migrating all of our services to kotlin and using kotest. I suggest giving this PR an extra attention as it`s a switch that would give support to lots of kotlin devs, of a very increasing community

@araujogo FTR, there is nothing that prevents you from using Testcontainers with kotest straight away. In fact, in the current form, it is just a couple of lines.
As per @rnorth's comment, we're still evaluating how to proceed, stay tuned.

Closing this pull request as we have now merged the kotest-extensions-testcontainers support in Kotest repository. Thanks @bsideup @kiview @sksamuel for your valuable guidance in this pull request.

Thanks @ashishkujoy, very happy to see the implementation in Kotest repository.

@ashishkujoy wow, very cool! I believe keeping it closer to the framework will allow you to have it very aligned with framework's ideas and future new APIs 👍

Should we open a pr to add a link in the docs?
On Sun, 7 Jun 2020, 04:14 Sergei Egorov<EMAIL_ADDRESS>wrote:

@ashishkujoy https://github.com/ashishkujoy wow, very cool! I believe
keeping it closer to the framework will allow you to have it very aligned
with framework's ideas and future new APIs 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/testcontainers/testcontainers-java/pull/2533#issuecomment-640182254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVSGRYNQPMKNIK4ZFPEVDRVNK65ANCNFSM4MCRL7IQ
.


SendGris Issue

Hi all,
when i try to send mail (verification or password reset) using SendGrid an error occurred:
[ Server!] Failed to send email ResponseError: Forbidden [ Server!]     at /Users/danjeldurmo/Desktop/data-app/app/node_modules/@sendgrid/client/src/classes/client.js:146:29 [ Server!]     at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { [ Server!]   code: 403, [ Server!]   response: { [ Server!]     headers: { [ Server!]       server: 'nginx', [ Server!]       date: 'Sun, 02 Jun 2024 00:31:55 GMT', [ Server!]       'content-type': 'application/json', [ Server!]       'content-length': '281', [ Server!]       connection: 'close', [ Server!]       'access-control-allow-origin': 'https://sendgrid.api-docs.io', [ Server!]       'access-control-allow-methods': 'POST', [ Server!]       'access-control-allow-headers': 'Authorization, Content-Type, On-behalf-of, x-sg-elas-acl', [ Server!]       'access-control-max-age': '600', [ Server!]       'x-no-cors-reason': 'https://sendgrid.com/docs/Classroom/Basics/API/cors.html', [ Server!]       'strict-transport-security': 'max-age=600; includeSubDomains' [ Server!]     }, [ Server!]     body: { errors: [Array] } [ Server!]   } [ Server!] }
in main.wasp i have correctly write my email:
`
email: {
fromField: {
name: "Open SaaS App",
email<EMAIL_ADDRESS>},
emailSender: {
// Note that the "Dummy" provider is just for local development purposes.
// Make sure to check the server logs for the confirmation email token (it will not be sent to an address)!
// Please use SendGrid in production. See: https://docs.opensaas.sh/guides/email-sending/
provider: SendGrid,
defaultFrom: {
name: "Open SaaS App",
// When using SendGrid, you must use the same email address that you configured your account to send out emails with!
email<EMAIL_ADDRESS>},
},
`
Could someone please help me to identify the problem?
In SendGrid i have select the second one when i read 'excludind email address validation' , Is correct?

Need do configurate a "Single Sender Verification" before to start


$deeplink_path problem

hi everyone, i use your plugin on my ionic1 project.  i try to share on facebook , works great but i have a problem with configure $deeplink_path:
var branchUniversalObj = null;

        Branch.createBranchUniversalObject({
          canonicalIdentifier: eventRef.id,
          title: data.title,
          contentDescription: data.desc,
          contentImageUrl: data.picture,
        }).then(function (newBranchUniversalObj) {
          branchUniversalObj = newBranchUniversalObj;
          console.log('new branchObject : ' , newBranchUniversalObj);

          // optional fields
          var analytics = {
            channel: "chanel1",
          };

          // optional fields
          var properties = {
            $deeplink_path: "detail/12345"
          };

          var message = "hello";

          // share sheet
          branchUniversalObj.showShareSheet(analytics, properties, message);

        });

Share works but my link havn't "$deeplink_path"
best regards

Hey @fx69005 ,
Thanks for reporting, It seems getting the $deeplink_path on generate short url is missing.
Will provide a PR to fix this soon.
Cheers,

Submitted PR #260 to fix this issue. Waiting for merge

thanks !  how many time for merge ?

@fx69005 It will be merged today. I'll update you once it is live.

@fx69005 My schedule became busier than expected today. The pull request will be tested and merged first thing in the morning. Thank you for your patience.

thanks

Hello @fx69005,
Thank you for your patience. The code is now live through this pull request #262.


[FEATURE] Move directory ~/.activeloop Linux

Description
If possible do not even create this directory in home folder, use xdg base directory and fallback to ~/.config/. Maybe .config/deeplake/activeloop/. I haven't even logged into deeplake account, so I believe this folder is just a trash in my home directory.
Use Cases
No response

We use that directory for a variety of things, including local configuration settings and caches.
However, yes, we should be respecting xdg settings if they are set.
We'll take a look at implementing it


Cybench Interview : Addition of PackedAway task

@andyzorigin
Pull request for addition of the task, PackedAway

@andyzorigin
Pull request for addition of the task, PackedAway


Music integration

Maybe integrate music would be nice ! :)

interesting! not quite sure if this maybe calls for a seperate branch of the application, or what do you think? Do you mean like a self-hosted spotify?

:+1:

:+1:


Split oauth access token from codes

This changes the data model for Oauth. It splits the Authorizations into AuthorizationCodes and AccessTokens.
Context
While designing the DB for the token expiration, which will add refresh tokens, I ran into a few hurdles that made me rethink the data model. A bit of history first. In the first iteration, we were going to support a single, permanent token per user-app. As such, it made sense to have a single oauth_app_user that contained the relationship.
As we added support for multiple tokens, this didn't make sense, so I split the model into two (oauth_app_user and oauth_authorization) but I did not stop to really think about this. In parallel, I recently read the code for doorkeeper (an oauth provider gem) and in retrospect, it shows in my design in a bad way.
Why now?
In the next iteration I wanted to add refresh_tokens. With the previous model, the original idea would be to add a field to oauth_authorizations with the token. Then, when you are asked to refresh, you just regenerate the token for the api_key and unexpire it (update the updated_at date). Some smells/problems:

More validations asking some fields to be present or not depending on others. e.g: no authorization code if you have a refresh token.
Another partial index, and it makes three of them in the same table.
Not able to generate multiple access tokens from the same refresh token

In summary, I think it's better to take the time to redo the design and make the separation between different tokens/codes explicit (in different tables), rather than continue piling more stuff into the same table. I could have just split the refresh tokens, but after seeing the problem with those, I think it makes sense for all three models (access token, refresh tokens, authorization codes) to be completely separated.
The separation between access_token and authorization_codes maybe is not as clear because an authorization code will produce a single access token. However, I think it makes sense, it simplifies the tables to only have what they need, as non-nullable, fully-indexed fields. Even more, because in the future we will need to add some more fields that only apply to the authorization code and not the access token (verifier algorithm for PKCE) and viceversa (expiration date for access tokens). With so many exclusive fields, I think it's time to separate.

:eyes: @juanignaciosl
Last one, promise. But it's very related to the data model we discussed, so I think you are the best to grasp it. I though the discussion would be better with code, but feel free to talk about the PR description only if something sounds weird.


path helpers

beginning work on https://github.com/psalm/psalm-plugin-laravel/issues/59

I think this might be blocked on https://github.com/vimeo/psalm/issues/3850


Environment variables defined in Manifest cannot be override

It is good practice to set default values for environment variables in the Manifest and only deploy time override those which require change.
While new variables are added to the deployment, the Manifest (default) values remain the same.
See pipeline snippet used where I set a new variable (version) and try to override the eureka client to false.
- name: my-app
  public: false
  serial: true
  plan:
  - get: my-app-deployment
  - get: my-app-release
  - put: cf-deploy
    params:
      manifest: my-app-deployment/cloudfoundry/manifest.yml
      path: my-app-release/my-component-((my-version)).jar
      current_app_name: my-app
      environment_variables:
         version: ((my-version)
         eureka.client.enabled: 'false'

manifest.yml
---
applications:
  - name: my-app
    instances: 1
    buildpack: https://github.com/cloudfoundry/java-buildpack#v4.2
    path: ./my-app.jar
    memory: 1024M
    disk_quota: 256M
    stack: cflinuxfs2
    no-route: true
    env:
       eureka.client.enabled: true

Now, when I inspect the app env after deployment...
$ cf env my-app
<...>
User-Provided:
eureka.client.enabled: true
version: 0.0.3

Hey!
If we can't override values in the manifest or add env variables in our pipelines then this is useless, the entire artifact. When are you planning to work on this? We tried environment_variables, vars, and vars_files and none of them worked at all.
Please, at least give us some feedback.
Regards,
Juan


Fix case sensitivity

Fixes https://github.com/kubernetes/kubernetes/issues/64612#issuecomment-396097020
Follow-up for https://github.com/json-iterator/go/pull/282
Also see https://github.com/json-iterator/go/pull/282/files#r194283181

/cc @thockin @caesarxuchao @liggitt @sttts

@nikhita I found the root cause of not ignoring spec.reliCAs. It's because the DeploymentSpec struct has 11 fields (field whose json name has camelCase counts as 2), so it gets the generalStructDecoder at https://github.com/json-iterator/go/blob/master/reflect_struct_decoder.go#L485. Before your PR, the generalStructDecoder always does decoder.fields[strings.ToLower(field)], and thus decodes spec.repliCAs.
I think in the test cases, we need to add a case where a struct has more than 11 fields, to exercise the generalStructDecoder path.
Btw, we might have accidentally improved the performance of jsoniter. Before our fixes, as long as a struct has camelCase field names, the decoder will always be the generalStructDecoder because it always hits https://github.com/json-iterator/go/blob/7cceb6c2e37f896dc3817e031f83dce25b180a8b/reflect_struct_decoder.go#L368-L372

@caesarxuchao updated.

Btw, we might have accidentally improved the performance of jsoniter.

:tada:

lgtm

We should add an equivalent case-sensitivity test to k8s, so that any future changes in JSON parsing catch it.

LGTM
By the power vested in me, I hereby merge your fix.


Name change

Pertaining to https://github.com/kentcdodds/react-autocompletely/issues/1 I personally think it would be beneficial to choose a name that promotes this library for multiple use cases. I think by naming it anything with autocomplete could paint the library into a corner. I'd love to see Dropdown, Select and other cool components made with this. The hard part is I have no idea what a new name could be 💩
Some quick ones:

rechoose - react + choose
reelect - react + elect (maybe just elect by itself?)
repick - react + pick
picknic - 🤷♂

Ok, clearly the name is confusing people.
I'm happy to rename this project, but it's gotta be good.
Why don't we come up with several suggestions, then I can make a twitter poll and see what folks think...

😇 I'll give you selectly if you want it, since it's similar to the current name 😁

We can make that an option. Though I'd like react in the name honestly. I don't expect that this'll work without (P)react...

Sounds good 👍 react-selectly should be available. I'll try to think of some other names 🤔

react-optionally 😂

Ok, here's the tweet :smile:

Because react-autocompletely can support such a wide variety of use cases, @markdalgleish suggested that we come up with a catching but totally meaningless name.
I like the idea! What do you think? Bonus points if it's in reference to something from ancient times (like greek mythology or Medieval times or something).

Sometimes it might help to think of a logo/emoji first and then come up with a cool name. Here are some emoji that I think would be cool:
⚡ 🔥 🔮 💫 ✨ 💥 🕵♀ 🔎

I really like the Sherlock one...but probably because I really love the stories 😅

Oh, what if we use a character from "Mistborn" (I'm reading it right now):

Mistborn are Allomancers who are able to gain power from all Allomantic metals, and are some of the most powerful characters in the Mistborn series.

Basically, Mistborn are rare. More commonly you'll find Mistings. Mistings have one of 8 available powers, but Mistborn have all 8 powers. So the idea of flexibility is strong here.
So we could use Kelsier (not taken). Though... we might run into trademark issues 🤔  #leftpad
As for an emoji/logo.... 💥 seems appropriate 🤔
Maybe not 🙃

Azula might be cool to go with 🔥

react-selectively
react-positively
react-specifically
react-picky
react-choosey
react-pickle
react-pickly

that could be cool. i was thinking along the lines of animals like an owl 🦉 for all knowing wise, elephant 🐘 for it's memory/recollection, or even a golden-retriever 🐕 for it's....well, retrieving haha.  might be a bit of a stretch though.
maybe just react-zoltan like the fortune teller or react-acadabra with a 🎩  for a magician 😝

reactive-react

react-choo 🚂
react-gather 👐
react-harvest 🌾
react-retriever 🐕 (credit to @rouzbeh84 from above, writing it out makes it sound so cool! 😎)

I'm liking:

react-kadabra 🔮
react-retriever 🐕

But honestly I'm starting to think that react-autocompletely is pretty good and we should just stick with it. I dunno... It's already gotten a fair amount of traction.

I vote for react-kadabra. I like that you can use the same emoji with it and since the library is still fairly new I think the name change would be fine. It hopefully help mitigate any confusion on it being more than an autocomplete component. I mean with kadabra we could make a reallllllly cool demo site since it has a sort of theme to it 😁

Plus, with a name like kadabra, we could make a reallllllly cool demo site since it has a sort of theme to it 😁

Alright, if you commit to making a cool demo site then consider it done.

I'm soooo down 😍

Nice!

~/Developer/react-kadabra (master)
💪  $ npm publish --tag beta
+<EMAIL_ADDRESS>

It'll take a little time for travis to update but hopefully it'll happen soon

😱 🎉 yay! I'm leaving for vacation for two weeks soon, but when I get back I'm on it 💪

HOORAY! 👏🏽 🎉
@souporserious holler when you get back, i'll def try to help you out on the demo site if you'd like 🙏🏽

I'll try to setup Netlify on this repo so we have an easy deployment story :smile:

This is a good point: https://twitter.com/AntJanus/status/893116305431068673

We should probably avoid tying ourselves to the pokemon for this reason...

And with that I'm honestly thinking that react-retriever 🐕 may be better... Yikes, all this naming stuff is giving me a headache.

Oh dang that's a good point 😞 I always liked react-retriever as well. I don't know which is harder, a good API or naming something 💩

Problem with react-retriever is it's not entirely easy to spell. Not a really common word people use...
Back to the drawing board....

Orrr react-cadabra?  Jk haha
I like both of the resurgent finalists. FYI I only rethink in re-insert-words now 🤣😂

I spelled "kadabra" wrong like 3 times (trying different variants  of abacadabra) whilw Googling after seeing it on Twitter and got really irrelevant results. Maybe as it gets more popular it will rank higher but right now... Not so great.
OTH I do like the Ruby convention of using somewhat fanciful or uncommon names for libraries to avoid giving the appearance of there being an official or "blessed" library in hot namespaces where there could be multiple competing projects. NPM, and react in general, is terrible in this regard (looking at you react-router!).

I definitely want to keep this react specific as it is a react library, so having react in the name is important IMO (despite the drawbacks you mention).

I spelled "kadabra" wrong like 3 times

Yeah, that's unfortunate... Let's go with something easy to spell.

react-completionist
react-volunteer
react-ucompleteme (please don't)

react specific as it is a react library

The react part is fine and makes sense, it's "well I'm the first library here so I get the most obvious name" part that isn't great. I.e., react-select, react-router are one of many.
Is there always an input box? If so, "react-typeahead-toolkit" is sufficiently specific to avoid future naming conflicts, without using nonsense words.

That's part of the issue 😕 there doesn't always need to be an input it can be used to make a simple dropdown with keyboard navigation as well as other components.

downshift

I like that a lot actually @tkh44!
Now for a emoji... The first thing that comes to mind is 🏎  which is totally awesome 🕶
Should it be react-downshift or just downshift?
Honestly... Someone could wrap this lib up in preact-habitat by @zouhir and they could use it in any framework. It'd be pretty slick (and small) actually!
So I'm thinking simply downshift...

I would just use the word without the react prefix.

second that!

@souporserious what do you think?

:shipit: 🏎 🎉

I like single names as well :) I don't think it necessarily needs react in the name. Think of all of the jQuery plugins that came out that didn't prefix jQuery.

You cool to wait to change until the multiple stuff is done? 😁

Sure, if you're working on it now :wink:

So here's what I'm thinking about for a logo:

That emoji is coming from emojione (which is where I got the glamorous logo from)
But someone suggested I use the one from twemoji:

I like this because it means that the logo will look the same on the project as it does on twitter... But I kinda like the red one more...
Give an emoji response on the comment to indicate which you like better:

Emojione (red car): :tada:
twemoji (orange/blue car): 😄

Another benefit is I don't have an SVG for the one from emojione so we'd have to make that ourselves....

Coming from a design standpoint, I like the red car better 😁

Ok! Rename is done and I added a simple png logo. Hoping to get a nice SVG soon!

Oh snap. My friend @strack just sent me this as an SVG! :tada:

I'll update the logo on the README with this. Thanks tons Isaac!

Oops I guess I'm late. I did this https://gist.github.com/josephrexme/d35258ac2bc0ef5038795f2e8eee8860

Ah, but 2 minutes! Thanks for working on it! I've already updated it with what Isaac sent me. I think I'll leave it as is. I really appreciate what you've done though, thank you :)
If you still want to help out, I'd love to have a help codesandbox (like the one for glamorous). If you'd like to make that, I'd love it :smile:

react-pqr - simple, short, alphabet for everything


Add redirects for Swift and iOS talks

Thanks @SkottyK! Except, I've been thinking about the redirects for a while, and I don't think they're quite the best solution. For example, half the time when I click the description for my Frontend JavaScript talk, I don't realize that I'm no longer on the CrashCourse site.
Do you want to modify the descriptions to include a link to your external resources, so people definitely know when they're leaving the site?

Yeah no problem, I'll do that now!

Wait before I do that, would it be easier if I just added the resources to this CrashCourse site instead of hosting my own? Then they never have to leave the site at all, and formatting will stay consistent.

Yeah, that'd be great too.

Oops, didn't realize that this had been updated! Just merged it in from the command line, thanks :D


Installing Dashboard thru SSH

I entered the remove command after the yesterday firmware and removed my hotspot dashboard.

Please, can anyone help me and write the command for me to enter and install the dashboard thru SSH.
thanks,
Al

I got the solution, if anyone needs it.
Log in via SSH (either PuTTY or click start > type "cmd" and press enter, then type "ssh admin@your-miner-ip"). Run the following commands: wget https://raw.githubusercontent.com/Panther-X/PantherDashboard/main/install.sh -O - | sudo bash

@alfrose We have update the README for installation. please check it here:
https://github.com/Panther-X/PantherDashboard#installation--upgrade-instructions
I hope it can help you.


Document native import/export workflows

For all the data sources we support. As we don't have a feature to do export/import.

would this include support for import/export of NDF? https://www.prisma.io/docs/prisma-cli-and-configuration/data-import-and-export-jsw9/#normalized-data-format

I've the docs for native imports/exports here: https://github.com/prisma/prisma2/tree/master/docs/import-and-export-data
@chrisdrackett For as long as we don't support NDF with the Prisma Framework, you can use the described workflows to import/export your data 🙌


What is the difference between TelemetryConfiguration.Active.InstrumentationKey = "key" and tc.InstrumentationKey = "key"?

What is the difference between TelemetryConfiguration.Active.InstrumentationKey = "key" and tc.InstrumentationKey = "key";
We have an application using a handler and I assigned an InstrumentationKey using tc.InstrumentationKey = "key" but it didn't work. However, TelemetryConfiguration.Active.InstrumentationKey = "key" assignment works.
I don't get why TelemetryClient key doesn't work but  TelemetryConfiguration.Active.InstrumentationKey works.
According to the above code, it looks I have to assign instrumentationkey for both places. Is that what I have to do?
Thanks, AC

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

ID: 516c83d5-29e4-4594-8431-18e90ada27ea
Version Independent ID: 92179854-8188-dd7f-ae7b-0bf738badbcb
Content: Monitoring usage and performance for Windows desktop apps
Content Source: articles/application-insights/app-insights-windows-desktop.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

@AC740 we have a large conversation about exactly this here: https://github.com/Microsoft/ApplicationInsights-dotnet/issues/826
If you still have questions, feel free to join the conversation!
We're aware that this area needs improvement and we would welcome your comments.

@AC740 We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Error while quantizing PyTorch

Issue Type
Bug
Source
pip (model-compression-toolkit)
MCT Version
1.9.1
OS Platform and Distribution
ubuntu 20
Python version
3.8
Describe the issue
Facing the below issue when trying to quantize YoloX-tiny model from https://github.com/Megvii-BaseDetection/YOLOX/releases/download/0.1.1rc0/yolox_tiny.pth.

Expected behaviour
I am trying with python 3.8 and Pytorch version 2.0. As per the latest MCT documentation, MCT should be working.

Code to reproduce the issue
NA

Log output
File "/home/user1/envs/mct_torch/lib/python3.8/site-packages/torch/fx/_symbolic_trace.py", line 756, in module_call_wrapper
    return self.call_module(mod, forward, args, kwargs)
  File "/home/user1/envs/mct_torch/lib/python3.8/site-packages/torch/fx/_symbolic_trace.py", line 467, in call_module
    ret_val = forward(*args, **kwargs)
  File "/home/user1/envs/mct_torch/lib/python3.8/site-packages/torch/fx/_symbolic_trace.py", line 749, in forward
    return _orig_module_call(mod, *args, **kwargs)
  File "/home/user1/envs/mct_torch/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/hdd/mukula_STS/SOW6.4/october/YOLOX/yolox/models/yolo_head.py", line 211, in forward
    return self.decode_outputs(outputs, dtype=xin[0].type())
  File "/hdd/mukula_STS/SOW6.4/october/YOLOX/yolox/models/yolo_head.py", line 239, in decode_outputs
    yv, xv = meshgrid([torch.arange(hsize), torch.arange(wsize)])
TypeError: arange(): argument 'end' (position 1) must be Number, not Proxy

Hi,
Thank you for bringing this issue to our attention. I'd like to note that our project only supports PyTorch models that can be converted to the torch.fx format. The torch.fx toolkit offers a static graph representation essential for various model compression techniques, such as batch norm folding.
Unlike classification models, like the ones commonly found in the torchvision library, object detection models often require some manipulation to be converted to torch.fx. For guidance on converting object detection models to the torch.fx format, please refer to our tutorials section: Ultralytics Library Tutorial.

Hello @lior-dikstein ,
Thank you so much for the support.
I have tried with converting yolox-tiny model to torch.fx format by following the steps mentioned in Ultralytics Library Tutorial. But i am facing some import issues like "ModuleNotFoundError: No module named 'common'". Do i need to make any changes in the script apart from what is mentioned in the tutorial to convert yolox-tiny to torch.fx format?


Add support for Redshift

Description & motivation
Adding support for Redshift based on request.
Pending

docs changes
python file for the redshift connection
change release branch

Checklist

[x] I have verified that these changes work locally
[x] I have updated the README.md (if applicable)
[x] I have added tests & descriptions to my models (and macros if applicable)
[ ] I have raised a documentation PR if applicable (Link here if required)

Don't forget to update the readme


Please add section about how to recover from stuck (since 20+ days) tumbling triggers with dependency

Can you please outline a scenario similar to "Pipeline status is queued or stuck for a long time", but with tumbling trigger with (self) dependency on a prev. run stuck for a long time.
Scenario

Many Environments (DEV / TEST / x time PROD)

Lets say a trigger in DEV got stuck - but due to the nature of DEV its not checked regularly, so the a failure got not noticed for some time

and after 20+ days you want to get the tumbling trigger running again.

due to the nature of tumbling triggers, the Trigger StartTime cannot be modified after the trigger is started.

due to CI/CD Trigger Properties (other then Configured Values) need to be the same in all environments like name, dependencies etc...

I know the process is very cumbersome to resolve such a situation, but I want you to document it to actually outline how difficult it is to resolve. and to not have to ask the support again and again for it.
I think it was something like deleting the trigger - creating a new one to "catch up" histoirc runs.
then creating the real trigger agian pointing to a differnt (empty) pipeline to fast run up from the historic point in time.
and then when caught up from history, you can point it to the proper pipeline with dependeny to start again.

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

ID: d8eac45a-f45c-15de-dafa-b4336c3796d5
Version Independent ID: e7869233-189f-0b9a-615d-341357be5686
Content: Troubleshoot pipeline orchestration and triggers in Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/pipeline-trigger-troubleshoot-guide.md
Service: data-factory
GitHub Login: @ssabat
Microsoft Alias: susabat

@hmayer1980
Thanks for the feedback! We have assigned the issue to the content author to further review this and provide an update as appropriate.
@ssabat - Could you please review this feedback? - Thanks

@hmayer1980
Thanks for your suggestion. You can disable triggers and enable them during ci/cd.   That is why we provide pore/post deployment scripts.
I checked with PM who owns the feature. Best option is to Cancel and Rerun the pipeline. That way, tumbling window trigger will catch up to past triggers.
#please-close


Linked note text disappeared when export to pdf

pdf text

original text

It is on the newest version, but I like the old font more, so I changed it

I think now it's okay for the latest version (insider). If yes, I will close this issue.

You can close it, as the bug is not on your side
在 2021年11月18日週四 23:42，whyt-byte @.***> 寫道：

I think now it's okay for the latest version (insider). If yes, I will
close this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/whyt-byte/Blue-Topaz_Obsidian-css/issues/93#issuecomment-972984858,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMFBQVZM5MD6KQJ3DKLBUDTUMUNF7ANCNFSM5GE4RGIQ
.


Optimization Take 2.

Had an idea and decided to try it....

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

Can you be more clear in the title and description what it is you are seeking to optimize?

Can you be more clear in the title and description what it is you are seeking to optimize?

Will do @tjprescott. This was originally a draft PR. I made it a regular one thinking that's what will make the CI run, but I can't switch the pr back.

@adewaleo do you still need this PR open?

@adewaleo do you still need this PR open?

@tjprescott, I don't need it open for now, I just wanted to try out something using the CI. I will close it and reopen if I ever need it. Thanks!


Application Startup failure

Description
Application was built and started running on localhost but encountered an error on the url localhost:8080/probes.
Attaching the screenshot below:

Thanks for reporting this. Please note that a partial screenshot of the error might not be enough. Copying the logs would be better. However, in this case, I think the problem is because you didn't generate the git.properties or build.properties. This is done by Maven, with mvn generate-resources which is done if you compile the code before running mvn spring-boot:run.
Can you try that? Thanks.

@alecharp Its running fine now after applying the commands. Closing this issue for now.


No scroller and button to clear previous messages

First, thanks for this module. It is very useful alternative to Debug. I just wish there is a way to scroll the messages. The old ones seem to disappear off page. And it's nice to have a button to clear all messages. Thanks!

Thanks for your feedback :)
Have you tried filtering messages? The shown messages are currently limited up to 60, but I think this is enough if you filtered out frequent messages like MouseMove, Tick, etc. I will also add ability to save those settings as soon as official localStorage comes.
For now, inserting this would work fine.
<style>
body > div > div > div > div:nth-child(2) {
  max-height: calc(100% - 87px);
  overflow-y: scroll;
}
</style>

Second one sounds good to me. I sometimes face a problem like "Many messages passed through, but which is the first one after I pressed the button?". I'll improve this soon!

Oops, this code does not solve the problem. The upper limit is still 60 if this style is added. (60 comes from my performance concern, not measured though.)

Hey jinjor. I'd also like to thank you. This is so much better than using Debug.log
I don't mean to hijack this issue but I think this is related. In regards to the scrolling, have you considered adding the ability to scroll sideways in the panels? I changed the overflow: hidden to overflow: scroll in dev tools in order to get the effect I desire.
Example of problem:

Notice the errorMessage property on the cart is a string and the string continues off the panel. It would be nice if I could scroll right in that panel. Or, alternatively, if that text dropped down to the next line.

Hi @pinksalmon, thanks for your feedback.
Yeah, I'm aware of it. Probably it will be fixed in next version :)

I added "title" attribute for each long string value at 1.0.13, and a scrollbar at "Model" panel at 1.0.14.


expire hsts cache & invert ssl redirect

Say I use wrap-ssl-redirect for the case the user loads a website using http to get him redirected to the https version. I also use wrap-hsts for the second time and so on, so that when the user tries to access the website using http, it is immediately converted to https before sending the request.
Then it happens that my new ssl certificate is unsecure and browsers start complaining. Many former users are still accessing the website via https, which will take them to a security page first. To make matters worse, even if they do use http, the link will immediately be converted to https due to the hsts cache.
To solve these issues, I came up with this:

(defn- build-hsts-expire-header
  [{:keys [include-subdomains?] :or {include-subdomains? true}}]
  (str "max-age=" 0
       (if include-subdomains? "; includeSubDomains")))

(defn wrap-expire-hsts
  {:arglists '([handler] [handler options])}
  [handler & [{:as options}]]
  (fn [request]
    (-> (handler request)
        (resp/header "Strict-Transport-Security" (build-hsts-expire-header options)))))

(defn- http-url [url-string port]
  (let [url (java.net.URL. url-string)]
    (str (java.net.URL. "http" (.getHost url) (or port 80) (.getFile url)))))

(defn- get-request? [{method :request-method}]
  (or (= method :head)
      (= method :get)))

(defn wrap-insecure-redirect
  "Middleware that redirects any HTTPS request to the equivalent HTTP URL.
  Accepts the following options:
  :port - the port to use for redirects, defaults to 80."
  {:arglists '([handler] [handler options])}
  [handler & [{:keys [port]}]]
  (fn [request]
    (if (= (:scheme request) :https)
      (-> (resp/redirect (http-url (req/request-url request) port))
          (resp/status   (if (get-request? request) 301 307)))
      (handler request))))

Is there an easier way to solve this? If not, how about including this use case in ring-ssl along the lines of undoing ssl?

I'm not quite sure what your code is supposed to be doing. Your wrap-expire-hsts function is the same as wrap-hsts, and I'm uncertain what wrap-unsecure-redirect has to do with your problem.
(Also, it's "insecure" rather than "unsecure" - unfortunately English is pretty inconsistent that way.)

Thanks. I just fixed the lexical error, and added a missing helper function.
wrap-insecure-redirect serves to make a permanent redirect from https to http. The purpose is that from then on, typing site.com will get http:// appended, instead of https://.

Furthermore,
If I used wrap-hsts and wrap-ssl-redirect before, and then replace that with just wrap-insecure-redirect, after the first request, typing https://site.com will be rewritten to http://site.com in Chrome, Firefox and Safari, but it has to be in same browser session. If I restart the browser session, Firefox won't rewrite https to http on first request, but Safari will (didn't test with Chrome this time). Finally, when using also wrap-expire-hsts, Firefox will rewrite https to http after the browser session is restarted, on first request. I think this is enough to prove both functions utility.

I mean "first request" above as a request made after the request that was used by wrap-expire-hsts or wrap-expire-hsts the first time, independent of the browser session.

I still don't see the point of wrap-expire-hsts, as it's the same as wrap-hsts but with the :max-age option set to zero:
(wrap-hsts handler {:max-age 0})

I'm also not sure what the benefit of wrap-insecure-redirect is. It seems like something you'd almost never need to do! Under what circumstances would you want to permanently redirect HTTPS to HTTP?

Thanks, I didn't remember max-age was an option . To be clear, that code is just to give an example for the use case. In no way I mean that specific implementation should go to the repo. :)
Circumstances
I create an SSL certificate with StartSSL™.
Then there are two circumstances:

The next year I need to renew it, but in the middle of the process I make a mistake and produce a broken certificate. That mistake is expensive, because I can't renew the certificate without revoking it. Revoking it comes with a fee. So then I'm stuck with a broken SSL certificate, and browsers start complaining about it to users. The browsers give alerts or take them to security pages to tell them how dangerous my website is.  If I just use http, then when they try to access the website, they will think it's down.

The next year I think the renewal process it's too much trouble for my specific website. So I decide to go http, but now everyone is linking to my website with https links and so they will fail to access it.

It's not just about the previous users cache. Also, all google links in search results are https at the moment. And google takes it's time. Maybe some days, maybe weeks.. to update the results to http.
It's true that majors players in the browser market are making a huge effort to make https everywhere. But one thing is vision, another thing is reality and choice. We still have to wait for https://letsencrypt.org to become public on 3 of December, and even then, we don't know for sure what the market's response will be.

Seems like the market response was very positive.


Centos 6 EPOLL Mojo::IOLoop::Client strange behaviour

Hi. I found a strange bug in my application which works only in CentOS 6. Here is an example, which works in Ubuntu but fails with error Connection Timeout in CentOS (<IP_ADDRESS> - localhost) with EV available.
adding $address = '<IP_ADDRESS>' if $address eq 'localhost'; resolves a problem... And that was there right before this https://github.com/kraih/mojo/commit/e468e7742439749cb9a4d1ae899f7e41dfb9b103
Could you please explain it, why you decided to change that behaviour?
Thanks
use Mojo::Base -strict;

BEGIN {
  # Changing to 1,2,8 resolves issue
  # $ENV{LIBEV_FLAGS} = 4;
}

use Mojo::IOLoop;
use Test::More;

my $id
  = Mojo::IOLoop->server((address => '<IP_ADDRESS>') => sub { $_[1]->close });
my $port = Mojo::IOLoop->acceptor($id)->handle->sockport;

my $err;
Mojo::IOLoop->client(
  {timeout => 1, address => '<IP_ADDRESS>', port => $port} => sub {
    $err = $_[1];
    Mojo::IOLoop->stop;
  }
);
Mojo::IOLoop->start;
is $err, undef;

Mojo::IOLoop->client(
  {timeout => 1, address => 'localhost', port => $port} => sub {
    $err = $_[1];
    Mojo::IOLoop->stop;
  }
);

Mojo::IOLoop->start;
is $err, undef;

done_testing;

In my case I had this issue because "localhost" was allowing an IPv6
connection which seems to have issues on my Centos6 box. Using <IP_ADDRESS>
forces it to use IPv4.
On Thu, Mar 12, 2015 at 12:18 AM, alexbyk<EMAIL_ADDRESS>wrote:

Hi. I found a strange bug in my application which works only in CentOS 6.
Here is an example, which works in Ubuntu but fails with error Connection
Timeout in CentOS (<IP_ADDRESS> - localhost) with EV available.
adding $address = '<IP_ADDRESS>' if $address eq 'localhost'; resolves a
problem... And that was there right before this e468e77
https://github.com/kraih/mojo/commit/e468e7742439749cb9a4d1ae899f7e41dfb9b103
Could you please explain it, why you decided to change that behaviour?
Thanks
use Mojo::Base -strict;
BEGIN {
Changing to 1,2,8 resolves issue
$ENV{LIBEV_FLAGS} = 4;
}
use Mojo::IOLoop;use Test::More;
my $id
= Mojo::IOLoop->server((address => '<IP_ADDRESS>') => sub { $[1]->close });my $port = Mojo::IOLoop->acceptor($id)->handle->sockport;
my $err;
Mojo::IOLoop->client(
{timeout => 1, address => '<IP_ADDRESS>', port => $port} => sub {
$err = $[1];
Mojo::IOLoop->stop;
}
);
Mojo::IOLoop->start;
is $err, undef;
Mojo::IOLoop->client(
{timeout => 1, address => 'localhost', port => $port} => sub {
$err = $_[1];
Mojo::IOLoop->stop;
}
);
Mojo::IOLoop->start;
is $err, undef;
done_testing;
—
Reply to this email directly or view it on GitHub
https://github.com/kraih/mojo/issues/759.

To clarify what I think is happening: In your example, localhost doesn't
work because it tries IPv6 which resolves it to ::1; this is not what you
are listening on.
On Thu, Mar 12, 2015 at 1:08 AM, Dan Book<EMAIL_ADDRESS>wrote:

In my case I had this issue because "localhost" was allowing an IPv6
connection which seems to have issues on my Centos6 box. Using <IP_ADDRESS>
forces it to use IPv4.
On Thu, Mar 12, 2015 at 12:18 AM, alexbyk<EMAIL_ADDRESS>wrote:

Hi. I found a strange bug in my application which works only in CentOS 6.
Here is an example, which works in Ubuntu but fails with error Connection
Timeout in CentOS (<IP_ADDRESS> - localhost) with EV available.
adding $address = '<IP_ADDRESS>' if $address eq 'localhost'; resolves a
problem... And that was there right before this e468e77
https://github.com/kraih/mojo/commit/e468e7742439749cb9a4d1ae899f7e41dfb9b103
Could you please explain it, why you decided to change that behaviour?
Thanks
use Mojo::Base -strict;
BEGIN {
Changing to 1,2,8 resolves issue
$ENV{LIBEV_FLAGS} = 4;
}
use Mojo::IOLoop;use Test::More;
my $id
= Mojo::IOLoop->server((address => '<IP_ADDRESS>') => sub { $[1]->close });my $port = Mojo::IOLoop->acceptor($id)->handle->sockport;
my $err;
Mojo::IOLoop->client(
{timeout => 1, address => '<IP_ADDRESS>', port => $port} => sub {
$err = $[1];
Mojo::IOLoop->stop;
}
);
Mojo::IOLoop->start;
is $err, undef;
Mojo::IOLoop->client(
{timeout => 1, address => 'localhost', port => $port} => sub {
$err = $_[1];
Mojo::IOLoop->stop;
}
);
Mojo::IOLoop->start;
is $err, undef;
done_testing;
—
Reply to this email directly or view it on GitHub
https://github.com/kraih/mojo/issues/759.

@Grinnz thanks, ur right! I was sure that I disabled IPv6 and was going to answer 'no, that's smthng differend'. But I checked my /etc/hosts file and found a surprise.
I'll rewrite this issue to make it possible find your answer using google.


feat: more lambda config options

Added new features to make the Lambda terraform config more versatile:

Use the new cache policy system (since the previous is deprecated)
Use the new cors policy system (deprecated + and did not forward the right headers)
Remove geo_restriction because it is specific, not documented and hard to debug
Add aws_access_key / aws_secret_key for easier setup
Allow to use custom buz_source_image
bug fix: with build_number = var.buz_version, I have an error because the docker login only last a few hours so it needs to run every time -> my solution isn't very clean but I'm not really a pro in Terraform so tell me if you have a better solution !

Looks good - one small fix re: aws named profiles requested.


Support for SETXX operation

I have a use case in which I must update a value only if the key exists. This is supported by the SET XX option.
I was wondering if it makes sense to enhance the RedissonBucket class to support a setIfPresent operation(s) - encapsulating the SET XX command just like trySet does for SET NX, or if I should just try to get an instance of CommandAsyncService and run the command myself.
I'm happy to contribute to this feature if it's deemed useful.

Sure, contributions are always welcome! Please don't forget also to add it to RBucketReactive and RBucketRx interfaces.

Done

Thanks @mrniko. I had something in the works and was going to raise a PR, but thanks for expediting this feature.
Something I think can be improved is having the integration tests working against docker, instead of starting a local redis binary via ProcessBuilder.
How do you feel about that?

I tried that but redis cluster in docker under windows is not stable.


fix: discrete steps for private vs public

#62  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


AAP-14802, AAP-12292, AAP-16351 - Improvements from deployment driver improvement epic

Some quick improvements from the epic..
Hide template token when download fails.
Increase tries before giving up w/ Azure login.
Log to file as well as console (in storage account) to improve log visibility.

Works fine.