Markdown generated from Wikipedia missing numerical data

The Markdown version of the Wikipedia page is missing some numbers, like the height of the 265 m (869 ft) high cliffs surrounding the island
Wikipedia:

Geography and Geology
Most of Prince Leopold Island rises steeply from the surrounding sea,
with cliffs rising as high as 265 m (869 ft) above sea level surrounding
most of the island.
...
The majority of the island's area of 68 km2 (26 sq mi) is occupied by a
plateau generally ranging in altitude between around 240 m (790 ft) and
300 m (980 ft).

Extracted Markdown:

Geography and Geology
Most of Prince Leopold Island rises steeply from the surrounding sea,
with cliffs rising as high as above sea level surrounding most of the
island.
...
The majority of the island's area of is occupied by a plateau generally
ranging in altitude between around and .

Should I update the Markdown (and corresponding commit hash)? There are at least 2 questions referring to those numbers.
Besides the missing height and area measurements, the Markdown does not contain the Coordinates: 74°N 90°W from the Wikipedia page. One question refers to that.
Originally posted by @ckadner in https://github.com/instructlab/taxonomy/issues/1154#issuecomment-2146437322

similar to Prince Leopold Island, there are some key numerical values missing from the Markdown, like the miles per hour figures below

https://en.wikipedia.org/wiki/DMC_DeLorean#Performance

DMC's comparison literature noted that the DeLorean could achieve 0–60 miles per hour (0–97 km/h) in 8.8 seconds when equipped with a manual transmission, but other sources indicate an acceleration time of 9.5 seconds. When equipped with a manual transmission, the DeLorean accelerated from 0 to 60 miles per hour (0 to 97 km/h) in 10.5 seconds as tested by Road & Track magazine. Top speed was claimed at 130 mph (209 km/h), but was tested to be a lacking 110 mph (177 km/h). Car & Driver put the top speed of a 5-speed manual at 117 mph (188 km/h) (indicated)

https://github.com/juliadenham/Summit_knowledge/blob/main/DMC_DeLorean.md#performance

DMC's comparison literature noted that the DeLorean could achieve in 8.8 seconds when equipped with a manual transmission, but other sources indicate an acceleration time of 9.5 seconds. When equipped with a manual transmission, the DeLorean accelerated from in 10.5 seconds as tested by Road & Track magazine. Top speed was claimed at , but was tested to be a lacking . Car & Driver put the top speed of a 5-speed manual at (indicated).

===
https://en.wikipedia.org/wiki/DMC_DeLorean#Base_price

Upon release in 1981, a DeLorean had a base MSRP of $25,000, or equivalent to $84,000 in 2023. MSRP increased in 1982 to $29,825,[57] equivalent to $94,000 in 2023, and again in 1983 to $34,000,[58] equivalent to $104,000 in 2023.

https://github.com/juliadenham/Summit_knowledge/blob/main/DMC_DeLorean.md#base-price

Upon release in 1981, a DeLorean had a base MSRP of $25,000, or . MSRP increased in 1982 to $29,825, , and again in 1983 to $34,000, .

We could do either of the following to address the problems:

update the Markdown files manually, individually
remove all questions that are referring to missing numbers
figure out and update the tools used to generate the Markdown (if we plan to keep using Wikipedia for knowledge submissions)
identify and update in-flight PRs that have this issue

Looking at the Wikitext source for the DMC_DeLorean page shows some wiki markup that might throw of the conversion:
https://en.wikipedia.org/wiki/Special:Export/DMC_DeLorean
==Performance==
DMC's comparison literature noted that the DeLorean could achieve {{convert|0|–|60|mph|}} in 8.8 seconds when equipped with a manual transmission,<ref>{{harvnb|Parnham|Withers|2014|p=293}}.</ref> but other sources indicate an acceleration time of 9.5 seconds.<ref name=topspeeddelorean/> When equipped with a manual transmission, the DeLorean accelerated from {{convert|0|to|60|mph|}} in 10.5 seconds as tested by ''Road & Track'' magazine. Top speed was claimed at {{cvt|130|mph|km/h|0}}, but was tested to be a lacking {{cvt|110|mph|km/h|0}}.<ref name=topspeeddelorean/><ref name=roadandtrackdelorean/> ''[[Car & Driver]]'' put the top speed of a 5-speed manual at {{cvt|117|mph|km/h|0}} (indicated).<ref name=CarScoopsDMC/>

The car was described as "not quick for a sports/GT car in this price category" by ''Road & Track''.<ref name="roadandtrackdelorean">{{cite news |url=http://www.roadandtrack.com/car-culture/classic-cars/reviews/a27099/1982-delorean-dmc-12-road-test/ |title=1982 DeLorean DMC-12: The Vintage Road & Track Test |first=John |last=Lamm |date=October 21, 2015 |work=Road & Track |access-date=July 23, 2017 |archive-url=https://web.archive.org/web/20170803211950/http://www.roadandtrack.com/car-culture/classic-cars/reviews/a27099/1982-delorean-dmc-12-road-test/ |archive-date=August 3, 2017 |url-status=dead}}<!--Url-status is set to dead because the site will not load the Pictures in some regions or devices, And the R&T Test Results are only shown in a Picture!--></ref>

We should find out what tools are used to ingest the data from WikiPedia and curate it for the LLM training and re-use that


CSV export with Message Body

Currently only properties of messages are exported, but not message body.
UserEntryId is a part of the body but the length of contents are very limited.
It is very useful if Body and/or NativeBody are exported.

Generally, I agree that this would be useful. The problem is the format. Bodies come in three main formats: plain text; HTML; and RTF (Word document format). What should I export them as? I had a look around, but couldn't come up with anything compelling in the way of a common format.
Another consideration in the HTML case - what should I do with embedded graphics, which Outlook transports as hidden attachments?
Dijji

I think these three format is put in different column in CVS file.
About the format, I'm thinking

plain text: encoding to utf-8 text
HTML; it is rather difficult because originally it is binary data, byte[] . I propose that exporting two column:
- utf-8 converted html, which is almost readable but sometimes incorrect encoding.
- base64 format, which is perfect for mail reader but hard to read by human.
RTF: base64 text

IMHO , HTML embedded graphics should be ignored, because no attachments are exported.
And, I think it is acceptable for user because Outlook often shows HTML message without graphics, especially the sender  unreliable.

I'm not a big fan of adding a mix of columns to the CSV file, where some are meant for humans to read, and some for programs. I think we should stick to making the CSV file human readable, and if we want program readable formats, export them separately.
I also think that if we have a plain text column in the CSV file, then the program should make a decent effort at providing text whatever the email format. For plain text, this is trivial. For HTML, most browsers support a means of extracting text from a web page, although this might make extraction run rather slowly. For RTF, Microsoft Word would give a text conversion, but this would be an annoying dependency to take. Maybe there is an open source alternative for this.
Having got this far, it all sounds pretty tricky. But if I consider the alternative that you have coded up, I'm not sure what on earth would consume compressed RTF, or the streamed form of HTML. What do you believe the use cases for these formats are?
Dijji

My concern is importing all the messages from .ost file to Outlook. To do so, I can do following steps:

Export properties for messages in a folder as a CSV file.
Convert each messages in the CSV file, line by line, to a eml file
Import eml files into outlook.

I almost finished work for this and published in my repositories.
For first two items, exporting for this purpose and converting to eml format in Python, I pushed In a working branch of a fork of your XstReader,  https://github.com/halueda/XstReader/tree/working
And for the final item, I pushed another repo, https://github.com/halueda/EML-Import , automatic import in Visual Basic Script.
At this end, I'm also agreeing CSV file is just for humans. Instead, exporting eml file should be more direct way. Though, I'm not familiar with C# so much, that I need more time to contribute that task.
I'm also noticed exporting properties is not best fit for my purpose because properties do not include To and Cc  information. I realized that  I need exporting 'contents' instead of 'properties', if exporting eml is too specific requirement.

About RTF contents, I also noticed that issue and worked out for it. Finally, I export it as an attached file with extension of rt. I can click the attached file then MS word preview plugin automatically show the contents, and it is enough to salvage message.

Very interesting. I'll have a look at your code and see if I can figure it out, although your C# might be better than my Python!
Dijji

I've been looking at your code, and I'm afraid I'm rather puzzled. So, the path is XstReader to CSV to eml.

I understand how this will work for text content, but I am puzzling over HTML and Rich text format. eml, if it means anything, means RFC 822, but that only deals with text. How should full fidelity be maintained (and I do think that should include in-line images)?

Why do I want to go to the eml format in the first place? Outlook no longer supports importing it, so why is it a good vehicle for recovering OST files?  If you need a script to run in Outlook, why go via eml when you're having to deal with rich content by appending core body material as attachments.

Would not the most direct way of attacking the load into Outlook problem be to export properties to a CSV, the body to a text, HTML or RTF file, and the attachments to their own files, add pointers to those files to the CSV, and then write an Outlook script that consumed as much of the data as possible?

It may just be that I'm missing your point. Please enlighten me if so.
Dijji

I choosed eml simply because I knows the format very well, as I am very old man and knows well
about UNIX /usr/bin/mail and so on than Outlook format. If I knows more about Outlook format then I don't stick with eml format.
About fidelity, I implemented my extension referring other RFCs about attachment and so on, as much as I could.
As you mentioned that V1.7 has an extension to save a message with attached file in other issue, I feel it works. Anyway, I will check it whether it fit for me. (But at now, I'm so busy that it will be a few weeks/months later)

Hi, I need to get some MAPIproperties, but I co uld find a function to do it.
Could someone help me with how to get the 'EntryId" value as a string? (it's a byte[])

Are you by any chance looking at the CSV file using Excel? There appears to be a problem with properties that contain a new line character messing up Excel CSV import in UTF-8 encoded files.
To confirm, export the properties for a message and look at the CSV file in a text editor. It is a bit hard to read, but if you count the headings to the first EntryId property, and then count to the corresponding data field, you should see the value in hexadecimal, just as you do if you display message properties in the UI.

Release version 1.13 contains a fix that will cause Excel to open exported CSV files correctly


v0.0.6

Commit f79fd2652293dbd57b86e293d35b5e09716efeea has a lot of changes unrelated to copyright claims, but only copyright claims are mentioned in the commit message.  This makes the git history confusing.  Your commit messages should always fully describe the changes.


Tool used in the main readme prototype

Good morning!
I have a little question about the repository main README.
Which tool was made the prototype screenshots of the application?
For example, the tool I'm asking was used in this image here in the main README.
Awaiting, thanks!

I am not sure how @housseindjirdeh made those pictures. If they are real screenshots, you can run the app in Xcode simulators with Window->Show Device Bezels selected. Hope it can help you.

Thanks @chinesedfan. If anyone knows the specific tool used, it would be very good.


NUMBERS-186 added additional complex list operations

This PR introduces additional operations that can be done on ComplexList.
Summary of changes
ComplexListTest - unit tests for complex additional operations on ComplexList
ComplexConsumer -  interface that acts as a consumer for the complex element's double real and imaginary parts

Codecov Report

Merging #123 (ed548d6) into complex-gsoc-2022 (2bd5755) will not change coverage.
The diff coverage is n/a.

@@                 Coverage Diff                  @@
##             complex-gsoc-2022     #123   +/-   ##
====================================================
  Coverage                99.13%   99.13%
  Complexity                1699     1699
====================================================
  Files                       65       65
  Lines                     4274     4274
  Branches                   836      836
====================================================
  Hits                      4237     4237
  Misses                      10       10
  Partials                    27       27

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


exchange update export

What type of PR is this?

[ ] bug
[ ] feature
[ ] enhancement

What problem(s) does this PR solve?
Issue(s) number:
Description:
How do you solve it?
Special notes for your reviewer, ex. impact of this fix, design document, etc:

https://github.com/vesoft-inc/nebula-exchange-ent/pull/35


Message editing: Save button needs to be pressed twice when editing unsent message.

To reproduce: Add
    if messages:
        if messages[0]['message'].content[:7] == 'fail me':
            raise

to zerver.lib.actions.do_send_messages. Send a message starting with fail me; it should not go through. Click on the red edit icon, and then edit the message. Click the Save button. Nothing happens. Click the Save button again.
Expected behavior: You should only have to click the Save button once.
The click handler for that button (.message_edit_save) is in static/js/click_handlers.js, which just points to the save function in message_edit.js. message.failed_request controls whether you see the red edit stuff or not.

@aakash-cr7 FYI since this is in the same code path as something you just fixed.

Cool. I am on it.

Fix merged, thanks @rishig and @aakash-cr7!


[infra + release] since 03/18 12:00 Linux_android hot_mode_dev_cycle_linux__benchmark consistently fail

the target failed on release branch.
Looking through the target history, it seems like this target had been failing since 03/18.
Would be great if some infra expert could help take a look. Thank you!

The bot configuration the test was using was added for a manual test and was not supposed to block runs in presubmit.

The fix is to CP this change https://github.com/flutter/flutter/commit/71c1aba10bf2c0855b05ca7ac0253c460a1c35b6


Feat/cert constraints

Based off of in-toto ITE7 regarding PKI support for in-toto layouts. We
wrote the code for in-toto-golang, so there's a lot of crossover.
Adds support for constraining allowed x509 certificates by attributes on
the certificate itself. Example use cases may be constraining on an
expected SPIFFE ID or user's email to ensure that the identity for the
certificate is who we trust as a functionary.
Signed-off-by: Mikhail Swift<EMAIL_ADDRESS>

I have a second branch with some extra examples and documentation that I'm going to work into this branch instead. Marking this as a draft until then.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

75 of 79 (94.94%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+3.2%) to 38.585%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/policy/policy.go
0
4
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
3.2%

Covered Lines:
600

Relevant Lines:
1555

💛  - Coveralls


Option to transfer the Wakaama repository to its own organisation

As encouraged in this help desk ticket: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4225, we could move the eclipse/wakaama repository to its own eclipse-wakaama/wakaama organization.
As described in the ticket this would allow us to use the "otterdog self service": https://www.eclipse.org/projects/handbook/#resources-github-self-service.

This will capture the existing configuration as code in a separate repo (.eclipsefdn) and any committers can create PRs against this repo to change the configuration to fit your needs. The PRs will need to be approved by EF staff (and project leads if needed) before being merged and the changes finally being applied to GitHub. Here is for example a PR from another project enabling consistent branch protection rules for all repos: https://github.com/eclipse-velocitas/.eclipsefdn/pull/1 Here you can see a list of all Eclipse project that have this already enabled: https://eclipsefdn.github.io/otterdog-configs/ Please let us know if you'd like to proceed with switching to your own organisation and setting up self-service.

What do you think, should we go in this direction?

At Leshan have our own organization eclipse-leshan but we don't use otterdog for now.
We did that move to get access to github security advisories : https://github.com/eclipse-leshan/leshan/issues/1439
For us the move was very smoothly as described by eclipse IT : https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/449#note_1141465
HTH

I think it's a good idea to have a distinct organization on GitHub.
The repo wakaama-website should also be moved into that organization.
btw: Does anyone know how

The repo wakaama-website should also be moved into that organization.

Yep, this should be done by Eclipse Foundation. (I mean they do that by default when you ask for own organization)

Does anyone know how that website is deployed?

This is manage by eclipse foundation.
This is  supposed to be a static website. If you change content of main branch then it will automatically be deployed few seconds?/minutes?/hours? later. If you observe that the site is not deployed 1 day later, you can notify eclipse foundation as you probably face a bug/issue.

I would like to do that move to an own organization. Any thoughts about that?

I think there is good reason to do that. No veto on my side.
If you want to do it, just create an issue at : https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/new

Opened an issue: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4499


[GPU] Add call_gemm for ral

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


Modifier key are not fully supported with CursesDriver

It seems modifier key are not fully supported with CursesDriver.
Some examples:

CTRL+1 not supported.
CTRL+SHIFT+S not supported.
SHIFT+F5. not supported.
CTRL+S supported (with ControlS key).

However, most of these are supported with the WindowsDriver, except CTRL+1.

We need to completely re-write the driver used on Linux. See https://github.com/migueldeicaza/gui.cs/issues/370.
I've added a link to this issue in that Issue so it can be referenced as we do this...


Policy required is way too much

In devops-policies, the last one is allowing the DG to manage akll-resources in tenancy.  We should scope this to a compartment, namely the compartment where everything goes.  No shared tenancy admin would ever allow this as is.  There should be an option and docs to create a more restrictive policy.

@agregory999 Thanks for the issues.
The polices and its possible unit level controls are updated here - https://docs.oracle.com/en-us/iaas/Content/devops/using/devops_iampolicies.htm


Fix pending job detection

The rpm-packaging job needs to wait if OBS is in unpublished state.

+1

thats a serious big hammer. publishing can take hours :/

And it's wrong. Sorry for the noise...


Remove old overlays when plotting a new one

This removes old moment_overlay if a new one is added to make it possible to reuse a camera display

thanks. I keep meaning to finish the updated version of this display that manages multiple overlays, but it's still in a branch that needs work!


NoMethodError: No resource or method named yum_repository' for ChefCompat::Recipe "default"'

Cookbook version
latest (2.0.0)
Chef-client version
12.10.24
Platform Details
CentOS 7.3 inside the kitchen vm.
Debian 8.6 on workstation
Scenario:
Using the cookbook.
Steps to Reproduce:
[If you are filing an issue what are the things we need to do in order to repro your problem? How are you using this cookbook or any resources it includes?]

Create a new cookbook
Add depends yum-epel to a dependent cookbook's metadata.rb
Put include_recipe 'yum-epel' if platform_family?('rhel') in the default recipe.
Run kitchen converge <centos-instance-suite>

Expected Result:
The resource should converge on a centos instance.
Actual Result:
  NoMethodError
  -------------
  No resource or method named `yum_repository' for `ChefCompat::Recipe "default"'

Detailed traceback at https://gist.github.com/knightsamar/3137173169a058c1a331afb6c50e65b4

This should be fixed with the newer compat_resource dependency


Pull in homepage redesign work

We have finished the first pass at this and will add in the rest when Joel is done with his work.


[FR] support jax.distributed for a subset of TPU cores

Hello Jax team,
I have noticed that jax.distributed currently only supports a subset of GPU cores, and I was wondering if it would be possible to extend this support to a subset of TPU cores as well.
I have tried running a code snippet with jax.pmap on TPUs using the suggested snippet from @skye in https://github.com/google/jax/issues/8809#issuecomment-988495501, but it only recognizes the local TPU device and not other devices, resulting in a failed psum operation.
For comparison, I have also included the output of the same code snippet when run on GPUs for reference.
import jax
import jax.numpy as jnp

jax.distributed.initialize()

print("process_count", jax.process_count())
print("process_index", jax.process_index())
print("local_devices", jax.local_devices())
print("local_device_count", jax.local_device_count())
print("devices", jax.devices())

def my_function(x):
    return jax.lax.psum(x, 'i')

x = jnp.ones((1, 2))
print(x)
parallel_fn = jax.pmap(my_function, devices=jax.devices(), axis_name='i')
result = parallel_fn(x)
print(result)

On GPUs, when running with
CUDA_VISIBLE_DEVICES="0" SLURM_JOB_ID=26017 SLURM_STEP_NODELIST=localhost SLURM_NTASKS=2 SLURM_PROCID=0 SLURM_LOCALID=0 SLURM_STEP_NUM_NODES=2  python t.py
CUDA_VISIBLE_DEVICES="1" SLURM_JOB_ID=26017 SLURM_STEP_NODELIST=localhost SLURM_NTASKS=2 SLURM_PROCID=1 SLURM_LOCALID=0 SLURM_STEP_NUM_NODES=2  python t.py

produces
process_count 2
process_index 1
local_devices [StreamExecutorGpuDevice(id=1, process_index=1, slice_index=0)]
local_device_count 1
devices [StreamExecutorGpuDevice(id=0, process_index=0, slice_index=0), StreamExecutorGpuDevice(id=1, process_index=1, slice_index=0)]
[[1. 1.]]
[[2. 2.]]

on TPUs, when running with the snippet suggested by @skye at https://github.com/google/jax/issues/8809#issuecomment-988495501
TPU_CHIPS_PER_HOST_BOUNDS=1,2,1 TPU_HOST_BOUNDS=1,1,1 TPU_VISIBLE_DEVICES=0 TPU_MESH_CONTROLLER_ADDRESS=localhost:8476 TPU_MESH_CONTROLLER_PORT=8476 SLURM_JOB_ID=26017 SLURM_STEP_NODELIST=localhost SLURM_NTASKS=2 SLURM_PROCID=0 SLURM_LOCALID=0 SLURM_STEP_NUM_NODES=2 python t.py
TPU_CHIPS_PER_HOST_BOUNDS=1,2,1 TPU_HOST_BOUNDS=1,1,1 TPU_VISIBLE_DEVICES=1 TPU_MESH_CONTROLLER_ADDRESS=localhost:8476 TPU_MESH_CONTROLLER_PORT=8476 SLURM_JOB_ID=26017 SLURM_STEP_NODELIST=localhost SLURM_NTASKS=2 SLURM_PROCID=1 SLURM_LOCALID=0 SLURM_STEP_NUM_NODES=2 python t.py

we get the following.
process_count 1
process_index 0
local_devices [TpuDevice(id=0, process_index=0, coords=(0,0,0), core_on_chip=0)]
local_device_count 1
devices [TpuDevice(id=0, process_index=0, coords=(0,0,0), core_on_chip=0)]
[[1. 1.]]
[[1. 1.]]

Note that the TPU example does not recognize other devices, thus making the psum fails.
Use cases
We are using jax.distributed this way in our new distributed RL platform Cleanba, which supports different ways to leverage accelerators. Specifically, the users can only use 1 accelerator core for the actor, multiple accelerator cores for the learner, and replicate the training process through jax.distributed. Below is a figure showing our results

The format a0_l1 2 3 4_d1 means the actor runs on GPU 0 (a0), the learner runs on GPU 1 2 3 4 (l1 2 3 4), and the computation is replicated/distributed one time (d1). The blue baseline curve corresponds to a0_l1 2 3_d2.
TPUv4 is fast, and the results on a0_l1 2_d1 is pretty great. However, because of the problem listed in this issue, I couldn't test out the a0_l1_d2 to fully utilize 4 chips on TPUv4. If a0_l1_d2 were to work, I can expect it to be 10-20% faster than our current fastest 8 A100 setting, which would be very exciting 😬

[x] Check for duplicate requests.
[x] Describe your goal, and if possible provide a code snippet with a motivating example.

Hi, sorry for the delay on this!
I'm not 100% clear on the exact configuration you're trying to run. I updated https://gist.github.com/skye/f82ba45d2445bb19d53545538754f9a3 with a few more examples of communicating processes. For example, to run 2 communicating processes each with 2 chips:
TPU_CHIPS_PER_PROCESS_BOUNDS=1,2,1 \
  TPU_PROCESS_BOUNDS=2,1,1 \
  TPU_PROCESS_ADDRESSES=localhost:8476,localhost:8477 \
  TPU_VISIBLE_DEVICES=0,1 \
  TPU_PROCESS_PORT=8476 \
  CLOUD_TPU_TASK_ID=0 \
  python3 -c 'import jax
print("device count", jax.device_count())
print("local device count", jax.local_device_count())
print("process idx", jax.process_index())
print("local devices", jax.local_devices())'

TPU_CHIPS_PER_PROCESS_BOUNDS=1,2,1 \
  TPU_PROCESS_BOUNDS=2,1,1 \
  TPU_PROCESS_ADDRESSES=localhost:8476,localhost:8477 \
  TPU_VISIBLE_DEVICES=2,3 \
  TPU_PROCESS_PORT=8477 \
  CLOUD_TPU_TASK_ID=1 \
  python3 -c 'import jax
print("device count", jax.device_count())
print("local device count", jax.local_device_count())
print("process idx", jax.process_index())
print("local devices", jax.local_devices())'

yields:
device count 4
local device count 2
process idx 0
local devices [TpuDevice(id=0, process_index=0, coords=(0,0,0), core_on_chip=0), TpuDevice(id=2, process_index=0, coords=(0,1,0), core_on_chip=0)]

device count 4
local device count 2
process idx 1
local devices [TpuDevice(id=1, process_index=1, coords=(1,0,0), core_on_chip=0), TpuDevice(id=3, process_index=1, coords=(1,1,0), core_on_chip=0)]

Note that for communicating processes, you must have an equal number of chips in each process.
Please let me know if this answers your question, or if you're trying to do something else!

That you so much @skye! This is precisely what I needed! My experiments show that in my particular setting, 8 TPUv4 cores perform similarly to 8 A100 cores. Closing this issue now.


delete key should ask for comfirmation

Right now vimiv will simply delete the file, which could lead to accidently deleted images.
Either show a comfirmation dialog (not very vim-like) or use something like the proposed #2
The same applies for stuff like flipping.

As the key does not delete the image but move it to ~/.vimiv/Trash I don't think much harm could be done. For flipping and so on one could just flip again and the image would be back to normal, I don't see how this could be a problem.
But as I accepted the feature request for a command mode you could just bind those things to keys that don't exist and always use the commands.

Closing as #2 was implemented.


convert to GitHub Pages site?

That way we wouldn't need to worry about external hosting, continuous deployment, etc.
/cc @gregelin @joshuamckenty

Converted!


Better error messages

To get better error messages that just "not found" you could implement the missing methods but have them take an argument whose name is the error message. It's not pretty, but at least somewhere in the "wrong number of args" error message there would be a hint about the actual issue.

@TedDriggs - your approach won't work, because if two fields are missing I'll have two deprecated build() methods, and the compiler won't allow that.
I don't think @emosenkis' approach will work either, because I'm not using traits here (don't want to force the user to import a preamble for every TypedBuilder struct they use) and having multiple methods with the same name but different signatures on the same struct (not via traits) is method overloading - which Rust does not support.


Fix typo

Fixes typo in README

Coverage remained the same at 100.0% when pulling f56d9974d4ea34efb272966654bceb56c76e5a6e on antond:patch-1 into 867446918ba11814ca62f59fb935ad3fd5f074bd on lob:master.


Language files deleted

Many language files were deleted in #1527

Well, that is obviously not right.


add naming tutorial

Description
(Brief description on what this PR is about)
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Great tutorial, it was much needed and clarifies what is going on under the hood with the naming scopes 👍

Still have problem save and load. https://github.com/apache/incubator-mxnet/issues/10544


Revert "Bump redis from 4.1.4 to 4.2.1"

Reverts davidrunger/david_runger#2933

This reverts a PR that accidentally undid this PR: https://github.com/davidrunger/david_runger/pull/2923 . See motivation there. tl;dr we are logging this a ton:

Jun 19 08:40:39 davidrunger app/web.1 15:40:38 sidekiq.1 | Redis#exists(key) will return an Integer in redis-rb 4.3. exists? returns a boolean, you should use it instead. To opt-in to the new behavior now you can set Redis.exists_returns_integer =  true. To disable this message and keep the current (boolean) behaviour of 'exists' you can set Redis.exists_returns_integer = false, but this option will be removed in 5.0. (/app/vendor/bundle/ruby/2.7.0/gems/sidekiq-6.0.7/lib/sidekiq/launcher.rb:160:in `block (2 levels) in ❤')


download time ordering filter

for fmad20 time ordering is best effort, using a small merge window due to the realtime processing requirements.
Wireshark requires strict and exact time ordering in the PCAP for effective protocol processing. Thus need to provide an option for deep time merge/sort window to ensure the output remains in strict time order.
As this will slow down the download processing it has to be an option and not the default setting, tho depending on how resource intensive the sort is, it may be end up being the default setting. will have to see

in addition, for out of band timestamping e.g. ERSPAN/DANZ/MetaMako where the TS is even further removed this post processing step is even more important. As due to ingress/egress per port buffering the timestamps could be all over the place.

default setting is sorting enabled, 8K packet window or 10msec window.
The additional overhead has reduced the maximum download speed. This is caused the quite high per packet overhead now, theres 3-4 function calls per packet which causes alot of slowness. Not sure what the best approach to bring the perf back up. The sorting addition costs ~ 1Gbps of speed when running with 64B line rate packets

full regression has passed, fw released 20170326_2232 / 3914
closing


🐞 #Bug Fix --trash directive

Hey,
Hope you're well
Thanks for awesome software
I'm currently unable to use the --trash directive
I'm using the latest version and believe I've upgraded all requirements, but still no luck...
Device: Apple MBP (desktop)
Platform: OS X
Type: Desktop
Version: 10.11.3
Apple-MacBook-Pro:~ ldexterldesign$ cd /Applications/elodie/
Apple-MacBook-Pro:elodie ldexterldesign$ ./elodie.py import --source="/Volumes/server/_todo/image/_1" --destination="/Volumes/server/_todo/image/_2" --trash
Traceback (most recent call last):
  File "./elodie.py", line 232, in <module>
    main()
  File "/Library/Python/2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/Library/Python/2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Python/2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Python/2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "./elodie.py", line 98, in _import
    trash)
  File "./elodie.py", line 61, in import_file
    send2trash(_file)
  File "/Library/Python/2.7/site-packages/send2trash/plat_osx.py", line 48, in send2trash
    check_op_result(op_result)
  File "/Library/Python/2.7/site-packages/send2trash/plat_osx.py", line 37, in check_op_result
    raise OSError(msg)
OSError: Directory not found
Apple-MacBook-Pro:elodie ldexterldesign$ pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): click<7.0,>=6.2 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): requests<3.0,>=2.9.1 in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): send2trash<2.0,>=1.3.0 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 3))
Apple-MacBook-Pro:elodie ldexterldesign$ pip install -r requirements.txt --upgrade
Requirement already up-to-date: click<7.0,>=6.2 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 1))
Requirement already up-to-date: requests<3.0,>=2.9.1 in /usr/local/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already up-to-date: send2trash<2.0,>=1.3.0 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 3))

Are there currently any known issues and/or can you help fix it?
Hope to hear back
Kind regards

BUMP

BUMP

BUMP

@ldexterldesign do you happen to know which file this fails on? Curious if there are some special characters in the file name that are causing issues. You should be able to see the last processed file in the script's output.
Here's the line from send2trash which is causing the error.

Cheers for reply
App' fails on the first file:
Apple-MacBook-Pro:~ ldexterldesign$ cd /Applications/Elodie/
Apple-MacBook-Pro:Elodie ldexterldesign$ ./elodie.py import --source="/Volumes/server/_todo/image/_1" --destination="/Volumes/server/_todo/image/_3" --trash
/Volumes/server/_todo/image/_1/20131121/2013-01-13 17.15.48-1.jpg -> /Volumes/server/_todo/image/_3/2013-01-Jan/Unknown Location/2013-01-13_16-15-48-2013-01-13 17.15.48-1.jpg
Traceback (most recent call last):
  File "./elodie.py", line 232, in <module>
    main()
  File "/Library/Python/2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/Library/Python/2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Library/Python/2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Python/2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "./elodie.py", line 98, in _import
    trash)
  File "./elodie.py", line 61, in import_file
    send2trash(_file)
  File "/Library/Python/2.7/site-packages/send2trash/plat_osx.py", line 48, in send2trash
    check_op_result(op_result)
  File "/Library/Python/2.7/site-packages/send2trash/plat_osx.py", line 37, in check_op_result
    raise OSError(msg)
OSError: Directory not found

Hope to hear back
Kind regards

BUMP

@ldexterldesign Do you mind trying the following and confirming you get the same results?
(elodie) ➜  elodie git:(master) ✗ touch text.txt
(elodie) ➜  elodie git:(master) ✗ python
Python 2.7.11 (default, Jan 22 2016, 08:29:18)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from send2trash import send2trash
>>> send2trash('text.txt')
>>>
(elodie) ➜  elodie git:(master) ✗ ls text.txt
ls: text.txt: No such file or directory

Cheers for reply
Apple-MacBook-Pro:~ ldexterldesign$ touch text.txt
Apple-MacBook-Pro:~ ldexterldesign$ python
Python 2.7.12 (default, Jun 29 2016, 14:05:02)
[GCC 4.2.1 Compatible Apple LLVM 7.3.0 (clang-703.0.31)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from send2trash import send2trash
>>> send2trash('text.txt')
>>> ls text.txt
  File "<stdin>", line 1
    ls text.txt
          ^
SyntaxError: invalid syntax
>>>
Apple-MacBook-Pro:~ ldexterldesign$ ls text.txt
ls: text.txt: No such file or directory
Apple-MacBook-Pro:~ ldexterldesign$ pwd
/Users/ldexterldesign
Apple-MacBook-Pro:~ ldexterldesign$ ls /Users/ldexterldesign/text.txt
ls: /Users/ldexterldesign/text.txt: No such file or directory
Apple-MacBook-Pro:~ ldexterldesign$

Hope this is useful
Kind thanks

What about ls /Users/ldexterldesign/.Trash/text.txt?
Is this the computer you're running elodie on and getting this error?

Apologies for delay
Cheers for reply
I tried a more localised OS X install this time (i.e. /Users/ldexterldesign/Applications rather than /Applications) and everything working fine now
Out of interest, where do you install your default OS X apps?:
/Applications
~/Applications

Kind thanks

Thanks for following up. I install git repos somewhere in my home directory and not alongside other apps.

FYI Same issue this evening, after a clean OS install. I localised the install like https://github.com/jmathai/elodie/issues/121#issuecomment-239715489 but, unfortunately, hasn't fixed things this time...
Regards

@ldexterldesign I added tests for the --trash (#165) option and I'm not able to reproduce a problem. Did you want to reopen this and try to troubleshoot your issue?

FWIW the tests pass on my laptop (OS X) and on TravisCI (Debian Linux).

I moved both my source and destination files from /Volumes/synology (Linux), which is my NAS, to /Users/ldexterldesign/Desktop (OS X) and --trash works
Besides possibly permissions, can you think why running OS X commands on an external volume / file system may not work?
Yours hopefully

Follow up
Nope, nothing to do with file name/path syntax AFAIC
I setup a test at the root of my NAS in simple source and destination folders containing no spaces and use of --trash failed
I then setup a test on my desktop using complex (i.e. long file names with spaces) source and destination folders and use of --trash succeeded
Let me know if you have any issue - happy to help
Hope this is useful
Regards

@ldexterldesign I believe the issue is that you're running the code on OS X but trying to send a file on a linux system to the trash. Since the code being run is only aware of the operating system it's executing on it's not able to locate the trash on another system.
The send2trash module we're use for the --trash option runs different code based on the OS.

Cheers for reply
Needless to say, glad we got to the bottom of that one!
Keep up the great work
Kind thanks


Django 1.10 support?

Looking for a documentation framework, does drf docs support Django 1.10? The readme only mentions 1.8 and 1.9.

It doesn't support 1.10 yet. I just tested it and I'm getting an import error.

Seems to be working ok with Django 1.10.


Please clarify scenario on which the customer has Virtual Machine Availability set.

kindly clarify , VMSS as a requirement and if possible an alternative for people using VMAS.
thank you

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

ID: 077f1bb5-2ba9-490c-2c6e-0de292266539
Version Independent ID: 0fd87b4f-88a4-c2eb-3ebc-f2b113ac203c
Content: Use the cluster autoscaler in Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/cluster-autoscaler.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@porrascarlos802018 We are checking this and we will get back to you.

@porrascarlos802018 Can you please elaborate on your suggestion for doc update-
'kindly clarify , VMSS as a requirement'?
Not completely sure about if this is what you are looking for, but the doc mentions this about VMSS,

The cluster autoscaler is a Kubernetes component. Although the AKS cluster uses a virtual machine scale set for the nodes, don't manually enable or edit settings for scale set autoscale in the Azure portal or using the Azure CLI. Let the Kubernetes cluster autoscaler manage the required scale settings.'

We will now close this issue. Please share the details when you are ready and tag me in a comment. I will reopen it and we will gladly continue the discussion.


feat(atomic): added slot inside of atomic-result-badge

https://coveord.atlassian.net/browse/KIT-1092
Allows for the following kind of syntax:
<atomic-result-badge
  icon="https://raw.githubusercontent.com/Rush/Font-Awesome-SVG-PNG/master/black/svg/language.svg"
>
  <atomic-result-multi-value-text field="language"></atomic-result-multi-value-text>
</atomic-result-badge>

Example
Badge with the language field:

Badge with a atomic-result-multi-value-text slotted element:

I think that's the kind of feature that is neat, but that we don't actually have any way to showcase.

I don't really intend to showcase this feature so much as implement a solution for a problem that I expect we'd receive maintenance cases for. Perhaps it's too early, but things such as a multi-value field or formatted numbers would be difficult to support without this feature.
Since this solution is still overall very simple, I prefer to have it than to recommend people make their own badges, which would be more of a hassle than I think is worth, and could introduce weird implementations that have a mix of our badges and their badges.
Another solution could be to remove badges altogether, but I think badges are something that a lot of people will need, and having them ready-made and perfectly compatible with our result sections improves the developer experience. Plus, they serve as a good reference as to what styling people should use for components in the actions section. I think badges also help push our product's design.

I think that's the kind of feature that is neat, but that we don't actually have any way to showcase.

I don't really intend to showcase this feature so much as implement a solution for a problem that I expect we'd receive maintenance cases for. Perhaps it's too early, but things such as a multi-value field or formatted numbers would be difficult to support without this feature.
Since this solution is still overall very simple, I prefer to have it than to recommend people make their own badges, which would be more of a hassle than I think is worth, and could introduce weird implementations that have a mix of our badges and their badges.
Another solution could be to remove badges altogether, but I think badges are something that a lot of people will need, and having them ready-made and perfectly compatible with our result sections improves the developer experience. Plus, they serve as a good reference as to what styling people should use for components in the actions section. I think badges also help push our product's design.

I'm not saying not to go ahead with this feature or PR, it is a good idea.
I just want to point out/give you an idea that the work you have done here is "incomplete", and to keep that in the back of your mind ;)

I'm not saying not to go ahead with this feature or PR, it is a good idea.
I just want to point out/give you an idea that the work you have done here is "incomplete", and to keep that in the back of your mind ;)

I think I see what you mean. I'll try to put something more descriptive of the slot, and maybe even add an example, and I'll update the description of the component itself.


Document all Ludolph decorators

Document usage of all Ludolph command, webhooks and cron decorators and user exceptions.

Added Commands and Webhooks and cron jobs wiki pages.

Updated documentation. Please review.


Use PsDownload module instead of Invoke-WebRequest

We may able to get the last modified date with this module which would allow us to get rid of the Adobe Acrobat FTP code and also add a bunch of other admx files that has no versioning.
Have a look and tell me what you think:
https://github.com/DanGough/PsDownload

The modified date will be updated once download has complete to match the Last-Modified header if found.

An even better attempt in terms of performance would be using Start-BitsTransfer instead of Invoke-WebRequest, and no third party dependencies, too. would this help? @JonathanPitre
cc @msfreaks

I would copy the module code into a function instead of calling the module.

can you elaborate file an example?

Sure, I would just copy the code from https://github.com/DanGough/PsDownload/blob/main/PsDownload/Public/Invoke-Download.ps1 and paste it into the functions list on top to avoid loading the module every time. The module is not updated too often anyways.
I recommend you read the PsDownload Readme, it's faster than Invoke-WebRequest and Start-BitsTransfer. It also fixes other known issues.

Ah I see now. Well if start-bittransfer is technically suitable I would really try to stick with it, it is fast and certainly fast enough for the job. But it is up to you.


Expose CAData in EKS CRD

What problem are you facing?

This is the current EKS object status:
// ClusterObservation is the observed state of a cluster.
type ClusterObservation struct {
	// The Amazon Resource Name (ARN) of the cluster.
	Arn string `json:"arn,omitempty"`

	// The Unix epoch timestamp in seconds for when the cluster was created.
	CreatedAt *metav1.Time `json:"createdAt,omitempty"`

	// The endpoint for your Kubernetes API server.
	Endpoint string `json:"endpoint,omitempty"`

	// The identity provider information for the cluster.
	Identity Identity `json:"identity,omitempty"`

	// The platform version of your Amazon EKS cluster. For more information, see
	// Platform Versions (https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html)
	// in the Amazon EKS User Guide .
	PlatformVersion string `json:"platformVersion,omitempty"`

	// The VPC configuration used by the cluster control plane. Amazon EKS VPC resources
	// have specific requirements to work properly with Kubernetes. For more information,
	// see Cluster VPC Considerations (https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html)
	// and Cluster Security Group Considerations (https://docs.aws.amazon.com/eks/latest/userguide/sec-group-reqs.html)
	// in the Amazon EKS User Guide.
	ResourcesVpcConfig VpcConfigResponse `json:"resourcesVpcConfig,omitempty"`

	// The current status of the cluster.
	Status ClusterStatusType `json:"status,omitempty"`
}

We've generated the bearer token and we want to generate a k8s client based on the observed states in EKS object. Currently, CAData is missing, and we have to issue a dedicate request to AWS to retrieve the CA data, which is not ideal.
How could Crossplane help solve your problem?

It would be ideal if EKS object can expose a field CAData in the struct above https://github.com/crossplane/provider-aws/blob/2fdde09cccaf56a8b0e770d92318d46989704a7b/apis/eks/v1beta1/types.go#L231-L259
, and it can be done by simply exposing the CA data from EKS DescribeCluster results https://github.com/crossplane/provider-aws/blob/2fdde09cccaf56a8b0e770d92318d46989704a7b/pkg/clients/eks/eks.go#L218-L223

@hanlins I believe this CA data is included in the connection secret if you specify writeConnectionSecretTo (probably encoded in a kubecfg file). Would that work as an alternative, rather than adding this as a status field?

Hey @negz, thanks for the response! I doubt if there's code persisting EKS CA data into the secret, this is what I found:
➜  provider-aws git:(topic/955/expose-eks-cadata) ag -g '!apis' -g '!package' -s WriteConnectionSecretToReference
pkg/controller/rds/dbcluster/setup.go
86:	pw, _, err := rds.GetPassword(ctx, e.kube, &cr.Spec.ForProvider.MasterUserPasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
107:	pw, _, err := rds.GetPassword(ctx, e.kube, &cr.Spec.ForProvider.MasterUserPasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)

pkg/controller/rds/dbinstance/setup.go
90:	pw, _, err := rds.GetPassword(ctx, e.kube, cr.Spec.ForProvider.MasterUserPasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
127:	pw, _, err := rds.GetPassword(ctx, e.kube, cr.Spec.ForProvider.MasterUserPasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
149:	pw, pwchanged, err := rds.GetPassword(ctx, e.kube, cr.Spec.ForProvider.MasterUserPasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
288:	_, pwChanged, err := rds.GetPassword(ctx, e.kube, cr.Spec.ForProvider.MasterUserPasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)

pkg/controller/database/rdsinstance.go
161:	pw, _, err := rds.GetPassword(ctx, e.kube, cr.Spec.ForProvider.MasterPasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
210:	pwd, changed, err := rds.GetPassword(ctx, e.kube, cr.Spec.ForProvider.MasterPasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)

pkg/controller/mq/broker/setup.go
84:	pw, _, err := mq.GetPassword(ctx, e.kube, &cr.Spec.ForProvider.CustomUsers[0].PasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
109:	pw, _, err := mq.GetPassword(ctx, e.kube, &cr.Spec.ForProvider.CustomUsers[0].PasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)

pkg/controller/mq/user/setup.go
92:	pw, _, err := mq.GetPassword(ctx, e.kube, &cr.Spec.ForProvider.PasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
124:	pw, _, err := mq.GetPassword(ctx, e.kube, &cr.Spec.ForProvider.PasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
146:	pw, pwchanged, err := mq.GetPassword(ctx, e.kube, &cr.Spec.ForProvider.PasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
161:	pw, _, err := mq.GetPassword(ctx, e.kube, &cr.Spec.ForProvider.PasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)
178:	_, pwChanged, err := mq.GetPassword(ctx, e.kube, &cr.Spec.ForProvider.PasswordSecretRef, cr.Spec.WriteConnectionSecretToReference)

pkg/clients/rds/rds.go
447:	_, pwdChanged, err := GetPassword(ctx, kube, r.Spec.ForProvider.MasterPasswordSecretRef, r.Spec.WriteConnectionSecretToReference)

pkg/clients/rds/rds_test.go
241:							WriteConnectionSecretToReference: &xpv1.SecretReference{
291:							WriteConnectionSecretToReference: &xpv1.SecretReference{

Also, seems the secret is used for persisting credentials (e.g. passwords), I'm not sure if CACert is something we should dump into secrets? It would be straightforward if it can be part of the Cluster status cuz it's the aws eks describe-cluster command output.

@negz I see. Came across a demo and it seems the kubeconfig is persisted in the secret you mentioned above. Technically yes, we can retrieve the CA data there in the secret, but it's not ideal for our use case. In my team's use case, we don't use the kubeconfig from EKS directly, and instead, we construct our own kubeconfig file using a bearer token (EKS's kubeconfig is using credential plugin that has a dependency on aws binary, we don't want that). It would be nice to access the CA data directly from the Cluster object status rather than reference the secret, and then parse the whole kubeconfig just to extract the CAData.
I think it's reasonable to expose the CA data in Cluster status since 1). it's endpoint's property and it's not really a credential, 2). it's part of aws eks describe-cluster's response so it's natural to reflect it in the Cluster CRD. Let me know your concerns for this change :D

While technically the CA data is encoded in the kubeconfig in writeConnectionSecretTo, it's not possible to extract it from crossplane for further use.
Our usecase is to write a Kubernetes secret for ArgoCD:
    - name: argocd-cluster
      base:
        apiVersion: kubernetes.crossplane.io/v1alpha1
        kind: Object
        spec:
          # deletionPolicy: Orphan
          forProvider:
            manifest:
              apiVersion: v1
              kind: Secret
              metadata:
                name: # patched
                namespace: argocd
                labels:
                  argocd.argoproj.io/secret-type: cluster
              type: Opaque
              stringData:
                config: # patched
                name: # patched
                server: # patched
      patches:
        - type: CombineFromComposite
          combine:
            variables:
            - fromFieldPath: metadata.name
            - fromFieldPath: metadata.name
            strategy: string
            string:
              fmt: |
                {
                  "awsAuthConfig": {
                    "clusterName": "%s",
                    "roleARN": "arn:aws:iam::111122223333:role/%s"
                  },
                  "tlsClientConfig": {
                    "insecure": false,
                    "caData": "<base64 encoded certificate>"
                  }
                }
          toFieldPath: spec.forProvider.manifest.stringData.config
        - type: CombineFromComposite
          combine:
            variables:
            - fromFieldPath: metadata.name
            - fromFieldPath: metadata.name
            strategy: string
            string:
              fmt: "https://%s.%s.svc"
          toFieldPath: spec.forProvider.manifest.stringData.server
        - fromFieldPath: metadata.name
          toFieldPath: spec.forProvider.manifest.stringData.name


Disable JS when not logged in

Also adds ability to disable tool signup

Codecov Report

Merging #530 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             master    #530      +/-   ##
===========================================
- Coverage      0.95%   0.95%   -0.01%
  Complexity     3660    3660
===========================================
  Files           208     208
  Lines         22581   22591      +10
===========================================
  Hits            216     216
- Misses        22365   22375      +10

Impacted Files
Coverage Δ
Complexity Δ

acc.php
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

config.inc.php
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

Continue to review full report at Codecov.

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


[WIP] Marshal SDS call credential config using deterministic order

Currently, the call credential config in SDS config has protobuf.Any.value field which is not serialized deterministically. Therefore, for one SDS config with the same resource name that comes within various listener config and cluster config, Envoy calculates different hash key, and creates multiple SDS clients to fetch key/cert and ca cert from node agent. Changing the marshal function to use deterministic order could guarantee that only one SDS client is created for each unique SDS config.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: JimmyCYJ
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: greghanson
If they are not already assigned, you can assign the PR to them by writing /assign @greghanson in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@JimmyCYJ: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
493851c4bd0b7022f9e20afae8180f2af9c7da21
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
493851c4bd0b7022f9e20afae8180f2af9c7da21
link
/test istio-unit-tests

prow/istio-integ-k8s-tests.sh
493851c4bd0b7022f9e20afae8180f2af9c7da21
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
493851c4bd0b7022f9e20afae8180f2af9c7da21
link
/test istio-unit-tests

prow/istio-integ-k8s-tests.sh
493851c4bd0b7022f9e20afae8180f2af9c7da21
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
493851c4bd0b7022f9e20afae8180f2af9c7da21
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e_pilotv2_auth_sds.sh
493851c4bd0b7022f9e20afae8180f2af9c7da21
link
/test istio_auth_sds_e2e

prow/istio-integ-k8s-tests.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio_auth_sds_e2e

The new method marshalDeterministicAny() needs some fix. I am working on it.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio-pilot-multicluster-e2e

prow/e2e_pilotv2_auth_sds.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio-pilot-multicluster-e2e

prow/e2e_pilotv2_auth_sds.sh
ecd68a5fab83fb81f9190cf0ae2a1fde3336bd32
link
/test istio_auth_sds_e2e

prow/istio-integ-k8s-tests.sh
acb63589e7be85c803cb9fb9ecf043e25500c4ec
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
acb63589e7be85c803cb9fb9ecf043e25500c4ec
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
acb63589e7be85c803cb9fb9ecf043e25500c4ec
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
acb63589e7be85c803cb9fb9ecf043e25500c4ec
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
acb63589e7be85c803cb9fb9ecf043e25500c4ec
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
acb63589e7be85c803cb9fb9ecf043e25500c4ec
link
/test istio-pilot-multicluster-e2e

prow/istio-integ-k8s-tests.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio_auth_sds_e2e

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio-pilot-e2e-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test istio-pilot-e2e-envoyv2-v1alpha3

/test istio_auth_sds_e2e

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio-integ-k8s-tests

prow/istio-pilot-e2e-envoyv2-v1alpha3.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio-pilot-e2e-envoyv2-v1alpha3

prow/e2e_pilotv2_auth_sds.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e_pilotv2_auth_sds.sh
bf1a980cd5e011180f44173421d338acc90b5121
link
/test istio_auth_sds_e2e

prow/istio-integ-k8s-tests.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

The flakiness of prow/e2e_pilotv2_auth_sds.sh is getting worse. All failed tests are pilot_TestGrpc/...
https://k8s-gubernator.appspot.com/builds/istio-prow/pr-logs/directory/istio_auth_sds_e2e?

/test istio_auth_sds_e2e

@JimmyCYJ the flakiness starts from yesterday's https://github.com/istio/istio/pull/11476, we need to look into together.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-pilot-multicluster-e2e

prow/e2e_pilotv2_auth_sds.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@wattli Please take a look. Thanks.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: JimmyCYJ, wattli
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: greghanson
If they are not already assigned, you can assign the PR to them by writing /assign @greghanson in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-integ-k8s-tests.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-integ-k8s-tests

prow/istio-pilot-multicluster-e2e.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-pilot-multicluster-e2e

prow/e2e_pilotv2_auth_sds.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio_auth_sds_e2e

prow/e2e-simpleTests-cni.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test e2e-simpleTests-cni

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-pilot-multicluster-e2e

prow/e2e_pilotv2_auth_sds.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio_auth_sds_e2e

prow/e2e-simpleTests-cni.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test istio-integ-k8s-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-multicluster-e2e.sh
945a546ed059a41f428b29c09c3ff8e46ade9bf1
link
/test istio-pilot-multicluster-e2e

prow/e2e-simpleTests-cni.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test istio_auth_sds_e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@JimmyCYJ: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-simpleTests-cni.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test e2e-simpleTests-cni

prow/istio-integ-k8s-tests.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test istio-integ-k8s-tests

prow/e2e_pilotv2_auth_sds.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test istio_auth_sds_e2e

prow/istio-pilot-multicluster-e2e.sh
8038a4f5522170252a754676ba6226abee400a35
link
/test istio-pilot-multicluster-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: costinm, JimmyCYJ, wattli
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [costinm]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Adding a new Vector2 variable to SpriteComponent

Heyo,
i have been trying to do a sling game. The way I wanted to implement this is to:

use a joystickComponent as a base
Save the position of the knob of the JoystickComponent to determine where the projectile starts
Determine a vector2 on the line where the projectile (SpriteComponent) should travel
I tried to visualize this:

Vector2 direction = (joystick.knob.position - _baseKnobPosition) * -1
Basically direction is a point of the line the projectile travels across

Problem to solve
The problem is, that I can only pass the "position" variable but not the "direction". I need to pass both variables.
I tried importing half the flame library to allow me to add this variable but got nowhere.
Proposal
Can I have a new Vector2 for SpriteComponent, to determine the direction to which the projectile travels?
More information
I am trying to do this, kind of:

Thanks in advance ^^

Since you have extended the class, you can just add it yourself.
Something like this:
class Bullet extends SpriteComponent ... {
  Vector2 direction;

  Bullet({
    ...
    this.direction,
  }) : super (...);

That did it. Thanks :D


Update test suite

There is a basic test suite that checks things like steady solve for the cylinder and time-stepping, but it would be good to fill that out now that there are some more capabilities (LTI construction, stability analysis in complex mode, etc)

Closing... this will be an ongoing maintenance issue, but there is decent basic functionality for now


this message appears on the phone screen Chrome detected unusual code on this page and blocked it to protect your personal information (for example, passwords, phone numbers and credit cards)

Challenge Create a Form Element has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

Click here for cat photos.

Things cats love:

cat nip

laser pointers

lasagna

Top 3 things cats hate:

flea treatment

thunder

other cats

<input type="text" placeholder="cat photo URL">

@stierpeti91 You can use this to fix the issue
https://github.com/freeCodeCamp/freeCodeCamp/issues/14519#issuecomment-296224722

@stierpeti91 closing as duplicate of https://github.com/freeCodeCamp/freeCodeCamp/issues/13727. Happy coding!


feat(enhanced): drop child compiler from runtime module

Description

Uses dependency optimiization to preserve exports and module hoisting during chunk optimization to hoist modules into the runtime chunks
Related Issue

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist

[x] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] I have updated the documentation.

@squadronai review

@squadronai review

@squadronai review


clean query and path parameters

lgtm, merge when you feel like it

Can me merged (one more reviewer needed ;) )


Request uses schema - stripping example values

I'm attempting to convert a blueprint api file with example values for both request and response. The response works fine, given example values, it uses the values in the object body to provide examples for the api. The request, however, uses the schema which strips any example values.
example:

# Blog Posts [/posts]

## Retrieve All Posts [GET]
+ Request (application/json)
    + Attributes (array[BlogPost], fixed-type)

## Data Structures

### BlogPost (object)
+ id: 42 (number, required)
+ text: Hello World (string)
+ author (Author) - Author of the blog post.

### Author (object)
+ name: Boba Fett
+ email<EMAIL_ADDRESS>
converts to:
info:
  title: ''
  version: ''
  description: ''
paths:
  /posts:
    get:
      responses: {}
      summary: Retrieve All Posts
      description: ''
      tags: []
      parameters:
        - name: body
          in: body
          schema:
            type: array
            items:
              type: object
              properties:
                id:
                  type: number
                text:
                  type: string
                author:
                  type: object
                  properties:
                    name:
                      type: string
                    email:
                      type: string
                  description: Author of the blog post.
              required:
                - id
definitions:
  Blog Posts: {}
  BlogPost:
    type: object
    required:
      - id
    properties:
      id:
        type: number
      text:
        type: string
      author:
        type: Author
  Author:
    type: object
    properties:
      name:
        type: string
      email:
        type: string

(notice no examples) when I really want:
info:
  title: ''
  version: ''
  description: ''
paths:
  /posts:
    get:
      responses: {}
      summary: Retrieve All Posts
      description: ''
      tags: []
      parameters:
        - name: body
          in: body
          schema:
            type: array
            items:
              type: object
              properties:
                id:
                  type: number
                  example: 42
                text:
                  type: string
                  example: Hello World
                author:
                  type: object
                  properties:
                    name:
                      type: string
                      example: Boba Fett
                    email:
                      type: string
                      example<EMAIL_ADDRESS>                  description: Author of the blog post.
              required:
                - id
definitions:
  Blog Posts: {}
  BlogPost:
    type: object
    required:
      - id
    properties:
      id:
        type: number
      text:
        type: string
      author:
        type: Author
  Author:
    type: object
    properties:
      name:
        type: string
      email:
        type: string

(the example: <example value>)
My question is there a particular reason why the schema is used for the request? Could we add example values to the request?
Thanks!

Fixed at v1.1.0.
Thanks!

v1.1.1 released. Thnaks!


Did RoBERTa longer trained?

Thank you for great work and paper!
[1] I wonder if you guys trained RoBERTa longer than 3 epochs?
[2] Is there any log other than one included in the paper?

Hi, thank you!
For the RoBERTa results that are presented in the paper we trained for just 3 epochs. But if you fine-tune it for longer and take care of using warmup and bias correction you will see improved stability. This finding is consistent across all models we tried (BERT, RoBERTa, ALBERT).

Thank you for your quick reply.
Are you guys having an intention to share the distribution graph of results of the other models (other than just BERT)?

We have them in our paper when training for 3 epochs (Fig. 5).

@mmarius
Thank you so much!
Closing the issue.


Naming convention check failed

OK:
JSON: "param" : {"key" : "${\}"}
Result: 'Invalid key name: ${\}. Key names have to start with a character, digit or underscore.'
Not OK:
JSON: "param" : {"key" : "${/}"}
Result: 'The parameter '${/}' is not available!'
Also others like: 'The parameter '${$}' is not available!'
But expected: 'Invalid key name: ${/}. Key names have to start with a character, digit or underscore.'
I am not completely sure, but I would prefer the term 'letter' instead of 'character'. Because in my opinion also '/' and '\' are characters (but not letters).
Recommendation:
'Invalid key name: .... Key names have to start with a letter, digit or underscore.'

Hello Holger,
I pushed the change to stabi branch to fix this issue.
Thank you,
Son

Retest successful. Issue can be closed.

merged for version 0.13.1


doc: change README.md

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

Preview README at https://github.com/wendzhue/ng-zorro-antd/tree/change-readme.


Fix stdlib deployment targets for powerpc64 and powerpc64le

We use powerpc64 and powerpc64le for the target names, not ppc64 and
ppc64le.

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

We use powerpc64 and powerpc64le for the target names, not ppc64 and
ppc64le.

@swift-ci Please test and merge

CI failure is unrelated.


Add support for Neo4J Graph and ContentRetriever

For Issue #685

Summary by CodeRabbit

New Features

Introduced a Neo4jGraph class for enhanced interaction with Neo4j databases, including read/write operations and schema management.
Added a Neo4jContentRetriever for generating and executing Cypher queries from user questions, improving content retrieval from Neo4j databases.

Tests

Implemented tests for Neo4j database interactions and content retrieval functionalities, ensuring reliability and performance.

@langchain4j can you please take a look?

@langchain4j I have taken care of all the comments. Hope its good to merge 😊

Thank you @theawesomenayak awesome work!
Drop me an email and we get you a swag package :) perhaps we could also do a livestream together.
Feel free to send a PR to https://neo4j.com/labs/genai-ecosystem/langchain4j/ (edit this page on the top-right)
with your updates.

Thank you @theawesomenayak awesome work! Drop me an email and we get you a swag package :) perhaps we could also do a livestream together.
Feel free to send a PR to https://neo4j.com/labs/genai-ecosystem/langchain4j/ (edit this page on the top-right) with your updates.

Hi @jexp, I've sent a mail on your GitHub mail. Let me know if there's another address.

@theawesomenayak @jexp Neo4jContentRetrieverIT.shouldRetrieveContentWhenQueryIsValidAndOpenAiChatModelIsUsed stopped working, could you please check? 🙏


Can I synchronize the Player view?

Can I synchronize the Player view running in the service with the Player view of the activity?
There is a player playing in the service for background playback. I'm looking for a way to synchronize it with an activity's player when the user opens the activity again,
I hope you can help me.
The way I tried.
Static PLAY_SERVICE;

MainActivity
@onCreate
if(isServiceRunning ==true){
audioplayerView = PLAY_SERVICE.audioplayerView;
audioplayerView .play(); //It is possible to control through the method, but not through the player view of the activity.
}

I found a solution. Just use addView.

@eggham0518 Glad you figure that out


CTRL + Click for links in GDScript can fail to navigate.

Godot version:
3.2.1 245ecb6684d089940273564fb7a314e5e11ea72e
OS/device including version:
Win10 64-bit
Issue description:
It seems as of late there are occasions when the CTRL + Click links in code refuse to signal they've been clicked.  Maybe it's click area is having issues?
@Calinou Wondering if you might know the PR history of these.  Perhaps a regression?  I don't recall having this in happen 3.1.
It is tricky to reproduce, but managed to capture a GIF of it.  I'm repeatedly CTRL + Clicking this reference, and when I moved the mouse downward a little near the end of the GIF you can see it worked.

Steps to reproduce:
N/A
Minimal reproduction project:
N/A

I'm having the same problem, super annoying. Sometimes it just selects the text and sometimes it works correctly, bizarre.

Can anyone still reproduce this issue in recent builds (4.0 dev snapshots or 3.4 beta builds)?


Create an API to query forecast data textures

We need to get the location and file names for the global pollutant data textures in order to display them as maps on the frontend.
Acceptance Criteria

An API exists with details: GET /air-pollutant/data_textures
Required query parameters should be forecast_base_time
Success response : 200
If no data for the forecast_base_time : 404
if something goes wrong : 500
This will serve data from the data_textures collection in the standard Mongo database
Response should be JSON array with information about all textures associated with the forecast_base_time with following fields in each document:

[
  {
    "base_time": "2024-07-18T00:00:00Z",
    "variable": "no2",
    "time_start": "2024-07-18 00:00:00",
    "time_end": "2024-07-19 21:00:00",
    "chunk": "1 of 3",
    "source": "cams-production",
    "texture_uri": "/app/data_textures/2024-07-18_00/no2_2024-07-18_00_CAMS_global.chunk_1_of_3.webp",
    "min_value": 0,
    "max_value": 100
  },
  {
    "base_time": "2024-07-18T00:00:00Z",
    "variable": "o3",
    "time_start": "2024-07-18 00:00:00",
    "time_end": "2024-07-19 21:00:00",
    "chunk": "1 of 3",
    "source": "cams-production",
    "texture_uri": "/app/data_textures/2024-07-18_00/o3_2024-07-18_00_CAMS_global.chunk_1_of_3.webp",
    "min_value": 0,
    "max_value": 500
  },
  {
    "base_time": "2024-07-18T00:00:00Z",
    "variable": "pm10",
    "time_start": "2024-07-18 00:00:00",
    "time_end": "2024-07-19 21:00:00",
    "chunk": "1 of 3",
    "source": "cams-production",
    "texture_uri": "/app/data_textures/2024-07-18_00/pm10_2024-07-18_00_CAMS_global.chunk_1_of_3.webp",
    "min_value": 0,
    "max_value": 1000
  },
]

Test Checklist:

[ ] Test Analysis & discussion with developer
[ ] Write Test Cases / Charters
[ ] Test Cases & Charters Reviewed
[ ] Test Cases Executed
[ ] Test Charters Executed
[x] Regression tests executed
[ ] Automation Tests added to project

Regression -  31/07 PASSED ✅

Frontend:

Playwright Regression 31.07.24.pdf

Backend:

Test Analysis:
Write integration tests
Create test charter - Do an exploratory testing session using postman, checking lower risk areas that are not needed to be covered in integration tests


[SPDM 1.1.2] : KEY_EXCHANGE_RSP command

Hello All,
I'm trying to implement the KEY_EXCHANGE_RSP API on the responder side, went though lib_spdm implementation (libspdm_rsp_key_exchange.c) . To start with and simplify our implementation, max session count supported is 1 (so no multiple session supported) and no mutual authentication support.
For now, we are advertising that we support only ECDHE and generate DHE key and send the public key to the requester, calculate the secret key and store it locally in the structure.
Question - when does the responder use the secret key? I'm a beginner to session key implementation, is there a video or article to understand the usage of the secret key or session, this will help me understand the overall from KEY_EXCHANGE --> FINISH --> END_SESSION or PSK_KEY_EXCHANGE/
Thanks in Advance!
Goutham

From the specification :

The handshake includes an ephemeral Diffie-Hellman (DHE) key exchange in which the Requester and Responder each generate an ephemeral (that is, temporary) Diffie-Hellman key pair and exchange the public keys of those key pairs in the ExchangeData fields of the KEY_EXCHANGE request message and KEY_EXCHANGE_RSP response message. The Responder generates a DHE secret by using the private key of the DHE key pair of the Responder and the public key of the DHE key pair of the Requester provided in the KEY_EXCHANGE request message. Similarly, the Requester generates a DHE secret by using the private key of the DHE key pair of the Requester and the public key of the DHE key pair of the Responder provided in the KEY_EXCHANGE_RSP response message. The DHE secrets are computed as specified in clause 7.4 of RFC8446. Assuming that the public keys were received correctly, both the Requester and Responder generate identical DHE secrets from which session secrets are generated.

Once the Requester and Responder have the DHE secret they use the Key Schedule to generate more symmetric keys and IV masks that form the basis of a secure SPDM session, mainly the Requester Direction Data Secret and the Responder Direction Data Secret.

From the specification - I understand that part of the spec
It's not clear how I can test the secure session. Is there a test tool that I can install and acts as a requester which can send KEY_EXCHANGE, FINISH, application data, END_SESSION. So I can verify my code on the responder side

I think the do_session_via_spdm function in spdm-emu can be a reference. You may use the spdm_emu_requester as a requester.

@steven-bellock @Wenxing-hou : Thanks for the comments.
After the KEY_EXCHANGE --> FINISH SPDM commands are exchanged we establish the session_id and secret_key.
Questions:

Can you give me an example of secure communication usage, like what kind of application data can the requester encrypt and send to the responder
2)How does the responder interpret the received data and store it

Table 6 shows what messages can be sent in a secure session, which is pretty much everything.

Request
Response
Session
Outside of a session
Session phases

GET_MEASUREMENTS
MEASUREMENTS
Allowed
Allowed
Application Phase

FINISH
FINISH_RSP
Allowed
Prohibited
Session Handshake

PSK_FINISH
PSK_FINISH_RSP
Allowed
Prohibited
Session Handshake

HEARTBEAT
HEARTBEAT_ACK
Allowed
Prohibited
Application Phase

KEY_UPDATE
KEY_UPDATE_ACK
Allowed
Prohibited
Application Phase

END_SESSION
END_SESSION_ACK
Allowed
Prohibited
Application Phase

Not Applicable
ERROR
Allowed
Allowed
All Phases

GET_ENCAPSULATED_REQUEST
ENCAPSULATED_REQUEST
Allowed
Allowed
All Phases

DELIVER_ENCAPSULATED_RESPONSE
ENCAPSULATED_RESPONSE_ACK
Allowed
Allowed
All Phases

VENDOR_DEFINED_REQUEST
VENDOR_DEFINED_RESPONSE
Allowed
Allowed
Application Phase

CHUNK_SEND
CHUNK_SEND_ACK
Allowed
Allowed
All Phases

CHUNK_GET
CHUNK_RESPONSE
Allowed
Allowed
All Phases

GET_CSR
CSR
Allowed
Allowed
All Phases

SET_CERTIFICATE
SET_CERTIFICATE_RSP
Allowed
Allowed
All Phases

GET_DIGESTS
DIGESTS
Allowed
Allowed
All Phases

GET_CERTIFICATE
CERTIFICATE
Allowed
Allowed
All Phases

All others
All others
Prohibited
Allowed
Not Applicable

How does the responder interpret the received data and store it

If it's non-SPDM data then it's up to another specification to define it. For example PLDM may use the SPDM layer to encrypt and MAC the firmware as it's being sent to a device to do a firmware update.

MCTP message type = 0x5 (SPDM)
MCTP message type = 0x6 (secured message)
Secured message type has a header which has session_id field, is this session_id obtained from SPDM layer (KEY_EXCHANGE_RSP)?
If, yes, then to use a secured message over MCTP,  we must have SPDM layer as a requirement to get session_id.
If, no,  how does the secured message obtain session_id from?

Secured message type has a header which has session_id field, is this session_id obtained from SPDM layer (KEY_EXCHANGE_RSP)?
If, yes, then to use a secured message over MCTP, we must have SPDM layer as a requirement to get session_id.

Pretty much correct. There is a strong binding between Secure MCTP and SPDM, but another specification could come along that binds Secure MCTP to, say, TLS or something. But for the most part, yeah, it's SPDM that generates the session id.

@steven-bellock : Thanks again for the clarification
Let's assume the "Message" in the above figure is an SPDM message and the requester sent "GET_MEASUREMENTS" in the secure session. We can know by msg_type that this is SPDM type, but how does the responder interpret the message to know what kind of data it is - might be GET_MEASUREMENTS, FINISH or FINISH _RSP. Is there a field or format or header that can tell the responder what type of SPDM message is in application data or Message (highlighted in blue color)

Let's assume the "Message" in the above figure is an SPDM message and the requester sent "GET_MEASUREMENTS" in the secure session. We can know by msg_type that this is SPDM type, but how does the responder interpret the message to know what kind of data it is - might be GET_MEASUREMENTS, FINISH or FINISH _RSP. Is there a field or format or header that can tell the responder what type of SPDM message is in application data or Message (highlighted in blue color)

Answered in meeting.


[SE-0276] Syntax and Parse updates

The first commit is a cherry-pick of the Parse and Syntax changes from #27776 and reviewed by @rintaro, the second is the minimal set of changes needed to make them work with the old AST, plus a diagnostic saying the new syntax isn't yet supported.
The goal is to land the corresponding swift-syntax PR alongside this so the rest of #27776 becomes more manageable and easier to review.

apple/swift-syntax#190
@swift-ci please test

apple/swift-syntax#190
@swift-ci please test source compatibility

@rintaro thank you!
I also forgot to mention, I'm not sure if the rest of the SE-276 changes will be reviewed and merged before the 5.3 branch cut in a couple weeks. In that case, should we wait to merge this to avoid changing the swift-syntax API?
If you think this is ok to merge now, do you mind helping merge this alongside apple/swift-syntax#190? I don't have commit access to swift-syntax.

https://github.com/apple/swift/pull/27776 has landed

The main PR has been merged, so do we close this one?

yeah, this is no longer needed, closing


Feature: Last Modified Filter Parameter

Please specify the area for this PR
What does does this PR do / why we need it:
This PR adds an additional filter parameter for stacks/samples on the GET /v2index endpoint.
Changes made include:

Addition of last_modified.json and lastModified field to test data
Updated unit tests for proper filtering based on the lastModified parameter
Logic for creation of index.json to contain lastModified field based off of the last_modified.json created through registry build
Update to generator schema to reflect new field
Update to generator index_main.json to ensure last modified field is added correctly

Which issue(s) this PR fixes:
fixes https://github.com/devfile/api/issues/1327
PR acceptance criteria:

[ ] Test Coverage

Are your changes sufficiently tested, and are any applicable test cases added or updated to cover your changes?

Documentation (WIP)

[ ] Does the REST API doc need to be updated with your changes?
[ ] Does the registry library doc need to be updated with your changes?

How to test changes / Special notes to the reviewer:
FYI to reviewers: The linked issue has notes for GET /index and GET /v2index. The script that generates last_modified.json that was merged here currently creates this file based on the updated Schema used in v2index where there is a Versions field that contains []Version. For the /index we would need to adjust the script to add the lastModified field to the entire stack as a whole and not just the individual stack versions.

Go tests should pass for index/generator and index/server
To test locally you can spin up the registry and perform the following:

GET /v2index?lastModified=2024-04-29 to see more than 1 stack that has this date
GET /v2index?lastModified=2024-04-29&name=<name> to filter even further
GET /v2index/all, GET /v2index/stack GET/v2index/sample to observe the new field added in the response as well

I've added some comments.
Tried to test the registry viewer against the new devfile-index-base image. I've noticed that some stacks were not visible with the current index. Not sure if there'll be any impact on the current changes and the viewer:

Hmm that's interesting, it shouldn't be affecting the default index that is being returned at all. Are you running it with the test data? If so then it is displaying properly as far as I can tell from the screenshot: https://github.com/Jdubrick/registry-support/tree/main/tests/registry

/lgtm and after merging this PR I think we should create & prioritize an issue so the non-versioned stacks can also have the lastModified field with accurate data :)
Very nice feature!

Thanks Fanis! FYI I opened https://github.com/devfile/api/issues/1607 and will work on it once refined