Improve error message with invalid target for build

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[x] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[ ] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information

This updated part of code splits the target triple into components using split('-') and puts them into a vector. Then, it checks if the vector has the expected number of components (in this case three). If not, it prints an error message to the console and returns an empty Hashmap.

Thank you


Fix Dialog and PopupMenu completion logic

It's now (just) in TransitionRoute.
Added smoke tests for showMenu() and showDialog().
Fixes https://github.com/flutter/flutter/issues/337

LGTM, modulo the didPop() function


Fix a memory leak in cache_limit_revised_downward_test

Allocation happens at line 199 of the same file.

thanks!

released in 1.6.16


fmu_v5 NSH some commands force an instant reboot

Certain NSH commands via QGC on Master and Beta send it to an instant reboot.
For instance ver all works fine, tests all, etc but any of the airspeed commands send it to a reboot. Plugged in directly via usb only and only one airspeed (sdp3x) at a time plugged in (to i2c a). Even with no airspeed plugged in it does the same thing, reboots.

@DanielePettenuzzo any ideas? All currently supported differential pressure sensors (airspeed) are i2c.

I am wrong, that command doent reboot it but it also wont let the sdp3x start.

@ryanjAA if you connect the sensor to i2c-a and start the driver what message do you get on the console?
sdp3x_airspeed start -b 4

Two firmware flashs and all set. Maybe something lingering from whatever firmware was sent over on it? I was playing with some can units but it’s working now. If it happens again I won’t reflash. I’ll keeep it and figure out why if it sticks but so far have several airspeed units working.

So I guess to close this then it’s the argc checks. Maybe we should get that in the docs or add them to all commands.

@ryanjAA for the px4 firmware are you using latest master?

@DanielePettenuzzo Yes. Latest master.

@bkueng Sounds like argc handling needs an audit.

@bkueng Sounds like argc handling needs an audit.

The driver boilerplate is all copypasta and would greatly benefit from ModuleBase or similar.

@bkueng I am out of the office for at least another week (no Pix 4 with me either) but so far the airspeed tests with no arguments were doing it. The ver command did not but it probably just needs someone to go through each one with out an argument to see what happens if no other way to check. I’m happy to do so but it won’t be possible for a week or so.

@ryanjAA I went through all commands and fixed the ones affected in #9589.

Hi,
seems like there are some untouched places where the issue isn't handled, such as https://github.com/PX4/Firmware/blob/27e75920bd560b7d8de295db45aba8cf036cd98d/src/drivers/imu/l3gd20/l3gd20.cpp#L1358

@garfieldG right, this driver is not enabled on Pixhawk 4. Fixed in #9647


feat(payment): INT-4170 added hosted fields on Mollie verification field

What? INT-4170
Added hosted fields on verification fields on Mollie.
Why?
Currently, we have some payment methods that are not using hosted credit card fields for stored instrument verifications (card number and CVV). This presents a security vulnerability as malicious JS can easily scrape credit card information.
Testing / Proof
...
Dependencies
(SDK)[https://github.com/bigcommerce/checkout-sdk-js/pull/1140]
@bigcommerce/checkout

💚 Tested
QA Details: I tested TSV for Mollie to check works correctly.


Polling trailers before data stream is exhausted panics

If you have a Body, and call poll_trailers while there is still data frames in the queue, it will panic. This may be a common enough thing to do that we may wish to change this behavior. Some things we could do:

Return a UserError. You done goofed. Downside is that returning an Err usually means the future is dead, and can't be used anymore. Would that mean we just have to trash the state of this stream altogether? Unhappy unfun times.
We could recover from this, by pushing the DATA frame back to the front of the queue, and return Async::NotReady. This might have subtly wrong cases, though. Returning NotReady means we should have a way to notify the task when it is ready... and when is that? When the user has later polled off all the remaining DATA frames? If they've done that, we still won't have a Task to notify...
We could take this signal to mean the user doesn't care about the DATA frames, and we could just pop off the queue and drop them. If we do this, we need to make sure to release capacity while doing so.

Fixed by #189


Updated prowler-codebuild-role name

This change is to fix the issue as reported at
https://github.com/toniblyx/prowler/issues/845
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Awesome, thank you!


Simple color transform

SimpleColorTransform: Adds random noise to the input image channels.

Updated README and unit test.

@sagarwaghmare69 Thanks @sagarwaghmare69


Allow PSR-15 RequestHandlers to be used as route callables

This requires modifying CallableResolver to change the method to handle if the callable object is a RequestHandlerInterface.
Also, we introduce a RequestHandler invocation strategy that is automatically applied by the Route is a RequestHandlerInterface callable is invoked.

Coverage increased (+0.2%) to 97.966% when pulling 2bd6de1b565ff275eb09788fda558051e05dd5ca on akrabat:psr-15-request-handler2 into 7c1a6728ac0007f6e0c971fa6a26aaadfc79e24d on slimphp:4.x.

Travis build result appears to be missing. It's here: https://travis-ci.org/slimphp/Slim/builds/426856659


Excel paste popup

When using paste to add data from outside excel on a cell, popup that allows you to select if you want to paste just text or with formating takes half the screen.
Happends only when excel is moved to fancyzone if you chnage window size ctrl-v paste works fine.
Environment
Windows build number: [Version 10.0.18363.535]
PowerToys version: <IP_ADDRESS>
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce
Move excel to FancyZone
ctrl + v paste
right click paste dow not produce this
Expected behavior

Actual behavior

all that black area on the right is supposed to be that small popup

Should have updated first seems it fixed the issue.


Remove sudo from install script

Pull Request Test Coverage Report for Build bfe245a9a6fd472c4378bae584db7847d251b2e9-PR-852

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

Totals

Change from base Build 9aeebddda8fb39a510d30ad6ff5f3b48bae20712:
0.0%

Covered Lines:
993

Relevant Lines:
1439

💛  - Coveralls


bundler not recognizing the rvm ruby

I have the following 3 gems installed related to capistrano:
gem 'capistrano'
gem 'capistrano-rails'
gem 'capistrano-rvm'
In deploy.rb, I specified which ruby I want:
set :rvm_type, :system
set :rvm_ruby_version, 'ruby-2.1.2@core'
I notice that capistrano is running the following command when I deploy to staging:
INFO [040fa832] Running /usr/local/rvm/bin/rvm ruby-2.1.2@core do bundle install --path /var/www/mysite_staging/shared/bundle --without development test --deployment --quiet
It appears that capistrano is ignoring my request to use the core gemset installed at rvm's gemdir. Instead, it is letting bundler manage gems at /shared/bundle.
I'm ok with that. If bundler wants to mange gems in staging and production, I'm ok with that. The problem is when I go to /shared/bundle/ruby, it has installed the gems in ruby 2.1.0, not 2.1.2, which I specified.
How can I get bundler to recognize ruby 2.1.2?

Do you mean that the gems are installed in a directory named /var/www/mysite_staging/shared/bundle/ruby/2.1.0? This is normal... that version is the binary compatibility version, and all 2.1.x versions of Ruby use 2.1.0, because binary compatibility is maintained across patch versions.
Is something actually not working for you? If you think there's a bug in Bundler, please follow the steps in https://github.com/bundler/bundler/blob/master/ISSUES.md#reporting-unresolved-problems for providing details we need to diagnose the problem.

You can verify the version of Ruby that is used by running bundle exec ruby -v.


Water Tower - Amenity Missing (Pickleball Courts)

16863

Database update to include Pickleball 1,2, 3. Please use these for this permit.


Thread Performance Checker.

Thread Performance Checker: Thread running at QOS_CLASS_USER_INITIATED waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions
SwiftNIO 2.58.0

This is a dupe of #2223. Please check for duplicate issues before filing. Thanks!


Unabale to install

Problem 1
- mpociot/laravel-apidoc-generator[3.15.1, ..., 3.x-dev] require illuminate/routing ^5.5|^6.0 -> found illuminate/routing[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev] but these were not loaded, likely because it conflicts with another require.
- mpociot/laravel-apidoc-generator[3.0.0, ..., 3.3.2] require illuminate/routing 5.5.* || 5.6.* || 5.7.* -> found illuminate/routing[v5.5.0, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.
- mpociot/laravel-apidoc-generator[3.4.0, ..., 3.15.0] require illuminate/routing 5.5.* || 5.6.* || 5.7.* || 5.8.* -> found illuminate/routing[v5.5.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires mpociot/laravel-apidoc-generator 3.x -> satisfiable by mpociot/laravel-apidoc-generator[3.0.0, ..., 3.x-dev].
I am unable to install it on laravel 8

+1 @mpociot

Unablr to install with laravel 8.61

+1

This project is abandoned, so, try with https://github.com/knuckleswtf/scribe

But this has really easy document to how to use the project when compared to scribe


Integration with Django Admin

When attempting to create database records in a Django Admin application, pgvector values fail the basic, naive admin form validation with:

The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Is there a common approach for working around this at the model (preferable) or admin form level? I've tried specifying a validator function via the model field's validators kwarg and the first round of "truthy" validation (i.e. the one referenced above) fails before my function is called.

It seems to be the package is not supported via forms and templates. The issue can be reproduced with below setup
# models.py

from pgvector.django import VectorField

class Vector(models.Model):
    test = VectorField(dimensions=3)

    def __str__(self):
        return str(self.test)

# forms.py

from django import forms

class VectorForm(forms.ModelForm):
    class Meta:
        model = Vector
        fields = ["test"]

Traceback
In [1]: from polls.models import VectorForm

In [2]: vf = VectorForm(data={"test":[1,2,3]})

In [3]: vf.is_valid()
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[3], line 1
----> 1 vf.is_valid()

File ~/.local/share/virtualenvs/generic-django-example-Kc6WXfau/lib/python3.9/site-packages/django/forms/forms.py:201, in BaseForm.is_valid(self)
    199 def is_valid(self):
    200     """Return True if the form has no errors, or False otherwise."""
--> 201     return self.is_bound and not self.errors

File ~/.local/share/virtualenvs/generic-django-example-Kc6WXfau/lib/python3.9/site-packages/django/forms/forms.py:196, in BaseForm.errors(self)
    194 """Return an ErrorDict for the data provided for the form."""
    195 if self._errors is None:
--> 196     self.full_clean()
    197 return self._errors

File ~/.local/share/virtualenvs/generic-django-example-Kc6WXfau/lib/python3.9/site-packages/django/forms/forms.py:435, in BaseForm.full_clean(self)
    433 self._clean_fields()
    434 self._clean_form()
--> 435 self._post_clean()

File ~/.local/share/virtualenvs/generic-django-example-Kc6WXfau/lib/python3.9/site-packages/django/forms/models.py:486, in BaseModelForm._post_clean(self)
    483     self._update_errors(e)
    485 try:
--> 486     self.instance.full_clean(exclude=exclude, validate_unique=False)
    487 except ValidationError as e:
    488     self._update_errors(e)

File ~/.local/share/virtualenvs/generic-django-example-Kc6WXfau/lib/python3.9/site-packages/django/db/models/base.py:1470, in Model.full_clean(self, exclude, validate_unique, validate_constraints)
   1467     exclude = set(exclude)
   1469 try:
-> 1470     self.clean_fields(exclude=exclude)
   1471 except ValidationError as e:
   1472     errors = e.update_error_dict(errors)

File ~/.local/share/virtualenvs/generic-django-example-Kc6WXfau/lib/python3.9/site-packages/django/db/models/base.py:1522, in Model.clean_fields(self, exclude)
   1520     continue
   1521 try:
-> 1522     setattr(self, f.attname, f.clean(raw_value, self))
   1523 except ValidationError as e:
   1524     errors[f.name] = e.error_list

File ~/.local/share/virtualenvs/generic-django-example-Kc6WXfau/lib/python3.9/site-packages/django/db/models/fields/__init__.py:777, in Field.clean(self, value, model_instance)
    771 """
    772 Convert the value's type and run validation. Validation errors
    773 from to_python() and validate() are propagated. Return the correct
    774 value if no error is raised.
    775 """
    776 value = self.to_python(value)
--> 777 self.validate(value, model_instance)
    778 self.run_validators(value)
    779 return value

File ~/.local/share/virtualenvs/generic-django-example-Kc6WXfau/lib/python3.9/site-packages/django/db/models/fields/__init__.py:767, in Field.validate(self, value, model_instance)
    764 if value is None and not self.null:
    765     raise exceptions.ValidationError(self.error_messages["null"], code="null")
--> 767 if not self.blank and value in self.empty_values:
    768     raise exceptions.ValidationError(self.error_messages["blank"], code="blank")

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Thanks @ethagnawl and @jerinpetergeorge! Pushed a fix in the commit above.

That was fast, @ankane. Thanks!

Thanks @ethagnawl and @jerinpetergeorge! Pushed a fix in the commit above.

Unfortunately, In my testing, a couple of things were failing.

Admin wasn't working at all
Updating the data via Django admin wasn't working

These two issues have been taken care of by https://github.com/pgvector/pgvector-python/pull/22


tf.image.hsv_to_rgb cannot seem to compute gradient

Describe the problem
I found tf.image.hsv_to_rgb cannot seem to compute gradient. However, In principle, the hsv2rgb operation just a linear transformation. Ummm, I am not sure that whether I misunderstand the tf.image.hsv_to_rgb op, otherwise, this is a feature request.
Source code / logs
new_image_hsv = tf.random_normal(shape=[32,32,3])
new_image_rgb = tf.image.hsv_to_rgb(new_image_hsv, name='hsv2rgb')
hsv2rgb = tf.get_default_graph().get_operation_by_name('hsv2rgb')
print('hsv2rgb: ', get_gradient_function(hsv2rgb)) #hsv2rgb: None

I got it!  the transformation from HSV to RGB color space is not differentiable.


rasterize=True flips image

I can reproduce this using holoviews.operation.datashader.rasterize(), so I think it's an issue with rasterize() itself rather than anything in hvplot:

It seems to be specific to QuadMesh objects, because the same data doesn't get flipped for Image objects:

I've made a possible fix for this problem on holoviews: https://github.com/ioam/holoviews/pull/2883
@ahuang11, could you try it out and see if it works for you?  It definitely fixes it in the example I show above, but I don't know if this is the right fix, i.e., whether it will break some other case.

Looks good for this case too. Thanks for the quick support!

Oh I explored other cases too to see if it broke anything; when I pass in crs=crs.PlateCarree() it crashes, but to use gv.operation.project_image() I need to specify the crs...
import os
import xarray as xr
import holoviews as hv
import geoviews as gv
import hvplot.xarray
hv.extension('bokeh')

os.system(
    'wget -nc '
    'ftp://ftp.cdc.noaa.gov/'
    'Datasets/ncep.reanalysis.dailyavgs/'
    'surface/'
    'air.sig995.2018.nc'
)

obs_ds = xr.open_dataset('air.sig995.2018.nc')
qm = obs_ds.hvplot.quadmesh(x='lon', y='lat', z='air', groupby='time',
                       rasterize=True, crs=crs.PlateCarree(central_longitude=360)))
gv.operation.project_image(qm, projection=ccrs.NorthPolarStereo())

Probably best to let @philippjfr review this, as he knows all the various ways this code can get used, whereas I can see only this specific case.  Unfortunately, he may not be able to respond any time soon...

Not a problem at all; there's no rush! Thanks for all the help and making these amazing tools!

Should be fixed in https://github.com/ioam/holoviews/pull/3017

Fixed.


Converge azure.functions.ServiceBusMessage with azure.servicebus.ServiceBusMessage

Is your feature request related to a problem? Please describe.
I deal with a lot of code in azure functions that requires me to process messages in a ServiceBus queue, and then pass that message on untouched. However, despite the fact that an Azure Functions ServiceBus Queue Trigger passes in an azure.functions.ServiceBusMessage,  azure.servicebus.ServiceBusSender does not accept that kind of message, preferring to throw the rather cryptic error: Exception: TypeError: Only AmqpAnnotatedMessage, ServiceBusMessage instances or Mappings representing messages are supported. Received instead: ServiceBusMessage.
And as such, my code is peppered with this boilerplate:
# msg is my azure.functions.ServiceBusMessage passed in at the start
with azure.servicebus.ServiceBusClient.from_connection_string(
    os.environ["SERVICEBUS"]
) as sb:
    sender = sb.get_queue_sender("next-step")
    message = azure.servicebus.ServiceBusMessage(
        body=msg.get_body(),
        application_properties=msg.user_properties,
        message_id=msg.message_id,
        content_type=msg.content_type,
    )
    sender.send_messages(message)

Also, knowing when to use application_properties or user_properties drives me a little crazy, and means I can't just do something like message = azure.servicebus.ServiceBusMessage(**msg.__dict__) or somesuch.
Describe the solution you'd like
Ideally, some sort of convergence, in which azure.functions.ServiceBusMessage is a subclass of azure.servicebus.ServiceBusMessage, but implementing the old API as backwards-compatible aliases, and eventually deprecating the APIs that are not in  azure.servicebus.ServiceBusMessage. I can see no reason why they need to be separate classes.
Describe alternatives you've considered
Somewhat messier alternatives:

Allow azure.servicebus.ServiceBusSender.send_messages() to accept azure.functions.ServiceBusMessage instances
Make an azure.servicebus.ServiceBusMessage.from_azure_functions_message() constructor that creates one from the other

Thank you for the detailed issue. @kashifkhan could you please take a look.

Hi @metamoof - Thanks for your thoughts!
The solution that you discussed would require changes in the azure-functions library, which is owned by the Azure Functions team. You can create an issue in the azure-functions repo.
The two alternative solutions that you provided would require azure-servicebus to take azure-functions as a dependency, and, unfortunately, this is not feasible.
You may have already explored this, but I took a look at using an [output binding to send a message]. Unfortunately, the outbound message currently does not support additional attributes like application properties. I found [this related feature request] in the functions repository that you can reply to/support.
From the SDK perspective, your current implementation seems to be the best workaround.


Can't get even simple example to work

Hello all... when I try to get this component to work, it doesn't. I would really love to use it. Any help you can off would be appreciated. I have installed both the latest build, and the current commit in master. Nothing is working.
When I have my ngFor on a div it breaks. But when I put it on a span, it works, but they are all on the same line, which doesn't help me.
I created a new Angular CLI project. This is the only component I have added to that project. So the project is very basic. If you could help me, I would be very thankful. Here is the one component that contains the virtual-scroll that isn't showing it. It currently paints the container the right height. But it doesn't show any of the items in the container. Please help.
import { Component, OnInit } from '@angular/core';

const Items = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

const template = `

Hey Dawg!

<virtual-scroll
[items]="myItems"
(update)="scrolledItems = $event"
[childHeight]="18"
[childWidth]="40"
>

{{item}}

</virtual-scroll>
`;

@Component({
  selector: 'af-list',
  template,
  styles: []
})
export class ListComponent implements OnInit {

  myItems = Items;

  constructor() { }

  ngOnInit() {
  }

}

Here is a repo with my stuff. Please let me know if you can help me get this working. https://github.com/aaronfrost/testvirtualscroll

It looks like you just missed some CSS. I nested it in a parent div and defined a border, width, and height to make it easier to see.
I created a pull request for you.

I love you @nkyordy! Thank you for the help.


Prepare polyphonic_rnn model for release

Allow different generation modes (inject melody or not, condition on primer or not)
Documentation

Install-Linux-tar.txt


Please come on SkyPe

Just Fix the code for getting all the pages currently it gets only 25. Why are you not responding.

Hi,
Sorry for my MIA (Missing in Action) status. My system is down. There was a
power surge a couple of days ago and my system got affected by it. I'm
currently, using a friend system. The code is online.
PHPMyAdmin:
http://osoobe.com/phpmyadmin/
username: dubizzle
pass: dubtest
url for updating make:
http://osoobe.com/dubizzle-cron/dubizzle_cron.php?do=update_makes
url for updating models:
http://osoobe.com/dubizzle-cron/dubizzle_cron.php?do=update_models
url for model results:
http://osoobe.com/dubizzle-cron/dubizzle_cron.php?do=make_model_result
See attachment for code and sql
For cronjobs:
https://www.setcronjob.com/
I'll contact you later when I get a next computer. I'm very sorry for the
inconvenience my current situation as cost you, and yes, you may deduct $10
when we've completed the task at hand.
On Thu, Nov 19, 2015 at 10:20 AM, Developer ATIT<EMAIL_ADDRESS>wrote:

Just Fix the code for getting all the pages currently it gets only 25. Why
are you not responding.
—
Reply to this email directly or view it on GitHub
https://github.com/osoobe/dubizzle-php/issues/5.

--
O. Bailey


quote values in type=data assets

I'm generating my job.json using python, and the json is generated with double quotes.  That means I might have unescaped single quotes in the output.
 {
   "type": "data",
   "layerName": "content_title",
   "composition": "Title",
   "property": "Source Text",
   "value": "Something with a ' character"
}

This generates a syntax error when running the JSX file, because the code generator isn't escaping the single quote.
I think the wrapData function in tasks/script.js should sanitize this string, but I'm not exactly sure if that's the right place (I just started playing with this package yesterday) so I'm not providing a pull request.

oh yes, single quotes in this case always should be escaped
that applies for all of those values: layerName, composition, property, value, expression

added a simple escaping algo for singular quotes: https://github.com/inlife/nexrender/commit/d60db436ad7721c1210bf35c41273b235675e06a


The asset status is not being updated to "Sold" in the asset list view after the asset is sold.

Information about bug
When a sales invoice is generated for an asset, its status is not updated to "Sold" in the asset list view.

Reference From MariaDB

Module
assets
Version
Assets: v0.0.1 (pre-prod)
ERPNext: v15.34.0 (pre-prod)
Frappe Framework: v15.41.0 (pre-prod)
Installation method
None
Relevant log output / Stack trace / Full Error Message.
No response

It's Working fine now.

Functionality Working. Issue Resolved


Version 1.9.x end of life

This is an important announcement for users of software version 1.9.x or earlier. Let's Encrypt is phasing out support for the ACMEv1 protocol that these versions rely upon. The full plan is available here, but in summary it looks like this:

[x] November 2019: new registrations become impossible
[ ] June 2020: it becomes impossible to validate new domains (i.e. to get certificates for domains that you haven't previously gotten a certificate for already)
[ ] January 2021: the service will be disabled intermittenty, causing occasional renewal failures
[ ] June 2021: the service will be permanently disabled

win-acme implemented the ACMEv2 protocol in version 2.0.0, which was released in February 2019.
Call to action
If you are running Windows Server 2012 or above, plan to upgrade to the latest version of the software. It's easy to import renewals from the old version to the new version and you will enjoy a more user-friendly, stable and full-featured version of the software.
Due to a limitation of the underlying .NET Core 3.1 framework, the latest version of win-acme unfortunately does not support Windows Server 2008. You may install version <IP_ADDRESS> as a stop-gap measure. The 2.0.x branch is not actively maintained or supported though, except on special request for people with a gold sponsorship on Patreon.

Just an FYI in case anyone is wondering about Windows 2008 R2: the win-acme v.2.1.5 client worked fine for me on that OS with the latest Windows Updates  and .Net Framework 4.7.2.


Launch PySpark Jobs such that Python launches the JVM

Current PySpark implementation launches python and the PY4J gateway from the JVM which causes issues from a logging perspective. We should launch the JVM from Python instead. This will require a modification of the Docker file.

@sahilprasad do you think that the solution to this issue would have a problem with your implementation of launching jupyter-notebooks from client mode

@ifilonenko I'm not sure if it would cause issues. Currently, I can just run Jupyter on its own and run PySpark applications on top of it that communicate with k8s. Because of this, I'm not sure if a PySpark app launching the JVM would necessarily conflict with this method of execution, but this does seem like something we should be able to work around in the case that it does not work.


feat: add oauth support to gsuite

Allow gsuite to use oauth credentials.
Legacy method is used by default for backward compatibility.

@achantavy linter issues should be fixed now

Just gotta remove a whitespace and remove the on match set and I think the CI will pass


[Infra Doc Fixit] Refresh documentation for swarming bot configs

Hi!
To close this issue:

Are you still the owner? Update the spreadsheet if not and reassign.
If you don't consider any work is needed, close.
Please double check if the documentation is up to date and prune any stale
information
i. Review markdown docs in related code repos
ii. Review associated sites and wikis
Review the cookbook
i. If one does not exist, create it and link it on the team page
ii. Add and review common tasks
Review related dashboards
i. If this service does not have a dashboard, but should create it!
ii. Ensures it's on the Fuchsia infra teams dashboards

Thank you for keeping our service's documentation up to date!

Two days left of the fixit 🥳

Closing because the bug has not been updated for more than one year.
Feel free to reopen any bugs that you believe are important but please provide updates on how to resource the fix of the bug and what can be done to prevent the issue from not getting updates for another year.


OpenSSL (1.1.1g (0x1010107fL) for darwin-i386-cc) failing for i386 architecture

I am trying to build the GStreamer plugin on my M1 Mac via https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp. In doing so, I run
git clone https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp.git, then mkdir -p amazon-kinesis-video-streams-producer-sdk-cpp/build, then cd amazon-kinesis-video-streams-producer-sdk-cpp/build, then cmake -DBUILD_GSTREAMER_PLUGIN=TRUE ... OpenSSL configures successfully, but errors out with the following messages:
ld: warning: ignoring file
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, missing required architecture i386 in file /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd (3 slices)
Undefined symbols for architecture i386:

and
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libcrypto.dylib] Error 1
make[3]: *** [all] Error 2
make[2]: *** [build/src/project_libopenssl-stamp/project_libopenssl-build] Error 2
make[1]: *** [CMakeFiles/project_libopenssl.dir/all] Error 2
make: *** [all] Error 2
CMake Error at dependency/libkvscproducer/kvscproducer-src/CMake/Utilities.cmake:93 (message):
  CMake step for libopenssl failed: 2
Call Stack (most recent call first):
  dependency/libkvscproducer/kvscproducer-src/CMakeLists.txt:69 (build_dependency)

OpenSSL recomends I include the output of
perl configdata.pm --dump

However, this errors with
Can't open perl script "configdata.pm": No such file or directory

Hi, to give a bit more info to help figure out what's going wrong, could you supply the output from sw_vers, uname -m and clang --version? Also, which version of Xcode are you running?

Hi. Thanks for getting back to me.
The output of sw_vers is:
ProductName:	macOS
ProductVersion:	12.4
BuildVersion:	21F79

The output of uname -m is:
arm64

And the output of clang --version is:
Apple clang version 13.1.6 (clang-13<IP_ADDRESS>.5)
Target: arm64-apple-darwin21.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

For the XCode version I ran xcodebuild -version
Xcode 13.4.1
Build version 13F100

Hmm, from the title and the output in the initial post, you have configured for darwin-i386-cc, but for an M1 Mac you should be using darwin-arm64-cc (sorry, I now see you specified that in your question, but I missed that when I first read it).
Some of the other instructions you are following may also not be correct for the M1 Mac.
(Note that if you're expecting to use Rosetta 2, you would configure for darwin-x86_64-cc)

Thank you. I'm relatively new to this, so how would this be configured? In the CMakeLists.txt file?

That I don't know I'm afraid - I don't know much about CMake, and the CMakeLists.txt file being used is from amazon-kinesis-video-streams-producer-sdk-cpp. Others may chime in here.
That said, looking at it, you might have some success by setting BUILD_OPENSSL_PLATFORM.
But given that amazon-kinesis-video-streams-producer-sdk-cpp has mis-identified the M1 platform for OpenSSL, there may be other problems lurking, and you might be better off asking over there.

Same issue on M1 Mac

@ryanfogarty Note that this issue was raised by @Joshua-Stapleton on M1 Mac!


[5.4] Split implements list

Split list of implements. PSR-2 coding standard.

👎 from me. What we have is already fine, actually better.

@GrahamCampbell We can see how this is implemented in this file https://github.com/laravel/framework/blob/5.3/src/Illuminate/Foundation/Auth/User.php

Just going to leave as-is for now.


New ADRs for discussion

Here are some new ADRs that are the result of TP-156 exploration. They are "discussion-ready" but not necessarily completely thought through yet.
0008 is probably not hugely controversial.
0009 is a bit moreso, and likely less well motivated too.

Codecov Report

Merging #49 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   65.12%   65.12%
=======================================
  Files         101      101
  Lines        4238     4238
  Branches      258      258
=======================================
  Hits         2760     2760
  Misses       1407     1407
  Partials       71       71

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 1e27151...3b8d533. Read the comment docs.

Codecov Report

Merging #49 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   66.16%   66.16%
=======================================
  Files         123      123
  Lines        6157     6157
  Branches      371      371
=======================================
  Hits         4074     4074
  Misses       1993     1993
  Partials       90       90

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 9191df5...0e6a6fd. Read the comment docs.


Using JSON5 for en.json

Due date: 2022-09-29 (a fortnight)

Assigned reviewers
Tagging @WordPress/openverse-frontend, please feel free to add your name below if you have some feedback (good or bad) or ideas.

[ ] TBD
[ ] TBD

Description
We use JSON to write the main i18n locale file: en.json. This file is completely written by hand and maintained manually, for which JSON is a pretty poor format. This might come across as a hot-take so let me elaborate.
Comments
My main complaint with using JSON for en.json is lack of comments. It's very hard to describe context for any i18n key in the en.json file. For a file that's written by and for people, that's a huge miss. There is duplication in the file, many keys are written deeply nested and then used outside of where they're defined (happens during refactors when code is moved around) and then there's no way to know if an i18n key is deprecated/superseded.
Comments wouldn't solve the problems above but they would be very helpful. That's why POT files (like openverse.pot) have comments (the #: before each msg)! And since our en.json file doesn't have comments, our POT comments end up being just .vue references. I believe we are under-utilising a powerful tool for communicating intent and context with the translators.
Syntax
I also have several personal gripes with the JSON syntax but that's secondary.

lack of trailing commas
too many quotes, especially double quotes

Why JSON5?
JSON5 is a superset of JSON which has many advantages over plain JSON. I'll let their webpage explain what those are. Switching to JSON5 is as easy as a rename (superset of JSON) and we can adopt changes incrementally.
Migration path
Feel free to chime in with alternatives.

Using JSON5 for en.json (→ en.json5) and moving it out of src/locales/.
Writing a script that parses en.json5 and converts it to en.json.

Using the new JSON5 when it is being synced with GlotPress (to pass comments to translators).
Writing the plain JSON into src/locales/ similar to other locales.

Ignoring the plain en.json file in src/locales/.

This makes the special treatment we give to en.json5 much clearer (placed separately) and makes the en.json file equivalent to any other locale file (except generated locally instead of downloaded).# .gitignore
src/locales/*.json
!src/locales/en.json

Alternatives
YAML, although almost universally reviled, is imo a great format. But moving to YAML is not the right move.

YAML is not liked by a lot of developers (understandably). JSON on the other is much beloved, especially in the JS community.
YAML requires a file rewrite (which can be automated, but why do it in the first place) when JSON is already valid JSON5.
JSON5 is already being used in the codebase, for e2e tapes (that's precedent).

References

Old discussion about en.json organisation: https://github.com/WordPress/openverse-frontend/discussions/705

there's no way to know if an i18n key is deprecated/superseded.

There is indeed a vue-i18n rule to warn about unused keys. I agree would be great to add it and to have comments in JSONs 😃

I support this, especially if we can find a way to get the json5 comments into the pot file and subsequently into glotpress.


command "where /r c:\ test" doesn't work

this command doesn't seem to work in my windows system, and i have no clue why. can someone give a sample on how to use it then?

btw, I don't know where this is the correct repository to post this but looking for assistance though. sorry and thanks in advanced. 😊 link: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/where

Hey @ardubluesky,
The syntax you're using is correct. The issue is that you cannot run this as-is in PowerShell. The where command functions natively in the Windows Command Prompt (CMD).
What you're looking for is similar to the command below to accomplish what you desire:

Get-ChildItem -Recurse -Path "C:" -Filter "test"

We recommend you look through our PowerShell Reference on available PS cmdlets. We also recommend searching and engaging within our community forums for assistance:
Microsoft TechNet
Microsoft Developer Network
Microsoft Support Community
As this is a non-documentation issue, we'll now be closing this thread. Thank you and have a most pleasant day.
#please-close


Add a basic config file

As has been talked about in Issue #4, I've added a basic config file.
Anything else you'd like to see in here?

Looks good, thanks.

And it's not working for me, I'll have a look

sweet!


golint monitor package

Required for all non-trivial PRs

[x] Sign CLA (if not already signed)

Golint monitor (and sub-pacakges) to address issue #4098

Looks good. Thanks.

Thanks @mark-rushakoff!


chore: Use focus-visible from component-toolkit

Description
Use the newly-added focus-visible hook and styling from component-toolkit package
Related links, issue #, if available: n/a
How has this been tested?
Tested in dev pipelines

Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness

Changes include appropriate documentation updates.
Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
Changes do not include unsupported browser features, see CONTRIBUTING.md.
Changes were manually tested for accessibility, see accessibility guidelines.

Security

If the code handles URLs: all URLs are validated through the checkSafeUrl function.

Testing

Changes are covered with new/existing unit tests?
Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

fwiw - upgrading to 3.0.685 started causing issues in my build/test due to the resolved version being @cloudscape-design/component-toolkit@npm:1.0.0-beta.51, which if I had to guess doesn't contain the useFocusVisible hook yet.
the fix for me was to make sure I was pointing to the latest @cloudscape-design/component-toolkit
e.g.
yarn set resolution @cloudscape-design/component-toolkit@npm:^1.0.0-beta npm:1.0.0-beta.58


Wrongly used dropout bug

Hi,
I guess it should use **tf.layers.dropout** instead of **tf.nn.dropout** here? Because in the inference stage, all the nodes should be used instead of dropout. I guess this is a bug.

https://github.com/tensorflow/tensorflow/blob/r1.4/tensorflow/examples/tutorials/mnist/mnist_deep.py#L92
Many thanks!

Best wishes,
Qiuqiang

For minst_deep.py, the keep_prob argument of tf.nn.dropout is set to 1.0 to keep all nodes at test stage. It is not necessary to change to tf.layers.dropout.

Many thanks! I see! I will close this issue!


Fix High Vulnerabilities

Fix High Vulnerabilities in the transitive dependencies

Pull request checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build was run locally and any changes were pushed
[x] Lint has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

ion channel report currently shows 3 high vulnerabilities in the transitive dependencies
Issue Number: N/A
What is the new behavior?

Updated the transitive dependencies to that latest versions to resolve the cve

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

Pull Request Test Coverage Report for Build 811083515

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

Totals

Change from base Build 792784265:
0.0%

Covered Lines:
61

Relevant Lines:
61

💛  - Coveralls


Yzhang

add iotedge deployment option
use cookiecutter (hooks, cookiecutter.json)
3 README files
Makefile

@YanZhangADS Fixed the issues and merged to staging. Closing this PR. Thanks 👍


pnpm and yarn installation hangs and does not appear in processes (Node.js)

Issue description
I am encountering an issue with pnpm while attempting to install dependencies on a NixOS server. The installation process hangs indefinitely during dependency resolution and does not proceed further. Additionally, when inspecting the processes using top or htop, the pnpm process does not appear, which suggests that it might be blocked or stalled without consuming resources.
I've attempted various optimizations and configurations, including clearing the cache, limiting resource usage, and testing network settings, but the issue persists.
The server specifications are:
RAM: 4GB
Swap: 512MB
CPU: 2 cores
Node.js version: 18
pnpm version: Latest
yarn version: Latest
This issue significantly impacts the ability to work with pnpm or yarn on NixOS effectively.
Steps to reproduce
Install Node.js 18 on a NixOS server.
Install pnpm using npm with the command:
npm install -g pnpm
Attempt to install a dependency using pnpm. For example:
pnpm add <package_name> --save-prod --prefer-offline
Observe that the process hangs indefinitely and does not proceed.
Technical details
sheikh@pelagrino-production:~/ > nix-shell -p nix-info --run "nix-info -m"
these 3 paths will be fetched (46.90 MiB download, 206.52 MiB unpacked):
/nix/store/mswlm05dvixp5p7bxgqzk5lzkz30isxm-gcc-12.2.0
/nix/store/061ybr50r1m2jnvih4vvpgmgwb37df3r-gcc-wrapper-12.2.0
/nix/store/dw70k9j6gny70iwxh0jrdnkal4vlbqv6-stdenv-linux
copying path '/nix/store/mswlm05dvixp5p7bxgqzk5lzkz30isxm-gcc-12.2.0' from 'https://cache.nixos.org'...
copying path '/nix/store/061ybr50r1m2jnvih4vvpgmgwb37df3r-gcc-wrapper-12.2.0' from 'https://cache.nixos.org'...
copying path '/nix/store/dw70k9j6gny70iwxh0jrdnkal4vlbqv6-stdenv-linux' from 'https://cache.nixos.org'...

system: "x86_64-linux"
host os: Linux 6.6.58, NixOS, 24.05 (Uakari), 24.05.20241023.32e940c
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.18.8
nixpkgs: /home/sheikh/.nix-defexpr/channels/nixpkgs

Looks like a duplicate of https://github.com/NixOS/nixpkgs/issues/353709. Try updating your kernel

Looks like a duplicate of #353709. Try updating your kernel

I confirm this is occurring in kernal 6.6.59.

Try updating your kernel version to 6.6.63 as this is a duplicate of https://github.com/NixOS/nixpkgs/issues/353709.
If anymore issues with after updating your kernel version then reopen this issue.


Setting Rotation in inspector is inconsistent with setting it using rotation_degrees in a script

Godot version
4.0.2 stable mono
System information
Windows 10
Issue description
I'm am not sure why but setting the rotation as 90 degrees in the inspector gives a slightly different value compared to setting the rotation using rotation_degrees in a script. Doing rotation = deg_to_rad(90) and rotation = (90 * PI) / 180 also gives the same values as doing rotation_degrees = 90.

This inconsistency also applies to other angle values. (45, 60, 180)

I expected that that inputting 90 degrees in the inspector would yield the same result as setting rotation_degrees = 90 in code. However, it does not.
Steps to reproduce

Create a new project
Add a Node2D to the scene tree
Select it and in the inspector, under the Node2D's Transform property, set its Rotation to 90
Create and add a script to the Node2D that sets rotation_degrees = 90 in the ready function
Write print(rotation) and print(rotation_degrees) above and below the rotation_degrees = 90 statement
Run project to see and compare the printed out values of the node's Rotation between setting it in the inspector and setting it in a script

Minimal reproduction project
Inconsistency with setting Rotation in Inspector (4-29-2023).zip

Never expect the values to be exact when you're using floating numbers. This is known and documented and a common pitfall, not just of Godot, of programming in general

Never expect the values to be exact when you're using floating numbers.

@Zireael07 I disagree, it's absolutely fine to expect exactly the same floating point calculations to produce exactly the same results.

I'm am not sure why but setting the rotation as 90 degrees in the inspector gives a slightly different value compared to setting the rotation using rotation_degrees in a script. Doing rotation = deg_to_rad(90) and rotation = (90 * PI) / 180 also gives the same values as doing rotation_degrees = 90.

The reason of this behavior is that the scene is saved as a text file (.tscn) where floats are stored as strings only up to some decimal places of precision. Contents of the node_2d.tscn from the MRP:
[gd_scene load_steps=2 format=3 uid="uid://dwy6lwmrxc5ev"]

[ext_resource type="Script" path="res://ShowRotationInconsistency.gd" id="1_3yls2"]

[node name="Node2D" type="Node2D"]
rotation = 1.5708
script = ExtResource("1_3yls2")

So the original value of deg_to_rad(90.0) (approx 1.5707963705062866) is saved with much less precision as a "1.5708" string. Then when loading such scene "1.5708" is parsed as a float which results in approx 1.5707999467849731. Hence the discrepency with the original value.
Saving the scene in a binary format (.scn) makes the floats be saved as exact values, so no such issue occurs in such case.
I'm not sure whether saving floats as text was deliberately done with such small precision (to potentially decrease the file sizes?), or whether it was overlooked, or whether it was done for whatever other reason.

I'm not sure whether saving floats as text was deliberately done with such small precision (to potentially decrease the file sizes?), or whether it was overlooked, or whether it was done for whatever other reason.

We could save floats with full precision for scalar and vector floats, but use a lower precision for PackedFloat32Array and PackedFloat64Array.

Ah, I see. The floats being stored as a string with less precision also seems to have been the cause of these previous issues as well: #20616, #29882, #74313, #75615.

I think the issue #59577 might be related too...
For PhysicalBone3D the Transform3D change after every save, suggesting a loss of precision:

I'll try the workaround of saving these scenes as binary, that should solve the issue of the Bones changing positions after every save, but of course binary files will not help to identify changes on source control.


Fix copyright and licensing information

I'm new to this repo, so please bear with me if I'm getting something wrong.
Currently, the copyright and license header looks like this:
<!--
  ~ Licensed to the Koordinierungsstelle für IT-Standards (KoSIT) under
  ~ one or more contributor license agreements. See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  KoSIT licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License. You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied. See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
  -->

I think this is misleading, if not wrong:
First, there is no copyright claim at all. I suppose the "Koordinierungsstelle für IT-Standards (KoSIT)" is the copyright owner, right? Then the first line should actually have a copyright claim like this:
Copyright © 2019 - 2020 by Koordinierungsstelle für IT-Standards (KoSIT)

where 2019 is the year of inception and 2020 the year of the last edit. With no copyright claim at all however, according to US legislation (and maybe in other countries, too), this would not be copyrighted material. I'm no lawyer, though, so I maybe wrong.
Next, I think the meaning of the first sentence is that KoSIT is the actual copyright owner and licenses this material under the terms and conditions of the ASL 2, right? Then the second word, which is "to", should be replaced with "by". In the current text however, KoSIT is licensing their own work to themselves. :-)
Last, but not least, you could swap the license boiler plate with the recommended form, which you can find at the very end of this page: http://www.apache.org/licenses/LICENSE-2.0

Thanks for reporting this. Actually intention is clear, I think. But the implementation of the ASL here should meet the formal requirements. I pushed a change to branch.
@rkottmann  can you please review this

fixed in master


Migrate azure-storage-file-datalake to Test Proxy

Description
Migrates azure-storage-file-datalake to Test Proxy.
As part of this work azure-storage-file-datalake was migrated from Spock/Groovy to JUnit.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests

Tests failing aren't due to this change.


Fix rollItemMacro to allow feat and action hotbar macros to function again

Resolves this issue present since the frequency tracking update.

Currently in release and master, only Self Effect and Frequency-defined hotbar macros of feats and actions will function.
To replicate the problem, drag any non-SelfEffect or Frequency-bearing feat or action to the macro hotbar and click on it, view the error in the console.

Perhaps the createUseActionMessage() function no longer needs the if statement at the very top? There is an item.toMessage() in there, which means that it should fallback cleanly enough, though perhaps it not receiving the event might lead to a problem?

Perhaps the createUseActionMessage() function no longer needs the if statement at the very top? There is an item.toMessage() in there, which means that it should fallback cleanly enough, though perhaps it not receiving the event might lead to a problem? Bears testing.

I'll test it out today and see if that's a good route to go.

Superseded by https://github.com/foundryvtt/pf2e/pull/17364. Thanks for bringing this to my attention.


Allow GLSL for Vulkan

It would be great to have a way to invoke glslangvalidator such that it can parse Vulkan specific GLSL (ie. compile to SPIR-V using the -V option). Currently, lines such as layout(push_constant) uniform get flagged as an error, with the error message being 'push_constant' : only allowed when using GLSL for Vulkan.
Cheers.

I really need this feature as well.
This commit (actually only 3 lines) adds full vulkan shader support, but I could not yet fully test it (might break for some non-vulkan shaders), it breaks windows support and probably results in worse performance.
Best would be probably to add an option to toggle this.
And if anyone here cares for windows, there probably is some way to redirect output on windows to some null/dummy file, that would need a fix as well before it can be merged i guess...

Any update on this? Thanks


Loading Navigation and Drives takes around 45 seconds

Description
Whenever I open up Files this is what it looks like -

Note the lack of any drives or naviagtion on the side.
After about 45 seconds of waiting it'll actually load everything.

If I have a direct link to a different drive it will load it properly meaning it is possible for me to quickly get to drives by creating shortcuts to them. I'm new to using Files and this issue is making using it very difficult since I can't access 80% of my files without a massive wait.
Steps To Reproduce

Open files.

Files Version
Version: <IP_ADDRESS>
OS Version: 10.0.19043.1466
Windows Version
Windows 10 Pro 19043.1466
Relevant Assets/Logs
debug.log
debug_fulltrust.log

Thanks for the report. Could you upload the two app's log files (from settings > about > open log location)?

Thanks for the report. Could you upload the two app's log files (from settings > about > open log location)? Also please add the app version to the description

Done that now :)

Do you happen to have any disconnected network drives?

No, I did have one months ago which i disconnected and fully unmapped long before switching to files

Same to me, much longer with Files

@gave92 is this still an issue in main?

Yeah sometimes I've seen it happen.

I've seen this as well, is something blocking the thread from running?

@Spawn43 can you confirm that this is resolved in the latest preview build? https://files.community/download/preview


Last Minute CSS Fixes

Describe your specific features or fixes
Will update as I go along.

Center the button for hero color block on mobile.
Centered free plan button for fullscreen marquee
Center the text for fullscreen marquee on mobile resolutions, but only if a centered variant is specified by authors

Test URLs:

Before: https://main--express--adobecom.hlx.page/express/
After: https://last-min-css-fixes--express--adobecom.hlx.page/express/colors/red

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

Project coverage is 36.56%. Comparing base (9809b54) to head (cfb8efc).
Report is 5 commits behind head on stage.

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #820      +/-   ##
==========================================
- Coverage   37.29%   36.56%   -0.74%
==========================================
  Files         131      132       +1
  Lines       25879    25989     +110
==========================================
- Hits         9652     9502     -150
- Misses      16227    16487     +260

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


Messages not send to telegram

Messages are not received on telegram.
Will later open a merge request to fix this.

Already fixed in develop.


Test binaries are signed on release branches

Description
This creates a cirrus test that will run on release branches and verify that the engine binaries are codesigned on macos.
Related Issues
This test would prevent issues like https://github.com/flutter/flutter/issues/50066.
Tests
I added an integration test file dev/bots/codesign.dart that verifies that certain cache binaries are codesigned.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

Closing this in favor of a ToT version


Header title incorrect

I am using Foundation and it uses a black color for headers. The problem is that jquery.modal doesn't specify a white color.

This problem can be easily fixed by adding color: #fff or something similar to the h3.
#modal-window .modal-box .modal-title h3 {
    color: #fff;
}

fixed. Thanks a lot ;)

Fixed in https://github.com/CreativeDream/jquery.modal/commit/2fd9bb2f11b9f61e3777e550148222bc3f151372.
May I recommend closing issues through commit messages? It's a bit easier to review.

yes. Thanks for tipp


Start bostrom archive api on sata4tb at krk3

Cleanup all mounts on fstab, reboot the node
currently not possible to start container with gpu due to nvidia-driver issue (requires restart of machine)

Done. Node is in a syncing state.


Fix issue with cell line provenance not showing files

File names with '#' still won't display, but all other files are working. Will need to remove # signs from files.


Provide tool to output all info required from vscode-php-debug github issue template please

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I've decided to suggest this ticket after raising 2 issues:

https://github.com/xdebug/vscode-php-debug/issues/532
https://github.com/xdebug/vscode-php-debug/issues/539

On clicking: https://github.com/xdebug/vscode-php-debug/issues/new
I get asked for the following things from the template for the new issue:

PHP version:
Xdebug version:
Adapter version:
Your launch.json:
Xdebug php.ini config:
Xdebug logfile (from setting xdebug.remote_log in php.ini):
Adapter logfile (from setting "log": true in launch.json):

My suggestion is for a ddev tool to generate the above automatically to paste into the new ticket.
Describe the solution you'd like
A clear and concise description of what you want to happen.
ddev generate-diagnostics xdebug

this command ^ would generate the template

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Manually doing it. Don't know where to look for adapter version and logfile.
Additional context
Add any other context or screenshots about the feature request here.

No response, so closing this. I hope that ddev xdebug on && ddev exec php -i was a good answer for you. Happy to continue the conversation here or elsewhere.


PostProcessor Restructure

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
See #1451
The PostProcessor base class and the PostProcessor of Model are combined to simplify the PostProcessor structure and enhance the inheritance of PostProcessors. In this way, PostProcessor can directly use MessageHandler, InputData, InputType, and functions from RAVEN Base Class (such as methods to handle metadata).
What are the significant changes in functionality due to this change request?

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[x] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[x] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[x] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added is the the analytic documentation updated/added?
[x] 9. If any test used as a basis for documentation examples (currently found in raven/tests/framework/user_guide and raven/docs/workshop) have been changed, the associated documentation must be reviewed and assured the text matches the example.

@wangcj05  can you add more description in the PR ?

@alfoa I have updated the description for this PR.


ProxyGunner Script

Added Public proxies to send payloads from
You can add your proxies as well
failed proxies will be excluded from sending another payload.
Added a count system to limit the number of successful post requests per thread
Added command(:stop) to stop the payloads in between
Added summary and some other minor changes.

#note: If you want to include this, make this a new file, as it uses public IPs to send payloads. These are usually blocked by many mainstream websites, but small-scale websites may not have the same level of protection.


Qt screenshots and scaling

On our qt application, we would like to take a "screenshot" of the window.
However, wgpu seems to draw directly onto the surface and bypasses qt's paintEvent so qt can't do it all on its own.
I've modified the triangle_qt_embed.py demo to allow it to fire off a request for a screenshot using Qt's grab() method.
https://github.com/hmaarrfk/wgpu-py/pull/1
(PS. I'll continue this draft of an issue in a bit, I'm going to try to provide an example of working code to "pull a screenshot" forcifully from the renderer's internal buffer)

You might want to compare your approach to solutions for Qt with pyopengl as well

Hmm. Great tip!
Truthfully I had a much harder translating my pygfx demo into a wgpu demo......
For the onlookers browsing. The symptom are that the widget on which the rendering is happening in wgpu is just blank.
My "fix" is to grab the rendered texture on the GPU and then rescale it myself prior to pasting it into the rest of the buffer provided by Qt.
It's pretty tricky because on pygfx at least, the internal texture can be of a different size than the Qt widget. So you have to make sure to resize things correctly (at least in my strategy)

The best solution would be to take the GPU screenshot from the canvas' frame buffer. However, that texture has a lifetime that is bound to a "draw event". Or maybe it lives until the next draw event? I'd have to try/check.
Another possible route might be to have a public method to draw (I think this came up somewhere else to), and perhaps such a method could provide a custom texture. Basically a method to take a screenshot (to a texture) of any size you want.

I think this came up somewhere else to

I saw this issue today,  https://github.com/pygfx/pygfx/issues/754 so it encouraged me to post my qt issue here to  give an other perspective.
I updated my example above to generate:

The red and blue rectangles are there to give you a sense that if we can somehow get the texture (correctly scaled for qt ....) then we can place it in the right position ourselves manually as a workaround. Of course, the best way would be to play nice with Qt, but sometimes thats just hard....

In pygfx, I have access to renderer.snapshot() which makes it possible to get the right data in there. I just don't know how to do it (yet) with wgpu.

The usage flag of the surface texture (obtained from the context.get_current_texture() method) does not include COPY_SRC, so the texture data cannot be read directly from it.
If you need to capture a screenshot of the rendered scene, you should create a render target texture yourself with the usage flag set to COPY_SRC | RENDER_ATTACHMENTS and use it as the color attachment in the render pipeline. Then, use copy_texture_to_texture() to copy the data to the surface texture.
The When you call the screenshot() method, you can read the data from the target texture you created.
For QT applications, if you want to capture the entire GUI interface, not just the rendered scene, the best approach is to customize a QT widget by overriding its paintEvent method. You can easily achieve this using offscreen rendering with wgpu-py.
Here is a sample code snippet (modified from triangle_qt_embed.py):
import importlib

# For the sake of making this example Just Work, we try multiple QT libs
for lib in ("PySide6", "PyQt6", "PySide2", "PyQt5"):
    try:
        QtWidgets = importlib.import_module(".QtWidgets", lib)
        break
    except ModuleNotFoundError:
        pass

from wgpu.gui.offscreen import WgpuCanvas

from triangle import main

from PySide6.QtWidgets import QWidget
from PySide6.QtGui import QPainter, QImage

class RenderableCanvas(QWidget):
    def __init__(self, parent=None):
        super().__init__(parent)
        self._canvas = WgpuCanvas()

    def paintEvent(self, event):
        frame = self._canvas.draw()
        painter = QPainter(self)
        width, height = frame.shape[1], frame.shape[0]
        img = QImage(frame, width, height, 4 * width,  QImage.Format_RGBA8888)
        painter.drawImage(event.rect(), img)

    def resizeEvent(self, event):
        self._canvas.set_logical_size(event.size().width(), event.size().height())

class ExampleWidget(QtWidgets.QWidget):
    def __init__(self):
        super().__init__()
        self.resize(640, 480)
        self.setWindowTitle("wgpu triangle embedded in a qt app")

        splitter = QtWidgets.QSplitter()

        self.button = QtWidgets.QPushButton("screnshot", self)
        self.button.clicked.connect(self.screenshot)
        self.canvas1 = RenderableCanvas(self)
        self.canvas2 = RenderableCanvas(self)

        splitter.addWidget(self.canvas1)
        splitter.addWidget(self.canvas2)

        layout = QtWidgets.QHBoxLayout()
        layout.addWidget(self.button, 0)
        layout.addWidget(splitter, 1)
        self.setLayout(layout)

        self.show()

    def screenshot(self):
        self.grab().save("screenshot.png")

app = QtWidgets.QApplication([])
example = ExampleWidget()

main(example.canvas1._canvas)
main(example.canvas2._canvas)

# Enter Qt event loop (compatible with qt5/qt6)
app.exec() if hasattr(app, "exec") else app.exec_()

Thank you for the detailed response, it will take me time to digest it.

Since #586 you can instantiate a Qt Canvas with QWgpuWidget(present_method="screen"), which should make it possible to make screenshots via Qt that include the rendered content.
You'll need to specify this when the widget is being created. At the time I looked into being able to change the method at runtime, but this complicated the logic in the GpuCanvasContext a lot. Since the "screen"  method incurs a performance penalty, I'd recommend only turning it on when you want to create screenshots.

Interesting, i didn't expect you to be so active on this repo. I'll have to watch for all notifications here too!

thanks for the warning about the performance penalty. i don't really think we can afford it. we run most of our stuff on Intel Integrated....

thanks for the warning about the performance penalty. i don't really think we can afford it. we run most of our stuff on Intel Integrated....

If you want to make screenshot for say a presentation, then you can run your app with present_method="screen", take your shots, and turn it off again. But if you want to be able to take a screenshot at any moment in the normal workflow, yeah, we'd need something else. I'll leave the issue open to cover that case.

Correction: above I mentioned QWgpuWidget(present_method="screen"), but the arg should be "image"!

I was working on stuff that touches on this. In order for canvas content to show up on Qt's screenshots (QWidget.grab()), without compromising performance, we should set present_method='image' temporarily. Making this work is technically possible, but makes the code related to presenting quite a bit more complex. I think I consider this problem out of scope for wgpu/rendercanvas.
I think this problem must be solved another way, by taking a screenshot of the application from the framebuffer. I found a tiny pure-Python, cross-platform, zero-deps, library that does this: mss. It's API is a bit quirky, but it even has a tiny pure-Python png exporter!
For Qt:
import mss

def screenshot(toplevelwidget, filename):
    g = toplevelwidget.geometry()
    rect = {"top": g.top(), "left": g.left(), "width": g.width(), "height": g.height()}
    with mss.mss() as sct:
        screenshot = sct.grab(rect)
    mss.tools.to_png(screenshot.rgb, screenshot.size, output=filename)


FEAT: updated IDL for u32 + millis

Changes
Checklist

[ ] UAT
[ ] Passes final QA checks

FYI: Requires program re-deploy!


More Clap 3.2 support

Add support of ArgAction and more types for ValueParser that was missing in #42.

Thanks!


feat: add Dockerfile and docker-compose.yml

The PR contains a Dockerfile and sample docker-compose.yml file to run this project inside a container.
This is the first time I've done anything like that, so some things could probably be improved.
arguments can be configured using environment variables. The environment variables are the following:
API_KEY: a simple string.
API_URL: (optional) simple string
QUERY: (optional) tag query string
THRESHOLD:  (optional) decimal number (for example 75.0)

CERT: (optional) boolean. If true, the certificate must be mounted at "/usr/src/app/cert"
OVERWRITE: (optional) boolean, sets -overwrite flag
SKIP_HASHING: (optional) boolean, sets -skip-hashing flag
CLEAR_SEARCH_CACHE: (optional) boolean, sets -clear-search-cache flag
VERBOSE: (optional) boolean, sets -verbose flag

Thank you a lot for taking the time to review it and especially for making suggestions and explaining why you changed something.
This PR should now be ready for merging now.

Good work


Blank real-time-html page

Hi,
I am using v.1
Trying to check out the real-time-html feature, however can't get it working.
Command output:
[root@sphere ~]# goaccess -f /var/log/httpd/access_log -o report.html --real-time-html --port=8000 --addr=<IP_ADDRESS>
Parsing... [3495] [0/s]

Does it supposed to be like that? Or should there be additional output?
Socket seems to be opened after that:
[root@sphere ~]# netstat -tuplen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       User       Inode      PID/Program name
tcp        0      0 <IP_ADDRESS>:445                 <IP_ADDRESS>:*                   LISTEN      0<PHONE_NUMBER> 929/smbd
tcp        0      0 <IP_ADDRESS>:9022                <IP_ADDRESS>:*                   LISTEN      0<PHONE_NUMBER> 594/sshd
tcp        0      0 <IP_ADDRESS>:8000            <IP_ADDRESS>:*                   LISTEN      0<PHONE_NUMBER> 1584/goaccess

Starting Nmap 7.12 ( https://nmap.org ) at 2016-06-14 05:33 EEST
Nmap scan report for <IP_ADDRESS>
Host is up (0.040s latency).
Not shown: 993 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
80/tcp    open  http
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
3306/tcp  open  mysql
8000/tcp  open  http-alt
10000/tcp open  snet-sensor-mgmt

Nmap done: 1 IP address (1 host up) scanned in 0.46 seconds

I can access the page, but it appears completely blank. Any ideas?
The urls I am using for access:
http://<IP_ADDRESS>:8000
http://<IP_ADDRESS>:8000/report.html

What you posted above looks right. Have you tried outputting only the report?, e.g.,
goaccess -f /var/log/httpd/access_log -o report.html

Yep, it works just fine.

Also, if goaccess is running on a different machine, you probably want to use --ws-url=server.addr otherwise, it will attempt to connect to localhost. You can also try getting rid of --addr.
One more thing, check the browser console or dev tools, it may be outputting something.

Just to clarify, should I place report.html in web servers root, or it can be anywhere and the report is accessible via socket?

The report can be anywhere, goaccess will send the data via socket. So once the report has been generated, it will attempt to establish a connection to whatever address was given on --ws-url=<addr>.

Ok, so:
<IP_ADDRESS> is simply a server where goaccess is installed. It is accessible via vpn, <IP_ADDRESS> is its VPN ip.
So I made a report with:
goaccess -f /var/log/httpd/access_log -o report.html --real-time-html --port=8000 --ws-url=<IP_ADDRESS> --addr=<IP_ADDRESS>
And downloaded it to my pc. It works, but the report information does not update. The green led near the settings icon in the dashboard is on. If I cancel the command on the server, it goes off :)
Attached is also the screenshot from Firebug. The request to goaccess gets a response, but the info does not update.

Any ideas?

My bad again..Everything works fine!
I did not realise, that the info is refreshed only on new log entry.
The "Last updated field" confused me, so I was refreshing the page and wondering why it is not working.
Wonderfull peace of software. You can close this ! :)

Great to hear that :)
Actually I'm working on an issue similar to what you described above, where in some cases, it is possible for a client not get the data from the server, and therefore, the buffer not being flushed. So I expect having a new minor release soon. Stay tuned!

Sorry I have the exactly the same issue
I did this
goaccess -f /var/log/nginx/access.log -a -o report.html --real-time-html --log-format='%h %^[%d:%t %^] "%r" %s %b "%R" "%u"' --date-format='%d/%b/%Y' --time-format='%T' --ws-url=xxx.xxx.xx.x --addr=xxx.xxx.xx.x --port=7700

I keep get blank page
check in dev tool
Request URL:http://xxx.xxx.xx.x:7700/
Request Method:GET
Status Code:400 Invalid Request
Remote Address:xxx.xxx.xx.x:7700
Any ideas?

@zt1983811 The "Request URL" in your dev tools should look like ws://example.com:9870/.
It's a WebSocket connection and it shouldn't contain HTTP on it. The requested url is set by  --ws-url=example.com --port=9870

@allinurl  I am sorry I try to access ws://example.com:9870/ from dev tool or browser I can not .
Could you explain me how it suppose to work?
Do I need to create client to consume this ws://example.com:9870/ ? or it can be directly access by http and show the report page like you did?
Thanks in advance!

Upon opening the generated report in your browser, it tries to establish a WebSocket connection to the address specified by --ws-url=<address>. Note that the address part should point to the location where GoAccess is running and parsing logs.
If you don't use --ws-url, it will attempt to establish the WebSocket connection to localhost, which means that GoAccess should be running on your local machine (the same machine as the one with the browser)
By default, the WebSocket server listens on port 7890, so the server running GoAccess should have the port open. Optionally, if you need to use a different port you can specify it by using --port=<port_number>
So the following example, assumes that GoAccess is running and parsing logs on a remote server, the port 7890 is opened, and your browser is on your local machine.
goaccess -f access_log -o report.html --real-time-html --ws-url=host.myserver.com

Please note that the address/host that you use in --ws-url should not be of the type http://. If it makes things easier, you can try using the server IP instead.

Hi @allinurl
I think I follow exactly your instructions, however I got 404 for some reason.
goaccess -f /var/log/nginx/access.log -a -o report.html --real-time-html --log-format='%h %^[%d:%t %^] "%r" %s %b "%R" "%u"' --date-format='%d/%b/%Y' --time-format='%T' --ws-url=xxx.xxx.xx.x --addr=xxx.xxx.xx.x --port=7700
the xxx.xxx.xx.x is ip address of remote server, and the log is also in this remote server, the command above is running in that remote server too. And I try use my local computer to access http://xxx.xxx.xx.x
I got 404
I try to access ws://xxx.xxx.xx.x page can not even load from browser
If  you want I can provide you the real ip in private we can test together!
Appreciated your help.

One more thing to note, GoAccess does not have a webserver, only a WebSocket server.
So your report should be behind an Apache or Nginx in order to open it from a remote location. However, since the report is just a plain html file, you can download the generated report to your local machine and open it there. i.e., file:///home/user/report.html.

@allinurl
Could you show us how you did it in your website to make it always updating http://rt.goaccess.io/?20160616115152
I want to do exactly the same , I have nginx server installed here

First, I run goaccess to parse the access log and place the one-time-only generated report under the web server www public folder. Here's how is done:
goaccess -f access.log -o /usr/share/nginx/www/rt.goaccess.io/index.html --real-time-html --ws-url=ws.goaccess.io

Then, when you or anybody else access http://rt.goaccess.io/, your browser will establish a WebSocket connection to ws.goaccess.io.
That's all.
If that doesn't work, shoot me an email to hello  [at] goaccess . io and I'll take a look at it.

Please write this ^ in the README. Took me some time to get here and understand this.

@bilalba Thanks, I've added some details to the README.

@allinurl As a feature suggestion: It would be better if a default HTTP request to the server sent the HTML report and you could use a relative url to form a WS connection with the server.

@bilalba what do you mean with the server should send the HTML report? Currently a JSON object with the latest data is fetched as soon as the connection is opened.

@allinurl Something like detecting if an HTTP request has been made to the server and responding with the report.html. Because currently, if an HTTP request using curl or a browser is made, it responds empty with a 400 error code.

HTTP/1.1 400 Invalid Request
no chunk, no close, no size. Assume close to signal end

Perhaps this should help. http://stackoverflow.com/questions/13791050/is-it-possible-to-enable-tcp-http-and-websocket-all-using-the-same-port

@bilalba I'm not sure I follow. What would be the use case for sending a request to get the HTML report? wouldn't you be able to just open it after it has been generated?

@allinurl This is in case goaccess is running on a remote server; it's more convenient to open(and share) an HTML page through a URL rather than through the file. Right now, sharing the report is only possible by hosting it separately somewhere.

@bilalba Got it. I'll check on this.

I think the confusion comes in, i know it did with me - in that I thought the web server is serving the HTML page and you visit it and get the report. Which gives me a blank page.
Whereas the web server is just populating data for the HTML file it creates, which you download and open on your browser and it auto-updates via the web service.


clean array creation syntax, v0.6, v0.5, v0.4 work

The syntax used for array creation in higham.jl,  Array(T, m, n), is deprecated in v0.6.
I revised it to be clean for v0.4 .. v0.6.

Thanks a lot! Will create a new version soon.


Building TFLite for Android with CMake cannot find -lpthread

Issue type
Build/Install
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.15
Custom code
Yes
OS platform and distribution
Ubuntu 22.04
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
cmake version 3.28.0-rc4
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
Building label_image with CMake with GPU delegate
Standalone code to reproduce the issue
cmake -DCMAKE_TOOLCHAIN_FILE=${android-ndk-r22}/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM="26" -DTFLITE_ENABLE_GPU=ON -DCMAKE_BUILD_TYPE=Debug ../tensorflow-2.15.0/tensorflow/lite/

make label_image -j32

Relevant log output
[ 60%] Built target absl_flags_reflection
[ 60%] Built target absl_status
[ 60%] Built target absl_flags
[ 95%] Built target tensorflow-lite
[ 95%] Linking CXX executable label_image
ld: error: unable to find library -lpthread
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [examples/label_image/CMakeFiles/label_image.dir/build.make:424: examples/label_image/label_image] Error 1
make[2]: *** [CMakeFiles/Makefile2:7481: examples/label_image/CMakeFiles/label_image.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:7488: examples/label_image/CMakeFiles/label_image.dir/rule] Error 2
make: *** [Makefile:2522: label_image] Error 2

Hi @lhchg,
Please try with the commit 00122c2.
Thank You

I fixed it by just removing -lpthread from
CMakeFiles/tensorflowlite_c.dir/link.txt


Integration with Alexa?

Now this is not an issue.. more of a proposal :)
Amazon has made Alexa avaiable for Raspberry Pi:
https://github.com/amzn/alexa-avs-raspberry-pi
Would be super cool to integrate it! :)

I think it should already work with the existing ha component.
I recently set one up using AlexaPi which is a similar project https://github.com/sammachin/AlexaPi and it works great with HA.

Closing this issue as feature requests should be posted in the forum.


docs: improve readme

fix #885

:white_check_mark: Build TheIdServer 7.1.3-feat-dark-mode1-0064 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/d3fefc9d25 by @)


When scrolling, the names overlap the wallet card

https://user-images.githubusercontent.com/69896204/142449777-b40cbfd3-4b9a-4454-b3b1-00bf9ef6c6f7.mov
commit 0950373 / v.0.9.4

Can be closed.


ensure that sprite width and height are never negative

I found out that sprite.width is negative when sprite.x is negative (same for height and scale.y). Here's a fix for that, and some tests :)

This looks like a good change, but please read the Contributing Guide for making PRs:
https://github.com/GoodBoyDigital/pixi.js/blob/master/CONTRIBUTING.md#making-changes
PRs should hit the dev branch, and please do not include built files.

thx - I will open another PR for that.


Multi python

Looking at the checks - this needs the branch protection rules updating

I think you should remove the tests for python 3.7+ and use only the ones for python 3.6. They will still work with 3.7+ and I don't like maintaining two almost identical sets of tests.
Yeah and then we'll need to change the protection rules, but let's only do that once #122 has been merged.

closed in favor of #123


Tests test_iter3 and test_iter2 fails on big endian

While building packages for openSUSE, test suite fails on all big endian architectures (ppc64, s390x, and armv7l):
[   42s] ======================================================================
[   42s] FAIL: test_iter3 (unittests.TestAutomatonIterSearch)
[   42s] ----------------------------------------------------------------------
[   42s] Traceback (most recent call last):
[   42s]   File "/home/abuild/rpmbuild/BUILD/pyahocorasick-1.4.1/unittests.py", line 775, i
n test_iter3
[   42s]     self.assertEqual(L, C)
[   42s] AssertionError: Lists differ: [] != [(6, 'he'), (7, 'her'), (8, 'hers')]
[   42s]
[   42s] Second list contains 3 additional elements.
[   42s] First extra element 0:
[   42s] (6, 'he')
[   42s]
[   42s] - []
[   42s] + [(6, 'he'), (7, 'her'), (8, 'hers')]
[   42s]
[   42s] ======================================================================
[   42s] FAIL: test_iter2 (unittests.TestAutomatonIterSearchWithIgnoreWhiteSpace)
[   42s] ----------------------------------------------------------------------
[   42s] Traceback (most recent call last):
[   42s]   File "/home/abuild/rpmbuild/BUILD/pyahocorasick-1.4.1/unittests.py", line 890, i
n test_iter2
[   42s]     self.assertEqual(L, self.correct_positons_start_12)
[   42s] AssertionError: Lists differ: [(4, 'she'), (4, 'he'), (6, 'her'), (8, 'he[49 chars
]he')] != [(13, 'he')]
[   42s]
[   42s] First differing element 0:
[   42s] (4, 'she')
[   42s] (13, 'he')
[   42s]
[   42s] First list contains 7 additional elements.
[   42s] First extra element 1:
[   42s] (4, 'he')
[   42s]
[   42s] - [(4, 'she'),
[   42s] -  (4, 'he'),
[   42s] -  (6, 'her'),
[   42s] -  (8, 'he'),
[   42s] -  (9, 'her'),
[   42s] -  (11, 'hers'),
[   42s] -  (13, 'she'),
[   42s] -  (13, 'he')]
[   42s] ? ^
[   42s]
[   42s] + [(13, 'he')]
[   42s] ? ^

Complete build on PPC64 with all details

Thank you for reporting this problem. Can anybody help to debug?

@mcepl How can we debug this?

@mcepl How can we debug this?

Tell me which logs and other information I should collect?

@mcepl re logs.
Where are you building for openSUSE, on all big endian architectures (ppc64, s390x, and armv7l)?
Could you help us by having a way to easily run the tests on demand or on commit on all these architectures?
That would be awesome!
Last I checked in my cave, I could not find any leftover mainframe in a corner to use to run tests ;) :innocent:

@mcepl re logs. Where are you building for openSUSE, on all big endian architectures (ppc64, s390x, and armv7l)? Could you help us by having a way to easily run the tests on demand or on commit on all these architectures? That would be awesome!

See https://build.opensuse.org/package/show/devel:languages:python/python-pyahocorasick ... if I can just run the test suite, I can run it on all these (and probably some other) platforms.

@mcepl thanks... the basic test suite is with make test (for py2 and py3) or just make test3 for Python 3 only. that's for the latest master code and the latest 1.4.4 release. The set of extended tests are listed in https://github.com/WojciechMula/pyahocorasick/blob/master/release_checklist.txt

I see your run them with pytest per:

pytest-3.9 --ignore=_build.python39 --ignore=_build.python310 --ignore=_build.python38 -v -k '' unittests.py
... this works too.
@WojciechMula FYI, I want  to reorg the test suite to be also all under a test/ directory (a pet pieve of mine ;) )

I see your run them with pytest per:

pytest-3.9 --ignore=_build.python39 --ignore=_build.python310 --ignore=_build.python38 -v -k '' unittests.py
... this works too.
@WojciechMula FYI, I want  to reorg the test suite to be also all under a test/ directory (a pet pieve of mine ;) )

I have no particular problem with unittest v. pytest, but I am not big fan of other testing packages (nose2, or some other ones, and nose1 is dead and being removed from openSUSE this week).

Still having issue on s390x (Python 3.12, pyahocorasick-2.0.0)
=================================== FAILURES ===================================
______________________________ test_basic_unicode ______________________________
    @pytest.mark.skipif(not ahocorasick.unicode, reason="Run only with unicode build")
    @pytest.mark.xfail(on_windows, reason="Fails on Windows")
    def test_basic_unicode():
        automaton = ahocorasick.Automaton()
        words = "he e hers his she hi him man he".split()
        #        0  1 2    3   4   5  6   7   8
        for i, w in enumerate(words):
            automaton.add_word(w, (i, w))
        query = "he rshershidamanza "
        #<PHONE_NUMBER>0123
        automaton.make_automaton()

        assert query[2:8] == ' rsher'
        results = list(automaton.iter(string=query, start=2, end=8))
>       assert results == [(6, (4, 'she')), (6, (8, 'he')), (6, (1, 'e'))]
E       AssertionError: assert [] == [(6, (4, 'she...(6, (1, 'e'))]
E         Right contains 3 more items, first extra item: (6, (4, 'she'))
E         Use -v to get more diff
tests/test_basic.py:115: AssertionError
_____________________________ test_issue_10_case_1 _____________________________
    def test_issue_10_case_1():
        ac = ahocorasick.Automaton()
        ac.add_word(conv('S'), 1)
        ac.make_automaton()
        buffer = conv('SSS')
        count = 0
        for _item in ac.iter(buffer, 0, 3):  # this causes an error
            count += 1

>       assert count == 3
E       assert 0 == 3
tests/test_issue_10.py:23: AssertionError
_____________________________ test_issue_10_case_2 _____________________________
    def test_issue_10_case_2():
        ac = ahocorasick.Automaton()
        ac.add_word(conv('S'), 1)
        ac.make_automaton()
        buffer = conv('SSS')
        count = 0
        for _item in ac.iter(buffer, 0, 2):  # no error, but it misses the last 'S' in the buffer
            count += 1

>       assert count == 2
E       assert 0 == 2
tests/test_issue_10.py:35: AssertionError
______________________ TestAutomatonIterSearch.test_iter3 ______________________
self = <test_unit.TestAutomatonIterSearch testMethod=test_iter3>
    def test_iter3(self):
        A = self.add_words_and_make_automaton()

        start = 4
        end = 9

        C = []
        for index, word in A.iter(conv(self.string[start:end])):
            C.append((index + start, word))

        L = []
        for index, word in A.iter(conv(self.string), start, end):
            L.append((index, word))

>       self.assertEqual(L, C)
E       AssertionError: Lists differ: [] != [(6, 'he'), (7, 'her'), (8, 'hers')]
E
E       Second list contains 3 additional elements.
E       First extra element 0:
E       (6, 'he')
E
E       - []
E       + [(6, 'he'), (7, 'her'), (8, 'hers')]
tests/test_unit.py:737: AssertionError
____________ TestAutomatonIterSearchWithIgnoreWhiteSpace.test_iter2 ____________
self = <test_unit.TestAutomatonIterSearchWithIgnoreWhiteSpace testMethod=test_iter2>
    def test_iter2(self):
        self.add_words_and_make_automaton()
        A = self.A
        self.assertEqual(A.kind, ahocorasick.AHOCORASICK)

        L = []
        for index, word in A.iter(conv(self.string), ignore_white_space=True, start=12):
            L.append((index, word))
>       self.assertEqual(L, self.correct_positons_start_12)
E       AssertionError: Lists differ: [(4, 'she'), (4, 'he'), (6, 'her'), (8, 'he[49 chars]he')] != [(13, 'he')]
E
E       First differing element 0:
E       (4, 'she')
E       (13, 'he')
E
E       First list contains 7 additional elements.
E       First extra element 1:
E       (4, 'he')
E
E       - [(4, 'she'),
E       -  (4, 'he'),
E       -  (6, 'her'),
E       -  (8, 'he'),
E       -  (9, 'her'),
E       -  (11, 'hers'),
E       -  (13, 'she'),
E       -  (13, 'he')]
E       ? ^
E
E       + [(13, 'he')]
E       ? ^
tests/test_unit.py:849: AssertionError
=========================== short test summary info ============================
FAILED tests/test_basic.py::test_basic_unicode - AssertionError: assert [] ==...
FAILED tests/test_issue_10.py::test_issue_10_case_1 - assert 0 == 3
FAILED tests/test_issue_10.py::test_issue_10_case_2 - assert 0 == 2
FAILED tests/test_unit.py::TestAutomatonIterSearch::test_iter3 - AssertionErr...
FAILED tests/test_unit.py::TestAutomatonIterSearchWithIgnoreWhiteSpace::test_iter2
=================== 5 failed, 158 passed, 7 skipped in 2.14s ===================

You can run an s390x container using qemu-user-static to test this locally.
<docker|podman> run --rm --platform linux/s390x -ti fedora:rawhide

This blocks the Fedora Golang Special Interest Group from adopting scancode as the default backend for our license tooling, as we still need to support s390x.


Reduce package/bundle size - dynamically import borders.json

Motivation
Currently when taking dependency on country-coder npm package a bundle will get heavier by ~600kb.
The main reason is due to borders file which takes 595kb and is directly imported in source code.
e.g. running build analysis in iD would tell that iD bundle is 3MB while country-coder takes 600kb (~15%), however it seems that geojson is not the best candidate for web-standard compressions (e.g. br) which is why this piece takes ~35% of the compressed bundle.
Making such bundle overhead impacts fcp (especially with users that have low speed connection) which can be avoided in case when borders.json is not necessary for startup/fcp.
Proposal
Create lazy/dynamic load of the borders file inside the country-coder.
Potential implementation is to have init()/ensureLoaded() method to request+load the heavy file and return the promise which then gets resolved. Unfortunately, that would result in shell pattern (unpopulated object which enables default 'empty' functionalities which become functional after init is done), however in this case it would be worth it.

Yeah, looking at the current stats for our dev RapiD build, this data is the largest chunk at around 663k.  It would be nice to lazy load this like we do with the other data files.


ip address can not obtained in linux usb lancard with bebop2

Hello.
I am recently try to run the bebop code again.
So the code itself and bebop is working well in the window pc.
I have workstation in the lab so I want to apply your code to my drone.
I face this error.
Do you have any idea about it?
Thank you.
(torch) kangd345@ce-yc-dlearn2:~$ env PTVSD_LAUNCHER_PORT=37199 /home/kangd345/anaconda2/envs/torch/bin/python /home/kangd345/.vscode/extensions/ms-python.python-2020.2.64397/pythonFiles/lib/python/new_ptvsd/no_wheels/ptvsd/launcher /home/kangd345/drone_code_test/pyparrot-master/demoBebopIndoors.py
connecting
Setting up mDNS listener since this is not a Mambo
Making a browser for _arsdk-090c._udp.local.
Service Bebop2Power-023404._arsdk-090c._udp.local. added, service info: ServiceInfo(type='_arsdk-090c._udp.local.', name='Bebop2Power-023404._arsdk-090c._udp.local.', addresses=[b'\xc0\xa8*\x01'], port=44444, weight=0, priority=0, server='Bebop2Power-023404.local.', properties={b'{"device_id":"PI040436AA7K023404"}': None})
Traceback (most recent call last):
File "/home/kangd345/drone_code_test/pyparrot-master/demoBebopIndoors.py", line 14, in
success = bebop.connect(10)
File "/home/kangd345/drone_code_test/pyparrot-master/pyparrot/Bebop.py", line 224, in connect
connected = self.drone_connection.connect(num_retries)
File "/home/kangd345/drone_code_test/pyparrot-master/pyparrot/networking/wifiConnection.py", line 171, in connect
handshake = self._handshake(num_retries)
File "/home/kangd345/drone_code_test/pyparrot-master/pyparrot/networking/wifiConnection.py", line 318, in _handshake
self.drone_ip = ipaddress.IPv4Address(self.connection_info.address).exploded
AttributeError: 'ServiceInfo' object has no attribute 'address'

Race condition maybe in what the bebop sent back?  Does it happen every time?  Looks like a bad packet to me.

Race condition maybe in what the bebop sent back? Does it happen every time? Looks like a bad packet to me.
I realize that it only happen in school computer. It might be the school firewall problem.