[compoundmedia] Add new extractor

Before submitting a pull request make sure you have:

[x] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
New extractor for https://www.compoundmedia.com/. No tests because all videos require authentication.

@dstftw Hi, I believe all the requested changes are resolved and the Travis build passed. Can you please re-review?

@dstftw I wasn't aware of that requirement. I don't like the security and privacy implications of that. Thanks for your consideration.
For any others interested, I simply patched my distribution-installed package:
$ echo "from .compoundmedia import CompoundMediaIE" | sudo tee -a /usr/lib/python3.7/site-packages/youtube_dl/extractor/extractors.py
$ sudo curl -o /usr/lib/python3.7/site-packages/youtube_dl/extractor/compoundmedia.py https://raw.githubusercontent.com/rg3/youtube-dl/1f27d68da21a251b0c57e5e6dbba04a2f68414d2/youtube_dl/extractor/compoundmedia.py
$ cat >> ~/.netrc
machine compoundmedia login $EMAIL password $PASSWORD
Ctrl^D
$ youtube-dl -n https://www.compoundmedia.com/shows/...
[...]
[CompoundMedia] Logging in
[CompoundMedia] Requesting Metadata
[livestream] [...]: Downloading JSON metadata
[livestream] [...]: Downloading SMIL file
[livestream] [...]: Downloading m3u8 information
[livestream] [...]: Downloading f4m manifest
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: [...]
[download] Destination: [...].mp4
[download] 100% of [...]MiB in 01:35
[ffmpeg] Fixing malformed AAC bitstream in "[...].mp4"


Get progress while uploading files

It would be great to be able to monitor progress value during file upload.
I guess, it could be some sort of a callback that brings the current progress value.
Please tell me if it is already implemented.

It will be great to be able to

This is not implemented and seems fairly difficult & out of scope. v4 uses gql_http_link, so you could maybe PR a context-based listener for this to http://github.com/gql-dart/gql

@micimize Can you add a onSendProgress method, like dio
https://pub.dev/packages/dio

@syssam you could try using the v4 alpha with https://pub.dev/packages/gql_dio_link

@micimize v4 document does not clearly.
I think MutationOptions add "onSendProgress" method will be easy to use.

@syssam possibly, but as I said, it would be quite difficult to implement. If I had need of this functionality I would switch to v4 and PR additional context for supporting it to gql_dio_link, which could eventually become the default link here anyways

@micimize thanks, waiting for your good news. I view the gql_dio_link source code, it seems not to support file upload.


Android: MPA functionality

Have "nearby" polygons overlaying some of the map area to represent a Marine Protected Area. This should show up in the map screens, so the officer can see if they are within the borders of the MPA. There is no additional functionality associated with this (e.g. they are still allowed to board a vessel outside the MPA). Proof-of-concept may be a hard-coded polygon.

Example polygon for Galapagos MPA:
$geometry: {
type: 'Polygon',
coordinates: [
[
[ -88.03310394, -0.534202465 ],
[ -88.28613281, -2.811371193 ],
[ -93.12011719, -2.635788574 ],
[ -95.14160156, -0.790990498 ],
[ -96.28417969, 2.372368709 ],
[ -94.26269531, 4.302591077 ],
[ -91.01074219, 3.250208562 ],
[ -88.03310394, -0.534202465 ]
]
]
}


twitch.tv email 2fa challenge for subscriber video

Checklist

[x] I'm reporting a site feature request (yup, not a bug report)
[x] I've verified that I'm running youtube-dl version 2021.04.26 (yup, just downloaded it)
[x] I've searched the bugtracker for similar site feature requests including closed ones (yup, not resolved by https://github.com/ytdl-org/youtube-dl/pull/27790 ;; did not try ancient https://github.com/ytdl-org/youtube-dl/pull/20522)

Description
Twitch has introduced an email based 2fa challenge for subscriber only videos. Is there some mechanism to have youtube-dl prompt me to provide the required code ?
steps

(precondition) subscribe to the relevant twitch acccount, choose video link that requires subscription
use editcookie chrome extension to export twitch cookie to clipboard
save clipboard cookie json as twitchcookie.txt
curl -b twitchcookie.txt --cookie-jar twitch.txt https://www.twitch.tv/galacticluna
youtube-dl.exe --verbose -u ____ -p _____ --cookies=twitch.txt https://www.twitch.tv/videos/1018674451

Expected : video to download
Saw
Email in inbox with six digit code.
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-u', 'PRIVATE', '-p', 'PRIVATE', '--cookies=twitch.txt', 'https://www.twitch.tv/videos/1018674451']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.04.26
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: ffmpeg N-92982-g282a471857, ffprobe N-92982-g282a471857
[debug] Proxy map: {}
[twitch:vod] Downloading login page
[twitch:vod] Logging in
ERROR: Unable to login. Twitch said: Please enter a Login Verification Code.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\YoutubeDL.py", line 806, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\YoutubeDL.py", line 827, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\extractor\common.py", line 533, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\extractor\common.py", line 437, in initialize
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\extractor\twitch.py", line 57, in _real_initialize
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\extractor\twitch.py", line 112, in _login
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\extractor\twitch.py", line 89, in login_step
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpeav8wi2f\build\youtube_dl\extractor\twitch.py", line 66, in fail
youtube_dl.utils.ExtractorError: Unable to login. Twitch said: Please enter a Login Verification Code.

I guess it's worth noting that this email 2fa is their fallback for a user with 2fa disabled. At this time, they offer options for sms and authenticator app 2fa. Hopefully, the same input mechanism would serve for all three.


Not getting any result in purchaseUpdatedListener

Version of react-native-iap:
8.1.1
Version of react-native:
0.67.4
Platforms you faced the error (IOS or Android or both?):
iOS
Code snippet
useEffect(() => {
  let purchaseUpdateSubscription;
  let purchaseErrorSubscription;
  RNIap.initConnection()
    .then((connected) => {
      purchaseUpdateSubscription = purchaseUpdatedListener((purchase) => {
        console.log('purchaseUpdatedListener', purchase);
        const receipt = purchase.transactionReceipt;
        console.log('receipt', receipt);
      });

      purchaseErrorSubscription = purchaseErrorListener((error) => {
        console.log('purchaseErrorListener', error);
      });
    })
    .catch((e) => {
      console.log(e);
    });
  return () => {
    if (purchaseUpdateSubscription) {
      purchaseUpdateSubscription.remove();
    }
    if (purchaseErrorSubscription) {
      purchaseErrorSubscription.remove();
    }
  };
}, []);

Expected behavior
Whenever we make a purchase, purchaseUpdatedListener should return a response of the type InAppPurchase | SubscriptionPurchase | ProductPurchase.
Actual behavior
Always getting undefined in purchaseUpdatedListener. I have configured the store kit configuration file.
purchaseErrorListener does work fine. I have tried with useIap() hook also but getting the same undefined in  purchaseUpdatedListener
Tested environment (Emulator? Real Device?):
Emulator

+1

@shashank-shinde do you mean that the listener never gets called or that the purchase you get is undefined?

@andresesfm what was the fix for this issue?

Not able to reproduce in the latest version and no response from reporter. Closed as stale

I have reproduced it. How can I help you figure it out?
In my case, the listener is called but the purchase is undefined.
I am testing with StoreKit on a simulator running iOS 15.5

In that case, you can start by creating a new issue using the new template. Please include as much information as you can.

I'm having exactly the same issue.
I'm using Simulator, IPhone 12 Pro, IOS 15.4.
I have a local Storekit config file.

The getSubscriptions() function works as expected
The requestSubscription() works as respected showing the UI with the "Subscribe" Button
When i press Subscribe, the subscription is bought correctly
The purchaseUpdateListener gets undefined


Log ingest progress onto the Job object

The upstream issue https://github.com/girder/girder/issues/1306 must be resolved first.

Closing as no longer relevant.


Splash not supported on M1/M2 silicon chips

I was trying to run splash on my M2 silicon, but the v=3.5 is incompatible.
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Using rosetta2 to emulate the environment also doesnt help.
Can splash  be only run on linux/amd64 or by building a new image with new Dockerfile?

I have the same issue... @kulkarninidhii have you found a solution yet?

No, I ended up using Playwright.

same issue, i did everything and it didn't work!

Hello @kulkarninidhii @lindafl0w
I got the solution.
############

Install Homebrew (if not already installed):
Open Terminal and run the following command to install Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Colima:
Once Homebrew is installed, install Colima with:

brew install colima

Start Colima with AMD64 Emulation:
Start Colima with x86_64 (AMD64) architecture support:

colima start --arch x86_64

Run the scrapinghub/splash Docker Image:
With Colima running, you can now run the scrapinghub/splash image. Pull and run the image using Docker:

docker run --rm -p 8050:8050 scrapinghub/splash
that's it, scrappers.
Regards,
Hossam


Improve docs navigation

Summary

Closes https://github.com/TheThingsIndustries/lorawan-stack-docs/issues/213
New docs nav, with responsive sidebar. Looks like this below 1200px:

Above 1200px a TOC appears:

TODO:

[x] We may have to remove tabs in some places, because any headings within tabs shortcodes won't appear in the right hand navigation. Since we have right hand navigation, we can use headings and allow users to skip to the correct section (have a console heading and a cli heading).
[x] Make maximum depth 2 (fix cloud integrations) - let's go through and condense instructions which need to be followed in order in to one page, the cloud integrations are a perfect example. I've done it for Akenza as an example. @nejraselimovic
[x] Add text in overviews, since these pages are now visible (no more cards).
[x] Can't have shortcodes in headings - fixed by custom ToC
[x] Clean up css (ill do this)
[x] Make headings more descriptive

Screenshots

Notable architectural changes

Three column view, left side nav always visible, right side table of contents jumps to heading anchors
Removed the themes folder, everything is now in root. It was always confusing what belonged where.
Reorganize css and partials in smaller files where possible
Use Hugo's modules to mount node_modules in css/vendor and js/vendor

Checklist

[x] Scope: The referenced issue is addressed, there are no unrelated changes.
[x] Run Locally: Verified that the docs build using make server, posted screenshots, verified external links.
[ ] New Features Marked: Documentation for new features is marked using the new-in-version shortcode, according to the guidelines in CONTRIBUTING.
[x] Style Guidelines: Documentation obeys style guidelines in CONTRIBUTING.
[x] Commits: Commit messages follow guidelines in CONTRIBUTING, there are no fixup commits left.

@nejraselimovic i tagged you in a few TODOs i could use your help on 👏🏽

Small issue with the header; the banner isn't the full width:

The banner needs some tweaking. Let's make sure the banner keeps working because we probably need it in the future for something
I find the differences in the font size a bit too much; the text in the sidebar is quite small, compared to the body and headings
Rename title Cloud to The Things Stack Cloud (http://localhost:1313/getting-started/cloud-hosted/)

I didn't review the code (yet), let me know if that is needed

Good catch - fixed the banner, bumped up the font size (to 0.95 of main) and renamed Cloud to TTS Cloud.

@benolayinka this is a very nice improvement
I have now two things to say:

let's use a third blue (#E5ECFF) to highlight the current option selected on the nav (see screenshot). Having only a strong blue and white is becoming a bit too agressif.

from Johan's screenshot, it seems like the nav is not fixed. It should stay fixed on the left while you scroll, like that it's always usable even if you are at the bottom of the page. You don't have to scroll up to find the nav back

See my comment above

The left scrollbar is fixed, it's just that when the banner is showing it messes up the vertical padding on the body that is built in to bulma. This is hard to fix, because it's done with variables in bulma's css, and the banner is toggled in javascript. I'm going to leave this bug in to live with for now. Dismissing the banner fixes it.

@johanstokking i went back to small font for the left and right, mimicking the styling here -> https://doks.netlify.app/docs/prologue/introduction/
It looks much cleaner as the left side menu expands, preventing the text from wrapping. Give it one last look and see what you think.
@kschiffer do you still have the error preventing you from running the docs?

It looks much cleaner as the left side menu expands, preventing the text from wrapping. Give it one last look and see what you think.

I find it too small. It's so small that it becomes annoying to read and to navigate.
Also comparing it to your reference, it's much smaller:

It looks much cleaner as the left side menu expands, preventing the text from wrapping. Give it one last look and see what you think.

I find it too small. It's so small that it becomes annoying to read and to navigate.
We have enough horizontal space to make the menu on the left wider.
Also comparing it to your reference, it's much smaller:

Okay. I changed it back, and made the left sidebar slightly larger on screens up to bulma's widescreen query (1200px):

Above 1200px there's enough space available that it looks alright:

I still don't really get the diff here. Why https://github.com/TheThingsIndustries/lorawan-stack-docs/pull/223/files#diff-44ee0dd4f3e20fbaa46ca55af60ab936cf350b868944abbe0882f8079c5d77b2? Is that part of this PR really?

I still don't really get the diff here. Why https://github.com/TheThingsIndustries/lorawan-stack-docs/pull/223/files#diff-44ee0dd4f3e20fbaa46ca55af60ab936cf350b868944abbe0882f8079c5d77b2? Is that part of this PR really?

Editorconfig changes are re this review comment - https://github.com/TheThingsIndustries/lorawan-stack-docs/pull/223#discussion_r582703568
Codeowner change is re https://github.com/TheThingsIndustries/lorawan-stack-docs/pull/223#pullrequestreview-598549976

I still don't really get the diff here. Why https://github.com/TheThingsIndustries/lorawan-stack-docs/pull/223/files#diff-44ee0dd4f3e20fbaa46ca55af60ab936cf350b868944abbe0882f8079c5d77b2? Is that part of this PR really?

Ah sorry, the anchor link didn't show for me at first. The changes to the cloud integrations are re: TODO :
Make maximum depth 2 (fix cloud integrations) - let's go through and condense instructions which need to be followed in order in to one page, the cloud integrations are a perfect example. I've done it for Akenza as an example. @nejraselimovic
Changing arbitrary depth sections in to maximum depth 2, taking advantage of the right side TOC instead of splitting pages in to separate subsections.


TweenJs

TweenJs help
Description

hello can someone/tentone please provide me a tweenjs example with nunustudio please
from a position to an other

Version

<0.9BETA>

Platform

Web Version [X]
Windows [X]
Linux [X]

Hello
I will add an example to the animation page, there are some example there that i have to review / refactor.
Thanks a lot


v5: New multi-json loader

This PR introduces a new multi-json loader mentioned here: #348
Benefits
The new loader:

It always works, mergeing all fields and arrays for now and future, no matter how much change is made for Config
Easy to explain, understand, and of course to use: Only simple values (String, Number, Boolean) are overrode, all others are merged. By doing these, we can call it a real merge loader.
With the potential of merging everything, user can write freely for what they want, like, to put inbound->routing->outbound together in one file
It can provides extra capabilities without changing the config codes, like sorting outbounds and routing rules by priority

Merging rules

Simple values (string, number, boolean) are override, all others are merged
Add "_priority" property to array elements will help sort the array
Items with same "tag" (or "_tag") in an array will be merged

Breaking Change?
Yes. It is for v5.
What it Changes

v2ray run, v2ray test, v2ray convert (external loader) are applied with new loader

-confdir applies to other formats, e.g. "yaml" in the future
Former -confdir flag only works for json, by hardcoding file extension .json on reading dirs. Now, we use extension list from current loader.

multiple assign of -confdir is accepted

add flag to load confdir recursively

config loader can have alias name
Removed getFormatFromAlias() (or former GetConfigFormat()). It's kind of simplifing, we register format name within ConfigFormat, not other places.

json loader also accepts .jsonc

add merge command

add help topics for json merge, format loader

format loaders don't panic (https://github.com/v2fly/v2ray-core/pull/369#issuecomment-731771407)

Please rebase upon v5, I think test should be okay then.

Thank you for work


Doc still references tactician

This file seems outdated since Messenger replaced Tactician
https://github.com/jorge07/symfony-5-es-cqrs-boilerplate/blob/7272cd84931d43cfcf4173c459ac826186be43b2/doc/GetStarted/Buses.md

Totally right. I'll find time this weekend to add the messenger documentation. Thanks for report it!


Add a separator between shape and dtype in cache key encoding.

It was possible that we could mix shapes and types (T111 could mean a tensor of dtype 1 and shape (1, 1) or a tensor of dtype 11 and shape (1)).
PiperOrigin-RevId: 215777629

Yup, this change seems low-risk and worth taking.  I'll merge it after the tests re-run.

Thanks!


More performant random channel/destination generation

The affected test helpers do not require knowing the private key corresponding to the signing address that generates:

the destination; or
the channel id

When this is the case, it's much faster to generate a random hex string. Creating an ethers wallet is already slow; doing so in a jest environment is very slow (I believe it takes on the order of 100ms.)

Because the base branch was merged to master with a "squash", the history and diff here are messed up. I cleaned it up on  #3691


img does not start

I downloaded the image (rpi4-raspbian-buster-edgetpu-2.11.1.img), flashed it to a sd card (32GB, 64 GB), started it on my Rasp Pi 4. Did not boot, terminated with

with a kernel panic error.

@heartsomeXPhantom sorry for delay, are you still facing issue?


not able to start jupyter notebook imported into python using wsl

Environment data

VS Code version: 1.38.1
Extension version (available under the Extensions sidebar): Python 2019.9.34911
OS and version: windows 10.0.17763
Python version (& distribution if applicable, e.g. Anaconda): python 3.7.3 conda 4.7.12
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: XXX
Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info #3977): jedi, but happens both ways

Expected behaviour
Actual behaviour
run cell for this
#%%
import os

gives
Executing code failed : Error: Jupyter server crashed. Unable to connect. Error code from jupyter: 1

Steps to reproduce:

open wsl
launch conda environment
open vscode
create .py file with

#%%
import os

run cell

see error message

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
cwd: /mnt/c/Users/matt/Documents/code/course-v3/nbs/dl-me
##########Linting Output - pylint##########
> ~/anaconda3/bin/python -m jupyter kernelspec list
> ~/anaconda3/bin/python -m jupyter kernelspec list
> ~/anaconda3/bin/python -m jupyter notebook --no-browser --notebook-dir=/tmp/fe814943-4e41-421f-b230-8b5c217dbebe --config=/tmp/fe814943-4e41-421f-b230-8b5c217dbebe/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0
> ~/anaconda3/bin/python -m jupyter kernelspec list
> ~/anaconda3/bin/python -m jupyter kernelspec list
> ~/anaconda3/bin/python -m jupyter notebook --no-browser --notebook-dir=/tmp/ccb8d822-bb60-48d3-9f12-937035982aa7 --config=/tmp/ccb8d822-bb60-48d3-9f12-937035982aa7/jupyter_notebook_config.py --NotebookApp.iopub_data_rate_limit=10000000000.0

i wasn't able to find Enable source map support for extension debugging advice?

I'm able to get this working on my mac but would love it on my PC for the GPU.

This may be a problem with an out of date jupyter.
Can you try this from the same python environment and respond with the results?
python -m jupyter notebook --version
Additionally if you could goto 'Help | Toggle Developer Tools', click on the console tab, right click save as, and upload the log, that would help too.

This may also be related to our default config we specify for jupyter. See this similar issue here:
https://github.com/microsoft/vscode-python/issues/6762

here's what i get with the jupyter version running from the vscode terminal
(base) root@DESKTOP-LFEDEL2:/mnt/c/Users/matt/Documents# python -m jupyter notebook --version
6.0.0'

attached is the console log
https://gist.github.com/foobar8675/dc2735443e56e685602e41b5720054af

I tried toggling use default config for jupyter but that's not making a difference. i went also went ahead and created a ~/.jupyter/jupyter_notebook_config.py  with c.NotebookApp.ip = '<IP_ADDRESS>' but that doesn't seem to make a difference :(

That console log doesn't have everything in it. It looks like you only uploaded the errors? Hopefully jupyter output something else that can show us what the problem is.
Error code 1 is ENOPERM, so perhaps your jupyter is configured to require a password.

For the password, I took a look in the jupyter_notebook_config.py and see the following line is commented out.  #c.NotebookApp.password = '' . Not sure where else to look for password settings. I can launch jupyter from the command line and view in a browser w/o password.
I clicked on the console->messages and updated the gist above. However, looking at it, I didn't see anything useful. :(
In vscode, I went to output -> Python to look at the logs for jupyter and added a gist here. https://gist.github.com/foobar8675/6caf97a4014795c505cb80f67c1a3b45 In looking at it, I'm not sure I see what a problem might be

That's still not the right console log. That looks like the output from the python tab of the 'output' window.
The console log is what you're showing in your screenshot above, you're just only showing errors. It should be rather large. This is what mine looks like:
-1569429664138.log

I should also mention that a normal jupyter notebook isn't running the same way as us. We're closer to jupyter lab. We talk to the tornado server that jupyter starts up. That's likely where the problem is. Hopefully Jupyter is outputting something telling us why it's crashing.

Thanks for clarifying for the logs. I'll regenerate that log file tonight when I'm back on that computer. I also didn't know jupyter ran Tornado under the hood. I've been looking at Starlette but will also look at Tornado.

i just generated a new log which is here. https://gist.github.com/foobar8675/87bd0d2f2047840ed500af0f3fbf6e9f and noticed one line that looked suspicious.
console.ts:137 [Extension Host] Info Python Extension: 2019-09-25 21:37:31: [C 22:37:31.404 NotebookApp] Running as root is not recommended. Use --allow-root to bypass.

so i ran this with the following output
(base) root@DESKTOP-LFEDEL2:/mnt/c/Users/matt/Documents/code/course-v3/nbs/dl-me# ~/anaconda3/bin/python -m jupyter notebook --no-browser --notebook-dir=/tmp/f0c16a0f-1292-46e5-af9a-b33f32c9b3ee --NotebookApp.iopub_data_rate_limit=10000000000.0
[I 22:43:34.730 NotebookApp] JupyterLab extension loaded from /root/anaconda3/lib/python3.7/site-packages/jupyterlab
[I 22:43:34.731 NotebookApp] JupyterLab application directory is /root/anaconda3/share/jupyter/lab
[C 22:43:34.733 NotebookApp] Running as root is not recommended. Use --allow-root to bypass.

then ran this
(base) root@DESKTOP-LFEDEL2:/mnt/c/Users/matt/Documents/code/course-v3/nbs/dl-me# ~/anaconda3/bin/python -m jupyter notebook --no-browser --notebook-dir=/tmp/f0c16a0f-1292-46e5-af9a-b33f32c9b3ee --NotebookApp.iopub_data_rate_limit=10000000000.0 --allow-root
[I 22:44:30.968 NotebookApp] JupyterLab extension loaded from /root/anaconda3/lib/python3.7/site-packages/jupyterlab
[I 22:44:30.969 NotebookApp] JupyterLab application directory is /root/anaconda3/share/jupyter/lab
[I 22:44:30.970 NotebookApp] Serving notebooks from local directory: /tmp/f0c16a0f-1292-46e5-af9a-b33f32c9b3ee
[I 22:44:30.970 NotebookApp] The Jupyter Notebook is running at:
[I 22:44:30.970 NotebookApp] http://<IP_ADDRESS>:8888/?token=2bde53de571d92fb6fc75075c91e7eb5c77713cf27dde706
[I 22:44:30.971 NotebookApp]  or http://<IP_ADDRESS>:8888/?token=2bde53de571d92fb6fc75075c91e7eb5c77713cf27dde706
[I 22:44:30.971 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 22:44:30.976 NotebookApp]

    To access the notebook, open this file in a browser:
        file:///root/.local/share/jupyter/runtime/nbserver-1005-open.html
    Or copy and paste one of these URLs:
        http://<IP_ADDRESS>:8888/?token=2bde53de571d92fb6fc75075c91e7eb5c77713cf27dde706
     or http://<IP_ADDRESS>:8888/?token=2bde53de571d92fb6fc75075c91e7eb5c77713cf27dde706

which seemed ok. so i tweaked my jupyter_notebook_config.py to the following https://gist.github.com/foobar8675/583a49ddb027cd9e4e7ee0d347111eaf and in vscode, turned off

and it seemed to work!
Did I miss something in the instructions about not using a root user?

No we don't specify that anywhere. I should add that to our list of stuff to check.
We've hit this before with docker containers, so we auto detect docker and pass the --allow-root flag.
Glad you got it working. I'm going to change this bug to detect root access and/or update our docs to say don't run as root.

Got it and thank you for all your help @rchiodo . I'm not sure if this issue should stay open or closed?

I'd like to leave it open so we can check for root access and warn the user. Thanks.


feat(alert): remove replace: true usage

Remove replace: true usage

BREAKING CHANGE: This removes the replace: true usage, so this has an effect on how one uses the directive in the template - see documentation for reference
This assists in #5712.

LGTM

I wish the changelog comment had more information about what needed to be updated. For future reference, it wasn't clear to me what had changed so I missed the necessary changes to defining the alert type in my code. :rose:

I wish the changelog comment had more information about what needed to be updated. For future reference, it wasn't clear to me what had changed so I missed the necessary changes to defining the alert type in my code. :rose:


In-process hosting of gnatsd in a .NET server application?

Is it possible to host the gnats daemon in-process within a .NET server application? This would simplify our deployment process.

Not directly - the NATS server is an executable written in go.
Two options you have are to include the NATS server (gnatsd) as an executable in your application and invoke it from your application, or another option you can look into, but would require more work, would be compiling the NATS server as as library and deploying it as unmanaged code in your application.  The main routine, Start(), is exported.
Typically applications do not embed the NATS server.  Perhaps we there's another alternative.  Can you share more of your architecture?

Thank you for the background information, we're going to use the Go standalone executable. This seems the way-to-go.

@ColinSullivan1, in some use-cases it might be not possible to launch separate processes - for example in case of an iOS application (which could be written in Go).

@AndreiPashkin , yes, if you wrote your iOS application in go, you could certainly embed the server.  If taking that route, I'd suggest running the server as a leaf node when connecting to your remote NATS server/cluster.


nanohttpd with SSL on Android 6.0.1

I use this code to create the HTTP server and enable the SSL in my service.
Can anyone shine light on the place (path) where the keystore.jks must be placed in order to get found by the HTTP server on Android 6.0.1?
When there is a flaw in my code, please let me know.
public class MyService extends Service {
    private static MyHTTPD server;
    private static final String TAG = "CTRL_FOR_LED";
    Intent ctx;

    @Override
    public IBinder onBind(Intent intent) {
        ctx = intent;
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        Log.d(TAG, "onCreate service");
        try {
            server = new MyHTTPD();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        Log.d(TAG, "onStartCommand");

        try {
            server.makeSecure(NanoHTTPD.makeSSLSocketFactory("/path/keystore.jks", "myPassword".toCharArray()), null );
            server.start();
        } catch (IOException e) {
            e.printStackTrace();
        }
        return super.onStartCommand(intent, flags, startId);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        server.stop();
        Log.d(TAG, "onDestroy");
    }
}

The socket is built here:
https://github.com/NanoHttpd/nanohttpd/blob/master/core/src/main/java/org/nanohttpd/protocols/http/sockets/SecureServerSocketFactory.java
So that path is likely some sort of hardcoded or env variable moved around in java internals...

the Classpath path is on src/main/resources . just create the resources folder if it's not there yet


Cannot find module 'react/lib/ReactTestUtils'

Enzyme is now throwing errors when I upgraded react-scripts to 0.8.3 & 0.8.4. Everything was passing, but now enzyme is blowing up.
Package.json
"devDependencies": {
    "babel-preset-es2015": "^6.16.0",
    "babel-preset-react": "^6.16.0",
    "enzyme": "2.6.0",
    "react-addons-test-utils": "15.0.0-rc.2",
    "react-scripts": "0.8.4"
  },
  "dependencies": {
    "react": "^15.3.2",
    "react-dom": "^15.3.2",
    "react-router": "^3.0.0"
  }

Example.test.js
import React from 'react';
import ReactDOM from 'react-dom';
import { mount } from 'enzyme';
import FooterLink from './';

describe('FooterLink component', () => {

  it('should render without crashing', () => {
    const div = document.createElement('div');
    ReactDOM.render(<FooterLink url={ 'test.com' } />, div);
  });

  it('should have a name prop', () => {
    const wrapper = mount(<FooterLink name="test" />);
    expect(wrapper.props().name).not.toBeNull();
    expect(wrapper.props().name).toBeDefined();
    expect(wrapper.props().name).toEqual('test');
    expect(wrapper.props().name).not.toEqual('');
  });

  it('should have a url prop', () => {
    const wrapper = mount(<FooterLink url="/test" />);
    expect(wrapper.props().url).not.toBeNull();
    expect(wrapper.props().url).toBeDefined();
    expect(wrapper.props().url).toEqual('/test');
    expect(wrapper.props().url).not.toEqual('#');
  });

  it('should have a default url prop of "#"', () => {
    const wrapper = mount(<FooterLink />);
    expect(wrapper.props().url).not.toBeNull();
    expect(wrapper.props().url).toBeDefined();
    expect(wrapper.props().url).toEqual('#');
    expect(wrapper.props().url).not.toEqual('');
  });

});

output:
 FAIL  src/components/FooterLink/FooterLink.test.js
  ● Test suite failed to run

    Cannot find module 'react/lib/ReactTestUtils' from 'index.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:151:17)
      at Object.<anonymous> (node_modules/react-addons-test-utils/index.js:1:107)
      at node_modules/enzyme/build/react-compat.js:128:19

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        2.178s
Ran all test suites related to changed files.

Watch Usage
 › Press a to run all tests.
 › Press o to only run tests related to changed files.
 › Press p to filter by a filename regex pattern.
 › Press q to quit watch mode.
 › Press Enter to trigger a test run.
  console.error node_modules/enzyme/build/react-compat.js:131
    react-addons-test-utils is an implicit dependency in order to support<EMAIL_ADDRESS>Please add the appropriate version to your devDependencies. See https://github.com/airbnb/enzyme#installation

What is react-scripts and what does it do?

Your react-addons-test-utils package is too old; it needs to be upgraded in lockstep with react and react-dom

react-scripts is part of create-react-app.

It basically alias's to jest with some specific configuration.

I am seeing this issue myself too. Looks like the issue is with the ReactDOM package missing a require connection to the testing tools kit.

cc @gaearon, did anything change/break in 0.8.4 that you think could have caused this?

This is not related to react-scripts.
In your package.json:
    "react-addons-test-utils": "15.0.0-rc.2", // <--- this is an RC
  },
  "dependencies": {
    "react": "^15.3.2", // <--- this points to latest stable
    "react-dom": "^15.3.2", // <--- this points to latest stable

Pre-releases don't get updated with caret in semver so you keep using<EMAIL_ADDRESS>However since you ran npm install you also got 15.4.1 of react and react-dom.
The internal wiring of packages changed in 15.4. You need to keep versions of all React packages in sync. React doesn't support running TestUtils 15.0 with React 15.4, or ReactDOM 15.4 with React 15.3. They all should have the same version.
If you bump to<EMAIL_ADDRESS>the issue will be fixed.

@caseybaggz @Stephn-R see my comment above https://github.com/airbnb/enzyme/issues/724#issuecomment-266482126

why we always need to struggle with these different dependancies!! why are we making javascript a mess
  console.error node_modules/enzyme/build/react-compat.js:119     react-addons-test-utils is an implicit dependency in order to support<EMAIL_ADDRESS>Please add the appropriate version to your devDependencies. See https://github.com/airbnb/enzyme#installation
Now i am struggling to setup basic DOM testing for react app with 15.x version.

@tkssharma react-compat.js is in enzyme 2; it doesn't exist in enzyme 3. Try upgrading.


evaluator: Add builtin sleep

Add the builtin sleep function: sleep 1 sleeps for one second,
sleep 0.001 sleeps for one milli second. Now that we have wasm
hoisted on the main() go function we can just map to Go's sleep
function which panic'ed before.
Only the last commit is relevant, the first ones are the same as #65

for i := range 10 90
  color "white"
  move 0 0
  rect 100 100
  color "red"
  move i 10
  circle 10
  sleep 0.01
end

for i := range 10 90
  color "white"
  move 0 0
  rect 100 100
  color "red"
  move 90 i
  circle 10
  sleep 0.01
end

for i := range 90 10 -1
  color "white"
  move 0 0
  rect 100 100
  color "red"
  move i 90
  circle 10
  sleep 0.01
end

for i := range 90 10 -1
  color "white"
  move 0 0
  rect 100 100
  color "red"
  move 10 i
  circle 10
  sleep 0.01
end```


rely on docker compose config command

docker compose config (or docker-compose config) is a command that
"parse, resolve and render compose file in canonical format"
it resolves several things. For instance, it honors the COMPOSE_FILE envvar, supports the resolution of several files and also different file names like compose.yaml (which is the current recommendation in the spec ).

This is a very good point. Currently, docker-compose-viz doesn't rely on docker-compose being installed, and I was planning on keeping it this way. But I could see an interest here. I need to think a bit about this (or if you have any suggestion, PR proposal, etc. I am all ears).

I don't think there should be anyone who is trying to make diagrams based on the definition of one or more compose files and still doesn't have compose installed. Maybe the only exception is to avoid a dependency for example when you want to automate diagrams in your documentation (integrating with my sphinx extension for example), but it is a very corner case (for instance github action's ubuntu has docker and compose already installed).
Relying on a normalized result from compose config could simplify the implementation o this software a lot. Instead of supporting a certain value like list or map, you should only support the canonical format and you can ignore the other form. In short, I feel that you are basically making an alternative normalization parser that you will have to maintain forever.
On the other hand, It's would be trivial for me as a user to use config and "pipe" to the viz generator.


Revert "Revert "Bump and migrate notistack according new version""

Reverts meshery/meshery#11158

@aabidsofi19 have you tested? working fine?


Decouple deserializer from messages generated by easyfix_messages_gen::generate_fix_messages

Right now easyfix::deserializer depends on  use crate::fields::{basic_types::*, MsgType, SessionRejectReason};, but MsgType and SessionRejectReason are generated types and deserializer from shipped crate depends on generated messages there.
At the same times generated code depends on crate::deserializer, so they are tightly coupled.
This forces copy-paste of the whole deserializer when creating my own crate with generated code.
I'm not sure about the cleanest way to decouple them, one idea that comes to mind is making SessionRejectReason and MsgType as generic parameters of Deserializer.

I'm aware of this limitation. That's why easyfix-messages-gen crate is "inside" easyfix-messages.
MsgType could be used as generic (with TryFrom<&FixStr> bounds), but for SessionRejectReason deserializer needs to use specific variants which are not available in generic context. This could be solved by implementing trait like this:
trait SessionReject {
    fn value_is_incorrect() -> Self;
    fn tag_specified_without_a_value() -> Self;
    // ...
}

Right, I think being able to use generator in user projects / crates is a very useful use-case. Actually it would be great to also decouple FIX50SP2 spec/messages from easyfix-messages to its own crate or guard those with feature flag.
And it almost works now, I was able to create such project and only needed to copy over (parts) of deserializer.
As for the decoupling, I think it might make sense to create a generic enum for session reject in session module and then hopefully allow automatic conversion from that enum to spec-specific generated enum (based on tag?).


Clean glob before extracting capture groups

Fix #5365

@PFedak noticed that we weren't actually running any of our worker tests! This PR now fixes that as well (test-worker-helper now tests s/s/worker/...


[Doc] Add param to Configuration.md

Signed-off-by: amber-create<EMAIL_ADDRESS>Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

@mergify backport branch-3.0 branch-3.1

@mergify backport branch-2.4 branch-2.5

[FE PR Coverage Check]
:heart_eyes: pass : 0 / 0 (0%)


Release notes - Trivial typo change

SUMMARY
Trivial Typo change to release notes.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
Release notes doc
ADDITIONAL INFORMATION
n/a

Exception: script returned exit code 1

@vera-chan has already fixed this one!

Exception: hudson.AbortException: Fail: the returned code 404 is not in the accepted range: [[100‥399]]


How to get a slider plot showing a sequence of different meshes

I have a sequence of meshes for which I have vertices and faces and I would like to be able to make an interactive plot with a slider like the one here https://vedo.embl.es/fearless/#/1/1 where each value of the slider shows a different mesh on the same axes.
I have tried to make a slider plot using the add_slider  and add_slider3d functions but I'm having trouble because each mesh has separate vertices and faces and I can't work out how to change them for every value on the slider. Any help would be much appreciated!

The slider you quote in the link works on a web server only.
If you wish to create a local interactive application you can check out examples
examples/basic/slider_browser.py
with
...
objs = load("mymesh_*.stl")  # load a list of meshes
...

you don't need to do anything about vertices or faces,
hope this helps!

That worked, thanks very much!


3.2 dubbo feign http call and mvc annotation support #10803

What is the purpose of the change
Brief changelog
Verifying this change
Related issues
#10803

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #11017 (8c5c100) into 3.2 (d2e9dce) will decrease coverage by 0.19%.
The diff coverage is n/a.

:exclamation: Current head 8c5c100 differs from pull request most recent head 312b4aa. Consider uploading reports for the commit 312b4aa to get more accurate results

@@             Coverage Diff              @@
##                3.2   #11017      +/-   ##
============================================
- Coverage     69.62%   69.43%   -0.19%
+ Complexity      338        2     -336
============================================
  Files          3116     1462    -1654
  Lines        147989    61640   -86349
  Branches      24657     9070   -15587
============================================
- Hits         103031    42798   -60233
+ Misses        35778    14658   -21120
+ Partials       9180     4184    -4996

Impacted Files
Coverage Δ

.../apache/dubbo/rpc/filter/ProfilerServerFilter.java
54.54% <0.00%> (-18.19%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
41.66% <0.00%> (-16.67%)
:arrow_down:

...stry/integration/AbstractConfiguratorListener.java
75.55% <0.00%> (-13.34%)
:arrow_down:

...oting/transport/netty4/NettyConnectionHandler.java
53.19% <0.00%> (-6.39%)
:arrow_down:

...bbo/common/concurrent/CallableSafeInitializer.java
61.90% <0.00%> (-4.77%)
:arrow_down:

.../apache/dubbo/remoting/transport/AbstractPeer.java
67.39% <0.00%> (-4.35%)
:arrow_down:

...apache/dubbo/rpc/protocol/dubbo/FutureAdapter.java
56.00% <0.00%> (-4.00%)
:arrow_down:

.../apache/dubbo/rpc/protocol/injvm/InjvmInvoker.java
64.00% <0.00%> (-4.00%)
:arrow_down:

...c/main/java/org/apache/dubbo/rpc/RpcException.java
78.12% <0.00%> (-3.13%)
:arrow_down:

...a/org/apache/dubbo/monitor/dubbo/DubboMonitor.java
88.09% <0.00%> (-2.39%)
:arrow_down:

... and 1673 more

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


Target TPC-H query 19

Target the below query since we are the closest to actually running this one. Just ignore the first line for now and do * instead.
select
        sum(l_extendedprice* (1 - l_discount)) as revenue
from
        lineitem,
        part
where
        (
                p_partkey = l_partkey
                and p_brand = 'Brand#12'
                and p_container in ('SM CASE', 'SM BOX', 'SM PACK', 'SM PKG')
                and l_quantity >= 1 and l_quantity <= 1 + 10
                and p_size between 1 and 5
                and l_shipmode in ('AIR', 'AIR REG')
                and l_shipinstruct = 'DELIVER IN PERSON'
        )
        or
        (
                p_partkey = l_partkey
                and p_brand = 'Brand#23'
                and p_container in ('MED BAG', 'MED BOX', 'MED PKG', 'MED PACK')
                and l_quantity >= 10 and l_quantity <= 10 + 10
                and p_size between 1 and 10
                and l_shipmode in ('AIR', 'AIR REG')
                and l_shipinstruct = 'DELIVER IN PERSON'
        )
        or
        (
                p_partkey = l_partkey
                and p_brand = 'Brand#34'
                and p_container in ('LG CASE', 'LG BOX', 'LG PACK', 'LG PKG')
                and l_quantity >= 20 and l_quantity <= 20 + 10
                and p_size between 1 and 15
                and l_shipmode in ('AIR', 'AIR REG')
                and l_shipinstruct = 'DELIVER IN PERSON'
        );
limit -1;

Done #68


close inflight requests + nio 2 updates

Hey @tanner0101, you just merged a pull request, have a coin!
You now have 1092 coins.


WIP: Entity based mapping

Mendix 7.2 adds a new mapping source: entity structure

Ready to be merged upon 7.2 release.


UI: some styling changes, more wiring and add polling for UI state <> client state

It's pretty ugly, but we can just check balances with the clients every 400ms. It should work well enough for our purposes and avoid the need for event emitters and so on.
Closes #75

FYI I've seen the UI render balance changes before this PR.

FYI I've seen the UI render balance changes before this PR.

Yes, the intermediaries were already wired up. Not the others, until known.


Errors when using 6.4.0-rc.4

Since stringifyEnvs was removed in https://github.com/storybookjs/storybook/pull/16725/files. https://github.com/eirslett/storybook-builder-vite/blob/b67015a99d798c7cb2f7e5ccf3b3b04b595013a1/packages/storybook-builder-vite/envs.js#L19-L21 will no longer work.

Ack. Sorry I'll add it back

Fixed in storybookjs/storybook#16731


Feature Request: display electrified option

Hello everybody.
It would be great if the electrification of the railway routing could also get displayed. Probably easiest would be to display the electrified option (https://wiki.openstreetmap.org/wiki/Key:electrified) in the data table.
thanks and kind regards!

The key electrified is not available in the underlying data (lookups.dat).
You would need to open an issue to add it in the backend (https://github.com/abrensch/brouter), but I fear the rail profile is only meant as a very basic example and not for more sophisticated uses.


After installing with docker on local environment, I got an ERR_INVALID_REDIRECT

Dear All,
I followed the steps in the guide of installing hospital run on a local server, after doing all the steps and navigating to xxx.xxx:8055 I got ERR_INVALID_REDIRECT.
I checked and found that port 8055 already has a service listening on. So I don't know where's the problem?
I'm using a virtual machine from Linode, OS Ubuntu 16.
Logs:

Mine (local server being accessed via IP) only works if I put "https://xxx.xxx.xxx.xxx" , without the 8055. If I fail to set up an SSL cert, the only way I got it to work is via localhost on the server itself.

to update on this, on the current setup, port 8055 is http. the web server is set to redirect http traffic to https.  however, your installation probably failed to set up https access, so it can't redirect.
if your server has a publicly-accessible domain name and you entered the domain name in docker-compose.yml, you may be failing to get https set up due to the issue #111 is intended to fix. if you want to test a solution, just change your docker-compose.yml's nginx container port mappings to match the one in #111 (80 instead of 8055), or let me know if you want any help.


Uploading actions.json command uses 'test' instead of 'update'

Tried using the gaction command provided by the code lab for uploading the blinky LED actions sample, but it wasn't being recognized by the Android Things device.
MachineLearningDemo git:(master) ✗ /Users/paul/Downloads/gactions test --action_package actions.json --project machine-learning-demo-cddf4
Pushing the app for the Assistant for testing...
Your app for the Assistant for project machine-learning-demo-cddf4 is now ready for testing on Actions on Google enabled devices or the Actions Web Simulator at https://console.actions.google.com/project/machine-learning-demo-cddf4/simulator/

Switched the word 'test' to 'update' after some digging in the documentation, and it allowed my device to use the action.
(env) ➜  MachineLearningDemo git:(master) ✗ /Users/paul/Downloads/gactions update --action_package actions.json --project machine-learning-demo-cddf4
Your app for the Assistant for project machine-learning-demo-cddf4 was successfully updated with your actions. Visit the Actions on Google console to finish registering your app and submit it for review at https://console.actions.google.com/project/machine-learning-demo-cddf4/overview

gactions test should work fine. I wonder if the issue is related to a brief delay between pushing the action package and waiting for the server to update.

Hrm, dunno. I actually put it away last night after a couple hours messing with it, then came back this morning and it still wasn't registered/working. Once I switched to update, it worked immediately.


Migrate webhook code to the new operator-sdk framework

The new operator-sdk framework implements the webhook server that we currently have implemented in our own custom code. Migrate the current webhook code to the controllers and use the new framework, i.e. mgr.Add(hookServer) and hookServer.Register(), and remove our custom webhook server code.

I'm going to take this off of the 0.3 milestone unless some additional motivation for the change pops up.


Publish the package to NPM registry

Describe the feature
I want to have the option to install the library from the NPM registry and not only GitHub.
Use Case
In our organization, we install all libraries from our private registry which has mirrored dependencies from https://npmjs.com/
The current setup with installing a GitHub dependency requires us to implement a workaround to make it work in CI.
Proposed Solution
Publish the package to https://npmjs.com
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request
[ ] This feature might incur a breaking change

aws-msk-iam-sasl-signer-js library version used
1.0.0
Environment details (OS name and version, etc.)
macOS

Hi @miron4dev, we already have this release hosted in npm:  https://www.npmjs.com/package/aws-msk-iam-sasl-signer-js
Let me know if you face any issues using it.
npm install aws-msk-iam-sasl-signer-js should work. @agarwal1510 we may want to change our README here as well.


Complete Security Section for Corporate Compute and Storage PIA

Describe the issue
There is a section in the PIA template with security-specific questions. Ryan is working on the STRA/SOAR that will provide answers to those questions. Ryan and I will walk through the content of the STRA/SOAR so I can pull the relevant info into the corporate PIA draft.
Which Sprint Priority is this issue related to?
Sprint 12
Additional context
Expected gaps in the PIA will relate to:

outcome of STRA (including security controls for landing zone)

procurement outcome with Government of Canada

PIA in draft format in Teams

Definition of done

meeting(s) with Ryan complete
security section of PIA filled in with info from the STRA/SOAR
PIA content in the security section confirmed by Ryan

Continue to have meetings with Ryan on the STRA and to share learnings.


add test case, #3282

Codecov Report

Merging #3363 into master will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3363      +/-   ##
============================================
- Coverage     80.47%   80.46%   -0.01%
- Complexity     7454     7456       +2
============================================
  Files           157      157
  Lines         27840    27840
  Branches       6708     6708
============================================
- Hits          22404    22402       -2
- Misses         3423     3424       +1
- Partials       2013     2014       +1

Impacted Files
Coverage Δ
Complexity Δ

...com/alibaba/fastjson/parser/JSONReaderScanner.java
73.58% <0.00%> (-1.26%)
45.00% <0.00%> (-1.00%)

...main/java/com/alibaba/fastjson/util/FieldInfo.java
86.62% <0.00%> (-0.34%)
99.00% <0.00%> (ø%)

...om/alibaba/fastjson/util/AntiCollisionHashMap.java
78.77% <0.00%> (+0.29%)
80.00% <0.00%> (+3.00%)

Continue to review full report at Codecov.

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


Videos from editions biosante

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2023.01.06 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
France
Example URLs
https://videos.editions-biosante.com/?name=2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198
Provide a description that is worded well enough to be understood
Unsupported URL response
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://videos.editions-biosante.com/?name=2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2023.01.06 [6becd25] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.16.0, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1760 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2023.01.06, Current version: 2023.01.06
yt-dlp is up to date (2023.01.06)
[generic] Extracting URL: https://videos.editions-biosante.com/?name=2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198
[generic] ?name=2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] ?name=2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://videos.editions-biosante.com/?name=2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1502, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1578, in __extract_info
  File "yt_dlp\extractor\common.py", line 680, in extract
  File "yt_dlp\extractor\generic.py", line 2523, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://videos.editions-biosante.com/?name=2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198

https://videos.editions-biosante.com/?name=2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198

here's the link for this one
https://videos.editions-biosante.com/videos/2022/10/2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198/2022_10_0fbbe226-e3bb-4e46-bfb0-d40bfd64d198.mp4

If you want the site to be supported, more information is probably needed:
Where did the example URL come from? How does one browse the site to find more videos? Navigating to videos.editions-biosante.com, www.editions-biosante.com, and editions-biosante.com does not work. Is the URL an embed/iframe link from another site? etc


migrate CI to github actions

If you want to make Linux wheels that are usable on pypi you can use the quay manylinux2010_x86_64 and 2014 docker images.

I generally haven't worried about linux wheels since the build is straightforward. I'm not sure if linux wheels will add more problems than they solve.
Do you have examples of how to set them up?
Also, I was reading yesterday that the numpy bindings used in one of the extensions might be numpy version dependent, and therefore it is better to build for the platform (though that begs the question of what happens with the windows and mac wheels, so the answer there is that we shouldn't be using the numpy C api).

Code I use in the github actions script:
  linux_wheels:

    runs-on: ubuntu-latest
    strategy:
      max-parallel: 2
      matrix:
        PLAT: ["manylinux2010_x86_64", "manylinux2014_x86_64"]

    steps:
    - uses: actions/checkout@v2
    - name: Make Linux Wheel
      run: |
        docker run --rm -e="PLAT=${{ matrix.PLAT }}" -v $(pwd):/io quay.io/pypa/${{ matrix.PLAT }} /bin/bash /io/tools/build_manylinux_wheels.sh
    - uses: actions/upload-artifact@v1
      with:
        name: refnx-wheel
        path: dist/

The bash script used to build the wheels is here

These are also useful:
https://pypi.org/project/oldest-supported-numpy/
https://github.com/pypa/manylinux


Added reclaim-mannequin to ado2gh

Issue #356

[x] Did you write/update appropriate tests
[x] Release notes updated (if appropriate)
[x] Appropriate logging output
[x] Issue linked
[x] Docs updated (or issue created) - #360

Since we don't have the feature implemented yet to consume this csv, my suggestion is to make this command hidden until we add in the feature that can consume it to claim mannequins in bulk (IsHidden = true on the command).


Changed the CMake version to 3.20 to match with other repos

Change was already implemented in CHIP-SPV:develop branch that was merged into CHIP-SPV:master with PR#9.


Bug 2182351: [release-4.14] add mpath for LSO device types

Manual backport of https://github.com/red-hat-storage/odf-console/pull/1022

/cherry-pick release-4.14-compatibility

/approve
/lgtm


lxrun /uninstall /full /y failes to delete all user content in $HOME.

On the previous install of build 14332_rs1_release.160422-1940 I installed the android open source project source code.  Then I update my insider version to 14332 and ran lxss /uninstall /full and was warned that all my $HOME data would be removed.  (it was not) I had left over directories.
Now my $HOME directory is missing its .bashrc and .profilerc files.  (note: I'm not sure those existed before so maybe I'm confused.)
Still the tool warned me about loosing data and not all the data was deleted.

Mark, the uninstaller runs from lxrun.exe, not lxss.exe, but assuming that's what you did, can't you just delete all of the remaining files manually in appdata\local?

run "lxrun /uninstall /y" before and "lxrun /uninstall /full /y" a second time will work.

Sorry about the type-oh.  Yes lxrun is the app I ran.  The undeleted files
were bits of the aosp project SRC code.   I'll retry the failure case later
today.  It takes 2 hrs to repo sync the project that is made up of more
than 500 git projects.  I'll start pulling the code down before I go to
work and run the test case when I get home.
.
On May 1, 2016 10:35 PM, "fpqc"<EMAIL_ADDRESS>wrote:

Mark, the uninstaller runs from lxrun.exe, not lxss.exe, but assuming
that's what you did, can't you just delete all of the remaining files
manually in appdata\local?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/310#issuecomment-216108064

Is it possible that you had a handle to a file or directory open while you were trying to uninstall?

Nope.  I just re-did the following test:
install bash:
follow the instructions from source.android.com
http://source.android.com/source/downloading.html and repo init / repo sync
AOSP.
close the shell.
run powershell and from powershell and run :
PS C:\Users\mark> lxrun /uninstall /full /y
This will uninstall Ubuntu on Windows.
This will remove the Ubuntu environment as well as any modifications, new
applications, and user data.
Uninstalling...
PS C:\Users\mark> http://source.android.com/source/downloading.html
After the uninstall I look at where the $HOME is to see;
The directory seems to be getting cleanned up in the background.  After
lxrun is finished the directory had content and over time it was deleted.
On Mon, May 2, 2016 at 5:32 PM, Ben Hillis<EMAIL_ADDRESS>wrote:

Is it possible that you had a handle to a file or directory open while you
were trying to uninstall?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/310#issuecomment-216404253

--
create interesting things.

If you still have the repro can you see if the files that failed to delete end with the "." character?  There will be other files as well but if there was a file that ended in a period the deletion operation will stop.
I investigated this a bit and it looks like the Win32 API that we're using to delete files is not correctly handling files that end in periods.

I don't have those files at this time.  I swapped the HD out for a while.
I'll come back to testing this stuff out in a few weeks.  Sorry.
--mark
On Sun, May 8, 2016 at 9:54 AM, Ben Hillis<EMAIL_ADDRESS>wrote:

If you still have the repro can you see if the files that failed to delete
end with the "." character? There will be other files as well but if there
was a file that ended in a period the deletion operation will stop.
I investigated this a bit and it looks like the Win32 API that we're using
to delete files is not correctly handling files that end in periods.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/BashOnWindows/issues/310#issuecomment-217732724

--
create interesting things.

As I have and still am experiencing these issues, I take the liberty to respond for my case.

If you still have the repro can you see if the files that failed to delete end with the "." character? There will be other files as well but if there was a file that ended in a period the deletion operation will stop.

Yes, "my" issue originates from a folder that I think cmake created in /usr/local/lib/cmake/. The remaining folder is cadmesh-. (there's the period). The content is a cmake config-file cadmesh-config.cmake.
As a quite dirty workaround, after running lxrun /uninstall /full /y just go to %HOMEPATH%\AppData\Localand rename the lxss directory and then manually delete all the deletable files. This should at least help you with reducing disk space.

@cvelten Excellent that's what I expected.  I'm currently working on a change that switches the way we delete files on uninstall so it will handle cases like files ending in periods and some other funny Win32 path translation rules.
Your workaround will be very helpful because in some cases files ending in "." would prevent the user from being able to reinstall Ubuntu on Windows.  I'll make sure to add your workaround to rename the  %localappdata%\lxss folder to our list of known issues.

This still isn't fixed in Build 14352. I had the Linux kernel for Raspberry Pi cross-compiled and that directory and tools are still there after lxrun /uninstall /full. These directories were created according to the Cross-compiling section in https://www.raspberrypi.org/documentation/linux/kernel/building.md

@mobluse Do these directories (or some files inside of them) end in a '.' character?  Looks like the fix for that issue just missed the snap for the 14352 build.  It will be in the next one though!

@benhillis I had removed the folders manually using e.g. rm -rfv tools/ before I got your answer, but now I downloaded tools again using git clone https://github.com/raspberrypi/tools , but I couldn't find any files ending in '.' using find tools/ -name '*.' .

@benhillis's change made it into 14361 so marking this one as fixed.
I do know that files ending in '.' are possible (touch foo. works).


Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9

Environment

Laravel Version: 5.8.17
PHP Version: 7.3.1
PHPUnit Version: 8.1.5

Description:

There was 1 warning:

1) Tests\Feature\Auth\LoginTest::testUserCannotMakeMoreThanFiveAttemptsInOneMinute
Using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9. Refactor your test to use assertStringContainsString() or assertStringContainsStr
ingIgnoringCase() instead.

Steps To Reproduce:
Simply run the tests

Thanks for reporting. Even though version 8 of phpunit is not officially in Laravel quite yet, I have updated the test and made a new release.


Method missing in MetricsPanelCtrl

Hi,
moveQuery() method of MetricsPanelCtrl is missing in the d.ts file. Would you fix it ?

@Jostar1024 thanks a lot, let me check.

For protocol:
Definitions: https://github.com/CorpGlory/types-grafana/blob/bc4ec0484d90b9d374e6df567833dc4e292dd0e7/app/features/panel/metrics_panel_ctrl.d.ts
Method in source code:
https://github.com/grafana/grafana/blob/cebae404686b6d4390c90a7bb389922a21e97a9a/public/app/features/panel/metrics_panel_ctrl.ts#L345

@Jostar1024 I added changes to master
https://github.com/CorpGlory/types-grafana/commit/2ce6e54491a247b9dbfe6b809e43daf2002e8260
Please let me know if it is better now

Great ! No problem at all for now. Thank you :)


Listing of (un)official extensions

As JSON Feed offers JSON feed extensions, how about having a listing of JSON Feed Extensions as part of the official JSON feed website?
In RSS there are some extensions which are rather helpful:

HTML-Content
Media
OpenSearch
GEO-RSS

Currently I found some semi-official extension for JSON Feed… but more may be out there:

_Cast
Micro.blog
Possible idea for extension: Feed update frequency
Possible idea for extension: Links to identical feeds in other formats
Possible idea for extension: Event Calendar Items
Possible idea for extension: GeoJSON

In this manner we could make JSON Feed as modular as RSS, while keeping the main specification lean and clean.

I've been hammering out an extension for encapsulating metadata about different post types and have implemented it on my site:

https://cleverdevil.io/content/all/?_t=jsonfeed

For some particular post types:

https://cleverdevil.io/content/rsvp/?_t=jsonfeed
https://cleverdevil.io/content/locations/?_t=jsonfeed
https://cleverdevil.io/content/photos/?_t=jsonfeed
https://cleverdevil.io/content/statusupdates/?_t=jsonfeed
https://cleverdevil.io/content/posts/?_t=jsonfeed
https://cleverdevil.io/content/bookmarkedpages/?_t=jsonfeed

Open to feedback, and definitely would like to include my proposal in this list of unofficial extensions in the hope of getting adoption!

this seems related to https://github.com/brentsimmons/JSONFeed/issues/88 and i agree that having a registry of some sorts might be helpful. not sure that the current way extensibility is handled is particularly helpful, because it makes the distinction between blessed and private a hard one. one data point to keep in mind learned from a lot of painful experience with this kind of design: https://tools.ietf.org/html/rfc6648

I created an _itunes extension that adds fields missing from JSON feed needed for iTunes RSS feeds. Also for the conversion from JSONFeed to RSS, it will map standard JSONFeed fields to the extension fields making most of them optional, the idea being that most of the redundant _itunes extension fields derivable values, with the option to override.
See https://github.com/bcomnes/jsonfeed-to-rss
Looks similar to the _cast extension.


Image placeholders in demo don't load

In demo linked in readme the placeholder images don't seem to load.

I'm having no problem

Yes, it is taking a while. I changed the protocol from http to https and it seems to be improved.


Changes for 12-16 made by Shiva

I acknowlegde your changes. Good job!

check the data and push again


New package: bshuzhang.PPLink version 10.3.0

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.4 schema?

Microsoft Reviewers: Open in CodeFlow
Microsoft Reviewers: Open in CodeFlow

@wingetbot waivers Add Validation-Domain


Load satellite live bug

Detailed Description
Need to adjust so that live satellite images can be loaded into batches. The problem is they are about ~20 mins behind, so probably need to the expected shape in 'nowcasting_dataset'

Some other context
Satellite batches. When loading satellite batches from live, i think we might get an error, but the data will be the wrong shape. This is due to the satlellites images being ~20 mins behind. The model can deal with the data not being there, but nowcast_dataset will get upset becasue it expects it in a certain format.
One way to solve this, could be to forward fill the data if live. Another way could be to adjust the expected shape if live. I think I prefer the expected shape method, as we dont fill in empty data

Seems there is a little bug - says there are some nans in the satellite data. I wonder if this is data from northern scotalnd?
I thought padding had fixed this

This is an interesting issue!
For the MVP, I think I'd lean towards keeping life as simple as possible and defining t0 as the time of the most recent observation, across all modalities.
So, for example, let's say it's 12:00pm now. We have PV data up until 11:55am. But the satellite data is 30 minutes behind, so the most recent satellite image is from 11:30am. For now, I'd lean towards defining t0 as 11:30am., e.g. we'd use  9:30am - 11:30am as the "history", and get the ML model to predict at least 2.5 hours into the "future", so the predictions span from 11:30am to 2pm.
In WP3, we can worry about how to deal with different input modalities being updated with different latencies (e.g. how do we always make use of 5-minutely PV data, even when the satellite data is 30 minutes late)?
One disadvantage of using a U-Net to predict the future satellite imagery is I'm really not sure how well the U-Net will cope if the input data has missing satellite timesteps. We could try training the U-Net with random satellite timesteps missing. But I'd propose that we don't do that in WP2.

Hey @JackKelly
we've already implented something for satellite data, which is to assume the last 30 mins is not available. I think we should see how this goes, and if it doesnt work, we can easily turn it off and got for your method


Feat: Open PR to repo

Example PR: https://github.com/klieret/swe-agent-test-repo/pull/12
Safeguards

PR is only created as draft and has to be manually marked as "ready for review"

PRs only get created if

swe-agent reports success
issue is open
no one is assigned to issue
no commit references the issue as 'closes #xx' (can be overridden)
issue is not locked

Progress

[x] Move code to SWE-env
[x] Make use of ghapi instead of requests
[x] Logging instead of printing
[x] Check that issue was still open
[x] Check that no one was assigned to the issue
[x] Create "Action" config instead of adding open_pr
[x] Deal with forked repositories (separate repository where branch is being pushed)
[x] Print PR url
[x] Check if there are already hanging PRs to issue
[ ] Add readme

Optional/separate PR:

[ ] Include summary of actions in body?
[x] Include trajectory in body --> later

Closes #8
Also thanks to @themrzmaster who opened a PR for the same issue in #37.

I got this error even though one of the pull requests made it through successfully
"
WARNING  ❌ Failed on GithubRepo-i1: HTTP Error 422: Unprocessable Entity
====Error Body====
{
"message": "Draft pull requests are not supported in this repository.",
"documentation_url": "https://docs.github.com/rest/pulls/pulls#create-a-pull-request"
}
"

Sounds like draft pull request are not enabled in the repository you're trying to contribute to

Though I guess we should catch the error, I'll open an issue for that.


Git url without alias causes ValueError

See original issue on GitLab
In GitLab by [Gitlab user @Qinusty] on Aug 21, 2018, 10:58
Summary
Getting a traceback when tracking element without alias for git source.
Steps to reproduce
Have a git source with url: files/repo
bst track <element>
What is the current bug behavior?
Traceback
What is the expected correct behavior?
Failure with a suggested fix
Relevant logs and/or screenshots
    Traceback (most recent call last):
      File "/home/joshsmith/.local/bin/bst", line 8, in <module>
        sys.exit(cli())
      File "/home/joshsmith/.local/lib/python3.5/site-packages/click/core.py", line 722, in __call__
        return self.main(*args, **kwargs)
      File "/home/joshsmith/buildstream/buildstream/_frontend/cli.py", line 162, in override_main
        standalone_mode=standalone_mode, **extra)
      File "/home/joshsmith/.local/lib/python3.5/site-packages/click/core.py", line 697, in main
        rv = self.invoke(ctx)
      File "/home/joshsmith/.local/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
        return _process_result(sub_ctx.command.invoke(sub_ctx))
      File "/home/joshsmith/.local/lib/python3.5/site-packages/click/core.py", line 895, in invoke
        return ctx.invoke(self.callback, **ctx.params)
      File "/home/joshsmith/.local/lib/python3.5/site-packages/click/core.py", line 535, in invoke
        return callback(*args, **kwargs)
      File "/home/joshsmith/.local/lib/python3.5/site-packages/click/decorators.py", line 27, in new_func
        return f(get_current_context().obj, *args, **kwargs)
      File "/home/joshsmith/buildstream/buildstream/_frontend/cli.py", line 420, in track
        cross_junctions=cross_junctions)
      File "/home/joshsmith/buildstream/buildstream/_stream.py", line 279, in track
        fetch_subprojects=True)
      File "/home/joshsmith/buildstream/buildstream/_stream.py", line 872, in _load
        fetch_subprojects=fetch_subprojects)
      File "/home/joshsmith/buildstream/buildstream/_pipeline.py", line 111, in load
        fetch_subprojects=fetch_subprojects)
      File "/home/joshsmith/buildstream/buildstream/_project.py", line 324, in load_elements
        for meta in meta_elements
      File "/home/joshsmith/buildstream/buildstream/_project.py", line 324, in <listcomp>
        for meta in meta_elements
      File "/home/joshsmith/buildstream/buildstream/element.py", line 883, in _new_from_meta
        first_pass=meta.first_pass)
      File "/home/joshsmith/buildstream/buildstream/_project.py", line 252, in create_source
        return self.config.source_factory.create(self._context, self, meta)
      File "/home/joshsmith/buildstream/buildstream/_sourcefactory.py", line 61, in create
        source = source_type(context, project, meta)
      File "/home/joshsmith/buildstream/buildstream/source.py", line 295, in __init__
        self.configure(self.__config)
      File "/home/joshsmith/buildstream/buildstream/plugins/sources/git.py", line 310, in configure
        self.mirror = GitMirror(self, '', self.original_url, ref)
      File "/home/joshsmith/buildstream/buildstream/plugins/sources/git.py", line 111, in __init__
        self.mark_download_url(url)
      File "/home/joshsmith/buildstream/buildstream/source.py", line 224, in mark_download_url
        alias, _ = url.split(utils._ALIAS_SEPARATOR, 1)
    ValueError: not enough values to unpack (expected 2, got 1)

Possible fixes
Other relevant information

BuildStream version affected: /milestone %BuildStream_v1.x

In GitLab by [Gitlab user @Qinusty] on Aug 21, 2018, 14:41
mentioned in commit 6a97640bc3364e70746987bd51d6dcc7bb49ef11

In GitLab by [Gitlab user @Qinusty] on Aug 21, 2018, 15:44
mentioned in commit 6a4a6479e3ec54593722f6a18c169cb9a92a4e38

In GitLab by [Gitlab user @Qinusty] on Aug 22, 2018, 11:41
mentioned in commit 2a9599725fbc5a24a1c3c19dd527b5c68be7fd88

In GitLab by [Gitlab user @Qinusty] on Aug 22, 2018, 11:45
mentioned in merge request !700

In GitLab by [Gitlab user @Qinusty] on Aug 28, 2018, 15:46
mentioned in commit 6c7ec7b543dedbfbe46c3d13f60ce8052527279e

In GitLab by [Gitlab user @Qinusty] on Aug 29, 2018, 10:43
mentioned in commit e1536545f07f9dd5a420dbbb06622cf39a900788

In GitLab by [Gitlab user @Qinusty] on Aug 29, 2018, 11:15
mentioned in commit e15d98f041b1da409a726b140cb80a2e62079ebc

In GitLab by [Gitlab user @Qinusty] on Aug 29, 2018, 13:38
mentioned in commit 42ad937d7c47a685cb6f7a58f81d82d66cf2a157

In GitLab by [Gitlab user @Qinusty] on Aug 29, 2018, 13:57
mentioned in commit 4a823cd450dae5edf73b9088c572f4427875d34b

In GitLab by [Gitlab user @Qinusty] on Aug 29, 2018, 14:02
mentioned in commit 582e0c05be81cedb174704e509c87391036c4841

In GitLab by [Gitlab user @tristanvb] on Aug 29, 2018, 14:03
closed via merge request !700

In GitLab by [Gitlab user @tristanvb] on Aug 29, 2018, 14:04
mentioned in commit aa3a33b3baf6f0151a35ddd42ae899bd251cd660

In GitLab by [Gitlab user @tristanvb] on Aug 29, 2018, 14:27
Reopening this for the required backport.

In GitLab by [Gitlab user @tristanvb] on Aug 29, 2018, 14:27
reopened

In GitLab by [Gitlab user @Qinusty] on Aug 29, 2018, 15:08
closed

In GitLab by [Gitlab user @Qinusty] on Aug 29, 2018, 15:11
Closed for backport being merged !751

In GitLab by [Gitlab user @Qinusty] on Aug 29, 2018, 15:23
marked this issue as related to #612

In GitLab by [Gitlab user @Qinusty] on Aug 29, 2018, 15:30
marked this issue as related to #613


Import Method causing types to mismatch

Dart 2.0.0-dev.54.0.flutter-46ab040e58 (the current version with the master flutter build)
Windows

Steps to recreate issue:

Create three files, each with a custom class inside of it.  I.E. a.dart with class A, b.dart with class B and c.dart with class C
Have one of these classes constructors (class B for instance) take in one of the other classes.   B(A()) for example.
In class C, import class A from path import A.dart and import b from package: import package:test/B.,dart
In class C, make new instances of Class A and B and try to pass A into B's constructor.

import 'A.dart';
import 'package:bug_test/B.dart';

class C {
  final A a;
  final B b = B(a);
}

Error: [dart] The argument type 'A (<project-path>)' can't be assigned to the parameter type 'A (<project-path>)'.
A value of type '#lib1::A' can't be assigned to a variable of type '#lib2::A'.
Try changing the type of the left hand side, or casting the right hand side to '#lib2::A'.

If you change the Imports to all be from Path or all be from Package then the error goes away.

What is the location of the file that contains the main(){} and how do you run it?

This is a flutter application so the main function sits in the main.dart file in the lib folder.

Currently you must not use relative imports in lib/main.dart.
#33076 is about what to change in language and tools for that to not cause issues.

The problem is not in main.dart however. As mentioned in the original post, I was able to recreate the problem in a c.dart file which does not contain a main function. (I did originally come across this bug in main.dart but was later able to recreate it using independent files).

Right here is a gist of the file structure and the code that was used in the pure dart example which yielded this bug.
As you can see, there are no imports in main as mention multiple times before.  I never mentioned anything about the names of these files (these names were made just to test the error).  I personally already know that you should not import from a file path, I am not talking about best practices, I am talking about a problem with mixed imports though.
Even if I delete the bin folder that has the main.dart file in it, the problem persists (no entry points).

As you can see, there are no imports in main as mentioned multiple times before.

What is the location of the file that contains the main(){} and how do you run it?

c.dart doesn't contain main(), please show the content of the file that contains main() and how you run it.

According to the gist, the main file is in the bin folder and doesn't import anything.
The code in lib is not imported by main, so the analyzer seems to be giving warnings as if it doesn't recognize that c is a package file.

Exactly.  Even if I delete the entire Bin folder and remove Main.dart from the equation, the analyzer still kicks the error back. If I rebuild the entire thing as a library, the same thing also occurs.

@zoechi it's not a problem.  Just trying to do my part for the community.

Duplicate of https://github.com/dart-lang/sdk/issues/33076.


Display step progress on Create MDN Profile page

User story
As a user, I want to understand where I am at in the process of creating an MDN account, so that I know that I am almost complete with the process.
Acceptance criteria

[x] First step displays authorized by Github
[x] Displays the auth service's logo in first step
[x] Second step (current step on page) is "Create MDN Profile"
[ ] Displays user avatar pulled from Github in the second step (if available), otherwise display MDN's default avatar (dino head)
[ ] Shows indicator that the first step is complete (checkmark)
[ ] user stays on developer.mozilla.org not wiki.developer.mozilla.org

Tasks
See https://github.com/mozilla/kuma/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+project%3Amozilla%2Fkuma%2F1
Design
Github Auth:
InVision: https://mozilla.invisionapp.com/share/Y8SGMKQBCW3#/368129372_Create_Account_-_MDN_Profile
Zeplin: https://zpl.io/2jYxqKp
Google Auth:
InVision: https://mozilla.invisionapp.com/share/Y8SGMKQBCW3#/370705985_Create_Account_-MDN_Profile-google-
Zeplin: https://zpl.io/VOA8L3r
Avatar Available:
InVision: https://mozilla.invisionapp.com/share/Y8SGMKQBCW3#/374095626_Create_Account_-MDN_Profile-alt_-_With_Pic-
Zeplin: https://zpl.io/aX9NRqp
Mobile version (without header/footer): https://zpl.io/2v0ejgQ

Currently blocked by #mozilla/kuma/5888

To be continued.


Support for TSX (use JSX)

What a superb plugin! I have tested that JSX formatter works quite wel in TSX files, is there any wau that I can say that also TSX files should be formatted by JSX? Thanks!

Take a look at this document that @prettydiff helped put together: https://github.com/Glavin001/atom-beautify/wiki/Add-an-unsupported-language-using-an-existing-beautifier
I always love to review Pull Requests and get them merged for everyone else to use.
Let us know if you have any questions. Thanks!

Duplicate of https://github.com/Glavin001/atom-beautify/issues/601


fix varchar default size bug in branch2.0 fe ut

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run feut

run feut


Internal exception not visible

Hi,
When logging an exception with an internal exception I can't see the internal exception in Application Insights:
How exception is thrown in Blazor WASM client:
var invalidOperationException = new InvalidOperationException("TEST INNER");
throw new NotImplementedException(ExceptionMessage, invalidOperationException);

Do you have any plans to improve the logging so the information about the internal exception is also visible in Application Insights?
Best Regards,
Anders Havn

This issue should be fixed in v3.


Investigate pre-compiled libvips+deps for OS X and ARM-based systems

#42 provided the infrastructure and initial support for 64-bit Windows and Linux binaries.
OS X
We could use Travis' OS X environment + homebrew e.g.  https://github.com/lovell/package-libvips-darwin-x64/blob/master/.travis.yml
If we use this approach a shell script is required to update the paths in the .dylib files - this will look something like:
for each .dylib file (e.g. libvips.42.dylib):
- otool libvips.42.dylib
- install_name_tool -id @rpath/libvips.42.dylib libvips.42.dylib
- for any entry that does not start with /usr/lib (e.g. libGraphicsMagick.3.dylib):
  - install_name_tool -change /usr/local/opt/graphicsmagick/lib/libGraphicsMagick.3.dylib @rpath/libGraphicsMagick.3.dylib libvips.42.dylib

ARM
Best bet is to use a first generation Raspberry Pi Model B to compile ARMv6 binaries, possibly via Hypriot.

ARMv6 build machine in action. This might take some time.

ARMv6 build machine in action. This might take some time.

Commit a0e034a adds support for building and using pre-compiled libvips binaries on ARMv6+.
This will be included in sharp v0.12.2.

@davej Installation of libvips is already relatively easy on OS X via:
brew install homebrew/science/vips

This task relates to making it even easier.

@lovell I think what @davej means is - could you fallback to using sips instead of vips from sharp in order to support using sharp in electron apps on osx.
@davej can you clarify? And that link to sips leads nowhere? Can I find more info on that somewhere else? Thanks!
Just to mention - I'm mega interested in making an electron app that can use sharp cross platform under the hood.

@homerjam Here's the cached man page. I ended up creating my own lib to do cross-platform resizing of images on Electron, not the most performant approach but it works: https://github.com/davej/electron-image-resize

There's now an experimental packaging script for OS X and commit https://github.com/lovell/sharp/commit/dac865477e0a2efa3f55ccc7f2df9753858f858c on the osx-binaries branch takes advantage of the pre-built binaries it creates.
I'd very much appreciate it if everyone interested in this feature can test it by running the following on a Mac where vips is not already installed (or has been removed via brew unlink vips or brew uninstall vips) and report back here.
npm install lovell/sharp#osx-binaries

i am working on nw.js application and i was trying to make sharp portable so  i have tested this on OSX and it is working perfectly, Amazing :)
anyway i have some notes for anybody will use it:
1- if you have vips already installed you should uninstall it and then you can npm rebuild and it will work
2- if you want image magick for some strange reason you need to copy the file  /usr/local/lib/libltdl.7.dylib manually to sharp/lib folder and do npm rebuild
3- if you want to test your job you can use https://github.com/kwin/macdependency where you can see where all sharp.node library are pointing and if there is any error it will display it to you for example

I would like to notice: this solution is working unless your app is packed in asar (which is default in electron-bootstrap). In my case it caused errors because nodejs can't resolve libraries inside app.asar, so I unpack to app/ and it fixed this issue.

Commit 36bfbde on the pencil (v0.16.0) branch adds the use of pre-compiled binaries for OS X.
https://travis-ci.org/lovell/sharp/jobs/147224162

I get the following error:
npm install -S lovell/sharp#osx-binaries
npm ERR! git rev-list -n1 osx-binaries: fatal: ambiguous argument 'osx-binaries': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 osx-binaries: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 osx-binaries: 'git  [...] -- [...]'
npm ERR! git rev-list -n1 osx-binaries:
npm ERR! git rev-list -n1 osx-binaries: fatal: ambiguous argument 'osx-binaries': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 osx-binaries: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 osx-binaries: 'git  [...] -- [...]'
npm ERR! git rev-list -n1 osx-binaries:
npm ERR! git rev-list -n1 osx-binaries: fatal: ambiguous argument 'osx-binaries': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 osx-binaries: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 osx-binaries: 'git  [...] -- [...]'
npm ERR! git rev-list -n1 osx-binaries:
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/6.3.1/bin/node" "/usr/local/bin/npm" "install" "-S" "lovell/sharp#osx-binaries"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.5
npm ERR! code 128

@AlekzZz Please use npm install lovell/sharp#pencil (I've updated my comment too, sorry).

if i use "npm install lovell/sharp#pencil" i had the following errors:
clang: error: no such file or directory: 'node_modules/sharp/include'
clang: error: no such file or directory: 'node_modules/sharp/include/glib-2.0'
clang: error: no such file or directory: 'node_modules/sharp/lib/glib-2.0/include'
do i need to add these files manually ?

@digital-flowers Those should be created for you. Are you able to share the full npm install log?

after trials i have found that this only happened if the project directory has space in it is name, i renamed the folder and it is working now

so project folder should have no spaces to make this work

@digital-flowers Thanks, it looks like you ran into https://github.com/nodejs/node-gyp/issues/65

exactly thank you :)

there is any chance to include image magick in this prebuild version? i need it only because of bmp file format.

@digital-flowers The pre-built binaries only include shared libraries I'm willing to support and *magick is a security nightmare. Please install vips yourself if you need to use extra libraries and take your own precautions if using untrusted images.

yes i understand thank you

@digital-flowers Commit da0dc28 on the pencil branch might help workaround the spaces-in-path problem.

v0.16.0 is now available via npm, providing pre-compiled shared library binaries for OS X.


Option to disable listening for any service

It's great that we have ENABLE_UDP_LISTENER so that we can disable that listener if it isn't in use. However, I'm running a tightly locked down system, and want the ability to disable ANY listener (e.g. I'm not using the pickle listener, so I'd prefer it wasn't listening at all, even using the safe unpickler).
Can we get a similar config for the other listeners?

It's not documented, but you should be able to disable any listener by
setting the port to 0
On Feb 10, 2015 8:03 PM, "Paul McMillan"<EMAIL_ADDRESS>wrote:

It's great that we have ENABLE_UDP_LISTENER so that we can disable that
listener if it isn't in use. However, I'm running a tightly locked down
system, and want the ability to disable ANY listener (e.g. I'm not using
the pickle listener, so I'd prefer it wasn't listening at all, even using
the safe unpickler).
Can we get a similar config for the other listeners?
—
Reply to this email directly or view it on GitHub
https://github.com/graphite-project/carbon/issues/381.

https://github.com/graphite-project/carbon/blob/master/lib/carbon/service.py#L133
Sneaky.

Thanks!


Added extra options

This PR aims to resolve part of #30.
Initially I have created the extraOptionsOptions helper and tested it with project-nvim and seen that it works.
I will work on adding this option to most other plugins if you think this looks fine @pta2002

Looks good to me!


Suggestion: Adding what's kubernetes?

Docker part has a "What's Docker" section, but Kubernetes part doesn't. It might be good idea to add that, too.

That is a good idea @yasinaydin. Thank you for your suggestions.

Sure thing. I'd add it myself, but I don't know enough about k8s to write a such thing :D

No problem, if anyone does not take it up. I will add it


Create a http://readthedocs.org/ site

Instead of having the docs here which are starting to get overwhelming/messy (IMHO) how about having a site that's connected to http://readthedocs.org/ and host the docs there instead (github afaik can trigger http://readthedocs.org/ jobs on commits so that it can be auto-updated). Thoughts?

Unfortunately, I disagree. At the moment, the docs are terse and each section is well contained. If we broke it up now, then it would be a paragraph on a webpage which is impractical to read/use. Going to say no for now.