Error when running pip install -U -r requirements.txt

[ ] Using latest version as provided on the master branch
[ ] Searched for similar issues including closed ones

What is the purpose of your issue?

[x ] Script won't run
[ ] Encountered bug
[ ] Feature request
[ ] Question
[ ] Other

System information

Your python version: python 3.6.2
Your operating system: macOS Sierra 10.12.6

Description

I tried to run:
pip install -U -r requirements.txt
and I got a red error message:
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/3r/g72hh5px0bj_t42bv7gbvmdh0000gn/T/pip-build-gOznDj/pathlib/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/3r/g72hh5px0bj_t42bv7gbvmdh0000gn/T/pip-X8uJB1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/3r/g72hh5px0bj_t42bv7gbvmdh0000gn/T/pip-build-gOznDj/pathlib/
here is the full output:
Redjans-MacBook-Pro:spotify-downloader Redjman$ pip install -U -r requirements.txt
Collecting pathlib>=1.0.1 (from -r requirements.txt (line 1))
Using cached pathlib-1.0.1.tar.gz
Collecting BeautifulSoup4>=0.4.13 (from -r requirements.txt (line 2))
Using cached beautifulsoup4-4.6.0-py2-none-any.whl
Collecting youtube_dl>=2017.5.1 (from -r requirements.txt (line 3))
Using cached youtube_dl-2017.9.15-py2.py3-none-any.whl
Collecting pafy>=<IP_ADDRESS> (from -r requirements.txt (line 4))
Using cached pafy-<IP_ADDRESS>.tar.gz
Collecting spotipy>=2.4.4 (from -r requirements.txt (line 5))
Using cached spotipy-2.4.4.tar.gz
Requirement already up-to-date: mutagen>=1.37 in /Users/Redjman/Library/Python/2.7/lib/python/site-packages (from -r requirements.txt (line 6))
Collecting unicode-slugify>=0.1.3 (from -r requirements.txt (line 7))
Using cached unicode-slugify-0.1.3.tar.gz
Collecting titlecase>=0.10.0 (from -r requirements.txt (line 8))
Using cached titlecase-0.12.0.tar.gz
Requirement already up-to-date: requests>=1.0 in /Library/Python/2.7/site-packages (from spotipy>=2.4.4->-r requirements.txt (line 5))
Collecting six (from unicode-slugify>=0.1.3->-r requirements.txt (line 7))
Using cached six-1.11.0-py2.py3-none-any.whl
Collecting unidecode (from unicode-slugify>=0.1.3->-r requirements.txt (line 7))
Using cached Unidecode-0.04.21-py2.py3-none-any.whl
Requirement already up-to-date: idna<2.7,>=2.5 in /Library/Python/2.7/site-packages (from requests>=1.0->spotipy>=2.4.4->-r requirements.txt (line 5))
Requirement already up-to-date: urllib3<1.23,>=1.21.1 in /Library/Python/2.7/site-packages (from requests>=1.0->spotipy>=2.4.4->-r requirements.txt (line 5))
Requirement already up-to-date: certifi>=2017.4.17 in /Library/Python/2.7/site-packages (from requests>=1.0->spotipy>=2.4.4->-r requirements.txt (line 5))
Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /Library/Python/2.7/site-packages (from requests>=1.0->spotipy>=2.4.4->-r requirements.txt (line 5))
Installing collected packages: pathlib, BeautifulSoup4, youtube-dl, pafy, spotipy, six, unidecode, unicode-slugify, titlecase
Running setup.py install for pathlib ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/3r/g72hh5px0bj_t42bv7gbvmdh0000gn/T/pip-build-gOznDj/pathlib/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/3r/g72hh5px0bj_t42bv7gbvmdh0000gn/T/pip-X8uJB1-record/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib
copying pathlib.py -> build/lib
running install_lib
copying build/lib/pathlib.py -> /Library/Python/2.7/site-packages
error: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pathlib.py'
----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/var/folders/3r/g72hh5px0bj_t42bv7gbvmdh0000gn/T/pip-build-gOznDj/pathlib/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/3r/g72hh5px0bj_t42bv7gbvmdh0000gn/T/pip-X8uJB1-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/3r/g72hh5px0bj_t42bv7gbvmdh0000gn/T/pip-build-gOznDj/pathlib/

You need to run that command as root. Try running
sudo pip install -U -r requirements.txt

Better to use virtualenvs, or if you don't want that but want to keep your system's Python install clean, install for the current user:
pip3 install --user -U -r requirements.txt

Also note the pip command is using Python 2 on your machine, try pip3 instead. Python 3 support was officially dropped here.

Hi guys,
Thank you for your help. Your suggestions worked, now I am getting a new issue when trying to use the help function or download songs.
Traceback (most recent call last):
File "spotdl.py", line 4, in
from core import metadata
File "/Users/Redjman/spotify-downloader/core/metadata.py", line 5, in
import urllib.request
ImportError: No module named request
Thank you for your help

You are using Python 2 which is not supported by this script anymore. Please make sure to fully read through the Readme.

I'm a bit confused, because when I downloaded python I definitely clicked 3.6.2, and on IDL.E it says Python 3.6.2 shell. So how did Python 2 install? And how can I delete and use 3 instead?
Thank you, sorry for the trouble.

Oh I managed to fix that, by using python3 in the commands, instead of just python. So the help command worked. But when I tried to download a song using the example in the readme I got this:
Redjans-MacBook-Pro:spotify-downloader Redjman$ python3 spotdl.py --song http://open.spotify.com/track/1MDoll6jK4rrk2BcFRP5i7
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output
self.send(msg)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send
self.connect()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1400, in connect
server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 401, in wrap_socket
_context=self, _session=session)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 808, in init
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1061, in do_handshake
self._sslobj.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 683, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "spotdl.py", line 394, in
grab_single(raw_song=args.song)
File "spotdl.py", line 344, in grab_single
content = go_pafy(raw_song)
File "spotdl.py", line 150, in go_pafy
track_url = generate_youtube_url(raw_song)
File "spotdl.py", line 71, in generate_youtube_url
item = urllib.request.urlopen(search_url).read()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 526, in open
response = self._open(req, data)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 544, in _open
'_open', req)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1361, in https_open
context=self._context, check_hostname=self._check_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:748)>

Since the title was about a completely different topic, please open a new issue. I will lock this one now.

Okay, thank you


Fixed: Incorrect function call on line 23 of garageVehicle.sqf

Line 23 of garageVehicle.sqf makes a call to isMember instead of A3A_fnc_isMember.
How I didn't notice until now, is beyond me however, this should hopefully be the last refactor I've missed.

Hi! I will correct it by hand because with my shitty github knowledge it takes me less time to do it that way than using gith functionalities.
Thanks!

Aye no worries, PR's just highlight code changes better than regular issues do so I went with that; either way the issue is fixed, and that's all that matters. In other news, I've been working on implementing stringtable.xml to ease localization/translation and some fresh dialog structures/layouts but more on that when I have something to show.


Super admin organization management screen

Super admins, when they login:

See a list of organizations.
Can create an organization
Can create an admin for an organization

In discussion with Jeff whether this is required for v3


fix (radio): add required attribute

Issue: 1656. Put required property on the radio group

R: @tinayuangao for any additional comments

I'll do the changes. Thank you gusy

LGTM

@tinayuangao should I create an issue regarding to the value problem?

@tinayuangao what needs to be done here?

hm I didn't checked this one lately I'll do it this evening and commit. thanks

Going to close this since I think it's out of date now. Feel free to open a new PR if you'd like to do an update.


How to view lbry://what links exactly?

I am running a command line daemon. What is the procedure to view and search lbry://what content for me?

./lbrynet-cli resolve uri=lbry://what
./lbrynet-cli get uri=lbry://what

you can also omit lbry://

What about browser?

You need to view them via the lbry app,not browser. For free and public claims, you can use https://spee.ch

Is it possible to create some browser plugin (Electron doesn't support Vista)?

The first incarnation of our app was browser based access. I guess it's possible to build something like it. You can also upgrade from Vista to Windows 10 for free no?

You can also upgrade from Vista to Windows 10 for free no?
No.


Create 0000-01-02-new_one23.md

created a branch, created a file and made a commit, and opened a pull request.

Okay. review is completed.

review is completed

new


added a function to select all sub items of an expandable parent

The second change in my example was made to show, that it is not necessary to always consume the event (and it does not make sense imho).
If you remember, my example was handling the header long press as well => this would not be work without the change, as your recent changes now make sure, that the long press handler is not called, if the pre long press handler consumes the event (before the recent changes, this was not a problem, because the long press could be handled by both handlers)

looks fine so far


Reuse the previous invite code when updating an invitation

Summary
The following PR reuses the previous invite code when updating an invitation. This would allow for older invitations to still work. The initial email content may not reflect the new state, but we are okay with this (synced with Evan) there'll be a follow up email being send in case the role changed

[ ] Waiting for confirmation from @ethomson in case we don't want this behavior.

Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 52.53% (+0.03%) from 52.5%
when pulling 89935e6ccccee8e999bcbee6e98150572615071b on reuse-code
into 6cc166fdaf502b28e9e51dd0372b2b593a0ef118 on main.

coverage: 52.473% (+0.04%) from 52.438%
when pulling d898137d2ef9556c4c168f85563168531c5f8fc2 on reuse-code
into 37323cd194cc161757f6aec694991814f747b7b8 on main.

The initial email content may not reflect the new state

Okay, so -- what happens is:

admin invites user with role x
user gets email telling them that they were invited with role x, and an invite link
admin updates user's role to y
user gets another email telling them that that they were invited with role y, and (the same) invite link

I think that's great, :shipit:


Typo in wiki page build chakracore

In page https://github.com/Microsoft/ChakraCore/wiki/Building-ChakraCore, there is a typo in below step. (thtough->through)
Clone ChakraCore thtough git clone https://github.com/Microsoft/ChakraCore.git

Thanks for the report @ThomsonTan! fixed in https://github.com/Microsoft/ChakraCore/wiki/Building-ChakraCore/7a8df67ead61d46dc0a024b1be52b37f3d06530c


Maui: Updated UI in Geometry samples

Description
Maui: Updated UI in Geometry samples
Type of change

[x] Bug fix

Platforms tested on:

[x] MAUI Windows
[x] MAUI Android
[ ] MAUI iOS

Checklist

[ ] Runs and compiles on all active platforms
[ ] Legacy platforms still compile and run (if applicable)
[x] Branch is up to date with the latest main/v.next
[x] All merge conflicts have been resolved
[ ] Self-review of changes
[ ] There are no warnings related to changes
[ ] No unrelated changes have been made to any other code or project files
[ ] sample_sync.py runs without making changes
[ ] Codemaid and XAML styler extensions have been run on every changed file
[ ] Code is commented with correct formatting
[ ] All variable and method names are good and make sense
[ ] There is no leftover commented code
[ ] Screenshots are correct size and display in description tab

Closing to consolidate all G category changes into one PR.


Only final image is cached if you use processor.

Only final image is cached if you use processor.
It means that if you use resizing or other image modifications it will be downloaded few times or you will not see the image if you use another processor and open screen in offline mode
It will be great if you can add option to store original image in cache and use it if needed
Algorithm should be like:

Get final image from cache, return image if exist
If failed
Get original image from cache, apply processor and store image in cache, return final image if exist
if failed
Load image, store original image in cache, apply processor, store final image in cache return image

It makes sense and definitely to be an improvement. I will consider to see whether we could add an option for it later. Thanks!

Hello guys,
Do you have any idea when to expect the feature in release?
Thank you.

Implemented in 3.10.0


[FLINK-6517] [table] Support multiple consecutive windows

This PR adds support for multiple consecutive windows for the Table API. SQL requires additional group auxiliary functions. I will open a followup issue for that.

Thanks for the review @fhueske. I will merge this...


How to treat newline in Mac

What we should use as a newline in Mac?
I found that [NSCharacterSet newlineCharacterSet] can be used to find newline...
I used it in XVimSearchLineEvaluator like
[source rangeOfCharacterFromSet:[NSCharacterSet newlineCharacterSet] options:NSBackwardsSearch range:NSMakeRange(0, original.location)]
Is this fine?

yes. that's along the lines of what i was thinking of.

If I remeber correctly, according to doc, it's better to avoid using NSCharacterSet.
We can use a 'dirty' c function like:
BOOL testNewLine(unichar ch) { return (ch >= 0xA && ch <= 0xD) || ch == 0x85; } // less typing!!!
It's fine if a line is like:
This is a line of my code in Mac. \n
or
This is a line of my code in Linux. \r
But if the line is like
This is a line of my code in Windows. \r\n,
it will be a headache, since our code will need to check whether it contains a newline char or two newline chars.
I don't think we really need to support \r\n, so we just ignore the \r\n. And testing newline will be as easy as calling testNewLine(theChar).


Problem with Nuxt Playground linting

Environment

Operating System: Linux
Node Version:     v22.8.0
Nuxt Version:     3.13.2
CLI Version:      3.13.2
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools
Runtime Modules:  -
Build Modules:    -

Base repo from nuxt layer template with the following command:
npx nuxi init --template layer nuxt-layer
Package
@nuxt/eslint
Reproduction
https://stackblitz.com/~/github.com/GaborTorma/nuxt-eslint-playground-error
You need to see on the console. Lint automatically runs.
Describe the bug
1. vue/multi-word-component-name rule
Default this off on nuxt pages and layers folder, but it not working in .playground folder.
pages/index.vue has no error, but the same file in playground (.playground/pages/index.vue) has error.
2. vue/no-multiple-template-root rule
Default this is error on nuxt pages and layers folder, but it not working in .playground folder.
pages/multiple-template-root.vue has error, but the same file in playground (.playground/pages/multiple-template-root.vue) has no error.
Additional context
The problem is the nuxt/disables/routes and nuxt/vue/single-root use a generated files path instead of using a general glob path.

The right one is the following:

Logs

Yep, I have the same issue although I use the v4-compat for my app, so I had to modify the layers structure a bit:

Odd, without adding the rootDir, I get 4 errors:

If I add the rootDir like in your commit, I get 6 errors:

6 vue/no-multiple-template-root error is the expected result.
Do not use multiple template root in nuxt pages. More info here.

The original message was for vue/multi-word-component-name not vue/no-multiple-template-root.
Also, you're right ! Multiple root nodes are allowed for components, but not pages !
Thank you

@antfu Is there a guide on how to use @nuxt/eslint inside an app that extend a remote layer which has @nuxt/eslint configured ?
Currently, my eslint setup works inside my layer and inside the ./playground of that layer (because it's local/relative), but I'm not sure how I could make it work inside my app that use c12 to clone the layer remetly.


RFF Boost Unit Test Adapter <IP_ADDRESS> (RC1)

Hi,
We are planning a new and last release of the Boost Unit Test Adapter for Visual Studio 2015 end of next week. Please try the linked version and give us feedback: Download
Version 1.0.9
Enhancements:

Added Boost version identification.
Added One test batch strategy (available as part of Boost.Test in Boost 1.63).
Suppress blocking assertion message boxes for test execution.
Added Boost 1.64, Boost 1.65 support.
Removed dependency over the need of debug symbols (PDB files).
Identify test adapter execution through BUTA environment variable.

Bug fixes:

Support file paths which utilise characters from system (native) encoding.
Harden --list_content=DOT execution and react to process exit code.
Improve test adapter reaction to exceptional cases and note errors as test failures.

Contributions/Special Thanks:

@gastart - BUTA environment variable red pill
@LukaszMendakiewicz - Boost 1.64, Boost 1.65 support

Pre-Requisites:

Boost Libraries. The following versions are supported:

Boost 1.60 and greater

Microsoft Visual Studio. The following versions are supported:

Visual Studio 2015 (Community, Professional, Enterprise).

Note:

Test Adapter for Boost.Test for Visual Studio 2017 is now available from the Visual Studio Gallery courtesy of Microsoft.

Regards,

@ALL no feedback is good feedback.
@netspiri Everything ready to release?

I don't think there is anything to add from our end.


Error with youtube URL "Length Required"

What is the current behavior?
I have integrated deepgram sdk for nodejs and passing youtube video url to it and getting this error "Fetching failed to get valid content-length."
Steps to reproduce

Setup deepgram sdk for nodejs
Test out by passing a youtube video url

Expected behavior
It should transcribe the video as it was working some weeks ago
Please tell us about your environment

We want to make sure the problem isn't specific to your operating system or programming language.

Operating System/Version: MacOS Venture 13.3
Language: [TypeScript, NodeJS]

Other information

Anything else we should know? (e.g. detailed explanation, stack-traces, related issues, suggestions how to fix, links for us to have context, eg. stack overflow, codepen, etc)

The URL parameter must be for a video or audio file type, not a YouTube URL. We do on the other hand have the Deepgram YouTube Demo and open source code to transcribe YouTube videos.


Load balancer sample using Consul and Least Connection [TCP]

Closes #1811

#1811

LoadBalancer Sample using Consul and Least Connection type.
I am creating this PR as a handy guide for local setup and running so any contributor can see loadbalancer in action with minimal repeated setup.
I think this can also help me / anyone as always present setup so just quickly go and make required changes to debug any requested changes / bug.
Proposed Changes

Under Sample folder, created LoadBalancerDemo
This folder have 3 Services (Instance1, Instance2 - to demo 2 instances & API Gateway).
When we hit - /hostname of API Gateway, it loadbalancer will come into picture and with least connection method it will return to which instance it is serving request.
Ocelot.Sample.Loadbalancer.Common for setup of Consul with Instance 1 and instance 2 (Services)

@raman-m Here you go clean PR.

@ggnaegi Welcome to code review!

@raman-m @ggnaegi  are you reviewing it?

When this gonna be merged @raman-m, just asking is there any dates when you do merges?

@ggnaegi  As a Consul service discovery expert, could you review this piece of coding art please?
Let me know the results here and in Slack too plz!

@raman-m Is it fine now?

Do you guys have any open slack channel or need to have any privilege to be part of it(just closed one)? @raman-m

@raman-m Is it fine now?
I already had same structure just renamed my project files and folder.
Do you guys have any open slack channel or need to have any privilege to be part of it(just closed one)? @raman-m

@ks1990cn Maybe you could provide a docker-compose project. I was away during week-end.

@ggnaegi If I run on Docker, I need help for that, I am getting error 500 and my all services are working on docker. do you really need docker support for this sample?

Here you can see I've created docker-compose and running in debugging mode.
I can hit my dowstream services but my debugger is not even loading for API Gateway Service and I am getting 500 error.

@ggnaegi @raman-m Here you can see I've created docker-compose and running in debugging mode.
I can hit my dowstream services and I am getting 500 error.
I need help here, what I am missing here?

@ks1990cn it's normal, you are using localhost:8500 for your consul instance. You can't use that address for docker containers, it will never work. You should start your consul instance within the same network as the docker containers. So it's easier to start consul like this:
consul-service:
        image: "consul:latest"
        command: consul agent -dev -log-level=warn -ui -client=<IP_ADDRESS>
        hostname: consul
        ports:
            - "8500:8500"
            - "8600:8600"

and then call your docker instance with consul:8500

Wow! So interesting battle I've missed... 😄

Wow! So interesting battle I've missed... 😄

Haha! Need help here🤣 in #1811

Haha... haha...


(feat) add script for xemm with perpetual hedging

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
A new strategy to add to scripts based on the existing XEMM strategy as part of the Nov 2022 BotCamp
Tests performed by the developer:

Running of script locally
Running of script overnight on server

Tips for QA testing:

Added branch to Notion Design Template


Quicktest fail because of deprecated api call

Hello,
Starting from a fresh install and running  ./run-docker.sh quicktest I have thoses error :
[...]
 => => writing image sha256:b01e605eccedf1632bb74cdc2e8e74fd5bfe35a84f884a11ef42c597d68a246b                                        0.0s
 => => naming to docker.io/xilinx/finn:v0.10.1-dirty.xrt_202<IP_ADDRESS>4_22.04-amd64-xrt                                            0.0s

 1 warning found (use docker --debug to expand):
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 144)

What's next:
    View a summary of image vulnerabilities and recommendations → docker scout quickview
Obtaining file:///home/mathieu/Tools/finn/deps/qonnx
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [44 lines of output]
      /usr/local/lib/python3.10/dist-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
[...]

I have a lot of similar errors (deprecated api call).
After those messages, all the tests fail because they don't find qonnx, brevitas nor finn.
I tried forcing the installation by changing the dockerfile and adding :
RUN pip install qonnx
RUN pip install brevitas
RUN pip install finn-base

Now I have this test report : 7 failed, 8 passed, 19 warnings, 88 errors.
It seems that the script can't find some find API :
[...]
E   ModuleNotFoundError: No module named 'finn.transformation.qonnx'
[...]
E   ModuleNotFoundError: No module named 'finn.builder'
[...]

Did I do something wrong in my installation or is there a deprecation in the docker image ?
Thanks in advance !

Hi @kalahel ,
Are you working with current main or dev?
This error looks like an older version of FINN.

Hi @auphelia, thanks for the response !
I followed the getting started guide so just cloned the repo with git clone https://github.com/Xilinx/finn/, so I guess I have the current main branch.

That is unusual, can you share the exact commands you run in the command line and which env vars you have set?

I run ./run-docker.sh quicktest
My env variable are :
export FINN_XILINX_PATH=/home/mathieu/Tools/Xilinx
export FINN_XILINX_VERSION=2024.1

We are recommending using Vivado/Vitis 2022.2 with FINN currently, but this is not the reason for the issue.
It might be that you are building from cache and that causes issues. So, you can try rebuilding the docker container. Can you please add --no-cache to the run-docker.sh script in the line docker build? To this line: https://github.com/Xilinx/finn/blob/main/run-docker.sh#L198
So: docker build -f docker/Dockerfile.finn --build-arg XRT_DEB_VERSION=$XRT_DEB_VERSION --tag=$FINN_DOCKER_TAG $FINN_DOCKER_BUILD_EXTRA --no-cache .
And try to run it again.

Unfortunately it did not change the result.
I linked the complete trace if it can help you find clues on what's happening.
completeTrace.txt

I deleted deps, ran fetch-repos.sh and re-ran ./run-docker.sh quicktest, but still the same results.
Here the traces :
traceFetchRepo.txt
completeTrace2.txt

Hi @kalahel,
Your error looks like a setup issue. Can you please clarify how exactly your setup looks like?

Do you have a linux machine?
Do you have a docker installation?
What are the exact steps you run in the command line?
E.g.
git clone https://github.com/Xilinx/finn.git
export FINN_XILINX_PATH=/home/mathieu/Tools/Xilinx
export FINN_XILINX_VERSION=2024.1
bash run-docker.sh

Hi @auphelia,
I'm currently using an Ubuntu 24.04.1 LTS with docker (version 27.2.1) desktop installation.
This is the commands I run from reboot :
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
systemctl --user start docker-desktop
export FINN_XILINX_PATH=/home/mathieu/Tools/Xilinx
export FINN_XILINX_VERSION=2024.1
./run-docker.sh quicktest

Thank you for your support !

Hi @kalahel ,
I was not able to recreate the issue you are/were experiencing. I saw that you commented on other topics in the FINN repos and was wondering if you were able to solve this by yourself. If yes, could you share your solution?

Hi @auphelia,
Unfortunatly I was not able to find a direct solution, but now I am using FINN in a WSL2 from Windows, I followed the direction given in this discussion.


Support NoRoute and NoMethod in facades.Route

Just like: https://laravel.com/docs/9.x/routing#fallback-routes

Could you provide some use cases?

Thanks! But I'm working on this and will create a PR today. You can check the assignees to confirm if there is someone working on this.

Emm, or I can add a new label to tag it.

Added a processing label

Do you have any interest in this? https://github.com/goravel/goravel/issues/48
I think the staff hasn't started dealing with it, it had stood a long time.

Let me read this https://github.com/goravel/goravel/issues/48 first, it looks good to me. Thanks.


Allow test separation by supporting a 'robolectricTest' source set

Resolves issues #107 #17 #37

This shouldn't be needed since we now rely on the unit testing support added in version 1.1.0 of the Android Gradle plugin.


docs(documentation): add presentation files (pptx, pdf)

확인했습니다!

Dropbox
Talking about SaaS storage services, Dropbox is the best SaaS example.
Dropbox provides storage for both free and paid plans. You can get storage
upto 2GB for free, and for more than 2GB, you need to pay.
Dropbox provides storage of upto 2TB for Dropbox Plus users.
Dropbox was first released in September 2008. Dropbox has more than 500
million registered users. As of 2020, Dropbox now has the best revenue of
1.9 billion US dollars.
Slack offers the best communication system where you can create a separate
channel for each project. It provides individual and group chats inside the
organisations.
Slack also supports video or voice calling along with document sharing.
The companies that use Slack are easily managed and well structured to
access data from any point of time.
Many well-established organisations like Dropbox, eBay, Airbnb are using
Slack. It has more than 10 million daily active users and more than 80K
paid users.
Slack was first launched in 2013 and clocked an annual revenue of 902
million US dollars (2021)
2023년 3월 29일 (수) 오후 2:03, CharliePark @.***>님이 작성:

@charlieppark https://github.com/charlieppark requested your review on:
#2 https://github.com/Easy-Diffuser/Service/pull/2 docs(documentation):
add presentation files (pptx, pdf).
—
Reply to this email directly, view it on GitHub
https://github.com/Easy-Diffuser/Service/pull/2#event-8871912279, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ARBT4YBVNUYO6MH6WVZFKM3W6O7DPANCNFSM6AAAAAAWLOACL4
.
You are receiving this because your review was requested.Message ID:
@.***>


Example of @font-face

use a @font-face example with different weights and styles to demonstrate its use

added Open Sans Webfont https://github.com/me-and-company/web-project-kit/commit/83a9826d1476e42f4d8c58c01c664862abf5c92b


AttributeError when trying to use a proxy (Windows 10)

I'm running into this issue after setting the proxy in the config;
Traceback (most recent call last):

    File "worker.py", line 420, in <module>

        spawn_workers(workers, status_bar=args.status_bar)

    File "worker.py", line 354, in spawn_workers

        start_worker(worker_no, points[worker_no])

    File "worker.py", line 339, in start_worker

        points=points

    File "worker.py", line 92, in __init__

        self.api.set_proxy(config.PROXIES)

    File "D:\Program Files\Python27\lib\site-packages\pgoapi\pgoapi.py", line 127, in __getattr__

        raise AttributeError

AttributeError

I've looked over the several posts related to proxies here already, and followed the instructions as they were given. I've run "pip install requests[shocks]", "pip install pysocks" and "pip install win_inet_pton". I've added "import win_inet_pton", and "import requests" to both the config.py and the pgoapi.py. I've tried using the changes listed HERE. I'm at a loss for what else I could be missing that would cause this issue.

Did you run in it without the proxy and it was working?
This looks like there is an error in the way you wrote your proxy in the config.py
Since you use windows I recommend using notepad++ or similar to look at the file since it could be some encoding error and windows tools tend to be weird with encodings.
Also is there any special char like & in your url?

It runs just fine without the proxy, and I've been using notepad++. I took the format that others have used, but perhaps I did make an error. Here's what I've got;

{'http': 'socks5://66.16.127:80', 'https': 'socks5://66.16.127:80'}

obvious ones

your IP is too short (but I guess you just did this when posting here on purpose?
is your variable really called PROXIES ?

I've tried several IP's (of correct length, with a port included) to no avail, and my variable is called PROXIES.

where is the pgoapi.py that you edited? paste the path here.

D:\Program Files\pokeminer-0.5.4\src\pgoapi\pgoapi.py

yeah so you can see in the error that the pgoapi that it is calling is here:
D:\Program Files\Python27\lib\site-packages\pgoapi\pgoapi.py
this got installed from pip install -r requirements.txt
try to either:

update pgoapi with pip (by editing the requirements.txt file to include newer commit of pgoapi)
or
go to your python folder and update the pgoapi.py there

lemme know if this works.

I've updated the pgoapi within the python folder, and I'm getting this new error;
Traceback (most recent call last):
  File "worker.py", line 109, in run
    provider=service,
  File "D:\Program Files\Python27\lib\site-packages\pgoapi\src\pgoapi\pgoapi\pgoapi.py", line 181, in login
    response = self.app_simulation_login()
  File "D:\Program Files\Python27\lib\site-packages\pgoapi\src\pgoapi\pgoapi\pgoapi.py", line 158, in app_simulation_login
    response = request.call()
  File "D:\Program Files\Python27\lib\site-packages\pgoapi\src\pgoapi\pgoapi\pgoapi.py", line 241, in call
    response = request.request(self._api_endpoint, self._req_method_list, self.get_position())
  File "D:\Program Files\Python27\lib\site-packages\pgoapi\src\pgoapi\pgoapi\rpc_api.py", line 127, in request
    request_proto = self._build_main_request(subrequests, player_position)
  File "D:\Program Files\Python27\lib\site-packages\pgoapi\src\pgoapi\pgoapi\rpc_api.py", line 215, in _build_main_request
    for key in self.device_info:
TypeError: 'NoneType' object is not iterable

haha i'm giving you more errors. now it likely won't run even w/o proxies.
so i can tell you updated the pgoapi to the latest because now it is looking for a device_info.
open up the new pgoapi.py (in D:\Program Files\Python27.....) and around line 71 you should see:
self.device_info = device_info
change this to
self.device_info = None
if that doesnt work try:
self.device_info = {}
that may or may not make it work again. to spoof an actual device, and 100% make it work again, this should set you up for spoofing a device:
https://github.com/pogodevorg/pgoapi/pull/108

Using "self.device_info = {}" seems to have worked. Thanks for the help again!

i edited my comment in case you wanted to have a look. right now you are sending blank device ids to the server.

What's the reasoning for sending device ID's to the server. Just to make the accounts look less suspicious?

yeah that is exactly why

Alright, I've added those new lines and it's still working. Once again, thanks for the help.

I've started having a new problem, where my workers often receive [LOGIN FAILED] while using a proxy now. I've tried 10+ different proxies and the problem persists through all of them. When I stop using proxies, the problem is non-existent. I haven't changed anything since I got the proxies working 2 days ago. Any ideas?

can you paste the lines from your worker.log that pertain to this?

[2016-08-27 13:09:30,119][ worker-15][    INFO][L 788] Starting new HTTPS connection (1): pgorelease.nianticlabs.com
[2016-08-27 13:09:39,255][  worker-1][    INFO][L 277] Server seems to be busy or offline - try again!
[2016-08-27 13:09:39,255][  worker-1][    INFO][L 284] Cleanup of request!
[2016-08-27 13:09:39,255][  worker-1][    INFO][L 169] Finished RPC login sequence (app simulation)
[2016-08-27 13:09:39,255][  worker-1][    INFO][L 197] Login failed!

from what i can tell, you're not receiving any data when using your proxy. either the proxies you use are overloaded or they aren't configured correctly.

So would the incorrect configuration be on my end, or the proxy's end?

your end. can you load webpages using these proxies?

Just tried, and none of them seem to be loading a webpage. I did have a few working proxies a few days ago, but those gave the same LOGIN FAILED the next day as well.

sorry, but it looks like the proxies you use are either overloaded and not finishing requests or just not active anymore. try to find more working proxies and use those.

run worker.py --log-level DEBUG to get more detail from log file. make sure you use socks proxy, not http proxy. Did all worket get the same error?

I've got one proxy (sort of) working now. It takes about a minute for each scanner to successfully login, and then it begins the scan. However, they frequently display the LOGIN FAILED again for a bit and then resume scanning. They do this mid-cycle so I don't think it's just sleeping. I've been using this off and on since I found it, but I'm not sure if all of the points are getting scanned or not. All of the workers get the same error right off the bat, but then the LOGIN FAILED happens seemingly at random amongst them.

There are a lot of free socks proxies you can find online, but you need to test them first. Have you read #252?
You'll never get your points 100% scanned with current worker.py. Simple server throttle on request is enough to make your worker restart and scan from the first point. Imagine if this happens when worker in 80% percentage


feat: add RateLimitPolicy CRD

Description:

Testing done:

Affected area:

Functional Area

New Functionality
[ ]

CI System
[ ]

CLI Tool
[ ]

Certificate Management
[ ]

Control Plane
[ ]

Demo
[ ]

Documentation
[ ]

Egress
[ ]

Ingress
[ ]

Install
[ ]

Networking
[ ]

Observability
[ ]

Performance
[ ]

SMI Policy
[ ]

Security
[ ]

Sidecar Injection
[ ]

Tests
[ ]

Upgrade
[ ]

Other
[ ]

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project?

Did you notify the maintainers and provide attribution?

Is this a breaking change?

Has documentation corresponding to this change been updated in the fsm-docs repo (if applicable)?

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

Comparison is base (6d8109a) 48.61% compared to head (fb5a865) 48.61%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@              Coverage Diff              @@
##           release/v1.2      #78   +/-   ##
=============================================
  Coverage         48.61%   48.61%
=============================================
  Files               194      194
  Lines             14479    14479
=============================================
  Hits               7039     7039
  Misses             7397     7397
  Partials             43       43

Flag
Coverage Δ

unittests
48.61% <ø> (ø)

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

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


Minor README fixes

use more representative reference paths in sample TS code
fix code block syntax highlighting

[changes made]


Delete Imports, folders(Images which are not used), files which are not used in the code, U have to remove all stuff that is not used at run time

I can take that one 👌

review will be done soon


feat: add docker feature

Added dockerfile for environment isolation + scalability (different strategies)

This is useful, I was planning on making once, someone can approve this and merge it to master.


Migrate to dev/prod structure

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
It's currently not clear what's in prod vs dev.
Describe the solution you'd like
It'd be useful to have a dev branch separate from main.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Closed by https://github.com/AllenNeuralDynamics/aind-metadata-mapper/pull/99


Likely incompatible with d3 6.x

Getting this after upgrading to d3 6.x:
webpack-internal:///./node_modules/console-hook/index.js:73 TypeError: selection.interrupt is not a function
    at zoom.transform (webpack-internal:///./node_modules/d3-xyzoom/build/d3-xyzoom.js:160)

Hello @pbadenski,
Thanks for your report. The main project using this lib at our company is still on d3 5.x so we haven't noticed the issue. As you can see in commit history, this project has not been updated since 4 years, we should definitely upgrade the code so that patches from original d3-zoom are applied (as it was done in https://github.com/wiremind/d3-xyzoom/pull/4) and make it compatible with 6.x versions. This is not planned on our side yet, feel free to contribute.

Probably linked to d3.event being removed in 6.x, cf https://stackoverflow.com/a/64936504

Thanks, I'll take a shot it at, this might also be caused by: https://github.com/d3/d3-selection/issues/185#issuecomment-488386336


CLA? Ownership of Code?

We will always make the app opensource.  But what if we decide to provide a hosted service to other conferences in the future?  What legal implications are there?  Decide now before we accept any contributions.

bketelsen I think a basic CLA would cover our needs to maintain maximum flexibility over the code.

Added CLAHub integration and liberal CLA assigning license to GopherAcademy.


When registry get matches nothing, print nothing and don't report an error.

Fixes #1072

When we try to get something specific that doesn't exist, we still get an error:
$ registry get apis/a/versions/foo/specs/z
Error: rpc error: code = NotFound desc = "projects/menagerie/locations/global/apis/a/versions/foo/specs/z" not found in database
Usage:
  registry get PATTERN [flags]

Flags:
      --filter string   filter selected resources
  -h, --help            help for get
      --nested          include nested subresources in YAML output
  -o, --output string   output type (name|yaml|contents) (default "name")

Global Flags:
  -c, --config string              name of a configuration profile or path to config file
      --registry.address string    the server and port of the Registry API (eg. localhost:8080)
      --registry.insecure          if specified, client connects via http (not https)
      --registry.location string   the API Registry location
      --registry.project string    the API Registry project
      --registry.token string      the token to use for authorization to the API Registry

----
Need more help?
https://github.com/apigee/registry/wiki

I think that's appropriate, but the usage message seems a bit much.


can not build esp32 s3 box-3

using esphome 2024.5.4 gives me errors when I try to build the box-3 yaml:
ERROR Unable to import component image:
Traceback (most recent call last):
File "C:\Users\a5128563\AppData\Roaming\Python\Python312\site-packages\esphome\loader.py", line 176, in lookup_module
module = importlib.import_module(f"esphome.components.{domain}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\importlib_init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in load_unlocked
File "", line 995, in exec_module
File "", line 488, in call_with_frames_removed
File "C:\Users\a5128563\AppData\Roaming\Python\Python312\site-packages\esphome\components\image_init.py", line 10, in
from magic import Magic
File "C:\Users\a5128563\AppData\Roaming\Python\Python312\site-packages\magic_init.py", line 209, in
libmagic = loader.load_lib()
^^^^^^^^^^^^^^^^^
File "C:\Users\a5128563\AppData\Roaming\Python\Python312\site-packages\magic\loader.py", line 49, in load_lib
raise ImportError('failed to find libmagic.  Check your installation')
ImportError: failed to find libmagic.  Check your installation
WARNING GPIO0 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq.html#why-am-i-getting-a-warning-about-strapping-pins
Failed config
What can be wrong?

Solved the issue by installing libmagic with the following commands:
pip install python-libmagic
pip install python-magic-bin.
Now everything builds fine


better default paths for memory.cache

By default, memory.cache uses the local tmp directory.  Investigate, making cached results persist even when the node you are running on changes.  This is especially of concern with the different vdi nodes -- you can not control which node you have.
We can also investigate sharing the cache between users.

Since I have decided to use a common netcdf file index at /g/data1/v45/cosima-cookbook, this directory seems an appropriate stop for a default memory cache.

Sharing cache between users is a challenge because users do not, in general, have write access to someone else's files.  The memory.cache now used by the cosima_cookbook function now just is the local tempory storage. This means that the cache will not persist if you switch from one VDI node to another.
Within the notebook, I have begun explicitly creating a memory.cache with a specified path.  See diagnostic notebooks for examples.


Add Full Support for Nano

This PR adds support for Nano!
I've tested it to make sure it works, and even manually verified the accounts by hand. With this, we should be able to have the most accurate, real-time Nakamoto Coefficient for the nano network.
I'm happy to explain or rework anything you like, but I'm confident this PR as is should do everything you need it to out of the box :)

@xenowits I’ve updated the PR to include the changes you requested. If you need anything, let me know :)

Sure thing. I'll try to merge it by today

@xenowits any chance we could get this on nakaflow.io? Is there another repo I could PR against? Thanks!

Hey @rachel-bousfield , you can raise a PR in the frontend repo here


[SPARK-34968][MINOR][TEST][PYTHON]Add the -fr argument to xargs rm

What changes were proposed in this pull request?
This patch add  the -fr argument to xargs rm.
Why are the changes needed?
This cmd is unavailable in basic case. If the find command does not get any search results, the rm command is invoked with an empty argument list, and then we will get a rm: missing operand and break, then the coverage report does not generate.
Does this PR introduce any user-facing change?
No
How was this patch tested?
python/run-tests-with-coverage --testnames pyspark.sql.tests.test_arrow --python-executables=python
The coverage report result is generated without break.

Can one of the admins verify this patch?

add to whitelist

ok to test

Out of curiosity, do you run this script in somewhere internal fork :-)?

@HyukjinKwon I found this error when I run example coverage code mentioned in Useful Developer Tools, and I didn't get any expected coverage result.
So I just re-run this script in my local dev after fixing it, finally get the coverage test report.

Test build #136950 has started for PR 32064 at commit b489661.

Test build #136950 has finished for PR 32064 at commit b489661.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41526/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41526/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136950/

Can one of the admins verify this patch?

Thank you, @Yikun and @HyukjinKwon .
Merged to master.


cmake build c++ Helloworld failed

Tried to build c++ Helloworld on windows and linux both failed.
Found Protobuf: D:/2test/git/vcpkg/installed/x86-windows-static/tools/protoc.exe (found version "3.4.0")
Using protobuf 3.4.0
Using gRPC 1.4.1
CMake Error at D:/2test/git/vcpkg/installed/x86-windows-static/share/protobuf/protobuf-config.cmake:79 (message):
Error: protobuf_generate could not find any .proto files
Call Stack (most recent call first):
D:/2test/git/vcpkg/installed/x86-windows-static/share/protobuf/protobuf-module.cmake:19 (protobuf_generate)
CMakeLists.txt:25 (protobuf_generate_cpp)

@nathanielmanistaatgoogle   hi, has this issue fixed?  thanks.

@bonezhang: I suspect that's a question to be answered by @nicolasnoble (or the next assignee to whom he routes this issue).

I am also experiencing the same issue. Using Protobuf 3.4.1, gRPC 1.6.2.
It seems that it is an issue with setting the gRPC/Protobuf targets. In addition to the above mentioned error, I am also experiencing issue #10759. I suspect they are related...

I just created a PR that adds test to verify that gRPC and can be installed using cmake on windows and helloworld example can be build afterwards.

I'm still not any further. Since the PR still isn't merged yet, I cloned grpc's master branch and merged the PR into my working copy. If I then execute the build pipeline, I get the same error as Cristinavieira when trying to build the helloworld or any other example via CMake. If I execute the new run_distrib_test.bat manually it either fails for the grpc x86 build because it's looking for the protobuf installation inside C:\Program Files\grpc.. instead of C:\Program Files (x86)\grpc.. and if I build grpc as x64 target, it (expectedly?) fails with a x86/x64 target mismatch when trying to link the grpc_cpp_plugin. If I try to execute tools/run_tests/run_test.py, it complains about module six.moves not being found.
I'm also confused by the fact that run_distrib_test.bat suggests providing most 3rd party libs as package which isn't mentioned in any way by the windows build instructions and not done if I just run CMake in the top-level directory. All in all pretty frustrating as I spend days now getting this to work. Is there maybe an older release which works out of the box? I really don't have the time to spend that much time tangling with the build system.


[Angular] Change template story files extension .ts

Issue:
Angular developers prefer TypeScript to JavaScript. It's useful that getstorybook cmd creates .ts stories files.
What I did

[Angular] Change template story files' extension to .ts .

+1

Make sense to me, but I'd like like to hear from people familiar with angular stuff

LGTM, but something is wrong with snapshots/angular-cli. It is looking for the index.stories.js

I've updated the snapshots required for this change. @Quramy changes and new snapshots can be found on this branch here:
https://github.com/storybooks/storybook/tree/Quramy-prefer-ts-temp

I have updated the angular snapshots so it looks for .ts files.


getMatchHistory Returning just all pick games

I put in options game_mode matchmaking but i'm getting the same result (all pick games)

Hi my friend,
http://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/v1/?key=EFA1E81676FCC47157EA871A67741EF5&account_id=76561198088256001
this is my request.
i could get only 100 recent game, and the size of total results is only 500, could you help?

"result": {
"status": 1,
"num_results": 100,
"total_results": 500,
"results_remaining": 400,
"matches": [

You can do nothing with 500 results, it const by Valve, but to get next 100 results, you just need to add the attribute start_at_match_id (example http://api.steampowered.com/IDOTA2Match_570/GetMatchHistory/v1/?key=XXXXXXXXXXXXXXXXXXXXX&account_id=XXXXXXXXXXXXXX&start_at_match_id=XXXXXX), with the last match_id you've got in the previous request.


Adding new MDX pages - get started, use form, advanced, ts

Adding new pages to MDX

get started
use form
advanced
ts

Contentious changes:

use-form page is different than before. No more header underline under some areas.
I tried to use the least amount of components/styling needed. Even if it isn't consistent right now, they eventually will all be.

Misc

Fixing type errors caused by CSS modules - tsc was nearly useless with 600+ errors. Now: Found 27 errors in 9 files.

Need help with 👀 at the build logs when you get a chance. Smaller PR to review #965 and this can be rebased

what's the issue with build logs?

If you're not part of the Vercel team, you can't access the build logs.
Thanks for the screenshot, that should help me fix it.

Could you resolve those conflicst 🙏

This is ready. Let me know because I have another PR ready that's pretty  large again 😟

I will come to those during the weekend 👍

FYI, I created sneak peak of next PR for you to start taking a look at https://github.com/aranlucas/documentation/pull/1 in case I can't submit PR in time after this one merges.
Sorry for the large commits, they should hopefully start getting smaller as more MDX migrations happen.

<img width="786" alt="Screenshot 2023-06-11 at 9 14 44 pm" src="https://github.com/react-hook-form/documentation/assets/10513364/8827c67e-bca1-417f-931a-5

973c8211998">
a bit of styling regression on the new build

I wanted to avoid having to do having to add styles https://github.com/react-hook-form/documentation/blob/master/src/styles/table.module.css but if it's a blocker I can add. It didn't bother me too much since it would be consistent later on.
It's a matter of adding table th and tr to MDX components similar to https://github.com/shadcn/taxonomy/blob/main/components/mdx-components.tsx#L103
Anything else that you would want to see changed?

Got it, that's fine. I will do some more double check on the UI consistency. 👍

FYI, I played around with using https://tailwindcss.com/docs/typography-plugin as the styling. It looked pretty good but until everything is in markdown it looked out of place

Got it, that's fine. I will do some more double check on the UI consistency. 👍

Can you try using the vercel comments? Never tried it before but it should make comments easier to address

https://github.com/react-hook-form/documentation/pull/973/commits/3f6ec98db795a1959c3cf73b732b4dbb353df1d6
This is what the change would look like if I cherry picked it into this branch. You can check that PR preview link that has more pages migrated and the "Consistency" starts being more and more and maintaining exact styles is less and less important.
One thing I have not been able to do is migrate tables with code in the table. I didn't want to resort to writing markdown tables, but it seems that's the only way if I wanted to maintain that.


Add error message when conversion of EEG locs to head space fails

When calling .set_montage(), all digitized points are transformed into head coordinate space if possible. This is not possible when there are no fiducials and the original points are not in head space already. MNE-Python is lenient when the coordinate space of the original points is marked as "unknown", assuming they are in head space. However, when the points are explicitly marked as being in some other space (e.g. MRI), then they will not get converted without fiducials.
Since MNE-Python requires all EEG channel positions to be in head space, we should raise an error when .set_montage() fails to do this.
Fixes #10946.

Can you add a test? I think the RuntimeError must not be covered, right?

Thanks @wmvanvliet !

Let's revert this until we can get MNE-BIDS sorted.


WASI support

Motivation
I'd like to be able to (easily) use WASI with Wasmer's Python package in order to publish a native dependency of my application on PyPI. Wasmtime-py, which is what I'm currently using, does provide this.
Proposed solution
Expose WASI functions (perhaps from wasi-common?) through the Python interface in a way that allows easily linking them to WASM modules.
Additional context
The dependency I'm packaging is here.

Closed by #167.
The README.md contains all the documentation you need I guess. A new release will come soon.

Thanks!

You're welcome :-)


Correct fallback order so all extensions are check before falling back to the next path on the list

As reported by @ADmad the current behavior causes issue for cakephp/bake.

Awesome, I'll try it out with bake and report back.

It works :tada:

Will this make it into 5.x-branch as well?

@inoas yes!

@admad 4.2.1 has just been released with this fix

Thank you for taking care of this so quickly.


Hidden node

I dont see metrics from a hidden node in my replset.
Is that by design or am I doing something wrong?

we run hidden members in our replsets too and do not see stats for these nodes.
I'm googling around to see if this is an inherent limitation of dbStats() w/ hidden members or if there is a way to collect stats.
So far all I can find is [a hidden member] is invisible to client applications and prom exporter is essentially just another client application. Any help appreciated if you can find any info.

Hey from the future.
Similar but not the same; We also have a hidden node, I can see it on members graph. I'm running 3 instance of exporter for 3 mongo (master and 2 rs). While I can get metrics from rs that is not hidden, can't get metric from hidden rs.
error log:
level=error msg="Failed to get replSetGetConfig: (Unauthorized) command replSetGetConfig requires authentication." source="replset_conf.go:115
I've tried manually logging in with the same user and querying the same as code do:
db.runCommand( { replSetGetConfig: 1 } );
and it returned the data succesfully which makes us think it's not a authorization issue actually.


Add Rubinius to Build Matrix with Allowed Failure

Please add Rubinius to the build matrix with failure allowed.
I would like to ensure Chef builds on Rubinius. Thank you.

This is excellent thank you.

It looks like this is blowing up when trying to install ruby-shadow on rubinius which is not very useful for us and doesn't help with determining how well chef itself supports rubinius or not

@lamont-granquist There is currently a pull request open to hopefully fix ruby-shadow on rubinius https://github.com/apalmblad/ruby-shadow/pull/24

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@bjfish

Please sign the CLA here.

still looks like ruby-shadow fixes have not been merged

ruby-shadow now has fix released in the latest version: https://github.com/apalmblad/ruby-shadow/pull/24#issuecomment-146000788

@bjfish can you rebase onto master and then we'll review and merge this. Thanks!

RSpec isn't officially supported on Rubinius so this seems unlikely to be super helpful.

lets try merging this after a rebase.  we can turn it back off again if it isn't useful.

This was merged in #4239


Testing Windows, do not merge

You can build an installer off this branch if you want and I'll help test it

Nah, this branch is just to make sure that a test fails if GetDataDir is buggy (which now happens). If you wanna do a sanity check, though, https://github.com/keybase/client/pull/10045 would be a better branch to do it on.


Update Svelte templates to take advantage of new TS support in Svelte (#643)

Changes

updated svelte and svelte-check to latest versions in both the TS and JS templates
Made changes to the TS template based on @drwpow's suggestions in #643

Testing

run yarn start and yarn build commands in both app-template-svelte and app-template-svelte-typescript

all should run/complete without error.

run npx svelte-check in app-template-svelte-typescript

it should complete without errors

This seems to work pretty well! I don’t have any changes. I can approve if you’re ready for review.

Thanks for the contribution, @davidleger95! Personally excited to try this one out


Activity search and filter

General info
Issue number: PAPILIO-12 and PAPILIO-13
Task description:

Search Feature (Papilio-12) : A search feature that returns activities based on the search query inputted by the user
Filter Feature (Papilio-13): A filter feature that filters out activities that don't match your chosen filter settings.

Testing
Testing the Search Feature:

Open the App, either log in or sign up, and go to the "Browse" tab on the home page
Tap on the search bar at the top of the page and put in whatever query you want, then tap the "Search" icon on the top right.
Verify that you can see search results that match your search queries
Also verify that sometimes that search turns up nothing because there might be no activity based on your queries (in which case, it would show a message box saying "No Activities Found!")

Testing the Filter feature:

Open the app and log in or sign up. You should automatically end up on the home page.
On the home page, on the top right, tap on the Filter icon.

Notes

The UI and User Flow of both features remains subject to change
More filter options can be added depending on how the Activity Model expands in the DB (if it ever does)

I don't see anything on the top right of the home page, am I missing anything?
I do see a search bar on the browse tab, however

Also, when I type a query there is a 404 in the backend and the app doesn't show that there are no activities matching my query:

Honestly, I think the search bar should be placed in the home page rather than the browse tab. We can then remove the browse tab entirely since it's pretty much useless

I think it would be better if we merge the browse tab into the home tab. Also, the filter bar does not show on android 11 so this should be addressed

I agree. I can implement this now. And it's odd that the same bar doesn't appear on Android 11 but that is something I will also address now.

It also seems that the filter option that I used doesn't save. Every time I open the filter it shows me the default parameters
was the button save only applies the filter or does it also keep the option ?

I forgot about this. I will make the filter UI show the current filter settings instead of the default ones. Keep in mind your filter values are always active, it's just that they are not shown to the user via the UI, which is something I will fix now.

For the individual cost and the group cost ranges, it will be better if the number can be seen next it. At this moment, the user doesn't know what are the ranges

 something like this
* For the date range, you can remove the arrow and replace it with a "to" or even change the position of the dates

 similar to this maybe

Very good suggestions! I will make it look like this now.


fix link to canvas example

Is my first pull request, I hope it's correct.

Whoops 😅 Up until about half an hour before I checked in, Canvas was called RenderTarget - must have forgotten to update this link. Thanks!


FEATURE: Support custom JSON structure on export

It would be awesome if we could configure the JSON structure when exporting, such as defining the root dictionary name, etc.

Hi @sebanitu, thanks for your suggestion. Are you able to give me an example use case for this configuration option?


RFC for TA Key Provisioning

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Mike Habrat seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Last parameter *parameters of sa_ta_key_provision() is not used for these three key types, "WIDEVINE_OEM_PROVISIONING",
"PLAYREADY_MODEL_PROVISIONING", "NETFLIX_PROVISIONING", right?

According to the current description, the data structure of WidevineProvisioning is defined in the Provisioning 3.0 model format. MTK currently only supports the provisioning 2.0 model, we cannot transform to provisioning 2.0 model format from the data structure of WidevineProvisioning. We would like to confirm with you which version of Widevine is expected to be used (v16,v17,v18), as well as which Provisioning model will be utilized (2.0, 3.0, 4.0) .

in_length is supposed to be the size of structure, 'struct xxxProvisioning', right? What do we expect 'parameters'?
How about Widevine provisioning with KeyBox?
I assume the key material of each provisioning structure is wrapped (encrypted), is my understanding correct?

"5.	The key will be loaded for use within the TA. If the key received by the TA is new or updated
and the TA supports secure storage, it will store the key to TA Secure Storage."
How does TA know the received key is new or update?

Based on our understanding, the Netflix key is a combination of ESNID and KpeKph data. The KpeKph data should be passed to Netflix TA for installation (saving it to secure storage). In this proposed structure, which one represents the KpeKph data?

Last parameter *parameters of sa_ta_key_provision() is not used for these three key types, "WIDEVINE_OEM_PROVISIONING", "PLAYREADY_MODEL_PROVISIONING", "NETFLIX_PROVISIONING", right?
The parameters argument is used to specify the key that will be used to unwrap the keys from the provisioning service, similar in usage in sa_key_import(). For now, this would be  SA_KEY_FORMAT_SOC but could be expanded/different in the future.

According to the current description, the data structure of WidevineProvisioning is defined in the Provisioning 3.0 model format. MTK currently only supports the provisioning 2.0 model, we cannot transform to provisioning 2.0 model format from the data structure of WidevineProvisioning. We would like to confirm with you which version of Widevine is expected to be used (v16,v17,v18), as well as which Provisioning model will be utilized (2.0, 3.0, 4.0) .
As of now, the existing provisioning service only supports the Provisioning 3.0 model. There may be support added for the Provisioning 4.0 model in the near future. Provisioning 2.0 is not supported. Widevine version is outside the scope of this source code repository.

in_length is supposed to be the size of structure, 'struct xxxProvisioning', right? What do we expect 'parameters'? How about Widevine provisioning with KeyBox? I assume the key material of each provisioning structure is wrapped (encrypted), is my understanding correct?

The parameters argument is used to specify the key that will be used to unwrap the keys passed in the "in" buffer from the provisioning service, similar in usage in sa_key_import(). For now, this would be  SA_KEY_FORMAT_SOC but could be expanded/different in the future. The existing provisioning service does not support KeyBox provisioning. in_length is the size of the in data which will depend on the buffer structure.

"5. The key will be loaded for use within the TA. If the key received by the TA is new or updated and the TA supports secure storage, it will store the key to TA Secure Storage." How does TA know the received key is new or update?

The TA will need to compare what was received against what it currently has to determe if it is either the same key or a new key.

"5. The key will be loaded for use within the TA. If the key received by the TA is new or updated and the TA supports secure storage, it will store the key to TA Secure Storage." How does TA know the received key is new or update?

The TA will need to compare what was received against what it currently has to determe if it is either the same key or a new key.

In case of reprovision/prefetch, there could be several layers(directories) of DRM data, and TA may not know which layer to compare to.

According to the current description, the data structure of WidevineProvisioning is defined in the Provisioning 3.0 model format. MTK currently only supports the provisioning 2.0 model, we cannot transform to provisioning 2.0 model format from the data structure of WidevineProvisioning. We would like to confirm with you which version of Widevine is expected to be used (v16,v17,v18), as well as which Provisioning model will be utilized (2.0, 3.0, 4.0) .
As of now, the existing provisioning service only supports the Provisioning 3.0 model. There may be support added for the Provisioning 4.0 model in the near future. Provisioning 2.0 is not supported. Widevine version is outside the scope of this source code repository.

We have plan to support Provisioning 4.0 model, when will SecAPI supports Provisioning 4.0 model?


New gamemode Cult of flesh and antag Cultist of flesh

About the PR

I don’t even know what to write here, below there is a lot of information about what will be added and video materials. I hope you will help improve this mode and fix all the errors.
Formally, both the mode and the antagonist have long been made and have been tested for a month of gameplay.
Media

Preview:

More info:
Brief description of the cult of the flesh.docx
Cult of Flesh.txt
Video review:
https://youtu.be/AXkrHTibrHM
Gameplay on RU server:
https://youtu.be/N0OE78yHoPE

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: ViggersRay

add: Added cult of flesh gamemode
add: Added cultist of flesh antag
add: Added leader cultist of flesh antag
add: Added more flesh mobs
add: Added collective mind

CL has to include a verb, e.g.:
❌ - add: Cool thing
✅ - add: Added cool thing

Some, primarily mob, sprites look kinda out of place when compared to the rest of the graphics, as well as having animation cycles which most mobs lack.

Some, primarily mob, sprites look kinda out of place when compared to the rest of the graphics, as well as having animation cycles which most mobs lack.

Well, I guess something will do with rewriting the mobs. However, the dragon does have animations.

Some, primarily mob, sprites look kinda out of place when compared to the rest of the graphics, as well as having animation cycles which most mobs lack.

I don't think they look too out of place - they look good. Animations make them look a lot more grotesque and arguably horrifying than the same old static mobs with single animations that we have currently.

I love this so much. A unique spin on the classic cult theme with great graphics!

Ну наконец что-то реально крутое добавится

Weren’t these sprites taken from another game? I remember you mentioning that during a discussion on Discord about them.

Weren’t these sprites taken from another game? I remember you mentioning that during a discussion on Discord about them.

Yes, because someone has to redraw them. Although the author has given me permission to use them, I don't know if that permission is right for you.

Major license issues, all assets need to be some Creative Commons license. "taken from X game" is not sufficient.

Major license issues, all assets need to be some Creative Commons license. "taken from X game" is not sufficient.

What about the space_asshole license? I can ask permission from the sprite author if that's appropriate.

files: ["space_asshole.ogg"]
license: "Custom"

No.


In UE5.1 preview: SMPAbilityTask_PlayMontageAndWaitForEvent.cpp(179): error C2678: binary '!': no operator found

C:\Perforce...\Source....\SMPAbilityTask_PlayMontageAndWaitForEvent.cpp(179): error C2678: binary '!': no operator found which takes a left-hand operand of type 'TWeakObjectPtr<UAbilitySystemComponent,FWeakObjectPtr>' (or there is no acceptable conversion)

You have to add ".IsValid()" where you access your AbilitySystemComponent. Looks like EPIC changed the type to 'TWeakObjectPtr' instead of a regular pointer (actually I dont have a clue since i'm a beginner, the following fixed it for me).
'if (AbilitySystemComponent.IsValid() && Ability)' instead of 'if (AbilitySystemComponent && Ability)'

I won't be able to check on it for a few weeks as I don't have access to a PC right now.

@xSliver Is correct. All instances of this are fixed now in the 5.1 and master branches.


fixed input height issue because the flutter theme gives mobile input…

fixed #156

@liuzitong123a Can use provide a test specs?


Documentation on the metadata model

Create documentation (human and machine readable) on the metadata model
14th June- meeting

Understand - document why.... clear to understand for outside audience. Metadata pages style on the HCA website
concept behind it

@ESapenaVentura has made a start for that:


MavenPlugin is deprecated and scheduled to be removed in Gradle 7.0

The MavenPlugin.java in Gradle is deprecated and scheduled to be removed.
I was able to determine that the plugin is imported in the following files in this repo:
./src/integTest/groovy/com/bmuschko/gradle/nexus/singleproject/SingleProjectInstallIntegrationTest.groovy
./src/main/groovy/com/bmuschko/gradle/nexus/NexusPlugin.groovy
./src/main/groovy/com/bmuschko/gradle/nexus/NexusPluginExtension.groovy

You are correct but I am not planning to incorporate the Maven Publish Plugin. If the community would like to have the functionality, then someone will have to provide a pull request.

As explained above. This plugin reached EOL.