Version social repo link 0.0.1

Updated Most Trending Social Media Apps in USA, South Korea and Japan, China
Description
List of Trending Apps used in  USA, South Korea and Japan, China  includes

douyin
kuaishou
sina Weibo
qzone
baidu Tieba
mixi
naver Band
kakao story
vk
odnoklassniki
hornet
scruff
grindr
meetme
skout

Issue Ticket Number
Fixes #2

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist:

[x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes needed to the documentation

Hi Param, I have updated all the Social media trending Apps from USA, South Korea, Japan, China in the social-links.json files also updated the some in social-links.md files, so please accept the Pull Request


String template: use enum instead of struct

Mirrors template changes in #206.

Repo info: Just added a new status: Ready to merge flag to this repo in addition to all the others, as a lot of PRs are almost ready, even approved, but just waiting for CI (especially since Travis might sometimes take some time to complete — and GitHub doesn't yet signal "Approved" PRs clearly in the "Pull Requests" tab/list to identify approved PRs quickly there, so the tag will help for that purpose too)


FIX deprecated errors

FIX for
WARNING (ImportExecutor_0) [homeassistant.helpers.typing] HomeAssistantType was used from speedport, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.HomeAssistant instead, please report it to the author of the 'speedport' custom integration
Errors.

Done. Hope all is allright. :)

@Andre0512 ping :). Can you merge and release this?


fix: Expose actions with collections in view mode

Description
Actions were using read permissions for view mode as well, anonymous users would not have these permissions and would hence not receive any JS actions at all. This fix mimics the actions flow for view mode and introduces a separate DTO to maintain distinction between edit mode and view mode DTOs.
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

JUnit test
Manually tested

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

/ok-to-test sha=4ab8905


Crash after permisson change

What happened?
When realm detects a permission change, it sometimes crashes.
I am seeing this event in Sentry with the following message:
please_report_this_issue_in_github_realm_realm_core_v_13_6_0

Repro steps
Can't reproduce it. I see the error in sentry.
Version
Flutter (Channel stable, 3.10.1, on Microsoft Windows [Version 10.0.19045.2965], locale de-AT)
What Atlas Services are you using?
Both Atlas Device Sync and Atlas App Services
What type of application is this?
Flutter Application
Client OS and version
1.0.3
Code snippets
No response
Stacktrace of the exception/crash you're getting
OS Version: iOS 16.4.1 (20E252)
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Crashed Thread: 27

Application Specific Information:
Assertion failed: !m_try_again_activation_timer

Thread 27 Crashed:
0   libsystem_kernel.dylib          0x3bdf4d558         __pthread_kill
1   libsystem_pthread.dylib         0x3ff851114         pthread_kill
2   libsystem_c.dylib               0x34ef4b174         abort
3   realm_dart                      0x106f84f9c         please_report_this_issue_in_github_realm_realm_core_v_13_6_0
4   realm_dart                      0x106f85274         realm::util::terminate_internal
5   realm_dart                      0x106f850e4         realm::util::terminate
6   realm_dart                      0x106deba48         realm::sync::ClientImpl::Session::begin_resumption_delay
7   realm_dart                      0x106de635c         realm::sync::ClientImpl::Session::receive_error_message
8   realm_dart                      0x106de5f98         realm::sync::ClientImpl::Connection::receive_error_message
9   realm_dart                      0x106de406c         realm::_impl::ClientProtocol::parse_message_received<T>
10  realm_dart                      0x106ded858         realm::sync::ClientImpl::Connection::WebSocketObserverShim::websocket_binary_message_received
11  realm_dart                      0x106dd15fc         (anonymous namespace)::WebSocket::frame_reader_loop
12  realm_dart                      0x106dc49b8         realm::sync::network::Service::AsyncOper::do_recycle_and_execute<T>
13  realm_dart                      0x106dc44cc         realm::sync::network::Service::BasicStreamOps<T>::BufferedReadOper<T>::recycle_and_execute
14  realm_dart                      0x106dcacac         realm::sync::network::Service::Impl::run_impl
15  realm_dart                      0x106dbc9fc         realm::sync::websocket::DefaultSocketProvider::event_loop
16  realm_dart                      0x106dbe650         std::__1::__thread_proxy<T>
17  libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 0
0   libsystem_kernel.dylib          0x3bdf46c84         mach_msg2_trap
1   libsystem_kernel.dylib          0x3bdf59b50         mach_msg2_internal
2   libsystem_kernel.dylib          0x3bdf59e28         mach_msg_overwrite
3   libsystem_kernel.dylib          0x3bdf471c4         mach_msg
4   CoreFoundation                  0x34058f110         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x34059033c         __CFRunLoopRun
6   CoreFoundation                  0x3405954d8         CFRunLoopRunSpecific
7   GraphicsServices                0x3b6aeb358         GSEventRunModal
8   UIKitCore                       0x34498f378         -[UIApplication _run]
9   UIKitCore                       0x34498efdc         UIApplicationMain
10  Runner                          0x204d73f9c         <redacted>
11  <unknown>                       0x1d8a20dec         <redacted>

Thread 1
0   libsystem_pthread.dylib         0x3ff84ab74         start_wqthread

Thread 2
0   libsystem_kernel.dylib          0x3bdf4718c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3ff84ae24         _pthread_wqthread

Thread 3
0   libsystem_kernel.dylib          0x3bdf4718c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3ff84ae24         _pthread_wqthread

Thread 4
0   libsystem_kernel.dylib          0x3bdf4718c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3ff84ae24         _pthread_wqthread

Thread 5 name: com.apple.uikit.eventfetch-thread
0   libsystem_kernel.dylib          0x3bdf46c84         mach_msg2_trap
1   libsystem_kernel.dylib          0x3bdf59b50         mach_msg2_internal
2   libsystem_kernel.dylib          0x3bdf59e28         mach_msg_overwrite
3   libsystem_kernel.dylib          0x3bdf471c4         mach_msg
4   CoreFoundation                  0x34058f110         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x34059033c         __CFRunLoopRun
6   CoreFoundation                  0x3405954d8         CFRunLoopRunSpecific
7   Foundation                      0x334b0e0c0         -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
8   Foundation                      0x334b0dfa8         -[NSRunLoop(NSRunLoop) runUntilDate:]
9   UIKitCore                       0x344ac1da8         -[UIEventFetcher threadMain]
10  Foundation                      0x334b27630         __NSThread__start__
11  libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 6
0   libsystem_kernel.dylib          0x3bdf4718c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3ff84ae24         _pthread_wqthread

Thread 7
0   libsystem_kernel.dylib          0x3bdf4718c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3ff84ae24         _pthread_wqthread

Thread 8 name: io.flutter.1.ui
0   libsystem_kernel.dylib          0x3bdf46c84         mach_msg2_trap
1   libsystem_kernel.dylib          0x3bdf59b50         mach_msg2_internal
2   libsystem_kernel.dylib          0x3bdf59e28         mach_msg_overwrite
3   libsystem_kernel.dylib          0x3bdf471c4         mach_msg
4   CoreFoundation                  0x34058f110         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x34059033c         __CFRunLoopRun
6   CoreFoundation                  0x3405954d8         CFRunLoopRunSpecific
7   Flutter                         0x107eca538         <redacted>
8   Flutter                         0x107eca028         <redacted>
9   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 9 name: io.flutter.1.raster
0   libsystem_kernel.dylib          0x3bdf46c84         mach_msg2_trap
1   libsystem_kernel.dylib          0x3bdf59b50         mach_msg2_internal
2   libsystem_kernel.dylib          0x3bdf59e28         mach_msg_overwrite
3   libsystem_kernel.dylib          0x3bdf471c4         mach_msg
4   CoreFoundation                  0x34058f110         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x34059033c         __CFRunLoopRun
6   CoreFoundation                  0x3405954d8         CFRunLoopRunSpecific
7   Flutter                         0x107eca538         <redacted>
8   Flutter                         0x107eca028         <redacted>
9   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 10 name: io.flutter.1.io
0   libsystem_kernel.dylib          0x3bdf46c84         mach_msg2_trap
1   libsystem_kernel.dylib          0x3bdf59b50         mach_msg2_internal
2   libsystem_kernel.dylib          0x3bdf59e28         mach_msg_overwrite
3   libsystem_kernel.dylib          0x3bdf471c4         mach_msg
4   CoreFoundation                  0x34058f110         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x34059033c         __CFRunLoopRun
6   CoreFoundation                  0x3405954d8         CFRunLoopRunSpecific
7   Flutter                         0x107eca538         <redacted>
8   Flutter                         0x107eca028         <redacted>
9   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 11 name: io.worker.1
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff852074         _pthread_cond_wait
2   Flutter                         0x107c2ca4c         <redacted>
3   Flutter                         0x107ec40b8         <redacted>
4   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 12 name: io.worker.2
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff852074         _pthread_cond_wait
2   Flutter                         0x107c2ca4c         <redacted>
3   Flutter                         0x107ec40b8         <redacted>
4   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 13 name: io.worker.3
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff852074         _pthread_cond_wait
2   Flutter                         0x107c2ca4c         <redacted>
3   Flutter                         0x107ec40b8         <redacted>
4   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 14 name: io.worker.4
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff852074         _pthread_cond_wait
2   Flutter                         0x107c2ca4c         <redacted>
3   Flutter                         0x107ec40b8         <redacted>
4   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 15 name: io.worker.5
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff852074         _pthread_cond_wait
2   Flutter                         0x107c2ca4c         <redacted>
3   Flutter                         0x107ec40b8         <redacted>
4   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 16 name: io.worker.6
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff852074         _pthread_cond_wait
2   Flutter                         0x107c2ca4c         <redacted>
3   Flutter                         0x107ec40b8         <redacted>
4   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 17 name: dart:io EventHandler
0   libsystem_kernel.dylib          0x3bdf485bc         kevent
1   Flutter                         0x1080b9984         <redacted>
2   Flutter                         0x1080e8924         <redacted>
3   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 18
0   libsystem_kernel.dylib          0x3bdf4718c         __workq_kernreturn
1   libsystem_pthread.dylib         0x3ff84ae24         _pthread_wqthread

Thread 19 name: JavaScriptCore libpas scavenger
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff852074         _pthread_cond_wait
2   JavaScriptCore                  0x36741801c         <redacted>
3   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 20
0   libsystem_kernel.dylib          0x3bdf47144         __semwait_signal
1   libsystem_c.dylib               0x34ef33884         nanosleep
2   libsystem_c.dylib               0x34ef44b18         sleep
3   Sentry                          0x105de9814         <unknown> + 676
4   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 21 name: SentryCrash Exception Handler (Secondary)
0   libsystem_kernel.dylib          0x3bdf46c84         mach_msg2_trap
1   libsystem_kernel.dylib          0x3bdf59b50         mach_msg2_internal
2   libsystem_kernel.dylib          0x3bdf53860         thread_suspend
3   Sentry                          0x105df5a44         <unknown> + 128
4   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 22 name: SentryCrash Exception Handler (Primary)
0   libsystem_kernel.dylib          0x3bdf46c84         mach_msg2_trap
1   libsystem_kernel.dylib          0x3bdf59b50         mach_msg2_internal
2   libsystem_kernel.dylib          0x3bdf59e28         mach_msg_overwrite
3   libsystem_kernel.dylib          0x3bdf471c4         mach_msg
4   Sentry                          0x105df5a70         <unknown> + 172
5   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 23 name: io.sentry.app-hang-tracker
0   libsystem_kernel.dylib          0x3bdf47144         __semwait_signal
1   libsystem_c.dylib               0x34ef33884         nanosleep
2   Foundation                      0x334b7e948         +[NSThread sleepForTimeInterval:]
3   Sentry                          0x105dd9934         <unknown> + 528
4   Foundation                      0x334b27630         __NSThread__start__
5   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 24 name: DartWorker
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff8520a0         _pthread_cond_wait
2   Flutter                         0x10826e0bc         <redacted>
3   Flutter                         0x1082a8108         <redacted>
4   Flutter                         0x10826da88         <redacted>
5   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 25 name: DartWorker
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff8520a0         _pthread_cond_wait
2   Flutter                         0x10826e0bc         <redacted>
3   Flutter                         0x1082a8108         <redacted>
4   Flutter                         0x10826da88         <redacted>
5   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 26 name: com.apple.NSURLConnectionLoader
0   libsystem_kernel.dylib          0x3bdf46c84         mach_msg2_trap
1   libsystem_kernel.dylib          0x3bdf59b50         mach_msg2_internal
2   libsystem_kernel.dylib          0x3bdf59e28         mach_msg_overwrite
3   libsystem_kernel.dylib          0x3bdf471c4         mach_msg
4   CoreFoundation                  0x34058f110         __CFRunLoopServiceMachPort
5   CoreFoundation                  0x34059033c         __CFRunLoopRun
6   CoreFoundation                  0x3405954d8         CFRunLoopRunSpecific
7   CFNetwork                       0x3427907dc         _CFURLStorageSessionDisableCache
8   Foundation                      0x334b27630         __NSThread__start__
9   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 27 Crashed:
0   libsystem_kernel.dylib          0x3bdf4d558         __pthread_kill
1   libsystem_pthread.dylib         0x3ff851114         pthread_kill
2   libsystem_c.dylib               0x34ef4b174         abort
3   realm_dart                      0x106f84f9c         please_report_this_issue_in_github_realm_realm_core_v_13_6_0
4   realm_dart                      0x106f85274         realm::util::terminate_internal
5   realm_dart                      0x106f850e4         realm::util::terminate
6   realm_dart                      0x106deba48         realm::sync::ClientImpl::Session::begin_resumption_delay
7   realm_dart                      0x106de635c         realm::sync::ClientImpl::Session::receive_error_message
8   realm_dart                      0x106de5f98         realm::sync::ClientImpl::Connection::receive_error_message
9   realm_dart                      0x106de406c         realm::_impl::ClientProtocol::parse_message_received<T>
10  realm_dart                      0x106ded858         realm::sync::ClientImpl::Connection::WebSocketObserverShim::websocket_binary_message_received
11  realm_dart                      0x106dd15fc         (anonymous namespace)::WebSocket::frame_reader_loop
12  realm_dart                      0x106dc49b8         realm::sync::network::Service::AsyncOper::do_recycle_and_execute<T>
13  realm_dart                      0x106dc44cc         realm::sync::network::Service::BasicStreamOps<T>::BufferedReadOper<T>::recycle_and_execute
14  realm_dart                      0x106dcacac         realm::sync::network::Service::Impl::run_impl
15  realm_dart                      0x106dbc9fc         realm::sync::websocket::DefaultSocketProvider::event_loop
16  realm_dart                      0x106dbe650         std::__1::__thread_proxy<T>
17  libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 28 name: Realm notification listener
0   libsystem_kernel.dylib          0x3bdf485bc         kevent
1   realm_dart                      0x106c3cbac         realm::_impl::ExternalCommitHelper::listen
2   realm_dart                      0x106c3cd08         std::__1::__thread_proxy<T>
3   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 29 name: DartWorker
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff8520a0         _pthread_cond_wait
2   Flutter                         0x10826e0bc         <redacted>
3   Flutter                         0x1082a8108         <redacted>
4   Flutter                         0x10826da88         <redacted>
5   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 30 name: DartWorker
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff8520a0         _pthread_cond_wait
2   Flutter                         0x10826e0bc         <redacted>
3   Flutter                         0x1082a8108         <redacted>
4   Flutter                         0x10826da88         <redacted>
5   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 31 name: DartWorker
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff8520a0         _pthread_cond_wait
2   Flutter                         0x10826e0bc         <redacted>
3   Flutter                         0x1082a8108         <redacted>
4   Flutter                         0x10826da88         <redacted>
5   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 32 name: DartWorker
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff8520a0         _pthread_cond_wait
2   Flutter                         0x10826e0bc         <redacted>
3   Flutter                         0x1082a8108         <redacted>
4   Flutter                         0x10826da88         <redacted>
5   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

Thread 33
0   libsystem_kernel.dylib          0x3bdf47558         __psynch_cvwait
1   libsystem_pthread.dylib         0x3ff852074         _pthread_cond_wait
2   libc++.1.dylib                  0x35d13aef4         std::__1::condition_variable::wait
3   realm_dart                      0x106dcb0c8         realm::sync::network::Service::Impl::resolver_thread
4   realm_dart                      0x106dcaf9c         std::__1::__thread_proxy<T>
5   libsystem_pthread.dylib         0x3ff84b6b4         _pthread_start

EOF

Relevant log output
No response

Hi @Navil,
We will try to reproduce it. Do you remember what kind of permissions you have changed? Is it from allowed to disabled reading/writing for collection? Do you have a filter based on a field in the permissions json for the collection?

Hey, is this refering to changes in the "rules" area of the app services? If yes, I gave more users access to write operations on a collection. My userbase is split into 2 groups by role. Before only one group could write, but now both groups can write.

Hi @Navil,
I managed to reproduce your case. I couldn't achieve a crash, but I received the following errors:
The first one is from the server saying that the permissions are changed. This is expected:
ERROR "Server permissions for this file ident have changed since the last time it was used (IDENT)" (error_code=228, try_again=true, error_action=ClientReset)
Then the client App receive the following error in the syncErrorHandler:
Configuration.flexibleSync(
       user,
        [Item.schema],
        syncErrorHandler: (syncError) => throw syncError,
      )

The error:  "SyncWebSocketError (SyncWebSocketError message: WebSocket: Read Error: End of input category: SyncErrorCategory.webSocket code: SyncWebSocketErrorCode.websocketConnectionClosedClient)"
I'm not sure if this is the reason for the crash that you have, but it could be.
This error is already fixed in the main branch and it will be released with he next version of Flutter realm SDK.
If you still have the same crash after the upgrade we will investigate it again.

@desistefanova Thank you very much. I will update you once the new version is released. I am seeing another creash, shall I create a seperate issue for that? Not sure if it could be related.

@Navil we have just released the new version 1.1.0. You can check if you will still have the issue with the permissions.
About the new logs, yes, it is better to open a new issue and it will be helpful if you give some more details when this error occurs.
I will leave this issue opened for now.
Looking forward to your reply.


No version 1.2.1 on Atmosphere?

Why am I only getting up to version 1.1.0 when using meteor update? There isn't a SyncedCron.config on version 1.1.0.
Thanks.

Just realized it's now under percolate only. Sorry about that.


Hot Fix reload

Removed one debug print
Fixed bug that hot reload was inverted

Codecov Report

Merging #84 (8d4698d) into main (b5edcdc) will increase coverage by 0.13%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #84      +/-   ##
==========================================
+ Coverage   28.29%   28.43%   +0.13%
==========================================
  Files          11       11
  Lines         205      204       -1
==========================================
  Hits           58       58
+ Misses        147      146       -1

Impacted Files
Coverage Δ

lib/src/docker/run_image.dart
0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add bubble sort in Kotlin (#455).

Closes issue #455.

@huzaifaiftikhar  You must resolve your merge conflicts. Your README.md isn't up-to-date.


How to get sql statement

Your Question
How to get SQL statement before run
I tried to use
db.Statement.SQL.String()

and
db.Session(&gorm.Session{QueryFields: true}).Statement.SQL.String()

to get the sql before execute it, but it seem like always return empty.
Is there any way I can get the sql statement before I execute it?
The document you expected this should be explained
https://gorm.io/docs/advanced_query.html
Expected answer
How to get sql statement from sql builder before execute the query

Not sure if this is good way of doing this, but you can use callbacks.BuildQuerySQL(db) to build query and then use db.Statement.SQL.String().
Please note that this doesn't include other callbacks like BeforeQuery, AfterQuery etc.

Thank you for the suggestion, but it seem like not working in my side
Below is my sample code:
query := db.Table("table_name1").
		Select("column1",
			   "column2",
			   "column3").
		Joins("INNER JOIN table_name2 table_name1.column1 = table_name2 .column1").
		Where(filter)

callbacks.BuildQuerySQL(query)
fmt.Print("query.Statement.SQL--->" + query.Statement.SQL.String())

Sorry, my bad. I had wrong understanding of the code.
This can achieved by setting DryRun option to true in db.Config.
But this changes configuration of db instance. You may have to reset it to false after execution depending on your use case.
IMO, providing DryRun option at Statement level will be more useful than in Config.

https://gorm.io/docs/sql_builder.html#ToSQL

@insanePi can help suggest how can we set DryRun on statement level? Because I tried below code
db.DryRun = true
db.Find(&model)
db.Statement.SQL.String()
db.DryRun = false

db.Find(&model).Error

the sql statement is returned, but the final execution show dry run mode unsupported error

@insanePi can help suggest how can we set DryRun on statement level? Because I tried below code
db.DryRun = true
db.Find(&model)
db.Statement.SQL.String()
db.DryRun = false

db.Find(&model).Error

the sql statement is returned, but the final execution show dry run mode unsupported error

Its not possible to do at the statement level as of now. I was just suggesting it could be done as a new feature.
But it is in a way already supported by https://gorm.io/docs/sql_builder.html#ToSQL.

@insanePi can help suggest how can we set DryRun on statement level? Because I tried below code
db.DryRun = true
db.Find(&model)
db.Statement.SQL.String()
db.DryRun = false

db.Find(&model).Error

the sql statement is returned, but the final execution show dry run mode unsupported error

It is not possible to do it as of now. I was just suggesting it could be done as a new feature.
But in a way, it is already supported by https://gorm.io/docs/sql_builder.html#ToSQL.

you must return dry run to false like this:
db.DryRun = false
db.Config.DryRun = false

GORM v1.25.12
db.DryRun = true
query := db.Create(obj)

fmt.Println(query.Dialector.Explain(query.Statement.SQL.String(), query.Statement.Vars...))

db.DryRun = false
err := db.Create(obj).Error
...

It works, but it doesn't look very elegant.
Especially when the query is more complicated, e.g.
query := db.Model(&table{}).Where("ID = ?", o.ID).Select("Name").Limit(1).Offset(2)
I would like something like this:
query := db.Model(&table{}).Where("ID = ?", o.ID).Select("Name").Limit(1).Offset(2)`
fmt.Println(query.ToSQL())
err := query.Execute()


Avivash/59 user settings route

NOTE: to keep these PRs more manageable, I'm merging the working branches into each other rather than directly to main
404-related code was reviewed here: https://github.com/webnative-examples/webnative-app-template/pull/85
Description
Adding the user settings route.
This is still WIP because i'm trying to find the best way to handle having System Default as a theme preference. Basically, since the only theme options are light or dark,  the radio buttons for those options will be selected if the user's system default is one of those(or i can highlight the System Default option instead, but that means the colour that's equal to the system default won't be selectable), unless i do some fairly hacky stuff in the UI. I want to keep the code fairly lean and reactive, so I'm trying to think through the best way to do it/if it's worth us doing 😅  CC: @depatchedmode
Link to issue
https://github.com/webnative-examples/webnative-app-template/issues/59
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change that adds functionality)
[x] Comments have been added/updated

Screenshots/Screencaps
https://www.loom.com/share/f6e880661f7e44a0b414ae43fe8c600f

I've also updated the 404 gif as part of this PR


Add option to only render a given number of frames.

This is useful on very slow targets, such as GPU emulators.

Thanks for your PR. Very much appreciated.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/24227

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/24240

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25373

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/25522

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/26379

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29590

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/31325

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/33150

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/34788

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/34810

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/36230

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/36238

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.


[feat] detect if app tries to access query with prerender enabled

Closes https://github.com/sveltejs/kit/issues/669

Sorry, why prevent them from accessing query while prerendering? You could have fixed options for query string in the pages array, like:
kit: {
  prerender: {
    pages: [
      '/dashboard?tab=1',
      '/dashboard?tab=2',
      '/dashboard?tab=3',
    ],
  },
}

i.e. nonparameterized query string options. This change breaks that pattern right?

Also, do you guys not require another pair of eyes to review each change going in?

You could have fixed options for query string in the pages array, like...

I don't think you could even before this change. ? is a forbidden character on some file systems and (prerender serving doesn't look for query string when deciding an asset to server). I'm not saying we'd never support it in the future, but historically we haven't and I'd much rather let users know it's not supported up front than only finding out after much debugging.
But I'm not sure whether it is something we should support. E.g. what would happen if someone requests /dashboard?tab=4? Do you return 404, do you return the non-prerendered page? Query strings in Svelte today are not considered in routing and you'd be breaking that model, which makes it unclear how it should behave
We ask for reviews on things that are a bit larger such as changes in APIs, etc. This PR was open for almost a week, so the community could comment on it and the proposed plan was mentioned months ago in the associated issue, so didn't rise to that level

Got it.
Ah yes, I totally forgot about my https://github.com/sveltejs/kit/issues/1825, query strings don't even work at the moment anyway. This actually makes it so they probably won't ever, which is of course fine for new websites. The only issue might be if you're porting an existing website to SvelteKit and want to match the URL form precisely, it could be a problem. Maybe any discussion can continue in #1825.


syncthing: 1.13.1 -> 1.14.0

Motivation for this change
https://forum.syncthing.net/t/syncthing-v1-14-0/16430
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 115274 at e773a76d run on aarch64-linux 1

1 package marked as broken and skipped:

syncthing-gtk

5 packages built:

qsyncthingtray
syncthing
syncthing-cli
syncthing-discovery
syncthing-relay

1 suggestion:

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/applications/networking/syncthing/default.nix:21:9:
   |
21 |         ./add-stcli-target.patch
   |         ^


Add a reader for radiosonde met data to MONETIO / MELODIES MONET

Add a reader for MONETIO / MELODIES MONET for radiosonde meteorological data. We would like to add ozonesonde data into MELODIES MONET too so possibly these efforts can support one another.

@btang1 can you give some updates here.

@rschwant @bbakernoaa @zmoon Zach and I have some initial code for ozone sonder, and result slide show here: https://docs.google.com/presentation/d/1F69rag4NwORXmXihgUIRNUGaIKG0dm48/edit?usp=share_link&ouid=117233739375959098251&rtpof=true&sd=true. We are able to make vertical series & vertical boxplot using ozone sonder. A new PR request will be sent soon!

@colin-harkins Hi Collin. I am gonna put a PR request with all my changes (codes) and we can collaborate there~


Send money - Unexpected error when sending money to a Hidden contact

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

Version Number: v1.4.33-3
Reproducible in staging?: y
Reproducible in production?: n
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause- Internal Team
Slack conversation:
Action Performed:

Go to 1:1 DM with a Hidden contact (yonghongkok2+300101@gmail.com).
Click + > Send money.
Enter amount and confirm send money.
Click on the send money preview.

Expected Result:
No error will show up.
Actual Result:
It shows "Unexpected error, please try again later".
Issue is not reproducible when sending money via FAB button.
Workaround:
Unknown
Platforms:

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/be438616-0874-41e1-ae22-9726cc4a1e04
View all open jobs on GitHub

We think that this bug might be related to #vip-bills
CC @davidcardoza

I can't reproduce this one 👀

Ah, wait, there have been some CORS errors, according to the console in the screen recording.

@cristipaval I can reproduce this, this happens after https://github.com/Expensify/App/pull/32470. If we send money to a Hidden user, the requestorEmail here is an empty string.
https://github.com/Expensify/App/blob/cfb6f2c9b36c28ebc1e78189f65c97278cd885aa/src/libs/actions/IOU.js#L2877-L2880

Before https://github.com/Expensify/App/pull/32470, specifically this change, the requestorEmail is undefined and JSON.stringify don't include an undefined value.
I think the API doesn't actually need requestorEmail as it works fine on prod, so maybe we can remove it. Another option is to keep the requestorEmail undefined.

Thanks @bernhardoj , I'll look into this one again soon.

So @cristipaval should this be a backend fix? Looks like we'd need to also account for empty strings in this condition.

yes, @francoisl, I was just investigating this and I think it's cleaner to fix it in the backend

aaaaah, and now I understand why I couldn't reproduce initially. I was using the Pay elsewhere option to send money.

Ok yeah I was inspecting the logs more and comparing a request made to prod vs staging, and indeed, the only difference is that the requestorEmail wasn't passed at all on prod, e.g.
production:
{"amount":200,"currency":"IDR","requestorAccountID":867656,"comment":"","idempotencyKey":"2d2bf53f-468d-9f9b-f87f-b11f1d302f1d"}

staging:
{"amount":200,"currency":"IDR","requestorEmail":"","requestorAccountID":16323312,"comment":"","idempotencyKey":"ec2c797e-d121-3036-9634-15d0d043b57c"}

Happy to send a PR if you need.

Oh cool you already sent one 😄 ⚡

@francoisl Shall I request a CP for the fix? 👀

Yeah I think it wouldn't hurt. There was already a Web-E deploy today so the issue might also start happening in production once we deploy NewDot later today.

The fix for this one hit production already


Alternate row colors for repeating rows

https://discordapp.com/channels/644326199924883470/644345161152725024/716268103461371945

It would be nice if the style sheet allowed for alternating colors on the repeating sections.   some times it's hard to visually track from one side of the screen to the other to make sure I am clicking the right skill, trait, or inventory item.

Agent Smythe

Adding n-style doesn't look good on current layout of tables. Best solution would be redoing tables to have better layout and color interaction.


about visualization

could you share the visualization code about spatio-temporal pattern?

:)

You can directly plot the distributions in  gen_st_model_market.py.

so, you directly plot the distributions with the package of seaborn?

We only use the matplotlib package.


Analytics: Show total revenue vs. current month on dashboard home

Description
Show the total amount of revenue in the headline for a seller in the Dashboard Home Revenue card vs. current month.
Current Behavior
Currently, we're outputting current month in the headline of the Revenue card. However, the card already shows monthly revenue (hover over each bar) and customers have expressed interest in seeing the "Total" upfront.
Expected Behavior
Keep monthly revenue in the charts, but display the total revenue in the headline. Not only the SUM() of the bars we show, but the total of all historic sales.
Screenshots

Hi @birkjernstrom, I'd love to give this a go. Could this issue be assigned to me please?

Hi @birkjernstrom, yes that makes total sense 👍


enhancement: use .passive modifier for scroll event

https://vuejs.org/v2/guide/events.html#Event-Modifiers
This should improve a bit the scroll performance :)

Great idea, thanks!


Cannot prefix links with !

In GitLab, merge requests shorthand are !<number> (e.g. !5 is merge request 5).  We tried "Add a new linkifier" and # works great, but we cannot use !.  Epics on GitLab are prefixed with ~, so I'm sure folks would want to use that too.

@kerrhome thanks for the report.  @aero31aero FYI; we should include these cases in our linkifier work.

@timabbott I tested and added the testcases to the work in #13398. The existing changes cover this issue as well.


add syntax highlight in the python examples

As we know Markdown support syntax highlight in many languages and this makes docs more readable and pretty:
Before
from mptt.models import MPTTModel, TreeForeignKey

class Category(MPTTModel):
    ...
    parent = TreeForeignKey('self', null=True, blank=True)
    slug = models.SlugField()
    class Meta:
        unique_together = ('slug', 'parent')

After
from mptt.models import MPTTModel, TreeForeignKey

class Category(MPTTModel):
    ...
    parent = TreeForeignKey('self', null=True, blank=True)
    slug = models.SlugField()
    class Meta:
        unique_together = ('slug', 'parent')

So i update this in readme =)

This is very nice, thank you so much!

This is so nice, thank you very much!


Gh 959 json property serialisation

Codecov Report

Merging #960 into develop will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             develop    #960      +/-   ##
============================================
+ Coverage      63.56%   63.6%   +0.04%
- Complexity      3099    3101       +2
============================================
  Files            480     480
  Lines          13900   13900
  Branches        1577    1577
============================================
+ Hits            8835    8841       +6
+ Misses          4428    4424       -4
+ Partials         637     635       -2

Impacted Files
Coverage Δ
Complexity Δ

.../java/uk/gov/gchq/gaffer/data/element/Element.java
71.79% <ø> (ø)
18 <0> (ø)
:arrow_down:

.../gov/gchq/gaffer/store/schema/SchemaOptimiser.java
81.72% <0%> (+6.45%)
23% <0%> (+2%)
: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 f896029...3cd02ca. Read the comment docs.


what's the difference between dfget and proxy? is there any example for getting data by dfget and getting data by proxy ?

What's the difference between dfget and proxy?
Is there any example for both getting data by dfget and getting data by proxy ?
Is those examples getting data by dfget?
wget "http://<IP_ADDRESS>:65004/buckets/test/objects/test.md"
dfstore -e http://<IP_ADDRESS>:65004 cp dfs://test/test.md ./tmp

Match your proxy path.
curl -x -x <IP_ADDRESS>:65001 download_url -O output

For file dfs://test/test.md, proxy <IP_ADDRESS>:65001, if i want to get it by proxy, can you show the complete curl example?

wget "http://<IP_ADDRESS>:65001/test/test.md" is ok


[5.8 🍒] TypeCheckType: Fix existential any migration diagnostics for extra-modular protocols

I’m attempting to bring this fix to 5.8 because the issue negatively affects piecemeal adoption of existential any syntax (--enable-upcoming-feature ExistentialAny) — a Swift 6 feature with substantial source impact — in that the syntax is not enforced on standard library existentials such as Error and Codable. More generally, any existential that has a native imported constraint type and is normally allowed to omit any in Swift 5.

Explanation: See #65112.
Scope: Missing diagnostics for adoption of explicit existential any in Swift 6 mode.
Issue: Resolves #65034.
Risk: Very low. A simple and predictable functional change.
Testing: No additional testing warranted. This change does not impact code generation whatsoever, and is source-compatible unless the ExistentialAny feature is enabled (enabling the feature is supposed to be source-breaking).
Reviewer: @hborla
Main branch PRs:

#65112
#65132

Unfortunately, we can't take general type checker bug fixes anymore for the 5.8 branch.


Ruby 2.2.3

Hi,
The version 2.2.3 is ready : https://www.ruby-lang.org/en/news/2015/08/18/ruby-2-2-3-released/
Regards,

Added in #800. You should upgrade your ruby-build to be able to install it!


webui openapi spec does not pass validation for the /files/$id/content/$file_name endpoint

Bug Report
Installation Method
For this I'm using nix flakes but thats not really relevant. I can probably pr a fix if I can get a pointer to where the spec is implemented.
Environment

Open WebUI Version:
0.3.35, 0.3.32 may exist earlier but thats all i've tested against so far.

Ollama (if applicable):
n/a

Operating System:
nixos 24.05

Browser (if applicable): [e.g., Chrome 100.0, Firefox 98.0]
n/a

Confirmation:

[x] I have read and followed all the instructions provided in the README.md.
[x] I am on the latest version of both Open WebUI and Ollama.
[ ] I have included the browser console logs.
[ ] I have included the Docker container logs.
[ ] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:
Should be able to generate openapi libraries from the openapi spec without errors or using --skip-validate-spec. Think all thats really needed is file-name needs to be entered in as a path component to the uri but haven't looked yet. Not sure where those specs are defined in here but willing to fix it and PR a fix.
I snagged the openapi json like so:
https://github.com/mitchty/open-webui-cli/blob/b152431cab01321dd43f14ec63a9e3445ca849d7/bin/openapispecs.sh#L31-L34
# webui api
webuidir="${destver}/webui"
install -dm755 "${webuidir}"
curl -s "${HOST}/api/v1/openapi.json" -o - | jq > "${webuidir}/openapi.json"

Then using that and the latest openapi-generator-cli try to generate specs I get:

################################################################################
+ /nix/store/v38wk1ndqfnxinmcnss1akjgvychdkpn-openapi-generator-cli-7.9.0/bin/openapi-generator-cli generate --input-spec openapi/0.3.35/webui/openapi.json --generator-name rust --output api/webui --package-name webui
Exception in thread "main" org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).
 | Error count: 1, Warning count: 0
Errors:
        -paths.'/files/{id}/content/{file_name}'. Declared path parameter file_name needs to be defined as a path parameter in path or operation level

        at org.openapitools.codegen.config.CodegenConfigurator.toContext(CodegenConfigurator.java:717)
        at org.openapitools.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:744)
        at org.openapitools.codegen.cmd.Generate.execute(Generate.java:527)
        at org.openapitools.codegen.cmd.OpenApiGeneratorCommand.run(OpenApiGeneratorCommand.java:32)
        at org.openapitools.codegen.OpenAPIGenerator.main(OpenAPIGenerator.java:66)
zsh: exit 1     rebuild-api-crates

Actual Behavior:
[Describe what actually happened.]
Description
Bug Summary:
Webui openapi spec is missing file_name as a path component in the openapi spec for /files/$id/content/$file_name causing code generators to generate invalid code that cannot compile (for rust at least). Without that patch things do indeed not build:
error: builder for '/nix/store/ax72jq1idla4dqnxji964y4w6n9jhfh5-owuicli-0.1.0.drv' failed with exit code 101;
       last 10 log lines:
       >
       > error[E0425]: cannot find value `file_name` in this scope
       >    --> api/webui/src/apis/files_api.rs:230:33
       >     |
       > 230 |         "{}/files/{id}/content/{file_name}",
       >     |                                 ^^^^^^^^^ not found in this scope
       >
       > warning: `ollama` (lib) generated 4 warnings (run `cargo fix --lib -p ollama` to apply 2 suggestions)
       > For more information about this error, try `rustc --explain E0425`.
       > error: could not compile `webui` (lib) due to 1 previous error
       For full logs, run 'nix log /nix/store/ax72jq1idla4dqnxji964y4w6n9jhfh5-owuicli-0.1.0.drv'.
zsh: exit 1

Reproduction Details
Steps to Reproduce:
Not really a bug with open-webui but the openapi spec itself for the webui api.
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
For now I'm just hacking the generated code so it actually builds like so by adding it in as a parameter to the method:
https://github.com/mitchty/open-webui-cli/blob/b152431cab01321dd43f14ec63a9e3445ca849d7/patches/webui.patch#L9
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Expected behaviour here, but feel free to make a PR!

Sounds good, quick question on this function/api path, would this be the appropriate fix for now? It looks more like the file_path is entirely ignored as only the id is used for lookup in the rest of the function. Or should I just change the path to remove everything after {id}? I don't see that uri path variable actually influencing anything and what appears to be happening is openapi considers that a validation failure.
Figure I'd ask prior to shooting off a pull request which way you'd prefer. Or if I am off the reservation entirely, whichever it turns out being. Cheers!
diff --git a/backend/open_webui/apps/webui/routers/files.py b/backend/open_webui/apps/webui/routers/files.py
index b8695eb6..96001e48 100644
--- a/backend/open_webui/apps/webui/routers/files.py
+++ b/backend/open_webui/apps/webui/routers/files.py
@@ -274,7 +274,7 @@ async def get_html_file_content_by_id(id: str, user=Depends(get_verified_user)):

 @router.get("/{id}/content/{file_name}")
-async def get_file_content_by_id(id: str, user=Depends(get_verified_user)):
+async def get_file_content_by_id(id: str, file_name: str, user=Depends(get_verified_user)):
     file = Files.get_file_by_id(id)

     if file and (file.user_id == user.id or user.role == "admin"):


Add redis cache adapter to Optimization.md

Dalli is listed. Just need to add the redis cache adapter with an example.

Closed by #234


[Question] Longhorn gets into bad state and cannot uninstall

Question
Environment:

Longhorn version: 1.1.0
Kubernetes version: K3S v1.19.5+k3s2
Node config

OS type and version Ubuntu 20.04
CPU per node:
Memory per node: 8GB / 16GB
Disk type workers 1TB NVME
Network bandwidth and latency between the nodes:

Underlying Infrastructure (e.g. on AWS/GCE, EKS/GKE, VMWare/KVM, Baremetal): Baremetal

I'm trying to install longhorn on my baremetal cluster running K3S. All works fine when I do that via helm install but I'm trying to setup deployment via flux v2. My configuration is:
master: 8GB, 32GB MMC
2 x worker: 16GB, 32GB MMC + 1TB NVME
I have tagged worker nodes with the nvme folders on system. All seems to work OK. But the longhorn-manager ends up in a bad state. I can't event remove longhorn anymore from the system (removal hangs).
The log states that each manager tries to update node resources but fails due to wrong resouceVersion I believe. What could be the cause of the issue?
longhorn-manager-pm7ks.txt
longhorn-manager-v7h98.txt
longhorn-manager-z22zg.txt

The resource version conflict is a temporary state and should pass after the reque (reprocessing of the updated object).
What issue are you running into?

Hi,
the problem I have is that:

UI doesn't return anything - it loads but there is not data.
FluxCD thinks that the system was not deployed correctly
If I try to remove the longhorn-system namespace removal hangs

I have made some more tests and indeed it looks like the system itself works fine. I can create a PVC and PV via kubectl. The logs seems fine there. I see in the longhorn-manager-* that new items are picked up and created. I checked the storageclass and it is configures as per my annotations to nodes. But when I open the UI there is nothing. There is just a message (multiple) undefined: error. In the network console I see plenty of websocket errors: Error during WebSocket handshake: Unexpected response code: 200. Those errors are also then present in the longhorn-manager-* logs:
time="2020-12-19T18:55:20Z" level=debug msg="websocket: close 1006 (abnormal closure): unexpected EOF" id=6073398925477503972 type=engineimages <IP_ADDRESS> - - [19/Dec/2020:10:39:26 +0000] "GET /v1/ws/1s/engineimages HTTP/1.1" 200 0 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36"
In the end it looks like something is not deployed correctly. But I can't seem to find the cause.

I think the issue you encountered may be the same as https://github.com/longhorn/longhorn/issues/2118

Closing this issue. Feel free to reopen the issue or file a new issue if you still have issues.


Keypaths

Merging WIP of SE-0161 into master.

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 517c45aa3d23587e800030b686d5159399cc57f5
Test requested by - @jckarter

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 517c45aa3d23587e800030b686d5159399cc57f5
Test requested by - @jckarter

@swift-ci Please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - 517c45aa3d23587e800030b686d5159399cc57f5
Test requested by - @jckarter

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - c742f88434f020c28c0a8e5d5a972e0ccebe5ef8
Test requested by - @jckarter

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - c742f88434f020c28c0a8e5d5a972e0ccebe5ef8
Test requested by - @jckarter

Looks like you found a couple of nice generics and optimizer bugs too, sweet.

@swift-ci Please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - c742f88434f020c28c0a8e5d5a972e0ccebe5ef8
Test requested by - @jckarter

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - fd8d4886622ce57fda66040d2541017a1713a721
Test requested by - @jckarter

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - fd8d4886622ce57fda66040d2541017a1713a721
Test requested by - @jckarter

@swift-ci Please test

@swift-ci Please test

@jckarter The AST printer fix should be probably a separate PR as it is not specific to KeyPaths.

It's blocking me from landing keypaths.

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 8a9d402bfb6b237acc38935fc041960718d5a570
Test requested by - @jckarter

@swift-ci Please test

@swift-ci Please test

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - f887044f01044452303010f23c2683112695b2c3
Test requested by - @jckarter

@swift-ci Please test

@swift-ci Please test

Build failed
Jenkins build - Swift Test OS X Platform
Git Commit - f887044f01044452303010f23c2683112695b2c3
Test requested by - @jckarter

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - f887044f01044452303010f23c2683112695b2c3
Test requested by - @jckarter

@ddunbar @rballard This swiftpm test failure look familiar to you?
https://ci.swift.org/job/swift-PR-Linux/6945/consoleFull#1552161685fca400bf-2f4a-462e-b517-e058d770b2d7

@akyrtzi @benlangmuir @nkcsgexi Is this just nondeterminism in this SourceKit test?
https://ci.swift.org/job/swift-PR-osx/6963/consoleFull#-1727017123ee1a197b-acac-4b17-83cf-a53b95139a76

@swift-ci Please smoke test

The swiftpm failure is a known Swift 4 incompatibility -- @aciidb0mb3r did we slip in a change to Swift 4 too early?

Most likely fallout from https://github.com/apple/swift-package-manager/pull/1118, stay tuned for fix.

This will fix it: https://github.com/apple/swift-package-manager/pull/1122

@swift-ci Please smoke test

@swift-ci Please smoke test OS X

RE: the SourceKit test.  I'll fix this to stop checking USRs.  I attempted to do that in #8856, but apparently I missed two cases.

@swift-ci Please smoke test

Thanks @benlangmuir! I added a commit to disable the test in 73383b7, do you want me to wait for your fix?

If you don't mind waiting I just kicked off testing on https://github.com/apple/swift/pull/8929.  It's not actually non-deterministic (or shouldn't be!), it's just depending on mangling of a couple of stdlib symbols.

OK, thanks @benlangmuir.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


Vision OCR multi-region

This pull request adds the following region_tag:
vision_set_endpoint
The canonical sample is here:
https://github.com/GoogleCloudPlatform/python-docs-samples/pull/2569

Hi @telpirion, some of the vision tests are failing on this PR. Let me know when you hace check those and I can review.
Cheers!

Hi @telpirion, I fixed the lint issue on Storage but the Vision tests are still failing on this PR (apparently there's a file missing somewhere).

Same as with the Speech PR, if you can't make them pass on local, you can push your fixes to this PR and see if all the checks go green.
Cheers


applications: add luci-app-pptpd

Signed-off-by: Jing Lin<EMAIL_ADDRESS>

Very practical (... and how to show guides on many forums - much awaited) plug luci - provided that the i18n be for all supported languages

@build000 Add en and zh_tw language support.

Adding the translation looks nice. Could you please run ./build/i18n-sync.pl in the Luci root directory (and then git add the re-sorted .po / .pot files of this  app). That command would sort the language files.

After your language changes, I would have merged this LuCI app, but then I noticed that you have included files that belong to the actual pptpd package (in the packages repo: https://github.com/openwrt/packages/tree/master/net/pptpd/files ) and your changs would partially conflict with files in the main package.
You should remove the /etc/init.d/pptpd , /etc/config/pptpd and /etc/ppp/options.pptpd files, and get the possibly needed changes added to the main package instead.  https://github.com/openwrt/packages/tree/master/net/pptpd  . (And it looks to me that you have converted the init script to an older version instead of the more modern procd version. That will likely not fly.)

This package also injects iptables rules using sed and firewall.user, this looks rather unclean to me (it also unconditionally allows traffic from ppp+ which would also open pppoe-wan which is likely not intended).
This PR should either leave the firewall management aside for now - or - convert it to use uci & /etc/config/firewall - this way it also plays nice with the generic firewall ui.


Gautam Bhatiani

@gautam2907   thnx for contributing , try this year aswell with updated repo and make sure to follow me and star this repo so that you don't miss updates regarding the new changes and issues during Hacktoberfest 2020.


Create .env file when running specs in generated gem

@dsander Hey! :smile:
This fixed the following issue for me when scaffolding a new gem.
~/projects/hackathons/xdhax/huginn_xero_agent (master)$ rake
Cloning huginn source ... [OK]
Resetting Huginn source ... [OK]
Installing ruby gems ... [FAIL]
Tried executing 'bundle install --without development production -j 4'
The latest bundler is 1.16.0.pre.2, but you are currently running 1.15.4.
To update, run `gem install bundler --pre`
Could not load huginn settings from .env file.

Make sure to copy the .env.example to .env and change it to match your configuration.

Capistrano 2 users: Make sure shared files are symlinked before bundle runs: before 'bundle:install', 'deploy:symlink_configs'

[!] There was an error parsing `Gemfile`: Could not load huginn settings from .env file.. Bundler cannot continue.

 #  from /Users/andrew/projects/hackathons/xdhax/huginn_xero_agent/spec/huginn/Gemfile:14
 #  -------------------------------------------
 #  require File.join(File.dirname(__FILE__), 'lib/gemfile_helper.rb')
 >  GemfileHelper.load_dotenv do |dotenv_dir|
 #    path dotenv_dir do
 #  -------------------------------------------
rake aborted!

Okay, updated.

Done!

Nice, thank you! Do you want to push a release with your recent changes? I can do it next week because I am traveling over the weekend.

Done! 0.6.1 released

Nice, thanks!


Transcrypt as javascript framework

Hi,
I am using transcrypt for all my frontend stuff and I am really loving it. Thank you for all the great work that went into this project.
I use Transcrypt in conjunction with Angular. Angular helps to wire up the dom with logic in a view/controller fashion with nice two way binding features. This reduces the amount of code I have to write and keeps complexity under control. I'll gladly write up a little description on how I am wrapping Angular in Transcrypt, works nicely with Classes and Mixins.
However, I do have a problem with size of the js files I am loading. A simple Angular Controller or Service written in Javascript might be as small as 800 bytes. The same logic transpiled from python will be 80KB. I could compile the whole app as one big python file using imports, but then I cannot selectively load the controllers and services required on a specific page. I am using Django in the backend and controllers and services are loaded from a Django app's static directory as needed. One one page I might have 4 or 5 controllers with several services or providers, other pages have different combination of modules.
..so, my question. Is it possible to load Transcrypt once as a generic framework on a page, and transpile python files into smaller javascript files that reference the framework?
Thanks again.

You've hit a very real problem!!

We started out from the "single app per page" paradigm, which was suitable for a number of cases.
We then were confronted with situations where it was really mandatory to load multiple Transcrypt apps in one page. We simply solved that by insulating their namespaces, which avoided duplicate definitions (but in the process caused bloat by in fact duplicating all library code.

That's were we stand now. Sometimes we use little tricks. E.g. the turtle graphics demo page:
http://www.transcrypt.org/live/turtle_site/turtle_site.html
dynamically loads the code the user made and only compiles that, "inserting" it in the precompiled runtime. This, however is indeed a (rather dirty) trick to limit upload size and compilation time. It shows that what you require is possible IN PRINCIPLE, but can hardly be called a clean solution.
So we have identified the important practiccal need underlying your question, but are still looking for a good solution. It isn't rocket science but rather something that requires some very careful reorganization of Transcrypt not to break anything. But it would greatly enhance its usability to create components.
In short: Thanks for bringing it to the top of our minds again. It will not be solved overnight, but it's agreed that Transcrypt should be able to do this! I will dig up and dust off my thinking process on this one. For now unfortunately there's no quick, tidy fix.
Jacques

This is great news. Thanks again Jacques for all the hard work that went into this project, it's really such a pleasure to code my frontend logic in Python.

I've been hitting this limitation with my project as well. While it's useful and benefit many use cases to compile/transpile down to a single monolithic file which included runtime|standard-library per app, in the other hand, it affected the file's size and make redundant codes, the runtime, for instance, inevitable if multiple Transcrypt apps loaded in a page.
It might be a good idea to have a way (pre)compiling the runtime and then compile user's codes as the incremental, if I'm not wrong KotlinJS uses this methodology as well. By this approach, it will widen many use cases and effect dynamic Transcrypt code injection possible.
Moreover, I'd also like to thank you, Jacques, as the founder of Transcrypt, and all contributors, for this very interesting project and the great attitude of you guys.

Precompiling everything except a module written by the user is how the Turtle module already works. Indeed the user code is injected dynamically.
The thing is we'll have to find a concise, future-proof, well-structured way of doing this. The danger of taking a design decision here that unnecessary restricts us in the future is quite large.
So while I agree that we should build this in somehow, I feel the need to take the time needed and  carefully consider how exactly. The pragma's that made Transcrypt lean and fast, were just an idea that came up at some point. Aliases were another idea that enabled us to stay clear of name conflicts while piggybacking our datastructures upon JS ones. Making methods properties by default rather than attributes, thus enabling bound pointer assignment, was another important decision.
An idea of similar quality is needed to have dynamically "linkable" modules in TS. But I am convinced we'll find out how to do that in a solid way. For now all I can tell is that it's on the radar quite large.

Noted, appreciated, and thank you for sharing. :)

Units / components facilitie added, available from v3.6.101.
Thanks for getting this on the table again!
Feel free to reopen.

Thanks for updating and your very active development, it's very impressive. One quick question, is there a way to load additional component(s) after the initial load(animals_loader from the document page)? I'm testing the component/unit's concept and looking for some ways to inject components dynamically.

Currently there isn’t. Only a hackish way involving eval, like in the turtle app in the gallery. Eval is too slow for regular use since it makes optimization almost impossible.

On 23 Feb 2018, at 08:43, BLeAm<EMAIL_ADDRESS>wrote:
Thanks for updating and your very active development, it's very impressive. One quick question, is there a way to load additional component(s) after the initial load(animals_loader from the document page)? I'm testing the component/unit's concept and looking for some ways to inject components dynamically.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.

Okay, thank you for your information.


Nod 60 keithley 24xx nodes

Description
SET_V_MEAS_I: Set Voltage MEasure Current
SET_I_MEAS_V : Set Current Measure Voltage
SET_POWER : User chooses to source current or Voltage
Styleguide
Respect Style Guide
Docs
No PR in Docs, I'll update after the automatic PR is triggered
Testing
App.json files and examples.md are added to the new folders.
Nodes were tested with the hardware setup

In summary of my review:

Add _24xx to the node and folder names
For the initialization, get rid of the decorator and the parameter in the node. Make it a normal function above the node.
The comport should be a parameter of the node.
If the baudrate is fixed, just define it in the node.
Add output.jpeg images for each app (with the option inside Flojoy).


UI Base: Prevent multiple ui-base config nodes

Description

Performs a check to count the number of ui-base nodes each time a new ui- node is added.
Was a requirement to run this on all ui-nodes, as we can't be sure of the order of import
Workflow involves looping over all ui-base elements, removing all but the oldest (first in the array), then looping over the ui-page elements and all ui- elements that have a ui- property set and ensuring they're all updated too.

Related Issue(s)
Closes #548

Tested the debounce locally - works great @Steve-Mcl - have re-requested a review


generateChangeLog doesn't generate foreign keys for mariadb/mysql

Search first

[X] I searched and no similar issues were found

Description
generateChangeLog doesn't generate foreign keys for mariadb/mysql.  I'm counting on having good integration testing and for this i'm using the change logs generated by generateChangeLog, but no foreign keys were generated although I have export LIQUIBASE_COMMAND_DIFF_TYPES=tables,views,columns,indexes,foreignkeys,primarykeys,uniqueconstraints,checkconstraints,data
Steps To Reproduce
run generatChangeLog against a mariadb/mysql database that has foreign keys and observe that the keys aren't in the generated change logs.
Expected/Desired Behavior
Foreign keys generated.
Liquibase Version
4.19
Database Vendor & Version
No response
Liquibase Integration
No response
Liquibase Extensions
No response
OS and/or Infrastructure Type/Provider
No response
Additional Context
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR (Thank you!)

@victorrodrigueznadq, If you don't specify the diffTypes does it include the foreign keys? I know you need the diffTypes to get the data, but looking to troubleshoot where the problem is.

@nvoxland I'll see if I have time.  For the moment, I've moved on from this and I'm using mysql dump for the db structure and for the liquibase tables.  I'm using liquibase only for the data.  This should be easy enough for you guys to test.  let me know.

Hello! I tried to reproduce this behavior on Liquibase 4.20.0 and didnt have that beahvior. Can you talk about your env a little more? That may help finding the issue. Thanks!

Closing this issue because it got stale. Feel free to re-open if needed! Thanks


Adding the option the set deployment annotations

What this PR does / why we need it:
Hey,
I have adds the option the add annotations to deployments/Demonset
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @taharah

/ok-to-test

/retest

/test pull-charts-e2e

/test pull-charts-e2e

Hey @ChiefAlexander,
The test pull-charts-e2e fails, I've checked the logs and it looks like the test gets some timed out and fails to pull-charts-e2e.
I'm did something wrong?

I don't think your change would cause a failure like that in the build.
/retest

/lgtm

/test pull-charts-e2e

Thanks, @ChiefAlexander.
waiting for the merge :)

/retest


systemd without dbus

It should be possible to use the service resource on a systemd distro like debian without dbus.

Debian has systemd without dbus? Which version of debian? I would like to try to reproduce this locally so I can test a fix.

Yes if you install the minimal installation, what is just normal in a productive server environment.
OS: Debian GNU/Linux 8.5 (jessie)

Thanks, I was able to reproduce this. I had incorrectly thought that systemd requires dbus, which I guess isn't the case.
The fix will probably be abandoning go-systemd in favor of just executing the systemctl command.
Thanks for filing this.

Fixed in v0.1.8


Jump to click and voisync for volume3d

Context
In this pull request i wanted to add jump to click and voiSync for the volume 3D viewport, with these last changes i refactored the viewport classes, i find it easier to put all the methods in BaseVolumeViewport and then reuse them in any desired class.

Changes & Results

Testing

Checklist
PR

[x] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[x] My code has been well-documented (function documentation, inline comments,
etc.)

[x] I have run the yarn build:update-api to update the API documentation, and have
committed the changes to this PR. (Read more here https://www.cornerstonejs.org/docs/contribute/update-api)

Public Documentation Updates

[x] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[x] "OS:
[x] "Node version:
[x] "Browser:

can you please update this now
PET MIP:
- Mouse Wheel: Rotate PET
- Left click: Jump all views to the point of highest SUV in the region clicked.

seems there are some conflicts for merging @Sofien-Sellami can you please resolve them? thanks


Use with ABRP

Hi, I'm trying to use the Cron to feed Abrp. I set the Cron refresh rate to 15 min. It's not short enough to have live data in Abrp.
I'm wondering if :

I should set 1 minute to the Cron refresh rate, but I'm worried about impact on battery when I'm not using the car...
I should try to identify when the car is moving to have different refreshing rates when car is running, or when car is parked (similar to when the car is charging...)

What do you think ?

 The car is sending data to the Renault servers on its own cycle and isn't impact by how often you read data from the Renault servers.
But it can happen that you run in an API rate limit when you have a short cron refresh rate, especially when you're using the My Renault App or other integrations at the same time.
How often your car is sending data to the Renault servers is depending on which car model you are using, Zoe Ph1, Ph2 or an other electric Renault.


MultiSite Support

Hi,
We are having a Multi site M1 installation and planning for upgrading it to M2. Will your extension supports data migration for the multisite?
Thanks

Hi @ewalteam,
Yes, our UB Data Migration Pro extension allows you to migrate your multiple site M1 instance to M2.
As our old migration script on Github is outdated, and replaced with the newer version Pro above, please take a look at the Pro instead. It will save you pretty much of time.
Hope that helps.
Regards,
Ubertheme team


Crash in logging from bitcoind.go when historicalSpendDetails does not find a spend request

Background
When LND starts up, notificationDispatcher calls historicalSpendDetails. This call returns (err=nil, spendDetails=nil) when the msg.SpendRequest is not found. Because the err return value is nil, it tries to create a log entry showing the spendDetails, which is also nil. This causes a segfault in a printf of logging.
Your environment

lnd-debug version 0.11.0-beta.rc4 commit=v0.11.0-beta.rc4-7-gfa612fa671ffb22686701f624b14adbef9ebf629-dirty
Darwin macbook-pro-6.lan 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64
Bitcoin Core Daemon version v0.17.1
I am testing with a bitcoind regtest configuration for debugging; perhaps I killed lnd-debug from the debugger a few times and messed up a database?

Steps to reproduce
Stack trace to L278 of bitcoind.go
github.com/lightningnetwork/lnd/chainntnfs/bitcoindnotify.(*BitcoindNotifier).notificationDispatcher.func2 (/Users/richard/VSCode/go/lnd/chainntnfs/bitcoindnotify/bitcoind.go:278)
runtime.goexit (/usr/local/go/src/runtime/asm_amd64.s:1374)
Notice that if both spendDetails and err are nil, this line will be reached and cause a crash. Happy to provide more repo details, but it seems like the logic is flawed.
Expected behaviour
If the SpendRequest is not found by historicalSpendDetails it should not return nil, nil. Perhaps set err so that spendDetails are not accessed during logging.
Actual behaviour
This code crashes and lnd falls over.

@wpaulino

If I replace L808 with:
return nil, errors.New("not found")
Then no crash and the logged output looks like this instead:
2020-10-22 14:15:51.331 [ERR] NTFN: Rescan to determine the spend details of outpoint=1efaf4405a662340db6f5108ec762978cf7f12bd6ff10aa323be5f321459a442:1, script=0 0793ca0b513b7fb6f5130000c3cf4a95b3984dd7d96d0629fe8c7a657030d27a within range 1179-1179 failed: not found

The issue isn't with it returning nil, nil, that's the expected behavior in certain cases and we don't want to return an error. Instead, we just need to either modify the log statement to not include the spend details or modify SpendDetail.String to return a different message when it is nil.

Would something like this change make sense?
It looks like it should fall through and not return like an error does if no spend details are found.

Yeah something like that would work @remyers. The main thing is that UpdateSpendDetails should be called even with a nil spendDetails, as that will allow the TxNotifier to begin tracking the spend at tip.

Closing as this doesn't seem to be an issue present when running the tests that exercise this behavior with logging enabled. The logger seems to handle the nil spend details correctly and outputs them as <nil>.


AudioPlayer seek not working as expected while looping

macOS Version(s) Used to Build
macOS 12 Monterey
Xcode Version(s)
Xcode 14
Description
The seek function for the AudioPlayer does not work as expected when it's looping. While I would expect it to wraparound to the start it starts looping from the seek time to the end of the file. Source: https://github.com/AudioKit/AudioKit/blob/main/Sources/AudioKit/Nodes/Playback/AudioPlayer/AudioPlayer%2BPlayback.swift#L98
Or is this actually what this function is made to do?
I noticed there was a request for this before, which was fixed. But this fix seems to have been removed after it was added at some point.
Crash Logs, Screenshots or Other Attachments (if applicable)
No response
Edit: Using buffered AudioPlayer

What happens if you call yourAudioPlayer.isEditTimeEnabled = false or yourAudioPlayer.editStartTime = 0 right after you seek?

Hmmm. Someone else will have to look at this. I'm can't get seek to work at all.

The seek function might work for non-buffered audio. But because I need seamless looping I need a buffered audioplayer. Now when using the seek function the buffer is updated with a range from seek time to end of the file. And therefor only looping between these times.
I can't seem to find any option to set a currentTime or offset for the buffered AudioPlayer. Is there another player that allows seeking with seamless looping?
I noticed the AVAudioPlayer is looping seamlessly and has a seek function. But since I can't use it as a node to add the my audio flow this also does not work for me.
Any suggestions?

Apparently it is possible to call the play function with a negative at time. I didn't expect this to work so I never tried..
There seems to be an issue with getCurrentTime() though. It's not accurate at all. I think this is because timeBeforePlay is set and is not expecting negative values (not sure if this is true, but that's what I think for now). timeBeforePlay is used when calling getCurrentTime()
For now I can work around this issue by storing the startTime myself and use it to calculate my own currentTime.
let audioPlayerStartSampleTime = AVAudioTime(sampleTime: -samplesSinceStart, atRate: mixerNode.outputFormat.sampleRate)

audioPlayer.stop()
audioPlayer.play(at: audioPlayerStartSampleTime)

you can try this
`
let mediaUrl = URL.init(fileURLWithPath: path)
let file = try! AVAudioFile(forReading: mediaUrl)
try! player.load(file: file, buffered: true)
`
and   player.seek(time: time)
it's work for me
good luck

@ladeng this does not work for me


Remove the 'proxy' comment for the Prism endpoint fields in the Infrastructure type

Remove the 'proxy' comment for the Prism endpoint fields in the Infrastructure type.

As discussed with @JoelSpeed, although we are expecting users to not want Prism endpoints proxied, they could. We were worried about adding functionality that the customer will not readily know about. As in, we'd be assuming that they automatically don't want it proxied. Another concern is that there's no precedence with other analogous on-prem platforms like vSphere/OpenStack.

/lgtm
Do we want to squash the commits on this one?

This project is not a part of the no-ff process, so will add the appropriate labels individually
/label docs-approved
/label qe-approved
/label px-approved


Add SpEL support for @Table,  @Column and @MappedCollection

If SpEl expressions are specified in the @Table or @Column annotation, they will be evaluated and the output will be sanitized to prevent SQL Injections.
The default sanitization only allows digits, alphabetic characters, and _ character. (i.e. [0-9, a-z, A-Z, _])
Closes #1325

I applied a round of polishing. Besides some stylistic changes, please make sure to configure your formatter to use tabs instead of spaces. See https://github.com/spring-projects/spring-data-build/blob/main/etc/ide/eclipse-formatting.xml the formatter config we use across our projects.

Hello .. I've got a question concerning this ticket
I've been eagerly following that one, to find a lightweight alternative to Hibernates Tenant Resolver
for Multi Schema
By having a spel expression inside the schema part of the Table annotation
I've been using the same approach successfully for spring data mongo for a while now.
And while i can happily report that this works fine for queries / select stetements,
it seems to fail for insert statements.
While the spel expression is always evaluated correctly to e.g. "tenant-0" or "tenant-5",
and always taken into account for the select from queries ...
For "insert into" it will always use the first one "insert into tenant-0" .. maybe there is some kind of caching going on ?
So my question is, are insert operations also supposed to work with schema ?
As an alternative i was also looking into using a NamingStrategy Bean,
unfortunately this always yields to a CachingNamingStrategy that only resolves the Schema once ...
thx in advance

Yes, statements do get cached. Please create a new ticket for this.

Yes, statements do get cached. Please create a new ticket for this.

Yes, statements do get cached. Please create a new ticket for this.

thx


pull non loglinear rrs

pull non loglinear RRs
Description

Category: feature
JIRA issue: https://jira.ihme.washington.edu/browse/MIC-5129

Changes and notes
Convert exposure column to parameter column and keep exposures as NaNs.
Update allowed upper limit of RR values.
Add RR extraction tests back in to test suite.
Testing
Ran test suites (except for years='all' which was run in a notebook). Ran pulled data through simulation validations.

This works!  But it generates a gazillion warnings for me; when I run it with this command,
import vivarium_inputs as vii, gbd_mapping
df = vii.get_measure(gbd_mapping.risk_factors.diet_high_in_sodium, 'relative_risk', 'Washington')

I get a lot of stuff like the following
2024-07-16 08:52:26.812 | WARNING  | vivarium_inputs.validation.raw:check_age_restrictions:2239 - Data was expected to contain all age groups between ids 8 and 235 but was missing the following: {8, 9}.


Fix Typo

Description:
Fixed typo: testing* to testing
Corrected capitalization: erc721 to ERC721

@bonustrack @thomasscovell @nickdoherty Hey! Could you please review my corrections?
I hope I was able to help in some way. Thank you for your work.


Allow, with warning, users using first-party-jwt with Kubernetes 1.21+

For https://github.com/istio/istio/issues/31964
Just add a warning to give users a hint.
This also cleans up a dead field.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
862539e3adf988703503c75bd700716f598b96f4
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
862539e3adf988703503c75bd700716f598b96f4
link
/test unit-tests_istio

integ-pilot-multicluster-tests_istio
862539e3adf988703503c75bd700716f598b96f4
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

I think we should actually accept these values, for backwards compat. will change the PR.

Re-requested review from everyone since I changed this to allow, with warning, 1p jwt on k8s 1.21. I don't want to cause backwards compat issues.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
505f733e3eaa86a32baa539d7a319e5e63581874
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
505f733e3eaa86a32baa539d7a319e5e63581874
link
/test lint_istio

gencheck_istio
505f733e3eaa86a32baa539d7a319e5e63581874
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
21afc60ac3841d9828bc4554d85eefec5708de94
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
21afc60ac3841d9828bc4554d85eefec5708de94
link
/test integ-multicluster-k8s-tests_istio

integ-helm-tests_istio
21afc60ac3841d9828bc4554d85eefec5708de94
link
/test integ-helm-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

For the 1st party jwt test
istiod gives the following error
2021-04-12T17:19:50.966763Z	warn	serverca	Authentication failed for <IP_ADDRESS>:46718: Authenticator ClientCertAuthenticator at index 0 got error: no verified chain is found. Authenticator KubeJWTAuthenticator at index 1 got error: failed to validate the JWT from cluster "Kubernetes": the service account authentication returns an error: [invalid bearer token, token audiences ["kubernetes.default.svc"] is invalid for the target audiences ["istio-ca"]].

and from istio-proxy we are getting
2021-04-12T17:15:48.471821Z	warn	xdsproxy	upstream terminated with unexpected error rpc error: code = Unauthenticated desc = authentication failure
2021-04-12T17:15:48.472289Z	warning	envoy config	StreamAggregatedResources gRPC config stream closed: 16, authentication failure
2021-04-12T17:15:59.028404Z	warn	sds	failed to warm certificate: failed to generate workload certificate: create certificate: rpc error: code = Unauthenticated desc = request authenticate failure

I wonder why its only helm.. we have a non-helm one.

I wonder why its only helm.. we have a non-helm one.

Let me pull down the branch and do some investigation. Have a few things to work on so it'll be later today if I can diagnose a reason.

/retest

Ran the tests by creating a kind cluster with ./prow/integ-suite-kind.sh --manual and then did go test -tags=integ ./tests/integration/helm/. -run TestInstallWithFirstPartyJwt --istio.test.nocleanup --istio.test.ci and it passed. I'm trying to retest it, but I'm not convinced it's something in the environment. I can spend some more time on it tomorrow.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-helm-tests_istio
21afc60ac3841d9828bc4554d85eefec5708de94
link
/test integ-helm-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

From a little more inspection
https://storage.googleapis.com/istio-prow/pr-logs/pull/istio_istio/32012/integ-helm-tests_istio/1381779728838430720/artifacts/helm-fa40505d9bec4da48425efc0f6/TestInstallWithFirstPartyJwt/_test_context/istio-state453044087/cluster-0/istiod-5fb458b4cf-mgjnc_discovery.log
has the line
2021-04-13T01:36:55.112348Z	info	JWT policy is third-party-jwt

I get the same when I run it locally (w/kind). It looks like the test isn't respecting global.jwtPolicy. I'll have to look into it more tomorrow. Do you have any thoughts? This may be related to a different change. I can try a bisect with more time.

In response to a cherrypick label: new pull request created: #32167

In response to a cherrypick label: #32012 failed to apply on top of branch "release-1.9":
Applying: Warn, but allow, first-party-jwt with Kubernetes 1.21+
Using index info to reconstruct a base tree...
M	security/pkg/server/ca/authenticate/kubeauth/kube_jwt.go
M	tests/integration/helm/install_test.go
M	tests/integration/security/mtls_first_party_jwt/main_test.go
Falling back to patching base and 3-way merge...
Auto-merging tests/integration/helm/install_test.go
CONFLICT (content): Merge conflict in tests/integration/helm/install_test.go
Auto-merging security/pkg/server/ca/authenticate/kubeauth/kube_jwt.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Warn, but allow, first-party-jwt with Kubernetes 1.21+
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to a cherrypick label: new issue created for failed cherrypick: #32168


Avoid Pattern compilation

The old code would need to compile two Pattern instance for each call of simpleXMLEscape() as String.replaceAll() requires that a Pattern is compiled on each call. The PR switches one of the replaceAll() calls to a simple replace() as it doesn't require regex functionality. The other one is compiled once and gets reused.

Did you have a problem in production due to this?

The PR switches one of the replaceAll() calls to a simple replace() as it doesn't require regex functionality.

:+1:

Just Sonarlint screaming on top of its lungs :smile:

Any objections?

Thanks


[DDW-1076] Wallet name update feature issues

This PR fixes wallet name length when the name of the wallet is too big. Instead of presenting everywhere on smaller screen resolutions full length of the name, we are shrinking it so it can fit the screen and the container.
Screenshots

Screenshot

Testing Checklist

Slack QA thread
[ ] When the wallet name is larger, test if its presented well on all screens sizes.

Review Checklist
Basics

[ ] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes and shows some screenshots or animated GIFs of important UI changes
[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance and unit tests are passing (yarn test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[ ] There are no flow errors or warnings (yarn flow:test)
[ ] There are no lint errors or warnings (yarn lint)
[ ] There are no prettier errors or warnings (yarn prettier:check)
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

@DeeJayElly @nikolaglumac may be we should also not allow here more than 40 symbols?

No @IuliaDolishniak - this part is fine.

uh... found this bug -_-

uh... found this bug -_-

Fixed

this isssue still not fixed

elipsis are not shown

Part of the symbol is truncated

@IuliaDolishniak everything you reported is fixed. Can you please review again?

@tomothespian waiting for the build


Tweets doesn't update on build environment

Hi!
Sorry for bothering!
I implemented gatsby-source-twitter and it works properly when I run project on localhost, but when I make gatsby build and upload files to the server, it doesn't update latest tweets. Have you got any idea what may cause that problem? I don't even know what part of code I may paste here :/
Thanks!

Hi @wojciechnowaczyk
thank you for using my plugin.
The tweets are updated at build time. So if you need an update you have to make a new build each time.
This is how Gatsby works.
Let me know if undestood your problem and if I can help you.
best

Thanks for the response!
Oh, so it is impossible to automatize updating new tweets on gatsby page every time there are new tweets added on Twitter?

Gatsby generate a static website, just html, so you have different way to achieve your result.
The easy way is to generate your site every hours, for example using netlify and a cron task
This thread look interesting, there are different solutions.
Netlify is just an example, you can use anything to build and host your site (Gatsby Build for example, Vercel, etc).
Hope this help you.

Everything is clear! Thank you very much! Have a nice day! :)


Collection PNG File for Masonry and Slideshow Views

Removes a lot of old images, creates a service for the collection thumbnail, adds new collection png. Adds indexer and refs image path, fixes rubocop errors.
Collection indexer inherits from CC Indexer, namespace Sufia for better compatibility, updates collection.rb for new collection indexer.
Tests for the presence of the correct collection PNG and not the default image.
Trying the have_css matcher to test the presence of the correct png file.
Fixes the test by using ensuring that the thumbnail path starts with assets/collection


Deployment to both Netlify as well as another provider such as Akash

To make this work we need to setup a separate CI/CD pipeline within out pipeline sort of. I am trying to put as much information here as I can as when I was exploring this I found very little.
For Akash deployments to work in github actions we will use this action https://github.com/ovrclk/akash-ghaction-setup either directly from CI or by defining our own akash action based on the above.
With the action to help we now we two jobs for this pipeline which depends on each other. The first the image generation which will be pushed to a container registry and then second a deployment to akash Job.
Some things to note:

The very first deployment most likely is always manual to get the DSEQ and SSH Certs and all that for the secrets
The wallet where deployments happen must be prefunded in some means to do things
On each new push to main we want to update the akash deployment with a newly built image

@0xFable this is part of the refactoring project, feel free to reopen then :)


[NG] Modal keybinding cleanup

We still close the modal when the user presses escape, but we can
remove our workaround now that Angular fixed the key filtering issue.
So much easier to read.

👍


Is there an Option to specify where extracted images are saved

While exploring the library , i couldnt find a way to specify where the generated images will be saved.
Nor was i able to find the images saved in some default path.
i think it would be a good option to saved the extracted images somewhere if it it not been done already .

The example https://github.com/DS4SD/docling/blob/main/examples/export_figures.py shows how to iterate through the figures and saving them.


Update landing page

Update the landing page with Hope design

This is a mockup, wording will be replaced by what we have currently (or something else if we want)

Let's also update the page title and manifest icons when we do this to not be the default

I think this is done! Great job ⭐