[Bug]: ERROR:    Exception in ASGI application

What happened?
Running on public URL: https://73062440-2dd8-46db.gradio.live/
This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces
Startup time: 84.3s (import gradio: 3.2s, import ldm: 6.6s, other imports: 3.3s, list extensions: 1.2s, load scripts: 1.8s, load SD checkpoint: 40.2s, create ui: 17.0s, gradio launch: 10.9s, scripts app_started_callback: 0.2s).
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/anyio/streams/memory.py", line 94, in receive
return self.receive_nowait()
File "/usr/local/lib/python3.9/dist-packages/anyio/streams/memory.py", line 89, in receive_nowait
raise WouldBlock
anyio.WouldBlock
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 78, in call_next
message = await recv_stream.receive()
File "/usr/local/lib/python3.9/dist-packages/anyio/streams/memory.py", line 114, in receive
raise EndOfStream
anyio.EndOfStream
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/uvicorn/protocols/http/h11_impl.py", line 429, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/usr/local/lib/python3.9/dist-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.9/dist-packages/fastapi/applications.py", line 273, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.9/dist-packages/starlette/applications.py", line 120, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 108, in call
response = await self.dispatch_func(request, call_next)
File "/content/stable-diffusion-webui/modules/api/api.py", line 96, in log_and_time
res: Response = await call_next(req)
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 84, in call_next
raise app_exc
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/base.py", line 70, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/cors.py", line 92, in call
await self.simple_response(scope, receive, send, request_headers=headers)
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/gzip.py", line 24, in call
await responder(scope, receive, send)
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.9/dist-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/usr/local/lib/python3.9/dist-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 716, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 66, in app
response = await func(request)
File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 255, in app
content = await serialize_response(
File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 141, in serialize_response
raise ValidationError(errors, field.type)
pydantic.error_wrappers.ValidationError: 1 validation error for Options
response -> sd_checkpoint_hash
value is not None (type=type_error.not_none)
Steps to reproduce the problem

Go to ....
Press ....
... [etc]

What should have happened?
Hi thanks for this tool well the problem is that i use google colab, i add --api and --cors-allow-origins=https://zero01101.github.io" and i try with --cors-allow-origins=https://zero01101.github.io/openOutpaint/ and i paste the gradio link in https://zero01101.github.io/openOutpaint and when i try to use i have this error in colab
Commit where the problem happens
.
What platforms do you use to access openOutpaint?
Other/Cloud
What browsers do you use to access the UI ?
Google Chrome
Browser Extensions/Addons
.
AUTOMATIC1111 webUI Commandline Arguments
--api and --cors-allow-origins=
Additional information
i have the same error with the extension  web ui

so i gotta admit almost zero familiarity with colabs beyond just booting it up and making sure it worked, but i see a ton of python 3.9 in those logs, and i'm certain A1111 requires 3.10.6 specifically so i don't know if that might have something to do with it?
i also don't know which colab notebook you're using, but i guess TheLastBen's is generally the "most compatible"?

closing as stale


invalid config file in mongo

hi,
i have issue regarding on the configuration file in mongo. there is an error in line 43.

and here is my current conf.yaml

all in here are just a sample database that i created for the setup. but it seems the datadog agent cannot see what i configure on my conf.yaml

Hi @kr0n0s21, thanks for reaching out! It seems that the indentation for hosts, username, and password fields aren't lined on the same level of nesting. Try:
init_config:
instances:
  - hosts:
      - <host>
    username: <username>
    password: <password>

Here's the example yaml file for reference: https://github.com/DataDog/integrations-core/blob/1c5521d035e4d8ca04a356c8ec5dd5f73058aed3/mongo/datadog_checks/mongo/data/conf.yaml.example#L37-L48
If you're still running into issues, can you please reach out to our Datadog Support team to open a support ticket for further assistance? We may need to request additional information from you to debug the issue and our Support team will be better able to assist.


Add java dependency back to airflow

Overview
Effectively reverts a15ced and adds java back
See https://github.com/azavea/raster-foundry/commit/a15ced453f9cb45aece5a1c1c08c7a8c8f04a5d3
Still a WIP - haven't had a chance to test fully.
Checklist

~[ ] Styleguide updated, if necessary~
~[ ] Swagger specification updated, if necessary~
~[ ] Symlinks from new migrations present or corrected for any new migrations~

Testing Instructions

Build airflow worker: docker-compose -f docker-compose.airflow.yml  build airflow-worker
Get a shell in docker container: ./scripts/console airflow-worker bash
Check java version: java -version

Closes #1447

This should be good to review now @ddohler


Fix(extra mem):  Fix additonal memory allocation for MPU-based systems

PR description
This PR fixes a problem identified for systems based on MPUs, where additional memory was being allocated for VMs in the linkerscript. This is only required for MMU-based ones.
Additionally, this PR also fixes a small mistake where the root pool bitmap base was being allocated in a wrong place for systems with MPU.

Shouldn't this also address calculations in pp_root_reserve_hyp_mem?


will this image work with raspberry pi zero w, wirelessly

@rajeshkrarora1 Sorry for this late response. I haven't tested this image with Raspberry Pi Zero W. I'm not sure if it works.

i have tested it, and thankyou for this wonderful work, as it is working
wonderfully with raspberrypi zero w wirelessly, the only issue i'm facing
is with audio as i have a adafruit i2s mic SPH0645 and i'm still unable to
make it work with Picam-Streamer, though i've installed every thing for
this mic to work, alsamixer shows this module as " snd_rpi_simple_card" and
i'am able to change it's volume in alsamixer but picam-streamer does not
use it to steam audio, i need to understand how to change the audio input
device in picam-streamer, pls help me with this as i need the mic to be as
small as possible and so cannot use usb mic or  Wolfson Audio Card
On Sat, Nov 3, 2018 at 7:48 PM Nao Iizuka<EMAIL_ADDRESS>wrote:

@rajeshkrarora1 https://github.com/rajeshkrarora1 Sorry for this late
response. I haven't tested this image with Raspberry Pi Zero W. I'm not
sure if it works.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/iizukanao/picam-streamer/issues/27#issuecomment-435591410,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ako7-hA_vVY8LYm1aL0fUK9k148qdQmNks5uraW7gaJpZM4XMOQP
.


Stored XSS Vulnerability

Hi,
I am a security researcher and I found a stored xss vulnerability.
Steps:

Go to https://www.secretsantaorganizer.com
Fill the fields. Please look at the attachment (photo).
Click "Create your event!" button.
You will see xss alert.

Regards.

Photo: https://i.hizliresim.com/Ll0Rmb.jpg
PoC: https://www.secretsantaorganizer.com/created/lbn48m5mh68s88cgc4gw8kg4c0wg0oc

see #445

there is a bit of a problem. The two issues from @alicanact60 were not showing up in the interface of GIthub The issues from @mygfxx1 seem to be duplicates. The original reporter is @alicanact60 because the issue ID's are lower ...
Please send me a mail at<EMAIL_ADDRESS>so we can resolve this situation

Because it's my another account. It was flagged. That's why I sent same reports with this account, again.
Regards.

And I sent a mail.


Misc: Make an exception for esnext/verbose since they are removed

Tests?

Ok that was the wrong place to put that lol

LGTM

Coverage increased (+0.008%) to 96.784% when pulling bda0b91e4482cdd507575b24f445cb669b585e8e on better-error into 4a935aa0bd8ad45595bcf0c57adfa232c6c0de07 on master.


Add Escape key to exit

Approach to fix issue https://github.com/calleerlandsson/pick/issues/125 with ideas from @mptre (https://github.com/calleerlandsson/pick/issues/125#issuecomment-222808260): works here and all tests passed.

Thanks for taking the time to review and solve the open issues. However,
I'm not in favor of adding support for ESC since it's not too common
among other Unix utilities, there's also a more extensive discussion in
the issue.

Right ... I don't use ESC but keep this in my tree if someone is interested ...

Great! You could add a comment to the issue. Even though it's already
referenced a comment might be clearer.


Where is connection idleTimeout?

    <bean id="dataSource" class="com.zaxxer.hikari.HikariDataSource">
        <property name="jdbcUrl" value="jdbc:mysql://${db.ip}:${db.port}" />
        <property name="username" value="${db.username}" />
        <property name="password" value="${db.password}" />
        <property name="autoCommit" value="true" />
        <property name="connectionTimeout" value="${pool.connectionTimeout}" />
        <property name="validationTimeout" value="${pool.validationTimeout}" />
        <property name="idleTimeout" value="${pool.idleTimeout}" />
        <property name="minimumIdle" value="${pool.minimumIdle}" />
        <property name="maximumPoolSize" value="5000" />
        <property name="initializationFailFast" value="${pool.initializationFailFast}" />
        <property name="leakDetectionThreshold" value="${pool.leakDetectionThreshold}" />
    </bean>

pool.connectionTimeout=3000
pool.validationTimeout=1000
pool.idleTimeout=90000
pool.minimumIdle=100
pool.initializationFailFast=false
pool.leakDetectionThreshold=${mvn.pool.leakDetectionThreshold}

But I found connection idleTimeout is 300 seconds. Why not 90 seconds ?

After 300 seconds, I can not found idle connections in MySQL-Server....
Why?

Please read https://github.com/brettwooldridge/HikariCP/wiki/Configuration#frequently-used

@nitincchauhan  Yes, I have read it.
But I can not find something about 300 seconds in the document.
I configurate  idleTimeout= 90000 ms

pls post your configuration. better if you send few seconds of debug level log from hikaricp.
if you can, pls test against 2.4.2.RC2

        <dependency>
            <groupId>com.zaxxer</groupId>
            <artifactId>HikariCP</artifactId>
            <version>2.4.1</version>
        </dependency>

my configuration see the earliest comment.

1 test against 2.4.2.RC2
2 send debug level log of some 300+ seconds from hikaricp.
3 check time out values in mysql

I found both idleTimeout and maxLifetime is ok.
maxLifetime > idleTimeout

wondering what changes you made to have expected behavior (300 vs 90 sec) ?
from your config:
idleTimeout is 90 seconds
and default maxLifetime is 30 minutes

Now :
idleTimeout=90000
maxLifetime=123000
so that it keeps 100 connections forever in MySQL-Server.

I think you are misinformed.
idleTimeout is to close connection if not borrowed (staying idle in pool) till this duration
maxLifetime is to close connection after this duration

I know what you said.

@fjjiaboming Without a debug log covering ~130 seconds, it is impossible to tell if this is an error by the pool.  If the application is active, an idle connection that is retired may be quickly replaced.  The status logged by the housekeeper thread every 30 seconds is not accurate enough to show what is occuring between the housekeeper runs.
However, debug logging in current versions of HikariCP should log everytime a connection is retired, and the reason.
Again, if the application has some background activity, then connection may never reach idle state for long enough to be retired as idle.  However, they surely will be retired before they reach maxLifetime.  The maxLifetime is not an exact number, because some random variance is added to ensure that too many connections are not retired at one time.


ModuleNotFoundError when loading  from chemotools.variable_selection import RangeCut

I wanted to try your Coffee Spectra Classifier exercise in google colab but when I run the line
from chemotools.variable_selection import RangeCut
I receive the following error.

ModuleNotFoundError                       Traceback (most recent call last)
 in <cell line: 7>()
5 from chemotools.scatter import StandardNormalVariate
6
----> 7 from chemotools.variable_selection import RangeCut
8 pipeline = make_pipeline(
9     StandardNormalVariate(),
ModuleNotFoundError: No module named 'chemotools.variable_selection'

NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
Can you please help?
Thank you

Hi @jguenther504 thanks for reaching out and highlighting the issue. It is because in order to align with the scikit-learn naming convention, I changed the name module name from variable_selection to feature_selection, and I forgot to update the coffee exercise!
If you type
from feature_selection import RangeCut
it should work! :) I will update the exercise as soon as possible! Thanks for pointing it out!
With best regards
Pau

@jguenther504, I have updated the documentation on the exercises and also of the methods.

Here you can find the updated coffee exercise

Here you can find the updated documentation of feature selectors

I hope this resolves the issues, else please let me know :)
With best regards,
Pau

This issue is closed after updating the documentation and verifying module works as described


Update zio, zio-test, zio-test-junit, ... to 2.0.17

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-junit
dev.zio:zio-test-magnolia
dev.zio:zio-test-sbt

from 2.0.13 to 2.0.17
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #149.


Highlight value only on hover

Hello,
What do you think about highlight value only on hover ?
It is hard to implement that?
This can be just option in settings for someone who need this
Example below:

Closed due to no response from the author


How to interpolate String as ident

Hey, I hope this is the right place to ask:
I need to interpolate a string as an ident (so without quotation marks). Is there some easy way to do this?

You would construct a syn::Ident from the string and interpolate that -- the link shows an example. If you are not already using Syn you can do the same thing through the lower level proc_macro2::Term which can also be interpolated.

Perfect, thank you! :)


Week 26 Review Ticket

[x] 2.4a Notes
[x] 2.4b Notes
[x] 2.4a/b Hacks(Dataset)

Debugging Screenshots

Graded by Ben Lee

Has notes for 2.4a
Has notes for 2.4b
Has data base that works - has create table, create user, read, update, and delete
Has screenshot for debugging

Overall grade: 2.7/3

Graded by Ben Lee

Has notes for 2.4a
Has notes for 2.4b
Has data base that works - has create table, create user, read, update, and delete
Has screenshot for debugging

Overall grade: 2.7/3

Reflection about Peer Grading
I believe this was an appropriate grade for what I have. I completed both the notes and questions for 2.4a and b. I also created a personalized database about animated movies and their ratings, with features of create, read, update, delete. However there are some hacks and things that I could have done more, as I feel this completes the standards but does not go above or beyond.


API suggestion for Router to add a 'callback' prop to support for adding callbacks when route changes

I find it necessary to do something when the location changes. For example, some common things could happen when URL changes, such as event tracking for page views etc.
Here's my code example (Actually, this is what I'm doing to resolve my problem in my project):
import React from 'react';
import { BrowserRouter } from 'react-router-dom';
import { isFunction, isArray } from 'utils/common';

export default class Router extends BrowserRouter {
  constructor(props) {
    super(props);
    this.unlistenCallback = [];
    if (isFunction(props.callback)) {
      this.unlistenCallback.push(this.history.listen(props.callback));
    } else if (isArray(props.callback)) {
      props.callback.forEach((cb) => {
        if (isFunction(cb)) this.unlistenCallback.push(this.history.listen(cb));
      });
    }
  }

  componentWillUnmount() {
    if (this.unlistenCallback) {
      this.unlistenCallback.forEach((cb) => cb());
    }
  }
}

When use:
// cb here can be a function or an array of functions whitch will be called when the location changes
<Router callback={cb}>
  // ...
</Router>

Can I have a pull request? Or what do you think about this idea? Thanks for your reply.

Just use the useLocation hook. That will trigger a re-render when the location changes and you can handle that appropriately.

@timdorr could you elaborate please? I'm trying to do the same as the OP. I want to track location changes to record visited pages and I can't find a way to it with React Router v6.

I mean something like this. Just pop this in your tree somewhere it will always be rendered.
function Tracker() {
  const location = useLocation()

  useEffect(() => {
    doTrackingStuff(location)
  }, [location])

  return null
}

@timdorr Thank you! I was able to implement what I wanted without issues.


Completed Task 794 : Design System > Elements > Enhancements in breadcrumb

Description

Enhancement done for Breadcrumb:
-Pill Background and square background style implemented

Screenshots :

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@hemalatagaikwad you need to select the first one branch

Close PR as new PR create against this task


How to save multiple sensor's data to disk simultaneously? (I need to save Raw, depth and semantic segmentation images of every frame in autopilot mode, to disk)

CARLA version: 0.9.15
Platform/OS: Windows
I need to save Raw, depth and semantic segmentation images of every frame, in autopilot mode, to disk.
I need a python script that does the same. I can save Raw RGB images to disk, but I need the images of other sensors too, to save simultaneously in separate folders.

For your case, reading the examples would help.
https://github.com/carla-simulator/carla/blob/master/PythonAPI/examples/sensor_synchronization.py
This example is using
blueprint_library = world.get_blueprint_library()
cam_bp = blueprint_library.find('sensor.camera.rgb')
lidar_bp = blueprint_library.find('sensor.lidar.ray_cast')
radar_bp = blueprint_library.find('sensor.other.radar')

How you want to save your sensor data after you get them, is your choice.

Hi @bsandy1978, have you been able to solve your problem with what PatrickPromitzer has commented?

As there has been no response I close the issue. Feel free to reopen it.


Develop a method that determines the different valid combinations of workflow steps

Currently, these are the different workflow steps for Mobility Analysis:

Incremental Clustering
Trace Segmentation Clustering
Address Oscillation (Oscillation Collector)
Update Stay Duration (Stay Duration Calculator)
Combine Extracted Stays (Stay Integrator)

The task is to develop a method or provide an exhaustive list that determines the different valid combinations of workflow steps in a complete workflow.


Customize Generated Output

It would be nice to be able to customize generated output, similar to how T4 templates are used to customize code gen in Visual Studio.  For example, if you have a class used in two-way data binding,  you need to implement INotifyPropertyChanged, which you can do in a base class.  The trick, however, is that you need to fire the event in the setter of each property in the class.
public class Person : EntityBase
{
    private string _name;
    public string Name
    {
        get { return _name; }
        set
        {
            _name = value;
            NotifyPropertyChanged(nameof(Name));
        }
    }
}

This is just one example of how one might like to customize code generation.  T4 templates allow for this, but they are tied to Visual Studio.  Another option could be something like Yeoman.  Or there could be a hook that accepts a callback, allowing for the strategy pattern.

Perhaps someday we could allow some optional template-style customization with handlebars or a similar, simple syntax that works for all languages:
private {{type}} _{{name}};
public {{type}} {{Name}}
{
  get { return _{{name}}; }
  set
  {
    _{{name}} = value;
    NotifyPropertyChanged(nameof({{Name}}));
  }
}

We built a prototype for this a while ago.  It didn't go anywhere, and we have a way to extend quicktype through code now, so I'll close this.

Hi @schani, it would be awesome to have this prototype back. I'm interested in generating custom Swift models and having a template file would make it much easier to adopt in my current project.
Thank you


Processing of big test frames.

Hi,
i am just testing your websocket library and noticed that when sending big text Frames like this here, the parsing Fails with "ERROR Websockets: unmasked frame, disconnecting."
Is it just for me, or can you also reproduce this on your side?
Thanks for any hints.

Hi @Filly ,
Thank you for opening this issue(!).
I'm testing and I can confirm a weakness in the parser. I'm working on a patch and I'll write the details after the patch was released.
I'm super thankful that you exposed this issue 👍

Hi @Filly ,
Thank you again for opening this issue(!).
I tried to reproduce the issue on my system and wrote a few javascript tests...
Testing with Safari and Firefox worked fine on my system (I didn't test IE, since I don't have it).
Chrome was the only browser who's Javascript engine could trigger the issue. It seems to be the only client that uses fragmentation when sending messages.
Along the way I discovered that a multi-packet message could, potentially (under certain conditions), throw the parser into an endless loop, exposing a DoS weakness (which had now been fixed).
I patched up the parser and retested on all browsers (Chrome, Safari, Firefox).
I tested with up to 2Mb size messages, which requires setting a larger .max_msg_size value, i.e.: websocket_upgrade(.max_msg_size = 2097152 /* ... */)
This now works properly on all tested browsers (I didn't test on IE).
Again, thank you for exposing the issue.
I hope you enjoy the framework. Please let me know if you run into any more issues.
Bo.


Possible Spelling Error

First sentence, second paragraph under subheading Reserve Instances for Predictable Workloads says "Console" and I believe it should say "Contoso"

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

ID: 5d55f111-797f-7e1b-c1a0-08c00af0174e
Version Independent ID: 157d8898-43bf-a9ca-810b-0c4ec400ad69
Content: Contoso-Set up a migration infrastructure
Content Source: articles/migrate/contoso-migration-infrastructure.md
Service: azure-migrate
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

@RiverS2501 Thanks for your question. We are checking on this and will respond to you soon.

@RiverS2501 Thanks once again for bringing this to our attention. We've raised a pull request and the changes would go live in few hours. Closing this issue for now. Feel free to reach out to us if you've any concerns.


feat: allow use with importlib_metadata version 4

This change makes single-source compatible with more packages, as other
packages may require importlib_metadata version 4.
The only breaking change in version 4 is:
PackageMetadata as returned by metadata() and Distribution.metadata() now provides normalized metadata honoring PEP 566

which has no impact on single-source (from https://github.com/python/importlib_metadata/blob/main/CHANGES.rst).

Travis CI doesn't seem to run on this branch, but I ran the tests with pytest with the latest version and everything passed:
% poetry update
...
% pytest
============================================================================ test session starts =============================================================================
platform linux -- Python 3.8.10, pytest-7.0.1, pluggy-1.0.0
rootdir: /home/benoit/terality/single-source
plugins: mock-3.6.1
collected 15 items

tests/test_regex.py .........                                                                                [ 60%]
tests/test_version.py ......                                                                                [100%]

============================================================================= 15 passed in 0.04s =============================================================================

That's a good idea. Thank you for contribution.

It took longer to release due to my vacation. I have to migrate from travis ci I think


install many pythons

make a python_install to install many pythons, so you can spec versions.
and when version=... w/ venv/pip, make sure version is installed.
might be most sane to only support from-source in those cases.
path them out accordingly...make sure pipX.X.X is installed, too...

quick answer would be to use a attrs list like
https://github.com/shimizukawa/chef-python-build
and loop on'm.


Small ui tweaks(Phases widget & engagement urls)

Issue : #2185
-Change some wording & styling for phases widget & engagement urls
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

Merging #2199 (137ab46) into main (43df78a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2199   +/-   ##
=======================================
  Coverage   68.78%   68.78%
=======================================
  Files         469      469
  Lines       15232    15233    +1
  Branches     1183     1184    +1
=======================================
+ Hits        10477    10478    +1
  Misses       4555     4555
  Partials      200      200

Flag
Coverage Δ

metweb
61.44% <100.00%> (+<0.01%)
:arrow_up:

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

Files Changed
Coverage Δ

.../engagement/view/widgets/PhasesWidget/PhaseBox.tsx
37.50% <ø> (ø)

...nts/engagement/view/widgets/PhasesWidget/index.tsx
44.44% <ø> (ø)

...ement/form/EngagementFormTabs/Links/PublicUrls.tsx
50.00% <100.00%> (+0.72%)
:arrow_up:


More than one hash calculator windows open crashes

Describe the bug
When there are no debuggers connected and more than one hash calculator windows open the program crashes.
To Reproduce
Steps to reproduce the behaviour:

Build
Open the program with no debugger attached
Open more than one hash calculator window
See crash with no error

Expected behaviour
Program does not crash on opening more than one hash calculator windows.

Update: The crash occurred with a debugger attached.
System.InvalidOperationException: Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
StackTrace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous) in //src/System.Windows.Forms/src/System/Windows/Forms/Control.cs:line 6919
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args) in //src/System.Windows.Forms/src/System/Windows/Forms/Control.cs:line 6426
at System.Windows.Forms.Control.Invoke(Delegate method) in //src/System.Windows.Forms/src/System/Windows/Forms/Control.cs:line 6407
at DownloadManager.HashCalculator.ShowProgressBar(Boolean show) in D:\DownloadManager\HashCalculator.cs:line 184
at DownloadManager.HashCalculator.<>c__DisplayClass4_0.<.ctor>b__0() in D:\DownloadManager\HashCalculator.cs:line 39
at System.Threading.Thread.StartHelper.Callback(Object state) in //src/libraries/System.Private.CoreLib/src/System/Threading/Thread.cs:line 42
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in //src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs:line 183
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() in //src/libraries/System.Private.CoreLib/src/System/Runtime/ExceptionServices/ExceptionDispatchInfo.cs:line 56
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) in //src/libraries/System.Private.CoreLib/src/System/Threading/ExecutionContext.cs:line 207
at System.Threading.Thread.StartCallback() in //src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs:line 105

The issue will be fixed in version <IP_ADDRESS>.


Stringify

Same as https://github.com/Jasonette/JASONETTE-iOS/pull/337 but for Android. Copy and pasting the comment:

Previously there was a strict rule about keeping every attribute a string format. This has confused a lot of people when getting started because for example you would expect something like this to work right out of the box:
{
  "type": "label", "text": 42
}

But it didn't because you had to EXPLICITLY set every attribute value to string, so the 42 had to be wrapped with double quotes like this:
{
  "type": "label", "text": "42"
}

This PR fixes this problem so all types automatically get typecasted to string when printing to the view. Numbers become strings and booleans become strings too (true becomes "1" and false becomes "0")
Here are the features that have been updated to reflect this:
View

header

basic title
advanced title
menu

text
badge

text

footer

tabs

items

text
badge

input

textfield

name
placeholder

right

text

layers

type:label

text

components

type:label

text

type:button

text

type:textfield

name
value
placeholder

type:textarea

name
value
placeholder

type:slider

name
value

type:switch

name
value

type:map

pins

title
description

type: Html

text

Action
$util actions
Styling
all styles with number metrics (size, width, height, etc.)

Can try the demo at https://jasonette.github.io/Jasontests/stringify/index.json


Improve passing buffer to wasm

Loading arrow from ipc will be a super common use case so it should be fast. We want to avoid as many memory copies as possible. We should look into what is happening and which copies we can avoid.
Try https://github.com/rustwasm/wasm-bindgen/issues/1643 and https://github.com/rustwasm/wasm-bindgen/issues/1993 and https://github.com/rustwasm/wasm-bindgen/issues/2456

I tried the approach in https://github.com/rustwasm/wasm-bindgen/issues/1993#issuecomment-583614609 and it was actually slower than taking an &[u8].
Maybe I made a mistake.
    pub fn from(buffer: &Buffer) -> Result<Table, JsValue> {
        let contents: Vec<u8> = Uint8Array::new_with_byte_offset_and_length(
            &buffer.buffer(),
            buffer.byte_offset(),
            buffer.length(),
        )
        .to_vec();
        let cursor = std::io::Cursor::new(contents);
        let reader = match arrow::ipc::reader::FileReader::try_new(cursor) {
            Ok(reader) => reader,
            Err(error) => return Err(format!("{}", error).into()),
        };

        let schema = reader.schema();
        match reader.collect() {
            Ok(record_batches) => Ok(Table {
                schema,
                record_batches,
            }),
            Err(error) => Err(format!("{}", error).into()),
        }
    }

No more memory copies 🎉 .
Once https://developer.mozilla.org/en-US/docs/Web/API/ReadableStreamBYOBReader is out, we don't even need to make copies anymore (as long as we know the size of the IPC beforehand).
const filePath = path.join(__dirname, "./flights-1m.arrow");
const file = fs.readFileSync(filePath);

const wasmArray = new arrow_wasm.WasmUint8Array(file.length);
file.copy(wasmArray.view);

const table = arrow_wasm.Table.fromWasmUint8Array(wasmArray);

Now it seems to take a long time to create the buffers in Arrow. I think the issue is https://issues.apache.org/jira/browse/ARROW-11696.


Thread safety

This PR addresses some thread safety and race conditions present in the trajectory action server.
The problems/fixes include:

has_goal_ is accessed from doTraj() and the action server callbacks, so protect it by a mutex.
goalCB() and cancelCB() also have to be protected against affecting each other, since an async spinner with 3 threads is used - the action server itself does not provide any locking.
The UrRealtimeCommunication class is not thread-safe. If you call addCommandToQueue() from a different thread (e.g. the trajectory thread in UrDriver::uploadProg()), you can get data corruption.

There are other subtle changes (joining the trajectory thread properly, ...).
@ThomasTimm, we talked briefly at MBZIRC about your driver. If you want, I can spend some more time on separating the changes so that they are easier for you to check. Does that make sense or will you release your new version soon?

I'm surprised this PR has been sitting for so long! It seems to fix a quite dangerous bug! It seems to have an occasional deadlock problem I tried to investigate, but its going to be a non-obvious one. My guess is that one of the threads must hang after acquiring goal_mutex or something.

Any progress on this?

Not that I'm aware of. This PR is also targeting master, which is deprecated. The refactor in kinetic-devel uses a different architecture so it would need to be seen whether it could also benefit from the changes in this PR (and whether it even needs them).

This PR has been merged into this fork of ur_modern_driver but I don't think it's made it back upstream to ros-industrial.

@jaymwong wrote:

This PR has been merged into this fork of ur_modern_driver but I don't think it's made it back upstream to ros-industrial.

that fork is also based on the deprecated master.


systemd-nspawn: unrecognized option '--setenv'

#I can run my acbuild bash script fine on my local machine (ubuntu xenial).
In the Travis-CI environment (Ubuntu trusty) acbuild run abends:
/bin/acbuild --debug run -- apt-get update
Running: [apt-get update]
systemd-nspawn: unrecognized option '--setenv'
run: non-zero exit code: 1

The workaround in issue #162 - create a script, copy it in and run it -  is not relevant.
The issue is peculiar - according to Ubuntu systemd-nspawn is not available on Trusty....
So either Travis have patched/updated parts of their Trusty or the error is coming from within the acbuild rootfs.  Bit puzzled.
The build log is here.
https://travis-ci.org/taqtiqa/rkt-base/builds/259781806
The build scripts are in github:
https://github.com/taqtiqa/rkt-base
Hope that helps?

I'm closing this. The project is no longer maintained and umoci and buildah are likely the tools people should be looking at. With that as context, this issue is just noise.


Allow replacement pattern for cloaked text

I would like a way to hide specific keys but still show the key. Maybe a system like #6.
I primarily opened this issue because I think you may have missed the notification of the PR.

Would be a nice addition indeed, I did see your PR but am on holiday at the moment, I will close this and continue conversation on the PR ;)


Non-working .sticky-top

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Hi
I'm testing the utility
sticky-top
but it is not working
I tested it with a simple code

Stick to the top on viewports sized SM or wider

but nothing happen
instead fixed-top works
I tested it on arch linux with chrome Versione 103.0.5060.134 (Build ufficiale) (a 64 bit)
and firefox 102.0.1 (64-bit)
thanks
Reduced test cases

Stick to the top on viewports sized SM or wider

What operating system(s) are you seeing the problem on?
Linux
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
5.2.0

Hi
https://stackblitz.com/edit/bootstrap-5-bhc7mq?file=src%2Findex.html
I've seen that it works but only in simple condition, in this example I use two div.
I'm developing a web site with grav cm, nothing of big, but it doesn't work.
now I've done other tests
if I add

Stick pppppppppp d SM or wider

under my div, it goes down in the right mode, without this div no
look here
they have the same problem
https://github.com/twbs/bootstrap/issues/21919
at the bottom one says that it is present also on bootstrap 5, it is something join with the height
in other form I read about the same problem
I hope you can understand the problem and fix it

Closing due to no live example.


ARXML: extract the signal values for "invalid signal"

for many -- but not all -- signals, this is the same as initial value.
Andreas Lauser<EMAIL_ADDRESS>on behalf of MBition GmbH.
Provider Information

@juleq : merge at will...

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

39 of 45 (86.67%)  changed or added relevant lines in 3 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage increased (+3.3%) to 96.165%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cantools/database/can/formats/arxml.py
31
32
96.88%

cantools/subparsers/list.py
1
6
16.67%

Files with Coverage Reduction
New Missed Lines
%

cantools/database/can/formats/arxml.py
7
93.58%

Totals

Change from base Build<PHONE_NUMBER>:
3.3%

Covered Lines:
5717

Relevant Lines:
5945

💛  - Coveralls


ddcci-driver: init at 0.3.2

Motivation for this change
It adds a linux kernel driver for DDC/CI monitors. With it you can modify the brightness of your external monitor through sysfs, in the same way as with a laptop screen. acpilight is the recommended utility to achieve this.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Yes, of course, I'm using it daily through acpilight. Note that I rarely disconnect or reconnect the monitor so I'm not sure if hot-plugging is fail-proof.
Following is the configuration I'm using currently:
  boot.kernelModules = [
    "i2c-dev" # For ddcutil
    "ddcci"
    "ddcci-backlight"
  ];

  users.groups = {
    backlight = { };
    i2c = { }; # For ddcutil
  };

  boot.extraModulePackages = [ pkgs.linuxPackages.ddcci-driver ];

  services.udev.packages = with pkgs; [
    ddcutil
    acpilight
  ];

My setup is Linux 4.19.47 with a Benq GW2765 connected over a DVI to HDMI adpater and the Intel i915 driver.

@GrahamcOfBorg build ddcci-driver

@GrahamcOfBorg build linuxPackages.ddcci-driver

Can be updated to v.0.3.3


BLC_10: All menus text is being cut off from right under language PT

SEVERITY: Minor
MODULES: Bubble Chart, Bar Chart
OS / BROWSER: Windows 7/Chrome 45.0
STEPS TO REPRODUCE:

Navigate to URL: http://static.gapminderdev.org/vizabi/release/v0.5.1/preview/bubblechart.html
Bubble chart page will be loaded
Click on Set Lang: adjacent to Play
If already selected language is English, it will be change into PT
Note all menus like options, find, axes etc. text is being cut off from right

ACTUAL RESULTS:
Text of all menus is slightly cut off from right under language set as PT & overlap menus are showing in bottom for portrait view
EXPECTED RESULTS:
Menus text should be shown completely in both positions of menus under language as PT
SCREENSHOTS:

fixed now


Update diann

Small update for the DIA-NN wrapper

added option to use multiple fastas
added speclib files to output if a spectral library is generated
fixed "report.tsv not found" when only spectral library is generated
fixed "WARNING: skipping ./input_data/None - invalid raw MS data format"

First test failed. Any idea what fixes this:

is one of your tabular output files not tabular, but some binary file, e.g. a compressed tabular?

ping @bgruening :)


Write cypress test cases for integration

Write testcases to check integration of backend and front-end like the POST, GET requests.

Issue moved to sprint3


Improved performance of django.forms.ChoiceWidget.optgroups()

I was looking at SelectDateWidget as I thought I spotted an ideal candidate for a list comprehension. When I looked into it I found that the slowest part of this benchmark is creating all of the options, so I investigated this instead.
I found two items that could help here. The first is re-ordering the select logic, the str and in are more expensive than an attribute lookup.
The second change is to "cache" the create_option function (I'm not sure what the correct way of describing this is). I'm less sure about this change, but it does have a sizeable impact so I've suggested it.
The only other thing I considered here was also "caching" self.allow_multiple_selected as it should be quicker to store that as a local variable. However, I can't detect the impact of this change, so it's not proposed here.
Finally, this list is quite long and so performance gains are larger as there are more loops. I tested with a shorter, simpler widget and I couldn't detect any impact of this change. Therefore I think it benefits larger option lists and doesn't detriment smaller ones.
Start
SelectDateWidget: Mean +- std dev: 4.50 ms +- 0.14 ms
re-order logic (4%)
SelectDateWidget: Mean +- std dev: 4.31 ms +- 0.19 ms
cache create_option (a further 4%; 8% total)
SelectDateWidget: Mean +- std dev: 4.13 ms +- 0.11 ms

bench_selectdatewidget.py

from django.conf.global_settings import INSTALLED_APPS
import django
from django.conf import settings
from django.forms.widgets import SelectDateWidget
import pyperf

settings.configure(INSTALLED_APPS= ('__main__',))
django.setup()

def test(loops):
    range_it = range(loops)
    widget = SelectDateWidget(years=(2020,))
    t0 = pyperf.perf_counter()

    # repeat to reduce impact of for loop
    for loop in range_it:
        widget.get_context('widget', "2020-10-10", {})
        widget.get_context('widget', "2020-10-10", {})
        widget.get_context('widget', "2020-10-10", {})
        widget.get_context('widget', "2020-10-10", {})
        widget.get_context('widget', "2020-10-10", {})
        widget.get_context('widget', "2020-10-10", {})
        widget.get_context('widget', "2020-10-10", {})
        widget.get_context('widget', "2020-10-10", {})
        widget.get_context('widget', "2020-10-10", {})
        widget.get_context('widget', "2020-10-10", {})

    return pyperf.perf_counter() - t0

runner = pyperf.Runner()
runner.bench_time_func('SelectDateWidget', test)

I guess part of this is myself learning what is and isn't acceptable. I feel judging between various ways of doing things comes with experience.
I guess my thoughts are in part shown by me splitting the change. The re-ordering of the logic seems sensible to me. We're exploiting pythons ability to fail fast and doesn't impact code readability. The second I was less sure about, reading around I see folk doing this but does come at a cost as you describe.
A good outcome for me here is to learn what is and isn't appropriate.

I guess part of this is myself learning what is and isn't acceptable. I feel judging between various ways of doing things comes with experience.
I guess my thoughts are in part shown by me splitting the change. The re-ordering of the logic seems sensible to me. We're exploiting pythons ability to fail fast and doesn't impact code readability. The second I was less sure about, reading around I see folk doing this but does come at a cost as you describe.
A good outcome for me here is to learn what is and isn't appropriate.

Hey @smithdc1, thanks. I think ultimately readability trumps unless we can show that something is on the critical path in realistic circumstances. (Something in URL resolution, for example 😃, is worth leaning more towards speed.)
If you want to reduce this down to just the Boolean change, we’d be happy with that.
👍

Hey @smithdc1, thanks. I think ultimately readability trumps unless we can show that something is on the critical path in realistic circumstances. (Something in URL resolution, for example 😃, is worth leaning more towards speed.)
If you want to reduce this down to just the Boolean change, we’d be happy with that.
👍

Thank you both! 🙏

Thank you both! 🙏


Get Query Features in TAPIR

Is there a reason why the return value for get_query_feats is not supported in TAPIR as the value is already present in interp_feats?
https://github.com/google-deepmind/tapnet/blob/main/tapnet/torch/tapir_model.py#L174

This is a legacy parameter used to compute TAP-Net losses.
If you want to get query features from TAPIR, you should directly call the get_query_features() method at https://github.com/google-deepmind/tapnet/blob/main/tapnet/torch/tapir_model.py#L216 .  This method is also exposed on the ParameterizedTAPIR object.  If you want to avoid recomputation, you can pass query features or feature grids into the __call__ function.


Add Alerting & Eventing for OnOffType PowerPlant

Alerting and Eventing should be added to OnOffType PowerPlant, similiar to RampUpType.

Make sure to add sufficient unit tests!

Implemented pushing events and alerts to the outside world from the actor!


Stub RPR data

Attributes might be incorrect, I went off of weaponskill vs spell. Combos are stubbed as we don't know the IDs yet.

I opted to not write a changelog for the data as it's just stubbed and there's no analyser code yet. Once we have something to analyse, or at least confirmed data, I'll write one. I don't think there's any benefit to a data-only changelog when the data isn't useful in any way yet.


Cannot install chromedp

What versions are you running?
go version go1.14.4 darwin/amd64

$ go list -m github.com/chromedp/chromedp
$ google-chrome --version
$ go version

What did you do? Include clear steps.
I pasted "go get -u github.com/chromedp/chromedp" in my command line and pressed "return".
What did you expect to see?
Some sort of message that the installation is complete.
What did you see instead?
runtime/cgo
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd
ld: warning: ignoring file /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libpthread.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (x86_64): /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib/libpthread.tbd
Undefined symbols for architecture x86_64:
"___stack_chk_fail", referenced from:
_x_cgo_init in _x004.o
__cgo_sys_thread_start in _x004.o
"___stack_chk_guard", referenced from:
_x_cgo_init in _x004.o
__cgo_sys_thread_start in _x004.o
"___stderrp", referenced from:
__cgo_sys_thread_start in _x004.o
_x_cgo_sys_thread_create in _x005.o
_x_cgo_thread_start in _x008.o
"_abort", referenced from:
__cgo_sys_thread_start in _x004.o
_x_cgo_sys_thread_create in _x005.o
_x_cgo_thread_start in _x008.o
"_fprintf", referenced from:
__cgo_sys_thread_start in _x004.o
_x_cgo_sys_thread_create in _x005.o
"_free", referenced from:
_threadentry in _x004.o
"_fwrite", referenced from:
_x_cgo_thread_start in _x008.o
"_malloc", referenced from:
_x_cgo_thread_start in _x008.o
"_nanosleep", referenced from:
_x_cgo_sys_thread_create in _x005.o
__cgo_try_pthread_create in _x005.o
"_pthread_attr_destroy", referenced from:
_x_cgo_init in _x004.o
"_pthread_attr_getstacksize", referenced from:
_x_cgo_init in _x004.o
__cgo_sys_thread_start in _x004.o
"_pthread_attr_init", referenced from:
_x_cgo_init in _x004.o
__cgo_sys_thread_start in _x004.o
"_pthread_cond_broadcast", referenced from:
_x_cgo_notify_runtime_init_done in _x005.o
"_pthread_cond_wait", referenced from:
__cgo_wait_runtime_init_done in _x005.o
"_pthread_create", referenced from:
_x_cgo_sys_thread_create in _x005.o
__cgo_try_pthread_create in _x005.o
(maybe you meant: __cgo_try_pthread_create)
"_pthread_detach", referenced from:
_x_cgo_sys_thread_create in _x005.o
__cgo_try_pthread_create in _x005.o
"_pthread_mutex_lock", referenced from:
__cgo_wait_runtime_init_done in _x005.o
_x_cgo_notify_runtime_init_done in _x005.o
_x_cgo_set_context_function in _x005.o
__cgo_get_context_function in _x005.o
"_pthread_mutex_unlock", referenced from:
__cgo_wait_runtime_init_done in _x005.o
_x_cgo_notify_runtime_init_done in _x005.o
_x_cgo_set_context_function in _x005.o
__cgo_get_context_function in _x005.o
"_pthread_sigmask", referenced from:
__cgo_sys_thread_start in _x004.o
"_setenv", referenced from:
_x_cgo_setenv in _x006.o
(maybe you meant: _x_cgo_setenv)
"_strerror", referenced from:
__cgo_sys_thread_start in _x004.o
_x_cgo_sys_thread_create in _x005.o
"_unsetenv", referenced from:
_x_cgo_unsetenv in _x006.o
(maybe you meant: _x_cgo_unsetenv)
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)

This seems like a problem with your Go setup or your system. We don't use cgo anywhere.


Add "Balanced KRool Phases" to spoilerlog

Add balanced_krool_phases boolean to the spoilerlog.

Thanks for this, looks good to me. Merging into dev, will be merged into master at a later date in the 3.0 pipeline (probably in a week or two)


Spec metadata fields for the azure storage queue binding doesn't explain what the decodebase64 field

Describe the issue
Spec metadata fields for the azure storage queue binding doesn't explain what the decodebase64 field is. It seems to be a copy and paste from the blob storage binding.
URL of the docs
https://docs.dapr.io/reference/components-reference/supported-bindings/storagequeues/
Expected content
On the storage queue binding the setting of base64decode only works on the receiving side and not while publishing.
Screenshots

Additional context
On the storage queue binding it is confusing that the content is base64encoded by default. We set up a flow from azure blob-->azure event grid-->azure storage queue-->dapr binding-->java app. The content received by the java app was always base64encoded. We had to either set that setting on the component or decode it in the app. The documentation wasn't clear and seemed to suggest it's only on the publishing side.

@rishabhsaha - Would you be able to push a PR for suggested changes here based on your experience?

resolved


Fix: allow query ui results to render data for columns with dot notation

Originally, query results were not returning data in the special case where a column name had contained a '.'

    executionResult.result = {
      columns: ['This Column Has .Dot', 'Normal Column'],
      rows: [
        {
          values: ['valueOne', 'valueTwo'],
        },
      ],
    };

would have shown up as
.
This is due to how ag-grid-table options render it, more detail found: https://www.ag-grid.com/javascript-data-grid/column-definitions/#suppress-field-dot-notation.
Fixed so now data will render successfully and not show up as empty cells even though values exist.

Summary

How did you test this change?

[ ] Test(s) added
[x] Manual testing (please provide screenshots/recordings)
[ ] No testing (please provide an explanation)

@xannem  Test?


fix: knowledge text editor growing beyond height

Closes #204

:tada: This PR is included in version 0.17.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Telemetry chart not displaying report per time period drop down value

@isaac-dasan still the issue exists Webui displaying only last 20min data irrespective of the time interval dropdown.
Originally posted by @nareshshenishetty in https://github.com/Azure/pcs-remote-monitoring-webui/issues/1229#issuecomment-470682042

@gauravagerwala did you "empty cache and reload" in your browser? I double checked and that this issue is fixed in latest release and master branch.

Reopening to hear confirmation from @gauravagerwala .

@gauravagerwala @nareshshenishetty. Thank you for reporting. I just noticed Telemetry chart. Previously, I was looking at the alarm counts and it seems to be updating fine after the recent bug fix.
This issue seems to be there since last release i.e 2.1.3.

This is by design and not a bug. We only show 15mins of data in the telemetry chart since longer timperiods will slow the page loading. Everything other than the telemetry chart in the dashboard will be loaded according to the timeperiod dropdown.


add procps

Mainly so that we upgrade the version of top running on our pods and get access to better info.

@emranemran Do we still need this with all the system monitoring stuff landing in catabalancer?

yes! this helps with per-process cpu/mem usage during specific operations in catalyst-api and the inter-parsing of these logs with catalyst-api helps narrow down issues quicker.

hmm do we think we don't need to reference it by kernel version?

3.894 Reading state information...
3.913 3 packages can be upgraded. Run 'apt list --upgradable' to see them.
3.927
3.928 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
3.928
: Couldn't find any package by glob 'linux-tools-5.4.0-148-generic'

```

Tests failing though, you. should rebase


remove Inputs.kind check to reduce performance impact on each rest call

Hi, we encountered seriously performance issue when using splunklib.Inputs object, we found the root cause is splunklib.Inputs object will check the kind for each rest call, during check process splunklib will trigger lots of additional rest calls if there are too many kinds of data inputs in Splunk.
For the detailed info please go to: https://confluence.splunk.com/display/PROD/ERD+Performance+and+Design+Deficiency+in+SplunkLib+Inputs

dears, would you please merge the fixing? Thanks!

Replaced by #166


add region flag

depends on: https://github.com/agentsea/agentdesk/pull/26

Okay update here, I've made the image available and public in the following regions:
"us-west-1" "us-west-2" "eu-west-1" "eu-central-1" "ap-southeast-1"

We should add a check that the given region is in one of the supported regions.
This also makes https://github.com/agentsea/agentdesk/blob/main/agentdesk/vm/img.py#L20 this ami ID invalid. We will need to update https://github.com/agentsea/agentdesk/blob/main/agentdesk/vm/ec2.py#L69 to fetch the ami ID by image name, something like:
import boto3

def find_ami_by_name(ami_name, region):
    ec2_client = boto3.client('ec2', region_name=region)

    response = ec2_client.describe_images(
        Filters=[
            {
                'Name': 'name',
                'Values': [ami_name]
            }
        ]
    )

    images = response.get('Images', [])

    if not images:
        print(f"No AMI found with the name: {ami_name}")
        return None

    # Assuming the first image in the response is the desired one
    ami = images[0]
    return ami
    ```

Ok - I can add those changes. Can we make it available on ap-northeast-1 too? That's the region that's being used in the OP.

We will need to update https://github.com/agentsea/agentdesk/blob/main/agentdesk/vm/ec2.py#L69

Interesting - it looks like the ID hasn't changed:
Found AMI with name: agentd-ubuntu-22.04-20240529073401 and ID: ami-06f3f5d8474ba4099

Anyway - opened https://github.com/agentsea/agentdesk/pull/26 for the validation.

Bumped agentdesk version in 6ad0397

Lint will fail until we can run the poetry lock with the new agentdesk version btw.

0.2.86 of agentdesk is now released, lets update the deps here and get this merged 🚢

done - @pbarker let's 🚢 :)


WIP : Fix - Add Metrics, Console, Logs support to OSO proxy

What does this PR do?
Support metrics, console, logs URL along with API URL in OSO proxy.  Now, metrics URL also dynamically configured with traefik by OSIO provider.
When any request arrived to OSO proxy

if its api, metrics request then it will forward to api or metrics cluster
if its console, logs request then it will redirect request to console cluster

Fix - https://github.com/openshiftio/openshift.io/issues/2342
Motivation
Direction towards removing all direct OSO call from OSIO UI.
More
OSIO provider integration test enhance to consider metrics url.
New component test added which test OSIO middleware without traefik.

New PR is created https://github.com/fabric8-services/fabric8-oso-proxy/pull/28
This PR having commits from multiple other PRs which was making this PR difficult to review.


opentracing implementation

opentracing.io
It's likely creating wrapper package would be the easiest way to handle this, as it should extend most of the standard commands
The most challenging part is extracting parent context as current command semantics don't really allow for an arbitrary object with span reference to fly around. Could be that before passing args to new Command() last argument after callback cleanup is checked for instanceof tracer.Span and then pulled from args if that is the case, creating childOf relation
When all of that is said and done - can get something nice like jaeger.readthedocs.io working

I've spent some time coding instrumentation trying to get least intrusive API, I've ended up monkey-patching Command.initPromise() and Script.execute()- code is located here - https://github.com/makeomatic/opentracing-js-ioredis/blob/master/index.js
I'll add docs & more tests in the next couple of days
Current implementation is lacking individual tracking for multi / pipeline calls - it will only track initiation of pipeline

After a bit more research I have an idea about using https://nodejs.org/dist/latest-v8.x/docs/api/async_hooks.html, but that really limits it to recent nodejs versions, so unlikely to be of use for the next year or so.
But when in the future there could literally be no need to use any wrapper methods as tracing could be performed with the async hooks completely hidden from the userland code

You can see the elastic APM implementation using hook:
https://github.com/elastic/apm-agent-nodejs/blob/master/lib/instrumentation/modules/ioredis.js
They dev a small library around nodejs hook:
https://github.com/elastic/require-in-the-middle/


Chapter 15 - page 403 - db snippet missing 'command'

Book version: 2.1
Date as of last publication: April 15, 2022
On page 404 we can ready

... for the db container, we have two special options: the volumes_from option, which mounts volumes from the specified container (in this case, the data container), and the command, which calls a shell script to start MySQL.

Snippet on page 403 is missing command that is being mentioned.
- name: Run a MySQL container.
  docker_container:
    image: db:latest
    name: db
    state: started
    volumes_from: data
    ports: "3306:3306"
    env:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: flask
      MYSQL_USER: flask
      MYSQL_PASSWORD: flask

Ah! That was from an earlier version of the code block. Good catch, and I'll have that fixed up in the next edition of the book. Thanks!


Fix allSatisfy bug in InFilter

cp from https://github.com/apache/tsfile/pull/219

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

Project coverage is 61.80%. Comparing base (9f92203) to head (5150e66).

Additional details and impacted files
@@           Coverage Diff           @@
##           rc/1.1     #220   +/-   ##
=======================================
  Coverage   61.80%   61.80%
=======================================
  Files         420      420
  Lines       27461    27461
  Branches     3601     3601
=======================================
  Hits        16971    16971
  Misses      10151    10151
  Partials      339      339

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


Clearing stale pages from .next/serverless/pages

Apologies, this is probably a noobie question, but I was wondering what the best way for clearing stale pages from the .next/serverless/pages directory was?
Having deleted a page from the project pages directory, I was stuck for some time trying to figure out why serverless offline was still find my old page.
Am I supposed to clear the aforementioned cache dir periodically? Or is there a task for performing clean-up?
Thanks in advance.

@roberttaylor426 You can safely delete the .next/ directory as it will be re-generated on each build. In future this might get done automatically by next as per https://github.com/zeit/next.js/issues/6009 :)


Decode error in ledger state file when using latest snapshot

When starting dbsync with latest snapshot, It's reporting Ledger state file decode error and rolling back to genesis
Environment
OS: Ubuntu
Cardano-db-sync version:  13.0.0
Install Method : Docker
Network : Testnet
Snapshot link : https://updates-cardano-testnet.s3.amazonaws.com/cardano-db-sync/13/db-sync-snapshot-schema-13-block-3693319-x86_64.tgz
Error Log
[db-sync-node:Warning:6] [2022-07-11 12:26:01.15 UTC] Version number: 13.0.0
[db-sync-node:Warning:6] [2022-07-11 12:26:01.15 UTC] Git hash: 67367b5ae317b2915de94dc3be43c29d796d876e
[db-sync-node:Warning:6] [2022-07-11 12:26:01.15 UTC] Option disable-ledger: False
[db-sync-node:Warning:6] [2022-07-11 12:26:01.15 UTC] Option disable-cache: False
[db-sync-node:Warning:6] [2022-07-11 12:26:01.15 UTC] Option disable-epoch: False
[db-sync-node:Warning:6] [2022-07-11 12:26:01.15 UTC] Enviroment variable DbSyncAbortOnPanic: False
[db-sync-node:Info:6] [2022-07-11 12:26:01.16 UTC] Schema migration files validated
[db-sync-node:Info:6] [2022-07-11 12:26:01.16 UTC] Running database migrations
[db-sync-node:Info:6] [2022-07-11 12:26:02.56 UTC] Using byron genesis file from: "/nix/store/kax0css4lx3ywihvsgrqjym0jpi20f99-byron-genesis.json"
[db-sync-node:Info:6] [2022-07-11 12:26:02.56 UTC] Using shelley genesis file from: "/nix/store/2xhy92909anynqsvx1b1x153cxwnfmzx-shelley-genesis.json"
[db-sync-node:Info:6] [2022-07-11 12:26:02.56 UTC] Using alonzo genesis file from: "/nix/store/8qnphq6yvcjspiy3z0aijfd6cv64l3hl-alonzo-genesis.json"
[db-sync-node:Info:6] [2022-07-11 12:26:02.64 UTC] NetworkMagic:<PHONE_NUMBER>
[db-sync-node:Info:6] [2022-07-11 12:26:02.87 UTC] Initial genesis distribution present and correct
[db-sync-node:Info:6] [2022-07-11 12:26:02.87 UTC] Total genesis supply of Ada:<PHONE_NUMBER>9.999903
[db-sync-node:Info:6] [2022-07-11 12:26:02.89 UTC] Inserting Shelley Genesis distribution
[db-sync-node:Info:6] [2022-07-11 12:26:02.89 UTC] epochStartup: Checking
[db-sync-node:Info:6] [2022-07-11 12:26:02.91 UTC] localInitiatorNetworkApplication: connecting to node via "/node-ipc/node.socket"
[db-sync-node.Subscription:Notice:55] [2022-07-11 12:26:02.91 UTC] Identity Starting Subscription Worker, valency 1
[db-sync-node.Subscription:Notice:56] [2022-07-11 12:26:02.91 UTC] Identity Connection Attempt Start, destination LocalAddress "/node-ipc/node.socket"
[db-sync-node.Subscription:Notice:56] [2022-07-11 12:26:02.91 UTC] Identity Connection Attempt End, destination LocalAddress "/node-ipc/node.socket" outcome: ConnectSuccessLast
[db-sync-node.Handshake:Info:56] [2022-07-11 12:26:02.91 UTC] WithMuxBearer (ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"}) Send (ClientAgency TokPropose,MsgProposeVersions (fromList [(NodeToClientV_9,TInt<PHONE_NUMBER>),(NodeToClientV_10,TInt<PHONE_NUMBER>),(NodeToClientV_11,TInt<PHONE_NUMBER>),(NodeToClientV_12,TInt<PHONE_NUMBER>),(NodeToClientV_13,TInt<PHONE_NUMBER>)]))
[db-sync-node.Handshake:Info:56] [2022-07-11 12:26:02.91 UTC] WithMuxBearer (ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"}) Recv (ServerAgency TokConfirm,MsgAcceptVersion NodeToClientV_13 (TInt<PHONE_NUMBER>))
[db-sync-node.Mux:Info:56] [2022-07-11 12:26:02.91 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"} event: Handshake Client end, duration 0.000515761s
[db-sync-node.Mux:Info:57] [2022-07-11 12:26:02.91 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"} event: State: Mature
[db-sync-node.Mux:Info:57] [2022-07-11 12:26:02.91 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"} event: Eagerly started (MiniProtocolNum 5) in InitiatorDir
[db-sync-node.Mux:Info:57] [2022-07-11 12:26:02.91 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"} event: Eagerly started (MiniProtocolNum 6) in InitiatorDir
[db-sync-node.Mux:Info:57] [2022-07-11 12:26:02.91 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"} event: Eagerly started (MiniProtocolNum 7) in InitiatorDir
[db-sync-node.Mux:Info:57] [2022-07-11 12:26:02.91 UTC] Bearer on ConnectionId {localAddress = LocalAddress "", remoteAddress = LocalAddress "/ipc/node.socket"} event: Eagerly started (MiniProtocolNum 9) in InitiatorDir
[db-sync-node:Info:60] [2022-07-11 12:26:02.91 UTC] Starting chainSyncClient
[db-sync-node.Subscription:Notice:55] [2022-07-11 12:26:02.93 UTC] Identity Required subscriptions started
[db-sync-node:Info:60] [2022-07-11 12:26:02.93 UTC] Cardano.Db tip is at slot 62942377, block 3693319
[db-sync-node:Info:69] [2022-07-11 12:26:02.93 UTC] Running Offline fetch thread
[db-sync-node:Info:68] [2022-07-11 12:26:02.93 UTC] Running DB thread
[db-sync-node:Info:68] [2022-07-11 12:26:02.95 UTC] Rolling back to slot 62942377, hash 289deaf2f73d0889a8c4ddd112dff7df42ed239d410638bdde98c7327c40207d
[db-sync-node:Info:68] [2022-07-11 12:26:03.00 UTC] No blocks need to be deleted
[db-sync-node:Warning:68] [2022-07-11 12:26:04.44 UTC] Failed to parse ledger state file /var/lib/cexplorer/62942377-289deaf2f7-215.lstate with error 'DecoderErrorDeserialiseFailure "Ledger state file" (DeserialiseFailure 32483506 "Decoding TxIx: too many bytes.")'. Deleting it.
[db-sync-node:Warning:68] [2022-07-11 12:26:04.49 UTC] Rollback failed. No more ledger state files.
[db-sync-node:Info:68] [2022-07-11 12:26:04.54 UTC] Rolling back to genesis
[db-sync-node:Info:68] [2022-07-11 12:26:31.44 UTC] Deleting 3693319 blocks up to slot 62942377

Apologies, I would suggest you use the previous snapshot on block no 3680594.
This is a known issue which has been fixed in tag 13.0.1 (unreleased yet) https://github.com/input-output-hk/cardano-db-sync/issues/1181 where snapshots create after the Vasil hf cannot be parsed.

Probably I just jumped the trigger too fast trying docker image for 13.0.1 which might not include the fix from master branch just yet, but jftr, current docker image (version details here [0]) is also rolling back to genesis.
[0]
[db-sync-node:Warning:6] [2022-07-15 17:28:26.12 UTC] Version number: 13.0.1
[db-sync-node:Warning:6] [2022-07-15 17:28:26.12 UTC] Git hash: 070a8565a8fcd43a6fc2fe03264e546b38a491e7


feat: Display a recurrenceRule and body text on the default detail popup

Version

v1.8.1
Development Environment

Mac, Crome
Current Behavior

not display recurrence rule and body text.
Expected Behavior

It should be displayed like below. But not editing recurrenceRule and body text on the default creation/edit popup.

To display the schedule's properties

recurrenceRule: using a template popupDetailRepeat
body: using a template popupDetailRepeat


python3Packages.pyefergy: init at 0.1.0

Motivation for this change
An API library for Efergy energy meters
https://github.com/tkdrob/pyefergy
This is a Home Assistant dependency.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 140274 run on x86_64-linux 1

4 packages built:

python38Packages.iso4217
python38Packages.pyefergy
python39Packages.iso4217
python39Packages.pyefergy

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 140274 run on x86_64-linux 1

4 packages built:

python38Packages.iso4217
python38Packages.pyefergy
python39Packages.iso4217
python39Packages.pyefergy


Missing sensors - v2.0.15

Following on from #397
Since the re-write I'm still missing sensors, namely the tire pressure sensors. Still evaluating if anything else is missing.
UK user with a Kia EV.

v2.0.17 should add tire pressure. Can you confirm?

I'm not the OP but did just install V2.0.17 for a US Kia EV6 and the tire pressure just shows "all" and state "Off".

I'm not the OP but did just install V2.0.17 for a US Kia EV6 and the tire pressure just shows "all" and state "Off".

That is a different region so a seperate fix.   Based on the old code I don't think we ever implemented each wheel for kia USA.  Could you provide debug logging of your vehicle status:  Looking to see if it contains each wheel and what title.

Does it require a lot of time before it shows something useful?   I didn't see anything at first, so did a service call for update.  just one line generated, so did a force update and got errors.
I'm not sure what the "not enrolled" means in this context, since it is giving me sensors and correct data (well, mostly correct, odometer shows zero).
I've attached the log.  This came with debug set as part the first readme, but expected a lot more data dumped.  Was there perhaps something else I do, I changed my configuration.yaml and restarted.
Anyway, it's attached, happy to redo if need more data.
DebugLog.txt

Logging will need to be done via the 2.0 method which is listed here: https://github.com/fuatakgun/kia_uvo/tree/v2.0. It is a bit hard to find that until we promote 2.0 into the primary branch.   Not enrolled seems like your car doesn't support what it was trying to do.  Potentially a pay for service? Does this work in the native USA app?

OK, got a big json dump (I think twice but didn't check precisely to see if same so here are both). Let me know if you need anything else.
Do you want me to try the force update again also?
DebugLog.txt

Your logs only have: tirePressure":{"all":0} so it looks like your region or car don't support each tire.  If seeing other issues still with force update please open a separate issue for that. I will keep this one focused around EU missing items.

@cdnninja the sensors showed up for me in 2.0.17 but of course until there is an issue with the tire pressure I can't say whether they are working or not (I've seen them work as my wife had a blowout recently and I got the alert in Home Assistant shortly after).
Will monitor but I think this can be considered closed now - should I close it or are there ongoing issues with other users?

We have issues now for the other items. I will close this out.  Thanks for testing this new version.  Really appreciate it.


"Personalize your CSS" is not working with landing page css (landing.css).

"Personalize your CSS" is not working with landing page css (landing.css).

That's because user.css is not included in the landing / pages.
If you want to add it, you can make a PR where you modify:
https://github.com/LycheeOrg/Lychee-Laravel/blob/master/resources/views/landing.blade.php
https://github.com/LycheeOrg/Lychee-Laravel/blob/master/resources/views/page.blade.php

I'll try :-D


Get rid of the concept of override_sender_alias everywhere in the framework

Just use sender_alias. (Should we do anything about default_sender_alias or that one is ok ?)
Related issue: #78

default_sender_alias is ok


define paramter for reactor thread pool size

Codecov Report

Merging #325 (0624e51) into main (802240c) will increase coverage by 1.30%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             main     #325      +/-   ##
==========================================
+ Coverage   80.29%   81.60%   +1.30%
==========================================
  Files           4        4
  Lines         873      886      +13
==========================================
+ Hits          701      723      +22
+ Misses        172      163       -9

Impacted Files
Coverage Δ

vmware_exporter/defer.py
97.22% <ø> (ø)

vmware_exporter/helpers.py
72.72% <20.00%> (+11.53%)
:arrow_up:

vmware_exporter/vmware_exporter.py
81.43% <93.93%> (+0.34%)
:arrow_up:

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

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 f32eaa9...0624e51. Read the comment docs.

@pryorda could you plz review this code?


Upgrade program from within the application.

It would be great to add an option to upgrade the version of the program from
within the application, or even better to be notified if a new version is
available and given the choice to upgrade.  Right now, I need to subscribe to
the RSS feed and upgrade the program manually.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 20 Aug 2012 at 4:20

Closing this issue but all hope is not lost! We still want to help.
See: https://github.com/jimradford/superputty/wiki/Legacy-Imported-Issues on how to help us to help you!


Issue with New Orders email notifications

New Order email notifications are not sent to the merchant.

New Order email notifications are not sent to the merchant.

Our team is still actively currently working to resolve the issue.


Review for missing documentation - at_server_spec (API Reference)

[ ] Right nav bar under documentation API reference requires documentation review (samples and examples)
[ ] Please check to ensure documentation link is pointing to the correct location

Please check libraries too (current, samples and examples)
LIBRARIES

[ ] at_server_spec
[ ] at_verb_spec
[ ] verbs

Hi @kalluriramkumar we need to review this very old ticket for accuracy, potentially close it and divert to the new pub.dev publishing issue. Creating new issue cards today.


add to server allow list

is it possible to do this?

What did you mean?

is it possible to add usernames to the allowlist or do i still need to go to aternos to do this? as in is there something like allowlist.add("username")

Thanks, now I understand. It's possible.
from python_aternos import Client, atplayers

at = Client.from_credentials('username', 'password')
serv = at.list_servers()[0]

# whl is whitelist
whitelist = serv.players(atplayers.Lists.whl)
print(whitelist.list_players()) #show all
whitelist.add('jeb_') #append
whitelist.remove('Notch') #remove

awesome, could you respond to my other issue? i cant even get a list of my servers suddenly

this doesnt work

ive copied it exactly and its not adding it

Answered in #30
Please, enable logging.


Request to update to PyTorch Version 1.6.0 (Latest)

Can you please update CondenseNet to support PyTorch's latest version 1.6.0? Thanks

Closing out because authors don't seem to care to support/help others.

The code works fine with PyTorch 1.6.0 on my side. You can describe the problems that you have met.


[SUPPORT]After restarting the program .hoodie/metadata/record_index is completely deleted

Describe the problem you faced
A clear and concise description of the problem.

After restarting the program, .hoodie/metadata/record_index is completely deleted
Due to the large amount of data already written into the lake, it is automatically deleted and rebuilt upon restart. The massive data volume causes a large number of task failures during this reconstruction, ultimately leading to failure. Regardless of the amount of resources allocated, the final result is still a significant number of task failures, causing the entire task to fail.
There is an urgent need to know the cause and how to resolve it.

Environment Description

Hudi version :0.14.1

Spark version :3.4

Hive version :3.1.2

Hadoop version :3.1

Storage (HDFS/S3/GCS..) :hdfs

Running on Docker? (yes/no) :no

Hudi
df
.writeStream
.format("hudi")
.option("hoodie.table.base.file.format", "PARQUET")
.option("hoodie.allow.empty.commit", "true")
.option("hoodie.datasource.write.drop.partition.columns", "false")
.option("hoodie.table.services.enabled", "true")
.option("hoodie.datasource.write.streaming.checkpoint.identifier", "lakehouse-dwd-social-kbi-beauty-lower-v1-writer-1")
.option(PRECOMBINE_FIELD.key(), "date_kbiudate")
.option(RECORDKEY_FIELD.key(), "records_key")
.option(PARTITIONPATH_FIELD.key(), "partition_index_date")
.option(DataSourceWriteOptions.OPERATION.key(), DataSourceWriteOptions.UPSERT_OPERATION_OPT_VAL)
.option(DataSourceWriteOptions.TABLE_TYPE.key(), DataSourceWriteOptions.MOR_TABLE_TYPE_OPT_VAL)
.option("hoodie.combine.before.upsert", "true")
.option("hoodie.datasource.write.payload.class", "org.apache.hudi.common.model.OverwriteWithLatestAvroPayload")
  //markers
  .option("hoodie.write.markers.type", "DIRECT")

  //timeline server
  .option("hoodie.embed.timeline.server", "true")

  //schema cache
  .option("hoodie.schema.cache.enable", "true")

  //metadata
  .option("hoodie.metadata.enable", "true")
  .option("hoodie.metadata.index.async", "false")
  .option("hoodie.metadata.index.check.timeout.seconds", "900")
  .option("hoodie.auto.adjust.lock.configs", "true")
  .option("hoodie.metadata.optimized.log.blocks.scan.enable", "true")
  .option("hoodie.metadata.compact.max.delta.commits", "20")
  .option("hoodie.metadata.max.reader.memory", "3221225472")
  .option("hoodie.metadata.max.reader.buffer.size", "1073741824")

  //index type
  .option("hoodie.metadata.record.index.enable", "true")
  .option("hoodie.index.type", "RECORD_INDEX")
  .option("hoodie.record.index.use.caching", "true")
  .option("hoodie.record.index.input.storage.level", "MEMORY_AND_DISK_SER")
  .option("hoodie.metadata.max.init.parallelism", "100000")
  .option("hoodie.metadata.record.index.min.filegroup.count", "720")
  .option("hoodie.metadata.record.index.growth.factor", "2.0")
  .option("hoodie.metadata.record.index.max.filegroup.count", "10000")
  .option("hoodie.metadata.record.index.max.filegroup.size", "1073741824")
  .option("hoodie.metadata.auto.initialize", "true")
  .option("hoodie.metadata.max.logfile.size", "2147483648")
  .option("hoodie.metadata.max.deltacommits.when_pending", "1000")

  //
  .option("hoodie.parquet.field_id.write.enabled", "true")
  .option("hoodie.copyonwrite.insert.auto.split", "true")
  .option("hoodie.record.size.estimation.threshold", "1.0")
  .option("hoodie.parquet.block.size", "536870912")
  .option("hoodie.parquet.max.file.size", "536870912")
  .option("hoodie.parquet.small.file.limit", "209715200")
  .option("hoodie.logfile.max.size", "536870912")
  .option("hoodie.logfile.data.block.max.size", "536870912")
  .option("hoodie.logfile.to.parquet.compression.ratio", "0.35")

  //archive
  .option("hoodie.keep.max.commits", "30")
  .option("hoodie.keep.min.commits", "20")
  .option("hoodie.commits.archival.batch", "10")
  .option("hoodie.archive.automatic", "true")
  .option("hoodie.archive.async", "true")
  .option("hoodie.archive.beyond.savepoint", "true")
  .option("hoodie.fail.on.timeline.archiving", "true")
  .option("hoodie.archive.merge.enable", "true")
  .option("hoodie.archive.merge.files.batch.size", "10")
  .option("hoodie.archive.merge.small.file.limit.bytes", "20971520")

  //cleaner
  .option("hoodie.clean.allow.multiple", "true")
  .option("hoodie.cleaner.incremental.mode", "true")
  .option("hoodie.clean.async", "true")
  .option("hoodie.cleaner.policy.failed.writes", "LAZY")
  .option("hoodie.cleaner.delete.bootstrap.base.file", "true")
  .option("hoodie.clean.automatic", "true")
  .option("hoodie.cleaner.policy", "KEEP_LATEST_BY_HOURS")
  .option("hoodie.cleaner.hours.retained", "6")
  .option("hoodie.clean.trigger.strategy", "NUM_COMMITS")
  .option("hoodie.clean.max.commits", "10")

  //compact
  .option("hoodie.datasource.compaction.async.enable", "true")
  .option("hoodie.compact.inline", "false")
  .option("hoodie.compact.schedule.inline", "false")
  .option("hoodie.compaction.lazy.block.read", "true")
  .option("hoodie.compaction.reverse.log.read", "false")
  .option("hoodie.compaction.logfile.size.threshold", "314572800")
  .option("hoodie.compaction.target.io", compact_limit)
  .option("hoodie.compaction.strategy", "org.apache.hudi.table.action.compact.strategy.LogFileSizeBasedCompactionStrategy")
  .option("hoodie.compact.inline.trigger.strategy", "NUM_AND_TIME")
  .option("hoodie.compact.inline.max.delta.commits", "10")
  .option("hoodie.compact.inline.max.delta.seconds", "7200")
  .option("hoodie.memory.compaction.fraction", "0.6")

  .option("hoodie.datasource.write.reconcile.schema", "true")
  .option("hoodie.write.set.null.for.missing.columns", "true")
  .option("hoodie.avro.schema.external.transformation", "true")
  .option("hoodie.avro.schema.validate", "true")

  //lock
  .option("hoodie.write.concurrency.mode", "optimistic_concurrency_control")
  .option("hoodie.write.lock.provider", "org.apache.hudi.client.transaction.lock.FileSystemBasedLockProvider")
  .option("hoodie.write.lock.filesystem.expire", "10")

  .option(config.HoodieWriteConfig.TBL_NAME.key(), table_name)
  .option("path", output_path + "/" + table_name)
  .option("checkpointLocation", checkpoint_path)
  .outputMode(OutputMode.Append())
  .queryName("lakehouse-dwd-social-kbi-beauty-lower-v1")
  .start()

Thanks

@MrAladdin Did you disabled the record index and restarted the driver? I see you are using lock provider, Are multiple writers writing to this table? Are the writer config same for all the writers?

@MrAladdin Did you disabled the record index and restarted the driver? I see you are using lock provider, Are multiple writers writing to this table? Are the writer config same for all the writers?

No disablement.
The lock has been enabled, but the use of multiple programs writing simultaneously has not been implemented to prevent future demands. I found that when two identical programs are mistakenly started at the same time, this situation occurs, rather than a direct conflict and exit. When not using the lock, it can be turned off, preventing this issue of deleting the record index caused by the same program being mistakenly started simultaneously.
I also want to know how to fix this problem when it occurs. Could you please provide detailed steps for a quick repair?

@MrAladdin Did you disabled the record index and restarted the driver? I see you are using lock provider, Are multiple writers writing to this table? Are the writer config same for all the writers?

I understand that it is unreasonable to delete the record index due to this conflict. In case of a conflict, it should rollback rather than directly clearing and rebuilding. When the data volume is massive, it may be impossible to rebuild due to resource limitations in the cluster.

@MrAladdin I am not very clear what part of code will delete the record index directory itself. Can you provide me steps to reproduce this issue?

@MrAladdin @ad1happy2go When the RLI is disabled, the dir would be purged. So we might need to find the culprit why the RLI is disabled?

@MrAladdin @ad1happy2go When the RLI is disabled, the dir would be purged. So we might need to find the culprit why the RLI is disabled?

The scenario where the write program automatically deletes the entire metadata/record_index directory has been identified as: This situation occurs when the write program is simultaneously started twice. It has happened a few times before, and due to the small amount of data, it could be directly rewritten to fix it. However, when the data volume is large, it becomes quite awkward. At present, no official tool has been found to reconstruct the record index under a large data volume.

This situation occurs when the write program is simultaneously started twice.

Are you saying the OCC triggers and one program roll backs the other.

This situation occurs when the write program is simultaneously started twice.

Are you saying the OCC triggers and one program roll backs the other.

The specific reason is unclear, but this situation indeed occurs when the same program is started simultaneously or sequentially, meaning two identical write programs are submitted and run.

This situation occurs when the write program is simultaneously started twice.

Are you saying the OCC triggers and one program roll backs the other.

In the screenshot, a REQUESTED deltacommit was performed at 17:46 on 07-04, but a rollback was performed immediately at 17:47 on 07-04. It seems to be as you described. However, I hope my screenshot and inference do not affect your judgment. If this is indeed the situation you mentioned, is there a way to avoid it at the code level?

Did you config the lock  provider specifically for the multi-writer scenarios? If one writer enables the MDT while the other disables it, this could happen(delete the whole ./hoodie/metadata dir).

Did you config the lock provider specifically for the multi-writer scenarios? If one writer enables the MDT while the other disables it, this could happen(delete the whole ./hoodie/metadata dir).

Both have enabled MDT, and the exact same program was submitted twice.

Hmm, this is unexpected, @nsivabalan can you chim in and take a look?

@danny0405 When using the hudi-cli to view the timeline, it was discovered that 160 instants had not been archived, and the timeline of the metadata table had not been compacted. Among these early instants, there was a deltacommit that remained in the REQUESTED state. Subsequently, an archival operation was performed on the Hudi table using the hudi-cli, and a rollback was executed for the deltacommit that was stuck in the REQUESTED state. However, it was found that the running program failed due to insufficient resources. Upon further investigation, it was discovered that the index already constructed under .hoodie/metadata/record_index had been mysteriously deleted, which is really frustrating.

@MrAladdin I tried to reproduce this but couldn't able to. If we use same configuration with RLI enabled, it never deletes the record_index directory. Are you able to reproduce it consistently?

@ad1happy2go If you used the same Hudi write configuration and multiple programs were started simultaneously without reproducing the success, I guess it might be due to the Spark-related configuration parameters in Spark submit. The most likely cause is spark.speculation, which leads to metadata/record_index exceptions. Currently, no similar exceptions have been observed when starting programs simultaneously with spark.speculation turned off or using hudi-cli for table service operations.


Add change env to validations workflow

What does this PR do?
Adds a step to set a changed env variable in the validations workflow in order to set format ddev command dynamically depending on github event.
Motivation
Currently, ddev validate is not run on push to master, as the validations workflow has ddev validate <COMMAND> changed and no integrations are changed.
AI-2263
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

push event: https://github.com/DataDog/integrations-core/runs/6135305091
PR: https://github.com/DataDog/integrations-core/pull/11884, pull_request event: https://github.com/DataDog/integrations-core/runs/6135189297


Feature request: Metrics for failed number of getConnection calls

Hi,
Please, add metrics for failed number of getConnection calls
(and eventually the connection successful and failed number for the last second).
My old connection pool (proxool) had this features built-in.

@SuperPat45 While we likely will not offer an exact match to proxool, there is a Dropwizard Meter registered as MetricRegistry.name(poolName, "pool", "ConnectionTimeoutRate"), if you configure HikariCP with a metricRegistry.  The Dropwizard Meter provides a total count, as well as 1-, 5-, and 15-minute exponentially-weighted moving averages

OK


Provide .mot file and instructions for the Salvator-X(S) boards

Successfully tested on Salvator-XS H3 ES2.0 with command line
./rcar_flash.py flash -f -b h3_4x1 u-boot:<...>/u-boot-elf-salvator-x.srec

With two minor fixes:
Reviewed-by: Ruslan Shymkevych<EMAIL_ADDRESS>


Script ends before setup is complete - no error messages

Hi,
After successfully deploying the host using the Azure Portal method, as per instructions I ran the shortcut on the host desktop 'New-AzSHCI-Sandbox using PowerShell.
The scripts get executed, after almost 2 hours, I can see Admincenter configuration scripts running , the script window then closes without any errors.
However the expected shortcut for the Admincenter VM does not get created on the host desktop and when I log on to the Admincenter VM, I can see that it hasn't been joined to the domain.
Does a log file get created and stored somewhere so that I can check if there were any errors or do you know what the issue could be?
Any assistance would be appreciated, I've tried twice so far and I'm seeing the same issue both times.
Regards

Run the script from PowerShell directly, and that should give you a reason as to why it failed.
C:\AzHCI_Sandbox\AzSHCISandbox-main\New-AzSHCISandbox.ps1

Thanks. I have ran the script from PowerShell directly and can now see the error. The script stops as it cannot restart AzSHost2 due to an 'illegal operation attempted on a registry key marked for deletion. Screenshot of the full error is attached.
I'm doing some Googling, seems there are various causes for this error.
Can you please advise, thanks.

Ok researching issue and seeing what the problem is, thanks for the information.

Hi,
Apologies for chasing, I'm sure you are extremely busy, have you had a chance to research the issue? Thanks

Rebuilt some of the scripts and items, as well as added a new Registration Script.  The latest test I have run have not seen this issue. Can you redeploy and let me know if you still see this issue?

Thanks, just tried again. Getting a different error now. Screenshot below.

@g-ali  Reach out to me<EMAIL_ADDRESS>and I will set up a meeting to discuss/troubleshoot with you. I cant recreate this issue and need to ensure a few things in your lab. Thanks.

Hi Michael,
I have sent you an email as requested.
Thanks

After the changes Michael made, deployment of nested Azure HCI stack has now completed successfully.


CAKECORE MINING APP

https://cakecore.io/join?inviter=popsino58

Use this invitation code: popsino58

"
￼Open Menu
￼
ROADMAP
April 2023
PLATFORM RELEASED
LAUNCH AIRDROP
LAUNCH ICO
LAUNCH STAKING
July 2023
VERIFY USER IDENTITY
August 2023
STOP AIRDROP
STOP ICO
START WITHDRAWAL
September 2023
ADD LIQUIDITY
RELEASE NFT
October 2023
NFT-MINING
January 2024
PLAY & EARN"
https://cakecore.io/roadmap#:~:text=April 2023-,PLATFORM,-RELEASEDRegister and use this invitation code: popsino58

CAKECOREWhitePaper.pdf
Register and use this invitation code: popsino58

Download (Eagle network) app
Use my invitation code 👉 POPNEN

Download (Eagle cloud miner) app
Use my invitation code 👉 Popsino58
To increase your mining power.
Follow this registration link to get started:

https://www.btcs.love/invite/1wdo9

https://minepi.com/G1987000 and use my username 👉 G1987000 👈 as your invitation code.

I use OPay for free transfers & earn high interests on my savings. Join me on OPay and get ₦1,200 bonus! https://mkt.opayweb.com/user-invite-friend?sceneType=general&inviteCode=CruEmQeoQnP35%2BSAmmqAPjEU8802CeEEMLSaRJLV0lvw7ikiOoTNOmK4J7FcfeWU

#1 #2


Wrong URI path to allow flash

According to this page, the URI to enable / disable flash should be:
./Vendor/MSFT/Policy/Config/Browser/AllowAdobeFlash
While in fact the correct path is:
./Vendor/MSFT/Policy/Config/Browser/AllowFlash

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

ID: 0a7fe2c9-aae2-5095-fe96-9699de018300
Version Independent ID: cfc2c4e1-dd70-0e39-4d39-beb5c8ca270b
Content: Microsoft Edge - Adobe Flash group policies
Content Source: browsers/edge/group-policies/adobe-settings-gp.md
Product: edge
Technology: microsoft-edge
GitHub Login: @shortpatti
Microsoft Alias: pashort

@officedocsbot assign @e0i

@officedocsbot assign @e0i

@mariopenterman
The issue has been noted and the document will be revised in the light of your feedback.
Thank you.

@mariopenterman
Upon your feedback, We have updated the content with relevant changes accordingly. Thanks.

@officedocsbot close


Add prop-types package for React 15.5 compatibility

See #115

Looks good, let's get this warning out of everyone's consoles!

Thanks @jbellsey! Released in v2.5.4

👍
npm publish