[C# Calc] Fixes BinSkim problems

Fixes BinSkim problems
Description of the changes:

Skip scanning clrcompression.dll
Add control flow guards for CalcViewModel.dll/GraphControl.dll/TraceLogging.dll

How changes were validated:

Tested locally
Verified by the internal-ci pipeline

Hi folks, could you help review this PR? thanks.

Hi @mcooley and @tian-lt

Should the file GraphControl.dll be digitally signed?

`
F:\temp>"C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe" verify .\GraphControl.dll
File: .\GraphControl.dll
Index  Algorithm  Timestamp
SignTool Error: No signature found.
Number of errors: 1
get-filehash GraphControl.dll
Algorithm       Hash                                                                   Path

SHA256          44198918CA50DA74C7001B8128ECD34D7512D7B58737C143FEC4D191B6CEB584       F:\temp\GraphControl.dll
Image Version: 10.0.19044.1889
No component store corruption detected.
The operation completed successfully.
DISM /Online /Cleanup-Image /ScanHealth
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Image Version: 10.0.19044.1889
[==========================100.0%==========================]
No component store corruption detected.
The operation completed successfully.`


Bar not appearing

I'm trying to use this library inside of threads, but for some reason I don't see any bars being drawn. It seems to work fine without threads though so I'm hoping someone knows what's going on here?
const ProgressBar = require('progress');
const {
  Worker,
  isMainThread,
  parentPort,
  workerData,
} = require('worker_threads');
const files = {
  'eta.js': 187,
  'generic-bar.js': 589,
  'multi-bar.js': 5342,
  'options.js': 42,
  'single-bar.js': 2123,
  'terminal.js': 4123,
};

if (isMainThread) {
  const entries = Object.entries(files);
  for (const file of entries) {
    const worker = new Worker(__filename, { workerData: file });
    worker.on('message', (data) => {
      console.log('... OK', data);
    });
    worker.on('error', (err) => {
      console.log('[ERR]', err);
    });
    worker.on('exit', (code) => {
      if (code !== 0) {
        console.log(`Worker stopped with exit code ${code}`);
      }
    });
  }
} else {
  console.log('... making new bar', workerData);
  const bar = new ProgressBar(':bar', {
    total: workerData[1],
  });

  const timer = setInterval(() => {
    bar.tick();
    if (bar.complete) {
      clearInterval(timer);
    }
  }, 3);
}

facing exactly the same issue any updates on this?


Formalise / document process

It would be nice to have some documentation explaining how do we contribute / code review / version / release etc ... Basically, something like https://github.com/non/cats/blob/master/PROCESS.md
I believe we are not enough maintainers to ask for one sign-off for all changes. Maybe we could relax to:

all changes should be done via pull requests (i.e. no commit to master directly)
major PR require a :+1: for at least another maintainer. By major I mean a non binary compatible change or a significant addition (e.g. new module / typeclass)
minor contribution can be merged without :+1: if no one commented on the PR after 1 day???

All inputs are greatly appreciated, in particular but not only from @aoiroaoino and @NightRa

:+1: from me.
This has generally worked great up until now.
Doing everything via PRs notifies me on every change and gives chance for code reviews, which I really like :smiley:

Looks good to me :+1:


feat: updated release process

Description

a new typescript release CLI tool that will reuse and force push over the same release branch
this is also a step towards a self-service one click CD release process where ops can create a release branch from a github actions buttons, and codeowners can approve a release with one click
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[x] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #2452
Risk

we mess up a release or miss things in the flow. thankfully this is easier to maintain that bash
scripts.
Testing

requires engineering, not operations to test

start at main() and follow the logic through. any destructive operations (push or creating a GH PR are commented out), this can be safely tested locally.

Screenshots (if applicable)
n/a

LGTM from reading through the implementation and locally testing on a fork with the --dry-run flags still on everywhere.
Despite testing on a fork and making sure I don't have the org repo in my remotes, I'll give it a try with the dry-run flags off tomorrow for obvious "not breaking the repo" reasons

I've tested creating a release and having it push the branch and creating the PR
We can test tomorrow pushing against a fork and give it a real go Monday. We can also keep the old script and yarn scripts around for a few days to get some confidence


Add support for conan

This PR is used to accommodate the conan support PR for cesium-native

Instead of hardcode the absolute library name, I just check if the file paths in the third-party directory contains the library name. If it does, then we will use that lib path for unreal plugin. That is because in Conan, the name of the library is inconsistent. For example, tinyxml2 library can have the same name tinyxml2.lib for both debug and release build. However, spdlog can have spdlogd.lib for debug and spdlog.lib for release.
Remove the third-party directory whenever we do cmake install cesium-native. That prevents the above solution mixes debug and release build together
Add fmt lib to unreal since conan spdlog depends on it

TODO:

[ ] Fixes CI build to install conan

Thanks for the pull request @baothientran!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium for Unreal Samples works.

Thanks again for your contribution @baothientran!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @baothientran!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @baothientran!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @baothientran!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @baothientran!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @baothientran!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Thanks again for your contribution @baothientran!
No one has commented on this pull request in 30 days. Maintainers, can you review, merge or close to keep things tidy?
I'm going to re-bump this in 30 days. If you'd like me to stop, just comment with @cesium-concierge stop. If you want me to start again, just delete the comment.

Closing this draft PR due to its age. (over 1 year of inactivity).
From discussions with @kring, integrating conan was fairly difficult due to timing between conan versions and due to the framework itself. Ultimately, robust dependency management is still needed for both this repo and cesium-native, whether we use the latest conan version, VCPKG, or some other solution.


[Question]: How to use getHeaderActions

What happened?
I'm trying to let the user toggle the visibility of the different statuses. In order to do this, I'm adding a "Toggle Columns" action in the header but I must be missing something. I keep getting a 404 when I click on the button.
Any idea what's going on?
protected function getHeaderActions(): array
    {
        return [
            CreateAction::make()
                ->form([

                ])
                ->action(function (array $data): void {
                    //
                })
            ,
        ];
    }

How to reproduce the bug
Not really a bug.
Package Version
2.8.0
PHP Version
8.2
Laravel Version
11.4
Which operating systems does with happen with?
No response
Which browsers does with happen with?
No response
Notes
No response

Can you please create a reproduction repo?
I have boards with create actions and other actions without issues.
public array $statusesArray = [];

protected function statuses(): Collection
{
    return collect($this->statusesArray);
}

protected function getHeaderActions(): array
{
    return [
        \Filament\Actions\Action::make('add-status')
            ->action(function () {
                $this->statusesArray[] = [
                    'id' => 'something',
                    'title' => 'Something',
                ];
            }),
        CreateAction::make('create')
            ->model(static::$model)
            ->form([
                TextInput::make('name'),
            ]),
    ];
}

Thanks @mokhosh , please disregard. I was doing a findOrFail() in the boot (instead of mount()) that was messing everything up. Sorry for the noise! And thanks for this package.


HHH-11456 SequenceHiLoGeneratorTest fix for mssql

@gbadner please backport to 5.1 https://hibernate.atlassian.net/browse/HHH-11456

Applied upstream, thanks.


Toggle Frontmatter

🚀 The feature, motivation and pitch
Automatic frontmatter is very useful for notes in general, but it would be great to be able to toggle frontmatter on and off without editing the config file and restarting neovim.
Alternatives
No response
Additional context
No response

Hey @Jihillestad, couple ways you could accomplish I think:

set disable_frontmatter to a function which returns false when you don't want frontmatter, true otherwise, or
use obsidian.nvim's callback system to set client.opts.disable_frontmatter appropriately.


haproxy: undefined index 'style'

[25-Mar-2017 08:36:50 Europe/Berlin] PHP Notice:  Undefined index: style in /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_layout_partials_base_dialog.volt.php on line 66
[25-Mar-2017 08:36:50 Europe/Berlin] PHP Stack trace:
[25-Mar-2017 08:36:50 Europe/Berlin] PHP   1. {main}() /usr/local/opnsense/www/index.php:0
[25-Mar-2017 08:36:50 Europe/Berlin] PHP   2. Phalcon\Mvc\Application->handle() /usr/local/opnsense/www/index.php:26
[25-Mar-2017 08:36:50 Europe/Berlin] PHP   3. Phalcon\Mvc\View->render() /usr/local/opnsense/www/index.php:26
[25-Mar-2017 08:36:50 Europe/Berlin] PHP   4. Phalcon\Mvc\View->_engineRender() /usr/local/opnsense/www/index.php:26
[25-Mar-2017 08:36:50 Europe/Berlin] PHP   5. Phalcon\Mvc\View\Engine\Volt->render() /usr/local/opnsense/www/index.php:26
[25-Mar-2017 08:36:50 Europe/Berlin] PHP   6. Phalcon\Mvc\View\Engine\Volt->render() /usr/local/opnsense/www/index.php:26
[25-Mar-2017 08:36:50 Europe/Berlin] PHP   7. Phalcon\Mvc\View\Engine->partial() /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_haproxy_index.volt.php:623
[25-Mar-2017 08:36:50 Europe/Berlin] PHP   8. Phalcon\Mvc\View->partial() /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_haproxy_index.volt.php:623
[25-Mar-2017 08:36:50 Europe/Berlin] PHP   9. Phalcon\Mvc\View->_engineRender() /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_haproxy_index.volt.php:623
[25-Mar-2017 08:36:50 Europe/Berlin] PHP  10. Phalcon\Mvc\View\Engine\Volt->render() /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_haproxy_index.volt.php:623
[25-Mar-2017 08:36:50 Europe/Berlin] PHP  11. Phalcon\Mvc\View\Engine\Volt->render() /usr/local/opnsense/mvc/app/cache/_usr_local_opnsense_mvc_app_views_opnsense_haproxy_index.volt.php:623

@fichtner I don't get it. What's the issue? The message points to code that hasn't changed in a while. I've submitted a crash report, assuming this was caused by a recent commit in core.

I don't know. It's spamming the crash reporter log on page render. I couldn't find the same behaviour in the IPS or web proxy so I added it here.

@AdSchellevis I think https://github.com/opnsense/core/commit/1974000cec3869d35aba10944e753be97ebc5553 looks suspicious, because it tries to access field['style']. Could this be the reason for Undefined index: style?

@fraenki yes, that seems to be the issue here. replaced it for an "in"

thanks to both of you :)


Audio not switching when docked

Describe the bug
When I launch deck docked, or even try and disconnect and reconnect it, the audio is only available through speakers. I have to manually set it to hdmi every time.
What did you expect to happen?
Audio output switching automatically
Output of rpm-ostree status
No response
Hardware
Steam Deck OLED
Extra information or context
No response

Same


[Bug]: use Internvl2 generated content is incomplete

Your current environment
PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A
OS: CentOS Linux 7 (Core) (x86_64)
GCC version: (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Clang version: Could not collect
CMake version: version 3.30.2
Libc version: glibc-2.17
Python version: 3.10.14 (main, May  6 2024, 19:42:50) [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-3.10.0-1160.76.1.el7.x86_64-x86_64-with-glibc2.17
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA A10G
Nvidia driver version: 530.30.02
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True
CPU:
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    2
Core(s) per socket:    2
Socket(s):             1
NUMA node(s):          1
Vendor ID:             AuthenticAMD
CPU family:            23
Model:                 49
Model name:            AMD EPYC 7R32
Stepping:              0
CPU MHz:               2799.998
BogoMIPS:              5599.99
Hypervisor vendor:     KVM
Virtualization type:   full
L1d cache:             32K
L1i cache:             32K
L2 cache:              512K
L3 cache:              8192K
NUMA node0 CPU(s):     0-3
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc art rep_good nopl nonstop_tsc extd_apicid aperfmperf eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save
Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] pyzmq==26.1.0
[pip3] torch==2.4.0
[pip3] torchvision==0.19.0
[pip3] transformers==4.43.4
[pip3] triton==3.0.0
[conda] numpy                     1.26.4                   pypi_0    pypi
[conda] nvidia-nccl-cu12          2.20.5                   pypi_0    pypi
[conda] pyzmq                     26.1.0                   pypi_0    pypi
[conda] torch                     2.4.0                    pypi_0    pypi
[conda] torchvision               0.19.0                   pypi_0    pypi
[conda] transformers              4.43.4                   pypi_0    pypi
[conda] triton                    3.0.0                    pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.5.4
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0	CPU Affinity	NUMA Affinity
GPU0	 X 	0-3		N/A
Legend:
X    = Self
SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
PIX  = Connection traversing at most a single PCIe bridge
NV#  = Connection traversing a bonded set of # NVLinks
🐛 Describe the bug
sampling_params = SamplingParams(temperature=0, stop=["<|end|>"])
llm = LLM(model="OpenGVLab/InternVL2-2B", trust_remote_code=True, enforce_eager=True, max_model_len=4096, gpu_memory_utilization=0.9)
prompt = llm.get_tokenizer().apply_chat_template(
    [
        {"role": "system", "content": "Answer the question."},
        {"role": "user", "content": "<image>\nWhat is shown in the image?"},
    ],
    tokenize=False,
    add_generation_prompt=True,
)

image = Image.open(
    "/home/centos/linson/InternVL/test_datas/test_data_口红/口红_1_1.png"
)

inputs = {"prompt": prompt, "multi_modal_data": {"image": image}}
outputs = llm.generate(inputs, sampling_params=sampling_params)

for output in outputs:
    prompt = output.prompt
    generated_text = output.outputs[0].text
    print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")

output:
    Prompt: '<s><|im_start|>system\nAnswer the question.<|im_end|>\n<|im_start|>user\n<image>\nWhat is shown in the image?<|im_end|>\n<|im_start|>assistant\n', Generated text: 'The image shows two lip products. On the left is a lip balm,'

I tried the 2B and 8B models, the output appears to be interrupted and not complete, and the finish_reason = 'length'. How can I solve this problem?

You can increase the max_tokens in SamplingParams, it is set as 16 by default.

You can increase the max_tokens in SamplingParams, it is set as 16 by default.

Thank you. I set it as 1024, but the output over and over again.
Prompt: '<|im_start|>system\nAnswer the question.<|im_end|>\n<|im_start|>user\n\nWhat is shown in the image?<|im_end|>\n<|im_start|>assistant\n', Generated text: 'The image shows two lip products. On the left is a lip balm, and on the right is a lip gloss. Both products have a similar design, with a white base and a pink lip gloss on the right and a lip balm on the left. The lip balm has the text "Glasting Melting Balm" written on it.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.'

You can increase the max_tokens in SamplingParams, it is set as 16 by default.

Thank you. I set it as 1024, but the output over and over again.
Prompt: '<s><|im_start|>system\nAnswer the question.<|im_end|>\n<|im_start|>user\n<image>\nWhat is shown in the image?<|im_end|>\n<|im_start|>assistant\n', Generated text: 'The image shows two lip products. On the left is a lip balm, and on the right is a lip gloss. Both products have a similar design, with a white base and a pink lip gloss on the right and a lip balm on the left. The lip balm has the text "Glasting Melting Balm" written on it.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.\nThe image shows two lip products.'

I encountered the same issue as well, where I utilized the InternVL2-1B model. My code remained consistent with @linssonSUSUSU but I use vllm==0.5.5. In fact, I noticed that the models accelerated using VLLM not only tended to produce repetitive responses but also exhibited a significant decline in the quality of the generated answers. Below, I will provide an example to demonstrate this behavior.
For Image:

Answer with vllm:
he image is a graph with two plots, each for a different dataset. The x-axis is the iteration number, and the y-axis is the error percentage. The plots are for the datasets "plain-18" and "plain-34", and the "18-layer" and "34-layer" datasets. The plots are color-coded to differentiate the datasets. The graphs are for the 104th iteration of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of the 104th epoch of

Answer without vllm:
The image contains two graphs, each representing different datasets and their respective error rates over iterations (1e4). The graphs are plotted on a Cartesian coordinate system with the x-axis representing the number of iterations (1e4) and the y-axis representing the error rate percentage.

### Left Graph:
- **Title:** "error (%)"
- **X-axis:** "iter. (1e4)"
- **Y-axis:** "error (%)"
- **Legend:**
  - Blue line: "plain-18"
  - Red line: "plain-34"
- **Data Points:**
  - The blue line (plain-18) starts at a high error rate and decreases steadily over the iterations.
  - The red line (plain-34) starts at a lower error rate and also decreases steadily but at a slower rate compared to the plain-18 line.
  - Both lines converge towards the bottom of the graph, indicating a similar error rate over the iterations.

### Right Graph:
- **Title:** "error (%)"
- **X-axis:** "iter. (1e4)"
- **Y-axis:** "error (%)"
- **Legend:**
  - Blue line: "ResNet-18"
  - Red line: "ResNet-34"
- **Data Points:**
  - The blue line (ResNet-18) starts at a high error rate and decreases steadily over the iterations.
  - The red line (ResNet-34) starts at a lower error rate and also decreases steadily but at a slower rate compared to the plain-18 line.
  - Both lines converge towards the bottom of the graph, indicating a similar error rate over the iterations.

### Analysis:
- Both graphs show a similar trend of decreasing error rates over iterations.
- The error rates for both plain-18 and plain-34 datasets decrease steadily, but the rate of decrease is slower for the plain-34 dataset compared to the plain-18 dataset.
- The error rates for the ResNet-18 and ResNet-34 datasets also decrease steadily, but the rate of decrease is slower compared to the plain-18 dataset.
- The error rates for the plain-18 and plain-34 datasets converge towards the bottom of the graph, indicating a similar performance over the iterations.

### Conclusion:
The graphs demonstrate that both plain-18 and plain-34 datasets show a consistent decrease in error rates over iterations, but the rate of decrease is slower for the plain-34 dataset compared to the plain-18 dataset. The error rates for the ResNet-18 and ResNet-34 datasets also show a similar trend but are slower to decrease compared to the plain-18 dataset.

For Image:

Answer with vllm:
The image is a table that compares the performance of different machine learning models in a classification task. The table is in a Markdown format, with the columns and rows in a table. The table is as follows:

| method | top-5 localization err |
|-------|----------------------|
| OverFeat [40] (ILSVRC'13) | 30.0 |
| GoogLeNet [44] (ILSVRC'14) | - |
| VGG [41] (ILSVRC'14) | 26.9 |
| ours (ILSVRC'15) | 8.9 |

The table is a 2x2 matrix, with the rows and columns. The columns are the names of the machine learning models, and the rows are the names of the models and the metrics for the localization error in the top 5. The metrics are the average and the test error. The data is as follows:

1. OverFeat [40] (ILSVRC'13): 30.0, Test Error: 29.9
2. GoogLeNet [44] (ILSVRC'14): -, Test Error: 26.7
3. VGG [41] (ILSVRC'14): 26.9, Test Error: 25.3
4. ours (ILSVRC'15): 8.9, Test Error: 9.0

The table is a data summary of the localization error for the models in the ILSVRC'15 dataset.

Answer without vllm:
The image is a table that presents the results of a comparative analysis of different methods for localizing errors in a dataset. The table is organized into two main columns: "method" and "top-5 localization err." The "method" column lists the names of various methods, while the "top-5 localization err." column lists the error values for each method. The table also includes two rows for each method, one for the "val" and one for the "test" values.

Here is the detailed breakdown of the table:

| method | val | test |
|-------|-----|-----|
| OverFeat [40] (ILSVRC'13) | 30.0 | 29.9 |
| GoogLeNet [44] (ILSVRC'14) | - | 26.7 |
| VGG [41] (ILSVRC'14) | 26.9 | 25.3 |
| ours (ILSVRC'15) | 8.9 | 9.0 |

### Analysis and Description:

1. **OverFeat [40] (ILSVRC'13)**:
   - The top-5 localization error is 30.0.
   - The validation error is 29.9.
   - The test error is 29.9.

2. **GoogLeNet [44] (ILSVRC'14)**:
   - The top-5 localization error is -.
   - The validation error is 26.7.
   - The test error is 26.9.

3. **VGG [41] (ILSVRC'14)**:
   - The top-5 localization error is 26.9.
   - The validation error is 25.3.
   - The test error is 25.3.

4. **ours (ILSVRC'15)**:
   - The top-5 localization error is 8.9.
   - The validation error is 9.0.
   - The test error is 9.0.

### Observations:

- **OverFeat [40] (ILSVRC'13)** has the highest top-5 localization error of 30.0, which is significantly higher than the other methods.
- **GoogLeNet [44] (ILSVRC'14)** has the lowest top-5 localization error of -1, indicating it has the lowest error rate among the methods listed.
- **VGG [41] (ILSVRC'14)** has a middle-range top-5 localization error of 26.9, which is lower than the other methods.
- **ours (ILSVRC'15)** has the lowest top-5 localization error of 8.9, which is the lowest among the methods listed.

### Conclusion:

From the data presented in the table, it is evident that the method "OverFeat [40] (ILSVRC'13)" has the highest error rate in the top-5 localization errors, followed by "GoogLeNet [44] (ILSVRC'14)" and "VGG [41] (ILSVRC'14)." The lowest error rate is observed in "ours (ILSVRC'15)." The comparison indicates that "OverFeat [40] (ILSVRC'13)" may be more effective in localizing errors compared to the other methods listed.

For both methods, I set the max_tokens=1024. I find that answer generated without vllm is more organized and detailed. I wonder why sometimes the answer is repetitive, and why the generated quality is different.

@linssonSUSUSU Sorry for the delay reply. I have forgotten the message in notification.
@Ryan-Nightwish About the repetitive answer, you can try to increase the repetition_penalty in SamplingParams. And it's reported that the repetitive issue may also be related to the model training itself refer to InternVL#490.
Besides, the vision transformer implementation of InternVL models in vllm would have a numeric difference compared to hf currently. And this may affect the generated quality as well.


Pane title change breaks fzf on tmux 2.0

Category

[ ] fzf binary
[x] fzf-tmux script
[ ] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[ ] zsh
[x] fish

I'm running tmux 2.0, fish 2.3.0 on ubuntu 15.04,
fzf-tmux doesn't open the pane.
https://gfycat.com/ElasticIdolizedChupacabra
If I revert f074709, it works again.
The weird part is that tmux doesn't have any issues with printf '\033]2;fzf\033\\'; on its own.

@akashin Any idea?

Same issue, running Ubuntu 16.04, tmux 2.1-3build1, fish 2.2.0-676-g6a16bdb-1~wily

@akashin I'm going to have to revert the change until the issue is resolved.

Sure, I'll take some time to investigate the issue.


Add CentOS 8+9 to CI workflow ?

Affected Puppet, Ruby, OS and module versions/distributions

Puppet:
Ruby:
Distribution: CentOS
Module version:

How to reproduce (e.g Puppet code you use)
Consider adding CentOS 8+9 to CI workflow.  Currently covers CentOS 7 only.
What are you seeing

What behaviour did you expect instead
Output log
Any additional information you'd like to impart

CentOS 8 was added in #157.

Also, RHEL 9 was added in #168.


Produce boilerplate code

[DONE] README.rst
[DONE] INSTALL.rst and Poetry
[DONE] Django and docker-compose.yml
[DONE] pre-commit
[DONE] yapf
[DONE] flake8
[DONE] unittests
[DONE] Layer (dynaconf-like) settings
[DONE] Dockerfile
[DONE] Github workflows

@buckyroberts I think I have done with the biolerplate. Please, try it out. Specifically I would appreciate if you could follow all steps in INSTALL.rst and let me know if there are any issues. Ideally you should just do what is written in the exact order and it should work.

Oh, and I did not add Celery and other dependencies, because there is not Python code that depends on it. I will add all the dependencies as soon as I add the corresponding code.

Hi, I followed the steps in INSTALL.rst and I didn't have any issues. Just letting you know :)

@AbhayAysola thank you

@dmugtasimov is there some sort of feature documentation to look at at the moment or whats the plan for it

@zinoadidi you may review the content of https://github.com/thenewboston-developers/thenewboston-node/projects/1 project to have an idea

Please, contact @buckyroberts for the general roadmap of thenewboston


Update README sections on default ports (#70)

Checking if this is a simple docs fix?
In the README:
Note: port 3000 is used by default. If you're running via docker compose, the port will be `8000`.

I'm seeing that whether I run as mage run or docker compose up, I get bound on 8080; neither 3000 nor 8000.
I think this is because mage run in turn calls Docker Compose?
// Run the service via docker-compose
func Run() error {
	return sh.Run("docker-compose", "--project-directory", "build", "up")
}

Proposed PR to update docs if this is the case.

Codecov Report

Merging #70 (76b44c7) into main (8125f7a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #70   +/-   ##
=======================================
  Coverage   26.63%   26.63%
=======================================
  Files          13       13
  Lines         751      751
=======================================
  Hits          200      200
  Misses        521      521
  Partials       30       30

Continue to review full report at Codecov.

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


Updated to php-coveralls/php-coveralls

With version 2 package has been renamed from satooshi/php-coveralls to php-coveralls/php-coveralls, and the script has been renamed from coveralls to php-coveralls

@webimpress thanks for your contribution!


Fix broken IP script

The script in Use the network route to the Mesos master is not doing what is described.
Instead of returning the interface IP it returns the gateway IP. Also it defines a variable $MASTER_IP but never uses it. Instead the IP is duplicated in the command. The echo $() would also make it so the script always exits with code 0 even when no valid IP could be found.
This PR fixes that. Also if no MASTER_IP is specified it uses the IP of which ever interface is connected to a default gateway.
<EMAIL_ADDRESS>~]$ MASTER_IP=<IP_ADDRESS>
<EMAIL_ADDRESS>~]$ echo $(/usr/sbin/ip route show to match <IP_ADDRESS> | grep -Eo '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}' | tail -1)
<IP_ADDRESS>
<EMAIL_ADDRESS>~]$ echo $(ip r g ${MASTER_IP:-<IP_ADDRESS>} | awk 'BEGIN {ec=1} {if($6=="src") {print $7; ec=0; exit}} END {exit ec}')
<IP_ADDRESS>

Thank you, @lloesche!


[DeepSpeed-Chat]Add transform_inference sycl kernels to support hybrid-engine for DeepSpeed-Chat

This pr is to add transform_inference sycl kernels into idex to support hybrid-engine for DeepSpeed-Chat.

@delock @rogerxfeng8


Add helpful message when flexget series list is empty

When no series are tracked/configured the command flexget series list returns an empty list.
That is not to say flexget doesn't know about any series, they might simply be unconfigured. The series can be viewed with the flexget series list all (or flexget series list unconfigured) command.
Currently the output of flexget series list is:
$ flexget series list

lqqqqqqwqqqqqqqqwqqqqqwqqqqqqqqqqqqwqqqqqqqqqqqqqqqk
x Name x Latest x Age x Downloaded x Identified By x
mqqqqqqvqqqqqqqqvqqqqqvqqqqqqqqqqqqvqqqqqqqqqqqqqqqj
Use `flexget series show NAME` to get detailed information

Like the helpful note on how to get more detailed information, a similar note could be added on the three available filters ('configured', 'unconfigured', 'all'). This message could be made conditional on the list being empty.
Additionally the output could lead with which filter the list is shown to begin with. Something like:
$ flexget series list {,unconfigured,configured,all}
{Unconfigured,Configured,All} series are:
lqqqqqqwqqqqqqqqwqqqqqwqqqqqqqqqqqqwqqqqqqqqqqqqqqqk
x Name x Latest x Age x Downloaded x Identified By x
mqqqqqqvqqqqqqqqvqqqqqvqqqqqqqqqqqqvqqqqqqqqqqqqqqqj
Use `flexget series show NAME` to get detailed information
Use `flexget series show FILTER` to use different filter

Additional information:

Flexget Version: 2.10.10
Python Version: 3.5.2
Installation method: pip3
OS and version: Ubuntu 16.04

Would you mind assigning this one to me? Seems like something I can do and ease me into the project. Same for https://github.com/Flexget/Flexget/issues/1724 actually. I'll work on it beginning of next week.

Just post a pr then


css-loader 4 compatibility requires documentation

I've attempted to upgrade to to css-loader 4 in our local project but ran into the following error
ModuleNotFoundError: Module not found: Error: Can't resolve '~' in 'C:\git\test-project\src\styles'
    at C:\git\test-project\node_modules\webpack\lib\Compilation.js:925:10
    at C:\git\test-project\node_modules\webpack\lib\NormalModuleFactory.js:401:22
    at C:\git\test-project\node_modules\webpack\lib\NormalModuleFactory.js:130:21
    at C:\git\test-project\node_modules\webpack\lib\NormalModuleFactory.js:224:22
    at C:\git\test-project\node_modules\neo-async\async.js:2830:7
    at C:\git\test-project\node_modules\neo-async\async.js:6877:13
    at C:\git\test-project\node_modules\neo-async\async.js:2830:7
    at done (C:\git\test-project\node_modules\neo-async\async.js:2925:13)
    at C:\git\test-project\node_modules\webpack\lib\NormalModuleFactory.js:445:10
    at C:\git\test-project\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:213:14
    at C:\git\test-project\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:285:5
    at eval (eval at create (C:\git\test-project\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)
    at C:\git\test-project\node_modules\webpack\node_modules\enhanced-resolve\lib\UnsafeCachePlugin.js:44:7
    at C:\git\test-project\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:285:5
    at eval (eval at create (C:\git\test-project\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:15:1)
    at C:\git\test-project\node_modules\webpack\node_modules\enhanced-resolve\lib\Resolver.js:285:5

I tracked it down to https://github.com/jantimon/iconfont-webpack-plugin/blob/337f38cf1a9a7e479ce3bfccfa568984d228748a/lib/postcss-plugin.js#L161
I thought the way to fix it is to tell css-loader@4 not to interpret ~!!:
          {
            loader: 'css-loader',
            options: {
              // number of loaders to process before css-loader (i.e. postcss, sass-loader)
              importLoaders: 2,
              url: (url) => {
                // iconfont-webpack-plugin requires css-loader to be filtered out
                return url.startsWith('~!!');
              },
            },
          },

However this makes the url not parse at all. Any idea how to solve this?

OK I think I found it: https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md#-breaking-changes

inline syntax was changed, please write ~ before the file request, i.e. rewrite url(~!!loader!package/img.png) to url(!!loader!~package/img.png)

Hey @davidhouweling
you are right
https://github.com/jantimon/iconfont-webpack-plugin/blob/337f38cf1a9a7e479ce3bfccfa568984d228748a/lib/postcss-plugin.js#L161
is causing the issues.. I am happy that the css-loader is finally removing the modules option 👍


database/sql: Impossible to insert a jsonb field

What version of Go are you using (go version)?

$ go version
go version go1.11.1 windows/amd64

Does this issue reproduce with the latest release?
I haven't reproduced it with last version, at this moment, I can't upgrade it.
What operating system and processor architecture are you using (go env)?
go env Output
$ set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\XXXXX\AppData\Local\go-build
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\TFS\Go
set GOPROXY=
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=D:\TFS\Go\src\XXXXXXX\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\XXXXXXX\AppData\Local\Temp\go-build620489658=/tmp/go-build -gno-record-gcc-switches

What did you do?
Here is my main struct in this loop where StatsInfo and CheckinBookingInfo is working well parsing them in another calls..
type DataResponseTree struct {
	StartDate          string            `json:"startDate"`
	EndDate            string            `json:"endDate"`
	StatsInfo          *StatsResponse    `json:"statsInfo"`
	CheckinBookingInfo *BookingsResponse `json:"checkinBookingInfo"`
}

I'm trying to insert a jsonb field but I can't. I'm trying it like this
if i.Product.ProductDataResponse != nil {
for date, response := range i.Product.ProductDataResponse {
	responseJSON, err := json.Marshal(response)
	fmt.Print(string(responseJSON))
	if err == nil {
		// Guardamos las respuestas de stats e insights por fecha.
		insert := `
		INSERT INTO billing."ProductResponse"
		("date", "response", createdAt", "updatedAt", "productId")
		VALUES($1, $2, $3, $3, $4);`

		_, err := sql.Instance.DB.Exec(insert, date, string(responseJSON), now, i.Product.ID)
		if err != nil {
			return err
		}
	}
}

And the fmt line shows me a valid json
{
    "startDate" : "2019-06-01T00:00:00Z",
    "endDate" : "2019-06-30T23:59:59Z",
    "statsInfo" : {
        "stats" : {
            "report" : {
                "edges" : [
                    {
                        "node" : {
                            "statsData" : {
                                "operations" : [
                                    {
                                        "operation" : {
                                            "operationData" : {
                                                "code" : "Disponibilidad",
                                                "types" : [
                                                    "SEARCH"
                                                ],
                                                "api" : {
                                                    "code" : "hotel"
                                                }
                                            }
                                        },
                                        "totalHits" : 18867219,
                                        "trafficType" : "BASIC",
                                        "detailedHits" : [
                                            {
                                                "time" : 0,
                                                "code" : "207",
                                                "type" : "PROVIDER",
                                                "hits" : 290485
                                            },
                                            {
                                                "time" : 1171,
                                                "code" : "0",
                                                "type" : "OK",
                                                "hits" : 11238192
                                            },
                                            {
                                                "time" : 220,
                                                "code" : "102",
                                                "type" : "PROVIDER",
                                                "hits" : 12763
                                            },
                                            {
                                                "time" : 22407,
                                                "code" : "104",
                                                "type" : "COMMUNICATION",
                                                "hits" : 3042
                                            },
                                            {
                                                "time" : 20258,
                                                "code" : "105",
                                                "type" : "COMMUNICATION",
                                                "hits" : 1817
                                            },
                                            {
                                                "time" : 552,
                                                "code" : "204",
                                                "type" : "PROVIDER",
                                                "hits" : 7320865
                                            },
                                            {
                                                "time" : 31143,
                                                "code" : "3",
                                                "type" : "HUB",
                                                "hits" : 55
                                            }
                                        ]
                                    }
                                ]
                            },
                            "adviseMessage" : [
                            ]
                        }
                    }
                ]
            }
        }
    },
    "checkinBookingInfo" : {
        "bookings" : {
            "bookingsSummary" : null
        }
    }
}

But when I run the exec line, it throws me an error:

What am I doing wrong? Or someone can tell me if it's a bug from a non updated version?
This insert works perfectly through an IDE database.

For questions about Go, you might have better luck on a different forums: https://golang.org/wiki/Questions
Looking at this, I see a typo in ("date", "response", createdAt", "updatedAt", "productId"): createdAt is quoted in correctly, which is consistent with the error message you reported.
I would also suggest that you mention the database driver you are using (for example, lib/pq).

Hours trying to solve this insert, and is due the missing double quotes, but I was confused with the error message.
Many thanks @toothrot !

No problem. Glad it worked, good luck!


incorrect number of placeholders in list-box

list-box that corresponds to the arguments with nargs=-1 allows for entering exactly one value. I think we would like to change this behavior, so that any number of items can be entered.
Also note that attribute required matters.
When nargs=-1 and required=True, acceptable number of arguments is >=1
When nargs=-1 and required=False, acceptable number of arguments is >=0

Fixed in the recent update.


Network policies are created last

What this PR does / why we need it:
This is a temporary fix to enable smooth migration to the new NetPolicies for StatefulSets.
New network policies are applied for existing workload and Statefulsets might break and leave the Pods crashing indefinitely https://github.com/kubernetes/kubernetes/issues/67250
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

NONE

The policies are now deplyoed after SeedMonitoring, SeedLogging and ClusterAutoscaler.
This should be sufficient, right?

Yes, it's correct. Thanks!


CLI dspace stats-log-converter is failing with undefined configFile

Describe the bug
We are currently leaving legacy DSpace 5.X in favor of DS7 with completely new infrastructures. We had some statistical stored as logs that we want to recover and ingest it on the new system. But for the tests running so far, we can execute stats-log-converter command on DS5, but that same exact command doesn't work for DS7.
To Reproduce
Steps to reproduce the behavior:

Perform a

/dspace/bin/dspace stats-log-converter -n -v -i dspace.2015-12-17.log-20151222 -o dspace-converted

An exception occurs:
Exception: null
java.lang.NullPointerException
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:149)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:112)
        at java.base/java.io.FileReader.<init>(FileReader.java:60)
        at org.dspace.app.statistics.LogAnalyser.readConfig(LogAnalyser.java:986)
        at org.dspace.app.statistics.LogAnalyser.readConfig(LogAnalyser.java:956)
        at org.dspace.statistics.util.ClassicDSpaceLogConverter.main(ClassicDSpaceLogConverter.java:338)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:283)
        at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:134)
        at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99)

Expected behavior
Digging a little bit, the error is related with configFile that is set as null.
    /**
     * the configuration file from which to configure the analyser
     */
    private static String configFile;

and this call:
public static void readConfig() throws IOException {
    readConfig(configFile);
}

when configFile is undefined.
The expected result was a csv file with the extracted content ready to be used with:
[dspace]/bin/dspace stats-log-importer

for ingesting log data into Solr.
Related work
Link to any related tickets or PRs here

Hello, I work for Neki-IT and I would like to claim this issue.


Ignore module layers other than the first

We should be leaving room for forwards compatibility.  It would have been nice to use extra layers for source code, but that's not possible since we currently throw if multiple layers are found.
Removing this restriction for possible use in the future (if we're okay with breaking older clients, which won't handle new modules with multiple layers).
Microsoft Reviewers: Open in CodeFlow

Superseded


Is there documentation of the instruction pattern search syntax?

Hello,
I asked a developer to add support for Ghidra's instruction pattern search syntax (see https://github.com/SpriteOvO/sigmatch/issues/2) and I'm wondering if the existing syntax is documented anywhere (if not, could you consider this a request for some added documentation of it)?
Thanks,
Matt.

@emteere or @ryanmkurtz apologies for the ping, but do you have any info/update?

There are many pattern matching formats including formats for API methods in Ghidra.  What you use depends on what you are trying to match, and how automated you want to do it.
I took a look at your request in sigmatch.  Are you trying to create patterns in Ghidra and then use them in sigmatch?
Or are you trying to use sigmatch patterns in Ghidra in some way?
The instruction pattern searching capability in Ghidra you mention is more of a display of what will be searched for based on what has been specified to include in the instructions. The GUI uses API methods in Ghidra that tell you what bit mask/values are associated with different parts of the instruction, base instruction or operands, and also tags on the operands that describe the type of the operand value (register, scalar value, or address).
If you are trying to copy/paste these patterns, the format is fairly straight forward based on what options you have chosen and what parts of the instruction have been chosen to exclude.  The two base formats are hex view and binary view.

hex view, '[' ']' around anything that had to be specified as bits because they were more than a 4-bit value hi/low nibble.  Anything that is don't care is a '.', represent 4bits, anything inside the '[' ']' is 0, 1, or '.' is one bit don't care.
binary view, everything is binary value and either 0,1 or '.' for 1-bit don't care.
spaces separate each block byte value

There is also a script YaraGhidraGUIScript that uses that same underlying API, but formats the patterns in simple YARA rule format.  The match patterns will only handle hex values, YARA may handle bit patterns but this simple script doesn't, so if you choose to mask of something that is less than a 4-bit nibble, a "?" is don't care match for the entire nibble.  If a mask of an operand would cause 5-bits to be masked, then the entire 8-bit value would be masked.  Even a value could be encoded in bits spread across the entire instruction, which could have don't care "?" for the entire instruction.
You could write a python or JAVA script that outputs in any format you would like, or that reads in any format you would like and calls an API to search.
Ghidra also has many other searching mechanisms:

FID, a fidb of many full function patterns with address information masked off.  Used for identifying statically linked functions in a binary from a development toolchain, say MS Visual Studio
API methods to search given a set of patterns specified as mask/value pattern pairs, MemoryBytePatternSearcher
MemorySearch Dialog with with various formats to search, '.' or '?' means don't care for each character of the format, also allows regular expressions for bye pattern searching that is described in the online help regular expressions
Function start patterns in pattern .xml files that specify patterns and constraints to identify function starts and other types of patterns like thunks or in some rare cases special functions like switch/case done with a function.
probably others...

I took a look at your request in sigmatch. Are you trying to create patterns in Ghidra and then use them in sigmatch?
Or are you trying to use sigmatch patterns in Ghidra in some way?

I am using Ghidra for reverse engineering and I put a request into SigMatch to add the Ghidra style format so I can just hit the "copy" button once I have a good signature and paste it into code using sigmatch. The Sigmatch developer was asking if there was any documentation for the Ghidra format that they could reference in their own documentation for other users to use (as well as to develop against obviously), and since I didn't find any, I opened this request.
I think you've documented the format well enough in this issue, but it'd also be nice if that detail could be added to the "official" documentation somewhere.
Thanks,
Matt!


info of -> causes error.

I hope it'll get fixed someday

I also suffered from this error.
I hope this are getting fixed ASAP.

This should be fixed in v0.2.4 which I just published. Let me know if you still experience this issue.


Feature/organization

Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that you pass the basic style checks and unit tests by running mvn clean install

Coverage decreased (-0.4%) to 72.55% when pulling d24ee9e5dd86bea65741bad77cb70b42fd8c8629 on feature/organization into 19e20e3b8143891345c998fc4e4404f318430313 on develop.

Coverage decreased (-0.4%) to 72.553% when pulling 398729239d0e34d839e0880caeb13981ae8e13d3 on feature/organization into 19e20e3b8143891345c998fc4e4404f318430313 on develop.


Panic in cargo doc with resolver = "2" when indirectly depending on proc-macro2

Problem
cargo doc panics when run on crate A that depends on crate B, when crate B depends on proc-macro2. This does not happen when directly running cargo doc on crate B.

Error & Backtrace
thread 'main' panicked at 'activated_features for invalid package: features did not find PackageId { name: "proc-macro2", version: "1.0.24", source: "registry `https://github.com/rust-lang/crates.io-index`" } false

Stack backtrace:
   0: std::backtrace::Backtrace::create
   1: std::backtrace::Backtrace::capture
   2: cargo::core::resolver::features::ResolvedFeatures::activated_features_int
   3: cargo::core::compiler::unit_dependencies::new_unit_dep_with_profile
   4: cargo::core::compiler::unit_dependencies::compute_deps
   5: cargo::core::compiler::unit_dependencies::deps_of
   6: cargo::core::compiler::unit_dependencies::deps_of
   7: cargo::core::compiler::unit_dependencies::build_unit_dependencies
   8: cargo::ops::cargo_compile::create_bcx
   9: cargo::ops::cargo_compile::compile_ws
  10: cargo::ops::cargo_compile::compile
  11: cargo::ops::cargo_doc::doc
  12: cargo::commands::doc::exec
  13: cargo::cli::main
  14: cargo::main
  15: std::sys_common::backtrace::__rust_begin_short_backtrace
  16: std::rt::lang_start::{{closure}}
  17: std::rt::lang_start_internal
  18: _main', src/tools/cargo/src/cargo/core/resolver/features.rs:235:14
stack backtrace:
   0: _rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::option::expect_none_failed
   3: cargo::core::compiler::unit_dependencies::new_unit_dep_with_profile
   4: cargo::core::compiler::unit_dependencies::compute_deps
   5: cargo::core::compiler::unit_dependencies::deps_of
   6: cargo::core::compiler::unit_dependencies::deps_of
   7: cargo::core::compiler::unit_dependencies::build_unit_dependencies
   8: cargo::ops::cargo_compile::create_bcx
   9: cargo::ops::cargo_compile::compile_ws
  10: cargo::ops::cargo_compile::compile
  11: cargo::ops::cargo_doc::doc
  12: cargo::commands::doc::exec
  13: cargo::cli::main
  14: cargo::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Steps

Clone the minimal example at https://github.com/nerosnm/proc-macro-resolver-bug
Run cargo doc (or, more explicitly, cargo +nightly-2021-01-10 doc)

Possible Solution(s)
This looks similar to rust-lang/cargo#8774 to me, although from what I can tell it's not explicitly relying on any features specific to the new resolver.
Notes
Output of cargo version: cargo 1.51.0-nightly (329895f5b 2021-01-06)

@rustbot modify labels to: T-cargo

@rustbot modify labels to: T-cargo

@nerosnm Thanks for the clear report and reproduction.  I see what's going on, but it is uncovering some long festering problems with how cargo integrates with rustdoc.  I'll need to think about it for a bit to try to decide on the best course to take.

@nerosnm Thanks for the clear report and reproduction.  I see what's going on, but it is uncovering some long festering problems with how cargo integrates with rustdoc.  I'll need to think about it for a bit to try to decide on the best course to take.


WEBP support

Would be nice to have WEBP support.
http://www.stucox.com/blog/using-webp-with-modernizr/

+1


snake-game

Project title
snake-game
Project Description
Its a basics Javascript snake game using DOM Event.
Web stack
HTML, CSS, JavaScript.
Screenshot(mandatory)

Additional Context(mandatory)
Are you contributing under any open-source program ?
Yes, under Codepeak 2023.

@Surajit0573 Welcome to METAVERSE!!!!!!!
Please go through contributing.md before contributing.


Create Document

Imported the generic MARS document design as a foundation for further development

Just noticed it's lacking a gitignore, will add that before merging


[iOS, Google Maps] User location marker without transparency

I have this issue as well but on the simulator only, when running on a real device it looks fine.


cube3d.py quit button doesnt always work

have to press the quit button several times before it works
possible because you are getting all events in game loop and when it checks for pygame.QUIT in .event_loop, the event is already processed and missed

@TheBigKahuna353 Is the issue fix if not could you assign this to me I want to work on this.

@TheBigKahuna353  Is the issue fix? If not, could you assign this to me? I want to work on this.

@TheBigKahuna353 Is the issue fix? If not, could you assign this to me? I want to work on this.

i have worked on this issue and created a pull request
please see through it and let me know


[New game]: space invader

🎮 Game Request
Game logic and basic description
Space Invaders is a classic arcade game where the player controls a spaceship and must shoot down waves of invading alien ships.
Point down the features
Game points
When the player shoots down an alien, you can award them a certain number of points. The points earned per alien may increase as the game progresses to add more challenge and reward for higher levels.
Completing a level can reward the player with a bonus score.
can give the player a bonus score based on their shooting accuracy.
Select program in which you are contributing
No response
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @bcritgithub !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @bcritgithub!
We are already having a similar game request in #336 👀
Make sure you come up with a cool unique idea 😀
Waiting for your new game idea 💗.

Hey @bcritgithub ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Ability to login to bots without the "Bot" prefix

This is a pretty "hacky" solution, but you can make it so the end-user doesn't have to add the "Bot" prefix by doing a fallback if the token fails on user, add "Bot" infront and send the request again.
Shown here:
	case Token:
		session, loginError := discordgo.NewWithToken(login.tokenInput.GetText())
		if loginError != nil {
			session, loginError = discordgo.NewWithToken("Bot " + login.tokenInput.GetText())
		}
		login.sessionChannel <- &loginAttempt{session, loginError}

Hmm I'm not sure about this.
The bot prefix is required by the api and is technically part of a valid token, so i think it should remain a requirement.
It also could cause issues in the very rare case that a user and bot somehow get the same token (if that's even possible?)
This is nice for the user though in fairness.

A user and a bot can not get the same token due to the first part of the token being the (base64 encoded) User ID, but yeah I see what you mean by the requirement part. Just thought it could be a decent little change.

Well considering that your code will still accept API-correct tokens with the bot prefix I think that it makes sense to have for some user convenience.


Expose DefaultMemoryCreator in wasmtime_runtime's API

This exposes the standard implementation of RuntimeMemoryCreator in wasmtime_runtime's API and thus allows indirectly using  the handy but private MmapMemory implementation.
Exposing DefaultMemoryCreator in wasmtime-runtime seems mostly harmless. Feel free to reject this though and/or yell at me for not opening an issue first.

Memories can also be created with OnDemandInstanceAllocator (pub) which can fall back to DefaultMemoryCreator internally.
This requires passing in a Module though, which might not be relevant when looking to create memories.

FWIW the wasmtime-runtime crate is effectively a "private" crate which is not maintained from the perspective of having a pleasant-to-use API, instead it's existence is basically entirely for the wasmtime crate. In that sense while we could merge this now there's very little preventing a future refactoring from undoing this.
Is there any particular reason though why you're using wasmtime-runtime as opposed to wasmtime?

Is there any particular reason though why you're using wasmtime-runtime as opposed to wasmtime?

I'm experimenting with Cranelift and a toy JIT. wasmtime-runtime's catch_traps and MmapMemory have been very useful for this :slightly_smiling_face:

FWIW the wasmtime-runtime crate is effectively a "private" crate which is not maintained from the perspective of having a pleasant-to-use API, instead it's existence is basically entirely for the wasmtime crate. In that sense while we could merge this now there's very little preventing a future refactoring from undoing this.

^ This would be fine for me – I'm currently just rebasing this patch every once in a while and wanted to clean up git dependencies :)

Ok, sounds reasonable to merge in that case!


Added support for customizable termination timeout

Added a new terminate(long, TimeUnit) method in ServiceController

Thanks for working on this PR.


Implement basic COALESCE functionality

Will depend on https://github.com/dask/dask/pull/9563 and related dask-cudf work

Codecov Report

Merging #823 (2000932) into main (6844c74) will decrease coverage by 0.02%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##             main     #823      +/-   ##
==========================================
- Coverage   75.33%   75.31%   -0.03%
==========================================
  Files          72       73       +1
  Lines        3799     4026     +227
  Branches      678      727      +49
==========================================
+ Hits         2862     3032     +170
- Misses        804      827      +23
- Partials      133      167      +34

Impacted Files
Coverage Δ

dask_sql/physical/rex/core/call.py
80.16% <84.61%> (-1.17%)
:arrow_down:

dask_sql/physical/rel/logical/aggregate.py
90.10% <100.00%> (+0.10%)
:arrow_up:

dask_sql/physical/rex/core/literal.py
58.09% <0.00%> (-2.86%)
:arrow_down:

dask_sql/_version.py
32.76% <0.00%> (-1.13%)
:arrow_down:

dask_sql/physical/rel/custom/create_model.py
88.52% <0.00%> (-0.19%)
:arrow_down:

dask_sql/physical/utils/filter.py
77.84% <0.00%> (ø)

dask_sql/physical/rel/custom/create_experiment.py
96.15% <0.00%> (ø)

dask_sql/physical/rel/custom/metrics.py
25.00% <0.00%> (ø)

dask_sql/mappings.py
86.27% <0.00%> (+1.96%)
:arrow_up:

... and 2 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ChrisJar are the changes in https://github.com/dask/dask/pull/9563 only needed to enable this functionality on gpu's or is this needed for this functionality in general?

Those changes are actually not needed for this PR at all. I ended up taking a different path.


adding opensearch detail dashboard

Checklist

[ ] Issue(s) linked

@khushboo9024 Thanks I have made changes I will update the PR
Please review and merge as needed

@khushboo9024 Done with the changes
can we have this review and merged

@khushboo9024 Updated requested changes
Please review.


refactor: clean types & remove unused stuff

Please describe the changes this PR makes and why it should be merged:

Remove turbo dependencies and turbo.json config file because it's unused
Remove .npmrc that had strict-peer-dependencies=false, which is the default
Remove and fix some any types
Completely remove some types and packages/react/types.ts that were unused

Status

[x] Code changes have been tested against prettier, or there are no code changes
[x] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[x] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[x] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 10 (40.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 36.198%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/million/array.ts
1
2
50.0%

packages/compiler/react/evaluator.ts
3
8
37.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
1341

Relevant Lines:
3801

💛  - Coveralls

LGTM! thank you @QuiiBz  :)


Create and manage machine groups in Windows Defender ATP

on the docs page: https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-atp/machine-groups-windows-defender-advanced-threat-protection
The following remediation levels are described.

Remediation level for automated investigations
No remediation
Require approval (all folders)
Require approval (non-temp folders)
Require approval (core folders)
Fully automated

Could you provide a bit more detail what all folders, non-temp folders and especially "core-folders" means?

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

ID: c912a9f9-2198-07ff-3ecb-e4d025b7c958
Version Independent ID: 2781f02e-3869-498d-69fa-fc73d01ff661
Content: Create and manage machine groups in Windows Defender ATP
Content Source: windows/security/threat-protection/windows-defender-atp/machine-groups-windows-defender-advanced-threat-protection.md
Service: unspecified
GitHub Login: @mjcaparas
Microsoft Alias: macapara

Hi alexverboon,
Thank you for your feedback. We've recently updated this topic.
In the section "How threats are remediated" we've included a table with an explanation of the automation levels and its corresponding description.
Hope that helps!


docs: v.1.11.0: finalize CHANGELOG.md

Summary
#3576
First step before a release, marking all "Unreleased" changes in CHANGELOG.md as "v.11.0"
Testing Process
...
Checklist

[x] Review the contributing guidelines
[x] Add a reference to related issues in the PR description.
[ ] Update documentation if applicable.
[ ] Add unit tests if applicable.
[x] Add changes to the CHANGELOG if applicable.

@laurentsimon

I thin we should do the major version bump. I'll edit the bump to 2.0.0


How to access to matrices created with *SMAT?

Hi all,
I am a beginner with pyAnsys and I was wondering how to access to matrices created by the *SMAT command, for instance:
mapdl.run("*SMAT,Nod2Solv,D,IMPORT,FULL,file.full,NOD2SOLV")
I guess they are stored in the .full file but I don't see the vector name when I explore the .full file with xpl.
Thank you for your help.

Hi all,
I am a beginner with pyAnsys and I was wondering how to access to matrices created by the *SMAT command, for instance: mapdl.run("*SMAT,Nod2Solv,D,IMPORT,FULL,file.full,NOD2SOLV")
I guess they are stored in the .full file but I don't see the vector name when I explore the .full file with xpl.
Thank you for your help.

Hi,
These mapping operators are build on demand when calling the *SMAT command, they are not stored as this in the FULL files. Moreover, they cannot be manipulated and seen as sparse matrices ( export/print).
They are intended to be used with the *MULT command in MAPDL, as you can see in the ADPLMath documentation:

In PyMapdl, this could be something like:
n2b = mm.load_matrix_from_file(fname='file.full', mat_id='NOD2BCS')
...
mapdl.mult( m1=n2b.id, m2="VN", m3="VB")
Fred

Thanks @FredAns!


Support remote container(devcontainer)

Why
Easy setup for contributors.
What
Add remote container(.devcontainer)
Dockerfile vs Dockerfile.builder
Dockerfile is the nginx container after jekyll build. If you are using it in a development environment, I thought it would be appropriate to use Dockerfile.builder, which can run the jekyll server.
log

Running the postCreateCommand from devcontainer.json...

[13346 ms] Start: Run in container: /bin/sh -c jekyll server
Configuration file: /workspaces/opensource.microsoft.com/_config.yml
            Source: /workspaces/opensource.microsoft.com
       Destination: /workspaces/opensource.microsoft.com/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
                    done in 9.705 seconds.
 Auto-regeneration: enabled for '/workspaces/opensource.microsoft.com'
    Server address: http://<IP_ADDRESS>:4000
  Server running... press ctrl-c to stop.

Sorry, I try it. But, This extension does not work in the remote container.

The following was written on this marketplace
https://marketplace.visualstudio.com/items?itemName=Dedsec727.jekyll-run

I'm unable to actively develop & improve this extension to support macbook, github codespaces etc..

and, FYI https://github.com/Kanna727/jekyll-run/issues/33

@ShreyasJejurkar I think it's fine as it is.  What do you think?

Thanks @koudaiii for the PR and for @ShreyasJejurkar and @jamesiri  for helping test!


header issue

Hey everybody.  Here is my portfolio Scrolling below were portfolio pictures cross header is my problem yet. Header is transparent over that pictures. I also tried to embed background-size:cover to that pictures but failed. Don't mind to help me to fix my issue.
Thanks.

@RomaKushnir GitHub is not the place for code and project feedback. I would use one of the Gitter rooms as that is a better and suggested way to get feedback. Here is one of the rooms where you can feedback. Closing as not an issue with the FreeCodeCamp website. Happy coding!

Thanks
2016-10-22 4:26 GMT+03:00 Eric Leung<EMAIL_ADDRESS>
Closed #11316 https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11316.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/11316#event-832670634,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVzwXnebaDg3nsHT0lLHLQ-wiO4pkoB-ks5q2WYxgaJpZM4KdnBa
.


Do not require annotations for function parameters with defaults

Now this code fails with parameter a. Missing annotation
export const fn = (a = '') => {};

But a can be inferred based on type of default.
Class properties do not require annotations with initialized prop.
export class A {
  a = '';
}

The question is what type should flow infer from the default argument. Should it infer string as the type or the string literal ''? I assume it would use the same method it uses for typeof, but I'm not sure.

It should be consistent to class properties inferring.


Better handling of a lot of repositories in onboarding/settings

One user/org has 500+ repositories. We should tweak:

Height of repository row – making is tighter
Have scroll. Similar to how Github does it in the connect view for specific repositories.
Make sure the actions are always visible, i.e ability to continue/confirm despite a long list

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog :^)

Cleaning up our GitHub issues and closing stale issues unless they're related to current focus. They'll resurface if needed.


Feature Request: A way to group requests within a project

I'm using ARC extensively for a large API I'm writing. I have my API autogenerating an ARC project file that I can import so I can easily play with all of the requests it supports. Unfortunately, when there are potentially hundreds of requests in the same project, it gets cumbersome to navigate between requests without enforcing a naming convention (and even then requests are not consistently displayed in alphabetical order across multiple application loads). The ability to create something like a folder within a project in ARC would be most useful. One level of depth would be sufficient.

Hi,
Thank you for the feature request. It seems reasonable. I'll push it into the roadmap since later I'm planning to do some changes in projects.

This is already supported on project details screen and new version will have reorder option in the quick list in the navigation panel.


Add event OnCreateReservationOnBeforeCreateReservEntry into codeunit 925 "Assembly Header-Reserve"

Describe the request
The code should be like this:
procedure CreateReservation(var AssemblyHeader: Record "Assembly Header"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForReservEntry: Record "Reservation Entry")
var
    ShipmentDate: Date;
    IsHandled: Boolean;
begin
    IsHandled := false;
    OnBeforeCreateReservation(AssemblyHeader, Description, ExpectedReceiptDate, Quantity, QuantityBase, ForReservEntry, FromTrackingSpecification, IsHandled);
    if IsHandled then
        exit;

    if FromTrackingSpecification."Source Type" = 0 then
        Error(Text001);

    AssemblyHeader.TestField("Item No.");
    AssemblyHeader.TestField("Due Date");

    AssemblyHeader.CalcFields("Reserved Qty. (Base)");
    if Abs(AssemblyHeader."Remaining Quantity (Base)") < Abs(AssemblyHeader."Reserved Qty. (Base)") + QuantityBase then
        Error(
          Text000,
          Abs(AssemblyHeader."Remaining Quantity (Base)") - Abs(AssemblyHeader."Reserved Qty. (Base)"));

    AssemblyHeader.TestField("Variant Code", FromTrackingSpecification."Variant Code");
    AssemblyHeader.TestField("Location Code", FromTrackingSpecification."Location Code");

    if QuantityBase * SignFactor(AssemblyHeader) < 0 then
        ShipmentDate := AssemblyHeader."Due Date"
    else begin
        ShipmentDate := ExpectedReceiptDate;
        ExpectedReceiptDate := AssemblyHeader."Due Date";
    end;

    if AssemblyHeader."Planning Flexibility" <> AssemblyHeader."Planning Flexibility"::Unlimited then
        CreateReservEntry.SetPlanningFlexibility(AssemblyHeader."Planning Flexibility");

    IsHandled := false;
    OnCreateReservationOnBeforeCreateReservEntry(AssemblyHeader, Quantity, QuantityBase, ForReservationEntry, FromTrackingSpecification, IsHandled, ExpectedReceiptDate, Description, ShipmentDate);
    if not IsHandled then begin
      CreateReservEntry.CreateReservEntryFor(
        Database::"Assembly Header", AssemblyHeader."Document Type".AsInteger(),
        AssemblyHeader."No.", '', 0, 0, AssemblyHeader."Qty. per Unit of Measure",
        Quantity, QuantityBase, ForReservEntry);
      CreateReservEntry.CreateReservEntryFrom(FromTrackingSpecification);
    end;
    CreateReservEntry.CreateReservEntry(
      AssemblyHeader."Item No.", AssemblyHeader."Variant Code", AssemblyHeader."Location Code",
      Description, ExpectedReceiptDate, ShipmentDate, 0);

    FromTrackingSpecification."Source Type" := 0;
end;

[IntegrationEvent(false, false)]
local procedure OnCreateReservationOnBeforeCreateReservEntry(var AssemblyHeader: Record "Assembly Header"; var Quantity: Decimal; var QuantityBase: Decimal; var ForReservEntry: Record "Reservation Entry"; var FromTrackingSpecification: Record "Tracking Specification"; var IsHandled: Boolean; ExpectedReceiptDate: Date; Description: Text[100]; ShipmentDate: Date)
begin
end;

Additional context
This event is usefull for anyone want to execute manipulation on variabels before create "Reservation Entry". This is the same logic already present into codeunit 99000832,99000835 etc.. .
Internal work item: AB#538385

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 20959.


Support for other OLED drivers?

I shot myself a bit in the foot and accidentally bought an OLED with a SH1106  chip instead of a SSD1306 based one.
At least the pin out allows to solder it directly to my T-Beam (any idea where I can get a SSD1306 based OLED with VCC,GND,SCA,SCL pin out?).
It works if I use the library from https://github.com/nhatuan84/esp32-sh1106-oled
I'm no embedded dev, but shouldn't a more universal OLED library be used in which the display could be configured?

I wanted to reprogram my RDZSonde board with the lora-aprs-Tracker. Me too had the wrong display (the one from RDZSonde: with the color ILI9225 chip) for the tracker SW.
So I am interested too with the possebility of changing the type of display

Hi RipperFox,
How did you include the SH1106 libraries at Platformio ? I can´t find a correct way to include them at the platformio.ini, so I downloaded them and put the path of the library where it is saved at my computer but neither of both options work.

@xe2ad Huh, that was a while ago :)
I think I just downloaded the lib from https://github.com/nhatuan84/esp32-sh1106-oled and threw it in the src folder and modified the display.cpp a bit - see attached file
display.zip
t

@RipperFox , Thanks for your reply. In fact I had the libraries from nhatuan84 and just drag them into .pio/libdeps/ttgo-t-bea-v1 folder, seems it solved the way to include them into the tracker project. I replaced the original display.h file with the one you kindly sent and the issues i saw have gone. Now when I try to build the project I get the following error:

Do you have any clue about what it can be?
-David.

@RipperFox Many thanks for the display.h file !!!!
I drag the nhatuan84 libraries into the .pio/libdeps/ttgo-t-beam-v1 and that issue has gone.
At the beginning when I used your display.h, I got another error, related with a display_toggle variable... at the end I commented that variable and the display started to work!
Thanks again for your help!
-David.


fix(Field service reports): bug preventing page to open

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


Created Shortcuts. Window States

Issue #9

Set shortcuts for the following:

Load - Ctrl+L
Save - Ctrl+S
New Scene - Ctrl+N
Close - Ctrl+W
Maximize - Ctrl+F
Minimize - Ctrl+M

Created a window submenu that contains an options for minimizing and maximizing the window.
Clicking Maximize, or pressing the shortcut, will maximize the window. Will usmaximize if already maximized.
Clicking Maximize, or pressing the shortcut, will minimize the window.

Absolutely stellar work. Thank you!

I got the release up. https://github.com/lettucegoblin/pureref-gif-support/releases/tag/v1.0.3-alpha
Took a bit because I wanted to automate the build process in the cloud.


Eslint rule for wrapping your component with view.

The documentation explains pretty well why:

Wrap ALL of your components with view - including class and function ones - even if they don't seem to directly use a store.

I think it's pretty easy to miss adding this view hoc  when you write hundred of components. My question is: Is there an eslint rule which exists to warn you that you forgot to add this extra view?
It could be nice to have although I'm not sure how hard it will be to implement that.

Not yet, it is on the roadmap though. The focus of the next releases will be best practices and enforcing them. We will probably add a linter, strict mode (if something can not be enforced by the linter), an 'idiomatic easy state' docs and eventually a proper dev tool.

I'm not sure how hard it will be to implement that.

I have no idea yet either, I will let you know when the linter is finally released 😄


SASS code of decodeBBoxesOpt

I would like to see the SASS code of a kernel called decodeBBoxesOpt_kernel via nvdisasm, but it doesn't work.
According to the command below, the kernel name appears in the following files:
$ grep -r decodeBBoxesOpt_kernel build/
Binary file build/plugins/NMSOptPlugin/libnmsoptplugin.so matches
Binary file build/plugins/NMSOptPlugin/CMakeFiles/nmsoptplugin.dir/src/decodeBBoxesOpt.cu.o matches

However, I get the following error with nvdisasm
$ nvdisasm build/plugins/NMSOptPlugin/libnmsoptplugin.so
nvdisasm fatal   : build/plugins/NMSOptPlugin/libnmsoptplugin.so is not a supported Elf file

Any thoughts on that?

@mahmoodn We can only provide support for reproducing the benchmarking results.

@rnaidu02 Can we close this issue? Thanks.


Push support

I got it working adapting the code from SAP.
Is it ok to publish and create a PR?

"adapting" ?

Renamed cl_* to zcl_*, removed references to logging and scheduling classes,...
The whole thing was done like that, but if sap does it is fine, I don't have any right on that code.
I wouldn't mind coding my own, but to make it compatible I would end up with very similar code anyway, expecially for the transformations

@absap

@marcellourbani please feel free to create a PR.
I'll add you as a collaborator on this project.

@absap
What I mean is that I adapted the code from cloud platform: same logic and structure, added a z to abapgit objects, adapted the sap branded abapgit to mainstream one.
The rest of this code looks like it originated the same way, but  but I wouldn't post code originated from SAP on a public repository without permission. I didn't even push it on my own repo until I got this answer, and will remove it immediately if there was a misunderstanding

Frankly speaking, I would have done it the same way.
I'll be working on a solution that would hopefully suit everyone.
Until it's available, it's fine for me to continue this way

cool
@marcellourbani in https://github.com/abapGit/ADT_Backend/tree/lint#requirements it mentions specific version, is this still true? or does it now work with latest?

Not sure, tried a pull on my 750 and failed, although I didn't touch that code (yet)
Will have a look later


Make much less verbose builds, when not VERBOSE

Conform to CMake convention of setting mypackage_FIND_QUIETLY.
Do some pkgconfig with QUIET.
Fix some warnings that were clutting output.
When you build with VERBOSE=1, it's still as verbose as always.

The amount of console output diminishes further when using CMake 3.x -- it seems 2.8 still has a lot of code on its side that generates needless console output, which is better guarded in 3.x by appropriate "if" statements.

This also includes some other minor changes just to sync up some parts of the build scripts between oiio and osl, where equivalent functionality was expressed in different ways. A little bit of xxdiffing later and they are somewhat closer to each other.


[upstream-update] Update Swift for addition of clang::BuiltinType::Float16

[upstream-update] Update Swift for addition of clang::BuiltinType::Float16
rdar://33713560

@swift-ci smoke test and merge

I don't think the linux failure is from this commit. It is a linker failure.


Fix Azure compute driver to allow adding maximum number of disks when LUN is unspecified

Fix Azure compute driver to allow adding maximum number of disks when LUN is unspecified
Description
When the LUN is unspecified in the attach_volume method, it finds the lowest available number to attach the volume to. The maximum number of data disks on an Azure VM is 64, which means LUNs can range from 0 to 63.
The current logic to figure out the LUN iterates from 0 to 62: for lun in range(0, 63). When you try to add the Nth device where N = maximum number of data disks allowed for that instance size, this code raises LibcloudError("No LUN available to attach new disk.").
This PR fixes this to ensure the last LUN is usable.
Status

done, ready for review

Checklist (tick everything that applies)

[x] Code linting (required, can be done after the PR checks)
[x] Documentation
[] Tests
[x] ICLA (required for bigger changes)

Codecov Report

Merging #1372 into trunk will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##            trunk    #1372      +/-   ##
==========================================
+ Coverage   86.34%   86.34%   +<.01%
==========================================
  Files         372      372
  Lines       76156    76156
  Branches     6971     6971
==========================================
+ Hits        65755    65757       +2
+ Misses       7605     7604       -1
+ Partials     2796     2795       -1

Impacted Files
Coverage Δ

libcloud/compute/drivers/azure_arm.py
55.92% <100%> (ø)
:arrow_up:

libcloud/test/compute/test_upcloud.py
91.39% <0%> (+1.32%)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks for the contribution.
LGTM, but it would also be good to add a test case for this change.
/cc @c-w

@Kami I have extended test_attach_volume, although I think the travis build is hung again.

Merged.
Thanks for the contribution :+1:


form_fiss_site data import things to note

A few important things to note when we read the fiss data in:

Upstream and downstream surveys for site 2200799 are NOT in mergin but they are on paper cards. I remember I had an issue getting the fiss site mergin form to show up so I just did a paper card (the problem was I was in the wrong project theme)
Site data for electrofishing on site 125231 (trib to parsnip) is located in a different project file called form_fiss_site_20230828. Make sure to read in all fiss_site files when reading in data.

Just making a note of this here so we don't forget, will close once all the data is in.

Upstream and downstream survey for site 2200799 has now been added to new amalgamated geopackage file in Q (form_fiss_site_20231027.gpkg).

restructureing fiss_site_tidy.R to do as much cleaning as possible before reburn to gpkg in Q


Allow sqlite etc.

Installing postgresql and setting up a database might be too hard for some users. Enable support for other databases and make it easier to install and run the service.

SQLite has concurrency issues, try H2 instead?


Test Spring Boot 3.2.0-M2

Description
Test Spring Boot 3.2.0-M2
All SDK Contribution checklist:

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

General Guidelines and Best Practices

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

Testing Guidelines

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

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


Fix fact output schema

pls. add test in order to prove, you found an bug & fixed it like:
https://github.com/DomainDrivenArchitecture/dda-serverspec-crate/commit/be99a2e87d93217aff5d4411e2813869d54b42d6
As u see, we've many open schema issues. Do you want to fix em all?