Crashing on Windows

Same problem as many other users on Windows where the program crashes once it begins transcribing.

Same I have vulkan (GTX 1650)
{"timestamp":"2024-10-04T15:13:54.742254Z","level":"DEBUG","fields":{"message":"Vibe App Running"},"target":"vibe::setup"} {"timestamp":"2024-10-04T15:13:54.742649Z","level":"DEBUG","fields":{"message":"webview version: 129.0.2792.65"},"target":"vibe::setup"} {"timestamp":"2024-10-04T15:13:54.742772Z","level":"DEBUG","fields":{"message":"Protocol handler registered successfully."},"target":"vibe::custom_protocol"} {"timestamp":"2024-10-04T15:13:54.742791Z","level":"DEBUG","fields":{"message":"Cargo features: vulkan"},"target":"vibe::setup"} {"timestamp":"2024-10-04T15:13:54.742818Z","level":"DEBUG","fields":{"message":"CPU Features\n{\"avx\":{\"enabled\":true,\"support\":true},\"avx2\":{\"enabled\":true,\"support\":true},\"f16c\":{\"enabled\":true,\"support\":true},\"fma\":{\"enabled\":true,\"support\":true}}"},"target":"vibe::setup"} {"timestamp":"2024-10-04T15:13:54.742825Z","level":"DEBUG","fields":{"message":"Executable Architecture: x86_64"},"target":"vibe::setup"} {"timestamp":"2024-10-04T15:13:54.742831Z","level":"DEBUG","fields":{"message":"APP VERSION: 2.6.0"},"target":"vibe::setup"} {"timestamp":"2024-10-04T15:13:54.742835Z","level":"DEBUG","fields":{"message":"COMMIT HASH: ed1ec88d948625b1da522697b22de4e7f51558a1"},"target":"vibe::setup"} {"timestamp":"2024-10-04T15:13:54.742845Z","level":"DEBUG","fields":{"message":"Non CLI mode"},"target":"vibe::setup"} {"timestamp":"2024-10-04T15:13:55.610372Z","level":"DEBUG","fields":{"message":"Vulkan support is successfully checked and working."},"target":"vibe::cmd"} {"timestamp":"2024-10-04T15:13:55.663851Z","level":"TRACE","fields":{"message":"checkout waiting for idle connection: (\"https\", github.com)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:55.663940Z","level":"TRACE","fields":{"message":"Http::connect; scheme=Some(\"https\"), host=Some(\"github.com\"), port=None"},"target":"hyper_util::client::legacy::connect::http"} {"timestamp":"2024-10-04T15:13:55.664194Z","level":"DEBUG","fields":{"message":"resolving","host":"github.com"},"target":"hyper_util::client::legacy::connect::dns","span":{"host":"github.com","name":"resolve"},"spans":[{"host":"github.com","name":"resolve"}]} {"timestamp":"2024-10-04T15:13:55.679308Z","level":"DEBUG","fields":{"message":"Default Input Device:\nOk(\"Grupo de microfones (Realtek(R) Audio)\")"},"target":"vibe::cmd::audio"} {"timestamp":"2024-10-04T15:13:55.679340Z","level":"DEBUG","fields":{"message":"Default Output Device:\nOk(\"Fones de ouvido (soundcore Life Q30)\")"},"target":"vibe::cmd::audio"} {"timestamp":"2024-10-04T15:13:55.682329Z","level":"DEBUG","fields":{"message":"Devices: "},"target":"vibe::cmd::audio"} {"timestamp":"2024-10-04T15:13:55.685973Z","level":"DEBUG","fields":{"message":"connecting to <IP_ADDRESS>:443"},"target":"hyper_util::client::legacy::connect::http"} {"timestamp":"2024-10-04T15:13:55.720032Z","level":"DEBUG","fields":{"message":"connected to <IP_ADDRESS>:443"},"target":"hyper_util::client::legacy::connect::http"} {"timestamp":"2024-10-04T15:13:56.014683Z","level":"TRACE","fields":{"message":"http1 handshake complete, spawning background dispatcher task"},"target":"hyper_util::client::legacy::client"} {"timestamp":"2024-10-04T15:13:56.014746Z","level":"TRACE","fields":{"message":"checkout dropped for (\"https\", github.com)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.039742Z","level":"TRACE","fields":{"message":"put; add idle connection for (\"https\", github.com)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.039785Z","level":"DEBUG","fields":{"message":"pooling idle connection for (\"https\", github.com)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.039827Z","level":"TRACE","fields":{"message":"take? (\"https\", github.com): expiration = Some(90s)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.039838Z","level":"DEBUG","fields":{"message":"reuse idle connection for (\"https\", github.com)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.042176Z","level":"TRACE","fields":{"message":"idle interval checking for expired"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.066525Z","level":"TRACE","fields":{"message":"put; add idle connection for (\"https\", github.com)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.066556Z","level":"DEBUG","fields":{"message":"pooling idle connection for (\"https\", github.com)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.066608Z","level":"TRACE","fields":{"message":"checkout waiting for idle connection: (\"https\", objects.githubusercontent.com)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.066657Z","level":"TRACE","fields":{"message":"Http::connect; scheme=Some(\"https\"), host=Some(\"objects.githubusercontent.com\"), port=None"},"target":"hyper_util::client::legacy::connect::http"} {"timestamp":"2024-10-04T15:13:56.066732Z","level":"DEBUG","fields":{"message":"resolving","host":"objects.githubusercontent.com"},"target":"hyper_util::client::legacy::connect::dns","span":{"host":"objects.githubusercontent.com","name":"resolve"},"spans":[{"host":"objects.githubusercontent.com","name":"resolve"}]} {"timestamp":"2024-10-04T15:13:56.082580Z","level":"DEBUG","fields":{"message":"connecting to <IP_ADDRESS>:443"},"target":"hyper_util::client::legacy::connect::http"} {"timestamp":"2024-10-04T15:13:56.106560Z","level":"DEBUG","fields":{"message":"connected to <IP_ADDRESS>:443"},"target":"hyper_util::client::legacy::connect::http"} {"timestamp":"2024-10-04T15:13:56.163974Z","level":"TRACE","fields":{"message":"http1 handshake complete, spawning background dispatcher task"},"target":"hyper_util::client::legacy::client"} {"timestamp":"2024-10-04T15:13:56.164019Z","level":"TRACE","fields":{"message":"checkout dropped for (\"https\", objects.githubusercontent.com)"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.741244Z","level":"TRACE","fields":{"message":"pool dropped, dropping pooled ((\"https\", objects.githubusercontent.com))"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:56.741258Z","level":"TRACE","fields":{"message":"pool closed, canceling idle interval"},"target":"hyper_util::client::legacy::pool"} {"timestamp":"2024-10-04T15:13:58.822431Z","level":"DEBUG","fields":{"message":"loading model first time"},"target":"vibe::cmd"} {"timestamp":"2024-10-04T15:13:58.822489Z","level":"DEBUG","fields":{"message":"open model..."},"target":"vibe_core::transcribe"} {"timestamp":"2024-10-04T15:13:58.822605Z","level":"DEBUG","fields":{"message":"gpu device: 1"},"target":"vibe_core::transcribe"} {"timestamp":"2024-10-04T15:13:58.822725Z","level":"DEBUG","fields":{"message":"use gpu: true"},"target":"vibe_core::transcribe"} {"timestamp":"2024-10-04T15:13:58.822739Z","level":"DEBUG","fields":{"message":"creating whisper context with model path C:\\Users\\Jonh Accorsi\\AppData\\Local\\github.com.thewh1teagle.vibe\\ggml-medium.bin"},"target":"vibe_core::transcribe"} {"timestamp":"2024-10-04T15:13:58.822782Z","level":"INFO","fields":{"message":"whisper_init_from_file_with_params_no_state: loading model from 'C:\\Users\\Jonh Accorsi\\AppData\\Local\\github.com.thewh1teagle.vibe\\ggml-medium.bin'"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823049Z","level":"INFO","fields":{"message":"whisper_init_with_params_no_state: use gpu    = 1"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823065Z","level":"INFO","fields":{"message":"whisper_init_with_params_no_state: flash attn = 0"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823073Z","level":"INFO","fields":{"message":"whisper_init_with_params_no_state: gpu_device = 1"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823080Z","level":"INFO","fields":{"message":"whisper_init_with_params_no_state: dtw        = 0"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823103Z","level":"INFO","fields":{"message":"whisper_model_load: loading model"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823160Z","level":"INFO","fields":{"message":"whisper_model_load: n_vocab       = 51865"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823171Z","level":"INFO","fields":{"message":"whisper_model_load: n_audio_ctx   = 1500"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823178Z","level":"INFO","fields":{"message":"whisper_model_load: n_audio_state = 1024"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823185Z","level":"INFO","fields":{"message":"whisper_model_load: n_audio_head  = 16"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823192Z","level":"INFO","fields":{"message":"whisper_model_load: n_audio_layer = 24"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823198Z","level":"INFO","fields":{"message":"whisper_model_load: n_text_ctx    = 448"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823203Z","level":"INFO","fields":{"message":"whisper_model_load: n_text_state  = 1024"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823208Z","level":"INFO","fields":{"message":"whisper_model_load: n_text_head   = 16"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823212Z","level":"INFO","fields":{"message":"whisper_model_load: n_text_layer  = 24"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823217Z","level":"INFO","fields":{"message":"whisper_model_load: n_mels        = 80"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823221Z","level":"INFO","fields":{"message":"whisper_model_load: ftype         = 1"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823226Z","level":"INFO","fields":{"message":"whisper_model_load: qntvr         = 0"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.823235Z","level":"INFO","fields":{"message":"whisper_model_load: type          = 4 (medium)"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.921604Z","level":"INFO","fields":{"message":"whisper_model_load: adding 1608 extra tokens"},"target":"whisper_rs::whisper_sys_tracing"} {"timestamp":"2024-10-04T15:13:58.923648Z","level":"INFO","fields":{"message":"whisper_model_load: n_langs       = 99"},"target":"whisper_rs::whisper_sys_tracing"}

Hi Yes Vulkan works for me on my device.

@OnlyBandsAU
Thanks. I released new version that should use less memory with Vulkan. maybe that fixed the issue
https://github.com/thewh1teagle/vibe/releases/download/v2.6.1/vibe_2.6.1_x64-setup.exe
If it still doesn't work you can start it from the terminal to see the errors. see https://github.com/thewh1teagle/vibe/blob/main/docs/DEBUG.md

It works now after the update. Thank you!


Add symfony expression syntax to collection relations annotation

Feature Request

Q
A

New Feature
yes

RFC
no

BC Break
no

Summary
To use indexBy with foreign key you need to add the key as class property which is considered to be a bad practice.
Imagine situation when you have class Foo that hass class Related with relation type one to many
@ORM\OneToMany(targetEntity="Foo", mappedBy="foo", indexBy="relatedId")
I would like to use doctrine expression or be able to index by a foreign key.
@ORM\OneToMany(targetEntity="Foo", mappedBy="foo", indexBy="$related->getId()")

Your current entity relation is: One Related entity can have one or more Foo entities and you want the collection of Foo use the id of Related? indexBy is supposed have a unique key.
indexBy is supposed to get a property with a unique value like in this example:
/**
 * @ORM\Entity
 */
class Foo
{
    /**
     * @var int
     *
     * @ORM\Column(type="integer")
     * @ORM\Id()
     * @ORM\GeneratedValue()
     */
    public $id;

    /**
     * @var string
     *
     * @ORM\Column(type="string")
     */
    public $name;

    /**
     * @var Bar[]
     *
     * Use Bar.id as key.
     * @ORM\OneToMany(targetEntity="Bar", mappedBy="foo", indexBy="id")
     */
    public $bars;
}

/**
 * @ORM\Entity
 */
class Bar
{
    /**
     * @var int
     *
     * @ORM\Column(type="integer")
     * @ORM\Id()
     * @ORM\GeneratedValue()
     */
    public $id;

    /**
     * @var string
     *
     * @ORM\Column(type="string")
     */
    public $name;

    /**
     * @var Foo
     *
     * @ORM\ManyToOne(targetEntity="Foo", inversedBy="bars")
     */
    public $foo;
}

Can you please elaborate your use case?

This:

indexBy="$related->getId()"

Is absolutely too complex, and an edge case too.
Closing as won't fix, since this logic is trivially implemented in userland with collection operations, without having to introduce massive complexity, pseudo-code in mappings, nor potential code parsing and evaluation facilities that are not worth building unless they are an evident game changer.


Clean up documentation

Specifically:

Fixed formatting of a few math expressions.
Made list of transforms (and functions as well) consistent with what is implemented. Turns out there were only two extraneous transforms.

Thanks!


session from querystring

Hello! Look at this, may be you could test It to? I'm not good in testing)
there is some strange body

I think I don't understand request.session.set() :)
Anyways, seems like everything is working fine.

Thanks for the PR! Unfortunately it seems to be a pretty narrow use case that would be better suited as a  fastify-plugin. So  you may want to  publish as a separate package like fastify-session-querystring, that could be used before fastify-session, will happily update the docs to link to your plugin.


direct eval warning when bundling with esbuild

When building code for Cypress using esbuild and this plugin I get the following warning:
Warning: G] Using direct eval with a bundler is not recommended and may cause problems [direct-eval]
node-modules-polyfills:crypto:28833:9:
  28833 │   return eval((this || _global$b).code);
        ╵          ~~~~

You can read more about direct eval and bundling here: https://esbuild.github.io/link/direct-eval
Should I be concerned about this?

This lib doesn't provide the source code of these modules. It depends on https://github.com/Aslemammad/modern-node-polyfills
which uses https://github.com/jspm/jspm-core I search their source code but can't find any usage of eval. I'll look into it.
Also if u are bundling only for testing, ig you can ignore this warning but for production bundles, this can cause issues.
Can you give me a minimal repro of this issue?

For now, I fixed in my lib and published v1.0.14, if it gets fixed in upstream, I'll revert my changes


automatically loading grubaa64.efi from UEFI in arch linux arm

Hi
I've installed arch linux arm.
But it's not booting the .efi file automatically in UEFI.
to boot at the moment I manually search the .efi file and enter it.
My question is, how can I make arch linux automatically do it.
I would also want to understand how UEFI automatically loads the .efi file in UTM and in general.
I wrote this for debian:
https://github.com/utmapp/UTM/issues/4002
So I tried making /boot directory and copying the grubaa64.efi and grub.cfg to there. It didn't work.
I also tried this:
https://github.com/utmapp/UTM/issues/2503
but it didn't work.
This worked in the first time I booted arch but then it stopped.
Please help.
Thanks in advance

How did you install Arch Linux Arm? When I installed it, I used efibootmgr to add the kernel image and initramfs as a boot entry without GRUB.
FYI I have a guide if you need it.

Ok I succeeded:
inspired by this link:
https://wiki.mageia.org/en/Efibootmgr#:~:text=To create an EFI boot,EFI System Partition is hosted
The command I used:
efibootmgr -c -d /dev/vda-p 1 -L "ArchLinux" -l "\EFI\GRUB\grubaa64.efi"
Answering your question:
to install I've downloaded this ISO:
https://github.com/IComplainInComments/archiso/releases
It's pretty recent from May 2022.
Then I simply followed the guide in archlinux.org..
https://wiki.archlinux.org/title/Installation_guide
I did use grub.

That's great!


Unable to create site with Let's Encrypt SSL after upgrade to EE v4.6.0

I recently updated to EE version 4.6.0 and are now getting the following error when trying to create a new site using Let's Encrypt SSL:
root@ee:~# ee site create [REDUCTED] --type=wp --locale=sv_SE --cache --ssl=le --le-mail=[REDUCTED]
Starting site creation.
Configuring project.
Creating WordPress site [REDUCTED]
Copying configuration files.
Starting site's services.
Downloading and configuring WordPress.
Moved /var/www/htdocs/wp-config.php to /var/www/wp-config.php successfully
Checking and verifying site-up status. This may take some time.

Installing WordPress site.
Success: https://[REDUCTED] has been created successfully!
PHP Fatal error:  Uncaught Error: Undefined constant "GuzzleHttp\IDNA_DEFAULT" in phar:///usr/local/bin/ee/vendor/guzzlehttp/guzzle/src/Client.php:218
Stack trace:
#0 phar:///usr/local/bin/ee/vendor/guzzlehttp/guzzle/src/Client.php(112): GuzzleHttp\Client->buildUri()
#1 phar:///usr/local/bin/ee/vendor/guzzlehttp/guzzle/src/Client.php(129): GuzzleHttp\Client->sendAsync()
#2 phar:///usr/local/bin/ee/vendor/acmephp/core/Http/SecureHttpClient.php(337): GuzzleHttp\Client->send()
#3 phar:///usr/local/bin/ee/vendor/acmephp/core/Http/SecureHttpClient.php(346): AcmePhp\Core\Http\SecureHttpClient->AcmePhp\Core\Http\{closure}()
#4 phar:///usr/local/bin/ee/vendor/acmephp/core/AcmeClient.php(312): AcmePhp\Core\Http\SecureHttpClient->request()
#5 phar:///usr/local/bin/ee/vendor/acmephp/core/AcmeClient.php(89): AcmePhp\Core\AcmeClient->getResourceUrl()
#6 phar:///usr/local/bin/ee/vendor/acmephp/core/AcmeClient.php(334): AcmePhp\Core\AcmeClient->getHttpClient()
#7 phar:///usr/local/bin/ee/vendor/acmephp/core/AcmeClient.php(112): AcmePhp\Core\AcmeClient->requestResource()
#8 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/Site_Letsencrypt.php(179): AcmePhp\Core\AcmeClient->registerAccount()
#9 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(1504): EE\Site\Type\Site_Letsencrypt->register()
#10 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(1467): EE\Site\Type\EE_Site_Command->init_le()
#11 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/helper/class-ee-site.php(1406): EE\Site\Type\EE_Site_Command->init_ssl()
#12 phar:///usr/local/bin/ee/vendor/easyengine/site-type-wp/src/WordPress.php(1012): EE\Site\Type\EE_Site_Command->www_ssl_wrapper()
#13 phar:///usr/local/bin/ee/vendor/easyengine/site-type-wp/src/WordPress.php(437): EE\Site\Type\WordPress->create_site()
#14 [internal function]: EE\Site\Type\WordPress->create()
#15 phar:///usr/local/bin/ee/php/EE/Dispatcher/CommandFactory.php(96): call_user_func()
#16 [internal function]: EE\Dispatcher\CommandFactory::EE\Dispatcher\{closure}()
#17 phar:///usr/local/bin/ee/php/EE/Dispatcher/Subcommand.php(272): call_user_func()
#18 phar:///usr/local/bin/ee/php/EE/Runner.php(335): EE\Dispatcher\Subcommand->invoke()
#19 phar:///usr/local/bin/ee/php/class-ee.php(1184): EE\Runner->run_command()
#20 phar:///usr/local/bin/ee/vendor/easyengine/site-command/src/Site_Command.php(154): EE::run_command()
#21 [internal function]: Site_Command->__invoke()
#22 phar:///usr/local/bin/ee/php/EE/Dispatcher/CommandFactory.php(96): call_user_func()
#23 [internal function]: EE\Dispatcher\CommandFactory::EE\Dispatcher\{closure}()
#24 phar:///usr/local/bin/ee/php/EE/Dispatcher/Subcommand.php(272): call_user_func()
#25 phar:///usr/local/bin/ee/php/EE/Runner.php(335): EE\Dispatcher\Subcommand->invoke()
#26 phar:///usr/local/bin/ee/php/EE/Runner.php(358): EE\Runner->run_command()
#27 phar:///usr/local/bin/ee/php/EE/Runner.php(784): EE\Runner->_run_command_and_exit()
#28 phar:///usr/local/bin/ee/php/EE/Bootstrap/LaunchRunner.php(23): EE\Runner->start()
#29 phar:///usr/local/bin/ee/php/bootstrap.php(74): EE\Bootstrap\LaunchRunner->process()
#30 phar:///usr/local/bin/ee/php/init-ee.php(27): EE\bootstrap()
#31 phar:///usr/local/bin/ee/php/boot-phar.php(8): include('...')
#32 /usr/local/bin/ee(5): include('...')
#33 {main}
  thrown in phar:///usr/local/bin/ee/vendor/guzzlehttp/guzzle/src/Client.php on line 218
Warning: An Error occurred. Initiating clean-up.
Warning: Exiting gracefully after rolling back. This may take some time.
[[REDUCTED]] Docker Containers removed.
[[REDUCTED]] site root removed.
Success: Site [REDUCTED] deleted.
Success: Rollback complete. Exiting now.

System Information

[X] ee cli info

+-------------------+----------------------------------------------------------------------------+
| OS                | Linux 5.4.0-124-generic #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022 x86_64 |
| Shell             | /bin/bash                                                                  |
| PHP binary        | /usr/bin/php8.0                                                            |
| PHP version       | 8.0.21                                                                     |
| php.ini used      | /etc/php/8.0/cli/php.ini                                                   |
| EE root dir       | phar://ee.phar                                                             |
| EE vendor dir     | phar://ee.phar/vendor                                                      |
| EE phar path      | /root                                                                      |
| EE packages dir   |                                                                            |
| EE global config  | /opt/easyengine/config/config.yml                                          |
| EE project config |                                                                            |
| EE version        | 4.6.0                                                                      |
+-------------------+----------------------------------------------------------------------------+

[X] lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

[X] docker version

Client: Docker Engine - Community
 Version:           20.10.17
 API version:       1.41
 Go version:        go1.17.11
 Git commit:        100c701
 Built:             Mon Jun  6 23:02:57 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.17
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.17.11
  Git commit:       a89b842
  Built:            Mon Jun  6 23:01:03 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.7
  GitCommit:        0197261a30bf81f1ee8e6a4dd2dea0ef95d67ccb
 runc:
  Version:          1.1.3
  GitCommit:        v1.1.3-0-g6724737
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

[X] docker-compose version

docker-compose version 1.29.2, build 5becea4c
docker-py version: 5.0.0
CPython version: 3.7.10
OpenSSL version: OpenSSL 1.1.0l  10 Sep 2019

I also am stymied by this issue.

I have this issue as well.

Thanks for submitting the issue.
I will be looking into this on priority.

Fixed in EE v4.6.2. Update using ee cli update and try creating site with ssl.

Thank You, so much.
I'm currently stuck on a client site that needs SSL.
Let me know how I can buy you a coffee, or beer, etc...
We appreciate Easy Engine.

Confirmed fixed in stable EE v.4.6.1 on Ubuntu 20.04 and also Ubuntu 22.04


Do not ignore Laravel's storage/ directory

Reasons for making this change:
Laravel's storage/ directory structure has own .gitignores.
If ignore storage/, cause errors to access these child directories when execute requests.
Links to documentation supporting these rule changes:
https://github.com/laravel/laravel/tree/master/storage

@0xBADDCAFE thanks!


When a Skill is listed in a power, is listed as a "NaN-" skill roll

When a skill is added to a Power item, the skill is listed with "NaN-" in the skill value. The skill is listed correctly and works correctly in the normal Skills tab.

Update V2.1.1
Now new skills, manoeuvres, attacks, defence, and movement added to a power do not display in the power, but they do show up when the power is added.

I think going forward Upload .HDC will sort things into the item type they were. Since Foundry V10 doesn't support items within items, having all the item types under power and equipment type items made maintaining the code difficult.


<EMAIL_ADDRESS>decompress error

scoop output
Updating 'appflowy' (0.5.9 -> 0.6.1)
Downloading new version
Loading AppFlowy-0.6.1-windows-x86_64.exe from cache.
Checking hash of AppFlowy-0.6.1-windows-x86_64.exe ... ok.
Uninstalling 'appflowy' (0.5.9)
Installing 'appflowy' (0.6.1) [64bit] from 'extras' bucket
Loading AppFlowy-0.6.1-windows-x86_64.exe from cache.
Extracting AppFlowy-0.6.1-windows-x86_64.exe ... ERROR Exit code was 1!
Failed to extract files from C:\Users\zhangchao\scoop\apps\appflowy\0.6.1\AppFlowy-0.6.1-windows-x86_64.exe.
Log file:
  ~\scoop\apps\appflowy\0.6.1\innounp.log

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=appflowy%400.6.1%3a+decompress+error

innounp log
Signature detected: Inno Setup Setup Data (6.3.0)
This is not directly supported, but i'll try to unpack it as version 5602
; Version detected: 6300
Critical error: The setup files are corrupted. Please obtain a new copy of the program.
Signature detected: Inno Setup Setup Data (6.3.0)
This is not directly supported, but i'll try to unpack it as version 5602
; Version detected: 6300
Critical error: The setup files are corrupted. Please obtain a new copy of the program.

du #13487


HandshakeException

can you disable certificate validation in http package?  ( you can do optional ).
I get this error for some URLs. but I want to download it anyway cause I know there is no problem.
for disabling certificate validation example :
import 'dart:io';

class MyHttpOverrides extends HttpOverrides{
  @override
  HttpClient createHttpClient(SecurityContext? context){
    return super.createHttpClient(context)
      ..badCertificateCallback = (X509Certificate cert, String host, int port)=> true;
  }
}

void main() {
  HttpOverrides.global = new MyHttpOverrides();
  runApp(MyApp());
}

@Shahmirzali-Huseynov, can you implement this by passing the custom HttpClient?

@starkdmi Yes, I can. but How can I disable certificate validation for the Custom client?

@Shahmirzali-Huseynov, here:
import 'package:http/io_client.dart';

final httpClient = HttpClient()..badCertificateCallback = ((X509Certificate cert, String host, int port) => true);
final ioClient = IOClient(httpClient);
await manager.init(isolates: 1, directory: directory, client: ioClient);

thanks, @starkdmi


Special Characters while adding metadata in UTF-8

while creating a pdf with metadata, metadata are not stored in UTF-8 format. Is there any way to add metadata in UTF-8 format.

Hello @minakshi-debut!
I'm afraid metadata cannot be stored in UTF-8 format. The PDF specification states that metadata should be stored as "text strings" (see Table 317 – Entries in the document information dictionary). And the spec states that text strings

shall be encoded using either PDFDocEncoding or UTF-16BE with a leading byte-order marker.

(see Table 35 – String Object Types and Section <IP_ADDRESS> Text String Type).


Advanced Deployment with Red Hat OpenShift - Retrospective

Could you please share details of the exam. What is the exam code(if any), criteria, is it going to test the installation of Openshift or it was like EX280. I am going to attend the same course soon. This will help me greatly. Thank you

Hi, @srinivasraja54 you have all the training courses available on the official website1, depending on the path you take there are different exams. In particular, the one for OpenShift would be the EX2801.
About the exam details, they are described in the exam description.


kube-flannel going into CrashLoop

Bug
Kube-flannel goes into crash loop.  This happens not on all flannel pods.
Error is unknown host.  It seems like it could not contact the api server.
Environment

Platform: digital-ocean
OS: container-linux
Terraform: 0.11.1
Plugins: Provider plugin versions
Ref: Git SHA (if applicable)v 1.9.3

Problem
Describe the problem.
When i bootstrap a kubernetes cluster on DIgital Ocean, kube-flannel goes into crash loop.
This does not happen on all pods.  For example I bootstrapped a 4 worker nodes, either 1 or 2 pods goes into crash loop.  The error reported as "unknown host" when it is trying to connect to the api server.
DUe to this nginx add on does not work anymore.  Other pods' status are Running.
Desired Behavior
Flannel in stable or running state.
Describe the goal.
Steps to Reproduce
I simply follow the steps described in digital ocean distribution of Typhoon.

You'll have to do a bit more debugging. The DO test clusters for v1.9.3 don't reproduce this problem.
One thing to pay attention to on DO is that the default VMs are quite small compared with other cloud providers. Be sure this isn't related to resource contention.

Sorry I'm quite new to this.  I will try bumping up the size of the droplet.
The strange thing though is that, it haven't really put any app into it.  Just the basic components.   I tried with the s-2vcpu-4gb for both the controller and the worker.
I haven't experience this strange behavior while using the 1.8.6 (i think).  Another weird thing is that sometimes when I do kubectl get nodes, i dont see all the nodes listed.  But i can see that flannel pods are on all workers. Have you experience such behavior too?

No, I don't see this. Can you post your module definition? Is it specific to certain regions (I see a few are under maintenance)? Is your DNS setup ok (you don't have some insane long TTL that still points to something else)? Using coreos-stable? There is not enough info here to provide much real help.

Thanks for getting back on this one.  Awesome work by the way.
Yes i am using coreos-stable
Here are the flannel logs, these are all i can grab directly from the docker logs..
{"log":"I0216` 01:16:07.561144       1 main.go:416] Searching for interface using <IP_ADDRESS>\n","stream":"stderr","time":"2018-02-16T01:16:07.561601825Z"}
{"log":"I0216 01:16:07.561937       1 main.go:487] Using interface with name eth1 and address <IP_ADDRESS>\n","stream":"stderr","time":"2018-02-16T01:16:07.562230174Z"}
{"log":"I0216 01:16:07.562070       1 main.go:504] Defaulting external address to interface address (<IP_ADDRESS>)\n","stream":"stderr","time":"2018-02-16T01:16:07.562254728Z"}
{"log":"E0216 01:16:10.662655       1 main.go:231] Failed to create SubnetManager: error retrieving pod spec for 'kube-system/kube-flannel-bzgks': Get https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system/pods/kube-flannel-bzgks: dial tcp <IP_ADDRESS>:443: getsockopt: no route to host\n","stream":"stderr","time":"2018-02-16T01:16:10.667137665Z"}

further logs from journalctl
Feb 16 01:24:15 btc-worker-1 kubelet-wrapper[1248]: I0216 01:24:15.866831    1248 kuberuntime_manager.go:503] Container {Name:kube-flannel Image:quay.io/coreos/flannel:v0.9.1-amd64 Command:[/opt/bin/flanneld --ip-masq --kube-subnet-mgr --iface=$(POD_IP)] Args:[] WorkingDir: Ports:[] EnvFrom:[] Env:[{Name:POD_NAME Value: ValueFrom:&EnvVarSource{FieldRef:&ObjectFieldSelector{APIVersion:v1,FieldPath:metadata.name,},ResourceFieldRef:nil,ConfigMapKeyRef:nil,SecretKeyRef:nil,}} {Name:POD_NAMESPACE Value: ValueFrom:&EnvVarSource{FieldRef:&ObjectFieldSelector{APIVersion:v1,FieldPath:metadata.namespace,},ResourceFieldRef:nil,ConfigMapKeyRef:nil,SecretKeyRef:nil,}} {Name:POD_IP Value: ValueFrom:&EnvVarSource{FieldRef:&ObjectFieldSelector{APIVersion:v1,FieldPath:status.podIP,},ResourceFieldRef:nil,ConfigMapKeyRef:nil,SecretKeyRef:nil,}}] Resources:{Limits:map[] Requests:map[]} VolumeMounts:[{Name:run ReadOnly:false MountPath:/run SubPath: MountPropagation:<nil>} {Name:cni ReadOnly:false MountPath:/etc/cni/net.d SubPath: MountPropagation:<nil>} {Name:flannel-cfg ReadOnly:false MountPath:/etc/kube-flannel/ SubPath: MountPropagation:<nil>} {Name:default-token-vkvsc ReadOnly:true MountPath:/var/run/secrets/kubernetes.io/serviceaccount SubPath: MountPropagation:<nil>}] LivenessProbe:nil ReadinessProbe:nil Lifecycle:nil TerminationMessagePath:/dev/termination-log TerminationMessagePolicy:File ImagePullPolicy:IfNotPresent SecurityContext:&SecurityContext{Capabilities:nil,Privileged:*true,SELinuxOptions:nil,RunAsUser:nil,RunAsNonRoot:nil,ReadOnlyRootFilesystem:nil,AllowPrivilegeEscalation:nil,} Stdin:false StdinOnce:false TTY:false} is dead, but RestartPolicy says that we should restart it.
Feb 16 01:24:15 btc-worker-1 kubelet-wrapper[1248]: I0216 01:24:15.867137    1248 kuberuntime_manager.go:742] checking backoff for container "kube-flannel" in pod "kube-flannel-bzgks_kube-system(8939894d-12b4-11e8-8fc1-26d06e90ea57)"
Feb 16 01:24:15 btc-worker-1 kubelet-wrapper[1248]: I0216 01:24:15.867293    1248 kuberuntime_manager.go:752] Back-off 5m0s restarting failed container=kube-flannel pod=kube-flannel-bzgks_kube-system(8939894d-12b4-11e8-8fc1-26d06e90ea57)
Feb 16 01:24:15 btc-worker-1 kubelet-wrapper[1248]: E0216 01:24:15.867334    1248 pod_workers.go:182] Error syncing pod 8939894d-12b4-11e8-8fc1-26d06e90ea57 ("kube-flannel-bzgks_kube-system(8939894d-12b4-11e8-8fc1-26d06e90ea57)"), skipping: failed to "StartContainer" for "kube-flannel" with CrashLoopBackOff: "Back-off 5m0s restarting failed container=kube-flannel pod=kube-flannel-bzgks_kube-system(8939894d-12b4-11e8-8fc1-26d06e90ea57)"

Module definition
module "digital-ocean-btc" {
  source = "git::https://github.com/poseidon/typhoon//digital-ocean/container-linux/kubernetes?ref=v1.9.3"

  region = "sgp1"
  dns_zone = "geek.per.sg"

  cluster_name = "btc"
  image = "coreos-stable"
  controller_count = 1
  controller_type = "s-4vcpu-8gb"
  worker_count = 3
  worker_type = "s-4vcpu-8gb"
  ssh_fingerprints = ["${var.digitalocean_ssh_fingerprint}"]

  # output assets dir
  asset_dir = "/home/thor/.secrets/clusters/btc"
}

Yes DNS seems to be working fine.  I didn't set the TTL explicitly, it took the default which is 300.
When I described the kube-api pod, i get this
Events:
  Type     Reason                 Age                From                   Message
  ----     ------                 ----               ----                   -------
  Normal   SuccessfulMountVolume  30m                kubelet, <IP_ADDRESS>  MountVolume.SetUp succeeded for volume "var-lock"
  Normal   SuccessfulMountVolume  30m                kubelet, <IP_ADDRESS>  MountVolume.SetUp succeeded for volume "ssl-certs-host"
  Normal   SuccessfulMountVolume  30m                kubelet, <IP_ADDRESS>  MountVolume.SetUp succeeded for volume "default-token-wxrsm"
  Normal   SuccessfulMountVolume  30m                kubelet, <IP_ADDRESS>  MountVolume.SetUp succeeded for volume "secrets"
  Warning  BackOff                30m (x4 over 30m)  kubelet, <IP_ADDRESS>  Back-off restarting failed container
  Normal   Pulled                 29m (x4 over 30m)  kubelet, <IP_ADDRESS>  Container image "gcr.io/google_containers/hyperkube:v1.9.3" already present on machine
  Normal   Created                29m (x4 over 30m)  kubelet, <IP_ADDRESS>  Created container
  Normal   Started                29m (x4 over 30m)  kubelet, <IP_ADDRESS>  Started container
  Warning  FailedMount            29m (x2 over 29m)  kubelet, <IP_ADDRESS>  MountVolume.SetUp failed for volume "default-token-wxrsm" : Get https://btc.geek.per.sg:443/api/v1/namespaces/kube-system/secrets/default-token-wxrsm: dial tcp <IP_ADDRESS>:443: getsockopt: connection refused

Eventhough there is this warning, kube-api pod is running.
I moved to using nyc3 region, tried to recreate the cluster twice.  So far it didn't have those strange flannel issue. I will try to observe this more.
Again many thanks for the help!

Closing this one.  I haven't experienced the issue since moving to nyc3 region.

I believe this is a problem with Digital Ocean private networking in the sgp1 region. Its not related to Kubernetes or flannel as far as I can tell.
Typhoon Digital Ocean test clusters run in nyc3 and I can't reproduce the issue there, which aligns with what you're seeing. Spinning up a cluster in sgp1:
Control plane bootstrapping completes successfully. Terraform apply completes successfully. The Kubernetes control plane is technically healthy. Flannel pods on controllers are healthy. However, all flannel pods on workers crash loop which aligns with your initial report.
Investigating:

Worker kubelet logs show correct and scuccessful registration using the node's private address. Worker kubelets can contact the apiserver.
Firewall rules exist to permit TCP and UDP traffic between controllers and workers (otherwise the registration would have failed too).
Logging and exec to any pod on a worker fails. This suggests the apiserver is unable to reach worker kubelets. These services use host networking, so its unrelated to overlays.

Evidence:
Workers register with private IPs to use DO private networking. On a healthy DO cluster (say nyc3), you can SSH to a controller and curl the kubelet health endpoint of a worker.
# good
ssh<EMAIL_ADDRESS>curl curl http://<IP_ADDRESS>:10255
404 page not found

Only in clusters in sgp1, the controller can't route to the worker over private networking (You can SSH into the worker via its public IP and very kubelet is indeed running).
# bad
ssh<EMAIL_ADDRESS>curl http://<IP_ADDRESS>:10255
curl: (7) Failed to connect to <IP_ADDRESS> port 10255: No route to host

An even simpler test is that you can normally SSH into a controller (with agent forwarding) and then SSH to a worker via its private IP. That doesn't work between droplets created in sgp1.
# controller
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 32:c3:be:97:84:a0 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::30c3:beff:fe97:84a0/64 scope link
       valid_lft forever preferred_lft forever
# worker
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 2e:10:ec:be:4a:f2 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/16 brd <IP_ADDRESS> scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::2c10:ecff:febe:4af2/64 scope link
       valid_lft forever preferred_lft forever

Its clear this is a host-level networking issue, not related to flannel or Kubernetes. As far as I can tell, Typhoon isn't doing anything wrong here.
I'm content to say for now don't pick Digital Ocean sgp1.

@joonas


Better benchmarking

[x] users should be able to run the benchmarking as part of the binary, with a flag
[x] user should be able to select benchmark size (small - 1s, medium - 30s, large - 90s, xlarge?)
[x] should display output in units of quantity per second (hash rate)
should be as close to possible to real conditions

closing as complete per #10 but I do have more ideas for this


export to nitrate wrongly disables test cases

I have a CONFIRMED Nitrate test case with
[relevancy]
collection !defined: False

tmt tests import translates the metadata to main.fmf with:
...
enabled: true
...
adjust:
  - enabled: false
    when: collection is not defined
    continue: false
...

So far so good. However when I export the test back to Nitrate (tmt tests export --how nitrate .) the test ends up with status=DISABLED.
I believe it's because tmt tests export interprets main.fmf although it shouldn't. In this specific example it runs with an empty context, interprets adjust, gets enabled=false and that is exported as status=DISABLED to Nitrate. tmt tests export should just read the metadata, not interpret, and export it.
As a workaround I can use tmt -c collection=whatever tests export --how nitrate . but this is a pretty limited method. Users have to check what's ending up in Nitrate and need to define various contexts for various test cases just for the sake of exporting, that's simply not practical.
Please note that end users' existing data can be affected, meaning wrongfully disabled test cases. I'm afraid this bug should be prioritized, TMT+Nitrate users notified and advised to re-export all their tests when a fix is available.

Forgot to mention the version: tmt-1.16.0-1.fc36.noarch

Hm, that's an interesting constellation. Let's try to fix in 1.17. As for now, the context adjust is applied always, even for commands like tmt test show. We could turn it off for this specific case but I'm not sure if that would not break other cases. Another way could be to explicitly not disable test cases during tmt test export or possibly check the original unmodified test metadata for the enabled attribute. @lukaszachy, @hegerj, any suggestions here?

There is a lot of corner cases like this then. This one is for 'enabled by default and disabled by adjust' however one can have the other way around (it is up to user to decide which makes more sense), so ignoring context will not help.
If we skip disabling test then user will need to visit tcms manually after they set enabled:false in their tmt metadata.
How about checking if there is any 'enabled: true' possible (unmodified and adjust rules taken into the account)?

It's a long time since I've worked on tmt so forgive me if this is a basic question, but what role does adjust play in setting status of nitrate case? Shouldn't that be simple mapping of enabled: true == CONFIRMED?

what role does adjust play in setting status of nitrate case?

Adjust rules can be used to modify any key if the test metadata, including enabled, which is this case. The test is enabled or disable based on the context.

How about checking if there is any 'enabled: true' possible (unmodified and adjust rules taken into the account)?

You mean to check all adjust rules for the enabled:true decision? This seems reasonable to me: If the test is enabled under at least one context then it should be marked as CONFIRMED in Nitrate so that it is correctly picked by wow (and then further filtered based on the actual context).

What about a simple means of enforcing ENABLED? Be it a CLI option...

A command line option overriding the detect status sounds ok as well. The solution could combine both.

CLI option is a problem. We need to make this more error prove - Imaging exporting with cli option and at some point in the future (by mistake) export whole repo -> BOOM, your test is disabled again.
The enabled: true might come from not adjusted or adjusted data. We should search through all. So "DISABLED" will be only test if there is no 'enabled: true' at all.
I'll try to do PR.

Works for me, thank you guys!


 The code to generate chrX/Y ploidy exists for sparse MatrixTables (https://github.com/macarthur-lab/gnomad_hail/blob/master/utils/sparse_mt.py#L364), but code for dense MatrixTables does not exist.

The code for sex imputation refinement relies on both chromosome X and chromosome Y ploidy now that #127 has been merged. The code to generate chrX/Y ploidy exists for sparse MatrixTables (https://github.com/macarthur-lab/gnomad_hail/blob/master/utils/sparse_mt.py#L364), but code for dense MatrixTables does not exist.

Hi @ch-kr,
Is there any update to run this code on a dense MatrixTable? Or any suggestion to adapt the current code?
Thanks in advance for your help!

sex inference on dense data exists in TGG methods https://github.com/broadinstitute/tgg_methods/blob/master/tgg/seqr_scripts/sex_check.py


Ship Akavache 5.0

Done:

[x] Remove support for WinRT80 #283
[x] Update the SQLitePCL.raw reference #306 (see also #257 #264)
[x] Resolve https://github.com/akavache/Akavache/issues/314

Next:

[x] Retire MakeRelease.ps1 as it doesn't work anymore.
[x] Resolve packaging story
[ ] Verify all references to SQLitePCLRaw.bundle_green are removed from nuspec (Geoff missed that in the last PR)
[x] Build Xamarin.Mac on Windows

-> THEN RELEASE.

Replace the current implementation of ConcurrentDictionary with the new one from Referense Source? /cc @ghuntley

:wave: @ericsink I've read your notes am literately right now trying to find a good insertion point for SQLitePCL.Batteries.Init();.
Current thoughts are to change the dependency to SQLitePCLRaw.bundle_e_sqlite3 (i.e. ship sqlite.so for all platforms) vs SQLitePCLRaw.bundle_green (ship sqlite.so on all platforms except for iOS which uses OS version).
@flagbug @paulcbetts guidance would be appreciated.

:-)
Looking more at Akavache...
A PCL need only reference SQLitePCLRaw.core.
The bundle and the batteries Init call need to happen from the platform
code, because that's where stuff gets hooked up to the native bits.
Hope this all makes sense. I'm typing on a phone.
Using bundle e_sqlite3 makes sense to me. I personally like the consistency
of having the same SQLite lib on all platforms.
E
On Tuesday, September 20, 2016, Geoffrey Huntley<EMAIL_ADDRESS>wrote:

👋 @ericsink https://github.com/ericsink I've read your notes am
literately right now trying to find a good insertion point for
SQLitePCL.Batteries.Init();.
Current thoughts are to change the dependency to
SQLitePCLRaw.bundle_e_sqlite3 (i.e. ship sqlite.so for all platforms) vs
SQLitePCLRaw.bundle_green (ship sqlite.so on all platforms except for iOS
which uses OS version).
@flagbug https://github.com/flagbug @paulcbetts
https://github.com/paulcbetts guidance would be appreciated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/akavache/Akavache/pull/291#issuecomment-248475737,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADsojT8yDAtzF2OBDupPUS3VCeIp0RDaks5qsHlpgaJpZM4Ill4C
.

NuGet V3 Feed:

https://www.myget.org/F/akavache/api/v3/index.json

NuGet V2 Feed:

https://www.myget.org/F/akavache/api/v2

I have version "<IP_ADDRESS>6383622" from myget running on physical iOS and Android devices and haven't had any issues so far.

Hm, I updated to the latest prerelease, but I'm still getting the exception System.DllNotFoundException: /system/lib/libsqlite.so when calling BlobCache.Secure. Investigating...

Did you manually remove the old SQLitePCL.raw_basic 0.8.6 package? Because this doesn't happen automatically when upgrading. At least not in XS.

Did you manually remove the old SQLitePCL.raw_basic 0.8.6 package? Because this doesn't happen automatically when upgrading. At least not in XS.

Aha! I still had an old version of sqlite-net-pcl installed. Updated it and now it works!

@ghuntley The CI seems to be flaky

I see no regressions in my Android and WPF application.


Integrate kotlin ABI validator

We're not 1.0 yet but we will be some day! We can integrate it now but allow breaking changes until 1.0 obviously.
https://github.com/Kotlin/binary-compatibility-validator

Done!


Nextjs v12 support please

Is your feature request related to a problem? Please describe.
Currently fails when installed on a nextjs12 project.
Describe the solution you'd like
Support nextjs 12.

This has been fixed in the latest version


Support Redis PubSub

@jcustenborder I may want to implement at least the ability to publish for a use-case at my company. Do you have some thoughts on how you want this accomplished?
My initial thoughts:
Config additions(something like):
redis.action which could be one of 2 possibilities at this point: set or publish, defaulting to set
redis.channel which would take your channel name
then the put method would determine which action to take based on the config

Looking a little closer at the put method, I see there's a little more going on there than I initially suspected. I think that  the actions could be cache or pubsub. With the ultimate redis ops for cache being mset or delete, and the pubsub operation being publish ? I'm not feeling too certain on the naming of the things, so your thoughts are totally welcome here!


ValueError: invalid literal for int() with base 10

I get the following error:
[2021-01-29 15:52:14 +0100] [22341] [INFO] Starting gunicorn 20.0.4
[2021-01-29 15:52:14 +0100] [22341] [INFO] Listening at: http://<IP_ADDRESS>:8000 (22341)
[2021-01-29 15:52:14 +0100] [22341] [INFO] Using worker: sync
[2021-01-29 15:52:14 +0100] [22346] [INFO] Booting worker with pid: 22346
[2021-01-29 15:52:17 +0100] [22346] [ERROR] Error handling request /atom?n=0%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D15%3Fu%3Dcristoper%3Fp%3Dfeedmixer%3Fformat%3DAtom%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D13%3Fu%3Dcristoper%3Fp%3Dfeedmixer%3Fformat%3DAtom%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D3564%3Fu%3Ddense-analysis%3Fp%3Dale%3Fformat%3DAtom%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D192%3Fu%3Dthemoonisacheese%3Fp%3D2bored2wait%3Fformat%3DAtom%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D189%3Fu%3Dthemoonisacheese%3Fp%3D2bored2wait%3Fformat%3DAtom%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D194%3Fu%3Dthemoonisacheese%3Fp%3D2bored2wait%3Fformat%3DAtom%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D190%3Fu%3Dthemoonisacheese%3Fp%3D2bored2wait%3Fformat%3DAtom%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D191%3Fu%3Dthemoonisacheese%3Fp%3D2bored2wait%3Fformat%3DAtom%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D193%3Fu%3Dthemoonisacheese%3Fp%3D2bored2wait%3Fformat%3DAtom%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D339%3Fu%3DFabricMC%3Fp%3Dfabric-loom%3Fformat%3DAtom
Traceback (most recent call last):
  File "/home/mrgeorgen/.local/share/virtualenvs/feedmixer-rEvpsW94/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 134, in handle
    self.handle_request(listener, req, client, addr)
  File "/home/mrgeorgen/.local/share/virtualenvs/feedmixer-rEvpsW94/lib/python3.9/site-packages/gunicorn/workers/sync.py", line 175, in handle_request
    respiter = self.wsgi(environ, resp.start_response)
  File "/home/mrgeorgen/dev/python/feedmixer/feedmixer_wsgi.py", line 64, in application
    return api(environ, start_response)
  File "/home/mrgeorgen/.local/share/virtualenvs/feedmixer-rEvpsW94/lib/python3.9/site-packages/falcon/api.py", line 269, in __call__
    responder(req, resp, **params)
  File "/home/mrgeorgen/dev/python/feedmixer/feedmixer_api.py", line 114, in on_get
    feeds, n, full = parse_qs(req)
  File "/home/mrgeorgen/dev/python/feedmixer/feedmixer_api.py", line 84, in parse_qs
    return ParsedQS(feeds, int(n), bool(full))
ValueError: invalid literal for int() with base 10: '0?f=https://rss.nixnet.services/index.php?action=display?bridge=GithubIssue?context=Issue comments?i=15?u=cristoper?p=feedmixer?format=Atom?f=https://rss.nixnet.services/index.php?action=display?brid

after running a shell script
curl 'https://github.com/search?o=desc&q=involves%3AMrGeorgen&s=updated' | github-issue-search
gihtub-issue-search script:
#!/bin/sh
feeds=`grep -Po '(?<=href=")[^"]*' < /dev/stdin |uniq -u |awk -F / '{ if($4 == "issues" || $4 == "pull") { printf "%s", "%3Ff%3Dhttps%3A%2F%2Frss.nixnet.services%2Findex.php%3Faction%3Ddisplay%3Fbridge%3DGithubIssue%3Fcontext%3DIssue+comments%3Fi%3D"$5"%3Fu%3D"$2"%3Fp%3D"$3"%3Fformat%3DAtom"} }'`
curl "http://localhost:8000/atom?n=0$feeds"

I'm not sure if my script passes unexpected parameters. If so feedmixer should print a proper error message which parameter is the problem

bruh don't mind of curse the ? before the f don't need to be escaped. the python error message is also enough, no need for a custom one

bruh don't mind of curse the ? before the f don't need to be escaped. the python error message is also enough, no need for a custom one

Thanks! I added a small patch to catch exceptions when parsing n and add a more specific error to the stack trace in case that helps future users figure out where the problem is more quickly.

Thanks! I added a small patch to catch exceptions when parsing n and add a more specific error to the stack trace in case that helps future users figure out where the problem is more quickly.


(QENG-3888) Remove static nodeset, use beaker-hostgenerator

This is additional work for QENG-3888 in ci-job-configs. We were using static nodesets within spec/acceptance/nodesets and this commit will use beaker-hostgenerator within the Rakefile to get the specified platform .yml configurations automatically. Still defaults to same configuration if none are set before running.

@HAIL9000

Merged! Thank you @smcelmurry!


Custom soundfont for integrated player and editable instrument names

MIDIopsy has been really great in helping me reverse-engineer some non-standard MIDI files.
There are a few features that would be really amazing (if this functionality is not already possible somehow):

Load custom soundfont to use with the integrated player
Expose instrument names to make them optionally editable (I realize the instrument names are based on the standard, but in the case where the files themselves don't adhere to the standard in the slightest, it would be a helpful improvement.)

Thank you for this software! 👏

Thanks for this feedback.  I'm glad MIDIopsy has been helpful to you.
The integrated player is basically Windows Media Player, and I'm not sure how/if custom soundfonts can be used with it, so that would take some research on my part.
Making the instrument names editable is totally doable, and I will consider this for the next release (although that may be a while).


Force static linking for openssl

Fixed #84
Signed-off-by: Jiahao XU<EMAIL_ADDRESS>

@alsuren Thanks for the suggestion, I also don't like deleting existing builds, though I'd love to test this patch on in wild and see whether there's any bug in it.


Dialog cannot be dragged

How can I make the dialog draggable?

@rborosak I think the faster way will be a PR :smile:

I'm not sure if we want to build that in or not. I think it would likely be accomplished by using a custom attribute on ai-aialog to add that behavior though. That's how I would start experimenting with it.

Agreed I don't think we want to add this to the base dialogs as we want to keep it as basic as possible to allow customization.
If you use your own modal styles you can have them be draggable which may be easier.


WinUI 3 doesn't render correctly on a legacy PC system with Windows Pro 10 64-bit 22H2

Which version of the app?
WinUI 3 Gallery
Description
I would like to report a problem with WinUI 3 applications on an older PC system that runs Windows 10 Pro 64-bit 22H2. The system specifications are as follows:
DxDiag.txt
The system has 4GB of RAM and uses Intel GMA 3000 for graphics, which only supports up to Directx 9.0c.
The problem occurs when I use the PowerToys app, which has recently adopted the WinUI 3 framework. I demonstrate the behavior of WinUI 2 and WinUI 3 Gallery demo apps in the issue below.
https://github.com/microsoft/PowerToys/issues/29340
Each WinUI 3 app does not render correctly, and it shows a blank window and a blank title. I suspect this is due to the lack of support for Directx 11 or higher by the Intel GMA 3000 or 4 GB system RAM sharing video memory with the integrated graphics card.
I suspect the same issue with the custom color picker for Window 10's Settings > Colors > Custom Color.

I hope this issue can be resolved or at least acknowledged by the developers. Thank you for your attention and assistance.
Screenshots
No response
Windows version
Windows 10 22H2 (19045)
Additional context
No response

It looks like the Color Picker control in the WInUI 2 Gallery demo also suffers the same problem as Windows 10's Settings > Colors > Custom Color.


Merge of viewtree with master

This is a major refactor of holoviews in preparation for release; every aspect of holoviews has been greatly improved.  There are currently 533 commits in this PR which is over half the total committed to the master branch!
Here are a few of the highlights:

Completely generalized handling of dimensions and dimensioned objects with generalized operations for computing dimension ranges, traversing nested data structures etc.

Complete re-organization, re-ordering and re-naming of the class hierarchy.

Far more flexible tree datastructures constructed with the * and + operators.

A new OptionsTree system that allows inheritance of styles (like CSS) while greatly simplifying the old system.

Completely redesigned internals and syntax for the %view, %opts and %channels line/cell magics.

Support for generalized channel definition that can take any overlay as input that may then be transformed to any arbitrary Element type.

And finally, we have a very general and flexible system for both display and data normalization!

3D plots, plotting hooks and much, much more!

All unit tests on Travis are now passing. We are ready to merge!


predict twice when load model twice, the result is different

save model code is as followed
options = tf.saved_model.SaveOptions(namespace_whitelist=['TFRA'])
model.save(model_path,include_optimizer=False, options=options,signatures=model.call.get_concrete_function(input_spec))
predict model's code is followed
tfra.dynamic_embedding.enable_inference_mode()
signature = model.signatures['serving_default']
model = tf.keras.models.load_model(model_path)
res=model(feats)

Firstly, judge whether model's weight is empty.


The design of .Retry() is wrong

        for {
		resp, body, errs = s.getResponseBytes()
		if errs != nil {
			return nil, nil, errs
		}
		if s.isRetryableRequest(resp) {
			resp.Header.Set("Retry-Count", strconv.Itoa(s.Retryable.Attempt))
			break
		}
	}

The current .Retry() mechanism only works when server successfully responds with a specific set of http codes. But in other scenarios, http requests might fail because of network connectivity problem, insufficient OS resource, etc, which will only exit at the first return(see above) , without proper retries.

Agree with you! When the error returned by client.Do is not nil, we should retry.

+1

Also, any retry logic specified in Client/transport is overwritten


Added functions to configure GDOx registers

New functions:

set_gdo0_config
set_gdo1_config
set_gdo2_config
set_gdo0_active_state
set_gdo1_active_state
set_gdo2_active_state
temperature_sensor_enable
set_gdo_drive_strength

Enhanced read_data function with optional rssi and lqi parameters
Added TODO banner for future cleanup

Hello @dsvensson , will you have time soon to review and merge this PR?

Oh, completly missed, sorry, thanks for pinging!

Oh, completly missed, sorry, thanks for pinging!

No problem @dsvensson , I thought you were on vacation, haha 😆
Thanks for merging!
Short update
I have made a working Rx/Tx communication using interrupt for Rx - this driver is becoming great!
I still have a backlog of missing register access and functionalities, but perhaps they will come in time.


added 1lo im. J. H. Dabrowskiego w Kutnie

1lo im. gen. J. H. Dabrowskiego is a high school in Kutno, Poland. They also offer curriculum with extended computer science, mathematics and physics. The official website of the school: https://www.dabrowszczak.pl/
Educational offer with a mention of written above educational program: https://www.dabrowszczak.pl/index.php?c=page&id=173

@McK22 Pull request merged. Thank you!


Stretching the tendons to drive the model

In my model I used tendons as strings and I wanted to control the model by the length of the strings (Figure 1）. However, when I pull the string, the model starts to move accordingly (Figure2） but then it slowly changes back to its original shape (Figure 3）. Why does this happen? Is it because the tendon is elastic? What's wrong with my program?  I uploaded the zip file and everything is in there.
Just like in reality I wish the rope could only pull.
But doesn't range="70 71" mean that the length of the rope is limited to 70 to 71?
If I want to set up the tendon like a rope without elasticity and this rope is 70 in length，should I set range="0 70"?

Hi！ @yuvaltassa

I want to drive the model in two ways. One is to apply a force to the drive rope to drive the model and the other is to control the model by pulling on the drive rope and changing the stretch length. That is, different forces are applied to the tendons to change the posture of the model and changing the length of the tendons to change the posture of the model.

When I type these:

Do these actuators on the tendon change the length of the tendon? For as can be seen in the perspective view of the Mujoco simulator, the rope (Purple) in the base is indeed stretched.

And whether the value -12.2 for t3 in the control section of the diagram represents the length of the tendon stretch is 12.2*100=1220?  This value has been bothering me for a long time :(

The same as before，when I control the tendon the model starts to move accordingly but then it slowly changes back to its original position. I have tried to change the range，the lower range is set to 0，but it doesn't work. How can I keep the model from going back to its original state?

my timestep is very tiny because there is always a warning:  Nan, Inf or huge value in QACC at DOF 0. The simulation is unstable. So had to make my time steps very small. When i removed the contact:

I noticed no difference compared to before either it seems. The current timestep setting is 0.00005, which is really small :(
By the way, where can I set friction between disks when the contacts are removed?
I'm so sorry I have so many questions, thanks again!

Hi,
Please note I changed the actuators from <position> to <motor>, so they are now applying forces directly, not trying to maintain a particular length.
I recommend that you take a step back from your model and write a few small test models using primitive geoms (so no assets required). Read the relevant documentation section carefully (actuation, actuator shortcuts, tendons), and if there is some behaviour you encounter that doesn't make sense to you, you can post your minimal model here (in a new issue), and we will help you.
It is much easier for us to help you if the model is as minimal as possible, yet demonstrates the issue that you are experiencing, rather than a complicated model like the one you are actually trying to build.

@yuvaltassa Thank you for your help!
when I use this actuator :
The motor outputs a force. In the control window of the simulator, the value of t1 can be selected from -20 to 0. If the value of t1 is chosen to be -10, does this mean that the magnitude of the force is 10? But  I don't know what the unit of force is. I know that my unit of length is millimetres.
I have read the relevant documentation section about In MuJoCo basic physical units are undefined. But with my length in millimetres it is now neither MKS nor CGS. So what is the unit of force ?
Thank you again！

Hi,
Not to be rude, but the fact that you are asking this question implies that you should probably not be using millimetres. It is certainly possible to use millimetres, but then you need to be able to do the dimensional analysis yourself and figure out all your units.
I see that you already have clauses like <inertial mass="0.0002" diaginertia="0.3 0.3 0.3"/>, where did this come from? CAD software or auto-calculated by MuJoCo? mass is in units of mass and diaginertia is in units of mass*length^2.
I strongly recommend that you switch to MKS or, if your model is small (which I think it is), CGS. Remember that meshes have a scale attribute. If you switch to CGS, remember to set gravity to 0 0 -981.

@yuvaltassa  oh you are my hero!
I also realised what the problem was, and I deleted all of those now. Like you said before, build a simple model first.
Maybe I understand what you are saying and I shouldn't have to get hung up on a specific numerical unit. Length in mm is the dimension drawn in Solidworks. In fact, I could totally scale it up and put it in the MKS, right? So everything is perfect, the length is meters, the mass is kilograms and the force is Newtons.
I just found something interesting, when I delete the code , the motor that acts on the tendon doesn't seem to work.  Do you know the reason?


Extension messages: cannot register r.rpath.windows / r.path.mac /r.path.linux

The R Debugger extension and vscode-R share these settings. Not sure if there is a way to suppress these messages.

worked for me:  uninstalled R Debugger, then installed R Extension for Visual Studio and set r.path there. only after that R Debugger- after that no more messages like that


chore: update vscode configs

:tada: This PR is included in version 0.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Getting the home.aspx in a new teamsite via rest, missing sections and webparts

Category

[ ] Question
[ ] Typo
[  X ] Bug
[ ] Additional article idea

Expected or Desired Behavior
When a new teamsite has been created in SharePoint online, and you haven't edited the Home.aspx manually before this.
If  you want to get the welcome page (Home.aspx) via rest or PnPJS.
/_api/web/getFileByServerRelativeUrl('/sites/url/home.aspx')/listItemAllFields?$select=CanvasContent1,CommentsDisabled
You expect to get the sections and webparts of the page.
So if you try to save it and publish, all webparts is removed (since you never got any)
Observed Behavior
Instead you get the page with no sections etc.

Only after a Manual edit and publish, the same rest call gets the sections and webparts for the page.

So if you try to save it and publish, all webparts is removed (since you never got any)
Steps to Reproduce
In a SharePoint Online teamsite.
Use this in the browser:
https://<tenant>.sharepoint.com/sites/test2/_api/web/getFileByServerRelativeUrl('/sites/test2/home.aspx')/listItemAllFields?$select=CanvasContent1,CommentsDisabled

With PnPJS in SPEditor Chrome extension:
import { sp, ClientSidePage } from "@pnp/sp";

(async () => {
const welcomePageData = await sp.web.rootFolder.select('welcomepage').get();
const file = sp.web.getFileByServerRelativeUrl(`/sites/test2/${welcomePageData.WelcomePage}`);
const page = await ClientSidePage.fromFile(file);

await page.save();
await page.publish();
})().then(_ => console.log('Yay')).catch(console.log);

So this is interesting.  I believe the logic for the homepage is along the lines of "if the content hasn't been updated, use the default content as defined in the app".  In this way, as the default teamsites change over time (webpart X is rarely used, so let's use webpart Y instead) people that haven't explicitly changed their site will get the updates.  Unfortunately, you're working at cross-purposes.  There is no default content, so your canvas is empty.   However you save the item, which then states "the canvas is empty, but I meant it to be empty, not simply unchanged".
Dealing with that is going to be challenging.  One possibility would be to have the PNP code have a way to generate the current default canvas content, or for your own code to have it.

@patmill I'm not sure I follow you, it might be my lacking English skills :)
If I want to access the content of a newly created page programatically, For instance Home.aspx in a team site or a communications site, I am not able before a manual edit/publish?
And for me to generate the default canvas content, I do believe we need to access the default canvas content from somewhere, right? Or it won't be dynamically.

Technically Pat is saying that content is generated first time when you edit that, which means that your conclusion is correct. How you could do this is doing once manual edit, store that value in the code and then add that value for newly created pages. Not really a bug which we can solve as by design.

To close the loop on this we are fixing it in PnPjs page creation then edit will work as expected.


Cocoapods cannot install TensorFlowLiteC

I am getting [!] Error installing TensorFlowLiteC when trying to install pods. I am using
pod 'TensorFlowLiteSwift' in my podfile.
Error:
[!] Error installing TensorFlowLiteC
[!] /usr/bin/curl -f -L -o /var/folders/8h/w7cb5w9x4m9dg8l9rr3h1qwas0000gn/T/d20208412-2822-n13n01/file.tgz https://dl.google.com/dl/cpdc/9d0ec5e53f4ff34a/TensorFlowLiteC-0.2.0.tar.gz --create-dirs --netrc-optional --retry 2

@berkerbilgi
I am not able to open the link you have provided.Please, share the correct link.
Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?
Make sure you also include the code snippet to reproduce the issue. If you are unclear what to include see the issue template displayed in the Github new issue template.
We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

@ravikyram
When i am trying to install "TensorFlowLiteSwift" library with Cocoapods, getting an error. The link is not working and i think this is the problem. Link is provided by google for downloading the TensorFlowLiteC library.
So i cannot share the correct link because it is google link.

@miaout17 can you advise?

@miaout17 is there any update? Still cannot install the library. It gives 404 not found error

Are you using the 1.14 TensorFlowLiteSwift CocoaPod? If not, can you try updating to that version?

The 0.2.0 was an experimental release and it no longer worked. Sorry for your inconvenience.
To solve this problem:
If you specified version in Podfile, update it to 1.14.0.
Run pod update.
Let us know if it works.

@miaout17 @jdduke thanks for your reply. After pod update and specify version to 1.14.0, I installed successfully.

Thanks again @berkerbilgi for flagging the issue, we've gone ahead and restored the experimental 0.2.0 release to avoid further confusion.


[FLINK-36191][tests] FsMergingCheckpointStorageLocationTest generates test data not in tmp folder

What is the purpose of the change
The issue is that execution of FsMergingCheckpointStorageLocationTest generates files and folders outside of tmp folders which appear in git change
easy way to reproduce
cd flink-runtime && ./../mvnw -Dtest=FsMergingCheckpointStorageLocationTest test && git status

The change makes generated files/folder appearing into tmp
also, since this test is touched it is migrated to junit5
Verifying this change
cd flink-runtime && ./../mvnw -Dtest=FsMergingCheckpointStorageLocationTest test && git status

this shouldn't returned any changed file
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): ( no)
The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
The serializers: ( no)
The runtime per-record code paths (performance sensitive): ( no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: ( no )
The S3 file system connector: ( no )

Documentation

Does this pull request introduce a new feature? ( no)
If yes, how is the feature documented? (not applicable )

thanks for taking a look

thanks for fixing this


Add cloud-platform-cli to tools image building

Any chance you can either rename this build step, or add a separate one?

@jasonBirchall , i have added a seperate build to make it clear. Does this look ok?


Albedo and Lighting Direction

Hi,
Do you generate lighting and albedo directly from the pytorch implementation of SfSNet using the cropped CelebA images (cropped using your provided code)? Did you enable the cropping function with face detection in SfSNet?

Hi there,
Yes we do generate them directly from the pytorch implementation using the cropped images. We simply pass the cropped images to SfSNet.

I see. Thanks for your quick reply. I am getting the following albedo following the same setup, which is different from yours. (I also did RGB2GRAY and resize to 256x256). And the lighting direction is also different. You provided [-0.37719698  0.8147933   0.44026619] for the image "0.jpg". But I got [0.02822213 0.14053412 0.98967355]. I use the [1:4]-th element of the 9-dim array.
.

So for the lighting direction, you should use the 2nd, 3rd, and 4th values and then normalize them. I think for SfSNet, it will return a 9x3 SH lighting (one for each channel) so you may need to average the SH values across channels.

Yes, I did that. Take the average to get 9x1 and use the 2nd to 4th elements. Don't know why albedo looks different too. Your albedo does not seem to have the artifact at the upper left corner, which the images in the SfSNet paper also have.

Could be a difference in cuda or torch versions. Please check to make sure that your environment matches my own in the repo. If it does, then I would simply check to see if the albedo aligns with the image (e.g. by overlaying them). If it does, it's probably fine and you can train with it anyway.


[fix #722045] - Save as different type doesn't change the extension

This fix was tested with Mono 2.10 on Ubuntu 10.04.
I'm an experienced developer, but I've never written a line of c#. My code is likely to be buggy, poorly styled, and generally awful. Please review carefully. :)

Looks good, this fixed the bug for me (tested on Ubuntu 11.10).

Should I fix it?

Yeah, sure - it's a little more concise/readable

Great, thanks!!!


Link example not rendering link when rich text is pasted

In the link example, the links are only rendered when explicitly created through Add Link button but not when rich text containing links are pasted.
Also, when pasting rich text, the raw data of the block map contains entity data as
data: {
  url: "https://facebook.github.io/draft-js/docs/api-reference-editor-state.html#getblocktree",
}

Here, the key is url but the link example creates and uses key href. At first I thought this was the problem, but even after fixing the key usage, the links are not rendered on pasting.

Sorry, the link example wasn't really built with the paste case in mind. I should have thought of that. :)

Here, the key is url but the link example creates and uses key href.

Good catch, I should have been consistent about that. I was also inconsistent about the entity type, using link instead of LINK.
Fixing these two items will repair the example.

This PR tries to fix the above issue that I created by adding the consistency you suggested. It can now render pasted link in rich text successfully.


fix: update azure photo size

Hey, I just made a Pull Request!
Update Azure photo to 96x96 else the picture is pixeled.
It would align with https://github.com/backstage/backstage/blob/master/plugins/auth-backend-module-microsoft-provider/src/strategy.ts#L82 too.
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@dweber019 I've changed this at the externalized module, see PR #20706.
Originally, the auth-backend used that module. However, due to some issues (see references at the PR), this was reverted.
After the referenced PR, it should be possible to go back to using the externalized module.
I didn't have the time to work on it, yet, though.

Will close this as it will be fixed soon and it's not critical for us.


Rename IPublishObserverConnector to match IConnectReceiveObserver

I've finally had time to test the commit f6495022208ec7d728e77a4cea09d383a90f2e9f solving issue #286, and it works. Thank you very much for that!
I was however wondering about the naming choices of the interface and method to connect publish observers. Shouldn't they be consistent with how we're connecting receive observers?
Publish observers: IPublishObserverConnector.Connect
Receive observers: IConnectReceiveObserver.ConnectReceiveObserver?
I'd suggest using the receive observers pattern, thus naming it: IConnectPublishObserver.ConnectPublishObserver. That way we can call the following methods on the bus control:
busControl.ConnectReceiveObserver(...)
busControl.ConnectPublishObserver(...)

Done.

Thanks alot :+1:
a9c891b854abdf464a2a8a4b94c63b45499354c5


BUG: scipy.optimize.linprog reports optimal for trivially infeasible MILP

Describe your issue.
In anticipation of the upcoming 1.9.0 release, I've been trying to update cvxpy to use SciPy's newly-introduced MILP functionality. I've been working with SciPy 1.9.0rc2. You can find my draft fork of cvxpy here and the associated issue here. While performing cvxpy unit tests, I came across a MILP problem of the form
Minimize
 obj: t
Subject To
 c1: y = 0.5
Bounds
 0 <= t
General
 y
End

The problem is clearly infeasible, as y cannot be both integer (indicated by the General entry) and equal to 0.5. This would be solved using SciPy's new MILP functionality with the script I've added below. Curiously, the solution status is reported as optimal, although it should clearly be reported as infeasible. (It is even acknowledged as infeasible in the rest of the log.) Replacing the options flag with options={'disp': True, 'presolve': False} provides the expected result, i.e., infeasibility is proven. This suggests the issue may be with the version of HiGHS used by SciPy, and more specifically, its presolve routine.
Indeed, building from the HiGHS master branch and solving using the above .lp problem provides the correct logging output, i.e., the problem is identified as infeasible. A similar issue raised here suggests that this issue may not have been corrected, but another issue here has been closed. Suffice to say, I think this is a trivial enough example where the correct behavior needs to be ensured by both SciPy and HiGHS. You may want to consider updating the version of HiGHS used for the 1.9.0 release or, if that is not enough, (i) providing a fix within HiGHS or (ii) waiting for this fix before releasing SciPy 1.9.0.
Reproducing Code Example
import numpy as np
import scipy

res = scipy.optimize.linprog(
    c=[1.0, 0.0],
    A_eq=[[0.0, 1.0]],
    b_eq=[[0.5]],
    bounds=[(0.0, None), (None, None)],
    integrality=[0, 1],
    options={'disp': True})

Error message
Presolving model
0 rows, 0 cols, 0 nonzeros
0 rows, 0 cols, 0 nonzeros
Presolve: Optimal
WARNING: Untransformed solution with objective 0 is violated by 0.5 for the original model

Solving report
  Status            Optimal
  Primal bound      0
  Dual bound        0
  Solution status   infeasible
                    0 (objective)
                    0 (bound viol.)
                    0.5 (int. viol.)
                    0 (row viol.)
  Timing            0.01 (total)
                    0.00 (presolve)
                    0.00 (postsolve)
  Nodes             0
  LP iterations     0 (total)
                    0 (strong br.)
                    0 (separation)
                    0 (heuristics)

SciPy/NumPy/Python version information
1.9.0rc2 1.22.3 sys.version_info(major=3, minor=9, micro=12, releaselevel='final', serial=0)

We'll look into this. In the meantime, consider using the new milp:
import numpy as np
from scipy.optimize import milp, Bounds, LinearConstraint

c=[1.0, 0.0]

integrality=[0, 1]

lb = [0, np.inf]
ub = [-np.inf, np.inf]
bounds = Bounds(lb, ub)

A_eq=[[0.0, 1.0]]
b_eq=[0.5]
constraints = LinearConstraint(A_eq, b_eq, b_eq)

res = milp(c, integrality=integrality, bounds=bounds, constraints=constraints)
res

            fun: None
        message: '(HiGHS Status 2: Model error)'
 mip_dual_bound: None
        mip_gap: None
 mip_node_count: None
         status: 2
        success: False
              x: None

Oops! Same issue with milp. I had a mistake above.

BTW, thanks for finding this @tasseff! We're looking into updating the version of HiGHS. Nicholas mentioned that he has seen those issues reported on the HiGHS repo.

This issue is resolved by pulling in HiGHS updates, see gh-16622


Add a short project description (readme.txt)

The new name is fine but please try to avoid '-'  character for portability between Windows and Unix, you better use camelcase (OfficeTimeTraker) or lowercase (office_time_traker).

Please work on branches, don't push directly on master!
You should do the following:

Open the task and refine description if is unclear, or leave a comment.
When is clear, create a branch:
git checkout -b <branch_name>
Make sure you are on the apropiate  branch when you start modifying otherwise switch with:

git checkout <branch_name>

Make commit(s)
Publish the branch:

git push

Once the branch is ready create the pull-request and link it to the task.

For the current task, description you've already added to master is fine but you should rename the file to lowercase as we agreed (i.e. readme.txt):

git checkout -b project_scope
git mv README.txt readme.txt
git commit -m "Rename readme file"
git push
Also add the tool set (hint: Android Studio, git, gihub - for repository and task management, test device - Nexus 5 with Android 6.0 Marshmallow, etc.)
git checkout project_scope
git pull origin
change readme content
git add readme.txt
git commit -m "Update project scope"
git push

Pull-request approved and merged. I'm going to close the issue.


Feature-Request about list.img

Hello, I found that the img obtained by hexo-related-popular-posts can only be automatically read from within the article. May I ask you to add a configuration item according to one of the front-matter How about a custom value such as headimg as the summary image of the article?
For example, in "Article 1", the header image of "Article 2" is not perfect. What we want is A, but actually B:

Article 1: https://xaoxuu.com/blog/2016-09-12-sandbox/
Article 2: https://xaoxuu.com/blog/2019-08-27-prohud/

@xaoxuu
Please specify eyeCatchImage and description in frontmatter of markdown file.
https://github.com/tea3/hexo-related-popular-posts/issues/13
https://github.com/tea3/hexo-related-popular-posts/wiki/More-Settings#customize-html

Can I change the eyeCatchImage attribute in the configuration file? Because the theme already uses other attributes, I have to duplicate the image link.
headimg<EMAIL_ADDRESS>eyeCatchImage<EMAIL_ADDRESS>

@xaoxuu
I'm sorry. It cannot be specified in _config.xml. This attribute is a value specified for each article.
https://github.com/tea3/hexo-related-popular-posts/issues/13#issuecomment-430496487

What I mean is, allow users to change eyeCatchImage to other attribute names to suit the user's hexo theme, for example:
Edit in blog/_config.yml:
popularPosts:
  eyeCatchImageAttributeName: themeHeaderImage

So users can write in front-matter like this:
---
title: xxx
themeHeaderImage: https://xxx.png
---

Instead of having to write both:
---
title: xxx
themeHeaderImage: https://xxx.png
eyeCatchImage: https://xxx.png
---

@xaoxuu
I see. Actually , this plugin supports the postImage and ampSettings attributes in addition to eyeCatchImage. Can't be customized, but can these attributes use?
https://github.com/tea3/hexo-related-popular-posts/blob/5f782be6d13008eedd862049689df0a014dbfdb3/lib/collector.js#L50

I submitted a pr about this, you can see if it works.

Thank you for suggestion. I want to merge tonight or tomorrow. Please wait for 🙏🏻

Thank you 🤝


Add arbitrary attributes to Html meta tag

Adds a additional attributes property to the Html component so one can add several arbitrary attributes to the document's <html> element.

I started working on implementing From<_> for the vector and... got a little carried away. (You can't implement a "foreign" trait for a foreign type, so I thought I'd add an AdditionalAttributes wrapping type, and then added the same thing for <Body/>)
Thanks so much for getting things rolling on this. Take a look and see if the changes I made make sense to you, and if so, I'll merge!

Thanks for the help.
I would never come up with that From<_> implementation 😃 But I think I learned a bit more about rust.
Nevertheless I tried to set the attributes now in a reactive way like this:
let (attrs, set_attrs) = create_signal(cx, vec![("dark-theme", "dark")]);

<Html attributes=attrs/>

But I get the compilation error:
error[E0277]: `ReadSignal<Vec<(&str, &str)>>` is not an iterator
  --> src/counters.rs:54:34
   |
54 |         <Html attributes=attrs/>
   |                       ---------- ^^^^^ `ReadSignal<Vec<(&str, &str)>>` is not an iterator
   |                       |
   |                       required by a bound introduced by this call
   |
   = help: the trait `Iterator` is not implemented for `ReadSignal<Vec<(&str, &str)>>`
   = note: required for `ReadSignal<Vec<(&str, &str)>>` to implement `IntoIterator`
   = note: required for `leptos_meta::additional_attributes::AdditionalAttributes` to implement `From<ReadSignal<Vec<(&str, &str)>>>`
   = note: required for `ReadSignal<Vec<(&str, &str)>>` to implement `Into<leptos_meta::additional_attributes::AdditionalAttributes>`

Does that mean ReadSignal needs a very generic implementation of IntoIterator?
So settings these statically works, if this is the only use case for this branch I guess we can merge it.

Ah yeah to be reactive we will need to change the signature so that attributes takes something like Option<MaybeSignal<AdditionalAttributes>>

Okay, so I've added the reactive piece here. Now, you do need to manually specify AdditionalAttributes::from but it can be reactive or not reactive.
Either
<Html attributes=AdditionalAttributes::from([("data-theme", "garden")])/>

or something like this (I did this in the todo example)
let todo_attrs = create_rw_signal(cx, AdditionalAttributes::from(vec![("data-theme", "garden")]));

view! { cx,
    <Html attributes=todo_attrs/>
}

Hey
sorry couldn't have a look into it the last days.
Thanks for your Implementation and will definitely try it out


Update because of class cast

See CAMEL-11892

Imho, this can be workaround. Because in this case, breadcrumb id is not read from transport headers and is not set as pteviously done for saajsoapmessage. This brings assumptions...

please see this PR;
https://github.com/apache/camel/pull/2028

and it would be perfect if you could test and share your results.

This works fine


1.0.16 is not released to NPM

Currently (2017-06-02) version 1.0.15 is the latest at the npm registry. That one still has the dependency on grunt which is supposed to be fixed in 1.0.16 according to the README. However, it seems that 1.0.16 hasn't been pushed to NPM

This has now been published.


Which fields are optional?

Lots of fields are present or not present in different colleges.  It's difficult to distinguish what might be a parser bug from what is missing data.  Which fields are optional?

Those gaps are for missing data in the source we scraped. Unfortunately there are lots of gaps but most top colleges have complete data.
We can discuss later today.

On Mar 30, 2015, at 7:24 PM, Charlie DeTar<EMAIL_ADDRESS>wrote:
Lots of fields are present or not present in different colleges. It's difficult to distinguish what might be a parser bug from what is missing data. Which fields are optional?
—
Reply to this email directly or view it on GitHub.


HooksJobDone are not executed within the transaction in case of a WorkFunc failure.

In case a worker runs a WorkFunc that returns an error, hooksJobDone will not run within the same transaction because calling op.Error() defers a call to op.Done() which commits the transaction, see line 232 in worker.go.
https://github.com/vgarvardt/gue/blob/859d3f25336ce554b81881a585f1b9ab7644fc68/worker.go#L232
One solution would be to remove the defer job.Done() from job.Error(), since worker.go already defers j.Done() :

it will ensure the transaction is committed
hooks that use the transaction will properly execute.

A Second backwards-compatible solution would be to add a alwaysDone flag to Job type which will conditionally run the defer block in https://github.com/vgarvardt/gue/blob/859d3f25336ce554b81881a585f1b9ab7644fc68/job.go#L133 .
The example hook in the readme will break if the WorkerFunc returns an error.

Thank you for reporting. I could reproduce the issue with the test and fixed it by calling hooks before calling Error handler. You can check details at https://github.com/vgarvardt/gue/pull/66
Released fix in https://github.com/vgarvardt/gue/releases/tag/v4.0.0-alpha.9 - pls check

Thank you for the quick reply, fix seems good.


filecachetools deprecated

https://github.com/xi/filecachetools is deprecated and no longer available in pip yet it's referenced in your code and in requirements.txt.
I'm not sure if this project is even maintained anymore, but updating requirements.txt to match the git syntax would be a step in the right direction for new installs.

You're right that filecachetools is deprecated. I no longer work for this company so I don't have commit access anymore. But PRs are hopefully still welcome if you want to prepare one.
PS - No need to be passive aggressive. We're all doing the best we can here in the free and open source software world.

Ok? Sorry if you thought I was being passive aggressive, but I wasn't intending to be. This project seemed pretty dead and I genuinely wasn't expecting a response at all, let alone this fast.
More than anything I was attempting to find out if there was a current maintainer at peak6, but it seems that the original maintainer (you) no longer works for the company so there probably isn't.
Please note that this bug (again) isn't intended for you personally, but for peak6 as an org.

I doubt they've had to do anything with it since I left. It was a pretty set-and-forget kind of thing. So they probably just haven't run into issues, tbh.
 Do you know what the recommended upgrade path is for filecachetools or if there's a replacement library?
IIRC I just used filecachetools to make the logged data cleaner across restarts. Plus some DB optimizations that aren't totally necessary.
https://github.com/peak6/Rocket.Chat.Audit/blob/master/rocketchat.audit.py#L51
So worst case, just use cachetools here and accept that edits during restarts may not have all the data (room name or editedBy fields), if that fits for your use case.


Materials-Used DB zip is broken

on /media-production-organizational-tools the zip of MATUSED is just broken. @caseyedavis12 / @Muraszko ?

@mccalluc @caseyedavis12
Here, this one should work:
MatsUsed.fp7.zip
Note the filename is different than the one it's currently pointing to.

@muraszko @mccalluc: I deleted the MatsUsed database from S3, renamed the one Mike just sent and posted it to S3. It should work now.

Works. Thanks.


Adding low amount of liquidity in pool gives wrong pool share value

Summary of Bug

Adding low amount of liquidity in pool gives wrong pool share value
Version
Release for gravity dex competition
Steps to Reproduce
Add 1 cent of liquidity in a pool
Expected : you get a very low amount of pool share.
Given : you get a few percents.
Example : I added 1 cent in the atom/iris pool, I got 2.278% pool share, but revenue from fees seems unaffected

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Summary of Bug
Adding low amount of liquidity in pool gives wrong pool share value
Version
Release for gravity dex competition
Steps to Reproduce
Add 1 cent of liquidity in a pool
Expected : you get a very low amount of pool share.
Given : you get a few percents.
Example : I added 1 cent in the atom/iris pool, I got 2.278% pool share, but revenue from fees seems unaffected
For Admin Use

[ ]  Not duplicate issue
[ ]  Appropriate labels applied
[ ]  Appropriate contributors tagged
[ ]  Contributor assigned/self-assigned

Hi, thank you and congratulation for becoming the bug bounty prize winner for the Gravity DEX Competition! Please reply here with your Cosmos Hub mainnet address to receive the prize, by your github ID, until May 21, 23:59.

Hello,
Thank you for the competition !
This is the address that I'll use to receive the competition prize
: cosmos1mnqngvfwt5k276j5v85kpscqpegjafpcvvcnlz
My github name is Tonzofdamage and its corresponding ID is 9832035.
Please contact me if I missed anything, and thanks again !
Le mer. 19 mai 2021 à 11:22, Lim Sung-hoon @.***> a
écrit :

Summary of Bug
Adding low amount of liquidity in pool gives wrong pool share value
Version
Release for gravity dex competition
Steps to Reproduce
Add 1 cent of liquidity in a pool
Expected : you get a very low amount of pool share.
Given : you get a few percents.
Example : I added 1 cent in the atom/iris pool, I got 2.278% pool share,
but revenue from fees seems unaffected
For Admin Use

Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged
Contributor assigned/self-assigned

Hi, thank you and congratulation for becoming the bug bounty prize winner
for the Gravity DEX Competition! Please reply here with your Cosmos Hub
mainnet address to receive the prize, by your github ID, until May 21,
23:59.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tendermint/liquidity/issues/288#issuecomment-843918035,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLAMYY3XZOCFL4Z6GYVLLDTON7OXANCNFSM44L5D5ZA
.


Use utils.functions.add()

utils.functions.add(path) can be used to copy a file or directory to the Functions source directory (such as netlify/functions/).
This plugin currently uses fs.copy() and constants.FUNCTIONS_SRC which works as well. However, using utils.functions.add() provides with some abstraction which will be helpful if we change some details on how Functions are configured in the future, such as providing a plugin-specific Functions directory as suggested in https://github.com/netlify/pod-workflow/issues/222

That's correct, good point.
I'm happy to change utils.functions.add() behavior to allow overwrites, since this seems to make more sense for plugin authors. What do you think?

Yeah. I'm mostly interested in when we can use the private functions directory that @eduardoboucas is working on, and I'm guessing that will also require changes in the helper to specify which one

This will be possible with https://github.com/netlify/zip-it-and-ship-it/pull/537. The PR sheds some light on what this will look like from the zip-it-and-ship-it side.
Once that lands, we can either make plugins add their own private directories to the config via onPreBuild (e.g. netlify-gatsby-plugin would add .netlify/netlify-gatsby-plugin-functions), or we make Netlify Build look for a generic .netlify/functions-internal (name TBD) directory.

Once that lands, we can either make plugins add their own private directories to the config via onPreBuild (e.g. netlify-gatsby-plugin would add .netlify/netlify-gatsby-plugin-functions), or we make Netlify Build look for a generic .netlify/functions-internal (name TBD) directory.

My opinions would be that a shared internal-functions directory would be best, otherwise it will be confusing about priorities for clashing names

Closing as we're handling this differently now