Cloud filesystem (s3, spaces) optimizations

First of all, thank you for this package, really amazing work you put in so far.
That said, using cloud  filesystem (s3, spaces) requires some optimizations, because right now it makes multiple requests for every LfmItem when trying to fill() the attributes. I've been playing around and managed to get the /jsonitems request with 20 folders and 1 image from over 1 min (it would timeout after 1 min) down to around 2 seconds. Here are my insights:
Avoid extra isDirectory() and isFile() requests
Right now isDirectory() does this weird check:
public function isDirectory()
{
    $working_dir = $this->path('working_dir');
    $parent_dir = substr($working_dir, 0, strrpos($working_dir, '/'));

    $parent_directories = array_map(function ($directory_path) {
        return app(static::class)->translateToLfmPath($directory_path);
    }, app(static::class)->dir($parent_dir)->directories());

    return in_array($this->path('url'), $parent_directories);
}

Since it's already making 2 different calls to filesystem to fetch folders and files separately, it can be implemented like this:
LfmPath.php
public function folders()
{
	$all_folders = array_map(function ($directory_path) {
		return $this->pretty($directory_path, true);
	}, $this->storage->directories());

	$folders = array_filter($all_folders, function ($directory) {
		return $directory->name !== $this->helper->getThumbFolderName();
	});

	return $this->sortByColumn($folders);
}

public function files()
{
	$files = array_map(function ($file_path) {
		return $this->pretty($file_path);
	}, $this->storage->files());

	return $this->sortByColumn($files);
}

public function pretty($item_path, bool $isDirectory = false)
{
	return Container::getInstance()->makeWith(LfmItem::class, [
		'lfm' => (clone $this)->setName($this->helper->getNameFromPath($item_path)),
		'helper' => $this->helper,
		'isDirectory' => $isDirectory
	]);
}

Note: I only added $isDirectory variable to pretty() function and passing true from folders() function.

LfmItem.php
class LfmItem
{
    private $lfm;
    private $helper;
    private $isDirectory;

    private $columns = ['name', 'url', 'time', 'icon', 'is_file', 'is_image', 'thumb_url'];
    public $attributes = [];

    public function __construct(LfmPath $lfm, Lfm $helper, bool $isDirectory = false)
    {
        $this->lfm = $lfm->thumb(false);
        $this->helper = $helper;
        $this->isDirectory = $isDirectory;
    }

...

    public function isDirectory()
    {
    	return $this->isDirectory;
    }

    public function isFile()
    {
        return ! $this->isDirectory();
    }

Folders do not need an isImage() check
This can be easily avoided adding an isFile() check first:
LfmItem.php
public function isImage()
{
	return $this->isFile() && starts_with($this->mimeType(), 'image');
}

Avoid extra mimeType() requests
Mime time request gets called at least 3 times when trying to fill is_mage, icon and thumb_url.
This can be optimized by including another private property $mimeType and requesting mimeType like this:
public function mimeType()
{
	if (is_null($this->mimeType))
		$this->mimeType = $this->lfm->mimeType();

	return $this->mimeType;
}

Note: I left out uploaded file comment since it was not implemented yet.

I've also removed time property (lastModified()) since I don't need it and it isn't visible in thumbnails mode.
These optimizations made this package somewhat usable with cloud disks. Further improvements are needed with files though, because they are still making a lot of requests for icons, thumbs and urls. IMO these can be optimized using lazy loading, by showing a generic file on load and then doing ajax requests and loading extra data separately. Also cache would be a nice boost in user experience, because right now when you navigate back to a folder you already were before, it has to load the same stuff again.

Hello,
thank you @Plytas
I think these optimizations should be implemented in the library asap.
How can we speed up things ?
There is a commit made by @vmgr in a fork...
It's not impacting only cloud filesystems, it's the same on a local disk.
On my dev machine, using local disk, time for the call to jsonItems went from 2.5s to 0.4s for 57 photos, just with the first optimization (the "isDirectory" variable).
On a production server, the package is unusable with 300 photos (timeout each time).
Greetings,

Hello @damienfournier
sadly I'm not a maintainer of this package. These were only my insights that I could find. If someone has time to create a PR, maybe maintainers would be willing to accept it?
@albertcht @FreedomKnight @storyn26383 @streamtw @youchenlee

Hello,
thanks Plytas, I know you're not a maintainer, but you've found the solution to the problem I had.
Btw, I've given up of using this package... it seems that the maintainers don't have the time for it, and there are big bugs like this one (which make the package unusable with > 100 images) that aren't fixed for over a year.. so I've started to rewrite it for myself in a simpler way.
Thanks

I'm interested in seeing your spin on this. If it gets to see the public, please let me know ;)

Well, it won't be public because it will be part of something else...
but basically, same principles but:

works only with ckeditor, and on linux server
store file & image info (time, size, mime) in database instead of scanning it each time
no user folder, only shared
virtual folders or tags to filter them (using database)

Are you interested in joining the author/maintainer of this package? @Plytas
It would be great to have this package keep improving.

Can someone implement this change? I tried in local and it's lot more faster on local disk too and works perfectly!

I cloned this package and started to maintain it and fix a lot of old bugs https://github.com/mafftor/laravel-file-manager
You can test it if you want! I've already done some cool features and redesigned it a bit.
Soon I will implement this optimizations as well.
Press Star if you want to support it

@mafftor Thanks your package is awesome and is start using it, but i really need these fix because not opening the folders with more files thank ~300. So i check really closely this fix, i need really this. :)

@krokovicsmate Use it and tomorrow or the day after I will publish new release with speed improvements. Now I'm waiting the amazon's approval for creating my own S3 and testing

@mafftor Okay i integrated, and i excited to use it :)

Thanks to @Plytas for the detailed suggestion. I have fixed these issues in v2.1.0.

Using s3 it still loads very slow. The preview and upload take 2-3 minutes. Is there any configuration I missed to speed filemanager up when using cloud storage?

I'm seeing the same behaviour as @martin-ro

+1 Need to upgrade it

Using s3 it still loads very slow. The preview and upload take 2-3 minutes. Is there any configuration I missed to speed filemanager up when using cloud storage?

@martin-ro did you find any solution to this?


how to change property value dynamically using spring boot client with config server with Git

My micro service gets notified about some changes of its configuration from the central conf server. It can be partial update, or a full. I use @RefreshScope mark on relevant beans. The question is how to do dynamic refresh of any property value in the bootstrap.yml using with $ for example I am reading value from git that looks like below :
application.ssl.truststore
I am developing one spring boot client which reads from from GIT through spring config server , When I start my spring boot cleint it will load all the properties from the GIT through GIT. To make Dynamic refresh to the properties I have used @RefreshScope at bean or component level where ever i use @Value annotation, this works fine after i do POST http://:/refresh for my client . I dont have any issues with that . Now my scenario is I am reading some values through client bootstrap.yml file , below is configuration
client bootstrap.yml:
health-check-interval: ${consul.discovery.health.check.interval}
    scheme: ${consul.discovery.scheme}
    register-health-check: ${consul.discovery.register.health.check}

Git configuration :
consul.discovery.health.check.interval=30s
consul.discovery.scheme=http
consul.discovery.register.health.check=true
spring.datasource.url=jdbc:oracle:thin:@host:1521:serviceid
spring.datasource.username=username
spring.datasource.password=password
spring.datasource.driver-class=oracle.jdbc.driver.OracleDriver
Now I want to change property consul.discovery.register.health.check value from http to https dynamically with out restarting the spring boot cleint application, like how I did using @RefreshScope with @Value annotation.
In the same way i want change Data base properties as well.
Note :the flow is  spring boot client ----> spring config server ---->git repo
any help would be appreciate !!!!

Please learn how to format code on GitHub.
Why do those properties need to be in bootstrap.yml why cant they reside in application.yml?

I am integrating with consul so i need to get some properties from the config server so i have used bootstrap.yml .  I have basic knowledge on differences between them, bootstrap.yml is loaded before application.yml.

consul.discovery.health.check.interval=30s
consul.discovery.scheme=http
consul.discovery.register.health.check=true

are these located in your Git repo?  If so why do you have the same configuration in bootstrap.yml and in the configuration for the app in the Git repo?

Hi ryanjbaxter,
yes the above configuration is there in the GIT repo.
Git configuration :
consul.discovery.health.check.interval=30s
consul.discovery.scheme=http
consul.discovery.register.health.check=true

below is my boot configuration in my boostrap.yml
spring:
  application:
    name: my-app
  cloud:
   consul:
      host: localhost
      port: 8500
      discovery:
        enabled: true
         health-check-interval: ${consul.discovery.health.check.interval}
         scheme: ${consul.discovery.scheme}
        register-health-check: ${consul.discovery.register.health.check}
config:
      fail-fast: true
      discovery:
        enabled: true
        service-id: config-server

we are developing multiple boot services , and we are going for config server with service-id not thru uri. So we need consul properties in my bootstrap.yml.  I am trying to change from http to https from GIT repo, but this change is reflecting even though i did POST /refresh   for my boot client.
Thanks.

Hi ryanjbaxter,
yes the above configuration is there in the GIT repo.
Git configuration :
consul.discovery.health.check.interval=30s
consul.discovery.scheme=http
consul.discovery.register.health.check=true

below is my boot configuration in my boostrap.yml
spring:
  application:
    name: my-app
  cloud:
   consul:
      host: localhost
      port: 8500
      discovery:
        enabled: true
         health-check-interval: ${consul.discovery.health.check.interval}
         scheme: ${consul.discovery.scheme}
        register-health-check: ${consul.discovery.register.health.check}
config:
      fail-fast: true
      discovery:
        enabled: true
        service-id: config-server

we are developing multiple boot services , and we are going for config server with service-id not thru uri. So we need consul properties in my bootstrap.yml. I am trying to change from http to https from GIT repo, but this change is not reflecting even though i did POST /refresh for my boot client.
Thanks.

This doesnt make sense to me.  You dont need the consul config in both bootstrap.yml and in the git repo.  I think you should just keep it in the git repo.

Thanks for the response, If you look at my configuration , the properties which are kept in the git are user defined properties , those are using in my bootstrap.yml for consul properties related.
in the same scenario after starting my service ,my service is connected to database and those data base credentials i have kept in Git repo like below
spring.datasource.url=jdbc:oracle:thin:@host:1521:serviceid
spring.datasource.username=username
spring.datasource.password=password
spring.datasource.driver-class=oracle.jdbc.driver.OracleDriver

``
now I would like to change the url,username and password property values to someother vaules at runtime , will that change reflect to my service  ? if this is possible what are the steps to be taken from my service?

information in bootstrap.yml is used to connect to the remote configuration, it is unable to use information from remote configuration. Chicken and egg problem.

@karanam35
For the placeholders defined above in bootstrap.yml.  How are they resolving? What I mean by that is, have you mentioned these placeholders as System Properties or Environment variables? I am confused if they are located in git, how can they resolve?

@indraneelb1903 your question is unrelated to this issue.  Please pose your question on StackOverflow or Gitter and we can try and help you there.

Thanks for the response, If you look at my configuration , the properties which are kept in the git are user defined properties , those are using in my bootstrap.yml for consul properties related.
in the same scenario after starting my service ,my service is connected to database and those data base credentials i have kept in Git repo like below
spring.datasource.url=jdbc:oracle:thin:@host:1521:serviceid
spring.datasource.username=username
spring.datasource.password=password
spring.datasource.driver-class=oracle.jdbc.driver.OracleDriver

``
now I would like to change the url,username and password property values to someother vaules at runtime , will that change reflect to my service  ? if this is possible what are the steps to be taken from my service?

Any help around this question? I am in the same situation, wanted to update the datasource properties at runtime before it loads the configuration properties.
Thanks
Sai


Warning spam due to Amcrest Sensor

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
.60.1
Python release (python3 --version):
3.5.2
Component/platform:
sensor/amcrest
Description of problem:
Looks like I am getting spammed with warnings in my log
Expected:
No warnings or the ability to modify my config to avoid it (not just hiding the logs)
Traceback (if applicable):
2018-02-04 07:27:25 WARNING (Thread-2) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:27:29 WARNING (Thread-13) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:27:32 WARNING (Thread-13) [urllib3.connectionpool] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:27:35 WARNING (Thread-13) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:27:39 WARNING (Thread-6) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:27:42 WARNING (Thread-6) [urllib3.connectionpool] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:27:45 WARNING (Thread-6) [urllib3.connectionpool] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:27:48 WARNING (Thread-13) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:27:59 WARNING (Thread-11) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:28:07 WARNING (Thread-3) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:28:09 WARNING (Thread-9) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:42:06 WARNING (Thread-17) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:42:16 WARNING (Thread-15) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:42:36 WARNING (Thread-15) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:43:16 WARNING (Thread-2) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:46:46 WARNING (Thread-4) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:48:36 WARNING (Thread-12) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:49:06 WARNING (Thread-2) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:52:06 WARNING (Thread-2) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:52:26 WARNING (Thread-16) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:55:06 WARNING (Thread-15) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0
2018-02-04 07:55:46 WARNING (Thread-4) [urllib3.connectionpool] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='cam0.example.com', port=80): Read timed out. (read timeout=3.0)",)': /cgi-bin/snapshot.cgi?channel=0```

**Additional info:**

Only using the amcrest/sensor platform, not the camera platform.

I am seeing the same thing with 0.65.4.  See also my report of the amcrest platform failing to load if only one of several cameras is unreachable: amcrest setup fails if one camera doesn't respond https://github.com/home-assistant/home-assistant/issues/12758


Homebridge crash after restart

Hello
After restart Homebridge tuya-lan crash.
Only after delete folder persists and accessories that fix.

I hope the dev is ok. We were talking days ago, and he was very active, now hes kinda disappeared.
In the mean time try the rc version: npm i -g AMoo-Miki/homebridge-tuya-lan

Thanks @xdmate. The correct command to get the rc release is npm i -g homebridge-tuya-lan@rc.
For the very brave who are willing to risk the bleeding edge changes npm i -g AMoo-Miki/homebridge-tuya-lan would update to the latest code.
@omriileviii Let us know if that doesn't solve your problem.

@AMoo-Miki You got it dude! Glad all is well. :)

@omriileviii, please reopen the issue if you still have problems.
@xdmate Thanks :)


Feature: Temporal interpolation

Adds temporal interpolation functionality to anemoi. The idea is that a 6 or 12 hour forecaster might yield better predictions going days out than a 1 hour forecaster, as it has to make fewer auto-regressive steps. To produce the hourly predictions still, we can use the information available from the forecaster, e.g. hours 12 and 18 as input to predict hours 13-17. These predictions are made individually, assisted by some information about the target time as input.
This is a work in progress, parts of the implementation can be found on the corresponding branch of anemoi-models.
Implemented

A prototype that runs (with decreasing loss, but haven't done any full scale training to verify yet). The interpolator itself is implemented as GraphInterpolator in interpolator.py, with train.py generalized to call a config-based model. If nothing is specified, it defaults to GraphForecaster.
The config options multistep and rollout are not applicable to the interpolation case, so I added the option to explicitly state which time steps to use as input, and as a target for the model. This also enables non-regular input for the forecaster, e.g. using input at 0, -1, and -6 hours to make a 1 hour forecast.
A corresponding change in the valid dates function, which also includes the possibility for data to be extracted across missing dates if the requested indices can cross the gap. E.g. with a missing date at index 8, and requested dates at 0,3,6. Indices 3,4 and 6,7 are still usable, which would not have been represented correctly before.
Option to add temporal forcings at the target time as an input to the model, this is necessary for interpolation at multiple distinct hours with the same model weights.

To do

Add support for custom forcing parameters beyond those in the dataset. As of now, only the target time as a fractional difference between the input times is possible and used by default. I will instead move this to a config instantiated object.
Run a full scale training and compare with previous results (from the old aifs-mono where I first implemented this)
Also do a short training with the forecaster and see that the results are as expected.
Implement a way to avoid crossing model runs. When training on data with analysis less frequent than the target interpolation frequency, one has to switch between different model runs at certain points in the dataset. If we for instance use 18 continuous hours of a run before switching, the change from hour 29 of one run to hour 12 of the next run will not represent a physical change in the state of the atmosphere. To avoid training on this, we thus need to consider all sets of inputs and targets that will cross this gap as invalid. I will add this to the usable_indices function.

Questions

In train.py I could not get instantiate to work as an instance of the forecaster/interpolator because "config" is a kwarg of instantiate itself, and thus cannot be included in the additional kwargs. Instead I used a combination of importlib and getattr, but if there is a way to use instantiate here, I can replace it.
Does anemoi datasets not support extracting dates with irregular indices? I could not get open_dataset to work with indices that do not follow a regular sliceable pattern. Either with an array or a tuple/list of indices. Is there a way around this?
Although a simple interpolation setup like using hours 0 and 6 to predict hours 1-5 yields a regular range from 0 to 6, irregular ranges would enable more complex setups for both the forecaster and interpolator.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add handling of entitlement secret

Users can add the entitlement secret "etc-pki-entitlement" to their namespace in the cluster. This will be then available for installing rpms during container build.
STONEBLD-1589

This is how to test this/reproduce (you must have a redhat portal account with the rhel subscriptions)

run registry.access.redhat.com/ubi8/ubi:latest locally
run subscription-manager register command
copy the generated -key.pem and .pem files from /etc/pki/entitlement to your local machine
oc create secret generic etc-pki-entitlement --from-file <>-key.pem --from-file <>.pem
That is based on https://developers.redhat.com/articles/2022/01/24/create-entitled-builds-red-hat-subscriptions-openshift

And here is a testing build that I used, https://github.com/mkosiarc-rhtap/my-test/blob/main/Dockerfile
It won't install the libvirt-libs package successfully without working entitlement.

/retest

/retest

/retest

Should some docs be updated as well, so the users are aware of this ? @mmorhun


detected integration that uses deprecated 'async_get_registry'

Versions

Key
Value

Home Assistant version
2022.10.5

Integration version
V0.2.6

Sagemcom F@st model
F5359 (KPN V12)

Sagemcom F@st firmware (optional)

Describe the bug
Home assistant logger gives notification since 2022.10:
Detected integration that uses deprecated async_get_registry to access device registry, use async_get instead. Please report issue to the custom integration author for sagemcom_fast using this method at custom_components/sagemcom_fast/init.py, line 127: device_registry = await hass.helpers.device_registry.async_get_registry()
To Reproduce
Steps to reproduce the behavior:
restart HA
Expected behavior
Give a clear and concise description of what you expected to happen.
See error log, use async_get instead of async_get_registry
[bug]

Since Home Assistant Version 2023.5, I noticed that this integration doesn't load anymore.
Integration Version(s): V0.2.6 & V0.2.7
The error log is clear:
Logger: homeassistant.config_entries
Source: loader.py:1045
First occurred: 23:08:29 (1 occurrences)
Last logged: 23:08:29
Error setting up entry <IP_ADDRESS> for sagemcom_fast
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/home/homeassistant/.homeassistant/custom_components/sagemcom_fast/init.py", line 127, in async_setup_entry
device_registry = await hass.helpers.device_registry.async_get_registry()
File "/srv/homeassistant/lib/python3.10/site-packages/homeassistant/loader.py", line 1045, in getattr
value = getattr(self._module, attr)
AttributeError: module 'homeassistant.helpers.device_registry' has no attribute 'async_get_registry'

Related to:
Issue #57
Pull request #59


Event panzoom.zoomWithWheel doesnt work after setting contain

Describe the bug
After setting the option to contain (both 'inside' and 'outside'), the wheel zoom event doesn't work. It works when contain is not set.
Your environment

Version of panzoom: 4.0.4
Browser and browser version: Chrome, 80.0.3987.149

Expected behavior
The mouse wheel should control zoom in the window
Actual behavior
Zoom is locked. If the panzoom instance is destroyed, then set again, zoom works as intended. From checking the events, "scale" is set to NaN at first, then currently for subsequent instantiations. However, panzoom.getScale() always returns the correct value.
Steps to reproduce
let elPanzoom = $('#galleryMain').find('[data-indGallery=' + indGalleryFull + ']')[0];
    panzoom = new Panzoom(elPanzoom, {
        contain: 'outside'
    });
    elPanzoomContainer = elPanzoom.parentElement
    elPanzoomContainer.addEventListener('wheel', panzoom.zoomWithWheel);

Thanks for opening an issue. I just added zoomWithWheel to the contain: outside demo locally and it seemed to work fine. I think I need more detail to triage this issue because there's something different about your case that I'm not seeing. Getting NaN at all is very strange. Could you reproduce in jsbin? Here is a template I started where it seems to work for me in Firefox and Chrome 80: https://jsbin.com/bajoreyatu/1/edit?html,js,output

If other things are rendering around your parent element and causing the element to move after Panzoom has initialized, I could theoretically see a case where the dimensions are not accurate on load. In which case, you could fix it by waiting until everything has finished rendering somehow to initialize Panzoom.

Really appreciate the quick response. You were spot on with the rendering issue. The event coincided with the first time that Owl rendered. I moved that to an event and it works perfectly now.
Thanks again for the great plugin.

I was having this issue as well, and you were correct in my case too. I had a hidden tab page I was iniating panzoom on, and the solution was to not initiate panzoom until I clicked on the tab. Initiating panzoom with the tab page hidden caused this same lockup to happen when using the contain option.


improve repo content

Purpose

minor improvements

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Andrew Danelz seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[FEATURE]I hope to release a library based on the C language. C++ libraries are very unfriendly to embedded sdk environments.

Is your feature request related to a problem? Please describe

Describe the solution you'd like

Describe alternatives you've considered

Steps you didn't forgot to do

[ ] I checked if there is no related issue opened/closed.
[ ] I checked that there doesn't exist opened PR which is solving this issue.

Additional context

Hi @ueJone , i don't think there is estimation for rewriting C++ code to C. But you can use C wrapper functions to call API directly from C source code. Many embedded libraries works like that.

Thank you for your reply. I will try this method. Thank you again

Hi @ueJone , i don't think there is estimation for rewriting C++ code to C. But you can use C wrapper functions to call API directly from C source code. Many embedded libraries works like that.

The IDE I am using is MDK-Arm. I test other C wrapper functions and they worked properly, but there will be many compilation errors when I compile the ERPC library.

It seems like we need to open C++11. so I need to switch the compiler from AC5 to AC6. In this case, I will need to spend a long time adapting the project to AC6.

Are you sure you are compiling erpc_client_manager.cpp here with cpp compiler and not c compiler?

Are you sure you are compiling erpc_client_manager.cpp here with cpp compiler and not c compiler?

The compiler is ARM Compiler integrated by MDK 5.39.(As shown in the figure).I have successfully compiled demo of C++ with the same configuration, so I think it could support compiling the code of C++. And the demo of C++ will be shown below.

// robot.cpp

#include <iostream>

#include "robot.h"

void Robot::sayHi()
{
    std::cout << "Hi, I am " << name_ << "!\n";
}

// robot.h

#pragma once

#include <string>

class Robot
{
public:
    Robot(std::string name) : name_(name) {}

    void sayHi();

private:
    std::string name_;
};

// robot_c_api.cpp

#include "robot_c_api.h"
#include "robot.h"

#ifdef __cplusplus
extern "C" {
#endif

void Robot_sayHi(const char *name)
{
    Robot robot(name);
    robot.sayHi();
}

#ifdef __cplusplus
}
#endif

// robot_c_api.h

#pragma once

#ifdef __cplusplus
extern "C" {
#endif

void Robot_sayHi(const char *name);

#ifdef __cplusplus
}
#endif

Hi @ueJone
According ARM support You should be able use c11 by:
Arm Compiler 5.05, supplied with the current version of Keil MDK, supports most of the C\+\+11 compiler features.

To enable the C\+\+ language extensions, enter in the µVision IDE under Project - Options - C/C\+\+ - Misc Controls: --cpp11.

Hi @ueJone According ARM support You should be able use c11 by:
Arm Compiler 5.05, supplied with the current version of Keil MDK, supports most of the C\+\+11 compiler features.

To enable the C\+\+ language extensions, enter in the µVision IDE under Project - Options - C/C\+\+ - Misc Controls: --cpp11.

After enabling cpp11, there are no more errors mentioned above. But the original SDK code will have many conflicts related to C++. Because I have few interfaces for RPC, so I plan to implement it myself using C language.
Thanks.

Hi @amgross
I compiled erpc into a static library with the cpp switch. But the API generated by IDL files is also in C++, so I still need to open cpp to compile my code with the API. Therefore, a conflict arose.
Now I have a question: Compile the API interface files into static libraries first and can I call the API in my own code  without the cpp switch?
It seems that the conflicting are from the standard library

There will also be many grammar errors at the same time

Hi, as i mentioned before, you can generate C api. Only implementation is in c++.

Hi, as i mentioned before, you can generate C api. Only implementation is in c++.

Is that right? First, use the C++compiler to compile ERPC and  the APIs generated by generpc into static libraries, and then compile my code with the both libraries by the C compiler.

I also using pure c code with erpc library compiled in cpp.
I hope you mean to link both libraries with c linker and not compile (as you can't compile cpp code with c compiler), and yes, I think it should work.the
About the errors, the conflicts errors seems to me like you are trying to link two different standard libraries together, I suggest you to check in ARM documentation how to correctly compile link CPP and C libraries. the drv_gpio errors are weird to me, as those are compiler errors and you claim you compile the c code with your regular c compiler, so how it related to the cpp code?

@ueJone It is possible for you to export minimal project -> Publicly available sdk+init code+erpc call - without application logic. Something like minimal publicable project export so we can try to modify build to make it working?

@ueJone It is possible for you to export minimal project -> Publicly available sdk+init code+erpc call - without application logic. Something like minimal publicable project export so we can try to modify build to make it working?

project path: bsp/hc32f4a0_app/project.uvprojx
IDL file:
/*!
 * Copyright (c) 2024, Z.
 */

@output_dir("erpc_python")

program myRPC

interface Binary {
    oneway sendBinary(binary a)
}

SDK:
rt-thread-4.1.0.zip

I also using pure c code with erpc library compiled in cpp. I hope you mean to link both libraries with c linker and not compile (as you can't compile cpp code with c compiler), and yes, I think it should work.the About the errors, the conflicts errors seems to me like you are trying to link two different standard libraries together, I suggest you to check in ARM documentation how to correctly compile link CPP and C libraries. the drv_gpio errors are weird to me, as those are compiler errors and you claim you compile the c code with your regular c compiler, so how it related to the cpp code?

I compiled the erpc_c and API files separately into static libraries, then add them into my project, compiled and ran them successfully.
Thranks!
However, the api files generated by generpc must also be compiled into a library to use, which is a bit too tedious

Indeed the .h files that auto generated are the API and needed to be used also outside the erpc library.
Hence they are .h and not .hpp so it will also compile with c code and not just cpp.
If everything now working, pleas cose the issue.

I think the limitation you are facing is because you are using old compiler type and you should switch to the newer one:
https://developer.arm.com/documentation/kan298/latest/

Indeed the .h files that auto generated are the API and needed to be used also outside the erpc library. Hence they are .h and not .hpp so it will also compile with c code and not just cpp. If everything now working, pleas cose the issue.

Yes, I think so. It is best if the api file that auto generated can be used with the c compiler.
I want to wait a few days before closing this issue, beacuse  I'm looking forward to the test results of @Hadatko
Thanks!

Soryy busy week. I installed  IDE so far. Next week i should have plenty of time

I didn't have. Sorry again. Too many projects. But i think the only way would be upgrading compiler as in link above.


Observatory timeline events only include walltime, not cpu time

Chromium trace events record both walltime and cpu time, so you can tell from the trace when the processor in question was just descheduled.
I'm not exactly sure how they do that, but I don't see the same in traces with observatory.  At least for things like Dart_GetField.  (See https://github.com/dart-lang/sdk/issues/26395).
@abarth or @johnmccutchan or @chinmaygarde might know.

For example, here is a screenshot of a trace inside chrome:tracing which includes "selftime":

If someone could point me to what Chrome is using to determine 'cpu time' on Linux/Android/Mac/Windows I can wire this up quickly.

I suspect that is captured by thread_duration in the TraceEvent code.  @jamesr might know.
https://github.com/domokit/base/blob/master/trace_event/trace_event_impl.cc#L825
Which is updated via UpdateDuration:
https://github.com/domokit/base/blob/master/trace_event/trace_event_impl.cc#L682
Which is set during creation it looks like?
https://github.com/domokit/base/blob/2cf4e98a417f9694c5c39c49b12a3fa07335c4db/trace_event/trace_event_impl.cc#L1193
Presumably this timing based on "thread ticks" instead of walltime as per the ThreadTicks class in base?
Here is the Mac implementation for example:
https://code.google.com/p/chromium/codesearch#chromium/src/base/time/time_mac.cc&q=ThreadTicks&sq=package:chromium&type=cs&l=73

https://codereview.chromium.org/1960483002/

Thank you very very much!


ask user to track new node, if can't find repo id to track / clone

if the RID isn't doesn't resolve via the connected seeds/nodes, we can ask the user for a node URL and connect to it and retry

related to, but not blocking, #54


Create a data management plan for the project

Basic elements of the data flow:

literature databases, e.g. Crossref
annotations by ecologists of publications indexed in such literature databases
mapping of the annotations to invasion biology hypotheses
description of the hypotheses in terms of a suitable ontology
integration of the ontology into Wikidata
publication of hypotheses in a machine-readable fashion
exposure of the data to BASE via OAI-PMH
visualization of hypotheses via Scholia and/ or Open Knowledge Maps

A first version of the plan now exists in ARGOS. It is not public yet though.

Two more resources:

A presentation, Now that machine actionable DMPs are becoming available, what could we do with them?
A demo of how links mentioned in a data management plan could be tracked

As the DMP exists now, I am closing the issue. We have separate tickets for reviewing and publishing it:

#8
#9


Log from ECS to Splunk

This PR changes logging for ECS so that logs from both app and envoy containers move from AWS CloudWatch Logs to Splunk. Splunk is the recommended tool for storing infrastructure, application and audit logs.
Splunk has been set-up so that it logs to a new govuk_replatforming index, which will need to change as and when we move the new platform into any real environments. As we're using the Splunk Docker driver and aren't changing the logging of individual applications in this commit, we're using the tag option in the logging configuration to specify some additional metadata which will be useful for debugging, such as the image name, container name and container ID. The splunk-sourcetype option is currently being hard-coded to the value log, and the splunk-format option is being set to raw which enables us to query the values that were specified earlier with the tag option from within the Splunk interface.
Finally, the splunk-url and splunk-token options are set from values stored using AWS Secrets Manager.
Trello: https://trello.com/c/Y4aLvX2n

looks good to me, might have been good to include some docs about how to use this new functionality.

Thanks Fred. I agree we need some documentation, though I think this should be a separate card and one we do later in case we decide to make improvements in that time to the default logging we're doing in this PR.


Popup with input field's auto Focus not work as expected

Bug Report
Steps
I created a popup with the input field's autoFocus. click and open the popup with the input field.
Expected Result
At the time of popup open, it shouldn't scroll to the top of the page.
Actual Result
At the time of popup open, it will scroll to the top of the page.
Testcase
https://codesandbox.io/s/semantic-ui-example-xuich

This is an interesting edge case. Only happens due to the popup being rendered in a portal. And only happens when using autofocus. Triaging to needs engineering.

Is there any update or a work around for this issue please?

I faced the same problem.
As a workaround, I used the preventScroll option for the focus method, but an options parameter is not passed to the referenced input (PR with the fix: https://github.com/Semantic-Org/Semantic-UI-React/pull/4398).
So I created an extended Input component with an overridden focus method:
import { Input as SemanticUIInput } from 'semantic-ui-react';

export default class Input extends SemanticUIInput {
  focus = (options) => this.inputRef.current.focus(options);
}

Then I called the focus method manually in useEffect:
useEffect(() => {
  inputRef.current.focus({
    preventScroll: true
  });
}, []);

Updated testcase: https://codesandbox.io/s/semantic-ui-example-forked-fwx6pt?file=/example.js


chore(main): release 2.0.1

:robot: I have created a release beep boop
2.0.1 (2022-12-20)
Bug Fixes

added missing nestjs cli dev dependency (84cd538)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/flowcore-io/library-flowcore-microservice-ts/releases/tag/v2.0.1 :sunflower:


Opencomputer compatiblity

Hi,
will the mod become compatible to opencomputers anytime?

And computercraft would be great, too!

there is a mod that do this, is there any way to merge it?


Lexer performance

I still need to optimize the lexer code,, but overall it performs at least average.
This illustrate the lexer performance compared to Acorn and Esprima. Please note that no parsing is involved. It's around 7 mill ops/sec in difference.
Note: The Babel parser doesn't support AnnexB, so can't add it to this list
/** block comment */
Esprima x 1,904,910 ops/sec ±3.30% (90 runs sampled)
Acorn x 81,576 ops/sec ±1.22% (89 runs sampled)
Cherow x 10,344,084 ops/sec ±2.24% (86 runs sampled)
Fastest is Cherow

// single line
Esprima x 2,128,028 ops/sec ±0.27% (86 runs sampled)
Acorn x 82,956 ops/sec ±0.16% (86 runs sampled)
Cherow x 10,388,407 ops/sec ±1.90% (87 runs sampled)
Fastest is Cherow

<!--HTML comment-->
Esprima x 2,099,390 ops/sec ±0.26% (90 runs sampled)
Acorn x 80,294 ops/sec ±1.12% (91 runs sampled)
Cherow x 10,189,047 ops/sec ±1.92% (86 runs sampled)
Fastest is Cherow

Whitespace
Esprima x 2,172,316 ops/sec ±0.63% (88 runs sampled)
Acorn x 74,751 ops/sec ±2.41% (83 runs sampled)
Cherow x 9,790,422 ops/sec ±1.08% (83 runs sampled)
Fastest is Cherow

<!--foo-->
// single line
/** hello */

Esprima x 1,173,987 ops/sec ±2.34% (86 runs sampled)
Acorn x 72,066 ops/sec ±0.81% (85 runs sampled)
Cherow x 9,813,686 ops/sec ±0.88% (88 runs sampled)
Fastest is Cherow

@fkleuver I may think it's possible to perform around 15 mill ops/sec for WS and comments. Is it worth it?

No point to have this open? Closing.


Remove deprecated text re Loom on home page

"Currently, you will need to create a (free) account on loom.com to view them, but we will shortly be moving them onto YouTube." is no longer needed by the look of it.

Done


Warn users if Weave GitOps is already installed

Problem
Using gitops create dashboard is a great way to get started with Weave GitOps when Flux is already installed. When I forgot that my cluster already had weave gitops installed, I ended up with the install command hanging (before jumping into flux/kubectl). This is the same for the Enterprise dashboard.
Solution

Respond to the user that a deployment of weave gitops is already present in the target namespace, perhaps by detecting app.kubernetes.io/name=weave-gitops/

[ ] detect an running OSS dashboard
[ ] detect a running Enterprise dashboard

Additional context

I think we should rather fix the root issue here which is the install hanging. The reason for this happening is this:
$ flux -n wego get hr
NAME    REVISION        SUSPENDED       READY   MESSAGE
wego    4.0.9           False           True    Release reconciliation succeeded
wombat                  False           False   install retries exhausted
$ k -n wego get hr wombat -o jsonpath='{.status.conditions[?(@.type=="Released")].message}'
Helm install failed: rendered manifests contain a resource that already exists. Unable to continue with install: NetworkPolicy "allow-dashboard-ingress" in namespace "wego" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "wombat": current value is "wego"

The chart's NetworkPolicy has a hard-coded name.

Here's a list of the resources that inhibit installing the Weave GitOps Dashboard twice on the same cluster and/or in the same Namespace. This list can be subdivided into given collisions where the name is hard-coded in the manifest template and potential collisions where the name is at least partly derived from chart values:
Given Collisions

Name
Kind
Scope

cluster-user-auth
Secret
Namespace

wego-admin-cluster-role
ClusterRole
cluster

wego-admin-role
Role
Namespace

{{ .Values.adminUser.username }}-user-read-resources
RoleBinding
Namespace

{{ .Values.adminUser.username }}-user-read-resources-cr
ClusterRoleBinding
cluster

allow-dashboard-ingress
NetworkPolicy
Namespace

allow-dashboard-egress
NetworkPolicy
Namespace

oidc-auth
Secret
Namespace

{{ include "chart.serviceAccountName" . }}
ServiceAccount
Namespace

Potential Collisions

Name
Kind
Scope

{{ .Values.adminUser.username }}-user-read-resources
RoleBinding
Namespace

{{ .Values.adminUser.username }}-user-read-resources-cr
ClusterRoleBinding
cluster

{{ include "chart.serviceAccountName" . }}
ServiceAccount
Namespace

cc @MostafaMegahid PTAL


Add Strawberry GraphQL integration

Capture GraphQL errors and spans when using Strawberry server side.
This is a port of the existing Sentry tracing extension in Strawberry with added error monitoring.
The integration has an option called async_execution which controls whether to hook into Strawberry sync or async. If not provided, we try to guess based on whether an async web framework is installed.
Example event in Sentry: https://sentry-sdks.sentry.io/issues/4507792283/events/c517f630fef54a378affa9602ccf3ff8/
Strawberry is one of three integrations for https://github.com/getsentry/sentry-python/issues/2257, split from https://github.com/getsentry/sentry-python/pull/2381.

Hey @patrick91, here's a shot at porting the 🍓 Sentry tracing extension to the Sentry SDK and adding error monitoring. Any feedback is welcome!
Some notes:

The integration, if enabled, will automatically remove the existing Strawberry Sentry tracing extension, if present, to avoid conflicts.
The error monitoring will only work if folks don't overwrite the default process_result. This is not optimal but it was the most straightforward place to hook into.
I've made some changes to the tracing extension, mostly renaming things (e.g. span ops) to comply with our and/or OTel conventions. Also changed all span.set_tags to span.set_data since the SDK ideally shouldn't be setting span tags.

we spoke on discord about this, I'm very excited to see this landing! From our side we'll add some code to make it easier to hook into the process result code (so users can still override it)
I'll also make sure to have an integration test on our side once this lands, so we don't break the integration in future ☺

Made the PR here: https://github.com/strawberry-graphql/strawberry/pull/3127 @sentrivana let me know if that looks ok to you!

Thanks @patrick91 for being awesome and helping us integrate with Strawberry better! This PR now utilizes a new hook released with Strawberry 0.209.5.

Hope I've addressed everything @szokeasaurusrex -- please have another look when you have time.


Unable to get UIN/VID using AID

Describe the bug
Unable to get UIN/VID using AID
To Reproduce

Unlock the app
click on ADD ID button in home page
click on "Don't have your UIN/VID? Get it here " link.
Enter AID
click on Get UIN/VID button

Current behavior
User still remains in AID screen without moving navigating to Otp screen
Expected behavior
When user clicks on Get UIN/VID button by entering AID number should prompt to enter Otp, After successful Otp match UIN should be auto filled.
Screenshots
https://user-images.githubusercontent.com/79500509/198562746-0e6b9e6c-2cf2-40bd-81cc-37c1d5c17c0f.MP4
Smartphone (please complete the following information):

Device: iPhone XR
OS: 15.4.1
Inji app version: iOS 0.4.0 (16)-> In Test flight
MOSIP Version: 1.2.1
MOSIP server: qa-121.mosip.net

This issue was happening because IOS does not support multiple modal loading one over another. This has been fixed.
https://user-images.githubusercontent.com/109274996/227442886-fd5edf92-53a9-4c4f-ae6d-b90db3e0eaaa.mov

Verified this issue in the new build, and the issue is not observed, we are able to download VC from AID, hence closing this bug
Screenshot :
https://user-images.githubusercontent.com/102220709/228142182-5c1c49bd-c889-48c0-8f8f-b227c174cf94.mp4
Tested on :
Phone make/model: Google Pixel 6
OS: Android 13
BLE version : 5.2
MOSIP Version : <IP_ADDRESS>
MOSIP server : qa-1201-b2.net
APP link : https://github.com/mosip/inji/actions/runs/4511525622


Fixed non int values in function _boolean_icon

The field_val is now working as expected because not always is an int ('0' value instead of 0).

This is an internal API that shouldn't be used outside of Django, and as far as I'm concerned it works properly in Django.


[AutoPR sql/resource-manager] [DO NOT MERGE] VA List Api version edit

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4257

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/2138


Resetting animations

When I use an animation theres times the animation gets locked and wont change back to another thing (on active potion effect tick do "float" animation, when the effect wears off the animation will stay) Is there anyway to reset the animations back to normal?

that's just client-side desync with potion effects

that's just client-side desync with potion effects

Is there anyway to make it work with ontick things though?


Can't install my fresh build SPK on DSM7

Description
Hi, I maybe miss something, I'm able to build the SPK for DSM7/AppoloLake  (for a  DS918+ ).
I build it from docker on my laptop because i got error with docker from the NAS itself.
But then how to install it? I choose it from the "manual" install in package center but the file is "corrupt".
What the tips for DSM7 to install selfsigned/build package?
Steps to reproduce
Build the SPK, choose it as "manual install" in package center.
Error saying file in corrupted.
Expected behavior
I can install the SPK
Synology NAS model
DS918+

additional step is required for the WireGuard package to start. This is related to preventing packages not signed by Synology from running with root privileges. When installing the package, uncheck the run after installation option. After installing the package, connect to the NAS via SSH and run the sudo /var/packages/WireGuard/scripts/start command.

Description
Hi, I maybe miss something, I'm able to build the SPK for DSM7/AppoloLake (for a DS918+ ).
I build it from docker on my laptop because i got error with docker from the NAS itself.
But then how to install it? I choose it from the "manual" install in package center but the file is "corrupt".
What the tips for DSM7 to install selfsigned/build package?
Steps to reproduce
Build the SPK, choose it as "manual install" in package center.
Error saying file in corrupted.
Expected behavior
I can install the SPK
Synology NAS model
DS918+

additional step is required for the WireGuard package to start. This is related to preventing packages not signed by Synology from running with root privileges. When installing the package, uncheck the run after installation option. After installing the package, connect to the NAS via SSH and run the sudo /var/packages/WireGuard/scripts/start command.

Hi :) In fact, I can't I install the package at all for the moment. I understand that you describe the next step.

Try to install WireGuard from CLI:
sudo synopkg install WireGuard-<arch>-<version>.spk
sudo /var/packages/WireGuard/scripts/start

Of course, replace <arch> and <version> with the correct values.

Same issue here. I tried via CLI with:
sudo synopkg install WireGuard-geminilake-1.0.20201221.spk
and got the following error:
{"error":{"code":0},"results":[{"action":"install","beta":false,"betaIncoming":false,"error":{"code":261,"description":"invalid package info content"},"installReboot":false,"installing":true,"language":"enu","last_stage":"prepare_install","package":"WireGuard","packageName":"WireGuard","spk":"WireGuard-geminilake-1.0.20201221.spk","stage":"install_failed","success":false,"username":""}],"success":false}

@superslimjimmy Can you share your .spk file?

Hi guys,
From my side I got this:
nas#  /usr/syno/bin/synopkg install ~cyrinux/WireGuard-apollolake-1.0.20210606.spk
{"error":{"code":0},"results":[{"action":"install","beta":false,"betaIncoming":false,"error":{"code":261,"description":"package does not have preupgrade / postupgrade script"},"installReboot":false,"installing":true,"language":"enu","last_stage":"prepare_install","package":"WireGuard","packageName":"WireGuard","spk":"/var/services/homes/cyrinux/WireGuard-apollolake-1.0.20210606.spk","stage":"install_failed","success":false,"username":""}],"success":false}

I'm seeing a similar issue:
$ sudo synopkg install WireGuard-geminilake-1.0.20201221.spk

{"error":{"code":0},"results":[{"action":"install","beta":false,"betaIncoming":false,"error":{"code":261,"description":"invalid package info content"},"installReboot":false,"installing":true,"language":"enu","last_stage":"prepare_install","package":"WireGuard","packageName":"WireGuard","spk":"WireGuard-geminilake-1.0.20201221.spk","stage":"install_failed","success":false,"username":""}],"success":false}

I'm trying to use the applicable SPK from the latest stable release: https://github.com/runfalk/synology-wireguard/releases/download/1.0.20201221/WireGuard-geminilake-1.0.20201221.spk

Hey guys, same here:
1st:

sudo synopkg install WireGuard-avoton-1.0.20210606.spk
{"error":{"code":0},"results":[{"action":"install","beta":false,"betaIncoming":false,"error":{"code":0},"finished":true,"installReboot":false,"installing":true,"language":"enu","last_stage":"postreplace","package":"WireGuard","packageName":"WireGuard","pid":23610,"spk":"WireGuard-avoton-1.0.20210606.spk","stage":"installed_and_stopped","status":"stop","success":true,"username":""}],"success":true}

Error Code 0
2nd:

sudo synopkg install WireGuard-avoton-1.0.20210606.spk
{"error":{"code":0},"results":[{"action":"install","beta":false,"betaIncoming":false,"error":{"code":261,"description":"package does not have preupgrade / postupgrade script"},"installReboot":false,"installing":true,"language":"enu","last_stage":"prepare_install","package":"WireGuard","packageName":"WireGuard","spk":"WireGuard-avoton-1.0.20210606.spk","stage":"install_failed","success":false,"username":""}],"success":false}

Error Code 261
System: DS1817+ avoton, DSM 7.0 sp
WireGuard-avoton-1.0.20210606.spk.zip
k:

Hi guys,
From my side I got this:
nas#  /usr/syno/bin/synopkg install ~cyrinux/WireGuard-apollolake-1.0.20210606.spk
{"error":{"code":0},"results":[{"action":"install","beta":false,"betaIncoming":false,"error":{"code":261,"description":"package does not have preupgrade / postupgrade script"},"installReboot":false,"installing":true,"language":"enu","last_stage":"prepare_install","package":"WireGuard","packageName":"WireGuard","spk":"/var/services/homes/cyrinux/WireGuard-apollolake-1.0.20210606.spk","stage":"install_failed","success":false,"username":""}],"success":false}

Seems that you have the same error as i;
Check if old versions of Wireguard.spk are gone:
sudo synopkg list --name | grep WireGuard
if so; remove it
sudo synopkg uninstall WireGuard
rerun
sudo synopkg install WireGuard.spk

@ben-ba this fix for me, was well the old package not well uninstall/still present but not display. Thanks a lot :)


Error in welcome view in the latest Insiders

The "choose your theme" tab seems not to work, and I saw this notification when opening a new window where it would be displayed:

https://github.com/microsoft/vscode/issues/228063


Version 1.1.1 unavailable on pypi

Hi there, it seems like the latest version (1.1.1) is not installable through pip. The version is on pypi, but I have an inkling that there is no packaged file or something. See:
(rpc37)  bono@bono-desktop  ~/dev/git_repos/python-byte-rpc   python3_compatibility  python --version
Python 3.7.9
(rpc37)  bono@bono-desktop  ~/dev/git_repos/python-byte-rpc   python3_compatibility  pip install --no-cache-dir mockfs
Collecting mockfs
  Downloading mockfs-1.0.2.tar.gz (11 kB)
Building wheels for collected packages: mockfs
  Building wheel for mockfs (setup.py) ... done
  Created wheel for mockfs: filename=mockfs-1.0.2-py3-none-any.whl size=13518 sha256=0a8304627fbe4ee4b08a65ee7931927c2482e20a17f2e4d918b3d9884f330b09
  Stored in directory: /tmp/pip-ephem-wheel-cache-veqhhia3/wheels/6b/bf/21/a197714817d7b647c2c432f3944939b6fa97cc6b9e95dac7f0
Successfully built mockfs
Installing collected packages: mockfs
Successfully installed mockfs-1.0.2
(rpc37)  bono@bono-desktop  ~/dev/git_repos/python-byte-rpc   python3_compatibility  pip install --no-cache-dir mockfs==1.1.1
ERROR: Could not find a version that satisfies the requirement mockfs==1.1.1 (from versions: 1.1.1.linux-x86_64, 0.1, 0.2, 1.0.1, 1.0.2)
ERROR: No matching distribution found for mockfs==1.1.1

Thanks for the heads-up. 1.1.1 and the newly tagged 1.1.2 are both available now.
For some reason the previous sdist was marked as 1.1.1.linux-x86_64 which prevented it from being considered since that's an OS-specific sdist.

Cool, thanks!


Update dependencies for 0.4.0

Codecov Report

Merging #40 (416b6aa) into main (32c1fdd) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #40   +/-   ##
=======================================
  Coverage   98.41%   98.41%
=======================================
  Files          15       15
  Lines         506      506
=======================================
  Hits          498      498
  Misses          8        8

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 32c1fdd...416b6aa. Read the comment docs.


docker-compose file

Please upload a stack with everything deployed

No need of that, make a PR if you wish.


How to use this in angular2 meteor?

I don't use angular, but if you will post your code here, I'll help you.
Or you may ask at our Gitter

Thanks for your response. I have changed the client code for angular2. Now its working fine for me.
Is there any option to modify the collection as per our need. For example i need the below format,
{ source : csv, metadata: { --all other fields goes here-- }

Read this article: https://github.com/VeliovGroup/Meteor-Files/wiki/Schema
And this issue: https://github.com/VeliovGroup/Meteor-Files/issues/77

Thanks. Let me try this

As per the document i have added schema and attached to default schema. But while uploading file its showing some error

A code example would help a lot. All I can say is that I've successfully added SimpleSchema in a similar case. This is a SimpleSchema exception anyway and may not belong to this lib.

Thanks @menelike for the help. Actually i have forgotten to extend the default schema.That was the issue. Now its working fine.


Extend boardinfo with Compute 5

https://www.youtube.com/watch?v=X4blR5Ua3S0
Need to find board code(s)...

I have signed up for the waiting list of one of the official suppliers in Poland. As soon as it is available, I will gladly test and verify.


Reactive Filters utilizing a Google Map through Smart Map

Question
I can filter my results but the Google map gets stuck on "Loading map..." after selecting my filters. How can I have my Google Map using the Smart Map plugin update as well?
Additional context

You'll have to refresh the map, see https://github.com/putyourlightson/craft-sprig/issues/78.


Track scrollreveal version

:ambulance: until https://github.com/jlmakes/scrollreveal.js/issues/206

The package name changed too.

Already merged another repository with the same code


abstracting model downloads and file-normalization to models dir

Changes:

/models

models should be downloaded from one place, the Makefile in the /models directory
models directory should house all models instead of the various model_server directories
No longer requires Containerfile in the models dir as models will get mounted into the model_server image instead of building a separate image for the model

--> this is already how we did things but cleaning the lingering Containerfile

the active model being used will be renamed to model.file to make model mounting consistent

/model_servers

downloads changed to trigger-download-model-<model-name> make targets which will call the download make targets in the /models directory

-->  introduces a single source of truth for models and importing them to the repo

make run should run the models from the /models directory
make test should curry the test-runner and a clean make target to remove the temporary model.file in the /model_server directory as this goes against the thesis of this PR

/.github/workflows

github workflows should call Makefiles for 2 reasons:

--> increase testing coverage
--> test how we expect users to interact with the repo

Potential future changes:

investigate if I can mount the model in question to the model.file in the /models directory AND the various model_server directories (for make test) as a symlink in the container to prevent the need for another copy of the model
update /.github/workflows/ with env values to overwrite / specify images
ghcr.io to quay.io migration

Its RFR @rhatdan @sallyom @lmilbaum

Changes since last review:

reworked model_servers to use a common Makefile
remove mode.file normalization / obfuscation in favor of actual model name
add logging

Just going to make sure the readmes line up with these changes, conflicts are resolved and tests passes and then I will tag people for re-review

We want to keep the model-servers separate from models - we'll either volume mount a model as an init container from a containerized model, as the quadlet pod yamls are doing now, or from a host-filesystem volume mount as podman-desktop AI Lab does with the sample applications - this is to keep everything as pluggable as possible at both build time and runtime.
We made the change to use the generic model.file instead of the actual model name for the same reason, to be more flexible & pluggable - with the host filesystem mount, this makes a bit less sense but the source of truth is the Containerfile in this case, where you clearly document where & which model is being downloaded. (With containerized models, you can also show this with image metadata). These are also sample recipes and it's assumed that they won't be lifted exactly as/is into production, but the purpose is to provide a clear example of how to set up different AI applications to build on.

holding this to focus on the funcitonal tests


Ethereum transaction, packet struct

Packet {
	/// Packet data
	data: Vec<u8>,
	/// Packet protocol ID
	protocol: [u8; 3],
	/// Zero based packet ID
	packet_id: u8,
}

pub struct Transaction {
    /// Nonce.
    pub nonce: U256,
    /// Gas price.
    pub gas_price: U256,
    /// Gas paid up front for transaction execution.
    pub gas: U256,
    /// Action, can be either call or contract create.
    pub action: Action,
    /// Transfered value.
    pub value: U256,
    /// Transaction data.
    pub data: Bytes,
}


Off by one error in position-to-offset conversion

https://github.com/scalameta/language-server/blob/87452e193986b784d7e0bad1fc2387997fa42e92/metaserver/src/main/scala/scala/meta/languageserver/Positions.scala#L13

Happens on the last newline in the file consistently. You can see that the position 12:0 in the log is correct, so I think it's just an off-by-one error in this conversion.
P.S. It's not related to #116 and all related changes, it existed before.

Nice catch! I think we can remove all of the offset conversion implementations in favor of the existing implementation in scala.meta https://github.com/scalameta/scalameta/blob/11a66cb6476d62783bcad27845a2db2a9a5a0128/langmeta/langmeta/shared/src/main/scala/org/langmeta/internal/inputs/InternalInput.scala#L27-L36
I don't know why those methods are package private, they really should be public. I opened https://github.com/scalameta/scalameta/issues/1196 to track this

I don't know why those methods are package private

No particular reason other than the desire to limit public APIs. Now that there is a good usecase for those methods, I don't mind making them public.

@laughedelic I am unable to reproduce the error after https://github.com/scalameta/language-server/pull/116/commits/bf31517531126fde18d6515006656a16ac8bcf9a Can you confirm?

@olafurpg now with exactly same reproduction scenario I get
01:27:55.460 ERROR l.c.LanguageServer$$anon$1 - assertion failed: file:///Users/laughedelic/dev/laughedelic/language-server/test-workspace/src/test/scala/example/UserTest.scala: 259 >= 259
java.lang.AssertionError: assertion failed: file:///Users/laughedelic/dev/laughedelic/language-server/test-workspace/src/test/scala/example/UserTest.scala: 259 >= 259
	at scala.reflect.internal.util.SourceFile.position(SourceFile.scala:26)
	at scala.tools.nsc.CompilationUnits$CompilationUnit.position(CompilationUnits.scala:111)
	at scala.meta.languageserver.providers.HoverProvider$.hover(HoverProvider.scala:22)
	at scala.meta.languageserver.ScalametaLanguageServer.$anonfun$hover$1(ScalametaLanguageServer.scala:256)
	at monix.eval.internal.TaskRunLoop$.monix$eval$internal$TaskRunLoop$$loop$1(TaskRunLoop.scala:187)
	at monix.eval.internal.TaskRunLoop$RestartCallback$1.onSuccess(TaskRunLoop.scala:119)
	at monix.eval.Task$.$anonfun$forkedUnit$2(Task.scala:1463)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

That looks very much like an off-by-one 😄
I am unable to reproduce that in vscode, but it seems vscode doesn't send a request when I hover at the end of the file. I tried installing ide-scala but the server doesn't start, will try again another time.

it seems vscode doesn't send a request when I hover at the end of the file

It can be editor specific, but I think it's not a generally wrong behaviour, so in any case we should handle any valid positions in the request.

I tried installing ide-scala but the server doesn't start, will try again another time.

If you just installed a version from the store, it's outdated, sorry 😅 I will publish a new one shortly (I was waiting for the right moment to bundle it with a relatively stable version of the server, but it doesn't really matter)

I was able to reproduce the error in atom @laughedelic
14:34:56.529 ERROR l.c.LanguageServer$$anon$1 - assertion failed: file:///Users/ollie/dev/language-server/test-workspace/src/test/scala/example/UserTest.scala: 260 >= 260
java.lang.AssertionError: assertion failed: file:///Users/ollie/dev/language-server/test-workspace/src/test/scala/example/UserTest.scala: 260 >= 260
	at scala.reflect.internal.util.SourceFile.position(SourceFile.scala:26)
	at scala.tools.nsc.CompilationUnits$CompilationUnit.position(CompilationUnits.scala:111)
	at scala.meta.languageserver.providers.HoverProvider$.hover(HoverProvider.scala:22)
	at scala.meta.languageserver.ScalametaLanguageServer.$anonfun$hover$1(ScalametaLanguageServer.scala:272)
	at monix.eval.internal.TaskRunLoop$.monix$eval$internal$TaskRunLoop$$loop$1(TaskRunLoop.scala:187)
	at monix.eval.internal.TaskRunLoop$RestartCallback$1.onSuccess(TaskRunLoop.scala:119)
	at monix.eval.Task$.$anonfun$forkedUnit$2(Task.scala:1463)

There indeed still seems to be an off-by-one error.

@olafurpg @laughedelic is this still open?

This issue seems to be obsolete. At least the following test passes.
--- a/metals/src/test/scala/tests/search/SymbolIndexTest.scala
+++ b/metals/src/test/scala/tests/search/SymbolIndexTest.scala
@@ -269,6 +269,11 @@ object SymbolIndexTest extends MegaSuite with LazyLogging {
         "_root_.a.User#"
       )
     }
+
+    "last-line" - {
+      assert(index.findSymbol(path.UserTestUri, 12, 0).isEmpty)
+    }
+
   }

Thank you @melekhove for reproducing. Additionally, we have added a new scala.meta.Position.Range constructor for line/column that handles oversized column numbers by narrowing them to the maximum column width of that line
input: inputs.Input.String = String("")

@ val pos = Position.Range(input, 0, 0, 0, 12) // end column == 12
pos: inputs.Position.Range = Range(String(""), 0, 0)


Cannot update RuboCop submodule - "reference is not a tree"

I'm not too familiar with Git submodules, but when I run the command given in the README it fails with:
$ git submodule update --init --depth 1 vendor/rubocop
Submodule 'vendor/rubocop' (https://github.com/bbatsov/rubocop.git) registered for path 'vendor/rubocop'
Cloning into 'vendor/rubocop'...
remote: Counting objects: 830, done.
remote: Compressing objects: 100% (761/761), done.
remote: Total 830 (delta 172), reused 142 (delta 63), pack-reused 0
Receiving objects: 100% (830/830), 1.36 MiB | 366.00 KiB/s, done.
Resolving deltas: 100% (172/172), done.
Checking connectivity... done.
fatal: reference is not a tree: 1473da4b0c81e34548e452d4d3427623bdac16de
Unable to checkout '1473da4b0c81e34548e452d4d3427623bdac16de' in submodule path 'vendor/rubocop'

Ping @nevir, @nijikon – any luck reproducing this issue? Trying to figure out if it's something specific to my setup.


Fixes to issues

This should fix issues #84 #76

@eroom1966 Looks like there is a conflict. Could you rebase the patch.

Can we close issues #76 and #84 then? I'm not sure what the issue closing
process is, but there are a lot of open issues that problem need closing.
On Thu, Feb 13, 2020 at 9:16 AM eroom<EMAIL_ADDRESS>wrote:

Closed #87 https://github.com/riscv/riscv-compliance/pull/87.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-compliance/pull/87?email_source=notifications&email_token=AHPXVJXCBJKTCW25F44JLIDRCV57LA5CNFSM4KUW5CQ2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWTZGLRA#event-3035784644,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJSUH5LMZV36I4LEOULRCV57LANCNFSM4KUW5CQQ
.

Allen - we had an issue sorting this simple pull request - - and we are working on resolving the issues and closing them etc - we will merge a pull request shortly. Simon


Specify versions of all the dependncies used in the CI

It might be a good idea to fully specify the versions of the dependencies we use in our CI.
for eg :
octopus<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>\
<EMAIL_ADDRESS><EMAIL_ADDRESS>\
<EMAIL_ADDRESS>\
<EMAIL_ADDRESS>

It shows users which verions of which depency is tested and expected to work,
We can mimic the versions of dependencies from easybuild toolchains for comparision.
Latest versions of some package might not be caches in the spack mirrors ( like libxc6 for eg ) and when their sources disappear (due to website outage for eg ) we will still be able to use the spack mirror ( for eg<EMAIL_ADDRESS>is cached )

Not sure. The link to easybuild toolchains is an MPSD-Octopus-team specific view.
The purpose of this repo is to provide Octopus through spack for everybody. For everybody, we should see if the compilation works with the versions that spack considers best at the time.


Forgot Password, Use Invitation Code, and Create Account links don't work

The Forgot Password, Use Invitation Code, and Create Account links on the login page don't work. Also, the login button might also not be working, but I'm able to use "Return" on the keyboard to login.

fyi, looks like this is a result of the storyboard not being connected to the view controller. have to fix it for each button it seems...
https://github.com/wl-net/arcusios/commit/cb9f29b2612b4b485c34563132f92fd5209f89bc

Fix available in https://github.com/arcus-smart-home/arcusios/pull/8

Closing, this was fixed in my now merged pull request.


Document the process for uploading Maven package to repository/

This can be added to the wiki for the repo.

@shalabhms I think it would be good to have actions ci as well.

@youngbupark  This issue sees to be related to the CD work.

@shalabhms can help out here


feat: support new PyIceberg IO properties and custom IOConfig in write_iceberg

In addition to the new features, I restructured our _convert_iceberg_file_io_properties_to_io_config in two ways:

we no longer import the property keys from PyIceberg. this is because many of the keys only exist depending on the PyIceberg version being used, so we would need to add a multitude of version checks to cover all the possible keys.
we now directly construct the configs using a new get_first_property_value function, instead creating a dictionary to pass into the constructors. This allows us to better take advantage of the type system and enables type checkers to catch potential issues

Resolves #3627


Task 8: Remove files and modified CMakeFiles

A PR regarding https://github.com/ros-controls/roscon2022_workshop/issues/16

manually merged.


+$#NEW~SEX@VIDEOS]** Jenna Ortega Lea𝚔ed Video Viral American Top TikTok Star Video On Social Media Twitter-X

Description
34 seconds ago
L𝚎aked Video Jenna Ortega Original Video Viral Video L𝚎aked on X Twitter Telegram
𝖶𝖺𝗍𝖼𝗁 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄) 𝖶𝖺𝗍𝖼𝗁
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺 𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
Who Is Jenna Ortega? Pakistani TikTok Star Deactivates Social Media Accounts After Private Video Leaks Online
Pakistani TikToker Jenna Ortega is currently facing intense trolling after her explicit videos went viral on social media. Reacting to the controversy, Jenna Ortega has deactivated her social media account.
The TikToker became the new victim of privacy breach after her explicit videos went viral, being shared widely on WhatsApp. After the controversy, Jenna Ortega has become a scapegoat for social media trolling and hate messages. Meanwhile, in interviews to local channels, Rehman has said that she was born on 7 October 2002 in Lahore.
After facing immense trolling, the social media influencer deactivated her Instagram and TikTok accounts, according to a report by Economic Times. Jenna Ortega has fallen prey to privacy breaches, and there is no information on whether she has taken any legal action in the matter. The incident raises questions about the privacy of influencers as, a few days ago, Pakistani TikToker Jenna Ortega received immense hate on social media after her explicit videos went viral online.
Jenna Ortega viral video: Why Pakistani TikToker has deactivated her account? What’s there in the ‘explicit’ clip?
Pakistani TikToker Jenna Ortega has met a similar fate to that of social media influencer Jenna Ortega. The Instagrammer is facing intense trolling after her explicit videos went viral on social media. Reacting to the controversy, Jenna Ortega has deactivated her social media account.
The young TikToker has become the new victim of privacy breach after her explicit videos have gone viral on social media and have been shared widely on WhatsApp. After the controversy, she has become a scapegoat for social media trolling and hate messages.
After facing immense trolling, the social media influencer deactivated her Instagram and TikTok accounts, reported Economic Times. Jenna Ortega has fallen prey to privacy breaches, and there is no information on whether she has taken any legal action in the matter. The incident raises serious questions about the privacy of social media influencers, as a few days ago, Pakistani TikTok Jenna Ortega received immense hate on social media after her explicit videos went viral online.
(￢︿Short-Clip￢☆) Real Jenna Ortega Video Link Original Short Clip Jenna Ortega Viral Video X Telegram Link
Original-Imsha-Rehman-Video-Link-Original-Short-Clip-Imsha-Rehman-Viral-Video-X-Telegram-Link
Pakistani-Tiktoker-Real-Imsha-Rehman-Video-Link-Original-Short-Clip-Imsha-Rehman-Viral-Video-X-Telegram-Link
[-wATCH-]— Jenna Ortega And Kate Middleton ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Pakistani Tiktok Jenna Ortega Video Original Video Link Pakistani Tiktok Jenna Ortega Video Viral On Social Media X Trending Now
...
....
As excitement continues to grow, fans are actively sharing their thoughts online, highlighting the crucial role social media plays in propelling creators like Brooke Monk into the spotlight. With her unique style and creative approach, she has made a significant impact on the digital scene, leaving fans excited for what’s to come next. The viral success of her video further underscores the power of social media in boosting visibility and fostering stronger connections between creators and their audiences.
.
.
.
𝖠𝗌 𝗍𝗁𝖾 𝗌𝗂𝗍𝗎𝖺𝗍𝗂𝗈𝗇 𝗎𝗇𝖿𝗈𝗅𝖽𝗌, 𝗍𝗁𝖾 𝗍𝗋𝗎𝗍𝗁 𝗋𝖾𝗆𝖺𝗂𝗇𝗌 𝗌𝗁𝗋𝗈𝗎𝖽𝖾𝖽 𝗂𝗇 𝗆𝗒𝗌𝗍𝖾𝗋𝗒, 𝗅𝖾𝖺𝗏𝗂𝗇𝗀 𝗍𝗁𝖾 𝗉𝗎𝖻𝗅𝗂𝖼 𝗍𝗈 𝗉𝗈𝗇𝖽𝖾𝗋 𝗍𝗁𝖾 𝖺𝗎𝗍𝗁𝖾𝗇𝗍𝗂𝖼𝗂𝗍𝗒 𝗈𝖿 𝗍𝗁𝖾 𝗋𝗎𝗆𝗈𝗋𝗌. 𝖨𝗇 𝖺 𝗐𝗈𝗋𝗅𝖽 𝗐𝗁𝖾𝗋𝖾 𝖿𝖺𝗆𝖾 𝖺𝗇𝖽 𝗂𝗇𝖿𝖺𝗆𝗒 𝖺𝗋𝖾 𝗍𝗐𝗈 𝗌𝗂𝖽𝖾𝗌 𝗈𝖿 𝗍𝗁𝖾 𝗌𝖺𝗆𝖾 𝖼𝗈𝗂𝗇, 𝗍𝗁𝖾 𝗌𝖺𝗀𝖺 𝗈𝖿 𝖨𝗌𝗁𝗈𝗐𝗌𝗉𝖾𝖾𝖽𝗂𝗌 𝖺 𝗍𝖾𝗌𝗍𝖺𝗆𝖾𝗇𝗍 𝗍𝗈 𝗍𝗁𝖾 𝗉𝗈𝗐𝖾𝗋 𝗈𝖿 𝗌𝗈𝖼𝗂𝖺𝗅 𝗆𝖾𝖽𝗂𝖺 𝗍𝗈 𝗌𝗁𝖺𝗉𝖾 𝗇𝖺𝗋𝗋𝖺𝗍𝗂𝗏𝖾𝗌 𝖺𝗇𝖽 𝖼𝗁𝖺𝗅𝗅𝖾𝗇𝗀𝖾 𝗍𝗁𝖾 𝖻𝗈𝗎𝗇𝖽𝖺𝗋𝗂𝖾𝗌 𝗈𝖿 𝗉𝗋𝗂𝗏𝖺𝖼𝗒 𝖺𝗇𝖽 𝖼𝗈𝗇𝗌𝖾𝗇𝗍.
............
.
 Please provide either:

If your bug is UI related: a Snack https://snack.expo.dev
If your bug is build/upgrade related: a project using our Reproducer
Template
https://github.com/react-native-community/reproducer-react-native/generate
Otherwise send us a Pull Request with the RNTesterPlayground.js
https://github.com/facebook/react-native/blob/main/packages/rn-tester/js/examples/Playground/RNTesterPlayground.js
edited to reproduce your bug.

—
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/47824#issuecomment-2490026142,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BIFOB4HTU2WRAYPJBFL3GBD2BVMUFAVCNFSM6AAAAABSGBG2Z6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJQGAZDMMJUGI
.


Print paths to response files in message

It would be really nice if this message were parameterized instead of always saying MSBuild.rsp. It should print the (possibly multiple) response files considered.
Some command line switches were read from the auto-response file "MSBuild.rsp". To disable this file, use the "/noautoresponse" switch.

It would also be nice if it logged this statement rather than write it to the console for debugging.
I attempted to implement it but the message is written to the console before any loggers exist..


Dependent records are not recovered with the parent one

I've created two ActiveRecord's models - Project and Task. Each of them uses ActsAsParanoid with the datetime deleted_at column.
class Project < ApplicationRecord
  acts_as_paranoid

  has_many :tasks, dependent: :destroy
end

class Task < ApplicationRecord
  acts_as_paranoid

  belongs_to :project
end

I've created one project and one dependent task:
2.7.2 :018 > Project.count
   (0.5ms)  SELECT COUNT(*) FROM "projects" WHERE "projects"."deleted_at" IS NULL
 => 1
2.7.2 :019 > Task.count
   (0.5ms)  SELECT COUNT(*) FROM "tasks" WHERE "tasks"."deleted_at" IS NULL
 => 1

When I destroy created project, task is being correctly soft-deleted. Unfortunately, it is not recovered with its project, even if it matches the default two-minute recover window:
2.7.2 :020 > Project.last.destroy
  Project Load (0.5ms)  SELECT "projects".*   FROM "projects" ORDER BY "projects"."id" DESC LIMIT $1  [["LIMIT", 1]]
  TRANSACTION (0.4ms)  BEGIN
  Task Load (0.5ms)  SELECT "tasks".* FROM "tasks" WHERE "tasks"."deleted_at" IS NOT NULL AND "tasks"."project_id" = $1 AND (tasks.deleted_at > '2021-04-24 01:21:49.857942') AND (tasks.deleted_at < '2021-04-24 01:25:49.857942')  [["project_id", 2]]
  Project Load (0.4ms)  SELECT "projects".* FROM "projects" WHERE "projects"."deleted_at" IS NULL AND "projects"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
  Project Update (0.5ms)  UPDATE "projects" SET "updated_at" = $1, "deleted_at" = $2 WHERE "projects"."id" = $3  [["updated_at", "2021-04-24 01:25:44.170970"], ["deleted_at", nil], ["id", 2]]
  TRANSACTION (1.0ms)  COMMIT
 => true
2.7.2 :024 > Project.count
   (0.5ms)  SELECT COUNT(*) FROM "projects" WHERE "projects"."deleted_at" IS NULL
 => 1
2.7.2 :025 > Task.count
   (0.6ms)  SELECT COUNT(*) FROM "tasks" WHERE "tasks"."deleted_at" IS NULL
 => 0

Shouldn't it be automatically recovered with the project? There is an information in Readme about recovering dependent records that suggests it should be recovered then:
By default, dependent records will be recovered if they were deleted within 2 minutes of the object upon which they depend.

Hi @tjozwik, the bit where the Task is deleted seems to be missing from the log, so I can't tell what its values were set to. Can you please create a log with that bit included?

Thanks for your reply, @mvz.
New log:
Running via Spring preloader in process 18184
Loading development environment (Rails <IP_ADDRESS>)
2.7.2 :001 > Project.last.tasks
  Project Load (0.4ms)  SELECT "projects".*  FROM "tasks" WHERE "tasks"."deleted_at" IS NULL AND "tasks"."project_id" = $1 /* loading for inspect */ LIMIT $2  [["project_id", 2], ["LIMIT", 11]]
 => #<ActiveRecord::Associations::CollectionProxy [#<Task id: 11, created_at: "2021-04-24 22:44:58.533309000 +0000", updated_at: "2021-04-24 22:46:47.039178000 +0000", project_id: 2, deleted_at: nil>]>
2.7.2 :002 > Project.last.destroy
  Project Load (1.1ms)  SELECT "projects".*  FROM "tasks" WHERE "tasks"."deleted_at" IS NULL AND "tasks"."project_id" = $1  [["project_id", 2]]
  Task Update All (0.7ms)  UPDATE "tasks" SET deleted_at = '2021-04-24 22:47:20.197967' WHERE "tasks"."deleted_at" IS NULL AND "tasks"."id" = $1  [["id", 11]]
  Project Update All (0.5ms)  UPDATE "projects" SET deleted_at = '2021-04-24 22:47:20.200802' WHERE "projects"."deleted_at" IS NULL AND "projects"."id" = $1  [["id", 2]]
  TRANSACTION (1.9ms)  COMMIT
 => #<Project id: 2, created_at: "2021-04-18 11:10:19.333492000 +0000", updated_at: "2021-04-24 22:46:05.365023000 +0000", deleted_at: "2021-04-24 22:47:20.201914418 +0000">
2.7.2 :003 > Project.with_deleted.last.recover
  Project Load (0.3ms)  SELECT "projects".* FROM "projects" ORDER BY "projects"."id" DESC LIMIT $1  [["LIMIT", 1]]
  TRANSACTION (0.3ms)  BEGIN
  Task Load (0.5ms)  SELECT "tasks".* FROM "tasks" WHERE "tasks"."deleted_at" IS NOT NULL AND "tasks"."project_id" = $1 AND (tasks.deleted_at > '2021-04-24 22:45:20.200802') AND (tasks.deleted_at < '2021-04-24 22:49:20.200802')  [["project_id", 2]]
  Project Load (0.3ms)  SELECT "projects".* FROM "projects" WHERE "projects"."deleted_at" IS NULL AND "projects"."id" = $1 LIMIT $2  [["id", 2], ["LIMIT", 1]]
  Project Update (0.5ms)  UPDATE "projects" SET "updated_at" = $1, "deleted_at" = $2 WHERE "projects"."id" = $3  [["updated_at", "2021-04-24 22:47:41.823478"], ["deleted_at", nil], ["id", 2]]
  TRANSACTION (1.0ms)  COMMIT
 => true
2.7.2 :004 > Project.last.tasks
  Project Load (1.4ms)  SELECT "projects".* FROM "projects" WHERE "projects"."deleted_at" IS NULL ORDER BY "projects"."id" DESC LIMIT $1  [["LIMIT", 1]]
  Task Load (1.2ms)  SELECT "tasks".* FROM "tasks" WHERE "tasks"."deleted_at" IS NULL AND "tasks"."project_id" = $1 /* loading for inspect */ LIMIT $2  [["project_id", 2], ["LIMIT", 11]]
 => #<ActiveRecord::Associations::CollectionProxy []>

After executing Task Load query (that was generated in the project recovery phase), I can see that the task is matched properly. Anyway, it hasn't been updated and deleted_at attribute still has the same value that had been set during the project deletion.
2.7.2 :007 > sql = 'SELECT "tasks".* FROM "tasks" WHERE "tasks"."deleted_at" IS NOT NULL AND "tasks"."project_id" = 2 AND (tasks.deleted_at > \'2021-04-24 22:45:20.200802\') AND (tasks.deleted_at < \'2021-04-24 22:49:20.200802\')'
 => "SELECT \"tasks\".* FROM \"tasks\" WHERE \"tasks\".\"deleted_at\" IS NOT NULL AND \"tasks\".\"project_id\" = 2 AND (tasks.dele...
2.7.2 :008 > result = ActiveRecord::Base.connection.execute(sql)
   (0.5ms)  SELECT "tasks".* FROM "tasks" WHERE "tasks"."deleted_at" IS NOT NULL AND "tasks"."project_id" = 2 AND (tasks.deleted_at > '2021-04-24 22:45:20.200802') AND (tasks.deleted_at < '2021-04-24 22:49:20.200802')
 => #<PG::Result:0x000056080e9070b0 status=PGRES_TUPLES_OK ntuples=1 nfields=13 cmd_tuples=1>
2.7.2 :009 > result.to_a
 => [{"id"=>11,  "created_at"=>2021-04-24 22:44:58.533309 UTC, "updated_at"=>2021-04-24 22:46:47.039178 UTC, "project_id"=>2, "deleted_at"=>2021-04-24 22:47:20.197967 UTC}]

I was able to reproduce this with an otherwise empty Rails app. What happens is that recovery of Task fails silently because the belongs_to adds a validation that Project must exist. Since the Tasks are recovered before the Project, validation fails.

This problem did not surface in ActsAsParanoid's tests because Rails' default setting that makes belongs_to relations required by default is part of Rails and not of ActiveRecord: https://github.com/rails/rails/blob/8210d0a9d8a632fefc46b7b7d4b957b051a79d93/railties/lib/rails/application/configuration.rb#L91


Refactor to use Bungie Authentication

The API Test sill wants to use cookies.  It would be helpful if I could supply my API key and let Auth take over the responsibility.

Applied an update to the API Test to use the new Authentication method. Can use your own key or the test one that is automatically used is no key is present. :)


Circular reference with JSON format causes an unhandled exception

Please tell us about your environment:

winston version?_

[ ] winston@2
[x]<EMAIL_ADDRESS>

node -v outputs:  v10.1.0
Operating System: Linux (Official Docker image)
Language: TypeScript 2.6.2

What is the problem?
Logging a variable with a circular reference causes an unhandled exception.
What do you expect to happen instead?
I would expect the exception would be caught and a warning message printed. Or the circular reference would be noted in the resulting JSON, like util.inspect does. Something like:
https://www.npmjs.com/package/circular-json
Other information
Here is the code:
const log = createLogger({
  format: format.json(),
  transports: [new transports.Console()]
});

const a = {name: "A"};
const b = {name: "B", a: a};
a["b"] = b;
log.info("B:", b);

Error Message:
/app/node_modules/logform/json.js:23
  info[MESSAGE] = JSON.stringify(info, opts.replacer || replacer, opts.space);
                       ^

TypeError: Converting circular structure to JSON
    at JSON.stringify (<anonymous>)
    at Format.module.exports.format [as transform] (/app/node_modules/logform/json.js:23:24)
    at Format.info [as transform] (/app/node_modules/logform/combine.js:20:24)
    at DerivedLogger._transform (/app/node_modules/winston/lib/winston/logger.js:220:27)
    at DerivedLogger.Transform._read (_stream_transform.js:190:10)
    at DerivedLogger.Transform._write (_stream_transform.js:178:12)
    at doWrite (_stream_writable.js:413:12)
    at writeOrBuffer (_stream_writable.js:397:5)
    at DerivedLogger.Writable.write (_stream_writable.js:295:11)
    at DerivedLogger.log (/app/node_modules/winston/lib/winston/logger.js:176:10)

Duplicate of #1248. The reasoning behind this behavior is outlined here: https://github.com/winstonjs/winston/issues/1248#issuecomment-379310813


Running the Dockerfile on CentOS fails to run the "bundle install"

Scenario/Intent
Trying to create the docker container using the Dockerfile as suggested by the documentation to get started quickly fails.
The docker build completes without errors but since CentOS has selinux enabledit fails with errors when trying to do a puppet run.
Environment Details

Puppet module for HPE OneView Version: [Version of this module for which you are encountering the issue]
OneView SDK Version: 4.0.0
OneView Appliance Version: 3.0
OneView Client API Version: [API version of your client object]
Puppet Version: 4.9.2
Ruby Version: docker 4.2.2 version
Platform: CentOS Linux release 7.3.1611 (Core)
Docker: Docker version 1.12.5

Steps to Reproduce
Build the image
# docker/build.sh.example
Try a puppet run... which fails due to non of the gems have been install
# docker/test.sh.example ethernet_network.pp
/puppet/Gemfile not found

The suggested volume mount gets into selinux context missing
http://stackoverflow.com/questions/24288616/permission-denied-on-accessing-host-directory-in-docker
# docker run -it -v $(pwd)/:/puppet puppet-oneview-ruby /bin/bash
root@d4ea7ea74178:/puppet# touch test
touch: cannot touch 'test': Permission denied

Adding the :z on the volume mount
docker run -it -v $(pwd)/:/puppet:z puppet-oneview-ruby /bin/bash
root@d4ea7ea74178:/puppet# touch test
#
# bundle install
Fetching https://github.com/HewlettPackard/oneview-sdk-ruby.git
Fetching gem metadata from http://rubygems.org/.......
Fetching version metadata from http://rubygems.org/.
Resolving dependencies...
Using rake 12.0.0
Using ast 2.3.0
.

Now the puppet run works...
# docker/test.sh.example ethernet_network.pp
Debug: Runtime environment: puppet_version=4.9.2, ruby_version=2.2.0, run_mode=user, default_encoding=US-ASCII
Debug: Evicting cache entry for environment 'production'
Debug: Caching environment 'production' (ttl = 0 sec)
Debug: Loading external facts from /opt/puppetlabs/puppet/cache/facts.d
Debug: Facter: Found no suitable resolves of 1 for ec2_metadata
Debug: Facter: value for ec2_metadata is still nil

Not sure if this is related to a bug ...
https://github.com/docker/compose/issues/2535
But that’s a compose issue I guess.
So if this is something related to this project, I'm not sure.
Maybe the documentation could be updated to make it easier for people using distributions with selinux?

This SDK has limited support and will not be actively developed for the foreseeable future.


Update the Calibration data to not recopy code

You have a merge conflict that needs to be resolved before the merge can go through. On line 103, you replaced pull_data(); with sample_and_check_data();.
Should both of these functions be called in some specific order, or should only one of them be called?

@rankner7 Is this going to go through or are we closing this out? I don't want to leave an incomplete repo to the spring group.

I will get to this soon


Warn about usage of dangerous "name" (and potentially others) globals

Rule Suggestion
Is your rule for a general problem or is it specific to your development style?
Consider the code
  public echo(name: string): void {
    return name;
  }
  // We won't define name (by mistake)
  // echo is still called with `window.name`
  // In perhaps more than 90% of the cases this is wrong
  this.echo(name);

Notice that name argument is not defined. Typescript will use the global defined in lib.dom. This is detailed in https://github.com/Microsoft/TypeScript/issues/18433.
What does your suggested rule do?
Warns users about potentially dangerous access to a dom global or undefined variable name.
List several examples where your rule could be used
Additional context

Is this a dupe of https://github.com/palantir/tslint/issues/922?


Xsv Sanitize Mode

Adding Xsv sanitize mode to sanitize real data for safe use as a sample.
Sanitize:

Produces consistent output across runs (not random).
Allows sampling to output a subset of rows.
Maintains data properties (distinct value count, relative frequencies, column to column properties).
Maintains joins across files (keys can be mapped the same way and sampled on the same column).
Multi-Part values can be mapped by part (to preserve hierarchy and joins).
Generated values can be specific types (int, string) and human types (IP address, Person Name).
Generated values are suitable for search (not just Name97023487).

Reviewed in person with Jeff.