Set loopback port(?) on linux for debugging.

I'm not certain if this is a bug or I just don't understand how to configure the auth.
My problem is that in my dev environment (linux) oidc is trying to listen on <IP_ADDRESS>:443.
443 is a privileged port so this fails. As this is a debug environment I can't run under sudo without screwing a whole lot of things up.
I've found the example code  but I don't quite understand what it is doing with the redirect url.
For linux the example suggests:
OidcUserManagerSettings(
          scope: _scopes,
          redirectUri:  Platform.isWindows || Platform.isLinux
                      ? Uri.parse('http://localhost:0')
                      : Uri(),
        ));

However this fails;  when the request is sent to the identify provider (xero.com) it reports an error that the redirect url is invalid.
When I change the redirect url to:
OidcUserManagerSettings(
          scope: _scopes,

          redirectUri:  Platform.isWindows || Platform.isLinux
               Uri.parse('http://ivanhoehandyman.com.au/app_auth_redirect.html')),
                      : Uri(),
        ));

The identity provider (xero.com) is now happy with the url, but the dart code then tries to open a socket on <IP_ADDRESS>:443.
So how do I make the identity provider happy and get the oidc code to not listen on port 443 in debug mode (or at all).
I'm also not certain why its listening on 127 - is it try to provide a local server for the browser to redirect to?
As my redirect is hosted this should be required.
Help.

Hi @bsutton, Thanks for bringing this to my attention.
The code responsible for handling desktop auth is mostly located here:
package:oidc_desktop and package:oidc_loopback_listener
In summary, it implements approach rfc8252 Section 7.3 where the app uses a a "randomly assigned port" to listen to redirect response from the browser, which -as stated in the RFC- is the most secure.
so back to your issue, we use HttpServer.bind to reserve the port and start the server, which as stated in the docs:

If port has the value 0 an ephemeral port will be chosen by the system.

so you can select the port yourself by changing the redirect uri to a known empty port:
OidcUserManagerSettings(
  scope: _scopes,
  redirectUri:  Platform.isWindows || Platform.isLinux
              ? Uri.parse('http://localhost:12335')
              : Uri(),
)

On my side though, what I can do is improve port selection process to skip any privileged ports

OK, apart from the problem you noted with xero not taking a random port, my issue was that I had registered an external redirect url:
http://ivanhoehandyman.com.au/app_auth_redirect.html
Once I added http://localhost:12335 to the list of valid redirect urls in xero the problem was resolved.
My reading had lead me to believe that xero required the redirect to be hosted on a public web site.  But I had clearly misunderstood.
Appreciate the help!!


Deprecate int as interpolation argument type

@pmeier asked me as part of #5898 to deprecate int as an accepted 'interpolation' argument type.

@kylematoba Could you please provide sufficient information on the PR title/description etc? Thanks!

Sorry about the mis-formatting. As far as I can see, it's undone and I think that the test failures are not related to my changes.


Status "GOOD" required - logical bug ?

There is all fine, if the data quality is good, else no data is sent.
( use can observe the state only )
Logical BUG (my point of view): Data quality like bad or uncertain are valid information - and should be send.
Not matching data shoud be handled somehow, but good, ungertain, bad, ... data should be send, each item with its quality.
( on complex engines some data are sometimes bad or uncertain, but this information shoud be published )

Yes that is good point. May be we can put a timer in order to remove the quality information after a few seconds to Ready.


docker compose change db to mysql error

when i change docker compose db to mysql
db:
env_file: docker/.env-non-dev
#image: postgres:14
image: mysql:5.7
container_name: superset_db
restart: unless-stopped
volumes:
- db_home:/var/lib/mysql
#- db_home:/var/lib/postgresql/data
docker-compose -f docker-compose-non-dev.yml up
superset_worker   :ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on 'db' (115)")
superset_worker_beat  :ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on 'db' (115)")
superset_init  :ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (MySQLdb._exceptions.OperationalError) (2002, "Can't connect to MySQL server on 'db' (115)")

You also need to change your new database settings in docker/.env-non-dev:
# database engine specific environment variables
# change the below if you prefer another database engine
DATABASE_PORT=5432
DATABASE_DIALECT=postgresql
POSTGRES_DB=superset
POSTGRES_USER=superset
POSTGRES_PASSWORD=superset
#MYSQL_DATABASE=superset
#MYSQL_USER=superset
#MYSQL_PASSWORD=superset
#MYSQL_RANDOM_ROOT_PASSWORD=yes

@sebastianliebscher
I've already modified it
#DATABASE_PORT=5432
DATABASE_PORT=3306
#DATABASE_DIALECT=postgresql
DATABASE_DIALECT=mysql
#POSTGRES_DB=superset
#POSTGRES_USER=superset
#POSTGRES_PASSWORD=superset
MYSQL_DATABASE=superset
MYSQL_USER=superset
MYSQL_PASSWORD=superset
MYSQL_RANDOM_ROOT_PASSWORD=yes

This does not seem to be a bug to me. For questions regarding the use of Superset please use the Discussions or join the Superset Slack. There you can share more information like your full docker logs in order to debug your issues effectively.

I am trying to connect with mysql 5.7 which is hosted on GCP cloud sql.  I made some updates in docker-compose.yml for local run. I am running this superset installation on Google cloud VM.
db:
  env_file: docker/.env
  image: mysql:5.7
  container_name: superset_db
  restart: unless-stopped
  ports:
    - "<IP_ADDRESS>:3306:3306"
  volumes:
    - db_home:/var/lib/mysql
    - ./docker/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d

Am i configuring it correctly? Any detailed reference documentation

Agreed that this is not a bug, but more of a configuration help topic. Since it's been silent for nearly six months, I recommend anyone interested in this topic utilize Github Discussions or Slack


Replace Individual Image and Container Deletion with Docker Prune Method for Deleting all methods

Replace individual image and container deletion with docker prune method for deleting all methods

@UsmanMaan324 I replaced the print statements with logger in another PR. Can you please remove those changes from here?


⌨ style(a11y): kb access for LLM endpoint menu

Summary
users can now select, open and choose endpoint with the keyboard
dark

before
after

light

before
after

Change Type

[x] Accessibility

thanks! it's addressed by https://github.com/danny-avila/LibreChat/pull/3536 so no action on this

Not super high priority but I think you understand this better now:

Any time you touch elements with legacy colors, please apply theme classnames, especially don't add legacy aka *-gray-*

so please resolve the comments I made when you have the time


Issues/5530 use consistent naming

Created a new Checkstyle to look for specific words that should follow normal camelcasing standards.
Since it seems like there could be a growing list of words I added the ability to pass in a set of words that should be checked against.
Currently I checked in the checkstyle.xml that has an example of usage.
Since I did not have a set of concrete words I have not gone and changed any of the outstanding naming issues that were not fixed in #5544. If provided with a full list I can do that as well.

 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.:x: chrischild sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Can one of the admins verify this patch?

Removed the error message for missing disallowedWords property. It was a hack and didn't feel like it was a good solution. Changed to now have 2 default values to search for, URL and HTTP. This can still be overwritten by setting the disallowedWords property.

Tried to squash some commits and that didn't seem to work so reset to previous good commit.

Just wanted to check in.

Just popping in again and wanted to point out that I have created a new branch for all the files that were changed. I found that there were quite a few, over 100, and I think it would pollute this PR to check it into the same branch. The new branch is here

How do you feel about the naming I used? I also think BlacklistedWords might be better but either works.

@chrischild I like blacklist, it's concise. I won't lose sleep if you decide not to change it though.

Sorry I'm just fixing an issue with Git I found.

GitHub does not allow you to re-open a branch if it has been recreated apparently so I had to create a new PR here.
Apologies but I was committing some info that I didn't want to be.


Add Proddy

Adds Proddy icon

Cheers for applying the changes! I regret to let you know that since I’ll no longer be contributing to Lawnchair (more info), I won’t be able to attend to this pull request anymore. I hope another team member will handle it. Thank you for your interest in contributing!

Thanks for the PR!


Editor Shortcuts reset after restarting Godot

Godot version
4.0
System information
windows 10
Issue description
If you change only the modifier keys such as alt,shift,ctrl of a shortcut, it won't save these changes when godot is restarted. They will be reset to the previous settings.
It only saves if you change the actual key(not the modifiers).
Steps to reproduce
Got to the Editor settings and change the modifier keys for a shortcut.. then restart godot and check it again. They will be reset to previous settings.
Minimal reproduction project
any

CC @EricEzaM @bruvzg


About papers for this repo

Hello
How are you?
Thanks for contributing to this project.
We want to know about the papers for this repo.
Thanks

Hello
Although this issue is probably outdated, I added all papers as pdf files in the references dir. Hope it helps


please push v3.0.0 to atmosphere

thx

What do you mean?

when i update the package from meteor (meteor update manuel:viewmodel) i get:
manuel:viewmodel        upgraded from 2.8.0 to 2.9.3
manuel:viewmodel-debug  upgraded from 2.5.1 to 2.6.0

That's because v3 is version bump so you have to tell meteor you're sure you want to move to the next version. I don't remember the exact command but it will tell you if you do
meteor update manuel:viewmodel
See: https://github.com/ManuelDeLeon/viewmodel/blob/master/HISTORY.md

onCreated now runs when the template is created. This means, by the time onCreated is called, the view model will not have properties automatically added from the markup. I don't expect this to affect many people, if at all. You should be able to upgrade without a problem.

ok thx


Machine account authentications performance

I want to be able to perform 1000 authentications per second with machine users without a problem, so I can scale my application.
Acceptance Criteria

[ ] I am able to authenticate 1000 machine users per second (using JTW Profile grant)
[ ] I know what requirements I have for my setup, to be able to perform those request
[ ] The tests, latency and requirements are documented

I think we should keep it lean, so I would test 1000/rps just for the tokens.


fix ThemeScreen name

Please verify the following:

[x] Everything works on iOS/Android
[x] ignite-base ava tests pass
[x] fireDrill.sh passed

I couldn't get fireDrill.sh to run at first, confusing error: Wrong version of Flow. The config specifies version ^0.33.0 but this is version 0.34.0. I added<EMAIL_ADDRESS>in fireDrill.sh and it worked
Describe your PR
Very small change, the name of the class in ThemeScreen.js class was 'UsageExamplesScreen'
Loving Ignite so far, thanks!

good catch!


Create database scheme in Cassandra automatically

Historically, Jaeger's integration with different databases was not consistent in how the database initialization happens. For example, when using Cassandra the user first needs to run a "create schema" script [1]. But running with Elasticsearch does not require a script, it's done automatically in the code on collector startup.
We want to add similar initialization to Cassandra implementation. This will be especially helpful in Jaeger v2 when it's deployed by K8s Operator from OTEL Collector, which does not have the built-in ability to run pre-initialization steps.
[1] /plugin/storage/cassandra/schema/create.sh

hiii @yurishkuro I would like to take up this issue under LFX  , could you assign it to me and let me know any further resources if there?

so basically we need to remove the schema folder dependency   and initialize with similar to es

/assign

Add schema initialization to Jaeger's Cassandra setup.
Update the collector startup to handle schema creation.
Test the changes in different deployment scenarios

Hi @yurishkuro , I am working on it and wanted some suggestions. For this task we have to create keyspace, types and tables after cassandra session initialization. Do you recommend extracting the queries from *.tmpl files (which is how it is done currently by running create.sh script) or should we write the queries in the code itself?

It's fine to read from template files, we just need to embed them into the binary.

@yurishkuro  - can you confirm is this issue being worked upon ? would like to take it up.

Hi @Manask322 , you can go ahead with taking this up. I am caught up in some other work and can't work on my PR.

@akstron I just noticed that in the DefaultConfiguration() function you wrote
CompactionWindow:  time.Minute,

This would be a terrible default, most likely disabling the compaction process altogether as the raw SSTables might be spanning more than one minute of data. We need to change it to something sensible, e.g. 2hr.


Issue: <how does langchain's routerchain work with conversationbuffermemory>

Issue you'd like to raise.
How does conversationbuffermemory works with routerchain for suppose if I wanted to create a chat application I need memory to store the conversations how does that thing work with routerchain?
I'm currently using the same implementation that has shown in the documentation
please respond as soon as possible
thank you:))
Suggestion:
No response

can you share an example where we can store chat messages with routerchain  and pass it to the llm again to make the conversation active

@dosu-bot can you implement it using router chain

router_template = MULTI_PROMPT_ROUTER_TEMPLATE.format(
destinations=destinations_str
)
router_prompt = PromptTemplate(
template=router_template,
input_variables=['input'],
output_parser= RouterOutputParser()
)
router_chain = LLMRouterChain.from_llm(llm, router_prompt)
chain = MultiPromptChain(
router_chain=router_chain,
destination_chains=destination_chains,
default_chain=default_chain,
verbose=False
)
response = chain.run(conversation)
@dosu-bot This is the code now tell me where should I keep memory to store chat history

@dosu-bot I'm still unable to get it perhaps show an example.

@dosu-bot can you show an example on how to implement it using class multipromptchain

It's throwing a traceback raise ValueError(
ValueError: run supported with either positional arguments or keyword arguments but not both.

same problem, only defalut chain has memory


Don't verify changelogs for packages not present in Artifacts

Last blocker :tm: for pipelinev3 in the python repo. Got clean runs other than failing changelog verification against packages that are no longer published.
Along the lines of this PR...should we have a ShouldInvokeCHeck function that takes an artifacts property to check for? EG skipVerifyChangelog not true, publishDocs not `false. It's not necessarily common for each repo.

If in CI, yq will be present. yq a discovered ci.yml on the fly
If not in CI, use PSModules and install the powershell module for yml

If folks are good with above algo, I'll move the ShouldInvokeCheck to common.ps1. Otherwise this PR should work as-is.
The above may still stand, but we're just calling yq and erroring if not present on invoking machine in this PR now.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Tracking issue for AFIT and RPITIT

Update: AFIT and RPITIT are stabilized.
Work on subsequent useful features (e.g. RTN) has kind of stalled due to dependence on the new trait solver.


Allow for custom package root path

Currently, ConanMultiPackager._docker_pack method has path to "project" directory hard-coded:
command = "sudo docker run --rm -v %s:/home/conan/project -v " \
          "~/.conan/data:/home/conan/.conan/data -it %s %s /bin/sh -c \"" \
          "cd project && sudo pip install conan_package_tools --upgrade %s && " \
          "conan_json_packager\"" % (curdir, env_vars, image_name, specific_conan_package)

I would like to be able to use custom path (e.g. subdirectory of "project"), maybe via another CONAN_... environment variable. This would allow for multiple packages to be stored within a single repository.

Sorry, somehow I missed that it's already supported: one just needs to change the working directory before packaging.

No worries. Great you were fast at finding the solution.


Logger syslog issue

When syslog is not running, logs are written into a file.

Also, I see the CI pipeline is failing on this branch

Also, I see the CI pipeline is failing on this branch

Pipeline passes now.


Php 7.1

Just like to point out that the setup doesn't get past the license page if installed on php7.1 works on php7.0. It would be nice if it was documented for better user support.
Also, I know this might not be the proper place but, I have built a docker image for this project if you'd like to include in support docs.

Noted...
Is it possible to debug further, see what the issue is with php7.1? and share the fix if you have one.
The docker image will definitely come in handy, i have had to use wordpress docker image in the past.. Thanks for sharing.

The behavior I noticed was that it would redirect the requirements page back to the license page. I am not a PHP developer so I am afraid I won't be able to debug further.
And I also used the wordpress and owncloud docker images as reference.

Not a problem at all. I'll find time to debug. Meanwhile i've updated the PHP requirements in the docs.
Sent from my iPhone

On 25 Mar 2017, at 7:27 pm, ThisIsQasim<EMAIL_ADDRESS>wrote:
The behavior I noticed was that it would redirect the requirements page back to the license page. I am not a PHP developer so I am afraid I won't be able to debug further.
And I also used the wordpress and owncloud docker images as reference.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I have the same problem... The only way to proceed during the setup is to edit the file setup/controller/Setup.php and change protected $setup_proceed = FALSE to protected $setup_proceed = TRUE ... I have problems on login page now...

@Glassback Use issues to report bugs, please post your questions on the forums or better still search the forums for existing solutions.

still not resolved?


SDK or API?

Hello!
I saw that the wiki was updated to include the communication protocol here: https://github.com/AmberInside/Amber_AI_ROS2/wiki/Protocol--for-AMBER-B1--SDK-&-APIs
In addition to the protocol, are you going to publish an API or an SDK?
Thanks!

About API, you can check the backend service, written in Python first, all the function  are programmed with this protocol.
The protocol is based on UDP, including all the general and advanced Cartesian space control. it's easy to learn and use.
BTW,  we're on the way to release some  demo program written in C++,  do hope this  is helpful for C++ users.
BTW, if you  know something about ROS2, it's another way to find more possibilities.  We packaged the related source code in ros2_ws directory.
Anything else you need, let us know.

@AmberInside Does this mean you are not going to release a dedicated SDK or API? Is the software on the controller the only things you plan to release? Or can we expect more software updates?
There is a community that wants to help make the Amber B1 more fun! We hope you plan to release more code/software to help us! Would you be ok to work with the community by creating an open source license?

The API for ROS2 is on schedule.  It's  a place for issues here, please leave your email and tell us what's the exact meaning of more code/soft.  We'd like to help to build more fun and business chance  to our backers.
A community or mailing list for our backers and partners is a better place to talking about this,  we're still working on that.


c0gBbiUZe6k requires login to view

i have this error
c0gBbiUZe6k requires login to view
what to do now?

It still happening in 6.9.2

2024-08-07T02:13:53.803Z
Retry failed ozTWlCoI5BE requires login to viewTraceback (most recent call last):

2024-08-07T02:13:53.803Z
File "/var/task/pytubefix/main.py", line 612, in title

2024-08-07T02:13:53.803Z
self._title = self.vid_info['videoDetails']['title']

2024-08-07T02:13:53.803Z
KeyError: 'videoDetails'

2024-08-07T02:13:53.803Z
During handling of the above exception, another exception occurred:

2024-08-07T02:13:53.803Z
Traceback (most recent call last):

2024-08-07T02:13:53.803Z
File "/var/task/handler.py", line 577, in entry

2024-08-07T02:13:53.803Z
title, video_length, description = get_title(

2024-08-07T02:13:53.803Z
File "/var/task/utils/misc.py", line 15, in wrapper

2024-08-07T02:13:53.803Z
return func(*args, **kwargs)

2024-08-07T02:13:53.803Z
File "/var/task/handler.py", line 104, in get_title

2024-08-07T02:13:53.803Z
return yt.title, yt.length, yt.description

2024-08-07T02:13:53.803Z
File "/var/task/pytubefix/main.py", line 616, in title

I am facing similar issue

Similar issue

Same problem

same problem

yt = YouTube(url, use_oauth=True, allow_oauth_cache=True, on_progress_callback = on_progress)

Good day.
I'm also getting this error as the others but the actual error coming from Youtube/Google is
{'responseContext': {'visitorData': 'Cgs4QkpLcTVJOS1OcyjVis61BjIiCgJCRxIcEhgSFgsMDg8QERITFBUWFxgZGhscHR4fICEgXQ%3D%3D', 'maxAgeSeconds': 0}, 'playabilityStatus': {'status': 'LOGIN_REQUIRED', 'reason': 'Sign in to confirm you’re not a bot'}, 'trackingParams': 'CAAQu2kiEwic-IiqjOOHAxWy6UIFHawtCfA=', 'adBreakHeartbeatParams': 'Q0FBJTNE'}
Regards

what code are you using to test?

I'm using s = Search(query)
then call s.videos
loop over this then call
s.get_next_results()
when all is done and i'm getting video.title from each Youtube object and this when the error happens.
Regards

the same problem
File "/usr/local/lib/python3.10/site-packages/pytubefix/main.py", line 616, in title
self.check_availability()
File "/usr/local/lib/python3.10/site-packages/pytubefix/main.py", line 310, in check_availability
raise exceptions.LoginRequired(video_id=self.video_id)
pytubefix.exceptions.LoginRequired: M7-h3FO-KKo requires login to view

The same problem
(vscode-notebook-cell:?execution_count=7&line=12)
10 yt = YouTube(data["youtube_url"])
11 video_id = parse_video_id(data["youtube_url"])
---> 12 video_stream = yt.streams.filter(progressive=True, file_extension='mp4', res="360p").first()
13 save_file = os.path.join('peterVideo', video_id+'.mp4')
14 video_stream.download(filename=save_file)
File [d:\anaconda3\envs\geo\lib\site-packages\pytubefix_main_.py:552](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:552), in YouTube.streams(self)
[546](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:546) @property
[547](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:547) def streams(self) -> StreamQuery:
[548](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:548)     """Interface to query both adaptive (DASH) and progressive streams.
[549](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:549)
[550](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:550)     :rtype: :class:StreamQuery <StreamQuery>.
[551](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:551)     """
--> [552](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:552)     self.check_availability()
[553](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:553)     return StreamQuery(self.fmt_streams)
File [d:\anaconda3\envs\geo\lib\site-packages\pytubefix_main_.py:310](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:310), in YouTube.check_availability(self)
[308](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:308)         raise exceptions.AgeRestrictedError(video_id=self.video_id)
[309](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:309)     else:
--> [310](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:310)         raise exceptions.LoginRequired(video_id=self.video_id)
[312](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:312) elif status == 'AGE_CHECK_REQUIRED':
[313](file:///D:/anaconda3/envs/geo/lib/site-packages/pytubefix/main.py:313)     if self.use_oauth:
LoginRequired: 1c3XwxTTcgA requires login to view

yt = YouTube(url, use_oauth=True, allow_oauth_cache=True, on_progress_callback = on_progress)

Yes! it works out on me. It requires you to connect Youtube with Youe google account ,and the problem "requires login to view"  will be fixed

Problem here is when using Search() class the YouTube() class is called internally to create the YouTube objects so then would need to update pytubefix/contrib/search.py module under
def fetch_and_parse(self, continuation=None):
# Get videos results
if 'videoRenderer' in video_details:
videos.append(YouTube(f"https://www.youtube.com/watch?v={video_details['videoRenderer']['videoId']}"))
to use_oauth=True, allow_oauth_cache=True

yt = YouTube(url, use_oauth=True, allow_oauth_cache=True, on_progress_callback = on_progress)

Is this the solution? What was the cause of the issue and how does this solution solve it?
FYI I am running my code on AWS Lambda function

I did try the oauth but haven't tested enough to see if the if I still get login errors.
So this thing with YouTube login to make sure you are not a bot is newish because after writing my app code it's only now in last few days that I got this issue.
After using oauth once then I do need to remove or set oauth back to false otherwise it keeps asking to login with the code.
Now I just need to come up with a more elegant way to handle the oauth prompt in pyside6 app.

I have saame problem but i can ot auth because i use pytube with docker

This issue is still happening even when oauth was used.
{'responseContext': {'visitorData': 'Cgsxc0hqRmVodmJrMCjOnte1BjIiCgJCRxIcEhgSFgsMDg8QERITFBUWFxgZGhscHR4fICEgGw%3D%3D', 'maxAgeSeconds': 0}, 'playabilityStatus': {'status': 'LOGIN_REQUIRED', 'reason': 'Sign in to confirm you’re not a bot'}, 'trackingParams': 'CAAQu2kiEwjH8OmTu-eHAxUy5kIFHVziC_A=', 'adBreakHeartbeatParams': 'Q0FBJTNE'}

Same problem, haven't found a solution yet, I am also running it in a docker container in AWS Lambda....

for those running this on lambda, I got it working by getting token data from google oauth playground

Go to the Google OAuth 2.0 Playground (https://developers.google.com/oauthplayground/)
On the left side, scroll down and select "YouTube Data API v3" under the YouTube APIs section.
Select the scopes you need, "https://www.googleapis.com/auth/youtube.readonly" for read-only access.
Click the "Authorize APIs" button.

then create the token file before you instantiate YouTube
    data = {
        "access_token": os.getenv("access_token"),
        "refresh_token": os.getenv("refresh_token"),
        "expires":<PHONE_NUMBER> # some number in the future so it doesn't try refreshing the bearer token
    }
    with open("/tmp/token.json", "w") as f: # make sure you write to /tmp for lambda
        json.dump(data, f)

then specify the token_file parameter for YouTube
yt = YouTube(
        url, use_oauth=True, allow_oauth_cache=True, token_file="/tmp/token.json"
)

take a look at #170

YouTube
I used the method you provided, and it prompted 403

token_file

Tried out this one and got HTTP Error 401: Unauthorized


[WIP] add-markdown-to-sa-questions

Checklist

[ ] I tested the changes and all related features on the test server https://artemistest.ase.in.tum.de.
[ ] I documented my source code using the JavaDoc / JSDoc style.
[ ] I added integration test cases for the server (Spring) related to the features
[ ] I added integration test cases for the client (Jest) related to the features
[ ] I added screenshots/screencast of my UI changes
[ ] I translated all the newly inserted strings

Motivation and Context

Description

Steps for Testing

Log in to ArTEMiS
Navigate to Course Administration
...

Screenshots

@fde312 Do we still need the branch, or may I delete it?


🚧 Dev ➾ Inform users there is a new version of Taqueria available

Status

[ ] 💡 Feature Design
[ ] 🧪 Testing Plan
[ ] 🔪 Ticket Slicing
[ ] 🥂 Feature Complete

To Do
No response
Feature Description
Taqueria should periodically check to see if there is a newer version available. If there is, Taqueria should inform the user and provide an easy means to upgrade
Problem or Use Case
As you can see in this image, only 12% of Taqueria users are on a recent version. We still have almost 40% of users using v0.6.5 which know bugs
With the rapid pace of development, Taqueria needs a way to help users keep up to date with the most recent improvements. This will also dramatically decrease the incidence of bugs related to plugin/binary version mismatch

o
Acceptance Criteria

[ ] The CLI has the means to check for the most recent version of Taqueria
[ ] A periodic check is implemented and upon a newer release version being found, the user is informed with an actionable message
[ ] (stretch goal) Taqueria can automatically download and install the newer binary upon user approval

Related Issues and Subtasks
No response
Sizing
2
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Closing: will cover as part of a health check ticket


ModuleNotFoundError: No module named 'datasets' when running generation

Hi, when I was running 'python generate.py --ckpt_path ${model_path} --in_image examples/sample0.png --in_mask examples/mask0.png --text wizards --output_dir ${output_dir}', there was an error: 'ModuleNotFoundError: No module named 'datasets''.
I didn't see any dataset folder in this repo, any idea on how to solve this problem?
Thanks!

Hi, I think this module should be the datasets library from huggingface, https://huggingface.co/docs/datasets/index. I checked the requirements and find that it is included. Did you check if the environment is correctly installed?

thanks it's solved!!


Can't Install Plugins

Not sure if this is where this should go, but I can't install any ROBLOX plugins from studio. I click the "Install" button and nothing  happens.

Did you open a new studio tab, after you installed the plugins?

I have the same, but I replace the QtWebKit4.dll so I don't know if I "made" that bug for myself.
Basicly what happens: I press "Install" and literally nothing happens.
No "Open a new place" in the output, not even a loading animation or page refresh.
It just seems as if the button isn't actually connected to anything, just a decoration.

I open plugins perfectly today so i think it is fixed


Difference between this and normalize.css?

What benefits does this package offer over normalize? Thanks!

From README:

Core changes
(compared to Normalize.css)

Modules
CSSComb support
Improved display definitions
Consistent element styles
Improved vertical align of embedded content
Responsive images

At the moment I am a bit busy in RL. Hopefully I'll continue managing it soon. ^^

:fireworks:


Deps issues due to major bump of ajv

Do you want to request a feature or report a bug?
Report a bug (sorta)
What is the current behavior?
There was a major dependency update to ajv in https://github.com/webpack/webpack/pull/6430 and it was released as a patch release. This is resulting in a ripple effect on all other dependencies that rely on ajv. For example, eslint's latest version is currently pegged to ajv: ^5.3.0.
As most libraries peg to minor versions, having this change introduced as a minor version bump instead of a major version bump is making this incompatible with a number of libraries.
Can the upgrade to ajv happen in a major release and a new patch release be put out that downgrades ajv to what it was before?
If the current behavior is a bug, please provide the steps to reproduce.
Create a project with a dependency on eslint and webpack.
What is the expected behavior?
npm install works without error
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
webpack version 3.11.0

See also https://github.com/webpack-contrib/schema-utils/issues/23

see https://github.com/webpack-contrib/schema-utils/issues/23#issuecomment-365392978


instanceof keyword in Java is not highlighted.

@ShanTulshi the instanceof operator should be purple when Atom 1.10 is released.


Account for spacing and tabbing leading into text to surround

Example, selecting and running on "selected text here" in the below snippet
class Example {
   selected text here
   method() {
      ...
   }
}

will result in the following, where the first line is tabbed but the rest are not.
class Example {
   ///////////////////////////////////////////
/////   selected text here /////
//////////////////////////////////////////
   method() {
      ...
   }
}

Similarly, multiline comments will keep the tabbing after the first line inside the block
class Example {
   selected
   text
   here
   method() {
      ...
   }
}

results in something like
class Example {
   //////////////////////
///// selected /////
/////    text  /////
/////    here  /////
////////////////////
   method() {
      ...
   }
}

Fixed in 7a570596838d8f78882f3c23b5071a403ae6c01b


[Grammar Adjustment] Tutorials - Self-Hosted

Current State:

Link to website: MeshMap Snapshot
Currently, the heading in the alert section reads as follows: As as Service

Desired State:
Suggested change: As a Service

Contributor Guides and Resources

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Layer5 site in Figma (open invite)
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@sandramsc Can you assign this to me?

Hi @Raj100679 Thanks for your enthusiasm to work on the issue, I see you already created a PR, please wait for the issue to be assigned before making the commitment of submitting a solution via PR. If you haven't already please read the CONTRIBUTING.md on issue assignment.
Since you were the first to comment, I'll go ahead and assign it to you.


How to Configure widget

Hi,
I have followed all the steps provided in the setup instruction.
Mongo Db is installed
Db user created
build is successful
I now start the api.jar, UI successfully
udeploy collector executed using java -jar as below from Hygieia-master/collectors/deploy/udeploy/target
java -jar udeploy-deployment-collector-2.0.4-SNAPSHOT.jar --spring.config.name=application --spring.config.location=application.properties
My application.properties are as below
dbname=dashboard
dbusername=dashboarduser
dbpassword=dashpassword
dbhost=<IP_ADDRESS>
dbport=27017
udeploy.cron=0 0/5 * * * *
udeploy.servers[0]=https://<IP_ADDRESS>:8443
udeploy.username=admin
udeploy.apiKey=admin

But nothing shows up in the configure widget,

please let me know if i am missing anything...

@shilpsl1  - Can you provide below information

Is UDeploy collector running ?
Any error from the collector log?
Alternatively have you tried configuring Hygieia publisher for Jenkins.

I had run the udeploy collector, it end saying started application:
2017-01-10 09:45:05,739 INFO  o.s.j.e.a.AnnotationMBeanExporter - Registering beans for JMX exposure on startup
2017-01-10 09:45:05,759 INFO  com.capitalone.dashboard.Application - Started Application in 8.622 seconds (JVM running for 10.084)
Later it is showing as below:
2017-01-10 09:55:00,078 INFO  c.c.d.collector.CollectorTask - All apps                0        0s
2017-01-10 09:55:00,078 INFO  c.c.d.collector.CollectorTask - New apps                0        0s
2017-01-10 09:55:00,084 INFO  c.c.d.collector.CollectorTask - Finished                         0s
2017-01-10 10:00:00,001 INFO  c.c.d.collector.CollectorTask - Running Collector: UDeploy
2017-01-10 10:00:00,010 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2017-01-10 10:00:00,011 INFO  c.c.d.collector.CollectorTask - https://<IP_ADDRESS>:8443
2017-01-10 10:00:00,011 INFO  c.c.d.collector.CollectorTask - -----------------------------------
2017-01-10 10:00:00,056 ERROR c.c.d.collector.DefaultUDeployClient - Error with REST url: https://<IP_ADDRESS>:8443/rest/deploy/application
2017-01-10 10:00:00,057 ERROR c.c.d.collector.DefaultUDeployClient - I/O error on GET request for "https://<IP_ADDRESS>:8443/rest/deploy/application":com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: PKIX path building failed: java.security.cert.CertPathBuilderException: unable to find valid certification path to requested target
Do i need to add anything else in application.properties

@shilpsl1 - import SSL cert into the JVM that's running UDeploy collector.

Reopen issue if it is not resolved.

I imported the SSL cert and was able to run collector successfully. But I donot see proper data in hygieia.
I see only application name rest are empty. Below are results

https://<IP_ADDRESS>:8443/rest/deploy/application
[{"id":"8db06d0d-874f-4338-9903-b3de34f2de05","securityResourceId":"35981c95-7851-4636-921b-938e5b2435ad","name":"Sample_App_Deploy","description":"","created":1483992118553,"enforceCompleteSnapshots":false,"active":true,"tags":[],"deleted":false,"user":"admin"}]

https://<IP_ADDRESS>:8443/rest/deploy/application/app_id/environments/false
No application for app_id

https://<IP_ADDRESS>:8443/rest/deploy/environment/env_id/resources
Invalid UUID: env_id

https://<IP_ADDRESS>:8443/rest/deploy/environment/env_id/noncompliantResources
Invalid UUID: env_id


macOs Big Sur - Error attempting to get plugin server address for RPC: Failed to dial the plugin server in

I'm not sure about posting this in right place because not sure where to start.
After updating docker desktop on macOs Big Sur I've lost a docker-machine executables.
I've installed new executable from the docs and now I can see my remote server machine name with ls. But after any command with it I've got:
$ eval $(docker-machine env my-machine-name)
Error attempting to get plugin server address for RPC: Failed to dial the plugin server in 10s

I've checked machine config.json and it's totally ok. When I join to server via ssh, docker ps -a works fine and all the containers run without any problem.
Appreciate any suggestion as I'm deadly stucked. Googling around 1 hour did nothing.

macOs: Big Sur 11.0.1
Docker version 19.03.13, build 4484c46d9d
docker-machine version 0.5.5, build 02c4254
Remote machine driver - generic
Remote machine OS - CoreOS stable (2512.3.0)
Remote machine Docker version: Docker version 18.06.3-ce, build d7080c1

The problem with incompatibility of docker-machine and engine versions.
Somehow I've found old docs reference and installed 0.5.5 version of docker-machine. After reinstalling 0.16.2 from releases issue was gone. Sorry.


A question of the derivatives

Thanks for sharing the codes of the PDE-based PINN. However, I cannot understand why the derivatives need to multiply and divide the model size, like in the code for first order derivatives: du_y, dv_x = du_ya/b, dv_xb/a, and for second order derivatives: du_xx, du_yy, du_xy = du_xx/a, du_yy*a/b**2, du_xy/b. We're guessing that these are modifications for implicit derivatives. We sincerely invite your guidance, thank you!

Thanks for your interest in this work. Those modifications are for the purpose of rescaling the input coordinates within [0, 1] or [-1, 1].
Suppose that the true coordinates x', y' are in the range  [0, a] and [0, b], the actual input coordinates will be x=x'/a and y=y'/b within range [0, 1]. The same was done for the outputs u=u'/a and v=v'/b (this is actually not necessary).
Therefore, we will have the true derivative du'/dy' = du/dy*a/b.
Hope that helps!

Thanks for your answer! We have understood it.


Save auth tokens to prefs.

Just testing PR creation of initial forays after setting up my environment twice on two different platforms after logistics issues.

need to figure out the branch landing (particularly since the first devtools PR landing went so poorly :/ )


Update Helm page from kpt ecosystem docs

Update Helm page from kpt ecosystem docs to include running the helm-template function under the "Expand the helm chart" section.

@etefera @mengqiy heads up


Create an Azure DevOps extension (just like the GitHub Action)

this is more a question than an issue but are there any plans? and if so, would this be the repo that would be used for this?

sure, i'll clean some stuff up and create a PR. everything is pretty straightforward so I assume a call wouldn't be necessary.

PR is opened at #5

This is being worked on by @hugorut and @vdmgolub :)

Hey @dgcaron, I'm going to close this as we now have some shiny new tasks that come as part of our official Azure Devops Extension. You can view it here: https://marketplace.visualstudio.com/items?itemName=Infracost.infracost-tasks . Thanks again for all your help with this 🚀  ❤

Great stuff!! Congrats


Use SIMDE_REQUIRE_RANGE instead of SIMDE_REQUIRE_CONSTANT_RANGE for s…

…imde_mm_srai_epi16 and simde_mm_srai_epi32
It looks like const is not needed - vshlq_s16 and vshlq_s32 dont require const argument

Sorry, this got a bit more verbose than I intended. It's probably TMI, but writing it helped me think through the issue… feel free to stop reading if you get bored ;)
Thanks for the patch!  Unfortunately, it's not quite that simple (why are things never simple?!?!?).  There are some subtle differences that can effect performance and create a trap which I think a lot of people are likely to fall into :(

It looks like const is not needed - vshlq_s16 and vshlq_s32 dont require const argument

Thanks for calling my attention to this; it should really be using vshrq_n_s16 for NEON instead of vshrq_s16.  I'll fix that soon.
That said, the constant requirement isn't actually about the NEON implementation, it's because the parameter is an 8-bit immediate value in SSE2.  Some compilers may allow you to pass a non-constant value as an extension, but others don't.
For compilers which do allow you to specify a non-constant value, the _mm_srai_epi16(a, count) basically becomes _mm_sra_epi16(a, _mm_cvtsi32_si128(count)), which has very different performance characteristics.  Even if we discount the _mm_cvtsi32_si128 (which generates a movd instruction) it's quite different; psraw xmm xmm (the non-constant version) has worse latency and throughput than psraw xmm i8, and of course you may add some pressure on the xmm registers.  On the NEON side I'm not sure what the performance implications of the immediate form vs. the dynamic one are (I'm not aware of a convenient resource for timing data on Arm like uops.info), but at the very least you have to add a vdupq_n_s16 / dup.  Basically, allowing this can lead to performance regressions which are hard to see from just looking at the code.
If you want, you can define SIMDE_NO_CHECK_IMMEDIATE_CONSTANT prior to including SIMDe and SIMDe will disable the check, but you should be aware that you're likely to lose some portability. Unfortunately, once I switch the code to vshrq_n_s16 that may no longer work on NEON (SIMDe won't generate an error, but vshrq_n_s16 might), at least unless #699 happens (in which case you could define the new macro instead of SIMDE_NO_CHECK_IMMEDIATE_CONSTANT).
Another option would be to change your code to use _mm_sra_epi16(a, _mm_cvtsi32_si128(imm8)). This has the benefit of working on all compilers, and makes it clear that this is really two instructions, as well as which variants of the two instructions you're using.
Interestingly, this has some curious performance implications on other architectures which I didn't really think about until now, but make me think that providing a good way to disable the check might be good idea… on Arm, for example, if you do _mm_sra_epi16(a, _mm_cvtsi32_si128(imm8)), SIMDe should convert the _mm_cvtsi32_si128 to a vmovq_s32, and _mm_sra_epi16 to a shuffle (to broadcast the first element to all lanes) and a vshrq_s16.  However, a vdupq_s16 and a vshrq_s16 would be better.
The difference is that SSE doesn't have a great way to broadcast a single element to all lanes (_mm_set1_epi16 is basically a mov and a shuffle), and the _mm_sra_epi16 shifts all elements by the value in the first 32-bit lane.  _mm_srav_epi16, which is equivalent to vshrq_s16, isn't available until AVX-512VL+BW. I suspect that clang (and possibly GCC) can handle this elegantly, but I wouldn't hold my breath for MSVC. Basically, it's a mismatch between NEON and SSE which we could smooth out by allowing a non-constant value, but then the code isn't necessarily compatible with true SSE implementations :(

Sorry, this got a bit more verbose than I intended. It's probably TMI, but writing it helped me think through the issue… feel free to stop reading if you get bored ;)
Thanks for the patch!  Unfortunately, it's not quite that simple (why are things never simple?!?!?).  There are some subtle differences that can effect performance and create a trap which I think a lot of people are likely to fall into :(

It looks like const is not needed - vshlq_s16 and vshlq_s32 dont require const argument

Thanks for calling my attention to this; it should really be using vshrq_n_s16 for NEON instead of vshrq_s16.  I'll fix that soon.
That said, the constant requirement isn't actually about the NEON implementation, it's because the parameter is an 8-bit immediate value in SSE2.  Some compilers may allow you to pass a non-constant value as an extension, but others don't.
For compilers which do allow you to specify a non-constant value, the _mm_srai_epi16(a, count) basically becomes _mm_sra_epi16(a, _mm_cvtsi32_si128(count)), which has very different performance characteristics.  Even if we discount the _mm_cvtsi32_si128 (which generates a movd instruction) it's quite different; psraw xmm xmm (the non-constant version) has worse latency and throughput than psraw xmm i8, and of course you may add some pressure on the xmm registers.  On the NEON side I'm not sure what the performance implications of the immediate form vs. the dynamic one are (I'm not aware of a convenient resource for timing data on Arm like uops.info), but at the very least you have to add a vdupq_n_s16 / dup.  Basically, allowing this can lead to performance regressions which are hard to see from just looking at the code.
If you want, you can define SIMDE_NO_CHECK_IMMEDIATE_CONSTANT prior to including SIMDe and SIMDe will disable the check, but you should be aware that you're likely to lose some portability. Unfortunately, once I switch the code to vshrq_n_s16 that may no longer work on NEON (SIMDe won't generate an error, but vshrq_n_s16 might), at least unless #699 happens (in which case you could define the new macro instead of SIMDE_NO_CHECK_IMMEDIATE_CONSTANT).
Another option would be to change your code to use _mm_sra_epi16(a, _mm_cvtsi32_si128(imm8)). This has the benefit of working on all compilers, and makes it clear that this is really two instructions, as well as which variants of the two instructions you're using.
Interestingly, this has some curious performance implications on other architectures which I didn't really think about until now, but make me think that providing a good way to disable the check might be good idea… on Arm, for example, if you do _mm_sra_epi16(a, _mm_cvtsi32_si128(imm8)), SIMDe should convert the _mm_cvtsi32_si128 to a vmovq_s32, and _mm_sra_epi16 to a shuffle (to broadcast the first element to all lanes) and a vshrq_s16.  However, a vdupq_s16 and a vshrq_s16 would be better.
The difference is that SSE doesn't have a great way to broadcast a single element to all lanes (_mm_set1_epi16 is basically a mov and a shuffle), and the _mm_sra_epi16 shifts all elements by the value in the first 32-bit lane.  _mm_srav_epi16, which is equivalent to vshrq_s16, isn't available until AVX-512VL+BW. I suspect that clang (and possibly GCC) can handle this elegantly, but I wouldn't hold my breath for MSVC. Basically, it's a mismatch between NEON and SSE which we could smooth out by allowing a non-constant value, but then the code isn't necessarily compatible with true SSE implementations :(

@nemequ Thanks for pointing out that the _mm_set1_* intrinsics generate a sequence of instructions. They are so simple that I have always assumed that they were native intrinsics and I had never bothered to check. For zero there are _mm_setzero_* intrinsics (which in fact generate  _mm_xor_*(foo, foo)). For 0xFF there are _mm_cmpeq_*(foo, foo) but I have always been afraid that the compiler (or valgrind) will complain that foo is uninitialized if no suitable foo is available. Do you know whether the compiler will generate this automatically for 0xFF?

@nemequ Thanks for pointing out that the _mm_set1_* intrinsics generate a sequence of instructions. They are so simple that I have always assumed that they were native intrinsics and I had never bothered to check. For zero there are _mm_setzero_* intrinsics (which in fact generate  _mm_xor_*(foo, foo)). For 0xFF there are _mm_cmpeq_*(foo, foo) but I have always been afraid that the compiler (or valgrind) will complain that foo is uninitialized if no suitable foo is available. Do you know whether the compiler will generate this automatically for 0xFF?

They are so simple that I have always assumed that they were native intrinsics and I had never bothered to check

I'm not surprised. I've honestly never understood why Intel didn't add instructions; it's such a common operation, I would think it would be worthwhile…

Do you know whether the compiler will generate this automatically for 0xFF?

I haven't checked every compiler, but yeah at least clang, GCC, and MSVC will generate a cmpeq instruction for set1(~0) and have done so for a really long time. It shoud be safe to use that in your code.

They are so simple that I have always assumed that they were native intrinsics and I had never bothered to check

I'm not surprised. I've honestly never understood why Intel didn't add instructions; it's such a common operation, I would think it would be worthwhile…

Do you know whether the compiler will generate this automatically for 0xFF?

I haven't checked every compiler, but yeah at least clang, GCC, and MSVC will generate a cmpeq instruction for set1(~0) and have done so for a really long time. It shoud be safe to use that in your code.

Thanks for explanation. In practice all major compilers(tested on gcc, clang, msvc. intel) allows to pass a non-constant value. I use SIMDE to port my project on apple silicon and only one real issue I faced is compile-time const requirement. To solve it I just define new functions using vshlq + vdupq, btw #699 would be helpful.

Thanks for explanation. In practice all major compilers(tested on gcc, clang, msvc. intel) allows to pass a non-constant value. I use SIMDE to port my project on apple silicon and only one real issue I faced is compile-time const requirement. To solve it I just define new functions using vshlq + vdupq, btw #699 would be helpful.

Thank you very much for the patch.  I'm sorry really sorry it took so long for me to merge it.  I'm not sure how this slipped through the cracks, but it's in now!