TinyUSB MSC FAT format fails, flooding log with errors (IDFGH-13691)

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.3.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.
None
Development Kit.
Waveshare ESP32 S3 Nano
Power Supply used.
USB
What is the expected behavior?
The format/mount procedure should write the sector information in 512 chunks rather than failing or the procedure should fail gracefully.
What is the actual behavior?
Application fails here: https://github.com/espressif/esp-usb/blob/d32baca40a25966f274d190a71f508d33b799a71/device/esp_tinyusb/tusb_msc_storage.c#L199
With the following logs repeated until the device is rebooted:
...
E (25811) tinyusb_msc_storage: msc_storage_write_sector failed: 0x102
E (25821) tinyusb_msc_storage: Invalid Argument lba(0) offset(0) size(512) sector_size(4096)
...

Steps to reproduce.
Using the MSC demo with SPI flash: https://github.com/espressif/esp-idf/tree/master/examples/peripherals/usb/device/tusb_msc
const tinyusb_msc_spiflash_config_t config_spi = {
    .wl_handle = wl_handle,
    .mount_config = {
        .format_if_mount_failed = true,
        .max_files = 5,
        .allocation_unit_size = 0, //CONFIG_WL_SECTOR_SIZE,
        .disk_status_check_enable = false,
        .use_one_fat = false,
    },
};

With partition table (16MB flash in QIO mode @ 80Mhz):
# Name,   Type, SubType,    Offset, Size,   Flags
nvs,      data, nvs,        0x9000, 0x6000,
otadata,  data, ota,        0xF000, 0x2000,
phy_init, data, phy,       0x11000, 0x1000,
app0,      app, ota_0,     0x20000, 2M,
app1,      app, ota_1,            , 2M,
storage,  data, fat,              , 10M,

sdkconfig (using default values):
CONFIG_FATFS_SECTOR_4096=y
CONFIG_WL_SECTOR_SIZE=4096
CONFIG_TINYUSB_MSC_BUFSIZE=512

Debug Logs.
I (353) esp_psram: Found 8MB PSRAM device
I (357) esp_psram: Speed: 80MHz
I (361) cpu_start: Multicore app
I (817) esp_psram: SPI SRAM memory test OK
I (826) cpu_start: Pro cpu start user code
I (826) cpu_start: cpu freq: 240000000 Hz
I (826) app_init: Application information:
I (829) app_init: Project name:     TESTMSC
I (834) app_init: App version:      1
I (839) app_init: Compile time:     Sep 12 2024 20:00:00
I (845) app_init: ELF file SHA256:  xxxxxxxxx...
I (850) app_init: ESP-IDF:          5.3.0
I (855) efuse_init: Min chip rev:     v0.0
I (859) efuse_init: Max chip rev:     v0.99
I (864) efuse_init: Chip rev:         v0.2
I (869) heap_init: Initializing. RAM available for dynamic allocation:
I (876) heap_init: At 3FC97BA0 len 00051B70 (326 KiB): RAM
I (883) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (889) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (895) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (901) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (909) spi_flash: detected chip: winbond
I (913) spi_flash: flash io: qio
I (917) sleep: Configure to isolate all GPIO pins in sleep state
I (924) sleep: Enable automatic switching of GPIO sleep configuration
I (931) main_task: Started on CPU0
I (951) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (951) main_task: Calling app_main()
I (951) main: Initializing wear levelling
I (3041) main: Mount storage...
W (3041) tinyusb_msc_storage: f_mount failed (13)
W (3041) tinyusb_msc_storage: formatting card, allocation unit size=4096
I (3811) main: Storage mounted to application: Yes
I (3811) main:
ls command output:
I (3821) main: USB MSC initialization
I (3821) tusb_desc:
┌─────────────────────────────────┐
│  USB Device Descriptor Summary  │
├───────────────────┬─────────────┤
│bDeviceClass       │ 8           │
├───────────────────┼─────────────┤
│bDeviceSubClass    │ 2           │
├───────────────────┼─────────────┤
│bDeviceProtocol    │ 1           │
├───────────────────┼─────────────┤
│bMaxPacketSize0    │ 64          │
├───────────────────┼─────────────┤
│idVendor           │ 0x303a      │
├───────────────────┼─────────────┤
│idProduct          │ 0x4002      │
├───────────────────┼─────────────┤
│bcdDevice          │ 0x100       │
├───────────────────┼─────────────┤
│iManufacturer      │ 0x1         │
├───────────────────┼─────────────┤
│iProduct           │ 0x2         │
├───────────────────┼─────────────┤
│iSerialNumber      │ 0x3         │
├───────────────────┼─────────────┤
│bNumConfigurations │ 0x1         │
└───────────────────┴─────────────┘
I (3991) TinyUSB: TinyUSB Driver installed
I (3991) main: USB MSC initialization DONE
I (3991) main_task: Returned from app_main()
I (4341) main: Storage mounted to application: No
E (4611) tinyusb_msc_storage: Invalid Argument lba(65) offset(0) size(512) sector_size(4096)
E (4611) tinyusb_msc_storage: msc_storage_write_sector failed: 0x102
E (4611) tinyusb_msc_storage: Invalid Argument lba(65) offset(0) size(512) sector_size(4096)
E (4621) tinyusb_msc_storage: msc_storage_write_sector failed: 0x102
E (4631) tinyusb_msc_storage: Invalid Argument lba(65) offset(0) size(512) sector_size(4096)
E (4641) tinyusb_msc_storage: msc_storage_write_sector failed: 0x102
...

More Information.
This bug can be fixed by setting CONFIG_TINYUSB_MSC_BUFSIZE=4096 (because size % sector_size == 0).. but if the user formats the storage device using a larger sector size then it will still fail and I have no control over users formatting the drive.
It seems that the default sdkconfig is not compatible with the MSC demo and it is not clear how to fix the problem (I can't find any documentation about this restriction).
Even if this is expected behaviour, I am not sure why this doesn't fail gracefully? Instead it floods the log with the error seen above.

The wear levelling docs state that the default WL sector size is 512 but also says that it is 4096 when used with FATFS?

The wear levelling component, together with the FAT FS component, uses FAT FS sectors of 4096 bytes, which is a standard size for flash memory

My project made CONFIG_FATFS_SECTOR_4096=y and CONFIG_WL_SECTOR_SIZE_4096=y by default which conflicts with what I see in the demo: https://github.com/espressif/esp-idf/blob/59e18382702b6986be3d3f55e9ac7763c1397cf7/examples/peripherals/usb/device/tusb_msc/sdkconfig.defaults#L10

Hi @olicooper,
Thanks for the information.
I can see that the fs was mounted with error (based on the attached log). The USB MSC class provides only a transport layer here to read and write data from the storage. So, if the storage wasn't mounted then any read/write operation will end up with an error.
Have you tried to run the wear-leveling example itself?
Does it have the same problem on desired settings?

Currently experiencing same issue, ran the tinyusb msc example on the esp32 s3 devkit and got flooded with same errors. Any new info on the issue, or way to resolve it?

Hello everyone, I'm sorry for the delay, we will try to investigate by end of November


Broader interfaces to Config::ComponentDirs and Config::Namespaces

This PR broadens the interfaces of both the Dry::System::Config::ComponentDirs and Dry::System::Config::Namespaces collection classes to make them more useful to external consumers looking to programatically construct and inspect these configurations. Specifically, it supports the addition of source_dirs config to Hanami in https://github.com/hanami/hanami/pull/1133.
The updated API for Config::ComponentDirs includes:

#dir (also aliased as #[]) has been added, for retrieving previously added dirs by their paths
#add now accepts a single path_or_dir argument, supporting two distinct usages:

The existing usage, of providing a path string and then a block that is yielded a component dir object for that path, to be configured
A new usage, where a whole component dir object is already built and passed directly to #add

#delete has been added, for deleting a previously added dir by its path
#length has been added
#dirs has been made protected, since it is the internal store for the dirs and may not always return dirs with the latest default values applied to them (#to_a and #each remain public and are preferred for this)

The updated API for Config::Namespaces includes:

#namespace (also aliased as #[]) has been added, for retrieving previously added namespaces by their paths
#root has been repurposed to returning a previously added root namespace (the previous usage is deprecated, but still supported for now)
#add_root has been added, to take the place of the previous #root method, for adding a configured root namespace. This makes its purpose clearer and fits better alongside #add.
#delete has been added, for deleting a previously added namespace by its path
#delete_root has also been added, for deleting a previously added root namespace
#paths has been added, returning an array of paths for the namespaces
#length has been added

Along with this, API documentation has been lightly updated to make it clearer that these two collection config classes (along with their counterpart singular Config::ComponentDir and Config::Namespace classes) are public API.
I intend to make a new minor release of dry-system after this has merged, to allow the upcoming Hanami alpha to depend on it.
I'll also be squashing the commits in this PR when merging.

Just glanced over the well-written description 👍, only one question, why size/length at all? I mean if you need to check for emptiness it should be empty?, otherwise, how does it help if .length returns 4 or 5 for instance?


Generate models and APIs using AWS Cloud Control?

I was curious if any thought had been given to generating models and APIs for moto using the AWS Cloud Control API? The idea came from the new terraform awscc provider, which is based on code generation from this new service... I realize that is Golang, but surely there must be some equivalent in Python?

https://aws.amazon.com/blogs/aws/announcing-aws-cloud-control-api/
https://github.com/hashicorp/terraform-provider-awscc
https://learn.hashicorp.com/tutorials/terraform/aws-cloud-control
https://www.hashicorp.com/blog/announcing-terraform-aws-cloud-control-provider-tech-preview

Hey @lorengordon! I read the AWS accouncement, but didn't know that Terraform already has a module utilizing this API. From what I can tell, TF uses it to auto-generate CloudFormation templates, is that correct?
Moto needs to know the following in order to mock everything:

The input-format used in boto3 (i.e., which parameters are used in the boto3-client call)
The format of the HTTP-request send by boto3
The format and type of the HTTP-response expected by boto3
The internal logic of what to do with the input

At the moment, we're using a homegrown scaffolding script that deals with the first three, by parsing the botocore service-data. It's not perfect, and it doesn't reliably work for every service/feature, but I'm not sure how Cloud Control API could help us in this process.

My understanding is no, there are no CloudFormation templates or stacks involved! It is pure hcl + terraform lifecycle on the user side. I'm not yet sure whether terraform is interacting directly with per-service endpoints, or with an awscc endpoint. But basically the awscc provider retrieves the service model and then generates golang for every service and resource supported by AWS Cloud Control. For the user, it's all just hcl + terraform, with no CloudFormation anywhere.
The FAQ might help: https://github.com/hashicorp/terraform-provider-awscc/blob/main/contributing/FAQ.md

Looks like the service model can be retrieved using describe-type:
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/cloudformation/describe-type.html
It does seem like the service model is very CF-centric. So the exposed model can easily be transformed into HCL, but that does not necessarily correlate to the AWS HTTP request/response format that Moto needs.


Move the skywater-pdk Python library into this repository and make it compatible with all the google open source PDKs

The SkyWater PDK has a Python library at https://github.com/google/skywater-pdk/tree/main/scripts/python-skywater-pdk and the documentation can be found at https://skywater-pdk.readthedocs.io/en/main/python-api/skywater_pdk.html#submodules
The library lets you do things like decode file names into human readable descriptions.
Pretty much everything in the library should work with everything that follows our naming scheme found at https://docs.google.com/document/d/1rDN5jw8sh0aTwf1jScn0nP2zy4FWLxC-82M8TL3Lbr4/edit#

Currently reserved the following on PyPi;

https://pypi.org/project/open-source-pdks/
https://pypi.org/project/gf180mcu-pdk/
https://pypi.org/project/sky130-pdk/


style(guide): Update dv-hdr10plus.json to have consistent naming

Pull Request
Purpose
The "HDR10+" and "HDR10+ Boost" both use the symbol "+" instead of the word "Plus" in the naming. I simply updated this file to be consistent.

Requirements

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

Maybe this too...
https://github.com/TRaSH-Guides/Guides/blob/master/docs/Sonarr/sonarr-collection-of-custom-formats.md?plain=1#L35

Plus is used in the guide as Title. + was always found in the arrs. I did not intend to correct the syntax in the guides, but the 2nd link you posted is in fact the json definition where I think the correction belongs.
It could be updated in the guide too, but that's another decision.

the arrs use Plus tho

ahh you mean this in the guide, yeah good point

This is what I meant with the arrs


Unity3D: build or package games fpr NixOS

Hello!
I'm trying to run a game on NixOS built with Unity3D on Windows and I can't because it assumes FHS-compliant paths to linter and dynamic libraries. And the same is still the true when I build the game using Unity3D installed on NixOS.
I found some information about patchelf and buildFHSUserEnv but I have not enough experience to find out what exactly I should do. My experiments with patchelf and ldd have been failed :cry:
Maybe we can add some helper to nixpkgs or provide some information in documentation about this topic?
Thank you in advance!
PS: I'm not sure whether it is the right place to ask but I didn't get any response on irc channel.
ping @jb55 @abbradar

One thing that could work is running it in steam-run. Failing that, some details on what you tried with patchelf and how it failed would be useful.

@lheckemann thank you for suggestion I will look into steam-run.
If I'm trying to run executable without any modifications I get The file 'c1.x86_64' doesn't exist or could not be executed. if I understood correctly this misleading error means means that it can't find the specified linker /lib64/ld-linux-x86-64.so.2 because the file itself obviously exists.
I found that for Unity3D itself linker is changed to gcc-wrapper/nix-support/dynamic-linker, so I found it in my /nix/store and set it with patchelf --set-interpreter.
After that I get the error:
Failed to execute process './c1.x86_64'. Reason:
exec: Permission denied

Also I've run find . -name '*.so' | xargs ldd and found that linker can't find some dynamic libraries. If I remember correctly I didn't fix all of them using LD_LIBRARY_PATH or explicit installation of respective packages to put these libraries into /nix/store/*user-environment/lib. Maybe I should try to make all dynamic libraries used in '*.so' files and it should fix the problem?
By the way ldd on executable itself also give me Permission denied error just like if I try to execute it. (sudo doesn't help).

It's not set to gcc-wrapper/nix-support/dynamic-linker, it's set to the contents of that file. Try doing that instead, assuming steam-run on the unmodified binary doesn't work.

Oh, I definitely should learn more about nix language. Thank you very much @lheckemann ! After setting interpreter correctly I'm getting more obvious error:
./c1.x86_64: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

I will try to resolve all libraries and write here what I'll get.

@Hinidu steam-run should handle that problem -- try it! Install steam-run and run it as steam-run ./foo.


assert "id" in df.columns and "sequence" in df.columns AssertionError

Thank you very much for this useful tool!
Installation worked fine, but now  I don't seem to be able to run colabfold.
When I run:
colabfold_batch --amber --templates --num-recycle 3 /Users/jihadsnobre1/Applications/input_files/seq.csv /Users/jihadsnobre1/Applications/output_files/
I get this error:
Traceback (most recent call last):   File "/Users/jihadsnobre1/Applications/colabfold_batch/colabfold-conda/bin/colabfold_batch", line 8, in <module>     sys.exit(main())   File "/Users/jihadsnobre1/Applications/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/colabfold/batch.py", line 1288, in main     queries, is_complex = get_queries(args.input, args.sort_queries_by)   File "/Users/jihadsnobre1/Applications/colabfold_batch/colabfold-conda/lib/python3.7/site-packages/colabfold/batch.py", line 385, in get_queries     assert "id" in df.columns and "sequence" in df.columns AssertionError
Any idea of how to fix this? I wrote ta single protein sequence in a csv file and used that as input.

You're csv file needs an id column and a sequence column, one of which is missing

That was indeed the issue. Fixed it, many thanks!


Puppy tries to delete all files in directory

When using an existing directory for log files, Puppy will try to delete all files in the directory when rotating logs, not just the Puppy logs.
To solve this I put my logs into a specific directory.  This is fine, but generally people may want to put logs into a generic 'log' directory.
But .... puppy is great.  File rotation logging is why I use it.
Thanks.

@keniwhat
Thanks for your feedback.
Yes, it's correct. I'll consider a better solution in the future.
Thanks.

Hi, all!
This issue fixed by #32.
At the same time, I added options of suffix extension types in FileRotationLogger.
See #32 and README for details.
Thanks.

I have released<EMAIL_ADDRESS>that fixes this issue.
Check release note and README because some specifications of FileLogger and FileRotationLogger have been changed.
Thanks.

I'm going to close this issue as I haven't heard from you in a while unfortunately.
This issue has already been fixed.
Try to use the latest version Puppy 0.5.0. And Windows is now supported.
Thanks.


Just A PRAISE!!!!!!!!!!!

THIS WAS ON MY TODO LIST FOR 4 WEEKS!!!
THANK YOU!!!!!!!
👍

Smile, relax and close.

You're not alone!!! 😅


include timezone setting in syslog trace files

print out the timezone settings for system log util

done fmadio/fmadio20@2d3b066


Doesn`t scrobble on huawei p8 lite

The app doesn`t scrobble on my phone is there a way to fix this?

Does your device have any special battery settings? Many Huawei users are reporting similar problems.

I think so i`m not sure though

Duplicate #225

Duplicate #225


Compartmentalized Strawman code and added initial styling.

Enyo-DCO-1.1-Signed-off-by: Blake Stephens<EMAIL_ADDRESS>

AMAZING WORK.


can't exit fullscreen

botton minimize error

Same here

i am facing same problem please help me how to fix the issues

#metoo,

i also have same problem

Can you report with some logs folks ?

I am using below as workaround
youtube_player_flutter 4.0.0+2
Please consider me out of this for now.


[BUG] Face dedection not working on FireHD8 2020

Face dedection not working on FireHD8 2020
With activated face detection and test, the following error message shows up: "Missing appropriate libraries to process Face detection or Barcode reading. These features may not work on this device"

Device: FireHD8 with Google Play Services  and playstore installed
Applicaiton version 0.9.5b9 installed from google playstore

same error on the hd 7.
And yes, I have GAPPs installed.

I am getting the same error message on my Fire HD 10 (gen 11).
This repository post in this obsolete repository already explains possible root causes: https://github.com/WallPanel-Project/wallpanel-android/issues/69.
Updating Google Play Services did not help.

Did anyone find a solution for this?


Any plans for Flutter Web?

First of all thank you for this package.
The package has been well-received by developers and has made the integration of ccavenue payment gateway much easier and efficient. Your dedication and hard work have paid off, and it is a great example of the power of open-source software.
However i and other developer struggling to implement same in Flutter Web. Are there any plans for Flutter Web?

@saurabhsharma2u Definitely we can start enabling the web support. Would you like to join us?

@avinash-gotluru
I am excited to hear about the plans to enable web support for the ccavenue flutter package. Your dedication to continuously improving and expanding the package is truly inspiring.
I would be honored to join the effort and contribute my skills to the project. I have experience in developing for web platforms and I am confident that I can bring value to the team.
Please let me know what steps I need to take to get started. I am eager to begin working with you and the rest of the team to bring the ccavenue flutter package to web platforms.

@saurabhsharma2u  do we have the ccavenue partner account with you?

Yes i have ccavenue partner account for my e-commerce project.

@saurabhsharma2u Can you please let me know your email?

@saurabhsharma2u  we are waiting for your response. incase if you want to reach us drop a mail to<EMAIL_ADDRESS>

Does you package has support for iOS ?

@NikeshNayak  we don't have the latest sdk on ccAvenue. if you help them we can work together.


Private gitlab Hunter_cache server

I'd like to create a hunter_cache server just for me and my gitlab-ci builders. Currently only the official hunter github server is supported as hunter cache. Where would I need to begin to add any gitlab repo as server?

There is Python script for uploading:

https://github.com/ruslo/hunter/blob/master/maintenance/upload-cache-to-github.py

CMake modules for downloading:

https://github.com/ruslo/hunter/blob/master/cmake/modules/hunter_download_cache_meta_file.cmake
https://github.com/ruslo/hunter/blob/master/cmake/modules/hunter_download_cache_raw_file.cmake

gitlab repo as server?

I don't know the capabilities of Gitlab. The best way is to have the ability to upload plain structure of the cache directory. Like:
https://example.com/hunter-cache/raw/XXX.tar.bz2
https://example.com/hunter-cache/meta/XXX/XXX/XXX/cache.sha1
https://example.com/hunter-cache/meta/XXX/XXX/XXX/cache.DONE

just to mirror original layout.

I think you could also use a Nexus repository manager (raw) repository for this.
http://stackoverflow.com/questions/37543120/how-to-manually-deploy-artifacts-in-nexus-repository-manager-oss-3/37547202#37547202

I think you could also use a Nexus repository manager (raw) repository for this.

Need to clarify the question. @NeroBurner Do we need to use Gitlab as a service for storing cache binaries or we need anything that can work with Gitlab. In the latter case it can be just Nginx with root directory pointing to cache directory (see the structure above).

I didn't consideranything else than gitlab server, but I will try to use Nginx

Example of using private non-GitHub binary server:

https://docs.hunter.sh/en/latest/user-guides/hunter-user/nexus-cache-server.html


[Removal]: Sleepy Sangria Turtle

Hotspot Name
Sleepy Sangria Turtle
Hotspot b58 Address
11ZkkBDjcAsqgr6Aednv1aaiUuKAZfCBcY3PTCWemiXe1QYxY86
Discord Handle
No response
Hotspot Manufacturer
panther
Removal Reason
I bought the hotspot 10 days ago from someone who got his devices banned yesterday (was probably a spoofer even though he says that is not true and he got incorrectly added). My setup is completely legitimate.
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
No response

Prove it

i just realized cowboy1144, rabies555, shutup1231, and vpn1314 are indirectly and directly related to the same wallets 14cFuwuwmawgRy8NeteiWLkawrPoomRtjteRLqoBgaubXurnqWP and 13181UjYjUZ4HfLBRHveQorcpGwz1121HyxTf3tJgD4Bg6dXoT8.
gonna be really interesting for helium to look into it.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


JVM/Postgres doesn't create tables?!

SQLDelight Version
2.0.2
SQLDelight Dialect
dialect("app.cash.sqldelight:postgresql-dialect:42.7.3")
Describe the Bug
I followed this -
https://cashapp.github.io/sqldelight/2.0.2/jvm_postgresql/
in a Ktor service, with Postgres 16. The problem is that it seems that the schema/tables aren't created.
My SQL file looks like this:
CREATE TABLE Cities2 (
  ID SERIAL PRIMARY KEY,
  NAME VARCHAR(255),
  POPULATION INT
);

selectAll:
SELECT *
FROM Cities2;

insertCity2:
INSERT INTO Cities2(ID, NAME, POPULATION)
VALUES(?, ?, ?);

And then I do:
  val sqlDriver = get<SqlDriver>()
  Database.Schema.create(sqlDriver)
  Database.Schema.migrate(
    sqlDriver,
    0,
    Database.Schema.version
  )

  val database = Database(sqlDriver)
  database.databaseQueries.selectAll()

  database.databaseQueries.insertCity2(1, "CITY_BLAH", 123)

It's a bunch of stuff, I threw everything together, since the documentation isn't clear when exactly schema creation would happen -- but this fails on the last line with "ERROR: relation "cities2" does not exist" and as I see in Cloud SQL Studio, the table Cities2 isn't there indeed.
I just don't understand what I'm missing. There is too much "magic" going on, and the docs are vague about the DB lifecycle, jumping from Fresh schema to Migrations, but never really explaining how everything should be set up in the most common situation.
Please explain what's happening.
Stacktrace
No response

👋🏾 Hey, I don’t think this is an actual SQLDelight issue, just a lack of documentation. From my understanding, SQLDelight generates type-safe code for database interactions but doesn’t handle the actual database connection or schema creation. For connecting to the database, you’ll need a JDBC driver like HikariCP for Postgres. To manage migrations or initial database setup, you can either:
1. Manually execute the CREATE TABLE statements: Use the driver to run your SQL statements during deployment.
2. Use a tool like Flyway: Automate migrations via Gradle or CLI.
In my case, I used Flyway with Gradle for migrations. Here’s what I did:

Apply the Flyway plugin:

// backend/build.gradle.kts
plugins {
    id("org.flywaydb.flyway") version "10.21.0"
}

Configure Flyway:

// backend/build.gradle.kts
flyway {
    url = "jdbc:postgresql://localhost:5432/YOUR_DATABASE_NAME"
    user = "YOUR_USERNAME"
    password = "YOUR_PASSWORD"
    locations = arrayOf("filesystem:${layout.buildDirectory}/generated/migrations")
    baselineOnMigrate = true
    baselineVersion = "0"
    cleanDisabled = false
}

Set SQLDelight to output migration files:

// backend/build.gradle.kts
sqldelight {
    databases {
        create("_YOUR_DATABASE_NAME_") {
            packageName.set("com.example.backend")
            dialect("app.cash.sqldelight:postgresql-dialect:2.0.2")
            deriveSchemaFromMigrations.set(true)
            verifyMigrations.set(true)
            migrationOutputDirectory = file("${layout.buildDirectory}/generated/migrations") // THIS IS THE IMPORTANT LINE
            migrationOutputFileFormat = ".sql"
        }
    }
}

Run Flyway tasks:

./gradlew :MY_BACKEND_MODULE:flywayClean
./gradlew :MY_BACKEND_MODULE:flywayBaseline
./gradlew :MY_BACKEND_MODULE:flywayMigrate

This setup assumes your database is already running. If you prefer, Flyway also offers a Java API for programmatic migrations. I hope this helps! 👍🏾
Here are some resources that might help:

Sample working project
Flyway Java API


Feature/issue 1081 zombie manual 2.6

[skip ci]
Summary:
Stan language manual for 2.6.  This branch was inadvertently executed in parallel to the real 1081 branch.  Both need to be merged.
Intended Effect:
Update for 2.6.
How to Verify:
Build it.  got rid of the rest of the LaTeX warnings.
Side Effects:
none.
Documentation:
yes.
Reviewer Suggestions:
anyone.

Looks good. I've verified that the two manual branches build. I'll get them merged.


Improve contrast of our Design

Currently our design has very low contrast between elements. Here is a screenshot from https://www.figma.com/file/3WX8yUqa8ECmhLwV6NIF3a/Rerun-Design-System?type=design&node-id=1252%3A15687&mode=design&t=Xc27rEOvAdS7F0XZ-1

This looks great if you

have a good screen
have good eyes
are in a dark room

However, if you are using a bad screen in a light room, the contrast between these elements is way too low.
We either need to make the contrast higher, or add border strokes or similar.
Our current solution is to not follow the design guidelines.
This problem is exacerbated by not having a light mode you can switch to when you're in a brightly lit room (https://github.com/rerun-io/rerun/issues/3058)

Related to

#1839

TBH, the screenshot above still has better contrast than our actual app:

not the bit where the context menu overlaps the background:
Actual:

Figma:


@auth/core Dependency update

Describe the feature
Is there any reason why "@auth/core" is still "^0.17.0"?
Is this module still in development?
Additional information

[ ] Would you be willing to help implement this feature?

Hi
I am just using this package, however 0.17 is the last version that is working for me.
Just started new project and was troubleshooting issues with auth/session errors.
Downgraded @auth/core to 0.17 and everything seems to be working fine

This would be good if we could use the latest as there are fixes for providers out now

https://github.com/nuxt/nuxt/issues/13488#issue-1549563113
I'm also having this error on @auth/core 0.17.0

I also have to question this. I bumped version to 0.34.1 and I'm currently having a bit more success in the options I've needed to make the project work for my needs. (Ex. setting basePath in AuthOptions)

This would be good if we could use the latest as there are fixes for providers out now

Have to agree. Would be great if this can get bumped to he most recent version. As it stands using some current adapters (Ex: Supabase adapter requires the most recent version) and other options are not possible


how to compile the game?

Describe your problem here.
lime test windows isn't working or im just dumb? idk how to do it
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, i edited MainMenuState.hx

you'll need git
haxe and polymod

polymod isn't needed

btw this has instructions https://github.com/MemeHoovy/FNF-PsychEngine-Extra-1

your a lifesaver MemeHoovy thank you for helping me out! :)

np


stabilize and improve android github actions

I did the following changes:

increase RAM and disk size (from original 1.5GB to: 4GB ram -> x86, 8GB ram -> x86_46, disk: 12GB)
use own pre-defined mirror list for termux package manager to be able to disable brocken mirrors
install (install sshd and a public key from runner) and use ssh connection to termux for less error prone scripting on android with more reliable progress and error reporting
periodically print disk- and ram-usage during test execution to see if we run into ressource issues
limit available memory for test execution to 3GB (ulimit) to avoid that the OS kills the sshd server process
when using "adb shell input text" split the transmition into chunks to support longer commands.
take and upload screenshots during startup and installation to see reason for failures during that process
set number of cores to 4 for better performance
switched from mac-os based runner to linux as this speeds up emulator start, build and test execution
add timestamp to command output from ssh to detect and compare delays in execution
updated reactivecircus/android-emulator-runner to latest verision: @v2.30.1
close potential startup dialog "System UI isn't responding" with "wait"

All the testing took quite some time. I did't spend more time for splitting this change into smaller peaces. Hope this is fine.
Both android builds are currently red due to failing tests. For two of them I have fixes, but I will create new PR for those.

@cakebaker sorry, I didn't know that you are also working on it

Cool! I'm not an expert on this, but it looks good and if it improves the Android CI, I'm all for it.

Cool! I'm not an expert on this, but it looks good and if it improves the Android CI, I'm all for it.

Thanks.
Do you know who we need to ask for giving this pull request a bit priority?
I think it would be important to have fully green CI builds soon.

LGTM. I just would like @cakebaker to review it too as he worked on this recently too.

Do you know who we need to ask for giving this pull request a bit priority?

Sylvestre, cakebaker and me and we're all involved already so this has priority! :)

Great job, thanks :)


Readme edits.

Coverage remained the same at 100.0% when pulling 4b67d60b2927ae803e6f14c8c1af6a5faa474e84 on readme-updates into ca4de12dcc1546b0f0e9470e724ce65f16c01a1a on master.

Codecov Report

Merging #64 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #64   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          120       120
  Branches        36        36
=========================================
  Hits           120       120

Continue to review full report at Codecov.

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


453 Move setup lakefs

closes #453

we should consider adding another task to change the lakefs command rename from init to setup to have the names aligned.

#468


added more test cases from manual annotation checking

@kdobolyi, oh, I love new test cases. 🥇 But there seems to be a conflict. Can you please resolve it before I do a review.

💯 - Nice work, @kdobolyi.


Clarify README

@ScrapCodes - good start, but here are some questions/issues I have regarding the README.
Abstract

Replace title with a description of this journey. Something like "Clickstream Analysis using Apache Spark and Kafka".
Combine "In this journey" paragraphs into one. I think you should start with the second one.
Can you elaborate on the "Few Business ..." bullets? Not sure what what they mean or how they are related or solved by this journey.

Setup instructions

The first paragraph is confusing, specifically the part concerning the external publisher. Is the user required to do something here? What is the downloaded data used for?

@rhagarty Thanks for the kind review. Please take a look at the updates.

@ScrapCodes - very nice update. In the future, please submit changes using pull requests. It makes it easier to review and track changes.

@rhagarty, Thanks that makes sense.


Add Elasticsearch 7 support to paying_for_college search behind a flag

Places ES7 paying_for_college search functionality behind a flag

Additions

Modified paying_for_college search code to work with ES7 behind a flag
Created test_search.py with SchoolSearchTest class

Updates

Moved test_school_search from test_views.py into test_search.py

How to test this PR

Enable ELASTICSEARCH_DSL_PFC flag
Load up ES7 index cfgov/manage.py search_index --rebuild -f --parallel
Search paying_for_college
https://cfgov-pr-6075.demo.cfpb.gov/paying-for-college2/understanding-your-financial-aid-offer/api/search-schools.json?q=Kansas

Screenshots
Notes and todos
Checklist

[x] PR has an informative and human-readable title

PR titles are used to generate the change log in releases; good ones make that easier to scan.
Consider prefixing, e.g., "Mega Menu: fix layout bug", or "Docs: Update Docker installation instructions".

[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines
[x] Future todos are captured in comments and/or tickets
[ ] Project documentation has been updated, potentially one or more of:

This repo’s docs (edit the files in the /docs folder) – for basic, close-to-the-code docs on working with this repo
CFGOV/platform wiki on GHE – for internal CFPB developer guidance
CFPB/hubcap wiki on GHE – for internal CFPB design and content guidance

This is looking good, but I think we need to make changes to exclude schools that have closed, and to fix autocomplete to enable searches by nickname and school ID.

I recommend having a test to confirm a school that has closed is excluded.
Do you know of a specific school that is closed and is in test_fixture.json?
I hope that I have fixed autocomplete to enable searches by school_id and nickname.
Please let me know if those type of searches are working and I will add new test cases.

Do you know of a specific school that is closed and is in test_fixture.json?

All the schools in test_fixture.json are operating=true, but you could add one that is closed, or add one within a test to avoid changing result counts in other tests.


tech debt - remove usage of github.com/satori/go.uuid package

Do you want to request a feature or report a bug?
feature / tech debt
What did you expect to see?
Traefik is currently utilizing the https://github.com/satori/go.uuid package to generate UUIDs which has a critical defect (tl;dr UUIDs may not be random ⚠)
Proposal

💥 remove github.com/satori/go.uuid package & it's usages
replace with https://github.com/pborman/uuid to generate UUIDs instead

If this sounds good to you, I can raise a PR 🤚

@aaslamin I made a PR on v2.0 branch, as v2 is really different than v1, you can do a PR on the branch v1.7.
You can use https://github.com/gofrs/uuid or https://github.com/google/uuid.
Don't forget to update github.com/Masterminds/sprig

Sounds good! Thank you @ldez, working on it now 🙌

Closed by #4718.


Converted inline scripts to external scripts.

WORK IN PROGRESS: DO NOT MERGE WITHOUT FURTHER DISCUSSION (HERE OR #101)
I've tried to convert the inline scripts used by widgets to external scripts without making any changes that would break any existing projects. I was a bit overzealous by removing the method that injects the action variable into the V3 widget, because that would break custom widget templates that use that variable, hence the third commit.
This does introduce one change that is potentially breaking: developers need to define a STATIC_ROOT to use static files. In my mind, (almost) every project would set this setting, but it's a breaking change nonetheless. Anyone got any insight in this?
I had to remove the test assertions related to the inline scripts, because those do not exist anymore. I think actual e2e tests should be used in the future to make sure that the implementation actually works.
I tried to replicate the approach/behavior of the original inline scripts in the new external scripts in the same way as the original inline scripts, so that you can compare the two, but there are some major differences:

I wrapped every script in an IIFE to avoid namespace pollution [1]
the execution of the scripts is delayed until after the document has been loaded
I used guards for more feedback; they also prevent breaking things when multiple reCAPTCHA fields are on one page, and/or (at least) one of those reCAPTCHA fields wasn't added by django_recaptcha
in contrast to injecting variables into the inline scripts of widget templates, the external scripts now check what the name of the callback function should be by looking at the data-callback attribute, and then adding the callback function to the global namespace with that name
similarly, the script of the V3 widget now checks what the action is by looking at the data-action attribute

One design choice that I need help with is how the static resource of each widget is defined. Which seems better?

current solution: injecting the URL into the template
normal solution: defining a Media class for the Widget (see [2])

I tested these changes against a django project that I whipped up quickly to test each widget and "they worked on my machine". If anyone has any questions, I'll gladly answer them.
[1] IIFE - MDN Web Docs Glossary
[2] Form Assets | Django documentation

Awesome work @alanverresen 👍👍
I'll check this in detail later! From a glance over, it looks great already!
Quick question: did you happen to test with a strict CSP policy?

I wouldn't consider this a breaking change. Virtually all packages depend on Django's staticfiles framework being used. I deem it very likely people will already have this set up and configured. In other words: this is unlikely to affect people.

Yes, I tend to agree.

Given we currently have no e2e test suite I would consider it out of scope to add it in this PR. Good candidate for a follow up PR/issue if you are up for it.

I've seen the new issue and will try to contribute.

Defining a media class would be breaking change I think. Form media isn't always rendered, depending on how the form is used in a template. There has also been discussion about potentially deprecating form media. All this together makes me hesititate in recommending this approach.

I wasn't aware of this, but then the Media class definitely isn't a good option. I went with the solution that you presented, which is much more in line with common practices.
I expect that developers will understand that if it's their own responsibility if they override the template.

A potential caveat to keep in mind is static file caching. Browsers/CDNs might cache the JS and when django recaptcha is updated, the old JS code might still end up being used by the client. We could consider this the problem of the developer – they haven't implemented a proper cache busting mechanism, by using something like Whitenoise for example.
We could also do something similar to what Wagtail did in an effort to combat this issue: versioned_static.
I guess it depends on how often we the JS is going to change dramatically, which I assume is going to be very rare.

I hadn't considered caching problems yet, but this is indeed a problem now that we're changing the inline scripts to external scripts. I think that introducing a solution like the one used by Wagtail would ensure that we're never going to break someone that upgrades their package.

I hadn't considered caching problems yet, but this is indeed a problem now that we're changing the inline scripts to external scripts. I think that introducing a solution like the one used by Wagtail would ensure that we're never going to break someone that upgrades their package.

I'm somewhat hesitant to adopting a custom solution like Wagtail (even though I suggested it as an approach). Yes, it ensures people never run into caching issues, which means we hopefully don't have to deal with bug reports reporting strange issues caused by caching.
But how often will we change the JS in a backwards incompatible way? Not super often I think – the JS should be pretty stable. Is this argument really enough to justify doing something custom for cache busting? I hope that most people have a cache busting mechanism set up for their static files so a custom solution on our end shouldn't be necessary.
Could use more opinions on this, calling @django-recaptcha/contributors for insights 🧠

I think the safest option is to not implement a cache busting solution for now, and to add it if it ever becomes clear in the future that we actually need it.  Are there any more aspects that need to be addressed before this pull request can be merged? There's probably room for improvement, but the main issue has been addressed.


Add docs about how to add a new feature proposal in consensus-specs and online viewer support

Add docs folder

Add  docs/docs/new-feature.md doc as the new feature guide

Add new online viewer support with mkdocs

The config is  mkdocs.yml
Since we don't want to change the specs/* path, I created a copy_docs makefile command to copy the specs files to docs/ folder. The GitHub Actions job would call make copy_docs and build the docs viewer website.
demo: https://hwwhww.github.io/consensus-specs/

Add  fork_choice/.pages and specs/.pages  files for mkdocs-awesome-pages-plugin navigation.

These files are for custom navigation orders or extra links.

Fix some wrong links
TODOs

[ ] Some links to files in tests/ folder are still wrong. The simplest solution is using absolute links here. Anothor solution is to arrange the tests docs all together.WARNING  -  Documentation file 'README.md' contains a link to 'tests/formats/README.md' which is not found in the documentation files.
WARNING  -  Documentation file 'README.md' contains a link to 'tests/generators/README.md' which is not found in the documentation files.
WARNING  -  Documentation file 'README.md' contains a link to 'tests/core/pyspec/README.md' which is not found in the documentation files.
WARNING  -  Documentation file 'specs/phase0/deposit-contract.md' contains a link to 'solidity_deposit_contract/deposit_contract.sol' which
            is not found in the documentation files.

[ ] GitHub repo links only show the formal "release" instead of "pre-release" (release candidates). To avoid confusing, we should probably remove the versions or find another plug-in.

I'm trying to use mkdocs to build the docs website. Preview website: https://hwwhww.github.io/consensus-specs/

Since we don't want to change the specs/* path, I created a copy_docs makefile command to copy the specs files to docs/ folder. The GitHub Actions job would call make copy_docs and build the docs viewer website.
The extra docs can also be stored in docs folder.
We can add a light client specs index markdown file. I hope this can help address the issue that @etan-status raised

@djrtwo @ralexstokes what do you think about the CI-built spec viewer website proposal?

spec viewer website looks cool! I don't immediately see what it buys us over the default GitHub UI but it likely doesn't hurt anything to add it

@etan-status
I think it's doable, but I may need to write a custom mkdocs plug-in/extension for navigation. Noted in #3325 for now.


Unknown column error

I've created a database using this statement:
CREATE TABLE location (
	uuid BINARY(16) NOT NULL,
	image BINARY(16),

	title VARCHAR(255) NOT NULL,

	created TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
	updated TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,

	PRIMARY KEY (uuid)
);

Then I connect to the database using the example from the README.md:
import { Client } from<EMAIL_ADDRESS>
const client = await new Client().connect({
  ...
});

Now when I try to insert using this query:
client.execute(
  "INSERT INTO location (`uuid`, `title`) VALUES (UNHEX(REPLACE(?, '-', '')), ?)",
  ["c0b9811e-c680-45ef-a305-e0c1475ff7c4", "Lucas Bolsstraat 24/7"],
);

I get this error:

error: Uncaught (in promise) Error: Unknown column 'c0b9811e-c680-45ef-a305-e0c1475ff7c4' in 'field list'

I did some research and it appears this happens most often when quotation marks are missing. Which is weird since this query used to work and I assumed mysql added the quotation marks. Anyhow I tried to fix the query:
client.execute(
  "INSERT INTO location (`uuid`, `title`) VALUES (UNHEX(REPLACE('?', '-', '')), '?')",
  ["c0b9811e-c680-45ef-a305-e0c1475ff7c4", "Lucas Bolsstraat 24/7"],
);

Although this throws a new error:

error: Uncaught (in promise) Error: Incorrect string value: 'replace('?','-','')' for function unhex

Is there a way to fix this issue, the query works fine when running it from dbeaver. So I'm fairly sure that it's an issue with the mysql package? I'm running Deno 1.19.0

I guess it's the same problem as https://github.com/denodrivers/mysql/issues/108 ?

My bad! I completely forgot I changed the database rules on my old database as a work around, sorry for bothering with the same issue!


Refactor endpoints

Acceptance Criteria

Remove lol_fantasy_api endpoint

Going to make the fantasy lol a separate micro service

Move riot_data_api endpoints into the endpoints folder

Not valid. Likely making this a monolith as a proof of concept. Less overhead with creating additional microservices


Misc

Yeah, these are some great improvements. Good job on the commit messages too.

Ready to merge @orta, give it a quick read?


peerconnections are not being cleaned up after each proxying session

The app's logs reveal that session numbers (the c0 ... labels associated with each SocksToRtc log line) do not reset between proxying sessions. This suggests that SocksToRtc instances are being re-used between proxying sessions, which isn't a supported use case (this may not be spelled out in the source but it's not a case we test at all in networking-land).

Disregard; session numbers are maintained by a static variable so this is expected.


Request for object type support in ng-repeat

Can you develop and support for object type collection. I really need that.
Thanks in advance.

+1
I have error: TypeError: Cannot read property '1' of null while iterating over (id, a) in b
Error is in this expressionMatches = /^\s*(\S+)\s+in\s+([\S\s]+?)(track\s+by\s+\S+)?$/.exec(ngRepeatExpression); line

Just change the expression to
expressionMatches = /^\s*(\S+.*)\s+in\s+([\S\s]+?)(track\s+by\s+\S+)?$/.exec(ngRepeatExpression);


Fix evaluation of filters that return structure or sequence values

The FilterLanguage.CreateFilter() function currently fails if the filter returns a structure or sequence value, despite the presence of some code intended to convert these into dictionaries or arrays.

Yolo-merging this to dev as it's blocking some downstream experimentation 🤠


macOS compilation error: <endian.h> file not found

This file isn't found when compiling under macOS. To compile under macOS, you need to modify the include in helpers/rlp_encoder.c to read:
#include <machine/endian.h>
Would this still be valid under Linux?

Can you specify which build are you playing with and report the Error log?

This is for the x86 build. The log reads:
../helpers/rlp_encoder.c:9:10: fatal error: 'endian.h' file not found
#include <endian.h>

Did you installed solc and run the
pip install --user -r requirements.txt
(or pip3)
?

Yep. I'll go over it again now to make sure everything is okay.

Apparently, you can include <sys/types.h> which will return the correct endian file for Linux/macOS.
https://stackoverflow.com/questions/27073837/fatal-error-endian-h-file-not-found

Okay so I've done a bit of digging, the <machine/endian.h> file on macOS doesn't define the htobe64() method, so there would have to be some kind of shim to make the code work on macOS.
https://gist.github.com/yinyin/2027912

I've just added the shim code to usr/local/include and the project compiles!

That's okay, I was considering giving up and setting up a dual boot for a minute!
So the shim code needs to go in the user's local/include, should I modify an existing build script to copy that in there? I reckon we should keep a copy of the shim code in the repo in case the gist is deleted, where would be the best place to put it?

I'd create a separate directory for the shim (i.e. helpers/macos) and then we can conditionally include that path for the MacOS builds.
helpers/CMakeLists.txt
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
    include_directories(helpers/macos)
endif()

Hi! when I compiled for my desktop (Linux Fedora) all runs well, but when I change the target to a board like DBOARD=frdm_kl25z or DBOARD=nrf52840_pca10056 the endian.h file isn't found when run ninja. I tried to add <sys/types.h> but is the same.

@devtodev for this error, can you create a gist with an output of ninja -v

Here it is https://gist.github.com/devtodev/ab7a30744a71bd83191d03ade64766ec.js

Thanks! Now I see where the problem is - I haven't noticed there is no endian.h for Zephyr. I'll create a shim file similar to one in #63 and then it should work.

that reminds me of the fact we desperately need CI builds for Zephyr target (#52) .. volunteers? :D

could you guys check out current master? It should compile now.

still is broken the zephyr compilation, here is the output https://gist.github.com/devtodev/b2edd806469eea457bbd33595fb16b60 I'll be working on it to fix it, if you have any advice please show me the light ;)

Hi @pcppcp! I can compile for zephyr now, but to do that I made two "fixs". The first was fix wallet.c by comment the include "eth/account.h" and declare account_t struct, like this:
typedef struct {
    uint8_t *privkey;
    unsigned long nonce;
} account_t;

The correct solution will be add to the repo eth/account.h, I searched that file with:
git rev-list -n 1 HEAD -- eth/account.h
And the file never existed in this repo. Maybe when wallet.c was added, the developer forgot to add account.h to the repo.
The second fix was remove SHELL_REGISTER function call and their struct, because the struct not was correct filled. Do you know the correct way to fil this structure?
Well.. with this two fixes, the zephyr build compile fine, but to get the correct solution of this issues we need add eth/account.h and fill fine the struct of SHELL_REGISTER. Right?

@devtodev oops the account_t got lost somewhere. I've fixed it in PR #68
@MohitKumarAgniotri looks like you are using different version of Zephyr, I can't find any of the SHELL_* macros in the code. I'll update and take a look at that.

Yea I've been using Zephyr version from August so unsurprisingly it didn't compile for you :)

Hey guys I'm gonna close this issue, as the solution for this has been merged. If there's still other problems, make a separate issue for them.


OPEN_MENTION_MENU_COMMAND Doesn't to Open Menu Without Preceding Space When Selection Begins with a Symbol

Describe the bug
In the lexical-beautiful-mentions plugin, the OPEN_MENTION_MENU_COMMAND does not add a space before the selection. This causes an issue where the mention menu does not open as expected.
To Reproduce
Steps to reproduce the behavior:

Go to a page with a textarea using lexical-beautiful-mentions.
Try to open the mention menu without adding a space before the selection.
Notice that the mention menu does not open.

Expected behavior
The OPEN_MENTION_MENU_COMMAND should add a space before the selection, allowing the mention menu to open correctly.

I can't reproduce this issue on the demo page: https://lexical-beautiful-mentions-docs.vercel.app/. Could you provide an example video?

You can simply double-click to open the suggested options

So it only affects trigger characters, right? In other words, the menu should open if there is another trigger character directly in front of the cursor. What exactly is the use case for this? Because the menu opens after the first click on "Open Suggestion", doesn't it?

It is not possible to mention someone without adding space character before a trigger. Use case described in a picture.

@sodenn - @NatalyGraham above has a great usecase that affects us as well. we're using beautiful mentions to insert variables in text and we can't pull up any suggestions when the trigger character is next to another character. so for example, in github you can say (@sodenn) - notice that the @ is next to the ( but in beautiful mentions, we'd have to do ( @sodenn - notice the space between.

There is already an exception in the mention regex to allow the user to type an open bracket ( before the trigger character.
Of course, we can add additional characters to this Regex, but I think we need to be careful. Sometimes the user doesn't want that the menu pops up - for example, when typing an email address. What about adding a configuration option to allow developers to define their own exceptions?

I'm also interested in this feature.  Our trigger is ${ and the selected item can be inserted after any character.  It is used in URLs and JSON objects.

There is already an exception in the mention regex

Maybe provide this as a prop so it does the default exception but you can customize to your use case?


Installation failed on Python 3.4 Django 1.7.7 Homebrew Mac

pip install git+git://github.com/buddylindsey/django-stripe-payments.git#egg=payments
Collecting payments from git+git://github.com/buddylindsey/django-stripe-payments.git#egg=payments
Cloning git://github.com/buddylindsey/django-stripe-payments.git to /private/var/folders/3v/rcj9kh011v10fb8s9k59mgx00000gn/T/pip-build-n8fhhg9z/payments
Traceback (most recent call last):
File "", line 20, in
File "/private/var/folders/3v/rcj9kh011v10fb8s9k59mgx00000gn/T/pip-build-n8fhhg9z/payments/setup.py", line 140, in
zip_safe=False,
File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "", line 14, in replacement_run
File "/Users/el/tmp/venv-fc2/lib/python3.4/site-packages/setuptools/command/egg_info.py", line 387, in write_pkg_info
metadata.write_pkg_info(cmd.egg_info)
File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 1108, in write_pkg_info
self.write_pkg_file(pkg_info)
File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 1129, in write_pkg_file
long_desc = rfc822_escape(self.get_long_description())
File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/util.py", line 470, in rfc822_escape
lines = header.split('\n')
TypeError: Type str doesn't support the buffer API
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-info/django_stripe_payments.egg-info

writing requirements to pip-egg-info/django_stripe_payments.egg-info/requires.txt

writing dependency_links to pip-egg-info/django_stripe_payments.egg-info/dependency_links.txt

writing pip-egg-info/django_stripe_payments.egg-info/PKG-INFO

Traceback (most recent call last):

  File "<string>", line 20, in <module>

  File "/private/var/folders/3v/rcj9kh011v10fb8s9k59mgx00000gn/T/pip-build-n8fhhg9z/payments/setup.py", line 140, in <module>

    zip_safe=False,

  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/core.py", line 148, in setup

    dist.run_commands()

  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 955, in run_commands

    self.run_command(cmd)

  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 974, in run_command

    cmd_obj.run()

  File "<string>", line 14, in replacement_run

  File "/Users/el/tmp/venv-fc2/lib/python3.4/site-packages/setuptools/command/egg_info.py", line 387, in write_pkg_info

    metadata.write_pkg_info(cmd.egg_info)

  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 1108, in write_pkg_info

    self.write_pkg_file(pkg_info)

  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/dist.py", line 1129, in write_pkg_file

    long_desc = rfc822_escape(self.get_long_description())

  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/distutils/util.py", line 470, in rfc822_escape

    lines = header.split('\n')

TypeError: Type str doesn't support the buffer API

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/3v/rcj9kh011v10fb8s9k59mgx00000gn/T/pip-build-n8fhhg9z/payments

Should be fixed now on master


Errors from example_finetune.py

Hi,
I found one error from example_finetune.py
Traceback (most recent call last):
exec(code_obj, self.user_global_ns, self.user_ns)
File "", line 1, in
loss = classifier(reps, torch.LongTensor([0, 1, 0]))
File "/Users/user/pt/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/Users/user/github/Mockingjay-Speech-Representation/downstream/model.py", line 282, in forward
loss = self.criterion(result, labels)
File "/Users/user/pt/lib/python3.6/site-packages/torch/nn/modules/module.py", line 532, in call
result = self.forward(*input, **kwargs)
File "/Users/user/pt/lib/python3.6/site-packages/torch/nn/modules/loss.py", line 916, in forward
ignore_index=self.ignore_index, reduction=self.reduction)
File "/Users/user/pt/lib/python3.6/site-packages/torch/nn/functional.py", line 2021, in cross_entropy
return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
File "/Users/user/pt/lib/python3.6/site-packages/torch/nn/functional.py", line 1836, in nll_loss
.format(input.size(0), target.size(0)))
ValueError: Expected input batch_size (1200) to match target batch_size (3).
It might be the simple issue, but for the reminder.

Thank you for the reminder!
We forgot to update this example code upon the update of other codes,
bugs have been fixed: https://github.com/andi611/Mockingjay-Speech-Representation/commit/c764e4b721bd43d459a2459396eb98261a7577ab


Use protocol to avoid path does not exist exception and fix #525

Fix for https://github.com/rstudio/sparklyr/issues/525 which was causing  Path does not exist exception during copy_to under systems configured with HADOOP_HOME.
Big thanks to @Wfore0990 for providing a docker image to repro this!
The problem is that, in some configurations, Spark adopts the hdfs:// protocol as the default, fix is to explicitly call out the local file system.

Unrelated, but found through repro, fixing regression on spark_connect with version = NULL but SPARK_HOME set.
The original code, for local mode, was meant to never find installed versions when SPARK_HOME was set. This was fine until some users find themselves with installed SPARK_HOME versions and setting the spark version but we were silently still using SPARK_HOME. Fix was made but broke spark_connect with version=NULL. Fix was made but broke SPARK_HOME set with verson=NULL. This one attempts the following:

SPARK_HOME="" and version=NULL: Should install default version by looking for installed versions.
 SPARK_HOME=""andversion=something`: Same as above.
SPARK_HOME="path" and version=NULL: Use SPARK_HOME
SPARK_HOME="path" and version=something: Version overrides SPARK_HOME


Move moderator descriptor input fields from group settings to roles & badges settings

This currently works in the context of the 'edit and then save' pattern that is present in the Group Settings tab but not the Role & Badges (moderator) tab. So it requires more work than just moving some input fields.


Anyway to make the toast clickable?

I want to create a toast with a click handler, not sure if that is doable.

You can send a component as a message. There's an example in the demo. Does that help?

You can send a component as a message. There's an example in the demo. Does that help?

Yes! I have no idea how did I miss that one after playing with it for a pretty long time haha. Thank you

What I planning to do is something that is basically the same as a regular toast (with an expiration time) but just a button on the right, like
| Something happened [Action]|
I don't know if this is something doable.

Check out this repl: https://svelte.dev/repl/0ad7e21471994688b6013c4d6deec5a4?version=3.49.0

Check out this repl: https://svelte.dev/repl/0ad7e21471994688b6013c4d6deec5a4?version=3.49.0

Thank you!

Glad to help!

Is it possible to make the entire toast clickable?


Cannot connect Kibana to Elasticsearch - who can help?

I am running Elasticsearch like so: (working fine)
docker run -d --name elasticsearch --security-opt apparmor=unconfined -v /data/elasticsearch-data:/elasticsearch/data -v /data/elasticsearch-config/elasticsearch.yml:/elasticsearch/config/elasticsearch.yml -p 9200:9200 -p 9300:9300 -e ELASTIC_PWD=xxx -e KIBANA_PWD=xxx -e LOGSTASH_PWD=xxx -e BEATS_PWD=xxx khezen/elasticsearch:latest

but Kibana cannot connect to the above Elasticsearch container using
docker run -d --name kibana --security-opt apparmor=unconfined -v /data/elasticsearch-data:/elasticsearch/data -v /data/elasticsearch-config/elasticsearch.yml:/elasticsearch/config/elasticsearch.yml -p 5601:5601 khezen/kibana:latest ELASTICSEARCH_HOST=<my-server-ip> ELASTICSEARCH_PORT=9200 KIBANA_PWD=xxx

I tried all kinds of IPs of my server for ... no success. Sorry, I am new to this. No idea what needs to be done and there is not enough explained in this regards on the startpage of this repository.

You might want to try the following
docker run -d --name elasticsearch --security-opt apparmor=unconfined -v /data/elasticsearch-data:/elasticsearch/data -v /data/elasticsearch-config:/etc/elasticearch -p 9200:9200 -p 9300:9300 -e ELASTIC_PWD=xxx -e KIBANA_PWD=xxx -e LOGSTASH_PWD=xxx -e BEATS_PWD=xxx khezen/elasticsearch:latest

docker run -d --name kibana --security-opt apparmor=unconfined  -v /data/kibana-config:/etc/kibana -p 5601:5601 khezen/kibana:latest ELASTICSEARCH_HOST=<my-server-ip> ELASTICSEARCH_PORT=9200 KIBANA_PWD=xxx

I tried all kinds of IPs of my server for ... no success. Sorry, I am new to this. No idea what needs to be done and there is not enough explained in this regards on the startpage of this repository.

Hi @khezen! Still not working.
My Elasticsearch is still with Basic Authentication. Do I have to pass this somewhere in the docker run call?
When I do "docker logs kibana" I only see "Stalling for Elasticsearch..." - and not information about the actual problem. Do you know how I can see more details about what is actually going wrong?

Can you please share your configuration files here?

inactivity


Storable hooks: {Before, After}{Insert, Update, Save}.

Implements part of tyba/oss#145.
Fixes tyba/oss#138.

LGTM


(2.2.19) Pod launchers aren't working

When trying to use the pod launchers and launching the drop pods into the world tile the game refuse to do it saying "Beyond maximum range". the only time it works is if you only drop it within your colony.
Steps to reproduce the behavior

Place a pod launcher and a drop pod
Fuel it
Send it to a world tile

It does not produce an error log it just says "Beyond maximum range" in game.

Save file
Debugtransport.zip
Mod list

Harmony
Core
HugsLib
RimThreaded (2.2.19)

@Courier6Lau can you please add a savegame showing the issue?

Added a savegame on where i tested it.

Confirmed in 2.2.19. Tested on a new save file, created a pod launcher and a transport pod, filled the fuel, and tried to launch to a tile. It says "Beyond maximum range".

https://github.com/cseelhoff/RimThreaded/issues/531 is a duplicate of this issue, it mentions the issue may be on WolrdTargeter

this one may be related as well: https://github.com/cseelhoff/RimThreaded/issues/529 it could all be related to WorldTargeter

Seems to work fine for me in 2.3.6

now working


Help me fix SQLSERVER error

Problem:
Image above this is issue. I had found everything on internet by content in error by all not working. I had used repair and reinstall but not effected too
So, I hope somebody can tell me something useful
Thanks for watching,

@KryCool Please contact support: https://support.microsoft.com/en-us


Where are the sources?

Please where are the sources of the example?
Regards

@masalinas check web folder.


Unable to use ReactShadow with Component

I'm trying to create a higher order component for this, e.g.:
import React from "react";
import ShadowDOM from "react-shadow";

const withShadow = (...include) => (Component) => {
  return (props) => {
    return (
      <ShadowDOM include={include}>
        <Component {...props} />
      </ShadowDOM>
    );
  };
};

export default withShadow;

Usage:
const AppWrapper = _.flowRight(
  withStore(reducers),
  withShadow("path/to/app.css")
)(App);

ReactDOM.render(<AppWrapper />, ...);

Unfortunately I get an error:

ReactShadow: Passed child must be a concrete HTML element rather than another React component.

I don't see this documented, but I see that it's explicit in the source for this module.  Is there a reason I can't use a component?  Is it something that's possible to fix?  I don't mind contributing, but I'm curious about the reason this is a limitation today.

FWIW, I was able to resolve this by throwing a
 between and`, but not completely sure why it's needed.  Might be good to add clarity in the README!  Feel free to close this though.

We have the check for passing a HTML node rather than a wrapped component, as ReactShadow needs to be able to determine the type of the node to append the shadow boundary to – otherwise it would have to recursively traverse the tree until it finds the first HTML node.

Node: this.props.children.type === 'div'
<WrappedComponent>

</WrappedComponent>

Node: this.props.children.props.children.type === 'div'

Is it because the shadow DOM function is called on the first HTML node it comes across?  If so, how come the ShadowDOM component itself can't just create its own DOM element to us?

Absolutely – we could do that, although it's making an assumption about the type of node to create, rather than taking it directly from your first child. I suppose we could accept an additional prop, such as wrapperNode.
Thoughts?

I've taken a look at this again, and there are two issues, one of which we've spoken about:

For <child.type> we don't have access to the type when the props.children is another component, and so we have to traverse through the children to find the first concrete element.
With findDOMNode when the props.children is a concrete element it yields the node which we can attach a shadow boundary to. However when it's another component it yields null and thus we cannot attach a shadow boundary to that – we need a way to find the concrete node.

I can achieve the former, but the latter I'm not sure at the moment.
Does anybody have any suggestions?

@Wildhoney regarding the finding the concrete child issue: First, I suggest making the error message clear to add an HTML DOM as first child of ShadowDOM so error gives fix, no need to search/waste time. Second, optionally add a shadowRoot prop that takes a String, or Node or whatever else you can accept as value.

Should work just fine with the updated version.


Decorator improvement

What does this implement/fix?
Improvement to docs decorator, no need to provide base classes as parameters.
Additional information
Implemented during 2019 MNE Sprint

Thanks @OlehKSS


There are multiple audio objects playing. If you control one of them, all the others are paused

There are multiple audio objects playing. If you control one of them, all the others are paused
Is this the case that only one audioplayer object can be created by calling seturl

Closing due inactivity.


Development: Add documentation for build queue view

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Motivation and Context

The docs were missing a user guide for the build queue view. This is a stacked PR with https://github.com/ls1intum/Artemis/pull/8417
Description

https://artemis-platform--8453.org.readthedocs.build/en/8453/user/exercises/programming.html#build-queue-view
Review Progress

Performance Review
Code Review

[x] Code Review 1
[x] Code Review 2

Summary by CodeRabbit

New Features

Introduced a Build Agent View for Administrators, providing a Summary View and a Details View for efficient monitoring and management of build agents.
Launched a Build Queue View for Administrators and Instructors to track running, queued, and finished build jobs with interactive control options.
Added a guide on Repository View for Git interactions in programming exercises, enabling students and instructors to access and review submissions.

Documentation

Updated documentation to include detailed information on new programming exercise features: Repository View, Build Agent View, and Build Queue View.

Refactor

Adjusted pagination settings to display 5 items per page, improving user experience and system performance.

There are still small issues in the documentation. I tried to improve as much as possible. Unfortunately, @mateusmm01 left the team without properly finishing the work :-( therefore, we merge this PR now and improve the documentation step by step in the future.


Add character form

UserStory 1
Add form for add a character

Hey there, looking good so far! Something to consider: perhaps you'd prefer to outsource your GlobalStyles to their own file, rather than having them be part of your app.js. That way you (or someone else) don't have to ever think about where you put it. I'm also sure that there's going to be a lot of other stuff happening in your app.js, so it's best to move whatever needs to not absolutely be in there. Otherwise - no notes! : )


Deberta for Question Answering

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

closing to change branch location to this, instead of the fork.


Synchronization issues when trying to increment progress bar

I followed the instructions in readme.md, and the first sync job resulted in a panic:
[1/5] Syncing rustup-init files... █████████████████████████████████████████████████████████████████████████████████████████████████ 27/27 [00:00:40]
Downloading . failed: Io(Custom { kind: Other, error: Error(Hyper(Error(Body, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }))) })
Downloading . failed: Io(Custom { kind: Other, error: Error(Hyper(Error(Body, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }))) })
Downloading . failed: Io(Custom { kind: Other, error: Error(Hyper(Error(Body, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }))) })
Downloading . failed: Io(Custom { kind: Other, error: Error(Hyper(Error(Body, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }))) })
Downloading . failed: Io(Custom { kind: Other, error: Error(Hyper(Error(Body, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }))) })
Downloading . failed: Io(Custom { kind: Other, error: Error(Hyper(Error(Body, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }))) })
Downloading . failed: Io(Custom { kind: Other, error: Error(Hyper(Error(Body, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }))) })
Downloading . failed: Io(Custom { kind: Other, error: Error(Hyper(Error(Body, Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }))) })
[2/5] Syncing latest stable...     ███████████████████████████████████████████████████████████████████████████████████████████████ 626/626 [00:58:31]
thread '<unnamed>' panicked at 'Channel send should not fail: "SendError(..)"', /home/alalassi/.cargo/registry/src/github.com-1ecc6299db9ec823/panamax-0.2.0/src/rustup.rs:454:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at 'Channel send should not fail: "SendError(..)"', /home/alalassi/.cargo/registry/src/github.com-1ecc6299db9ec823/panamax-0.2.0/src/rustup.rs:454:17
thread '<unnamed>' panicked at 'Channel send should not fail: "SendError(..)"', /home/alalassi/.cargo/registry/src/github.com-1ecc6299db9ec823/panamax-0.2.0/src/rustup.rs:454:17
thread '<unnamed>' panicked at 'Channel send should not fail: "SendError(..)"', /home/alalassi/.cargo/registry/src/github.com-1ecc6299db9ec823/panamax-0.2.0/src/rustup.rs:454:17
thread 'main' panicked at 'Thread pool worker panicked', /home/alalassi/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped_threadpool-0.1.9/src/lib.rs:236:13

I did rerun the job with RUST_BACKTRACE=1 environment variable set, but it did not reproduce the bug.
I guess the Sender created in progress_bar.rs was deallocated before the last ProgressBarMessage::Increment was sent (see std::sync::mpsc docs).

Yep, that makes sense. I'll see what I can do to reproduce this - I can imagine it being pretty annoying dealing with a heisenbug like this.
Thanks for the report!

Unfortunately I've yet to be able to reproduce this. I'm going to close it for now, but please feel free to re-open if you experience it again.
Thanks!


Need update for all language files

You need to update for all language files, because they all completely outdated.

Last update was 3 months ago...
since then many new strings were added to grabber, you can clearly see it if you, for example, change your language to chinese, you could see some new strings are still in english.

New strings from v4.9.0+ are not exists in current .ts files, so I ask you to update language files for all languages to current grabber version so me and @sanddudu could translate it.
P.S.
My russian translation is translate only strings to v4.9.0 as other translations.
So if you merge it you can be sure that all languages now actual the same version(4.9.0) and you now can update all translation files with no problem.

It will be better to do this as soon as possible, so I could download new .ts file and complete russian translation BEFORE 5.2.3 release, and release it already with full translation.


Request to add a github action to the repo

Is your proposal related to a problem?

(Write your answer here.)
No, rather related  to adding a new feature
Describe the solution you'd like

(Describe your proposed solution here.)
I see that the repo is quite engaging
I would love to see a github - action welcoming all the new contributors on their issues and Prs
If you love the idea , assign me
Describe alternatives you've considered

(Write your answer here.)
Additional context

(Write your answer here.)
If you love the idea , assign me

Hey, sounds like a great idea. Would be nice to see that!


How do I use PhantomCamera with Godot multiplayer?

Issue description
Hi!
I've been working on using Phantom camera in https://github.com/warsang/Godot-multiplayer ( not mine; forked from https://github.com/thegatesbrowser/godot-multiplayer ).
On my first player/client, the plugin works great. However, on my second client, I don't see a PhantomCameraHost being spawned (I'm guessing that's because there should only be one PhantomCameraHost per scene and therefore, the second one gets removed automatically?). It seems like the second PhantomCameraHost thinks it's in the same scene as the first player?
Below is a screenshot of the remote node view with both players/clients spawned and one having a PhantomCameraHost  vs the other not having a PhantomCameraHost . I used the same Player scene to spawn both

I'm guessing this isn't a bug and I'm just using this wrong for multiplayer set-ups (This is not a P2P multiplayer set-up but a server multiplayer set-up)? Can you provide indications as to how I should go about using PhantomCamera for a multiplayer set-up (or maybe this is just something not supported by the plugin right now and I should be implementing my own Camera controller).
Steps to reproduce
Clone the repo, open project and launch 1 server and two clients. Observe that first client has the PhantomCameraHost node while the other doesn't
(Optional) Minimal reproduction project
No response

This isn't a bug, but rather a current limitation. Basically, only one PCamHost can exist in a scene at the time. Whenever a second is instantiated, it will automatically be removed from the scene. All the nodes you have there are still part of the same main scene (Root), even though they're nested inside the character sub-scenes.
This is meant to be resolved in #26 in v0.8

Hellooo :) Just checking when this could be expected to be fixed ? :)

The feature was pushed to v0.9 back in May, as more urgent things had been cropping up since.
v0.8 is currently in beta, so am expecting it to be released in a matter of weeks once some kinks have been ironed out. v0.9 work, including this feature, should be started shortly thereafter. Can't say how long it will take until I start looking at it, but most of the groundwork has already been set up in preperation for it.


check your origin URL

check that the repo name change doesn't affect you
git remote -v

If you get:
origin  git@github.com:chingu-voyage3/bears-16.git (fetch)
origin  git@github.com:chingu-voyage3/bears-16.git (push)

then change it with:
git remote set-url origin git@github.com:chingu-voyage3/grad.then.git

check again to verify with git remote -v you should have
origin  git@github.com:chingu-voyage3/grad.then.git (fetch)
origin  git@github.com:chingu-voyage3/grad.then.git (push)

Or the https equivalent 😉

Thank you @spences10 for this guideline. :+1:
I changed the remote according these instructions.

it was only when I pushed a new branch that I saw the prompt, it was a deprecation warning so it would probably have worked for a while longer. 🤷♂

It is safer to change the remote.
I think we have to keep this branch active, until we are sure that all clones has access to the origin.

I'm not when @miljan-fsd and @asanhix cloned, if it was after the name change then I guess there not going to be any issues

Checked and it is up to date with the current origin. :) Thank you.

Ok, so if we have @miljan-fsd sign off then we can close? 🤔

Yes. We can close it.

Yes I agree we can close.


Fixed DragEvent on Safari and other browsers that don't support this …

It seems that, Safari don't support DragEvent, neither PhantomJS.

I've encountered this issue as well on safari.
Please make this a priority to fix the conflicts and merge.

@BenevidesLecontes can you rebase your PR please?

@jkuri done! Test and let me know if it works.

looks alright, thanks!


WIP Add pcln-icons package

This is a simpler alternative to #369 that does not attempt to use the material design icons package since many of the icon names in the design system differ from the official names.

Adds pcln-icons package
Icon components can be imported individually to help reduce bundle size
A backwards-compatible Icon component is included for migration
Uses @babel/runtime to help with bundle size
[ ] Removes icons from core package
[ ] Updates core components to use the pcln-icons package

Fixes #179
Related #375

Codecov Report

Merging #385 into next will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##           next   #385   +/-   ##
===================================
  Coverage   100%   100%
===================================
  Files        42     41    -1
  Lines       418    406   -12
===================================
- Hits        418    406   -12

Continue to review full report at Codecov.

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


Create a small chatbot that can connect to server

part of bonus

Need help on that? :) Have free time to work on stuff if you like. :)

Sure :) I was checking the openAI api, but got stuck on quota limitations (one token per minute is limit without paying) and if we plan to finish asap, then may-be take something else.
We have to decide, what the bot does. At the moment it creates it´s own channel. It might for example have some commands it gives a response about to sender.

Yeah we can hard code it and have it be an information bot of some sorts.
I evaluated webserv the other day and they included an API to Pokedex DB.
Alternatively I was looking into hosting our own LLM like Alpaca or others on Huggingface: https://huggingface.co/
But that would not be feasable to upload to Vogsphere... XD
Let's stick to hardcoding some of it. :)

Edit: Bot needs to not use any version of poll() or epoll(). Looking into using the the User infrastructure for this.


Problem adding multiple gmail accounts

I'm trying to login to my another Gmail account as well as multiple Google calendar
Expected Behavior
Log in to a Gmail/Inbox and Google Calendar account and add other accounts like we usually do
Current Behavior
Franz is redirecting me to chrome
Your Environment

Franz Version used: 5.0.0-beta.14
Operating System and version: Windows 10

Same problem here, second gmail Account shows a new window with _blank(EditViewServicesWindowHelp)
Any suggestion?


navigation params cleared  after dispatch Navigation/BACK

my navStack contains 2 screens (1 and 2)
i set params for head button like this:  this.props.navigation.setParams(
{
onPress1:() => this.onPress1()
});
i navigate from 1 to 2 via setParam for headerButton like:
onPress1 = () =>{
this.props.navigation.navigate('2',
{param: param}); };
}
if i press back button from screen 2:  navigation.dispatch({ type: 'Navigation/BACK' })
all works fine and onPress1  is defined at screen 1
but if i do redirect from screen 1 to screen 2 from componentDidMount with condition like this:
componentDidMount(){
if(condition === true){
this.props.navigation.setParams(
{
onPress1:() => this.onPress1()
});
this.props.navigation.navigate('2',
{param: param})
}
}
and then press back button - onPress1 is undefined at 1 screen
any idea how handle this ?
thanks in advance.

Hi! In an effort to get the hundreds of issues on this repo under control I'm closing issues tagged as questions. Please don't take this personally - it's simply something we need to do to get the issues to a manageable point. If you still have a question I encourage you to re-read the docs, ask on StackOverflow, or ask on the #react-navigation Reactiflux channel. Thank you!


Update secure_boot README.md

Elaborate on primary/secondary ROM_EXT boot slot decision by ROM

Thanks for the doc update!


Update cdn-map-content-to-custom-domain.md

replace . with - in the PS example to avoid CP validation failure

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

Note that publishing in this repository is suspended until Tuesday, March 2. Merging will resume Tuesday. Authors can still review and sign off on PRs during this time. Thanks.

The issue that's addressed in the PR appears to be addressed in master. We'll close the PR. If there are outstanding issues or questions, please add a comment or create a new pull request. Thanks.


Field deps documentation updated with correct rescript syntax

This PR contains an update on field deps documentation with examples having correct rescript syntax.

@surajsingh62 Sorry, I missed your PR. Thank you!


Architecture improvements

At this point project is released, but we have a poor architecture decisions that were made to develop the application fast.
At first we must separate InfoStorage and Storage from each other. Because today FileStorage makes way more things than just storing data on a file system.
The main idea is to rebuild Storage trait that would use FileInfo structure instead of a file_id string and remove get_file_info method.
Also we have to save InfoStorage as a part of the actix state in order to use it in controllers. It gives us more flexibility and makes it easy to develop new storage types.

I dissected info storage from storage in #18 and now it's much easier to implement new storages.
But now I can see new problem. We must update Storage to return stream of bytes instead of a NamedFile.

It's really cool that actix can turn mpsc channels into streaming responses, but I couldn't implement it properly.
I've made changes to support on a branch feature/optimizations.
But the problem is that I have errors if I try to play video from url with mpv, or get information about file with ffmpeg.

Closing issue for now. Major Architecture issues were solved already.


TST: Hide caproto imports.

This makes it possible for other libraries (e.g. suitcases) to reuse some
ophyd fixtures (e.g. hw) without installing all of the optional caproto
test dependencies. This is no small thing: the set of of depedencies we avoid
having to manage includes curio, trio, special attr verison for trio, asv,
pytest-benchmark.

Codecov Report

Merging #701 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #701      +/-   ##
==========================================
+ Coverage   91.44%   91.48%   +0.03%
==========================================
  Files          63       63
  Lines       10373    10374       +1
==========================================
+ Hits         9486     9491       +5
+ Misses        887      883       -4

Impacted Files
Coverage Δ

ophyd/tests/conftest.py
94.11% <100%> (+0.07%)
:arrow_up:

ophyd/areadetector/plugins.py
94.81% <0%> (-0.19%)
:arrow_down:

ophyd/signal.py
94.25% <0%> (-0.17%)
:arrow_down:

ophyd/log.py
77.63% <0%> (+9.21%)
:arrow_up:

Continue to review full report at Codecov.

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

Is there a way to use skiptest in fixtures?

@tacaswell , while it is possible to use pytest.skip() in a fixture it is not so easy to pass in the command to skip or not. Below is how I achieved this in suitcase-utils by using an argument called 'ignore'. I am not immediately seeing how it applies in this case though.
https://github.com/NSLS-II/suitcase-utils/blob/136f3190b890f89ffd4f6f988d5d630e24b96dbd/suitcase/utils/tests/conftest.py#L70

Restarted the failed CI, looks like sim detector failed to start properly...


Deactivating a packet does not work.

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Followed all applicable steps in the debugging guide
Checked the FAQs on the message board for common solutions
Checked that your issue isn't already filed?

Description
I click several times Disable / Enable button and always creates a new instance, no delete / clear old instance.
Steps to Reproduce

Move Settings > Packages > Teletype
Click Disable
Click Enable
Points 2 and 3 again and again

Expected behavior:
Only one PortalStatusBarIndicator html element instance.
Actual behavior:
Create more-more instance.
Reproduces how often:
100%
Versions
Atom    : 1.22.1
Electron: 1.6.15
Chrome  : 56.0.2924.87
Node    : 7.4.0
Teletype : 0.1.2

@jasonrudolph this is what I meant by most of our packages not deactivating correctly :P.  I'll handle this one as well.

Great job reporting these issues, @icetee. Thank you so much! ✨
Nice, @50Wliu: as usual, thanks for your amazing help! ⚡


Direct style effects

This "direct style" approach to defining effects seems simpler than the one in the "Defining effects section". It avoids the GADT whose only purpose is to provide "hooks" onto which to hang the effectful operations. Instead, why not just define the effectful operations directly?
What do you think? Is this a viable approach?
{-# LANGUAGE ExplicitNamespaces #-}
{-# LANGUAGE GHC2021 #-}
{-# LANGUAGE BlockArguments #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE LambdaCase #-}

import Cleff
import Cleff.Fail (Fail)
import Cleff.State (State, gets, modify)
import Data.Kind (Type)
import Data.Map (Map, lookup, insert)
import Prelude hiding (lookup)

-- Direct encoding of the effects we want in our filesystem
data Filesystem m = MkFilesystem
  { readFileFS :: FilePath -> m String,
    writeFileFS :: FilePath -> String -> m ()
  }

-- A type class for such direct-style effects
class EffectDirect (e :: (Type -> Type) -> Type) where
  fmapEffect :: (m ~> n) -> e m -> e n

-- Instance for the filesystem effect
instance EffectDirect Filesystem where
  fmapEffect f MkFilesystem {readFileFS = r, writeFileFS = w} =
    MkFilesystem {readFileFS = f . r, writeFileFS = \s -> f . w s}

-- Adapt direct effects for the existing cleff type-level encoding
data Direct f (m :: Type -> Type) (a :: Type) = Direct (f m -> m a)

-- Direct version of send
sendDirect ::
  (Direct f :> es) => (f (Eff es) -> Eff es a) -> Eff es a
sendDirect = send . Direct

-- Define the effectful operations using sendDirect
readFile'      ::
  Direct Filesystem :> es => FilePath -> Eff es String
readFile'  x   =  sendDirect (\f -> readFileFS f x)
writeFile'     ::
  Direct Filesystem :> es => FilePath -> String -> Eff es ()
writeFile' x y =  sendDirect (\f -> writeFileFS f x y)

-- To run in IO, just define the effects directly
runFilesystemIO ::
  (IOE :> es) =>
  Eff (Direct Filesystem : es) a ->
  Eff es a
runFilesystemIO =
  interpretDirectIO
    MkFilesystem
      { readFileFS = readFile,
        writeFileFS = writeFile
      }

-- To run in State, just define the effects directly
filesystemToState ::
  (Fail :> es) =>
  Eff (Direct Filesystem : es) a ->
  Eff (State (Map FilePath String) : es) a
filesystemToState =
  reinterpretDirect
    MkFilesystem
      { readFileFS = \path ->
          gets (lookup path) >>= \case
            Nothing -> fail ("File not found: " ++ show path)
            Just contents -> pure contents,
        writeFileFS = \path contents ->
          modify (insert path contents)
      }

interpretDirectIO ::
  (IOE :> es, EffectDirect f) =>
  f IO ->
  Eff (Direct f : es) a ->
  Eff es a
interpretDirectIO = interpretDirect . fmapEffect liftIO

interpretDirect ::
  (EffectDirect f) =>
  f (Eff es) ->
  Eff (Direct f : es) a ->
  Eff es a
interpretDirect p = interpret \(Direct f) ->
  withFromEff (\k -> f (fmapEffect k p))

reinterpretDirect ::
  (EffectDirect f) =>
  f (Eff (e' : es)) ->
  Eff (Direct f : es) a ->
  Eff (e' : es) a
reinterpretDirect p = reinterpret \(Direct f) ->
  withFromEff (\k -> f (fmapEffect k p))

By the way, this was prompted by the talk [Wire all the things! by Eric Torreborre (Lambda Days 2023) where he says of effect systems

You have to introduce a separation, you cannot use functions directly any more, you have to use data types that are representing your functions. And at large, that makes the code a bit hard to navigate.

I guessed that wasn't true, and lo and behold, after some work, it isn't!

Does this work for higher order effects? EffectDirect looks annoying to write and it looks like it won't be enough for higher order, i.e. you would also need the reverse mapping

I doubt it works for higher order effects. But I'm also confused about what higher order effects are. As far as I can tell, they're just handlers. So perhaps dynamic higher order effects are dynamic handers? I've never wanted one of those. I wonder what they are for.

I doubt it works for higher order effects.

Actually, I take that back. Since a higher order effect is still just a function defined in terms of the current effect set, the direct encoding should be able to do that too. I still don't understand what higher order effects are for (versus just handlers) though.

data Foo m = MkFoo
  { foo :: forall a. m a -> m a
  }

This is an example of a higher order effect. Their operations have effectful actions in the negative position.

Thanks. I understand the definition; I don't understand the purpose. To me, foo looks like a handler, not an effect.

Right, I'm saying I don't understand why local, listen and StateM are useful. If we want to continue the discussion maybe we should do so at the Bluefin issue tracker because this is becoming tangential to cleff.

Sorry for not getting to this earlier; college got me extremely preoccupied.
The difference between a higher-order operation and a handler is that the former is an abstraction of the latter, just like how a (first-order) effect operation is an abstraction of a monadic action.
I will take a look at Bluefin some time; it seems interesting!

The difference between a higher-order operation and a handler is that the former is an abstraction of the latter, just like how a (first-order) effect operation is an abstraction of a monadic action.

@re-xyr Thanks. That's in line with what I was anticipating. I haven't yet understood the need to abstract over handlers. I will continue to give it consideration.
@evanrelf I see you gave my comment a "thumbs down". Is there something you could elaborate on? Are you upset with my lack of understanding, or my suggestion to move the discussion elsewhere? (If @re-xyr is happy to continue the discussion here, then that's fine by me. I just don't want to flood someone else's issue tracker with tangential discussion.)

I'm going to continue the discussion about higher-order effects at https://github.com/tomjaguarpaw/bluefin/issues/15.