Add GCP public links for v3.1.3 STR release on Downloads page

Currently, only the Amazon links are listed, despite the fact that the data are available on GCP

I think we've resolved this with https://github.com/broadinstitute/gnomad-browser/pull/905
@bw2 everything look OK?

Yes, all 3 links work under https://gnomad.broadinstitute.org/downloads#v3-short-tandem-repeats

The files are really small (< 1Gb), so I think it's fine that they're only hosted on Amazon.


"Host" header not transmited normally to the pod

Report
I have Kubernetes cluster with an nginx ingress controller and use keda-http-add-on.
When I use keda-add-ons-http-interceptor-proxy as ingress backend, the "Host" header get in my application (the pod) is not the the original "Host" header.
Expected Behavior
Is a way to tell keda-http-add-on to set the Host header transmitted by the ingress as Host header?
Actual Behavior
I work with a librairie that build an url based on "Host" header.
If i have the app URL "https://www.myappurl.com" to access my application, without using  keda-add-ons-http-interceptor-proxy, the librairie can build normally the URL "https://www.myappurl.com" in my application.
But when using  keda-add-ons-http-interceptor-proxy as ingress backend,  the librairie build an URL like https://my_app_service_name.namespace:my_app_service_port.
Steps to Reproduce the Problem

Use directly my app service as backend on the ingress . The "Host" header get in my application is my host url like www.myappurl.com

Use keda-add-ons-http-interceptor-proxy as service backend on the ingress. The "Host" header get in my application seem like my_app_service_name.namespace:my_app_service_port

Logs from KEDA HTTP operator
No response
HTTP Add-on Version
0.5.0
Kubernetes Version
Other
Platform
Other
Anything else?
Kubernetes version : 1.27
Helm chart : version: 0.5.2

It's already fixed: https://github.com/kedacore/http-add-on/pull/746 however you'll have to wait for a release to be cut.

Thank's for your response. Wait for it.

Hi, we have the same issue and it is preventing us from using the http-add-on. Is it possible to get the release soon? Thanks.

We have released v0.6.0 this week :)


Handling of constants in query flattening

shattering is not unifying equalities anymore. instead, equalities are kept
within the query's formula and directly translated to relational algebra
operations (notably extended projections).
extended projection implemented for very specific cases in the
ProbSemiringSolver of the dichotomy_theorem_based_solver module. the
only case for which the extended projection is performed without raising an
exception is when:

all non-provenance columns of the provenance set are kept the same
during the projection using a {c: c} eval expression. this ensures
that the resulting number of tuples remains the same and so the
provenance column does not need to be updated. if it was not the case,
then the operations to correctly update the provenance column to
maintain correct probabilities would be undefined in many cases.
the provenance column is not part of the projection list, although it
is added during the actual projection to maintain the provenance column
in the underlying relational algebra set

flattening was modified to leverage the MGU algorithm internally to
maintain variable equalities within the conjunctive queries that can later
be translated to relational algebra operations. internally, before applying
the MGU algorithm, the conjunctive queries (rules of the program) are
normalised in two ways

first, any constant in the head predicate is replaced by a fresh symbol
and a variable-to-constant equality is added to the body to maintain
the rule's semantic
second, any repetition of a variable in the head predicate is replaced
by a fresh symbol and a between-variables equality is added to the body
of the rule to maintain the rule's semantic

replaced by #537


Added the option to use /Assets folder relative paths to protoc

Thanks for this great utlity btw.
This is a simple change to allow e.g. "../ProtoBuf/protoc" as the path to the protoc compiler rather than an absolute path. This is useful when you don't want everyone to have to install the compiler, just include it in the game repo relative to /Assets.
Nb. It has to live below /Assets or the code will attempt to compile the contents of the redist /include folder.

Thank you for this, and sorry for the huge delay _/|_


ConnectionError with Python 3

Hi,
Currently trying to using your wrapper and every time I try to test it with the downloader.py example, I receive a connection error with the remote IP I'm trying to connect to right now. Not sure, if it's due to our self signed certificate for the page or something else.
Currently using Python 3.6.1.
Output:
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 743, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 345, in _make_request
    self._validate_conn(conn)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 844, in _validate_conn
    conn.connect()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connection.py", line 284, in connect
    conn = self._new_conn()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x1006848d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='https', port=): Max retries exceeded with url: //ip:port/rest/system (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x1006848d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "serviceCenterScript.py", line 89, in <module>
    sc = SecurityCenter5(config.get('SecurityCenter', 'host'))
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/securitycenter/sc5.py", line 18, in __init__
    d = self.get('system').json()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/securitycenter/base.py", line 79, in get
    resp = self._session.get(self._url(path), **self._builder(**kwargs))
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py", line 515, in get
    return self.request('GET', url, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py", line 502, in request
    resp = self.send(prep, **send_kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py", line 612, in send
    r = adapter.send(request, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/adapters.py", line 504, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='https', port=): Max retries exceeded with url: //ip:port/rest/system (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x1006848d0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known',))```

It appears that the requests module will throw a SSLError due to a bad handshake. The self-signed certificate was the issue


Tableau.Reader version 2021.2.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Manifest: The manifest file path must match PackageIdentifier and PackageVersion properties from manifest. actual 'manifests\t\Tableau\Reader\2021.2.1', expected 'manifests\t\Tableau\Reader\21.2.1241'


Make sure vulnerability id is_cve or is_vulcoid

This makes sure that vulnerability id supplied in alpine_linux importer
is either a cve, vulcoid or empty so as to stand on the definition of
vulnerability id.
It could be possible to introduce a validator at the model level for the
same as well using these functions.
I would propose that we create a validators class where we would keep some custom validators which could be used inside the models to keep the database protected against invalid input. One such validator for vulnerability id would look like the following
    def vulnerability_id_validator(id: str):
        if id != "" and not (DataSource.is_cve(id) or DataSource.is_vulcoid(id)):
            raise ValidationError("{}: not a valid cve or volcoid".format(id))

Signed-off-by: Hritik Vijay<EMAIL_ADDRESS>

@Hritik14  detecting these when we are at last step, ie during model creation won't be as effective as detection on creation of Advisory instances.
I would rather add the validation to the Advisory dataclass. Doing lot of work then failing is lot worse then failing before doing much in this case ;)

I've applied the requested changes. Please review. Also, I think it would be better to squash and merge the PR to avoid intermediate commits.

LGTM ! could you squash and force push the commits from your side ?

I would do it but it would just mess up the git history (I'm not really in favor of --force). If you could squash like it's shown here I guess it would be lot easier https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/merging-a-pull-request


Attaching Kubernetes service compute, operation success reported "too early"

Attaching a Kubernetes service compute from the portal ml.azure.com
the operation prematurely success.
So all the azureml setup on prem cluster is not completed yet.
Possible problems:

Submitting a job, the experiment fails.
For some reasons the setup on prem cluster fails despite was a success on the ml.azure.com portal.

closing the issue, no repro with latest release.


IAO Task Reminder/Notification Feature

As an IAO user
I want to create a task reminder for a request
so that I know when I need to follow up on something that is not currently tracked/automated

Assumptions & Scope
We have received general user feedback regarding the need to be able to establish task reminders on a file.
As a means to address this, we want to leverage existing functionality we have with divisional tracking for Ministry coordinators, and give something similar to IAO users.
IAO users will be able to create one or more custom task reminders - instead of divisions, these will be free text fields with a character limit of 50 characters), and an associated due date calendar picker. These notification reminders will NOT be posted to the comment log, they will simply trigger a notification to the IAO assignee. The Ministry user will NOT receive a notification from these tasks.
What is IN scope?
A custom notification that can be triggered by due dates.
We will use the design/UI features of divisional tracking, place at the bottom of the review request page for IAO users.
What is NOT in scope?
No task reminders will be posted as a system generated comments
Notifications should not be delivered to Ministry users, only assigned IAO users.
Acceptance Criteria
Scenario 1: IAO Request View - Task Reminders

GIVEN an IAO analyst is on the request details view of a request
WHEN they scroll to the bottom
THEN they will see an area titled 'Task Reminders'

Scenario 2: IAO Task Reminder

GIVEN an IAO analyst is on the task reminder section
WHEN they click on the task field
THEN they will be able to enter text

Scenario 3: IAO Task Reminder - Character

GIVEN an IAO analyst has clicked on the task field
WHEN they start typing characters and exceed 50 characters
THEN the box will turn red
AND a message will appear below that there is a character limit of 50

Scenario 4: IAO Task Reminder - Calendar

GIVEN an IAO analyst is on the task reminder
WHEN they click on the reminder date field
THEN a calendar picker will appear
AND will default to todays date

Scenario 5: IAO Task Reminder - Calendar Date

GIVEN an IAO analyst is on the calendar picker for the task reminder
WHEN they click on a date prior to the received date of the request
THEN the date will not be selectable

Scenario 6: IAO Task Reminder - Date Selection

GIVEN an IAO analyst is on the calendar picker for the task reminder
WHEN they click on a valid date
THEN the picker will close
AND the reminder date will populate

Scenario 7: IAO Task Reminder - Add Task

GIVEN an IAO analyst is on the task reminder section
WHEN they click on the plus symbol
THEN another task reminder field will appear

Scenario 7: IAO Task Reminder - Delete Task

GIVEN an IAO analyst is on the task reminder section
WHEN they click on the trash can symbol
THEN the task reminder will be removed
AND any active notification reminders set for this task will be cleared

Scenario 8: IAO Task Reminder - Activate Save

GIVEN an IAO analyst is on the task reminder section
WHEN they enter text for a task
AND have made a valid date selection
THEN the save button will be active

Scenario 9: IAO Task Reminder - Activate Save

GIVEN an IAO analyst is on the task reminder section
AND they have entered valid text and date for a task
WHEN they click save
THEN the task reminder will be saved

Scenario 10: IAO Task Reminder - Notification Due Date

GIVEN an IAO analyst has saved a valid task
WHEN it is on the day of the reminder date
THEN a notification will trigger to IAO USERS ONLY with the following message "(Task Reminder) Is Due Today"

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

Generic task reminder story - may not be as pressing given the s. 5 story, but may be helpful for analysts especially for things like consults.
cc @JHarrietha-AOT @lmullane

Tech Info
BE

Leverage notification-manager
Cron job [Run Frequency]
Migration script [Notification type + Reminders capture]
The information will be under notifications. [Name: Self + Reminder create time or sent time]
FE:
UI Tax

Open Questions:

Reminder to only self or team or assignee or watcher ?
Is this feature is extensible to tag ppl ?

As discussed - the notification will only push to the IAO assigned analyst only(not watchers, or Ministry user)
In addition - this will follow the same logic as our other due date reminder notifications (eg - this will be a scheduled job and the notification will be sent out in the morning)

Also removed the scenario for one day out reminders


CCD -> FHIR conversion not populating 'entry' in composition resource sections

It appears that the conversion for CCD records is not populating the required 'entry' the various sections. I've observed this when running the converter locally but it also appears to be present in the 'expected' output in the unit tests.
Expected but missing entry: https://www.hl7.org/fhir/composition-definitions.html#Composition.section.entry
Example of allergy section with missing entry: https://github.com/microsoft/FHIR-Converter/blob/main/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/170.314B2_Amb_CCD-expected.json#L114-L129
 {
{
	"title": "Allergies and Adverse Reactions",
	"text": {
		"status": "generated",
		"div": "
Allergies and Adverse Reactions
"
	},
	"code": {
		"coding": [
			{
				"code": "48765-2",
				"display": "Allergies, adverse reactions, alerts",
				"system": "http://loinc.org"
			}
		]
	},
	"mode": "snapshot"
}

Example of allergy resource that I would expect linked via an "entry" uhhh entry in the allergy section of the composition: https://github.com/microsoft/FHIR-Converter/blob/main/src/Microsoft.Health.Fhir.Liquid.Converter.FunctionalTests/TestData/Expected/Ccda/CCD/170.314B2_Amb_CCD-expected.json#L586-L653
{
	"fullUrl": "urn:uuid:ba4e86d0-f601-b3bc-fc62-3e0b72318e0e",
	"resource": {
		"resourceType": "AllergyIntolerance",
		"id": "ba4e86d0-f601-b3bc-fc62-3e0b72318e0e",
		"identifier": [
			{
				"system": "urn:oid:<IP_ADDRESS>.4.1.22812.3.999<IP_ADDRESS>.2",
				"value": "624373800001"
			},
			{
				"system": "urn:oid:<IP_ADDRESS>.4.1.22812.3.999<IP_ADDRESS>.2",
				"value": "637073500005"
			}
		],
		"clinicalStatus": {...},
		"reaction": [...],
		"onsetDateTime": "2001-01-10T00:00:00-05:00",
		"patient": {
			"reference": "Patient/a656b459-dec5-7b46-77eb-41c20c9a5901"
		}
	},
	...
}

As an example, I would expect the initial "Allergies and Adverse Reactions" section to have something like this to indicate the relationship to the Allergy Intolerance that appears later in the bundle.
	"entry": [
		{
			"reference": "AllergyIntolerance/ba4e86d0-f601-b3bc-fc62-3e0b72318e0e"
		}
	]

I'm still learning how to interpret the liquid mapping language but it would appear that this template file is supposed to generate the entry list?
https://github.com/microsoft/FHIR-Converter/blob/main/data/Templates/Ccda/Reference/Composition/_Section_Entry.liquid
I will continue to research and attempt to fix, if i can :)

@jasorello
How are you executing the program locally?

Using master branch, ya.
I'm building using what i think are regular dotnet build commands (i don't know c# very well, yet), something like:
dotnet publish src/Microsoft.Health.Fhir.Liquid.Converter.Tool/Microsoft.Health.Fhir.Liquid.Converter.Tool.csproj -c Release -o out
and then using the command line tool as described in the repo's readme.


Webcam tool doesn't work well.

Describe the bug
Hi,
We try to use the webcam tool of openpilot on a PC. We followed the guideline and connected the PC to two web cameras and the black panda. These two web cameras were tested to be able to work well. The computer successfully recognized these three devices. However, it seems that the cameras didn't work since the ui showed "Camera Malfunction! Contact Support!". In the terminal, there are some error messages showing that the cameras are not alive:

Any comments or suggestions are appreciated.
Thanks!
How to reproduce or log data
We just run the command: PASSIVE=0 NOSENSOR=1 USE_WEBCAM=1 ./manager.py and started the car.
Expected behavior
The UI should show the road webcam's view.
Additional context
Operating system: Ubuntu 20.04
Web camera: Logitech C920 and C615

Does your PC have a good Nvidia GPU?

Thanks for the suggestions. I tried to run camerad separately and found out that the issue is caused by the connection problem between the camera and the PC. So, I rebuilt openpilot with the correct camera index and it works.
Thanks a lot.


Automatic share to ICloud

Hi,
Very useful functionality, so that after saving the record is automatically scrolled and the link is copied to the clipboard.
Is such a functional planned?

the record is automatically scrolled

What does this mean?

I'm not sure iCloud provides the functionality of creating public link for files. If so, it could be solved with a plugin when we implement the plugin functionality.

Ok, what if Dropbox, OneDrive, Yandex.Disk this functional is present.

@Slauta Do you mean "If Dropbox is present, share to Dropbox"? Otherwise I don't understand.

@CodeTheory Yes!)

In this case we already have an issue open for such a thing 😄 #147
We're working on plugins, as @sindresorhus mentioned; this should enable us or others to create functionality just as you requested.
Since we already have a few issues open related to this, I'm going to go ahead and closed this one. Thanks for your request, though!

Cool! 👍


WIP - Redirect loggedin user

TASK:

if a user goes to /auth/login, check they are logged in.
if they are logged in redirect them to the /courses page.

NOTES:

I think the /auth/login is a public path so it doesn't allow a guard.
New behavior with these changes: The user is going to see the login page for 1 sec and then will be redirected to the courses.

Hi Rosalia, Thank you so much for your PR. Your solution works well.
I would suggest one improvement - copy the code snippet you wrote in the NavigationMenu file in /pages/auth/login.tsx. Navigation Menu loads on every page and this snippet isn't necessarily relevant to every page. If you put it in  /pages/auth/login.tsx, it would only run on the /auth/login page and you could remove the later part of your if statement checking the url. I hope that makes sense. Let me know if you have any questions!

Thanks, @eleanorreem !! What a great review! 😸


Add more solutions

You can add more solutions to any new problems. Make sure the solution(s) is/are in Java language.
If you want to submit the solution in any other language then, add a folder to the root of the repo like JavaScript and then add the solutions inside that folder.

I have many solutions to problem i solved during my college days. Do you want me to add them here i can add them.

Yes @CruiseDevice, do it!

But the thing is i have solved problems from Algorithms and Data Structures section. So how should i structure the folder names for that.

Hey @Kvaibhav01! I am interested to add some Dynamic Programming algorithms

Hi @Rimjhim28, it's okay to add algo to the problem's solution README.md file. It will be even better if you could explain the problem and solution. See this example.

@Kvaibhav01 can i add Sorting algorithms in Algorithms section/c++ ..?

Sure @Yaswanth899, just follow the project structure as mentioned here.

Just add a folder named Algorithms or Data Structures in the root of the repo.

Example: Algorithms > Problem 1 > Solution.java


Frequently getting SSH key exchange error (Socket error: disconnected) in Netopeer2 logs

Hi,
I am running netopeer2 server and sysrepo. I have an instance of ONOS client connected to my netopeer2 server. When i see Netopeer2 logs it always shows "SSH key exchange error (Socket error: disconnected)" but my client does not loose connection to netopeer2 server. Also, when trying to connect through netopeer2-cli, i am able to connect successfully. What is the reason for this log coming so frequently but no impact can be seen due to this?

Hi,
based on the error I would blame a client that is disconnecting before the SSH keys are exchanged. You should check the client, the server cannot really provide more information.
Regards,
Michal


Albania org number is called VAT number

[Enter feedback here]
Albania org number is called VAT number

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e4e2ac78-e08b-d7c8-5eec-baf9e9c13b62
Version Independent ID: 66014f69-00c9-0e9b-fe0a-d0e10f2ca5eb
Content: About registration numbers and under review notifications
Content Source: microsoft-365/commerce/about-registration-numbers.md
Service: o365-administration
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@cmcatee-MSFT Please help us in resolving this issue. Thanks

Specific country information was removed and replaced with a link to https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/


godep import webui into netplugin

This just godep imports the latest objmodel into netplugin

Can i get an LGTM on this godep import?

LGTM, you might want to squash.

I did Squash once. Unfortunately, this is how many tries it took me to figure out how to rebase the branch after squashing :(


Error 502

No idea what this means, if it's even an issue, but it occurred twice.  Continued on and hasn't reoccurred in the last 12 hours.
23:38:05.941    FIELD        Field update error to field.carriota.com: 502 null

Error 502 (Server Error)!!1

502. That’s an error.
The server encountered a temporary error and could not complete your request.Please try again in 30 seconds.  That’s all we know.

Seems that the load balancer was temporarily unavailable. If this occurs only sporadically, it is not a big issue.


(Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main

Step 1: Describe your environment

Android device: Xperia XA1
Android OS version: 8.0.0
Google Play Services version: 4.3.0
Firebase/Play Services SDK version: 18.0.0

Step 2: Describe the problem:
Steps to reproduce:
(Offline only) App crash whenever the device is not connected to internet.
Observed Results:
E/AndroidRuntime: FATAL EXCEPTION: main
Relevant Code:
Calling fetch() or fetchAndActivate() inside onResume()

The app close immediately without giving any details in stacktrace

@ArcherEmiya05 can you provide some logs from logcat that show the crash?  There should be some evidence in there.

Same thing for me and there's no stacktrace :(

@ArcherEmiya05 can you provide some logs from logcat that show the crash? There should be some evidence in there.

Thats all the what it says in logcat on 3 devices that I've tested.
E/AndroidRuntime: FATAL EXCEPTION: main
Process: package.name, PID: XXXX
Also I tried it on different device LG K10 K430dsy and Cherry Mobile J5s. All crash when device is not connected to a network. So my work around as of now is to check whether the app is connected to any network before calling fetch() or fetchAndActivate()

Any updates on this issue? Did you find a solution?

Any updates on this issue? Did you find a solution?

happens on my app as well, no stacktrace


'TIME' inside MULTI is not allowed

In queue_def， when tries to get queue definitioins it may use TIME function to get time of redis server, but in some special Redis version, it may cause some problem (i use Redis 5.0 Community Edition on Aliyun)
ResponseError: Command # 1 (TIME) of pipeline caused error: 'TIME' inside MULTI is not allowed
`In [9]: c = rsmq_saving_quene.client
In [10]: x = c.pipeline(transaction=True)
In [11]: x.time()
Out[11]: Pipeline<ConnectionPool<Connection<host=xxxx.aliyuncs.com,port=6379,db=0>>>
In [12]: x.execute()
ExecAbortError                            Traceback (most recent call last)
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/client.py in execute_transaction(self, connection, commands, raise_on_error)
3583         try:
-> 3584             response = self.parse_response(connection, '')
3585         except ExecAbortError:
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/client.py in parse_response(self, connection, command_name, **options)
3649         result = Redis.parse_response(
-> 3650             self, connection, command_name, **options)
3651         if command_name in self.UNWATCH_COMMANDS:
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/client.py in parse_response(self, connection, command_name, **options)
852         try:
--> 853             response = connection.read_response()
854         except ResponseError:
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/connection.py in read_response(self)
717         if isinstance(response, ResponseError):
--> 718             raise response
719         return response
ExecAbortError: Transaction discarded because of previous errors.
During handling of the above exception, another exception occurred:
ResponseError                             Traceback (most recent call last)
 in
----> 1 x.execute()
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/client.py in execute(self, raise_on_error)
3689
3690         try:
-> 3691             return execute(conn, stack, raise_on_error)
3692         except (ConnectionError, TimeoutError) as e:
3693             conn.disconnect()
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/client.py in _execute_transaction(self, connection, commands, raise_on_error)
3587                 self.immediate_execute_command('DISCARD')
3588             if errors:
-> 3589                 raise errors[0][1]
3590             raise sys.exc_info()[1]
3591
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/client.py in execute_transaction(self, connection, commands, raise_on_error)
3574             else:
3575                 try:
-> 3576                     self.parse_response(connection, '')
3577                 except ResponseError:
3578                     ex = sys.exc_info()[1]
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/client.py in parse_response(self, connection, command_name, **options)
3648     def parse_response(self, connection, command_name, **options):
3649         result = Redis.parse_response(
-> 3650             self, connection, command_name, **options)
3651         if command_name in self.UNWATCH_COMMANDS:
3652             self.watching = False
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/client.py in parse_response(self, connection, command_name, **options)
851         "Parses a response from the Redis server"
852         try:
--> 853             response = connection.read_response()
854         except ResponseError:
855             if EMPTY_RESPONSE in options:
/data/home/work/xx/venv/xx/lib/python3.6/site-packages/redis/connection.py in read_response(self)
716
717         if isinstance(response, ResponseError):
--> 718             raise response
719         return response
720
ResponseError: Command # 1 (TIME) of pipeline caused error: 'TIME' inside MULTI is not allowed
`

Interesting, is this a Redis 5.0 issue or something custom?

I was unable to replicate this using docker:
Using this docker-compose:
version: "3"

services:
  redis5:
    image: redis:5
  python:
   image: python:3.6
   links:
      - "redis5:redis"

I run:
$ docker-compose run --rm python bash
Creating redis-compose_python_run ... done
root@d5e6a8b82541:/# pip install redis
Collecting redis
 Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)
    |████████████████████████████████| 72 kB 559 kB/s
Installing collected packages: redis
Successfully installed redis-3.5.3
root@d5e6a8b82541:/# python
Python 3.6.12 (default, Dec 18 2020, 06:04:50)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from redis import Redis
>>>
>>> client = Redis(host='redis')
>>>
>>> client.execute_command('INFO')['redis_version']
'5.0.10'
>>> transaction = client.pipeline(transaction=True)
>>> transaction.time()
Pipeline<ConnectionPool<Connection<host=redis,port=6379,db=0>>>
>>> transaction.execute()
[(1608659989, 487522)]
>>>

Going to close this as unable to reproduce


calc isn't retained properly for background-position

.one {
	width: 1px;
	width: -webkit-calc(1px * 2);
	width: -moz-calc(1px * 2);
	width: calc(1px * 2);
}

.two {
	background-position: 1px 0;
	background-position: -webkit-calc(1px * 2) 0;
	background-position: -moz-calc(1px * 2) 0;
	background-position: calc(1px * 2) 0;
}

Version is 3.4.14
Output:
.one{width:1px;width:-webkit-calc(1px * 2);width:-moz-calc(1px * 2);width:calc(1px * 2)}
.two{background-position:calc(1px * 2) 0}

Opps, I hit the submit button too early, just edited

Thanks @ngyikp, will be fixed in next release.

Fixed in 3.4.15.

Wow, that's a fast fix, thanks ^_^
Though I found another regression caused by upgrading from 3.4.14 to 3.4.15 (gotta love real world CSS :p )
Input:
.abc {
	background: #fff;
	background-image: url(a.png), -webkit-linear-gradient(top, #000, #111);
	background-image: url(a.png), -moz-linear-gradient(top, #000, #111);
	background-image: url(a.png), -o-linear-gradient(top, #000, #111);
	background-image: url(a.png), linear-gradient(to bottom, #000, #111);
}

3.4.14 is pretty much the same:
.abc {
	background: #fff;
	background-image: url(a.png), -webkit-linear-gradient(top, #000, #111);
	background-image: url(a.png), -moz-linear-gradient(top, #000, #111);
	background-image: url(a.png), -o-linear-gradient(top, #000, #111);
	background-image: url(a.png), linear-gradient(to bottom, #000, #111)
}

3.4.15 hoists the linear-gradient to the background shorthand, which doesn't work for browsers that don't support it:
.abc {
	background: url(a.png), linear-gradient(to bottom, #000, #111) #fff;
	background-image: url(a.png), -webkit-linear-gradient(top, #000, #111);
	background-image: url(a.png), -moz-linear-gradient(top, #000, #111);
	background-image: url(a.png), -o-linear-gradient(top, #000, #111)
}

I guess I should create another new issue to make it easier to track for you?

Yes, please open a new issue. I'll take a look tomorrow.


webgui: clarify help text for firewall rules traffic direction

A lot of OPNsense users become confused by the concept of traffic direction in firewall rules (despite this being covered in the official documentation). This change is to expand the help text that is shown in the webgui for the Direction option in the firewall rules, along the lines of the official documentation, to hopefully to provide more clarity for users. Feel free to accept or decline in your discretion!

No interest in this one @fichtner @AdSchellevis? If not I will close it.

@Greelan we needed to discuss this, but it sounds like a good idea indeed. Thanks!


Fix webpack build process

Short description of what this resolves:
This PR fixes issues with modules not being bundled.
Changes proposed in this pull request:

Stop using webpack-node-externals
Ignore the warning from express

How Has This Been Tested?

Tested by building and installing extension VSIX file.
Checklist:

[x] I have read the contribution guidelines.

Why are we removing webpack-node-externals ?

Webpack allows you to define externals - modules that should not be bundled. When bundling with Webpack for the backend - you usually don't want to bundle its node_modules dependencies. This library creates an externals function that ignores node_modules when bundling in Webpack.

Ignore the warning from express

Is there any alternate way to manually define to ignore the warning.

@shanalikhan

Why are we removing webpack-node-externals ?

That package was added to the PR to prevent the warning from express. However, it also stops webpack from bundling necessary dependencies needed by the extension. This is why that error with fs-extra was happening: because it wasn't bundled with the extension. Dependencies should be put in externals only if they already exist on the target system, like built-in node modules (fs, path, etc) or native modules.

Is there any alternate way to manually define to ignore the warning.

Why do we need an alternative way? According to the docs, stats.warningsFilter is the proper way of doing this.

Okay thanks. I will test more scenarios after creating the package and let you know if there is any error.
Else we will release 3.4.0 in coming days.

I have tested it, it still doesnt working. same error

@shanalikhan After cloning v3.4.0, installing dependencies, building it using vsce package, and installing it on a portable version of VSCode with no data, I got no errors and was presented with the landing page. Can you try doing the same?

Using standard vscode in ubuntu
installed dependencies
build package
install on standard vscode
Same error.

Do you want me to try to portable version as well ? I dont think the code difference will make any impact

@shanalikhan Have you tried cloning it again before doing those steps?
git clone git@github.com:shanalikhan/code-settings-sync -b v3.4.0

or
git clone https://github.com/shanalikhan/code-settings-sync -b v3.4.0

Found it working, need to create package as root user ( although never build using that ).
Thanks


[0] Allow users to see gatekeeper constraints

Is your feature request related to a problem? Please describe.
To make it easier for developers using ck8s to comply with gatekeeper rules and follow the best security practices, they should be able to get and list gatekeeper constraints in the cluster
Describe the solution you'd like
Create custom RBAC so that user admins can:
  resources:
    - k8sallowedrepos.constraints.gatekeeper.sh
    - k8srequirenetworkpolicy.constraints.gatekeeper.sh
    - k8sdisallowedtags.constraints.gatekeeper.sh
    - k8sresourcerequests.constraints.gatekeeper.sh
  verbs:
    - get
    - list

There should also be some documentation on this page https://elastisys.io/compliantkubernetes/user-guide/safeguards/ with examples on how they can view their violations
Definition of done:
admin users can now see which gatekeeper rules their pods are violating when gatekeeper rules are in enforcementAction: dryrun

@viktor-f any reason as to why not give them access to all constrainttemplates?
Is there are a situation where we might have a policy that they should not be able to view?


tornado: Handle the handler having been cleared by connection close.

As premonitioned in c741c527d7cc56d7a4999257b7332ce2441bf63b, it is indeed possible for get_handler_by_id to error out by cause the handler has been unset elsewhere.
Protect the callsites of get_handler_by_id to be able to gracefully handle when the handler has already done away.

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks good, marked to merge once CI passes.


Add ability to set Context on UnleashClientBase.init

About the changes
Currently UnleashClientBase.init only allows setting appName and environment context variables. This means for other "static" context variables we currently need to do the following (simplified):
let init = UnleashClientBase.init(appName: "example-app", environment: "development")

client.start()

// Internally calls an unnecessary stop/start
client.updateContext(context: ["appVersion": "1.2.3"])

In my case the static variable is the current appVersion, but I'm sure there are other use-cases out there.
With these changes you can do the following instead:
let context = Context(appName: "example-app", environment: "development", properties: ["appVersion": "1.2.3"])
let init = UnleashClientBase.init(context: context)

client.start()

// Call to updateContext not needed avoiding extra stop/start

I'll need to play around with this API to make it consistent with our other SDKs. I will try to get to you tomorrow

@jlubawy I took the inspiration from your suggestion and came up with the interim solution https://github.com/Unleash/unleash-proxy-client-swift/pull/73. Please let me know what you think.
In the next (breaking change) version of this client we could refactor towards more strongly typed API

@jlubawy I took the inspiration from your suggestion and came up with the interim solution #73. Please let me know what you think. In the next (breaking change) version of this client we could refactor towards more strongly typed API

I commented on that PR, looks good to me but I made a request about making some Context fields public.
I'll leave it up to you whether you want to close this PR, or keep it open for some future v2 release, both are ok with me. I'm also unblocked for now as I'm using the changes made in this PR, and will switch back to this repo once/if it supports my specific use-case.
Thank you for being open to and reviewing my changes!

I'll close this one for now. Thank you for your great improvement ideas in this and other PRs.


add how to add mistralai python client package to poetry projects

It is not obvious to the end user how to add the MistralAI python client package to their projects in the README file

I tried the changes in this branch, but got this error
Using version ^0.0.8 for mistralai
Cannot add dependency on mistralai to project with the same name.

I was able to get pip install mistralai working from within the poetry shell

You do not need to use poetry to install the mistralai package from pypi.
You can simply do pip install mistralai and use the library.
poetry is only required if building from source.
I will update the README to make this clearer


Fix syntax error in type annotation

Signed-off-by: Daiki Katsuragawa<EMAIL_ADDRESS>When I executed the following command ...
mypy --ignore-missing-imports --warn-unreachable core/

The following error was detected.
core/src/autogluon/core/utils/utils.py:368: error: Syntax error in type annotation  [syntax]

When a function returns more than one value, the values are represented as tuples.

For example, I get the following error with the following task.
https://github.com/awslabs/autogluon/actions/runs/3455985811/jobs/5768417443
Error: 🚨 Insuffient Permissions! daikikatsuragawa does not have write permissions

What should I do?

Merge branch 'master' into master
This is a response to conflicts.


Corrected fix for PeripheralManager as a singleton

This is the correct fix for PeripheralManager as a singleton

You missed privatising the destructor and fixing the return type on the copy assignment.


Invalid gtest-1.7.0.zip file

The error  log is shown below:
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100  1582  100  1582    0     0   1558      0  0:00:01  0:00:01 --:--:--  1558
Invalid gtest-1.7.0.zip file
Seems that the file Invalid gtest-1.7.0.zip file has been removed from the url:https://googletest.googlecode.com/files/gtest-1.7.0.zip
Could assistance be provided to fix this problem?
Many thanks.

yes,I downloaded a new file gtest-1.7.0.zip file to fixed the error

this seems to be a duplicate of #67


Prod and dev deployments not syncing

Error from Argo:
Raw
error validating data: [ValidationError(Deployment.spec.template.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm): missing required field "topologyKey" in io.k8s.api.core.v1.PodAffinityTerm, ValidationError(Deployment.spec.template.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].podAffinityTerm): missing required field "topologyKey" in io.k8s.api.core.v1.PodAffinityTerm]

Formatted

ValidationError

Deployment

spec

template

spec

affinity

podAffinity

preferredDuringSchedulingIgnoredDuringExecution

[0]

Fixed enough to enable syncing. This still needs to be reviewed. See biosimulations/deployment#43


[Question] Where is the custom hit/killsound location?

"csgo/sound", means on Osiris's source (CSGO folder, and I need to make a "sound" folder there and recompile?) or on the CSGO folder (Steam\steamapps\common\Counter-Strike Global Offensive\csgo and I need to make a "sound" folder there?)?
I tried to place a sound file (both on .wav and .mp3 formats) at the csgo "sound" directory that I made but it didn't work.

nevermind, it works against bots. CSGO detects it though, and doesn't let me start a new game against people (no bans so far however).

how did u make it work

afaik, the .wav files should be mono


problem with widget id named 'sd'

Hey,
when assigning to a uix id the value 'sd' the id is not set or an error is generated. Pseudocode example:
Builder.load_string('''
<Test>:
	sd: sd
	Label:
		id: sd
''')

a = Test()
a.sd.text = 'hello' <<< error

I think there is a collision with the reserved sd() function. Change sd to sdi etc. and the code will work.
An error message would be nice.
I am useing kivy 1.8.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Cannot reproduce with master, please update kivy and tell us if the issue persists.
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.boxlayout import BoxLayout

kv = """
<Test>:
    sd: sd
    orientation: 'vertical'
    Label:
        id: sd
    Button:
        text: 'Change label text'
        on_press: root.callback()
"""

Builder.load_string(kv)

class Test(BoxLayout):

    def callback(self):
        self.sd.text = 'hello'

class TestApp(App):
    def build(self):
        return Test()

if __name__ == '__main__':
    TestApp().run()


Message sends twice

Hey,
Whenever I use something like
`if (event.isFromType(ChannelType.PRIVATE)) //If this message was sent to a PrivateChannel
{
//The message was sent in a PrivateChannel.
//In this example we don't directly use the privateChannel, however, be sure, there are uses for it!
PrivateChannel privateChannel = event.getPrivateChannel();
        System.out.printf("[PRIV]<%s>: %s\n", author.getName(), msg);
        privateChannel.sendMessage("This message should only be sent once").queue();

}`
And then I send the bot a message, it sends back mutliple times. Let me demonstrate: https://gyazo.com/3cf013f9330b9f1a4190a85ed86e46e0
Any idea why this might be happening? Using your exact example 💯

The bot gets an event for its own message.

So, basically, to fix, check if the message is received from a bot or is there an own event to recieve message from clients only?

just compare the author to the selfuser

Thanks!

If you need more assistance, please ask in the #java_jda channel

You should check whether the message author is the currently logged in account.
event.getMessage().getAuthor().equals(event.getJDA().getSelfUser())
It is also good practice to ignore messages from Users that are bot accounts User#isBot()


In branch manager, selecting a local branch doesn't automatically unselect a remote branch

Or vice versa. This could lead to some confusion to user because if both a remote branch and a local branch are selected, then every button will be enabled (which they shouldn't).

Fixed it.


Remove top-level sstruct and xmlWriter?

Now that extra_path=FontTools is gone from our setup.py (see https://github.com/fonttools/fonttools/pull/695), I would like to use this opportunity to also drop support for the stand-alone sstruct and xmlWriter modules that we still install to site-packages alongside the main fontTools package.
These were at some point moved by Behdad to their current location, inside fontTools.misc package, but they were subsequently restored to their original position (as aliases) after some users started complaining about sudden ImportErrors.
I think we can now safely drop those, as compatibility with the "sourceforge" fonttools is no longer so important.
Anybody who still relies on importing from those instead of the fontTools.misc.* counterparts, could keep using version 3.1.2. But future versions would no longer have them.
WDYT?
/cc @justvanrossum @LettError @typemytype @typesupply @benkiel

That would have been fine if DeprecationWarnings had been issued for a while. I suggest to do that anyway, and wait a release or two with removing them.

Ok, let's do that.

I think Adobe used these module as well, I remember @frankrolf mentioning it back then.

It should be easy to replace this:
from xmlWriter import XMLWriter

with this:
from fontTools.misc.xmlWriter import XMLWriter

The reason I want remove them is that, without the containing "FontTools" folder which was previously created by the deprecated extra_path setup keyword, now we are kind of polluting the  site-packages with extra modules which are outside of the fontTools namespace.
It is conceivable for another unrelated project to use the names xmlWriter or even sstruct. With extra_path, one would mask another in the sys.path; without the extra_path, one risks overwriting the other...
Anyway, I'll just add the deprecation warning for now.

I dont understand what the issue is... Did you encounter other packages using a different sstruct and xmlWriter?
And if so, it would be nice to send PR to all of these: https://github.com/search?p=1&q="from+xmlWriter+import+XMLWriter"+language%3APython&ref=searchresults&type=Code&utf8=✓ https://github.com/search?p=1&q="from+xmlWriter+import+XMLWriter"+language:Python&ref=searchresults&type=Code&utf8=✓
(github seems not to be able to search for an exact match...)
gr Frederik
www.typemytype.com

On 08 Oct 2016, at 18:02, Cosimo Lupo<EMAIL_ADDRESS>wrote:
It should be easy to replace this:
from xmlWriter import XMLWriter
with this:
from fontTools.misc.xmlWriter import XMLWriter
The reason I want remove them is that, without the containing "FontTools" folder which was previously created by the deprecated extra_path setup keyword, now we are kind of polluting the site-packages with extra modules which are outside of the fontTools namespace.
It is conceivable for another unrelated project to use the names xmlWriter or even sstruct. With extra_path, one would mask another in the sys.path; without the extra_path, one risks overwriting the other...
Anyway, I'll just add the deprecation warning for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/fonttools/fonttools/issues/696#issuecomment-252432717, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIp1n1rA9bH18BH1LgQJzdQTNJM5Wraks5qx76ogaJpZM4KRuiY.

Well, my point of view is that ideally fontTools as a library should be self-contained in its own package.
There might be historical reasons why sstruct and xmlWriter were put outside of the core fontTools package. But now I think we could all agree on moving those inside it for good.
It's not such a big deal to change one line in the code, no?

Indeed historical reasons, or simply not very good reasons. The extra_path things has always been ugly, I had completely forgotten about it. It's just too bad noone thought of adding a deprecation warning before.

+1 for a deprecation warning (for a couple of versions)
my concern is not my code base, its idd one line of code, but all the scripts out there of well willing type designers which will freak out if it doest work. They already will freak out of that warning and ask around what todo...
gr Frederik
www.typemytype.com

On 08 Oct 2016, at 21:15, Just van Rossum<EMAIL_ADDRESS>wrote:
Indeed historical reasons, or simply not very good reasons. The extra_path things has always been ugly, I had completely forgotten about it. It's just too bad noone thought of adding a deprecation warning before.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/fonttools/fonttools/issues/696#issuecomment-252442846, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIp1haIhc6MIkx8ct-qaRAhLo9xjxgmks5qx-vtgaJpZM4KRuiY.

I see.. But if they are knowledgeable enough to now how to use sstruct and xmlWriter, they will definitely know what to do, I think ;)

Exactly. Also: I know of people using xmlWriter separately, but I have never even heard of anyone using sstruct directly.

Good to see this getting fixed before any new upstream release.

I'm going to proceed removing the top-level sstruct and xmlWriter aliases in the 3.3.0 release in the next few days, if nobody has objections.


How to use this?

I have now installed the library. How do I add my yubi key?
I assume I need to go to a route? Which? I have tried /u2f/auth and /u2f/register but both URLS redirect me to home.

Yes in fact /u2f/register route need en u2f authentication to access.
Perhaps it's not the best idea...
If you want to allow an user to register a yubi key you need:

Create a new route in your application where the user is logged in (no u2f required)
Register 2 new routes in your apps

           $router->get('/auth/u2f/whatever/register', [                 'uses' => 'U2fController@registerData',                 'as' => 'u2f.register.data',                'middleware' => 'auth' // <- not u2f             ]);             $router->post('/auth/u2f/whatever/register', [                 'uses' => 'U2fController@register',                 'as' => 'u2f.register',                'middleware' => 'auth' // <- not u2f             ]);

Thanks, but that generates the following error:
Fatal error: Uncaught ReflectionException: Class view does not exist in /Users/simplenotezy/Projects/myapp/vendor/laravel/framework/src/Illuminate/Container/Container.php:752 Stack trace: #0 /Users/simplenotezy/Projects/myapp/vendor/laravel/framework/src/Illuminate/Container/Container.php(752): ReflectionClass->__construct('view') #1 /Users/simplenotezy/Projects/myapp/vendor/laravel/framework/src/Illuminate/Container/Container.php(631): Illuminate\Container\Container->build('view') #2 /Users/simplenotezy/Projects/myapp/vendor/laravel/framework/src/Illuminate/Container/Container.php(586): Illuminate\Container\Container->resolve('view', Array) #3 /Users/simplenotezy/Projects/myapp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(721): Illuminate\Container\Container->make('view', Array) #4 /Users/simplenotezy/Projects/myapp/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(110): Illuminate\Foundation\Application->make('view', Array) #5 /Users/simplenotezy/Projects/myapp/vendor/lar in /Users/simplenotezy/Projects/myapp/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 752

Correct method:
Route::get('/auth/u2f/register', [ 'uses' => '\Lahaxearnaud\U2f\Http\Controllers\U2fController@registerData', 'as' => 'u2f.register.data', 'middleware' => 'auth']);
Route::post('/auth/u2f/register', [ 'uses' => '\Lahaxearnaud\U2f\Http\Controllers\U2fController@register', 'as' => 'u2f.register', 'middleware' => 'auth']);

It does not seem to work though. When I add my key (by pressing the button) nothing happens). See video:
https://youtu.be/YwHuD9eiapo

Before plugging in (and confirming) go to your network tab, enable preserve log, enable all types and then clear the logs out of your way... now plugin and confirm your device.
Laravel is probably returning 419 because there is no CSRF token in your form that is being submitted.


Error getting value from 'Address' on 'System.Net.IPAddress'

Source/destination types
LogRequest requestStart = new LogRequest()
                {
                    IsStart = true,
                    RequestId = requestId,
                    IP = context.Connection.RemoteIpAddress,
                    Token = context.Request.Headers["Authorization"].FirstOrDefault()?.Split(" ").Last(),
                    Method = context.Request.Method,
                    CreateTime = DateTime.UtcNow
                };

Source/destination JSON
{"Error getting value from 'Address' on 'System.Net.IPAddress'."}

Expected behavior
I was expecting the {::1} that is viewable in the object explorer to be translated.
Actual behavior
The exception {"Error getting value from 'Address' on 'System.Net.IPAddress'."} was thrown.
Steps to reproduce
JsonConvert.SerializeObject(requestStart)

This also seemed to be a problem in System.Text.Json when I posted it in aspnetcore.
https://github.com/dotnet/aspnetcore/issues/44858

Was able to get this to function the way that I wanted too by doing by doing some custom checking on the IP address and changing the type within the model to a string. Also, wanted the standard loopback on this instead of ::1. This is no longer an issue for me, I've left the code here for reference. Feel free to close.


Investigate flaky hello-pepr-watch tests

Environment
Device and OS: CI
App version: main
Kubernetes distro being used: k3d
Steps to reproduce

Examine failed workflow tests for hello-pepr-watch

Expected result
Test passes
Actual Result
Test occasionally fails
Visual Proof (screenshots, videos, text, etc)
1 hello-pepr-watch test has failed on main within the last 200 runs of E2E tests as of 21 Oct 2024.
Severity/Priority
Low
Additional Context
Generate a list of recently-failed E2E tests in CI with this command:
 gh run list --workflow "E2E - Pepr Excellent Examples" --limit 200 --json workflowName,headBranch,conclusion,databaseId --jq '.[] | select(.conclusion == "failure" and .headBranch == "main") | .databaseId' | xargs -I {} gh run view {} --json jobs --jq '.jobs[] | select(.conclusion == "failure") | .name' > ci-failures.log && sort ci-failures.log | uniq -c | sort -r

closed in PEXEX PR


Activity names in the Transitions table

Sometimes, if the activity name is long, it is not fully visible in the table.
If possible, display the full activity names on hover.
In the picture, the result for the Procure-to-Pay.csv log.

Cannot be resolved at this time.
React MUI (Library used for the entire project + Prosimos) has the resizing of table columns locked behind a commercial/paid version of the library.
I've resized the columns so the Activity names have the most space possible without reducing readability of the other columns.
-> Once we would get a commercial license for this library, resizing is just a parameter to add.

Accepted.


Fix test_dpp_from_swizzled_hash_keys on CDH

test_dpp_from_swizzled_hash_keys can fail on platforms where Hive does not support dynamic partitioning by default.  This updates the test to explicitly request dynamic partitioning support when setting up the tables for test.

build


fixes for weekly.2012-01-15

These were necessary to get doozerd running on the latest weekly. gofix didn't yield anything.

fixed.


Typo in README.md - genicons.p ---> genicons.py

Describe the bug
Typo in README.md under Style/Syntax (Development Section)
flake8 ./scripts/genicons.p
https://github.com/creativecommons/licensebuttons/commit/23106301aaf4820239cc47f768190c24c6c9e1b9#r37563262
Expected behavior
It should be changed to flake8 ./scripts/genicons.py

Hello, is anyone working on this? Can I contribute to this?

Go ahead @gabbyprecious


HTML character entities added to javascript object using @sanity/svelte-loader

Describe the bug
When accessing the result object from useQuery html entities are added to string values, resulting in unexpected results.
I often use Sanity fields to determine which class to use in a Svelte component, this bug prevents that.
I'm assuming these entities are used to trigger the "Open in studio" overlays.
Is there a utility to strip these entities? Using .replace function doesn't work.

{#if project.title}

{JSON.stringify(project.title}

Length: {project.title}

variable === 'Photographer': {project.title === 'Photographer'}

{/if}

Screenshots

Which versions of Sanity are you using?
@sanity/cli (global)     3.37.2 (latest: 3.39.0)
@sanity/image-url         1.0.2 (up to date)
@sanity/svelte-loader   1.11.17 (up to date)
@sanity/types            3.39.0 (up to date)
@sanity/visual-editing   1.8.15 (up to date)

What operating system are you using?
MacOS
Which versions of Node.js / npm are you running?
v20.11.0

Didn't see #631


Bug in instance method definition in node with es2019 target since version 1.3.40

Describe the bug
Since @swc/core version 1.3.40, the way instance methods are handled has changed.
When running a service locally and calling an instance method not defined in the class directly, but later using class.prototype.functionName = function() {}, it gives an error that the method is not defined : user.validate is not a function  > TypeError: user.validate is not a function and the value of user.validate is actually undefined.
If I change the instantiation to be inside the class (like in UserB in the playground) it works as before. On version 1.3.39 both types of instantiation work as expected.
Input code
class UserA {
  password: string;

  validate!:(password: string)=> boolean;
}

UserA.prototype.validate = function(password) {
  return this.password === password;
}

const user = new UserA();
user.validate("hello");

class UserB {
  password: string;

  validate(password: string){
    return this.password === password;
  }
}
const userB = new UserB();
userB.validate("hello");

Config
{
  "jsc": {
    "parser": {
      "syntax": "typescript",
      "tsx": false
    },
    "target": "es2019",
    "loose": false,
    "minify": {
      "compress": false,
      "mangle": false
    }
  },
  "module": {
    "type": "es6"
  },
  "minify": false,
  "isModule": true
}

Playground link
https://play.swc.rs/?version=1.3.40&code=H4sIAAAAAAAAA42PQQ6CMBBF9yTcYWRFNxwAUxN7Bw9QoUqTpkPaAWIMd7eUUI26YDkz%2F%2F95vzHSe7h45c7wzDOAPswTurYGT07b%2BzHPlvUojW4lqUNdfisYP8EV0Shpg3he9DGv6h0S0qNX1eYGDrfBNqTRphi2%2FnWKBmeBOu2r7QSc8wS0ZTdoPcEQPoQ0q6YVvmThvizTr7LolDFYsNggOlNXsavrb9Po2scKMEfgN6744BWJV%2FwBfgFRMyd6lQEAAA%3D%3D&config=H4sIAAAAAAAAA1VPSQ7CMAy85xWRzxyAAxL8gUdEwa2Csil2JaKqfydpk0Jv9iye8SykhDdpeMi5jGWJKhGmfS8IZc%2FqUxDgHJF0MpHh1FmmSg3KEq7QsjHAKo3I1YV0PV%2FuzQE2BMLuaJgz3gz5P1MHFxMSHYVVqvxo8ZgoWiq48JpWsv1S%2B24NbvAT9bD9MBh6dienCcXyBaIK9Y0XAQAA
Expected behavior
The method should be well defined even for the UserA example
Actual behavior
No response
Version
1.3.40
Additional context
No response

Thank you for the explanation!

Thank you for the explanation ! Since it worked before in our Node.js environment I assumed that it was an swc issue, but in the end all I had to do was replace validate! by declare validate 🤦


CI fails on clippy warnings

close #76

Whoops! Accidentally pushed to the wrong branch. @bkolad What do you think of the revised version?

lgtm


Use watch-based cache in density e2e tests.

This fixes a TODO in test, but more importantly reduces artificial load during density tests. Listing all pods every few seconds is not a representative load and should not out-weight other requests.
Ref #4521

LGTM with one minor comment.

@gmarek PTAL

I'm going to merge it to see at least few jenkins runs during our day.


sched: Properly account for timeslicing in tickless mode

When adding a new runnable thread in tickless mode, we need to detect
whether it will timeslice with the runnable thread and reset the
timer, otherwise it won't get any CPU time until the next interrupt
fires at some indeterminate time in the future.
This fixes the specific bug discussed in #7193, but the broader
problem of tickless and timeslicing interacting badly remains.  The
code as it exists needs some rework to avoid all the #ifdef mess.
Note that the patch also moves _ready_thread() from a ksched.h inline
to sched.c.
Signed-off-by: Andy Ross<EMAIL_ADDRESS>

Codecov Report

Merging #9595 into master will not change coverage.
The diff coverage is 75%.

@@           Coverage Diff           @@
##           master    #9595   +/-   ##
=======================================
  Coverage   52.15%   52.15%
=======================================
  Files         212      212
  Lines       25916    25916
  Branches     5582     5582
=======================================
  Hits        13517    13517
  Misses      10149    10149
  Partials     2250     2250

Impacted Files
Coverage Δ

kernel/include/ksched.h
95.18% <ø> (+0.92%)
:arrow_up:

kernel/sched.c
90.94% <75%> (-0.25%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0d0b221...e220eae. Read the comment docs.


CountryListSpinner.java:108 (Caused by java.lang.NullPointerException )

Welcome to FirebaseUI and thanks for submitting an issue!
Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.
If not, please feel free to fill in the following info so we can help faster!
Step 1: Are you in the right place?

For issues or feature requests related to the code in this repository file a GitHub issue.
For general technical questions, post a question on StackOverflow tagged appropriately.
For general Firebase discussion, use the firebase-talk google group
For help troubleshooting your application that does not fall under one of the above categories, reach out to the personalized Firebase support channel

Step 2: Describe your environment

Android device: Nexus 5X___
Android OS version: 6.0.1___
Google Play Services version: _____
Firebase/Play Services SDK version: 17.0.0___
FirebaseUI version: 4.3.2

Step 3: Describe the problem:
Unable to start activity ComponentInfo{app.myandroidhello.com.chatmurcianys/com.firebase.ui.auth.ui.phone.PhoneActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.Collection.size()' on a null object reference

Steps to reproduce:
I have not been able to reproduce the problem, but it only seems to happen to a Nexus phone
Observed Results:
  * Caused by java.lang.NullPointerException
Attempt to invoke interface method 'int java.util.Collection.size()' on a null object reference
keyboard_arrow_up

java.util.AbstractSet.removeAll (AbstractSet.java:99)
arrow_right
com.firebase.ui.auth.ui.phone.CountryListSpinner.getCountriesToDisplayInSpinner (CountryListSpinner.java:108)

com.firebase.ui.auth.ui.phone.CountryListSpinner.init (CountryListSpinner.java:80)

com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment.setupCountrySpinner (CheckPhoneNumberFragment.java:203)

com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment.onViewCreated (CheckPhoneNumberFragment.java:103)

androidx.fragment.app.FragmentManagerImpl.moveToState (FragmentManagerImpl.java:892)

Expected Results:

App crashes when selecting country in spinner (using pre-built UI phoneBuilder)

Relevant Code:
startActivityForResult(
                  AuthUI.getInstance().createSignInIntentBuilder()
                          .setAvailableProviders(phoneProvider)
                          .setTheme(R.style.BlankTheme)
                          .build(),REQUEST_SIGN_IN
          );

@colorgold thanks for filing this.  FirebaseUI 4.3.2 is almost a year old (released 03/26/2019) so we can no longer really accept bug reports from that version (especially if they are hard to replicate locally).  The latest version is 6.2.0.  Can you try upgrading your app to a later version of the library and see if you still experience this issue?

6.2.0

I don't even know where I found the 4.3.2 version, but I also could not find the 6.2.0 version on the Firebase website. I have gone ahead and updated it. So far, the issue has not come up again. Thank you!

@colorgold oops looks like we had an outdated docs page somewhere.  We're gonna fix that ASAP.

Looks like @wakim has this issue on 6.2.0 so reopening.

The fix for this issue has been released in version 6.2.1

Still happen on 6.2.1
Caused by java.lang.NullPointerException
Attempt to invoke interface method 'boolean java.util.Set.isEmpty()' on a null object reference
com.firebase.ui.auth.ui.phone.CountryListSpinner.getCountriesToDisplayInSpinner (CountryListSpinner.java:93)

Still happening, but now my workaround is not working. I'll have to revert to the previous version.
The device that crashed was a Nexus 5X.
Caused by java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.Set.isEmpty()' on a null object reference
       at com.firebase.ui.auth.ui.phone.CountryListSpinner.getCountriesToDisplayInSpinner(CountryListSpinner.java)
       at com.firebase.ui.auth.ui.phone.CountryListSpinner.init(CountryListSpinner.java)
       at com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment.setupCountrySpinner(CheckPhoneNumberFragment.java)
       at com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment.onViewCreated(CheckPhoneNumberFragment.java)
       at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java)
       at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java)
       at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java)
       at androidx.fragment.app.FragmentManager.moveFragmentToExpectedState(FragmentManager.java)
       at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java)
       at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java)
       at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java)
       at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java)
       at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java)
       at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java)
       at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java)
       at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java)
       at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java)
       at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java)
       at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java)
       at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1237)
       at android.app.Activity.performStart(Activity.java:6268)
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
       at android.app.ActivityThread.-wrap11(ActivityThread.java)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
       at android.os.Handler.dispatchMessage(Handler.java:102)
       at android.os.Looper.loop(Looper.java:148)
       at android.app.ActivityThread.main(ActivityThread.java:5421)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

@wakim would you mind opening a new issue about this?  Also are you able to reproduce it at all?

Caused by java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.Set.isEmpty()' on a null object reference        at com.firebase.ui.auth.ui.phone.CountryListSpinner.getCountriesToDisplayInSpinner(CountryListSpinner.java)        at com.firebase.ui.auth.ui.phone.CountryListSpinner.init(CountryListSpinner.java)        at com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment.setupCountrySpinner(CheckPhoneNumberFragment.java)        at com.firebase.ui.auth.ui.phone.CheckPhoneNumberFragment.onViewCreated(CheckPhoneNumberFragment.java)        at androidx.fragment.app.Fragment.performViewCreated(Fragment.java)        at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java)        at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java)        at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java)        at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java)        at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java)        at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java)        at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java)        at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java)        at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java)        at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java)        at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1237)        at android.app.Activity.performStart(Activity.java:6268)        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)        at android.app.ActivityThread.-wrap11(ActivityThread.java)        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)        at android.os.Handler.dispatchMessage(Handler.java:102)        at android.os.Looper.loop(Looper.java:148)        at android.app.ActivityThread.main(ActivityThread.java:5421)        at java.lang.reflect.Method.invoke(Method.java)        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
  implementation 'com.firebaseui:firebase-ui-auth:7.2.0' Causing the same issue please resolve.  Device Nexus 5X


how to get back v<IP_ADDRESS>

Have you read the Important information text above

[X] Yes i did

Current behavior
I tried all docker images tags, could not back to v<IP_ADDRESS>
Desired behavior
It's updated automatively. I want to back v<IP_ADDRESS> is that possible?
Links to screenshots
No response
To Reproduce
none
Software setup
linux
Hardware setup

vCPU: 4h
RAM: 16g
Disk:220g

Additional context
No response

Hey @AtomBoyC
Why would you want back to an older version?
You might be able to do this after some research in steamcmd here https://developer.valvesoftware.com/wiki/SteamCMD (maybe the --beta option, not sure) and the versions here https://steamdb.info/app/2394010/info/ - Big Maybe!

Thank you for your kind help. Maybe I don't need that. lol

Thank you for your kind help. Maybe I don't need that. lol

did you find a solution to downgrade to version <IP_ADDRESS>?

I did small research for next version update.
There is no way to install specific version in SteamCmd.
If you want avoid force update, set false ALWAYS_UPDATE_ON_START option in docker compose.
You can change the server image branch from SteamCmd to -beta option.
But the only branch released at Palworld is the latest server image.

Im closing this issue as resolved, feel free reopen again if needed.
If you like this project, please consider giving this repo and the docker-hub-repo a Star.


Bug: decoding CBOR byte string into time.Time is allowed if decoding option DefaultByteStringType is set to reflect.TypeOf("")

DefaultByteStringType is a new decoding option that was recently added in v2.6.0.
Setting decoding option DefaultByteStringType to reflect.TypeOf("") causes unintended side effect of allowing CBOR byte string to be decoded into time.Time.  Although decoding CBOR byte string into time.Time is a requested feature, it should not be allowed by a side effect.
Specifically, parse() decodes CBOR byte string into Go string if decoding option DefaultByteStringType is set to reflect.TypeOf("").
parseToTime() converts decoded Go value from parse() to time.Time, so CBOR byte string is decoded to Go string, which is then converted to time.Time.
This side effect is from implementation details and is not intended.  DefaultByteStringType should be limited to its documented use.
        // DefaultByteStringType is the Go type that should be produced when decoding a CBOR byte
	// string into an empty interface value. Types to which a []byte is convertible are valid
	// for this option, except for array and pointer-to-array types. If nil, the default is
	// []byte.

Thanks @benluddy for initial discussion about this at #497. :+1:

@fxamacker If you haven't already started on this one, I'm happy to pick it up. Just let me know!

@fxamacker If you haven't already started on this one, I'm happy to pick it up. Just let me know!

@benluddy Thanks! That would be great!  :+1:  Now I'm glad I updated the fuzzer on Sunday rather than work on this. :smile:

Closed by #503


Add meta-config plugin

This plugin allows you to use meta config key value to save configuration to the meta file so that other plugins can use this. First one I want to update is get-meta-file.
You can fork the repo and change the URL to your own if you think it will be easier to manage.

Looks like this isn't published on npm. Can you publish to a package name and update?
Looks like there's a name collision with this package: https://www.npmjs.com/package/meta-config It might be unused and idle. You can email the maintainer (by looking in the git log for his email address), or npm support and see if you can get the name.

@mateodelnorte the package name has been changed to meta-configure. Please take another look!

Heyo! @dorner Couple of quick notes. Your package.json has an error in it, in the github url property: https://github.com/dorner/meta-configure/blob/master/package.json#L27. It's got an extra m in it, causing the link from npm to not go to the right github page.
As for the plugin – can you update it so that meta config shows a list of commands, including get and set? I was thinking the plugin would contain the following commands:

meta config
meta config get [key]
meta config set [key] [value]

We can start with those, for now, where you can set key value pairs and it will populate them under the config property of the .meta file. After that, we can think of adding things like meta config get all.
Thoughts?

@mateodelnorte sure, I'll update the current repo first. Thanks!

Sweet! We're planning to move to an org shortly, so meta-configure will end up there as well! https://github.com/mateodelnorte/meta/issues/91

Hmm - re your suggestion about get and set - I'd rather make it less wordy. If you just provide a single value, that would be the equivalent of a get, while two values would indicate a set. This is similar to how e.g. bundle config works.

I'm cool with that.
In regards to an overall pattern, I think the following is sensible:
{
  projects: {},
  config: {
    "top": "level",
    "items": "items",
    "are": "global"
    "or": "for meta, itself"
    "configure.item": "is a property the configure plugin cares about",
    "npm.item": "is a property the npm plugin cares about"
  }
}

Thoughts?

Looks good to me! I'm cool with replacing options with config, and the way you have it set up makes sense.
There's actually a plugin I'm working on (meta-sync) that will require a JSON object in there. I don't think we need to expose all of that in the CLI tool though - people can always just edit .meta themselves. :)
As for a get all, I can have meta config just print out all config values.

What's the data for meta-sync going to be used to do? I don't think people should edit .meta locally, unless they're creating something they want to push to a remote. This brings up the issue of where user-specific data should be stored.
One thing to note is that meta is already set up to grab a modules.exports = {} style meta file (via require). You could potentially satisfy what you need with env vars. But, we may want to adopt a separate file which isn't committed to git.

Yeah - in this case it would be a definition of files that should be synced across repos. E.g. if you have 3 repos but they should all share the same model or schema files. The plugin would basically read the configuration in .meta to determine which files should go where when meta sync is called. So it wouldn't be user-specific.

But that's a good point - my other PR (https://github.com/mateodelnorte/get-meta-file/pull/2) is indeed a user-specific setting. We should have a way of separating the two. 🤔

How about this? Something like meta project-config which would set project-level settings, and meta config which would set user-level settings in a file like .meta-config which should be .gitignored?

Hm. For now I don't actually have a use case for non-user settings other than my meta sync plugin, which as I said would require .meta to be edited manually anyway. I think we can just switch this over to using a .meta-config file and leave the project settings as something the plugins would need to define themselves.

I'd rather provide a framework for plugins to be able to put their settings in a single easily navigable location, with an easy to understand format. I think https://github.com/mateodelnorte/meta/pull/49#issuecomment-450208421 is what we want. And set and get is pretty much all you need to make that happen.
Users shouldn't have to update a .meta file or a .config file in order to have some data specific to them. That will just lead to lots of accidental commits that shouldn't have happened.

@mateodelnorte Yep, I agree - which is why I said that user settings should live in a .meta-config file. We can't merge it together with the existing .meta file because that file needs to be checked into the repo, so by definition it can't be user-specific. So basically we repurpose this package to represent user settings which wouldn't be checked in.
I guess an ideal situation would be requiring plugins to define their settings, and each setting could be defined as a project or user setting. Then when meta config is called, it would put project settings into the main .meta file and user settings into .meta-config. This would require us creating a new registration method that plugins would have to implement, though.
My main issue is that right now I no longer have a use case for this entire idea. I can continue to implement if you think it's helpful, but I'm not invested any more and I'm not a fan of implementing something for which no one has a use yet.

allow the possiblity (other pr are required) for plugin to be customized:

store default value for command options

create "persistent" child repo groups to work on ( developer work maily on subset of child repo)  allowing create a branch on only that subset of child for example

@Jcbobo
For:

create "persistent" child repo groups to work on ( developer work maily on subset of child repo) allowing create a branch on only that subset of child for example

Sounds like you may just want meta repos in meta repos - I do this.

small tasks, always same devs  make not  worth to have other two dedicated
repo keep references, non really a need bug the first thinks come to my
mind far user-level settings ( simplify devs day by day activities)
Il giorno Mer 2 Gen 2019, 20:38 Patrick Scott<EMAIL_ADDRESS>ha
scritto:

@Jcbobo https://github.com/Jcbobo
For:
create "persistent" child repo groups to work on ( developer work maily on
subset of child repo) allowing create a branch on only that subset of child
for example
Sounds like you may just want meta repos in meta repos - I do this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mateodelnorte/meta/pull/49#issuecomment-450962623,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJUfZ0kddY2rFmPqt1t0QYYN6FiCJ8Vpks5u_Qq8gaJpZM4Xk1g5
.

Matt and I have been discussing a tags plugin or adding it to meta project that would probably behave similarly to this config plugin as well to make groups of repos.


Add support to use lambda functions in solvers

This is dependent on #3 as it builds upon that branch.
So, I found that for an important use case of mine I was not able to use the current versions of the solvers which depended on a class being passed into it. Since, my use case required my solver to be run within a GPU kernel that lived in a class member function.
I realized if the current solvers could be modified to make use of lambda functions/std::function instead then I would be able to solve my original issue. This PR modifies the various classes so that this would now be possible. I will mention that we do now require c++17 for some of the changes to work. The big one is the use of if constexpr type use in the code so that at compile time the correct code path between the class and lambda/std::function version of things. I don't foresee that being an issue though given it's pretty easy to find a compiler that supports that version of c++.
Note, most of the ND solvers are technically more or less backwards compatible still with the current version of things.  Although, the ND solvers now do get rid of the ndim static_assert check as that parameter is now required as a template parameter to work with the lambda functions/ However, the NewtonBB contains breaking changes in that the solver class moves from a pointer to reference for the CRJ class. Also while not breaking, I have also reworked some of the NewtonBB internals to re-use some code where needed.
Also, I majorly reworked the test suite so the different model cases are shared between all the test suites and new benchmark suite. As part of this refactor, I did remove the old cuda GPU tests as quite frankly they were getting a bit dated, and we'd likely be better off re-adding them in again when the raja portability suite.
WIP aspects: I still need to test all this on the GPU with both CUDA and HIP. I don't think there should be any issues, but I won't know until I test it out. Also, I'll likely add the same sorta thing capability to the batch solver as well. As part of this PR, I'll also bring over some changes that we've made internal at LLNL to SNLS to fix a few issues when using SNLS in larger GPU code bases.

So, I wanted to see if I could a batch version working with lambda functions as well, and while it would work on the host, I ran into a number of issues when trying to compile with just using NVCC :( I could largely get it to work with cuclang or I know it'd be fine with ROCm, but simple things like (https://godbolt.org/z/1E74EdfMz) where you can't use private/protected class variables or have the lambda function in a private function (as is the case with GoogleTest suite) causes issues... Hopefully, one day this will be supported in nvcc or maybe nvidia will provide a new compiler suite where this possible and we can update the batch solver. In the meantime, the other variation isn't that big of a deal.
I guess I could still add the capability in there with a warning that it doesn't work with nvcc and lambda functions, but you could still use it with a functor with nvcc.

I've been testing this standalone in HIP and noticed some issues with the batch solver test segfaulting  now. I think it's due to the lambda capturing of class member variables and a few other things. I'm working on a fix which should help by moving the trouble member variable over to a chai::managed_ptr.


200 apps mark - STOP

Once 200 apps mark will be reached I am going to stop adding new apps and do the entire privacy report and after that 2 files needs to be edited while submitting PR.

Update
This is going to take me a while, so my idea is to keep adding new apps, but updating PRVIACY.md at the same time. Sorry for little progress, but I traveled, got sick and now college is getting started. I would appreciate any help. Thanks! Have a great day and don't forget to smile. 😄


Remove old testing YAML

Signed-off-by: Major Hayden<EMAIL_ADDRESS>

Bad mirror, otherwise everything is :green_heart:


Spelling error in documentation: anaylse

https://webpack.github.io/docs/cli.html
Write JSON to stdout instead of a human readable format.
Hint: Try to put the result into the anaylse tool.

You can edit the page on the top right corner...


Theme toggle button style bug

The tick icon is overlapping and the left padding is missing.

More info please.

Please post it in the Nextra project as the styles are coming from there.


Failed to access the internal image decoder registry on this isolate

Steps to reproduce
multiple time tried to rebuild and get log but my final array(images) length is 0, but internal(temp) future array(futureImages) is as expected
Expected results
I want List<Future<ui.Image>>
Actual results
But it's nothing returning after await keyword no return.
Code sample
Code sample
Future<void> processImages() async {
    debugPrint('processImages START ${widget.vttModel.length}');

    List<Future<ui.Image>> futureImages = [];

    for (var i = 0; i < widget.vttModel.length-1; i++) {
      debugPrint('processImages futu ${futureImages.length}');

      final params = {
        'bytes': widget.image,
        'x': widget.vttModel[i].getXYWH.x.toDouble(),
        'y': widget.vttModel[i].getXYWH.y.toDouble(),
        'width': widget.vttModel[i].getXYWH.w.toDouble(),
        'height': widget.vttModel[i].getXYWH.h.toDouble(),
      };
      futureImages.add(compute(clipImageInIsolate, params));
    }

    images = await Future.wait(futureImages).catchError((e) { debugPrint('processImages D Erro: $e'); });

    setState(() {});
  }

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
E/flutter (31534): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Invalid argument(s) (onError): The error handler of Future.catchError must return a value of the future's type
E/flutter (31534): #0      _FutureListener.handleError (dart:async/future_impl.dart:197:7)
E/flutter (31534): #1      Future._propagateToListeners.handleError (dart:async/future_impl.dart:873:47)
E/flutter (31534): #2      Future._propagateToListeners (dart:async/future_impl.dart:894:13)
E/flutter (31534): #3      Future._completeError (dart:async/future_impl.dart:674:5)
E/flutter (31534): #4      Future.wait.handleError (dart:async/future.dart:524:19)
E/flutter (31534): #5      _RootZone.runBinary (dart:async/zone.dart:1666:54)
E/flutter (31534): #6      _FutureListener.handleError (dart:async/future_impl.dart:178:22)
E/flutter (31534): #7      Future._propagateToListeners.handleError (dart:async/future_impl.dart:873:47)
E/flutter (31534): #8      Future._propagateToListeners (dart:async/future_impl.dart:894:13)
E/flutter (31534): #9      Future._completeError (dart:async/future_impl.dart:674:5)
E/flutter (31534): #10     Future._asyncCompleteError.<anonymous closure> (dart:async/future_impl.dart:760:7)
E/flutter (31534): #11     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
E/flutter (31534): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.4, on macOS 14.7.1 23H222 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2024.1)
[✓] Connected device (4 available)
[✓] Network resources

! Doctor found issues in 1 category.

@atiqurgotipath
Please provide complete runnable reproducible code sample along with steps and platform on which you are running it.

import 'dart:ui' doesn't support isolate, It only use in main isolate, I think this is the problem you are facing
https://github.com/flutter/flutter/issues/115030
I am having this problem too!

You can switch to using
https://pub.dev/packages/dart_ui_isolate
instead of compute as per issue
https://github.com/flutter/flutter/issues/10647


Do cookies in OkHttp

Right now we're using the platform's cookies, and that's broken. For example, AOSP issue 75182.
If we implemented our own cookie parsing, we could ship correct a cookie implementation on all platforms. Also, we could build a disk-based cookie store.

More reason: this is the last thing holding us to java.net.URI.
https://github.com/square/okhttp/issues/1836

I have found another bug in Android's CookieStore which will cause URLs with explicit port numbers to be ignored (CookieStore.get() always returns null, even if a cookie for exactly this URL was set before): https://code.google.com/p/android/issues/detail?id=193475

Current plan: change the CookieJar interface to accept a new Cookie type. Then consider this case closed.


c++ program to find min and max element of array

Hey @aditi830  Thank you for your PR , but please follow the guidelines mentioned in CONTRIBUTING.MD to get the PRs accepted .


A probrelm with black panel

I have a problem,the black panel is gray.no black when i Running program...

can i see a gif or screen shot ??

and code if you can


Initial implementation of DuckDuckGo Instant answer

Fixes #36
I made a very basic initial implementation of Initial DuckDuckGo Instant answer adding provided results, abstract and related topics to the current search functionality.
Here is an example:

There's room for improvement, but I'd rather start with that to see if it's what you like.

Sorry I made the new branch from the other one, I'll create a new pull.


About traning speed: DiT is slower than Unet with same batch size

When the batch size of DiT is 24, the speed of steps completed per second is less than half that of Unet with the same batch size (0.3 step/s vs 0.8 steps/s). Both networks are set with default parameters in json files
Is this a normal phenomenon?

Yes this is normal, DiTs are stronger but more compute-intensive


No automatic redirect to HTTPS

I was using the site recently and I noticed the webserver doesn't automatically redirect HTTP requests to HTTPS. Might be a good security feature to implement.

I think that's an option you can enable in the repository.
I don't have access to do so, so I'll assign @dxenonb to that.

Enabled, the redirect appears to be working now!


request function: Restart Button or/and Pairing button

Hello,
i am searching for a button to make an manual restart of the esp. i have mounted it in a box which is not easy to reach. It would be great if there is a Restart button on the configuration interface or/and can be used over mqtt.
Also for pairing it would be easier to have an restart or pairing button without to hardreset the esp.
If there is already a function like that then i am sorry i haven't found yet.
Nice regards and thank you for your great work
Dominik
(Sorry for my bad english)

In mqtt please check under "maintenance/reset". If you set it to 1, the ESP will reboot.
If you unpair a device (which is possible via the web interface), pairing mode will automatically start again.

thank you for your fast response.
the last few times when i did a unpair it only would pair again if i was reseting the esp, but maybe it was a problem on my side thank you for the information.


esp32 related pylint errors

I'm new to micropython-stubs and I don't know if this is a real issue with the stubs or it is a bad configuration of my environment.
I'm using MicroPython v1.18 with ESP32 board and the master branch of micropython-stubs.
My .pylintrc configuration is:
[MASTER]
init-hook='import sys;sys.path[1:1] = ["../micropython-stubs/cpython_core-micropython", "../micropython-stubs/micropython-v1_18-frozen/esp32/GENERIC", "../micropython-stubs/micropython-v1_18-esp32"];'

[MESSAGES CONTROL]
confidence=
disable=

If I check this test.py program with "pylint test.py":
from utime import time, localtime, ticks_ms, ticks_add

now = time()
ltime = localtime(now)
print(ltime)

tickref = ticks_ms()
tickref = ticks_add(tickref, 1000)
print(tickref)

I get this errors:
************* Module test
source/test.py:1:0: C0114: Missing module docstring (missing-module-docstring)
source/test.py:1:0: E0611: No name 'time' in module 'utime' (no-name-in-module)
source/test.py:1:0: E0611: No name 'localtime' in module 'utime' (no-name-in-module)
source/test.py:1:0: E0611: No name 'ticks_add' in module 'utime' (no-name-in-module)

I don't guess why E06xx errors appear because "micropython-stubs/micropython-v1_18-esp32/utime.py" defines:
def localtime(*args, **kwargs) -> Any:
    ...

def ticks_add(*args, **kwargs) -> Any:
    ...

def ticks_ms(*args, **kwargs) -> Any:
    ...

def time(*args, **kwargs) -> Any:
    ...

Under vscode I get the same result using this "settings.json" configuration:
{
    "python.languageServer": "Pylance",
    "python.analysis.diagnosticMode": "workspace",
    "python.analysis.extraPaths": [
        "../micropython-stubs/cpython_core-micropython",
        "../micropython-stubs/micropython-v1_18-frozen/esp32/GENERIC",
        "../micropython-stubs/micropython-v1_18-esp32"
    ],
    "python.linting.enabled": true,
    "python.linting.pylintEnabled": true
}

Is this an issue with micropython-stubs or is there any mistake in my configuration?
Best regards.

Hi, I'm currently on a break without a computer so can't really verify at this time.
I know pyright recently changed the resolution  order to avoid the false warnings for time sys, gc and several other modules. Not sure if that has propagated into pylance yet.
I see no obvious mistakes in the configs.
On the pylint errors, I did find that pylint threw more false positives than pylance, so personally I switched it off, or disabled quite a few error classes