text:
NYTimes videos fail with "503: Backend is unhealthy" errors

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

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

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[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 all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and 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 I'm willing to share it if required

Region
new zealand
Provide a description that is worded well enough to be understood
NYTimes videos play OK in browsers (Firefox, Safari, Chrome), but when I try to download them with yt-dlp, there is a "503: Backend is unhealthy" error.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://nyti.ms/47gEoFW']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.11.16 from yt-dlp/yt-dlp [24f827875] (pip)
[debug] Python 3.12.0 (CPython x86_64 64bit) - macOS-14.1.1-x86_64-i386-64bit (OpenSSL 3.1.4 24 Oct 2023)
[debug] exe versions: ffmpeg 3.3.4, ffprobe 3.3.4, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.19.0, brotli-1.1.0, certifi-2023.07.22, mutagen-1.47.0, requests-2.31.0, sqlite3-3.44.0, urllib3-2.1.0, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests
[debug] Loaded 1901 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: stable@2023.11.16 from yt-dlp/yt-dlp
yt-dlp is up to date (stable@2023.11.16 from yt-dlp/yt-dlp)
[generic] Extracting URL: https://nyti.ms/47gEoFW
[generic] 47gEoFW: Downloading webpage
[redirect] Following redirect to https://www.nytimes.com/video/us/politics/100000009183577/biden-xi-apec.html?smid=pl-share
[NYTimes] Extracting URL: https://www.nytimes.com/video/us/politics/100000009183577/biden-xi-apec.html?smid=pl-share
[NYTimes] 100000009183577: Downloading video JSON
WARNING: [NYTimes] Unable to download JSON metadata: HTTP Error 503: Backend is unhealthy
[NYTimes] 100000009183577: Downloading video JSON
ERROR: [NYTimes] 100000009183577: Unable to download JSON metadata: HTTP Error 503: Backend is unhealthy (caused by <HTTPError 503: Backend is unhealthy>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 715, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/extractor/nytimes.py", line 128, in _real_extract
    return self._extract_video_from_id(video_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/extractor/nytimes.py", line 30, in _extract_video_from_id
    video_data = self._download_json(
                 ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 1069, in download_content
    res = getattr(self, download_handle.__name__)(url_or_request, video_id, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 1033, in download_handle
    res = self._download_webpage_handle(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 903, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 860, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py", line 4052, in urlopen
    return self._request_director.send(req)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/networking/common.py", line 114, in send
    response = handler.send(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/networking/_helper.py", line 204, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/networking/common.py", line 325, in send
    return self._send(request)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/networking/_requests.py", line 341, in _send
    raise HTTPError(res, redirect_loop=max_redirects_exceeded)
yt_dlp.networking.exceptions.HTTPError: HTTP Error 503: Backend is unhealthy

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/extractor/common.py", line 847, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/Cellar/yt-dlp/2023.11.16/libexec/lib/python3.12/site-packages/yt_dlp/YoutubeDL.py", line 4074, in urlopen
    raise _CompatHTTPError(e) from e
yt_dlp.networking.exceptions._CompatHTTPError: HTTP Error 503: Backend is unhealthy

All tests for this extractor are failing.
My assumption is that NYTimes changed at some point the way videos are served.
There appears to be an application/ld+json script embedded in page that contains most of the information required for extraction
{
  "@context": "http://schema.org",
  "@type": "VideoObject",
  "@id": "https://www.nytimes.com/video/us/politics/100000009183577/biden-xi-apec.html",
  "description": "President Biden said that China’s president, Xi Jinping, had agreed to resume military-to-military communication.",
  "url": "https://www.nytimes.com/video/us/politics/100000009183577/biden-xi-apec.html",
  "name": "Biden, Xi Make Progress on Military Talks and Fentanyl",
  "thumbnailUrl": [
    "https://static01.nyt.com/images/2023/11/15/multimedia/15dc-prexy-zbqk/15dc-prexy-zbqk-videoSixteenByNineJumbo1600-v2.jpg",
    "https://static01.nyt.com/images/2023/11/15/multimedia/15dc-prexy-zbqk/15dc-prexy-zbqk-superJumbo-v2.jpg",
    "https://static01.nyt.com/images/2023/11/15/multimedia/15dc-prexy-zbqk/15dc-prexy-zbqk-mediumSquareAt3X-v2.jpg"
  ],
  "publisher": {
    "@context": "http://schema.org",
    "@type": "Organization",
    "name": "The New York Times",
    "logo": {
      "@context": "http://schema.org",
      "@type": "ImageObject",
      "url": "https://static01.nyt.com/images/misc/NYT_logo_rss_250x40.png",
      "height": 40,
      "width": 250,
      "contentUrl": "https://static01.nyt.com/images/misc/NYT_logo_rss_250x40.png",
      "creditText": "The New York Times"
    },
    "url": "https://www.nytimes.com/"
  },
  "embedUrl": "https://www.nytimes.com/video/players/offsite/index.html?videoId=100000009183577",
  "contentUrl": "https://vp.nyt.com/video/2023/11/16/113401_1_16vid-biden-apec_wg_240p.mp4",
  "uploadDate": "2023-11-16T02:46:33.000Z",
  "transcript": "We’re reassuming military-to-military contact, direct contacts. As a lot of you press know or follow this, that’s been cut off. It’s been worrisome. That’s how accidents happen – misunderstandings. So we’re back to direct, open, clear, direct communications on a direct basis. Vital miscalculations on either side can cause real, real trouble with a country like China or any other major country. And so I think we’re making real progress there as well. Do I trust? I trust but verify, as the old saying goes. That’s where I am. And, you know, we’re in a competitive relationship - China and the United States. But my responsibility is to make this rational and manageable, so it - so it doesn’t result in conflict. That’s what I’m all about. That’s what this is about. We’re in a situation where we agreed that fentanyl and its precursors will be curbed substantially – and the pill presses. That’s a big moment.",
  "duration": "PT1M12.172S"
}

I may be wrong, but after some testing I think the following pattern may be used to extract the m3u8 for a given video:
https://vp.nyt.com/video/hls/<year>/<month>/<date>/<video_file_name_without_quality>/master.m3u8

Examples:
URL: https://www.nytimes.com/video/us/politics/100000009183577/biden-xi-apec.html
m3u8: https://vp.nyt.com/video/hls/2023/11/16/113401_1_16vid-biden-apec_wg/master.m3u8

URL: https://www.nytimes.com/video/us/100000006525294/ufo-video-navy.html
m3u8: https://vp.nyt.com/video/hls/2019/05/24/80888_1_24vid-UFO_wg/master.m3u8

The JSON API URL used by the NYT extractors to resolve the video ("media asset") is apparently obsolete, both v3 and v2 (tried if that fails).
The turkey roast page loads https://static01.nyt.com/video-static/vhs3/vhs.min.js and then posts the request that appears in this curl command, according to Mozilla devtools.
curl 'https://samizdat-graphql.nytimes.com/graphql/v2' -H 'Content-Type: application/json' -H 'NYT-App-Type: vhs' -H 'NYT-App-Version: v3.52.21' -H 'NYT-Token: MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuNIzKBOFB77aT/jN/FQ+/QVKWq5V1ka1AYmCR9hstz1pGNPH5ajOU9gAqta0T89iPnhjwla+3oec/Z3kGjxbpv6miQXufHFq3u2RC6HyU458cLat5kVPSOQCe3VVB5NRpOlRuwKHqn0txfxnwSSj8mqzstR997d3gKB//RO9zE16y3PoWlDQXkASngNJEWvL19iob/xwAkfEWCjyRILWFY0JYX3AvLMSbq7wsqOCE5srJpo7rRU32zsByhsp1D5W9OYqqwDmflsgCEQy2vqTsJjrJohuNg+urMXNNZ7Y3naMoqttsGDrWVxtPBafKMI8pM2ReNZBbGQsQXRzQNo7+QIDAQAB' -H 'origin: https://cooking.nytimes.com' -H 'Referer: https://cooking.nytimes.com/' -H 'Connection: keep-alive' --data-raw '{"query":"\nquery VideoQuery($id: String!) {\n  video(id: $id) {\n    ...on Video {\n      advertisingProperties {\n        sensitivity\n        sponsored\n      }\n      bylines {\n        renderedRepresentation\n      }\n      contentSeries\n      cues {\n        name\n        type\n        timeIn\n        timeOut\n      }\n      duration\n      embedded\n      headline {\n        default\n      }\n      is360\n      isLive\n      liveUrls\n      playlist {\n        headline {\n          default\n        }\n        promotionalHeadline\n        url\n        sourceId\n        section {\n          displayName\n        }\n        videos(first: 20) {\n          edges @filterEmpty {\n            node {\n              advertisingProperties {\n                sensitivity\n                sponsored\n              }\n              id\n              sourceId\n              duration\n              section {\n                id\n                name\n              }\n              headline {\n                default\n              }\n              renditions {\n                url\n                type\n              }\n              url\n              promotionalMedia {\n                ... on Image {\n                  crops(cropNames: [SMALL_SQUARE, MEDIUM_SQUARE, SIXTEEN_BY_NINE]) {\n                    renditions {\n                      name\n                      width\n                      height\n                      url\n                    }\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n      promotionalHeadline\n      promotionalMedia {\n        ... on Image {\n          crops (cropNames: [SMALL_SQUARE, MEDIUM_SQUARE, SIXTEEN_BY_NINE, THREE_BY_TWO, TWO_BY_THREE, FLEXIBLE]) {\n            name\n            renditions {\n              name\n              width\n              height\n              url\n            }\n          }\n        }\n      }\n      promotionalSummary\n      related {\n        ... on Article {\n          promotionalHeadline\n          url\n          sourceId\n        }\n      }\n      renditions {\n        type\n        width\n        height\n        url\n        bitrate\n      }\n      section {\n        name\n      }\n      shortUrl\n      sourceId\n      subsection {\n        name\n      }\n      summary\n      timesTags {\n        __typename\n        displayName\n        isAdvertisingBrandSensitive\n        vernacular\n      }\n      url\n    }\n  }\n}","variables":{"id":"nyt://video/bc47bb72-497a-5160-819e-a3c2a7cb27c3"}}'

So we have to work out how the JS makes the UUID out of the media asset id, and also, if it's not a long-lived value, how to make the NYT token.

Thanks @dirkf for your response.
I can find the nyt-token embedded in pages like this: https://www.nytimes.com/video/us/politics/100000009183577/biden-xi-apec.html. The following items also appear: "nyt-app-type": "project-vi", "nyt-app-version": "0.0.5".
For the https://cooking.nytimes.com/guides/13-how-to-cook-a-turkey I could find the token hardcoded here: webpack:///app/assets/web/js/properties.js.
In this case, the app-type and app-version are different from the example above: "Nyt-App-Type": "vhs", "Nyt-App-Version": "v3.52.21"

I've progressed in the main articles extraction.
Consider the effort I already had with this issue, I'll take care of adjusting the extractor and submitting the required patch.

It's been a while since I gave you an update.
I've finished coding everything I plan to include in the extraction process, like recipes, cooking guides, audio, video, video playlist, and articles. However, I'm facing some challenges with refactoring and cleaning up the code. What I might end up doing is releasing an initial pull request (PR) with only the Article and Recipes extraction to keep on par with the existing non working version.
Later on, I'll submit additional PRs to add the other parts that aren't as urgent.

authors: SirElderling dirkf rsfinlayson


text:
[youtube] "Last message repeated 991 times" (or more)

Some live streams do not end correctly. I get the message "Last message repeated N times". "N" can be really big and it really downloaded each time.
For download streams from Youtube i use last version yutube-dl and use command string like this:
youtube-dl.exe --hls-use-mpegts https://www.youtube.com/watch?v=XXXXXXXXXXX
Why some streams not ended correctly and how fix it? I can set some limit for this?

Some limit would be nice.

Indeed, what other info is necessary for this issue?
It seems to occur on various live streams.

source: gharchive/issue

repo: ytdl-org/youtube-dl

license: Unlicense

license_type: permissive

license_source: github-api


text:
Pluralsight - HTTP Error 403: Forbidden

Checklist

[ ] I'm asking a question
[ ] I've looked through the README and FAQ for similar questions
[ ] I've searched the bugtracker for similar questions including closed ones

Question

Was playing with the youtube-dl version 2019.11.22 and when trying to download a course from Pluralsight I see the following error:
[pluralsight:course] project-2016-business-professionals: Downloading JSON metadata
[download] Downloading playlist: Project 2016 for Business Professionals
[pluralsight:course] playlist Project 2016 for Business Professionals: Collected 50 video ids (downloading 50 of them)
[download] Downloading video 1 of 50
[pluralsight] Downloading login page
[pluralsight] Logging in
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2237, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
--  My command line arguments are the following:
-u [I HAVE A VALID USER]
-p [VALID PASSWORD]
-i
-c
--no-warnings
--console-title
--batch-file='batch-file.txt'
--max-sleep-interval 120
--min-sleep-interval 60
-o '%(playlist_title)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s-%(title)s.%(ext)s'
-f 'best[height<=720]/worst[height>720]'

I've seen duplicate issues but they are all closed with NO solution, plus the authentication is working.  If the error handler would print the URL that is returning the 403 then it would make the troubleshooting a lot easier.  It just prints a 403 with no context...


text:
MusicBot Discord.py

I am programming a music bot in discord.py but when I execute the !play command it says that it is downloading but out of nowhere I get an error in the console that says the following:
[youtube] 7CKhtHxP86I: Downloading webpage
[youtube] 7CKhtHxP86I: Downloading player 50cf60f0
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
And I have the latest version of ytdl

#30839 !

???

Did you read the pinned issue as you were asked? It links to the answer for your problem.
Or did you just ignore it?

authors: RectinXD dirkf


text:
ABOUT PLANNED 2 MAJOR BREAKING CHANGES

ABOUT PLANNED 2 MAJOR BREAKING CHANGES
I'll be announcing planned the following 2 major breaking changes:

Changing default output filename to what yt-dlp uses
Binary filename change

Changing default output filename to what yt-dlp uses
As README says:

Some features/behaviors are reverted: Some changes in yt-dlp has been reverted to match that of youtube-dl.

Output filename template. In yt-dlp, it was %(title)s [%(id)s].%(ext)s. But ytdl-patched uses %(title)s-%(id)s.%(ext)s.

This will be changed to what currently it is in yt-dlp, say %(title)s [%(id)s].%(ext)s.
It was to keep consistent between before and after #1 takes places. In order to reduce maintenance work in the future, it will be done.
You can still use old one using -o "%(title)s-%(id)s.%(ext)s", and transition to new one with -o "%(title)s [%(id)s].%(ext)s".
Binary filename change
Since ytdl-patched is "modified youtube-dl just for myself", binary name is just youtube-dl. Since it clashes with the command line application with the same name, it will be renamed to ytdl-patched, for everything (Homebrew, Releases, tar.gz etc.)
Scheduled Timelines
All dates are written in YYYY/MM/DD. Timezone is UTC+9:00 (no DST) otherwise noted. Everything is estimate or plan and subject to change without notice.

(In few days)

Updater will be changed to support new binary filename, ytdl-patched. At that time, uploaded files will still have youtube-dl

2022/04/10

Changing default output filename will be done. After the date, you'll get same filename as yt-dlp, unless you have -o set in config or command line.

2022/04/15 ~ 2022/04/17

Preparation and tests for renaming binary filenames may be done.

2022/04/18

Binary filename change is expected to be done at the day.

Looks nice

will the execution command changed to "ytdl-patched  xxx"?
and
will the installation folder inside python folder changed to "ytdl_patched"

MICE

authors: Lesmiscore afterdelight

repo: ytdl-patched/ytdl-patched


text:
Fix a bug with args

Tried running the yb-ctl without any args and it errored, this fixes that issue.
Tested by yb-ctl

looks like this may break the install if needed scenario for python 2? would be good to test it out.

maybe also link to https://stackoverflow.com/questions/22990977/why-does-this-argparse-code-behave-differently-between-python-2-and-3 in the PR, as @iSignal is doing for yb-docker-ctl

source: gharchive/pull-request

authors: bmatican iSignal ramkumarvs

repo: yugabyte/yugabyte-installation


text:
Option to make outer border and background transparent

Would it be possible to have the option to customize the appearance of the outer box separately to the graph box?
Current options affect both, example:

Example of customizing the two boxes seperately:

I've just updated the plugin so the settings will be separated once its up on the plugin hub.


text:
CentOS8: Cannot get Any X Apps to Work with WSL2.

Title says it. Can we not run X apps with WSL2 on CentOS8?

Title says it. Can we not run X apps with WSL2 on CentOS8?

I believe WSL2 does not support X apps for any distro, not just for CentOS

Yes, you have to install extra software to get X support.
https://stackoverflow.com/questions/61110603/how-to-set-up-working-x11-forwarding-on-wsl2
You have several options but I really like X411 from the app store. It is nice clean and works well. You do have to pay for it but I really enjoy it. You have free options but you get what you pay for.

authors: atr2600 jasonmeverett yubelenky

license: MIT


text:
🛑 API Server is down

In 5a44a22, API Server ($API_SITE) was down:

HTTP code: 503
Response time: 950 ms

Resolved: API Server is back up in 7f52d55.

repo: yukbid/upptime


text:
Could you please update readme

Could you please help update readme accordingly？
a few parameters are deprecated. e.g. --service
But I still found these params in sample section
Thanks!

OK, I'll do it later.
The --service, --service-api-version and --spec flag has been removed.
Now we use the --file flag to specify API specification file directly.
Refer to this commit https://github.com/yunify/snips/commit/dbbaf1ae39183352f5a810f134cf30f8f407021d.

authors: martinyunify pengsrc

repo: yunify/snips

license_source: bigquery


text:
[求助/Help] ocboot.sh 3.11.6版本，执行命令时报错：./ocboot.sh: line 18: buildah: command not found

我之前使用3.11.6安装集群的时候，是没有这个报错的，包括后面增加节点。不知道为什么今天执行命令的时候突然报了这个错。我记得这个版本是没有用到buildah这种方式的吧？
#!/bin/bash

set -e

REGISTRY=${REGISTRY:-registry.cn-beijing.aliyuncs.com/yunionio}
VERSION=${VERSION:-v3.11-buildah.1}
OCBOOT_IMAGE="$REGISTRY/ocboot:$VERSION"

CUR_DIR="$(pwd)"
CONTAINER_NAME="buildah-ocboot"

buildah_from_image() {
    if buildah ps | grep $CONTAINER_NAME; then
        buildah rm $CONTAINER_NAME
    fi
    local img="$1"
    echo "Using buildah pull $img"
    buildah from --name $CONTAINER_NAME "$img"
}

buildah_from_image "$OCBOOT_IMAGE"

mkdir -p "$HOME/.ssh"

CMD=""

is_ocboot_subcmd() {
    local subcmds="install upgrade add-node add-lbagent backup restore"
    for subcmd in $subcmds; do
        if [[ "$1" == "$subcmd" ]]; then
            return 0
        fi
    done
    return 1
}

if is_ocboot_subcmd $1; then
    CMD="ocboot.py"
fi

buildah run -t \
    -v "$HOME/.ssh:/root/.ssh" \
    -v "$(pwd):/ocboot" \
    "$CONTAINER_NAME" $CMD $@

@shuoshadow 用的哪个版本的 ocboot ?

@shuoshadow 用的哪个版本的 ocboot ?

3.11.6

我之前使用ocboot命名添加节点都正常

@shuoshadow 那应该使用 ./ocboot.py 而不是 .sh

@shuoshadow 那应该使用 ./ocboot.py 而不是 .sh

好像是... 看新增负载均衡的文档使用的是ocboot.sh。ocboot.py里好像也有add-lbagent命令。这两个脚本有什么区别吗？3.11.6的版本使用ocboot.py是不是就可以了？

@shuoshadow 那应该使用 ./ocboot.py 而不是 .sh

好像是... 看新增负载均衡的文档使用的是ocboot.sh。ocboot.py里好像也有add-lbagent命令。这两个脚本有什么区别吗？3.11.6的版本使用ocboot.py是不是就可以了？

ocboot.sh v3.11.8 版本后开始使用的，需要参考部署文档那里，拉取最新的 ocboot 版本代码。
如果本地是 ocboot 3.11.6 老版本的代码，就用 ocboot.py 就行，ocboot.sh 不依赖 ansible ，会使用 buildah 命令拉取容器镜像运行安装环境，跟干净依赖少一些。

@zexi 明白了 感谢！

authors: shuoshadow zexi

repo: yunionio/cloudpods


text:
fix: readme

fix: update readme

/lgtm

你好，我暂不在。有事，请暂停联系。

authors: opslinux zexi


text:
fix: image-show missing can-delete/can-update fields

这个 PR 实现什么功能/修复什么问题:
修正：image-show缺少can_delete/can_update字段
是否需要 backport 到之前的 release 分支:

release/2.10.0

Codecov Report

Merging #1111 into master will increase coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #1111      +/-   ##
=========================================
+ Coverage    7.85%   7.87%   +0.01%
=========================================
  Files         356     356
  Lines       56592   56592
=========================================
+ Hits         4445    4455      +10
+ Misses      51749   51740       -9
+ Partials      398     397       -1

Flag
Coverage Δ

#aFlag
7.87% <0%> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cloudcommon/db/db_dispatcher.go
0% <ø> (ø)
:arrow_up:

pkg/cloudcommon/db/modelbase.go
2.46% <0%> (-0.04%)
:arrow_down:

pkg/util/rbacutils/rbac.go
75.23% <0%> (+2.53%)
:arrow_up:

pkg/appsrv/response.go
69.23% <0%> (+3.07%)
:arrow_up:

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 6d6bfdb...b685ef1. Read the comment docs.

/approve
/lgtm

authors: codecov-io swordqiu yousong

repo: yunionio/onecloud


text:
scheduler: fix network schedtag not set capacity

这个 PR 实现什么功能/修复什么问题:
调度进行 network 过滤时设置 capacity
是否需要 backport 到之前的 release 分支:

release/2.10.0

/cc @wanyaoqi

/area scheduler

/lgtm
/approve

Codecov Report

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

@@            Coverage Diff            @@
##           master   #1484      +/-   ##
=========================================
- Coverage     7.7%   7.68%   -0.03%
=========================================
  Files         411     411
  Lines       62834   62834
=========================================
- Hits         4844    4829      -15
- Misses      57583   57595      +12
- Partials      407     410       +3

Flag
Coverage Δ

#aFlag
7.68% <ø> (-0.03%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/util/seclib2/seclib.go
91.48% <0%> (-4.26%)
:arrow_down:

pkg/util/rbacutils/rbac.go
71.33% <0%> (-3.43%)
:arrow_down:

pkg/appsrv/response.go
66.15% <0%> (-3.08%)
:arrow_down:

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 14d31ab...e4c474b. Read the comment docs.

authors: Zexi codecov-io wanyaoqi


text:
fix: doamin admin cannot access private networks across domain

这个 PR 实现什么功能/修复什么问题:
修正：域管理无法使用域内非本项目的私有网络
是否需要 backport 到之前的 release 分支:

release/2.10.0
release/2.11
release/2.12

/area region
/cc @yousong @zexi

Codecov Report

Merging #2473 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master   #2473      +/-   ##
=========================================
- Coverage    7.08%   7.06%   -0.02%
=========================================
  Files         456     456
  Lines       71806   71849      +43
=========================================
- Hits         5085    5074      -11
- Misses      66303   66356      +53
- Partials      418     419       +1

Flag
Coverage Δ

#aFlag
7.06% <0%> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/compute/models/networks.go
0.82% <0%> (-0.01%)
:arrow_down:

pkg/cloudcommon/db/rbac.go
0% <0%> (ø)
:arrow_up:

pkg/util/rbacutils/rbac.go
70.89% <0%> (-3.41%)
:arrow_down:

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 286754e...4960b9c. Read the comment docs.

/approve
/lgtm


text:
Automated cherry pick of #4423: region MakeCloudProviderInfo instance snapshots

Cherry pick of #4423 on release/2.13.
#4423: region MakeCloudProviderInfo instance snapshots

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@992a84d). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.13   #4424   +/-   ##
==============================================
  Coverage                ?   6.86%
==============================================
  Files                   ?     521
  Lines                   ?   88584
  Branches                ?       0
==============================================
  Hits                    ?    6083
  Misses                  ?   81994
  Partials                ?     507

Flag
Coverage Δ

#aFlag
6.86% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/managedresource.go
0% <0%> (ø)

pkg/compute/models/disks.go
0.58% <0%> (ø)

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 992a84d...8c42bf4. Read the comment docs.

/lgtm

/approve

authors: codecov-io swordqiu wanyaoqi


text:
Automated cherry pick of #5403: fix: cloudprovider performEnable should also enable its cloudaccount

Cherry pick of #5403 on release/2.12.
#5403: fix: cloudprovider performEnable should also enable its cloudaccount

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@e95c716). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #5407   +/-   ##
==============================================
  Coverage                ?   6.83%
==============================================
  Files                   ?     506
  Lines                   ?   86312
  Branches                ?       0
==============================================
  Hits                    ?    5896
  Misses                  ?   79920
  Partials                ?     496

Flag
Coverage Δ

#aFlag
6.83% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/cloudproviders.go
1.01% <0%> (ø)

pkg/compute/models/cloudaccounts.go
0.86% <0%> (ø)

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 e95c716...946d323. Read the comment docs.

authors: codecov-io swordqiu


text:
Feat/guest_template

这个 PR 实现什么功能/修复什么问题:
Feat:

Check periodically whether Guest Template is valid
Support vm to save server template

是否需要 backport 到之前的 release 分支:

NONE
/area region
/cc @zexi @swordqiu @yousong

Codecov Report

Merging #6533 into master will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master    #6533   +/-   ##
=======================================
  Coverage    7.18%    7.19%
=======================================
  Files         646      646
  Lines      108626   108664   +38
=======================================
+ Hits         7808     7819   +11
- Misses     100219   100245   +26
- Partials      599      600    +1

Flag
Coverage Δ

#aFlag
7.19% <0.00%> (+<0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/compute/models/guest_template.go
2.28% <0.00%> (-0.25%)
:arrow_down:

pkg/cloudcommon/cronman/cronman.go
53.95% <0.00%> (+5.11%)
:arrow_up:

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 bbeb6be...f9b7c7e. Read the comment docs.

authors: codecov-commenter rainzm


text:
Automated cherry pick of #10948: Makes the process of installing the agent more rigorous

Cherry pick of #10948 on release/3.7.
#10948: Makes the process of installing the agent more rigorous

Codecov Report

Merging #10949 (769425f) into release/3.7 (0ff3997) will increase coverage by 5.20%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release/3.7   #10949       +/-   ##
================================================
+ Coverage         5.98%   11.19%    +5.20%
================================================
  Files              848      147      -701
  Lines           131795    16923   -114872
================================================
- Hits              7887     1894     -5993
+ Misses          123206    14836   -108370
+ Partials           702      193      -509

Flag
Coverage Δ

aFlag
11.19% <0.00%> (+5.20%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apis/const.go
0.00% <0.00%> (ø)

pkg/apis/input.go
0.00% <ø> (ø)

pkg/apis/list.go
0.00% <ø> (ø)

pkg/baremetal/tasks/baseprepare.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/bm_register.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/ipmiprobe.go
0.00% <0.00%> (ø)

pkg/baremetal/tasks/stop.go
0.00% <0.00%> (ø)

pkg/cloudcommon/validators/validators.go
62.39% <0.00%> (-0.69%)
:arrow_down:

pkg/monitor/alerting/conditions/reducer.go
77.27% <0.00%> (-13.94%)
:arrow_down:

pkg/util/imagetools/imagetools.go
40.50% <0.00%> (-2.74%)
:arrow_down:

... and 718 more

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 72cac9a...769425f. Read the comment docs.

repo: yunionio/yunioncloud


text:
Fix test case for illegal overtime work on regular leave day

勞基法第40條關於例假日加班補休規定，僅限於＂天災事變突發事件＂由僱主發起的＂停止休假＂，因此例假日違法加班在法律上沒有強制補休。

其實加班費都是發一整天的，感覺休假也是要休一整天阿...

勞基法裡的一天只看正常工時啊 XD
而且關於也沒有定義補休時數計算方式，一切勞資雙方協商

authors: chuck-lee yurenju

repo: yurenju/labor-standards-tw


text:
Update scalafmt-core to 3.7.15

About this PR
📦 Updates org.scalameta:scalafmt-core from 3.5.9 to 3.7.15
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalameta", artifactId = "scalafmt-core" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #94.

repo: yurique/embedded-files


text:
character mask

Proposal
characterMask()

Sample 1

argument
"yussan@gmail.com"
result
"y*****@*****.com"

Sample 2

argument
"this is text"
result
"this is ****"

How do you want it to be implemented?

A brief description would be helpful

sorry @nitingupta89 this issue is not for hacktoberfest, assignment to internal tim by @dzhurey .

ok

maybe we can use some parameter for this function:

String to masked
Range masked
Character exception

@dzhurey can you show how to use and result expectation here

authors: dzhurey nitingupta89 yussan

repo: yussan/npm-string-manager


text:
space-travelers-hub

PROJECT LINK
There are two people on our team:

@RoyJumah
@yuvenalmash

Hello @team
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Status: APPROVED :fire:  :fire:
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

repo: yuvenalmash/space-travelers-hub


text:
The phase predictor

Here in the readme file for genreal applications i.e generating transistion for key frames without a phase vetector, the phase vector of the key frame should be obtained via a phase preditor first. My question is, should this phase prediction be in an auto-regressive manner as well? for example we first predict the phase for key frame t1 then phase for t1+1 and so on

Good question.
I don't think we need autoregressive models there, although we haven't conducted any experiments to support my assumption.
From my opinion, the updating of a phase vector does not lead to a significant deviation from the original phase. If the first phase vector is incorrect, autoregressive manner may not correct it within few steps.  Predicting phase while utilizing all available information seems a more viable option.
It's important to note that we have not yet found a viable method to replace the phase without compromising the impact. Therefore, any proposed method is worth exploring.


text:
Ctrl-slash to comment and uncomment a line

This is useful when play with payload. It is especially viable because the flexible payload format.

Currently, reformat (F3) removes comment. This could be a problem if a line is commented and is suddenly deleted after reformat. It is at least surprising.

repo: ywangd/peek


text:
Скласти додаткові інформаційні блоки

Можна зробити резюме менш формальним, додавши додаткові блоки, які містять корисну інформацію, але подають її в "розважальній" формі. Наприклад, що подобається і не подобається, сильні і слабкі сторони, перелік навиків чи хобі, інфографіка або ж інтерактивні модулі, тощо. Варто написати контент такого блоку раніше, ніж починати верстку, бо його розміри впливатимуть на розміщення елементів на сторінці.

Ок

Ok

repo: yyavorskaia/homepage


text:
Generate Synthetic Data in Clusters

Adding new feature - that is generate artificial data in clusters.
Creating utility function to generate synthesized data in clusters.
Generated data can involve the low density pattern problem and global outliers which are considered as difficult tasks for outliers detection algorithms.
Highlights

Did some clean-up and refactored the code for consistency. The function is now released. Thanks for the work. Closed by #84. Available in the latest version (v0.7.0).


text:
Сategories in left menu

Laravel Version: 5.6
PHP Version:
Laravel-admin: 1.5

Description:
Hello everyone, how to display all categories the left menu?
Steps To Reproduce:

how did you solve it?

authors: pysoftware zhkbmstu

repo: z-song/laravel-admin

license: mit


text:
繁体字展示不全

Laravel Version: 8.12
PHP Version: 7.3
Laravel-admin:  最新版

Description:
设置语言为繁体以后
繁体字展示不全，应该是字库问题。
还有menu也都还是简体。
Steps To Reproduce:
config/app.php里面设置语言为繁体，还是有繁体字显示不出来。
比如login页，只加载doc文件的前100ms，繁体字显示正常，当加载上AdminLTE.min.css后，有的繁体字就显示成简体了。

抱歉，繁体字不显示是我自己的问题，已经解决，和此框架无关。
就是繁体字还是显示的很细小，但也不是大问题。


text:
[#22] severity attribute

Resolved issue #22.

Thanks for the PR. The value "Disaster, High, Average, Warning, Information, Not Classified" should be automatically converted to the numeric value. Does this not work for you?

No feedback -> close

No feedback -> close

authors: dariodsa scoopex

repo: zabbix-tooling/zabbix-ldap-sync


text:
Use double-dispatch in multi-event example

This moves the processing locic to a central place and allows the usage
of dependencies for handling events.

:+1:

repo: zalando-incubator/fahrschein


text:
fix: and improve zally notification script (#607)

fixes #623.
It looks as if the new GitHub API does not always returning the pull-requests. To compensate, I added a loop and the old mechanism as fallback. In addition, I fixed also some issues with the comparison in case of errors.

👍

👍

:+1:

:+1:

authors: ePaul tfrauenstein tkrop

repo: zalando/restful-api-guidelines


text:
Dispatch action not working with local server

Hello, i am looking for some lights.
I am having the following issue when i try to dispatch an action.
VM159:1 Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self' blob: filesystem: chrome-extension-resource:".

    at eval (eval at evaluate (unknown source), <anonymous>:1:1)
    at t.launchAction (chrome-extension://fjmodhjfipejfmnndmebgjimlcklhkgm/js/app.bundle.js:18:15064)
    at Object.r (chrome-extension://fjmodhjfipejfmnndmebgjimlcklhkgm/js/app.bundle.js:2:4128)
    at a (chrome-extension://fjmodhjfipejfmnndmebgjimlcklhkgm/js/app.bundle.js:2:2436)
    at Object.s [as executeDispatchesInOrder] (chrome-extension://fjmodhjfipejfmnndmebgjimlcklhkgm/js/app.bundle.js:2:2651)
    at f (chrome-extension://fjmodhjfipejfmnndmebgjimlcklhkgm/js/app.bundle.js:1:31158)
    at d (chrome-extension://fjmodhjfipejfmnndmebgjimlcklhkgm/js/app.bundle.js:1:31284)
    at Array.forEach (native)
    at n (chrome-extension://fjmodhjfipejfmnndmebgjimlcklhkgm/js/app.bundle.js:2:4605)
    at Object.processEventQueue (chrome-extension://fjmodhjfipejfmnndmebgjimlcklhkgm/js/app.bundle.js:2:246)(anonymous function) @ VM159:1t.launchAction @ app.bundle.js:formatted:32748r @ app.bundle.js:formatted:2157a @ app.bundle.js:formatted:2066s @ app.bundle.js:formatted:2076f @ app.bundle.js:formatted:1894d @ app.bundle.js:formatted:1901n @ app.bundle.js:formatted:2191processEventQueue @ app.bundle.js:formatted:1949r @ app.bundle.js:formatted:4608handleTopLevel @ app.bundle.js:formatted:4614i @ app.bundle.js:formatted:6189perform @ app.bundle.js:formatted:2802batchedUpdates @ app.bundle.js:formatted:6161i @ app.bundle.js:formatted:2506dispatchEvent @ app.bundle.js:formatted:6240

and here is the issue
t.prototype.launchAction = function() {
...
  if ("default" !== this.state.selectedActionCreator) {
    ..
  } else
     e = new Function("return " + this.refs.action.textContent);
  ...
}

I am running a remotedev-server, and a redux store running on node Js, and chrome App version of remotedev-app.
Does anyone know why it is throwing an exception in this context?

Hi. Thanks for the report. It's not possible to use eval (new Function) in Chrome Apps. A workaround for now would be to use web version, the extension or any other implementation from here.

thank you @zalmoxisus.
I had no idea it was impossible. Is it the only known limitation for this version and what about others? May be we could add a warning in the documentation.

It's just a limitation for Chrome Apps. The solution would be to do eval (new Function) on client side, not in the app, but to do that we need to have our implementation for Dispatch Monitor. Or just deprecate Chrome app in favour for Chrome extension instead (which doesn't have this limitation).

I'll keep this open, and try to fix.

Fixed in v0.6.0.

authors: guijesuis zalmoxisus

repo: zalmoxisus/remotedev-app


text:
Add inspector monitor

Add inspector monitor and create a select tag for switch monitors:

But if store don't has all of state, Diff and State tab will be empty.

That's great! I was thinking of many implementations of supporting multiple monitors, but just adding a selector would be probably the best.
Wouldn't be good to have the bottom slider monitor always visible regardless of each monitor we select? Or is there an issue of space or is it useless in case of the inspector monitor?

But if store don't has all of state, Diff and State tab will be empty.

It will be empty even when we get new data? I thought I solved it in https://github.com/alexkuz/redux-devtools-inspector/pull/22

Or is there an issue of space or is it useless in case of the inspector monitor?

Looks no issues, I'll update it. :)

It will be empty even when we get next data? I thought I solved it in alexkuz/redux-devtools-inspector#22

It seems I restarted remotedev-app, and the application is keep running, the remotedev store will get the following actions: (not have @@INIT)
increment
increment
decrement

I traced the Inspector's log:
computedStates: [Object], currentActionId: 15, actions: Object {15: Object}, fromState: undefined, toState: undefined
computedStates: [Object, Object], currentActionId: 16, actions: Object {15: Object, 16: Object}, fromState: undefined, toState: undefined
computedStates: [Object, Object, Object], currentActionId: 17, actions: Object {15: Object, 16: Object, 17: Object}, fromState: undefined, toState: undefined

It seems no way to get the correct computedState with currentActionId.

Thanks, @jhen0409.
Then it would be a problem there when filtering actions as well. I'll to find a way to get the correct computedState with currentActionId and will make a pr for inspector monitor if, of course, you don't have a solution and won't do it first :)

Thanks, @jhen0409.
Then it would be a problem there when filtering actions as well. I'll to find a way to get the correct computedState with currentActionId and will make a pr for inspector monitor if, of course, you don't have a solution and won't do it first :)

I think let remotedev-app keep has all states will be better. @zalmoxisus what do you think?

Change remote-redux-devtools filters, let filter actions still send to remotedev-server, but it's hidden on remotedev-app.
A new behavior when remotedev-app not have @@INIT state, requires synchronization.

It will make no difference for redux-devtools-inspector whether we don't send those actions at all or strip them via filter-action monitor. The same issue is for Redux Devtools Extension and with vanilla DevTools with filter-action monitor.
We had this behaviour before, but there were some issues with multiple instances and multiple monitors. I'll look into it again when we support maxAge, otherwise it could freeze the app for some minutes.

@zalmoxisus I removed the comment, sorry. :\

The same issue is for Redux Devtools Extension and with vanilla DevTools with filter-action monitor.

Yes, It seems that we cannot enable filters in inspector & diff-monitor.

@jhen0409, I think it should be an easy fix. The state index should correspond to the action index regardless of the data consistence.

Due to the log-monitor still need original array, I added refreshState function for liftedStore, used when switching log-monitor and inspector.
But it looks slider-monitor will not work when I switched to inspector.

Better to fix this on the redux-devtools-inspector side than adding workarounds here. Also you should take into consideration that in future we would like the app to remember the last selected monitor, not to select it every time.

A lot of changes from here would be a breaking change for Redux DevTools Extension, so it should be released as v0.3.0.

@zalmoxisus I made a PR for redux-devtools-inspector and removed a last commit.

Oh, you are fast :-), I was just looking into it! Thanks! I will add my thoughts there then.

Thanks a lot, @jhen0409!

Released in v0.3.0. I also moved everything related to monitors into DevTools.js  to be able to reuse it in Redux Devtools Extension.


text:
Fix product proxies order sensitivity on API product resource

This PR closes #45

Thanks for the contribution!

authors: zambien zkauker

repo: zambien/terraform-provider-apigee


text:
the function to get PE position

in "c_header_evasion.py": pe position can be obtained by follows:
pe_position = x_init[0x3C:0x40].tondarray().astype(np.uint16)[0]
pe_position = struct.unpack("<I", bytes(pe_position.astype(np.uint8)))[0]

in "extend_pe.py": pe position can be obtained by follows:
pe_position = liefpe.dos_header.addressof_new_exeheader

my method:
pe_header_index = x_init.find(b'PE')

for my understanding, those three methods should return the same results, while 2 is different to 1 and 3. (1 and 3 are the same). I am wondering maybe package lief has an error in terms of identifying the e_lfanew (address of new exe header)

if this is an issue, then the shift attack and extension attack may be impacted

its before header extension. I just want to simply compare the three functions based on one input sample, to see if there are performing the same function.
By the way, your work truly inspired me about what I am working on. However, I am pretty new on this topic, probably a lots of questions, hope you don't mind. About the bool parameter  "shift_values", it's always minus 1 when shift_values=True, what's the reason behind this?
Thank you so much!

I noticed that, if the second method, which in your program, is fed with integer (not the path), then the results of above three methods are consistent. While if feed a str (path) to second method, then the result is different with other two.
So I just keep the input consistent, should solve the issue.
And thanks for you explanation about the shift_values. that's smart!


text:
AttributeError: 'Template' object has no attribute 'add_description'

Error deploy
self.cf_template.add_description("Automatically generated with Zappa")
AttributeError: 'Template' object has no attribute 'add_description'

Troposphere updated add_description toset_description along with other previously deprecated template methods. https://github.com/cloudtools/troposphere/blob/23aafdce2a7780d0e1b24700648dddd6f8d2b04b/CHANGELOG.rst#300-20210705
I think it would be as easy as updating this line to set_description once I get a workaround for the build I will try to put a PR in.

If you froze your requirements prior to the 3.0.0 troposphere release you should be fine. If not just add troposphere==2.7.0 to your requirements.txt to make sure to lock the version in and that should solve the issue for now.

@MayaraMacielMatos I am not sure closing this is the best. If a user today decided to use Zappa this could happen when they install all their dependencies.

I appreciate the help, I'll keep it open

Same issue here using ci/cd aws code build...partially solved using hardcoded version of troposphere==2.7.1

Looks like there is a related issue and subsequent PR we can probably safely close this issue @MayaraMacielMatos

hope it can be resolved soon since this is a simple bug to fix. thanks for pointing the resolution @mikedklein

+1

Thanks for the prompt response and help. I changed the code to 'set_response' myself and everything is resolved.

For pipenv users, edit Pipfile like:
[packages]
troposphere = { version = "<3.0", ignore = ["zappa"] }
zappa = "*"

What I don't understand is why the version isn't being locked per the generated requirements.txt file. It should be locked at 2.7.0.

I was also very confused by this @mikedklein , but it looks like the setup.py relies on the requirements.in, not the requirements.txt
https://github.com/zappa/Zappa/blob/master/setup.py#L10-L21
import os
import sys
from setuptools import setup
from io import open
from zappa import __version__

with open('README.md') as readme_file:
    long_description = readme_file.read()

with open(os.path.join(os.path.dirname(__file__), 'requirements.in')) as f:
    required = f.read().splitlines()

with open(os.path.join(os.path.dirname(__file__), 'test_requirements.in')) as f:
    test_required = f.read().splitlines()

setup(
    name='zappa',
    version=__version__,
    packages=['zappa'],
    install_requires=required,
    tests_require=test_required,
    test_suite='nose.collector',
    include_package_data=True,
    license='MIT License',
    description='Server-less Python Web Services for AWS Lambda and API Gateway',
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://github.com/zappa/Zappa',
    author='Rich Jones',
    author_email='rich@openwatch.net',
    entry_points={
        'console_scripts': [
            'zappa=zappa.cli:handle',
            'z=zappa.cli:handle',
        ]
    },

And in requirements.in it doesn't specify a version for troposphere:
argcomplete
boto3>=1.17.28
durationpy
hjson
jmespath
kappa==0.6.0
pip>=9.0.1
python-dateutil
python-slugify
PyYAML
future
# previous version don't work with urllib3 1.24
requests>=2.20.0
six
toml
tqdm
troposphere
# See https://github.com/Miserlou/Zappa/issues/2036
Werkzeug<1.0
wheel
wsgi-request-logger
pip-tools

@jneves @mcrowson i wonder if there's an opportunity to get rid of the requirements.txt and just rely on requirements.in to avoid this confusion? Or alternatively update setup.py to rely on requirements.txt instead?

I tried the solutions above, but now I get
error in troposphere setup command: use_2to3 is invalid.

Anyone having the same problem?

@mikedklein If I lock troposphere  at 2.7.0, I will get another error which is error in troposphere setup command: use_2to3 is invalid..
How did you git rid of this or you didn't run into this issue?

@luistm Thank you for your advice. But still the same error reappears in my environment.

macOS Big Sur 11.6
Python: 3.8.10
Flask: 1.1.4
troposphere: 3.0.0
zappa: 0.53.0

a new zappa version was released, including a fix for this:
https://github.com/zappa/Zappa/releases/tag/0.54.0

authors: DPS0340 FalconBFR MayaraMacielMatos adosaa clown-0726 hellno ian-whitestone luistm mapattacker mikedklein vlayusuke

repo: zappa/Zappa


text:
Diagrams四个问题drawio

1.默认只能预览svg文件，不能预览drawio文件
2.打开svg文件很大概率会从左边文件列表栏打开，会占用顶部的文件列表按钮，需要重启ob才能恢复（极为不便）
3.Diagrams不支持中文（不及Diagrams.net插件）
4.Diagrams选更多图形只能看到图形组标题，不能预览图形组（不及Diagrams.net插件）

Diagrams.net不支持drawio

还有数学公式无法渲染的问题.

repo: zapthedingbat/drawio-obsidian


text:
GitHub templates

Adding templates for Issues
Adding template for Pull Requests
Adding Contributing doc

all look good to me just we got ZIP Repo to keep track of Requested Features better i think we better link it in feature_request.md

Good point. We can mention it.

repo: zarbchain/zarb-go


text:
🛑 Wiki - http://wiki.zasfe.com is down

In 3fe84ac, Wiki - http://wiki.zasfe.com (http://wiki.zasfe.com) was down:

HTTP code: 521
Response time: 257 ms

Resolved: Wiki - http://wiki.zasfe.com is back up in 758cced after 6 minutes.


text:
Persistent Session Cookie Implementation for SSO on React Dashboard

Feature Enhancement: Persistent Authentication State for SSO
We have identified a limitation within our React dashboard's Single Sign-On (SSO) functionality. Users are currently required to re-authenticate each time they access their Frappe site instances via the SSO buttons, due to the lack of a persistent session cookie that would maintain their authenticated state.
Current Challenge
The absence of a persistent session cookie means the system does not remember previous SSO usages within the same session. Consequently, users face the inconvenience of repeated login prompts when navigating between the React dashboard and Frappe framework.
Desired Solution
We need to implement a mechanism that retains the user's session state across different instances of our applications. This would allow users to utilize SSO to switch between the React dashboard and Frappe framework seamlessly, without repeated re-authentication.
Possible Approaches

Leverage session tokens that are stored securely and transmitted with each request to validate the session.
Use local storage or similar browser storage mechanisms to keep the authentication state alive during the session.

Goals

Enhance user experience by reducing the need for multiple logins during the same session.
Maintain a high level of security while implementing persistent sessions.
Ensure compatibility across different browsers and devices.

Action Items

Investigate the best approach to maintain a persistent session state.
Implement the chosen solution while ensuring security best practices.
Test the new system thoroughly to confirm that users can navigate between apps without unnecessary re-authentication.

Importance
This enhancement is crucial for providing a smooth and efficient user experience and will significantly improve our platform's usability.
Request for Implementation
Please prioritize this improvement in the SSO functionality to facilitate better user flow and retention.
Thank you for your commitment to improving our platform's accessibility and user satisfaction.

Tested - seem like everything is working find - next step will ask for some document how to implement these token in or quick link in other places in react dashboard

repo: zaviagodev/frappe


text:
npm package?

First of all, thank you creating great collection of font & color palette. I love it. Also, Just like iconic font, would it be possible to have npm package for this color palette as well?
Thank you,

Yes, I plan to add some features to that project (i.e. colored borders) this week - after that I will publish it to npm.

That would be awesome… can’t wait to see new features. Let me know….
Thanks,
From: Sergey Kupletsky [mailto:notifications@github.com]
Sent: Monday, June 22, 2015 3:59 PM
To: zavoloklom/material-design-color-palette
Cc: Patel, Bhavin
Subject: Re: [material-design-color-palette] npm package? (#2)
Yes, I plan to add some features to that project (i.e. colored borders) this week - after that I will publish it to npm.
—
Reply to this email directly or view it on GitHubhttps://github.com/zavoloklom/material-design-color-palette/issues/2#issuecomment-114260483.

Available in NPM since 1.1.0
Border-color variants available since 2.0.0.
Early access https://github.com/zavoloklom/material-design-color-palette/tree/2.0.0-dev


text:
Android memo research spike

Understand how to grab memos and display memos for transactions in the wallet.
Currently, lightwalletd can also get a full transaction with gettransaction. We should figure out when we should do this, and how to minimize the security, privacy, and performance implications.
I.e. we can do this responsively as we detect that a transaction belongs to the wallet, or do it periodically after a batch of blocks have been scanned.
Outcomes

[ ] Design for full transaction retrieval for SDKs
[ ] Security Assessment of design
[ ] Tickets for implementation in SDK
[ ] Tickets for implementation in zECC
[ ] Enumerate any dependencies on LRZ/Core and discuss in research spike review

Timebox: 3 hours

Brad and Kevin have the context, and will update this ticket after a conversation.

Just discussed this in backlog grooming. @defuse mentioned potentially doing some research in this area but until then, just asking for what we need.
This ticket basically addresses Private retrieval for memos.

Yeah for now the best we can do is ask lightwalletd directly for what we need, and try to make it clear to users that when they take such actions their privacy is in the hands of the lightwalletd server they connect to. (This will be an interesting exercise in designing UX that communicates risk to users without being cumbersome! @geffenz @lindanlee).
ZIP 307 says:

The light client SHOULD obscure the exact transactions of interest by downloading numerous uninteresting transactions as well, and SHOULD download all transactions in any block from which a single full transaction is fetched (interesting or otherwise). It MUST convey to the user that fetching full transactions will reduce their privacy.

I disagree with the "SHOULD"s because without careful reasoning about the privacy properties of the approach, it will just give everyone a false sense of security. The "MUST" is crucial though!
It may be possible to use PIR scheme here, depending on how bandwidth efficient they are. Or we might end up having to design an ad-hoc protocol where we request more than we need to create an anonymity set to hide in, perhaps using fresh Tor circuits to prevent intersection attacks, chaff traffic to kill traffic analysis side-channels, etc.
I will look into the latest research and write up some suggestions!

Memos are live and work to do it more privately is tracked elsewhere

authors: defuse gmale lindanlee

repo: zcash/zcash-android-wallet-poc


text:
Fix cwd when loading server

I've noticed that deoplete-jedi will use Neovim's cwd when loading the server, which means that this depends on :lcd and when the server gets started (when doing it lazily, e.g. when entering insert mode).
When using pyenv, this might result in different python interpreters being used.
While this can be powerful in the context of restarting deoplete-jedi with another interpreter, it is rather confusing in its current state.

A first step here might be to allow for configuration of the python prog (https://github.com/zchee/deoplete-jedi/blob/cdbe0902d646c37e68d0b2967b445c993b78cd32/rplugin/python3/deoplete/sources/deoplete_jedi/server.py#L464).
This should be looked at when restarting then, too - allowing to change it without restarting Neovim (https://github.com/zchee/deoplete-jedi/blob/cdbe0902d646c37e68d0b2967b445c993b78cd32/rplugin/python3/deoplete/sources/deoplete_jedi/server.py#L500).

Is there a way to get Neovim's startup directory later?  This could be used then to change into before running the python prog.  This would make the automatic detection (in the case of pyenv or other tools using the current working directory) more deterministic.

I think deoplete-jedi should use context['cwd'].

I think deoplete-jedi should use context['cwd'].

But that still is the getcwd() when the context is created?!  (https://github.com/Shougo/deoplete.nvim/blob/cad288a242c5a84c398d0035d159366c6acae8ed/autoload/deoplete/init.vim#L217)
The problem is not that the cwd changes while deoplete-jedi is being called, but that the cwd is not Neovim's startup dir.

Does :cd, :lcd, and :tcd actually cause pyenv to update the interpreter?  From my understanding, this is something that happens in the interactive shell.

Does :cd, :lcd, and :tcd actually cause pyenv to update the interpreter? From my understanding, this is something that happens in the interactive shell.

It's not updating it, but has an effect when being called initially.
My use case is lazily loading deoplete-jedi, so it might not happen during loading vimrc already, but only later.

I don't understand all yet, but I think the related thing, so I'll leave the comment.
If use contex['cwd'], but that's sometimes different actual current cwd path. (yes, when lazy loading)
I was used that on the deoplete-go, but it seems to passes wrong absolute filepath to gocode. so I was fallback to use self.vim.current.buffer.name
https://github.com/zchee/deoplete-go/commit/128bab523362a0767aaddb83c4673d65f41e436b

@blueyed Okay, I think I understand the problem you're describing now.  What's making this confusing for me is I don't understand how pyenv is related.  The only issue I can foresee from this is project modules not being seen by the server during completion.
Anyways, wouldn't this be easier as a change in Deoplete that sets a variable when nvim starts?  Like deoplete#startup_pwd = getcwd().  Then it should be available via context['vars'].

how pyenv is related

It is about using pyenv local, which allows to configure project settings, using a dotfile to indicate that.
This results in a different python being used by the shim.

deoplete#startup_pwd = getcwd()

This fails also short when deoplete is loaded lazily.
For this I think support from Neovim/Vim would be required.

@tweekmonster
As @blueyed said,

This fails also short when deoplete is loaded lazily.
For this I think support from Neovim/Vim would be required.

Yeah, I think so, too. (only for pyenv issue. not related deoplete-go)

It is about using pyenv local

I use pyenv local for basically everything, but I never experienced issues with it.  I just tested with :cd .. and echo system('pyenv which python') and now I have a full appreciation for what you're talking about.  Sorry!
Okay, so I think the only important thing cwd would tell is that the server might need to restart.  What deoplete-jedi needs to do is track cwd and if it changes, evaluate the python interpreter path.  During evaluation, pyenv needs to be detected and if it exists, don't use VIRTUAL_ENV to determine anything (since it doesn't change after nvim is started) and use pyenv prefix instead.

@tweekmonster SGTM.
BTW,

What deoplete-jedi needs to do is track cwd and if it changes, evaluate the python interpreter path

out of curiosity, Do you think how much the overhead of tracking cwd behavior?

how much the overhead of tracking cwd behavior?

if context['cwd'] != self.cwd:
    self.cwd = context['cwd']
    check_python_and_maybe_restart_server()

It shouldn't be anything perceptible since the server already restarts after so many completions.

I wonder if it makes sense to allow for specifying the python prog to be used explicitly (point 1)?
Also, I could imagine having multiple servers running at the same time, i.e. for two different virtualenvs in the same session.

@tweekmonster

It shouldn't be anything perceptible since the server already restarts after so many completions.

Ah, that's just if check. I see, np.
Even if we check it every time, but will overhead don't happen.

@blueyed @tweekmonster @Shougo
Hey, I found now, Is that new API would be useful for solving this problem? (but after the release stable version with included this API)
[RDY] New event: DirChanged: https://github.com/neovim/neovim/pull/5928

@zchee
I think it would still look at the context of requests.
DirChanged could be used to proactively notify the server to be (re)started though maybe.. but OTOH there is no reason to do so in case you're just changing dirs for some reason.

@blueyed Ah, Hmm. correct :(
It seems that was me jumping to conclusions \o/

I wonder if it makes sense to allow for specifying the python prog to be used explicitly (point 1)?

I think the configured interpreter should always take precedence.

Also, I could imagine having multiple servers running at the same time, i.e. for two different virtualenvs in the same session.

Not out of the question, but it would require a router and a way to keep the warm caches separate.  This might be better as a separate PR after this is resolved.

Hey, I found now, Is that new API would be useful for solving this problem?

I was looking at that too, but it's only useful in VimL since this feature could be easily emulated by checking context['cwd'] in on_event().  DirChanged also wouldn't be backward compatible with stable builds of nvim.

@tweekmonster

I was looking at that too, but it's only useful in VimL since this feature could be easily emulated by checking context['cwd'] in on_event(). DirChanged also wouldn't be backward compatible with stable builds of nvim.

Yeah, I'd thought again about this. Surely the same result, and use this API was meaningless in this case.

BTW that API is very interesting :) Maybe useful for the another project.

[RDY] New event: DirChanged: neovim/neovim#5928

The feature is merged.
I will add the support in deoplete.

@Shougo Thanks.

@zchee Can you implement the worker restart when cwd is changed?

I have implemented the feature in deoplete.

authors: Shougo blueyed tweekmonster zchee

repo: zchee/deoplete-jedi


text:
Add coin per group limit.

push mints on new block to next group if current_coins + new_coins > 16000

@ultimaweapon some thing like coinGroup.lastBlock->nHeight <= index->nHeight ?

repo: zcoinofficial/zcoin


text:
Example for parseGeographies?

I don't see any example on how to populate the parseGeographies property for Geographies.  Could someone add an example?

I'm not sure I do use it in the right way? But it worked for me.
In my case, I want to change map depends on URL state.
export function ManageMap() {
  const [mapUrl, setMapUrl] = useState("");
  const [geographyMapData, setGeographyMapData] = useState([]);

  const fetchGeography = async (url) => {
  const res = await fetch(url);
  const data = await res.json();
    return data;
  }

  useEffect(() => {
     fetchGeography(mapUrl).then(res => { setGeographyMapData(res.data) });
  }, [mapUrl])

return (
<>
  <button onClick={() => setMapUrl("anotherURL")}>Change URL Map</button>
  <ComposableMap
      projection="geoMercator"
      projectionConfig={{
      center: [longitude, latitude],
            scale: scale,
      }}
      >
            <ZoomableGroup center={[longitude, latitude]}>
                  // I put the geopraphy value because If I don't put it, the parseGeoprahies will not be excuted.
                  <Geographies geography="http://localhost:8080/api/admins/maps" parseGeographies={(geo) => {
                        if (geographyMapData.objects) {
                              return feature(geographyMapData, geographyMapData.objects[Object.keys(geographyMapData.objects)[0]]).features;
                        }
                        return geo;
                  }}>
                    {({geographies}) =>
                        geographies.map((geo) => (
                            <Geography
                                style={{
               ........
               ........
               ........
}

It looks to me like parseGeographies is not a prop, but rather an optional parameter to pass a function to the the function. Just assign a function to parseGeographies (as in the example above)  and when the Geographies component calls the getFeatures function from utils.js (https://github.com/zcreativelabs/react-simple-maps/blob/master/src/utils.js) it will call the passed function with the topojson geographies as the input to the function.
Sorry of my explanation is not as clear as I would like. I am not the world's greatest programmer. :(

authors: adamzwasserman marty331 soncomqiq

repo: zcreativelabs/react-simple-maps


text:
Multiple different startup sounds

Describe the bug
Multiple different startup sounds are invoked when 2 or more projects are re-opened. Only allow one startup motivation sounds to be invoked when there are multiple projects opened.
To Reproduce
Steps to reproduce the behavior:
When there are 2 or more projects is closed and re-opened, the startup notification is invoked on each project, this results in multiple events invoked thus having different sounds played at the same time.
Expected behavior
Only one startup motivation notification should be invoked.
Platform (please complete the following information):

OS: ALL
IDE ALL
IDE Version 2020.1.3
Version WMP 1.1.2

Additional context
Add any other context about the problem here.

Resolved by #121

repo: zd-zero/waifu-motivator-plugin


text:
Error: unable to get tesrun. Zafira report doesn't exist after running Web or Api-Demo tests.

Test scenario:
1.Git git clone --recurse-submodule --branch develop https://github.com/zebrunner/zebrunner.git
2.cd zebrunner
3../zebrunner.sh setup
4.Open Jenkins
5.RegisterOrganization
6.Run RegisterRepository
7.Run API-Demo-Test or Web-Demo-Test
Actuall result:  Error: unable to get tesrun. Probably it is not registered in Zafira. Zafira report doesn't exist after running Web or Api-Demo tests.
Reporting vers:
ui: 1.20.1.RC1
server: 1.20.1.RC2

[Pipeline] echo
[ERROR] UNABLE TO GET TESTRUN! Probably it is not registered in Zafira.
[Pipeline] httpRequest
HttpMethod: GET
URL: http://3.210.50.48/api/reporting/api/tests/runs?ciRunId=1b3331c1-b61c-4272-b2da-90a1ffb24cd7
Content-Type: application/json
Authorization: *****
Sending request to url: http://3.210.50.48/api/reporting/api/tests/runs?ciRunId=1b3331c1-b61c-4272-b2da-90a1ffb24cd7
Response Code: HTTP/1.1 200
Success code from [200‥404]
[Pipeline] stage
[Pipeline] { (Results)
[Pipeline] findFiles
[Pipeline] findFiles
[Pipeline] findFiles
[Pipeline] echo
[INFO] Report File Found, Publishing target/surefire-reports/index.html
[Pipeline] publishHTML
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /opt/jenkins/workspace/dhreben/carina-demo/API-Demo-Test/target/surefire-reports to /var/jenkins_home/jobs/dhreben/jobs/carina-demo/jobs/API-Demo-Test/builds/2/htmlreports/Full_20TestNG_20HTML_20Report
[Pipeline] findFiles
[Pipeline] echo
[INFO] Report File Found, Publishing target/surefire-reports/emailable-report.html
[Pipeline] publishHTML
[htmlpublisher] Archiving HTML reports...
[htmlpublisher] Archiving at BUILD level /opt/jenkins/workspace/dhreben/carina-demo/API-Demo-Test/target/surefire-reports to /var/jenkins_home/jobs/dhreben/jobs/carina-demo/jobs/API-Demo-Test/builds/2/htmlreports/TestNG_20Summary_20HTML_20Report
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage (hide)
[Pipeline] { (Wipe out Workspace)
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // wrap
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS

Fixed:
Reporting vers:
ui: 1.20.1.RC1
server: 1.20.1.RC2

repo: zebrunner/zebrunner


text:
Crash at start

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
After update in 0.99.1, Zed crash during startup :
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               zed [55925]
Path:                  /Applications/Zed.app/Contents/MacOS/zed
Identifier:            dev.zed.Zed
Version:               0.99.1 (20230816.192222)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-08-17 09:55:53.6581 +0200
OS Version:            macOS 13.5 (22G74)
Report Version:        12

Time Awake Since Boot: 180000 seconds
Time Since Wake:       3105 seconds

System Integrity Protection: enabled

Crashed Thread:        37  PTY reader

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   zed [55925]

Application Specific Information:
abort() called

Thread 0:: main Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1a93c3f54 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x1a93d6280 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x1a93ccbb8 mach_msg_overwrite + 604
3   libsystem_kernel.dylib        	       0x1a93c42d0 mach_msg + 24
4   CoreFoundation                	       0x1a94e27e4 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x1a94e10c4 __CFRunLoopRun + 1208
6   CoreFoundation                	       0x1a94e04b8 CFRunLoopRunSpecific + 612
7   HIToolbox                     	       0x1b2d32df0 RunCurrentEventLoopInMode + 292
8   HIToolbox                     	       0x1b2d32c2c ReceiveNextEventCommon + 648
9   HIToolbox                     	       0x1b2d32984 _BlockUntilNextEventMatchingListInModeWithFilter + 76
10  AppKit                        	       0x1ac70797c _DPSNextEvent + 636
11  AppKit                        	       0x1ac706b18 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 716
12  AppKit                        	       0x1ac6faf7c -[NSApplication run] + 464
13  zed                           	       0x104f4ec60 _$LT$gpui..platform..mac..platform..MacForegroundPlatform$u20$as$u20$gpui..platform..ForegroundPlatform$GT$::run::h26cf84befa87dc6e + 588
14  zed                           	       0x1042bc260 Zed::main::h40fc624e90a745c8 + 21456
15  zed                           	       0x10425b394 std::sys_common::backtrace::__rust_begin_short_backtrace::h513836bd0af9574b + 12
16  zed                           	       0x10425b394 std::sys_common::backtrace::__rust_begin_short_backtrace::h513836bd0af9574b + 12
17  zed                           	       0x10425b394 std::sys_common::backtrace::__rust_begin_short_backtrace::h513836bd0af9574b + 12

Environment
unable to exec command as Zed crash at boot.
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
2023-08-17T08:03:19 [INFO] ========== starting zed ==========
2023-08-17T08:03:19 [INFO] Opening main db
2023-08-17T08:03:19 [INFO] Opening main db
2023-08-17T08:03:19 [INFO] set status on client 0: Authenticating
2023-08-17T08:03:19 [INFO] set status on client 0: Connecting
2023-08-17T08:03:19 [INFO] build git repository ".git"
2023-08-17T08:03:19 [INFO] Opening main db
2023-08-17T08:03:19 [INFO] Opening main db
2023-08-17T08:03:19 [INFO] set environment variables from shell:/bin/zsh, path:/opt/homebrew/opt/llvm/bin:/opt/homebrew/sbin:/Users/test/.cargo/bin:/usr/local/opt/python@3.8/bin:/opt/homebrew/bin:/opt/homebrew/opt/ruby/bin:/Users/test/go/bin:/Users/test/.krew/bin:/usr/local/sbin:/Users/test/.local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Users/test/.cargo/bin:/usr/local/bin:/opt/homebrew/opt/fzf/bin
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [INFO] starting language server "rust-analyzer", path: "/Users/test/Developer/orn-rs", id: 0
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:19 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [INFO] add connection to peer
2023-08-17T08:03:20 [INFO] waiting for server hello
2023-08-17T08:03:20 [INFO] got server hello
2023-08-17T08:03:20 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 197, id: 683438 })
2023-08-17T08:03:20 [INFO] set status on client 0: Connected { peer_id: PeerId { owner_id: 197, id: 683438 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer
2023-08-17T08:03:20 [WARN] specified clip bounds are disjoint from parent layer

Hey @BastienVigneron, is this happening every time you open Zed, or did it just happen the one time?

Every time

Thanks for letting me know @BastienVigneron - I'll raise it with the team.

I am not sure if this is related, but Zed has started hanging for me on every launch. It won't open any windows, and shows in macOS as not responding. I tried uninstalling and re-installing it without any success.
Zed v0.99.1 (20230816.192222)
macOS 13.5
The only thing I can think of that changed was that I installed a couple fonts, Iosevka (curly + etoile), to my system. I've attached a system log with the stack trace upon force quitting.
zed-hang-log.txt

I am not sure if this is related, but Zed has started hanging for me on every launch. It won't open any windows, and shows in macOS as not responding. I tried uninstalling and re-installing it without any success.
Zed v0.99.1 (20230816.192222) macOS 13.5
The only thing I can think of that changed was that I installed a couple fonts, Iosevka (curly + etoile), to my system and added one as the buffer_font in Zed settings. I've attached a system log with the stack trace upon force quitting.
zed-hang-log.txt
Edit: The issue is resolved by manually editing the settings.json with a different editor.

We have had constant issues with the losevka font in the past. That font bundle is something like 360+ MBs and it gets copied pretty frequently within Zed, which causes pretty bad performance issues for us.  We are sort of baffled at the sheer size of that font bundle, although, its possible there is something we can do here to make it useable (not entirely sure).

@BastienVigneron, would you be able to check if this is happening in v0100.1?

Hello @JosephTLyons ,
Unfortunately yes, he still crash at start...

Fixed by removing the Zed dir in Library/Application Support ...

Hmm, that's strange - sounds like something got corrupted in one of the files within that directory and it was causing Zed to crash.  Strange - going to close this out for now, but please reopen if it happens again - there might be something deeper going on.

authors: BastienVigneron JosephTLyons mdciotti

repo: zed-industries/community


text:
Input parameters are not removed from XML when morphing Service Task into Receive Task

Describe the Bug
Although input parameters are no longer accessible in the properties panel when Service Task is morphed into Receive Task, they are still present in the XML.
Steps to Reproduce

Create a Service Task
Add input parameters
Morph into Receive Task
Check XML

Expected Behavior
Input parameters should be removed. User can still recover them via undo.
Environment

OS: MacOS 10.15.6
Zeebe Modeler Version: 0.10.0-rc.0

The same issue applies for calledElement when morphing from a callActivity to something else.
As @barmac explained to me, we need to fix this in zeebe-bpmn-moddle, compare https://github.com/camunda/camunda-bpmn-moddle/blob/master/lib/extension.js#L27

What we need:

[ ] Tests for copy behavior
[ ] ZeebeModdleExtension that implements a canCopyProperties
[ ] Integrate it in the Zeebe Modeler

Closed by #274

authors: MaxTru azeghers barmac

repo: zeebe-io/zeebe-modeler


text:
Asyncio implementation

Experimental stage.
Comments welcomed.

Very nice! Reviewing today :)

This seems to work pretty well! I've merged it in. Sorry for delay, I kept running into issues building uWSGI with asyncio plugin on Mac OS X and putting things off :)

authors: stepheny zeekay

repo: zeekay/flask-uwsgi-websocket


text:
1.0.0 release broke some keybindings

I use Karabiner for MacOS and noticed that the 1.0.0 release seems to have broke some of my custom keybindings.  Anyone else notice this yet?  Any idea what could have caused it?

Same issue here. I remap left command to control, and that is not working in Hyper 1.0.0.

close in#1876

authors: bradleyboy jritsema ppot

repo: zeit/hyper


text:
Pull from parent

That's a great PR @jmcmellen 🚀

authors: jmcmellen ppot


text:
#1699 - add configurable interval to .hyper.js config file watch.

While looking at another issue related to gaze scanning the home folder on Windows, I fixed the following:

#1699 - Hyper is reading .hyper.js 40 times a second, constantly.

You can update the following in the .hyper.js config file to change the interval:
    // number of milliseconds to wait between checking if config file has been updated
    configFileWatchInterval: 5000

I have verified with ProcessMonitor on Windows, that the watch() read interval has been altered to the configured value.
This PR should be ready to merge.

@paulbouwer sounds like we should correct the default. Once every 2 second sounds reasonable?

Oops you did that exactly. I think maybe we should lower it to 2?

This should not be in config. But strictly typed.

I think maybe @ppot would be right. If we have a reasonable default, do we need customization?

@rauchg @ppot Should I simply set the interval to 2s and remove from the config file? Happy to do this - 2s is a better default than what we currently have.
Or is there merit in setting the default to 2s and leaving it in config file for those people who really want to minimise disk access further?

@paulbouwer Yes you definitely remove it from the config file. For the case of people wanting to change it's value. This can be modified later on if requests move along this way.

@ppot I've removed it from config and added 2s interval to gaze call.
function watch() {
  // watch for changes on config every 2s
  gaze(path, {interval: 2000}, function (err) {

It should be good to go.

@paulbouwer As I said: Use a const scan = 2000; on the upper

I am the one who originally reported #1699 (measured Hyper to be accessing .hyper.js 40 times a second).
It's great to see you guys addressing this issue. I really appreciate that! If I may, I would like to add that looking at the bigger picture, even 2 seconds is highly excessive. Who changes their settings so often?
Personally, I wouldn't even watch the settings file, but require users to manually refresh. Don't gasp yet. A terminal emulator's settings file is not a development environment, where live-reloading justifies the additional I/O burden.

@stereokai Yes, reducing it to each min would be a better idea. Else user can manually refresh.

@paulbouwer @ppot is it possible to make this setting opt-out via config like you suggested at the top of this page?

Is there any update on this? I would like to be able to disable auto-reload, as well.

authors: arvindch paulbouwer ppot rauchg stereokai


text:
WIP: Per-source minification (DO NOT MERGE)

Here's a proof of concept towards caching for minification in https://github.com/zeit/ncc/issues/46.
Because minification is done per-source, the output currently looks like:
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/ ETC
/************************************************************************/
/******/ ([
/* 0 */
/***/ (function(module, exports, __webpack_require__) {
// minified line:
var bind=__webpack_require__(4),isBuffer=__webpack_require__(5),toString=Object.prototype.toString;
/***/ }),
/* 2 */
/***/ (function(module, exports, __webpack_require__) {

// another minified line:
var utils=__webpack_require__(0),normalizeHeaderName=__webpack_require__(26),DEFAULT_CONTENT_TYPE={"Content-Type":"application/x-www-form-urlencoded"}
// ETC
/***/ })
/******/ ]);
//# sourceMappingURL=index.js.map

It could be possible to hack the various webpack outputs to reduce the gaps here, but it definitely would be quite a hack.
The benefit at the end of the day would be per-source minification caching which would significantly speed up builds with minification.
Let me know if this seems like a worthwhile direction to continue along.

Codecov Report

Merging #115 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master     #115     +/-   ##
=========================================
+ Coverage   75.38%   75.49%   +0.1%
=========================================
  Files           9       10      +1
  Lines         451      453      +2
=========================================
+ Hits          340      342      +2
  Misses        111      111

Impacted Files
Coverage Δ

src/index.js
92.64% <ø> (-0.6%)
:arrow_down:

src/loaders/terser-loader.js
100% <100%> (ø)

Continue to review full report at Codecov.

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

This might be an interesting source if you looking for performance vs size tradeoffs too: https://github.com/terser-js/terser#terser-fast-minify-mode

@sokra good point, added in #161. Am I right in thinking Webpack already does the simple optimizations which would explain why we're seeing absolutely no difference?

authors: codecov-io guybedford sokra

repo: zeit/ncc


text:
help in calculating the value of pi up to 1000 terms

hi people ,
I can't find what's going wrong with my code here ; it should works this way
when the user enter any multiple term of 100 up to 1000
the output should be the value of pi up to that term ; but the problem is when the user enter 200
it outputs 2 values of 200 instead of one and the same when the user enter 300 , it outputs 3 values !
here is the question and my code ;

The value for π can be calculated from the infinite series:
π=4-4/3+4/5-4/7+4/9-4/11+ ⋯
Write a program that prints the approximate value of π after 10000 terms of this series. Your program should also display a table that shows the value of π after terms that are multiples of 100, i.e., it should show π values at 100, 200, 300, …, 10000 terms.

package idk;
import java.util.Scanner;

public class pi {
public static void main (String[]args){
	Scanner kb = new Scanner (System.in);
	double sum = 0;
	System.out.print(" Enter one multiple of 100 up to 1000 ");
	int r = kb.nextInt();
	for (int i=1 ; i<=r ; i++){
		double piformula = Math.pow(-1,i+1 )*4/(2*i-1) ;
		sum+=piformula ;

		if(i%100==0)

			System.out.println("the value of pi after " + r + " terms is " + sum);

}
}

}

I'm sorry , I know there are many language mistakes ,
and I don't know if this is the right place to post my issue

https://adobeid-na1.services.adobe.com/renga-idprovider/pages/start_forgot_password?client_id=ReaderMobileWindowsPhone81_0001&display=web_v2&callback=https://ims-na1.adobelogin.com/ims/adobeid/ReaderMobileWindowsPhone81_0001/AdobeID/device?redirect_uri=http%3A%2F%2Freadermobile.acrobat.com%2Fpath%2F&state={"ac"%3A"ReaderMobileWin81%3ALogin"%2C"av"%3A"16%2C0"%2C"di"%3Anull%2C"mc"%3Anull%2C"pl"%3Anull}&device_id=ezUAnKo6boGq6VG2tFDuQbsP8cxyCBtyYySaNlQLCH8%3D&scope=AdobeID%2Copenid%2Cskybox&denied_callback=https://ims-na1.adobelogin.com/ims/denied/ReaderMobileWindowsPhone81_0001?redirect_uri=http%3A%2F%2Freadermobile.acrobat.com%2Fpath%2F&response_type=device&state={"ac"%3A"ReaderMobileWin81%3ALogin"%2C"av"%3A"16%2C0"%2C"di"%3Anull%2C"mc"%3Anull%2C"pl"%3Anull}&scope=AdobeID%2Copenid%2Cskybox&locale=en_US&username=&internal_browser=true
-----Original Message-----
From: "M8l" notifications@github.com
Sent: 10/31/2016 12:40
To: "zeit/next.js" next.js@noreply.github.com
Subject: Re: [zeit/next.js] help in calculating the value of pi up to 1000terms (#170)
I'm sorry , I know there are many language mistakes ,
and I don't know if this is the right place to post my issue
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.