Added MethodOf methods, changed C# lang version to 12

The first MethodOf is taken from Fishery (but capitalized, as opposed to methodof in Fishery, and doesn't include global using). Link to the source provided in comments. Do we need to include the copyright notice with it as well? (Mozilla Public License, v. 2.0)
C# lang version needs to be 10+ for simple usage of Fishery's MethodOf, as otherwise it'll require typing more code, lowering the convenience of it.
The second MethodOf is taken from Microsoft Bot Builder SDK V3 (under MIT license). It's less convenient to use, but supports non-static methods without any issues. Link to the source provided in comments.
Comparison between the results of those 2 methods: https://dotnetfiddle.net/Cmt774
I've included those methods in MpMethodUtil, as the class seemed fitting in name. I've also added regions to the file, splitting to lambdas part and MethodOf part.

I hope I didn't overdo it with including 2 MethodOf variants. But well, it seemed pretty useful for me to handle all the bases, especially considering that the one Fishery uses only handles static methods (at least according to my tests).

Dropped the second MethodOf, as it's accessible from Harmony (and slightly more complex).

It's a language feature, copyright there is nonsense. Looks fine to me.

Honestly, I'm not fully sure what the line is that determines if something is or is not copyrightable, so I wanted to ask about it before merging it in.


feat: auto derivation

TODO:

[x] disallow adding more parameters after a /** @tsplus auto */ parameter

I think we will need the ability to add multiple "auto" parameters, there are cases where you want for example a monoid for K and a monoid for V in a Map context, I guess that could still be encoded as a tuple [monoid<k>, monoid<v>] given that derive can derive objects and tuples but probably would be nicer and more in line for plain TS users to have 2 parameters

I guess that's actually already supported given the error is "A non-derived parameter cannot follow a derived parameter"

@mikearnaldi Yup, that is supported! There are still a couple weird things I have to work out with this. Mostly, how to defer the derivation of parameters until all type parameters are resolved. The current way I'm doing that doesn't work in all situations. Hopefully I'll get some time this weekend to figure that out


Attributes not binding to Devices when created from UI

Hey there,
I have been trying to create devices from my application connecting to the traccar api - I am able to create the device instance however, the attributes are not binding to the device. When I switch on the service status - ideally the position of the device should be updated but it does not have any call.
Could you please help at the earliest?

Look at your traccar-server log file to see if its being identified correctly (ie the IMEI is not truncated, port number is correct for device type);

Thank you for responding quick.
Yes - everything seems to be alright with the device. It is not reflecting only for those devices created dynamically through my website. If I manually create a device through the api and turn on the switch from my phone, all the attributes are set as expected.
I need the position to be updated with the positionid, lat and longs for displaying the markers.

Would the positionid be generated only after turning the switch on in the device ? and when would inturn update the device with the position id ? how can I trigger put operation on creation of the positionid to update the device - since we dont have the post method for position?

The device id probably does not match what you entered when you created the device though the API.
In the API uniqueId should match the ID you device is sending in its update packets.
Are you using Traccar Client on the phone?

All those parameters are matching and yes, I am using Traccar client on my phone

As long as the client app is running you should see the updates show up in traccar-server log.
2017-08-10 19:09:44  INFO: [32ABD553] id: 123456, time: 2017-08-10 19:09:43, lat: 51.0000, lon: -0.0000, speed: 0.0, course: 0.0
If you see this and no device unknown lines then it will be logging the position in the DB, should not be anything else you need to do. If id does not match what is setup then you will not see anything.

For creating the device instance - the body has to be passed as the parameter.. could you please let me know the default values that should be set for the a device to be created?
I am currently passing group id, name and device id - rest of the other body parameters are going null including the attributes and georeferences. The positionid is defaulting to 0.

{"id":0,"attributes":null,"name":"sudalwar","uniqueId":"000010002011","status":null,"lastUpdate":null,"positionId":null,"groupId":3315,"geofenceIds":null,"phone":null,"model":null,"contact":null,"category":null}

There is API doca on the main traccar site.

{"id":0,"attributes":{"Protocol" : "", "Longitude": "", "Latitude": ""},"name":"Josh Fork","uniqueId":"000010002011","status":null,"lastUpdate":null,"positionId":null,"groupId":3315,"geofenceIds":null,"phone":null,"model":null,"contact":null,"category":null}
I managed to resolve it - attributes were setting to null - so created nulls against the sub properties of attributes. I hope this is the right way.

This doesn't seem right. Why would you add those attributes to the device?

There is an attribute property against the devices - if that is set to null - none of the attributes are set when the position is triggered.

There are attributes on all object types. Device attributes have nothing to do with Position attributes.


Add support for PowVideo.net

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.04.19. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.04.19

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v http://powvideo.net/6zhealfajgid
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://powvideo.net/6zhealfajgid']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.19
[debug] Python version 2.7.6 - Linux-3.16.0-70-generic-i686-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6, rtmpdump 2.4
[debug] Proxy map: {}
[generic] 6zhealfajgid: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 6zhealfajgid: Downloading webpage
[generic] 6zhealfajgid: Extracting information
ERROR: Unsupported URL: http://powvideo.net/6zhealfajgid
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 1374, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 279, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=etree.TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 268, in _XML
    parser.feed(text)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 25, column 17
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 671, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 341, in extract
    return self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/generic.py", line 2044, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://powvideo.net/6zhealfajgid

<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video:  http://powvideo.net/6zhealfajgid

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue required an account credentials please provide them or explain how one can obtain them.

This looks like copyrighted content. youtube-dl does not support sites dedicated to copyright infringement. Do they have rights to distribute this? If not provide an example URL that does not violate any copyrights.

Ok, editing...

http://powvideo.net/zoqp22jp5bvu looks like a copyrighted video, too. Does the site buy copyrights from the original authors of the video?

Look like just another random video hosting site..

The film was financed with crowdfunding.

If is an amateur video of a person dancing at home, how will we know if the host is allowed to host the video? The authors of the film does not claim copyright to the hosts. In fact, on Youtube there are hundreds of modified versions of the film. In fact, this video is a version with modified audio, fandubbed to spanish language, nonprofit.

Sorry for the late response. For videos in which people dancing home: in my experience such videos are usually uploaded by the recorder, so the hosting website have legal rights to distribute it. However, for this video, Wikipedia says it's produced by Laser Unicorns. I guess it's copyright is owned by Laser Unicorns, too. The YouTube version you've mentioned is uploaded by Laser Unicorns, so it seems like a legal copy. On the other hand, there's no clue that the one on powvideo.net is also a legal copy.

http://powvideo.net/tos

In conjunction with Powvideo.net's Intellectual Property Policy, an affiliate account for which Powvideo.net receives one DMCA notification of potential copyright infringement will be permanently suspended. After suspension, the affiliate account can only be restored in one of two ways: 1) the affiliate account holder files a DMCA counter notification; or 2) the affiliate account holder visits the Powvideo.net Copyright Education page, and takes and passes the associated quiz.

Seems similar to YouTube's rules on copyright.


Add arguments_size and visit_arguments for std::tuple and pybind11::tuple

The functions have to be defined for Arguments rather than Sample because Model is supposed to take Arguments as an argument (when predicting).
The unit tests demonstrate use cases necessary in Model when adapting Samples to singly typed Algorithms.

This is actually the part I didn't like about the "always auto" convention. size_t aliases a built-in type, so size_t(0) is a mere C cast. That violates the "always use the least powerful cast" convention and, in order to respect it, I need to code it as auto i = static_cast<size_t>(0), which is too verbose. size_t i = 0 is in turn an implicit cast, which is just as powerful as static_cast. One just have to decide which convention is more important for them, or use the wordy static_cast<size_t>(0) syntax (or create a macro shortcut for it).

This is great.


Trigger remoteNotificationsRegistrationFailed on Android when registerRemoteNotifications fails

As I understand it, calling Notifications.registerRemoteNotifications() ends up calling FirebaseMessaging's getToken() eventually. A failure here (!task.isSuccessful()) seems to be ignored. Would it make sense to trigger the "remoteNotificationsRegistrationFailed" event here, so that the app can inform the user about problems through registerRemoteNotificationsRegistrationFailed?
I was playing around with Notifications and had some connectivity problems, and was surprised that neither callback registered with "registerRemoteNotificationsRegistered()" nor with "registerRemoteNotificationsRegistrationFailed()" were called.

Would like to see this question answered.

This probably shouldn't be closed.


testing: e2e support for sdkv50

This PR begins work to make the e2e tests support sdk 50,
based on this PR to interchaintest:
https://github.com/strangelove-ventures/interchaintest/pull/674

Codecov Report

Merging #4174 (4d136e1) into feat/upgrade-sdk-v0.50 (7de4705) will decrease coverage by 0.06%.
Report is 1 commits behind head on feat/upgrade-sdk-v0.50.
The diff coverage is 0.00%.

Additional details and impacted files

@@                    Coverage Diff                     @@
##           feat/upgrade-sdk-v0.50    #4174      +/-   ##
==========================================================
- Coverage                   79.29%   79.24%   -0.06%
==========================================================
  Files                         188      188
  Lines                       13045    13054       +9
==========================================================
  Hits                        10344    10344
- Misses                       2269     2278       +9
  Partials                      432      432

Files Changed
Coverage Δ

...ps/27-interchain-accounts/host/client/cli/query.go
0.00% <0.00%> (ø)


Improve export layout

Not perfect, but better than before
Before

After

:+1:

Thanks!

you're welcome, let's go for the next step :)


Pipeline should have proper logging

Additionaly, need to add debug parameter to the pipeline methods calls like agent.py has.


does virtual product is the same as digital product ?

i have one question . consider i want to sell a code on my website . is the virtual product means i can sell codes on my website ??

This can indeed be done by choosing the virtual product type, in case you need more info about this product type please check https://bagisto.com/en/how-to-create-a-virtual-product-in-bagisto/


Add TempFileSaver option to tf tests and fix commit history.

Adds the option to save reproduction artifacts for TF tests in tank.
To save reproduction artifacts from a test run, add the --save_temps option to your pytest command.
Example:

Got rid of my changes somehow. Fixing it


Version 4.0.0 Release

v4.0.0

Breaking Changes

This was made as an overall major version bump due to the drastic supported
version changes. However, the project and code mostly remain the same. This
version sync allows the project to be easily kept up to date and upgraded.
As per the Django Project Docs.
This project does a major version upgrade to only support:

Release Series 3.1 starting with version 3.1.2.
Release Series 3.0 starting with version 3.0.10.
Release Series 2.2 LTS starting with version 2.2.16.

This project supports the following python versions:

Python 3.6
Python 3.7
Python 3.8

pytz>=2020.1 is now required.
Travis Updates:

For the time being, we will continue to use travis.
Updated to support target versions as detailed for both Django and Python.

Operational Excellence Changes:

Updated .python-version file to latest values.
Dropping slack notification (for now).
Updated the example_project requirements.txt versions.

General Updates:

General README updates.
Updated copyright headers.

Closes #95

Reference Materials:

Figured out the required branch settings I think, rebuilding to verify.

https://test.pypi.org/project/django-letsencrypt/<IP_ADDRESS>.20201031.103026/
mkvirtualenv testenv -p $(which python3.8)

pip install pytz==2020.1

pip install Django==3.1.2

pip install --index-url https://test.pypi.org/simple/ django-letsencrypt==<IP_ADDRESS>.20201031.103026

pip freeze

asgiref==3.2.10
Django==3.1.2
django-letsencrypt==<IP_ADDRESS>.20201031.103026
pytz==2020.1
sqlparse==0.4.1

make setup-project

make run-project

With manual test:
curl http://localhost:8000/.well-known/acme-challenge/sample_challenge_00

sample_challenge_00_response

Package Build Check
The local build and testpypi copies seem good:
dec33b2acb77f16f7dda3578363499bd822059c5c66870e1b372d9da5177663e  ./beta_dist/django-letsencrypt-<IP_ADDRESS>.20201031.103026.tar.gz
dec33b2acb77f16f7dda3578363499bd822059c5c66870e1b372d9da5177663e  /Users/purda/Downloads/django-letsencrypt-<IP_ADDRESS>.20201031.103026.tar.gz
df907cf01d9d5cff16b70c5dcf0951c51e93c6caea0a42d50fdf2e8436d16d8a  ./beta_dist/django_letsencrypt-<IP_ADDRESS>.20201031.103026-py3-none-any.whl
df907cf01d9d5cff16b70c5dcf0951c51e93c6caea0a42d50fdf2e8436d16d8a  /Users/purda/Downloads/django_letsencrypt-<IP_ADDRESS>.20201031.103026-py3-none-any.whl


[proposal] Use and, or and not everywhere in the code, instead of &&, || and !

So apparently the C++ standard allows use of and, not and or as alternative for the well-known &&, || and ! keywords (I know,
I didn't know either).
See this https://en.cppreference.com/w/cpp/language/operator_alternative
Using them project wide in if statements would make the code much more readable at a glance and make it less prone to stupid logic errors

Using them project wide in if statements would make the code much more readable at a glance and make it less prone to stupid logic errors

[Citation needed]

&&, || and ! are used in pretty much every C-like language. I'm not convinced changing that would improve readability.

I think that reading for instance condition1 and condition2 is more readable (at a glance) than condition1 && condition 2, especially when it is a complex expression with multiple logic subconditions. Especially when reading !condition, where the ! may not be seen easily and missed.
These are mistakes that sometimes occurred to me so improving at-a-glance readability when going thru the code may benefit everyone I think.
Personally, I think those alternative keywords are much more readable, being exactly spelled like the English words and enabling people to skim thru the text at the same speed and at the same understanding level as a page of English text.

In my experience logical errors or misunderstandings are caused by a complex set of logical operations, such as, for example
a && (b || (c != d))

I don't think changing that to
a and (b or (c != d))

would improve readability


Support Angular 15

🧹 Tech Debt
nimble-angular currently supports Angular 14 but the latest version is 15. We need to support the latest.
This is currently blocked on #810.
Once that is fixed we have two options:

migrate Nimble to only support 15. This is what we have done historically.
claim support for both 14 and 15. This should be possible now that both versions are on Ivy and it would make it easier for our clients to upgrade on their own cadence. But there are open questions:

would we compile using 14 and claim it's forwards compatible? or compile using 15 and claim it's backwards compatible? are both of these possible?
what testing do we need to do with each version? Probably both due to the issue below
will this be made more difficult because of us extending internal Angular APIs (#732)

@TrevorKarjanis did some research on these options and believes that 2 is possible but he won't have bandwidth to drive progress for a while.

In Angular 15 they reimplemented RouterLink (including merging it with RouterLinkWithHref), which will be a problem for our Nimble versions of the router link directives (e.g. NimbleAnchorRouterLinkWithHrefDirective, NimbleAnchorButtonRouterLinkWithHrefDirective, NimbleAnchorLinkRouterLinkWithHrefDirective, and NimbleBreadcrumbItemRouterLinkWithHrefDirective). The new way it's implemented bakes in the notion of being for a and area elements only. Previously this assumption was just in the selector, which we were able to override by providing our own version that extended the original. Now there's not a clear way to reuse their implementation for our link-related elements.

Angular 14 is now in LTS mode till november 2023.
https://angular.io/guide/releases#actively-supported-versions
An upgrade to Angular 15 or better Angular 16 should be considered quickly 😊
Thanks

@PetitCalgon thanks for your interest! It's always a struggle for us to prioritize this sustaining work but we agree we should upgrade before 14 stops being supported. We'll find a way to get to it eventually but if you happen to have bandwidth on your team to help, we'd be happy to collaborate!


Statement about handling of 32-bit floating point numbers on RV64 doesn't match the current psABI

The specification states "Sign-extending 32-bit floating-point numbers when held in RV64 x registers matches the existing RV64 calling conventions, which require all 32-bit types to be sign-extended when passed or returned in x registers."
But this doesn't match the psABI, which states "When passed in registers or on the stack, floating-point types narrower than XLEN bits are widened to XLEN bits, with the upper bits undefined.". See also here.
CC @kito-cheng @jrtc27 (as psABI TG chairs)

I imagine the real motivation is that C.LW exists but not C.LWU? Otherwise it doesn't matter what gets picked.

It seems zfh now lives in riscv-isa-manual. I've filed a PR to correct this https://github.com/riscv/riscv-isa-manual/pull/998


Add PyCharmCredential Support

Connect to Azure using the credential provided by the PyCharm extension 'Azure Account'. Once the user has logged in via the extension, this credential can share the same refresh token that is cached by the extension.

Close this one as there is no plan to ship Azure account plugin for pycharm


Setup CI/CD

We should create a permanent resource group for this project to live in and then have a CI/CD pipeline using GitHub actions and the azd to deploy.

[ ] Decide on the subscription the resources will belong to
[ ] Create a GitHub Action workflow
[ ] Setup branch policies to require approval before releasing

This will be dependent on #21


[WIP] v0.10.2 and v0.11.0 changelogs

Let's not merge this until tomorrow AM, but pls let me know if you have any feedback on the text.
Note the v0.10.2 one is here since I merged it into the release-0.10 branch but not master, and it should be in both.
@carlisia @nrb

added an update to the base CHANGELOG.md too.

👍


Fs 2189 headings used for styling

FS-2189
Accessibility—Headings used for styling (High priority)
The DAC Accessibility Report (Pages 13-14) reported that the three headings below "Help with filling out your application" on the page were found to be used for styling purposes.

Does this make any visual changes, or is it purely the mark-up changing?


Use more efficient query

See https://github.com/cockroachdb/cockroach/issues/4925#issuecomment-196513251

@petermattis If you'd like to take this over, please go ahead - otherwise, I'm ready for an LGTM :-)


delay 1 day

iam using it for the islamic calendar, in my case i need to delay the date 1 day how i can do that,
per example i dont want monday to 3/7/1437, i want to be 2/7/1437

@syrakozz Use -calendar:titleForDate to customize the day text.


Not working with SFRA v4.0.0

I am unable to get the latest version of the cartridge to work with SFRAv4.0.0. The PaymentMethod comes out null in CheckoutServices-SubmitPayment. There's an issue regarding this on the link_adyen repo https://github.com/SalesforceCommerceCloud/link_adyen/issues/13.
Is this a known issue and are there any chances of it getting resolved soon?

Hi @vrushali-desai,
You can use the code on the develop branch on Github that is compatible with SFRAv4.0.0. We have submitted this for review to SF- after the review is complete, the link_adyen repo will be updated and we will do a new release on this repo as well.
Best,
Scott
Adyen

Hope it will also work with the newest version. 4.1.1 :)


Display of additional handovers

The links / empty (“not implemented”) tabs in the panel are distracting; the display itself obfuscates the h->o mechanism and provides direct functionality; that h->o is behind is irrelevant from the user”s POV. A better way would be to remove these and to have a "show handovers" interface in which links/labels are provided for all.

Fix in the latest push.
I simply added the links to the box.
If ok, please close it.


fix(i18n): the sentence to delete an instanfe has been fixed

Pay attention that there is a typo in your commit message (in addtion: use the imperative, present tense ;))


Recreating https://craftassist.io

Would it be possible to include code and documentation for setting up something like https://craftassist.io? Or at least documentation for launching new cuberite+agent instances through aws (which is what I assume craftassist.io is using)?

Hi @kayburns,
The code for setting up https://craftassist.io is internal-only right now and we're not planning to open source it in the near term. May I ask why you want to set up something like that? What is your use case?
If you don't want to run it locally, we have a section in README giving instructions about how to set up using Docker container.

Hi @kayburns,
The code for setting up https://craftassist.io is internal-only right now and we're not planning to open source it in the near term. May I ask why you want to set up something like that? What is your use case?
If you don't want to run it locally, we have a section in README giving instructions about how to set up using Docker container.

Hi @snyxan,
Thank you for the response. I'm interested in collecting user interaction data over mturk.

Hi @snyxan,
Thank you for the response. I'm interested in collecting user interaction data over mturk.

Hi @kayburns ! Thanks for creating the issue.
We are planning on open sourcing the code we have used to host craftassist.io soon. We'll also be sending out a headsup over email but we have now migrated the craftassist codebase to be here: https://github.com/facebookresearch/droidlet and will be maintaining this repo going forward. Please switch to droidlet for future updates and features.

Hi @kayburns ! Thanks for creating the issue.
We are planning on open sourcing the code we have used to host craftassist.io soon. We'll also be sending out a headsup over email but we have now migrated the craftassist codebase to be here: https://github.com/facebookresearch/droidlet and will be maintaining this repo going forward. Please switch to droidlet for future updates and features.


OpenGL: GUI rendering issues when hiding nodes

Godot version
4.0 beta
System information
Macbook Pro m1, Big sur 11.4
Issue description
There are pair of gui bugs, with opacity and hiding nodes, I recorded it on video:
https://user-images.githubusercontent.com/109857267/190851810-685d1f19-b9f2-479a-94a2-189a6ff50671.mp4
Steps to reproduce
Create an empty project, switch it to GLES3 renderer, add Control node, then Panel in it, and toggle hide/show button
Minimal reproduction project
No response

I'm having the same problem when switching between scene tabs with OpenGL.  4.0 beta 1, Windows 10.


Implemented rdrand and rdseed intrinsics

Fixes: #325
Depends on rust-lang/rust#48369.

@newpavlov there's a failure on CI related to the verification of intrinsics, but I think it's benign and mostly just means there's a missing case here. Mind fixing that in this PR as well?

@alexcrichton
Done!

Ok! I reran the builds with the new nightly, but it looks like there may be some errors?

Not sure how to debug this error:
LLVM ERROR: Cannot select: 0x13893f8f0: ch = store<ST4[%9]> 0x13893fb60, 0x13893f208:1, 0x13893f068, undef:i32
  0x13893f068: i32 = add nuw FrameIndex:i32<0>, Constant:i32<8>
    0x13893f958: i32 = FrameIndex<0>
    0x13893f3a8: i32 = Constant<8>
  0x13893f680: i32 = undef
In function: _ZN8coresimd8coresimd3x864i6866rdrand14_rdrand64_step17hd58a2bbfbca06dcdE

Maybe it's a bug in the current nigthly? Can you please try to restart test for master and see if it will pass tests?

Looks like rdrand64 is only available on x86_64 targets

Oh I think it's just rdrand64, the other functions should be available on x86

Thanks!


Doc of unbounded knapsack

💥 Proposal
I want to create the doc for unbounded knapsack. I will use my own code which I have written in NeoAlgo
Have you read the Contributing Guidelines on Pull Requests?
Yes

@HarshCasper Please assign this to me

@HarshCasper I am facing a problem. My previous commits are also getting pushed when I made a pull request for this issue like in this PR which I closed https://github.com/TesseractCoding/NeoAlgo-Docs/pull/192 . Could you please guide me a bit in this?

@HarshCasper I am facing a problem. My previous commits are also getting pushed when I made a pull request for this issue like in this PR which I closed #192 . Could you please guide me a bit in this?

Delete a branch when your PR gets merged/closed. Pull from the upstream and create a new branch and push your commits on that. Let me know on Discord if you face further problems.


fix show errorText when use multiLine

fix bug #2693

I added example.

I added example.

@kodermax Thanks :+1:

@kodermax Thanks :+1:


The segregation of bulkhead pattern for consumers and services would make it more readable

Currently the document speaks about both the consumers failing because of a downstream dependency and services failing because of extreme load created by an upstream service (consumer) has been used interchangeably which makes it slightly inconvenient to understand which point talks about which use-case. It would be great if they could be split into two different categories after context and problem each having their respective sub-sections .
[Enter feedback here]

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

ID: e4699b7a-fc21-817e-5a37-aa17b55f47a2
Version Independent ID: 23efcd5d-11a5-c46f-a73e-5cc638591bcd
Content: Bulkhead pattern - Cloud Design Patterns
Content Source: docs/patterns/bulkhead.md
Service: architecture-center
Sub-service: design-pattern
GitHub Login: @dragon119
Microsoft Alias: pnp

Thanks for reporting - this issue is under review. This is a Microsoft Internal DevOps Bug ID # 493295

Thank you for your feedback.  We have created internal ticket 24813 to track and investigate this issue.

#please-close


Mouse wheel on faders is inverted

Currently, scrolling up decreases the value, and vice versa. Should be the other way 'round!

Yeah, it should be. When putting it the way it is, I kind imagined how it would feel if the wheel is knob, but it's true that up = larger is the usual logical way it should be.
I'll flip them once I have my GUI rewrite/refactoring merged to the master.

It was as hard as adding one minus sign :D The changelog message was longer than the actual change...

now the mouse wheel does not appear to work at all...?

The mousewheel was changed

ah! i did not even realize that parameters could even be selected. perhaps clicking the control and adjusting the parameter should also select it, and not just clicking the name?


Removing one level to fix overview link

https://github.com/MicrosoftDocs/office-docs-powershell/issues/5554

Docs Build status updates of commit 9bce3ae:
:clock10: Full build: the average full build time is 16 min(s) 55 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 9bce3ae:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

whiteboard/whiteboard-ps/whiteboard/whiteboard.md
:white_check_mark:Succeeded
View (whiteboard-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


[stable/spinnaker] Fix for k8s 1.9.4 or upper version

What this PR does / why we need it:
stable/spinnaker chart version 0.4.0 does not work on Kubernetes version 1.9.4 or higher.
It will work with the following fixes.

Update minio version in requirements.yaml
Change minio endpoints in spinnaker-config.yaml and create-bucketyaml
Change minio client image in create-bucket.yaml, and add command option

1. Update minio version in requirements.yaml:
maybe, in k8s 1.9.4 or higher version, minio 0.4.3 is not working.
update stable/minio 0.4.3 -> 1.1.1
Please refer to this: https://github.com/minio/minio/issues/5725
2. Change minio endpoints in spinnaker-config.yaml and create-bucketyaml:
in minio chart version 1.0.0 or higher, service name(endpoint) is "http://{{ .Release.Name }}-minio:9000"
(in 0.4.0, endpoint is "http://{{ .Release.Name }}-minio-svc:9000")
3. Change minio client image in create-bucket.yaml, and add command option:
Sometimes, "create bucket" job container goes into crash loop.
Your previous request to create the named bucket succeeded and you already own it.

to avoid this, update mc version and use mc mb -p. "-p" option is like mkdir -p.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
no issue.
Special notes for your reviewer:
tested on k8s 1.9.6 and 1.10.0

signed CLA

/ok-to-test

@viglesiasce Mind taking a look at this one? Seems fine to me.
/assign

-p on create-bucket.yaml gave me a Incorrect usage: flag provided but not defined: -p when using GCS
I followed the instructions in this PR but I also updated the minio version to RELEASE.2018-04-27T23-33-52Z in values.yaml
I managed to make it work just removing -p
mc: Configuration written to ‘/root/.mc/config.json’. Please update your access credentials.
mc: Successfully created ‘/root/.mc/share’.
mc: Initialized share uploads ‘/root/.mc/share/uploads.json’ file.
mc: Initialized share downloads ‘/root/.mc/share/downloads.json’ file.
Added ‘spinnaker-minio’ successfully.
flag provided but not defined: -p
Incorrect Usage: flag provided but not defined: -p
 NAME:
   mc mb - Make a bucket or a folder.
 USAGE:
   mc mb [FLAGS] TARGET [TARGET...]
 FLAGS:
  --region value                   Specify bucket region. Defaults to ‘us-east-1’. (default: "us-east-1")
  --config-folder value, -C value  Path to configuration folder. (default: "/root/.mc")
  --quiet, -q                      Suppress chatty console output.
  --no-color                       Disable color theme.
  --json                           Enable JSON formatted output.
  --debug                          Enable debug output.
  --insecure                       Disable SSL certificate verification.

EXAMPLES:
   1. Create a bucket on Amazon S3 cloud storage.
      $ mc mb s3/mynewbucket
    2. Create a new bucket on Google Cloud Storage.
      $ mc mb gcs/miniocloud
    4. Create a new bucket on Amazon S3 cloud storage in region ‘us-west-2’.
      $ mc mb --region=us-west-2 s3/myregionbucket
    5. Create a new directory including its missing parents (equivalent to ‘mkdir -p’).
      $ mc mb /tmp/this/new/dir1
    6. Create multiple directories including its missing parents (behavior similar to ‘mkdir -p’).
      $ mc mb /mnt/sdb/mydisk /mnt/sdc/mydisk /mnt/sdd/mydisk

Thanks for this @komattaka! It works as expected for me.
/lgtm

Thank you for your confirmation.


📈 Add Marketing Components

Closes #20
Implements Google Analytics and Google Tag Manager using GetAnalytics.io.
Note: We may be able to ask GetAnalytics to implement Hotjar and Zendesk, that way we can manage analytics in one place.
GA and GTM will not be configured if the Secrets are empty. Hotjar and Zendesk will not be initialized while in development mode.
Implements Hotjar using react-hotjar.
No Zendesk Packages stood out. Implemented Chat using Next/Script.
Note: It's possible that using a custom document might allow us to improve implementation
TODO before merging:

[x] Add Secrets to the GitHub repo using service accounts (GA, GTM, Hotjar, Zendesk)
[ ] Note the PageSpeed scores before and after adding the Analytics

The deployment doesn't seem to show the analytics components... Looking into the fix.

The deployment doesn't seem to show the analytics components... Looking into the fix.

Looks like you haven't added them to the Dockerfile

Updated the Actions appropriately
Can now see Hotjar, GA, GTM and Zendesk active on the website.

Even after attempting to implement NextJs/Script features, it seems that PageSpeed insights isn't getting much better.
We might just be better off taking the Performance hit to get the features in.

[ ] ⚡ PageSpeed Insights | Address Performance Issues

Hey @wicksipedia,
Zendesk seems to be the biggest culprit of the long page load times. Given that the PageSpeed Insights we receive are based on a mobile with slow 4G, should we look to disabling Zendesk on mobile?

@camillars - do we need zendesk on mobile?

@camillars - see above... do we need zendesk on mobile?

Hi team @wicksipedia @tkapa
Ideally, we should have the same experience on mobile since sometimes we sell tickets via mobile on Eventbrite.
Would we have an option to at least allow users to submit a ticket with a question?

Would we have an option to at least allow users to submit a ticket with a question?

It doesn't seem like we have that kind of flexibility with Zendesk, unless there are some options wherever the widget is configured to allow for that kind of thing.

@tkapa does this help?
https://support.zendesk.com/hc/en-us/articles/4408835776794-The-Zendesk-Widget-is-slowing-down-my-website-speed-and-load-time

@tkapa does this help? support.zendesk.com/hc/en-us/articles/4408835776794-The-Zendesk-Widget-is-slowing-down-my-website-speed-and-load-time

From what I know I don't believe that we're using the Classic widget. But I'll see if the same principals could apply.

@tkapa does this help? support.zendesk.com/hc/en-us/articles/4408835776794-The-Zendesk-Widget-is-slowing-down-my-website-speed-and-load-time

Ironically a further article in this says that loads within 2-3 seconds are acceptable for performance.
https://support.zendesk.com/hc/en-us/articles/4408834314266-What-s-considered-a-good-loading-time-for-the-Chat-widget-
Happy to trust your judgement on whether we are OK with taking this hit to perhaps address the issues on PageSpeed Insights at a later time. (In #59 )

https://www.newmediacampaigns.com/blog/maintaining-great-site-performanc-using-zendesk-web-widget

Happy to trust your judgement on whether we are OK with taking this hit to perhaps address the issues on PageSpeed Insights at a later time. (In https://github.com/SSWConsulting/SSW.Website-v3/issues/59 )

happy to respect the timebox - i'll add perf comments to the other issue

I wonder if using the lazy loading and suspense in React 18 + moving to NextJS v13 would help with this issue. I think it would be worth it to investigate. I know these are still "experimental" but these are super handy features.
Checkout:
https://nextjs.org/docs/advanced-features/dynamic-import
https://nextjs.org/docs/advanced-features/react-18/overview

Good call @JackDevAU - best to put that on #59
ATM we are on Next 12/React 17 but can look to upgrade


Multiple issues with --no-git option

Issue
Repo Map gets disabled with --no-git option

Browser can't be used with no-git option
aider --no-git --model openai/gpt-4o --browser
"ValueError: GUI can currently only be used inside a git repo"
Version and model info
No response

Thanks. The first issue is in CLI.

Yes, the repo map only works with git repos.


Tenant License Portability?

In the multiple tenants and ongoing maintenance sections, It would be helpful to provide some resource for moving licenses between tenants. Even if the answer is "contact sales" (as implied here: https://github.com/MicrosoftDocs/microsoft-365-docs/issues/10465), it would be helpful to have official guidance. This is especially true if an organization wants to migrate users without doubling their license cost for the duration of each migration.

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

ID: 8e4409fa-932a-7b1c-7da0-b35836e48048
Version Independent ID: bf893c77-d4e1-d148-07bd-51a99228f17d
Content: Step 1. Your Microsoft 365 for enterprise tenants
Content Source: microsoft-365/solutions/tenant-management-tenants.md
Service: o365-solutions
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

Thanks, does this mean there is no process to move licenses between tenants for commercial (non enterprise agreement) customers?

Yes, the option is to cancel and purchase licenses.

@yogkumgit  This can be closed.

@msbemba Is the PR still valid?

@yogkumgit Yes, the PR is valid. We can leave this open till the PR is merged. Sorry about that.

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


Keyboard arrow up and down feature navigating tabs?

Just wondering if someone has written a feature where you can use the keyboard up and down to navigate thru the tabs rather than clicking it?
Thanks for the info :- )

Funny. I mentioned about this just now - Accessible issue: https://github.com/samsono/Easy-Responsive-Tabs-to-Accordion/issues/71


vue-remote-devtools's window always on top

What problem does this feature solve?
I'm using safari with vue-remote-devtools, would be handy, if I could make the devtool's window always on top of my safari window, so it would feel just like chrome's native version.
What does the proposed API look like?
I explained my use case in the form above.

#809

@Elizabethclove ?

As I'm not a Mac user, I can't help you very much. Here's a Stack Exchange link with some third party applications which should do the job.
I think it's impossible to solve this in devtools directly.


Deprecate Vega testnet

The Vega testnet is going offline as of April 14.
When somebody requests vega tokens, reply with "Vega testnet is no longer active as of April 14, 2022. Please use Theta instead".

Fixed with PR #9


Slim (Slm) templates pre-processing

Is it possible to connect https://github.com/slm-lang/slm template engine with Brunch, or it is necessary to make special brunch-plugin line jade-brunch?

Hello sintro :)
All you need to do is create a brunch plugin (eg. slim-brunch). The documentation is really good and quite obvious :) http://brunch.io/docs/plugins
And you can also look the implementation from other plugins (https://github.com/brunch/eslint-brunch) which is incredibily obvious too. Pretty much 2 functions to implement :)
Best regards.

Please, send us a PR to https://github.com/brunch/brunch.github.io, I am really excited to see Slim templates support in Brunch without Ruby stuff.

Ok, I did some really alpha-version of this plugin, look here:
https://github.com/sintro/slm-brunch
Please, feel free to make PR to help me to implement TODO stuff.
Also look at some problems, noted in README

Can we close this when https://github.com/sintro/slm-brunch/pull/1 will be merged?

Sure

Hey @sintro, I will close this one not since it is not issue with Brunch.


How does streamz sink to files?

I want to know if there is any method to apply an end of a stream, and collect them to a text or csv file, a little bit like daskframe methd to_csv(). I found it's difficult to write a collection method, and sink to this method, because I have to re-open a file every time a stream element is coming.

Could you leave the file open and then close it once the steam finishes?
with open('file.txt', 'a') as f:
    source = Stream()
    source.map(operator.add, 1).sink(lambda x: f.write(x))

    for d in data:
        source.emit(d)

^ note that the file will not serialise, if you wanted to use this with threads/dask; also, buffering on the file might mean that the messages don't necessarily come out in the order you think. If you are worried about performance, you could also consider batching events, with therefore fewer write operations.

I think if you wanted to parallelize this you would throw the buffer/gather step before the save to file? That way you would make certain to get everything in order.
with open('file.txt', 'a') as f:
    source = Stream()
    source.scatter().map(operator.add, 1).buffer(10).gather().sink(lambda x: f.write(x))

    for d in data:
        source.emit(d)

You get the error because you are adding data to 'original_file.txt' after the with-block has finished. You could instead do f = open('new_file.txt', 'a'), but then should remember to close the file when you're done. You could, of course, easily make a to_file sink; but before ploughing on, are you certain that opening the file each time is a problem? What if you batch/buffer messages? Please consider these points.

Thanks @martindurant !
I'd prefer to use batch mode. I mean if there is a way to split the stream at the end point, say, 1000 text lines a batch, then I could open a new file for the batch. But I don't know how to do this, could you please give me an example?

The thing you want is partition:
s = Stream()
out = s.partition(2).sink_to_list()
s.emit('data')   # out is still empty
s.emit('data2')  # out gets its first batch
out == [['data', 'data2']]

So change your sink to get lists of messages.

(feel free to contribute what you finally end up doing, and then close this issue if you are satisfied)

Thanks a lot @martindurant ! I'll try it.

I tried the method by using partition before sink, it seems like if the partition size is small, like below 10, it's ok, but if the partition is larger, say, 2000 or more, the function called by sink seems like hanged, as if the batch size is never reached. I don't understand why. (I still took a large text file as stream source by using stream.from_textfile(), then connect it to a partition() method, then to a sink to print it)

Please show the code you tried. I don't know when I'll be able to look at it, but perhaps someone else can help out.

I rewrite the test code below, this time everything works fine, I must messed something in my original code, sincerely appologize for my mistake, and thanks again, I'll close the issue.
from streamz import Stream
from datetime import datetime, date
import time

def write_new_file(lines):
    filename = date.strftime(datetime.fromtimestamp(time.time()), '%Y%m%d%H%M%S')
    with open(filename, 'a') as f:
        for line in lines:
            f.write(line)

    print(len(lines))

source = Stream().from_textfile('file_with_10million_lines.txt')
source.partition(10000).sink(write_new_file)
source.start()


Jarbas Search Filter is not working.

What is the problem?
Jarbas Search Filter is not working on endpoint /dashboard/chamber_of_deputies/reimbursement/
For example:
In the following image you can see the name of the deputy FELIPE RIGONI in reimbursements list.

However, when searching for the name, by the search field, the query returns an empty list.

Who could help with this issue?
I think it's necessary to check the filters contained in the reimbursement view.

Just checking: were search vectors created with python manage.py searchvector? They are needed for the search feature ; )

This command should be in script deploy, right?

This command should be in script deploy, right?

I don't think so.

This is related to data (persistent data)
Deploys, in the majority of cases, don't change persisted data
This command might take minutes or hours to run

Thus it might slow down the deploy and give us nothing new at the end of the day. It is setup to run on the update of persistent data though.

I couldn't reproduce this issue by following Installing and Running Jarbas procedures at Contributing Guide.
Could you please specify how to reproduce this issue, @sergiomario ?

@viniciusartur you could not reproduce because this week I ran the searchvector command manually on server. That's why the search is working so far. When the base is updated, it stops working.

Sorry for reviving this thread. Is searchvector command still being executed manually?
If Rosie is the one that updates that data, it makes sense to run searchvector after Rosie finishes running, right?


JVM crash when using multi-dimensional local arrays

This may be a user error, since I'm relatively new to both Aparapi and OpenCL, but it seems to me that there is a problem related to multidimensional local arrays.
When I'm executing the kernel shown at https://github.com/raner/top.java.matrix/blob/syncleus-aparapi-issue-51/src/main/java/top/java/matrix/fast/TiledFastMatrix.java#L72 on my MacBook Air (Mac OS X 10.11, Intel HD Graphics 6000 with 48 execution units), I'm consistently getting a JVM crash:
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000011b42650c, pid=88211, tid=5891
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [libaparapi_x86_643808666101765060573.dylib+0xd50c]  KernelArg::setLocalBufferArg(JNIEnv_*, int, int, bool)+0x3c

The relevant snippet in the generated OpenCL code seems to be
            int tiledRow = (this->val$TILE_SIZE * tile) + localRow;
            int tiledColumn = (this->val$TILE_SIZE * tile) + localColumn;
            (&this->tileA[localColumn * this->tileA__javaArrayDimension0])[localRow]  = this->val$A[((tiledColumn * this->val$numberOfRows) + row)];
            (&this->tileB[localColumn * this->tileB__javaArrayDimension0])[localRow]  = this->val$B[((column * this->val$numberOfColumns) + tiledRow)];
            barrier(CLK_LOCAL_MEM_FENCE);
            for (int repeat = 0; repeat<this->val$TILE_SIZE; repeat++){
               value = value + ((&this->tileA[repeat * this->tileA__javaArrayDimension0])[localRow] * (&this->tileB[localColumn * this->tileB__javaArrayDimension0])[repeat]);
            }
            barrier(CLK_LOCAL_MEM_FENCE);

I noticed that it refers to the arrays' dimensions as tile…__javaArrayDimension0 to calculate the proper index into the two-dimensional array, which, I believe, is what necessitates the earlier invocation of KernelArg::setLocalBufferArg. Anyway, I didn't have the time to do a deep dive on this issue, but when I change the arrays to one-dimensional arrays and perform the index calculation myself (as shown in https://github.com/raner/top.java.matrix/commit/cb4988d), the code will work correctly.

@raner could you simplify this code down to its most basic form that causes the bug and submit it as a unit test? I can then use that to address the issue and work on a fix.

Here's a JUnit test:
import static org.junit.Assert.assertEquals;

import org.junit.Test;

import com.aparapi.Kernel;
import com.aparapi.Range;

public class Issue51Test
{
    @Test
    public void passingTest()
    {
        final int SIZE = 16;
        final float[] RESULT = new float[] {1};
        Kernel kernel = new Kernel()
        {
            @Local final float[] localArray = new float[SIZE*SIZE];

            @Override
            public void run()
            {
                int row = getGlobalId(0);
                int column = getGlobalId(1);
                localArray[row + column*SIZE] = row + column;
                localBarrier();
                float value = 0;
                for (int x = 0; x < SIZE; x++)
                {
                    for (int y = 0; y < SIZE; y++)
                    {
                        value += localArray[x + y*SIZE];
                    }
                }
                RESULT[0] = value;
            }
        };
        kernel.execute(Range.create2D(SIZE, SIZE, SIZE, SIZE));
        assertEquals(3840, RESULT[0], 1E-6F);
    }

    @Test
    public void crashingTest()
    {
        final int SIZE = 16;
        final float[] RESULT = new float[] {1};
        Kernel kernel = new Kernel()
        {
            @Local final float[][] localArray = new float[SIZE][SIZE];

            @Override
            public void run()
            {
                int row = getGlobalId(0);
                int column = getGlobalId(1);
                localArray[row][column] = row + column;
                localBarrier();
                float value = 0;
                for (int x = 0; x < SIZE; x++)
                {
                    for (int y = 0; y < SIZE; y++)
                    {
                        value += localArray[x][y];
                    }
                }
                RESULT[0] = value;
            }
        };
        kernel.execute(Range.create2D(SIZE, SIZE, SIZE, SIZE));
        assertEquals(3840, RESULT[0], 1E-6F);
    }
}

@raner I'm going to try to add a bounty to have this resolved. In the meantime we have a PR coming through ( #58 ) which allows for private memory instantiation of arrays (including multidimensional) that may be a work around for you.

The unit test which demonstrates this bug has been added here:
https://github.com/Syncleus/aparapi/blob/master/src/test/java/com/aparapi/runtime/MultiDimensionalLocalArrayTest.java

@fremo This is an aparapi-native bug. OpenCL does not support 2D arrays, so all arrays are mapped from Java 2D or 3D arrays (4D arrays and more n-dimensional are not supported) to 1D array in Aparapi and back. Apparently local arrays with 2D and 3D dimensions were never tested or properly implementend in aparapi-native.

@CoreRasurae Thanks, useful info for anyone trying to tackle this bug.

@freemo It also happens that using 2D or 3D arrays hurts a bit Aparapi perfomance, because Java does not allocate a contiguous memory region for 2D and 3D arrays, instead it allocates bunches of 1D arrays, and thus are non-contiguous in memory. In the name of compatibility Aparapi hides this at the cost of performance.

@freemo I will submit a PR for this in aparapi-native, already have it solved.

@CoreRasurae awesome, thanks. I wish there was an easy way to move tickets between projects. But i suppose since there isnt it makes sense to keep most of the tickets here.

@freemo BTW JVM is crashing due to a null pointer de-referencing in aparpi-native.

@CoreRasurae Neither me nor travis have come across that problem. Can you
create a ticket with any details and, ideally, sample code or a unit test
that recreates it?
On Tue, Apr 24, 2018 at 11:58 AM, CoreRasurae<EMAIL_ADDRESS>wrote:

@freemo https://github.com/freemo BTW JVM is crashing due to a null
pointer de-referencing in aparpi-native.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Syncleus/aparapi/issues/51#issuecomment-383986134,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC5JAmSAxtqjacwTmf2vo76vbDohPWpmks5tr0u8gaJpZM4OZsCb
.

@freemo That null pointer is the cause of the JVM crash reported by this issue, although the problem is deeper than that.

This appears to be fixed, closing for now.@raner and @CoreRasurae thank you for your contributions.


Edit button functionality takes the last one from definition list, should be the first

Funny, I discover a bug -> 'action' term Edit button -> acts.md and therefore a 404
oops, but also actor -> actors.md 404
It seems like the Edit button functionality takes the last one from [[def: actor, actors]] and not the first one (which represents the {file name}.md
https://github.com/trustoverip/ctwg-main-glossary/blob/main/spec/terms-definitions/agents.md suspicion confirmed?
https://github.com/trustoverip/ctwg-main-glossary/blob/main/spec/terms-definitions/scopes.md also

Nested 's made selection go wrong. Now the deepest  is selected.
Anchors had the same bug, this is also fixed.


Note that content was moved to contrib guide

Contributes to #17575
These two docs were added to the contrib guide:

https://docs.microsoft.com/contribute/dotnet-style-guide
https://docs.microsoft.com/contribute/dotnet-voice-tone

This PR replaces their content with a link to the new location.

Some content on the target doesn't contain the same as here, especially around API links which I use the most.

The Links to APIs section in the contrib guide looks like it has more complete content than what was in the file in the styleguide folder -- what are you looking for that you don't find in the contrib guide?


Verify that the mandatory fields (testPlan, revertPlan)  are non empty when doing arc diff.

specify mandatory field in .arcconfig as  "differential.mandatory_fields": ["testPlan", "revertPlan"]
Throws an exception if not specified and exits the workflow.

In a lot of scenarios, Test Plan and Revert Plan are not really relevant. For a simple typo diff, for example, there's no reason to do a test other than with jenkins, which will be there anyway if it's configured with harbormaster.
Same thing with a revert plan - they're not always needed as the workflow for testing/reverting a lot of diffs (at least, with smaller projects) is implicit.
This is an incredibly opinionated PR.

On mobile repos we mandate having "Test Plan" and "Revert Plan" (example arc config) by using the UberTestPlanTestEngine and UberRevertPlanTestEngine.
The issue is that people sometimes by pass these checks with --no-lint and see errors on subsequent diffs. Also, test plan and revert plan test engine uses a very crude way of figuring out whether the values are empty or not. (like, append all the commit messages with the edit-messages.json contents and check if the fields have non-empty value).
Arcanist diff workflow already parses the message correctly for all scenarios (diff creation, diff update, diff edit message), which makes it easier to do the check here.
We already have reviewers empty check here, which is why I added checks for more fields. (also the check will only be done if differential.mandatory_fields is specified in .arcconfig.
What would you suggest, that is a good way of doing this check?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.5 out of 25 committers have signed the CLA.:white_check_mark: blampe:white_check_mark: raviagarwal7:white_check_mark: sectioneight:white_check_mark: justinlmeyer:white_check_mark: kageiit:x: epriestley:x: 20after4:x: jparise:x: joshuaspence:x: rvanvelzen:x: grimreaper:x: allanjude:x: avivey:x: rmaz:x: Pawka:x: alexmv:x: Hunsu:x: sundargates:x: shatlyk:x: Luke081515:x: jcox92:x: wybczu:x: cburroughs:x: hotzah:x: vranaLuke081515 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@Qix- Updated it to make it more configurable. No functional changes otherwise


Fix crash when optimizing protocol composition

This patch fixes a compiler crash when trying to optimize a protocol composition between a class and protocol. This is a super simple fix where I simply add a condition to check if the nominal arg type is null. Here's an example program:
class ClassA<T> { }
protocol ProtocolA { }

class MainClass<H> {
    init(x: ClassA<H> & ProtocolA) { }
}

final class ClassB: ClassA<String> { }
extension ClassB: ProtocolA { }

_ = MainClass(x: ClassB())

Resolves SR-11624.

Once this has been reviewed, can someone with commit access trigger swift-ci, please?

@swift-ci test

Review comments addressed in #28032

@atrick, thank you for the review and for fixing the review comments!


Use central Sourcify server by default

I recommend Otterscan instances use the central Sourcify server instead of the IPNS root to fetch contracts.

The IPNS is not really stable and as it's getting larger in size, the IPFS instance is failing often
It takes time for the IPNS to receive the updated contracts whereas it's instant with the server
We are thinking about removing the filesystem structure altogether and with that likely the IPNS filesystem. We will pin individual files.
Since we control the IPNS keys, it's basically the same thing as fetching from the Sourcify server or the IPNS in terms of decentralization.

😭😭😭😭😭
@sealer3 let's do it for next release mid-December, plz. I'll also add some note in the release notes about privacy concerns on hitting Sourcify servers directly.

Oh right, the privacy aspect was one downside I missed :( cc: @marcocastignoli

@kuzdogan Will Sourcify eventually offer another way to download or sync verified contracts in bulk? Otterscan now has a config option to customize the Sourcify source, so an Otterscan server operator could also serve verified contracts by running a HTTP server compatible with the Sourcify API. This would eliminate the privacy risk.

Yes in potentially two ways.
As background, we are moving away from the current filesystem based on the source paths in the metadata.json. The problem is, they are actually not "paths" but "source-unit names", meaning they can be arbitrary strings. This makes it difficult to use them as file and path names and the current IPFS issues are caused by this.
We are considering using the keccak256 of sources as filenames to work around this. The metadata.json can be used to map the file names if needed.
However, the assumption of this fs structure is still limiting because

Not all Solidity contracts (e.g. pre 0.4.0) have metadata.json
Non-Solidity contracts don't have metadata.json
Some contracts are not fully reproducible with the metadata.json because of bugs

That's why we'll move to a DB-based structure, and have the filesystem on the side to serve the files on IPFS, especially for perfect matches that are retrievable in a fully decentralized way through IPFS (but need to be verified locally).
Open and easy access to verified contracts is a top priority for us. With this, it would be possible to get them:

From the DB dumps we produce regularly
The IPNS will still be there but with the aforementioned downsides

If there are other ways to do this I am happy to hear suggestions.


LlamaChat no longer working

Exception: Unknown magic number:<PHONE_NUMBER>
GGUFLoader.LoadMetadata (System.String path) (at C:/Users/Evan/Downloads/PerroPastor-master/UnityPackage/Loaders/GGUFLoader.cs:96)
GGUFLoader+<>c__DisplayClass10_0.b__5 () (at C:/Users/Evan/Downloads/PerroPastor-master/UnityPackage/Loaders/GGUFLoader.cs:240)
System.Threading.Tasks.Task1[TResult].InnerInvoke () (at <1334a096378c46d2bd2be2db1a37116e>:0) System.Threading.Tasks.Task.Execute () (at <1334a096378c46d2bd2be2db1a37116e>:0) --- End of stack trace from previous location where exception was thrown --- GGUFLoader.LoadModelImpl () (at C:/Users/Evan/Downloads/PerroPastor-master/UnityPackage/Loaders/GGUFLoader.cs:240) Rethrow as AggregateException: One or more errors occurred. (Unknown magic number:<PHONE_NUMBER>) System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) (at <1334a096378c46d2bd2be2db1a37116e>:0) System.Threading.Tasks.Task1[TResult].GetResultCore (System.Boolean waitCompletionNotification) (at <1334a096378c46d2bd2be2db1a37116e>:0)
System.Threading.Tasks.Task`1[TResult].get_Result () (at <1334a096378c46d2bd2be2db1a37116e>:0)
ModelLoaderBase.Update () (at C:/Users/Evan/Downloads/PerroPastor-master/UnityPackage/Loaders/ModelLoaderBase.cs:40)

Hey did you find any solution for this ??

Hey did you find any solution for this ??

Been a long time since I worked on LLMs but I'm pretty sure I didn't find a solution and instead used a package called LLMUnity


Design a way to bind parameters to commands

Use Case 1:
bind all subsequent calls to use a test network, so we don't have to manually call getNetwork and get its net_version
Use Case 2:
bind all subsequent calls to operate on a particular contract i.e. TestLibrary

Use Case 3:
create a sequence of calls for uplifting a group of contracts / linkages together

a scheme has been designed for this in my notebook, but it's not high priority to implement right now.


[Request]Quest gui with custom position setting

What does your feature do?
I wish to have a setting which can set a quest gui display item to display in certain place in a chest, take a 6x9 chest as example, if i want to make the following gui align, i must fill something, a placeholder quest to fill the gap, this is annoying, also, if the quest is one time quest, the entire GUI will shift left if the quest is finish, which the gui will fail.

How would people use it?
If this function works, people can set quest gui easily.
If we other external menu plugin, it will not able to show whether the quest is finished or not. So the only why i think is that to have a setting for this.

QuestsGUI is being handled in Spigot, Github is mainly only for Quests. Me personal opinion on this topic is, it's cool. But would not be possible just because quests List is being pulled in order and availability.

QuestsGUI is being handled in Spigot, Github is mainly only for Quests. Me personal opinion on this topic is, it's cool. But would not be possible just because quests List is being pulled in order and availability.

wait... QuestsGUI is a GUI plugin for editing quest...
This is Quest "GUI" should be build in function in quest, so it should be quest instead questgui plugin suggestion?

My bad then. Either way they function the same. You can only set up the material and Quests are picked up in order and availability. You cannot set up desired place of the Quest and i doubt it will be possible anytime in feature.

The GUI Factory system is built this way. So it picks up quests.yml per NPC in order and then check if quest is available to player and add it to GUI. Adding customization to that would affect too many things on Quests but i suppose you should wait on Pika giving you an answer to that himself.

yeah i know, i have been using the build in GUI system for display quest so long and i wish this can work so that i don't have to think so long for making a good GUI

You can make Custom GUI's the way you want. I highly doubt Quests GUI would change but we shall wait and see on what Pika's answer would be. Most likely it will remain as it is. Because it would requires too many unnecessary changes.

There are two versions of the NPC GUI display: the one included with Quests (which is not configurable), and the improved version if QuestsGUI is installed (which is somewhat configurable).
If you are asking to improve the Quests version, there are no plans to do so at this time.
If you are asking to improve the QuestsGUI version, make your request https://www.spigotmc.org/threads/questsgui-paid.399346/


Use continuous feature values

Hi ,
I'm have been trying to use GAE model with my data. Everything is working fine however it is not reaching high accuracy. One thing I noticed is different from the original data used in this project, Is that the original feature data in the feature matrix is in the form of  one-hot encoding ( 0s and 1s ).  Meanwhile that feature data in my feature matrix is of continuous nature between 0 and 1 ( i.e. 0.3256 , 0.5612 , 0.9851 .. etc.). Is there any additional changes or preprocessing I should make to the model/data to get a better performance ?
I would appreciate any thoughts on that.
thank you.

Hi friend, i use the continuous feature values too, have you improve the accuracy or find some problems? may be we can discuss about it.


Pagination example is broken

Hi thanks for this awesome library!
I noticed the result displayed at https://vincjo.fr/datatables/tutorial/pagination throws an error:
Uncaught (in promise) TypeError: l.getCurrentPage is not a function
    Immutable 40
    <anonymous> https://vincjo.fr/datatables/tutorial/pagination:124
    promise callback* https://vincjo.fr/datatables/tutorial/pagination:123

browser:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0

Hi, thanks a lot for letting me know.
This was actually an error in the naming of a method:
- const currentPage = handler.getCurrentPage()
+ const pageNumber = handler.getPageNumber()

Just fixed it 👍

Awesome!
On Mon, 16 Sep 2024, 15:43 vincjo, @.***> wrote:

Hi, thanks a lot for letting me know.
This was actually an error in the naming of a method:

const currentPage = handler.getCurrentPage()+ const pageNumber = handler.getPageNumber()

Just fixed it 👍
—
Reply to this email directly, view it on GitHub
https://github.com/vincjo/datatables/issues/127#issuecomment-2352963579,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYUUXDLI7ZWWM7IV4JKTOTZW3N7JAVCNFSM6AAAAABOHUWNVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJSHE3DGNJXHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


add req.query support

GET /api/replies/test?thread_id=123
req.query is undefined

and also typescript issue
Property 'query' does not exist on type 'RestRequest<DefaultRequestBody, RequestParams>'

Hey, @zkindest.
MSW does not have a custom query property on the request object. Instead, we use the standard URLSearchParams under req.url.searchParams. Learn more about working with query parameters.
In your example, accessing the query parameters would look like this:
const threadId = req.url.searchParams.get('thread_id')


ResponseBuilder.cs does not found

when I try to run the console application error occur "ResponseBuilder.cs does not found"
Here is my console program
var client = new GraphClient(new Uri("http://localhost:7474/db/data"), "neo4j", "Password");
client.Connect();
 var tomHanks = client.Cypher.Match("(person:Person)")
                .Where((Person person) => person.name == "Tom Hanks")
                .Return(person => person.As<Person>())
                .Results
                .Single();

           foreach(var item in tomHanks.name)
           {
               Console.Write("\t{item.name}");
           }

Can you put your whole code, in particular the using statements, and the full error message with stack trace please?
Also what version of the client are you using?

I've just copied and pasted this code and executed it with no changes to my code, I suspect you're missing a using at the top, or there is something else there. Without your full code, I can't help so I'll close this for now, please open it again if you get more info.


Add global config options

e.g.
Node-node mesh
BGP default AS
Logging levels in BGP and Felix

Done.


Update metric names in README

In https://github.com/prometheus-community/pgbouncer_exporter/pull/35 the counter metric names were updated to match conventions, which has
been released in v0.4.0.
This change brings the README in line with that.
Signed-off-by: Ben Wheatley<EMAIL_ADDRESS>

Thanks!


Reserved  pricing for scale set

This document is not clear about how reserved pricing for scale set works. What will happen to reserved pricing if I reserve it for one VM, but it scales to 2 virtual machines?

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

ID: 43852e1b-711e-98e6-7f3e-e98578cad660
Version Independent ID: 71897988-d633-024c-209e-a02997ccf4e0
Content: Understand Azure Reserved VM Instances discount
Content Source: articles/cost-management-billing/manage/understand-vm-reservation-charges.md
Service: cost-management-billing
Sub-service: reservations
GitHub Login: @yashesvi
Microsoft Alias: banders

@sanjaydatasciencedojo Thank you for reaching out to us with your query, we will review it and get back to you at the earliest.

Hi @sanjaydatasciencedojo Here are a couple examples:

Assume your reservation quantity is for one VM. VM1 ran from 1:00 PM to 2:00 PM and VM2 ran from 1:30 PM to 2:00 PM for the scale set. The reservation will be applied to VM1 completely and VM2’s usage will be charged at pay-as-you-go rates.
If the reservation quantity was for two VMs, the reservation will be applied to both automatically. Because you didn’t have both VMs fully used fully between 1:00 PM to 1:30, that 30 minutes is unused. So the 30 minutes of the reservation was essentially wasted.

The section at https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/understand-vm-reservation-charges#reservation-discount-for-non-windows-vms describes this and shows a graph over time, illustrating how reservations are applied visually.
I hope that helps.
#please-close

HI @bandersmsft, thank you for the clarification. However, I am still not clear about one more scenario.  What will happen if VM1 ran from 1:00 PM to 1:30 PM and VM2 ran from 1:30 PM to 2:00 PM for the scale set assuming my reservation quantity is for one VM?

@sanjaydatasciencedojo Yes, the usage will be fully covered as long as VM1 and VM2 are same size and type. Your latest example uses 1/2 hour of usage x 2 (1 hour) and you bought 1 hour of usage, so your usage is fully covered.


istio 1.9 update for external ca

Istio 1.9 Operator won't permit the config map definition with secret reference and in fact the volume mount is configmap, not secret.
            value:
              name: ca-root-cert
              configMap:
                -secretName: istiod-tls
                defaultMode: 420
                name: istio-ca-root-cert

@smarunich is this PR still relevant?

@smarunich - what is the current status here?

@smarunich should we close this?


Update README.md to have working sample code

Update README.md to have working sample code

This is a good idea to improve the description. Thanks! 👍🏻


Add Backdrop Entity for easy static background

Please add Backdrop entity for easy adding a static background to the scene.
It will be just BackgroundComponent + FromValue + Entity.
See the help\Rendering\HowTo Add a Static Background.vl helppatch.
The Backdrop is very similar to the Skybox.
But it is then more specialized and the Skybox name is misleading in this case AND Skybox is missing the Is 2D pin.
One notice about the BackgroundComponent:
If I change the Intensity of the BackgroundComponent the whole scene is affected by the change, it lits up.
Is it correct behavior?
So, if I want to make only the background lighter I should use the TextureFX beforehand, right?
And don't touch the Intensity pin.

ne notice about the BackgroundComponent:
If I change the Intensity of the BackgroundComponent the whole scene is affected by the change, it lits up.
Is it correct behavior?
So, if I want to make only the background lighter I should use the TextureFX beforehand, right?
And don't touch the Intensity pin.

I could not reproduce this. are you sure it isn't just an optical illusion?


can not directly squash a non-focused window to zero lines

Describe the bug
:resize 0 fails to squash a non-focused window to zero lines, even when 'winminheight' is set to 0.
To Reproduce
Run this shell command:
vim -Nu NONE +'set wmh=0|sp|call win_execute(win_getid(2), "resize 0")'

The bottom window is 1 line high.
Expected behavior
The bottom window is squashed to 0 lines.
Environment

Vim version: 8.1 Included patches: 1-2225
OS: Ubuntu 16.04.6 LTS
Terminal: XTerm(322)

Additional context
There may be more, but I can see two explanations.
First explanation:
Vim temporarily focuses the bottom window; and the cursor must be drawn somewhere, so the height of the window is set to 1.
But that can't be right, because you can invoke win_execute() to execute an arbitrary command in a squashed window, without the height of the latter being reset to 1:
vim -Nu NONE +'set wmh=0|sp|wincmd _|call win_execute(win_getid(2), "echo 123")'

Notice how the bottom window is still squashed, even though it has been temporarily focused by win_execute().

Second explanation:
When :resize was implemented, it could only be run in the context of the focused window, which can not be squashed because the cursor has to be drawn somewhere.
Therefore, it did not make sense for :resize to accept the 0 argument; the closest height it could accept was 1, so it automatically turned 0 into 1.
However, now, thanks to win_execute(), :resize can be run in the context of a non-focused window which can be squashed; so the 0 argument does make sense, and :resize should not alter it when it's run in the context of a non-focused window.

One could argue that you can still squash a non-focused window by maximizing the focused window (:wincmd _); but that's an indirect way of achieving the desired result, which can have other side-effects (i.e. squash other windows which you don't want to).

It's the first explanation: win_execute() makes the window the current window, which must always have at least one line visible.
You can do it with "2resize 0", put the window number before :resize.

To always squash all non-current windows to zero lines, you can use my "Rolodex Vim" settinigs: https://vim.fandom.com/wiki/Window_zooming_convenience#Rolodex_Vim

And BTW, I just saw on Wikipedia that the Rolodex was invented in Denmark in 1956. Didn't know it was that old.

Thank you for all the answers. So this is the right way of squashing the second window:
vim -Nu NONE +'set wmh=0|sp|2resize 0'
                            ^^^^^^^^^

I did not know that :resize could accept a prefix count interpreted as a window number, and it does not seem to be documented (the help at :h :resize only mentions the current window); although now that I think about it, I remember seeing it used all the time in a session file created by :mksession. Anyway, sorry for the noise.


[AMORO-2033]: The official docker image

Why are the changes needed?
Close #2033.  Close #868
Brief change log

Change docker/ams to docker/quickdemo.
Add docker/amoro as official image for production environment deployment.
Add build script for those images.

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[X] Add screenshots for manual tests if appropriate

[ ] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? (no)

Quick Demo should also changed:  https://github.com/NetEase/amoro-site/pull/1

openjdk docker hub image is officially deprecated and all users are recommended to find and use suitable replacements ASAP.What about use eclipse-temurin to replace it?
cc @zhoujinsong @baiyangtx

openjdk docker hub image is officially deprecated and all users are recommended to find and use suitable replacements ASAP.What about use eclipse-temurin to replace it?
cc @zhoujinsong @baiyangtx

Good idea, I find that Kyuubi and Trino also use eclipse-temurin to build the image.

openjdk docker hub image is officially deprecated and all users are recommended to find and use suitable replacements ASAP.What about use eclipse-temurin to replace it?
cc @zhoujinsong @baiyangtx

Great suggestion, I will adjust the base image accordingly.

The base image changed to eclipse-temurin:8-jdk-jammy


fix(qwik-auth): add @auth/core dep optimization

second attempt
not sure how to test this.  I think it's right now, but I'm not 100%.  The previous attempt result in nothing new being injected into the vite.config.js when adding the integration.

Hi @ulic75 👋
So, gave it a spin and i guess we're missing smth on the vite config side. i did these things to test it within the qwik repo on latest:

exec pnpm cli
keep default app name
choose basic app
let it install
run cd qwik-app
runpnpm i (not needed)
run pnpm qwik add
select auth
confirm install

result

package.json file got two new inserts for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>✅
vite.config.ts looks the same as before. ❓
file<EMAIL_ADDRESS>was added ✅

can you show me how the exepected output would look like on the vite.config.ts file so i can have a look at it? thanks a lot 🙏

I expect it would look something like this:
export default defineConfig(() => {
  return {
    plugins: [qwikCity(), qwikVite(), tsconfigPaths()],
    preview: {
      headers: {
        'Cache-Control': 'public, max-age=600',
      },
    },
    optimizeDeps: {
      include: ['@auth/core'],
    },
  };
});

Hi @ulic75
Sry for the late reply 🙈 took me some time to get into the code first 😆 i've pushed a change to this PR which should fix the issue described above. Can you validate it on your side? Thanks again 🙏

Oh, it expects a string?  I'm not sure how to test it.  But if it just needs it in a string format I think it looks good to me.

Yes 😆  just took me an hour to figure this out tbh 😆
Regarding the testing: I do it that way -> https://github.com/BuilderIO/qwik/pull/3295/#issuecomment-1468896644
Let me know if it works on your side 🙏

Maybe I'm missing something.  I get the same results.  But won't this still just pull the config from the current starter code which is not functional?  Do I need to build qwik locally and use it?

If it tried a result like I posted above I saw just go for it. Can't make it any worse :)

To be honest i am not sure the code works without testing myself, cc @adamdbradley could we make this work?

Okay.  So I tested it by modifying<EMAIL_ADDRESS>before running qwik add and selecting auth.  The change you made does indeed add the optimizedDeps object to the vite.config.js.
We'll probably want to create another PR at some point those because it doesn't seem to merge with an existing options.  For example I put in a fake optimizeDeps in my vite file and then adding auth overwrote it completely.

thanks @adamdbradley & @manucorporat for having a look at this 🙏  and thx @ulic75 for your tests as well 🙏 the point you've mentioned @ulic75 about the overwrite is true.

How would people feel about adding this instead since the merging doesn't work correctly?  It's referencing non-existent docs, but I can work on writing those up.
"nextSteps": {
  "lines": [
    " Please add `optimizeDeps: { include: ['@auth/core'] }`",
    " to your vite.config.ts file.",
    " Have a look at the docs for more info: ",
    " https://qwik.builder.io/integrations/authjs/"
  ]
}


fix(docs): hide pydoc for internal changes follower code

PR summary
These changes will hide the internal documentation of changes follower from our following published pydoc.
This is happening because autodoc2_hidden_objects list has private in the Sphinx conf file: https://github.com/IBM/cloudant-python-sdk/blob/ac1d64c668a58c3a90270b101a7748512b0320ff/source/conf.py#L57
Fortunately from a unit test point of view there's not such thing as private, so a simple renaming resolved the tests too.
The locally generated result can be downloaded here:
apidocs.zip and can be compared to our latest published pydoc.
I also fixed the copyright year to get it automatically at every pydoc generation.
Note: An existing issue is required before opening a PR.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the
Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[x] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

The changes themselves looks fine at first glance, but the PR's and commits' messages are rather misleading. Apart from (kind of out of the scope) copyright change the rest is not the fixes and not for docs, but rather refactoring for follower to mark internals as private, don't you think?

I squashed the 2 last commits and made a more meaningful commit message.


It is possible to paste text in the "amount" field when sending a transaction.

Issue description
It is possible to paste text in the "amount" field when sending a transaction.
The "amount" field should only accept digits in it.
Wallet version
0.3.0
System specification
Win 10
Is it a repeatable issue?
Yes
Steps To reproduce the issue

Copy text from somewhere (for example: Discord)
Paste it in "Amount" field when sending a transaction

Expected behaviour
Red text : "The amount appears to be an invalid number"
Actual behaviour
Text is pasted in "Amount" field

This should be fixed in the next release, please re-open if you still have issues.


Export UP/DOWN Log's of the Host.

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
New Monitor, UI Feature
🔖 Feature description
All the UP/DOWN logs need to be exported or Downloaded.

✔ Solution
All the UP/DOWN logs need to be exported or Downloaded.
❓ Alternatives
All the UP/DOWN logs need to be exported or Downloaded.
📝 Additional Context
All the UP/DOWN logs need to be exported or Downloaded.

const logs = [
{ timestamp: '2022-01-01T00:00:00.000Z', message: 'Log message 1' },
{ timestamp: '2022-01-01T00:01:00.000Z', message: 'Log message 2' },
{ timestamp: '2022-01-01T00:02:00.000Z', message: 'Log message 3' },
];
const exportLogs = (logs) => {
let csvContent = 'data:text/csv;charset=utf-8,';
csvContent += 'timestamp,message\n';
logs.forEach(function(log) {
csvContent += ${log.timestamp},${log.message}\n;
});
const encodedUri = encodeURI(csvContent);
const link = document.createElement('a');
link.setAttribute('href', encodedUri);
link.setAttribute('download', 'logs.csv');
document.body.appendChild(link);
link.click();
};
exportLogs(logs);

@louislam I want to contribute on this feature-request and the feature for exporting logs. Just wanted to inform you before working on the feature.

@louislam in our teams, we need to count all the up/down times of the host every month, is there any plans to add some api for users dump up/down times log

@FaridGitStart

I want to contribute on this feature-request and add the feature for exporting logs. Just wanted to inform you before working on the feature.

Please read the contribution guide at https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md
I think a good way to implement this is to add a checkbox here:

=> adding a checkbox here if logs should be included should be an okay design decision.
If you think another option is better or notice other problems with this approach, please feel free to reach out

@githubliuyang777

in our teams, we need to count all the up/down times of the host every month, is there any plans to add some api for users dump up/down times log

We use 👍🏻 to gauge interest in features.
Please see #118 and #2693
Also see https://pypi.org/project/uptime-kuma-api/ => this should be eazy to implement.
Note: This is an external Tool => no guarantees in any way.


Signed-off-by: MICHAELBOWLER<EMAIL_ADDRESS>

PR summary
ID edits for README as per https://github.ibm.com/org-ids/ua-issues/issues/1939
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[x] Build/CI related changes
[x ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@gmarjoram @cbrealey - could we reviewmerge this PR if OK?

@michaelbowler is the table label meant to be under the table ?

@gmarjoram - hum, yes. Let me amend...

@gmarjoram ... better:

@briangleeson - not sure of your process here.  Can I resolve conflicts and merge now?

@michaelbowler you can go ahead and resolve the merge conflicts. From reading above, I think we're just waiting for approval from @cbrealey on the changes, then can merge

Thanks @cbrealey - can we now close https://github.ibm.com/org-ids/ua-issues/issues/1939 also?
I'll also hunt for and change the source template.


Electron 10 support

Can you do a prebuilt for Electron 10?
Thanks!

I will do it during the weekend. I also need to look into node/NAN changes regarding the new major node version.

1.0.5.. Electron 10 should be in the prebuilds now. There are currently some build errors with electron 11 and node v15, but not related to this codebase.


Improve Debian/Ubuntu install instructions

Drive-by fix to instructions to allow running MyHoard on Debian/Ubuntu:

Don't run scripts with sudo - they already call sudo when necessary
When running on sid/testing (for which no packages are published), install stable packages
Drop 'RUN' prefix which was presumably copied from a Dockerfile
Allow overriding VERSION_ID
Factor out 'make build-dep-ubuntu', for consistency with Fedora

Codecov Report
Base: 76.39% // Head: 75.80% // Decreases project coverage by -0.58% :warning:

Coverage data is based on head (cb03921) compared to base (ace8192).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #106      +/-   ##
==========================================
- Coverage   76.39%   75.80%   -0.59%
==========================================
  Files          16       16
  Lines        3952     3952
  Branches      942      942
==========================================
- Hits         3019     2996      -23
- Misses        712      737      +25
+ Partials      221      219       -2

Impacted Files
Coverage Δ

myhoard/basebackup_operation.py
80.40% <0.00%> (-10.62%)
:arrow_down:

myhoard/basebackup_restore_operation.py
82.21% <0.00%> (+1.44%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I'm OK with all the ubuntu-related changes. Do we want/need the debian branch? We don't have a way to test it automatically.

I've tested it locally since I mostly use Debian. It's unlikely to regress (especially for people not on Debian anyway), but happy to drop that if you prefer.


All operations on packages with a progress dialog are broken

Currently all operations on a package like Pin, Unpin, install... etc are broken. The operations will be execute but the progress dialog will not close.

This is an issue with the used ConfigureAwait(false) method on each operation inside the progress dialog context.
https://github.com/chocolatey/ChocolateyGUI/blob/0256e2f694ec9cabc1fd5c1dc7199818b6023939/Source/ChocolateyGui.Common.Windows/ViewModels/Items/PackageViewModel.cs#L582

:tada: This issue has been resolved in version 0.20.0 :tada:
The release is available on:

GitHub Release
Chocolatey Package

Your GitReleaseManager bot :package::rocket:


fix the modal on the SecurityTools page

Currently this is what the modal on the SecurityTools page looks like
also clicking the "Got it" button on the modal doesn't dismiss the modal

This is what it should look like

I tried reproducing the issue and it displayed on my end. This is on master.

@devchoplife Same.


[Feature] x:Bind should support general string indexers without interface in C#

Describe the bug
The documentation for x:Bind here in the 'path to the function' section specifies:

The path to the function is specified like other property paths and can include dots (.), indexers or casts to locate the function.

However, it appears that non-integer based indexers, e.g. strings, are not supported?
I was trying to bind directly to a Graph function with the Windows Community Toolkit's GraphPresenter:
RequestBuilder="{x:Bind providers:ProviderManager.Instance.GlobalProvider.Graph.Teams['<guid here>'].Channels['<guid thing here>'].Messages, Mode=OneWay}"

As these classes use string indexers to build the query to the Graph, E.g.
ITeamRequestBuilder this[string id] { get; }

However VS tells me in the x:Bind expression that I have provided an "invalid index value" and "WMC1110: Invalid binding path ... Unexpected array indexer".
Expected behavior
I would have expected string indexers to work just as I can pass them into function parameters with x:Bind in single-quotes.
Version Info
NuGet package version: WUX

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

May 2020 Update (19041)
Yes

November 2019 Update (18363)

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Xbox

Surface Hub

IoT

FYI @oldnewthing even showed a string indexer as an example in his article here in the opening paragraph:
<TextBlock Text=”{x:Bind Players[‘John Smith’]” />

Thanks @chingucoding for the article link! 🦙❤

@michael-hawker As he quoted from the documentation, here's the official part: https://docs.microsoft.com/en-us/windows/uwp/xaml-platform/x-bind-markup-extension#collections

Thanks @Felix-Dev, @chingucoding just pointed me to that doc as well. I think the "functions in x:Bind doc" should link to the main article, I'll open up a doc issue about that.
So it seems like this is a feature request then as this is currently expected behavior as documented. Just not looking at the right doc... 😋

As noted in the documentation, the collection must be mutable. But your indexer is read-only.

@StephenLPeters I understand that this was not intended as designed originally, but this is still a feature request.
Is there a reason the collection needs to be mutable to support this feature? Can we get a few more details here? I know it'll still need WinUI 3 to be fixed most likely in the future, if possible.
Thanks!

@StephenLPeters I understand that this was not intended as designed originally, but this is still a feature request.
Is there a reason the collection needs to be mutable to support this feature? Can we get a few more details here? I know it'll still need WinUI 3 to be fixed most likely in the future, if possible.
Thanks!

Sorry the triage team interpretated the conversation differently.  We can reuse this as a feature proposal

@StephenLPeters can we get this re-opened as a feature request for the future? Thanks!

Hey @michael-hawker this is something that would need to come in WinUI 3, but it is not currently something we are currently looking at. Would you be able to go into more detail on what scenarios you are trying to support here so our team can re-evaluate this?

@JeanRoca the scenario we had came directly from us trying to make it easier to integrate our XAML presenter with the Graph SDK. The Graph SDK is just .NET Standard based, so it's using base interface/types that we wouldn't be able to modify.
It'd be great if x:Bind could just use the indexer overload if one exists on whatever object it's dealing with.

Alright I see thank you for the insight. I will go ahead and place it in the backlog, but can't quite guarantee an ETA for it yet. I will leave the issue open.

@JeanRoca @StephenLPeters @oldnewthing does this restriction apply to regular bindings and VisualStates as well?
@ismaelestalayo was just trying to change DataGrid.Columns with indexing with the standard syntax as well, and couldn't get it to work. Looks like DataGrid.Columns was defined directly as an ObservableCollection vs. an IList. (FYI @anawishnoff @RBrid)
<VisualState x:Name="NarrowState">
    <VisualState.StateTriggers>
        <AdaptiveTrigger MinWindowWidth="0" />
    </VisualState.StateTriggers>
    <VisualState.Setters>
        <Setter Target="(DataGrid.Columns)[0].Width" Value="0"/>
        <Setter Target="(DataGrid.Columns[1]).Width" Value="0"/>
        <Setter Target="(DataGrid.Columns.DataGridTemplateColumn[2]).Width" Value="0"/>
    </VisualState.Setters>
</VisualState>

I solve this bug with an xaml extension to bind XAML to an string index property without interface
see https://github.com/CommunityToolkit/WindowsCommunityToolkit/issues/4544
If microsoft aprove the spec i will submit the code

#10033
I have a requirement for reference here. Because the project needs to provide both WPF and WinUI3 versions, the multi-language design needs to support both WPF and WinUI3, and needs to support dynamic language switching, so I hope to support the function of universal string indexing.


ARXIVNG-317 support round-robin requests for docmeta

Metadata service accepts 1 or more hosts, and cycles requests.
Incidentally, this also introduces a change to the env variables used for ES configuration to be slightly more in line with k8s, and a bugfix related to ES authentication.

Coverage decreased (-0.5%) to 81.388% when pulling 3eff19d29018496873d5db297c2a0a9406c77057 on task/ARXIVNG-317 into 50c78615839f0b88fd9dad47bb2236c09647a2e5 on develop.

LGTM (note pydocstyle failure)

Aside from pydocstyle error, LGTM


Use finalized height to query packets

I actually ran into the #162  problem and fixed it.
This PR will search for packets below height and acknowledgement that are considered finalized.

@yoshidan thank you for your contribution! Can you rebase the commits with the latest main?