Retry various transfer failures

We want to retry some calls in the event of an http error. We would typically not retry if the http call was successful and returned a status code, with the exception of upload transfers that can expire and return a 403. There are three calls that can be retried in these cases:

[x] Retry once when the transfer fails (timeout, http error, 403 with expiry)
[x] Retry once when a batch api call fails (timeout, http error)
[x] Retry once when old api call fails (timeout, http error)

And also:

[ ] Tests!

This is ready for review. It's fairly straight forward, when the api, download, or upload operations run through the transfer queue and get an error without an http response (e.g. timeout or network error) they will be added to the queue again to retry. The queue tracks which objects it has retried and only retries once for a given object. Uploads that receive a 403 will also be retried, this generally happens when an upload token has expired.
I'm not sure how we can automate end to end testing of this because the typical http handlers don't seem to allow you to cause an error that won't return a valid http response. We could add another test server to the rig that could work at a lower level, but I'm not sure that's worth doing. Open to suggestions here.

:+1: other than my general comments which you can either use or ignore :) Took me a little while to follow all the paths to try to look for race conditions but I think it's fine.

This revised version withholds all the failed transfers until the end then does the retries by reseting the batcher and going through the flow again. This should keep things a little more deterministic and straight forward.

This could use another full review with @rubyist's latest changes. I'll be looking at it first thing tomorrow.

:+1: I like the predictability of this approach (under the same error conditions).
An aside - right now you can't re-use the TransferQueue for more operations after Wait() because the WaitGroups will never be re-initialised, I think that should be either catered for or explicitly ruled out in the docs.

An aside - right now you can't re-use the TransferQueue for more operations after Wait() because the WaitGroups will never be re-initialised, I think that should be either catered for or explicitly ruled out in the docs.

TransferQueue has always worked that way (except for the brief period in this PR), but I agree we could document it better, I'll add that here. Changes to re-use a TransferQueue can be done separately.

:+1: Looks good.


Cassidy flashbang projectile orb is too large

Created by: MaxwellJung
The size of the orb used to create Cassidy flashbang is large enough to prevent Cassidy from flashing enemies whe aiming close to a corner/wall.
In OW1, flashbang had a width of 1 pixel.

Created by: MaxwellJung
Projectile orb is already at its smallest size. Impossible to fix

moved from ow1_emulator_backup#708


Fixes #62 : Create and setup workflow for CI/CD

Added the workflow and setup the secret in github. Fixed linting errors as well.

I'd be more comfortable if you assigned this review to @CFIALeronB


discord rich presence

will the servers here show up in the discord rich presence for lunar client in discord?

@ThatKawaiiSam @Anakinnnnn


WIP: Extend values-secret parsing to include files section

This extends values-secret.yaml parsing to allow entries of the form:
files:
  key: <filename>

Which requires that  exist and be a valid file.
This will add secrets of the form:
secrets//key file=
This works by cat'ing the file into a pipe with oc exec.

OK, those are fixed, and thanks for pointing them out.
Big question - it feels a little odd to me that the structure is different for files: and secrets:, but I did it the way I did because there's a fundamentally different structure in play (that is, you can't really have a multi-valued file). On the one hand it might be nice to keep the same structure in both parts of the file, but on the other (and the way I'm proposing) it's diffrerent; because you'd wind up tossing out part of the metadata.
Also, something I was thinking about is that the hardcoded key "file=" might be ambiguous - is it a name or the actual content? So I changed the hardcoded key to "content" because I feel that's more descriptive and not ambiguous. I expect we will talk about this on the team call Monday and I expect this to be part of the discussion on the Imperative Hackfest Lester requested to follow.

Good point re content vs file. I agree that content makes more sense. About the structure I think them being different is fine. Something I forgot to bring up which does not impact this review but is probably worth pointing out: With Andrew we had briefly discussed if there was a way to drop the values-secret.yaml format and just go a simple txt file.
I thought of something like:
aws:foo:pass:bar
aws:foo2:pass:bar2
config-demo:secret:pass: baz

This is really just an idea trying to answer the question "could we load secrets without ansible only using shell and maybe cut/awk etc?" I.e. we split the strings around the first three columns. First split-string is the path, then the second one is the attribute of the path, pass means "plain password" as opposed to "filename" which would do what you are doing here with ansible.
aws:foo:pass: bar
aws:foo2:pass:bar2
config-demo:secret:pass: baz
aap:apikey:filename: <filename.txt>

I need to try a POC to see if this is feasible and how horrible, but I just to wanted to mention it in advance of Monday's call ;)
In general this /lgtm


make compatible with Python 3 using six utilities

Compatibility with Python3.  I'm not 100% sure on the various unicodery bits.  Please take a close look at that.

obsolete


Pop is not connecting with slider i mean in beet attachment is not coming

@chikithreddy please try it on the real device, iOS Simulator doesn't support it.

Hello juri,
It is working fine. Thanks for the reply
Regards,
chikithreddy
On Wed, Feb 27, 2019 at 6:09 PM Juri Vasylenko<EMAIL_ADDRESS>wrote:

Closed #29 https://github.com/Ramotion/fluid-slider/issues/29.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Ramotion/fluid-slider/issues/29#event-2167850314, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AsIsSGYxHX14PXh_I7hSoHgzwy3cVRm_ks5vRnxwgaJpZM4bUZnl
.


Adding support for carrying ART annotations forward

ART has requested that we interrogate the inbound imagestreams for a specific set of Annotations and if/when present we carry them forward into the release mirror that the release-controller creates.  This PR adds the necessary support as well as the list of currently supported Annotations:

release.openshift.io/build-url
release.openshift.io/runtime-brew-event
release.openshift.io/inconsistency

/cc @jupierce

/lgtm
/hold
Thanks, Brad! Unhold at will!

/unhold


ANC @ Health Center - Labs - Syphilis-RPR Results [4h]

Issue
Related: https://github.com/Gizra/ihangane/issues/2825
Overview
During an ANC encounter, a patient sees a nurse who collects the appropriate samples for each test and then sends them to the lab (unless it is a rapid test). The samples are then processed by the lab and results are returned later that day. The patient will return to see the nurse after several hours and receive the results of the labs. Nurses will navigate from their Case Management screen to each patient awaiting lab results. The sub-activities will be all the tests that have been run but they do not yet have results for. The nurse will select the test she has results for and input them. She will do this for all tests she has results for. When she hits save that result will appear in the Progress Report for that patient.
Syphilis - RPR Specific
The possible results of a Syphilis - RPR test are:

Negative
Positive
Indeterminate

Screen One
Screen Two
Screen Three

Design
https://www.figma.com/file/nKKYxDmnEPm7CiXSXO1pq7/E-Heza-2021?node-id=5862%3A43429
To Do

Create activity (Syphilis Results?)
Style per design

@LudmilaGoichman
Please test on Nutrition env.

@isapisa @anvmn

https://nutrition-ihangane.pantheonsite.io/app
tablet

Question:
The activity is called "Laboratory". Maybe it should be called "Laboratory Results"?
Checked and Approved

sub-activity has been created

The flow:

the first encounter
case management
new sub-activity
possible results
the result field is mandatory
report

@LudmilaGoichman Laboratory is fine


Location Information is not correctly stored with Photo

If you are creating an issue for a BUG please fill out this information. If you are asking a question or requesting a feature you can delete the sections below.
Failure to fill out this information will result in this issue being closed. If you post a full stack trace in a bug it will be closed, please post it to http://gist.github.com and then post the link here.
Bug Information
Version Number of Plugin: 3.0.1
Device Tested On: iPhone 6S
Simulator Tested On:
Version of VS:
Version of Xamarin: 6.3 (build 864) for Mac
Versions of other things you are using:
Steps to reproduce the Behavior
  Take Photo with Location

Expected Behavior
   Photo Should be saved with below GPS location (Coordinates)
   Latitude: 52° 1’ 30.11” N
   Longitude: 0° 46’ 5.172” W

Actual Behavior
 Photo is Stored with below GPS location
  Latitude: 52° 1’ 30.11” N
  Longitude: 0° 0’ -0” E

Code snippet
Location location = new Location();
location.Latitude = 52.0271723411551;
location.Longitude = -0.764563267810425;
location.Altitude = 84;
location.HorizontalAccuracy = 165;
location.Speed = -1;
location.Direction = -1;
var file = await CrossMedia.Current.TakePhotoAsync(new StoreCameraMediaOptions
{
PhotoSize = Plugin.Media.Abstractions.PhotoSize.Full,
SaveToAlbum = true,
Location = location
});
Screenshots

Duplicate: https://github.com/jamesmontemagno/MediaPlugin/issues/309


Automatic captions aren't downloaded from some YouTube videos

Please follow the guide below

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

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

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

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

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

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

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--ignore-config', '-i', '--skip-download', '--all-subs', '--write-auto-sub', '--external-downloader=aria2c', '-v', 'https://www.youtube.com/watch?v=S5eHkoRQHnY']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.28
[debug] Python version 3.7.0 (CPython) - Darwin-17.5.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2
[debug] Proxy map: {}
[youtube] S5eHkoRQHnY: Downloading webpage
[youtube] S5eHkoRQHnY: Downloading embed webpage
[youtube] S5eHkoRQHnY: Refetching age-gated info webpage
[youtube] S5eHkoRQHnY: Looking for automatic captions
WARNING: Couldn't find automatic captions for S5eHkoRQHnY
[debug] Default format spec: bestvideo+bestaudio/best

Description of your issue, suggested solution and other information
on most youtube videos i try to download the automatic captions for, it usually downloads them with no issue. however, with this video in particular youtube-dl claims that there aren't any automatic captions, which is entirely false. i even have a screenshot to further prove my point here. not sure why this one video youtube-dl struggles with.

here's another video youtube-dl claims doesn't have automatic captions, when it definately does.

It is definitively a problem with age-restricted/age-gated videos only. In actual version "2019.04.30" it is still not working. But for anyone interested, there is a workaround - download using JDownloader2.


where is the data for processing

such as : fn_shp = '/home/atom/data/inventory_products/RGI/glims_rgi_region_12/glims_polygons.shp', where is the '/home/atom/data' directory, it is not provided in the repository?

Hi Xin,
The data processed within the study is available at https://doi.org/10.6096/13, including the RGI region 12 shapefile, which is specified in the first lines of the README. The raw input data is directly available through the data providers (GLIMS, NASA, etc) referenced in the paper.

Got it, thanks for your kind response.
Xin Luo

On Dec 16, 2021, at 11:12 PM, Romain Hugonnet @.***> wrote:
Hi Xin,
The data processed within the study is available at https://doi.org/10.6096/13 https://doi.org/10.6096/13, including the RGI region 12 shapefile, which is specified in the first lines of the README. The raw input data is directly available through the data providers (GLIMS, NASA, etc) referenced in the paper.
—
Reply to this email directly, view it on GitHub https://github.com/rhugonnet/ww_tvol_study/issues/2#issuecomment-995907466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKTWPY6XSQCCFHTG7W6XT7DURH6V7ANCNFSM5KGGUY6Q.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.


Problem with saving attributes readed from existing file

I'm trying to save shape file after reading it, but I receive exception
System.NotSupportedException: Unsupported dBASE field type: RuntimeType (System.Object)
From my investigation it looks like that problem is when field has null value
Sample code and shp file used to generate error attached
sample.zip

Related to #31.


[917] Clean up cookie logic

Context

https://trello.com/c/hXNq3Ci0/1305-update-cookie-banner-logic-to-include-server-side-check

Changes proposed in this pull request

Refactor the cookie banner logic so it includes a server side check. We won't render the markup at all if the cookie has been set and avoid the "flickering" that is happening on the browser. If the user clears their cookies, the markup will display and allow the user to set again.
Refactor the cookie page routes, it was previously overriding the default Rails cookies method
Simplify the cookie banner JS spec

Guidance to review

Check the cookie banner works as before

 [S] Update cookie banner logic to include server side check


org settings: Clean up streams and custom emoji section.

The streams settings are quite confusing here:

To fix this, let's re-write these as:
[ ] Allow users to create streams
    [ ] Prevent new users from creating streams for [INPUT] days
[ ] Allow users to add custom emoji

with the second setting greyed out when the first setting is unchecked.
To organize this, I would make a PR with the following commits:

Change the third setting
Change the first setting
Change the second setting
Link the first and second settings together

@zulipbot claim

@rishig Does it make sense to split out the "emoji" piece of this to another ticket?  It's not entirely clear to me why emojis should have a "waiting period," and if they do need a waiting period, it's not entirely clear to me it should be tied to stream settings specifically.  It should probably just be independent or rolled into a more generic "newbie for X days" setting.

Waiting period is only apply to stream creation. It doesn't apply to "emoji" section.

@YJDave Yep, but I'm still confused by that statement "Link the first and second settings together".  @rishig It might make sense to make two fresh tickets here, so that we don't conflate the streams piece here with the emoji piece.  If the emoji change here is really simple it would also be nice to make a PR first for that, so we can merge that easily, and then focus on the harder stream piece later.

To clarify, the first setting is:

The second setting is:

There is no longer anything that needs to be done with the third, emoji-related setting.


Stream callbacks use experimental JS feature

The JS code for Stream Callbacks uses Array.includes which apparently is a fairly new addition to the JS world and therefore isn't consistently supported across browsers (see here). We should switch to an alternative that has better browser support (indexOf probably being the best alternative).

We have never given much thought to various JS compatibility issues. We tend to use the latest chrome which supports all the nice ES6 features but there are browsers out there with even more miserable Javascript versions.
When we get round to refactoring our JS code, I think we should write everything in ES6 and let a tool like babel handle all the support for older browsers. I recently learned of this trick that lets you use the ES6 module system so that modern browsers can load ES6 code without losing support for older browsers that just load transpiled code (without loading things twice).
This is the approach I would take as it makes supporting older browsers relatively painless while retaining the more pleasant development experience of ES6.


13.basic-bot for node does not have a .bot file

Github issues for C# /JS / Java/ Python should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Sample information

Sample type: sample
Sample language: JavaScript/Node.js
Sample name: 13.basic-bot

Describe the bug
The instructions in the Readme say to open the basic-bot.bot file in the Emulator, but there is no .bot file.
Instructions:

Folder structure:

@sgellock It looks like you missed this sample in PR #916.
The Sample is indeed still missing the .bot file.

Seems that all bots in samples  for node with index > 10 are missing the .bot file

@JasonSowers once #920 is merged, can you resolve this Issue?  thanks


Add a helper for always ready futures

Currently, there is no easy way to wrap a given value in a zst future, so this PR adds one. The always_ready function has to take a closure to allow it to yield non-zsts without having to carry around it's size.
This is particularly useful in avoiding a heap allocation when a library needs Pin<Box<dyn Future<Output<T>>>, as a simple empty async block still has to allocate a boolean in this example for "has been polled".

Hey, @taiki-e, just letting you know I responded to your review comment.

This is particularly useful in avoiding a heap allocation when a library needs Pin<Box<dyn Future<Output<T>>>

I think adding this statement to the document would be helpful.


[backport v2.7-branch] stm32 adc define the internal voltage reference

the backport of https://github.com/zephyrproject-rtos/zephyr/pull/43861 to v2.7-branch failed.
Fixes https://github.com/zephyrproject-rtos/zephyr/issues/44049

not be be backported to v2.7 branch


Fix word in text

Change "occurences" to "occurrences".

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.


Add Crowdin support

This PR is somewhat untested. The GitHub Actions Workflows in particular are based on these examples and this video, but untested. I'll try and get round to testing them on my fork & using my test Crowdin project, but CI is always a pain to test. EDIT: done.
This will do nothing without setting up a Crowdin project, enabling "Allow GitHub Actions to create and approve pull requests", creating & adding a Crowdin personal access token with access to the Crowdin project. This is described in the gist I mentioned on discord.
One potential pitfall is allowing two-way translation sync. This could potentially result in repo changes clobbering Crowdin changes, if something is changed on crowdin, but then we also change something else in the repo and upload the result.
Best practice is probably to upload only the source (en_us.json), so that the translations are only ever modified by Crowdin. I thought it might be nice to allow translators to use GitHub if they prefer it to Crowdin, however this may be opening up a can of worms...
This can be avoided with upload_translations: false on all workflows.
Fixes #145

Status
I've tested and iterated on this over on my fork, using a test project on Crowdin.
Everything now seems to be working as intended.
I've added some user-facing documentation to the README.
Note on pre/post processor apps
The processor apps I asked you to install the other day will need to be uninstalled. I encountered a number of issues with them during testing, for example they caused all built translation files to be use the same name (zh-CN.json) and also ignore the languages mapping we configure.
Frustratingly it seems to take around 12 hours for removing the apps to actually affect how the project builds translations, since they seem to be cached aggressively.
Uninstalling them is kinda unintuitive too. You need to go to each on the marketplace, then:

Click "Install"
Select your account
Click "Uninstall"
Select "Freecam"

Before merging
You'll want to setup a few things in the github repo settings:

Allow GitHub Actions to create Pull Requests.

This is done at the bottom of Settings -> Actions -> General.

Add CROWDIN_PROJECT_ID to the repo's secrets.

The project ID is 639232.

Add CROWDIN_PERSONAL_TOKEN to the repo's secrets.

This needs to be generated in your Crowdin account settings, under API -> New Token (see Creating a Personal Access Token).
Name the token something like "Freecam GH Actions"
It should be granted the "project" scope and everything nested under "project".
Use "Granular access" and "Grant access to selected projects": It should only have access to the freecam project.
You shouldn't need a backup copy; if the token is ever lost a new one can be generated.

After merging
Now we'll need to initialize the Crowdin project by uploading what we have in the git repo:

Go to the repo's Actions page.
Manually run the "Crowdin (Upload Sources)" workflow
Manually run the "Crowdin (Upload Translations)" workflow

You can manually run a workflow by first clicking on the workflow in the side-bar, then using the "Run workflow" dropdown:

Crowdin PRs
Every 12 hours (as configured in crowdin-download-translations.yaml), the download workflow will build & download translations from Crowdin, then it'll commit any changes to the i18n/main branch and update/open a PR if there are any differences with main.
The PR will look like this.
Note on Crowdin branches
We all know about git branches, but it's worth highlighting that Crowdin also has its own "branch" concept (configured via crowdin_branch_name). This is essentially a top-level directory at the root of the crowdin project, allowing us to keep seperate "branches" of our translations.
This could prove useful should we need to maintain different translations for different freecam/minecraft versions.
Currently, the CI jobs are configured to only run on main, but other branches such as 1.19 could also be listed in future.


test: add daemon test

Signed-off-by: letty<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Add three daemon tests.
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Are we planning to test all daemon config parameters in the daemon test? @Letty5411
I think those are quite important for us.

Ci fails like:
Error: unknown flag: --config
time="2018-03-30T02:19:36Z" level=error msg="unknown flag: --config"
Failed to launch pouchd:[--listen=unix:///tmp/test/pouch/pouchd.sock --home-dir=/tmp/test/pouch --containerd=/tmp/test/pouch/containerd.sock --listen-cri=unix:///tmp/test/pouch/pouchcri.sock --config=xxx]
PASS: /go/src/github.com/alibaba/pouch/test/z_cli_daemon_test.go:133: PouchDaemonSuite.TestDaemonInvalideArgs	15.225s
PASS: /go/src/github.com/alibaba/pouch/test/z_cli_daemon_test.go:77: PouchDaemonSuite.TestDaemonListenTCP	2.532s
----------------------------------------------------------------------
FAIL: /go/src/github.com/alibaba/pouch/test/z_cli_daemon_test.go:141: PouchDaemonSuite.TestDaemonRestart
/go/src/github.com/alibaba/pouch/test/z_cli_daemon_test.go:182:
    c.Assert(result.State.Status, check.Equals, "running")
... obtained types.Status = "running"
... expected string = "running"

Codecov Report

Merging #1009 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1009   +/-   ##
=======================================
  Coverage   14.21%   14.21%
=======================================
  Files         127      127
  Lines        8474     8474
=======================================
  Hits         1205     1205
  Misses       7169     7169
  Partials      100      100

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 ec48e96...e85af61. Read the comment docs.

LGTM


First stab at SFC to npm documentation

PR for #1545
CC @sdras
Feedback welcome!

You are awesome! I'm slammed at the moment, but I'll be able to review soon :)

With 2.2+, we have SSR build which uses string concatenation and as a result it is 2x to 10x faster. If you bundle for browser, the SSR performance is hampered. If you bundle for server, it won't work in browser. So, publishing .vue file is not a bad idea.
In my opinion, there should be a build which can be used directly in browser. Then, a .vue component which uses css in style, html in template and es2015 in script,  so that it can be used in most cases.
@yyx990803 WDYT?

Thanks for the guide, @mgdodge !
There are a few things we want to resolve for the long run:

Make it possible to use *.vue as the primary format for component distribution. Currently there is a blocker: Pre-processors inside *.vue files would require the consumer to have appropriate build setups. This can be alleviated by us providing a utility to compile raw SFCs down to "plain" SFCs that do not require any special pre-processing.

Before (1) gets resolved,  the methods described in this PR can serve as the recommended approach for the time being, with one caveat: SSR. It might be possible to produce an extra SSR dist file, but it requires some build aliasing so that the server build is using the SSR dist files.

@posva Good catch on the typo, thanks! And the other suggestions are great. Will make the changes shortly.
@yyx990803 I understand the long-term goals you mentioned, and agree with (1) in that it would be nice to present a 'plain' SFC. Forgive my ignorance on the way SSR works (no use cases at my day job,) but I thought in the end all vue components have to be converted to render functions anyway...which is why I thought this would be adequate. Is this not the case?
Regardless, I can update the recipe to include usage of the browser field for the package.json file. According to the package.json spec, we can be creative in this (terribly misnamed, imho) to override the main field.
If my understanding is correct, the following package.json:
{
  "name": "my-component",
  "version": "1.2.3",
  "main": "dist/my-component.umd.js",
  "module": "dist/my-component.esm.js",
  "unpkg": "dist/my-component.min.js",
  "browser": {
    "./sfc": "src/my-component.vue"
  },
  ...
}

should do the trick. Using the component via import/require import MyComponent from 'my-component'; in an older build process will still resolve to main. Someone using a newer one will get module. The unpkg version is still intended for use in script tags. A slight tweak to the import - import MyComponent from 'my-component/sfc'; and it resolves the alias to the .vue file. Lowest impact I can come up with to satisfy all scenarios.
This is all based on some very rudimentary testing, so I would love to have someone more familiar with the SSR process verify this. SFC authors can indicate that the .vue file file may be imported via my-component/sfc for any performance optimization SSR provides.

@posva @yyx990803 @znck I have updated the PR to address your concerns. Thanks for the advice!

Looking good! I reviewed for clarity and flow, I'm giving it one more round soon while reproducing. You can start on those edits though, if you want to push it forward in the meantime. :)

Just curious on the status of this.

Thank you for the ping, we haven't forgotten about you! I have MSFT Build coming up, and can review it after. Thanks for your patience.

Looks like all that we're missing from you are those details about the package.json and we can merge! Nice job.

@sdras My last two updates addressed the package.json request you made. There are now two paragraphs - one where I first introduce the file structure and package.json, and the second when I am listing build scripts and dependencies.
Hopefully there isn't anything more that needs to be said. I'm not sure what you meant by looking at LTS in terminal...this stuff should work with any version of node, AFAIK.


"Unable to resolve API version 3.0.2"

Please note: ScriptHookVDotNet is NOT ScriptHookV!
If you get a FATAL error (e.g. FATAL: Unknown game version after a game update), than this project is not responsible and you instead need to wait for ScriptHookV to update.

Version
Which version of SHVDN was the problem encountered with?
3.0.2
Description
Add a clear and concise description of what the bug is and how to reproduce it.
I'm using the latest release (3.0.2) and the code example from the Getting Started page. I've placed the resulting dll in the scripts folder, the log shows that it is loaded ("Loading assembly test.dll"), but the next line says "Unable to resolve API version 3.0.2".
I've tried using the .asi file included in the release zip as well as building it from the repo.

After some more digging I figured it out. The Getting Started guide doesn't mention this, but you need to copy over the ScriptHookVDotNet3.dll to the GTA folder as well.


Pinpoint 1.8 agent is not started normally

I’m new to pinpoint APM.
I having issue with attaching pinpoint agent for any running application.
What version of pinpoint are you using?
Pinpoint 1.8
Describe the issue
I setup pinpoint in multiple VMS and agent with 1.8 trying to attach the collector running in remote.
I tried with tomcat 9  weblogic 12,spring boot application and stand-alone none of them able to attach to collector.
Whereas if I run java -javaagent -version command ,it could attach to collector but for the applications it is not showing any info and attach to collector.
Kindly advise what could be problem.
Regards
Ram

@HanishRamc  You may check this out https://github.com/naver/pinpoint/blob/1.8.x/doc/installation.md#installation-2

@yjqg6666 , Thanks for the details. I followed the same page, I will try troubleshoot with agent logs and share the status soon.

Found the problem. The same server dyntrace oneagent was running and enable so there is a conflict.
After uninstalling oneagent it works fine


'HTTP Error 403: Forbidden' when downloading pretrained models

Hi Cadene,
When I use your code as the example,
model_name = 'bninception'
model = pretrainedmodels.__dict__[model_name](1000)

got an error: urllib2.HTTPError: HTTP Error 403: Forbidden.
If I open the url in browser, the message was
You don't have permission to access /~cadene/Downloads/pretrained-models.pytorch/bn_inception-9f5701afb96c8044.pth on this server..
So, is there something wrong with the server or the urls?

The issue should be solved (read permission from outside my lab seemed to be missing).
http://webia.lip6.fr/~cadene/Downloads/pretrained-models.pytorch/bn_inception-9f5701afb96c8044.pth

Thanks for the permission.


fixing issue #63

Fixing issue #63 where we download the analysis.json in analysis folder and reuse that for the rest of the recipes.

Looking at this one now...


implement hashCode in wrapped encoded row

Inside WrappedEncodedRow and SimplifyWrappedEncodedRow, encodedKey is unique. We can just hashCode encodedKey.

/run-all-tests


VSCode completely deletes all settings due to sync.

So there is a conflict on a single line in all of my settings, so Vs-code's solution is just completely obliterate all of my settings? What is that...

Sorry that your settings are deleted. Interested to know why you think it is settings sync? How do you know there is a conflict? Can you give us more information for us to understand?

I know it is sync because I was using VScode for a while without being signed in because it wasn't working, and made a lot of settings changes. When I was finally able to sign into sync, it immediately showed me that there was a conflict in my settings file and asked if I wanted to merge it and showed me a diff of the changes. The conflict was on a single line. It did not allow me to edit the diff so I just clicked on the merge button. Immediately after clicking on merge, everything was behaving differently so I checked my settings file and it was completely empty. Never even told me.

This happened to me on Windows 10 64 bit, all up to date, latest version of VScode, I used GitHub to sign into sync on both computers. The setting value that had the conflict was a setting for the syntax extension for the Zig language.

I use vscode insider for a while. Today I download vscode stable and turn on setting sync successfully. After opening a folder in vscode stable, almost all settings are deleted(including settings.json, keybindings.json), only remote.SSH.remotePlatform remains.

The conflict was on a single line. It did not allow me to edit the diff so I just clicked on the merge button. Immediately after clicking on merge, everything was behaving differently so I checked my settings file and it was completely empty. Never even told me.

I am surprised that you were not able to edit the diff. Can you please provide a screenshot of this conflicts/merge editor?

What do you mean? I didn't install a merge editor. This was whatever VScode has by default. It just showed the diff in the main VScode window, but I couldn't select or change anything, and there was a blue button to click that said "merge". How am I supposed to show a screenshot of this again when I have already synced and merged?

I mean, the merge editor allows you to edit the contents of the file. Hence, I was surprised when you said it did not allow you to edit. To understand and diagnose the issue, can you please give us more context, how did you notice the conflicts? Did you have settings sync on already or you are turning on settings sync?  The merge editor that was show is a three way merge editor or just a diff editor? Meaning did you see 3 files or just 2 files?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Azure functions - hybrid connectivity

As far as I know - ASE is no longer required to provide hybrid connectivity to azure functions, since there's private link, right?

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

ID: 510808e8-db5d-6b07-9a04-6edb743a2dfc
Version Independent ID: 20d098aa-ef31-cb26-d677-765cfc9a7164
Content: Choosing an Azure compute service - Azure Architecture Center
Content Source: docs/guide/technology-choices/compute-decision-tree.md
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @doodlemania2
Microsoft Alias: pnp

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

@karpikpl Private Link allows for one to access PaaS services securely via a private endpoint from within a VNET. For this, Functions would have to be either deployed within a VNET (ASE) or leverage VNET Integration available to App Service Plans and the Functions Premium Tier.

Right, that was my point - the documentation is outdated, since with premium plan, either ASE or private link can be used.
Should I make a PR with a fix?

@karpikpl Thanks! Please feel free to create a PR for it. Here is the contributing guide to help.

@karpikpl -- this has been fixed and the updated text will be deployed within the next 24 hours.  Thank you for your contribution.


Add documentation for FFTLog

The file fftlog.c is included in CCL for speeding up the computation of the correlation functions. It is currently a black box and needs documentation.
Source: http://casa.colorado.edu/~ajsh/FFTLog/

Would there ever be a need to make a python interface to this file or no? If so we might want to write it directly into @slosar 's FFTlog repo here.

So note that CCL just has a copy of my repo, which is just two files stolen from another project, so no need to link back to my repo. If you can make interface exactly the same and juts changeable by a flag in CCL that would be great, as you could check speed and accuracy. So I'd just change FFTlog in CCL to be a wrapper to an abstract class that can do FFTlog-like calculations

No, I isolated it from copter by carlson (as clearly indicated in README).

ah, yeah. sorry, i knew that.
On Wed, Jul 12, 2017 at 3:11 PM, Anže Slosar<EMAIL_ADDRESS>wrote:

No, I isolated it from copter by carlson (as clearly indicated in README).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/LSSTDESC/CCL/issues/217#issuecomment-314868205, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AL38xtNbIrBaSebFwVNm-ZZVR5ydez5uks5sNRpbgaJpZM4ONP8R
.


Domain Team View

Implement the domain team view underneath the dashboard for team mates access.

Fixed by cf86958


How to create expandable area under a Table Row?

Asked this question on StackOverflow but got no answer, so I'm posting it here as well.
I'm trying to create Table Rows in a Table that can expand by clicking on them (individually).
For example, if I would click on the specified area in the picture below, a Segment/Container (some sort of area) would drop down with content inside.

I've tried a solution that is mentioned in this thread, but the underlying problem is that every element under a Table Row/Cell is subject to the rules and boundaries of the Table HeaderCell. So if I for example try to create a Table Row with a Segment under it, the result will look like this:

As you can see the Segment is inside the new Row but is limited to the size of the HeaderCell.
When doing this I also get this error:
validateDOMNesting(...): <div> cannot appear as a child of <tr>.
    in div (created by Segment)

It seems that Segment under Table Row is therefore a prohibited element structure.
Any idea on how the element structure should look to create some kind of area under a Table Row?

@mrwappa I answered your question on Stack Overflow. Pretty sure that should get you there. Thanks for asking there first.
Here's a link to the original question in case anyone lands here instead of the original question: https://stackoverflow.com/questions/64336736/expandable-area-under-a-table-row-semantic-ui-react
Closing this issue so any other questions can happen on SO.


fix: 🐛 prevent uncaught TypeError when no react dev tools

🏁 Closes: #6

Thank you for fixing this. Can't believe I didn't catch something this obvious😅


Built-in tree filtering no longer working for Object Explorer

Regression from 1.44
Previously, the built-in tree filtering allowed filtering tree nodes in OE by pressing ctrl+f and then selecting filter from the search/filter widget. This stopped working in 1.45.
1.44

1.45

I'm also seeing some odd behavior with node expansion - if I expand folders while the filtering widget is opened then sometimes they'll disappear (I assume because it doesn't contain any nodes that fit the filter so gets filtered out?)

It's possible this is related to https://github.com/microsoft/vscode-mssql/issues/17539 as well. Maybe something changed where the filtering doesn't apply if the node isn't expanded? That might explain some of the weird behavior we're seeing.

It seems to be happening due to code here:
https://github.com/microsoft/vscode/blob/85daa35afb86202badbee79532537bf226961f25/src/vs/base/browser/ui/tree/asyncDataTree.ts#L272-L282
defaultFindVisibility: e => {
	if (e.hasChildren && e.stale) {
		return TreeVisibility.Visible; // most of the nodes fall in this category.
	} else if (typeof options.defaultFindVisibility === 'number') {
		return options.defaultFindVisibility;
	} else if (typeof options.defaultFindVisibility === 'undefined') {
		return TreeVisibility.Recurse; // if child nodes are unexpanded, shows all parent nodes recursively.
	} else {
		return (options.defaultFindVisibility as ((e: T) => TreeVisibility))(e.element as T);
	}
}

Which as per first condition determines that node has children and is stale, continues to keep them visible.
It seems to be by-design in VS Code, for reference: https://github.com/microsoft/vscode/issues/66971

Since this is related to VS Code's implementation, I don't think we intend to behavior as before to keep code in sync with VS Code.
I'll close this as an issue from upstream.


Add support for okhttpVersion, okioVersion and reactNativeVersion gradle root-project extra properties.

[ ] This is a small change
[ ] This change has been discussed in issue #1380 and the solution has been agreed upon with maintainers.

Description:
The aim is to allow version conflicts to be overridden if override the kotlin version. It's also following the standard pattern that most other projects use for reactNativeVersion. I've just picked the latest non-alpha/beta version for okhttp and okio. I don't know if they work with kotlin 1.2.0.
I've not tested this in any way yet.

Closed since I tried to do some rebasing and github PRs don't cope with it. I'll make a new PR.


Newer LMDB binary format are not supported

When testing lightningstream with my own project written in JS (See https://github.com/kriszyp/lmdb-js/issues/267) I noticed that the files generated are not readable by lightningstream.
Apparently the LMDB libs were updated and new binary formats introduced. And lmdb-go is still using the old one. (https://github.com/kriszyp/lmdb-js/issues/273)
Thankfully lmdb-js can fall-back to v1, but I wonder if it would be good to go with the new format here.
I guess this is more of a lmdb-go issue. Perhaps I should raise it there?
PS: In the first issue I posted I posted some code. Do you see any serious issues with it? It seems to work, but I don't have the feeling that lightningstream is yet much used outside the pdns project...

Thanks for reporting!. It looks like LS is still on 1.9.0 of github.com/PowerDNS/lmdb-go. We need to update that to the latest 1.9.2.

Giving it some more thought, I would actually be surprised that an LMDB patch release (from 0.9.28 to 0.9.31) would introduce an incompatible change to the database format.
None of the changelog entries appear to suggest any such change:
LMDB 0.9.31 Release (2023/07/10)
        ITS#8447 - Fix cursor_put(MDB_CURRENT) on DUPSORT DB with different sized data

LMDB 0.9.30 Release (2023/02/08)
        ITS#9806 - LMDB page_split: key threshold depends on page size
        ITS#9916 - avoid gcc optimization bug on sparc64 linux
        ITS#9919 - Mark infrequently used functions as cold
        ITS#9723 - clear C_EOF on cursor with MDB_FIRST_DUP
        ITS#9030 - Use sys/cachectl.h rather than asm/cachectl.h on mips

LMDB 0.9.29 Release (2021/03/16)
        ITS#9461 refix ITS#9376
        ITS#9500 fix regression from ITS#8662

I am not sure what you mean by a v1 and v2 format, this sounds like an lmdb-js thing, not an LMDB thing.

https://github.com/kriszyp/lmdb-js/tree/dd08273cc5fa238eb86186f4b64506ee56470a51/dependencies - apparently v1 refers to the 'common' 0.9 lmdb branch, and 'not v1' refers to a copy or fork of https://github.com/LMDB/lmdb/tree/mdb.master3

It seems to basically come down to two different versions of the lmdb lib.
https://github.com/kriszyp/lmdb-js/blob/master/dependencies/lmdb-data-v1/libraries/liblmdb/CHANGES (v0.9.29)
And https://github.com/kriszyp/lmdb-js/blob/master/dependencies/lmdb/libraries/liblmdb/lmdb.h which looks like v0.9.90


[FX-2075] [a11y] Adds alt tags to images where possible

So to do this I published a canary of palette with the alt prop required for all images then used the resulting type-errors to drive out the list of places to add alt tags. These probably aren't the ideal values here, but it's a decent start and should help with some image SEO as well. Basically, if there was a string value like title/description, whatever in the given component context, I used it. And places where there wasn't anything I added things like artwork titles.
I think ideally we make the alt prop actually required and it's up to the dev when implementing it to determine what's most appropriate given the design context. Ideally we also have strict nulls in force and can provide fallback values when these are null.

Nice.

to do this I published a canary of palette with the alt prop required for all images then used the resulting type-errors to drive out the list of places to add alt tags

That sounds like a great way to tackle it.

ideally we make the alt prop actually required and it's up to the dev when implementing it to determine what's most appropriate given the design context

Yup, totally agree.


correct and translate success message after sign up

After sign up: "You have registered successfully andwill soon receive an email with instructions onhow to activate your account."

Message is translated and typos are fixed in #670, but the message is still displayed in english.

Should be fixed by #743 :)


Specific structural types

Make more specific structural types (HasPropertiesType and HasRelationsType) and let all three structural types implement StructuralType.
Also some codestyle fixes.
I also removed the structural types from Variable because I thought these did not make much sense. In my opinion, a variable can be the name of a structural type, but it is not itself a structural type. Maybe this does break some stuff of @transistive ? I am open for suggestions (as always).

I also removed the structural types from Variable because I thought these did not make much sense. In my opinion, a variable can be the name of a structural type, but it is not itself a structural type. Maybe this does break some stuff of @transistive ? I am open for suggestions (as always).

It does break some stuff.
How will you build this example?
MATCH (x:Node)
WITH x
MATCH (x) - [] -> (y:Node)

RETURN x, y

Do we have to build a new Query node with the name of the variable but no label instead of just passing the variable? That seems counterintuitive to me.
Also, why should the StructuralType be handled differently from a MapType? You can request properties on a name, but not a relationship? Continuing this logic in PHP userland, instanceof on a variable should not work as well, as it is always just a name of an entity and not the entity itself. It's an interesting philosophical discussion which I haven't thought about, but I don't think the case is as clear-cut as simply removing the StructuralType.
In my opinion as an end user, one of the main advantages of the query builder is reuse of common objects and patterns between clauses instead of having to keep track of the details such as names etc ourselves. That advantage is now lost for Variables and Structural types.

You make a good point, I never thought of passing variables as nodes. I indeed always made new nodes instead of using the variables.
I think something like
class Variable {
    protected/private function toNode(): Node {
        return Query::node()->named($this);
    }

    public function relationship(....) {
        return $this->toNode()->relationship(...);
    }
    /*....*/
    withProperties(...) {
        return $his->toNode()->withProperties(...);
    }
    /*etc*/
}

Do you agree?

That sounds like a great compromise to me!
Thanks

I believe the only BC break that might hinder end-users is the renaming DeleteClause::addNode -> addVariable.
All other changes only break things that users should not do in the first place.
See also this funny comic


Cant access the serverurl when setting it inside the source code itself...

Hi..
I have modified the MobfoxBanner.m inside the source code . And set the server url in that class itself.But later when I run my demo project by using the framework build by using updated code .I am getting the message "Mobfox Banner: did fail to load ad: Error - no or invalid requestURL. Please set requestURL".How to solve this?

I guess you should make sure the url you use is valid.

ok


ES6 class appears as unused despite a code below creating an instance of it.

I was testing ES6 with Babel when I ran into the following problem:
function jello(fn) {
  fn();
}
class Hey {
  constructor() {
    this.name = "John";
  }
  sayHello(partingMessage) {
    jello(() => console.log(`Hello, ${this.name}!`));
    console.log(partingMessage);
  }
}
var h = new Hey();
h.sayHello();

I get this warning:
4:6  error  Hey is defined but never used  no-unused-vars
✖ 1 problem (1 error, 0 warnings)
Also, should h.sayHello produce a warning since it's calling it without an argument? Is there an option for that one? :-)
Apparently Espree got a related fix and I also checked out a couple of related bugs. But I couldn't see a code like mine in the samples for the error. Most of them were worried about module exporting instead.
Thanks.

Can you please try babel-eslint 1.0.14

Sure. I just did. The warning moved to the instance creation line:
13:12  error  'Hey' is not defined  no-undef
✖ 1 problem (1 error, 0 warnings)

What version of ESLint?

<EMAIL_ADDRESS>

All the hacks in babel-eslint to get linting to work are ~0.15.0 specific.

Ouch. :-)

Actually no, ESLint issue. eslint/eslint#1967


Check for required packages while generating configs

Can you add check for required packages?
For example, when generating scp config, you will be unawared of missing packages, like 'sshpass' until the first run of backup utility. You will get the error like:
[2022-06-14 03:21:51]: Can't mount remote 'scp' storage: Required package 'sshpass' not installed!
After installing this package and running the utility again, you can get another error message because another package is missing, etc,etc..
And if you rarely check logs or mail, you may not even be aware of the problem until it's too late. Thanks in advance.

Hi.
Thanks for your interest in nxs-backup.
Your issue has been resolved in version 3.


PLFM-4817

use a new team search sql query to search for only usergroups that have an associated team (currently teamsearch retrieves usergroups, which causes a notfounderror to be thrown when finding a matching usergroup that does not have a team)

Another home run!


RPM upgrade before application setup throws backtrace to terminal

If you don't setup the database prior to running dnf upgrade then the script which stops evmserverd dumps this to the terminal
Caused by:
Could not load database configuration. No such file - ["config/database.yml"]
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/application/configuration.rb:241:in `database_configuration'
/var/www/miq/vmdb/lib/patches/database_configuration_patch.rb:32:in `database_configuration'
/opt/manageiq/manageiq-gemset/gems/activerecord-<IP_ADDRESS>/lib/active_record/railtie.rb:200:in `block (2 levels) in <class:Railtie>'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:71:in `class_eval'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:71:in `block in execute_hook'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:61:in `with_execution_control'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:66:in `execute_hook'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:43:in `block in on_load'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:42:in `each'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/lazy_load_hooks.rb:42:in `on_load'
/opt/manageiq/manageiq-gemset/gems/activerecord-<IP_ADDRESS>/lib/active_record/railtie.rb:198:in `block in <class:Railtie>'
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:32:in `instance_exec'
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:32:in `run'
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:61:in `block in run_initializers'
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/initializable.rb:60:in `run_initializers'
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:363:in `initialize!'
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:190:in `public_send'
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:190:in `method_missing'
/var/www/miq/vmdb/config/environment.rb:5:in `<top (required)>'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:324:in `require'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:324:in `block in require'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:291:in `load_dependency'
/opt/manageiq/manageiq-gemset/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:324:in `require'
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:339:in `require_environment!'
/opt/manageiq/manageiq-gemset/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:523:in `block in run_tasks_blocks'
/opt/manageiq/manageiq-gemset/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `load'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:63:in `kernel_load'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/cli/exec.rb:28:in `run'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/cli.rb:476:in `exec'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor.rb:399:in `dispatch'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/cli.rb:30:in `dispatch'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/vendor/thor/lib/thor/base.rb:476:in `start'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/cli.rb:24:in `start'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/exe/bundle:46:in `block in <top (required)>'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/friendly_errors.rb:123:in `with_friendly_errors'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/exe/bundle:34:in `<top (required)>'
/opt/manageiq/manageiq-gemset/bin/bundle:23:in `load'
/opt/manageiq/manageiq-gemset/bin/bundle:23:in `<main>'
Tasks: TOP => evm:update_stop => environment

We might want to check if the database is set up prior to running this command

I'm curious why evm:update_stop needs environment at all

@bdunne Can you take a look?


#57 Custom Provider Development Milestone

This marks the culmination of an exciting Terraform adventure.

The following the latest tasks in relation to this:

[x] Task 1: I designed the schema for our attributes to define how our custom provider interacts with Terraform.
[x] Task 2: I coded the Create Function for Terraform Custom Provider in Go, enabling the creation of new resources in our Terratowns infrastructure.
[x] Task 3: I coded the Read Function for Terraform Custom Provider in Go, allowing us to retrieve information about existing resources.
[x] Task 4: I coded the Update Function for Terraform Custom Provider in Go, enabling modifications to existing resources.
[x] Task 5: I coded the Delete Function for Terraform Custom Provider in Go, allowing the removal of resources when they are no longer needed.
[x] Task 6: I added our Home terratown_home resource to Terraform configurations, making it available for infrastructure provisioning.
[x] Task 7: I performed troubleshooting to ensure everything is working as expected, addressing many issues or errors that arose during the development process.
[x] Task 8: I thoroughly exposed instructions, examples, and explanations, to make it easier for others to understand and develop.

If you are on the same journey, you can always employ the resources I made just for You.

Tag
Branch
Description
Desired

2.1.0
nb-terratowns-skeleton
Setup Skeleton for Custom Terraform Provider
✅

2.2.0
nb-terratowns-block
Provider Block for Custom Terraform Provider
✅

2.3.0
nb-terratowns-reskel
Coding the Resource Skeleton
✅

2.4.0
nb-terratowns-cruds
Coding the CRUD Resources
✅

This excludes the server that you will run locally, but just in case here is for sinatra usage.

gitguardin is mad about uuids


CHORE: Update help message with pyside6 info

The previous message was missing the reference to pyside6 license.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.65%. Comparing base (7342183) to head (01ea6c4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #280   +/-   ##
=======================================
  Coverage   88.65%   88.65%
=======================================
  Files          12       12
  Lines        3262     3262
=======================================
  Hits         2892     2892
  Misses        370      370

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


sort package installs/removals, add Dolphin files to gitignore

Sorting the changes that are equal on both desktops to streamline them more. It may be different if we add another image like server or some Wayland windowmanager, but I dont think so.
also added Dolphin .directory to gitignore.
And no, I didnt touch these whitespaces, please just remove them once and avoid this problem in the future

some Wayland windowmanager

We can add a sway version if there's interest

And no, I didnt touch these whitespaces, please just remove them once and avoid this problem in the future

I'm now issuing a formal warning about this as you have been issued several corrective messages about this already. This is not up for discussion, your PR cannot have unnecessary whitespace changes and it is your responsibility to remove them before submitting a PR. Do not open PRs until they comply with the PR guidelines and are ready for review. Per the code of conduct, if you continue to fail to accept and respond to constructive feedback, you will be temporarily banned from the project.

I heard that and I paid very close attention to not add any lines or whitespaces. But these are simply disappearing automatically, and I dont really know how to change this.
Okay sorry for not checking if the builds failed


[run-tests] Fix metric messagesConsumedCounter calculation error

This PR is for running tests for upstream PR https://github.com/apache/pulsar/pull/17726.

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


question: net/http: why does a server not drop client connection after write timeout?

Please answer these questions before submitting your issue. Thanks!
What did you do?
https://play.golang.org/p/HvJuH020rlN
I was setting the Server.WriteTimeout to 1 second while I set the handler to run for 10 seconds to simulate long running load. Then execute client to access the server.
What did you expect to see?
I was expecting the client would return after 1 second, because I thought Server.WriteTimeout is used to limit client connection duration, like mentioned in here: https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts#servertimeouts.
What did you see instead?
The client return after 10 seconds. This means even after Server.WriteTimeout is exceeded, the client connection still holds up until handler return the response (though the response would not be retrieved by client, since it is counted as error).
Is this the expected behavior? If so, what is the usage of Server.WriteTimeout actually?
Or perhaps I'm just using it wrong?
Related issues: #24461, #21389 => both of them just discussing about the behavior of ResponseWriter.Write() but not related to overall duration of the request.
Thanks
System details
go version go1.12.4 darwin/amd64
GOARCH="amd64"
GOBIN="/Users/riandyrn/go/bin"
GOCACHE="/Users/riandyrn/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/riandyrn/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/Cellar/go/1.12.4/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.12.4/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
GOROOT/bin/go version: go version go1.12.4 darwin/amd64
GOROOT/bin/go tool compile -V: compile version go1.12.4
uname -v: Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64
ProductName:	Mac OS X
ProductVersion:	10.12.4
BuildVersion:	16E195
lldb --version: lldb-370.0.42
  Swift-3.1

For asking questions about learning the language, see one of our forums: https://golang.org/wiki/Questions We only use this issue tracker for tracking bugs. People in the forums can explain what is happening here.


Support for Edge Lambdas

💻

[X] Would you like to work on this feature?

What problem are you trying to solve?
Make page response faster
Describe the solution you'd like
Right now it seems the Construct uses normal Lambdas, if we could use Edge lambdas to boost the speed it will be great.
Describe alternatives you've considered
Nothing
Documentation, Adoption, Migration Strategy
No response

Edge lambdas are mainly used for modifying requests and responses. I will have to do some research to see if this is possible.

I think we should pull in merge-anything for merging the props since it is already getting pretty tedious.

Seems like a good choice, we can do that.
I found an example where they are serving static HTML from the edge lambda which is same in our case so we should be able to do this with Astro as well.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html#lambda-examples-static-web-server
I am not sure how well the rendering will happen because we have some limitations on the edge lambda and we don't have any control over what people write in Astro APIs, so we should have this disclaimer as well.
I wasn't able to understand everything you have put together in the packages, I will try again.
Although I can do some POC in separate CDK App to build something up if you could explain me the flow a bit more.
An architecture diagram would be very much helpful for anyone who is willing to understand and contribute.

I think we should pull in merge-anything for merging the props since it is already getting pretty tedious.

Seems like a good choice, we can do that.
I found an example where they are serving static HTML from the edge lambda which is same in our case so we should be able to do this with Astro as well.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html#lambda-examples-static-web-server
I am not sure how well the rendering will happen because we have some limitations on the edge lambda and we don't have any control over what people write in Astro APIs, so we should have this disclaimer as well.
I wasn't able to understand everything you have put together in the packages, I will try again.
Although I can do some POC in separate CDK App to build something up if you could explain me the flow a bit more.
An architecture diagram would be very much helpful for anyone who is willing to understand and contribute.

I will work on an architecture graph when I have the chance. I am going to do some rework on the constructs to simplify future additions like this.

This is the basic flow for implementing this:
graph TD
    A[User] --> B[Cloudfront Distribution]
    B -->|Origin request| C{Edge Lambda}
    C -->|Match| D[Astro App]
    D --> E[Send Response]
    C -->|No match| F[Origin access identity]
    F --> G[S3 Origin]
    G --> E

This file will need to be updated to support the Edge lambda event.
This file will need another type called EdgeSSRProps that takes in the props for the Lambda@edge, output: "edge", and other necessary props I have not listed. The Lambda@edge resource will need to be created and passed into the props of the Cloudfront Distribution.

@ShivamJoker Do you want to work on this?

I can give it a try, if I get stuck I will ask you for help.
Also the files which you linked are not getting found.

I have fixed the links


Added: tests & dependabot monthly scan

Adding some lints and tests as well as a monthly dependabot scan for dependency updates

It was a pleasure working with you :)


script tag content getting parsed/formatted

First: THANK YOU for your work on this library and for sharing it with the world.

In working with tutorials using markdown files, I have noticed that that

What I see in the generated HTML output:

Script tags work fine if they define only a src value.
My configuration
Using v<EMAIL_ADDRESS>Configuration file:
{
    "private": false,
    "tags": {
        "allowUnknownTags": true
    },
    "plugins": [
        "plugins/markdown"
    ],
    "templates": {
        "cleverLinks": false,
        "monospaceLinks": false,
        "systemName": "Dev Docs",
        "footer": "",
        "copyright": "DocStrap Copyright (c) 2012-2013 The contributors to the JSDoc3 and DocStrap projects.",
        "navType": "inline",
        "theme": "paper",
        "linenums": true,
        "collapseSymbols": true,
        "inverseNav": true,
        "outputSourceFiles": true,
        "syntaxTheme": "dark",
        "search": false
    },
    "markdown": {
        "parser": "gfm",
        "hardwrap": true
    }
}

Is this expected behavior?
I can try to look for a fix and submit a pull request if this is deemed a bug that needs fixing.
/Paul.

My apologies... Looks like this might be an issue better reported to the JSDocs project, as it seems that its jsdocs that is parsing the Markdown content.

Issues opened with jsdocs: https://github.com/jsdoc3/jsdoc/issues/1586


Add compilation flags depending on which target architecture (x86 vs Arm) and which compiler (GCC vs LLVM) is used.

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


Regarding CSS, prop names, wiki and move to inline styles

CSS and Inline styles
While I was refactoring the codebase, I found a lot of ugly CSS code. It would be beneficial to refactor those. But I suggest using inline styles instead of CSS. This may ship with 3.0 and the refactor-with-tests branch as well. Check out my ibujs/react-kwik-jss repository, a really good package for React inline styles (narcissism, yes).
Also, we should drop support for HTML and move forward with pure JS. This would mean that we won't have to maintain separate CSS in src.
prop names
While reading the codebase, I found ugly, undocumented prop names like style1 and text1 ._. I propose to rename them to something better.
wiki
It's good, but it's quite ugly, which is why I propose a rewrite. Yes, rewrite.
I have to work on my own repositories as well (Area51 and decaffeinater), though I will pay attention to react-kwik-jss and this repository.

CSS and Inline styles
Ok, it's right.
prop names
It'll be fine with better names - :smile:
wiki
No probs with wiki. I know it isn't the most helpful. I created docs/ folder, because I want to improve it.
But the package is too heavy with docs. They  creating webpack mistakes too... And you have to delete them. Don't change the wiki page. Soon we will improve http://rsg-group.github.io and push docs there.

Write your opinion soon. If you agree this close the issue.

Okay, so I'll work on inline styles tomorrow, which will refactor the repository styles.
As for prop types, I will refactor those as well in #1
I will work on the Wiki and make it better. But your opinion on ditching support for HTML and CSS and write pure JS?

Okay @ibujs - PURE JS!!! :+1:

About npm check your e-mail and slack tomorrow :smile:

#3 will bring refactored CSS and Inline styles in addition to ditching HTML and CSS support. It will bring renamed prop-types as well. #4 should bring proper ES Module support by which 3.0 should be prepped and good to go with almost a complete rewrite of the codebase. Then I'll release 3.0.

I will also work on spell correction and improved English throughout the Wiki and the project :slightly_smiling_face:

@ibujs  OK. :1st_place_medal:

prop names have been successfully fixed. I have asked for a code review on #1 again.

I am slowly editing the wiki and correcting English page by page.
Home and RSGBox are done.

What's happened with this issue, @retrixe ?


check aws explainabiliy

after nacl is supported, explainability should work.
additional support is needed for public/private subnets

[x] support public subnets
[ ] detailed explain of public subnets
[ ] adding test infrastructure for aws explainability
[ ] check correctness of examples  + adding interesting tests (html is a great platform for it)

add examples:

Private subnet s.t. the path in/to external is being blocked in the subnet
Private subnet blocking  both in egress and ingress
Public subnets enabling connection to the internet


Issues with structured data

Thanks for the adapter. I'm not sure whether this repo is active, but I'll put in an issue nevertheless.
Loggy seems unable to parse JSON that the adapter sends along, it gets interpreted as a string. Is there anything specific we can do to address this?

hey, the adapter makes no assumption about the type of data it's sending to Loggly. As such strings with double quotes (") like JSON messages get escaped on the way out the door.
I'm not actively maintaining this package, nor do I use Loggly anymore. However, I'm more than happy to accept PRs.

Unfortunately, I can't do a lot of Go and I'm considering alternate logging providers.
Thanks for the repository though, pretty helpful :-)


Run development stage against updated pinned ontology

I'd note that the HsapDv and MMusDv ontologies do not change.

Not needed at this stage.


Document client side use of Iter8 SDK

Use gPRC to provide support for common front end service implementation languages with no language specific code.

Steps

Connect to service
This is language specific. We can write a library for this or rely on users to do
It is non-trivial; see, for example, this go example.

Select backend
Request an endpoint to send a request to. The ABN service selects from among the available endpoints it has identifed and returns one.
rpc Select(Service) returns(Endpoint) {}

message Service {
  string name = 1;
  Endpoint default = 2;
}

message Endpoint {
  string version = 1;
  string URL = 2;
  map<string,string> headers = 3;
}

The ABN service watches a set of resource types (configured at install time). The set of watched objects withh label app.kubernetes.io/name equal to Service.name can be partitioned in versions using the label app.kubernetes.io/version. A version is available if there is no object with the annotation iter8-tools/ready set to false (either there are no such annotations or any that are present are true). To identify the communication properties (url and headers) of a version, the service looks for objects with the annotations iter8-tools/endpoint-url and iter8-tools/endpoint-headers. If there are multiple version objects with these annotations, a one will be used; it is assumed that they are the same (it is an error if they are not, but the service does not check).
Any instances without a app.kubernetes.io/version label are assumed to be members of a default version. In this case, the default endpoint (passed in the request message) should be returned. If there are no instances in a version with enpoint labels, the default endpoint will be returned.

Using Endpoint.url and Endpoint.headers, the client sends its request.

Report metrics
rpc writeMetric(MetricValue) returns (google.protobuf.Empty) {}

message MetricValue {
  string label = 1;
  string value = 2;
  string version = 3;
  map<string,string> properties = 4;
}

Usage
client, clientError := getClient()

const (
  BACKEND_NAME = "myBackend"
  BACKEND_DEFAULT_URL = "localhost:8080"
  BACKEND_DEFAULT_HEADERS = map[string]string{}
  BACKEND_DEFAULT_VERSION = "default"
)
myService := &Service{
  name = BACKEND_NAME,
  default = Endpoint {
    version = BACKEND_DEFAULT_VERSION,
    URL = BACKEND_DEFAULT_URL,
    headers = BACKEND_DEFAULT_HEADERS,
  },
}

ep := myService.default
if !clientError {
  selected, err := ABNServer.Select(myService)
  if !err {
    ep := selected
}
send(ep.URL, ep.headers)

if !clientError {
  metric := &MetricValue{ ... }
  _, err := ABNServer.WriteMetric(metric)
}

rpc Lookup(Service) returns(TransactionVersion) {}

message Service {
  // name of the (backend) service
  string name = 1;
  // version information to use if the ABN service is unable to identify any versions
  TransactionVersion defaultVersion = 2;
}

message TransactionVersion {
  // Name or identifier version. Is unique among versions of a service.
  string version = 1;
  // Transaction identifier; unique among all instances for this Service. Reserved for use by Iter8.
  string transaction = 2;
  // URL that should be used to communicate with this version of the service
  string URL = 3;
  // header information that should be used to communicate with this version of the service
  map<string,string> headers = 4;
}rpc Lookup(Service) returns(TransactionVersion) {}

message Service {
  // name of the (backend) service
  string name = 1;
  // version information to use if the ABN service is unable to identify any versions
  TransactionVersion defaultVersion = 2;
}

message TransactionVersion {
  // Name or identifier version. Is unique among versions of a service.
  string version = 1;
  // Transaction identifier; unique among all instances for this Service. Reserved for use by Iter8.
  string transaction = 2;
  // URL that should be used to communicate with this version of the service
  string URL = 3;
  // header information that should be used to communicate with this version of the service
  map<string,string> headers = 4;
}

Is the following line correct?  Is TransactionVersion an object or a number? Also, could we please rename TransactionVersion to VersionInfo or simply Version?
  TransactionVersion defaultVersion = 2;

Re:
rpc writeMetric(MetricValue) returns (google.protobuf.Empty) {}

message MetricValue {
  string label = 1;
  string value = 2;
  TransactionVersion version = 3;
  map<string,string> properties = 4;
}

I think we should eliminate properties. If there is a need for them, we can revisit later. For starters, their utility is not clear, and second, how is the user supposed to get them? Seems like needless complexity for questionable value.

The ABN service watches a set of resource types (configured at install time). The set of watched objects with label app.kubernetes.io/name equal to Service.name represent the objects related to Service.name. This set of obhjects can be partitioned in versions using the label app.kubernetes.io/version. A version is available if there is no object with the annotation iter8-tools/ready set to false (either there are no such annotations or any that are present are true. It is preferable to have this annotation on every object but no requirement that it be the case). To identify the communication properties (url and headers) for a version, the service looks for the annotations iter8-tools/endpoint-url and iter8-tools/endpoint-headers on version objects. If there are multiple version objects with these annotations, one will be used; it is assumed that they are the same (it is an error if they are not, but the service will not check).

This is a bit hard to understand... perhaps

Starting with the assumption that one version = one kubernetes object (example, a simple K8s deployment object),
K8s resource (example deployment) with the relevant annotations

might help?

Also, AFAIK, annotations as map<string,string>, which means the entire headers struct cannot be a single annotation; each header might need to be an annotation by itself.

Some responses to the above:
Regarding complexity of client connection to the service. My example reference was not meant to be an example of what we want. Rather just pointing out that the code might be complex. It depends on the assumptions about how the service is deployed which we haven't really thought about. I want to keep it simple but I wonder if the frontend might not be in the cluster which introduces a need for authentication/authorization.
Agree with suggestion that we start without the annotations for connection; you are right annotation is not suitable for all the headers.
Agree with suggestion to remove properties. I don't know what such properties might be. I just know that there are usually properties and I assume that the user might know some.
I have rewritten the description. I think it is now simpler/clearer. The suggestion that we focus on a single resource type (at least to start) may be reasonable. However, mislabeling is an easy mistake to make so having an implementation that does not restrict the user makes things more resilient. Further, if we restrict to a single resource type, the user will need to explicitly identify the resource type for each application. Currently, there is no need to do this (it just has to be among the watched types). I suggest we recommend the simplicity of a single type but support whatever is there. I am assuming it is not a lot more complex to do so. I do not think so.

A/B/n Testing
A key challenge in A/B/n testing is associating the values of business metrics (computed in a frontend service) with the version of a backend service responsible for the value. To address this challenge, Iter8 introduces an client SDK. This SDK provides, among other things, a (backend) version lookup service that exposes backend versions to the client.
In addition to providing a lookup service, the ABN service mediates metric writing to a metrics database. The service provides this mediation to ensure association of metrics metric with the backend version and with a transaction identifier later used by Iter8 to evaluate SLOs.
ABN Service
The ABN service provides a lookup service that resolves app names into an available version. When more than one available version is present, the lookup service will return a random version.
To implement the lookup behavior, the ABN service must be able to identify versions and determine if they are available (ie, ready).
Approach
The ABN services watches a set of Kubernetes objects in a set of namespaces (specified at start time). The ABN service partitions observed objects into applications using the label app.kubernetes.io/name. Objects with no such label are ignored.
The ABN service further partions each set of application objects into versions using the label app.kubernetes.io/version. Any objects without this label are included in a default version.
An identified version is available if every object in the version partition with the annotatation iter8-tools/ready has it's value set to true.
Using a readiness annnotation is an initial approach. In addition to simplicity, it provides a mechanism for users to quickly and easily remove a version from consideration by marking it as unavailable.
Install
The ABN service can be installed using the following helm install command:
helm install iter8abn iter8/abn \
--set resources=<list of resources> \
--set namespaces=<list of namespaces>

Here, a resource is an identifier that uniquely identifies a Kubernetes GVR. The set of identifies is specific to Iter8. Examples are services, deployments, and ksvcs.
Helm Charts
TBD
Client SDK
The client SDK will be implemented using a gRPC client so that many front end implementation languages might be easily supported. The ABN service will therefore be a gRPC service.
Steps

Connect to ABN service
The frontend (gRPC client) must connect to the ABN service. This is language specific. Initially, we assume users can write this themselves. It is may be non-trivial depending the deployment of the service. As an example, see this go example.

Lookup version of backend
Frontend requests a random available version of a backend service. The frontend makes this request for each call to the backend.
rpc Lookup(Service) returns(Version) {}

message Service {
  // name of the (backend) service
  string name = 1;
  // version information to use if the ABN service is unable to identify any versions
  Version defaultVersion = 2;
}

message Version {
  // Name or identifier of version; unique among versions of a service.
  string version = 1;
  // Transaction identifier; unique among all instances for this Service.
  // Reserved for use by Iter8.
  string transaction = 2;
}

Using Verion.name, frontend sends request to the backend. We assume the front end can determine how to send messages to a version of the backend service given the version name. This is an initial assumption that gives the greatest flexibility to support both HTTP and gRPC backends. Other appoaches (replying on user provided annotations on version objects inferencing) will be considered in the future.

Report metrics
rpc writeMetric(MetricValue) returns (google.protobuf.Empty) {}

message MetricValue {
  string label = 1;
  string value = 2;
  Version version = 3;
}

Sample Usage
// connect to ABN service; this is user implemented
abnClient, abnClientError := getClient()

...

// define Service message used for all lookup operations
const (
  BACKEND_NAME = "myBackend"
  BACKEND_DEFAULT_VERSION = "A"
)
myService := &Service{
  name = BACKEND_NAME,
  default = Version {
    version = BACKEND_DEFAULT_VERSION,
  },
}

...

// Example use of Lookup()
version := myService.defaultVersion
if !abnClientError {
  v, err := ABNServer.Lookup(myService)
  if !err {
    version := v
}

...

// Call backend; this is user implemented
call(version, message)

...

//
if !abnClientError {
  metric := &MetricValue{ ... }
  _, err := ABNServer.WriteMetric(metric)
}

Replaced by https://github.com/iter8-tools/iter8/issues/1262


Load two languages simultaneously

Hi!
I know it's probably out of the scope of the package, but I wonder if anybody could give me some tips on this topic.
I'd like to offer on my website the possibility for a user to choose 'french' or 'english' or 'english and french'. Like so, bilingual people won't have to switch from a language to another to get more contents. (Indeed, some articles are available only in english, or only in french and won't always be translated.)
I really struggle to build this feature and don't really know the best way to do so.
For instance, I'd like to be able to load all translations when I'm querying the database. Even better, being able to do : withTranslations(['en','fr']). And I'd like my locale to be an array of locales...
Thank you,
Bliss

Hybrid locale is the worst - you are right!^^ If a locale is ab_xy it's common that it's language_country for example: de_ch, de_at and de_de or en_gb and en_us.
I wouldn't use a fr_translation = true but a fallback_locale = fr. With this you can build:

primary en & second fr
primary fr & second en
But also with every other locale

Thanks, I think I have now a good idea of what to do.
I'll tell you if I encounter any issues, but I guess you can close the topic now :)


Confusion in the contents of the Leaderboard from thuml

Our latest updation for leaderboard is as below :
## Leaderboard for Time Series Analysis

Till March 2024, the top three models for five different tasks are:

| Model
Ranking | Long-term
Forecasting
Look-Back-96              | Long-term
Forecasting
Look-Back-Searching     | Short-term
Forecasting                                    | Imputation                                                   | Classification                                               | Anomaly
Detection                               |
| ---------------- | ----------------------------------------------------- | ----------------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------------------------------------------------- |
| 🥇 1st            | [iTransformer](https://arxiv.org/abs/2310.06625)      | [TimeMixer](https://openreview.net/pdf?id=7oLshfEIC2) | [TimesNet](https://arxiv.org/abs/2210.02186)                 | [TimesNet](https://arxiv.org/abs/2210.02186)                 | [TimesNet](https://arxiv.org/abs/2210.02186)                 | [TimesNet](https://arxiv.org/abs/2210.02186)       |
| 🥈 2nd            | [TimeMixer](https://openreview.net/pdf?id=7oLshfEIC2) | [PatchTST](https://github.com/yuqinie98/PatchTST)     | [Non-stationary
Transformer](https://github.com/thuml/Nonstationary_Transformers) | [Non-stationary
Transformer](https://github.com/thuml/Nonstationary_Transformers) | [Non-stationary
Transformer](https://github.com/thuml/Nonstationary_Transformers) | [FEDformer](https://github.com/MAZiqing/FEDformer) |
| 🥉 3rd            | [TimesNet](https://arxiv.org/abs/2210.02186)          | [DLinear](https://arxiv.org/pdf/2205.13504.pdf)       | [FEDformer](https://github.com/MAZiqing/FEDformer)           | [Autoformer](https://github.com/thuml/Autoformer)            | [Informer](https://github.com/zhouhaoyi/Informer2020)        | [Autoformer](https://github.com/thuml/Autoformer)  |

source
Which has conflict with the leaderboard for TimesNet. Where, the results between "Classification" and "AnomalyDetection" have been exchanged.
## Leaderboard for Time Series Analysis

In this paper, we also provide a comprehensive benchmark to evaluate different backbones. **More than 15 advanced baselines are compared.** Till February 2023, the top three models for five different tasks are:

| Model
Ranking | Long-term
Forecasting                                     | Short-term
Forecasting                                    | Imputation                                                   | Anomaly
Detection                                         | Classification                                     |
| ---------------- | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -------------------------------------------------- |
| 🥇 1st            | [TimesNet](https://arxiv.org/abs/2210.02186)                 | [TimesNet](https://arxiv.org/abs/2210.02186)                 | [TimesNet](https://arxiv.org/abs/2210.02186)                 | [TimesNet](https://arxiv.org/abs/2210.02186)                 | [TimesNet](https://arxiv.org/abs/2210.02186)       |
| 🥈 2nd            | [DLinear](https://github.com/cure-lab/LTSF-Linear)           | [Non-stationary
Transformer](https://github.com/thuml/Nonstationary_Transformers) | [Non-stationary
Transformer](https://github.com/thuml/Nonstationary_Transformers) | [Non-stationary
Transformer](https://github.com/thuml/Nonstationary_Transformers) | [FEDformer](https://github.com/MAZiqing/FEDformer) |
| 🥉 3rd            | [Non-stationary
Transformer](https://github.com/thuml/Nonstationary_Transformers) | [FEDformer](https://github.com/MAZiqing/FEDformer)           | [Autoformer](https://github.com/thuml/Autoformer)            | [Informer](https://github.com/zhouhaoyi/Informer2020)        | [Autoformer](https://github.com/thuml/Autoformer)  |

source


[Discuss] Mark old source with Deprecated annotation when increamental source implemented

Search before asking

[X] I searched in the issues and found nothing similar.

Motivation
After more and more connectors had implemented increamental source and old source will be remove in future ,so we want to tell users to migrate their datastream api.
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

closes by https://github.com/ververica/flink-cdc-connectors/commit/08beca52d0ec15b42dd2f0290161056189cfb733.


Add Media Section

Add media section with links to the articles using logos of the media houses.

http://timesofindia.indiatimes.com/city/kolkata/IIT-Kharagpur-students-developing-fully-indigenous-drones/articleshow/54897093.cms
http://economictimes.indiatimes.com/news/science/iit-kharagpur-students-developing-fully-indigenous-drones/articleshow/54896790.cms
http://indianexpress.com/article/technology/gadgets/iit-kharagpur-students-developing-fully-indigenous-drones-3087564/
http://www.business-standard.com/article/current-affairs/make-in-india-iit-kharagpur-students-developing-fully-indigenous-drones-116101700466_1.html
http://www.daijiworld.com/news/news_disp.asp?n_id=419125
http://www.nayaindia.com/technology/iit-kharagpur-student-ark-sric-indigenous-drone-develop-570851.html

@sam17 Don't you think our landing page is cluttered way too much to add a new section?

Yes, hence we need to change design but first let's just dump all the content in an acceptable way and then change design.

Peace. I'll add the section today.


New "selectedOnFocus" property for Text, TextArea, Number

See https://github.com/exhi/hoist-react/issues/554 for original issue

Code looks good to me.
I do like the name 'selectOnFocus' much better than 'selectedOnFocus' -- difficult to articulate why -- perhaps it seems more natural, and inline with similar names in our toolkit? Or because there is no guarantee it will actually remain 'selected'?
(See commitOnChange, for an example in this control with my preferred name)

I've used selectOnFocus in the code, but have interchangeably used selectedOnFocus when describing the change in GitHub. I've changed those to be consistent.

Got it Arjun -- sounds good - sorry I missed that


grunt-cli: Seperate Zsh

The zsh script support caused missing depedency errors in the nativesdk.
It is now seperated into its own package to avoid errors, and the dependency warning is suppressed.

Just thought I would give you a chance to look this one over before I pushed it in.

LGTM


Document lua_type_traits

Please add documentation to lua_type_traits. I'm not really sure what the members mean, especially weakTypeTest and typeTest (their difference). Probably rename them (I guess weakTypeTest means: isConvertible and typeTest means isType)
Especially confusing is the implementation of template<>	struct lua_type_traits<void> of which I assume is taken when a void* is pushed or retrieved. Is it actually possible to do state["value"] = (void*) 0xDEAD; and retrieve it? If so, can you outline what happens/which traits are used?

I guess weakTypeTest means: isConvertible and typeTest means isType

Yes. that's right.
void, void* and  const void* are distinguish,  like a char and, char*. and void* is not specialized.
I want lua_type_traits<void>::push(L,void); , but it ill-formed at current C++(Maybe it allow since C++17) because push type used void pointer.