Public defaultMode and add modeOrder.

Public defaultMode thus everyone can change this variable even if Fusuma was installed with CocoaPods.
I have to get the Camera button on the left side, so that I add some constraints and modeOrder.

fusuma.modeOrder = .CameraFirst

@lexrus Thanks!


Images Not working online

Laravel Version: #.#.#
Voyager Version: #.#.#
PHP Version:
Database Driver & Version:

Description:
All images working fine on local
after i upload the images which were uploaded on local working fine
but the online uploaded one not working and all images save only in the storage/app/public/
not in the public/storage
please help , i know it may be that symlink but how can i make it online however it's working fine local
Steps To Reproduce:

Hi,
It's almost certainly the symlink.
What you need to do is delete the shortcut or symlink in public folder and then run php artisan storage:link
That should fix it.

same problem please help me
@SUPERNOVI yes ! that work for run project on localhost but up to server online not work

@SUPERNOVI  Yes, how can i run this command on shared hosting like bluehost ?

@mohammed-elattar That's a good question. In your control panel can you see any reference to SSH? Maybe an java applet that lets you connect. If not you'd have to ask your hosting provider how you can gain access to do this. I suspect you'll be needing this kind of access for artisan and composer.
@ohana88 I saw your other issue regarding this, it looks to me to be a permission issue not a problem with the storage link. As you're seeing the 1KB files, it must be linking to the correct folder okay.

Voyager can create the symlink for you.  Just delete the existing file at public/storage, then log into voyager.  You should see a banner saying the symlink is broken (or something similar) with a button labeled "Fix It".  Clicking this button will either work, or will tell you that your host has symlink() disabled.  If the latter, your only option is to research how to create symlinks with your host (either by a google search or by contacting them directly and asking).  There is nothing Voyager can do  to help at that point.
I'll leave this open for now while you test my suggestions.

@fletch3555 is right, I didn't consider that. Although you have to make sure you delete it first. I found that the fix button caused an error if one already existed.

I already asked them for help regarding this issue and they told me that they can't help me
I tried to run command to make this symlink from cronjob but with no luck
Please advice

@mohammed-elattar did you read the latest replies RE using the button in admin alert.

Ok i will try then tell you what happened .

How to ...?
on server public/storage not symlink.
Can i up symlink folder to ftp ?

Thank you very much for the extra help you gave me so I could pass my issue . I really appreciated the time you spent with me.

@ohana88  Hi, as far as I'm aware you can't upload a symlink. As said though if it's missing the admin will present you with a button to create it. However I'm not convinced this is your issue but by all means try it.
@mohammed-elattar You're welcome.

@SUPERNOVI  my first project develop by voyager I can upload a symlink folder on server
but next project can't upload. I don't know why?
Can I contact for chat with you? I'm from Thailand :)

@ohana88 I'm pretty sure you are using Windows, as such your local version will be using a windows shortcut, this is not compatible with Linux. Linux uses symbolic links or symlinks.
I'm pretty sure that if you delete that windows shortcut via FTP and then visit your Voyager admin, you will be prompted with a button to re-create the storage link. If you press that button it should create a symbolic link the Linux way!
Hope that solves the issue for you.

@SUPERNOVI  Thank you :)
now I can solves the issue ..
I delete folder public/storage and login to Voyager admin
I find button Fix it  when I click button fix it! on admin panel it work for me

@ohana88 No problem, happy to help.


Can't run; permission denied

(bash: ./hello: Permission denied)
I can't seem to run the compiler. It is denying the job submission. Is there work around for it? Thanks.

/question
This is issue tracker for VS Code editor itself.
Please use proper feedback channel for your course.


Add navigator icon

In addition to "search, bookmarks, and history/timeline" there should be a fourth "navigator" icon. This also ties in with our new UI/UX for v3 down the road.
This way if the user switches to a search, bookmark, or history screen, they will always know a quick and easy way to get back to the navigatable lines.

Should be there, bottom-right

Yes it is, please change it to 'vertical_split' icon so it is clearer that it is a controller for the projector (shows lines on left and projector on right in icon or at least it will be more obvious when switching to new UI that it is the icon for that).
Could also be renamed to "controller". If not now, then after UI change.

I think we should keep the name as the navigator, since the rest of the window does the controlling too. I'll change the icon

Looked into changing the icon - vertical_split is part of MUI icons which we've removed as a dependency. Have a font-awesome icon replacement that we could use?

@Harjot1Singh why did the merge not close this?


Need help with WSL2

I am having trouble getting a CLI-based php app to run under Windows 10 WSL2.
Versions:
Ray Desktop App <IP_ADDRESS>.
spatie/ray 1.14.0
I did the composer require to my project and added my ray(); statements, but it didn't display in the Ray desktop app. It is a generic PHP app.
In reading through the docs, I read this page:
https://spatie.be/docs/ray/v1/environment-specific-configuration/windows-10
And was confused on where this configuration should be configured. I assumed it should be in the install folder, but I couldn't find a config file there. I finally found this page:
https://spatie.be/docs/ray/v1/using-a-config-file/framework-agnostic-php
Which said at the top to put it in a ray.php file. This was hard to piece together, so I propose that the Window 10 documentation page be updated to explain this more clearly.
So I created a ray.php file in my project directory and configured it in the following way:
<?php

return [
    // Windows 10 Host OS IP (Where Ray is)
    'host' => '<IP_ADDRESS>',

    // Absolute base path for your sites or projects in Homestead, Vagrant, Docker, or another remote development server.
    'remote_path' => '/home/dean/code/tts',

    // Absolute base path for your sites or projects on your local computer where your IDE or code editor is running on.
    'local_path' => '\\wsl$\Ubuntu-20.04\home\dean\code\tts',
];

But when I executed the project under the WSL2 environment (running it from the terminal), it didn't log to the Ray desktop app.
I searched through my Event Viewer logs and couldn't find any errors there. I restarted the desktop app multiple times. I am on a Work VPN so I tried all the IP addresses associated with my machine (running ipconfig from a command prompt).
I tried running it from a command prompt itself (tricky with command prompt not liking \\wsl$\ paths (a symlink did the trick), and it did work. Meaning, it logged to the Ray desktop app. But this command prompt environment is not configured right, and caused several errors in the code.
Ultimately, I'd like help getting it to work in my WSL2 environment as the docs aren't getting me there.
Finally, props on a fantastic-looking product!!! 🥳

I just tested it with latest version of Ray app (1.9.0) and spatie/ray  (1.16). Works fine for me.
My test setup:
test.php:
<?php
require('vendor/autoload.php');
ray('test');

ray.php
<?php
return [
    'host' => '<IP_ADDRESS>' // IP of my Windows, not WSL2
];

(I left local_path and remote_path out, because I'm using PhpStorm which doesn't properly support \\$wsl\...)
I ran php test.php and this is the result:

I just tested it with latest version of Ray app (1.9.0) and spatie/ray  (1.16). Works fine for me.
My test setup:
test.php:
<?php
require('vendor/autoload.php');
ray('test');

ray.php
<?php
return [
    'host' => '<IP_ADDRESS>' // IP of my Windows, not WSL2
];

(I left local_path and remote_path out, because I'm using PhpStorm which doesn't properly support \\$wsl\...)
I ran php test.php and this is the result:

Upgrading to the latest versions fixed it. Thanks for the help. Also nice to know I don't have to hard-code the project code paths!
I do suggest updating the documentation here when you get some time:
https://spatie.be/docs/ray/v1/environment-specific-configuration/windows-10
Thanks!

Upgrading to the latest versions fixed it. Thanks for the help. Also nice to know I don't have to hard-code the project code paths!
I do suggest updating the documentation here when you get some time:
https://spatie.be/docs/ray/v1/environment-specific-configuration/windows-10
Thanks!


What are the random seeds used in the paper

Could you please share what are the random seeds used for the experiments in the paper? I think using the same set of random seeds for our own experiments can offer a fairer comparison of results.

Hi Chenglei,
If you're using the example scripts, you can just use random seeds 0 to N-1. So if you're planning to use 3 random seeds, just use seeds 0, 1, and 2. Thanks for asking!

Hi Chenglei,
If you're using the example scripts, you can just use random seeds 0 to N-1. So if you're planning to use 3 random seeds, just use seeds 0, 1, and 2. Thanks for asking!


url update to prevent MIME error

Refused to execute script from 'https://raw.github.com/GoogleChrome/accessibility-developer-tools/stable/dist/js/axs_testing.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
This is to prevent this error
see http://stackoverflow.com/questions/17341122/link-and-execute-external-javascript-file-hosted-on-github

I signed it!

@alice does Google have a CDN we could release to? That would resolve this issue without hosting on an unvetted third party.

Yeah, need to think about this. I'll look into whether rawgit is ok, as well.

Yeah, can't use rawgit.com unfortunately. Working on an alternative.


Tid translation for target processes running in a separate namespace.

If the target process is running in a separate namespace thread ids (tids) observed from within the target process are different from the tids observed in the root namespace.
This is a problem for events we obtain from the target process. These are userspace instrumentation (usi), manual instrumentation and the Vulkan layer. This PR is only about usi.
Usi events are obtained for the game, received in
ProducerEventProcessorHijackingFunctionEntryExitForLinuxTracing and piped back into the LinuxTracing code. Finally they are processed by UprobesUnwindingVisitor where they are used to emit FunctionCall's and to help with the call stack handling.
The UprobesUnwindingVisitor needs to translate the tids from inside the UserSpaceFunction{Entry,Exit}PerfEventData events into root namespace tids before handling them.
For that purpose we have the UprobesUnwindingVisitor observe the clone{3} exit tracepoints, the task_newtask tracepoint. By that we are able to keep track of new threads and the tids. Additionally, at the beginning of the capture, we also send the initial state of the tid mapping.

There is important information in the bug: link it in the commit message.


Scanning error - Gets stuck in a loop between two channels

Scanning will get stuck into a endless loop between two channels.
Steps to reproduce:

Start Scanning (I have the long push on "Button 1" set to start scanning)
Hit button 1 again - it goes into RX mode on whatever channel it's on during the scan
Then repeat Step 1 again, long push on "Button 1" and you will see it bounce back/forth between two channels forever

Hi Mike...
can you be more specific. I can't reproduce.
Function(s) of Button 1

Hi, @MikeGriffinReborn, would it be possible you that have added two channels to the "VFO scan list" so you are bouncing between the two?

This bug could have honestly been already present in the shipped firmware, but here goes ...

Notice that I have side key 1 button set to scan, now watch this video ...
NOTE: You don't have to register, just choose 1MB per second download ... it works, I just tried it ....
Download Here

Ok, thanks, I gotcha, it's a strange scenario anyway, thank you for looking into it !


Properties are not Supported For Custom Actions

I created a custom VerifyAddress Action with a property, but it's not working.
export class VerifyAddressResponse extends XrmTSToolkit.Soap.ExecuteResponse {

    /**
     * Action Response Stringified JSON
     */
    Response: string;

    private _responseObj: VerifyAddressResponse;
    get responseObj(): VerifyAddressResponse {
        if (!this._responseObj) {
            this._responseObj = JSON.parse(this.Response);
        }
        return this._responseObj;
    }
}

The property is undefined.  Looks like the XrmTSToolkit just casts the Response to be the given type, but doesn't actually create one of that custom type.  What's the best way to get this to work?

I have resolved this by adding a CreateResponse method to the ExecuteRequest class, that then can be used to override the default instantiation.  I'm not sure what you're plan was for this respository.  Would you like to submit a pull request, or should I just keep my own fork of this?  I'd like to contribute to your base, but this is "yours" and if you want to keep it more basic, I'll keep working on my fork.

Hi Daryl, thanks for your feedback so far! I definitely want to make XrmTSToolkit as flexible as possible and will certainly accept contributions where it makes sense.  Would you please submit a pull request for this so that I can take a look at what you've done here?  It sounds like this functionality should be included.  Thanks

This was addressed in v0.8.5


Force Dark Theme

Is there a variable or something that forces the dark theme irrespective of browser/platform settings?
I just noticed the Change Log states:

Light theme support: The app now automatically applies the theme based on your browser preferences

My Chrome is set to Dark but WebHook Tester v2.0.1 is Light themed:

Could you please take a screenshot of this page in your browser?
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
The area of interest is this one:

Since theming relies on prefers-color-scheme, you might need to enable the dark theme not only in your browser but also in your OS settings. By the way, which OS are you using?

Ahh, I didn't realise I had to set both OS (Windows 11) and Browser (Chrome) to Dark Mode.  As soon as I changed the setting in Windows the theme switched to the dark one.
It would still be nice to have forcing of light or dark as a configurable option.
I thought I could tweak it myself by using --use-live-frontend but couldn't figure out how to use that option with a Docker Compose.

It would still be nice to have forcing of light or dark as a configurable option.

That said, it's quite challenging to implement. The "force" environment/cli flag would need to be parsed on the backend, passed to an HTTP endpoint, read by the frontend after the HTTP call, and only then applied to the styling options. It's a rather complicated process.
Especially since operating systems and browsers already have their own mechanisms for enforcing dark themes. Forcing a theme purely on the frontend is possible, but it can cause issues with elements like SVG images (which often have their own theming), icons, and similar components, leading to a less polished appearance.
In any case, I'll consider adding a theme toggler to the UI, but it will be a low-priority task. Does that sound okay?

Of course, this is purely a cosmetic request with little to no benefit - it should go to the bottom of the pile.
Thanks :)


add request timeout in report()

Current coverage is 100.00%

Branch #8 has no coverage reports uploaded yet.

No diff could be generated. No reports for master found.
Review entire Coverage Diff as of aeb4b9e

Powered by Codecov. Updated on successful CI builds.

What is the motivation? Would you like to shorten the time? 5 seconds does seem like a lot of time.

Yes. Because no asynchronous I would like to set a shorter timeout.

@patrys What do you think about that?

Sorry, I'm on vacation until Monday. I'd like to both shorten the default and allow custom timeouts.

Tnx!


Fix #1442: Allow adding alternative .gatt file import paths

This fix uses the ARGN symbol in CMake to extend the number of arguments you can add to pico_btstack_make_gatt_header(). The additional arguments should be of the form -I${Include path} so the Python script can find your custom #import <my_gatt.gatt> files.

In case it is not clear why this change is useful, there are examples of projects that use this change. See the CMakeLists.txt file in the projects https://github.com/rppicomidi/pico-w-ble-midi-server-demo or https://github.com/rppicomidi/ble-midi2usbhost


ESP32-S3 wakeup cause 0 after wakeup from ULP (IDFGH-11804)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1 / v5.2.0
Espressif SoC revision.
ESP32-S3
Operating System used.
Windows
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
PowerShell
Development Kit.
Lilygo Lora T3S3 V1.2
Power Supply used.
USB
What is the expected behavior?
Get wakeup cause ESP_SLEEP_WAKEUP_ULP after calling ulp_riscv_wakeup_main_processor() from ULP.
What is the actual behavior?
I keep getting ESP_SLEEP_WAKEUP_UNDEFINED no matter which example I try.
Steps to reproduce.
Probably not an ESP-IDF bug, but I'm not sure what could be wrong.

Step: Create project from any ULP-RISCV example
Step: Build, Flash (UART) and Monitor (UART)
Observe output

Debug Logs.
Entering in deep sleep

None
Waiting for the device to reconnect
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x40378d02
0x40378d02: esp_cpu_wait_for_intr at C:/Users/Joi/esp/esp-idf/components/esp_hw_support/cpu.c:145

SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x12b4
load:0x403c9700,len:0x4
load:0x403c9704,len:0xaf0
load:0x403cc700,len:0x2bdc
entry 0x403c9898
Not a ULP-RISC-V wakeup, initializing it!
Wakeup cause: 0
Entering in deep sleep

More Information.
I see exactly the same behaviour on MacOS.
Code: Simplified GPIO wakeup example
extern const uint8_t ulp_main_bin_start[] asm("_binary_ulp_main_bin_start");
extern const uint8_t ulp_main_bin_end[] asm("_binary_ulp_main_bin_end");

static void init_ulp_program(void);

void app_main(void)
{

  esp_sleep_wakeup_cause_t cause = esp_sleep_get_wakeup_cause();
  /* not a wakeup from ULP, load the firmware */
  if (cause != ESP_SLEEP_WAKEUP_ULP)
  {
    printf("Not a ULP-RISC-V wakeup, initializing it! \n");
    printf("Wakeup cause: %d\n", cause);
    init_ulp_program();
  }

  /* ULP Risc-V read and detected a change in GPIO_0, prints */
  if (cause == ESP_SLEEP_WAKEUP_ULP)
  {
    printf("ULP-RISC-V woke up the main CPU! \n");
  }

  /* Go back to sleep, only the ULP Risc-V will run */
  printf("Entering in deep sleep\n\n");

  /* Small delay to ensure the messages are printed */
  ESP_ERROR_CHECK(esp_sleep_enable_ulp_wakeup());
  vTaskDelay(1000);
  esp_deep_sleep_start();
}

static void init_ulp_program(void)
{
  esp_err_t err = ulp_riscv_load_binary(ulp_main_bin_start, (ulp_main_bin_end - ulp_main_bin_start));
  ESP_ERROR_CHECK(err);
  ulp_set_wakeup_period(0, 2000000);

  /* Start the program */
  err = ulp_riscv_run();
  ESP_ERROR_CHECK(err);
}

Ulp code:
int main(void)
{
  ulp_riscv_wakeup_main_processor();
  /* ulp_riscv_halt() is called automatically when main exits */

  return 0;
}

The problem appears to be related to a UART or JTAG monitoring session being open.
When disconnecting the monitoring session and printing the output to the OLED instead, everything works as expected.
Is there any workaround to this?

Hi @redarflap. Yes, right, esp-idf-monitor should not reset the chip when reconnecting. Can you share the version of esp-idf-monitor you are using? You can find it in the header in the beginning when it is started.

Hi @redarflap, thanks for reporting the issue. I was able to reproduce it using JTAG, but when I connect the chip to UART I don't see such behavior. I have used the code that you have provided on my macOS machine. The chip is communicating as expected, on the first connection it is reset by the monitor and then ULP resets the chip. See log below:
--- esp-idf-monitor 1.3.4 on /dev/cu.usbserial-1120 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x12b4
load:0x403c9700,len:0x4
load:0x403c9704,len:0xaf4
load:0x403cc700,len:0x2bcc
entry 0x403c9898
W (88) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
Not a ULP-RISC-V wakeup, initializing it!
Wakeup cause: 0
Entering in deep sleep

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x5 (DSLEEP),boot:0x8 (SPI_FAST_FLASH_BOOT)
pro cpu reset by JTAG
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3810,len:0x12b4
load:0x403c9700,len:0x4
load:0x403c9704,len:0xaf4
load:0x403cc700,len:0x2bcc
entry 0x403c9898
W (90) spi_flash: Detected size(8192k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
ULP-RISC-V woke up the main CPU!
Entering in deep sleep

The issue with JTAG is that this port disappears and then when the monitor is trying to reconnect, it thinks that you replugged the chip. Seems like the same thing happened to you based on your log ('None' is the line that indicates that the port is not found). A possible workaround could be to use --no-reset cli option for the monitor, but that didn't help much in my case.
Please make sure that the chip does not work for both UART and JTAG again as I can't reproduce the UART issue. Regarding the JTAG issue, I will try to take a look at what we can do to fix the issue.

Hi @redarflap. Yes, right, esp-idf-monitor should not reset the chip when reconnecting. Can you share the version of esp-idf-monitor you are using? You can find it in the header in the beginning when it is started.

According to the terminal output, I am using esp-idf-monitor 1.3.4

@peterdragun
In the VSCode extension, i set the target to ESP32-S3 (UART). I am not sure how else i could determine wether JTAG is active as well or not, since i didn't find any related settings in the extensions documentation.
However setting "idf.monitorNoReset" to true, did indeed resolve the issue for me. 👍

In the VSCode extension, i set the target to ESP32-S3 (UART). I am not sure how else i could determine wether JTAG is active as well or not, since i didn't find any related settings in the extensions documentation.

Whether it is UART or native USB/JTAG is determined by how the chip is connected to PC, not by some setting. UART means there is some UART to USB converter - a chip on devkit or programmer board, e.g. CH340. Based on your board I would say that you are using the JTAG and connecting to chip directly (if you are not connecting to chip with some additional programmer board).  Some boards like our ESP32-S3-DevKitM-1 have both ports, see a picture in docs (notice the "USB-to-UART bridge" and "USB-to-UART port"). Other boards can have just one port based on design.
The setting that you mentioned is changing how the serial communication will be handled in SW. It can work if you select the wrong one, but some features (e.g. interactive console) might not work as expected.

However, setting "idf.monitorNoReset" to true, did indeed resolve the issue for me.

I am glad that it helped. We will try to fix the issue so this workaround won't be needed in the future.

I am experiencing the same or a similar issue.
The workaround with "--no-reset" seems to work somehow, as I can see some difference in the serial terminal resetting from time to time, but I don't get any print statements returned anymore.

Hi @hernae, I had the same issue when I was trying the example above. The issue is that with JTAG there is no buffer in between in communication. So when the Monitor notices the port, the data is already written before the port gets opened. Again the issue is caused by the port disappearing when chip goes to deep sleep. In my case what helped is adding a short delay (1 sec) at the start of a program.

Hi @hernae, I had the same issue when I was trying the example above. The issue is that with JTAG there is no buffer in between in communication. So when the Monitor notices the port, the data is already written before the port gets opened. Again the issue is caused by the port disappearing when chip goes to deep sleep. In my case what helped is adding a short delay (1 sec) at the start of a program.
When using UART you should not have the same issues as the USB-to-UART bridge has a buffer and the port is not disconnected on deep sleep, so the buffer is not even needed in this case.

Ah perfect, I put the TaskDelay at the end instead of the beginning all the time. With your hint to put it at the beginning it works fine now. Thanks a lot!


example/scripts/sft.py doesn't work

System Info

Platform: Linux-6.8.0-45-generic-x86_64-with-glibc2.35
Python version: 3.11.0
PyTorch version: 2.5.0
Transformers version: 4.46.0.dev0
Accelerate version: 1.0.1
Accelerate config: not found
Datasets version: 3.0.1
HF Hub version: 0.26.0
TRL version: 0.12.0.dev0
bitsandbytes version: 0.44.1
DeepSpeed version: not installed
Diffusers version: not installed
Liger-Kernel version: not installed
LLM-Blender version: not installed
OpenAI version: not installed
PEFT version: 0.13.2

Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[X] An officially supported task in the examples folder
[X] My own task or dataset (give details below)

Reproduction
When I run bash run 'bash commands/run_sft.sh' with my own dataset,there is no key 'test' found in loaded dataset. I solved this problem by split dataset on my own. Cause in 'example/scripts/sft.py', I didn't found any operations to split my dataset. Here is what I wrote in example/scripts/sft.py
split_dataset = dataset['train'].train_test_split(test_size=0.2)

### Expected behavior

I was wandering if there is any script to process my dataset or I have to split dataset on my own in'example/scripts/sft.py'

This is because you need to provide a split dataset (containing both a training split and an evaluation split) when you use TRL scripts .
I realize the following limitations:

when you're not evaluating, you still need to have a split dataset
you may want the script to split the dataset when necessary.

This could be solved by adding something like :
if training_args.eval_strategy != "none" and script_args.dataset_test_split not in dataset :
    dataset = dataset[script_args.dataset_train_split].split(test_size=0.05)

...

trainer = AnyTrainer(
    ...
    train_dataset=dataset[script_args.dataset_train_split],
    eval_dataset=dataset[script_args.dataset_test_split] if training_args.eval_strategy != "none" else None,
    ...
)

WDYT @kashif @lewtun ? Is this situation common enough to justify this addition?

I don't think we should automatically generate a test split for the user (it's a bit too much magic), but I would be in favour of having the logic to set eval_dataset to None if no eval strategy is provided

I don't think we should automatically generate a test split for the user (it's a bit too much magic), but I would be in favour of having the logic to set eval_dataset to None if no eval strategy is provided

Sounds reasonable.


Do you plan to release 320x512 resolution, 16 frames model?

Hi, thank you for the amazing work!
I was wondering if you plan to release your 320x512 resolution/16 frames model variant?
I have tried to use your 1024 resolution, 16 frame model to generate videos at 320 x 512, (using arguments --height 320 --width 512, and resizing the render_results) but observed texture artifacts!

Thanks!
I will upload the 320x512 resolution model and provide the configs in the next couple of days; yet, I recommend you use the high-resolution model, as the 320x512 resolution model may exhibit texture flickering when handling high-frequency texture.

Thank you! I was also wondering, was your ViewCrafter model finetuned from the interpolation variant of DynamicCrafter, or the non-interpolation variant? If you have a 1024-resolution interpolation variant of DynamicCrafter, it would also be really useful if you can release that, as the currently released public DynamicCrafter interpolation model is limited to resolution 320x512!

Thank you! I was also wondering, was your ViewCrafter model finetuned from the interpolation variant of DynamicCrafter, or the non-interpolation variant? If you have a 1024-resolution interpolation variant of DynamicCrafter, it would also be really useful if you can release that, as the currently released public DynamicCrafter interpolation model is limited to resolution 320x512!

Hi, ViewCrafter is finetuned from the non-interpolation variant. Unfortunately, we do not have a 1024-resolution interpolation model;

OK, thank you for letting me know!

@Drexubery quick question, do you know why the 320x512 model produces dramatically more artifacts? this is a problem with needing more training or is it something fundamental to the viewcrafter architecture?

@Drexubery quick question, do you know why the 320x512 model produces dramatically more artifacts? this is a problem with needing more training or is it something fundamental to the viewcrafter architecture?

Hi, you can refer to the guide here https://github.com/Drexubery/ViewCrafter/issues/23#issuecomment-2371206533 to adjust the script to the 512 model, and see if it still produce artifacts.

https://github.com/user-attachments/assets/58f67fe4-f891-4e6b-bee1-144372cee7d3
I followed those steps and getting these results. is this expected?

https://github.com/user-attachments/assets/58f67fe4-f891-4e6b-bee1-144372cee7d3
I followed those steps and getting these results. is this expected?

Yes, it generally looks fine, but as I mentioned, the 512 model suffers from significantly more severe texture flickering. Therefore, it is recommended to use the 1024 model.


[Feat]Add Path var to disable the image upload function

Problem Description
as the title
Solution Description
add a path var to disable the upload image button
Alternatives Considered
No response
Additional Context
No response

you mean add a env var to control the upload button visible or not? please tell me why

you mean add a env var to control the upload button visible or not? please tell me why

cause some api doesn't support it or just the provider not allow to request，then show it will cause error


Reject JIRA projects mentioned in URLs

Change matching pattern to not trigger if project name was seen with a dash or slash prefixing it so pasting a URL into slack won't trigger it to be reposted.
We've been using this tweak at Roku without problem.

Thanks @unwiredben


Unnecessary Arc::clone per row in RowWriter benchmark

Describe the bug
The jit benchmark calls batch.schema() for each row, internally the schema method clones an Arc. Normally cloning an Arc is not a problem, but doing it for every row adds some overhead.
To Reproduce
Running the benchmark under a profiler like perf and then checking the hotspots shows some atomic instructions on the hot path
perf record cargo bench --features row,jit --bench jit

Thanks @jhorstmann 👍


Lost keystroke after closing terminal within exit_cb callback

I have distilled a simple reproduction of the problem reported in https://github.com/junegunn/fzf/issues/1103
With the following functions
fun! LostKeystrokeExit(...)
    close
endfun

fun! LostKeystroke()
    new
    call term_start(&shell,{'curwin':1,'exit_cb':function('LostKeystrokeExit')})
endfun

To reproduce the issue :call LostKeystroke() and then type exit in the opened terminal shell.  The terminal window will be closed, and subsequently the first keystroke into the entered window, e.g. :, will be lost.

Actually, the curwin option is a red-herring.  The keystroke is lost if you invoke :close from within the exit_cb callback.
fun! LostKeystrokeExit(...)
    close
endfun

fun! LostKeystroke()
    call term_start(&shell,{'exit_cb':function('LostKeystrokeExit')})
endfun


Please allow to disable Variable inheritance for Functions

Summary of the new feature / enhancement
Hello
The issue
in our daily work (we've created more than 5k PowerShell Scrips) we mostly have runtime errors because functions do not initialize variables in all code-paths and then the value of the parent (or even global!) variable with the same name is used.
Therefore: Please allow us to disable variable inheritance for functions
The benefit of inherited variables in functions
Professional scripts almost never want to access global variables in functions
If they do:

it is very rare
they usually need single variables, which can then be explicitly addressed in the function

The Workarounds
I know, there are workarounds to manually disable inheritance in functions, e.g. by creating a local variable of every global variable and initializing them to $null. Or by creating a new PowerShell process. Or by using ScriptBlocks, Jobs, etc.
In the end, however, they are all very tedious.
I have added some ideas for the technical implementation below.
Thanks a lot, kind regards,
Thomas
Proposed technical implementation details (optional)
Ideas for discussion
As always, it's tricky to choose an elegant, sustainable concept for such requirements - and PowerShell has great architects, thank goodness. I'll give a few concept ideas anyway:
Variable inheritance into Functions could be disabled by:

a #Command similar to: #Requires -Version 7
by the private: scope like: Function private:My-Func() {}

By the way, the implementation of this requirement should be quite simple:
As soon as a variable is accessed in a function for the 1st time,
PowerShell does not copy the value from an existing parent
but simply initializes it by the default value.

1 Unique variable name in sub function
or
2 $private:foo in function

1 Unique variable name between function and sub function
or
2 variable name 【$private:foo】in function

or 3 fix the code which so that it does initialize its variables.

in our daily work (we've created more than 5k PowerShell Scrips) we mostly have runtime errors because functions do not initialize variables in all code-paths and then the value of the parent (or even global!) variable with the same name is used.

The problem is that the people who use non-unique names AND also don't ensure their variables don't get initialized  AND don't mark them local: or private:   don't understand that they are doing something wrong so they won't apply a flag to a function to say "This has that kind of variable".  And the people who understand the flag would write code which didn't need it.
Sweeping generalizations like "Professional scripts almost never want to access global variables in functions"  bother me a bit, because quite a lot of scripts refer to $pwd. or $psversionTable, or $host, or $isWindows, or the various preference variables. Environment variables are, by definition, global, and that's where we for go username, computerName and various paths.  In many cases information needed by many functions - or by multiple calls to the same function (e.g. remote session details) lives in script-scoped variables. Some information is global in nature.
That's very different from saying "don't use globals to do the job of parameters" and "don't access working variables which belong to other bits of code" - neither of those are global in nature.
When we get a lecture on what "Professional scripts" do and don't do, it invites the response that professional scripts take a bit more trouble about initializing variables.

we mostly have runtime errors because functions do not initialize variables in all code-paths and then the value of the parent (or even global!) variable with the same name is used.

It's hard for me to imagine such a mess. I hope these variables are not constant and are not read-only. In my opinion, this is a management problem.


[dv] Fix types to allow mubi randomisation

This is technically a patch to the RTL code, but it is just changing some types. This is to work around a behaviour in VCS, which won't allow us to randomise an enumeration expression with an invalid value. (Xcelium is more allowing!)
In particular, it should fix a rom_ctrl test which currently fails for about half the seeds.

I take it all back! This change doesn't actually fix the rom_ctrl test in question when using VCS. I've got a super-hacky fix that does seem to work, but I'll file it as a separate PR (since it's constrained to the rom_ctrl dv code).


✨  Phenotype entity

https://github.com/obophenotype/upheno
https://monarchinitiative.org/

https://github.com/laminlabs/bionty/issues/170 is related. I'll start with the HPO first and will then investigate the ones that you mentioned.

Now living here: https://github.com/monarch-initiative/phenio


[Feature-Request] {Add adjusting disparity shift to ros driver for noetic}

Start with the why:
I'm using the OAK-D Pro Poe to detect objects within 400mm to 900m depth range and adjusting disparity shift to detect depth in a limited close range would be very helpful without losing quality as a result of to decreasing resolution.
Move to the what:
Having disparity shift as described in documentation here configurable through parameters we can set in the roslaunch file or config/xxxx.yaml folder.

Disparity shift has been added in one of the new releases, closing this issue as completed.


Phaser.Tilemaps.Tile tint property seems to not work properly

Hi.
When I set the tint prop from a tilemap tile, it seems to modify the final color displayed on screen.
I've tried to use the same colors on a Graphics layer with MULTIPLY blend mode to "tint" my tiles, and it works fine.
You may see the example with commented code here: https://codesandbox.io/s/04y572xxmw
Thanks for your time.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

I'm having the same issue, where tiles are not getting tinted the color I would expect.

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


Does it support video to video generation with basic lipsync without head movements?

Then it can be used as an awesome alternative to wav2lip, videoretalking, musetalk etc

Then it can be used as an awesome alternative to wav2lip, videoretalking, musetalk etc

Theoretically, this project can be adapted for video editing beyond audio-driven image animation. To use our model for video, you would replace the motion sequence extracted from the driving video in LivePortrait with the motion sequence generated by our model. You can also replace only the lip keypoints to achieve lip-region video editing.
You might find the LivePortrait project helpful as a reference: https://github.com/KwaiVGI/LivePortrait/blob/main/assets/docs/changelog/2024-07-19.md.


B 1312 posthog identify users and track log in log out

Just missing the created_at but you can check the rest @pixelfact

Done


Bug: Improve footer component for small screens

Thank you for taking the time to file a Bug report.
Describe the bug
The footer needs to be more responsive for smaller screens.
Screenshots

I can do it
assign me

Can you assign this to me please @padmajabhol

Can you assign this to me please @padmajabhol

Issue 199 is still unassigned, please comment there.
https://github.com/codeisscience/journal-policy-tracker-frontend/issues/199

Hey @padmajabhol, can you let me know more about the issue? What improvement do you want?

can i work on this?

@Himanshu-370 any updates on this?

@padmajabhol Please assign this to me

Hello @padmajabhol
If no one working on this issue, please assign it to me.


Is there a way to edit existing blackout rules?

I would like to know if the UI supports editing existing blackout rules? I only see delete option.

Editing blackout rules is not currently supported. I can add this to the backlog if you want.

Thanks. please add in your backlog.

Done. I'll close this as it's being tracked elsewhere.


Fix for oci-private-key distribution in oci-ccm playbook

Keys were not distributed correctly when operator node is separated from control planes. The fix now correctly distributes the OCI private key file to the Kubernetes control planes when the OCI-CCM module is installed.

Changed profile


build: add a CMake based build for Windows

Given that swift-package-manager is not currently ready for Windows,
this addition makes it possible to build for Windows.
[One line description of your change]
Motivation:
[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]
Modifications:
[Describe the modifications you've done.]
Result:
[After your change, what will change.]

@weissi - I don't think that package.swift has the information to really directly generate the CMake (its missing certain bits including list of sources, etc).  s-p-m doesn't run on Windows really, so, this would need to be committed ahead of time.
I think it may be possible to enhance CMake to generate Package.swift ....
Either way, in the mean time, I think that this would block the use of swift-log on Windows :-(

thanks for this @compnerd. I really like @weissi idea of generating these from the output of swift package dump-package, if can develop a script that does that, we could then have it added to the other swift-server projects until swift-pm gets windows support. wdyt?

I don’t think that the script would be trivial to write.  Since s-p-m doesn’t work on windows though, not sure how much I can help.   But, if you can write such a script, sure, having the output of it checked in would be fine (remember that s-p-m doesn’t run on Windows, so you cannot run the script on Windows, so the make would still need to be committed)

@compnerd it just needs to work on Linux so the CI can verify that the checked in version is equal to the generated version. Happy to check it in (like the generated XCTest thingies) if we have checking that it's accurate.

Hey there, we're planning to tag 1.3.0 soon -- not sure about status of this PR, what should we do here?

I suggest we continue with release, and let this bake some more in the context of automating the generation of the CMake script or fixing SwiftPM to work on Windows


Improve goreportcard rating

We've dropped back to a B... So we should fix that.

The merge of #43 has improved the rating back to an A.

A is good enough for now, so let's close this one.

Sent #47


Fix caBundle of istio's validating webhook

How to categorize this PR?

/area networking
/kind bug
What this PR does / why we need it:
Fix caBundle of istio's validating web hook.
The validating web hook configuration of istio does not contain a ca bundle. This is only injected at
runtime by istio itself. Unfortunately, the logic how to identify such validating web hooks has changed
between istio 1.10 and 1.11. Starting with 1.11 the web hooks are identified using a label selector.
The label selector uses the istio.io/rev key, which should have the revision as value. We do not set
any revision as we do not work with canary deployments at the moment. Therefore, it is empty in our
case.
With the added label, the validating web hook is properly updated with the ca bundle by istio.
Please note that it is not possible to add the revision label to the set of standard istio labels as
those labels are also used as selector in the istio pilot deployment. As selectors in deployments are
immutable, we would need to delete/recreate the deployment, which seems to be unnecessary at this time.
Which issue(s) this PR fixes:
Fixes #5892
Special notes for your reviewer:
Release note:

An issue causing the istiod validating webhook's `clientConfig.caBundle` to be not populated is now fixed.

/milestone v1.46

/cherrypick release-v1.45
/cherrypick release-v1.44
/cherrypick release-v1.43

/cherrypick release-v1.44

/cherrypick release-v1.43


feat : update readme and footer

This PR contains

Update Readme added contributers svg io
Update in footer

cc @joewxboy


Add custom grid documentation

Currently, you can create a custom grid like:
$my-super-cool-grid: (
  columns: 120000,
  gutter: 2px,
);

and then pass it directly in to one of the mixins such as @include grid-column(6, $my-super-cool-grid); but this is basically undocumented. Since it is a general property, not sure where to put this except maybe somewhere in the _settings.scss

@whmii Have you thought about encapsulating all grids into one, nested map? Something like:
$neat: (
  "small": (
    "min-width": 0,
    "columns": 6,
    "gutter": 1rem,
  ),
  "medium": (
    "min-width": 40rem,
    "columns": 12,
    "gutter": 2rem,
  ),
);

@tysongach I have but that seems like such a difficult thing to handle, both from a user side of understanding what's going on, but also from a code perspective. I believe it would add a lot of complexity to the code base.
As a basic example, neat would need to understand that small has a min-width of zero which then means it should be the default grid, unless there are multiple grids with min-width: 0 and then do something else.
I would be interested in getting some initial traction with maps as settings, since this doesn't feel like a clean win to me.
However I do feel like this would be a great addition in a future version.

I will add the core documentation for this after launch. right now I want to focus on documentation of the core feature set and then expand on more "advanced functionality" later.


Rebrand Bug Tracker to Issue Tracker

As mentioned in #1406, "Bug" has a very negative connotation. Moreover about half of our "bugs" are actually enhancement requests, so I propose the rebranding to "Issues" on such a publicly visible site.
Does anyone know how I can rename the chart?

It's called Bugzilla, not Issuezilla... :P

I don't like this change.
https://en.wikipedia.org/wiki/Bug_tracking_system
https://en.wikipedia.org/wiki/Issue_tracking_system
These are two different things.
It's OK to call the things filed as "issues", that's what Bugzilla calls them too. But in the end, it's a bug tracker.

It's called Bugzilla, not Issuezilla... :P

Ok fair enough ;-)


UI is ugly as can be

Make a better and more friendly UI, make the textboxes smaller and place them somewhere else and whatnot

UI has been improved


Resolving import on the server side

On the server side while trying to resolve the dynamic import I receive error message that load is not a function.
It's probably because transpiled object is thennable.
My code example: Promise.resolve(import('./components/pages/SomePageITryToImport')).
What's the recommended solution? Right now I have to check if i am on the server to avoid resolving. Is there any way to configure makeThennable?

Any update on this?

import('./components/pages/SomePageITryToImport').then should work.

then works by itself, but then it throws error on the server side.

@Arturszott does the open PR solve your problem?

I managed to somehow avoid this problem. It's not relevant anymore.


Application/#154707979

Pivotal Tracker Story ID: [Application/#154707979]
Description of Changes:

When mary log in, she will arrive her profile page, where she can see a list of her projects
when she click the name of one of her project, she will arrive the projectDetail page, where contains the detail of the project: applicant's name, message, and application date
when she click on the "Go Back" button, she will go back to her profile page

sorry, changed this time.


Support house numbers with fractions in it (e.g. Poststr. 2 1/2)

Some German addresses have house numbers like Poststr. 2 1/2. This adds support for the fraction in it.

Can I merge this?


Apply some suggestions from Wojtek

https://github.com/livebook-dev/req_ch/pull/1#pullrequestreview-2429133584

@wojtekmach may I have your bless? :P


Allow multiple slot elements

there can actually be multiple slots. However, they should be named with name. Do don't allow two or more slots with

the same name
no name

Slots can also have fallback content


Fix CI issues

/azp run ios - core - ci

/azp run ios - core - ci

/azp run ios - core - ci

@knvsl feel free to rebase your PR off of main now that this change is added. It should resolve CI errors not caused by your PR.


counter_culture_fix_counts doesn't work with column_name and where together

I have the following model relationship:
class User < ApplicationRecord
end

class Group < ApplicationRecord
  has_many :group_owners
  has_many :users, through: :group_owners
end

class GroupOwner < ApplicationRecord
  belongs_to :user
  belongs_to :group

  counter_culture :user,
    column_name: ->(model) { model.group.visible? ? 'visible_groups_count' : nil },
    column_names: {
      GroupOwner.visible => :visible_groups_count
    }
end

I added a counter cache to users that uses counter_culture to count records, based on a field on groups. Since it's a has many through, where the GroupOwner record is not notified when the Group is updated, I need to manually trigger an update of the counter culture when the column changes.
class Group < ApplicationRecord
  after_save do
    if saved_change_to_visible?
      GroupOwner.counter_culture_fix_counts(
        only: :user,
        where: { users: { id: user_ids } }
      )
    end
  end
end

This works, but I wanted to make it more specific using column_name to ensure only the correct column is updated, however neither of these change any data:
GroupOwner.counter_culture_fix_counts(
  only: :user,
  column_name: :visible_groups_count,
  where: { users: { id: user_ids } }
)

GroupOwner.counter_culture_fix_counts(
  column_name: :visible_groups_count,
  where: { users: { id: user_ids } }
)

(Side question: is there a better way I could acheive what I'm trying to do here?)

Sorry, but I don’t understand the issue you are having based off the information you have provided here and I am unable to provide support on this open source project.
Just to confirm, though, the call to counter_culture is on the GroupOwner model? At first glance here, and again I don’t have enough information, you shouldn’t have to manually update the counter cache. This seems like a pretty straightforward case.


<EMAIL_ADDRESS>if you want

<EMAIL_ADDRESS>if you want created by<EMAIL_ADDRESS>on 2016-12-17 11:04:26

<EMAIL_ADDRESS>replied, All,
Aleks asked whether he could have his own email address at tekinged.com.
It's no problem so I gave him one.  If anyone else would like one, please
let me know what username you want.  Also let me know whether you want to
check mail at webmail.tekinged.com or whether you just want emails
forwarded to your primary email address.
Thanks,
John


Pin amber tools to  <23

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Note you might want to repodata patch it too so older builds are also fixed.

@jaimergp I thought about that...
I just need to make a fork, then submit a PR where I edit recipe/gen_patch_json.py like that to add this pin for all older packages


[Mod Info] More Network Stuff [Steam ID  512314255] by BloodyPenguin

Mod:
More Network Stuff [Steam ID  512314255] by BloodyPenguin
Other Information

Additional info: anything else you want to tell.

Bulldozing train and ship outside connections in-game might give errors, but if you save (under new file name), exit to desktop, then load that new save it should work fine. (I've done this many, many times over the years).
Editing aircraft paths - either adding, moving, or bulldozing - can cause the Aircraft AI to fail completely, preventing airplanes from spawning. Always save a backup of the city before altering aircraft paths.

This will be updated in catalog 3.50.


Add Recipe Equipment Field

Is your feature request related to a problem? Please describe.
Many chefs provide equipment lists along with their ingredient lists and directions.
Describe the solution you would like
It would be extremely helpful if this plugin added an additional field for Recipe Equipment, which would mimic the Recipes Direction field.
Describe alternatives you have considered
Adding fields outside of the Recipe field type is just a lot less tidy for content editors.
Additional context
What would be even cooler is if there was a settings page for the plugin that allowed you to turn fields/tabs on and off from display.

It's on the docket to be added soon!

Added in: https://github.com/nystudio107/craft-recipe/commit/9ed870eeae654831c8dfcea86c01f3f7d452277b
You can try it now by setting your semver in your composer.json to look like this:
    "nystudio107/craft-recipe": "dev-develop as 1.3.1",

Then do a composer clear-cache && composer update


[BUG] splitratio dispatcher works only with positive float values (since v.0.41.2)

Regression?
Yes
System Info and Version
 System/Version info
Hyprland, built from branch makepkg at commit cc98594c3aed0b542e03818371a4636f549f80e1  (pointer: update geometry after unplug events).
Date: Fri Jul 5 23:05:09 2024
Tag: v0.41.2-22-gcc98594c, commits: 4908

flags: (if any)

System Information:
System name: Linux
Node name: hyprland
Release: 6.9.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] [8086:9a49] (rev 01) (prog-if 00 [VGA controller])

os-release: NAME=ArcoLinux
ID=arcolinux
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="0;36"
HOME_URL="https://arcolinux.info/"
SUPPORT_URL="https://arcolinuxforum.com/"
BUG_REPORT_URL="https://github.com/arcolinux"
LOGO=arcolinux-hello

Description
In v.0.41.2 splitratio dispatcher works only with positive float values.
hyprctl dispatch splitratio 0.1 <= works
hyprctl dispatch splitratio -0.1 <= does no longer work
It worked well in v. 0.40.
Was nicer than resizeactive since hyprctl dispatch splitratio uses animations and feels better since everything else is also animated.
How to reproduce
In terminal, run: hyprctl dispatch splitratio -0.1
Crash reports, logs, images, videos
No response

hyprctl -- dispatch splitratio -0.1


[BUG] Validation Error on parsing retrieved document's BSON Decimal128 field

Describe the bug
When using Pydantic v2, Beanie doesn't convert the retrieved document's BSON Decimal128 type to Python's Decimal type. This leads to Pydantic raising validation error.
To Reproduce

import asyncio
from decimal import Decimal

from beanie import Document, init_beanie
from bson import Decimal128
from motor.motor_asyncio import AsyncIOMotorClient

user = "user"
password = "password"

# Data as saved in MongoDB
decimal_128_data = {"price": Decimal128("125.52")}

class Test(Document):
    price: Decimal

async def init():
    # Create Motor client
    client = AsyncIOMotorClient(f"mongodb://{user}:{password}@localhost:27017")

    # Init beanie with the Test document class
    await init_beanie(database=client.test, document_models=[Test])

    retrieved_data_model = Test(**decimal_128_data)

    print(f"{retrieved_data_model=}")

if __name__ == "__main__":
    asyncio.run(init())

Expected behavior
When using Pydantic v2, BSON Decimal128 type should automatically convert to Python's Decimal type, as defined in the Beanie model.
Additional context
The error itself:
pydantic_core._pydantic_core.ValidationError: 1 validation error for Test
price
  Decimal input should be an integer, float, string or Decimal object [type=decimal_type, input_value=Decimal128('125.52'), input_type=Decimal128]
    For further information visit https://errors.pydantic.dev/2.3/v/decimal_type

The above example works fine with Pydantic v1. For Pydantic v2, I'm using the following workaround for the time being:

import asyncio
from decimal import Decimal
from typing import Any

from beanie import Document, init_beanie
from bson import Decimal128
from motor.motor_asyncio import AsyncIOMotorClient
from pydantic import model_validator

user = "user"
password = "password"

# Data as saved in MongoDB
decimal_128_data = {"price": Decimal128("125.52")}

class Test(Document):
    price: Decimal

    @model_validator(mode="before")
    @classmethod
    def convert_bson_decimal128_to_decimal(cls, data: dict[str, Any]) -> Any:
        for field in data:
            if isinstance(data[field], Decimal128):
                data[field] = data[field].to_decimal()
        return data

async def init():
    # Create Motor client
    client = AsyncIOMotorClient(f"mongodb://{user}:{password}@localhost:27017")

    # Init beanie with the Test document class
    await init_beanie(database=client.test, document_models=[Test])

    retrieved_data_model = Test(**decimal_128_data)

    print(f"{retrieved_data_model=}")

if __name__ == "__main__":
    asyncio.run(init())

I stumbled across this problem also yesterday. Thanks for reporting the issue and providing a nice workaround!

Thanks, @gsainsbury86. I'm glad you found it useful!
Apparently, Decimal Annotation needs to be imported directly from Beanie to keep the behavior consistent between Pydantic v1 and Pydantic v2.
The following code will work with both versions of Pydantic:
from beanie import DecimalAnnotation, Document

class Test(Document):
    price: DecimalAnnotation

While this works, it's a bit unclear and required me to dig into Beanie's source code. This should be documented, of course, but I do wonder if there's a better way to deal with it directly within Beanie.

In Pydantic v2 Decimal type's handling got changed. I had to implement my own type wrapper (used in the @adeelsohailahmed example) to make it work. It is not documented yet, as I'm fixing other type problems (bson.Binary for example).
If this will not work as expected, please let me know

Thanks @roman-right . Maybe mine is a strange use-case but I have a system where I wanted to re-use my defined pydantic models between the front-end and back-end services in my application, but the front-end does not have access to Mongo. So what I ended up doing was defining my model from BaseModel and then extending that base and beanie.Document as well. The problem in this instance is that while not having beanie imported to the front-end, I had to use decimal.Decimal and so I still needed @adeelsohailahmed 's original workaround with the validator.
shared model:
class BaseProduct(BaseModel):
    code: str
    description: str
    capacity: Decimal
    uom: str
    unit_cost: Decimal
    type: ProductType

    @model_validator(mode="before")
    @classmethod
    def convert_bson_decimal128_to_decimal(cls, data: dict[str, Any]) -> Any:
        for field in data:
            if isinstance(data[field], Decimal128):
                data[field] = data[field].to_decimal()
        return data

back-end:
class Product(Document, BaseProduct):
    pass

Another use case, I like to use the pydantic.condecimal type so I can also have validation of number of decimals and multiple of:
stock: pydantic.condecimal(decimal_places=1, multiple_of=decimal.Decimal("0.5"))
The work around works for me for now, would the workaround potentially be a better solution?
Or is this something we should post on pydantic to fix? Since, they should really handle this like they used to.

It doesnt work for me at all now... It crashes both on save and on retrieval with the validation error.
I am using Pydantic 2.

@jirojo2: Use beanie.DecimalAnnotation in place of the Decimal annotation.
@nickleman: As per the Pydantic docs for condecimal:

This function is discouraged in favor of using Annotated with Field instead.
This function will be deprecated in Pydantic 3.0.
The reason is that condecimal returns a type, which doesn't play well with static analysis tools.

@gsainsbury86: You can replace the model_validator workaround with
try:
    from beanie import DecimalAnnotation
except ImportError:
    from decimal import Decimal as DecimalAnnotation

Btw I just pushed a PR that simplifies DecimalAnnotation to one line so you may redefine it instead of trying to import it from Beanie.

@gsakkis It may work if I use DecimalAnnotation, but then I can't specify the constraints I want in the Field() part of hte pydantic documentation. So, if I use the newer Annotated[Decimal, Field(decimal_places=1, multiple_of=Decimal("0.2"))] then I still need the model_validator workaround from above to make it all work. That's fine, but it should be documented, or the Document class should have a default validator for Decimal128 included to make it transparent to users.

@gsakkis It may work if I use DecimalAnnotation, but then I can't specify the constraints I want in the Field() part of hte pydantic documentation. So, if I use the newer Annotated[Decimal, Field(decimal_places=1, multiple_of=Decimal("0.2"))] then I still need the model_validator workaround from above to make it all work. That's fine, but it should be documented, or the Document class should have a default validator for Decimal128 included to make it transparent to users.

I found solution, I guess.. you can use
Annotated[DecimalAnnotation, Field(...)]

Instead of:
Annotated[Decimal, Field(...)]

It works and validates correctly.


Copy images to another cell 单元格里的数据是图片，如何复制到另一个excel的单元格中

单元格里的数据是图片，如何复制到另一个excel的单元格中

This issue similar to #41, #134, #472, #532, #574, #629, #640, #712 #818. Currently, this library doesn't support copy images to another workbook, but you can read picture properties and binary data by the GetPictures function at first, and then insert the image to another worksheet with AddPictureFromBytes. I closed this and merged it into issue #41 is still discussing this feature.

This issue similar to #41, #134, #472, #532, #574, #629, #640, #712 and #818. Currently, this library doesn't support copy images to another workbook, but you can read picture properties and binary data by the GetPictures function at first, and then insert the image to another worksheet with AddPictureFromBytes. I closed this and merged it into issue #41 is still discussing this feature.


Fix doc formatting

Checklist

[ ] Added tests for changed code.
[ ] Updated documentation for changed code.
[ ] I've added a news fragment of my changes with the name,
"{ISSUE_NUM}.{feature|bugfix|doc|removal|misc}""

Related Issue

Description

Looks like the "build / lint" check failed but I don't think it has anything to do with my changes. This is the error from the check:
Error: Unable to process command '::set-env name=PY::a299bbcefe5da3384f3c2dca14f64bc9df952bf113341935242b2ee01ce03a9e' successfully.
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/```


Highlight / Validate code in template string

VSCode Version: 1.12.2
OS Version: Win 10

Steps to Reproduce:

Having a template string containing HTML code, VsCode should be able to highlight such language in that context (independently from the global file).

I.e. You can be inside a .ts file, but if you are in a variable wich value is a template string containing HTML code, the IDE should understand it in some way (maybe using some annotation or comment?).
I'm aware we can switch (CTRL + k, m) the language of the file, but I'm asking about do the same but for some parts of the file.

duplicate of #1751


Resolves #181 true up default version with help text

Set default version to what the help output says it will.
Fixes #181

Thanks @wyattwalter!

Merging this. Thanks again!

I would consider this as breaking change, because it will overwrite already stored credentials with version 0 - wrong default version before this fix. It's unexpected behaviour and may cause troubles for some users.


[ENH, MRG] Add keypresses to ICA to toggle topomap channel type and psd scale

The topomap for ICA.plot_properties defaults to the first on the list of channel types, usually mag. I think, especially when this is popped out in the ICA.plot_sources figure, it would be super helpful to be able to toggle the type of channel shown in the topomap. I threw in log scaling as well although now that I'm writing this, maybe just the parameter is sufficient, although you can't easily pass the parameter in ICA.plot_sources so maybe I'll leave it in and see what other people think and remove it if it's not popular. The thing that I haven't figured out is how to inform the user of this functionality. I think a help button would probably be fine but wanted to see what others think, maybe just add it to the text of the tutorial would work as well.

Huh there was a weird bug where if I didn't del ax it caused the topomap axis to change to log scale as well. If anyone knows a more elegant solution to that, that would be ideal.

works for me !
can you see why CIs fail?
🙏

can you see why CIs fail?

They just needed a restart
Thanks @alexrockhill !


element-desktop crashes on native wayland

Describe the bug
element-desktop crashes on native Wayland (wlroots/Sway) on latest nixos-unstable.
Steps To Reproduce
Steps to reproduce the behavior:

Run Sway version 1.6
Run nix run nixpkgs#element-desktop -- --enable-features=UseOzonePlatform --ozone-platform=wayland
Observe SIGTRAP signal.

The same happens when using pkgs.element-desktop.override { useWayland = true; }
Expected behavior
element-desktop should run fine with the Wayland flags (as it did before iirc)
Notify maintainers
@ma27 @pacien @fadenb @mguentner @ekleog @ralith @mjlbach

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.14.2, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4pre20210908_3c56f62`
 - channels(root): `"nixos-21.11pre291991.ea7d4aa9b82"`
 - channels(malte): `"nixos-21.11pre313915.bbbe2b35f73"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: element-desktop
# a list of nixos modules affected by the problem
module:

Possibly related to #137377?

Ah, yes, I planned to reference that one. I wondered myself, but I'm getting far less output and element-desktop actually crashes
$ nix run nixpkgs#element-desktop -- --enable-features=UseOzonePlatform --ozone-platform=wayland
/home/malte/.config/Element exists: yes
/home/malte/.config/Riot exists: no
No update_base_url is defined: auto update is disabled
Fetching translation json for locale: en_EN
Changing application language to en-us
Fetching translation json for locale: en-us
Resetting the UI components after locale change
Resetting the UI components after locale change
fish: Job 1, 'nix run nixpkgs#element-desktop…' terminated by signal SIGTRAP (Trace or breakpoint trap)

I'm pretty sure that both have the same cause (enable-features being discarded, so Wayland mode is started without UseOzonePlatform), so I'm going to close this and leave the other one open until we have a fix (which I expect tomorrow since there's a new patch-level release scheduled anyways).


Refactor to multiple configuration resources

Description
Refactor cookbook to use multiple configuration resources
Issues Resolved

#69

Check List

[x] A summary of changes made is included in the CHANGELOG under ## Unreleased
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable.

Released as: 3.0.0


Bug: the mouse unable to trigger Autohided taskbar

When Tiefsee window is maximized, if the taskbar is autohided, the mouse unable to trigger the  taskbar by touching bottom edge of the screen.

This bug did exist before, but I think I fixed it.
What is your Tiefsee version and OS version?

What is your Tiefsee version and OS version?

TieSee 4.2.3 Microsoft Store version
Edition	Windows 10
Version	22H2
OS build	19045.4780

The nightly also had the autohiding taskbar issue.

This is a very tricky issue, and it is caused by this piece of code.
protected override void WndProc(ref Message m) {
    // https://rjcodeadvance.com/final-modern-ui-aero-snap-window-resizing-sliding-menu-c-winforms/
    const int WM_NCCALCSIZE = 0x0083; // Standar Title Bar - Snap Window
    if (m.Msg == WM_NCCALCSIZE && m.WParam.ToInt32() == 1) { // Remove border and keep snap window
        return;
    }
}

I have two monitors. The problem exists on the main monitor, while the second monitor is fine.
So, I think this is a bug in Windows itself.
The taskbar is a system-level UI, and it should be on top. It’s strange that it gets covered by windows.

It seems like a lot of projects have encountered this issue, for example this fix: https://github.com/electron/electron/pull/25217


In magic code input holding down the backspace is not clearing all numbers

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Sign out
Enter email
In magic code page, enter wrong numbers
Try to hold down backspace to remove numbers

Expected Result:
All numbers should be removed when holding down.
Actual Result:
When pressing down backspace, not all numbers are removed. Sometimes 1, or 2, or 3 numbers are removed at once.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.18-2
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/d1245a80-4efd-4cc0-8ca5-0adf5c762daa
https://github.com/Expensify/App/assets/43996225/1c768ce1-9cb1-42cb-8296-0f7a543a1e69
https://github.com/Expensify/App/assets/43996225/f828f9c5-a06b-4cf2-bd74-7f938e0b32c2
Expensify/Expensify Issue URL:
Issue reported by: @alitoshmatov
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684864290565649
View all open jobs on GitHub

I can also reproduce this on iOS native and mWeb (safari), so I think broadly a long press on backspace isn't working on mobile devices with a software keyboard.
I noticed this issue we closed recently: https://github.com/Expensify/App/issues/18377#issuecomment-1546762512
@mananjadhav @mountiny @HarjotSingh8 for some additional input.

@trjExpensify @HarjotSingh8 I dont think this is a bug we need to spend time on. Users will usually autofill if using phone number or copy paste and works fine
I think we should do nothing and close this

That works for me.


Thinks HSH means Heroic ZA

https://tbc.wowhead.com/item=33829/hex-shrunken-head
"ZA" should trump anything else here, if it can put it in a raid it should go into a raid.

H Shattered Halls... should SHH, SH should be Sethekk.

Closing as a dupe.


add disambiguation suffixes to overload group pages that conflict

Bug/issue #, if applicable: rdar://119526432
Summary
If a group of overloads has the same name as another group of overloads (e.g. instance methods and class methods), their generated topic references will overwrite each other. By adding a suffix that states which symbol kind is represented by an overload group, we can prevent different overload groups from clobbering each other.
Dependencies
https://github.com/apple/swift-docc/pull/825 (This PR is targeting that branch to only show the changes necessary for this bug)
Testing
The following code demonstrates this issue:
public class Something {
    public func something() -> Int { 0 }
    public func something() -> String { "" }

    public static func something() -> Int { 0 }
    public static func something() -> String { "" }
}

A doc catalog containing a symbol graph generated from this code is available here: asdf.docc.zip
Steps:

swift run docc preview --enable-experimental-overloaded-symbol-presentation asdf.docc
Navigate to the Something class's page.
Ensure that both func something() and static func something() both have generated overload pages.

Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
[ n/a ] Updated documentation if necessary

cc @d-ronnqvist @mayaepps, i forgot that a PR to a branch on my fork creates a PR on my fork 😅

Closing this since the original PR was reimplemented.


1.3.7 with table support

Has anyone gotten 1.3.7 version to work with table support? Version 2.0.0 is too buggy with too many breaking changes.

Hello, you can use this package for 1.3.7: https://github.com/dclement8/quill1-table


Impovement/slider ux

@mghazanfar

Popup should be dismissible when clicked outside.
Clicking on vote button shouldn't mark button blue
Also check image, voting button marked blue and it has something on background making it look rectangle

st.
Status for the points above:

Popup should be dismissible when clicked outside. (Done)

Clicking on vote button shouldn't mark button blue, only after vote is successful. (Done)

Also check image, voting button marked blue and it has something on background making it look rectangle probably because not using svg file or background of icon is white not transparent (Done)

If post is already voted, slider shouldn't allow same percent voting, button within slider should be in disabled state perhaps, different percent is possible to cast on already voted post. (In progress)

Also make sure it looks good for dark and light theme coloring. (TBD)

Latest code is pushed so you can test it meanwhile.


Incorrect/Missing keymanager gettables for OSSL_PKEY_PARAM_MANDATORY_DIGEST

A review of #20430 indicates that the gettable tables for the keymanagers for ECX/ED and RSA are in the wrong place or missing.

I just looked at rsa_keymgmt.c, and true enough, there should be a separate rsapss_gettable_params, just like there is a separate rsapss_settable_params.


Update constructr version in README to 0.16.1

The "de.heikoseeberger" %% "constructr” version in README was 0.16.0 but the current version is 0.16.1.
This PR is updating the README accordingly.

Thanks!


Added an initial interrogation sign

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

This is very low effort, please also fix the markdown formatting of the code example.


use lua-language-server --docs

Hey! I have been following this repository a bit to see if I could use it potentially for some of AstroNvim's stuff because the results are super nice. I ended up not and using with a core feature of lua-language-server I found that the language server is actually able to generate and output the documentation directly. I'm not sure if you know about this, but it might be nice if you want to alleviate some of your development pressure here when it comes to parsing doc strings manually.
Here is the documentation for it: https://github.com/LuaLS/lua-language-server/wiki/Export-Documentation
It actually generates Markdown as well as a structured JSON for post processing so it's quite powerful if you wanted to just use it for the parsing of the docstrings and then do your own markdown generation with the JSON file (I have found the markdown it generates and resulting vimdoc using panvimdoc is not nearly as nice as the outputs you get here).
In the future if I can find the time, I would like to make a general purpose lua-language-server annotation -> vimdoc github action that any plugin can use easily and am definitely looking to use the type of markdown/vimdoc you are generating with this as a reference because they are gorgeous!
If you are curious about what this sort of looks like just doing some very basic stuff with it, I'm using it in some upcoming AstroNvim repos.
Here is the github action job that does the entire API generation + README to vimdoc (the github action is made as a simple reusable workflow so that I can easily share it between plugins and have one location to make updates): https://github.com/AstroNvim/.github/blob/main/.github/workflows/plugin_ci.yml#L42-L91
And here is just the step that just generates the API markdown: https://github.com/AstroNvim/.github/blob/main/.github/workflows/plugin_ci.yml#L51-L76
Finally, here is an example repo that is using this github action with the result:

Repo's GitHub Action workflow calling the org's reusable workflow: https://github.com/AstroNvim/astrocore/blob/main/.github/workflows/ci.yml
Results: https://github.com/AstroNvim/astrocore/tree/main/doc

This isn't really a bug or a feature request or anything important, but I thought you might be interested in this. Feel free to close this immediately!

Hey, thanks for the kind words!
I think the idea of creating a github action that can auto-generate docs for any plugin is fantastic. In-editor documentation is one of vim's great strengths, and I know many plugins have little or no vim documentation because it's too much of a burden to maintain both markdown and vimdoc. And as you have discovered, the tools for converting one to the other produce non-ideal results.
I originally made this repo because all the other solutions (including the lua-language-server parser) only did 90% of what I wanted. For example, it wouldn't parse and export this as a function:
https://github.com/stevearc/aerial.nvim/blob/master/lua/aerial/init.lua#L295-L300
So at some point I decided it would be easier to write my own parser than try to work with any existing tools. That also allowed me to create a non-standard syntax when I needed it, for example: option table parameters
https://github.com/stevearc/aerial.nvim/blob/2a6498f4b5f8e52557eadbcd2b3f91da8fe438ca/lua/aerial/init.lua#L265-L268
You are of course welcome to use any part of this repo if you find it useful, but I do think that what you're doing with the lua-language-server parser is closer to the ideal solution.


Promise support in maps

I have a library function that does some async image manipulation and returns a Promise. As far as I can tell, the only way for me to embed the Promise in my chain is to wrap it in a function that calls Bacon.fromPromise; there's no other way to get the parameter to the library function call:
.flatMapLatest(function(val) { return Bacon.fromPromise(libraryFunction(val)); })

It would be helpful to have a combined fromPromise wrapper call so that instead I could write:
.flatMapLatestFromPromise(libraryFunction)

(Not sure whether the FromPromise would be necessary here, but it would be cleaner than the existing syntax.)

How about stream.map(libraryFunction).flatMapLatest(Bacon.fromPromise)?
Whenever you see yourself needing a combinator that does two things (like flatMapLatestFromPromise), it's a good sign that you should look for a way to do it as a composition of two different combinators.

And that does it. I'm still pretty new to reactive programming, and JavaScript isn't my native language, so I overlooked that composition route. Still getting my head around some of the JS function idioms.


Add screenshot tests

The bugs, both caused by framework changes, and 1 I introduced myself show we need more test coverage here.

First one https://github.com/google/horologist/pull/36/files

To close when paparazzi release is available.


recovery squashfs is not supported

currently if the image has a squashfs recovery immucore has no idea what to do

This is a problem of elemental-cli, not immucore: https://github.com/kairos-io/kairos/issues/926


investigate speeding up CI builds

we pull a lot of images
it's not immediately clear what's slow because we use shell scripts for the tests and CI only reports the whole script as a stage (i.e. break these up to debug)
master builds some images, maybe that is slow too?
see what else may take a while and speed it up!

Recent addition of fn-test-utils image increased this significantly. Looking into it.

#619 related

Extensions and middleware compilations at the end of test.sh script is taking forever since 'go build' goes seem to perform incremental builds.

Identified the real culprit in this, looks like fn-test-utils container stays in a busy-loop spewing errors. See:
https://github.com/fnproject/fdk-go/pull/8
This causes rest of the build to take forever.

Also a poor man's attempt to speed up a few things in test.sh and release.sh:
#620

Container leak workaround in runner_test.go:
https://github.com/fnproject/fn/pull/622

make docker-build, we use vanilla go 1.9 alpine image and we do install there few more packages, so could someone tell if we can create our own version of go 1.9 alpine with all of that packages and just use that as the base image for build fnserver image? It takes a lot of time in CI.

swagger image is damn huge for just one binary file, almost half a gig. Maybe we can just pull binary release from here https://github.com/go-swagger/go-swagger/releases and use that binary instead whole image?

Middleware and extensions:  CI builds at least 2 different binaries for those to see if API is not broken. So, just specifically for testing, can’t we go with 1 example that includes both middleware and extension?

Datastore images: mysql, redis, postgres, minio are huge, we need to get smaller (alpine?) images for testing in CI.

Played around with #625 an attempt to reduce shell script stuff into Makefile itself. Brings the build down to 14 min.


DO NOT MERGE Copyedits for descriptions and other strings

@dvdsgl,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Title: Navbar Background Change

Problem Description
Navbar have a plain background that needs to be made more interactive and visually appealing. To achieve this, the  plan is to implement Glassmorphism — a design trend characterized by frosted-glass effects, soft shadows, and vibrant colors, which together create a sophisticated and modern look.
The navbar
Describe the solution you'd like.
To transform the plain background into a more engaging design using Glassmorphism,

Will Create a Frosted Glass Effect:

Use CSS properties such as backdrop-filter, border-radius, and box-shadow to create the appearance of frosted glass.
Will Apply transparency using rgba values in background-color to allow the underlying elements to show through.

Enhance the Background:

background image or gradient behind the glass effect to provide depth and contrast.
Incorporate vibrant colors or subtle patterns to complement the glass effect.

Implement Interactive Elements:

Integrate hover effects, transitions, and animations to enhance user interaction.

Describe alternatives you've considered.
A plain background can often appear dull and uninspiring. To create a more engaging and polished user experience, we propose adding a clean background with a border. This approach aims to blend simplicity with elegance, providing a structured and modern look that can be enhanced further with design techniques like Glassmorphism.
Add any other context or screenshots about the feature request here.

Hey, Shall I fix this issue?

please assign this issue to me


Memory Leak?

I created PowerKey with Xcode. It has a warning plus analysis says it may have a memory leak? It works regardless. I am planning on buying the app rather than use my own compiled version. Just wanted to make sure it worked first. By the by, I'm using Xcode 8 and running macOS (Sierra). If you were to update the code, would the purchased version get updated? Does it check for updates? IS the update free? Comment on the memory leak and warnings?

Hello, I've cleaned up this memory leak warning in version 1.5.2. Thanks for letting me know. These memory leaks and/or false warnings in event taps can be a bit tricky due to the rules and method naming conventions when returning events that will be released by the system.
I do update the latest release on Gumroad. Previous customers should then be notified by email that an update is available, and the update is free. However, to keep the app extremely simple I have not added an automatic update mechanism at this time.
Thanks for using PowerKey!


Two p's in "bootstrapping"

Small typo in the repository description, "bootstraping" needs two p's.

Fixed! Thank you 👍


Safari - Button Text is Rendered too Light

@rileywho Safari is rendering open sans too light for some reason. To address this only in Safari we'd have to use user-agent sniffing or an obscure css hack, which doesn't seem worth it. This just seems to be the way Safari renders the 300 weight of open sans
A solution would be to switch the font weight of buttons to 400
Here's 400 weight in Chrome

Vs 300 as it is presently

buttons are now 400 weight. easy peasy


cannot install any plugin

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Windows 10
Hyper.app version: 3.0.0
Link of a Gist with the contents of your .hyper.js:
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
The issue is reproducible in vanilla Hyper.app:

Issue
Every time i want to install plugin, i have this messiage:
C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:19153
getProperties = memoize(() => getParsedFile().program.body[0].expression.right.properties),
^
TypeError: Cannot read property 'properties' of undefined
at memoize (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:19153:85)
at d (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:19138:22)
at memoize (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:19154:34)
at d (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:19138:22)
at Object.install (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:19184:37)
at Args.args.command (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:9934:45)
at Args.runCommand (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:11318:37)
at Args.module.exports [as parse] (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:15089:10)
at main (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:9991:18)
at Object.module.exports.name (C:\Users\space\AppData\Local\hyper\app-3.0.0\resources\bin\cli.js:10038:1)

I have the same issue

same issue here

same issue here

I also have this issue. I've tried deleting the default .hyper.js from %AppData%\Hyper too and letting it regenerate and even deleting everything from the folder, it makes no difference.

Running into the same issue, also Windows 10.  Tried with a default config after locating the new location of the configuration, same result.

what is the output of hyper version
have you tried this?
https://github.com/zeit/hyper/issues/3590#issuecomment-489672067

Hyper version is 3.0.0.   About that comment, it states to have the plugins already installed, but I wiped all that out as part of trying a fresh start.

Also unable to install plugins after trying the commented "solution"
Windows 10 Home 1809 - 17763.475

duplicate of  https://github.com/zeit/hyper/issues/3500
workaround here

symlink solution worked:

Hi,
@ZaLiTHkA Thanks!.
I have executed this, but to apply the changes in the $APPDATA/Hyper/.hyper.js file have created a symbolic link.
Example:
C:\Users\user>mklink "C:\Users\user\.hyper.js" "C:\Users\user\AppData\Roaming\Hyper\.hyper.js"
vínculo simbólico creado para C:\Users\user\.hyper.js <<===>> C:\Users\user\AppData\Roaming\Hyper\.hyper.js

C:\Users\user>dir | findstr "hyper"
07/05/2019  22:39    <SYMLINK>      .hyper.js [C:\Users\user\AppData\Roaming\Hyper\.hyper.js]

Comment here


.site\www\App_Data\Dependencies' is denied.

Trying to move an orchard site to a new .net host.  I keep getting this message.  any thoughts on why I would be getting it?  the dependencies folder is not in the compiled site.  do I need to move up the un-compiled version?
Access to the path '\WDP\DFS\30\0\3\4\3023676430\user\sites\5495667.site\www\App_Data\Dependencies' is denied.

You need to configure your hosting environment to allow write access to the account running your IIS process. It's part of the documented deployment instructions.


Topsteptrader failure of dedicated ap to update

My Setup

Operating System: Windows 10
App Version: 2.17.11
Installation type:  don't remember

[ ] I have tested with the latest version
[ x] I can simulate the issue easily

Description

Current Behavior
Every time I open the app I'm prompted to update but it doesn't respond to the update after downloading. Prompt indicates I'll be prompted to update the next time I open the app
Expected Behavior

Duplicate from #1837 #1670 #1205 and so on
Click on "Skip this version" or download the newest version from here:
https://github.com/RocketChat/Rocket.Chat.Electron/releases

This issue alone makes it impossible to convince a company that Rocket.Chat is a professional software that could replace Slack or MS Teams. It's a shame. Rocket.Chat had so much potential. Had. Most of the interested companies choosed other solutions because of those stupid bugs that keep existing over years.

Closing in favor of #1670


Numeric typos are always considered with typo tolerance

Describe the bug
When you have typo tolerance enabled with a oneTypo setting (in our case of 4), numeric typos are always considered.
This means a search for example for:
"2001"
Gets results such as:
"2001: A Space Odyssey"
"2001: A Space Travesty"
"Dracula 2000"
"Fantasia 2000"
To Reproduce
Steps to reproduce the behaviour:

Use an index with data that has years in the (searchable) title.
Set the oneTypo setting to 4 (or less)
Search for a year

Expected behavior
Algolia has a setting to disable this behaviour allowTyposOnNumericTokens which is default true but which we would set to false.
This allows us to search for:
"2001"
And get results such as:
"2001: A Space Odyssey"
"2001: A Space Travesty"
But not irrelevant results such as:
"Dracula 2000"
"Fantasia 2000"
Meilisearch version:
v1.2.0

Hi @JamesToothill , thanks for opening up an issue! This is actually more of a feature request than a bug, so I'm transferring it to our Product repo for better tracking.

Closing in favor of https://github.com/meilisearch/product/discussions/688


handle error and exception on write

- What I did
handle error on socket write
- How I did it
replace close with destroy. introduced StateError and SocketException check
- How to verify it
#TODO
- Description for the changelog
#TODO

The changes are no longer valid. Closing the PR


EventSource's response has a MIME type ("application/json") that is not "text/event-stream". Aborting the connection.

安装nuxt之后npm run dev, chrome控制台报错：EventSource's response has a MIME type ("application/json") that is not "text/event-stream". Aborting the connection.

This question is available on Nuxt community (#c8919)

@danielroe
Any update on this please

@Wang-Yang
Did u able to solve it?


Editor crashes when playing a sound from a SampleLibrary

Operating system or device - Godot version:
2.0.3 on Linux 64
Issue description (what happened, and what was expected):
Clicking the following play button in a SampleLibrary crashes the Editor:

(but playing by setting the play property of a SamplePlayer works)
Steps to reproduce:
Take a SamplePlayer2D for example, create a new SampleLibrary, import sounds and try to play a sound in the SampleLibrary panel.

I can't reproduce it here with 2.0.3 from the official website nor a self-compiled git version. Could you provide a zipped project that reproduces the bug? It might be related to the sound files you use.

Also: did you build it yourself, or use the official binaries? And what system are you on precisely? Arch users have been having crashes recently due to building with GCC 6.

Official binaries, Ubuntu GNOME 16.04 64-bit, WAV 16-bit (exported from Audacity)
Timo Schwarzer https://timoschwarzer.com On Thu, May 19, 2016 at 8:39 AM, Rémi Verschelde <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
Also: did you build it yourself, or use the official binaries? And what system are you on precisely? Arch users have been having crashes recently due to building with GCC 6.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub [https://github.com/godotengine/godot/issues/4703#issuecomment-220240078]

I can confirm crash on official build on Arch Linux. Crashes in dynamic_cast:
Thread 1 "Godot_v2.0.3_st" received signal SIGSEGV, Segmentation fault.
0x000000000149dfc6 in __dynamic_cast ()
(gdb) bt
#0  0x000000000149dfc6 in __dynamic_cast ()
#1  0x00000000008fada6 in SampleLibraryEditor::_button_pressed(Object*, int, int) ()
#2  0x00000000006e3956 in MethodBind3<Object*, int, int>::call(Object*, Variant const**, int, Variant::CallError&) ()
#3  0x000000000129d9be in Object::call(StringName const&, Variant const**, int, Variant::CallError&) ()
#4  0x00000000012a4694 in Object::emit_signal(StringName const&, Variant const**, int) ()
#5  0x00000000012a4d10 in Object::emit_signal(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) ()
#6  0x0000000000c1ef59 in Tree::_input_event(InputEvent) ()
#7  0x0000000000855806 in MethodBind1<InputEvent>::call(Object*, Variant const**, int, Variant::CallError&) ()
#8  0x000000000129f6ba in Object::call_multilevel(StringName const&, Variant const**, int) ()
#9  0x000000000129d1a1 in Object::call_multilevel(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) ()
#10 0x0000000000b1176b in Viewport::_gui_call_input(Control*, InputEvent const&) ()
#11 0x0000000000b1ab9f in Viewport::_gui_input_event(InputEvent) ()
#12 0x0000000000b1bbc3 in Viewport::input(InputEvent const&) ()
#13 0x0000000000b1bd2d in Viewport::_vp_input(InputEvent const&) ()
#14 0x00000000006ccf2b in MethodBind1<InputEvent const&>::call(Object*, Variant const**, int, Variant::CallError&) ()
#15 0x000000000129d9be in Object::call(StringName const&, Variant const**, int, Variant::CallError&) ()
#16 0x000000000129d141 in Object::call(StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) ()
#17 0x0000000000b51c12 in SceneTree::call_group(unsigned int, StringName const&, StringName const&, Variant const&, Variant const&, Variant const&, Variant const&, Variant const&) ()
#18 0x0000000000b532c0 in SceneTree::input_event(InputEvent const&) ()
#19 0x0000000000419a68 in InputDefault::parse_input_event(InputEvent const&) ()
#20 0x0000000000413403 in OS_X11::process_xevents() ()
#21 0x0000000000413b60 in OS_X11::run() ()
#22 0x000000000040ffc9 in main ()

Crashes also on Clang 3.8.0 and libc++. Uninitialized variable last_sample_playing variable which has invalid address causes the crash.

I get this same crash with the steam version.

@zaps166 Could you provide a fix? I was the one to add this code based on another PR, but I think you under such C++ issues much better than I do :D

Ok, I'll push the patch soon!

PR to 2.0 branch.
Btw. When Godot is going to switch to C++11?

PR to 2.0 branch.

Oh thanks for the notice, I'll cherry-pick it for master then.

Btw. When Godot is going to switch to C++11?

When consoles are ready for it I guess (they might are nowadays, I don't know their SDKs).

When consoles are ready for it I guess (they might are nowadays, I don't know their SDKs).

Ok!


SONARMSBRU-43 Use the .sonarqube folder in CWD in the bootstrapper

The previous PR regarding SONARMSBRU-43 actually only changed the .targets files and the Build vNext powershell script to look for a .sonarqube folder in the current working directory, if executed outside of TFS.
This one applies the same strategy, but to the Bootstrapper and the TFS Integration.
Note that, the TFS Integration now no longer duplicated the logic to find the location of the .sonarqube folder: It expects it its own current working directory.
The bootstrapper, which knows how to compute the .sonarqube path, launches both the pre&post processors with their current working directory set to it appropriately.

@bgavrilMS Feel free to review this one :)

LGTM


refactor: upgrade @lukso/lsp-smart-contracts to v0.14.0

What kind of change does this PR introduce (bug fix, feature, docs update, ...)?
Package dependency upgrade

[x] Upgrade dependency for lsp-smart-contracts to v0.14.0
[x] awaiting for a release: upgrade @erc725/erc725.js to new version v0.22.0.
[x] ⚠ BREAKING CHANGE: add new parameter tokenType on deployment of Digital Assets LSP7/8, related to the new LSP4 deployment parameter.
[x] ⚠ BREAKING CHANGE: rename LSP8 deployment parameter tokenIdType to tokenIdFormat

@CallumGrindle @richtera @Hugoo
We need a new version of erc725.js to be able to merge this PR.
So that it also encode the LSP3 / LSP4 metadata of Universal Profile / Digital Assets as a VerifiedURL. See these occurences in the code:
https://github.com/lukso-network/tools-lsp-factory/blob/f8e0c403f819e232f40fc6ac894f9a66dff27626/src/lib/services/digital-asset.service.ts#L435-L436
https://github.com/lukso-network/tools-lsp-factory/blob/f8e0c403f819e232f40fc6ac894f9a66dff27626/src/lib/services/universal-profile.service.ts#L345

Thanks for clear PR description

@Hugoo this is ready for review