Update router and handler to support advanced use case (routing with API Gateway V1/V2) with event driven runtime

Hi, is this package still mantained?
As for Bref documentation we should be able to use this repo if we are running event driven functions for an HTTP Application routed by API Gateway (https://bref.sh/docs/local-development/event-driven-functions#api-gateway-local-development), to emulate API Gateway locally.
Basically if we are in this scenario https://bref.sh/docs/use-cases/http/advanced-use-cases#with-the-event-driven-function-runtime (as an example developing a REST API) using a simple function like
<?php

use Bref\Context\Context;
use Nyholm\Psr7\Response;

require 'vendor/autoload.php';

class Handler implements \Bref\Event\Handler
{
    public function handle($event, ?Context $context): Response
    {
        $attributes = $event->getAttributes();
        $queryParams = $event->getQueryParams();
        $parsedBody = $event->getParsedBody();

        $message = [
            "message" =>'Bref! Your function executed successfully!',
            "context" => $context,
            "input" => [
                "attributes"=>$attributes,
                "queryParams"=>$queryParams,
                "parsedBody"=>$parsedBody
            ]
        ];

        $status = 200;

        return new Response($status, [], json_encode($message));
    }
}

return new Handler();

As it seems to me that I can't get serverless-offline work with Bref (I've tried without success mostly beacuse provided.al2 is not a supported runtime, and I've read a bunch of topic that is not on the roadmap), and as stated by documentation "serverless bref:local is a bit unpractical because you need to manually craft HTTP events in JSON", I've done some changes in this repo source code:

In router, I've added a function which parse all events (not only the first one), so that a warmer or other triggers won't be a problem if added before an http event. I've also added a line to recognize "http" events for API Gateway V1 routing, so that serverless.yaml will be parsed also for those (not only for "httpApi" events for API Gateway V2 routing).
In router, I've added another function to parse separated file inclusion for serverless.yml if servelress syntax to include file is recognized ( ${file(...)} )
In handler, I've passed a second parameter to the handler to get "Context" from "lambda-context" attribute as stated here https://bref.sh/docs/use-cases/http/advanced-use-cases#lambda-event-and-context

This should improve this codebase so that this dev-server is working with a definition like this
Root serverless.yml
## Define atomic functions
functions:
  ## Hello function
  - ${file(./src/function/hello/serverless.yml)}

Separate /src/function/hello/serverless.yml
hello:
  handler: src/function/hello/index.php #function handler
  package: #package patterns
    include:
      - "!**/*"
      - src/function/hello/**
  events: #events
    #keep warm event
    - schedule:
        rate: rate(5 minutes)
        enabled: ${strToBool(${self:custom.scheduleEnabled.${env:STAGE_NAME}})}
        input:
          warmer: true
    #api gateway event
    - http:
        path: /hello #api endpoint path
        method: 'GET' #api endpoint method
        cors: true
        caching: #cache
          enabled: false
        documentation:
          summary: "/hello"
          description: "Just a sample GET to say hello"
          methodResponses:
            - statusCode: 200
              responseBody:
                description: "A successful response"
              responseModels:
                application/json: "HelloResponse"
            - statusCode: 500
              responseBody:
                description: "Internal Server Error"
              responseModels:
                application/json: "ErrorResponse"
            - statusCode: 400
              responseBody:
                description: "Request error"
              responseModels:
                application/json: "BadRequestResponse"

Hope this helps.

Updates:

I've fixed CS
I've added tests for serverless.yml file for function (included in general one)
I've fixed routing for path parameters (there was an original test failing due to a wrong match on pattern for routes starting with a slash)

CI should be ok now 🚀

Other updates:

I've added a line to let it work with event driver runtime (which expect an exit as per lambda function proxy integration)
I've updated doc per function example

@mnapoli have you seen this PR?

oh sorry I completely missed that in my notifications.
This PR is huge, addressing multiple things at once. This is unlikely to be merged as-is unfortunately (like for any other open-source project).

In router, I've added a function which parse all events (not only the first one), so that a warmer or other triggers won't be a problem if added before an http event.

Great!

I've also added a line to recognize "http" events for API Gateway V1 routing, so that serverless.yaml will be parsed also for those (not only for "httpApi" events for API Gateway V2 routing).

If it's just one extra line of code, sounds good to me. That's not something I want to add or maintain, but if it's only 1 line and it's working, then 👍

In router, I've added another function to parse separated file inclusion for serverless.yml if servelress syntax to include file is recognized ( ${file(...)} )

This is too much code to merge unfortunately, I'd rather not have to maintain this.

In handler, I've passed a second parameter to the handler to get "Context" from "lambda-context" attribute as stated here https://bref.sh/docs/use-cases/http/advanced-use-cases#lambda-event-and-context

I don't think that works, PSR-15 handlers don't know about AWS Lambda, they don't have a "context" parameter. Or am I missing something?

I've fixed routing for path parameters (there was an original test failing due to a wrong match on pattern for routes starting with a slash)

Great!

I've added a line to let it work with event driver runtime (which expect an exit as per lambda function proxy integration)

I'm not sure what you mean by that?

I've updated doc per function example

Can you please remove the docs addition? Bref HTTP handlers are not supposed to be written that way, I'd rather not encourage readers to follow it.

Hi @mnapoli, don't worry, I can close this and have multiple little PRs, if you want me to split them.

Multiple event parsing: if it is ok, I'll do a PR for just this part. It is ok to call it "Parse multiple events in functions"?

Yes its about a single line, in my opinion it should be possible to support both "http" or "httpApi" events as those are just alternative architectures on AWS (even if V1 and V2 seems to suggest V2 is the top choice, v2 offers less capabilities than V1 and a lot will continue to choose V1 over V2). Is this ok to include this line in the previous PR?

Also in this case, is just a matter of a bunch of line of code to understand if a "file" has been included. As serverless framework support it and it's a good practice to split files to increase code readability, it's very likely to happen to have a separate file for each function. Severless offline is working in this scenario, as an example. Do you want me to make a specific PR to better evaluate it?

Context: you're right, I've probably added something not necessary. I'll check it.

What about the test, should I do a separate PR?

This line https://github.com/brefphp/dev-server/pull/11/commits/aa25288939dc45617727e8595283dea9a012eaee. This is because of point 7. You can write a function as a lambda proxy integration which return a json with specific attributes (statusCode, headers, body)

Is there a suggestion on how to write the HTTP handler as you would expect? It would be great to give a structured example so that people understand what to do. Isn't the one included the least complex one for function runtime for a lambda proxy integration?


mcrypt deprecated

Since mcrypt is deprecated in php 7.2 the Magister API needs an alternative such as OpenSSL.

Solved, see commit 42e3a72


Add an example of an API generated using Flask-Restless.

This example shows how to do an important use case - generating several endpoints using a Flask plugin for REST APIs, then programmatically decorating all the endpoints with doc().
This example is closely based on the simple example. However, it has two requirements extra to the requirement for Flask of the main package - Flask-Restless and Flask-SQLAlchemy. It doesn't seem like these should be added to the requirements.txt of the main package.

I tried running this example, but all I get is a 404 on http://<IP_ADDRESS>/. What URL am I supposed to go to? What is the example supposed to show? I was expecting to see a route for documentation like in the simple example.
Your solution doesn't work for Python3 by the way. Not sure what's up with TravisCI today, but it'll show you that once the tests run.

There is a line missing, I will correct and add a comment to make it clear how it should work and re-submit.
 On Wednesday, 9 September 2015, 1:11, Luke Yeager<EMAIL_ADDRESS>wrote:

I tried running this example, but all I get is a 404 on http://<IP_ADDRESS>/. What URL am I supposed to go to? What is the example supposed to show? I was expecting to see a route for documentation like in the simple example.Your solution doesn't work for Python3 by the way. Not sure what's up with TravisCI today, but it'll show you that once the tests run.—
Reply to this email directly or view it on GitHub.

Just to be clear, do you think that this would be useful in the examples/ folder, if fixed? I am happy to resubmit the PR, but I understand if this just isn't needed inside the main flask-autodoc repo, and I could create the example as a gist or similar. Let me know.

Good point, this probably makes more sense as gist than an example. There are only really two relevant lines in the whole example showing the interaction between Flask-Restless and Flask-Autodoc.


Error: Java heap space

HI everyone,
I am facing a problem while I am trying to load a tif file with the help from spark. It gives me the error:
Caused by: java.lang.OutOfMemoryError: Java heap space
import thunder as td
sc = SparkContext("local","app1")
img = td.images.fromtif('20160511_HuC_H2B_G6s_F1_00002.tif','tif',None,None,False,None,None,None,sc,None).npartitions(100)

1- I tried to update "spark-env.sh" and "spark-defaults.conf" with

spark.executor.memory 2000m

but I got the same error.
2- I tried to make it like this :
sc = SparkContext("local","app1","--executor-memory 20G")
I got the same error.
3-  I tried to add a config variable
conf = SparkConf().setAppName("Simple App").setMaster("local").set("spark.executor.memory 2000m")
sc = SparkContext(conf)

I got error with conf, _AttributeError: 'SparkConf' object has no attribute 'get_object_id'
I would appreciate any kind of help.

@ObadaM are you running this on a local machine or on a cluster? If on a local machine, you are unlikely to see much speed up from using Spark, and we recommend local mode.
But if on a cluster, or if you are running Spark on a single machine just to try it out, you can try adding this line to your bash profile (assuming you're on Mac OS X or Linux)
export _JAVA_OPTIONS="-Xms512m -Xmx4g"

@freeman-lab I tried your solution but it did not work as well.
actually it is always 511 MB from RAM and the only way that it changed was from running Spark from terminal.

./pyspark --driver-memory 5g

Yes I am running it on a single machine just to be familiar with the whole spark thunder environment then I will apply it on a cluster.

I found the solution. first I downloaded the source code of spark then I built it again with sbt, after than i created spark-env.sh in conf file with the following:
SPARK_EXECUTOR_INSTANCES=14
SPARK_EXECUTOR_MEMORY=4G
SPARK_DRIVER_MEMORY=4G

I tried the pre-built version of spark with this before but it did not work.


Make Out-Null fast

People use Out-Null despite much faster alternatives:
$null = Do-Stuff
[void] = Do-Stuff
Do-Stuff > $null

This change makes Out-Null work in roughly the same say as the above.
The optimization is to detect that we're calling the built-in Out-Null
cmdlet when invoking a pipeline from script (the change won't have any
effect in the PowerShell api). If we detect Out-Null, we rewrite the
pipe to look similar to Do-Stuff > $null.

Hi @lzybkr, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Jason Shirk (POWERSHELL)). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@lzybkr Are you going to merge the tests?

Yes, I'll merge the PR after moving the tests.


Add model: MixNet

Description
Please include a summary in English, of the changes in this pull request. If it closes an issue, please mention it here.
Closes: ~
You should link at least one existing issue for PR. Before your create a PR, please check to see if there is an issue for this change.
PRs from forked repository not accepted.
Change(s)

Implemented MixNet in NP Trainer backbone format
Similarly implemented with MobileNetV3 model config
Use SEBlock of torchvision library
GPConv, MDConv, MixDepthBlock are defined in mixnet.py
Tested on classification and segmentation tasks

Changelog
If you PR to dev branch, please add a brief summary of the change to the Upcoming Release section of the CHANGELOG.md file and include a link to the PR (formatted in markdown) and a link to your github profile.
For example,
- Added a new feature by `@myusername` in [PR 2023](https://github.com/Nota-NetsPresso/netspresso-trainer/pull/2023)

Code Formatting
If you PR to either master or dev branch, you should follow the code linting process. Please check your code with lint_check.sh in ./scripts directory.
For more information, please read the contribution guide in CONTRIBUTING.md.

Contained in #172


fix(#8): support user configured path pattern

https://github.com/condorheroblog/vitepress-export-pdf/issues/8#issuecomment-1635116868


updated development_guide.md

Update the Vagrant set up
Included the outputs for make vagrant-up and make vagrant-ssh
Signed-off-by: Gourav Banerjee<EMAIL_ADDRESS>

@ErenYeager713 , please sign off the DCO too. Thanks

@ErenYeager713 , please use a merge all commits into  a single commit.


NZBGet issues with Mp4 automator

I followed your guide for configuring NZBget with this. This was working for me on Sabnzbd although I've decided to try out NZBget recently.
all I can get for log files for the error is
Fri Feb  3 10:49:02 2017        ERROR   Post-process-script NZBGetPostProcess.py for FILENAMEHERE failed (terminated with unknown status)
And the MP4 automator log seems like it hasn't recognized anything with nzbget thus far. I'm going to go through all the setup instructions to verify everything although I don't think I missed anything.
Anything you could tell me that would be helpful to track down what's causing this?
Also I'm curious as to how the Nzbget.py script finds the settings in autoProcess.ini for what settings I want which is located in a different folder, the instructions only specify copying the nzbget.py script. Thanks!

This is resolved. I didn't configure the directory to the mp4 automator.


Undo/redo for planar figures

Signed-off-by: Rostislav Khlebnikov<EMAIL_ADDRESS>

For discussions regarding this pull request please see
http://bugs.mitk.org/show_bug.cgi?id=13974

Closing old pull requests. Please leave a comment if you think that this pull request still really needs to be addressed , thank you.


Outreachy: getting familiar with the development environment

This issue is targeted at potential applications for Parsl's participation in Outreachy. The tasks in this issue can be performed by any number of applicants. Talk to @benclifford on Slack if you are interested.
The point of the tasks in this issue are to walk you through getting a development environment set up, making a trivial change to the code, seeing how our tooling tests things, deliberately introducing a problem, and then fixing that problem. By the end you should have a trivial 1-byte change to submit to parsl as a PR, to try out the PR process.
There are lots of steps because I have tried to make each step small.
If you get stuck or don't understand any of these steps - you can ask @benclifford on Slack or write publicly in the #parsl-hackers channel on  Slack.

Get a Python environment - parsl is supported on Python versions 3.8 - 3.12.
Sign up for a GitHub account
Go to the parsl repository at https://github.com/Parsl/parsl and near the top right, click "Forks / create a new fork". This will make a fork of parsl in your own github account.
Install parsl - follow the instructions in the "For developers" section of the Parsl README at https://github.com/Parsl/parsl - but when asked to run the command git clone https://github.com/parsl/parsl, instead use the address of your fork created in the previous step.
You can run some local tests by running make local_thread_test, and some more advanced tests with make htex_local_alternate_test
You can test our code linting by running `make flake8' which checks all of our Python code to see if it matches the Python style rules in PEP-8
We have configuration to let us break the style rules sometimes. This lives in the file called .flake8. You can open that file and make a change to move us towards proper PEP-8 compliance: find the line that says max-line-length = 158 and make it 1 smaller. (PEP-8 says the max line length should be 80... but we can't change it all at once)
Run make flake8 again - you should see that you can an error: flake8 should have found a line that is now too long.
Edit that line - you'll have to figure out how to make it shorter, perhaps by splitting it into two valid lines of Python
Run make flake8 again and you should see that flake8 passes again
Now you can make a git commit: type git commit -a -m "Reduce flake8 max-line-length. Don't worry if you don't understand what git is doing: you can learn more about that during the internship.

Click "Pull request" to make a pull request to the main Parsl repository.
Fill out the template - you don't need to write too much
Sit back and wait for someone to review your pull request - that might happen within minutes, or it might take many hours, depending on who is working/awake/etc. Don't panic if you haven't heard after a few hours!
You might get some feedback and need to make some changes - the reviewer will help you with that
or... they might merge your change, in which case Congratulations! you've made a tiny contribution to Parsl, and our code base is now a tiny bit cleaner!

My application got approved in outreachy, I will take this and create a pr

@Harichandra-Prasath ok great! This specific issue #3105 isn't limited to one applicant: it's a basic exercise for everyone to get a development environment going, so other people reading this shoudn't be put off trying this out too.

@Harichandra-Prasath work your way through this issue #3105 and get a pull request merged from a working dev environment, to get started - when that is all working, we can pick out some other issues that are good for you to work on.

@benclifford I am really interested in this project. I hope to learn and contribute to the project.

Hello @benclifford !
Could you spend a few minutes of your precious time reviewing #3128 ?
Thanks in advance!

Hey @benclifford please review #3126 . Thank you :).

Hello @benclifford please take a look!

Hi @benclifford I am an outreachy applicant and I am interested in contributing to this project. Kindly review by PR #3130  Thank you.

Hey @benclifford
My initial application to outreachy got accepted and I'm interested to make contributions in this project.
Please review:  #3131
Looking forward to your feedback. Thanks!

hi @benclifford, i just got accepted into the contribution phase of outreachy 2024, and i just created a PR on
https://github.com/Parsl/parsl/pull/3144
pls review and merge. Thanks

Hi @benclifford! Thank you for writing detailed explanations for the tasks, appreciate it! As it was advised, I have created PR #3149

@benclifford  I have gone back to redo my work and i believe i did a much better job this time, pls review and merge. thanks
here is the link to my PR: https://github.com/Parsl/parsl/pull/3172

hi @benclifford  i have update the PR as requested, pls review and merge:  https://github.com/Parsl/parsl/pull/3176

Hello @benclifford i've done this task of reducing flake8 max-line length and open an PR #3178

while setting up this project I encountered some issues. I followed the instructions here and also on the readme, below are some of the issues and how I resolved them with the help of @benclifford

when I ran the make deps  instruction from the readme file for Build and Test

Issue: ERROR: failed building wheel for mpi4py
Likely reason for the issues: mpich is not installed for Linux users
Solution: sudo apt install mpich for Ubuntu users

when I ran the command on #3105 No. 5

Issues:
pytest parsl/tests/ -k "not cleannet" --config parsl/tests/configs/local_threads.py --random-order --durations 10
/usr/bin/bash: line 1: pytest: command not found
make: *** [Makefile:52: local_thread_test] Error 127

Likely reason for the issues: The make deps didn't execute successfully, possibly because of my internet connection
Solution: I tried to rerun the make deps command again, this time it executed successfully.
then I was able to run the make local_thread_test  in #3105 No. 5 again and it worked

when I ran the build and test command it generated some random files and folders which are unnecessary.

Issues: These randomly generated files and folders were added to my commit when I tried to push because I ran the
git add .   command
Solution: I ran the git commit -a command instead of using the git add . command and it will only commit files that were already there, not any new stuff

From the readme on the git repo the part that says python3 setup.py install in step 3 didn't work for me

Issue:
/home/work/Open-Source/parsl-fork/.venv/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing '1.3.0-dev' to '1.3.0.dev0'
  warnings.warn(tmpl.format(**locals()))
running install
/home/work/Open-Source/parsl-fork/.venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/work/Open-Source/parsl-fork/.venv/lib/python3.10/site-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
error: [Errno 13] Permission denied

Likely reason for the issues:  I ran this command with sudo make virtualenv
Solution:  I deleted the .venv folder by running  sudo rm -r .venv, also deleted the parsl.egg-info folder sudo rm -r parsl.egg-info and rerun the  python3 setup.py install  command
NOTE:
if you are running a Windows OS on your PC, you might need to install WSL, this gives you an Ubuntu experience on your window machine
Read about how to install WSL on your PC https://learn.microsoft.com/en-us/windows/wsl/install

while setting up this project I encountered some issues. I followed the instructions here and also on the readme, below are some of the issues and how I resolved them with the help of @benclifford

when I ran the make deps  instruction from the readme file for Build and Test

Issue: ERROR: failed building wheel for mpi4py
Likely reason for the issues: mpich is not installed for Linux users
Solution: sudo apt install mpich for Ubuntu users

when I ran the command on Outreachy: getting familiar with the development environment #3105 No. 5

Issues:
pytest parsl/tests/ -k "not cleannet" --config parsl/tests/configs/local_threads.py --random-order --durations 10
/usr/bin/bash: line 1: pytest: command not found
make: *** [Makefile:52: local_thread_test] Error 127

Likely reason for the issues: The make deps didn't execute successfully, possibly because of my internet connection
Solution: I tried to rerun the make deps command again, this time it executed successfully.
then I was able to run the make local_thread_test in #3105 No. 5 again and it worked

when I ran the build and test command it generated some random files and folders which are unnecessary.

Issues: These randomly generated files and folders were added to my commit when I tried to push because I ran the git add .  command
Solution: I ran the git commit -a command instead of using the git add . command and it will only commit files that were already there, not any new stuff

From the readme on the git repo the part that says python3 setup.py install in step 3 didn't work for me

Issue:
/home/work/Open-Source/parsl-fork/.venv/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing '1.3.0-dev' to '1.3.0.dev0'
  warnings.warn(tmpl.format(**locals()))
running install
/home/work/Open-Source/parsl-fork/.venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/work/Open-Source/parsl-fork/.venv/lib/python3.10/site-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
error: [Errno 13] Permission denied

Likely reason for the issues: I ran this command with sudo make virtualenv
Solution: I deleted the .venv folder by running sudo rm -r .venv, also deleted the parsl.egg-info folder sudo rm -r parsl.egg-info and rerun the python3 setup.py install command
NOTE:
if you are running a Windows OS on your PC, you might need to install WSL, this gives you an Ubuntu experience on your window machine
Read about how to install WSL on your PC https://learn.microsoft.com/en-us/windows/wsl/install

I hope this will be helpful to someone

while setting up this project I encountered some issues. I followed the instructions here and also on the readme, below are some of the issues and how I resolved them with the help of @benclifford

when I ran the make deps  instruction from the readme file for Build and Test

Issue: ERROR: failed building wheel for mpi4py
Likely reason for the issues: mpich is not installed for Linux users
Solution: sudo apt install mpich for Ubuntu users

when I ran the command on Outreachy: getting familiar with the development environment #3105 No. 5

Issues:
pytest parsl/tests/ -k "not cleannet" --config parsl/tests/configs/local_threads.py --random-order --durations 10
/usr/bin/bash: line 1: pytest: command not found
make: *** [Makefile:52: local_thread_test] Error 127

Likely reason for the issues: The make deps didn't execute successfully, possibly because of my internet connection
Solution: I tried to rerun the make deps command again, this time it executed successfully.
then I was able to run the make local_thread_test in #3105 No. 5 again and it worked

when I ran the build and test command it generated some random files and folders which are unnecessary.

Issues: These randomly generated files and folders were added to my commit when I tried to push because I ran the git add .  command
Solution: I ran the git commit -a command instead of using the git add . command and it will only commit files that were already there, not any new stuff

From the readme on the git repo the part that says python3 setup.py install in step 3 didn't work for me

Issue:
/home/work/Open-Source/parsl-fork/.venv/lib/python3.10/site-packages/setuptools/dist.py:493: UserWarning: Normalizing '1.3.0-dev' to '1.3.0.dev0'
  warnings.warn(tmpl.format(**locals()))
running install
/home/work/Open-Source/parsl-fork/.venv/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/work/Open-Source/parsl-fork/.venv/lib/python3.10/site-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
error: [Errno 13] Permission denied

Likely reason for the issues: I ran this command with sudo make virtualenv
Solution: I deleted the .venv folder by running sudo rm -r .venv, also deleted the parsl.egg-info folder sudo rm -r parsl.egg-info and rerun the python3 setup.py install command
NOTE:
if you are running a Windows OS on your PC, you might need to install WSL, this gives you an Ubuntu experience on your window machine
Read about how to install WSL on your PC https://learn.microsoft.com/en-us/windows/wsl/install

I hope this will be helpful to someone

Hi @benclifford
I am an Outreachy applicant and I am interested in contributing to this project.
Kindly review my PR -  3138
Thank you.

Hi @benclifford  please review my PR #3169 I also updated the readme.

@kemsguy7 ok, that sched_affinity message sounds like a cross-platform problem where we have tested things right on OS X - I'd be interested if you could paste the whole command and the whole output for that make test into a new issue, along with the version of your operating system, so that we can track it as a separate bug.

@kemsguy7 ok, that sched_affinity message sounds like a cross-platform problem where we have tested things right on OS X - I'd be interested if you could paste the whole command and the whole output for that make test into a new issue, along with the version of your operating system, so that we can track it as a separate bug.  Ok,  i will do that

@SobiaAman asked elsewhere:

@benclifford is it okay that multiple contributors are doing the same thing and making the PR Or it should be done by only one contributor that comes first. Kindly clear that, i'm little bit confused in it. Thanks

Its fine for as many people try the more simple issues as they want - but in the end, we will only merge one PR, the first PR that is properly ready with all mentor/reviewer comments addressed. So if you want to try an issue to learn about it, even if someone else is already working on it, you are welcome to try it and get mentor/reviewer feedback - but if you see someone else is doing it, it might be that their PR is what gets merged, not yours, depending on which PR is fully ready to be approved first.

@kemsguy7 ok, that sched_affinity message sounds like a cross-platform problem where we have tested things right on OS X - I'd be interested if you could paste the whole command and the whole output for that make test into a new issue, along with the version of your operating system, so that we can track it as a separate bug.

Okay, i'll do that

Okay @benclifford
Got your point, Thanks

hi @benclifford i have update the PR as requested, pls review and merge: #3176

@benclifford you still haven't reviewed my PR : #3176

Hello everyone,
Let's address the errors to facilitate the creation of your pull request.
why this issue occuring ?
because you have not fetch the recent changes in your pc
Important message
You should always use a new branch for every different task
and that each pull request comes from a different branch
How to fix it ?
first git remote add upstream https://github.com/parsl/parsl
This will adds a new remote repository to your Git configuration.
then say git fetch upstream
you should see some branches are updating
the next step is to make a new branch by
git checkout -b <branch name> upstream/master
if you type git show you will see recent commits on the branch
the next step is to make change in your code and is you type git diff you wiil see your changes
then make commit by git commit -a
this will commit changes without explict staging them
now type git show  should see your commit
now push your changes by git push origin HEAD

Hello @benclifford i've done this task of reducing flake8 max-line length in a separate branch and open an PR https://github.com/Parsl/parsl/pull/3176. Kindly have a look

Hello @benclifford
My initial outreachy application has been selected . And i am looking forward to make meaningful contribution to this project .
please review this PR #3199

we've closed outreachy applications for new applicants, so I'll close this issue - but existing applicants, if you have interesting information about completing this process, please add comments.

Hi @benclifford I have made changes to the PR as requested. Can you pls review my PR: #3201 thanks in advance

@Harichandra-Prasath ok great! This specific issue #3105 isn't limited to one applicant: it's a basic exercise for everyone to get a development environment going, so other people reading this shoudn't be put off trying this out too.

Thank you for the nugget @benclifford


setting plist using defaults not working

I am using sudo-prompt for many commands and mostly it has worked great. However, when I try to set plist entries using defaults write myplist key val the command seems to have worked as far as no errors thrown but the plist is never updated.
I can run the same command in a terminal using sudo and this works as expected. Also, I am aware newer version of Mac will not refresh cache so I run pkill -f cfprefsd after the plist commands to refresh.
For a test I also restart the machine just to see if it is a caching issue.
Any suggestions would be great.
Thank You.

Thanks @simpert
Can you please provide the full command you are giving sudo-prompt?

Or even better, a simple Node.js test script would be great.

sure
const command = `defaults write com.adobe.CSXS.7 PlayerDebugMode 1 ; defaults read com.adobe.CSXS.7 ;`;

require('sudo-prompt').exec ( command,
                options,
               ( error, stdout, stderr ) =>
                {
                    if ( error )
                    {
                        reject ( error );
                    }

                    if ( stderr )
                        console.error(stderr);

                    this.raiseProgressChanged({ message: `done executing elevated command: '${command}' output: '${ stdout }'` });

                    resolve ( true );
                } );

this is the code I am trying.
I place it in a promise and I am using typescript so I normally just use
import * as sudo from 'sudo-prompt';

then use
sudo.exec();

but since your expecting js I cleaned it up a bit.
I have used sudo-prompt before and in the same project am using it for several other commands all of which are working great. It seems a problem with defaults of sorts.

So I have been trying dozens of things and just now noticed there are many different scopes that defaults will write into.
If I just open a terminal and type defaults write com.adobe.CSXS.9 PlayerDebugMode 1 all works as expected.

Thanks @simpert
I reduced your script to this:
var sudo = require('.');
var command = 'defaults write com.adobe.CSXS.7 PlayerDebugMode 1; defaults read com.adobe.CSXS.7';
var options = {};
console.log('sudo.exec(' + JSON.stringify(command) + ', ' + JSON.stringify(options) + ')');
sudo.exec(command, options,
  function(error, stdout, stderr) {
    console.log('error: ' + error);
    console.log('stdout: ' + JSON.stringify(stdout));
    console.log('stderr: ' + JSON.stringify(stderr));
  }
);

This works for me on macOS Mojave, here is the output:
sudo.exec("defaults write com.adobe.CSXS.7 PlayerDebugMode 1; defaults read com.adobe.CSXS.7", {})
error: undefined
stdout: "{\n    PlayerDebugMode = 1;\n}\n"
stderr: ""

The test script above worked for me. Please re-open if you have more information.


add "copy to clipboard icon" in installation section

Add authorship from the original PRs.

Based on PR #369 and #396.
Authors Muhammad-Aadil and mateuslatrova.

OBS: Alternative way of editing the PRs.

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

:exclamation: No coverage uploaded for pull request base (next@acc41cc). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             next     #402   +/-   ##
=======================================
  Coverage        ?   89.27%
=======================================
  Files           ?        2
  Lines           ?      261
  Branches        ?        0
=======================================
  Hits            ?      233
  Misses          ?       28
  Partials        ?        0

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


No season numbers in crunchyroll extractor

[x] I've verified and I assure that I'm running youtube-dl 2016.11.22

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[ ] Question
[ ] Other

My command:
youtube-dl -v -o "E:/shows/%(series)s/Season %(season_number)s/s%(season_number)se%(episode_number)s - %(episode)s.%(ext)s" --write-sub --sub-lang enUS --embed-subs --playlist-start 1 http://www.crunchyroll.com/food-wars-shokugeki-no-soma --skip-download
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-o', 'E:/shows/%(series)s/Season %(season_number)s/s%(season_number)se%(episode_number)s - %(episode)s.%(ext)s', '--write-sub', '--sub-lang', 'enUS', '--embed-subs', '--playlist-start', '1', 'http://www.crunchyroll.com/food-wars-shokugeki-no-soma', '--skip-download']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 3.5.1 - Windows-10-10.0.14393-SP0
[debug] exe versions: ffmpeg 2.8.4, ffprobe N-79000-g66edd86, rtmpdump 2.3
[debug] Proxy map: {}...
<end of log>

The folders and files created by this command all work, except for the part where I use the season number. 'Na' is substituted for 'season', 'season_id', 'season_number, and all of the chapter ones as well. Is this due to the way that crunchyroll displays seasons, or is it something that can be added to the crunchyroll extractor?

I don't know enough about youtube-dl to know if this helps, but It looks as if the season number is displayed on the page. The element has an xpath of //*[@id="showmedia_about_media"]/h4[2]

Not seeing that element in the page @badtzmaru; tested on http://www.crunchyroll.com/oreimo. I'm pretty sure Crunchyroll doesn't have the season numbers anywhere. I generally just use the %(series)s value and then use mmv to fix it afterwards.

@oxguy3 Oh, do you need it on the playlist page? I was going off of the pages of the individual pages.

Also can't you just use the title attribute of the list items similar to this //*[@id="showview_content_videos"]/ul/li[1]/a ?

Old post but it's still open so I'll put this here for anyone else looking for a solution.
Crunchyroll doesn't have a concept of season numbers (anime seasons tend to differ between Japan and US releases).
I think %(series)s is meant as the name of the show (i.e. TV series), the best option (at the moment at least) is to use %(season)s instead. This will give you the name of the season. For single-season shows it just uses the anime name. For multiple season shows, it should appear as it does in Crunchyroll (i.e. "Fairy Tail", "Fairy Tail Series 2", "Fairy Tail Final Season")


API code snippet unit testing

** Please describe what you would like the feature to accomplish.**
Since there is an code example section in the API doc strings, it would be great to have those snippets tested/used as unit tests for the docs.
** Describe the solution you'd like **
An example of something like this is Python's doctest package.
** Describe alternatives you've considered **
Not sure.
** Additional context **
An example of using the doctest library.

This could be quite helpful for ensuring that /// # Example sections in library API docs are up to date. When I'm working in Python, I've found it useful that doctest extracts API samples turns them into unit tests, such that I'd love to have the same in Q#.

@crazy4pi314 I believe you by now actually have a compiler extension doing exactly that. ;)
Do you want to add a link here and we call it done?


bugfix for #174, fix unstable unit test for RemoteSenderLimitTest

I hereby agree to the terms of the CLA available at: [placeholder]
Changelog category (leave one):

Bug Fix
Not for changelog (changelog entry is not required)

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

Pls sign the CLA. @Aaaaaaron


Latest Next dep update introduces widespread errors on all Link uses - zero render going through!

Hey all!
I just merged in today's upstream sync PRs and am quite flabbergasted to find that every single occurrence of Next's <Link/> component, whether direct or nested (e.g. through MDX Link component, SidebarLink, etc.) yells at multiple children when it expects only one.
I think the source is likely in https://github.com/reactjs/react.dev/commit/1b5e8861ab40d94e030bff0100708106c4689603?
Although many call sites do have multiple children (they used to wrap these within an empty <a>, likely to circumvent this, but don't do that anymore, and I don't blame them!), many call sites have a single text child and still trigger the error.
This makes it impossible to render any page.
I've been investigating this for the past hour or so, and every time I fix one call site, another one pops up. Debugging is super hard because we don't get a proper render stack, just Next's engine rendering stack and the general route mapping for MDX pages. Very little to go by…

Oh my, so sorry about this false alarm. I had simply failed to install the upgraded deps!
Rookie mistake, sorry. Would be lovely if we got some sort of boot warning when dependencies are unmet


⚠ Bofrost.de has degraded performance

In 55e58c1, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1450 ms

Resolved: Bofrost.de performance has improved in 91885f5.


Loosing intellisense in vscode after printf command subtitution with math context

I am loosing access to intellisense after line:
msb2=$( printf "0x%02x" $(( "$1" >> 24 )) )

If I double quoute the printf argument then everything is fine
msb2=$( printf "0x%02x" "$(( "$1" >> 24 ))" )

This extension does not provide any intellisense. You probably meant to report this somewhere else.

You're right. After checking it not related to vscode-shellcheck (disabled the extension). Strangely, I don't get the popup of variables names etc after this particular printf line. It its probably something with vscode editor.quickSuggestions that gets deactivated.

Probably Bash IDE then.


Update csv config schema to include all properties

Summary
Fill out the rest of the JSON schema for CSV config
New behavior
N/A
Code changes
Add all properties and some required ones to JSON Schema
Testing guidance
here is a URL with the updated JSON schema loaded into the validator.
Play around with this, paste your config in, delete some properties, invalid data type stuff, etc.
A visual inspection of the schema is also a good idea, it's not too dense

DP2 - I think we could also use a commonExtractorArgs that defines an object with a baseFhirUrl property of type string with and format hostname

DP2 - I think we could also use a commonExtractorArgs that defines an object with a baseFhirUrl property of type string with and format hostname

Clarifying Q: we make use of commonExtractorArgs with the URL properties (including auth and such) in other "proprietary" versions of the mcode-extraction-framework. Does that property also apply to CSV config? Since the schema I made is pretty specific to that.

DP2 - I think we could also use a commonExtractorArgs that defines an object with a baseFhirUrl property of type string with and format hostname

Clarifying Q: we make use of commonExtractorArgs with the URL properties (including auth and such) in other "proprietary" versions of the mcode-extraction-framework. Does that property also apply to CSV config? Since the schema I made is pretty specific to that.

Kind of answered my own question. Looks like we do parse/use commonExtractorArgs in the base apps so I will include a simple version of that in the schema


DeepSeek V3 Result

Could you provide the complete results for each column of DeepSeek V3 on the project page?

Hi, we haven't tested DeepSeek-V3 on LongBench v2 yet. The current overall score was taken directly from the DeepSeek-V3 paper, which did not report the individual sub-scores.


Major Update

Populated main README.md
Added/populated .gitignore
Added in support for using wget to sync http/https mirrors
Added in support for using bandersnatch to sync pypi mirrors
Added in function that handles checking and/or install of sync providers
Added in several administrative functions to handle variable assignment
Added in dependency checks
Added more error handling
Added in color-coded warn messages in addition to error messages
Implemented a more robust set of logging features
Removed signal traps (functions were not inheriting traps, making them useless)
Implemented new naming schema for repos, and renamed some
Renamed repo_excludes.conf to repo_filter.conf
Renamed web_url.conf to dns_name.conf
Added http_url.conf file to _metadata for each repo
Added ius-repo (RHEL7 packages only)
Added fedora-images repo
Added fedora-isos repo
Added centos-images repo
Added centos-isos repo
Added ubuntu-images repo
Added ubuntu-isos repo
Added official_pypi-repo

Self-merging PR since Eric is on leave. Smoke testing has been completed, as well as several unit tests on individual functions. A full dry run on every repo using the -a flag was also completed successfully.


Allow for additional S3 Origin props, mostly for security reasons

Resolves #3469
Needed for Rollback capability without compromising security: https://discord.com/channels/983865673656705025/1167264627709722635
Sorry for the additional commits, will clean up as soon as https://github.com/sst/sst/pull/3436 is merged.  Anything I try to do to solve it closes the other PR.  I normally use branches, but the prior PR is blocking our ability to deploy.

Did you want to update this guy now that the other one has been merged? Or is it good to be reviewed?

Good to go.  The diff is correct even if the commit history is off.

Sorry about the V1, ill pay more attention.

Oh not at all! The updated examples in docs really helps.


safe way to let WebStorm know 'runner' and 'webServer' ports

It's a feature request for WebStorm integration.
WebStorm needs to know webServerPort and runnerPort.
Now this information is mined from the standard output of Karma server:
INFO [karma]: Karma v0.9.4 server started at http://localhost:9876/
...
INFO [karma]: To run via this server, use "karma run --runner-port 9101"

Such approach seems to be unsafe.
For example, WebStorm integration isn't working if logLevel: config.LOG_DISABLE is set.
It'd be nice to have the following API on JavaScript level:
onRunnerPortBound(runnerPort)
onWebServerPortBound(webServerPort)

There functions should be called only once with really bounded ports.
config.runnerPort and config.port aren't what's needed. These ports are only initial port numbers. If a port cannot be bound, it's attempted to bind the port number increased by one and so on.
Thanks!

Closing due to inactivity. Please feel free to reopen a new issue with updated info if this is still a problem. Thanks.


Adding brotli support, defaulting to quality:4

I've been very interested in getting brotli support into the Express world, but the consensus has been that brotli is too slow to be a good runtime compression library. However, a recent article from Akamai indicates that this may be incorrect, and that brotli at quality level 4 gives better compression at slightly faster speeds than gzip's default quality setting of 6, making using brotli a win-win even for dynamic content.
This PR attempts to add brotli support to compression, using a default quality of 4 so that the usage of brotli runs fast enough to be competitive with gzip.
Given brotli's better compression ratios than gzip, the code in this PR has a strict preference for brotli over gzip or deflate when the client supports it. The PR also maintains the behavior in master that prefers gzip over deflate when brotli isn't available.
I've added new tests for the cases I could think of, all tests pass, and coverage remains at 100%.
One thing to note is that I added the module iltorb, which is not pure JavaScript. It does, however, compile on both UNIX and Windows as far as I can tell. I'm not sure if you are OK with taking dependencies on native modules or not.
Thanks for all your hard work, and here's hoping we can see this added!

Hmmm... looks to me like iltorb isn't building on the travis VMs because they don't include a C++ compiler. They are giving the following error:

Starting with io.js 3 and Node.js 4, building native extensions requires C++11-compatible compiler, which seems unavailable on this VM. Please read [https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements].

Please do not add a dependency on a native module. I'm not sure if you ever tried to setup the compiling chain Node.js requires on Windows, but it is not fun. Express has so far had a policy of no native modules for this reason.

I'm not sure if you ever tried to setup the compiling chain Node.js requires on Windows, but it is not fun.

I did confirm that iltorb has a build running on Windows, but I haven't tried setting up the compile chain on Windows, no. I do not doubt you in the least about the level of fun involved.

a policy of no native modules

There is a pure JavaScript module brotli, but it (a) hasn't been updated in almost a year and (b) was made with Emscripten, which almost certainly means it doesn't run as fast as gzip, so I don't think it's a viable addition.
Thanks very much for your time and your work on compression; I'll close this PR and perhaps offer this code in a separate npm module.
Thanks!


#12979: Merge erisc data & bss sections

Ticket
https://github.com/tenstorrent/tt-metal/issues/12979
Problem description
The erisc app data-like sections are confused
What's changed

Have single .data and .bss output sections
Correctly clear all of bss before writing to it (in erisc-crt0.cc) (this was a doozy to find, because crt0 only worked because the small-data bss wasn't being cleared).
Fix rtos_context_switch_ptr and flag_disable definitions -- these need to be inline, as they are in a header file.

Checklist

[YES] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] Device performance regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

sigh, rebasing is showing a lot of persistent failures :(


Regression in UserAccountsDrawerHeader layout

https://github.com/flutter/flutter/pull/13711 caused a regression in the layout of user user name and email in the user account switcher:

Current status: the PR that triggered this has been (partially) reverted and needs to be re-applied with a fix.


Add ability to launch each vignette notebook on MyBinder.org

binder (mybinder.org) is a site that can turn a repository full of notebook files into an interactive collection of notebooks. (The underlying technology it runs on is binderhub.)
We should add an "Open in Binder" badges to each of our vignette notebooks to allow users to launch the notebook in the cloud and run the notebook/associated analysis using HCA data in the cloud.

Potential hangup with this: mybinder.org expects a monolithic requirements.txt covering all notebooks in the entire repo. We have notebooks organized into folders with their own requirements.txt. Aaarrrrgh.


docs(examples): Fix e-commerce image display on IE11

Before:

After:

Fix found at: http://www.carsonshold.com/2014/07/css-display-table-cell-child-width-bug-in-firefox-and-ie/

:100:


Release 1.0.0

Coverage remained the same at 95.691% when pulling 4af1a98b430346e398c23343079520304d1080ba on release_1.0.0 into aa9af8ec14fb371c1726037aba04168bc3b9941c on master.


add a notFound property to the Error

This is also present in Level, and it is really useful to differentiate between network errors and not found keys.

Either that or we could use err.code = 'ENOENT'
If we add that check to the tests it would be a breaking change and implementations need an update?


Create porting guide for network abstraction and platform utils

The primary reason to do this is to assist porting Awa to other platforms.
A secondary reason is to improve testing and reliability of the network abstraction layer and dtls layer.

#313


Renew Apple Developer's License

Work item to track the yearly renewal of our developer license from Apple.

Complete. License renewed for another year.


how to solve npm install command please help me i am new

i want to learn node js and my boss send me this project but its show error. how to solve this type of problem when i enter npm install this command is show below error...i already installed visual studio 2015

gyp ERR! stack operable program or batch file.
gyp ERR! stack
gyp ERR! stack Can't find "msbuild.exe".  System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin
\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\Addi\Server\node_modules\iltorb
gyp ERR! node -v v6.9.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

Please make sure you have Visual C++ installed. You can go to Control Panel, Uninstall a Program, select Microsoft Visual Studio 2015 and click Change. There, modify the installation and make sure Visual C++ is selected under Programming Languages. Please reboot before trying to npm install again.


Thread 1: EXC_BAD_ACCESS

I run the code sample with no problem or error. But when I integrate MarqueeLabel in my app the error below is showing. Kindly help me.

You unfortunately must have pulled the new changes between commits 5e8cc03 and 9ba0901. Commit 5e8cc03 had an error on line 1158 of MarqueeLabel.swift -- it used self instead of super inside the shadowColor property setter. This causes the infinite loop you see in your trace.
I fixed it in commit 9ba0901, so all you should need to do is pull down the latest changes!

Whoooops sorry - I reverted commit 9ba0901 with commit cbf9e7f, and then forgot to reapply it! I've just re-fixed it with commit 3c68b5d.


Compilation Error in Arduino 1.0.6 with ATmega8 microcontroller

Hello!
I tried to compile code with arduino 1.0.6 with Atmega8 microcontroller and got following error during compilation.
In file included from pulseWidthCalculator_V01.ino:3:
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:64: error: ISO C++ forbids initialization of member 'analogResolution'
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:64: error: making 'analogResolution' static
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:64: error: ISO C++ forbids in-class initialization of non-const static member 'analogResolution'
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:67: error: ISO C++ forbids initialization of member 'activityThreshold'
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:67: error: making 'activityThreshold' static
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:67: error: ISO C++ forbids in-class initialization of non-const static member 'activityThreshold'
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:68: error: ISO C++ forbids initialization of member 'edgeSnapEnable'
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:68: error: making 'edgeSnapEnable' static
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:68: error: ISO C++ forbids in-class initialization of non-const static member 'edgeSnapEnable'
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:72: error: ISO C++ forbids initialization of member 'errorEMA'
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:72: error: making 'errorEMA' static
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:72: error: ISO C++ forbids in-class initialization of non-const static member 'errorEMA'
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:73: error: ISO C++ forbids initialization of member 'sleeping'
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:73: error: making 'sleeping' static
C:\Users\Strange Lab\Documents\Arduino\libraries\ResponsiveAnalogRead\src/ResponsiveAnalogRead.h:73: error: ISO C++ forbids in-class initialization of non-const static member 'sleeping'

You may try a less ancient version of the Arduino IDE. Alternatively, add the flag -std=c++11 to the options passed to gcc (you will have to dig deep into your IDE's configuration).


Polled submission mode & pre-registered buffers

Polled submission mode would be awesome to support for performance reasons. Integration with nio_uring, however, will not be quite straightforward due to polled mode requiring pre-registration of buffers. Ideally, we make the user experience simple and graceful with a managed buffer pool.

My experience with polled submission mode does not show sensible performance improvements, but YMMV.


Release notes for beta-20170921

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/0514ad20e159f9d6118437fd790c82006ff3bdac/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e131496ff90c9d3a9e4ce49b03eb0dfffd9e1774/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/714d93d1f9898c9b785ab6513c29bf1dae6b6c20/


Build failures

hey guys, I've tried twice now and failed to build this project both times despite following the instructions.
I'll be using VM's so I can build whatever environment I need, what OS do you guys use to build this?  Debian, Ubuntu, etc?

I as well have tried multiple times to build using the shared link in a Ubuntu 1804 VM. Any suggestions would be great


Expose FilterQuality in DecorationImage

Currently DecorationImage uses FilterQuality.low to paint image and there is now way to change that. It would be great if DecorationImage exposes FilterQuality which defaults to FilterQuality.low and used in paintImage.

Hi @Afsar-Pasha
could you describe you proposal more in dept?
thank you

@iapicca updated issue.

thank you @Afsar-Pasha

@Afsar-Pasha FilterQuality.low should actually look pretty good despite the "low" in the name. It uses bilinear interpolation, which is not that much worse than bicubic. The issue might have been that we weren't passing the filter quality to the engine at all. I fixed it in https://github.com/flutter/flutter/pull/74854 yesterday, so you should see improvement on the master channel. Can you please give it a shot?

@Afsar-Pasha FilterQuality.low should actually look pretty good despite the "low" in the name. It uses bilinear interpolation, which is not that much worse than bicubic. The issue might have been that we weren't passing the filter quality to the engine at all. I fixed it in https://github.com/flutter/flutter/pull/74854 yesterday, so you should see improvement on the master channel. Can you please give it a shot?

@yjbanov looks like you misunderstood the issue, I meant DecorationImage uses hard coded FilterQuality.low for painting image and there's no way to change that, I would like to have an optional parameter filterQuality (defaults to FilterQuality.low) in DecorationImage which should be used to paint image instead of that hard coded value.

@yjbanov looks like you misunderstood the issue, I meant DecorationImage uses hard coded FilterQuality.low for painting image and there's no way to change that, I would like to have an optional parameter filterQuality (defaults to FilterQuality.low) in DecorationImage which should be used to paint image instead of that hard coded value.

You are right that DecorationImage hard-codes FilterQuality.low. However, prior to a recent fix we didn't apply filterQuality at all because it was applied conditionally:
https://github.com/flutter/flutter/blob/45e02daf22818b3cf0b9d57a39a8f1d511bf23c7/packages/flutter/lib/src/painting/decoration_image.dart#L476
So I think what you were actually seeing in your app was FilterQuality.none, not FilterQuality.low.
I'd be curious if DecorationImage looks better in your app. If it looks good then perhaps we don't need to customize filterQuality on DecorationImage?

Yeah that was the problem, now it looks good.
Sorry for not checking earlier, also thanks for the PR.


:wrench: feat: Add bun all:clean command

Description

Add clean all command that will run yarn clean and then build without nx cache

Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #622

PR #623   👈

This comment was auto-generated by Graphite.


[DO NOT REVIEW] Fix PYTHONPATH in pre-merge

Signed-off-by: Peixin Li<EMAIL_ADDRESS>Currently still try reproduce the issue #4316

build

build

build

build

build

build

build

build


Chained builders for list members

I have recently updated to the latest version of the plugin to allow me to use the new functionality in #33 for fluent builders. I am really enjoying using it and it has saved me so much work in manually creating the builders and data objects to interact with our API.
This has been really helpful for chaining builders together and allowing me to take an existing object, convert it to a builder, modify it then build back to an immutable object.
I am however seeing issues for members which are lists. The main XML schema we use has a lot of these and unfortunately, the chained builders don't seem to work, only the standard withA(A) type methods and addA() methods which will initialise a builder to add a new object to the list.
The issue comes when I want to take an existing data object and update one of the objects in the list with new values. The current methods provided do not give me any good way to chain my way through and modify these existing objects in the list using the newCopyBuilder() of the parent object without having to manually create builders for each of the list objects and provide them back to the builder without any of the chaining that has been so useful.
Is there any way to extend the current chained builders to allow us to use list-based members in the same way that single ones do, whereby we could call withA() and it initialises a builder for each member of the list and provide a way to access these builders using the standard chained builder idioms?
I'm guessing that this would involve some custom list implementation which would allow a List of builders to implement Builder and provide the .end() method to allow it to chain back to the parent object.
Hope this makes sense, can give a more concrete example if not.

Hi everybody,
I also had the need to update a builder, especially the existing builders of a collection property. There was no way to iterate over those and update them.
Although the BuilderList idea presented earlier looks very appealing as it supports the fluent builder approach I found that for this operation of updating an exiting builder I do not needed it.
I mostly need to traverse the builder in depth until I find the right sub-builder and to update some property. I do not need to be able to 'end' that builder and jump back to the parent to update it. If I need to update the parent then I can do it during the traversal.
So I realized that adding a getter for each builder field would solve my problem. With these getters I can read all existing builder fields, both the simple or the collection ones, which allows me to implement any kind of search/filter and update builder operation.
I implemented the generation of those getters under a new fluent-builder/getters option which is off by default.
Please have a look on this pull request and let me know if it is ok:
https://github.com/mklemm/jaxb2-rich-contract-plugin/pull/73


Temiloluwa Onaleye

please kindly update your code ny pulling the latest changes from the upstream, then push again.
git pull upstream main

git push origin main

please kindly update your code by pulling the latest changes from the upstream, then push again.
git pull upstream main

git push origin main

Please I am sorry for all the trouble we have caused you but count it all joy. Your PR is about to be merged and you will be able to see your name on this url.
To enable me to do this, READ the README again carefully, update your code with the latest and push the update. I am here for you for the next 6 hours before I close the PR so you can initiate a fresh PR which will be easier to merge.

Sorry I have to close this PR, kindly update your code and initiate a fresh PR
Cheers 🥂


revise scope of datasource & database-connector-driver.

Pull Request Test Coverage Report for Build 7203

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 51.888%

Totals

Change from base Build 7201:
0.0%

Covered Lines:
8176

Relevant Lines:
15757

💛  - Coveralls


Naqu district changed to Naqu City (Tibet Autonomous Region of China)   Update xizang.json

2018年4月25日，西藏自治区那曲地区正式公布撤地设市，这将是中国平均海拔最高、国土面积最大、最年轻的城市。2018年5月7日上午，西藏那曲市举行撤地设市挂牌仪式，那曲市从而成为西藏第六个地级市。

Brief Information
This pull request is in the type of:

[ ] bug fixing
[ ] new feature
[x] others

What does this PR do?

Fixed issues

Details
Before: What was the problem?

After: How is it fixed in this PR?

Usage
Are there any API changes?

[ ] The API has been changed.

Related test cases or examples to use the new APIs
NA.
Others
Merging options

[ ] Please squash the commits into a single one when merge.

Other information
There are no changes other than the title description

Sorry, but we will not keep maintaining the map data anymore. Feel free to publish it to your own repo.


Couldn't find the requested release version 1.0.4.

https://cdn.jsdelivr.net/github-cards/1.0.4/

The link is<EMAIL_ADDRESS>

released 1.0.5

There is still an error, when I use 1.0.5:


Feature request: iterate over all grid's cells for any given resolution.

Dear crate contributors,
I've been exploring the crate and am interested in iterating over a grid with a given resolution, to yield all CellIndexes for that resolution. However, I couldn't find an existing method to accomplish this. If this functionality doesn't currently exist, would it be feasible to add it as a feature?
Thank you for your hard work on this excellent crate!
Best regards

Thanks a lot for your quick answer ! This is exactly what I was looking for.


Bugfix: wordpress ingress: always delegate to service's HTTP port

In the current master, if you enable TLS in the ingress, it'll delegate to the service's https port (443), which in turn delegates to the pod's https port, where Wordpress wants to speak TLS (Bitnami's Wordpress image can terminate TLS internally). Since the ingress itself already terminates TLS, it'll end up trying to talk plain http to the pod's https port, resulting in

Bad Request
Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

This PR fixes this.

/ok-to-test


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.

@istio-testing: Adding do-not-merge/release-note-label-needed because the release note process has not been followed.

One of the following labels is required "release-note", "release-note-action-required", or "release-note-none".
Please see: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#write-release-notes-if-needed.
Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
1b38156996b815a7e2fbbdea6404b08161a7ef44
link
/test e2e-suite-rbac-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-suite-rbac-auth.sh
1b38156996b815a7e2fbbdea6404b08161a7ef44
link
/test e2e-suite-rbac-auth

prow/e2e-suite-rbac-no_auth.sh
1b38156996b815a7e2fbbdea6404b08161a7ef44
link
/test e2e-suite-rbac-no_auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Update gdcm

This is related to content in the GDCM pull request to suppress compiler warnings.
https://github.com/malaterre/GDCM/pull/105
PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)
[X] Added test (or behavior not changed)

Use the latest GDCM master branch to capture compiler warning fixes.   Related to GDCM PR
https://github.com/malaterre/GDCM/pull/105

OK, but there will need to be several master branch items layered on top of the release branch to get a clean build with clang-11 compiler identified warnings.

The ghostflow check for thirdparty is related to large files.  The merge commit seems to be do ing checks for files that we want to allow to be large.

@dzenanz Upstream GDCM release just added the custom ITK fixes to the release branch.  THANKS @malaterre.   This PR should be a cleaner version of the previous one.


Disable fade on iOS devices

On iOS, changing the volume parameter of <audio> elements has no effect (doc):

On iOS devices, the audio level is always under the user’s physical control. The volume property is not settable in JavaScript. Reading the volume property always returns 1.

So right now when you tap pause, the audio plays at max vol until fadeOut duration is over, then it stops playing.
I tested other cases like having fade set to 0 and didn't encounter any issues on iOS and non-iOS devices.

Awesome！

Awesome！


(WIP) Use inverted index for count(*), group by  queries

Trying to use inverted index for count(*) group by  since it could be much cheaper

SET "enableInvertedIndexGroupBy"=false;
select count(*), Origin from mytable group by Origin limit 1000

"numDocsScanned": 115545,
"numEntriesScannedPostFilter": 115545,
"totalDocs": 115545,

SET "enableInvertedIndexGroupBy"=true;
select count(*), Origin from mytable group by Origin limit 1000

"numDocsScanned": 3412,
"numEntriesScannedPostFilter": 6824,
"totalDocs": 115545,

Codecov Report

Merging #10382 (4ed4752) into master (246f4db) will decrease coverage by 6.09%.
The diff coverage is 13.33%.

@@             Coverage Diff              @@
##             master   #10382      +/-   ##
============================================
- Coverage     70.26%   64.17%   -6.09%
- Complexity     5940     5942       +2
============================================
  Files          2035     1982      -53
  Lines        110228   107869    -2359
  Branches      16748    16477     -271
============================================
- Hits          77447    69229    -8218
- Misses        27353    33614    +6261
+ Partials       5428     5026     -402

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
67.78% <13.33%> (+0.02%)
:arrow_up:

unittests2
13.75% <0.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

...lan/InvertedIndexFastCountStarGroupByPlanNode.java
0.00% <0.00%> (ø)

...edIndexFastCountStarGroupByProjectionPlanNode.java
0.00% <0.00%> (ø)

...va/org/apache/pinot/core/plan/GroupByPlanNode.java
60.93% <53.33%> (-28.86%)
:arrow_down:

...va/org/apache/pinot/common/config/NettyConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...a/org/apache/pinot/common/metrics/MinionMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...g/apache/pinot/common/metrics/ControllerMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/BrokerQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ache/pinot/server/access/AccessControlFactory.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...ache/pinot/common/messages/ForceCommitMessage.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...he/pinot/common/messages/SegmentReloadMessage.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 482 more

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


Significant update to re-implment all existing functionality from before upgrading to latest version of mkdocs

Updated the source application.js file to properly handle search urls
Updated the source header file to re-implement the corner icon like MJ had overwritten previously

header file also had to remove the "canonical" url because that displayed the incorrect name

Updated the source nav file because it wasn't quite correct from the updates I had made previously, to make sure the table of contents link navigation works properly
all other files were updated once running the source with yarn build to have the latest, compatible files

Updated verison, and removed most MJ references:

rolled the version over to 2.0.3 to prepare for new release
removed most references to MJ and replaced with generic Unidata ones

the one exception was I left the documentation link pointing to mjs github.io page since it's up and standing and I don't currently have time to re-implment this page on Unidata's repo

 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.awips 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.


OllamaSharp client integration missing from Ollama integration docs

The Community Toolkit has OllamaSharp as a client integration but it's not mentioned in the docs, so it should be added.

Is this what you're talking about?
https://learn.microsoft.com/en-us/dotnet/aspire/community-toolkit/ollama?tabs=dotnet-cli#client-integration


Kotlin M13

It doesn't work for 0.13.1513! I have to rollback to M12

New version will be available today.

I'm waiting for the release!

@yanex Could you please take a look at https://github.com/JetBrains/anko/issues/78 before releasing? asyncResult is basicly useless now.

@yanex Will it still be released today ?

Done. https://github.com/JetBrains/anko/releases/tag/v0.7


Adds DPUL logo to front page & favicon.

Closes #156.

Coverage remained the same at 100.0% when pulling 40cafd4a6a305f9642df9d08eb87f8483fd8a784 on pom_logo into 695174b0dc971720ce4a1163f9ed12ea4fe7d2d0 on master.


Question about abnormal response

Thanks for your awesome work again! When I run the pretrained code in the latest FSDP style code, I use the command here for a test.
python -m llava.eval.run_llava \
    --model-name /path/to/LLaVA-13B-v0 \
    --image-file "https://llava-vl.github.io/static/images/view.jpg" \
    --query "What are the things I should be cautious about when I visit here?"

But I got the output like this:

It seems that the model knows something about the image, but there are still some problems here that lead to a strange response.
Could you please help me with some possible reasons for that? Thank you very much!

Hi @Unrealluver, I noticed a similar issue with the current implementation of FSDP in pretraining, however, the finetuned model behavior is normal.
I am suspecting that there is something unexpected happening with the writeback of the embeddings here.
I am working on a refactoring of the framework, and it will be released very soon.  I think one temporary fix is as the other community member suggested: set the learning rate of all other modules to zero.

Hi @Unrealluver, the issue has been fixed, and I trained for very few iterations (400 iterations) with LLaVA-7B checkpoint, and verified the results are reasonable.
We have also successfully moved the LLaVA implementation all into a single code base, so that we do not need to upgrade transformers package for new features.  Please upgrade to the latest code base and reinstall the transformers package, following the instruction below.  Thanks.
git pull
pip uninstall transformers
pip install git+https://github.com/huggingface/transformers@cae78c46
pip install -e .

Hi @Unrealluver, the issue has been fixed, and I trained for very few iterations (400 iterations) with LLaVA-7B checkpoint, and verified the results are reasonable.
We have also successfully moved the LLaVA implementation all into a single code base, so that we do not need to upgrade transformers package for new features. Please upgrade to the latest code base and reinstall the transformers package, following the instruction below. Thanks.
git pull
pip uninstall transformers
pip install git+https://github.com/huggingface/transformers@cae78c46
pip install -e .

Thanks for your help, the latest commit truly solved the problem! But I found that the resume running will still face an error like bellow:

Here my checkpoint iter is 2400, when I stop the pertaining and resume to run, the program returns the RuntimeError.

Hi, thank you for pointing out this issue.. Since the pretraining on 8x A100s currently takes only around 2 hours (7B) and 4 hours (13B), I hope that it can be finished without interrupting.  I will investigate this issue later this week.  Thank you!

Thanks for your reply.

Hi, I am here to clarify the reason for the abnormal response. I noticed that in your latest code, we could get the true response, you switch the transformer library version to the version of the public repo and implement the llava model in .llava/model/llava.py. But I am still curious about the reason that leads to the abnormal response. Could you please give me more explanation about it? Thanks again!

hello? have you found the reasons? I think the author tried to solve the problem by this commit: https://github.com/haotian-liu/LLaVA/commit/871bbd4a5248510156629e00ee5042b74f74764c
In this commit, I found the previous solution to keep the original embeddings parameters is to copy and paste it each time forwarding. And in this commit, he tries to block the gradients of corresponding embeddings by detach. I have no idea why this differs.


Improve Readability and Maintainability of Data Purge Function (purge())

Describe the Issue
This issue proposes a refactoring of the purge function within the engine module for improved code readability and maintainability. The current implementation checks for resource presence, local changes, and force purge flag within nested conditional statements, potentially leading to less readable and maintainable code.
Suggested Changes:
The proposed refactor aims to achieve the same functionality with improved clarity by:

Combined check for local changes and force purge: Combine the checks for local changes (localChanges.isNotEmpty()) and the forcePurge flag within a single condition.
Concise comments: Add concise comments to explain the logic behind each step.
Reduced redundancy:

Benefits:

Improved code readability by separating concerns and using clear logic flow.
Enhanced maintainability by simplifying conditional checks and reducing nesting.
Potentially clearer code for future developers working on this functionality.

Attached Code Snippets:
Include the current and proposed code snippets within the issue description for easy reference:
Current Code:
override suspend fun purge(type: ResourceType, ids: Set<String>, forcePurge: Boolean) {
    db.withTransaction {
      ids.forEach { id ->
        // To check resource is present in DB else throw ResourceNotFoundException()
        selectEntity(type, id)
        val localChangeEntityList = localChangeDao.getLocalChanges(type, id)
        // If local change is not available simply delete resource
        if (localChangeEntityList.isEmpty()) {
          resourceDao.deleteResource(resourceId = id, resourceType = type)
        } else {
          // local change is available with FORCE_PURGE the delete resource and discard changes from
          // localChangeEntity table
          if (forcePurge) {
            resourceDao.deleteResource(resourceId = id, resourceType = type)
            localChangeDao.discardLocalChanges(
              token = LocalChangeToken(localChangeEntityList.map { it.id }),
            )
          } else {
            // local change is available but FORCE_PURGE = false then throw exception
            throw IllegalStateException(
              "Resource with type $type and id $id has local changes, either sync with server or FORCE_PURGE required",
            )
          }
        }
      }
    }
}

Proposed Code:
  override suspend fun purge(type: ResourceType, ids: Set<String>, forcePurge: Boolean) {
    db.withTransaction {
      ids.forEach { id ->
        // 1. Verify resource presence:
        selectEntity(type, id)

        // 2. Check for local changes and handle accordingly:
        val localChanges = localChangeDao.getLocalChanges(type, id)
        if (localChanges.isNotEmpty() && !forcePurge) {
          throw IllegalStateException(
            "Resource with type $type and id $id has local changes, either sync with server or FORCE_PURGE required"
          )
        }

        // 3. Delete resource and discard local changes (if applicable):
        resourceDao.deleteResource(id, type)
        if (localChanges.isNotEmpty()) {
          localChangeDao.discardLocalChanges(id, type)
        }
      }
    }
  }

This approach provides a clear and concise issue description for the Android FHIR repository, promoting collaboration and potential code improvement.
Would you like to work on the issue?
Yes 🚀

Thanks @itstanany. This looks good to me!


Sfdx force:auth:jwt:grant not storing the authorized Dev HUb details in the current project

Summary
All the commands after the Dev Hub authorization using JWT flow fails with error message:
"We couldn't create this sandbox or scratch org because the associated Dev Hub isn't authorized. Authorize the Dev Hub and try again"
Steps To Reproduce:

Have a JWT key file and set up the Connected App on yor Dev Hub.
Execute the below command from SFDX project
sfdx force:auth:jwt:grant --clientid <> --jwtkeyfile C:\Users\Lenovo\JWT\server.key --username <> --setdefaultdevhubusername --setalias my-hub-org --json

Above command returns the result as below:
{
"status": 0,
"result": {
"orgId": "OrgId",
"accessToken": "<<access_token>>",
"refreshToken": "<<refresh_token>>",
"instanceUrl": "<<domain_url>>",
"loginUrl": "https://login.salesforce.com",
"username": "<>",
"clientId": "PlatformCLI"
}
}

Now execute the below commands and you will see the issue.
sfdx force:org:list

No org is listed with Connected Status.
And if I execute the command to create scratch org it fails with below:
sfdx force:org:create -v my-hub-org -f config/project-scratch-def.json --json
{
"status": 1,
"name": "DevhubNotAuthorized",
"message": "We couldn't create this sandbox or scratch org because the associated Dev Hub isn't authorized. Authorize the Dev Hub and try again.",
"exitCode": 1,
"commandName": "OrgCreateCommand",
"stack": "DevhubNotAuthorized: We couldn't create this sandbox or scratch org because the associated Dev Hub isn't authorized. Authorize the Dev Hub and try again.\n    at Function.create (C:\Users\Lenovo\AppData\Local\sfdx\node_modules\salesforce-alm\node_modules\@salesforce\core\lib\sfdxError.js:141:16)\n    at OrgCreateCommand.resolveHubOrgContext (C:\Users\Lenovo\AppData\Local\sfdx\node_modules\salesforce-alm\dist\commands\force\org\create.js:47:40)",
"warnings": []
}
Expected result
DEVHUB should be authorized and can be used with other commands
Actual result
Authorzed dev hub is not stored on the local project.
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):  sfdx-cli/7.53.0-839fc82926 win32-x64 node-v10.15.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.2.3 (core)
@oclif/plugin-not-found 1.2.3 (core)
@oclif/plugin-plugins 1.7.9 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/lwc-dev-server 1.0.10
├─ @oclif/plugin-help 2.2.3
└─ @oclif/plugin-update 1.3.9
@salesforce/sfdx-trust 3.0.7 (core)
analytics 1.7.1 (core)
generator 1.1.2 (core)
salesforcedx 48.8.0
├─ @salesforce/sfdx-plugin-lwc-test 0.1.5
├─ salesforcedx-templates 48.8.0
└─ salesforce-alm 48.8.0
sfdx-cli 7.53.0 (core)
OS and version: Windows 10.

Seems like if we already authorize then the next authorization will not be stored with different alias.

Seems like if we already authorize then the next authorization will not be stored with different alias.

Even with the same alias, subsequent authorizations do not seem to be stored. Is that a bug, or by design?


init kicad-exports to run on all 'wip-revC[0-9]' branches

hi everyone!
after merging this pull request, whenever changes are made on the glasgow.sch or glasgow.kicad_pcb, a CI script will run to generate several files. This happens only on branches matching wip-revC[0-9] and if ERC+DRC are passed. The output will be written to hardware/boards/glasgow/revC[0-9].
Please take a look here about which files are generated. (schematic.pdf, schematic.svg, gerbers, bom, plots, 3d-model)
You might want to generate only specific files and not all of them. Please see the config.kibot.yaml about dis/enabling various output formats. There is also a huge set of options to configure the output.
Currently the kicad-exports.yaml is set up to commit all generated files back to Github. With all kinds of Github Actions these could also be stored somewhere else.
I put this on draft for discussion which files to generate/commit/upload somewhere else.

This does look useful, and is a nice idea (getting accessbile files like PDF by just committing) ... however:

A commit will appear after each and every push that changes the relevant files - this will necessitate force-pushing to maintain a clean history.
These files won't be final or reviewed by anyone (and people may well grab and build from them if gerbers are included)

I'd strongly prefer to avoid scripts making commits to an active / development branch... two alternative options:

Upload the files to some webhost, possibly even gh-pages, with a per-branch structure (can we clean up on branch delete?)
Using a "partner" branch instead might be more acceptable than sitting on top of the original branch, though it's still not great... for example:

user pushes to wip-revC2
the CI scripts produce files
scripts make a new branch (e.g: wip-revC2-ci or similar) that is made afresh from the top of wip-revC2 every time

no history, no merging
you'll need to be careful of existing branches that may match this name, but aren't related to the script's job

scripts commit & push

I don't like the filters you've got in place (e.g: filter.bom_csv.clean), and think they should all be removed. They remove the date / timestamps on commit, and reinsert "now" on checkout, which I think is 100% flawed - is there a particular reason you did this? (genuine question). Timestamps are critical information when reviewing files like this.

There are a couple of other issues (e.g: wrong title and links in README.md), but they're less problematic by themselves.

Thanks @attie, you've articulated my concerns also.


Sd 133 code generation error external refs

see https://github.com/swagger-api/swagger-parser/pull/273

Shouldn't we also consider the case of ComposedModel? (and I'm not sure if there are others).

@fehguy I just created this other pull request: https://github.com/swagger-api/swagger-parser/pull/284
that fixes a different but related case.

@fehguy you can close this case and merge instead https://github.com/swagger-api/swagger-parser/pull/285


[Feature Request] Table nested column key

Is your feature request related to a problem? Please describe.
I've been working with the NextUI Table component and found it to be very versatile for most use cases. However, I encountered a limitation when trying to display data from nested objects directly in the table columns.
Problem:
When trying to access nested object keys, like brand.name, there isn't a straightforward way to reference these nested keys within the column definitions of a NextUI Table.
Describe the solution you'd like
const columns = [
{
key: 'name',
label: 'Name',
},
{
key: 'description',
label: 'Description',
},
{
key: 'brand.name',
label: 'Brand',
Cell: (value) => {
return value.name;         <======== solution
}
},
];
maybe we can reach the nested value like this.
Describe alternatives you've considered
Implementing a custom function to handle the dot notation and pass the return value to the TableCell, but it feels like a workaround rather than a native feature of the Table.
Using other table libraries like react-table which supports this feature, but this would mean moving away from the integrated UI design system that NextUI provides.
I believe this feature would greatly enhance the developer experience and the utility of the NextUI Table for displaying complex data structures.
Thank you for considering this request.
Screenshots or Videos

Check this doc -> https://nextui.org/docs/components/table#custom-cells

hello there!
if object have nested object, then typescript throw an error about "this object cannot be assigned to a type ReactNode"
for example:
type ServerConnectionData = {
  ip: string;
  port: string;
  type: string;
}

interface Server {
  id: number;
  ip: string;
  connection_data: ServerConnectionData;
}

<TableCell>{renderCell(item, columnKey)}</TableCell>

"renderCell" function will throw an error ServerConnectionData cannot be assigned to a type ReactNode

test.copy.zip