Error while loading mixtral instruct

Hello,
I get this error when I try to load the mistralai/Mixtral-8X7B-Instruct-v0.1 model into the latest container with 2 A100s... Is it related to the hugginface key? I've run out of ideas!
/(RayWorkerVllm pid=1334) tensors:  98%|█████████▊| 4.89G/4.98G [04:23<00:09, 9.86MB/s]
(RayWorkerVllm pid=1334)
(RayWorkerVllm pid=1334) tensors:  98%|█████████▊| 4.90G/4.98G [04:24<00:07, 12.2MB/s]
(RayWorkerVllm pid=1334) tensors:  98%|█████████▊| 4.91G/4.98G [04:24<00:04, 15.1MB/s]
(RayWorkerVllm pid=1334) tensors:  99%|█████████▊| 4.92G/4.98G [04:24<00:03, 18.7MB/s]
model-00009-of-00019.safetensors: 100%|██████████| 4.98G/4.98G [04:28<00:00, 18.6MB/s]
Traceback (most recent call last): 99%|█████████▉| 4.94G/4.98G [04:25<00:01, 26.4MB/s]
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main0:01, 30.0MB/s]
return _run_code(code, main_globals, None,██▉| 4.97G/4.98G [04:27<00:00, 37.0MB/s]
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code8G [04:27<00:00, 12.9MB/s]
exec(code, run_globals)
File "/workspace/vllm/entrypoints/openai/api_server.py", line 729, in
engine = AsyncLLMEngine.from_engine_args(engine_args)
File "/workspace/vllm/engine/async_llm_engine.py", line 496, in from_engine_args
engine = cls(parallel_config.worker_use_ray,
File "/workspace/vllm/engine/async_llm_engine.py", line 269, in init
self.engine = self._init_engine(*args, **kwargs)
File "/workspace/vllm/engine/async_llm_engine.py", line 314, in _init_engine
return engine_class(*args, **kwargs)
File "/workspace/vllm/engine/llm_engine.py", line 108, in init
self._init_workers_ray(placement_group)
File "/workspace/vllm/engine/llm_engine.py", line 195, in _init_workers_ray
self._run_workers(
File "/workspace/vllm/engine/llm_engine.py", line 755, in _run_workers
self._run_workers_in_batch(workers, method, *args, **kwargs))
File "/workspace/vllm/engine/llm_engine.py", line 732, in _run_workers_in_batch
all_outputs = ray.get(all_outputs)
File "/usr/local/lib/python3.10/dist-packages/ray/_private/auto_init_hook.py", line 24, in auto_init_wrapper
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/ray/_private/worker.py", line 2563, in get
raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(ChunkedEncodingError): ray::RayWorkerVllm.execute_method() (pid=1334, actor_id=0eaf3e9a36f1ca115ba4106101000000, repr=<vllm.engine.ray_utils.RayWorkerVllm object at 0x7f477f445840>)
File "/usr/local/lib/python3.10/dist-packages/urllib3/response.py", line 833, in _raw_read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
urllib3.exceptions.IncompleteRead: IncompleteRead(2720359157 bytes read,<PHONE_NUMBER> more expected)
The above exception was the direct cause of the following exception:
ray::RayWorkerVllm.execute_method() (pid=1334, actor_id=0eaf3e9a36f1ca115ba4106101000000, repr=<vllm.engine.ray_utils.RayWorkerVllm object at 0x7f477f445840>)
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 816, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "/usr/local/lib/python3.10/dist-packages/urllib3/response.py", line 934, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python3.10/dist-packages/urllib3/response.py", line 905, in read
data = self._raw_read(amt)
File "/usr/local/lib/python3.10/dist-packages/urllib3/response.py", line 811, in _raw_read
with self._error_catcher():
File "/usr/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.10/dist-packages/urllib3/response.py", line 729, in _error_catcher
raise ProtocolError(f"Connection broken: {e!r}", e) from e
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(2720359157 bytes read,<PHONE_NUMBER> more expected)', IncompleteRead(2720359157 bytes read,<PHONE_NUMBER> more expected))
During handling of the above exception, another exception occurred:
ray::RayWorkerVllm.execute_method() (pid=1334, actor_id=0eaf3e9a36f1ca115ba4106101000000, repr=<vllm.engine.ray_utils.RayWorkerVllm object at 0x7f477f445840>)
File "/workspace/vllm/engine/ray_utils.py", line 31, in execute_method
return executor(*args, **kwargs)
File "/workspace/vllm/worker/worker.py", line 79, in load_model
self.model_runner.load_model()
File "/workspace/vllm/worker/model_runner.py", line 57, in load_model
self.model = get_model(self.model_config)
File "/workspace/vllm/model_executor/model_loader.py", line 72, in get_model
model.load_weights(model_config.model, model_config.download_dir,
File "/workspace/vllm/model_executor/models/mixtral.py", line 407, in load_weights
for name, loaded_weight in hf_model_weights_iterator(
File "/workspace/vllm/model_executor/weight_utils.py", line 198, in hf_model_weights_iterator
hf_folder, hf_weights_files, use_safetensors = prepare_hf_model_weights(
File "/workspace/vllm/model_executor/weight_utils.py", line 155, in prepare_hf_model_weights
hf_folder = snapshot_download(model_name_or_path,
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/_snapshot_download.py", line 238, in snapshot_download
thread_map(
File "/usr/local/lib/python3.10/dist-packages/tqdm/contrib/concurrent.py", line 69, in thread_map
return _executor_map(ThreadPoolExecutor, fn, *iterables, **tqdm_kwargs)
File "/usr/local/lib/python3.10/dist-packages/tqdm/contrib/concurrent.py", line 51, in _executor_map
return list(tqdm_class(ex.map(fn, *iterables, chunksize=chunksize), **kwargs))
File "/usr/local/lib/python3.10/dist-packages/tqdm/std.py", line 1170, in iter
for obj in iterable:
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 621, in result_iterator
yield _result_or_cancel(fs.pop())
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 319, in _result_or_cancel
return fut.result(timeout)
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 458, in result
return self.__get_result()
File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
raise self._exception
File "/usr/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/_snapshot_download.py", line 213, in _inner_hf_hub_download
return hf_hub_download(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1461, in hf_hub_download
http_get(
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 541, in http_get
for chunk in r.iter_content(chunk_size=DOWNLOAD_CHUNK_SIZE):
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 818, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(2720359157 bytes read,<PHONE_NUMBER> more expected)', IncompleteRead(2720359157 bytes read,<PHONE_NUMBER> more expected))
Thanks for your help !

Voici mon docker-compose :
version: '3'
services:
vllm-openai:
#privileged: true
image: vllm/vllm-openai:latest
environment:
- HUGGING_FACE_HUB_TOKEN=
ports:
- "8000:8000"
ipc: host
volumes:
- /var/lib/vllm/cache/huggingface:/root/.cache/huggingface
command: ["--chat-template", "vllm.entrypoints.openai.api_server", "--model", "mistralai/Mixtral-8x7B-Instruct-v0.1", "--dtype", "half", "--gpu-memory-utilization", "1", "--load-format", "safetensors", "--tensor-parallel-size", "2", "--worker-use-ray"]
#    environment:
#- NVIDIA_VISIBLE_DEVICES=all
#- NVIDIA_DRIVER_CAPABILITIES=compute,utility
runtime: nvidia
deploy:
resources:
#limits:
#memory: 15g
#reservations:
#          memory: 2g
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]

I guess the download failed. You could try removing the downloaded files and retry.

Probably after restarting, it works but this problem is not very clear, it looks like network congestion.


First adaption to Langkah

Add annotation.py
Rename files and directory
Update app.py
Remove sense2vec

unforgivable error from me. The pull request should not exist.

Very forgivable!
Good luck with your project -- feel free to ask any questions; I know the code in this repo is quite dusty and can be confusing.


nixos/doc: convert "6.1. Declarative Package Management" to CommonMark

Motivation for this change

Close #128222
Close #128225

Things done
Do conversion of nixos/doc/manual/configuration/adding-custom-packages.xml and nixos/doc/manual/configuration/customizing-packages.xml from DocBook to CommonMark per RFC 72.

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/happy-docsgiving/10214/29

Will update all options links (if any) to only use the URI fragment tomorrow.


Does this work with 5.1 ?

I have an empty panel in my UE5.1 project. The .cpp -> .h switch feature is working nicely. The Toolbar and doc search are not. Thanks for your plugin! I am excited to use it. If there is more information I can provide please let me know.
UE: 5.1.0
Vs Code:
Version: 1.74.3 (user setup)
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:59:02.252Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
Sandboxed: No

Hello,
I've just check, and this is happening to me too. (I'm currently doing web so I haven't check for a while 😄)
I'll be fixing this when I have some time.
Thanks for your time.

@hcabel thanks for the reply!

Hello @CiscoKidxx,
I've just fixed the issue in the new version (1.1.1).
Something about the content policy may have change, the way I was loading my script were violated this policy and because of that they were blocked.
Anyway hope it work fine for you now. (it should)
Have a nice day.


How do I get the K8S master FQDN programmatically

I looked at client-go and kubernetes libraries and couldnt find the answer

Is this for a k8s cluster created by a template generated from acs engine?

I used the following to create the k8s cluster on acs.
az acs create -n xxx -g yyy --generate-ssh-keys --location eastus --agent-vm-size Standard_DS2_v2 --orchestrator-type kubernetes
After that, I have been using client-go and kubectl:

@JackQuincy any update on this? this looks to be an ACS question. I will close the issue of no objections.

I needing it too.
I'd created a private K8S cluster and I'd like to scale down the agent pool, but I got the error:
FATA[0013] master-FQDN is required to scale down a kubernetes cluster's agent pool

How to get the FQDN?


Class autocompletion doesn't work without 'use' keyword

That's something what is missing I think. When I have class like App\Entities\Order and I just type Order, I don't get anything unless I type 'use' keyword before. It wouldn't be a problem if I could do 'find use' and it would automatically add it to other use lines and leave 'Order' in current line. Is there a chance to enable that autocompletion without use keyword at least?

@golaod can you provide more examples?

Sure.
Let's say I have App\Entities\ConnectorFailedJob
and then somewhere in the code I type
namespace App\Console\Commands;

class MyCommand
{
    public function run()
    {
        ConnectorF // I expect to get hint with App\Entities\ConnectorFailedJob, but I don't get it

        // although I can get it when typing
        use ConnectorF // here it works, but of course it's pointless

        // because I will get
        use App\Entities\ConnectorFailedJob;
    }
}

Of course again it wouldn't be a problem if, for istance, 'find use' command would automatically change that line to:
namespace App\Console\Commands;

use App\Entities\ConnectorFailedJob;

class MyCommand
{
    public function run()
    {
        ConnectorFailedJob
        // or even better, that I don't have to type 'use' in the middle of the code
        // because would be great to have autocompletion of classes and FQCN anywhere
    }
}

@golaod are you using master version?

so, understood. The fix could be quite easy: we just need to add classes to this map https://github.com/mkusher/padawan.php/blob/master/src/Padawan/Domain/Completer/GlobalFunctionsCompleter.php

Thanks for the info, but I can't use master version.
golaod@golaod-desktop:~/.composer$ composer global require mkusher/padawan:master
Changed current directory to /home/golaod/.composer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: react/http[dev-master, v0.4.1].
    - Can only install one of: react/http[v0.4.1, dev-master].
    - Can only install one of: react/http[dev-master, v0.4.1].
    - don't install react/http dev-master|don't install react/react v0.4.1
    - mkusher/padawan dev-master requires react/http dev-master -> satisfiable by react/http[dev-master].
    - Installation request for mkusher/padawan master -> satisfiable by mkusher/padawan[dev-master].
    - Installation request for react/http (locked at v0.4.1) -> satisfiable by react/http[v0.4.1], react/react[v0.4.1].

Any suggestions?

@golaod why do you need global react/http v0.4.1?

I don't need it. I just install your package with composer global require mkusher/padawan:master

@golaod can you remove it completely and then install again?
$ composer global require mkusher/padawan:dev-master

~/.composer$ composer global require mkusher/padawan:dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: react/http[dev-master, v0.4.1].
    - Can only install one of: react/http[v0.4.1, dev-master].
    - Can only install one of: react/http[dev-master, v0.4.1].
    - mkusher/padawan dev-master requires react/http dev-master -> satisfiable by react/http[dev-master].
    - Installation request for mkusher/padawan dev-master -> satisfiable by mkusher/padawan[dev-master].
    - Installation request for react/http (locked at v0.4.1) -> satisfiable by react/http[v0.4.1].

Installation failed, reverting ./composer.json to its original content.

@golaod can you show your global composer.json?

cat composer.json
{
    "require": {
        "mkusher/padawan-di": "^0.1.1",
        "pbogut/padawan-magento": "dev-master"
    },
    "minimum-stability": "dev"
}

@golaod please, try following:
$ composer global remove react/react
$ composer global require mkusher/padawan:dev-master

Thank you very much, that one helped. Now let me check, whether namespaces work in the middle of code.

Nope, still doesn't autocomplete.

@golaod now only global functions will work, in order to complete fqcn we need to add this fix to the completer

I added it manually to your code, but right now with dev-master even use statement at the top of the file doesn't populate popup with classes

And if you wanna ask whether padawan-server is working. It does, because doing $this-> inside a method  populates the popup.

Hm...during further tests I found out that $this-> is not populated by your module, but by sublime. In that case padawan stopped working at all :(

@golaod run padawan generate from the root dir of your project.
I've also sent https://github.com/mkusher/padawan.php/pull/64

I run padawan generate, I did the same in sublime, but it still doesn't autocomplete classes at the top of the file when writing along with 'use' keyword, doesn't autocomplete inherited methods on $this->, and #64 has a bug

@golaod yeah, I see the bug.

Yes I did.

ooh, that's strange. Can you debug it with nc(show me request/response)?

Any suggestion on how to debug it?

Nvm, I figured out to catch the request first and then send it over

Request sent by sublime
POST /complete?path=%2Fhome%2Fgolaod%2Fwww%2Fsmartstock&column=16&line=36&filepath=%2Fmodules%2FOrder%2FEntities%2FOrderItem.php HTTP/1.1
Accept-Encoding: identity
Host: <IP_ADDRESS>:15155
Content-Length: 971
Content-Type: application/x-www-form-urlencoded
User-Agent: Python-urllib/3.3
Connection: close

<?php
namespace Modules\Order\Entities;

use App\Connectors\Traits\ConnectorModelColumns;
use App\Entities\Product;
use App\Traits\ModelHelpers;
use Illuminate\Database\Eloquent\Model;

class OrderItem extends Model
{
    use ModelHelpers, ConnectorModelColumns;

    protected $fillable = [
        'order_id', 'product_sku', 'qty', 'connector_id', 'external_id', 'external_data',
    ];

    protected $casts = [
        'order_id'   => 'int',
        'qty'        => 'int',
        'connector_id'  => 'int',
        'external_data' => 'array',
    ];

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

    public function order()
    {
        return $this->hasOne(Order::class, 'id', 'order_id');
    }

    public function product()
    {
        $this->
        return $this->hasOne(Product::class, 'sku', 'product_sku');
    }

    public function getNameAttribute()
    {
        return $this->product ? $this->product->name : '';
    }
}

As I couldn't use it to send it over to padawan-server through nc, so I built curl request
curl -XPOST -d '<?php
namespace Modules\Order\Entities;

use App\Connectors\Traits\ConnectorModelColumns;
use App\Entities\Product;
use App\Traits\ModelHelpers;
use Illuminate\Database\Eloquent\Model;

class OrderItem extends Model
{
    use ModelHelpers, ConnectorModelColumns;

    protected $fillable = [
        'order_id', 'product_sku', 'qty', 'connector_id', 'external_id', 'external_data',
    ];

    protected $casts = [
        'order_id'   => 'int',
        'qty'        => 'int',
        'connector_id'  => 'int',
        'external_data' => 'array',
    ];

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

    public function order()
    {
        return $this->hasOne(Order::class, 'id', 'order_id');
    }

    public function product()
    {
        $this->
        return $this->hasOne(Product::class, 'sku', 'product_sku');
    }

    public function getNameAttribute()
    {
        return $this->product ? $this->product->name : '';
    }
}' '<IP_ADDRESS>:15155/complete?path=%2Fhome%2Fgolaod%2Fwww%2Fsmartstock&column=16&line=36&filepath=%2Fmodules%2FOrder%2FEntities%2FOrderItem.php'

It gets me response
{"completion":[],"context":[]}

And padawan server throws an error
[2016-09-09 14:34:19] completer.ERROR: exception 'PhpParser\Error' with message 'Syntax error, unexpected ',', expecting '(' on line 21'

@golaod thx, will try to debug it later

@golaod yeah, I've found the problem - wrong content-type header. I've already fixed it in https://github.com/mkusher/padawan.sublime/commit/46152ec32a82da57526f9cb77921a610b6b42071
so can you update your padawan plugin for sublime(maybe I have to make new tag\release?)?

Thanks for fixing the header as I was able to use nc to send request.
nc <IP_ADDRESS> 15155 < request.log
HTTP/1.1 200 OK
X-Powered-By: React/alpha
Content-Type: application/json
Transfer-Encoding: chunked

1e
{"completion":[],"context":[]}
0

Now what I found:

Generate index stopped working. I removed index completely and tried to generate it. Progress bar just goes very fast and nothing happens. When I call padawan generate from console then it works ok. After generation when I try again in sublime, progress bar is still lightning fast.
Autocompletion of anything still doesn't work.

Sorry to tell, but previous version, even though with missing features, was more stable :(

Please don't get me wrong with my last sentence, I was just referring to it, because I wanted to help with few missing features, but now if package doesn't work at all, it's just harder than I thought. I really appreciate and didn't want to judge your volunteer work

Sorry to tell, but previous version, even though with missing features, was more stable
yeah, that's why I haven't created new tag. 0.2 branch is quite stable and dev-master is development. Even with auto tests there are a lot of untested cases.
I tried completion in your file without an index and got completion for current file context(using dev-master both for sublime plugin and padawan). Not sure how to reproduce your situation :(

I also get completion for current file, but I think it should return more, like for instance inherited methods. Plus it still doesn't return completion for fqcns

@golaod so does it return completions or it returns nothing?

it doesn't return completions from padawan. In case
class A
{
    public function test() {}
}

class B extends A
{
    public function __construct()
    {
        $this->
    }

    public function debug() {}
}

I see only 'debug' whereas should also see 'test' method

@golaod just created new file and tried your case and it works. So something wrong with padawan install. Maybe you're using some virtualization or something? I mean maybe padawan couldn't find files or something like?
And can you start padawan-server from your terminal and copy it's output here for this case?

Exactly, because you pasted both classes into the same file. I gave you a simple case, but of course I was referring to a regular day scenario, where your classes extend other classes (from other files).

@golaod oh, I just need to understand what's wrong.
<?php
class A
{
    public function test() {}
    protected function test2() {}
    private function test3() {}
}

class B extends A
{
    public function __construct()
    {
        $this->
    }

    public function debug() {}
}

in this case you should get test, test2 and debug. So that will show whether padawan works at all or not

But as I wrote in my last comment: Everything depends on where you put those classes. If you have them both in the same class, then actually I don't need padawan to see test, test2 and debug, because sublime can handle it. Problem is when you put class A to file a.php and class B to file b.php, because padawan doesn't return methods from class A even though B extends A

@golaod sublime couldn't understand private\protected and etc. And I need to understand what's wrong


Can't type @ symbol on mac with Swiss keyboard

Godot version
4.0 dev beta 16
System information
Macosx M1 macbookpro swiss keyboard
Issue description
I am unable to type the @ symbol with "option + G" in the editor. Nothing happens when doing so.
Steps to reproduce
Trying to type @ with "option + G"
Minimal reproduction project
It is not a project issue it is an editor issue

By default, Option+G is bound to the ui_text_select_word_under_caret action, remove in the Editor Settings → Shortcuts and it will work.

By default, Option+G is bound to the ui_text_select_word_under_caret action, remove in the Editor Settings → Shortcuts and it will work.

Thank you, that works.
I hope that this issue will help others who encounter that issue.


Cannot add new host with bonded interface.

ISSUE TYPE

Bug Report

COMPONENT NAME

cloudstack-agent

CLOUDSTACK VERSION

4.11

CONFIGURATION

1 server (using quicksetup)
OS / ENVIRONMENT

CentOS Linux release 7.5.1804 (Core)
SUMMARY

When I am going through the Setup Wizard, it gets to the host install/setup and fails.  When I check the agent setup log, this is what I see.
[root@csserv01 ~]# tail -1000f /var/log/cloudstack/agent/setup.log
DEBUG:root:execute:hostname -f
DEBUG:root:execute:selinuxenabled
DEBUG:root:execute:setenforce 0
DEBUG:root:cloudbr0 is not a network device, is it down?
DEBUG:root:execute:route -n|awk '/^<IP_ADDRESS>/ {print $2,$8}'
DEBUG:root:execute:ifconfig bond0
DEBUG:root:[Errno 2] No such file or directory
  File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 38, in configration
    result = self.config()
  File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 309, in config
    super(networkConfigRedhat, self).cfgNetwork()
  File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 108, in cfgNetwork
    device = self.netcfg.getDefaultNetwork()
  File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 53, in getDefaultNetwork
    pdi = networkConfig.getDevInfo(dev)
  File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 157, in getDevInfo
    elif networkConfig.isBridge(dev) or networkConfig.isOvsBridge(dev):

DEBUG:root:execute:setenforce 1

STEPS TO REPRODUCE

Setup a bond0 network between 2 or more NICs on the server.

Follow the quickstart guide.  When you get to the step of the wizard "Launch", everything will go through except the error on the host setup.

EXPECTED RESULTS

That it finds the bond0 interface and continues to setup

ACTUAL RESULTS

Host fails and error below is produced...

[root@csserv01 ~]# tail -1000f /var/log/cloudstack/agent/setup.log
DEBUG:root:execute:hostname -f
DEBUG:root:execute:selinuxenabled
DEBUG:root:execute:setenforce 0
DEBUG:root:cloudbr0 is not a network device, is it down?
DEBUG:root:execute:route -n|awk '/^<IP_ADDRESS>/ {print $2,$8}'
DEBUG:root:execute:ifconfig bond0
DEBUG:root:[Errno 2] No such file or directory
  File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 38, in configration
    result = self.config()
  File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 309, in config
    super(networkConfigRedhat, self).cfgNetwork()
  File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 108, in cfgNetwork
    device = self.netcfg.getDefaultNetwork()
  File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 53, in getDefaultNetwork
    pdi = networkConfig.getDevInfo(dev)
  File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 157, in getDevInfo
    elif networkConfig.isBridge(dev) or networkConfig.isOvsBridge(dev):

DEBUG:root:execute:setenforce 1

I changed to a single interface and I still see issues...
DEBUG:root:execute:setenforce 1
DEBUG:root:execute:hostname -f
DEBUG:root:execute:selinuxenabled
DEBUG:root:execute:setenforce 0
DEBUG:root:cloudbr0 is not a network device, is it down?
DEBUG:root:execute:route -n|awk '/^<IP_ADDRESS>/ {print $2,$8}'
DEBUG:root:execute:ifconfig em1
DEBUG:root:[Errno 2] No such file or directory
  File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 38, in configration
    result = self.config()
  File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 309, in config
    super(networkConfigRedhat, self).cfgNetwork()
  File "/usr/lib64/python2.7/site-packages/cloudutils/serviceConfig.py", line 108, in cfgNetwork
    device = self.netcfg.getDefaultNetwork()
  File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 53, in getDefaultNetwork
    pdi = networkConfig.getDevInfo(dev)
  File "/usr/lib64/python2.7/site-packages/cloudutils/networkConfig.py", line 157, in getDevInfo
    elif networkConfig.isBridge(dev) or networkConfig.isOvsBridge(dev):

DEBUG:root:execute:setenforce 1

Well, I reinstalled the OS and did this all from scratch... Doesn't look like a "bond" issue, since I continue to get the same issue regardless.
Please help.

For anyone else that has had trouble with this error on Centos 7, here is what I ultimately ended up doing to get past this issue.
yum install epel-release -y
yum update -y
yum install python-pip -y
pip install ifcfg
yum install openvswitch.x86_64 openvswitch-controller.x86_64 -y
I then did the following changes in the networkConfig.py (change the extension back to .py) and replace the original.  After doing this, I was able to add the host.
networkConfig.py.txt
I am going to destroy and start from scratch and reintroduce the bonded interface too.

@bennysp can you open a PR so we can easily review your changes to networkConfig.py?

Done @DaanHoogland.  First time really formally committing back, so apologies if I haven't followed the guidelines well. :(
Also, I have updated the shapeblue/cloudstack-ansible that incorporates these changes, plus the steps in the quickstart guide into the ansible setup. I will PR there once I am ready, but thought I would let you know for a "quickstart" and much better view of what my setup is doing.
https://github.com/shapeblue/cloudstack-ansible/compare/master...bennysp:master

@bennysp - CloudStack allows you to bond interfaces, but you still have to set up a bridge on top of that.
in the same way that if you don't have a bond, you still have to create a bridge on top of the interfaces.


How to retrieve a knn_vector field?

I created an index with a knn_vector field using the mapping below
{
  "mappings": {
    "properties": {
      "my_vector": {
        "type": "knn_vector",
        "dimension": 2
      }
    }
  }
}

I wanted to use my_vector value of another doc as query_value in the below knn search query
{
 "size": 4,
 "query": {
   "script_score": {
     "query": {
       "match_all": {}
     },
     "script": {
       "source": "knn_score",
       "lang": "knn",
       "params": {
         "field": "my_vector",
         "query_value": // I want to use my_vector value of another doc here,
         "space_type": "cosinesimil"
       }
     }
   }
 }
}

According to the issue https://github.com/opendistro-for-elasticsearch/k-NN/issues/341, I guess currently it's impossible to achieve that in just one request.
So in the first request, I have to retrieve my_vector for a specific doc then use it as query_value in the second request.
The problem is when retrieving my_vector using docvalue_fields I got the error
"reason": {
  "type": "unsupported_operation_exception",
  "reason": "knn vector field 'recommender_vector' doesn't support sorting"
}

I also tried "stored_fields" but it didn't work.
How can I retrieve value of a knn_vector field?
A workaround is to create and use a duplicate field with float type like below, but I think it's not optimal.
{
  "mappings": {
    "properties": {
      "my_vector": {
        "type": "knn_vector",
        "dimension": 2
      },
      "my_vector_duplicate": {
        "type": float
      }
    }
  }
}

Hi @VijayanB !
Can you please explain why?


Add docker-sync support

@rinti Whats your take on this, is this still relevant?

@marteinn I don't think so, I feel the dev server reloads quickly enough with pyinotify. Let's open this again if problems arises.


Update feedback-items-overview.md

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

MicrosoftCollaboratePortal/feedback-items-overview.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Package Request: Wraith Master

Project Description
A project that provides a native GUI and CLI for manipulating the RGB LEDs on the Wraith Prism CPU cooler, of which I am the author. Similar to cm-rgb, but provides all configuration options that the official Windows software provides, with minimal runtime dependencies. Currently packaged in the AUR and Solus repositories. I'm willing to maintain this package.
Metadata

Homepage URL: https://gitlab.com/serebit/wraith-master
Source URL: https://gitlab.com/serebit/wraith-master.git
License: Apache 2.0
Platforms: Linux

#169361


Async

Hi, is it possible to use it asynchronously?

I've also been wondering for a long time about being able to use this asynchronously, because you won't do much synchronously.

#68 check this


RIO: clarify send buffer exclusivity

If a registered buffer is used for a send request, any additional,
concurrent operation that also references the registered buffer is
vulnerable to memory corruption. Therefore, such concurrent requests
referencing the same registered buffer are illegal.
Make this more clear in the RioSend[Ex] documentation

@nigriMSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Cmd.elm: Fix typo in doc

Simplest typo I discovered while teaching Elm... I thought I'd just send a PR 😅
Thanks!

Thanks!


added start and finishing block to queryFilter

To double check contract creation transactions, here's a list of block explorers:

[ ] https://etherscan.io/
[ ] https://goerli.etherscan.io/
[ ] https://explorer.rsk.co/
[ ] https://explorer.testnet.rsk.co/
[ ] https://bscscan.com/
[ ] https://testnet.bscscan.com/
[ ] https://polygonscan.com/
[ ] https://arbiscan.io/
[ ] https://testnet.snowtrace.io/
[ ] https://snowtrace.io/
[ ] https://goerli.lineascan.build/
[ ] https://mumbai.polygonscan.com/
[ ] https://goerli.arbiscan.io/

So we have to remember to maintain this every time to deploy? Well I guess there's no other way with current contract data from @airswap/libraries.
@dmosites Any way we can get the transaction hash of the contract deployment from @airswap/libraries?

I don't think it's possible to use Ethers to directly get the deployment block. Would probably require a new constructor argument in the smart contract to make it possible

Block number could be published with each package. Would you prefer:

a new file e.g. @airswap/swap-erc20/deploys-blocks.js or
via deploys.js used like deploys[chainId].blockNumber (and deploys[chainId].address)

Ah I see what you mean by accessing these from libraries. Will take a look.


[CULT] DEL CULT

Url : https://g.botalista.community/#/cultivated/edit/56810
Error message : could not execute statement; SQL [n/a]; constraint [fk_cult_add_reference_ms_loc_l]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
Username : sibadmin
Description : null

Error details
Request url: https://g.botalista.community/api/cultivated/id/56810
Request method: DELETE
Status Code: 405 ()
Data send:
undefined
Error Type: com.botalista.errors.container.CriticalError
Error message:
could not execute statement; SQL [n/a]; constraint [fk_cult_add_reference_ms_loc_l]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement


[BugFix] Fixing Span operation names generated from RestActions

Description
This is a bug fix to have RestActions rawPath as span operation names, query params as their tags and avoid using exact URI (#10791)
Related Issues
N/A

Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[x] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks @atharvasharma61 , please add some tests, thank you

LGTM. Please add tests as @reta has suggested and fix the build failures.

I think in the main issue we talked about templated URI.
For example:

curl http://localhost:9200/*/_search
curl http://localhost:9200/*/_search?track_total_hits=false
curl http://localhost:9200/test51/_search?track_total_hits=false

This calls will generate 3 unique operation names but is has to be only one: GET /{indices}/_search with other details of the invocation becoming the tags.

Here, should we keep the name just like GET /{indices}/_search and put the indices as tags for standardizing the span names or having the actual indices as part of the SpanName is fine?
E.g
request - curl http://localhost:9200/test51/_search?track_total_hits=false
Option1 - Span Name : GET /{indices}/_search , tags: indices=test51, params="track_total_hits=false"
Option2 - Span Name: GET /test51/_search , tags: params="track_total_hits=false"

Here, should we keep the name just like GET /{indices}/_search and put the indices as tags for standardizing the span names or having the actual indices as part of the SpanName is fine?

The span name should be GET /{indices}/_search, the full URI (part of trace attributes) would provide the full context. But I think this pull request just tried to separate URI from query string (it is not addressing the issue at large but clears URI a bit)

Here, should we keep the name just like GET /{indices}/_search and put the indices as tags for standardizing the span names or having the actual indices as part of the SpanName is fine?

The span name should be GET /{indices}/_search, the full URI (part of trace attributes) would provide the full context. But I think this pull request just tried to separate URI from query string (it is not addressing the issue at large but clears URI a bit)

Yes, we can take that out in the another PR but just wanted to confirm the understanding. Thanks @reta.

Will take that up in another PR as discussed offline with @Gaganjuneja. Thanks!

@Gaganjuneja looks good to you? thank you

@atharvasharma61, Can you please update the CHANGE.LOG and there are some :server:spotlessJavaCheck issues. Please address.

Flaky test : org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT

Flaky test : org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT

I suspect the 2.x branch in not in a good shape :(

Flaky test : org.opensearch.backwards.MixedClusterClientYamlTestSuiteIT

I suspect the 2.x branch in not in a good shape :(

Yes, I tried rerunning this more than 10 times and still failing.

@sachinpkale @gbbafna Could you please merge this. We did a rebase to pass the test cases. Thanks!


llvmPackages_19: fix building libclc, add aliases

Description of changes
Makes libclc eval & build, add some aliases for LLVM 19. openmp & lldb-manpages are fixed in the rc3 bump, this PR finalizes getting llvmPackages_19 more stable ahead of the LLVM 19 full release.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Could we get a rebase?

Rebased.

Should we update the libclc alias back to llvmPackages_latest.libclc or permanently point it to llvmPackages.libclc?

Having libclc be from llvmPackages_latest would be inconsistent with attributes for other LLVM components, like clang and LLVM, so I don't think we should do that.  The libclc attribute should probably be moved into all-packages.nix, and be consistent with the attributes for LLVM components.

I’m fine with that; just don’t want it to end up pinned to 18 forever.

So, we're good to leave the libclc stuff as it is currently in this PR?

I’m not sure it makes sense to keep the current status quo where we pinned it explicitly to 18 because libclc was broken. It was llvmPackages_latest.libclc first, which may be inconsistent but at least won’t bitrot if we don’t get around to making it make more sense soon.

Hmm, maybe @alyssais has a better idea of what should be done in that regard? Ideally, I would like to get this out of the way and merged for 24.11.

We can merge this now, but if you could make a PR moving the libclc alias to all-packages.nix like clang etc. are then I think that would be good.

Hmm, maybe @alyssais has a better idea of what should be done in that regard?

https://github.com/NixOS/nixpkgs/pull/336465#issuecomment-2395572770


Card 120824

First version of the cards, with hover effect. The media queries is not tested, I think it does not work quite well. The colors should be changed.

When adding a lot of students, the cards overlaps on the header

When using a phone, the cards are too wide


Move meta.nodeNixpkgs to deployment.nixpkgs inside the node config

IMHO, it makes more sense to configure the used nixpkgs inside of the node's config, instead of in the meta attrset.

It's a chicken-and-egg problem, because in order to get deployment.nixpkgs from a node's config the first place, you need a nixpkgs for its evalModules implementation.

Understood; however, meta.nixpkgs is required even when meta.nodeNixpkgs is specified.
I've got a very ugly, WIP patch that does exactly what I want. I'll submit a PR soon to show you what I mean and how it's possible.

I've opened https://github.com/zhaofengli/colmena/pull/56 with the smallest diff necessary for this functionality (minus removing meta.nodeNixpkgs).

IMHO this is an opportunity to rethink how a colmena deployment is specified in general. I think the current setup has a couple of paper cuts:

awkwardness of using meta to specify what nixpkgs a node uses (what this issue is primarily about), but also:
defaults and meta on the same level as named nodes --- having special attribute names that are treated differently within a set that is otherwise interpreted to be "just the nodes" feels very awkward; it would be much nicer to have a set with a fixed set of attributes, that one could feasibly write a NixOS-style config module to validate.

I envision a hive being structured something more like this...
{
  colmena = {
    meta.nixpkgs = nixpkgs.legacyPackages.x86_64-linux;
    defaults = { name, pkgs, lib, ... }: {
      imports = [ ./defaults.nix ];
      networking.hostName = lib.mkDefault name;
    };
    nodes = {
      phone = {
        nixpkgs = nixpkgs-mobile.legacyPackages.aarch64-linux;
        config = {
          deployment.targetHost = "phone.vpn.linuxhackerman.de";
          imports = [ ./nodes/beaker/configuration.nix ];
        };
      };
      server = {
        config.deployment.targetHost = "server.linuxhackerman.de";
        config.imports = [ ./nodes/server/configuration.nix ];
      };
    };
  };
}

For extra niceness, I think it would be awesome to have the hive itself be a NixOS-style module, where modules can be written that produce config across multiple nodes, much like nixus does. I've done some experiments trying to force nixus's output into a colmena hive, and it's worked fairly well, but is definitely a little more awkward than native support would be.
Thoughts?
(cc @ma27 and @willibutz who I've worked with/talked to about this)


feat: Convert all issue templates into issue forms

Things added/changed:

Convert all issue templates into issue forms.

Closed this PR, already merged on .github repo.

Closed this PR, already merged on .github repo.

Yes, but it doesn't make an effect if there are issue templates in this repository. The .github ones are just fallbacks.

Hmm I see. If the issue templates here is outdated, just tell me and I'll reopen this issue and assign it to you?

Hmm I see. If the issue templates here is outdated, just tell me and I'll reopen this issue and assign it to you?

It'd be great if you can re-open this and merge it (it's a PR by the way). Thanks. 😄

Cool. Open now


MODELIX-435 new tryReference(...) in ModelQL

Doesn't throw an exception if the reference doesn't exist on the concept of the current node.
A cleaner solution would be to have some concept switch in ModelQL that applies the subquery only to instances of a specific concept, but the ModelQL will be replaced soon. This is just a quick fix for an urgent issue.
https://issues.modelix.org/issue/MODELIX-435/Using-sometimes-non-existing-references-in-ModelQL-results-in-a-ServerSideException

This means we would have to adapt our queries to get rid of the exception that is raised right now?

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


Grpc.Tools document AdditionalImportDirs

Add documentation for AdditionalImportDirs
See https://github.com/grpc/grpc/issues/22878

This PR is simply a change in docs, so test failures are unrelated.

I fixed a typo. I will merge once the test finish.


Update the website to describe the larger role of Parquet

I personally believe Parquet will be at the center of the analytics ecosystem
https://parquet.apache.org/ currently emphasis Parquet's role in the Hadoop ecosystem. I think this causes confusion in several ways:

It implies that parquet is only focused on Hadoop, whem I think it is a critical technology across other ecosystems that are unrelated to hadoop (e.g. Apache Iceberg, Delta Lake, etc)
It may further the perception that the Apache Parquet project only focuses on / cares about Hadoop / Java impleemntation

I would like to update the site to focus less on the hadoop aspects and more on the broader nature of Parquet

If people like where this is headed, I would like to next expand the documentation to explain better how the various implementations are related (e.g. how parquet-mr relates to the readers in arrow-rs, arrow, etc)
Reporter: Andrew Lamb / @alamb
PRs and other links:

GitHub Pull Request #59

Note: This issue was originally created as PARQUET-2470. Please see the migration documentation for further details.

Andrew Lamb / @alamb:
Proposed PR: https://github.com/apache/parquet-site/pull/59

Andrew Lamb / @alamb:
Completed in https://github.com/apache/parquet-site/pull/59


wifi: esp_at: shell command "wifi scan" not working well

Describe the bug
The shell command "wifi scan" doesn't print every wifi AP available when used by esp-at driver
To Reproduce
To launch the wifi sample with esp-at driver :

Connect your board to ESP32 board. I used a ST board b_u585i_iot02a connected to esp32-c3-devkitC, through UART3.

Create overlay file : zephyr/samples/net/wifi/boards/b_u585i_iot02a.overlay containing
"&usart3 {
pinctrl-0 = <&usart3_tx_pd8 &usart3_rx_pd9>;
pinctrl-names = "default";
current-speed = <115200>;
status = "okay";
espressif,esp-at {
label = "Driver AT for ESP32-C3";
compatible = "espressif,esp-at";
};
};"

Modify zephyr/samples/net/wifi/prj.conf :

Remove line 4: CONFIG_TEST_RANDOM_GENERATOR=y
add lines "CONFIG_NET_TCP_ISN_RFC6528=n" and "CONFIG_WIFI_ESP_AT=y"

west build -b b_u585i_iot02a platform/zephyr/samples/net/wifi/ -p

west flash -r openocd

Expected behavior
Every wifi AP detected by esp32-c3-devkitC should be printed on zephyr shell.
Impact
annoyance, I need this functionnality for tests
Logs and console output
The zephyr shell prints :
"
uart:~$ *** Booting Zephyr OS build v2.7.99-2259-ge9f6e05b5a97  ***
Connected
Disconnected
uart:~$ wifi scan
Scan requested
Num  | SSID                             (len) | Chan | RSSI | Sec      | MAC
1    | SFR_1985                         8     | 1    | -50  | WPA/WPA2 |
2    | FreeWifi_secure                  15    | 11   | -87  | WPA/WPA2 |
3    |                                  0     | 11   | -88  | WPA/WPA2 |
4    | FreeWifi                         8     | 11   | -89  | Open     |
Scan request done
"
I am able to spy the AT communication between esp32-c3-devkitC and the ST board
On the AT link the anwser of esp32-c3-devkitC is
"+CWLAP:(2,"SFR_1985",-50,1)
+CWLAP:(2,"Livebox-642C",-85,1)
+CWLAP:(0,"SFR WiFi FON",-85,6)
+CWLAP:(5,"SFR WiFi Mobile",-87,6)
+CWLAP:(4,"SFR_3838",-87,6)
+CWLAP:(2,"freebox_XEGBMZ",-87,11)
+CWLAP:(5,"FreeWifi_secure",-87,11)
+CWLAP:(3,"",-88,11)
+CWLAP:(0,"FreeWifi",-89,11)
"
-> so we can see that some lines have been dropped
Environment (please complete the following information):

OS: WSL in windows 10

I have been able to solve the bug with this workarround :
diff --git a/subsys/net/l2/wifi/wifi_shell.c b/subsys/net/l2/wifi/wifi_shell.c
index 5a8bb3e9cb..c00893139e 100644
--- a/subsys/net/l2/wifi/wifi_shell.c
+++ b/subsys/net/l2/wifi/wifi_shell.c
@@ -31,6 +31,7 @@ LOG_MODULE_REGISTER(net_wifi_shell, LOG_LEVEL_INF);
                                NET_EVENT_WIFI_CONNECT_RESULT |         \
                                NET_EVENT_WIFI_DISCONNECT_RESULT)

+#define WIFI_SCAN_RESULT_MAX 20
 static struct {
        const struct shell *shell;

@@ -49,6 +50,8 @@ static uint32_t scan_result;

 static struct net_mgmt_event_callback wifi_shell_mgmt_cb;

+static struct wifi_scan_result wifi_scan_result_list[WIFI_SCAN_RESULT_MAX];
+
 #define print(shell, level, fmt, ...)                                  \
        do {                                                            \
                if (shell) {                                            \
@@ -62,11 +65,15 @@ static void handle_wifi_scan_result(struct net_mgmt_event_callback *cb)
 {
        const struct wifi_scan_result *entry =
                (const struct wifi_scan_result *)cb->info;
-       uint8_t mac_string_buf[sizeof("xx:xx:xx:xx:xx:xx")];
+       /*uint8_t mac_string_buf[sizeof("xx:xx:xx:xx:xx:xx")];*/
+
+       if (scan_result<WIFI_SCAN_RESULT_MAX) {
+               memcpy(&wifi_scan_result_list[scan_result], entry, sizeof(struct wifi_scan_result));
+       }

        scan_result++;

-       if (scan_result == 1U) {
+       /*if (scan_result == 1U) {
                print(context.shell, SHELL_NORMAL,
                      "\n%-4s | %-32s %-5s | %-4s | %-4s | %-5s    | %s\n",
                      "Num", "SSID", "(len)", "Chan", "RSSI", "Sec", "MAC");
@@ -77,7 +84,7 @@ static void handle_wifi_scan_result(struct net_mgmt_event_callback *cb)
              (entry->security == WIFI_SECURITY_TYPE_PSK ? "WPA/WPA2" : "Open    "),
              ((entry->mac_length) ?
                      net_sprint_ll_addr_buf(entry->mac, WIFI_MAC_ADDR_LEN, mac_string_buf,
-                                            sizeof(mac_string_buf)) : ""));
+                                            sizeof(mac_string_buf)) : ""));*/
 }

 static void handle_wifi_scan_done(struct net_mgmt_event_callback *cb)
@@ -85,13 +92,29 @@ static void handle_wifi_scan_done(struct net_mgmt_event_callback *cb)
        const struct wifi_status *status =
                (const struct wifi_status *)cb->info;

+       uint8_t mac_string_buf[sizeof("xx:xx:xx:xx:xx:xx")];
+
        if (status->status) {
                print(context.shell, SHELL_WARNING,
                      "Scan request failed (%d)\n", status->status);
        } else {
+               for (int i=0; i<scan_result; i++) {
+                       if (i == 0U) {
+                               print(context.shell, SHELL_NORMAL,
+                                       "\n%-4s | %-32s %-5s | %-4s | %-4s | %-5s    | %s\n",
+                                       "Num", "SSID", "(len)", "Chan", "RSSI", "Sec", "MAC");
+                       }
+                       print(context.shell, SHELL_NORMAL, "%-4d | %-32s %-5u | %-4u  | %-4d| %-5s | %s\n",
+                               i, wifi_scan_result_list[i].ssid, wifi_scan_result_list[i].ssid_length,
+                               wifi_scan_result_list[i].channel, wifi_scan_result_list[i].rssi,
+                               (wifi_scan_result_list[i].security == WIFI_SECURITY_TYPE_PSK ? "WPA/WPA2" : "Open    "),
+                               ((wifi_scan_result_list[i].mac_length) ?
+                                       net_sprint_ll_addr_buf(wifi_scan_result_list[i].mac, WIFI_MAC_ADDR_LEN, mac_string_buf,
+                                                               sizeof(mac_string_buf)) : ""));
+               }
                print(context.shell, SHELL_NORMAL, "Scan request done\n");
        }
-
+
        scan_result = 0U;
 }

@pbatiot thanks for the report, please consider opening a Pull Request with the workaround you posted.

@mniestroj Would you take a look?

@pbatiot Could you see if increasing NET_MGMT_EVENT_QUEUE_SIZE Kconfig option solves your problem? Set it to value that is higher than the number of WiFi networks you are expecting.

@mniestroj Your solution works.
I put CONFIG_NET_MGMT_EVENT_QUEUE_SIZE=20 in prj.conf, now i am not missing any wifi in the printed list.
As you have said, the queue size must be higher than the number of WiFi networks expected, to avoid dropping some.
I will close the issue, the correct configuration of the queue size is what i needed.
Thanks Marcin


undeclared functions when compiling for non-AVR boards

when compiling for ESP8266 or ESP32 (others propably too) compilation fails with the following error:

C:\Users\user\Documents\Arduino\libraries\SimpleDHT\SimpleDHT.cpp:72:27: error: no 'int SimpleDHT::getBitmask()' member function declared in class 'SimpleDHT'
int SimpleDHT::getBitmask() {
                       ^

C:\Users\user\Documents\Arduino\libraries\SimpleDHT\SimpleDHT.cpp:76:24: error: no 'int SimpleDHT::getPort()' member function declared in class 'SimpleDHT'
int SimpleDHT::getPort() {
                    ^

this is because the function definitions of SimpleDHT::getBitmask() and SimpleDHT::getPort() are not enclosed within a conditional compilation block, unlike their declarations in SimpleDHT.h

I also had the same problem
int SimpleDHT::getBitmask() {
int SimpleDHT::getPort() {

Had the same problem too. Downgrad to 1.0.8 works for me.

@rolfbachmann Please test 1.0.12


Indicate pull request source in CDash Build Name.

The pull request number is added as documented for Travis at
http://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
The pull request title and number is added as documented for Appveyor at
http://www.appveyor.com/docs/environment-variables

I see looking at the travis error, it tried to build the dashboard branch .. and it failed.


removed SymfonyFilter

@api is not used anymore by Symfony
changed the default filter to included protected
closes #193, #175

👍


Smooth interpolation / prediction of sparse locations

I did a bunch if field testing today at car speeds and broadly at high speeds the locations updates are really jumpy. There is 2 overlapping root causes:

there is no smooth animation to reflect the velocity of the device, between sparse locationFound events. Note this not as simple as just animating to the new location as this will add noticeable lag.

Instead this needs to actually be predictive and animate ahead in time to a predicted position. There are various contenders for how to go about this, most of the literature talks about Kalman filters
https://en.wikipedia.org/wiki/Kalman_filter#Example_application
The specific use case for 2 dimensions + velocity is only a few lines of code, eg
https://stackoverflow.com/questions/1134579/smooth-gps-data
The bit that I'm not sure about us where this code should live, ie should it live in leaflet core and it should send a continuous stream of fake locationFound update events (if desired) and this control just uses it. This would make more sense if there are other controls also hanging off the same events so they are synchronized. But I'd bet that almost everyone just wants this control for locations and very little else so it could be bundled in here.
Or maybe some code in the middle which consumes leaflet core locationFound events and emits a more continuous stream of normalized smoothed smoothedLocationFound events, and this control can just have a options to listen to a different set of events.

at high speeds, almost regardless of location accuracy, the map is zoomed in too far and you may have to reload several new tiles every second and the network can't keep up. It's also just a blur that you can't usefully track. This is fairly easily worked around now that we have the getLocationBounds option, but I think this is worth actually changing the default implementation to expand the bounds linearly based on velocity, eg tune it so that regardless of your speed you will never pan more than 1 viewport every X seconds. At low speeds this would have no effect.

Development for this will be a pain as I cannot find any browser plugins which can simulate a moving location over time. This is the closest I could find:
https://stackoverflow.com/questions/27999510/emulating-geo-location-in-chrome-with-moving
I have to test more to see how reliable the heading and speed attributes are of the location event and whether these can be used directly or whether they need to be inferred.

I found this plugin to smoothly move a marker on Leaflet:
https://gitlab.com/IvanSanchez/Leaflet.Marker.SlideTo
Is there any way I could use it with locatecontrol? Thanks!

Smooth movements are not enough. The problem is that you would always lag behind. At least I would personally prefer to have the up to date location instead of smooth movements.

Thanks for your answer. For the application I am working on, some lag is preferable to jumpy movements. I accesed the user marker via lc._marker and tried to pass it to the SlideTo plugin but did not work.
Also, I have noticed that the compass bearing is not working on Android Firefox 65. Works fine on Chrome though.


FR: Add sample code that will showcase this new API features

[REQUIRED] Step 2: Describe your environment

Operating System version: Windows 10
Firebase SDK version: Firebase Admin Node.js SDK (v5.0.0)
Library version: 5.0
Firebase Product: Admin (auth, database, storage, etc)

[REQUIRED] Step 3: Describe the problem
I want to use the the Firebase Admin Node.js SDK (v5.0.0) to manage users of my app (add/delete users), but I'm not able to find sample code that would allow me to learn how to implement this API for my needs.

What about https://firebase.google.com/docs/auth/admin/manage-users#create_a_user and https://firebase.google.com/docs/auth/admin/manage-users#delete_a_user ?
If they don't serve your purpose, please elaborate and we can look into updating our docs accordingly.

I have an ionic+angular app with a firebase backend that is available in the App Store (apple). As I mentioned before I want to use the Firebase Admin Node.js SDK (v5.0.0) to manage users.
Can I create an angular app and incorporate the firebase admin SDK so I can manage users? If so, do you have a sample?

The Admin SDK is meant to run high trust operations, almost always on a
server or in a secure environment. In general you would not want to use it
for something like an Ionic app.
On Thu, Jun 1, 2017, 7:18 PM Luis Cabrera<EMAIL_ADDRESS>wrote:

I have an ionic+angular app with a firebase backend that is available in
the App Store (apple). As I mentioned before I want to use the Firebase
Admin Node.js SDK (v5.0.0) to manage users.
Can I create an angular app and incorporate the firebase admin SDK so I
can manage users? If so, do you have a sample?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/firebase/firebase-admin-node/issues/33#issuecomment-305671049,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAD_qKHyor24kDzjuOVFE11PK_3L0D2ks5r_3DhgaJpZM4NtgR9
.

@mbleigh I'm not trying to use it for an app. I'm trying to build a simple custom console that will run on my local PC so I can manage users of my existing app. My problem is that I'm fairly new to all these technologies that I need a sample app that I can look at and learn so then I can customize it for my needs

@gigocabrera the Node Admin SDK takes dependencies on packages that preclude the possibility of using it in a client environment (i.e. the Node fs package). You will need to use the Firebase JS SDK to have a functioning firebase implementation for your app.
As a workaround for the elevated privilege issue, you could, through rules, give your user (and only your user) read/write access to the whole database. But that could introduce its own set of issues.

@jshcrowthe thanks.
Maybe someone can point me to a blog post / article from somebody who has implemented the Firebase Admin Node.js SDK successfully.
It would make things easier for developers like me coming from other technologies, to learn by example.

This is exactly what I want to accomplish but I don't know where to start:
-- from https://firebase.google.com/docs/admin/setup --
Create your own simplified admin console to do things like look up Authentication user data or change an Authentication user's email address

Quickstart samples are usually a good place to start. You can also reach out to firebase-talk google group where this kind of questions get more visibility.

I'm going to close this ticket. Please use our firebase-talk google group for any questions about the API and/or usage help.

From the links below I was able to learn how to use this new API and much much more.
https://www.youtube.com/watch?v=LOeioOKUKI8&t=813s
https://blog.realworldfullstack.io/real-world-app-part-12-cloud-functions-for-firebase-8359787e26f3
https://github.com/firebase/functions-samples/tree/master/authorized-https-endpoint
I hope this helps any other developer like me coming from a different technology stack.

Hi, I have a similar case, I don't can find any docs about the login with an user in the firebase admin, someone know how to make it?

Admin SDK does not support user logins, and it should not be used for end user operations due to security reasons.


Add tests for ternary operators (AND/OR/...)

https://github.com/opencypher/cypher-for-apache-spark/blob/3afbaabb55d6ec808e7b181f80911e332fef8aa1/src/main/scala/org/opencypher/caps/impl/spark/SparkSQLExprMapper.scala#L117

Resolved in current version


After Selection No Server Request

Hey guys,
i build an select2 Element and have currently an problem:
Whle Selecting and searching the first time everything works and the select2 always starts a new request, how it should. But after selecting one element and open the dropdown again, the list is dissapered and only the selected and preselected item is inside.
var select = $('<select>',
                {
                    class: 'Select2TestData'
                });

            var option = $('<option>',
                {
                    value: value,
                    selected: true,
                    text: item[this.name + "Information"]
                });
            select.append(option);

            window.setTimeout(function ()
            {
                select.select2({
                    ajax: {
                        url: 'http://localhost/Select2TestData',
                        type: 'GET',
                        dataType: 'json',
                        delay: 250,
                        cache: false,
                        data: function (params)
                        {
                            var apiParams = {};
                            apiParams.term = params.term;
                            apiParams.page = params.page;
                            return apiParams;
                        },
                        processResults: function (data)
                        {
                            return {
                                results: data.items
                            };

                        }
                    }

                }, function (instance)
                    {
                        select2Instance = instance;
                   });
            }, 1);

The windows.timeout doesnt affect on this problem.
Any ideas?

send us a JSFiddle example code, with steps described to simulate the error. reopen when ready


Touch support for onMouseMove event Broken

Description

Steps to Reproduce

Create a graph and open browser dev console with mobile view.
Try dragging graph crosshair across the data points

Expected Behavior
the cross hairs should move
Actual Behavior
the cross hairs just crash and disappear when dragged
Screenshots

working in 3.46.0 but broken in version 3.47.0
Reproduction Link
https://ab0a-167-23-125-13.ngrok-free.app/

No need to create a new issue. I reopened the previous issue #4330 since you provided a reproduction. Closing this as a duplicate


fixes declaration of threshold

fixes a problem where the default value wasn't being used by the server when sending JSON directly using curl

Ah, I see, the default value needs to map to the default type. Neat feature!
@dcolligan this schema change is not passing on schemas. I think we might need to change the test. Where did the "schema union assumptions" come from?
https://github.com/ga4gh/schemas/blame/rna/tests/test_protocol.py

Out of curiosity, why not just
float threshold = 0.0

i.e. What's the reason for an optional null here? If truly necessary, how will it look in protobuf (which I believe doesn't support such unions with null)?

float threshold = 0.0 was the first thing I tried.  Unless I did something wrong, when doing that threshold was still required to be in the POST JSON.  I can check it again to be sure.

leaving aside the schemas issue as pointed out above, this works. +1 and merging.

@david4096 the assumption is that for nullable fields the default is null.  I forget where it came from... might be an avro thing; might be a enforced convention of our schema?


fix registerer nil deref from errors

When the registerer is scanning processes and there are a lot of processes to check 429s are inevitable.
If we hit a 429 when registering we would log a debug level message and then continue to try and register the process.
Adding a break statement cause it to skip registering the rate limited process and continue with others.
We need to add an exponential back off with jitter RoundTripper to handle this better.

Tomorrow:

Add a round tripper with exponential backoff and jitter
Swap the break for a continue statement


Multi lines examples

Hi,
Is there a way to deal with mulitples lines examples ?
For example, a header like this :
	<#
	.SYNOPSIS
		Do Something
	.DESCRIPTION
		Do Something
	.PARAMETER Arg1
		Arg1
	.PARAMETER Arg2
		Arg2
	.PARAMETER Arg3
		Arg3
	.INPUTS
	.OUTPUTS
		Renvoit la liste de la ou des archive(s) générée(s)
	.EXAMPLE
		$var = 'Test'
		Do-Something -Arg1 $var
		Invoke the Do-Something cmdlet with the $var variable
	.NOTES
	.LINK
	#>

Looks like this :

When I would like it to look like this :

Regards,

I think it's the powershell help engine problem actually, seen the same in https://github.com/PowerShell/platyPS/issues/180

Indeed it is. I'll try find a workaround.
Thanks !

For a workaround, take a look at https://github.com/PowerShell/platyPS/issues/180#issuecomment-536212832.
How about closing this issue as a duplicate of #180 (or another way around)?


Is this project abandoned?

Hi
I just wanted to use this codebase but looks like here are some old unsolved issues remained. Does anyone maintaining this project?

Hi. I don’t check any open issues since I no longer use this library myself.

Thank you for your response, @denisorehovsky. That's too bad. It looks like a really interesting project.

I no longer use this library myself.

Any suggestions for using polymorphic models and DRF other than your project?


Decreasing the dataset

Hello,
After I decreased dataset I am constantly getting error(TypeError: 'NoneType' object is not subscriptable) at the training part of sentiment control gpt-2. How can I fix it?

Can you provide a reproducible example?

Here is the full code:
gpt2-sentiment-control (6) (1).ipynb.zip

Can you provide a reproducible example?

Here is the full code:
gpt2-sentiment-control (6) (1).ipynb.zip

Maybe worth checking how task_list and batch["query"] look like. This seems where the error is coming from.

Hi @zehrayigit , did you resolve this issue? I met the same issue of "TypeError: 'NoneType' object is not subscriptable".


Installing Language Packs for Windows in containers

What is your question?
I'm currently developing a tool which is based on Windows + LibreOffice, and this tool doesn't work well with Japanese - LibreOffice outputs boxes after processing a document. Locally, it all works just fine
I came to a conclusion that my base Windows image lacks a language pack for Japanese and I'm looking for a way to install it with no luck for now
Can you suggest anything?
Notes
My base image is mcr.microsoft.com/dotnet/framework/runtime:4.7.2-20210209-windowsservercore-ltsc2019

@DmitrySenin Windows containers no longer supported language packs. We did when initially released with Windows Server 2016. Later on in the effort of reducing image size, we have removed those.

@weijuans-msft I understand language pack is no longer shifted with windows container, but is there any easy way to install the language pack with PowerShell?

Same issue here.
I am ok not to have language pack images published by MS.
Can we get some help/instructions on how to create an image with a language pack?
I am looking into language pack as a way to help with the i18n automated tests of our product.


Which pylsl?

From @klanderson on October 1, 2018 22:36
The most recently modified version is at labstreaminglayer/liblsl-Python
Other versions are: labstreaminglayer/tree/master/LSL/liblsl-Python and chkothe/pylsl
It appears that pip installs the version from labstreaminglayer/tree/master/LSL/liblsl-Python, because pylsl.library_info() is not implemented.
I'd like to use pylsl.library_info(). Is it safe to rely on labstreaminglayer/liblsl-Python as the official version?
Copied from original issue: sccn/labstreaminglayer#349

Sorry for the confusion. We're close to getting rid of the duplicate repositories.
And thanks for identifying the problem. Please fix it locally. I'll modify init.py and upload the fixed version to pypi soon, but probably not before we eliminate the duplicate repo problem.

From @klanderson on October 1, 2018 23:3
Oh, it looks like library_info is not in __init__.py in labstreaminglayer/liblsl-Python


Multi-agent Support

Is there any plans ahead to add a feature that lets you add more than 2 agents?

You can just simply change the number of agent in sim.yaml in config.
Here is my yaml file
bridge:
  ros__parameters:
    # topics and namespaces
    ego_namespace: "ego_racecar" # doesn't really do anything but needed for transforms
    ego_scan_topic: "scan"
    ego_odom_topic: "odom"
    ego_drive_topic: "drive"

    # opp topics: opp_namespace + "/" + opp_{}_topic
    # so opp's scan would be /opp_racecar/scan
    opp_namespace: "opp_racecar"
    opp_scan_topic: "scan"
    opp_odom_topic: "odom"
    opp_drive_topic: "drive"

    # simulation, lowering will help performance if needed
    sim_hz:  100  # how often the sim steps, default: 100
    tf_hz:   100  # how often tfs get published
    scan_hz: 100  # 40 for f1tenth regulations

    # transform related
    scan_distance_to_base_link: 0.0

    # laserscan parameters
    scan_fov: 4.7
    scan_beams: 1080

    # map parameters
    map_path: "/home/zyme/ros_ws/f1tenth/src/f1tenth_gym_ros/maps/Spielberg_map" # Levine, Spielberg, Spa, Oschersleben, IMS_map
    map_img_ext: ".png"

    # opponent parameters
    num_agent: 2

    # ego starting pose on map
    sx: 0.0
    sy: 0.0
    stheta: 0.0

    # opp starting pose on map
    sx1: 2.0
    sy1: 0.5
    stheta1: 0.0

    # teleop
    kb_teleop: True

and than you will see two-agent cars in rviz like that

More than 2 :). Like 8 or 32


Would you consider creating a LORA training pen for a stable diffusion XL？

The original LORA notes could not load the SDXL model, now that SDXL has been launched, I would like to participate in related activities to train the SDXL model.


"list_changed_files: true" giving error with latest tag

I am using concourse v3.13.0, I am getting error while using list_changed_files setting.
Here is resource config, let me know if I am missing anything
-  name: Repo
   type: pull-request
   check_every: 1m
   source:
      v3_endpoint: ((github_api))
      v4_endpoint: ((github_api_v4))
      access_token: ((git_access_token))
      repository: ((git_repo))
      base_branch: ((branch))
      list_changed_files: true

error is following

stderr:
2019/08/06 00:09:32 failed to unmarshal request: json: unknown field "list_changed_files" ```

Hi @Mounikak1,list_changed_files is a parameter for the get step of this resource. E.g.:
- get: pull-request
  params: { list_changed_files: true }

Closing this issue as I belive it has been solved. Feel free to reopen if not :)


Added Unique Field Attribute Doc

Issue: #2989
Added unique field attribute to the documentation.

Also, not that the branch name you use matters, but this isn't a "hotfix".

@narfbg What branch name should I have used? feature?

As I said, the branch name itself is irrelevant - you could name it "pepsi" if you want to. :)
Just saying that a hotfix is something completely different to what you did here.


Optimizing training and prediction

Hi,
Is there any optimize way to automate the process when new face class is coming frequently and already there is one .pkl trained model file present for predicting?
Is there any way to predict correct face class from 2 or more trained .pkl model file what contains different class data?
Please let me know if anyone is done with this kind of situation.
Regards,
Bhaskar

now ,i  have the same situation,and searching a way for that

Hey guys, any updates? I'm having the same situation


update version handling to toml file

Codecov Report
Patch coverage: 66.66% and project coverage change: -4.15 :warning:

Comparison is base (45cab87) 97.61% compared to head (d1279b0) 93.47%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #1      +/-   ##
==========================================
- Coverage   97.61%   93.47%   -4.15%
==========================================
  Files           2        2
  Lines          42       46       +4
==========================================
+ Hits           41       43       +2
- Misses          1        3       +2

Impacted Files
Coverage Δ

get_all_files/__init__.py
66.66% <66.66%> (-33.34%)
:arrow_down:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


17-displayReadyStatus-redirect-to-Round

SonarCloud Code Analysis shows that "The percentage of lines of code covered by tests." is the reason it failed. Still ok to merge?


Invalid License

In package.json, the license is listed as IBM. This triggers the following warning when doing an npm install:
npm WARN package.json<EMAIL_ADDRESS>license should be a valid SPDX license expression

Consider using Apache 2.0 instead, as this license is commonly used for sample applications from IBM.

What's the status on that one? Apache 2.0 looks good to me. @bradley-holt @bradnoble @maston @jessmantaro @AliceinCodingland

@bradley-holt I'm 99% sure that Apache 2.0 was approved and that we have the license. I'm going to go try to find the documentation that I remember seeing and confirm, but Apache 2.0 should be good to go.

@bradley-holt Sarah just confirmed that she added Apache 2.0 so we can go ahead and use it for the package.json. We will need to rename the tag since that's throwing an error

Updated license to Apache 2 in 555011cbb22dde833d4fc960519a61d791f2dfcf.


add tests that cause decoding to panic

---- test_c stdout ----
thread 'test_c' panicked at /Users/x/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/lib.rs:138:5:
advance out of bounds: the len is 10 but advancing by 16

---- test_a stdout ----
thread 'test_a' panicked at sszb_derive/tests/tests.rs:31:28:
mid > len
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- test_b stdout ----
thread 'test_b' panicked at sszb_derive/tests/tests.rs:31:28:
attempt to subtract with overflow

good looks, thanks for flagging @0xalpharush!


Add simple pic to docs

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 68.533%

Files with Coverage Reduction
New Missed Lines
%

flexmeasures/init.py
2
81.82%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
7057

Relevant Lines:
9768

💛  - Coveralls


Update readme

@nplatias could we update the readme for this page? The simulation model doc on quip, or some summarized version thereof should be helpful.
Also a high level breakdown on what simulations are available, what the inputs are etc would be helpful also.

Done.


Ft build workfile fabrication

Description
Add build fabrication workfile,

Import all wanted subsets of LightSetupBank file.
Create 3 OpenPype instances ( cameraMain, setdressMain, reviewMain ).
Set camera parameters (Y location = -100, lens = 200),
Control DOF of camera using empty object, and apply the imported world.

Testing:

Launch an environment (fabrication)
Use build first workfile with clear current scene checked and save as unchecked
You should get the behavior described above

I ran a test on Auntie_ESTAB_001_A_JOUR and I got this error:
Traceback (most recent call last):

  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/api/ops.py", line 143, in execute
    result = callback(*args, **kwargs)

  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/api/ops.py", line 1064, in _build_first_workfile
    build_workfile()

  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/scripts/build_workfile.py", line 1044, in build_workfile
    build_fabrication(project_name, asset_name)

  File "/home/sharkitty/work/normaal/repos/openpype-for-normaal/openpype/hosts/blender/scripts/build_workfile.py", line 959, in build_fabrication
    bpy.context.scene.world = bpy.data.worlds[

KeyError: 'bpy_prop_collection[key]: key "World_Auntie" not found'


CRUD client

There're many alert from the github action in the code of unused variables, can you fix them?


viewer: update annotations in open-seadragon to be consistent with search result

The open-seadragon can be in any zoom level, @meihuisu Is there a way to automatically zoom out so that all the search results will be displayed in the open-seadragon?

This issue has been addressed in PR #496, which is now under review.


ERROR Cannot destructure property 'distTag' of 'context.@release-it-plugins/workspaces' as it is undefined

Version Info

"release-it": "^15.1.3"
"@release-it-plugins/workspaces": "^3.1.0"
node: 14.9.0
npm: 6.14.16
yarn: 3.2.0

.release-it.json
{
  "plugins": {
    "@release-it-plugins/workspaces": true
  },
  "npm": false,
  "git": {
    "commitMessage": "chore: Releases version v${version}"
  },
  "hooks": {
    "before:init": [
      "syncpack list-mismatches",
      "syncpack format",
      "yarn workspaces foreach -pitv --no-private run release:before:init"
    ]
  }
}

Explanation
I upgraded from what was the old release-it yarn plugin to the one mentioned in the release-it readme. When running release-it --preRelease=next, I get the following error at the push step:
✔ syncpack list-mismatches
✔ syncpack format
✔ yarn workspaces foreach -pitv --no-private run release:before:init

🚀 Let's release taskless (3.0.0-next.0...3.0.0-next.1)

Changelog:
* deps: Updates release-it to latest (dc0efd1)

Changeset:
 M package.json

? Commit (chore: Releases version v3.0.0-next.1)? Yes
? Tag (3.0.0-next.1)? Yes
? Push? Yes
ERROR Cannot destructure property 'distTag' of 'context.@release-it-plugins/workspaces' as it is undefined.

Triage
From what I can gather, it looks like https://github.com/release-it-plugins/workspaces/blob/master/index.js#L133 is the culprit, though it isn't clear if that's because we need to read the distTag again for ourselves, or release-it is no longer passing the distTag to plugins.

Thanks for reporting. Looks like there's a gap in our tests. I'll take a look and publish a fix as soon as possible.

Debugging this, it appears that release-it is trimming off the plugins' scope when loading.

We do have tests that cover destructuring the distTag, but they artificially add the package name as a property on the context, so it doesn't reflect how plugins are loaded.
I'm looking into it further to see how best to manage this.

I opened https://github.com/release-it/release-it/pull/926 to try to address this.

Released in https://github.com/release-it-plugins/workspaces/releases/tag/v3.2.0


failed to cherry pick PR 3288 from cyclinder, to branch release-v0.9

commits b51a00b99878f8c5f4660cad342eab10e777060b of cyclinder conflict when merging to branch release-v0.9, please manually cherry pick it by yourself.
PR https://github.com/spidernet-io/spiderpool/pull/3288 ,  action https://github.com/spidernet-io/spiderpool/actions/runs/8890853981
Auto-merging test/e2e/spidercoordinator/spidercoordinator_test.go
CONFLICT (content): Merge conflict in test/e2e/spidercoordinator/spidercoordinator_test.go
error: could not apply b51a00b9... Merge pull request #3288 from cyclinder/spidercoordinator_patch2
hint: After resolving the conflicts, mark them with
hint: "git add/rm <pathspec>", then run
hint: "git cherry-pick --continue".
hint: You can instead skip this commit with "git cherry-pick --skip".
hint: To abort and get back to the state before "git cherry-pick",
hint: run "git cherry-pick --abort".

https://github.com/spidernet-io/spiderpool/pull/3444


New interface

Define two Abstract types: Problem and Solver. Both should be supertype of various type of problems. For example

Walk <: Problem
Search <: Problem
and
CTQW <: Solver
Szegedy <: Solver
Coined <: Solver

Determine good names for abstract types. QuantumModel, and SearchProblem may be good. May be an occasion to implemented pure walk functions.

Done. Type problem is (right now) not necessary: is included in QSearch.


add save to attendance model

The puzzle 50-d7dab752 from #50 has to be resolved:
https://github.com/ammaratef45/Attendance/blob/76cc877614a5299c42cbdc65568e70ef27dd3caa/attendance/lib/backend/user.dart#L138-L138
The puzzle was created by Ammar Atef on 08-May-19.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

The puzzle 50-d7dab752 has disappeared from the source code, that's why I closed this issue.

Job gh:ammaratef45/attendance#100 is not assigned, can't get performer

This job is not in scope


Better describe the scope of items defined in item declaration statements

Fixes #25.
Also, given https://github.com/rust-lang/rust/issues/45251, I removed the part where whether outer-level control flow expressions are expression statements without semicolons depends on what the expression evaluates into.

Thanks! :sparkles:


[feature] provide android application as one of the init plugins

Expected Behavior
Requesting generation of an android project using gradle init task.
Current Behavior
Currently grade init supports only these types of applications:
$ gradle init
Select type of project to generate:
  1: basic
  2: application
  3: library
  4: Gradle plugin
Enter selection (default: basic) [1..4] 2

Select implementation language:
  1: C++
  2: Groovy
  3: Java
  4: Kotlin
  5: Scala
  6: Swift
Enter selection (default: Java) [1..6]

Context
I'm trying to develop an android application using only command line tools, USB cable and a phone.

Thank you for your interest in Gradle!
This issue will be closed as a duplicate of

#1686

Please add your use case and 👍 to that issue.

We would not add this ourselves, but we could make init support templates so others can.
Also relates to:

#2339


Question about test order

This code references placing real orders if the test order does not throw:
https://github.com/CyberPunkMetalHead/Binance-volatility-trading-bot/blob/172cc44e33078f9fd33de3a7bace60f1fa8725a0/Binance Detect Moonings.py#L223-L238
In my test runs the throw crashes the app, is this expected behavior? I wouldn't expect to handle this code with a uncaught exception but instead log the exception
e.g.
if TESTNET:
    # create test order before pushing an actual order
    try:
        test_order = client.create_test_order(symbol=coin, side='BUY', type='MARKET', quantity=volume[coin])

    except Exception as e:
        print(f'An error occurred placing the test order {e}')

    #try to create a real order if the test orders did not raise an exception
    try:
        buy_limit = client.create_order(
            symbol = coin,
            side = 'BUY',
            type = 'MARKET',
            quantity = volume[coin]
        )

     # error handling here in case position cannot be placed
      except Exception as e:
          print(e)

bump

@O-Mutt This still happening?

No response. If happening. I need to know the exception please.


Display a map of the robots current location in graph

User story

As a SD
I want to display a map of the robot's current location in graph
So that I can have a better vizualization.

Acceptance criteria

Displayed a map of the robots current location in graph

Definition of done (DoD)

Linter & Checker were performed and passed
Code Review has been completed
Code was merged in sprint release candidate
Updates are written in issue comments
Feature builds and tests successfully
Acceptance by product owner
User Story & Acceptance Criteria fulfilled

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Current state
The FMS takes the incoming state messages from the turtlebot and updates the position of the agv accordingly.
The image shows how the position of the agv is displayed on the map:

Issue right now
You have to reload the page manually by yourself in order to see the update of the position. The website or especially the image should be automatically refreshed every x seconds.

The map is now refreshing automatically every second


Varrock & What lies Below

Textures the following:

Did you texture the metallic fences?
might be better to add them into my metal overhaul

Did you texture the metallic fences? might be better to add them into my metal overhaul

Sure, makes sense. I dont know how to submit a revision to a PR though but ill take it out of here for now.


feat: added 3 "add" buttons for scores

Closes #885
Closes #886
Closes #887
Impacted files:

app_en.arb: added 3 labels for the 3 new buttons
app_fr.arb: added 3 labels for the 3 new buttons
knowledge_panels_builder.dart: added 2 potential buttons
new_product_page.dart: refactored
product_cards_helper.dart: added method that create the button
summary_card.dart: added 1 potential button

Suggested product:<PHONE_NUMBER>966

Thank you @teolemon @justinmc for your code review!


Add S.map function

This comment in #140 struck a chord with me:

It's wonderful how simple a function's implementation becomes when one is able to restrict its domain.

When I look at the implementation of map in Ramda, what strikes me is how complicated it is. I think we should take advantage of the type checking we have and simplify wherever possible. In fact, we could simplify this further by not special casing arrays at the cost of losing IE8 compatibility.
One side effect of this PR is that it means Sanctuary now has an alias, i.e., S.lift; I'm not sure how we resolve this other than deprecating the unary version of lift.
Another benefit I can see here would be for performance should a user decide to run with type-checking disabled in production.
This version is more restrictive in that it doesn't operate on Objects as our definition of Functor does not include them. I actually prefer this.

In fact, we could simplify this further by not special casing arrays at the cost of losing IE8 compatibility.

I don't think so. Array.prototype.map does not comply with the Functor specification, since it applies the provided function to three arguments rather than one:
[1, 2, 3, 4, 5].map(S.inc);
// ! TypeError: ‘inc’ requires one argument; received three arguments

This version is more restrictive in that it doesn't operate on Objects as our definition of Functor does not include them. I actually prefer this.

Why do you prefer this?

I don't think so. Array.prototype.map does not comply with the Functor specification, since it applies the provided function to three arguments rather than one.

Ah yes, I was wondering why I had some doubts in my mind when I wrote that sentence.

Why do you prefer this?

It's hard to articulate but the R.map change for objects always made me uneasy. Maybe it because of the ambiguous role that objects play in JavaScript as both maps and Records, which I know was done to death in the original Ramda issue but I was never fully convinced. I think it's telling that we didn't consider objects in our initial definition of the Functor typeclass and that no one picked up on it in the code review.

:zap: x 5

It's hard to articulate but the R.map change for objects always made me uneasy. Maybe it because of the ambiguous role that objects play in JavaScript as both maps and Records, which I know was done to death in the original Ramda issue but I was never fully convinced.

I hope plaid/sanctuary-def#29 will put you at ease. :)

Haha. Very good.

Could you add a Function implementation now that #136 has been merged?

I was just waiting on it to drop before I started. Quick question, do we want to the Function implementation to support functions of any arity?

[D]o we want to the Function implementation to support functions of any arity?

I'm happy to require a unary function (functions curried Ramda-style can be considered unary).

Agreed. I think it makes the implementation much more elegant.

@Bpless has told me on at least one occasion that the way in which the various methods are documented is confusing because we do not explain why they exist as methods rather than as functions. Would using S.map in the Maybe#map and Either#map examples make this clearer? We could add a sentence to each method's description stating that the method is compatible with S.map.

Yeah, I guess it wouldn't do any harm to be explicit. It might be obvious to us that any functor is compatible with S.map but that's not true for everyone.

I've add examples for S.map to the above mentioned functions.

Please rebase this branch, Stefano, and utilize $.StrMap.

:+1: Btw, can I change the treatment of objects back to a straight for loop without R.keys etc? I think the implementation of a function as fundamental as map should be as low-level as possible.

A low-level implementation sounds good to me. I'd like to remove the Ramda dependency eventually. :)

Hmmm, something odd happens when I add StrMap to the environment, the StrMap type get repeat for some reason:
TypeError: Invalid value

slice :: Integer -> Integer -> List a -> Maybe (List a)
                               ^^^^^^
                                 1

1)  {"length": -1} :: Object, StrMap Number, StrMap FiniteNumber, StrMap NonZeroFiniteNumber, StrMap Integer, StrMap ValidNumber, StrMap Number, StrMap FiniteNumber, StrMap NonZeroFiniteNumber, StrMap Integer, StrMap ValidNumber

The value at position 1 is not a member of ‘List a’.

I have no idea how those other commit have made it in there either.

{"length": -1} :: Object, StrMap Number, StrMap FiniteNumber, StrMap NonZeroFiniteNumber, StrMap Integer, StrMap ValidNumber, StrMap Number, StrMap FiniteNumber, StrMap NonZeroFiniteNumber, StrMap Integer, StrMap ValidNumber

This is accurate. It's overly wordy, though. As a result of plaid/sanctuary-def#52 we no longer need to include all these numeric types in our environment. $.Number is a superset of all the other numeric types, so just having that in the environment is sufficient for polymorphic functions.

Hi, I'm not sure if this would be welcomed at this stage, so I wouldn't be upset if you disregard it, but I'm just going to throw my idea out here. I personally think Ramda's map is overly polymorphic. You can input just about anything, and map will do something to it. This leads to some surprising output at the end of a pipeline if the input was simply not the type you expected it to be.
We might be making the same mistake here. The definition of Functor is becoming super loose and therefore maps type-checking, and the type-checking of other functions using Functor is a lot less powerful. It might even come to the point that you create a function with a type-constraint on Functor, and then must do additional type checking inside the function body to ensure you've got the right functor.
I'd much rather see Sanctuary treat Functor strictly like an Object implementing map, and export different versions of map, something like:
lmap :: (a -> b) -> [a] -> [b]
omap :: (a -> b) -> {k: a} -> {k: b}
fmap :: Functor m => (a -> b) -> m a -> m b
tmap :: Step f => (a -> b) -> f a -> f b
map :: union(Array, Object, Functor, Step) m => (a -> b) -> m a -> m b

I know I would use the specialized versions every time, just to get the benefits of type-checking. The normal map would just "pattern match" against the union, and dispatch to the right specialized map.

$.Number is a superset of all the other numeric types, so just having that in the environment is sufficient for polymorphic functions.

So I should remove the other types from the environment and then replace all uses of these number types with $.Number?

So I should remove the other types from the environment and then replace all uses of these number types with $.Number?

In my earlier comment I didn't do a good job of explaining the relationship between the environment and polymorphic functions. I'll elaborate.
For a function such as take, we do want to use a more restrictive type—$.Integer—in place of $.Number.
Let's consider a polymorphic function, id :: a -> a, defined in the empty environment. How does id(42) evaluate? Without the logic added in plaid/sanctuary-def#38, this would be a type error, since 42 is not a member of any type in the environment.
Now, consider id :: a -> a defined in the environment comprising $.Number. 42 :: Number, so id(42) is not a type error.
Finally, consider id :: a -> a defined in the environment comprising $.Number and $.Integer. 42 :: Number, Integer, so again, id(42) is not a type error.
Since every value which is a member of $.Integer is also a member of $.Number, including $.Integer in an environment does not prevent any type errors. All it does is affect error messages.
If we decide
{"length": -1} :: Object, StrMap Number, StrMap FiniteNumber, StrMap NonZeroFiniteNumber, StrMap Integer, StrMap ValidNumber, StrMap Number, StrMap FiniteNumber, StrMap NonZeroFiniteNumber, StrMap Integer, StrMap ValidNumber

is overly wordy, we can use
{"length": -1} :: Object, StrMap Number

instead simply by removing the other numeric types from the environment.

Ah I get you. I think I'll leave it as it is for the moment. It feels like a separate pull request to deal with these log messages.

Should there be an $.StrMap.test function? I'm getting an error when I try to invoke saying it doesn't exist.

Should there be an $.StrMap.test function?

$.StrMap, like $.Array, is a type constructor. It is not itself a Type since it is of type Type -> Type.
I imagine $.StrMap(a).test(x) is what you're after, but I just discovered a problem with this which I reported in plaid/sanctuary-def#56.

Ah, I see. I am destined never to land this PR!

I am destined never to land this PR!

Another way to view it is that this pull request is driving sanctuary-def forward. :)

I much prefer that interpretation!

Oops, I accidently pushed some changes I was working on while I'm waiting for $.test to drop in the new version of sanctuary-def.

Thank you for all your work on this, Stefano. Let's move the discussion to #216. :)


Remove a duplicate lease for leader election

After upgrading the operator-sdk, the manual leader election via a lease
was not removed. This is handled automatically now in the NewManager
function in the "sigs.k8s.io/controller-runtime" package.

/hold while under discussion

I'm closing this PR since I missed the fact that the lease was created on the hub cluster but this is an addon that runs on a managed cluster.


Enhance the 'stats' section in the website

I would like to add a dynamic counting animation for the numbers in the below shown section, starting from 0 and counting up to their final values over a few seconds. This would enhance the user interaction.

Also I would like to well align it properly, since it is not well aligned.

@Sanskriti1102  Kindly assign me this issue under the gssoc and hacktoberfest labels.

@swathivemula7 assigned

@Krishi1211 Since the dynamic counting animation is live on the website, can i work on aligning the stats section.

@swathivemula7 please add dynamic counting as well

@swathivemula7 please add dynamic counting as well

@Krishi1211 in the stats section, the numbers are being counted from 0 and this feature was already there,please refer the video linked in pull request...are you talking about that feature...

Nope I was talking about getting live views and likes @swathivemula7

Is that possible?

I don't have a clear idea on that.. @Krishi1211

@Krishi1211 I have updated the PR by adding the correct stats by reviewing your YouTube channel...so kindly consider..