feat: Created account screen

I would put Account last

you don't have any phone number showing up? which environment are you testing from?

@daviroo I will need to update the login E2E test. The test search for the logout button on the settings screen to verify the user is logged in. https://github.com/GaloyMoney/galoy-mobile/blob/main/e2e/02-login-flow.e2e.spec.ts#L90
I could change this to phone number, but want to future proof the test for when we use email. Any suggestions?

@daviroo If you approve and merge this PR first https://github.com/GaloyMoney/galoy-mobile/pull/711 it ensure the e2e test succeeds when you merge this one.

@daviroo All looks good to me. But I think we should move the "Account" button just below "Security" button.

@daviroo If you approve and merge this PR first #711 it will ensure the e2e test succeeds when you merge this one.

It was my actual phone number so I blanked it out in the screenshot 😆

@nicolasburtey @ntheile I was testing using my actual phone number so I blanked it out in the screenshot 😆


Init KVClientTable with double type, remove EXPECT_EQ in Slice

KVClientTable should be init with double as the value of KVPairs is a double type. If necessary, KVPairs can be declared as a general container in the future.
It is not necessary to expect KVPairs have the same size keys and values in AbstractPartitionManager.Slice. For example, in KVClientTable.Get(), empty values will be pass to PartitionManager.Slice.

Signed-off-by: yongbiaoai<EMAIL_ADDRESS>

Resolve #4


Gcp state tracking

This PR closes #849 by enabling resource state tracking for certain Evidence types, which atm only GoogleCloudDisk is needed.

Added two new config options RESOURCE_FILE, which is the file used for resource state tracking and RESOURCE_FILE_LOCK which will lock methods so no two workers are trying to write to the state file at the same time.
Two new variables for the Evidence class, resource_tracked, which is a bool that indicates whether a given Evidence type should be tracked in state file and resource_id which is a unique ID that will be used to track resources.
Passing in task_id into Evidence.preprocess and Evidence.postprocess so can be tracked in state file.
Added logic in Evidence.preprocess and Evidence.postprocess to update/remove resource_id and/or task_id if a given Evidence type needs to be tracked.
Created a new module in turbinia.processors.resource_manager.py that handles managing (updating/removing) the resource state file.
Implicitly locked GoogleCloudDisk._preprocess due to issue with likely race condition when two workers attempt to attach the same disk, there may be some lag with how long it takes for the disk to attach so a second worker can see that it is not attached, while the first worker is still trying to attach.
Added logic in TaskResult.close where if exception is raised during postprocess call, in the Exception block, it'll still attempt to remove the task_id from the resource state file for better tracking.
Updated  one of tests in worker_test.py due to us needing to pass task_id and Task was failing.

LGTM!


"ImportError: cannot import name tests"

I am a masochist. I cannot stop until I unleash this wretched beast and let it wreak havoc upon my world.
But for serious now, any idea why "pip install json-sempai" won't also download the "tests" directory? fyi, I'm on a windows machine.

The setup.py package does not include the jsonsempai.tests package - https://github.com/kragniz/json-sempai/blob/master/setup.py#L30

Ah, was this intended?

Thanks, this was not intended. 0.3.1 should have this fixed.

Awesome, thanks!


How to read float values ?

Hi,
I m storing float values in holding register. How to read them in float as . Node is only providing values in decimal

It works similar to endianness - use to response buffer to convert as many 16Bit chunks you need, and you know the best, how your float is correct to interpret.


FED house-keeping

This is a bucket ticket to capture a load of minor FED issues.
Catalogue browsing pages
Too much whitespace around facet boxes

Prices and availability messages don't line up

Needs a little footer (or some gray space) at the bottom of the page:

Basket page
I think the totals need to be much bigger. There's also a wide mix of font sizes and weights that could be simplified.

Address book in checkout
Long addresses clash with select button

Default forms have text inputs and textareas which aren't the right size
Eg, the review form:

closing all issues that are feature requests that don't have open PR's attached.


Trying to build fails to find python , older version worked

Describe the bug
image is not building and it's not finding python distro,
my ollama is on another server so according to the instructions I shouldn't use the provided image
To Reproduce
Steps to reproduce the behavior:
I've tried this on 2 systems using docker, the older version worked

clone the repo
docker compose up -d --build

Expected behavior
A clear and concise description of what you expected to happen.
docker image should build
Screenshots
9.056 prebuild-install warn install No prebuilt binaries found (target=23.0.0 runtime=node arch=x64 libc= platform=linux)
9.056 gyp info it worked if it ends with ok
9.056 gyp info using<EMAIL_ADDRESS>9.056 gyp info using<EMAIL_ADDRESS>| linux | x64
9.056 gyp ERR! find Python
9.056 gyp ERR! find Python Python is not set from command line or npm configuration
9.056 gyp ERR! find Python Python is not set from environment variable PYTHON
9.056 gyp ERR! find Python checking if "python3" can be used
9.056 gyp ERR! find Python - executable path is ""
9.056 gyp ERR! find Python - "" could not be run
9.056 gyp ERR! find Python checking if "python" can be used
9.056 gyp ERR! find Python - executable path is ""
9.056 gyp ERR! find Python - "" could not be run
9.056 gyp ERR! find Python
9.056 gyp ERR! find Python **********************************************************
9.056 gyp ERR! find Python You need to install the latest version of Python.
9.056 gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
9.056 gyp ERR! find Python you can try one of the following options:
9.056 gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
9.056 gyp ERR! find Python (accepted by both node-gyp and npm)
9.056 gyp ERR! find Python - Set the environment variable PYTHON
9.056 gyp ERR! find Python - Set the npm configuration variable python:
9.056 gyp ERR! find Python npm config set python "/path/to/pythonexecutable"
9.056 gyp ERR! find Python For more information consult the documentation at:
9.056 gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
9.056 gyp ERR! find Python **********************************************************
9.056 gyp ERR! find Python
9.056 gyp ERR! configure error
9.056 gyp ERR! stack Error: Could not find any Python installation to use
9.056 gyp ERR! stack at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:306:11)
9.056 gyp ERR! stack at PythonFinder.findPython (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:164:17)
9.056 gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
9.056 gyp ERR! stack at async configure (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:27:18)
9.056 gyp ERR! stack at async run (/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:81:18)
9.056 gyp ERR! System Linux 5.15.0-124-generic
9.056 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
9.056 gyp ERR! cwd /home/perplexica/node_modules/better-sqlite3
9.056 gyp ERR! node -v v23.0.0
9.056 gyp ERR! node-gyp -v v10.2.0
9.056 gyp ERR! not ok
failed to solve: process "/bin/sh -c yarn install --frozen-lockfile" did not complete successfully: exit code: 1
Additional context
Add any other context about the problem here.

Can you share the contents of backend.dockerfile

thanks for the quick reply... I solved it by updating the backend.dockerfile to "FROM node:18-slim'

Glad to know it worked, what was the previous base image you we're using? I've recently updated it to node:20-buster which contains Python


Ability to have entry and view links to a specific pagination type

It would be nice to have archive links for entries and view, e.g.
entry.archive(paging='count',template='') where paging is one of day month year count, with optional template arg that specifies the template to use (defaults to '' i.e. index). (If archive=None this has no effect.)
Maybe this could be added to view.link as well although that lacks specificity for which date/reference/etc. to use, so requiring the template to do e.g. view.first.archive() would probably be ideal.
Relatedly, it would be nice if view.type returned the type of pagination (day month year count, or None if no pagination is in effect).

Also maybe in general we should refer to count rather than limit? Better specificity and more intuitive, after all...

Implemented in #59


Fix Issue #110091

This PR fixes #110091, which mentions the running of workbench.action.terminal.clear command will steal the focus to the terminal. The issue is fixed by removing the forced focus on the terminal instance after running the command.
This PR fixes #
110091(https://github.com/microsoft/vscode/issues/110091)

It actually used to be like this and someone complained, so we should make a decision in issues before considering a code change.


Ability to read labels from pod/deployements being scanned and add to prometheus metrics

In our clusters we have specific labels that we'd like to add to the metrics generated by trivy-operator.
Namely we'd like the ability to assign owner label to these metrics since trying to join these metrics with other metrics to get the owner is non-trivial.
IE, trivy scans doom pod/deployment, then reads owner label. Adds that to the metrics generated.
Let me know if you need more clarification here.

@dinapappor do you mean adding custom fields to finding metrics ?

Adding labels to the generated metrics which are generated by labels that the scanned pod/deployment/replicaset has.
For instance.
trivy scans pod-a with a label called owner with value team-a. It then adds it to the metric of that pod

For instance if I specify:
if pod/deployment has
labels:
  owner: team-a
  app: service-name-a

I'd like to have them here:
trivy_image_vulnerabilities{k8s_label_owner="team-a", k8s_label_app="service-name-a"}

k8s_label_* can ofcourse be something else, but the key takeaway is that it should be configurable .

sound reasonable , Adding it to backlog  , you can pick up this issue and raise a PR if you want or we will get to it later

I would like to vote for this feature as well. Also, it'd be very useful to add the workload's labels and annotations to VulnerabilityReport object (using a flag of course).
We have a custom operator that creates Jira tickets for the vulnerabilities. For each VulnerabilityReport, we need to look up its corresponding deployment/daemonset etc. to find the owner tag, so the proposed feature would make such integrations easier.

It would indeed be helpful to add the workload's labels  in the CRDs. I too vote for this feature

@chen-keinan Seems https://github.com/aquasecurity/trivy-operator/pull/612 does exactly what we'd like to do. We locally compiled it and ran it on our env and it works.

@dinapappor this feature it out with latest trivy-operator v0.5.0

@dinapappor this feature it out with latest trivy-operator v0.5.0

Yup, deployed it and it is working perfectly. @hlastras and @chen-keinan thank you. :heart:


Preview/matomo

If MATOMO_ ENV vars are set, we inject the matomo tracking code. into blacklight base.

@whereismyjetpack Ok, ended up completely changing this up. It'd be worth seeing that when make changes to ENV['MATOMO_SITE_ID'] in the Docker container, webpack picks it up.

@whereismyjetpack take 3? This is better, I think. I'd like to get @rschenk to weigh in. Common header code is extracted out in the first commit, and then we install Matomo in the second. Configs are managed via data attributes.

it appears that this will alleviate any concerns. ✅

This looks good to me. I like having the head section extracted to a partial, that alone may make it easier to integrate Christie's designs

@whereismyjetpack aaaaaaand we're back where we started! It appears that the tracking code won't play well with webpack. I started a thread here about it https://forum.matomo.org/t/tracking-code-with-wepack/37732. CC: @cdmo

Well I tried unsuccessfully at this a year or so ago, but I was hopeful for your attempts here! Googling around it does seem that adding the scripts with regular old html (cringe) still seems to be the way folks are adding stuff like this (I searched "google analytics webpacker" because GA works the same way). Oh well.


XFAIL decl/protocol/protocols_with_self_or_assoc_reqs_executable.swift

To work around failure seen in https://ci.swift.org/job/oss-swift_tools-RA_stdlib-RDA_test-simulator/4027.
rdar://83066987

@swift-ci smoke test and merge

@beccadax I take it this is an internal issue?

@AnthonyLatsis We saw it in an open-source bot—see the first message. Don't think it's been really investigated yet.

Yeah, I already looked at the logs (I coauthored this test recently); was wondering because it simply says "test unexpectedly crashed", not even a stack trace.

The failure in the smoke test was downstream of this project. Merging to make progress unblocking bots.


Some of the questions about the installation

When I run
xuelei@xuelei-Z97-HD3:~/digits$ ./digits-devserver

|   _ / | | / |
| |) | | ( || |  | | _
|/_|| || |__/ 5.1-dev
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/xuelei/digits/digits/main.py", line 70, in
main()
File "/home/xuelei/digits/digits/main.py", line 55, in main
import digits.webapp
File "digits/webapp.py", line 26, in
socketio = SocketIO(app, async_mode='gevent')
TypeError: init() got an unexpected keyword argument 'async_mode'
Exception KeyError: KeyError(140466184254480,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
Please give me some effective ways to resolve these errors!

Did you try #1195?

Closing due to inactivity.


Update ssh command to use private key

Current documentation uses public key (.pub) for ssh to VM

@rakshi00 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


jelastic server

Hey,
I have deployed the new api Pokemon Go api map to Jelastic..
Do you know if I have to setup any other thing to make it work on the app?
Currently it is crashing when the app try to convert the data received from the server to JSON because it is HTML..

Do you use the latest version of PoGo Map ?

Yes it is working now!


How to mock server for testing purposes?

I'm not sure what exactly are you asking about. If you need an LDAP server, there are several to choose from, e.g., OpenLDAP, or 389DS, or Active Directory if you have it in your environment. This crate doesn't have, and while I'm maintaining it, won't have, a mock LDAP server.

Closing for lack of feedback.

Sorry for late feedback. I will watch out for a mock.


Packing DMGs without hdiutil / Alternative archive compression option

the use of hdiutil to pack dmg files essentially enforces use of macos environment to do notarization, as it's proprietary apple software. this is tricky in CI environments, as macos runners are expensive and hard to come by. it would be great if there was

an option to skip notarization of the disk image
using an alternative to hdiutil to create the disk image
an option to compress the app file using a more portable format, like zip, and notarize that archive instead

any of these would solve my problem, but 2 and 3 are the most attractive

Yeah, I've been looking into ways to handle this somewhat gracefully as well. There is some work ongoing in a Rust library that is able to read disk images, but so far does not feature write support. I was kinda hoping it'd be supported by now, but given that this format is likely arcane and somewhat cursed, I understand why it's still a ways off.
In absence of the 'correct' way of supporting disk images, I'm also leaning towards what you mention in option 3, that being falling back to ZIP notarization on platforms that don't support disk images. I will try and implement support for this for the next release, but given that this is a somewhat more complicated feature, it might take a couple of weeks to land.

Cursed is the word. It's insane that hdiutil isn't provided to any other platform. Perhaps an intentionally hostile choice by Apple to lock it down 🤷♀
As always, I'm grateful for your time looking into this!

I've release 4.1.0 which introduces a slightly revamped notarization process which hopefully is more useful on non-Apple platforms. Once the release is done, give it a try if you want and let me know whether this helps.

Closing since this is presumably fixed. Please reopen in case it's not.

It works great, thank you! This will definitely do for me


:locals method doesn't work as expected

I have the page: page.html.erb, and the partial: _contactForm.erb.
In the partial I have the title element <%= thetitle %>.
I'm including the partial on the page and passing custom text into the title: <%= partial(:contactForm, :locals => { :thetitle => 'Make Contact' }) %>
The error I'm getting:

NameError at /products-pricing
undefined local variable or method `thetitle' for #Middleman::Application:0x70123295342540

What might be causing this issue?

Ruby version: 2.2.1
Middleman version: 3.4.0
OS version: OS X El Capitan

While I'd love for everyone to be on Middleman 4, it should be safe for you to update to 3.4.1 atleast and see if that helps.

@joshwayne, we were having the same problem when upgrading from 3.4.3 to 4.2.1 and have managed to solve it by monkey patching the partial method.
This fix is relatively simple, as it is this line which was causing the problem for us: https://github.com/middleman/middleman/blob/09f3be9aba1ee07d5afcf8601e368f1e8fa8c524/middleman-core/lib/middleman-core/core_extensions/default_helpers.rb#L282
It sounds like you have a similar problem. We've overwritten the line above to use the Middleman::Util::EnhancedHash.new object instead of a Ruby Hash. Here's the commit which introduces the monkey patch as a helper: https://github.com/unboxed/unboxed.co/pull/442/commits/40024eb283c893c2e07a941745fda4c9fd75dc27.
Hope that it works for you too.


--no-continue is bugged and does nothing (--force-overwrites also)

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
I originally posted this issue months ago in Discord but didn't create an issue for it.
--no-continue doesn't seem to do anything right now.
--force-overwrites which is meant to include it doesn't either.
The only reason I want this to work is to workaround https://github.com/yt-dlp/yt-dlp/issues/2001 .
--force-overwrites log: https://pastebin.com/raw/PZ03eWb2
Verbose log
[debug] Command-line config: ['-v', 'https://www.funimation.com/v/k-on/disband-the-club', '--config-location', 'funimation.conf', '--exec', 'start /B yt-dlp --config-location funimation.conf -q --fixup force --embed-subs --load-info-json %(__infojson_filename)q', '--write-subs', '--download-archive', 'archive.txt', '--ffmpeg-location', 'D:\\dummy', '--write-info-json', '-P', 'D:\\Temp']
[debug] | Config "funimation.conf": ['--config-location', 'base.conf', '-f', '(bv*+ba/b)[format_note=Uncut] / (bv*+ba/b)', '-n', '--cookies', 'cookies-funimation-com.txt', '--extractor-args', 'funimation:language=english', '--no-continue']
[debug] | | Config "base.conf": ['-o', '%(extractor)s\\%(title)s%(myindex)s.%(ext)s', '-P', 'D:\\Videos', '-P', 'temp:D:\\Temp', '--parse-metadata', 'original_url:#%(playlist_index)s', '--parse-metadata', ' - %(playlist_index)d:^(?P<myindex> - \\d+)$', '--parse-metadata', '%(series)s - S%(season_number)sE%(episode_number)s - %(episode)s:^(?P<title>.+ - S\\d+E\\d+ - \\S+.*)$', '--output-na', '', '--sub-langs', 'enUS,en', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0', '--fragment-retries', '500', '-N', '5', '-R', '0', '--no-mtime']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2021.12.27 [6223f67a8] (win_exe)
[debug] Lazy loading extractors is disabled
[debug] Python version 3.10.1 (CPython 64bit) - Windows-10-10.0.19044-SP0
WARNING: ffmpeg-location D:\dummy does not exist! Continuing without ffmpeg.
[debug] exe versions: none
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] Loading archive file 'archive.txt'
[funimation:page] Logging in
[debug] [funimation:page] Extracting URL: https://www.funimation.com/v/k-on/disband-the-club
[funimation:page] k-on_disband-the-club: Downloading JSON metadata
[debug] [Funimation] Extracting URL: https://www.funimation.com/player/1135013
[Funimation] 1135013: Downloading player webpage for 1135013
[Funimation] disband-the-club: Downloading Uncut english (1135013) JSON
[Funimation] disband-the-club: Downloading Uncut english (1135013) m3u8 information
[debug] Sort order given by extractor: lang, source
[debug] Formats sorted by: hasvid, ie_pref, lang, source, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, id
[debug] Searching for '\\#(?P<playlist_index>.+)' in '%(original_url)s'
WARNING: Could not interpret 'original_url' as '#%(playlist_index)s'
[debug] Searching for '^(?P<myindex> - \\d+)$' in ' - %(playlist_index)d'
WARNING: Could not interpret ' - %(playlist_index)d' as '^(?P<myindex> - \\d+)$'
[debug] Searching for '^(?P<title>.+ - S\\d+E\\d+ - \\S+.*)$' in '%(series)s - S%(season_number)sE%(episode_number)s - %(episode)s'
[MetadataParser] Parsed title from '%(series)s - S%(season_number)sE%(episode_number)s - %(episode)s': 'K-On! - S1E1 - Disband the Club!'
[info] 1133115: Downloading 1 format(s): 1135013-hls-6819+1135013-hls-audio-aacl-256-English
[info] Writing video metadata as JSON to: D:\Temp\Funimation\K-On! - S1E1 - Disband the Club!.info.json
WARNING: ffmpeg-location D:\dummy does not exist! Continuing without ffmpeg.
WARNING: You have requested merging of multiple formats but ffmpeg is not installed. The formats won't be merged.
[debug] Invoking downloader on "https://vmfst-api.prd.funimationsvc.com/FunimationStoreFront/V1757083/26d6f23c-a90f-45c6-80e0-e2c01864b291strnv-hl154_streaming_video_1920_1080_7800000_index.m3u8?Key-Pair-Id=APKAIHNXECY27H4O6NIA&Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kMzNldDc3ZXZkOWJnZy5jbG91ZGZyb250Lm5ldC9GdW5pbWF0aW9uU3RvcmVGcm9udC9WMTc1NzA4My8qIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjQxNDY1MzI2fX19XX0_&Signature=i5t~O2TJZ~8XNKwFb~3huANBs5rUvs2nq2OqNsOHecNz4NkJKDJdj2sGC0zCLFu9~Kmu05wsgY-5xNChkwJ3BEM42lqiNdf~F1CJm4vJikyAVXSq--SHUHNjKXq5BWaGVMwWDd~1YHtBWlyoplYO9HnInG6~mIMMhAMGcTBkOBv1el9r2JcpI4V5CMPvCOA2TaDwKr9HeVTmHnVOOfApAfKfRR60CRsVVXgFBNdT6NGP6myy9ITdZzYinqcnggNiO2mza6jtotnokX0tOnrefthhkLikAcpzUnDZg0YC4Uj2AfTAxK~A6yGPvTp2~iR6yGayibhqFIq~-XiZK48KMw__&rt=1450032"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 727
[download] Destination: D:\Temp\Funimation\K-On! - S1E1 - Disband the Club!.f1135013-hls-6819.mp4
WARNING: The download speed shown is only of one thread. This is a known issue and patches are welcome
[download] D:\Temp\Funimation\K-On! - S1E1 - Disband the Club!.f1135013-hls-6819.mp4.part-Frag17 has already been downloaded
[download] D:\Temp\Funimation\K-On! - S1E1 - Disband the Club!.f1135013-hls-6819.mp4.part-Frag18 has already been downloaded
[download]   2.2% of ~1.12GiB at 21.40MiB/s ETA Unknown (frag 16/727)[download] D:\Temp\Funimation\K-On! - S1E1 - Disband the Club!.f1135013-hls-6819.mp4.part-Frag19 has already been downloaded
[download]   2.3% of ~1.12GiB at 781.98MiB/s ETA Unknown (frag 17/727)[download] D:\Temp\Funimation\K-On! - S1E1 - Disband the Club!.f1135013-hls-6819.mp4.part-Frag20 has already been downloaded
[download] D:\Temp\Funimation\K-On! - S1E1 - Disband the Club!.f1135013-hls-6819.mp4.part-Frag21 has already been downloaded
[download]   0.3% of ~39.60GiB at 11.05MiB/s ETA 56:42 (frag 20/727)

Seems to be with HLS fragments. Can reproduce with videos from YouTube. --force-overwrites and --no-continue don't work with DASH fragments either.
DASH:
$ yt-dlp  https://www.youtube.com/watch\?v\=hSJQIYAYEYU -f 248 -v --newline
[debug] Command-line config: ['https://www.youtube.com/watch?v=hSJQIYAYEYU', '-f', '248', '-v', '--newline']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Lazy loading extractors is disabled
[debug] Python version 3.9.9 (CPython 64bit) - Linux-5.15.6-2-MANJARO-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=hSJQIYAYEYU
[youtube] hSJQIYAYEYU: Downloading webpage
[youtube] hSJQIYAYEYU: Downloading android player API JSON
[youtube] hSJQIYAYEYU: Downloading MPD manifest
[youtube] hSJQIYAYEYU: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] hSJQIYAYEYU: Downloading 1 format(s): 248
[debug] Invoking downloader on "https://manifest.googlevideo.com/api/manifest/dash/expire/REDACTED"
[dashsegments] Total fragments: 111
[download] Destination: The Science Of Fireworks [hSJQIYAYEYU].webm
[download]   0.9% of ~88.56KiB at  1.56KiB/s ETA 00:56
[download]   0.9% of ~88.56KiB at  1.56KiB/s ETA 00:56 (frag 1/111)
[download]   0.0% of ~73.40MiB at  1.85KiB/s ETA 12:12:14 (frag 1/111)
[download]   0.0% of ~73.40MiB at  5.55KiB/s ETA 05:46:42 (frag 1/111)
[download]   0.0% of ~73.40MiB at 12.95KiB/s ETA 02:48:54 (frag 1/111)
[...]
[download]   4.4% of ~118.71MiB at  7.90MiB/s ETA 00:33 (frag 4/111)
[download]   4.5% of ~118.71MiB at  9.12MiB/s ETA 00:32 (frag 4/111)
[download]   4.5% of ~118.71MiB at  9.10MiB/s ETA 00:32 (frag 5/111)
^C
ERROR: Interrupted by user
$ yt-dlp  https://www.youtube.com/watch\?v\=hSJQIYAYEYU -f 248 -v --newline --force-overwrites --no-continue
[debug] Command-line config: ['https://www.youtube.com/watch?v=hSJQIYAYEYU', '-f', '248', '-v', '--newline', '--force-overwrites', '--no-continue']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Lazy loading extractors is disabled
[debug] Python version 3.9.9 (CPython 64bit) - Linux-5.15.6-2-MANJARO-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=hSJQIYAYEYU
[youtube] hSJQIYAYEYU: Downloading webpage
[youtube] hSJQIYAYEYU: Downloading android player API JSON
[youtube] hSJQIYAYEYU: Downloading MPD manifest
[youtube] hSJQIYAYEYU: Downloading MPD manifest
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] hSJQIYAYEYU: Downloading 1 format(s): 248
[debug] Invoking downloader on "https://manifest.googlevideo.com/api/manifest/dash/expire/REDACTED"
[dashsegments] Total fragments: 111
[download] Destination: The Science Of Fireworks [hSJQIYAYEYU].webm
[download]   4.4% of ~121.36MiB at  1.61KiB/s ETA 20:32:39 (frag 5/111)
[download]   4.4% of ~121.36MiB at  4.82KiB/s ETA 06:51:02 (frag 5/111)
[download]   4.4% of ~121.36MiB at 11.23KiB/s ETA 02:56:13 (frag 5/111)
[download]   4.4% of ~121.36MiB at 24.06KiB/s ETA 01:22:16 (frag 5/111)
[download]   4.4% of ~121.36MiB at 49.50KiB/s ETA 39:59 (frag 5/111)
[download]   4.5% of ~121.36MiB at 99.52KiB/s ETA 19:53 (frag 5/111)
[download]   4.5% of ~121.36MiB at 199.60KiB/s ETA 09:54 (frag 5/111)
[...]
[download]   5.4% of ~126.52MiB at 322.47KiB/s ETA 02:02 (frag 6/111)
[download]   5.6% of ~126.52MiB at 632.56KiB/s ETA 01:45 (frag 6/111)
[download]   6.0% of ~126.52MiB at  1.19MiB/s ETA 01:22 (frag 6/111)
[download]   6.3% of ~126.52MiB at  1.63MiB/s ETA 01:10 (frag 6/111)
[download]   6.3% of ~126.52MiB at  1.63MiB/s ETA 01:10 (frag 7/111)

HLS:
$ yt-dlp  https://www.youtube.com/watch\?v\=hSJQIYAYEYU -v --newline --extractor-args youtube:player-client=ios -f 270 --force-overwrites --no-continue
[debug] Command-line config: ['https://www.youtube.com/watch?v=hSJQIYAYEYU', '-v', '--newline', '--extractor-args', 'youtube:player-client=ios', '-f', '270', '--force-overwrites', '--no-continue']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Lazy loading extractors is disabled
[debug] Python version 3.9.9 (CPython 64bit) - Linux-5.15.6-2-MANJARO-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=hSJQIYAYEYU
[youtube] hSJQIYAYEYU: Downloading webpage
[youtube] hSJQIYAYEYU: Downloading ios player API JSON
[youtube] hSJQIYAYEYU: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] hSJQIYAYEYU: Downloading 1 format(s): 270
[debug] Invoking downloader on "https://manifest.googlevideo.com/api/manifest/hls_playlist/REDACTED"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 110
[download] Destination: The Science Of Fireworks [hSJQIYAYEYU].mp4
[download] Unknown % of ~0.00B at 13.56KiB/s ETA 00:00
[download] Unknown % of ~0.00B at 40.53KiB/s ETA 00:00
[download] Unknown % of ~0.00B at 67.41KiB/s ETA 00:00
[download] Unknown % of ~0.00B at 144.10KiB/s ETA 00:00
[download] Unknown % of ~0.00B at 296.83KiB/s ETA 00:00
[download] Unknown % of ~0.00B at 583.55KiB/s ETA 00:00
[download] Unknown % of ~0.00B at  1.11MiB/s ETA 00:00
[download] Unknown % of ~0.00B at  2.15MiB/s ETA 00:00
[download] Unknown % of ~0.00B at  4.16MiB/s ETA 00:00
[download] Unknown % of ~0.00B at  7.94MiB/s ETA 00:00
[download] Unknown % of ~0.00B at 14.61MiB/s ETA 00:00
[download]   0.9% of ~217.77MiB at 14.57MiB/s ETA 00:00 (frag 1/110)
[download]   1.8% of ~108.89MiB at  7.71KiB/s ETA 00:14 (frag 1/110)
[download]   1.8% of ~108.89MiB at 23.10KiB/s ETA 00:14 (frag 1/110)
[...]
[download]   3.7% of ~203.17MiB at 797.96KiB/s ETA 00:15 (frag 3/110)
[download]   3.7% of ~203.17MiB at  1.53MiB/s ETA 00:15 (frag 3/110)
[download]   3.8% of ~203.17MiB at  2.95MiB/s ETA 00:15 (frag 3/110)
[download]   3.9% of ~203.17MiB at  5.63MiB/s ETA 00:15 (frag 3/110)
^C
ERROR: Interrupted by user

$ yt-dlp  https://www.youtube.com/watch\?v\=hSJQIYAYEYU -v --newline --extractor-args youtube:player-client=ios -f 270 --force-overwrites --no-continue
[debug] Command-line config: ['https://www.youtube.com/watch?v=hSJQIYAYEYU', '-v', '--newline', '--extractor-args', 'youtube:player-client=ios', '-f', '270', '--force-overwrites', '--no-continue']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Lazy loading extractors is disabled
[debug] Python version 3.9.9 (CPython 64bit) - Linux-5.15.6-2-MANJARO-x86_64-with-glibc2.33
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=hSJQIYAYEYU
[youtube] hSJQIYAYEYU: Downloading webpage
[youtube] hSJQIYAYEYU: Downloading ios player API JSON
[youtube] hSJQIYAYEYU: Downloading m3u8 information
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[info] hSJQIYAYEYU: Downloading 1 format(s): 270
[debug] Invoking downloader on "https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/REDACTED"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 110
[download] Destination: The Science Of Fireworks [hSJQIYAYEYU].mp4
[download]   3.6% of ~203.17MiB at 13.88KiB/s ETA 04:00:40 (frag 3/110)
[download]   3.6% of ~203.17MiB at 41.50KiB/s ETA 01:20:30 (frag 3/110)
[download]   3.6% of ~203.17MiB at 96.51KiB/s ETA 34:37 (frag 3/110)
[download]   3.6% of ~203.17MiB at 206.10KiB/s ETA 16:12 (frag 3/110)
[download]   3.7% of ~203.17MiB at 412.42KiB/s ETA 08:06 (frag 3/110)
[download]   3.7% of ~203.17MiB at 818.23KiB/s ETA 04:04 (frag 3/110)
[download]   3.7% of ~203.17MiB at  1.53MiB/s ETA 02:07 (frag 3/110)
[...]
[download]   6.5% of ~194.73MiB at 11.23MiB/s ETA 00:24 (frag 5/110)
[download]   6.8% of ~194.73MiB at  9.17MiB/s ETA 00:25 (frag 5/110)
[download]   5.5% of ~244.28MiB at  9.16MiB/s ETA 00:25 (frag 6/110)
^C
ERROR: Interrupted by user

Continue of https://github.com/yt-dlp/yt-dlp/issues/2001#issuecomment-1052119472
Untested because I'm tired now but fragments.py is mispelling the key for --no-continue, it should be continue_dl
Maybe it fixes

Continue of #2001 (comment)
Untested because I'm tired now but fragments.py is mispelling the key for --no-continue, it should be continue_dl Maybe it fixes

Hmm... Nope, I renamed all instances of the param to continuedl but it's still returning true.

yeah I was wrong
--no-continue isn't passed to HttpQuietDownloader https://github.com/yt-dlp/yt-dlp/blob/195c22840c594c8f9229cb47ffec2a8984c53a0c/yt_dlp/downloader/fragment.py#L181

Yeah I just noticed that 10mins ago lol.


⚠ PrivateHD has degraded performance

In ac2a2b4, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2316 ms

Resolved: PrivateHD performance has improved in 7a432b7.


Add support for Gemini

Gemini has been released. Add support for Gemini endpoints.

what's the status of the fr.

what's the status of the fr? happy to contribute.

haven't had the capacity to work on this at the moment. if you can help contribute, I can help with qa and merge it into the latest release

hey is there any issue or enhancement regarding frontend which I could help in?


Node 客户端链接失败问题

在 egg 中集成 cat ，使用的egg-cat-client，cat初始化失败。无法获取到app.catFactory
查看applogs日志报错内容：
2020-04-29 11:38:17  [46244][[INFO] ] Cat log module has been successfully initialized.
2020-04-29 11:38:17  [46244][[INFO] ] Current hostname: weideMBP.lan
2020-04-29 11:38:17  [46244][[INFO] ] Current ip: <IP_ADDRESS>
2020-04-29 11:38:17  [46244][[INFO] ] Current ip hex: c0a8c7a3
2020-04-29 11:38:17  [46244][[INFO] ] Start connect to router server <IP_ADDRESS> : 8080.
2020-04-29 11:38:17  [46244][[INFO] ] Connect to router server <IP_ADDRESS> : 8080 Success.
2020-04-29 11:38:17  [46244][[INFO] ] Got available server list:
{"kvs":{"startTransactionTypes":"Cache.;Squirrel.","block":"false","matchTransactionTypes":"SQL","routers":"<IP_ADDRESS>:2280;","sample":"1.0"}}
2020-04-29 11:38:17  [46244][[INFO] ] cat client sample rate has been set to 1.000000
2020-04-29 11:38:17  [46244][[DEBUG] ] Get router from server successfully
2020-04-29 11:38:17  [46244][[DEBUG] ] Trying connecting to the best server
2020-04-29 11:38:17  [46244][[INFO] ] Try connect to server <IP_ADDRESS>:2280.
2020-04-29 11:38:17  [46244][[WARNING] ] Cannot connect to server <IP_ADDRESS>:2280.
2020-04-29 11:38:17  [46244][[ERROR] ] Failed to initialize cat: Error occurred while getting router config from remote server.
2020-04-29 11:38:17  [46244][[INFO] ] Cat has been initialized with appkey: nodecat
2020-04-29 11:38:17  [46263][[INFO] ] Master process has been forked, heartbeat will be disabled.
2020-04-29 11:39:17  [46267][[INFO] ] Master process has been forked, heartbeat will be disabled.
2020-04-29 11:40:17  [46269][[INFO] ] Master process has been forked, heartbeat will be disabled.

项目本机的data目录下按照文档配置，client.xml 文件中的 ip 也是server端的ip地址

node 版本 v10.13.0
egg空项目集成的cat

看了日志这不知道是什么原因，希望帮忙解答下，感谢

最后是怎么解决的？


KAFKA-3029:Marking class org.apache.kafka.common.TopicPartition as serializable

Patch for issue KAFKA-3029
Given that the fix is trivial no new test case is needed. I have run the test suite using gradle (as mentioned @ https://github.com/apache/kafka/blob/trunk/README.md) and suite runs clean.

Can you please explain the reasoning for this change?

Nevermind my question, it's explained in the JIRA ticket.

Any idea if the test that Jenkin flags failed can be re-run? In logs I see that the failure is happening due to a connectException.....

This is technically a change to the public API, but since no actual interfaces were changed, I think its ok.
@ewencp - any compatibility issues I'm missing?
The test failure is a known flaky test, so I wouldn't worry about it. If you want to rerun the tests you can close and reopen the PR.

@gwenshap thanks for the feedback....if it is a known flaky test then we should be good I think.

@gwenshap Adding an implements and thereby introducing an additional interface into the type hierarchy should be a binary compatible change, so I can't see any issues.
I would ask whether there are any other classes that we should consider doing this to as well. Off the top of my head I can't think of anything else but I feel like it should be surprising if that's the only POJO in o.a.k.common that might need to be serialized...

good point @ewencp on "if TopicPartition class alone should be marked for serialization". I was looking into the Kafka consumer interface doc for its different method signatures and I see that User could also pass a reference to OffsetAndMetadata (org.apache.kafka.clients.consumer package)....which means to say if he/she wants to serialize app object that uses OffsetMetadata then this class also needs to be serialized.
I have made the needed change and same is update in the PR.
Was looking at the Producer class too (which the app will use) and don't see any usage of Kafka class that would need serialization to recover back from checkpoint.
I have made the above inference based on possible classes that could be used by a application and would need a way to recover back after a checkpoint (a more usual case in case of Kafka consumer only).
your thoughts?
Thanks
Praveen

One thing to think about is what is our serialization compatibility policy. It's a bit of a pain to maintain serializability compatibility and from looking at our codebase, we don't normally make our classes Serializable.

true @ijuma it can be pain to maintain if used for every classes and especially in inheritance hierarchy.
Given that Kafka allows the feature of being able to go back to a needed offset or start at needed offset, it is necessary that consumer app has info of the offsets at respective partition for respective topic.
There are 2 choices for the app, either regularly checkpoint the offset info for the topic/partition in a data-structure of its own (forcing to create these TopicPartition objects from this data-structure when  needed) or reuse Kafka's classes (hence be able to reuse).
In Kafka client case given that TopicPartition and OffsetAndMetadata are classes for storing this metadata needed for operation we should make them serializable.
Earlier (before 0.9) one could use the class TopicAndPartition which was a case class and by default it was serializable. We could use that with 0.9 too but it makes clients depend on the kafka (core/server) jar which can make it bulky for an app whose need is just for kafka-clients and also we will still need to do the conversions to TopicPartition when needed to call respective consumer method.

@ijuma @praveend Maybe we can add a unit test to force serialization compatibility if we're going to mark the classes as Serializable?

@praveend Understood about clients needing a mechanism to serialize and deserialize such classes. Java Serialization is just one such mechanism, however, there are several others. Personally, I think Java Serialization is not a good mechanism for a number of reasons (compatibility, performance, security, etc.), but I understand that it's very convenient (in the short-term, at least, people often regret using it later). The fact that TopicAndPartition was Serializable was kind of accidental (one sadly gets that automatically when using case classes).
If we do decide to support Java Serialization in some of our classes, we should do that with a good understanding of what it means if we need to change them in the future. And we certainly should include test(s) as @ewencp is suggesting.

@ewencp @ijuma sure.....Any handy pointers on how the tests are structured...I will put in the needed test case that will try serializing the TopicParition and OffsetAndMetadata class object (expecting no exception) and then de-serialize it back and check for equality.

Hi @ewencp @ijuma
I was going through the test suite....the suite has test cases written in Python....to put in a case for serialization test I was looking at writing a java code...but not sure where to put it in.....
Any ideas how can I do that...or might be probably if you could tell me how can it be achieved via a python script I could look into it on those lines.
Thanks
Praveen
Happy new year!!

Never mind...I was looking at the SI and performance test suite...there is one for client @ https://github.com/apache/kafka/tree/trunk/clients/src/test

@ewencp  @ijuma @gwenshap I have added test cases to check serialization and compatibility. Have a look at the latest commit and let me know if it would need some modifications.
Thanks
Praveen

@praveend Do these actually guarantee we maintain compatibility between versions? It looks like it only ensures that, within a given version, we can serialize/deserialize. Don't we need to be sure not only that, e.g., OffsetAndMetadata in 0.9.1 can serialize/deserialize, but also that any newer versions of Kafka (e.g. 0.9.2) can still deserialize data generated by 0.9.1.
@ijuma Thoughts on this? @praveend probably understands the details of the need for Spark better than either of us, but once we mark this serializable, I'd like to know what we're committing to and set expectations for compatibility.

Hi @ewencp

Do these actually guarantee we maintain compatibility between versions?<<

Yes this test ensures that. I have a serialized version of the object written to file under resources folder. The de-serialization is happening from this file...hence if something changes in the new version of the class any incompatibility should be caught and de-serialization will fail (as de-serialization is still trying to use the older serialized object in file). [Reference: https://github.com/apache/kafka/pull/711/files#diff-27ca9bff4a10c02a25a24444543cd0d2R47 , https://github.com/apache/kafka/pull/711/files#diff-6bc22032fe7eb6feeff4a86849a24c76R47]

@praveend Sorry, I must have scanned over the test too quickly and missed that there were separate files there instead of just serializing + deserializing.
@ijuma Any further thoughts here given the tests? I think we'll now have enough to catch any regressions or changes in (de)serializability, so I think this just amounts to deciding whether we want to commit to maintaining the serializability. For these two classes, it doesn't seem particularly onerous.

@ewencp Agreed, it seems OK. A few suggestions from me:

Introduce a base class with shared methods for checking serializability compatibility (the two tests seem to have quite a bit of duplicated code)
Introduce a folder under resources to group serialized data (serialized-data perhaps). I wondered if we should also include some kind of versioning, but it seems like we can do that when/if the need arises.
Name each serialized file with the name of the class being serialized instead of an abbreviation.

@ijuma I have made the suggested changes...review it and let me know if any further changes would be needed.
Thanks
Praveen

@ijuma I have made the needed changes for the suggestions made in above discussions. Have a look and let me know if we could better it further.
Thanks
Praveen

Hi @ijuma
Did you get a chance to review the latest check-in? Let me know if some other modifications would be needed or we are good to go.
Thanks
Praveen

@praveend Sorry for the delay and thanks for the updates. I think we're close, it's just a matter of code clean-ups now.

Thanks @ijuma . Code is now ready for next round of review after accommodating the changes for above comments.

Thank you @praveend, left a few more comments. Hopefully the last from me. :)

Hi @ijuma ,
The try-with-resources was a neat way [did not know about it...so learn't something new :-)]. I have made the changes....ready for next round of review
Thanks
Praveen

LGTM assuming that the tests pass. cc @ewencp

Thanks @ijuma

LGTM, thanks @praveend!

Thanks @ewencp. I think @praveend wanted this to be in <IP_ADDRESS> as well (based on the JIRA). Do you think it's reasonable to double-commit to the 0.9.0 branch?

@ijuma I realized I messed that up after the fact. Went back and cherry-picked + pushed manually and updated the JIRA fix version. Thanks for catching this too!

Thanks Ewen!

Thanks @ijuma and @ewencp
Could I get my name assigned to the JIRA (as a mark of contribution)?


The required eye format is not available

The thing is that I have a skin with not quite standard eyes, (3x1, but not enderman eyes, (pupil 2 pixel)

Same for me but with the eyes at the bottom of the head.

Same here 😭 I wish so bad that we could get support for this cuz I really wanna use this pack.


fix(api): ms trophy validation

The MS API has changed, breaking trophy validation in the C# courses. We formerly verified trophies with information from  https://learn.microsoft.com/api/gamestatus/60fd13c3-1c9d-4149-940e-7c2a4450ca45 - that has changed to https://learn.microsoft.com/api/achievements/user/60fd13c3-1c9d-4149-940e-7c2a4450ca45
To test: you should be able to link my account locally with https://learn.microsoft.com/en-us/users/mot01/transcript/vmp2ycy0kkwjpqk and verify the trophies.
TODO: Add this to new API
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

TODO: Add this to new API

I'll do this before we forget.


Reviews/Ratings on Items

Reviews/Ratings on Items query not returning - returning as 'null.' Should have Integer value for 'stars' field.

Fixed issue where data for item query was not returning the associated Ratings data; needed to populate ratings via the resolver.


Erase button doesn't removes the image

If I try to remove an image with the erase button and saving the record, the last image appears in the view.

@Mon-Tea can you please check whether #4 fixes the issue for you?
To test this, you can simply replace the contents of Packages/Application/Wwwision.Neos.MediaBrowserDialog/Resources/Public/dist.js with https://raw.githubusercontent.com/bwaidelich/Wwwision.Neos.MediaBrowserDialog/780fae98e84a1a76ca5206f07b3bc9dc2d55ee1f/Resources/Public/dist.js

Sorry @bwaidelich currently I can't … atm I can't reproduce this myself…
But be right back here, if so.
thanks

OK, thanks for getting back.
I'll close this for now, but feel free to comment/reopen if you still observe the issue.


_name field missed into PResNet configuration

Star RTDETR
When attempting to load the PResNet model using Yaml_utils, a KeyError: '_name' is encountered at line 123. This issue appears to be specific to the PResNet model, as other models load without any problems.
Error Message:
cls_kwargs[k] = create(_cfg['_name'])
KeyError: '_name'

Describe the bug
Missing key into configuration dict
To Reproduce
launch train as reported into readme with same requirements

Please show config detials that you modified.


Text content not visible

I've installed extension but the problem exists with the displaying text elements. For example on gant, mindmap, pie, git, quadrant text is visible, but on other types like flow, class, state, user journey its invisible for some reason.
Im on version 3.195.3 on desktop app, but the problem also appears on the demo page: https://nienow.github.io/sn-mermaid/demo.html.

Thank you for reporting this. It seems like something went wrong with the last build/deployment. And it appears to be working again after a fresh deployment.


Correct references to WebGazer in mousetracking docs

Correct a couple of stray references to WebGazer in the mouse tracking doc page.

Thanks @alisdt !


Close/de-list Jupyter Twitter account

It seems long past due for Jupyter to close its Twitter account, or at least stop posting to it, promoting it, or linking to it. We have replacements at mastodon and blue sky in place, and at this point it feels rather embarrassing to still have an official presence on the platform that does anything other than point to somewhere else. How should we go about this?

Just for context: Mastodon accont is inactive and decision about instance has not been reached (@fosstodon has not changed its language rules, https://github.com/jupyter/governance/issues/146). Bluesky is not an alternative as of now as it is invite-only.

Yes, as @krassowski there isn't yet a clear broadcast channel to replace our use of Twitter.   Other OSS orgs like the PSF and the Apache Software Foundation are still using Twitter at the moment as well.   The EC are working on standing up a Media Strategy working group to put more attention into the issue.

Twitter isn't really a valid broadcast channel anyway, anymore, as it's completely lost its status as 'where people are', so I think there is little point in using it. I'm not sure keeping it is better than having nothing. We have the blog and forum, both of which are better at this point.

I'm not sure that is completely true, the announcement from  last week still got 3 Replies 11 Retweets and 26 Likes.
I can't vouch for activity on bluesky as this is still private beta AFAICT.
I'm happy to leave twitter in the long run, but I would prefer to have a proper media team before, otherwise we are just going to make our communication worse than it is currently is.

It is so deeply disappointing and frustrating to spend so many months actively supporting a company that officially endorses, enables, and publicizes hatred and violence by continuing to promote the platform as our broadcast channel. Having nothing is better than what we're doing now. I really don't think we lose anything by just closing the account.

I think the conflict may come from the multiple things your original message ask, and maybe is missing concrete action plan.
If you want to stop listing Twitter on multiple places, I'm all for it, and will be happy to review merge your PRs.
I do not have access to tw credentials in the vault, so can't change the @ProjectJupyter Bio on there, but that would be fine as well.
I likely still have delegation access via tweetdeck, so I can schedule a "We are now at  please unfollow us here once you followed is there" and we can look at how many of the current ~90k people we have unfollow us.
And yes I would have love to have a social media team sooner. But I'm actually more embarrassed by still having a Facebook account at that point.

I think that delisting links from official websites is ok but the other part:

schedule a "We are now at please unfollow us here once you followed is there" and we can look at how many of the current ~90k people we have unfollow us.

Is IMO not something Jupyter should do as such an action can be interpreted as antagonising audience and those who are still on that platform.
For what it's worth, there was a lot of engagements with the tweets on the JupyterLab 4.0 blog post (e.g. https://twitter.com/realpython/status/1667925184806899712 >1000 hearts, >200 retweets; and more here https://twitter.com/pycoders/status/1668258604984545281 and elsewhere) which highlights that it is a pity that instead of a tweet to blog post the Jupyter account retweeted a post from a private account which lead to such a low reach as mentioned previously.

On the broader question of Twitter: I am very unhappy about the state of Twitter and its alternatives, but as of today, I get information from Twitter that I can't get anywhere else, and I am able to reach people that I can't reach any other way.
I also think that @krassowski makes a good point about how the JupyterLab 4.0 Tweet was handled. @JasonWeill drafted a tweet for JupyterLab 4.0 with the intent that it would go out on the official Jupyter account, but was told to Tweet it himself (he has only 500 followers). As one would expect, it didn't go very far.
Also, pinging @Ruv7 and @blink1073 who lead the emerging social media team for the EC.

I'd like for us to adopt two social media habits to improve engagement:

Activate a Mastodon account on an instance that matches our values (or by spinning up a NumFOCUS instance, if we can't find one) and simultaneously post all content to both Twitter and Mastodon. This creates a hot standby that we can switch to when Twitter goes down.
Periodically review replies and mentions, engaging with them as we see fit. This shifts our strategy from "broadcast media" (one-way communications) to "social media" (two-way).

I think the conflict may come from the multiple things your original message ask, and maybe is missing concrete action plan.

Fair. Right now, all I'd propose is removing links, and stopping posts to the twitter account. I think it's already unmonitored. We could update the bio to just point to the blog or something.

[ ] remove twitter links from jupyter.org
[ ] remove twitter links from medium
[ ] stop posts from the official twitter account (and JupyterCon, etc.)
[ ] if/when EC has a social media plan, don't include twitter in it

What I'd like is to immediately delete the twitter account entirely, as I don't think anything would be lost. Second choice would be to make it private with a link to somewhere else (e.g. blog for now) in the bio.

For me the big no on deleting is because I believe Medium (and Figma?) are login-via-twitter, and the second reason is if we delete there are risk of Someone picking it up to impersonate.

Just to be clear what "delete" means, I think we should keep the name, but if it it decided to delete all the old content I would not oppose. We do have a history of keeping placeholder names like https://twitter.com/JupyterDev which we do have access to.

Trying to step aside from my own thoughts about social media and Twitter in particular... This is a complex issue that involves a rapidly changing social media landscape and impacts multiple aspects of Jupyter (community, marketing, outreach, announcements, JupyterCon participation, fundraising, etc.). These decisions need to be made by the Executive Council (EC) with input from the community. Please keep the feedback and questions coming on this thread and the EC will begin to work on this and come back with a plan/questions/etc.
One other thing that is may not be evident is that the EC has a large backlog of urgent and major items and "fires" that require significant work, discussion, and decision making. We are making progress and are doing everything we can to scale the work by involving others - please be patient though :-)

To provide a brief update and to clarify our current structure for this decision, @blink1073 and I are working on a charter for a Media Strategy working group. Our first meeting was last week and our second meeting is tomorrow Thursday. Once this is ready we'll present it for a vote from the EC + SSC. In the meantime a response to this issue will be taken on the EC which as Brian mentions is a facing a large backlog. Please know it's on our radar and I agree a decision/strategy/next steps for this channel and the others is overdue.

We should definitely work on a strategy. Promoting and using other platforms (such as Mastodon) may be the way to go.
Unfortunately, we have not built much of an audience elsewhere yet, though I would not discount Linkedin where Jupyter already has 12k subscribers (I realised that when we worked on promoting JupyterCon).

rOpenSci had a good post about this just yesterday. I hope we can follow their example.

Hi everyone!
This subject came up at the most recent Jupyter EC call (on Tuesday). Since the media relations working group is still ramping up and writing its charter, it's a very good time to get a read of what people think and to build a consensus around what our strategy looks like.
Since this is a subject where people may want to have their say privately, we decided to create a form that can be filled out anonymously or not to ask people for their views on Twitter and social media in general.
If you, the Subprojects you are part of, or someone you know has thoughts about these topics, please share the link to the poll:
https://forms.gle/GHruQEYj9b9TPmyX6
cc: @minrk @JasonWeill @SylvainCorlay @Carreau @krassowski

Is the stop (cross-) posting to twitter push due to an anti-twitter agenda or due to  engagement numbers?
Please be transparent about the social media metrics that you are using to guide the marketing efforts of this project.
There are various services for cross-posting to various social media services.
How many followers are there on each service,
and how many users are there on each service?

@afshin what do you think of :

Linking to this issue from the top of the form.
Should the various social media accounts share this form ? Obviously this is a complex question as if you share on platform X, you' likely get more feedback from proponents of X.

Please be transparent about the social media metrics that you are using to guide the marketing efforts of this project.

I don't think this is metrics based, As for the metrics I think they are public.
Facebook  5.8K followers
Twitter IPythonDev 38.3K Followers / ProjectJupyter 88.4K Followers

@westurner

Is the stop (cross-) posting to twitter push due to an anti-twitter agenda or due to engagement numbers?

This is about assessing the different sentiments expressed by our community in person and in issues like this. It might be informed by metrics at some point but that's not the primary angle we've been talking about so far.

Please be transparent about the social media metrics that you are using to guide the marketing efforts of this project.

I don't know if we even have these. But if we do, we haven't been discussing them. If we have them, we can try to find a way to share them. But as Matthias says above, this is not really a metrics-based conversation. It is more about values, given the sentiments being expressed.

@Carreau:

Great idea, I updated the form.
I'm not sure how to distribute this and where to post, but if you have specific places in mind, please feel free to repost. I'd be grateful.

2. I'm not sure how to distribute this and where to post, but if you have specific places in mind, please feel free to repost. I'd be grateful.

I can post on Twitter with either/both of the twitter accounts.

How very meta (no pun intended).
Do you think it'd be beneficial on Twitter or will we just get flooded? Either way, I'm happy to defer to your judgment! I don't have strong intuitions about what the best way to gather this sentiment actually is.

Do you think it'd be beneficial on Twitter or will we just get flooded

Well I guess that's all the questions, which channel and how are we communicating.
I'm guessing I can tweet:

We are working on our communication strategy on social media, and in particular wether we should still be using twitter, please let us know your thoughts by responding to this three questions forms or commenting on linked issue. https://forms.gle/GHruQEYj9b9TPmyX6

What do you think about this? We send this message to:

each Jupyter Subproject
each Working Group
each Standing Committee
the Jupyter Distinguished Contributors

They can choose how they propagate this with their individual communities in whichever channel they wish.

We are working on our communication strategy on social media, and in particular whether we should use Twitter. If you would like to share your thoughts with the Jupyter Executive Council, please consider one of these three channels:

Responding privately to this three-question poll.
Commenting publicly on this issue.
Joining us at the next Executive Council office hours call (on 13 July at 10am US Pacific on jovyan Zoom channel).

I can open a new executive-council-team-compass issue to do this and send out the messages.

And of course the GitHub issue will be available for the public to comment on as well, there would be no obligation to be a member of any of those bodies. The same applies to our office hours call.

No objections, I'll do whatever the council asks.
Note that [We are working on ... channel] is too long to fit in a tweet.

Perhaps it would be best to pick a free service that will copy the shortest
message out to the other networks unless a Jupyter marketing team member
decides to program them independently.
What would be a reasonable quantitative or qualitative ROI metric to
compare the value of social media channels for open source software
projects (without conversion tracking)?
IIRC JupyterCon had their own marketing team?
On Sat, Jul 1, 2023, 5:55 AM Matthias Bussonnier @.***>
wrote:

No objections, I'll do whatever the council asks.
Note that [We are working on ... channel] is too long to fit in a tweet.
—
Reply to this email directly, view it on GitHub
https://github.com/jupyter/governance/issues/170#issuecomment-1615813839,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMNS7S74YFCB3HHXFACRDXN7X2RANCNFSM6AAAAAAYZX2TQM
.
You are receiving this because you were mentioned.Message ID:
@.***>

What do you think about this? We send this message to:
....

I think we should share this on Discourse too- I'm happy to post there if you want. Are you still working on the text?

@manics I think you probably just received an email from me about this. Please feel free to share as you would like!

Hi all, thanks for everyone involved in the conversation here and for those who have responded to the form.  We have closed the form to further input, but the overall consensus in the form and in the EC office hours was that we should only use Twitter/X as a secondary "broadcast" channel to announce blog posts or Jupyter events, and look to join a Mastodon server as our "home" social media channel.
The EC have been working on a draft charter for the Jupyter Media Strategy Working Group, which we are hoping to post as a PR for review in the next week or two.  Establishing a "home" on Mastodon will be one of the first orders of business for the new Working Group.

https://github.com/ipython/ipython-website/pull/166 remove Twitter links and google+  (sic) links from IPython.org. Review appreciated.


Update anybar.fish

Match instructions from AnyBar readme

Thank you for the update, @stefancrain! 😄


Graph validation at compile-time

Could be implemented by traversing the Sources and collect each @Inject for creating the dependency-graph. If no circular dependencies are found, continue with collecting information about the dependency container creations and derive the final module catalogue. From here on it is rather easy to validate.

Should potential work with https://github.com/jpsim/SourceKitten/pull/615/files

I am going to tackle that one again, version 0.26.0: Cinco de Gato did not print out information about annotations. Let's see!

Could potentially work with 0.30.0: Cats Don't Wear Masks, still need to test that thing out.

In a nutshell @brototyp: my idea was to as described above to check for circular dependencies and to check if all desired injections can be resolved successfully. I did not want to do any type of preprocessing magic in terms of what Java or Kotlin offers with the annotation preprocessor magic as it would not feel idiomatic for Swift / Xcode.

Hm. I see. And then the users of DIKit would add a build phase that basically just calls a script? I'll try to understand this on a high level, maybe I can help out 😊


chore: updated tables alignments cli readme

Description
Updated tables alignments CLI readme
Checklist

[x] The code follows the project's coding standards and is properly linted (npm run lint).
[x] Tests have been added or updated to cover the changes.
[x] Documentation has been updated to reflect the changes.
[x] All tests pass successfully locally.(npm run test).

/rtm


GD-160: Split test into unit and integration by having separate test-suites

Is your feature request related to a problem? Please describe.
In general tests can be split into unit and integration tests.
Currently GdUnit has only one kind of test and supports no separation of unit and integration tests.
Describe the solution you'd like
For better splitting tests to a unit or an integration test we need customized test-suites.
The test suites should also a different location for better project organize.
See suggestion at https://github.com/MikeSchulze/gdUnit3/pull/159
unit tests
For unit tests using the existing GdUnitTestSuite located by default under package test
e.g. res://<project_path>/test/foo/bar/MyIntegrationTest.gd
class_name MyUnitTest
extends GdUnitTestSuite
..

integration tests
For integration tests using GdUnitIntegrationTestSuite located by default under package it
e.g. res://<project_path>/it/foo/bar/MyIntegrationTest.gd
Integration test should have access to the scene runner directly integrated.
class_name MyIntegrationTest
extends GdUnitIntegrationTestSuite
..

Describe alternatives you've considered
using GdUnitTestSuite + SceneRunner
Additional context
discussed here
https://github.com/MikeSchulze/gdUnit3/discussions/151
https://github.com/MikeSchulze/gdUnit3/pull/159

There is current no need to split the TestSuite.
It is current possible to organize by your self test in categorys like unit and integration tests.
The scene runner is designed for to write integration tests and do not need to extra integrate into the test-suite class.
Close as won't fix


Notes played are incorrect and weird.

Need some help here, please. After pressing the "play" button while having a lyre window already opened, it switches to Genshin Impact window but notes are basically super out of place and they don't match how it should go at all (presses are slow, not matching the actual tempo etc) - it has nothing to do with an actual song. Tried multiple midi files of multiple songs, even some that are played in Youtube guide videos and still no luck.
Am I missing something?

Did you try making sure the key, as well as the keyboard layout to be correct? And also, when the song isn't C major and only 3 octaves, and it has accidentals, the program will warn you about them. You can choose to shift them one semitone up/down so they can sound sort of correct.


Search for articles with status=DRAFT points to published url

I usee the searchbox on the home url to find a article which has been saved as draft. I found the article, however when I click on it the url points to articles/<title>/ and not to articles/edit/2/ as drafts are not available via public url where only login is required.

Hi @atraining I looked into it, and your totally right. Here the thing will be about functionality and how to solve it. Initially the scope was than the search view should bring the public content, which a draft is not. So, I have to think if I want to include the drafts into the search results, or to exclude them and allow it's search just through the drafts menu inside the articles app.
Actually for me, the right solution is the second option, but I'm open to hear other positions if you have some ideas.

Hi @sebastian-code, thanks for your response. In fact, it's a design pattern question. Despite the fact that users might want to search for articles and do not care about the state of the article - atm I would just filter for published articles.
# https://github.com/vitorfs/bootcamp/blob/master/bootcamp/search/views.py#L30
        results['questions'] = Question.objects.filter(status='PUBLISHED').filter(
            Q(title__icontains=querystring) | Q(description__icontains=querystring))

Solved with fd66f3b2cafe44567c3efd7e8f3271fa5da0dcb9


Chain mismatch error (Chain mismatch: Expected "Polygon Mumbai", received "Chain 80001. at signTypedData)

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.

Here is the diff that solved my problem:
diff --git<EMAIL_ADDRESS><EMAIL_ADDRESS>index 32905e6..e74ac0e 100644
---<EMAIL_ADDRESS>+++<EMAIL_ADDRESS>@@ -136,7 +136,7 @@ class MagicConnector extends core_1.Connector {
         if (typeof networkOptions === 'object') {
             const chainID = networkOptions.chainId;
             if (chainID) {
-                return String((0, core_1.normalizeChainId)(chainID));
+                return (0, core_1.normalizeChainId)(chainID);
             }
         }
         throw new Error('Chain ID is not defined');

The Problem
Wagmi expects the chainId to be a number, but this library is returning the number as a string which results in the function throwing a chain mismatch error.

Sign typed data fails as the below check fails.

Requesting you to please fix this issue! Thank you again 😄🙌
Versions
"wagmi": "^0.5.11",
"@everipedia/wagmi-magic-connector": "^0.6.2",

@AireshBhat Thanks for the opening the issue. may i know the connector instance you implemented ?
const connector = new MagicConnector({
  options: {
    //...options
  },
});

Yup!
This is the instance

const { chains, provider } = configureChains(
    [chain.polygonMumbai, chain.mainnet],
    [alchemyProvider({ alchemyId: ALCHEMY_KEY })]
);

new MagicConnector({
        chains,
        options: {
            apiKey: MAGIC_PUBLISHABLE_KEY,
            oauthOptions: {
                providers: ['google'],
                callbackUrl: 'https://localhost:3000/', //optional
            },
            additionalMagicOptions: {
                network: {
                    rpcUrl: RPC_URL,
                    chainId: CHAIN_ID,
                },
            },
        },
    }),

@AireshBhat Thanks ! May i know your wagmi version ?

I'm using version  0.5.11

@AireshBhat We had the similar issue but somehow in our implementation the chainId is inferred as string instead of number. so we assumed it is the bug with wagmi 0.5.11. we would have to a deepdive into the issue as a user. for now we will proceed with merging the pull request for new patch 👍
Thanks for your contribution !

Released the patch under 0.6.3 ! now you can safely migrate to the new version from patch-package

Thank you so much! Closing the issue for now 🙌


The syntax of RBF3D using multiquadric radial?

I would like to know how to implement rbf function on the following datasets? I know from the tutorials that there is RBF2D but i couldn't find tutorials for 3D radial using multiquadric radial.
For example, I have the following dataset where I want to build rbf for training data and predict the values for testing data.
#training data
x = [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0]
y = [1.0, 3.0, 4.0, 4.0, 4.0, 4.0, 5.0, 5.0]
z = [13.41, 8.6, 5.76, 3.58, 4.69, 3.72, 6.32, 5.68]

#testing data (for which z to be predicted)
x = [1.0, 1.0, 2.28, 2.28, 3.57, 3.57, 4.85, 6.14, 6.14, 6.14, 6.14, 7.42, 7.42, 8.71, 8.71, 10.0]
y = [1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 3.0, 3.0, 3.0, 4.0, 4.0, 5.0, 5.0, 6.0]

May I know, is this supported by the package? And how can i achieve this operation?

Your example seems to be a 2D problem ((x,y) are coordinates, and z is function values). Anyway, RBF3D has been added in the latest version. See this doc.
using ADCME
# centers
xc = rand(10)
yc = rand(10)
zc = rand(10)
rbf = RBF3D(xc, yc, zc)

# coordinates
x = rand(20)
y = rand(20)
z = rand(20)
v = rbf(x, y, z)


Too many decimal places for showing grade as percentage

Too many decimal places for showing grade as percentage. Round when displaying percentages.

Submitted a pull request to round percentgrade


Vortex: parameterize output dir and don't delete it

Previously the output directory was always in .zig-cache/tmp and it was also deleted in a defer statement. So if a test failed, the datafiles were gone. Not great.
Now the output directory is always kept. Additionally, the --output-directory=<PATH> option can be used to not generate one in .zig-cache.
I'll create another PR (if I have time!) to redirect all logs into files in the output directory too.

tidy objects!


feat: add missing owner call methods

Adds aurora-engine contract methods that are missing from the workspace. This PR only deals with the public view methods, others will be added separately.
The methods have already been defined in the OwnerCall enum here, which currently has variants that are never used in the code.
Added methods

factory_update
factory_set_wnear_address
deploy_upgrade
resume_precompiles
stage_upgrade
state_migration

Note
Please make sure that all the method input/output arguments match those on the engine contract. I tried my best to match them but I'm still lacking some familiarity to be absolutely sure of the changes.
Other changes
Local mocked test cases for these methods have been added.

Previous PR (https://github.com/aurora-is-near/aurora-workspace/pull/8) was merged into the wrong branch, opening again. No review necessary, the same PR was approved before.


Feature/topbar mobile view

Basics

[x] I added a line to changelog.md
[x] The PR is rebased with current master.

[x] References to issues, e.g. close #X, are in the commit messages and changelog.
[ ] The buildserver is happy.

Checklist

[ ] I have installed and I am using pre-commit hooks
[ ] I fully described what my PR does in the documentation
[ ] I fixed all affected documentation
[ ] I fixed the introduction tour
[ ] I wrote migrations in a way that they are compatible with already present data
[ ] I fixed all affected decisions
[ ] I added automated tests or a manual test protocol
[ ] I added code comments, logging, and assertions as appropriate
[ ] I translated all strings visible to the user
[ ] I mentioned every code or binary not directly written or done by me in reuse syntax
[ ] I created left-over issues for things that are still to be done
[ ] Code is conforming to our Architecture
[ ] Code is conforming to our Guidelines
[ ] Code is consistent to our Design Decisions
[ ] Exceptions to any guidelines are documented

Review

[ ] I've tested the code
[ ] I've read through the whole code
[ ] I've read through the whole documentation
[ ] I've checked conformity to guidelines

@absurd-turtle great to see a PR from you :+1: Can you create a issue to give some context what this does?

@absurd-turtle great to see a PR from you 👍 Can you create a issue to give some context what this does?

This PR implements a simple mobile navbar which is activated by the burger menu on mobile screen sizes.
I haven't found the time to finish it though.

While implementing the mobile view my solution for the mobile navbar is not compatible with our UI/UX guidelines:
My initial design:

The design when respecting the align everything left rule:

In my opinion the first design is more appealing. Should I change the guidelines or the design?

We don't have guidelines for mobile devices yet, so let us simply expand the guidelines for mobiles to center text. I think your current design is fine.
Btw. main goal of mobile devices at the moment is only the landing page.

jenkins build please

This PR removes all entries in the layers for me?

This PR removes all entries in the layers (Ebenen) for me?

That is weird. That doesn't make any sense to me as I have not touched those files.

Maybe some caching problem then.
Thx for the PRs and the reviews!


vmTools: Fix missing backing format in runInLinuxImage

Motivation for this change
With updating qemu to version 6.1.0 the derivation runInLinuxImage is broken.
I updated the test buildInDebian to demonstrate the error:
$ nix-build ./pkgs/build-support/vm/test.nix -A buildInDebian
...
running post-install script...
[   28.263737] reboot: Power down
building '/nix/store/8mfxdn4x7yh59ws458c9ppb8jb8ajpcw-deb-compile.drv'...
qemu-img: /build/disk-image.qcow2: Backing file specified without backing format
Detected format of qcow2.

Qemu 6.1.0 make the argument backing format mandatory, see https://listman.redhat.com/archives/libvir-list/2021-May/msg00054.html
I added an additional attribute diskImageFormat to runInLinuxImage to fix the problem.
Things done
The test buildInDebian is built without error.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ck3d Looks like it breaks https://github.com/NixOS/nixpkgs/issues/195143


Get a header from a response

Let's implement a way to get a header from a Response (the same way that can be done in a Request), for example, something like: new RsHeaders(this.responde).header(key). As suggestion, this implementation can be called RsHeaders.

@paulodamaso/z please, pay attention to this issue

Hi, does this issue is actual? If is, i would like to implement it


Fix PG escaping

✓ Checklist:

[ ] This PR has been added to CHANGELOG.md (at the top of the list);
[x] Tests for the changes have been added (for bug fixes / features).

Codecov Report

Merging #60 (af8b446) into main (ad75245) will increase coverage by 1.44%.
The diff coverage is 98.71%.

:exclamation: Current head af8b446 differs from pull request most recent head 2fe975e. Consider uploading reports for the commit 2fe975e to get more accurate results

@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   74.45%   75.89%   +1.44%
==========================================
  Files          39       41       +2
  Lines        2161     2278     +117
==========================================
+ Hits         1609     1729     +120
+ Misses        552      549       -3

Impacted Files
Coverage Δ

datanymizer_dumper/src/postgres/row.rs
91.48% <90.90%> (-0.82%)
:arrow_down:

datanymizer_dumper/src/postgres/escaper.rs
100.00% <100.00%> (ø)

datanymizer_engine/src/transformers/mod.rs
100.00% <0.00%> (ø)

datanymizer_engine/src/transformers/token.rs
97.22% <0.00%> (ø)

...mizer_engine/src/transformers/internet/password.rs
78.26% <0.00%> (+15.76%)
: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 ad75245...2fe975e. Read the comment docs.


SSL cert verification settings

Hi,
it would be great if it's possible to pass arguments to requests to modify the SSL verification as described here: http://docs.python-requests.org/en/master/user/advanced/#ssl-cert-verification
Prepared requests can do this too: http://docs.python-requests.org/en/master/user/advanced/#prepared-requests
Thanks,
Timo

You're right. It should accept the verify='/path/to/certfile' when calling HTTPServer. I'll push this through tomorrow.

Pushed a change so you can modify the requests session before sending:
s = HTTPServer('https://github.com')
s.session.verify = '/path/to/certfile'
s.request('get')

Looks good! Thanks a lot. Btw the new version is missing on pypi.

Helps if I upload the distribution files! It's there now, thanks for letting me know.


CMake: run generate_xcode.test only for the host platform

Currently the test assumes that when we are testing for macOS we are targeting the host architecture (since we need to reuse existing build products to contain the test time) -- however there are some Apple internal configurations in which that's not the case.
Addresses rdar://118337598

@swift-ci please test

@swift-ci Please Build Toolchain

@swift-ci please test Apple Silicon

Recording CI run for stdlib with toolchain
before kicking the test for the minimal freestanding stdlib

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

@swift-ci please test Apple Silicon

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

Getting the same failures as the incremental job for the minimal stdlib PR job.

@swift-ci please test Apple Silicon

Verified that BuildSystem/generate_xcode.test is still executed in the macOS and ASi bots (the two tests in the latter are unrelated to this change).


chore: update project repo link

The current repo link on npm 404's
_please note that the github UI added that trailing newline, let me know if you want it scrubbed.

Thanks for this. Somehow missed this PR.


feat: Multimodal LLMs?

Feature request
Is it possible to rum multimodal LLMs like Qwen VL or LLaVa 1.5  using openllm?
Motivation
No response
Other
No response

You can use BentoML for those models, which allow user to build custom, multi-modal APIs.
It's possible to support those models in OpenLLM in the future depending on community demand.


Firebase function example

Just using this awesome lib with firebase function, so I made a example for it :)
ref: https://github.com/talentlessguy/tinyhttp/issues/21

Codecov Report

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

@@           Coverage Diff           @@
##           master     #171   +/-   ##
=======================================
  Coverage   66.41%   66.41%
=======================================
  Files          51       51
  Lines        1885     1885
  Branches      478      478
=======================================
  Hits         1252     1252
  Misses        632      632
  Partials        1        1

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 7e20bb0...bd59ed7. Read the comment docs.

@iketiunn wow, thanks for submitting this example
and special thanks for kind words :heart:
i just submitted some changes to do, pls check each one and fix the issues so I can merge it :3

@iketiunn could u pls format the readme properly, and if possible, convert the code to ESM?

I refactor the example with typescript which should make the source files keep in ESM style.

LGTM, merging

@all-contributors add @iketiunn for example


Add the ability to specify where stdout, stderr and stdin are

I finally started adding functional tests to my docker client Harpoon and realised that dockerpty's behaviour of closing the streams doesn't work too well with nosetests stdout/stderr proxies.
Being able to say where dockerpty should write to would be very helpful to me :)

LGTM

LGTM

Thankyou :)
On Tue, 12 May 2015 01:01 Daniel Nephin<EMAIL_ADDRESS>wrote:

Merged #38 https://github.com/d11wtq/dockerpty/pull/38.
—
Reply to this email directly or view it on GitHub
https://github.com/d11wtq/dockerpty/pull/38#event-301841354.


python310Packages.flask-marshmallow: 0.14.0 -> 0.15.0

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 249441 run on x86_64-linux 1

4 packages built:

python310Packages.flask-marshmallow
python310Packages.flask-marshmallow.dist
python311Packages.flask-marshmallow
python311Packages.flask-marshmallow.dist


Add new user permissions

copied from https://github.com/OpenSlides/openslides-backend/pull/2158/

@jsangmeister can you have a look and merge this PR? The autoupdate-service already has a merged PR based on these changes.

Yes, but then we'll have to merge the backend as well, and should do the same for the client


[3.2.0-1.19.2] Game crash on joining world while holding an item in 'adaptive_crosshair_hold_items'

Description
When loading a game with an item defined in adaptive_crosshair_hold_items in the client config, the game will crash before the player can load into the world. This happens with both vanilla items (i.e. snowballs) and modded items. From the crash reports, it appears that ShoulderRayTraceContext.from is receiving a null entity parameter for some reason; the call entity.getEyePosition on line 11 throws a game-crashing error because of this null parameter.
This does not occur on 3.1.0. The crash only occurs the first time a specific world is loaded in Minecraft - if you load a world without an adaptive crosshair item in hand, then switch to one and reload the world, the crash will not occur.
It seems the best fix would be to add a null check to ensure the entity provided to ShoulderRayTraceContext.from is valid.
Steps to Reproduce

Open or create a Minecraft world.
Hold a snowball or an egg. (These should be defined in adaptive_crosshair_hold_items by default)
Close Minecraft, then relaunch the game.
Attempt to open the world where you're holding the snowball or egg.

Result: The game should crash with an Unexpected Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.Entity.m_20299_(float)" because "entity" is null
Minecraft version
1.19.2 - Minecraft Forge 43.2.6
Game Logs
https://mclo.gs/hGdMY99
Additional Information
Relevant crash log: https://mclo.gs/X0p28N7

Resolved
Updating to Forge 43.3.9 resolved this issue. I will reopen the issue or link back to it if the problem re-appears.

Reconfirmed on Forge 43.3.9 for 1.19.2, reopening the issue and updating the description.

Thank you for the report. Unfortunately, I was not able to reproduce the issue, although the fix should be pretty obvious. I am currently in the process of refactoring the codebase, which has now reached the 1.19.2 branch. It would be very helpful if you could compile the repository based on the latest commit 2541b1c (checkout branch 1.19.2) and tell me if the issue is already fixed, as the initialization process has also been reworked.

Compiled the latest commit and attempted to test it, but the game failed to load citing a mixin injection error.
Here's the crash log:
https://mclo.gs/gYyJSql

To add some further clarification - I first encountered the crash after adding several items to the adaptive_crosshair_hold_items list in the client config. Since the crash was only occurring when holding items in that list, I wonder if I made a formatting error somewhere, or if the regex expressions were causing other issues that led to the crash.
I've attached the client config as a .txt file for you to take a look at.
shouldersurfing-client.txt

Compiled the latest commit and attempted to test it, but the game failed to load citing a mixin injection error.

Should work now if you pull and compile again (force pushed a fix).

I first encountered the crash after adding several items to the adaptive_crosshair_hold_items list in the client config.

Thank you, I will try again.

Using your config, I was able to reproduce the issue, thanks! The refactoring seems to have solved the issue on my end. I'll await your feedback to make sure it is fully resolved.

The refactor appears to have resolved this issue for real this time, but I'll let you know if it re-appears again.
In the meantime, the refactor also seems to have broken the CGM compat (the mixin where recoil is applied to the shoulder camera). I'll open a new issue regarding this.


ReferenceError: window is not defined

I am trying to use this plugin with one of our NuxtJS project. After following the instruction provided by the Nuxt Plugin guide. But after several different attempts, I was unable to use this plugin in the project. Was getting this error in my continuous attempts:
ReferenceError: window is not defined

@choyan try this https://debbie.codes/blog/nuxt-add-vue-plugins/ take note of the client stuff

@choyan any update on the above?

Sorry for coming back to the issue very lately. I have tried applying it in several ways. All of the tried methods failed for me.
I tried using renaming the file with client.js extension, using client-only component and also adding mode: 'client' to nuxt.config.json. But couldn't get rid of the following error Reason: ReferenceError: window is not defined

Hi @choyan I got it working with nuxt using the following.
Create a folder called 'plugins' in the root of your project.
In there create a file called 'imagezoom.client.js'
Code in that file:
import Vue from 'vue';
import imageZoom from 'vue-image-zoomer';

Vue.component('image-zoom', imageZoom);

In nuxt.config.js add this to the plugins array:
{ src: '~/plugins/imagezoom.client.js' }
Then use the <image-zoom> element anywhere in your project. Do not register the component in the component object in a vue file.


eslint-plugin not in NPM registry anymore

Since this morning, I can't install the NPM dependency.
npm i @html-eslint/eslint-plugin

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@html-eslint%2feslint-plugin - Not found
npm ERR! 404
npm ERR! 404  '@html-eslint/eslint-plugin@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

There is an incident with npm this morning. See https://status.npmjs.org/
But this is the only package I can't install.

Same problem using an old version of the plugin.
[INFO] npm ERR! code E404
[INFO] npm ERR! 404 Not Found - GET<EMAIL_ADDRESS>- Not found
[INFO] npm ERR! 404
[INFO] npm ERR! 404  '@html-eslint/eslint-plugin<EMAIL_ADDRESS>is not in this registry.
[INFO] npm ERR! 404
[INFO] npm ERR! 404 Note that you can also install from a
[INFO] npm ERR! 404 tarball, folder, http url, or git url.

Ok nevermind, it's a NPM issue. I can now install it.


[Doc] Add missing ports in Hardware and Network Requirement doc

Is your doc request related to a problem? Please describe or add related issue ID.
When doing white list to allow mandatory ports to be accessed for nodes, found some ports not listed in the document in https://docs.harvesterhci.io/v1.3/install/requirements#port-requirements-for-harvester-nodes.

port 2382: found in /var/lib/rancher/rke2/server/db/config in master node.
port 10260: used by cloud-controller in master node. Pretty much the same function as 10258.

Describe the solution you'd like
Add the ports description in the document.

@mingshuoqiu Let's add this issue to the upcoming milestone or add backport labels as well if want to update the existing versions of doc.


charting bug i think

Describe your bug here.

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
just added my characters

Not a bug
The game can't read your instrumental, re-export it

Not a bug The game can't read your instrumental, re-export it
i just tried it and it doesn't work

Use an online converter

i just tried it and it doesn't work

Then what file is your Inst

ogg

#11070

Usa un convertitore online

#11070

I tried everything and nothing changed, I give up for today lol

Either way it's not a bug

This might be a stupid question, but did you put in your song name correctly, as in like the folder name where the inst and voices files are?

#11070

I tried everything and nothing changed, I give up for today lol

Like I said in the mentioned issue, your audio file's sample rate might be over 44.1KHz. Convert it so it's at 44.1KHz or lower

Ok guys problem solved! Thank you for your help! :DD


openoffice documents converted at drive.google.com are accessed read-only

*.ods and *.odt files that are created at drive.google.com as a result of conversion of original documents by Google Docs/Sheets are accessed read-only at the mountpoint. All other files are rw so it is not an issue about how the fs is mounted or fuse.
If this file is copied at the mountpoint to create a new openoffice document, it is rw permitted. However, whenever the same file is converted at drive.google.com by Google Docs (and a new file is created), this new file is also read-only.

It's by design. That's because you cannot download Google Docs/Sheets in native format through the API, you can only export them to some other format, and layout (for example) is not always preserved. So, to avoid messing with original docs, I decided to make them read-only.

Thanks. By the way, that's a great application.


If a group is defined in the regexp, only highlight/copy this group

This way we can choose to only copy part of the match. Sometimes we provide context for matching but don't want to copy it (and it seems like lookahead and lookback aren't supported).
A less intrusive option is if there is a specific named group then only highlight/copy that.

I agree this would be very nice and it would enable some nice things we can't have because these other features are missing.
If this can be implemented in a non-complex way, I'd be very open to accepting a PR.

I made a slight change to use perl regex (-P) instead of Extended regex (-E)
# (tac 2>/dev/null || tail -r) < "$file" | grep -oniE "$grep_pattern" > "$copycat_file"
(tac 2>/dev/null || tail -r) < "$file" | grep -oniP "$grep_pattern" > "$copycat_file"
This allowed me to to some lookahead/lookback in my .tmux.conf
Match every on a line following prompt>
set -g @copycat_search_C-i '(?<=prompt> ).*'
Match object names between { } but do not include { }
set -g @copycat_search_C-o "(?<={)[a-zA-Z0-9_/.-]+(?=})"
Details on the Perl Look Ahead Assertions that I used (?<=) and (?=) are here:
http://perldoc.perl.org/perlre.html#Extended-Patterns

Hey, that's nice.
Just keep in mind grep -P flag is not part of posix definition. For example, it wouldn't work on OSX.


Fix topological sort in view class

In View class there is a method TopologicalSort which actually worked not quite the way it intended to work. Instead of getting all nodes with no incoming edges it got all nodes with ones.
Simple case to repro: n1->n2->n3->n4.
Expected nodes with no incoming edges: n1
Actual: n2,n3,n4
Another case:
n1->n2, n1->n3, n1->n4
Expected: n1,
Actual: same n2,n3,n4
Because of this at start elements were at wrong positions because pos calculation order was wrong and it needed either resizing to call layout update or somehow did it on it's own in like 15 seconds (i guess it's about internal timers or smth)

Thank you!


refactor Changes - moved legal clicks outside of signup

To enhance reusability - moved this behavior outside so that other components can reuse this.
Testing Everything is running smooth after changes.

@shuashuai  @robinv8

@shuashuai idea is to have behavioral functions or functions (in a broader sense) that components can reuse.
Leveraging Functional programming.

@shuashuai idea is to move out behavioral functions or functions (in a broader sense) from FC so that other FC can reuse.
Leveraging Functional programming.

Understood, I have been busy with other things these two days, please be patient.

I found an error, as shown below. （this happens after the jump）

Although it does not affect the function, it still needs to be solved, the error lies in the two functions useLegalTos() useLegalPrivacy, there are two possible solutions to this:

encapsulate this function into a hooks.
use normal requests, not via SWR.

encapsulate this function into a hooks.

Made this changes