Credential guard use case?

In this article there is this statement:
"...Even when the connection to Exchange Online PowerShell uses modern authentication, the credentials are stored in a local file or a secret vault that's accessed at run-time."
Would configuring Credential Guard on a VM used to connect to EXO via MFA suffice from a baseline perspective? Anticipate this causing connectivity issues?

Hi @jebalert, thank you for your feedback and help us to improve docs.microsoft.com.
Could you kindly confirm that article you are referring to? Thanks!

@dariomws Thank you very much for the contribution and digging deep into it.  @jebalert We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if you see an improvement is required in the specific area of this documentation. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Is it possible to "eager" without string wrapped array syntax?

Hello,
When querying using an "eager" array the syntax is a string wrapped array, which makes the query syntax very strict. If you forget to add a character space after the comma the whole query goes to hell.
Is there a way to "eager" query with an "object" syntax?
eg.
instead of :
.eager('[firstRelation(firstfilter), seconfRelation(secondFilter)])
do something like :
.eager({firstRelation:{filter:()=>{}},secondRealtion:{filter:()=>{}})

Yes https://vincit.github.io/objection.js/api/types/#relationexpression-object-notation

THank you very much!


Optional tasks are not marked correctly in O1 2021

This is how optional tasks look now. The plugin detects them using if (exercise.getMaxSubmissions() == 0 && exercise.getMaxPoints() == 0) which might have worked in the past, but in O1 2021 it does not.
Investigate whether that's intentional, and update the optional assignment detection criteria if necessary.

The task for this issue is to fix the problem in an ad hoc manner for O1. For a proper solution, see #801.


Correct Minor Issues

Some stuff left over from today is misspelled/grammatically incorrect/wordy, I will go fix that

Done


Differentiate between the user who signs in or up

Hi,
I have an option for my app to close new registrations. How can I differentiate between the user who signs in or signs up so I can prevent sign ups when close registration is active?
Thanks

For new social logins HybridAuth.newUser  event is triggered for which you need to set listener. So when you have registrations turned off just throw an exception from the event's callback instead of returning new user record.

@ADmad Thank you. I already added event's callback into users table but I'd like to make a redirect with a flash error message instead of exception but $this->redirect not work on models

You can use a custom exception and custom exception handler method where you can do the redirect.

Can you share a link so I can learn how to do this, please?

https://book.cakephp.org/3.0/en/development/errors.html#creating-your-own-application-exceptions
https://book.cakephp.org/3.0/en/development/errors.html#using-the-exceptionrenderer-option-of-the-default-handler

@ADmad Thanks, much appreciated.


[RDBMS] PostgreSQL, MySQL migration to GA API

Description

PostgreSQL flexible server migration to GA API
MySQL flexible server migration to GA API
Add feature for geo-restore
Add feature for high availability server restart failover
Change create command default from private scenario to public scenario
Add tests for network scenarios

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

RDBMS

@evelyn-ys  Can I get reviews for this PR? These are mostly migration to GA API and added bunch of tests for client side.

@evelyn-ys Can I get reviews for this PR? These are mostly migration to GA API and added bunch of tests for client side.

Can you resolve conflicts first?

@evelyn-ys Can I get reviews for this PR? These are mostly migration to GA API and added bunch of tests for client side.

Can you resolve conflicts first?

Haha thanks! Just resolved them!


Electron build files locked by VSCode

VSCode Version: 1.30.2
OS Version:
VSCode version: 1.30.2 (system setup)
submit: 61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
date: 2019-01-07T22:53:57.820Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Windows_NT ia32 10.0.17134

Steps to Reproduce:

an electron app to build
every time VSCode will locked the app.asar or electron.asar

Does this issue occur when all extensions are disabled?: Yes
I have to setting files.exclude and files.watcherExclude as follow:
"files.exclude": {
  "**/app.asar": true,
  "**/electron.asar": true,
  "build/**": true
}

"files.watcherExclude": {
  "**/app.asar": true,
  "**/electron.asar": true,
  "build/**": true
}

BUT, The previous VSCode version I used in July, that's ok!

I can also confirm this happening on Windows. It happens in both the integrated terminal and external terminal (Cmder in my case).
Quitting code and running electron build works successfully (as code has released the file). Starting code again will soon lock the file again (generally after an npm start or npm run script, so subsequent electron builds fail and you have to repeat the process. Very frustrating!

same here. i also tried disabling extensions (like  ESLint) without any relief..


Need to Dispose of Mongo Session on Service Shutdown

Currently, in those services that use Mongo, we do not dispose of the Session if the service shuts down. Affected services include:

core-data
core-metadata
export-client

The mgo documentation says closing the Session when you're done using it is required. I'm unsure if this is due to resources left open on the server, or is more specific to ensuring "causal consistency" for the client. Regardless, seems like good housekeeping.

Completed for core-data / core-metadata. @drasko please assign someone to take care of this in export-client. Thx.


[Auto-generated] Update dependencies

Update dependencies
Automatically created PR from ci/dependabot-updates.
For more information see the "Dependabot updates" workflow.
To-do

[x] Check that the diff is sensible, and that tests and builds pass with the new dependency versions.
[x] Make sure that the PR is squash merged, with a sensible commit message.

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

Comparison is base (2817c6e) 87.05% compared to head (42413a1) 87.29%.
 Consider uploading reports for the commit 69fc1bf to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #191      +/-   ##
==========================================
+ Coverage   87.05%   87.29%   +0.23%
==========================================
  Files          15       15
  Lines         425      425
==========================================
+ Hits          370      371       +1
+ Misses         55       54       -1

Flag
Coverage Δ

linux
87.29% <100.00%> (+0.23%)
:arrow_up:

windows
87.20% <ø> (+0.23%)
:arrow_up:

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

Files
Coverage Δ

oteapi_dlite/__init__.py
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

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


Add various utility meta-transforms to Beam.

These were inspired by some discussions at the Beam summit.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Shall we add this to https://beam.apache.org/documentation/programming-guide/#flatten as one of core PTransform?

Added a note about the Flatten alternative. I don't think Tee is important/core enough to add to the guide itself, but have been thinking it might be good to do a blog post calling out these and other utility transforms (like BatchElements).

These look really convenient. Especially for pipelines that might write out intermediate results or merge older pcollections (something the schrodinger use cases do a lot).

Added a note about the Flatten alternative. I don't think Tee is important/core enough to add to the guide itself, but have been thinking it might be good to do a blog post calling out these and other utility transforms (like BatchElements).

I personally discover useful transforms through the beam transform catalog so it'd be nice if some examples were included there.

I personally discover useful transforms through the beam transform catalog so it'd be nice if some examples were included there.

@robertwb do we need an issue or commit for this as well?
PTAL at website failures & please look at stage website content  before merge to see if the changes reflect your intent. Link should be available in the Summary tab of the Stage_GCS GithubAction run.
LGTM otherwise, thanks!

I personally discover useful transforms through the beam transform catalog so it'd be nice if some examples were included there.

@robertwb do we need an issue or commit for this as well?

Update the description to mention both.


New Feature request - Add Resource dropdown filter

Hi Tom,
Quick request. Would it be possible to add the filter for Resource dropdown list box? The issue is if its a huge enterprise application with resources many resource files is hard to find  right one. For example, our app had 120 plugins and each plugin has three files - validation issues , visual and non-visual exceptions (we using commend fields to store error codes, links and extra user info for code generation). Now try to find file you need in 360 list ... Its takes some scrolling for first time :)
Also would it be possible at the bottom add status bar and show path from solution dir  or full what ever easier ...

@JBaltika I did some improvements in the context of #129, maybe that improves usability in your case, too, since it now groups all the resources of the current project on top.

@JBaltika Any feedback?


Can not setup port with IO.Options

Hello,
I can't setup port with IO.Options in Android, When socket.connect(), it always connect to port 80,
try to add port in host url > "http://host : port", but useless, and i use example both Node.js server
and Android, Node.js can get port 3000, Android's socket.connect() can't...
Could someone know this issue ? many thanks!!

Please post how your setup looks like.

Closed due to inactivity.


Unable to start IPT service

Hi , i have build the winafl with INTELPT flag enabled, the build succeeds but when i try to run i get the following error saying Unable to start IPT service, missing PT support. My version of Windows 10 is 1809 build 17763.348.
Can i please know if i am doing something wrong.missing some installation steps?

Does your CPU support Intel PT? Are you running WinAFL in a VM or on raw hardware?

Intel PT won't work in a VM unless your VM software explicitly support it (I'm not sure if any do at this time).


Removed dependency on Afin using Vrt_common.Files

I am :+1: for this, but let's wait to get feedback from @ericbmerritt

I don't have a problem with this. It essentially reverts that change which makes sense.

The solution in https://github.com/afiniate/vrt/pull/16 is way more elegant:

trv is our bootstrapping library and includes some commons needed for bootstrapping
vrt is tooling and builds based on trv. vrt includes AWS specifics, Mosh, etc

Under the assumptions above, this PR makes no sense since the dump function included in it is now part of trv and therefore always available.


Investigate: Add CORP headers

Chrome 92 will force certain interactions to have a Cross-Origin-Resource-Policy: cross-origin header present.  Currently our CDN and Ingest do not return this header.  We need to investigate the impact this will have and whether we need to take action.  Chrome 92 is set for July.
FR for Demplatform team

Explainer
Customer can setup their web pages to be cross-origin isolated. This is done by returning the two response headers with the HTML document:
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin

After this, when the page requests a resource (e.g. external script), the browser will allow it in the page only if the resource includes this response header:
Cross-Origin-Resource-Policy: cross-origin

If the header is not present, or it has value of “same-origin” or “same-site”, the browser will not allow it on the page, and the following error will appear in the browser console:
net::ERR_BLOCKED_BY_RESPONSE.NotSameOriginAfterDefaultedToSameOriginByCoep

Impact
The impact on the Browser Agent is the following

it only impacts customers that explicitly enable cross-origin isolation on their HTML documents
with cross-origin isolation enabled, the second agent script (from js-agent.newrelic.com) will not load, and as a result the agent will not run at all

Resolution
In order to allow the agent to run in pages with cross-origin isolation, the following needs to happen:

the JS resources from js-agent.newrelic.com must include the “Cross-Origin-Resource-Policy” header with value “cross-origin”
the JSONP call from bam.nr-data.net (first agent harvest call) must also include the same response header

This is in process by another New Relic team and estimated to be released in the next 1-2 weeks.


Label description to long - must be at most 45 characters long

Plugin version
4.10.2
WooCommerce version
6.2.2
WordPress version
5.9.3
PHP version
7.4
What went wrong?
Issues with the character length for Woocommerce orders. As soons as we click to send the order over from WooCommerce to MyParcel we get this error. See screenshot: https://prnt.sc/ueQWNfB2tYQ0
Error:
"0 - data.shipments[0].options.label_description Must be at most 45 characters long - Unknown error:
{"code":0,"fields":["data.shipments[0].options.label_description"],"human":
["data.shipments[0].options.label_description Must be at most 45 characters long"]}. Please contact MyParcel."
Our WooCommerce orders are integrated to the popular WooCommerce Memberships extension, not sure if this has anything to do with it: https://woocommerce.com/products/woocommerce-memberships/
Reproduction steps
As soons as we click to send the order over from WooCommerce to MyParcel we get this error. See screenshot: https://prnt.sc/ueQWNfB2tYQ0
Relevant log output
"0 - data.shipments[0].options.label_description Must be at most 45 characters long - Unknown error:
{\"code\":0,\"fields\":[\"data.shipments[0].options.label_description\"],\"human\":
[\"data.shipments[0].options.label_description Must be at most 45 characters long\"]}. Please contact MyParcel."

Additional context
https://prnt.sc/ueQWNfB2tYQ0

Dear @jojoba007 ,
Thank you for posting your message.
We started working on this issue and we have solved the problem in the latest version of the MyParcel WooCommerce plugin (v4.11.0).


PostgreSQL type boolean

Dialect: PostgreSQL
failing sql:
CREATE TABLE demo (
    rowname boolean
)

or i guess in sqldelight it will be BOOLEAN ?
https://www.postgresql.org/docs/9.5/datatype-boolean.html
currently this throws
Caused by: java.lang.IllegalArgumentException: Unknown kotlin type for sql type boolean
...

In MySQL, BOOLEAN is just a synonym for TINYINT(1), so it's just a glorified integer. In PostgreSQL, BOOLEAN is its own separate type, and to retrieve it as 0 or 1 it'd need to be casted to an integer.
I verified this behavior by doing what you said, and added the following case to this when expression:
booleanDataType != null -> IntermediateType(IntermediateType.SqliteType.INTEGER, BOOLEAN)

And changed the dog table in dog.sq to:
CREATE TABLE dog (
  name VARCHAR(8) NOT NULL,
  breed TEXT NOT NULL,
  is_good BOOLEAN NOT NULL
);

Running the integration tests results in the following exception as expected:
org.postgresql.util.PSQLException: ERROR: column "is_good" is of type boolean but expression is of type bigint
  Hint: You will need to rewrite or cast the expression.
  Position: 33
    at …

able to push a branch? interested in playing around with it for a bit.
i think what this will probably result in is separate runtimes as well likeruntime-postgres which extends SqlCursor to have a getBoolean() or whatever function.

Literally just a two line change, but here ya go: https://github.com/veyndan/sqldelight/tree/sql-psi-156/boolean

having a different runtime could also allow proper wrapping for the TIMESTAMP types correct ?
i assume the postgres driver exposes function to send and retrieve those
and i bet there is more PG specific data types i just did not try to use yet

yea I would expect the timestamp stuff is also going to have the same problem

Another related datatype could be UUID. Postgres supports uuids as a first class type, but currently sql-psi binds them as a string type. #289 This is awkward when querying, as UUIDs returned from a query will be a String, but using UUID as a query parameters requires a manual cast to VARCHAR. I'm unsure of the query performance impact this has.
It looks like pgsql's implementation of JDBC ResultSet allows getting UUID's natively. Looks like it also supports getting Date objects as well.

fixed on sqldelight master


docs: Update rust bindings example for PRQL compiler v0.4.0

Updated the Rust Bindings example from the PRQL book so it compiles by including sql::Options.
The previous example wouldn't compile.

Thank you very much @nkicg6 !

Jotting down a couple of thoughts for the future:

It would be better if we could have this in our docstring, have it tested, and then include_str into the book
We could add something like this to the book/Cargo.toml to update the version on every release.

Thanks for the tip @max-sixty, good idea. I'll take a swing at that and tag you in the next few days

Thanks for the tip @max-sixty, good idea. I'll take a swing at that and tag you in the next few days

That would awesome @nkicg6


[CSGen] Closure analyzer shouldn't walk into local some decls/patterns

While trying to gather all references to external variables, analyzer
shouldn't walk into patterns and any local declarations except to
pattern bindings, because decls do not participate in inference and
patterns cannot contain references analyzer is looking for.

@swift-ci please test

@swift-ci please test source compatibility

@swift-ci please test source compatibility

@swift-ci please test

@swift-ci please smoke test


This is not a kotlin exercise

URL of codelab

I am not with Google.
If you go to the bottom of the page and select another language, it goes to the correct lab.

Hi @fox-zhw
Thank you for writing in and bringing this to our attention.
It has been reported to our localization team so it can be addressed.
Hope you are enjoying the course!
Regards.


old but new - info["meas_date"] must be a datetime object in UTC...

The following command returns an old error (likely system incompatibility?); mne-python is up to date. The plotting of the AverageTFR named "blah" otherwise works on a linux system.
===========
blah is an  'AverageTFR'
Describe the bug
blah.plot() returns
Traceback (most recent call last):
File "", line 1, in
blah.plot()
File "", line 21, in plot
File "C:\Users\vv221713\AppData\Local\Continuum\anaconda3\lib\site-packages\mne\time_frequency\tfr.py", line 1205, in plot
exclude=exclude, verbose=verbose)
File "", line 21, in _plot
File "C:\Users\vv221713\AppData\Local\Continuum\anaconda3\lib\site-packages\mne\time_frequency\tfr.py", line 1227, in _plot
baseline, exclude, copy)
File "C:\Users\vv221713\AppData\Local\Continuum\anaconda3\lib\site-packages\mne\time_frequency\tfr.py", line 2372, in _preproc_tfr_instance
picks = _picks_to_idx(tfr.info, picks, exclude='bads')
File "C:\Users\vv221713\AppData\Local\Continuum\anaconda3\lib\site-packages\mne\io\pick.py", line 986, in _picks_to_idx
orig_picks)
File "C:\Users\vv221713\AppData\Local\Continuum\anaconda3\lib\site-packages\mne\io\pick.py", line 1035, in _picks_str_to_idx
with_ref_meg=with_ref_meg)
File "C:\Users\vv221713\AppData\Local\Continuum\anaconda3\lib\site-packages\mne\io\pick.py", line 922, in _pick_data_channels
**_PICK_TYPES_DATA_DICT)
File "C:\Users\vv221713\AppData\Local\Continuum\anaconda3\lib\site-packages\mne\io\pick.py", line 383, in pick_types
exclude = _check_info_exclude(info, exclude)
File "C:\Users\vv221713\AppData\Local\Continuum\anaconda3\lib\site-packages\mne\io\pick.py", line 295, in _check_info_exclude
info._check_consistency()
File "C:\Users\vv221713\AppData\Local\Continuum\anaconda3\lib\site-packages\mne\io\meas_info.py", line 693, in _check_consistency
% (prepend_error, repr(self['meas_date']),))
RuntimeError: info["meas_date"] must be a datetime object in UTC or None, got "'(1559814887, 215756)'"
System info
I am using spyder 3.7
mne sys_info
Platform:      Windows-10-10.0.17763-SP0
Python:        3.7.4 (default, Aug  9 2019, 18:34:13) [MSC v.1915 64 bit (AMD64)]
Executable:    c:\users\vv221713\appdata\local\continuum\anaconda3\python.exe
CPU:           Intel64 Family 6 Model 142 Stepping 10, GenuineIntel: 8 cores
Memory:        15.9 GB
mne:           0.20.5
numpy:         1.16.5 {blas=mkl_rt, lapack=mkl_rt}
scipy:         1.3.1
matplotlib:    3.1.1 {backend=Qt5Agg}
sklearn:       0.21.3
numba:         0.45.1
nibabel:       Not found
cupy:          Not found
pandas:        0.25.1
dipy:          Not found
mayavi:        Not found
pyvista:       Not found
vtk:           Not found
Steps to reproduce
〈Replace this text with a code snippet or minimal working example MWE to
replicate your problem, using one of the built-in datasets, preferably the
one called sample. If you can't replicate on a built-in dataset, provide also
a link to a small, anonymized portion of your data that does yield the error.〉
Expected results
〈Replace this text with a clear and concise description of what you expected to
happen.〉
Actual results
〈Replace this text with the actual output, traceback, screenshot, or other
description of the results.〉
Additional information
〈Replace this text with the output of mne.sys_info().〉

if you read the tfr from disk? can you replicate using sample data?

When we read from h5 files we probably need to be careful about converting meas_date tuple to datetime objects. It makes sense that this could happen, I can try to fix it soon

yes, same error when reading from local disk

I suspect it's IO with .h5 files. @larsoner ?

larsoner commented 6 minutes ago
When we read from h5 files we probably need to be careful about converting meas_date tuple to > datetime objects.

Read your emails more carefully @agramfort :)


        This function runs the passed coroutine, taking care of
        managing the asyncio event loop and finalizing asynchronous
        generators.

        This function cannot be called when another asyncio event loop is
        running in the same thread.

        If debug is True, the event loop will be run in debug mode.

        This function always creates a new event loop and closes it at the end.
        It should be used as a main entry point for asyncio programs, and should
        ideally only be called once.

        If the argument is a coroutine, it is wrapped in a Task.

        WARNING: It would be disastrous to call run_until_complete()
        with the same coroutine twice -- it would wrap it in two
        different Tasks and that can't be good.

        Return the Future's result, or raise its exception.
        """
        self._check_closed()
        self._check_running()

        new_task = not futures.isfuture(future)
        future = tasks.ensure_future(future, loop=self)
        if new_task:
            # An exception is raised if the future didn't complete, so there
            # is no need to log the "destroy pending task" message
            future._log_destroy_pending = False

        future.add_done_callback(_run_until_complete_cb)
        try:
            self.run_forever()
        except:
            if new_task and future.done() and not future.cancelled():
                # The coroutine raised a BaseException.
E                   RuntimeError: No response returned.

        This function runs the passed coroutine, taking care of
        managing the asyncio event loop and finalizing asynchronous
        generators.

        This function cannot be called when another asyncio event loop is
        running in the same thread.

        If debug is True, the event loop will be run in debug mode.

        This function always creates a new event loop and closes it at the end.
        It should be used as a main entry point for asyncio programs, and should
        ideally only be called once.

        If the argument is a coroutine, it is wrapped in a Task.

        WARNING: It would be disastrous to call run_until_complete()
        with the same coroutine twice -- it would wrap it in two
        different Tasks and that can't be good.

        Return the Future's result, or raise its exception.
        """
        self._check_closed()
        self._check_running()

        new_task = not futures.isfuture(future)
        future = tasks.ensure_future(future, loop=self)
        if new_task:
            # An exception is raised if the future didn't complete, so there
            # is no need to log the "destroy pending task" message
            future._log_destroy_pending = False

        future.add_done_callback(_run_until_complete_cb)
        try:
            self.run_forever()
        except:
            if new_task and future.done() and not future.cancelled():
                # The coroutine raised a BaseException.
E                   RuntimeError: No response returned.

        This function runs the passed coroutine, taking care of
        managing the asyncio event loop and finalizing asynchronous
        generators.

        This function cannot be called when another asyncio event loop is
        running in the same thread.

        If debug is True, the event loop will be run in debug mode.

        This function always creates a new event loop and closes it at the end.
        It should be used as a main entry point for asyncio programs, and should
        ideally only be called once.

        If the argument is a coroutine, it is wrapped in a Task.

        WARNING: It would be disastrous to call run_until_complete()
        with the same coroutine twice -- it would wrap it in two
        different Tasks and that can't be good.

        Return the Future's result, or raise its exception.
        """
        self._check_closed()
        self._check_running()

        new_task = not futures.isfuture(future)
        future = tasks.ensure_future(future, loop=self)
        if new_task:
            # An exception is raised if the future didn't complete, so there
            # is no need to log the "destroy pending task" message
            future._log_destroy_pending = False

        future.add_done_callback(_run_until_complete_cb)
        try:
            self.run_forever()
        except:
            if new_task and future.done() and not future.cancelled():
                # The coroutine raised a BaseException.
E                   RuntimeError: No response returned.
 View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.8 starlette-newest

Shell Script

Took 0 min 19 sec . View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.8 starlette-newest

Shell Script

Took 0 min 20 sec . View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.9 starlette-newest

Shell Script

Took 0 min 20 sec . View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.9 starlette-newest

Shell Script

Took 0 min 17 sec . View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.10-rc starlette-newest

Shell Script

Took 0 min 16 sec . View more details on here
Description: ./tests/scripts/docker/run_tests.sh python-3.10-rc starlette-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-python-3.8-prometheus_client-newest

Restore files previously stashed

Took 0 min 0 sec . View more details on here
Description: coverage-python-3.9-prometheus_client-newest

Archive the artifacts

Took 0 min 0 sec . View more details on here
Description: [2021-06-24T16:33:00.543Z] Archiving artifacts
Python-python-3.10-rc-starlette-newest tests failed

Error signal

Took 0 min 0 sec . View more details on here
Description: Python-python-3.8-starlette-newest tests failed : hudson.AbortException: script returned exit code 2

Log output
Expand to view the last 100 lines of log output

[2021-06-24T16:32:10.575Z] ERROR: No such saved stash ‘coverage-python-3.9-prometheus_client-newest’
[2021-06-24T16:32:20.875Z] + python3 -m coverage combine
[2021-06-24T16:32:59.598Z] + python3 -m coverage xml
[2021-06-24T16:32:59.633Z] [Cobertura] Skipping Cobertura coverage report as build was not SUCCESS or better ...
[2021-06-24T16:32:59.633Z]
[2021-06-24T16:33:00.045Z] + curl -sLO https://code.jquery.com/jquery-3.3.1.slim.min.js
[2021-06-24T16:33:00.349Z] + curl -sLO<EMAIL_ADDRESS>[2021-06-24T16:33:00.543Z] Archiving artifacts
[2021-06-24T16:33:00.699Z] Stage "Building packages" skipped due to earlier failure(s)
[2021-06-24T16:33:00.792Z] Stage "Integration Tests" skipped due to earlier failure(s)
[2021-06-24T16:33:00.891Z] Stage "Benchmarks" skipped due to earlier failure(s)
[2021-06-24T16:33:01.089Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-24T16:33:01.132Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-24T16:33:01.224Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-24T16:33:01.316Z] Stage "Prepare Release" skipped due to earlier failure(s)
[2021-06-24T16:33:02.603Z] Running on worker-1225339 in /var/lib/jenkins/workspace/hon_apm-agent-python-mbp_PR-1174
[2021-06-24T16:33:02.717Z] [INFO] getVaultSecret: Getting secrets
[2021-06-24T16:33:02.769Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2021-06-24T16:33:04.908Z] + chmod 755 generate-build-data.sh
[2021-06-24T16:33:04.908Z] + ./generate-build-data.sh https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1174/ https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1174/runs/1 FAILURE 1611092
[2021-06-24T16:33:04.908Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1174/runs/1/steps/?limit=10000 -o steps-info.json
[2021-06-24T16:33:10.067Z] INFO: curl https://apm-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/apm-agent-python/apm-agent-python-mbp/PR-1174/runs/1/tests/?status=FAILED -o tests-errors.json

:bug: Flaky test report
:grey_exclamation: There are test failures but not known flaky tests.

Expand to view the summary

Test stats :test_tube:

Test
Results

Failed
6

Passed
9541

Skipped
8676

Total
18223

Genuine test errors
:broken_heart: There are test failures but not known flaky tests, most likely a genuine test failure.

Name: Initializing / Test / Python-python-3.10-rc-3 / test_exception – tests.contrib.asyncio.starlette_tests
Name: Initializing / Test / Python-python-3.10-rc-3 / test_capture_headers_body_is_dynamic – tests.contrib.asyncio.starlette_tests
Name: Initializing / Test / Python-python-3.8-2 / test_exception – tests.contrib.asyncio.starlette_tests
Name: Initializing / Test / Python-python-3.8-2 / test_capture_headers_body_is_dynamic – tests.contrib.asyncio.starlette_tests
Name: Initializing / Test / Python-python-3.9-1 / test_exception – tests.contrib.asyncio.starlette_tests
Name: Initializing / Test / Python-python-3.9-1 / test_capture_headers_body_is_dynamic – tests.contrib.asyncio.starlette_tests

The new version of the BaseHTTPMiddleware from Starlette that uses anyio now raises a RuntimeError if there's no response to stream. This raise obfuscates the actual exception that we're trying to handle in our middleware. (Raising an error definitely means there's no response to stream.)
Seems like the best solution is to move to an ASGI middleware directly, instead of using Starlette's helper class BaseHTTPMiddleware.


Coverage GUI: Show partial affects Coverpoints, not groups

In the HTML GUI, when disabling "Show partial" coverpoints with less then 100% coverage are filtered, but not the complete covergroup (if the group contains at least one coverpoint with 100% coverage). The filtered coverpoint of removed from the covergroup completely, yielding the strange effect, that the covergroups shows up with 100% coverage, but with a yellow font color.
In my opinion, the "Show partial" filter should by applied to complete covergroups, not individual coverpoints.

The same seems to apply for the other filters, these also work on coverpoints, not groups.
Also there seems to be some issues with re-opening the same file without a page reload, which sometime causes duplicate to show up in the GUI after using filters, but I was not yet able to reproduce this completely.

Hi nrother,
The behaviour of the buttons was strange indeed and I agree that it is more intuitive to filter by covergroup rather than coverpoint.
I have implemented this behavior, available on the main branch here: https://github.com/amiq-consulting/fc4sc/commit/2550a01aa2e34f77a86f43e9babdf3f1cf24806c
Regarding your second issue: Yes, I have also noticed that while testing the new filter functionality. The commit above should fix that (assuming we did experience the same issue).
Thank you.
Best Regards,
Dragos Dospinescu

I haven't noticed the problem duplicated content anymore, so looks like this was fixed as well. Thank you for the quick fix!


Fix Auto-Layout issue on StdEnclosureView

Per #936, the StdEnclosureView on ArticeListView currently conflicts with and obscures the status bar, despite both being in separate view hierarchies. The solution is to make sure that the enclosure view pushes the ArticleView up. This can be achieved by putting both in a stack view and then adding the enclosure view at runtime.

I already have a working solution. The stack view was indeed a simple fix. Will be pushing a PR once the other two are merged, to avoid merge conflicts.


[UI] Fixing the Registration, Login Forms and new campground form

Description
I intend to make the login and registration forms more visually appealing.
Current Behavior
Currently, the design of these pages can use a little work.  There is not enough padding. The container Element's too big. The inputs are unnecessarily stretched. I intend to change this into a visually appealing page which is pleasing to look at, uses whitespace and is hierarchical

The Image in the form in my opinion, is a bit unnecessary to be honest, given that we already do have a background image of the same nature. Again, We can add a bit more padding and give the inputs outlines, placeholders and the container a black box shadow.

Proposed Behavior
I intend to make things a little more visually attractive. I was thinking that maybe we could use something like bootswatch.com? It's a library built on top of bootstrap along with a little bit more of character. However, This is just an idea. I can make this better with just vanilla css too.

Hey @satyamohlan , someone is already working on the login and register page. I'll check whether they are still working on it and let you know. but feel free to proceed with improving the New Campground and Edit Campground UI.

Did you get any update from that person?

No, You can proceed!

Hey @satyamohlan, what are the pages you're currently working on?

Hey @satyamohlan, if I don't hear back from you soon, I may need to assign this issue to someone else. Please let me know if you're still working on it.

Hi @Vignesh025  I am really sorry for not keeping you up-to-date. I had been really sick for the past 5 days. So I was not able to do the work. I will send it to you asap now, I promise


Can we add multiple audios?

I tried some things with PlayerJS but it didnt work.
My point is add to audio track from in mkv tracks or external mka files. Is it possible?

You could try implementing something like that:
https://gingertech.net/2011/05/01/html5-multi-track-audio-or-video/
<video id="v1" poster=“video.png” controls>
 <source src=“video.ogv” type=”video/ogg”>
 <source src=“video.mp4” type=”video/mp4”>
</video>

<script type="text/javascript">
video = document.getElementsByTagName("video")[0];

for (i=0; i < video.audioTracks.length; i++) {
  if (video.audioTracks[i].language.substring(0,2) === "fr") {
    video.audioTracks[i].enabled = true;
  } else {
    video.audioTracks[i].enabled = false;
  }
}
</script>

i saw that example when i research aboout it but there are some codes about interface and i dont know where i put that interface codes. I tried to put in javascript codes but it gave error about syntax (i using Visual Studio be editor and i putted interface codes to script tags in HTML) Can you help me about tahat interface codes?
`interface HTMLMediaElement : HTMLElement {
[...]
// tracks
readonly attribute AudioTrackList audioTracks;
readonly attribute VideoTrackList videoTracks;
};
interface AudioTrackList : EventTarget {
readonly attribute unsigned long length;
getter AudioTrack (unsigned long index);
AudioTrack? getTrackById(DOMString id);
       attribute EventHandler onchange;
       attribute EventHandler onaddtrack;
       attribute EventHandler onremovetrack;

};
interface AudioTrack {
readonly attribute DOMString id;
readonly attribute DOMString kind;
readonly attribute DOMString label;
readonly attribute DOMString language;
attribute boolean enabled;
};
interface VideoTrackList : EventTarget {
readonly attribute unsigned long length;
getter VideoTrack (unsigned long index);
VideoTrack? getTrackById(DOMString id);
readonly attribute long selectedIndex;
       attribute EventHandler onchange;
       attribute EventHandler onaddtrack;
       attribute EventHandler onremovetrack;

};
interface VideoTrack {
readonly attribute DOMString id;
readonly attribute DOMString kind;
readonly attribute DOMString label;
readonly attribute DOMString language;
attribute boolean selected;
};`

Don't know really. Consider it's an old abandoned project. Feel free to rewrite it.

I think i found the problem: that interface codes seems for browsers, Audiotracks work with microsoft edge browser but not working with chrome and mozilla. I was using chromium for your project because my video file is HEVC (x265) mkv this not working with other browsers. I have no idea what can i do for AudioTrack change in Chromium.


skip_deploy_on_missing_secrets is not supported

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Set up a build task and do not include the `` parameter

steps:
- task: AzureStaticWebApp@0
  inputs:
    app_location: 'MyApp'
    app_build_command: 'dotnet build'
    output_location: 'wwwroot'
    skip_deploy_on_missing_secrets: true
    # azure_static_web_apps_api_token: $(api_token)

Here is the error
Verbose logging enabled
deployment_token was not provided.
The deployment_token is required for deploying content. If you'd like to continue the run without deployment, add the configuration skip_deploy_on_missing_secrets set to true in your deployment configuration file
An unknown exception has occurred
Failed to record upload telemtry.

Hey @brianharwell we need to make this logging message more concrete. We are expecting this to be an environment variable not an input. If you specify it as an env var this should work.

I have the same problem and although I have added "skip_deploy_on_missing_secrets" as an environment variable (I just added it in the variables configuration), I still get the error "The deployment_token is required for deploying content. If you'd like to continue the run without deployment, add the configuration skip_deploy_on_missing_secrets set to true in your deployment configuration file". All I want is the single page application we have to only build in the build pipeline and then in the release pipeline to not build it, but deploy it - in the same way we do it with our Azure Function Apps. I get this behavior either when I use a YAML or use the "deploy azure static web app [preview]" task...

All I want is the single page application we have to only build in the build pipeline and then in the release pipeline to not build it, but deploy it - in the same way we do it with our Azure Function Apps.

That's exactly what I am trying to do

@kareldeman can you share your workflow file? Also what source control provider are you using?

Here is the YAML for the Static Web App (which is in preview) task I added:
steps:
- task: AzureStaticWebApp@0
  displayName: 'Static Web App: '
  inputs:
    workingDirectory: '$(System.DefaultWorkingDirectory)/_FE_Client'
    app_location: /MVP
    app_build_command: 'npm run build -- web'
    output_location: dist/apps/web
    skip_app_build: false
    verbose: false

Notice I did not provide the $(deployment_token) as I don't want the above to deploy. I added the "skip_deploy_on_missing_secrets" to the Pipeline variables and set it to true:

In the Initialize Job I can see the "skip_deploy_on_missing_secrets" in the "environment variables available are below" section:

With the above, I still get the following error:

I received the same issue today. Had you resolved it @kareldeman ?


Add griffe to check for breaking changes

[ ] I have read and agree to the contributing guidelines for submitting new pull requests.

Describe your changes
Issue ticket number and link

Involves some complexity getting it to run in CI. Maybe wait for https://github.com/mkdocstrings/griffe/issues/334 to develop a bit more.


Modal Not Closing in  a React Component

I am using Rails 4.2.5 with React. I can open the modal but the close button wont close the modal. It only closes with the esc key and if I click the image. Any ideas?

  <button className="close-button" data-close aria-label="Close reveal" type="button">
    ×
  </button>

Try changing data-close and data-reveal to data-close="" and data-reveal="".
Just come across this in "The Complete React Web App Developer Course" Udemy course by Andrew Mead, but I'm not yet clear as to exactly what it's doing...

@gwynevans Cool. I'll have a go later. Thanks.

@gwynevans It's been awhile. Works. Thanks.


Chapter 1 Errata

Just finished going through chapter 1! Great stuff you guys have here, and I'm excited to see the rest.
I did notice just two minor nitpicks within the example code while going through:
Chapter 1 - Setting up renderpass code
init_commands is shown before it is created. Looks like the commands and renderpass sections may have traded places at one point?
Chapter 1 - Setting up Vulkan commands
vkinit::command_pool_create_info should have VkCommandPoolCreateFlags parameter instead of VkCommandPoolResetFlags

Good find. It was indeed swapped. Ive fixed the issue


Specification of code structure and file naming

Currently, there are some confusing names for files, properties and configurations, such as WEMQ, Access, Proxy, etc. Please normalize the naming of these contents.

How to normalize?

You do this optimization for code under the 1.3.0 branch

@xwm1992 @MajorHe1 I suggest do it on 1.2.2 so it can be published on the coming release of 1.2.


The Modded AICoverGen (for Colab Free) Broke

The other cells worked fine but "Run WebUI" keeps getting an "ImportError" all of a sudden. What happened?

The exact same error occurred with the google colab version of the original aicovergen.

Same problem here
/content/RVC
2024-02-09 17:29:08.261611: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2024-02-09 17:29:08.261672: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2024-02-09 17:29:08.263645: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-02-09 17:29:08.274990: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-02-09 17:29:10.172294: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
2024-02-09 17:29:17 | INFO | faiss.loader | Loading faiss with AVX2 support.
2024-02-09 17:29:17 | INFO | faiss.loader | Successfully loaded faiss with AVX2 support.
Traceback (most recent call last):
File "/content/RVC/app.py", line 19, in
import gradio as gr
File "/usr/local/lib/python3.10/dist-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/usr/local/lib/python3.10/dist-packages/gradio/components.py", line 37, in
from gradio_client.documentation import document, set_documentation_group
ImportError: cannot import name 'set_documentation_group' from 'gradio_client.documentation' (/usr/local/lib/python3.10/dist-packages/gradio_client/documentation.py)

مرحبا


Question about Loader in demo_cocoa.ipynb

Hi, I met a problem in demo_cocoa.ipynb, it seems that the problem is from yaml package, then I try to change the yaml.load(f) to yaml.safe_load or full load, or add a argument loader, but the result is still the same. Does someone knows how to deal with this issue? Thank you in advance.

Replace yaml.load(f) with yaml.load(f, Loader=yaml.FullLoader)

I have met the same problem. Is there any solution now?

yaml.safe_load(f) works for me


DefaultCompactionPlanner not seeing updated deprecated properties

Describe the bug
Changing tserver.compaction.major.thread.files.open.max in 2.1 requires a tserver bounce to take effect. User remote debugged the tserver and found that configs only contained the new properties, not the deprecated ones.
Versions (OS, Maven, Java, and others, as appropriate):

Affected version(s) of this project: 2.1.0

Expected behavior
As the new and old properties are marked as mutable, would expect that changes to the old deprecated properties would have an effect.
Additional context
Workaround: use new properties. If using old properties, user may not be able to determine if changes to properties values are taking effect.

Background:  During the upgrade process, properties are processed, renamed and the stored in DeprecatedPropertyUtil  One interesting thing is the javadoc for getReplacementName says:
This is expected to be used only with system properties stored in the SiteConfiguration and ZooConfiguration, and not for per-table or per-namespace configuration in ZooKeeper.

With the property conversion into a single node, all ZooKeeper properties are processed and renamed, including per-namespace and per-table.
So that there is one canonical source / value  it seems desirable to keep the properties "normalized" with a single name (ideally the "new" name) otherwise there could be issues with property hierarchy inheritance.  Using the example tserver.compaction.major.thread.files.open.max - the new name is tserver.compaction.major.service.default.planner.opts.maxOpen if this was set as a system property it would be converted to the new name. If it was overridden on a table and NOT converted, what name would be the correct value to apply to the table?  Performing the conversion removes this ambiguity.
To keep a canonical name (the new name) there are (at least) two possible approaches.

Perform the check / conversion each time the property is set and display a warning that the conversion occurred.
Fail the set with an appropriate warning.

I'll take a run at option 1 unless someone has a better path forward.

The previous comment was based on the thought that the rename was handling more that the manager conversion - more investigation is needed.
From a quick look, both version of the compaction file open max are present as a default, and both can be set as a system property, so not sure why the update would not be visible.

I think this is probably sufficiently resolved by #3680 , but can be reopened if there's more to be done here.


readme isn't thorough

doesn't explain how to compile it before running the command

for install:
you need to add $GOPATH/bin to your PATH


unable to install hub with shorthand

rtx install hub@latest
cloning https://github.com/vixus0/asdf-hub.git
loading plugin remote versions
rtx Failed listing remote versions for plugin hub
rtx error running list-all: exited with code 1
rtx Run with RTX_DEBUG=1 for more information
Solution 1 : use the forked repo which have a curl which follow links... So change the shorthand and don't take the one from asdf plugin list
jylenhof@pcportablejyl:~$ rtx plugin install hub https://github.com/claygorman/asdf-hub.git --force
uninstalling
removing /home/jylenhof/.local/share/rtx/plugins/hub
cloning https://github.com/claygorman/asdf-hub.git
loading plugin remote versions
https://github.com/claygorman/asdf-hub.git#71f6a13
jylenhof@pcportablejyl:~$ rtx install hub@latest
jylenhof@pcportablejyl:~$
Solution 2 : Fork the repo

this should go here https://github.com/asdf-vm/asdf-plugins

There's an open PR for this I did :
https://github.com/asdf-vm/asdf-plugins/pull/921


deliverOnMainThread  cause crash: unrecognized selector

Hi,i want use  " [RACSignal deliverOnMainThread]" to schedule the signal on main thread,but it causes crash:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RACDynamicSignal deliverOnMainThread]: unrecognized selector sent to instance 0x608000650650'

i just do not know why ?

You're sending that message to an object that is not a RACSignal.
On Sun, May 28, 2017 at 05:43 郭晓倩<EMAIL_ADDRESS>wrote:

Hi,i want use " [RACSignal deliverOnMainThread]" to schedule the signal on
main thread,but it causes crash:
*** Terminating app due to uncaught exception
'NSInvalidArgumentException', reason: '-[RACDynamicSignal
deliverOnMainThread]: unrecognized selector sent to instance 0x608000650650'
i just don not know why ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ReactiveCocoa/ReactiveObjC/issues/102, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAAPTDqZ2JW6NH7R4thgYsEelZmiM2Tjks5r-UGvgaJpZM4Nomcp
.

@erikprice   the message receiver is  an object of RACDynamicSignal, and RACDynamicSignal is a subclass of RACSignal，so why  the receiver  does not respond  "deliverOnMainThread" ?

Oh，I see。。The reason is that  there are two libReactiveCocoa.a after updated by CocoaPods, and  the old libReactiveCocoa.a are linked  which do not support "deliverOnMainThread" 。


Amazon Prime Video trailers #2544

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
Adding support for amazon trailers as discussed in #2544
Know Bugs:
Identify amazon trailers that has the same format as amazon store videos.
https://www.amazon.com/dp/B07YNLBS7R/ (amazon store)
https://www.amazon.com/dp/B07RK3CBNQ/ ( amazon trailer )

URLs in tests are now considered "unsupported". See the e7057383380d7d53815f8feaf90ca3dcbde88983 commit. I'm able to watch those trailers in DRM-disabled Firefox on Windows 11.


📝 Update docs about async and response-model with more gender neutral language

Cool, thanks! :cake:


As a librarian, I can add an "internal librarian message" to communicate with my colleagues about a record

Story
As a librarian, I can add an internal librarian message, visible only to other librarians so I can communicate with them about those records.
View full story at https://github.com/ugent-library/biblio-backend/issues/514
Success criteria

[x] As a librarian I can see the messages my colleagues and myself typed.
[x] As a librarian I can add and remove information from this message field.
[x] Researchers can not see this message

Implementation
View and edit librarian message:

We can use the card component with a text area (preference):
https://biblio-ugent-prototype-emily-v2.vercel.app/styleguide/b-cards.html#component-02-b-card-with-header
https://biblio-ugent-prototype-emily-v2.vercel.app/styleguide/b-inputs.html#component-02-textarea
Or a modal interaction with the card "edit" (existing interaction):
https://biblio-ugent-prototype-emily-v2.vercel.app/styleguide/b-cards.html#component-03-b-card-with-toolbar
https://biblio-ugent-prototype-emily-v2.vercel.app/styleguide/b-modals.html#component-03-modal-large
https://biblio-ugent-prototype-emily-v2.vercel.app/styleguide/b-inputs.html#component-02-textarea
Context
Old back-end

New design

@mietcls i think this can also be closed


Document the status of resolver v2 support

Cargo has made it possible to depend on the same version of a given crate with different feature sets, provided that one version is a runtime dependency and another is a build dependency.
cargo metadata somewhat notoriously is not aware of that, which leads it to conflate the build-only Cargo features with runtime features. While in reality there are two dependency graphs, cargo metadata still treats them as one. This causes the resolve graph produced by cargo metadata to include features and dependencies that aren't actually included in the build.
This is problematic for tools that need the precise dependency graph, such as cargo auditable or cargo cyclonedx.
It would be great to know whether krates overcomes this limitation, and have some example code for querying both graphs (runtime and build dependencies). It it does, then it is a big step forward for those tools!

I have a minimal reproducing example for the effects of not having resolver v2 support in this branch, if it helps: https://github.com/rust-secure-code/cargo-auditable/compare/master...fix-resolver-v2
The added tests are currently failing.

krates only ever creates a single graph, if you need to have a split between build and runtime you'd need to create 2 graphs, using https://docs.rs/krates/latest/krates/struct.Builder.html#method.ignore_kind to filter out the crates/features that you don't want in each one.

I've done some initial tests and it does appear to be supported. Here's an example showing it in action: https://github.com/Shnatsel/krates/blob/9b813f753393dc46053b2852a751f0777918dc57/examples/resolver_v2.rs
I'm not confident that I got the difference between resolver v1 and v2 exactly right in my tests, so there may be something I'm missing. But the initial results are promising.


jackett: 0.8.997 -> 0.8.1014

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/jackett/versions.
These checks were done:

built on NixOS
/nix/store/wbmvjpsv9nkvgmxa1gycn2c6f6cbx60i-jackett-0.8.1014/bin/Jackett passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.8.1014 with grep in /nix/store/wbmvjpsv9nkvgmxa1gycn2c6f6cbx60i-jackett-0.8.1014
directory tree listing: https://gist.github.com/9c12511f3c3405355ff8757dd51b9acd
du listing: https://gist.github.com/3e5688b0ab698810d090854a3ed4340a

meta.description for jackett is: '"API Support for your favorite torrent trackers."'.
cc @edwtjo for testing.

Failure on x86_64-darwin (full log)
Attempted: jackett
Partial log (click to expand)
  CC       mono_sgen-main-sgen.o
  CCLD     mono-sgen
ln -sf mono-sgen mono
  CC       libmini_la-mini.lo
  CC       libmini_la-mini-runtime.lo
  CC       libmini_la-seq-points.lo
  CC       libmini_la-method-to-ir.lo
building of '/nix/store/sy54la1lskz3c9gb2ppnk2x9ybxj7z10-mono-<IP_ADDRESS>.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/2aw7cnlpiqy1g4kplzxv6dz1yaa3j88g-jackett-0.8.1014.drv': 1 dependencies couldn't be built
error: build of '/nix/store/2aw7cnlpiqy1g4kplzxv6dz1yaa3j88g-jackett-0.8.1014.drv' failed

Success on x86_64-linux (full log)
Attempted: jackett
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/inl0y2lazga3dk8xwcl15zg8zxvn6g82-jackett-0.8.1014
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/inl0y2lazga3dk8xwcl15zg8zxvn6g82-jackett-0.8.1014/bin
patching script interpreter paths in /nix/store/inl0y2lazga3dk8xwcl15zg8zxvn6g82-jackett-0.8.1014
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/inl0y2lazga3dk8xwcl15zg8zxvn6g82-jackett-0.8.1014/share/jackett-0.8.1014/install_service_macos: interpreter directive changed from "/bin/bash" to "/nix/store/xn5gv3lpfy91yvfy9b0i7klfcxh9xskz-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/inl0y2lazga3dk8xwcl15zg8zxvn6g82-jackett-0.8.1014...
/nix/store/inl0y2lazga3dk8xwcl15zg8zxvn6g82-jackett-0.8.1014

Failure on aarch64-linux (full log)
Attempted: jackett
Partial log (click to expand)
  CC       libmonosgen_static_la-sgen-debug.lo
  CC       libmonosgen_static_la-sgen-descriptor.lo
  CC       libmonosgen_static_la-sgen-fin-weak-hash.lo
  CC       libmonosgen_static_la-sgen-gc.lo
  CC       libmonosgen_static_la-sgen-gchandles.lo
  CC       libmonosgen_static_la-sgen-gray.lo
  CC       libmonosgen_static_la-sgen-hash-table.lo
building of '/nix/store/d0zz8i6m9vfmslflc8ng399sb0cs7vwa-mono-<IP_ADDRESS>.drv' timed out after 3600 seconds
cannot build derivation '/nix/store/sdyx1a8n8n3v7c7lnnjca6fwpqzn6s67-jackett-0.8.1014.drv': 1 dependencies couldn't be built
error: build of '/nix/store/sdyx1a8n8n3v7c7lnnjca6fwpqzn6s67-jackett-0.8.1014.drv' failed

@GrahamcOfBorg build jackett

Success on x86_64-darwin (full log)
Attempted: jackett
Partial log (click to expand)
installing
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/zy6805ydnj717cgacq9kskc3i32cxh6m-jackett-0.8.1014/bin
patching script interpreter paths in /nix/store/zy6805ydnj717cgacq9kskc3i32cxh6m-jackett-0.8.1014
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/gpy3r9ss5ngfkib8ylx7jzgahq7m0x5b-patch-shebangs.sh: line 22: warning: command substitution: ignored null byte in input
/nix/store/zy6805ydnj717cgacq9kskc3i32cxh6m-jackett-0.8.1014/share/jackett-0.8.1014/install_service_macos: interpreter directive changed from "/bin/bash" to "/nix/store/r8bx3qf1bpncb14i9gzma4vr089pc3pv-bash-4.4-p19/bin/bash"
/nix/store/zy6805ydnj717cgacq9kskc3i32cxh6m-jackett-0.8.1014

Success on x86_64-linux (full log)
Attempted: jackett
Partial log (click to expand)
/nix/store/inl0y2lazga3dk8xwcl15zg8zxvn6g82-jackett-0.8.1014


Added the ability to inline css and js code

{% block javascripts %}
            {% do assets.addJs('theme://js/lazysizes.js') %}
            {% do assets.addJs('theme://js/loadpreload.js') %}
        {% endblock %}
{{ assets.js('head', true) }}

results in a javascript inline tag same with css and style tag

You are changing the method signature, this will break backwards compatibility. Any new params should be added in the attributes array only.


Adds supports for ng help generate <blueprint>

Bug Report or Feature Request (mark with an x)
- [ ] bug report
- [x] feature request

Versions.
@angular/cli: 1.2.7
node: 7.10.1
os: linux x64
Repro steps.
Executes ng help generate component
The log given by the failure.
All blueprints options are displayed while a more specific one prevent from scrolling to search for the right one.
Desired functionality.
Only print blueprint-specific options when one is specified.
Mention any other details that might be useful.
N/A

We currently support this via ng generate component --help.


Update @mn-pollinators/assets to v0.4.0

https://buzz-about-git-assets-v040.mn-pollinators.vercel.app/test/json-data-test

Okay, that's really cool.

@floogulinc Also, do we want to add the new scientific names to the spell-checker? (If so, I made a little patch file that does that! :-) cspell-additions.patch.txt)

@floogulinc Also, do we want to add the new scientific names to the spell-checker? (If so, I made a little patch file that does that! :-) cspell-additions.diff.txt)

Good idea, can you go ahead and commit that?


Properly consider empty gc expression as keeping all the versions.

Is not supported by HBase and will cause IllegalArgumentException. This
is better than falling back to hbase.column.max.version which is 1 by
default, which makes all the versions except the first one invisible.

LGTM


All tasks duplicated when completing a recurring task

When completing a recurring task, all the other tasks are duplicated.
To Reproduce
Mark a recurring task completed.
Expected behavior
Only the completed task gets duplicated.
Desktop (please complete the following information):

OS: Ubuntu 22.04
Version of sleek: 1.2.3
Source: Snap Store

@fusilli thanks for reporting this, I'm on it and pushing an update asap.

Great! Thank you for your work!

@fusilli Can I ask you to check this pre-releade real quick? https://github.com/ransome1/sleek/releases/tag/v1.2.4-rc.3
I'll prepare the full release in the meantime.

I've tested na AppImage and now it works fine. Thanks again!

Can we close here?

Sure – the updated snap works as expected.


Add “API group” to glossary

This is a Feature Request
What would you like to be added

create a new glossary entry for API Group that hyperlinks to https://kubernetes.io/docs/concepts/overview/kubernetes-api/#api-groups
(I suggest that the full_link would be the above URI, and that the <!--more--> text include a link there.
Optionally, change existing uses of “API Group” in the English localization to use a glossary tooltip shortcode (where appropriate).

Why is this needed

The glossary entry lets readers discover what this term means
the shortcodes save a potentially confused reader a little effort in looking things up

/kind feature
/help

/assign

/kind feature
/priority backlog


Fix storing empty array as nil

Dynamoid stores empty collections (strings, arrays, sets...) as nil but according to documentations only string and set can't be nil
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html#HowItWorks.DataTypes.Document
Open issue https://github.com/Dynamoid/Dynamoid/issues/8

Coverage increased (+0.04%) to 96.423% when pulling c3145c585153ddcbda2001ec0809332a1caf36b1 on andrykonchin:fix-empty-array-saving into 99d93852c8aa9c5e825bf39c39859058094db667 on Dynamoid:master.

Coverage increased (+0.04%) to 96.423% when pulling c3145c585153ddcbda2001ec0809332a1caf36b1 on andrykonchin:fix-empty-array-saving into 99d93852c8aa9c5e825bf39c39859058094db667 on Dynamoid:master.


Modularized WASM module

Description:
Currently RDKit_minimal.wasm is built via Emscripten as a public Module. This introduces a problem with such Module object being a var, also having a name simply as Module, which is confusing especially in the case several other WASM modules are used in one web app.
In particular, we currently have to alleviate loading problems of the RDKit Module with adding a preambule to your RDKit_minimal.js like this: https://github.com/datagrok-ai/public/blob/2cad08711f97d03104c221efa2d63c67c5c9bfca/packages/Chem/wasm/RDKit_minimal.js#L8 .
A solution to this may be using a MODULARIZE option in Emscripten: https://emscripten.org/docs/getting_started/FAQ.html. Having WASM and a corresponding JS built like this, we would now be able to create the module with a proper name (RDKitModule or alike) via a factory function with a proper name (rdKitInitialize or alike).
We could certainly build the module with tweaking the docker image you provide. Though it would be more uniform and correct if we use the WASM + JS set exactly the one you ship and use, for instance, at https://rdkit.org/rdkitjs/beta/GettingStartedInJS.html.

I have tested this on a branch and it seems to work fine:
https://github.com/ptosco/rdkit/tree/modularize
However, I am a bit reluctant in submitting a PR as I am not sure this is necessarily an improvement, but rather another way to deploy the library. @greglandrum What's your opinion?
You can look at what I have done here: https://github.com/rdkit/rdkit/pull/3570


MacOS Install Step Returns 'No Such File' Error

Bug Description
I am following the pdr-backend install steps, and found that the MacOS specific last step is returning a No such file error (as in the screeenshot).
To Reproduce
Steps to reproduce the behavior:

In a new console:

# clone the repo and enter into it
git clone https://github.com/oceanprotocol/pdr-backend
cd pdr-backend

# Create & activate virtualenv
python -m venv venv
source venv/bin/activate

# Install modules in the environment
pip install -r requirements.txt

If you're running MacOS, then also do in the same console:

codesign --force --deep --sign - venv/sapphirepy_bin/sapphirewrapper-arm64.dylib

Screenshots

Desktop Description

OS: Ventura 13.2.1
Macbook Air
CPU: Apple M1, 2020

Closing because I just realized there is a problem with my python command not being set up properly in the zsh path on my Mac.


fix!: Prevent misconfiguration of the secret used with the HS*** algorithms

Description
Added checks to make sure that a valid secret is used with the HS*** algorithms when signing and verifying
BREAKING CHANGE: Requires node 12.x or later to allow use of KeyObject
Testing

All automated tests pass

Checked via script that this type of misconfiguration does not pass signing or verification

[x] This change adds test coverage for new/changed/fixed functionality

Checklist

[x] I have added documentation for new/changed functionality in this PR or in auth0.com/docs
[x] All active GitHub checks for tests, formatting, and security are passing
[x] The correct base branch is being used, if not master

Closed in favour of https://github.com/auth0/node-jsonwebtoken/pull/852


feat: add icon for V

This PR adds an icon for the V language.
Just "v" was updated from currently linking to verilog, since it used by treesitter and lsp for the V language. "vlang" was added which is also used by those two, and many other V plugins.

Unfortunately .v is the verlog file extension; this change would break verilog users.
verilog has been around for many years whilst the V programming language is very new, at 0.3.
Perhaps we could use .V for the V programming language.

Thanks tackling this @alex-courtis!
I

Slipped out clicking close and then my internet went down. Maximum fail.
Updated the half finished comment @alex-courtis

Maybe this is an argument for the PR, else it looks like it's an actual real conflict and a user based override might be the only solution.

Unfortunately it's all we can do.
The V language developers should have thought more carefully ;)


[VS Code] Command failed: pbcopy

Error:
Command failed: pbcopy
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.788

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.29.1

platformName
MacOS

platformVersion
18.2.0

Hi @mgranados, thanks for the issue report. Can you describe what you were doing when you saw this error?

Closing this issue due to inactivity. Please re-Open it if you’re still experiencing a problem here. Thanks!


How long until first trade?

I have the bot configured on GDAX to trade BTC-ETH
It has been running for 3 days, the only thing in the logs are other trades being performed, but none are mine.
How long typically until it does its first trade? Or am I doing something wrong somewhere? I have configured the config with my api keys and everything, and ensured they are correctly configured for the asset/currency pairs.
Thanks!

@Beyondem are you sure trades are not being made or you just don't see their logs?
make sure logs are enabled in config_defaults.js
c.trade_log
c.trade_reducer_log

Yep, logging is all enabled. Looking through my gdax account I still have all the same balances and no trade history. It definitely is not trading!

@Beyondem How are you starting zenbot? Feel free to paste your config.js (Without your API key of course).

Mine has been running for 2 weeks (BTC/EUR) and has logged about 4 buys/sells so far. Patience is key!

My run command:
./zenbot launch map --backfill run server --config config.js --rs eth_btc
My config.js:
var c = module.exports = require('./config_defaults')()

// mongo stuff
c.mongo_url = "mongodb://" + (process.env.MONGODB_PORT_27017_TCP_ADDR || "localhost") + ":27017/zenbrain" // change if your mongo server isn't local

c.mongo_username = null // normally not needed
c.mongo_password = null

c.gdax_key = 'REMOVED' // TO ENABLE BOT TRADING: set this to GDAX api key,
c.gdax_secret = 'REMOVED' // set this to GDAX api secret,
c.gdax_passphrase = 'REMOVED' // set this to GDAX api passphrase.
c.trade_log = true // log new trades as they come in.

// watch these exchanges
c.watch_exchanges = [
  //"bitfinex",
  "gdax",
  //"kraken",
  //"poloniex"
]

// selector for indicators, trading, etc
c.default_selector = "gdax.ETH-BTC"

// add selectors in the format "{exchange-slug}.{asset}-{currency}" to graph them
c.graph_selectors = [
  c.default_selector,
  "gdax.ETH-BTC",
  "gdax.ETH-USD"
]

c.assets = [
  "ETH"
]
c.currencies = [
  "BTC"
]

// trade logic
c.logic = require('./default_logic')

Everything look normal here?

lol...
try ./zenbot launch map --backfill reduce run server --config config_eth_btc.js

./zenbot launch map --backfill run server --config config.js --rs eth_btc only start a server, you can still do this but then you need to start reducer and trader individually

@egorbenko's solution should fix your issue @TimBroddin. Can you confirm this?

I didn't have any problems :) @Beyondem ?

So, I have allowed it to run all week.
Upon first starting, it sold all my BTC for ETC.
Since then there has been no trades, but numerous errors in the logs:

09/23/2016 03:03:02 PM EDT [ERROR] non-200 status from exchange: 400

No matter how many times I restart the bot, I still get the same errors and no additional trades.

@Beyondem
If you have 2fa set for a certain trade volume, and the bot exceeded that volume it will give that error unless the api key allows for bypassing 2fa.  I had exactly the same thing happen to me.
Hope that helps a bit.

Zenbot 4 is out, so I'm cleaning up 3.x issues. Please use and test 4, thanks!


perf(svg): restore 100% overwrite on --auro-size-lg

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: #109
Summary:
Add the --auro-size-lg overwrite back into the customSize styles.
Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 4.3.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SVG circles not rendering as expected

👋 Hello! Thanks for contributing. Please use the template that matches your intention
I am a developer
| -------------------------------------------------------------------------------------------------

Reporting a bug or issue

Expected behavior:
This gist should show 2 equally sized circles of radius 50:

A red circle at x = 100, y = 100.
A blue circle at x = 100, y = 200.

Observed behavior:
Actually show two ellipses:

How to reproduce:

yarn
yarn run render

Sketch version: 47.1
Please attach screenshots, a zip file of your project, and/or a link to your github project
Link to sketch file
Stackoverflow question

Thanks for the nice bug report, I'll try to look at it when I have a bit of time

Forgot about this.
But the gist is that Sketch doesn't support SVG (or shapes) that don't "expand" to all sides (eg. in your example, your shape fits in 100x200). So it will render the shape in a rectangle that fits the shape and then scale that rectangle to fit the size of the parent SVG (500x500 in your example).


Mutex and AsyncMutex should be classes to correctly cache the instance

Mutex<T> and AsyncMutex<T> are implemented as structs right now, which leads to problems when its methods are writing to the internal instance field. This can lead to behavior that the instance is reset to default after initialization

Fix created and added to version 1.0.3


Fix job type creation

Right now job type creation fails with null constraint errors if fields like error mapping are not provided. Fix the JobTypeManager.create_job_type() method to create blank JSON fields for non-nullable JSON fields like error_mapping.

This issue was created based off of Clint trying to validate and update a new job-type.  The error he was seeing was:
IntegrityError: null value in column "error_mapping" violates not-null constraint

I was unable to repeat this error using many different job-type submissions to Scale and in talking to Clint he believes the issue was something outside Scale.


Types of property 'value' are incompatible.     Type 'string' is not assignable to type 'E164Number'

First this is awesome i love it.
But when i try to use the example code The input form  is throwing this error
Type '{ onChange: (...event: any[]) => void; onBlur: Noop; value: string; disabled?: boolean | undefined; name: "phone"; ref: RefCallBack; placeholder: string; }' is not assignable to type 'Omit<Props<PhoneInputWithCountrySelectType>, "onChange">'.
Types of property 'value' are incompatible.
Type 'string' is not assignable to type 'E164Number'.ts(2322)
(alias) const PhoneInput: React.ForwardRefExoticComponent
import PhoneInput

+<

My mistake was that my editor auto imported Form component from react-hook-form when it should have been imported from @/components/ui/form. 👀

still am getting same error

Added some basic type conversion and it worked for me.
onChange={(value) => onChange?.(value || ('' as RPNInput.Value))}

still am getting same error

Did you manage to get it sorted?

still am getting same error

Did you manage to get it sorted?
i have built new from scratch to use with react-hook-form

this is the phone-input component ready to use with react-hook-form
import "react-phone-number-input/style.css";
import * as RPNInput from "react-phone-number-input";
import { forwardRef, useCallback } from "react";
import { Control, FieldValues, Path } from "react-hook-form";
import flags from "react-phone-number-input/flags";
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "@/components/ui/popover";
import { Button } from "./ui/button";
import { CheckIcon, ChevronsUpDown } from "lucide-react";
import { cn } from "@/lib/utils";
import {
Command,
CommandEmpty,
CommandGroup,
CommandInput,
CommandItem,
CommandList,
} from "@/components/ui/command";
import { ScrollArea } from "./ui/scroll-area";
import { InputProps } from "./ui/input";
import {
FormControl,
FormField,
FormItem,
FormLabel,
FormMessage,
} from "./ui/form";
interface PhoneProps {
name: Path;
control: Control | undefined;
label: string;
placeholder: string;
}
const Phone = ({
name,
control,
label,
placeholder,
}: PhoneProps) => {
return (
<FormField
control={control}
name={name}
render={({ field }) => (

{label}

<RPNInput.default
defaultCountry="ET"
className={cn("flex")}
flagComponent={FlagComponent}
countrySelectComponent={CountrySelect}
inputComponent={InputComponent}
placeholder={placeholder}
{...field}
/>

)}
/>
);
};
export default Phone;
const FlagComponent = ({ country, countryName }: RPNInput.FlagProps) => {
const Flag = flags[country];
return (

{Flag && }

);
};
FlagComponent.displayName = "FlagComponent";
type CountrySelectOption = { label: string; value: RPNInput.Country };
type CountrySelectProps = {
disabled?: boolean;
value: RPNInput.Country;
onChange: (value: RPNInput.Country) => void;
options: CountrySelectOption[];
};
const CountrySelect = ({
disabled,
value,
onChange,
options,
}: CountrySelectProps) => {
const handleSelect = useCallback(
(country: RPNInput.Country) => {
onChange(country);
},
[onChange]
);
return (

<Button
type="button"
variant={"outline"}
className={cn(
"flex gap-1 rounded-e-none rounded-s-lg px-3 bg-kinput-bg border-0 py-6"
)}
disabled={disabled}
>

<ChevronsUpDown
className={cn(
"-mr-2 h-4 w-4 opacity-50",
disabled ? "hidden" : "opacity-100"
)}
/>

No country found.

{options
.filter((x) => x.value)
.map((option) => (
<CommandItem
className="gap-2"
key={option.value}
onSelect={() => handleSelect(option.value)}
>

{option.label}
{option.value && (

{+${RPNInput.getCountryCallingCode(option.value)}}

)}
<CheckIcon
className={cn(
"ml-auto h-4 w-4",
option.value === value ? "opacity-100" : "opacity-0"
)}
/>

))}

);
};
const InputComponent = forwardRef<HTMLInputElement, InputProps>(
({ className, ...props }, ref) => (
<input
name={props.name}
className="outline-none rounded-r-md w-full  px-4 py-3 bg-kinput-bg flex-initial"
placeholder="Phone number"
{...props}
ref={ref}
/>
)
);
InputComponent.displayName = "InputComponent";
so you can use it like this easly inside your component
<Phone
name={"phone"}
control={form.control}
label={"Phone Number"}
placeholder={"Phone number"}
/>
make your sure to include the phone validation
import { isValidPhoneNumber } from "react-phone-number-input";
phone: z
.string()
.refine(isValidPhoneNumber, { message: "Invalid phone number" }),

onChange={(value) =>
  onChange?.(
    value ||
      Object.assign<"", { __tag: "E164Number" }>("", {
        __tag: "E164Number",
      })
  )
}

@jjppsia yeah this version is supposed to solve the issue I saw the channel log on gitlab
how did you manage to force react-phone-number-input 3.4.1 to use libphonenumber-js 1.10.61 ?

@jjppsia yeah this version is supposed to solve the issue I saw the channel log on gitlab how did you manage to force react-phone-number-input 3.4.1 to use libphonenumber-js 1.10.61 ?

I tried this but react-phone-number-input still uses version 10.11.1
  "overrides": {
    "react-phone-number-input": {
      "dependencies": {
        "libphonenumber-js": "1.10.61"
      }
    }
  },

oh i npm i<EMAIL_ADDRESS>and deleted both my node_modules and package-lock.json and installed them again.

@jjppsia thanks for the quick response
overrides doesn't work with yarn so I used resolutions and everything now works
  "resolutions": {
    "react-phone-number-input/libphonenumber-js": "1.10.61"
  }

@jjppsia thanks for the quick response
overrides doesn't work with yarn so I used resolutions and everything now works
  "resolutions": {
    "react-phone-number-input/libphonenumber-js": "1.10.61"
  }

does not work for me

@jjppsia thanks for the quick response
overrides doesn't work with yarn so I used resolutions and everything now works
  "resolutions": {
    "react-phone-number-input/libphonenumber-js": "1.10.61"
  }

does not work for me
@ezevic
try deleting node modules

@ezevic
try deleting node modules besides the resolution

I did it. I also checked the libphonenumber-js package version and it is 1.10.61

@ezevic
try deleting node modules besides the resolution

I did a clean install of the project's dependencies. I also checked the libphonenumber-js package version and it is 1.10.61

u checked it in your package json or in the package json of react-phone-number-input in node_modules?
u need to make sure that installed version of react-phone-number-input uses libphonenumber-js 1.10.61

@ezevic
try deleting node modules besides the resolution

I did a clean install of the project's dependencies. I also checked the libphonenumber-js package version and it is 1.10.61

u checked it in your package json or in the package json of react-phone-number-input in node_modules?
u need to make sure that installed version of react-phone-number-input uses libphonenumber-js 1.10.61
as it could be 1.10.61 in your package json but the react-phone-number-input uses another version behind the scenes

I checked in the package json of react-phone-number-input

off topic, but does anyone know how I can set the initially selected country to "null" ? right now the US is pre-selected. I would like to have no country selected so the user is forced to select their own , to avoid mistakes. thanks in advance


Add OVN DB TLS Certificates to driver agent

Driver agent also needs the OVN DB certificates in case we are using a TLS connection. This patch add those certificates as same way is done for the octavia-api
Jira: OSPRH-7370
Signed-off-by: Fernando Royo<EMAIL_ADDRESS>

/ok-to-test

Test failure is legit octavia_tls/02-assert.yaml needs updating for the change in the volume mounts.

/lgtm


Endless Loading During Android SDK Analysis in VS Code caused by ms-dotnettools.vscode-dotnet-runtime

Type: Bug
When attempting to debug my app in Visual Studio Code using any bedugging platform, the "Analyzing" process gets stuck in an infinite loading loop. This issue occurs frequently but doesn't follow a consistent pattern. Even after attempting various troubleshooting steps, including uninstalling and reinstalling VS Code, the problem persists. Occasionally, restarting the Mac temporarily resolves the issue, but this is not a reliable solution.
Steps to Reproduce:
Open Visual Studio Code.
Attempt to debug app.
Observe that the "Analyzing" process remains stuck in a loading state indefinitely.
Expected Behavior:
The "Analyzing" process should complete successfully, allowing debugging of the app without any interruptions.
Actual Behavior:
The "Analyzing" process stays loading indefinitely, preventing successful debugging of the app.
Additionally: Using the Extension Bisect tool helped pinpoint the root cause, revealing that the "ms-dotnettools.vscode-dotnet-runtime" extension is responsible for the error.
 Moving this as it might also have to do with the way the analyzing process is called.

Do you have output from the .NET Install Tool in the .NET Runtime tab on the console?

I have nothing on the .NET Runtime tab on the console. Any suggestions on what I should try?

Please attach our log file(s).
Our log files are located alongside VS Code logs. If you want to find them manually, navigate here:
Linux: ~/.config/Code/logs
Mac: ~/Library/Application Support/Code/logs/
Windows: c:\Users\USER\AppData\Roaming\Code\logs\
Then find the folder created at the time you experienced the bug in the logs folder.
From there, go to window1 -> exthost -> ms-dotnettools.vscode-dotnet-runtime. The log file should be located in this folder.
Note: The window folder may change depending on how many VS Code windows you have open; if our extension is running in the 2nd window, it'd be in a folder called window2.

Please attach our log file(s). Our log files are located alongside VS Code logs. If you want to find them manually, navigate here: Linux: ~/.config/Code/logs Mac: ~/Library/Application Support/Code/logs/ Windows: c:\Users\USER\AppData\Roaming\Code\logs\
Then find the folder created at the time you experienced the bug in the logs folder. From there, go to window1 -> exthost -> ms-dotnettools.vscode-dotnet-runtime. The log file should be located in this folder.
Note: The window folder may change depending on how many VS Code windows you have open; if our extension is running in the 2nd window, it'd be in a folder called window2.

Awesome! Here it is! Thank you so much for helping! :)
DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1714400550548.txt

Please attach our log file(s). Our log files are located alongside VS Code logs. If you want to find them manually, navigate here: Linux: ~/.config/Code/logs Mac: ~/Library/Application Support/Code/logs/ Windows: c:\Users\USER\AppData\Roaming\Code\logs
Then find the folder created at the time you experienced the bug in the logs folder. From there, go to window1 -> exthost -> ms-dotnettools.vscode-dotnet-runtime. The log file should be located in this folder.
Note: The window folder may change depending on how many VS Code windows you have open; if our extension is running in the 2nd window, it'd be in a folder called window2.

Awesome! Here it is! Thank you so much for helping! :)
DotNetAcquisition-ms-dotnettools.vscode-dotnet-runtime-1714400550548.txt

FYI:  Running on a Mac

Thank you, based on this we have gotten at least somewhere in the initiation phase, but we never got invoked. So VS Code is having trouble activating. It may be the runtime extension, it may not be. If you could share what you saw with the extension bisect pointing to our extension being an issue, thatd be helpful.
For some more info, if you go to help -> toggle developer tools -> console, what is it you see in the console? Be sure to redact any private data.

@FlexFitByNat Thanks for your help, we'd appreciate a bit more info requested below to help you further :)

every time the extention is loaded visual studio dosent work dotnet/vscode-dotnet-runtime#1773

This is what I see when running the bisect.

Thank you for helping :)
I don't see anything suspect in that unfortunately, but yeah it does appear its our extension, and there is some problem on arm64.
I will probably have to try to get a repro.
2 more questions if I may, does this occur for you on version 2.0.2 and 2.0.1?
You can install other versions on the extension tab.


RYA-333 Added "-P coverage" to generate code coverage reports.

Description
Added -P coverage for generating a code-coverage report
removed unnecessary version override of the mycila license plugin
removed unnecessary argLine for the maven-surefire-plugin
Tests
N/A
Links
Jira RYA-333
Checklist

[ ] Code Review
[X] Squash Commits

People To Review
@meiercaleb
@isper3at
@kchilton2

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/521/Failed Tests: 1incubator-rya-master-with-optionals-pull-requests/org.apache.rya:rya.sail: 1org.apache.rya.RdfCloudTripleStoreTest.testForeignSelectOnlyQuery

asfbot build

I tried creating a build on b.a.o with the coverage profile enabled and "record jacoco report" plug-in enabled.
You can check on it's progress here: https://builds.apache.org/job/incubator-rya-master-with-optionals-with-coverage/
I'll roll these changes into the master builds once this PR is pulled in.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/522/Failed Tests: 1incubator-rya-master-with-optionals-pull-requests/org.apache.rya:rya.sail: 1org.apache.rya.RdfCloudTripleStoreTest.testForeignSelectOnlyQuery

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/incubator-rya-master-with-optionals-pull-requests/528/


Cannot update system due to apple-sdk not being available in x86_64

Describe the bug
Cannot update my system with error: Package ‘apple-sdk-15.0’ in /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/by-name/ap/apple-sdk/package.nix:115 is not available on the requested hostPlatform: hostPlatform.config = "x86_64-unknown-linux-gnu"
Steps To Reproduce
Steps to reproduce the behavior:

have catppuccin-cursors as package
try to nixos-rebuild switch --flake .

Expected behavior
I expected no errors at all. I also expected no apple-sdk installed on my system.
Screenshots

Additional context
I'm not sure where is the problem, if on pyside6 or catppuccin-cursors or both or somewhere else.
The --show-trace is bellow:
$ sudo nixos-rebuild switch --flake . --show-trace
building the system configuration...
warning: Git tree '/home/h/projects/dotfiles-supimpas' is dirty

// many lines of errors

       … while evaluating derivation 'catppuccin-cursors-1.0.1'
         whose name attribute is located at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'nativeBuildInputs' of derivation 'catppuccin-cursors-1.0.1'
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/stdenv/generic/make-derivation.nix:380:7:
          379|       depsBuildBuild              = elemAt (elemAt dependencies 0) 0;
          380|       nativeBuildInputs           = elemAt (elemAt dependencies 0) 1;
             |       ^
          381|       depsBuildTarget             = elemAt (elemAt dependencies 0) 2;

       … while evaluating the attribute 'out.outPath'
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/lib/customisation.nix:352:13:
          351|             drvPath = assert condition; drv.${outputName}.drvPath;
          352|             outPath = assert condition; drv.${outputName}.outPath;
             |             ^
          353|           } //

       … while calling the 'getAttr' builtin
         at <nix/derivation-internal.nix>:44:19:
           43|       value = commonAttrs // {
           44|         outPath = builtins.getAttr outputName strict;
             |                   ^
           45|         drvPath = strict.drvPath;

       … while calling the 'derivationStrict' builtin
         at <nix/derivation-internal.nix>:34:12:
           33|
           34|   strict = derivationStrict drvAttrs;
             |            ^
           35|

       … while evaluating derivation 'pyside6-<IP_ADDRESS>'
         whose name attribute is located at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/stdenv/generic/make-derivation.nix:336:7

       … while evaluating attribute 'buildInputs' of derivation 'pyside6-<IP_ADDRESS>'
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/stdenv/generic/make-derivation.nix:383:7:
          382|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          383|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          384|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

       … in the condition of the assert statement
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/lib/customisation.nix:352:23:
          351|             drvPath = assert condition; drv.${outputName}.drvPath;
          352|             outPath = assert condition; drv.${outputName}.outPath;
             |                       ^
          353|           } //

       … while evaluating the attribute 'handled'
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/stdenv/generic/check-meta.nix:507:7:
          506|       # or, alternatively, just output a warning message.
          507|       handled =
             |       ^
          508|         (

       … from call site
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/stdenv/generic/check-meta.nix:511:13:
          510|           else if valid == "no" then (
          511|             handleEvalIssue { inherit meta attrs; } { inherit (validity) reason errormsg; }
             |             ^
          512|           )

       … while calling 'handleEvalIssue'
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/stdenv/generic/check-meta.nix:269:38:
          268|
          269|   handleEvalIssue = { meta, attrs }: { reason , errormsg ? "" }:
             |                                      ^
          270|     let

       … while calling the 'throw' builtin
         at /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/stdenv/generic/check-meta.nix:281:8:
          280|         else throw;
          281|     in handler msg;
             |        ^
          282|

       error: Package ‘apple-sdk-15.0’ in /nix/store/hfz1qqd0z8amlgn8qwich1dvkmldik36-source/pkgs/by-name/ap/apple-sdk/package.nix:115 is not available on the requested hostPlatform:
         hostPlatform.config = "x86_64-unknown-linux-gnu"
         package.meta.platforms = [
           "x86_64-darwin"
           "i686-darwin"
           "aarch64-darwin"
           "armv7a-darwin"
         ]
         package.meta.badPlatforms = [
           {
             cpu = {
               bits = 32;
             };
           }
         ]
       , refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.

Metadata

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.59, NixOS, 24.11 (Vicuna), 24.11.20241102.7ffd9ae`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - nixpkgs: `/nix/store/zq2axpgzd5kykk1v446rkffj3bxa2m2h-source`

Notify maintainers

@dixslyf

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

I believe this has been fixed in https://github.com/NixOS/nixpkgs/pull/356081, which has already made its way into unstable. Could you try updating your system?

My system built with the new commit, thanks!

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/for-some-reason-the-nixos-rebuild-switch-will-download-apple-sdk/56167/8