Bug: Strange gaps when downloading logged data

Both effects are observed with a logging interval of 10 minutes.
When downloading logged data, I reproducibly get a gap in the data as shown in the plot. I wiped the application data and then immediately performed a download. Can anyone reproduce this?

Also, for a logging interval of 10 minutes, the newest point is shown to be older than 10 minutes which cannot be. I assume there is an error in the timestamp calculation, so it might be a bug in libble.

When investigating the second issue, I found the documentation of the BLE protocol sorely missing. All I found is https://github.com/Sensirion/SmartGadget-Firmware/blob/master/Simple_BLE_Profile_Description.pdf . This lists the available characteristics, but does not explain their meaning and how you would use them when performing a download. Could you add more information to this? I am especially interested in the characteristics OldestTimestampMs, NewestTimestampMs and SyncTimeMs

After debugging I found that the data points were lost before they were ever received by libble. Maybe my device is just too slow and cannot keep up with the download. The sequence numbers regularly have gaps of 4 points and sometimes up to 16 points.

@honggoff Bluetooth does not guarantee that all packages are received by default, its connection principles are equivalent to the same ones as UDP for computer networks.
Since the the Smartgadgets do not support downloading the packages from a certain interval, I would consider downloading the entire gadget dataset twice, so missing datapoints will be downloaded then.
Very best regards ;)

I understand that BT doesn't guarantee, but even downloading the saved data multiple times seems to skip many datapoints. I'm currently testing with 1 min logging interval, so there should be a good visibility of missing points in the 10 min/1 hour views. The 1 hour view gets complete sometimes after multiple downloads, but I never managed to get the 10 min view complete within the 10 min it takes to roll over by itself...

@honggoff, @Henning-Lenz we did some fixes in that area in the last few releases. Is your issue still present in SmartGadget v1.8.7 or can we close this?
Thanks and kind regards,
Andreas


Suggestion for playback

Hey, very nice repository this! This is basically a living documentation for me, trying to integrate reolink cameras on 3th party systems
Everything works very well but I'm struggling with one point, I am trying to stream the videoclips from an homehub and I could not find any way to playback them, only download locally. Do you have any suggestion for me to sort this thing out?
On the reolink app I don't think they download all the clips, or maybe yes? They are very snappy to be shown. Could it be it fetches only a few frames while the clips is downloaded in background?
Thanks a lot and compliments for the huge work here!

Nevermind, seems like Playback should be working :)

Glad you were able to figure it out.
Normally you can just use the MP4 as live playback.
If you appreciate the reolink integration and want to support its development, please consider sponsering the upstream library or purchase Reolink products through this affiliate link.


Update traktable to 0.6-alpha1,a

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Is there a better way of implementing this? The way I've done it looks a bit messy in my opinion.

Only other way I can think of is to truncate the version on the first entry which is just as ugly. Or if this is a rare one, then don't bother at all and just add the a into the download url to be removed later because you'll be in the same position later when it gets removed and you have to remove the comma because there isn't anything after the 1.
Having said that, if this is an alpha, should it even be updated to that version?

Having said that, if this is an alpha, should it even be updated to that version?

Latest stable is over three years old, and this alpha is over two years old and reportedly does not have many changes. I guess this falls into the unstable being the standard rule.
I agree the current version/url is a bit messy, but I also doubt this app will get any updates soon (or at all). We can deal with it when it happens.

Thank you for the contribution. It was merged directly as efb1a2c33a450909ec78d39444906cea09197c13. Your contribution is still credited to you.


What about the gpu's memory?

When I finetune the sam model sam_h, it has been killed after run about epoch 0 2%.

memory is a big issue for me too, I'm training the smallest model with batch size of 1 with both encoders frozen and it still eats 22GB VRAM.

I met some problem.It stops after a few epochs.

The errors are as follow.
/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/callbacks/model_checkpoint.py:636: UserWarning: ModelCheckpoint(monitor='val_per_mask_iou') not found in the returned metrics: ['loss', 'loss_focal', 'loss_dice', 'loss_iou', 'train_per_mask_iou']. HINT: Did you call self.log('val_per_mask_iou', value) in the LightningModule?
warning_cache.warn(m)
Traceback (most recent call last):
File "finetune.py", line 414, in
main()
File "finetune.py", line 398, in main
trainer.fit(model)
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 737, in fit
self._call_and_handle_interrupt(
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 682, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 772, in _fit_impl
self._run(model, ckpt_path=ckpt_path)
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1194, in _run
self._dispatch()
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1274, in _dispatch
self.training_type_plugin.start_training(self)
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/plugins/training_type/training_type_plugin.py", line 202, in start_training
self._results = trainer.run_stage()
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1284, in run_stage
return self._run_train()
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1314, in _run_train
self.fit_loop.run()
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/loops/base.py", line 145, in run
self.advance(*args, **kwargs)
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/loops/fit_loop.py", line 234, in advance
self.epoch_loop.run(data_fetcher)
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/loops/base.py", line 145, in run
self.advance(*args, **kwargs)
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 199, in advance
self.update_lr_schedulers("step", update_plateau_schedulers=False)
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 441, in update_lr_schedulers
self._update_learning_rates(
File "/home/kemosheng/.local/lib/python3.8/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 505, in _update_learning_rates
lr_scheduler["scheduler"].step()
File "/home/kemosheng/anaconda3/envs/sam/lib/python3.8/site-packages/torch/optim/lr_scheduler.py", line 161, in step
values = self.get_lr()
File "/home/kemosheng/anaconda3/envs/sam/lib/python3.8/site-packages/torch/optim/lr_scheduler.py", line 260, in get_lr
return [base_lr * lmbda(self.last_epoch)
File "/home/kemosheng/anaconda3/envs/sam/lib/python3.8/site-packages/torch/optim/lr_scheduler.py", line 260, in
return [base_lr * lmbda(self.last_epoch)
File "finetune.py", line 299, in warmup_step_lr
if steps >= milestone * self.trainer.estimated_stepping_batches:
AttributeError: 'Trainer' object has no attribute 'estimated_stepping_batches'


Error in */ffcv/pipeline/graph.py: "AttributeError: 'str' object has no attribute 'type'"

I am trying to run code from the following repo which uses ffcv: https://github.com/MadryLab/datamodels. I have tried to run the example in this repo both on my university's own slurm cluster and on google colab, and I keep ending up with the same error:
AttributeError: 'str' object has no attribute 'type'
I was able to edit one of the ffcv package source files directly in order to get rid of this error, but then it predictably gave me another error RuntimeError: No HIP GPUs are available Specifically, when I make the edit to the file referenced below (/usr/local/lib/python3.10/dist-packages/ffcv/pipeline/graph.py) by changing line 333 from if next_state.device.type != 'cuda' to if next_state.device != 'cuda:0', I can get it to run on google colab (though I get a different error, RuntimeError: No HIP GPUs are available  on my lab's slurm cluster).
Is anyone else experiencing this error with ffcv when trying to run training code?
Steps to reproduce (the file system shown here is what I used for colab, but you can replace the paths with whatever download directory you use on whatever system you have):
#install dependencies
git clone https://github.com/MadryLab/datamodels.git
cd datamodels
pip install fastargs
pip install terminaltables
wget http://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2
tar xjf parallel-latest.tar.bz2
cd /content/datamodels/parallel-20240622
./configure && make
make install
parallel --version
cd /content/datamodels
apt update && apt install -y --no-install-recommends libopencv-dev libturbojpeg-dev
cp -f /usr/lib/x86_64-linux-gnu/pkgconfig/opencv.pc /usr/lib/x86_64-linux-gnu/pkgconfig/opencv4.pc
pip install mosaicml ffcv numba opencv-python
import torch
pip install cupy-cuda12x
from typing import List
#download dataset
import torch as ch
import torchvision
from ffcv.fields import IntField, RGBImageField
from ffcv.fields.decoders import IntDecoder, SimpleRGBImageDecoder
from ffcv.loader import Loader, OrderOption
from ffcv.pipeline.operation import Operation
from ffcv.transforms import RandomHorizontalFlip, Cutout,
RandomTranslate, Convert, ToDevice, ToTensor, ToTorchImage
from ffcv.transforms.common import Squeeze
from ffcv.writer import DatasetWriter
datasets = {
'train': torchvision.datasets.CIFAR10('/content', train=True, download=True),
'test': torchvision.datasets.CIFAR10('/content', train=False, download=True)
}
for (name, ds) in datasets.items():
writer = DatasetWriter(f'/content/cifar_{name}.beton', {
'image': RGBImageField(),
'label': IntField()
})
writer.from_indexed_dataset(ds)
bash examples/cifar10/example.sh
I have tried many different conda environments, including with python 3.8 (as the repo suggests), and 3.9, cuda 12.1 and 12.2, and rocm 6 and 5.4. All of them give me one of the two above errors.
Any idea how I can get around this?
Full stack trace:
�(0x�(B Parameter                �(0x�(B Value                               �(0x�(B
�(0tqqqqqqqqqqqqqqqqqqqqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu�(B
�(0x�(B worker.index             �(0x�(B 1                                   �(0x�(B
�(0x�(B worker.main_import       �(0x�(B examples.cifar10.train_cifar        �(0x�(B
�(0x�(B worker.logdir            �(0x�(B /tmp/10921                          �(0x�(B
�(0x�(B worker.do_if_complete    �(0x�(B False                               �(0x�(B
�(0x�(B worker.job_timeout       �(0x�(B 99999999                            �(0x�(B
�(0x�(B training.lr              �(0x�(B 0.5                                 �(0x�(B
�(0x�(B training.epochs          �(0x�(B 24                                  �(0x�(B
�(0x�(B training.lr_peak_epoch   �(0x�(B 5                                   �(0x�(B
�(0x�(B training.batch_size      �(0x�(B 512                                 �(0x�(B
�(0x�(B training.momentum        �(0x�(B 0.9                                 �(0x�(B
�(0x�(B training.weight_decay    �(0x�(B 0.0005                              �(0x�(B
�(0x�(B training.label_smoothing �(0x�(B 0.1                                 �(0x�(B
�(0x�(B training.num_workers     �(0x�(B 1                                   �(0x�(B
�(0x�(B training.lr_tta          �(0x�(B True                                �(0x�(B
�(0x�(B data.train_dataset       �(0x�(B /content/cifar_train.beton          �(0x�(B
�(0x�(B data.val_dataset         �(0x�(B /content/cifar-ffcv/cifar_val.beton �(0x�(B
�(0mqqqqqqqqqqqqqqqqqqqqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj�(B
logging in /tmp/10921
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/content/datamodels/datamodels/training/worker.py", line 109, in
main()
File "/usr/local/lib/python3.10/dist-packages/fastargs/decorators.py", line 63, in result
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/fastargs/decorators.py", line 35, in call
return self.func(*args, **filled_args)
File "/content/datamodels/datamodels/training/worker.py", line 105, in main
status = do_index(routine=routine)
File "/usr/local/lib/python3.10/dist-packages/fastargs/decorators.py", line 63, in result
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/fastargs/decorators.py", line 35, in call
return self.func(*args, **filled_args)
File "/content/datamodels/datamodels/training/worker.py", line 84, in do_index
to_log = routine(index=index, logdir=str(worker_logs))
File "/content/datamodels/examples/cifar10/train_cifar.py", line 185, in main
loaders = make_dataloaders(mask=np.nonzero(mask)[0])
File "/usr/local/lib/python3.10/dist-packages/fastargs/decorators.py", line 63, in result
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/fastargs/decorators.py", line 35, in call
return self.func(*args, **filled_args)
File "/content/datamodels/examples/cifar10/train_cifar.py", line 76, in make_dataloaders
loaders[name] = Loader(paths[name], indices=(mask if name == 'train' else None),
File "/usr/local/lib/python3.10/dist-packages/ffcv/loader/loader.py", line 210, in init
self.generate_code()
File "/usr/local/lib/python3.10/dist-packages/ffcv/loader/loader.py", line 275, in generate_code
queries, code = self.graph.collect_requirements()
File "/usr/local/lib/python3.10/dist-packages/ffcv/pipeline/graph.py", line 352, in collect_requirements
self.collect_requirements(next_state, node, allocations, code, source_field=source_field)
File "/usr/local/lib/python3.10/dist-packages/ffcv/pipeline/graph.py", line 352, in collect_requirements
self.collect_requirements(next_state, node, allocations, code, source_field=source_field)
File "/usr/local/lib/python3.10/dist-packages/ffcv/pipeline/graph.py", line 352, in collect_requirements
self.collect_requirements(next_state, node, allocations, code, source_field=source_field)
[Previous line repeated 3 more times]
File "/usr/local/lib/python3.10/dist-packages/ffcv/pipeline/graph.py", line 333, in collect_requirements
if next_state.device.type != 'cuda' and isinstance(operation,
AttributeError: 'str' object has no attribute 'type'```
Can anyone help me understand why ffcv is throwing this error? Why is there a different semantics to access the device (i.e. why is there no type property on the systems I'm using as the ffcv library expects? And what is the correct way to handle this?
-Paul

Hi! As mentioned in the linked issue, the key problem is that an update to the pipeline code means you have to use torch.device('cuda:0') instead of just the string.

Thank you @andrewilyas and @kristian-georgiev for resolving this!


Enrollment via RPC failes on v3.30.3

Hi,
I am using your container repo to build openxpki containers used for my regression testing. Since roughly a week certificate enrollment via RPC fails with the following error:
curl --insecure -k -F "method=RequestCertificate" -F  "profile= tls_client" -F "pkcs10=$(cat client.pem)" https://<IP_ADDRESS>:8443/rpc/enroll/; echo
{"error":{"code":40080,"message":"No method set in request"}}

Before it was working without issues.  I think the error message is misleading as there is a "method" included. rpc.log does not show more than 2024/06/25 11:12:23 ERR No method set in request [pid=127|ep=enroll]. Did the request format changed recently?
Any idea what i can do to troubleshoot the issue further?
Thank you for your help and have a nice day...
G.

closing issue as i will request help via the mailing list....


add "allow tips" button to top of editor

popup should show up to populate node_address and custom_record

#39


AUR

I am of the opinion that it ought to be feasible to procure the project from AUR in a manner that facilitates automatic updates.

I'll try it!

there you go https://aur.archlinux.org/packages/superfile

Thank you very much for creating the AUR!!
And here is another AUR,It installation from pre-built binary https://aur.archlinux.org/packages/superfile-bin
If anyone need.


Bond Token test

Proposed Changes

bond token tests
Fix getProgram

@robert-zaremba Done, added helper functions. documented in readme and updated doc strings.


Category parent id select dropdown

Require https://github.com/the-control-group/voyager/pull/493 to be merged first
Fix https://github.com/the-control-group/voyager/issues/474 and https://github.com/the-control-group/voyager/issues/475

You committed CategoryTest.php in both #493 and here.  I recommend removing it from both since it doesn't seem directly related to either

@peacemoon: Can you make this work with the latest changes of #493

I'm working on it now.

I think for a foreign key like this, a empty input should become null, since the database expect either a foreign key or null.
Which means the the category table had in database relations, then a empty value would become null.
But in the current case it would become empty and the database could complain that a category with the id of empty string does not exists.
Thoughts?

@marktopper  I don't think I get your idea? Could you elaborate it a little bit?

I think I get your idea now. It's a good idea to have a foreign key constraint for parent_id. I also add the default value for parent_idto null. Hope it's ok now.

Just gonna test this out before I merge.

Works like a charm! Great work 👍

Is this PR merged to the master ? as I ran composer update` but the Category Model still doesn't has the parent_id relationship method.
<?php

namespace TCG\Voyager\Models;

use Illuminate\Database\Eloquent\Model;

class Category extends Model
{
protected $table = 'categories';

protected $fillable = ['slug', 'name'];

public function posts()
{
    return $this->hasMany(Post::class)
        ->published()
        ->orderBy('created_at', 'DESC');
}
}

It's merged into master.
https://github.com/the-control-group/voyager/blob/master/src/Models/Category.php#L20

But why I didn't get these changes after running composer update ? Am I missing something ?

What does you composer.json say? And what version does your Voyager admin panel say on the bottom right corner?

v0.10.9
{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": ">=5.6.4",
        "laravel/framework": "5.3.*",
        "tcg/voyager": "0.10.*"
    },
    "require-dev": {
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "0.9.*",
        "phpunit/phpunit": "~5.0",
        "symfony/css-selector": "3.1.*",
        "symfony/dom-crawler": "3.1.*"
    },
    "autoload": {
        "classmap": [
            "database"
        ],
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "classmap": [
            "tests/TestCase.php"
        ]
    },
    "scripts": {
        "post-root-package-install": [
            "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ],
        "post-install-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postInstall",
            "php artisan optimize"
        ],
        "post-update-cmd": [
            "Illuminate\\Foundation\\ComposerScripts::postUpdate",
            "php artisan optimize"
        ]
    },
    "config": {
        "preferred-install": "dist"
    }
}

Just checked, it's not in a release yet.
You will have to wait for the next release or update to dev-master.


Instagram sharing: How to?

Instagram sharing: How to?

No, it appears it's not supported by Intagram: http://stackoverflow.com/questions/30542054/does-instagram-have-share-button-or-not


Allow to add a lambda function to more than one cloudfront distribution

https://github.com/silvermine/serverless-plugin-cloudfront-lambda-edge/issues/2
myHandler:
    name: 'myHandler-origin-request'
    handler: handler.main
    memorySize: 128
    timeout: 1
    lambdaAtEdge:
        - distribution: 'distribution1'
           eventType: 'origin-request'
        - distribution: 'distribution2'
           eventType: 'origin-request'

myHandler1:
    name: 'myHandler1-origin-request'
    handler: handler.main
    memorySize: 128
    timeout: 1
    lambdaAtEdge:
          distribution: 'distribution3'
           eventType: 'origin-request'

@jjchiw thanks for the beginnings of a PR! Please fixup the commit so it passes and then we can review. Thanks!

Coverage decreased (-0.09%) to 5.464% when pulling cdb747fc828444c72a2588cc2bcc517b402c2ed2 on jjchiw:master into 279b8014b981bfafac18b73e579cca992bc78287 on silvermine:master.

Coverage decreased (-0.09%) to 5.464% when pulling cdb747fc828444c72a2588cc2bcc517b402c2ed2 on jjchiw:master into 279b8014b981bfafac18b73e579cca992bc78287 on silvermine:master.

Should I fix the coverage too?

Couldn't squash the commits in master.... created another PR and kept the comments identation
https://github.com/silvermine/serverless-plugin-cloudfront-lambda-edge/pull/12


Support for specifying mask expressions to fields through the integration with angular-ngMask

I was wondering why formly does not support the specification of masks (i.e. HH:MM:SS or dd/mm/yyyy) for form fields.
Actually, I am using the formly last release (1.0.0) and I implemented this feature through the steps
1- includes ng-Mask into the project (bower.json)
"angular-ngMask": "3.0.8"
2- creates a template similar to form-field-text including the attribute mask

		{{options.label || 'Text'}}
		{{options.required ? '*' : ''}}
		{{options.mask}}

		{{options.description}}

3- creates a new type 'time' that points out to the new template
  # set formly tempaltes
  formlyConfigProvider.setTemplateUrl('time', 'templates/custom-formly/form-field-time.html')
A better implementation would be to create a mask attribute to the specification of a field and uses it on the form-fields tempaltes (masks={{options.mask}}). How I could do this?

I'm not sure I understand your question... It sounds like you know what to do. You have the right idea that you'll want to create a custom template for this functionality. From there you can do whatever you like. See the wiki on custom templates for what's available.

Ok.
Sorry, I was not clear.  I suggested that this feature (mask) could be implemented to provide native support of formly in future.
For instance, I could specify a field as {key: 'start', type: 'text', label: 'start', mask: '23:59:59'} which represent as time whose format is HH:MM:SS. It is a suggestion of a nice and easy-to-implement feature.
thx

And what I was saying is that the option "mask" doesn't have to be implemented in formly for you to use it in a custom template. Either way, we're definitely not going to implement it in formly core as it wouldn't make sense. If you would like it added to one of the template libraries, create an issue there and we can discuss it...


Gpu

Please provide description of the purpose of this pull request, as well as its
motivation and context.
Add GPU support
How was the code tested?
Not yet.
To be merged after https://github.com/omnivector-solutions/slurm-ops-manager/pull/75
Docs: https://github.com/omnivector-solutions/osd-documentation/pull/63
Final checklist

[x] I am the author of these changes, or I have the rights to submit them.
[x] I added the relevant changed to the README and/or documentation.
[ ] I self reviewed my own code.
[x] I updated the CHANGELOG according to the contributing
guide

👍


Performance issue on opening Files

What feature or improvement do you think would benefit Files?
When i open Files, it usually take like 3 seconds to start up and loads every tab that i don't need currently
I was thinking if instead of closing the window, hide it using the windows handle thing (that won't even show in the taskbar) and just unhide it when it was opened again
or just more simpler, only load the nessasary tabs that you opened Files for, like i have files as the default file manager, so if i open a folder, only load the tab of the folder and just ignore the other tabs until you switched to it
Requirements

Hide the window when closing
Show window upon opening

(if the user set the Files to be opened in background)
or

Ignore loading tabs you don't need

or both
Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.3930
Comments
No response

yeah and also by the way, if the application is minimized, when you open a folder, it won't automaticly be put to the front of the screen

Thank you for your feedback, you can configure this by changing the startup setting to "Open new tab".

What if I want to preserve these tabs for later use?
Like I'm cleaning my desktop, ill look for which of these are useful and what I can delete, and I want to get back to work with my working tabs open
Nevermind ill just make the feature on my own and PR it

This is already being tracked here #11900

What if I want to preserve these tabs for later use?

It's not supported yet, but we're planning this in the issue @Josh65-2201 linked. We don't have a timeline yet, but it's a feature we've been looking forward to as well. You can subscribe to #11900 or add a comment to be notified when it's added.


Updating Calico

I've brought Calico to the latest release (2.3 and added an option to use Calico using Kubernetes as a datastore.
Adding the Calico Kubernetes datastore required fiddling with the POD_NETWORK_CIDR, to match the Calico manifest.  I have added it as an option that defaults to what it was originally.
POD_NETWORK_CIDR="${POD_NETWORK_CIDR:-<IP_ADDRESS>/16}"

 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.

Thanks for the PR & sorry for delay!


Block parameters update of a specific layer

Hi all,
Thanks for the great framework you developed! I am wondering how I could block the parameters update of a specific layer.
Specifically I want to update all the parameters of my net apart from those of a specific layer.
Could you help me please?
Thanks a lot!

Thank you @CeLuigi! Sorry for the delay in getting back to you. Here is an example I created earlier for another user, the way we recommend doing this in Haiku is to use our data_structures utilities to partition and merge your params into trainable and non-trainable.
Here I am explicitly not training the 100 linear layer in this 300, 100, 10 MLP.
import jax
import jax.numpy as jnp
import haiku as hk

def f(x):
  return hk.nets.MLP([300, 100, 10])(x.reshape((x.shape[0], -1)))

f = hk.transform(f)

def loss_fn(trainable_params, non_trainable_params, images, labels):
  params = hk.data_structures.merge(trainable_params, non_trainable_params)
  logits = f.apply(params, images)
  one_hot = jax.nn.one_hot(labels, logits.shape[-1])
  return jnp.mean(-jnp.sum(jax.nn.log_softmax(logits) * one_hot, axis=-1))

rng = jax.random.PRNGKey(42)
x = jnp.ones([8, 28, 28])
y = jnp.ones([8])
params = f.init(rng, x)

print("before: ", jnp.argmax(f.apply(params, x), axis=-1))

# Partition our params into trainable and non trainable explicitly.
trainable_params, non_trainable_params = hk.data_structures.partition(
    lambda m, n, p: m != "mlp/~/linear_1", params)

print("trainable:", list(trainable_params))
print("non_trainable:", list(non_trainable_params))
print()

# Optimize wrt trainable only.
grad_fn = jax.jit(jax.grad(loss_fn))
for _ in range(100):
  grads = grad_fn(trainable_params, non_trainable_params, x, y)
  trainable_params = jax.tree_multimap(lambda p, g: p - g * 0.1, trainable_params, grads)

# Merge params again for inference.
params = hk.data_structures.merge(trainable_params, non_trainable_params)
print("after: ", jnp.argmax(f.apply(params, x), axis=-1))


Project: Epik - Netflix Recommendation Bot

Project Name
Epik
Description
A Netflix recommendation RAG Chat bot ( Part of Raghack 2024)
Needs the following resources
Azure OpenAI resource - A base model, i have used gpt-4o-mini
Azure AI Search - to index and leverage AI ML to create vectors and use semantic search
Azure Storage account - Blob storage holds the source document as a pdf
Azure Service Managed Identities - Ensure all services can talk to each other leveraging inbuild RBAC Roles without the need to store credentials any where
Technology & Languages

[ ] JavaScript
[ ] Java
[ ] .NET
[X] Python
[X] AI Studio
[X] AI Search
[ ] PostgreSQL
[ ] Cosmos DB
[ ] Azure SQL

Project Repository URL
https://github.com/learnsol/Epik-netflixrecommendation
Deployed Endpoint URL
No response
Project Video
https://github.com/learnsol/Epik-netflixrecommendation
Team Members
learnsol

Hello @learnsol, thank you for participating in RAG Hack!
The team is working hard to distribute badges. Please have each team member fill out this form:
aka.ms/raghack/badge-dist
Thank you!


Type inequality does not work correctly on type parameteres

The following code compiles (and it should not)
def someMethod[T](in : T) = {

  implicitly[T =:!= String]

  // some operation that requires T not String could be called here
  // even though there is no guarantee that this is safe
}
val a = someMethod("abc") // here we have just proven String != String

This shows that the technique of shadowing implicits by creating conflicts (used in =:!=) is not very safe when erasure occurs.
I'd be happy to help fix this issue but I'm quite able to come up with a work around. Any suggestion?

I've managed to persuade myself that this isn't a bug. In the case where there's a witness I think the result is uncontroversial,
def foo[T](in : T)(implicit ev: T =:!= String): Unit = {
  implicitly[T =:!= String]
}
illTyped(""" foo("abc") """)
foo(Nil)

Where there's no witness I think the result should be uncontroversial too: here we are observing that within the body of method bar the type T is not equal to the String.
def bar[T](in : T): Unit = {
  implicitly[T =:!= String]
}
bar("abc")
bar(Nil)

And this is surely correct: it it weren't then we ought to be able to invoke String methods on in. But we can't, and this isn't a surprise.
Things do get a little more puzzling in this case,
def baz[T](in : T): Unit = {
  implicitly[T =:!= String]
  foo(in)
}
baz("abc")
baz(Nil)

Now it seems that baz is able to "forge" a proof that T isn't a String and propagate it to foo. But this isn't what's going on. Whilst the argument to baz is known to be a String at the call site, that information is lost within the body of baz. The existential type of in in the body of baz is T which is not equal to String in exactly the same way as in the case of bar.
Here's another example which might lend some additional support to the last example. Suppose that instead of losing information about the type of the argument by quantifying we lose information by subtyping,
def quux(in: AnyRef): Unit = {
  implicitly[in.type =:!= String]
  foo(in)
}
quux("abc")
quux(Nil)

In this case I don't think it's any surprise that the type inequality holds without a witness being required, and equally I don't think it's any surprise that the locally synthesized witness be propagatable to foo. In this case, as in the last, we haven't "forged" a type inequality, we've changed the static type of the argument (by quantifying in baz, by subtyping in quux) in such a way that the type inequality must hold ... it's not a forgery, we've made it so.


Tabs shouldn't go to the left of pinned tabs

This extension doesn't seem to recognized pinned tabs. Tabs with modified content shouldn't be placed to the left of pinned tabs for two reasons:

Pinned tabs have already been manually designated to be placed to the left by the user
Right now, this extension incorrectly results in the modified tabs being pinned automatically

@huyz Hello. Sorry for not replying for a long time. War and all of those things, you know what I mean...
Fixed these bugs and optimized the code. It looks like a working version. I hope it is still relevant and will bring you pleasure!


Packaged releases and flexible installation location

I know this is a pie-in-the-sky ticket!
It would be great to have versioned .rpm/.deb/.dmg/MacPorts(?)/(and whatever windows does) packages  so that versioned updates/downgrades can be managed properly.  Moving away from the "patch-level" approach to upgrades.
And it would be nice to be able to install multiple versions of OpenVnmrJ side-by-side.
Let this ticket be a place to collect tasks toward this dream ;o)

dont rely on /vnmr as the install location anywhere.  Maybe/probably have an environment variable ($vnmrsystem ..?) when looking for the install root of whatever's currently executing.

It is an interesting (and I think a good) idea. It would be easier to install an new version beside an old version rather than patching a system. The packaged versions are actually quite small as the data heavy bits were not released by Agilent.
I think the patches were a response to:

systems where the user made changes within the /vnmr hierarchy such as macros or UX and didn't want to replicate these changes in a new system. Now, with appdirs, this is no longer a worry. But there should be some mechanism to use local appdirs.
the VnmrJ 4.2 installs were distributed on DVD and weighed several GB. The OpenVnmrJ distribution is not large and easily downloaded.

Your second point:
There is no reason $vnmrsystem could be used to have to path the install location but /vnmr is hard coded throughout the software. I think it is better not to rely on /vnmr, but it would be a big task (herculean) to free us from that link.
Major users of /vnmr are:

dynamic libraries
There are several shared libraries that are in /vnmr/lib and having them move would cause problems with the binaries that call the nmr shared libraries.
I am setting up the macOS version to have the entire /vnmr to be inside the application bundle but I use a helper to link /vnmr to the location within the bundle when the binary launches. All dynamic libraries must be within the application bundle on macOS Sierra, otherwise a malicious external library could subvert an internal library.
Of course, a shell variable  could be used so dynamic linked libraries could be found: LD_LIBRARY_PATH can be set on Linux and DYLD_FALLBACK_FRAMEWORK_PATH on macOS
Perhaps some changes to Java to set the library path might need to be done (I'm not sure)

There are many hard coded "/vnmr" throughout. A quick look shows all the system "appdirs" have /vnmr in the path, many shell scripts have /vnmr, the path in all the tcl scripts is /vnmr/tcl/bin.vnmrWish and so on.

I am afraid to see how difficult it would be if /vnmr is assumed not to exist and $vnmrsys be used going forward.

Yeah, it's everywhere.  At the very least it should be /opt/vnmr/
Some background for RedHat: https://fedoraproject.org/wiki/Packaging:Guidelines#Filesystem_Layout
And on Macos, /opt is where MacPorts and X11 go, so that's maybe ok there too.
Totally agree that the system-specific stuff should be isolated from the upgradeable software "package".
If there were proper test coverage, it wouldn't be that herculean, rather just pedantic. Should be mainly a matter of figuring out the right way to replace the hard-coded '/vnmr" in all the contexts in which it appears (code/scripts/magical/...), and doing that and then checking  (via aforementioned testing) that they all have been caught.

I've started working on this.  My plan is to do it in stages:

rework the installation procedure so that the current install can be scripted within a .deb/.rpm/.pkg
create .deb/.rpm/.pkg packages for releases.
automate installation testing on the various "supported" targets- rh6,7, debian, ubuntu14,16
much further down the road, figure out (how to / whether to) allow multiple versions run at the same time / activate a particular version (change symlink, restart servers..) -- it's a use-case that makes sense for datastations, but not really for spectrometer control.  Maybe there should be a more explicit "datastation" installation for linux?

Any thoughts on this plan?  It probably means replacing the existing java installation program that appears to mostly just be a wrapper around install scripts anyhow, although I'm not sure yet what will crop up.

That's a great goal. Are you thinking of rewriting the java app or writing new scripts?
I wrote an alternative installer for OS X, but is was in Objective-C. I'll take the holiday break to clean up and push to GitHub. As you said, it just called scripts (and checked for successful completion).

Haven't worked out all the details, so I'm not sure yet which approach is best... so I'm open for discussion...  I want it to be clean and lower the barrier of entry; the current installation is somewhat arcane and doesn't match common expectations about modern software installation (ie, that I can just type yum install OpenVnmrJ and then be able to run vnmrj...).
Step one will be understanding the intricacies of java program, and abstract the option-selection from the install scripts.. sounds like you've already done that?  It would be really helpful to see your ObjC installer.
If the java is just mostly deciding what files get unpacked, one possible approach would be to have separate packages (.rpms/.debs/checkboxes in macos installer) for each "feature set" that has those files:
OpenVnnmrJ-base (basics for pure datastation)
OpenVnnmrJ-spectrometer (additions to control spectrometer)
OpenVnnmrJ-docs
OpenVnnmrJ-solids
OpenVnnmrJ-imaging
...


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/914 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit c14cca2:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-06-15-08-58-45 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add document of contributions and some guides

Just documents.

Coverage decreased (-0.003%) to 15.448% when pulling 058fc552d18ea82118674e248b30b9ff8c385a39 on docs into babc6d293097c1bbdf87b84b87ae0bdaa63f1c02 on master.


Set RUSTUP_IO_THREADS=1 to avoid the installation failure on FreeBSD CI

r? @ghost

@bors r+

:pushpin: Commit 02bffca9db12be6982944fc08b0412772d5685ae has been approved by JohnTitor

:hourglass: Testing commit 02bffca9db12be6982944fc08b0412772d5685ae with merge 47f38495b01215cff06eb51e7948efdb26b77deb...

:broken_heart: Test failed - checks-actions

@bors retry

:hourglass: Testing commit 02bffca9db12be6982944fc08b0412772d5685ae with merge bd0994bd499d5a3ab6d38125f04cf7dc03300615...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing bd0994bd499d5a3ab6d38125f04cf7dc03300615 to master...


Default table sort desc if a user clicks a header

tested by switching reputedly to use this gem from source and seeing that clicking the arrows does in fact sort descending.


BOM-2931: Replace Travis with GitHub CI

Issue: BOM-2931
Description

Replaced Travis with GitHub CI.

This has a similar issue to another pull request that @davidjoy and I are commenting on: it changes the release trigger from merges to tags.  What have we decided about how front-end repos get released?

We've used the same workflow option to release new version on tags like we are using for pypi-publish workflow. We are still open to suggestions if we want to use any different approach for the front end repos.

We should preserve the release behavior for all repos using semantic-release. As mentioned in the other PR, semantic-release is responsible for creating the tags based on conventional commit messages on commits merged into master. We definitely don't want to manually create any tags and base releases on that for all frontend repos using semantic-release.

So do we want the same behavior as we have in the tests CI like this? so it'll get triggered against all the PR commits on master branch and pull requests. Or do we want this only for commits being merged in the master branch and not for other branch commits?
on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - "**"

We want the test suite to run on a PR whenever a new commit is added to it, if that's what we're asking.  We only want semantic-release to run and create a new tag when commits are pushed to master.

@davidjoy updated the npm-release workflow to only get triggered when commits are pushed to master branch.


scripts for updating manifests

I've created a script to update the Dart manifests, see https://gist.github.com/guillermooo/f579fdb84aab4bc488da.
Would it be a good idea to consolidate such scripts in one repo? Could scoop one day update manifests by running such scripts?

This is cool. I think this could be generalised to work with every manifest.

@guillermooo Any chance you can revisit and possibly generalise this to work with any package?

I would love to, but I doubt I'll find the time for it any time soon :-/

This has been done


Adds foreground check to DataLayerAppHelper methods

WHAT
Adds a foreground check to methods provided by DataLayerAppHelper
WHY
Methods in DataLayerAppHelper can launch activities on the remote device. This should only be possible where the calling process is in the foreground.
HOW
Checks foreground status of process invoking the method
Checklist :clipboard:

[x] Add explicit visibility modifier and explicit return types for public declarations
[x] Run spotless check
[x] Run tests
[x] Update metalava's signature text files

Landing, doesn't seem blocked.


[Perl] Want failing test numbers to match across runs

Changed the perl test runner to keep test order/numbers consistent across runs.

I'm no perl expert, but this is from a contributor to https://github.com/vti/text-haml so I will merge.


Item movers improvements

Closes #8236

bors r+

changelog fix make "Move item" commands work in more cases.


[Next] Issue with leftPromptWidth

Describe Your Issue
What is happening?
leftPromptWidth is calculating the incorrect length. There is extra padding on the right prompt for a few seconds and then it disappears and the cursor is in the wrong place. This also happens during tab completion

Notice the command doubling...
Have you tried to debug or fix it?
Not yet.
Environment Information
This information will help us understand your configuration.

What version of ZSH are you using? You can use zsh --version to see this.
zsh 5.7.1 (x86_64-apple-darwin18.2.0)

Do you use a ZSH framework (e.g., Oh-My-ZSH, Antigen)?
No

How did you install P9k (cloning the repo, by tarball, a package from your OS, etc.,)?
cloning

What version of P9k are you using?
Next

Which terminal emulator do you use?
iTerm 2

leftPromptWidth is calculating the incorrect length.

I think leftPromptWidth doesn't affect single-line prompt. It also shouldn't break cursor positioning even if it returns incorrect value. The position of right prompt and subsequent cursor movement is done by zsh based on the values of PROMPT and RPROMPT (and a few other things like ZLE_RPROMPT_INDENT, locale and multibyte).
You can use the following command to diagnose this problem.
() {
  emulate -L zsh
  setopt err_return no_unset
  local text
  print -rl -- 'Select a part of your prompt from the terminal window and paste it below.' ''
  read -r '?Prompt: ' text
  local -i len=${(m)#text}
  local frame="+-${(pl.$len..-.):-}-+"
  print -lr -- $frame "| $text |" $frame
}

If the prompt line aligns with the frame
+-----------------------------+
| romka@adam ✓ ~/powerlevel9k |
+-----------------------------+

If the output of the command is aligned for every part of your prompt (left and right), this indicates a bug in the theme. Use this command to diagnose it:
print -rl -- ${(eq+)PROMPT} ${(eq+)RPROMPT}

Look for %{...%} and backslash escapes in the output. If there are any, they are the likely culprits.
If the prompt line is longer than the frame
+----------------------------+
| romka@adam ✓ ~/powerlevel9k |
+----------------------------+

This is usually caused by a terminal bug or misconfiguration that makes it print ambiguous-width characters as double-width instead of single width. For example, this issue.
If the prompt line is shorter than the frame and is mangled
+----------------------------+
| romka@adam ✓~/powerlevel9k |
+----------------------------+

Note that this prompt is different from the original as it's missing a space after the checkmark.
This can be caused by a low-level bug in macOS. See this issue.
If the prompt line is shorter than the frame and is not mangled
+-------------------------------+
| romka@adam ✓ ~/powerlevel9k |
+-------------------------------+
This can be caused by misconfigured locale. See this issue.

Since you have two different prompts (one succeeding the other with a short delay) that get positioned differently, you might have to run these tests on both.
Tip: Once you find a part of your prompt that causes misaligned output, it's a good idea to reduce it to the minimum. Ideally, to a single character.
 Debugging such issues when they are reported by users is very time consuming. It helps to accumulate and pool experience to save time in the future.


data-grid-object: TS5.1 fixes

"office-ui-fabric-react" is deprecated.  Migrating to '@fluentui/react-components'.

Thanks, @ChumpChief ! ...  I did run the app and tried creating all of the various object types.
The FluentUI icon catalog has changed a bit, but I did my best.  :-)


daemon: Allow to specify dev to inherit IP addr for LB devs

This commit introduces a new daemon flag --bpf-lb-dev-ip-addr-inherit
which allows to specify a device name which IP addr is used for
--devices in bpf_host.c (IP{4,6}_NODEPORT).
This is useful for cases in which NIC ifaces w/o IP addrs are connected
to a bridge which has an IP addr set, and IP{4,6}_NODEPORT addr should
be of the bridge.

retest-net-next

I think commit description should say IPV4_DIRECT_ROUTING and/or IPV6_DIRECT_ROUTING, no? Given we use these in particular for SNAT.

Created an issue to remove IPV{4,6}_NODE_PORT: https://github.com/cilium/cilium/issues/14273.

test-me-please

retest-net-next


GW1NZ-1 rPLL (nano 1k) does not synthesize working pll.

Have tried several PLL configs which all produce locking/working PLLs in gowin tools but exactly the same verilog results in a PLL that doesn’t lock and has no output.  All on Tang nano 1k, input is 27MHz external clock, output varies between 33M and 100M.

The Z-1 is a fun chip, it seems to have an interesting power-saving system that is not found anywhere else that turns off the power to the PLL by default.
This thing I think is fixed in the wip version of apicula, but not in the current one.
this file is apycula/gowin_pack.py, if you are feeling adventurous you can add these lines. Well, or write to me - I'll do it and make a gowin_pack for you.
   dualmode_pins(db, tilemap, args)
+    # XXX Z-1 some kind of power saving for pll, disable
+    if device in {'GW1NZ-1'}:
+        tile = tilemap[(db.rows - 1, db.cols - 1)]
+        for row, col in {(23, 63)}:
+            tile[row][col] = 0

    res = chipdb.fuse_bitmap(db, tilemap)
    header_footer(db, res, args.compress)
    if pil_available and args.png:

Yup, that fixes it. Do you want the needed updates to gowin_pll for GN1NZ-1 use as well?

It would be priceless!

This should do it:
`--- gowin_pll-old.py	2023-08-19 01:15:27.000000000 +0100
+++ gowin_pll.py	2023-08-19 23:13:36.000000000 +0100
@@ -64,6 +64,16 @@
"clkout_min": 2.5,
"clkout_max": 360,
},

   "GW1NZ-1 C6/I5": {

       "comment": "tested on TangNano1K Board",

       "pll_name": "rPLL",

       "pfd_min": 3,

       "pfd_max": 400,

       "vco_min": 400,

       "vco_max": 800,

       "clkout_min": 3.125,

       "clkout_max": 400,

   },
   "GW1NR-2 C7/I6": {
       "comment": "Untested",
       "pll_name": "PLLVR",

`

Can you do PR? Then your authorship will be inscribed in a normal way in history

Will do, can’t do it before Monday

Should be fixed in https://github.com/YosysHQ/apicula/pull/184


1st stab at supporting all transports

this is not complete, but good to merge to dev branch if it doesn't brake too much stuff.

Thanks. This is still WIP I think, not mergeable right now, will create new PR later


Back press on android dismiss "undismissible" bottomsheet.

Bug report
Describe the bug
If the bottom sheet is marked as dismissible false, then the bottom sheet can still be dismissed with the android back button.
Steps to reproduce
Open the bottom sheet that is not dismissible, and press the back button.
Expected behavior
It should not be dismissed.

Dismissible false means that the modal sheet cannot be dismissed by taps in barrier or by dragging. Android Back Button is controlled by OS, and this should be done by wrapping the BackButtonListener Widget if Navigator 2.0 is in use, or PopScope if imperative navigation is in use.
One example:


NodeJS email sender

Looking forward to add this project.
Description : back-end app running on nodejs.
Features :

**Tentative Deadline : 1 day
Some Rules to follow :

Add a README.md file for your project.
Name of Project
Demo of Project in .gif how your project is look
Description of project
Requirements or Setup instructions
Name of Author(s)
Look at Demo here.

Hey.. Can i build its API using NodeMailer?


0.11

fb1c50868cf3e974cadfcebcf08fad4759bf4e6c

Looks good to me but what about Jake?

On 23-Jul-2021, at 2:21 AM, Jake Champion @.***> wrote:
Closed #1000 https://github.com/github/fetch/pull/1000.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/github/fetch/pull/1000#event-5058052707, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT42EIEFB2GSTRE37YPKZX3TZCAGXANCNFSM5A2U3MTA.

What did u update there?

On 23-Jul-2021, at 2:21 AM, Jake Champion @.***> wrote:
Closed #1000 https://github.com/github/fetch/pull/1000.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/github/fetch/pull/1000#event-5058052707, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT42EIEFB2GSTRE37YPKZX3TZCAGXANCNFSM5A2U3MTA.


⚠ Jenkins Plugins Artifactory has degraded performance

In 8acb295, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1214 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 4899c71 after 48 minutes.


Icon Toggle Issue

I found this issue when i am trying to collapse children elements

can you make a js fiddle of it like i did here for the demo? It's hard to reproduce something without an example


$(selector).select2('close')  throw a error

$(selector).select2('close')
if the selector is not init select2,this code may throw a error ,how can i handle the error with options?
i think this is a internal error，and no need to throw out ,bucause this may interrupt other code run

https://stackoverflow.com/questions/29854022/is-there-any-way-to-check-if-an-element-has-jquery-select2-already-applied-to-it

This is now documented:
https://select2.org/programmatic-control/methods#checking-if-the-plugin-is-initialized


⚠ ClamAV has degraded performance

In 6d9c299, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 66 ms

Resolved: ClamAV performance has improved in 185cae0.


"Can't resolve 'elastic-apm-node'" error when used in a Next.js app

I'm trying to use @elastic/ecs-pino-format in my Next.js app, and it's working mostly fine. However, whenever a logger instance is created I get the following error in my console:
 ⚠<EMAIL_ADDRESS>Module not found: Can't resolve 'elastic-apm-node' in '/Users/petter/workspace/domstol/lovisa_core/node_modules/@elastic/ecs-pino-format'

Import trace for requested module:
<EMAIL_ADDRESS>../../shared_library/frontend/logging/src/server.ts
../../shared_library/frontend/feature-toggles/src/backend.ts
../../shared_library/frontend/feature-toggles/src/index.ts
./src/app/layout.tsx

This seems to only happen during development in a Next.js app not using turbopack, so it's not a huge issue. Is there any way to stop these log messages?
Also seems to happen with the @elastic/ecs-winston-format package.
Reproduction
CodeSandbox

I'm guessing it comes from attempting to requiring the package during instantiation. Would a require.resolve() check be a workaround for this? 🤔

I've looked some more into this. It seems that whenever there is a require somewhere in a file, webpack will try to resolve it. Even if the require expression is never run. Because of this there doesn't seem to be a simple fix for this issue.
Since this is only an issue in Next.js with webpack (AFAIK) it isn't a big deal for us at least since turbopack will soon be the new standard anyways.


Please turn on security check for this

I really like this project, but the security part of this OSP bothers me quite a bit, how much of what we are doing is being sent where?

You can now build and run bloop from source with your own OpenAI API key and GitHub Access Token. Check out instructions here: https://github.com/BloopAI/bloop?tab=readme-ov-file#building-from-source


lint-frontend  Files.tsx

for lint-frontend exhaustive deps

@808vita can you explain more why this is needed?


Proposal: Remove the Dashboard/Home button from the navigation bar

I am proposing to remove the Dashboard/Home button to reduce the amount of items in the navbar and have a simpler experience for users. The Gitea icon already points to the same location, and for accessibility, an aria-label with Dashboard or Home can be added to the link. Users will also be familiar with this navigation style as it used on other software forges.

Then a hover action on the logo is better.


Breaking changes between v1.12.0 and v1.13.0!

Hey guys!
After an update of the library from v1.7 to v1.15 some parts of my script broke. After quite some time checking the patch notes and some other parts of my script, I found out that you broke the interface of some functions by changing the order of the function arguments! IMHO this is a big nono, especially in minor version updates.
For better search (and maybe it helps someone else), the functions I had problems with are: update_file and get_file_revision
v1.12.0
https://github.com/crowdin/crowdin-api-client-python/blob/1.12.0/crowdin_api/api_resources/source_files/resource.py#L345
https://github.com/crowdin/crowdin-api-client-python/blob/1.13.0/crowdin_api/api_resources/source_files/resource.py#L547
v1.13.0
https://github.com/crowdin/crowdin-api-client-python/blob/1.12.0/crowdin_api/api_resources/source_files/resource.py#L345
https://github.com/crowdin/crowdin-api-client-python/blob/1.13.0/crowdin_api/api_resources/source_files/resource.py#L547
Maybe there are more... but for me it failed on those two.
In the future, please don't change the order of arguments. If, for what ever reason, it is required, mark it as breaking version.

Hi @Snawe!
I just checked the release changelog and I think #129 is the culprit in this issue. This PR was included in the 1.13.0 release. It actually brings a breaking change in some methods that have the project ID in the argument list.
I just added a warning to the release notes for version 1.13.0.
We'll pay more attention to this kind of thing in the future. Thanks for pointing this out and sorry for the inconvenience! 🙌

Thanks for the response :)


Feature/okta name push

This pull request integrates the Okta Node SDK to enable us to push Name fields changes into Okta so we don't have two different sources of data when users want to edit their names.

After discussion on splitting name field to first and last, I created new branch and will be closing this one.


fix: no SEGFAULTs and assertion failures

Fixes #14
Fixes #16
This is still WIP since there are still some errors could be found by the libfuzzer, this PR is aimed for showing the progress and it'll be merged if I cannot find any further error.

Fixes #14
Fixes #16
This is still WIP since there are still some errors could be found by the libfuzzer, this PR is aimed for showing the progress and it'll be merged if I cannot find any further error.

Fixes #14
Fixes #16
This is still WIP since there are still some errors could be found by the libfuzzer, this PR is aimed for showing the progress and it'll be merged if I cannot find any further error.

Fixes #14
Fixes #16
This is still WIP since there are still some errors could be found by the libfuzzer, this PR is aimed for showing the progress and it'll be merged if I cannot find any further error.

Fixes #14
Fixes #16
This is still WIP since there are still some errors could be found by the libfuzzer, this PR is aimed for showing the progress and it'll be merged if I cannot find any further error.

looking forward for this

looking forward for this

There is still an assertion error caused by the wrong precedence between link definitions and code spans (#18), but since it seems to be relatively hard to be triggered and the fix would require some non-trivial changes, I think it should probably be fine to merge this PR now so that others can give it a try.

There is still an assertion error caused by the wrong precedence between link definitions and code spans (#18), but since it seems to be relatively hard to be triggered and the fix would require some non-trivial changes, I think it should probably be fine to merge this PR now so that others can give it a try.

Thanks @ikatyang I'll test out tomorrow

Thanks @ikatyang I'll test out tomorrow


Migrate v4 to v5

Manually merged commits dropped during kotlin runtime integration Disabled testing except for tool and java and kotlin runtimes

@KvanTTT Gh won't let me do a rebase-and-merge, so I'll have to do a squash-and-merge

Partially fixes #3

Thanks, I'll review a bit later: today's evening or tomorrow.

I've encountered the following error during clean project building from your branch:
 Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project antlr5-runtime: Fatal error compiling: error: release version 17 not supported

Have you encountered it?

Well the reason for the -Xskip-prerelease-check is that without it I can't run the Kotlin tests locally, so it does relate to this PR (although not its title)
Removing runtimes is a separate PR not yet filed, in this one I just disabled the CI for them because I can't be bothered fixing it for targets that will go away in the next PR.
TBH the value you can bring here is to double-check the Kotlin related changes.
But if you absolutely want to spit the PR then you could indeed put the Java version in a preliminary PR.

Re local build, is your JAVA_HOME pointing to java 17+ ? Or maybe it relates to your local maven settings ?

Re local build, is your JAVA_HOME pointing to java 17+ ? Or maybe it relates to your local maven settings ?

Yes, thanks, it was invalid JAVA_HOME.

Well the reason for the -Xskip-prerelease-check is that without it I can't run the Kotlin tests locally, so it does relate to this PR (although not its title)

Could you clarify which error did you have? I sucessfully run all tests locally without this flag.

Well the reason for the -Xskip-prerelease-check is that without it I can't run the Kotlin tests locally, so it does relate to this PR (although not its title)

Could you clarify which error did you have? I sucessfully run all tests locally without this flag.

error: class 'org.antlr.v5.kotlinruntime.CharStream' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler (CharStream is just an example, hundreds of those)

Thanks for the squashing and clear commit message.


Doesn't work for the real bots

Would be good if module would also work for the normal, not self-bots, as it collides with the original Discord module and you can't run script as it's now

it throws "incorrect token" error

Regular bot support was purposely removed. There is no point to keep compatibility with bots with a library dedicated to self-bots: that's what discord.py is there for.
I am considering renaming it so it doesn't conflict, though. For now you can use Python virtualenvs.

Yeah please change the name, it would help a lotttt


RAM usage during generation

On my system, the generator can consume 5GB (executable) +3GB (browswer) easily. Is there a way to optimize the memory usage without hurting performance?

Thank you, the application has a smaller footprint and it seems to me that the evolution step runs faster than before. Good job!
I would not implement the alternative approach (lazy loading), I agree that it could make the app feel sluggish.


[🐞] DocumentMeta should support media property

Which component is affected?
Qwik Runtime
Describe the bug
I want to add the theme-color meta tag on my index.html with a specific color depending on prefere-color-scheme.
It should looks like that in the end :
<meta name="theme-color" media="(prefers-color-scheme: light)" content="LIGHT_COLOR" />
<meta name="theme-color" media="(prefers-color-scheme: dark)" content="DARK_COLOR" />

But the DocumentMeta interface doesn't support media
Reproduction
N/A
Steps to reproduce
This displays an error
export const head: DocumentHead = {
  meta: [
    {
      name: 'theme-color',
      content: '#000000',
      media: "(prefers-color-scheme: dark)"
    },
  ],
};

System Info
System:
    OS: Windows 10 10.0.22623
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 18.90 GB / 31.71 GB
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 3.3.1 - C:\Program Files\nodejs\yarn.CMD
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1095.0), Chromium (113.0.1774.42)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @builder.io/qwik: ^1.0.0 => 1.0.0
    @builder.io/qwik-city: ^1.0.0 => 1.0.0
    undici: 5.22.0 => 5.22.0
    vite: ^4.3.5 => 4.3.5

Additional Information
No response

would u be up to make a PR?

Yes of course, sorry I didn't do it in the first place.

Here is the PR sorry, for the delay: https://github.com/BuilderIO/qwik/pull/4327


Support yarn as a package manager

Was curious to know if there were plans to support yarn as a package manager?  We could just detect if a yarn.lock was present, and use yarn install --pure-lockfile and yarn start instead of npm commands.

Or delete NPM to get more yarn users ;)

👍 Yes, right now the situation is confusing. I have a Next.js project (https://github.com/relatenow/relate) with a package.json and a yarn.lock. The package.json has script entries "build": "next build" and "start": "next start". Locally I run things totally fine with yarn dev.
However, when I execute now, the console shows that it executes npm install anyway, meaning my dependencies aren't respected.
It should run yarn install if a yarn.lock is present.

I'm having the same issue. It's weird, about 50% of the time when I run now I get a notice that it's "Using yarn.lock", the other 50% of the time it says "npm install".

So, while the now deployment says npm install, we're actually spawning our custom node module installer called ace which as of recently has explicit support for yarn.lock files. You can tell when this happens in a deployment because the text "Using yarn.lock" is displayed right after the npm install line of the deployment, and the module versions in the yarn.lock will be respected.
Please create new issues for any problems you have related to this going forward!


CFITSIO error in nifpmsel

When running psrpipe.py the nifpmsel step fails.
Task nifpmsel 1.8 terminating with status -1
Traceback (most recent call last):
  File "/scratch/software/nicer_20230814/NICERsoft/scripts/psrpipe.py", line 653, in <module>
    runcmd(cmd)
  File "/scratch/software/nicer_20230814/NICERsoft/scripts/psrpipe.py", line 256, in runcmd
    check_call(cmd, env=os.environ)
  File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['nifpmsel', 'infile=2070020493_pipe/intermediate.evt', 'outfile=2070020493_pipe/cleanfilt.evt', 'detlist=launch', 'mkfile=2070020493/auxil/ni2070020493.mkf', 'clobber=yes', 'history=yes']' returned non-zero exit status 255.

Rerunning this command by hand shows the following error:
nifpmsel infile=2070020493_pipe/intermediate.evt outfile=2070020493_pipe/cleanfilt.evt detlist=launch mkfile=2070020493/auxil/ni2070020493.mkf clobber=yes history=yes
nifpmsel 1.8
  FPM List: launch
  Recalculating GTIs
ERROR: (internal error)  GTI is missing extension name at /scratch/software/nicer_20230814/heasoft-6.32/x86_64-pc-linux-gnu-libc2.36/bin/nifpmsel line 966.
Dumping CFITSIO error stack:
--------------------------------------------------
Extension doesn't start with SIMPLE or XTENSION keyword. (ffrhdu)
END
Error while closing HDU number 0 (ffchdu).
--------------------------------------------------
CFITSIO error stack dump complete.
Task nifpmsel 1.8 terminating with status -1

Interesting. What source is this? I'd like to try to replicate the error.
also can you give the output of this command?
ftlist<PHONE_NUMBER>_pipe/intermediate.evt  HC


Easy icon can't be used in HTML link

I've tried to use easy icon when creatin link but it does not work
<?php     echo $this->Html->link('i:dashboard Dashboard',['controller' => 'Home', 'action' => 'dashboard']); ?>
And i got this result
i:dashboard Dashboard

This is not currently supported, but could be easily added, I will see if I can do something about this.

Thank you

4e69b5c6b2b0016f70c67ad56429c81f0ca920b3 should add easy icon support to HtmlHelper::link.

I am closing this since this should be working, if you find any bug with this feature or another one, feel free to open a new issue!


Copy Project

Brief description:
This feature is used to test the copy project functionality.
User spec:
https://github.com/CCTC-team/redcap_cypress/blob/TA_v13.8.1/user_requirement_specification/non_core/20_copy_project.spec
Feature link:
https://github.com/CCTC-team/redcap_cypress/blob/TA_v13.8.1/manual_scripts/Copy_Project.feature
Pre review:

[ ] Script(s) targets the correct feature sufficiently
[ ] The user requirements are met

Post review:

[ ] Script(s) targets the correct feature sufficiently
[ ] Script(s) appropriately tests the feature

Please rename the feature file to '20_copy_project.feature'.
Add User Spec

Changes to feature file

Delete steps 6-11.
After login, write steps to create project
Add step 'I click on the button labeled "Add New Alert"' before step 17
Step 17 - Specify what can be seen..  'Create new alert'.. Text 'popup' is not visible. Similar changes need to be applied in the code throughout.
Change Step 18 to 'I enter "" into the input field labeled "Title of this alert:" - give name of the alert in ""'
Change Step 19 to 'I select "Text Validation [Any event]" on the dropdown field labeled "when" '. Similarly change the rest.
Step 32 - Data Quality is a link and not button. Similar changes need to be applied in the code throughout. Check if it is button or link (tabs are links)
Data Quality Rule - instead of uploading, enter one or two DQRs
Steps 57-60 not required.
Step 61 - Specify which Enable button, please the text next to it.
After you copy the project, create another project with the metadata and verify both projects are the same. i.e. contains same instruments, events, alerts, etc. Whatever you created in the project have to be checked as well.
Change the steps definitions using the link: https://aldefouw.github.io/redcap_cypress/

@TanDBPRO : Pre review completed

@TanDBPRO : No need to do this. This is covered in 'Project Setup - B.6.4.1000 - Project Copy'


blocknotify does not work with RichList enabled

by default: blocknotify works perfectly when running Nexus as CLI on Ubuntu 16.04
If richlist=1 is enabled (either in config file or via command line flag), blocknofity no longer works, it simply ceases to execute whatever command is specified while richlist is on.
Have tested blocknotify using nexus.conf and also command flag, both with richlist on and richlist off.

This still an issue?

Yes sir it does appear to be even in 2.4.5 - blocknoitfy works fine on any node not running richlist=1 but not at all on richlist nodes.
I've tried to investigate the problem myself but my C/C++ skills are limited and I have not had success so far.

Did this get introduced through any new versions?

I only started trying to use blocknotify for the first time maybe sometime around version 2.4.0 - it took me a while to figure out that richlist=1 was the only reason why it wasn't working on some of my nodes while it was working fine on others. I've tested it on both Oracle and LLD versions and the result is the same, anytime richlist is enabled, blocknotify doesn't do anything.
I just have a basic sh script that writes a little note to the hard drive saying that blocknotify was successful and have it setup exactly the same way on all my nodes and on the richlist ones it just does nothing.
So I can't say for sure if it used to work on older nodes. You never used to require a richlist=1 flag in older ones in order to pull the richlist anyways - it used to only work on Oracle nodes in the past and I just always used that for my richlist.

This appears to have been resolved in Nexus 2.5.x, so this issue can be closed (looks like I can close it cause I started it, thus, am doing so, will re-open if it re-occurs down the road),


feat: add markdown check in check target

Description
Adding markdown check to standard check target.
Related Issue(s)

Closes #102

Description of Changes

Adding markdown check to check target to be able to perform a remote standard checking. The changed includescheck-markdown and CHECK
Update the davidanson/markdownlint-cli2-rules from v0.10.0 to v0.11.0
Rename the rules for markdownlint-disable
Add readme /docs/src/guides/markdown.md
Fix readme /earthly/mdlint/Readme.md

Breaking Changes
Screenshots
Related Pull Requests
Please confirm the following checks

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

look at this comment: https://github.com/input-output-hk/catalyst-ci/pull/118#issuecomment-1840422522


Playground application crashes when device is not connected to wifi (HoloLens 2)

Right now it seems like XMLHttpRequest::Send generates a crash if no wifi connection is available. It makes sense for this to be a failure state/some sort of request failure, but we should probably do something differently so that it doesn't crash the application.

Closing for now. Reopen if we want to support this feature.


Investigate making gh-pages branch public

Done so at https://github.com/git-lfs/git-lfs.github.com/ 😄


Add win32 and zos specs in ci script

Add ability to run personal testing against win32 & zos builds
Ability to incorporate Win32 and x64_linux_largeHeap to nightly build pipeline for Java8
Signed-off-by: smlambert<EMAIL_ADDRESS>

Related to https://github.com/AdoptOpenJDK/openjdk-build/pull/355

We will also need to add separate PLATFROM for both Win32 and x64_linux_largeHeap in https://github.com/AdoptOpenJDK/openjdk-api. If eventually those sdk need to be published.

Ok, I will ask you about what needs to change in the API repo tomorrow, thanks.

Regarding the PLATFORM probably need a discussion with infra or build people, which could do later and should not block this change.

Approve the PR.
I agree, we need to discuss with infra/build team. In OpenJ9, build is called XXX_cmprssptrs. It is better to have an unified story.


Test constexpr construction of aggregates

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

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

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
11668

Relevant Lines:
19685

💛  - Coveralls


Focus Issue in Notebook mode!

Currently the window lose the prompt cursor all the time:

specially in the new notebook mode!
Reported here: https://github.com/princejwesley/Mancy/issues/12#issuecomment-211523093

Focus issue is in regex viewer as well.


Fixes #2114 - Add Shenandoah for Java 11 builds.

As Shenandoah is ready for production in 16, I'm assuming the flag is not required there.

(Side note: Is this really a bug as opposed to an enhancement?)

@gdams I've given that a go, I'm not sure if the whitespace changes my IDE enforced will mean I need to redo this PR, let me know.

@sxa fixes in place.

run tests

run tests

Can we do something to prevent accidental whitespace changes in the future? Terrible to review.


unstable clipboard logic on web is incompatible with web_sys 0.3.70

I'm trying to use web_sys_unstable_apis in my project, but it started failing due to an error coming from some special clipboard logic in eframe.
The error:
   --> /Users/syte-laptop/.cargo/registry/src/index.crates.io-6f17d22bba15001f/eframe-0.28.1/src/web/mod.rs:187:16
    |
187 |         if let Some(clipboard) = window.navigator().clipboard() {
    |                ^^^^^^^^^^^^^^^   ------------------------------ this expression has type `Clipboard`
    |                |
    |                expected `Clipboard`, found `Option<_>`
    |
    = note: expected struct `Clipboard`
                 found enum `Option<_>`

The source:
https://github.com/emilk/egui/blob/master/crates/eframe/src/web/mod.rs#L171-L192
In v0.3.69 and before of web_sys, the return of .clipboard() is Option<Clipboard>. In v0.3.70, it is now just Clipboard
Thankfully, I'm able to just pin my web_sys dependency to =0.3.69 and I'm able to compile again

@simon-wh Could you test if the branch from PR #4954 works for you?

Looks to be working 👍

I also met this problem. When will the #4954 be merged? 😄

@bioinformatist please have a look at #4980


Add trait ComponentConstructor

What problem does this solve or what need does it fill?
For rapier and avian, Collider is not implemented with Reflect. We cannot use extra properties in GLFT to reflect to create components.
Can we add a ComponentConstructor or something else to create a component from a reflectable constructor.
What solution would you like?
Allow Component convert from another reflectable type
#[derive(Component)]
struct Foo {
   ....
}

impl Foo {
  pub fn new_a (...) { ... }
  pub fn new_b (...) { ... }
}

#[derive(Reflect, ComponentConstructor)]
enum FooConstructor {
  A( ... ),
  B( ... ),
}

impl ComponentConstructor for FooConstructor {
  type C = Foo;
  pub fn to_component(self) -> C {
    ....
  }
}

....

// for spawn

commands.spawn(( FooConstructor::A( .... ), ))
// should same with
commands.spawn(( Foo::new_a( ... ), ))

What alternative(s) have you considered?
For avian, they use https://github.com/Jondolf/avian/blob/39a7480cd1915bc5266aa8ebd3c3436d4d0568b0/src/collision/collider/backend.rs#L358C4-L358C30 to convert Constructor to Component.

For context: https://github.com/bevyengine/bevy/discussions/14437 (section called "Construct"), this is coming but I believe it will be called 'Construct' instead

It's not clear to me what commands.spawn(( FooConstructor::A( .... ), )) would gain you over doing commands.spawn(( FooConstructor::A( .... ).to_component(), )) and directly spawning the component.

For avian, they use https://github.com/Jondolf/avian/blob/39a7480cd1915bc5266aa8ebd3c3436d4d0568b0/src/collision/collider/backend.rs#L358C4-L358C30 to convert Constructor to Component.

Avian seems to need this to use this in order to create colliders that need to read from the Mesh associated to that entity. It's not clear how your proposed ComponentConstructor could handle this, since its to_component method takes no context other than the constructor itself.

Another alternative would be using hooks to detect the insertion of the constructor and immediately replace it with the constructed component. However an issue that this has (and also Construct) is that this will break if you do .insert(constructor).insert(dependency) (or .construct::<Foo>(constructor).insert(dependency)) because the constructor will run when the dependency has not been inserted yet, and hence will fail. The current approach with a delayed query will avoid this issue, at the cost of some systems being able to observe the constructor before it gets replaced by the constructed value.


Bug(transloco): translation randomly not resolved for some clients

Is there an existing issue for this?

[X] I have searched the existing issues

Which Transloco package(s) are the source of the bug?
Transloco
Is this a regression?
No
Current behavior
We have an issue that happens randomly and couldn't reproduce related to resolving variables in translation:

translation json key/value: "Créer un record": "Créer un{{e}} {{title}}",
translation call: {{ translate("Créer un record", {e: 'foo', title: 'bar', n : 'baz'}) }}
I think it's not browser cache related but it may be a cache issue because it solved if the page is refreshed with ctrl+f5

Sorry that I cannot provide a link for the bug, it's not possible to reproduce
Expected behavior

Please provide a link to a minimal reproduction of the bug, if you won't provide a link the issue won't be handled.
https://codesandbox.io/s/ngneat-transloco-kn52hs
Transloco Config
module.exports = {
  rootTranslationsPath: 'src/assets/i18n/',
  langs: ['en', 'fr', 'cn'],
  keysManager: {}
};

Please provide the environment you discovered this bug in
Transloco: 7.4.0
Angular: 17
Node: 19
Package Manager: npm
OS: Windows

Browser
Chrome desktop all versions

Additional context
hkukhjk
I would like to make a pull request for this bug
Yes 🚀

@KessoumML doing a regular refresh resolves the issue as well?
Without reproduction, there is not much I can do here.

No, regular refresh doesn't fix the issue. it should be ctrl + f5.
The cache configuration is set to no cache

I'm currently exploring the possibility of including release hash to translated files to see if it fixes the issue.
Truly, there is no much to do if I can't reproduce it

Hi,
I found this issue: https://github.com/jsverse/transloco/issues/110
I don't know if it can help you.


训练好的模型有下载链接吗

FileNotFoundError: [Errno 2] No such file or directory: '\mnt\data1\ghh\yolov5\runs\train\exp29\last.pt'

Hi, sorry for the late reply. We have updated the download link for the pre-trained weight in the readme. Please check it, thanks.

our pre-trained weight can be downloaded from Google Drive or Baidu Yun


Cherry-pick #3517 from master into release-v3.14

Description
Cherry-pick #3517 from master into release-v3.14
Release Note
None required

Deploy preview for calico ready!
Built with commit 6796a69f12f0e3fa498350e4188341f8234efa89
https://deploy-preview-3546--calico.netlify.app


py 2to3 issue - fix for visit_utils/status to still support py2

Resolves hybrid/movie.py failure

@brugger1 merged this fix, fingers crossed for full pass :-)


SSH login failure - No supported authentication methods available (server sent : publickey)

EVEN with the -t option, login fails as root (with root login enabled) and sudo user in Ubuntu 16.04 (DigitalOcean Instance).

As many others have been facing similar issues, please try to reproduce an install preferably using DigitalOcean/dply.co ( ik providers can't be the cause but still )

Can you send me a copy of your ssh config file prior to running the script

root@123:~# cat /etc/ssh/sshd_config
Package generated configuration file
See the sshd_config(5) manpage for details
What ports, IPs and protocols we listen for
Port 22
Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress <IP_ADDRESS>
Protocol 2
HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
HostKey /etc/ssh/ssh_host_ecdsa_key
HostKey /etc/ssh/ssh_host_ed25519_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes
Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 1024
Logging
SyslogFacility AUTH
LogLevel INFO
Authentication:
LoginGraceTime 120
PermitRootLogin yes
StrictModes yes
RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile     %h/.ssh/authorized_keys
Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
similar for protocol version 2
HostbasedAuthentication no
Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no
Change to yes to enable challenge-response passwords (beware issues with
some PAM modules and threads)
ChallengeResponseAuthentication no
Change to no to disable tunnelled clear text passwords
PasswordAuthentication no
Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no
#MaxStartups 10:30:60
#Banner /etc/issue.net
Allow client to pass locale environment variables
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
Set this to 'yes' to enable PAM authentication, account processing,
and session processing. If this is enabled, PAM authentication will
be allowed through the ChallengeResponseAuthentication and
PasswordAuthentication.  Depending on your PAM configuration,
PAM authentication via ChallengeResponseAuthentication may bypass
the setting of "PermitRootLogin yes
If you just want the PAM account and session checks to run without
PAM authentication, then enable this but set PasswordAuthentication
and ChallengeResponseAuthentication to 'no'.

I will take a look at this but a fix in the meantime would be, after running the script, keep the session open and restore the original config as you sent me, and restart ssh.

Can you try after running the script (use -t option), to run the following commands as root directly or using sudo:
echo UsePAM yes >> /etc/ssh/sshd_config && service ssh restart
Then try and connect

456.txt
This is the config after running the -t option. The "UsePAM yes" line is already present. So didn't work. Although using the original config works. Is there a more proper fix than restoring the original config?

ok after running the script the following command should resolve the issue. For now you can manually enter the command, but I will build it into the script in the next day or two. Must be run as root or using sudo:
sed -i '/^PasswordAuthentication no/ c\#PasswordAuthentication no' /etc/ssh/sshd_config
service ssh restart

Yeah! that fixed it :D facepalm after understanding why it didn't work. Although, when not-so-technical people (like me) deploy VPS's and their ssh configs are set to ONLY accept ssh keys, they might even forget to set a root password and run into the risk of not being able to switch to root user. So, can you please include some kind of if-else that checks whether a root password has been set and prompts the user to set one if not.

Can change the variable in config:
PermitRootLogin without-password
This will allow root login using a key only.
User with sudo privilege can change root's password:
sudo passwd

Ik that. What exactly are you going to include in the script? Just the if-grep-echo-else-sed part for the password authentication? Cuz the same when done with the shadow file and running 'sudo passwd' when the condition fails would make the install script more.... wholesome rather than the user setting the password. Just a suggestion :)

Fix implemented, but will not be changing any passwords for root. You will need to do that yourself if required.


Create Pool workflow: typo in “Optimised PG Count” (should be Optimized…”)

Can we include this fix in the upcoming code push?

I would like to work on this issue

@julienlim @Tendrl/qe The bug is fixed from UI team. Please verify on the new build[1] available.
[1]. tendrl-dashboard-1.2.1-04_17_2017_17_24_12.noarch.rpm

Closing the issue as the fix is available


Files created as root (chown needed in order to edit them)

Hi,
I'm new to Laradock and I already love it.
When I use "php artisan make:auth" on docker_workspace_1, it successfully scaffolds the views for login/register, but these files are owned by root - thus I can't edit them.
I can chown the files from outside the container to regain access to them, but I think I'm doing something wrong. Any ideas ?

I'm having the exact same problem and would also like some help/explanation on this.

so since you will be running artisan using the workspace container, it will be using the root user, so you will have to change the permissions or the owner of those files.
If you are on Linux or using the docker toolbox for windows/mac, you can do a
sudo chown YourUserName file1 file2

Using terminal of

docker machine in case of toolbox(windows/mac)
native linux OS in case of Linux host

This is not really a solution for a development environment imo

I don't find myself creating files all the time, but on docker for windows using hyper-v I don't run into this issue, because windows ignores linux permissions.
Perhaps someone will have a better idea or docker community will improve this. But it's not a Laradock specific issue.

I'm having the same problem.

+1

+1

You could include a script similar to this in the workspace container to specify a specific user id to run as solving the permissions problem. https://github.com/linuxserver/docker-baseimage/blob/master/10_add_user_abc.sh
create default user
RUN useradd -u 911 -U -d /config -s /bin/false abc && \
      usermod -G users abc && \
      mkdir -p /app/aptselect /config /defaults && \

Actually this is embedded in LaraDock : SSH into your workspace by adding --user=laradock on the command line, ie :
docker-compose exec --user=laradock workspace bash
Laradock is user with PUID 1000, PGID 1000, so it's "mapped" to the first created user on the host machine.


Groupby.apply results are transposed when apply function returns a scalar

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):

Ubuntu 20.04

Modin version (modin.__version__):

0.7.3+115.g16c28a4

Python version:

Python 3.8.2

Code we can use to reproduce:

import modin.pandas as pd
import numpy as np

df = pd.DataFrame(
    {
        "col1": ["a", "a", "a", "b", "b", "c", "c", "c"],
        "col2": [10, 20, 30, 40, 50, 60, 70, 80],
    })

def func(data):
    return 111.11

print(df)
gb = df.groupby("col1")
print(gb.groups)

df1 = gb.apply(func)
print(df1)
print(df1.shape)

Describe the problem

When running on Pandas the resulting DataFrame has shape (3,):
col1
a    111.11
b    111.11
c    111.11
dtype: float64
(3,)

while on Modin it has shape (1, 3):
col1       a       b       c
col1
0     111.11  111.11  111.11
(1, 3)

Source code / logs

Running this on latest master and I'm seeing this output instead:
      __reduced__
col1
a          111.11
b          111.11
c          111.11
(3, 1)

I'm hoping this will get resolved with the rewrite of groupby.

Works on latest master for me so closing.


Getting Error in logs, but update working fine, any reason behind this?

I am getting following error while it is trying to update the IP address, but in CF, ip getting updated successfully.
🌐 Detected the IPv4 address: X.X.X.X
😞 Failed to update a stale A record of "home.domain.fqdn" (ID: 294fcde3fbf00433d8c36b6cf47125d9): operation aborted during backoff: context deadline exceeded
😞 Failed to delete a stale A record of "home.domain.fqdn" (ID: 294fcde3fbf00433d8c36b6cf47125d9): operation aborted during backoff: context deadline exceeded
😞 Failed to add a new A record of "home.domain.fqdn": operation aborted during backoff: context deadline exceeded
😞 Failed to (fully) update A records of "home.domain.fqdn"
😞 Failed to retrieve records of "domain.fqdn": operation aborted during backoff: context deadline exceeded
😞 Failed to (fully) update A records of "domain.fqdn"
😞 Failed to send HTTP(S) request to "https://[2606:4700:4700::1111]/cdn-cgi/trace": Get "https://[2606:4700:4700::1111]/cdn-cgi/trace": dial tcp [2606:4700:4700::1111]:443: connect: cannot assign requested address
😞 Failed to detect the IPv6 address

Thanks for the reporting. This means the tool (or the library cloudflare-go, more specifically) could not receive the HTTP response before the connection times out, but the Cloudflare server actually received the request and implemented it correctly.
The most relevant setting is UPDATE_TIMEOUT which by default is 30s (30 seconds). I thought that would be sufficient. What's your setting of UPDATE_TIMEOUT? Does changing it into a different value (such as 5m for 5 minutes) solve the problem? If so, I prefer keeping the current default values until the next major release, and for now you can set it into a bigger value to prevent timeouts. If changing it into a large value still does not solve the problem, it means there's a serious bug and I'd like to fix it. Please let me know!

@iAmSaugata Hi, is there any progress on the issue? The value of UPDATE_TIMEOUT would be helpful to diagnose the issue.

@iAmSaugata I am closing this with the PR #159 because I seemed to be able to re-create this bug. However, this does not mean your bug has the same cause and please re-open the issue if it's not fixed for you.

Yes, I have tested, no longer getting the error.

Yes, I have tested, no longer getting the error.

Thanks for the confirmation.


iOS 17: Feature requests, please add in comments

In order to best serve the community, please request features (or react to an existing one) using the comments on this issue. I will then prioritise all efforts to try and fill those backports where possible 👍

For Swift (non-UI) requests please see SwiftBackports

–––
I'm surprised I need to say this, but please do not add comments below that are unrelated to this ticket!

Generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in Swift 6.
https://github.com/shaps80/SwiftUIBackports/blob/8e92217f52f5d3981a96870cc518a095a13b3e08/Sources/SwiftUIBackports/Internal/Environment%2BString.swift#L93-L96

What about rewriting it as follows?:
  final class Store<StoredValue>: ObservableObject {
    var value: StoredValue?
  }

I wonder why I didn't see this warning before, thanks!
Also, yeah the optional set to nil used to be required when this was first written, but you're right its no longer required 👍

Section expand/collapse
KeyFrameAnimator

backport symbolEffect  will be appreciated

backport symbolEffect will be appreciated

I'm not sure this one is possible, but I may investigate to confirm 👍

ContentUnavailableView  is also useful and it looks not hard to backport.

scrollTarget(isEnabled:), scrollTargetBehavior(_:), scrollTargetLayout(isEnabled:)
It would be really useful if those methods were backported.

@PangMo5 I agree! I'll need to dig into these in details, I did take a very quick look a while ago and thought perhaps this couldn't be done, but I'll need to get into the weeds before I know for sure 👍

A backport of .contentTransition(.numericText(value:)) would be awesome!

A backport of .contentTransition(.numericText(value:)) would be awesome!

I considered this actually, I don't think it's that difficult to implement actually, could be done essentially with an AnimatableModifier I think – however I'd rather backport the entire contentTransition API vs just a specific version of it, and tbh not all of them are so easy AFAICT.
I'll consider it though 👍

@shaps80 would be interested on how you would implement the numeric text transition, as I've struggled with this quite a lot when I tried it. I thought one could reuse the numericText(countDown:) transition but I was not sure how I get the old and the new value for comparison..

@shaps80 would be interested on how you would implement the numeric text transition, as I've struggled with this quite a lot when I tried it. I thought one could reuse the numericText(countDown:) transition but I was not sure how I get the old and the new value for comparison..

Definitely dig into animatable modifier, it's not a quick response that I can leave here. And I just don't have the time right now to Explore. Sorry

searchScopes would be great to have back ported to at least iOS 15

@bstillitano good shout! I did actually start (unfinished) a searchable modifier backport when it was first released. I can't remember why I didn't finish it. I could try completing that and adding scopes as well as tokens actually cause that's a great API.

@shaps80 would love to know if backporting Shader is even possible.

@vmanot that's def out of my scope tbh, but I'd be surprised if it wasn't possible at least 1 or 2 versions back. I'd definitely love a PR exploring this!

@shaps80 glad to know there are no obvious reasons why not! And yes, will definitely PR if I find the bandwidth to push on this front.

@shaps80 I'd be willing to take a crack at that searchable modifier backport, if you wanted to hand it off. :)

@shaps80 I'd be willing to take a crack at that searchable modifier backport, if you wanted to hand it off. :)

Sure! I have a start somewhere. Let me try and find it and see if I can drop a starting branch off.
If not I'll let you know and you can start off from scratch. Gimme a couple days.

how about backport .buttonRepeatBehavior(.enabled)

would love to have .scrollPosition(id:)

would love to have UIViewRepresentable.sizeThatFits(_:uiView:context:) and View.contentMargins(_:for:).

TipKit would be awesome!

@fl034 I actually started a fairly full on backport of TipKit, but then I realised some issues. We'd equally need to backport the new Predicate APIs (including the macros) since its syntax heavily relies on that.
It's totally possible, especially since Predicate is actually open sourced through the Foundation efforts on Apple's repo. However it's a huge effort and I've simply not had the time to properly get into it.
I also, love TipKit and agree it'd be a great addition.


better wayland session detection

First of all, thanks for merging the wayland support PR! This is just a small PR for the change that I suggested earlier. I use sway as my compositor and log in via TTY. This doesn't set XDG_SESSION_TYPE to wayland so the current check would actually fail for me and other users that have a similar setup (ex. it would fail on Weston, the reference compositor as well). Instead, we can check for WAYLAND_DISPLAY which will always exist no matter what wayland compositor you are using.

Found this PR as my travis-CI builds started to fail recently with a key error on XDG_SESSION_TYPE. It seems like recent versions of Xvfb (or at least the version travis-CI is using) doesn't set the XDG_SESSION_TYPE environment variable. This PR will solve this sort of issues as well. As a temporary workaround I've set the XDG_SESSION_TYPE to x11 in travis-CI's settings.

found this as pyperclip is a dependency of openstack and I was getting KeyError: 'XDG_SESSION_TYPE' when trying to call openstack commands.  Set up a workaround similar to others mentioned here by manually setting the environment variable, but a fix that doesn't assume that variable is set would be appreciated/.

It is an issue on recent Fedora installations as well.

We're also having issues with this on a headless install (of CentOS).
@asweigart , do you have any capacity to get this merged and release anytime soon?  It would be much appreciated.

Yes please, this deserves some attention, as this failure is breaking code depending on it on headless installations.

Yes please, this deserves some attention, as this failure is breaking code depending on it on headless installations.

Sorry for the delay! I'll push this in a new release today.


Header changes for V2

Remove notifications icon and notifications panel.
Move Help on left nav
Remove branch breadcrumb and branch selection panel
Move date selection and job filter to left (use left align)
Remove tabs- Overview, Commits and Jobs. Since we are just going to display a job list, these tabs are not required in V2

Done
https://github.com/argoproj/argo/pull/491