for #1316 Add back missing test cases for IntegrateTest

Pull Request Test Coverage Report for Build 5297

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

Files with Coverage Reduction
New Missed Lines
%

sharding-orchestration/sharding-orchestration-reg/src/main/java/io/shardingsphere/orchestration/reg/newzk/client/zookeeper/base/Holder.java
2
70.49%

Totals

Change from base Build 5296:
-0.02%

Covered Lines:
7923

Relevant Lines:
12519

💛  - Coveralls


Crash on iPod 1st gen with iOS 3.0

Hello.
I've been using MAZeroingWeakRef for some time without problems on devices with 4.x and above. Now I added MAZeroingWeakRef to an older project which requires all iOS compatibility support and using a weak references crashes. The crash doesn't happen immediately when creating the weak references, only when reading it back calling its target method. I've tried going back to commit 3b120d80b69f94d7d02d980d3538ed4483ec4741 and see if that helped but it didn't (and don't know how far should I go without avoiding any other problems related to stuff that has been fixed).
If I modify the property getter to always return nil, the program works (with reduced functionality because parent is nil) and still crashes when deallocating the weak reference object.
To the best of my copying/pasting abilities, here's one of the limbo call stacks when it crashes:
Thread 1
 0 <????>
Thread 2
 0 mach_msg_trapA
    0x31d47144  <+0000>  mov	r12, sp
    0x31d47148  <+0004>  push	{r4, r5, r6, r8}
    0x31d4714c  <+0008>  ldm	r12, {r4, r5, r6}
    0x31d47150  <+0012>  mvn	r12, #30	; 0x1e
    0x31d47154  <+0016>  svc	0x00000080
  * 0x31d47158  <+0020>  pop	{r4, r5, r6, r8}
    0x31d4715c  <+0024>  bx	lr
 5 _pthread_body
    0x31d7058c  <+0000>  push	{r4, r7, lr}
    0x31d70590  <+0004>  add	r7, sp, #4	; 0x4
    0x31d70594  <+0008>  mov	r4, r0
    0x31d70598  <+0012>  bl	0x31d705b8 <_pthread_set_self>
    0x31d7059c  <+0016>  ldr	r0, [r4, #60]
    0x31d705a0  <+0020>  mov	lr, pc
    0x31d705a4  <+0024>  ldr	pc, [r4, #56]
  * 0x31d705a8  <+0028>  mov	r1, r0
    0x31d705ac  <+0032>  mov	r0, r4
    0x31d705b0  <+0036>  pop	{r4, r7, lr}
    0x31d705b4  <+0040>  b	0x31d706fc <_pthread_exit>
Thread 3
 0 mach_msg_trapA
    0x31d47144  <+0000>  mov	r12, sp
    0x31d47148  <+0004>  push	{r4, r5, r6, r8}
    0x31d4714c  <+0008>  ldm	r12, {r4, r5, r6}
    0x31d47150  <+0012>  mvn	r12, #30	; 0x1e
    0x31d47154  <+0016>  svc	0x00000080
  * 0x31d47158  <+0020>  pop	{r4, r5, r6, r8}
    0x31d4715c  <+0024>  bx	lr
 7 _pthread_body
    0x31d7058c  <+0000>  push	{r4, r7, lr}
    0x31d70590  <+0004>  add	r7, sp, #4	; 0x4
    0x31d70594  <+0008>  mov	r4, r0
    0x31d70598  <+0012>  bl	0x31d705b8 <_pthread_set_self>
    0x31d7059c  <+0016>  ldr	r0, [r4, #60]
    0x31d705a0  <+0020>  mov	lr, pc
    0x31d705a4  <+0024>  ldr	pc, [r4, #56]
  * 0x31d705a8  <+0028>  mov	r1, r0
    0x31d705ac  <+0032>  mov	r0, r4
    0x31d705b0  <+0036>  pop	{r4, r7, lr}
    0x31d705b4  <+0040>  b	0x31d706fc <_pthread_exit>
Thread 4
 0 select$DARWIN_EXTSN
    0x31d6b0cc  <+0000>  mov	r12, sp
    0x31d6b0d0  <+0004>  push	{r4, r5}
    0x31d6b0d4  <+0008>  ldr	r4, [r12]
    0x31d6b0d8  <+0012>  mov	r12, #93	; 0x5d
    0x31d6b0dc  <+0016>  svc	0x00000080
  * 0x31d6b0e0  <+0020>  pop	{r4, r5}
    0x31d6b0e4  <+0024>  bcc	0x31d6b0fc <select$DARWIN_EXTSN+48>
    0x31d6b0e8  <+0028>  ldr	r12, [pc, #4]	; 0x31d6b0f4 <select$DARWIN_EXTSN+40>
    0x31d6b0ec  <+0032>  ldr	r12, [pc, r12]
    0x31d6b0f0  <+0036>  b	0x31d6b0f8 <select$DARWIN_EXTSN+44>
    0x31d6b0f4  <+0040>  undefined
    0x31d6b0f8  <+0044>  bx	r12
    0x31d6b0fc  <+0048>  bx	lr
 3 <????>

Not sure I understand your call stack. Are you able to reproduce the problem? If so, a 't a a bt' (stands for thread apply all backtrace) at the (gdb) prompt would be helpful.

Since this was running in an app, I tried to simplify the test case forcing the weak reference creation to the main entry point of the app, reducing the number of running threads. So with the following code:
#import "MAZeroingWeakRef.h"

- (void)applicationDidFinishLaunching:(UIApplication *)application
{
	window_ = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
	window_.backgroundColor = [UIColor whiteColor];

	DLOG(@"1st post");
	MAZeroingWeakRef *ref = [[MAZeroingWeakRef alloc] initWithTarget:window_];
	DLOG(@"Reference created, trying to read...");
	id result = [ref target];
	DLOG(@"Reference read %@", result);

	sleep(10);
	exit(0);

The app crashes right when reading the reference with the following gdb output:
[Switching to process 10755 thread 0x2a03]
[Switching to process 10755 thread 0x2a03]
Re-enabling shared library breakpoint 1
Catchpoint 2 (throw)2011-12-23 21:30:40.674 Irekia[2868:207] 1st post
2011-12-23 21:30:40.699 Irekia[2868:207] Reference created, trying to read...
warning: Cancelling call - objc code on the current thread's stack makes this unsafe.
(gdb) t a a bt

Thread 2 (thread 11267):
#0  0x31d47158 in mach_msg_trap ()
#1  0x31d49ee0 in mach_msg ()
#2  0x30254554 in CFRunLoopRunSpecific ()
#3  0x3025416a in CFRunLoopRunInMode ()
#4  0x3588dbd0 in RunWebThread ()
#5  0x31d705a8 in _pthread_body ()
#6  0x00000000 in ?? ()

Thread 1 (thread 10755):
#0  0x00000000 in ?? ()
(gdb)

For completeness, here's the previous crash (also reproducible) with proper gdb output (it certainly looks much more readable than what I was getting through xcode). It may not be so good to read since there are other things going on with the app:
(gdb) t a a bt

Thread 5 (thread 12035):
#0  0x31d6b0e0 in select$DARWIN_EXTSN ()
#1  0x3021dd24 in __CFSocketManager ()
#2  0x31d705a8 in _pthread_body ()
#3  0x00000000 in ?? ()

Thread 4 (thread 11779):
#0  0x31d47158 in mach_msg_trap ()
#1  0x31d49ee0 in mach_msg ()
#2  0x30254554 in CFRunLoopRunSpecific ()
#3  0x3025416a in CFRunLoopRunInMode ()
#4  0x3055af3a in +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] ()
#5  0x30554068 in -[NSThread main] ()
#6  0x305023f8 in __NSThread__main__ ()
#7  0x31d705a8 in _pthread_body ()
#8  0x00000000 in ?? ()

Thread 3 (thread 11523):
#0  0x31d47158 in mach_msg_trap ()
#1  0x31d49ee0 in mach_msg ()
#2  0x30254554 in CFRunLoopRunSpecific ()
#3  0x3025416a in CFRunLoopRunInMode ()
#4  0x3055ef02 in -[NSRunLoop(NSRunLoop) runMode:beforeDate:] ()
#5  0x0003a736 in -[FlokiAppDelegate start_background_runloop:] (self=0x117110, _cmd=0x4e330, dummy=0x0) at /Users/gradha/project/efaber/floki/src/global/FlokiAppDelegate.m:610
#6  0x30554068 in -[NSThread main] ()
#7  0x305023f8 in __NSThread__main__ ()
#8  0x31d705a8 in _pthread_body ()
#9  0x00000000 in ?? ()

Thread 2 (thread 11267):
#0  0x31d471b4 in semaphore_wait_signal_trap ()
#1  0x31d786fc in semaphore_wait_signal ()
#2  0x31d49af4 in pthread_mutex_lock ()
#3  0x3588dd10 in _WebTryThreadLock ()
#4  0x3588dc30 in WebRunLoopLock ()
#5  0x3020cd90 in __CFRunLoopDoObservers ()
#6  0x3025486e in CFRunLoopRunSpecific ()
#7  0x3025416a in CFRunLoopRunInMode ()
#8  0x3588dbd0 in RunWebThread ()
#9  0x31d705a8 in _pthread_body ()
#10 0x00000000 in ?? ()

Thread 1 (thread 10755):
#0  0x00000000 in ?? ()

Nasty! Looks like the stack is getting corrupted so there's no stack trace to prevent. Can you step through the MAZWR internals invoked by the -target call to see exactly which line crashes? Unfortunately I don't have any 3.0 test device here to try with....

Does it make sense that it crashes when something is deallocated? I put a breakpoint inside -target and reached properly the line return [ret autorelease];. At that point I did try:
(gdb) po ret
<UIWindow_MAZeroingWeakRefSubclass: 0x1188e0; baseClass = UIWindow; frame = (0 0; 320 480); hidden = YES; layer = <CALayer: 0x1042e0>>
(gdb) t a a bt

Thread 2 (thread 11267):
#0  0x31d47158 in mach_msg_trap ()
#1  0x31d49ee0 in mach_msg ()
#2  0x30254554 in CFRunLoopRunSpecific ()
#3  0x3025416a in CFRunLoopRunInMode ()
#4  0x3588dbd0 in RunWebThread ()
#5  0x31d705a8 in _pthread_body ()
#6  0x00000000 in ?? ()

Thread 1 (thread 10755):
#0  -[MAZeroingWeakRef target] (self=0x11b520, _cmd=0x30112d6c) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/MAZeroingWeakRef.m:620
#1  0x00039424 in -[FlokiAppDelegate applicationDidFinishLaunching:] (self=0x117130, _cmd=0x30145798, application=0x115f70) at /Users/gradha/project/efaber/floki/src/global/FlokiAppDelegate.m:209
#2  0x308f15a4 in -[UIApplication _performInitializationWithURL:sourceBundleID:] ()
#3  0x308f117c in -[UIApplication _runWithURL:sourceBundleID:] ()
#4  0x309374b0 in -[UIApplication handleEvent:withNewEvent:] ()
#5  0x30936cf0 in -[UIApplication sendEvent:] ()
#6  0x3093687c in _UIApplicationHandleEvent ()
#7  0x3204696c in PurpleEventCallback ()
#8  0x30254a76 in CFRunLoopRunSpecific ()
#9  0x3025416a in CFRunLoopRunInMode ()
#10 0x308f0354 in -[UIApplication _run] ()
#11 0x308eea94 in UIApplicationMain ()
#12 0x0003bfdc in main (argc=1, argv=0x2ffff0d8) at /Users/gradha/project/efaber/floki/src/main.m:12
(gdb)

But at the time the method attempts to return (and I guess some dealloc is called) the crash happens. Trying to step into pressing shift or control didn't seem to show me anything new other than the gdb message Not safe to look up objc runtime data..

Certainly could if it was an over-release problem or something of the sort. Is it the -autorelease call that crashes, then?

The autorelease call doesn't crash, its when the method goes out of scope that something crashes. I retried linking the main.c implementation you provide with test cases, rename the main() to mazmain() and call it inside my app. As expected, TestBasic crashes when trying to read the ref variable. I put a breakpoint inside MAZeroingWeakRef::initWithTarget: and it already crashes inside there if I try to gdb "po self", since -description tries to call -target which is crashing. The crash happens before target is registered or assigned, pointig to the MAZeroingWeakRef class creation code as the culprit of the problems. This was tested on a 3.0 ipod and 3.1.3 iphone:
(gdb) t a a bt

Thread 2 (thread 12291):
#0  0x33aae488 in mach_msg_trap ()
#1  0x33ab106c in mach_msg ()
#2  0x323f5008 in CFRunLoopRunSpecific ()
#3  0x323f4c1e in CFRunLoopRunInMode ()
#4  0x3018c1dc in RunWebThread ()
#5  0x33ad8788 in _pthread_body ()
#6  0x00000000 in ?? ()

Thread 1 (thread 11779):
#0  -[MAZeroingWeakRef initWithTarget:] (self=0x2235e0, _cmd=0x3322f5ac, target=0x2233c0) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/MAZeroingWeakRef.m:595
#1  0x0008d5e0 in TestBasic () at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:140
#2  0x0008d104 in __Test_block_invoke_0 (.block_descriptor=0x2fffe090) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:80
#3  0x0008d0b2 in WithPool (block=0x2fffe090) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:69
#4  0x0008d062 in Test (func=0x8d595 <TestBasic+1>, name=0xaeb25 "TestBasic") at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:77
#5  0x0008d370 in __mazmain_block_invoke_0 (.block_descriptor=0xcad90) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:498
#6  0x0008d0b2 in WithPool (block=0xcad90) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:69
#7  0x0008d34c in mazmain () at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:497
#8  0x0003c760 in -[FlokiAppDelegate applicationDidFinishLaunching:] (self=0x21fed0, _cmd=0x3322605c, application=0x21eff0) at /Users/gradha/project/efaber/floki/src/global/FlokiAppDelegate.m:216
#9  0x324a7e90 in -[UIApplication _performInitializationWithURL:sourceBundleID:] ()
#10 0x324a7a68 in -[UIApplication _runWithURL:sourceBundleID:] ()
#11 0x324f8e00 in -[UIApplication handleEvent:withNewEvent:] ()
#12 0x324f863c in -[UIApplication sendEvent:] ()
#13 0x324f8094 in _UIApplicationHandleEvent ()
#14 0x335067e4 in PurpleEventCallback ()
#15 0x323f552a in CFRunLoopRunSpecific ()
#16 0x323f4c1e in CFRunLoopRunInMode ()
#17 0x324a6c08 in -[UIApplication _run] ()
#18 0x324a5230 in UIApplicationMain ()
#19 0x00040094 in main (argc=1, argv=0x2ffff044) at /Users/gradha/project/efaber/floki/src/main.m:12
(gdb) print self
$1 = (MAZeroingWeakRef *) 0x2235e0
(gdb) print [self class]
Unable to call function "objc_msgSend" at 0x3138cea8: no return type information available.
To call this function anyway, you can cast the return type explicitly (e.g. 'print (float) fabs (3.0)')
(gdb) print self
$2 = (MAZeroingWeakRef *) 0x2235e0
(gdb) po [self class]
MAZeroingWeakRef
(gdb) print [self target]

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00000000 in ?? ()
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on"
Evaluation of the expression containing the function (objc_msgSend) will be abandoned.
(gdb)

When I repeat this on a 4.3.5 ipad the gdb session is quite different:
(gdb) t a a bt

Thread 5 (thread 13059):
#0  0x32924c00 in mach_msg_trap ()
#1  0x3292475e in mach_msg ()
#2  0x355952be in __CFRunLoopServiceMachPort ()
#3  0x35597568 in __CFRunLoopRun ()
#4  0x35527ec2 in CFRunLoopRunSpecific ()
#5  0x35527dca in CFRunLoopRunInMode ()
#6  0x3374a284 in RunWebThread ()
#7  0x336ed310 in _pthread_start ()
#8  0x336eebbc in thread_start ()

Thread 4 (thread 12803):
#0  0x00000000 in ?? ()

Thread 3 (thread 12547):
#0  0x32927fbc in kevent ()
#1  0x35acd038 in _dispatch_mgr_invoke ()
#2  0x35ace040 in _dispatch_queue_invoke ()
#3  0x35acd5f0 in _dispatch_worker_thread2 ()
#4  0x336ee590 in _pthread_wqthread ()
#5  0x336eebc4 in start_wqthread ()

Thread 2 (thread 12291):
#0  0x329273ec in __workq_kernreturn ()
#1  0x336ee6de in _pthread_wqthread ()
#2  0x336eebc4 in start_wqthread ()

Thread 1 (thread 11779):
#0  -[MAZeroingWeakRef initWithTarget:] (self=0x241740, _cmd=0x3445be70, target=0x241d00) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/MAZeroingWeakRef.m:605
#1  0x0009234a in TestBasic () at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:140
#2  0x00091d3a in __Test_block_invoke_0 (.block_descriptor=0x2fdfd76c) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:80
#3  0x00091cd6 in WithPool (block=0x2fdfd76c) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:69
#4  0x00091c92 in Test (func=0x922cd <TestBasic+1>, name=0xb3b25 "TestBasic") at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:77
#5  0x000920f0 in __mazmain_block_invoke_0 (.block_descriptor=0xcfd20) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:498
#6  0x00091cd6 in WithPool (block=0xcfd20) at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:69
#7  0x00091fc0 in mazmain () at /Users/gradha/project/efaber/floki/external/MAZeroingWeakRef/Source/main.m:497
#8  0x0003ed32 in -[FlokiAppDelegate applicationDidFinishLaunching:] (self=0x21a280, _cmd=0x34448bdf, application=0x217360) at /Users/gradha/project/efaber/floki/src/global/FlokiAppDelegate.m:216
#9  0x3418c85c in -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] ()
#10 0x34186b64 in -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] ()
#11 0x3415b7d6 in -[UIApplication handleEvent:withNewEvent:] ()
#12 0x3415b214 in -[UIApplication sendEvent:] ()
#13 0x3415ac52 in _UIApplicationHandleEvent ()
#14 0x3414ee76 in PurpleEventCallback ()
#15 0x35594a96 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ ()
#16 0x3559683e in __CFRunLoopDoSource1 ()
#17 0x3559760c in __CFRunLoopRun ()
#18 0x35527ec2 in CFRunLoopRunSpecific ()
#19 0x35527dca in CFRunLoopRunInMode ()
#20 0x34185d48 in -[UIApplication _run] ()
#21 0x34183806 in UIApplicationMain ()
#22 0x00042886 in main (argc=1, argv=0x2fdff05c) at /Users/gradha/project/efaber/floki/src/main.m:12
(gdb) po self
<MAZeroingWeakRef: 0x241740 -> <NSObject_MAZeroingWeakRefSubclass: 0x241d00>>
(gdb)

The thing that is strange is... what are those __Test_block_invoke_0 doing? I thought iOS 3.x didn't have support for blocks, which was only available since iOS 4.x? Maybe everything is fine but some blocks code is run when it should not?

Well that was easy! Setting USE_BLOCKS_BASED_LOCKING to zero makes the code run again on the ipod. No idea on the compiler support, since I'm using iOS 5.0 with deployment for 3.0, so it seems you would need a runtime based check rather than compile time for the code to use the blocks based implementation on 4.0 and upwards.
Thanks for the help in finding the problem.


dwarf-fortress: Fix themes & package Legends Browser

Motivation for this change
Theme support was broken, throwing errors if used.
Legends-browser is useful, and a good addition to the pack.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-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)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval


[Backport release-24.11] hyprland: 0.45.2 -> 0.46.2, hyprland-qtutils: init at 0.1.1, hyprgraphics: init at 0.1.1, hyprpaper 0.7.1 -> 0.7.2, xdg-desktop-portal-hyprland: 1.3.6 -> 1.3.9, aquamarine: 0.4.4 -> 0.5.1, hyprlandPlugins: version bumps and update script tweaks

Backport

https://github.com/NixOS/nixpkgs/pull/367113
https://github.com/NixOS/nixpkgs/pull/365776
https://github.com/NixOS/nixpkgs/pull/358565
https://github.com/NixOS/nixpkgs/pull/367355
https://github.com/NixOS/nixpkgs/pull/365295
https://github.com/NixOS/nixpkgs/pull/367337

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Hyprland 0.46.0 has breaking changes, and Aquamarine 0.5.0 breaks ABI compatibility. Are you sure this should be backported?

You're right, we should probably not merge this.
Until next NixOS release. :wave:


error in pcl xamarin doid project

Version with issue: 2.3.6

Platform: andoid

System.TypeLoadException: Could not resolve type with token 01000035 (from typeref, class/assembly FFImageLoading.Views.ImageViewAsync, FFImageLoading.Platform, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null)
Screenshots

Reproduction Link / Code

Exception is self explanatory, you're missing FFImageLoading.Platform assembly. You must install FFImageLoading package to all of your projects, then remove all bin / obj folders to be sure it's not a VS issue.


Update hacs.json(Wrong file name)

v0.3.22 download failed

@hw2292
as current repo is not active more than 6 months.
we have forked it and consider to maintain it in futuer.
https://github.com/wuwentao/midea_ac_lan
PR is welcome
Thanks


redux-immer: one time only produce.

Is your feature request related to a problem? Please describe.
no
Describe the solution you'd like
improve performance and use standard reducers
Describe alternatives you've considered
nothing
Additional context
https://github.com/salvoravida/redux-immer
Hi, i want to suggest redux-immer:
redux-immer is used to create an equivalent function of Redux combineReducers that works with immer state. Like redux-immutable but for immer
Features:
*one time only produce
*standard reducers
If you think it is a good idea, i could work on a PR.
Salvo

I like the idea that this removes code but:

Do we want to completely hide immer and the produce function? I feel like that's a step too far. You might forget that you're using the draft and that it doesn't work exactly the same as if you were actually mutating your state.
The generators are there to write this code for you anyway.
This library isn't tested.

@julienben i agree that redux-immer will hide produce and draft, but you have cleaner code in every reducer and more important it will invoke one time only "produce"
that said it's your choice. thank you for your answer.


APA102 last LEDs in string have wrong colors.

Hi TVdzan,
I'm using Hyperion with APA102 LED strip with 240 LEDs (4 meter).
The last three LEDs are not updated and display wrong colors.
This is because the “End frame” needs to supply more clock pulses to the string until the data has permeated to the last LEDs. The total number op clock pulses needed for the END frame is the number of used LEDs divided by two. So for a string with 240 LEDs, 120 clock pulses are needed in the END frame.
I know, the datasheet is not clear on that. I have tested it, and this works.

I happen to have this LED strip and can test it. Once there is an update, I will test it and give you feedback.
I hope this gets fixed soon. :-)
Regards,
Jack.

It's already been fixed and merged.
https://github.com/tvdzwan/hyperion/commit/44107997d92d729f84adee368d12e35f1b5be6f1

should be closed


Update images-test.md

Following branding guidelines
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for the suggested changes. We are recently moving away from using "AWS Lambda" in topic titles, but the first mention of Lambda in the page text should be "AWS Lambda". I will correct it that way in the source file. On the question of "Lambda function" versus "function", the Lambda dev guide uses both forms equally. I think it depends on context, so I will review this section with our editor.

Thank you for the suggested changes. We are recently moving away from using "AWS Lambda" in topic titles, but the first mention of Lambda in the page text should be "AWS Lambda". I will correct it that way in the source file. On the question of "Lambda function" versus "function", the Lambda dev guide uses both forms equally. I think it depends on context, so I will review this section with our editor.


Fix permission problem

An authorized user for viewing the index page was not able to save
a pivot table query due to some authorization problems.
Tests are also fixed by adding params hash to requests.

ActionView::Template::Error (undefined method `exists?' for File:Class):
13:     <%= javascript_include_tag 'd3.min.js', :plugin => 'redmine_pivot_table' %>
14:     <%= javascript_include_tag 'c3.min.js', :plugin => 'redmine_pivot_table' %>
15:     <%= javascript_include_tag 'c3_renderers.js', :plugin => 'redmine_pivot_table' %>
16:     <%= javascript_include_tag @language_js, :plugin => 'redmine_pivot_table', :media => "all" if javascript_exists?(@language_js) %>
17: <% end %>
18:
19:


I can't find the property of 'snp_topLayoutGuideTop'

New Issue Checklist
🚫 If this template is not filled out your issue will be closed with no comment. 🚫

[x] I have looked at the Documentation
[x] I have read the F.A.Q.
[x] I have filled out this issue template.

Issue Info

Info
Value

Platform
e.g. ios

Platform Version
e.g. 10.0

SnapKit Version
e.g. 3.1.2

Integration Method
e.g.cocoapods

Issue Description
I can't find the property of 'snp_topLayoutGuideTop', where is it?
How can I use it in Snap_Kit 3.1.2

@JxbSir see the Swift 3.0 migration guide https://github.com/SnapKit/SnapKit/blob/master/Documentation/SnapKit 3.0 Migration Guide.md it has info about how the API's changed since older versions SnapKit running on Swift 2.3


Allow canary releases

Description:
https://github.com/actions/runner-images-internal/issues/4457
Related issue:
Add link to the related issue.
Check list:

[ ] Mark if documentation changes are required.
[ ] Mark if tests were added or updated to cover the changes.

The PR to be abandoned for sake of this PR https://github.com/actions/setup-node/pull/619

I'm going to close the pull request in favour of this: https://github.com/actions/setup-node/pull/655


Error during template compile of 'AppModule'

The error occurs after the command:
ng run projectName:server && webpack --config webpack.server.config.js --progress --colors
The likely cause is the use of scoped modules i.e. @environment.
I've tried mirroring the client-side tsconfig.json by adding the following tsconfig.server.json file:
"paths": {
  "@core/*": ["src/app/core/*"],
  "@shared/*": ["src/app/shared/*"],
  "@environments/*": ["src/environments/*"]
}

Nevertheless, the error persisted.
Any ideas on how to fix the issue?

Could you provide a repository for your application? It would be easier for me to debug existing app, then create new from scratch.
Thanks in advance :)


Pagination in tab section

In my project i need pagination in tab section (Edit). For example, using your demo i want to have the possibility to paginate the reviews of a poster. Is it possible to do that? And if it is possible, how can i do that?

You have to edit ReferenceManyField.js file to get it working. It already accept perPage props, but page is hard coded to 1. After this, add pagination button and send props to ReferenceManyField.

ReferenceManyField does not support pagination. You'll have to write your own component for that.


Bugfix/buffer scrollbar fixes

This PR fixes #2114 and a few issues with the buffer scroll bar
The first issue relates to #2114 which was the fact the the buffer bar lagged behind if the window was resized. The specific change that fixes this is changing the position from absolute to fixed
The other issue was that the error markers weren't rendering correctly i.e. only one error marker was shown in the buffer because the uniqBy function was filtering by Id but actually there was no id prop. Ive changed this to filter by line so the scroll bar just shows errors by line, meaning you now get multiple errors in the scroll bar based on position
Also took the opportunity to change the components to styled components with dynamic attrs and added keys to the error components

would appreciate a review @CrossR or @TalAmuyal, this fixes a UI issue which was really annoying me which is that there was a lag when resizing the window so the scrollbar would visibly be slow to move when resizing the original issue has a GIF also fixed an issue where error markers weren't being shown properly on the scrollbar


Keys of hash are modifyable, leads to unexpected behavior

In case of MRI the keys returned by Hash#keys are frozen.  However they are not frozen in case of mruby, and leads to unexpected behavior when being modified.
$ bin/mirb
mirb - Embeddable Interactive Ruby Shell

> h = {"AAA" => "b"}; h.keys[0].chop!
 => "AA"
> h
 => {"AA"=>"b"}
> h["AA"]
 => nil
> h["AAA"]
 => nil

I have not gone through the ISO specification of Ruby, but I believe that the keys should be frozen in case of mruby as well.

I know it's safer, but it also consumes more memory (both code size and copied keys). SInce mruby should be memory efficient, I hesitate to seek safety over memory.

Thank you for the response.

I know it's safer, but it also consumes more memory (both code size and copied keys). SInce mruby should be memory efficient, I hesitate to seek safety over memory.

The points make sense, however my understanding is that it can be fixed at least in the same way as done in MRI now that you have implemented String#freeze.
Anyways I have opened a PR that does it.  I am sorry for bothering you in this corner case, but I would appreciate it if you could take a look at it.  Thank you in advance.

OK, we already dup the key, so adding frozen flag is nothing.  I will merge #2947


Need to support registering/unregistering for events

One of the last major pieces of missing functionality is registering for events.
Current I work around this by leveraging custom controls and exposing the results of the events in properties that are read. It would be better to expose some sort of IObservable style API that allows registering for events.

This technically has an API, but it would be nicer to have the API expose something like an IObservable


how to integrate a  authority system to cas?

hello,I want to achieve a authority system in order to manage users,roles and functions uniformly in cas ,i consider it should be expanded by one point ,but i find none,so,if i import a authority system,what shoud i do?

If you need a comprehensive authorization platform, you want to check out the Internet2 Grouper project. If you need to manage identities, you need a person registry. There is OpenRegistry, CPR and many other person registries.
You may also want to check out the TIER project.
Please use the CAS mailing lists for additional questions.


rpc: add blockheight to WalletTxToJSON

This pull request implements an enhancement to the existing functionality of the RPCs using WalletTxToJSON. It introduces the addition of a "blockheight" field, which allows for easy referencing of the height at which a transaction was included in a block. This enhancement can be particularly useful in scenarios such as performing a rescan, where determining the wallet height of the first transaction becomes important.
Will be used in a future Toolkit update.

This will be very useful!


⚠ Jenkins Plugins Artifactory has degraded performance

In b367079, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1320 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 539fccc after 48 minutes.


Unable to Inject scripts on remote web page

with Xcode 7 ,Cordova IOS 3.9.2 , IOS 9.2 , its keep giving error (white list rejection) on xcode console  even though manifest.json has entry under mjs_extended_scope for that domain ending with "" and in config.xml domain has allow navigation plus access origin to "" .
even though xcode shows error page opens correctly in app.  only problem on that page no cordova plugin is accessible.

Can you share your manifest?  I'll take a look

I have attached , also putting entries here
{
"name": "csv",
"short_name": "csv",
"start_url": "http://cacdtl02rr2340.itservices.com:8000/CSV_WL/apps/CSV/common/index.html",
"mjs_cordova": {
"plugin_mode": "client"
},
"mjs_import_scripts": [
{ "src": "js/index.js" }
],
"mjs_api_access": [
{ "match": "http://cacdtl02rr2340.itservices.com:8000/CSV_WL/apps/CSV/common/*", "access": "cordova", "platform": "android,ios,windows" }
],
"mjs_extended_scope": ["http://cacdtl02rr2342.itservices.com:8000/CSV_WL/apps/CSV/common/*"],

// without adding mjs_access_whitelist it was not working .
"mjs_access_whitelist":[{"url":"http://cacdtl02rr2340.itservices.com:8000/*"}]
}
if I don't add ms_access_whitelist it stops loading page with error white list rejection. I created the android app and it works absolutely fine in android , manifest is same in android except I did not need to add entry for ms_access_whitelist in android version
manifest.txt

mjs_extended_scope is designed to replace the more confusing mjs_access_whitelist.  To be clear you saying that the extended scope basically didn't work in your iOS project, but when you want back and added the access whitelist then it did?
Also, it sounds like you are able to use the whitelist as a workaround until we get the fix deployed?

Yes thats correct  I am using whitelist as a workaround , I debug the code little and put some logging what I have seen cordova.js injected properly on web pages but hostedapp-bridge is failing. in logs it shows hostedapp-bridge.js injected but on browser it shows only cordova.js , hostedapp-bridge,js failed due to "chordova channel not triggered". I think thats why plugins are not loading..
second suggestion only : whitelist plugin allows "file://" URL but when using manifold plugin even in middle of transactions if I want to use "file://" url then i need to put that entry in mjs_access_whitelist otherwise manifold plugin gives white list rejection error. this case is with IOS only. in Ios code under scheme we should also include file.

Sorry about that.  We'll get fixed in the next release.  Also, thanks for the work around :)

looks like the issue is iOS only, and in this code chunk https://github.com/manifoldjs/ManifoldCordova/blob/2c42e4f9360cf6540a75897729645e238fcd4893/src/ios/CDVHostedWebApp.m#L513


Add Joshwoo69sRandommods

Closes #2568

I'm really not sure what to do with this. There are so many patches for so many different mods. One patch even requires a manual renaming because it breaks saves (SAS all the command modules!.change this behind dot to cfg).
I'll think on this and come back to it down the line (probably days from now, possibly longer).

Still not sure whether we should split this into its component parts (as some parts are listed in the forum thread as not working), close this until there's a full release (this is currently in-dev), or just merge as is (after getting a Jenkins rebuild).
I leave the decision to you @Olympic1. =)

Closing as I'm not sure either


Rest User

Hi,
could you please reset my user account guettli
I created a snippet several years ago: https://djangosnippets.org/snippets/646/
I would like to update the text to:

You can use the pytest-django setting FAIL_INVALID_TEMPLATE_VARS
The invaild vars get checked if pytest executes the code.
[pytest]
DJANGO_SETTINGS_MODULE = mysite.settings
FAIL_INVALID_TEMPLATE_VARS = True

My old email-address<EMAIL_ADDRESS>does not exist any more.

Hi Thomas
Thanks for getting in touch. Can I change your email address to<EMAIL_ADDRESS>

Hi Thomas
Thanks for getting in touch. Can I change your email address to<EMAIL_ADDRESS>


 There are currently three groups still running on CircleCI:

CMake: migration is happening in #7417. Since that one is not merged yet, I'm marking this PR as draft to avoid accidental merges.
Docker build: Closes #7610. As explained there, this job isn't running currently and no longer has a purpose.
Lint: This is a self-serving job to check that the config.yml is in sync with the template config.yml.in and the render script regenerate.py. This is moot if we kill CircleCi.

cc @seemethere

dcba18896f81955876717252924bedb638c9758e also cleans up the packaging folder that currently still contains a lot of scripts that were only used on CircleCI.


Feature request: bounds_check header in python package

I think it would be useful if "tensorflow/core/kernels/bounds_check.h" was included in the python package, so that FastBoundsCheck() can be used in a custom Op when building against the binary package.
I patched this manually by adding bounds_check.h to framework_headers in tensorflow/core/BUILD:
diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD
index 2c936bd..44210f7 100644
--- a/tensorflow/core/BUILD
+++ b/tensorflow/core/BUILD
@@ -1136,6 +1136,7 @@ filegroup(
         "framework/type_traits.h",
         "framework/types.h",
         "framework/unique_tensor_references.h",
+        "//tensorflow/core/kernels:bounds_check.h",
         "lib/core/errors.h",
         "lib/core/notification.h",
         "lib/core/refcount.h",

I'm not sure if this is the correct way of doing this, so I'm making a feature request instead of a pull request.
Thanks!

Nice, please submit a pull request.

This has been  #superseded by issue #4996 and is no-longer required.
Thanks for your consideration.


[YouVersion Bible Suggest] Changelog Not Updated Since Latest Publish to Store

Extension
https://www.raycast.com/caleb531/youversion-suggest
Description
I recently submitted an update to my extension back in #5889. It was approved/merged/published on 4/11, however my updated changelog (which was part of that PR) has not been updated on the Store page for my extension (still showing v2.0.0, but should be showing v2.1.0).
In other words, this bug has more to do with the publishing of my latest extension to the Store than any issue with the extension code itself.
I did also install the extension from the store, and it does seem to be the latest release from my PR, however I would otherwise have no way of knowing if the latest release is correctly published.
The changelog is in the same format that has been correctly recognized before (in my previous releases of the extension), so I'm not sure why it's not working now.
Steps To Reproduce

Visit https://www.raycast.com/caleb531/youversion-suggest/changelog

Current Behaviour
The latest version in the Changelog is showing v2.0.0.
Expected Behaviour
The latest version in the Changelog should actually be v2.1.0, per my PR.

Closing this issue because I found that my Changelog is using # for my newer releases when it should be ##. Also will be adding the missing square brackets, per the docs. I believe both of these will fix my issue.


lightbox: add download button to bottom app bar

Pull Request
Description
This merge request introduces a new Download Image button to the bottom app bar, enabling users to download images. Upon tapping the button, the image is downloaded via a network request and saved to the device's storage. Additionally, the media scanner is triggered to ensure the image appears in the gallery. The functionality includes error handling and displays a SnackBar notification to inform the user of success or failure.
A MethodChannel ("gallery_saver") has been added to invoke the media scanner after the download is completed.
Related Issues

Closes #42

Screenshots

Before
After

Additional Notes

The network request for downloading the image handles success, failure, and timeouts.
A test has been implemented to verify the download button functionality, ensuring the correct behavior is triggered and the SnackBar is displayed appropriately.

@chrisbobbe I've made the changes as mentioned, Please take a look when you have time, Thank you.

See also the chat thread I started for sorting out the available APIs here:
https://chat.zulip.org/#narrow/channel/243-mobile-team/topic/Android.20APIs.20for.20downloading.20an.20image/near/2010826
I'd like to hear there much the same information I asked for at https://github.com/zulip/zulip-flutter/pull/1144#discussion_r1893430841 above — that'd help us compare this API to alternatives and work out what solution we want.


Update russian translation

I think for translations you need to use the speadsheet and then Peter merges the changes.

We've used this spreadsheet and I've made PR accordingly this doc.

Oh, nice. Thanks for taking the time to provide this as a PR!

BTW: would you mind to 'sign' the contributor license? To (additionally) confirm that we can release your work under the Apache License.

Of course.

Thanks!

I've updated code from this repository and rebuilt my WAR-file, but new translation does not show up.

You have to rebuild the core jar too: cd core; mvn -DskipTests=true clean install
Or instead of this lengthy process you setup your IDE (like netbeans or intelliJ) which will auto-compile on save

Thank! It works.


Works slowly when I fast switch between sliders programatically with mSlider.setCurrentPosition(idx);

Works slowly when I fast switch between sliders programatically with mSlider.setCurrentPosition(idx);
for example I set setCurrentPosition  using my prev and next buttons (I'm developing audio player and use the slider to show audio file album art)
I even bypass loading images, but it's still slow even with empty sliders
protected void bindEventAndShow(final View v, ImageView targetImageView){

        if (true) return;

        ...

there is still a lot problem with that setCurrentPosition:
https://github.com/daimajia/AndroidImageSlider/issues/63
https://github.com/daimajia/AndroidImageSlider/issues/349
this is the biggest problem of this library

it's also slow if just use moveNextPosition or movePrevPosition, it switch only first seconds, but if I fastly press next or prev buttons it becomes freezing later

at least it works ok with moveNextPosition, I need setCurrentPosition only if I jump over 1 or more songs


Support for trigonometric functions

Describe the solution you'd like: Support for trigonometric functions, e.g. sin cos tan. Can be implemented using the MacLaurin series.
Describe alternatives you've considered: https://github.com/eobermuhlner/kotlin-big-math

I had a look at what this might look like in Kotlin and got a mostly-working implementation for sin(x), but the one place I'm not 100% sure of is rounding.
Because it's Kotlin, using lazy sequences seemed like an appropriate way to deal with infinite series.
The general gist:
abstract class SeriesCalculator {
    fun calculate(x: BigDecimal, decimalMode: DecimalMode): BigDecimal {
        val oneMoreDigitDecimalMode = decimalMode.copy(decimalPrecision = decimalMode.decimalPrecision + 1)
        val epsilon = BigDecimal.ONE.moveDecimalPoint(-oneMoreDigitDecimalMode.decimalPrecision)

        val powerSequence = createPowerSequence(x, decimalMode)
        // TODO: This sequence can be cached, but I'm not entirely sure how just yet
        val factorSequence = createFactorSequence(decimalMode)

        return powerSequence.zip(factorSequence)
            .map { (a, b) -> a.multiply(b, oneMoreDigitDecimalMode) }
            .takeWhile { step -> step.abs() > epsilon }
            .fold(BigDecimal.ZERO) { acc, step -> acc.add(step, oneMoreDigitDecimalMode) }
            .roundSignificand(decimalMode)
    }

    /**
     * Implemented by subclasses to create an appropriate sequence of powers for the series.
     */
    abstract fun createPowerSequence(x: BigDecimal, decimalMode: DecimalMode): Sequence<BigDecimal>

    /**
     * Implemented by subclasses to create an appropriate sequence of factors for the series.
     */
    abstract fun createFactorSequence(decimalMode: DecimalMode): Sequence<BigDecimal>

    /**
     * Utility function for subclasses to use which produces a sequence of all powers of `x`,
     * starting at 0.
     */
    protected fun createAllPowersSequence(x: BigDecimal): Sequence<BigDecimal> {
        return generateSequence(BigDecimal.ONE) { n -> n * x }
    }

    /**
     * Utility function for subclasses to use which produces a sequence of all factorials,
     * starting at 0! = 1, then 1! = 1, 2! = 2, 3! = 6, etc.
     */
    protected fun createAllFactorialsSequence(): Sequence<BigDecimal> {
        return sequence {
            var n = BigDecimal.ONE
            var i = 0
            while (true) {
                yield(n)
                i++
                n *= i
            }
        }
    }
}

And then for sin(x):
object SinCalculator : SeriesCalculator() {
    override fun createPowerSequence(x: BigDecimal, decimalMode: DecimalMode): Sequence<BigDecimal> {
        return createAllPowersSequence(x)
            .filterIndexed { i, _ -> i % 2 != 0 }
    }

    override fun createFactorSequence(decimalMode: DecimalMode): Sequence<BigDecimal> {
        // XXX: No constant for -1 and there's probably a better way to do this sign flipping anyway
        var sign = BigDecimal.ZERO - BigDecimal.ONE
        return createAllFactorialsSequence()
            .filterIndexed { i, _ -> i % 2 != 0 }
            .map { n ->
                sign = -sign
                sign * BigDecimal.ONE.divide(n, decimalMode)
            }
    }
}

Test:
class BigDecimalTrigTest {

    @Test
    fun sinTest() {
        val decimalMode = DecimalMode(decimalPrecision = 20, roundingMode = RoundingMode.ROUND_HALF_TO_EVEN)

        assertEquals(
            BigDecimal.parseStringWithMode("0", decimalMode),
            BigDecimal.parseStringWithMode("0", decimalMode).sin()
        )

        assertEquals(
            BigDecimal.parseStringWithMode("0.19866933079506121545", decimalMode),
            BigDecimal.parseStringWithMode("0.2", decimalMode).sin()
        )

        assertEquals(
            BigDecimal.parseStringWithMode("0.38941834230865049166", decimalMode),
            BigDecimal.parseStringWithMode("0.4", decimalMode).sin()
        )

        assertEquals(
            BigDecimal.parseStringWithMode("0.56464247339503535720", decimalMode),
            BigDecimal.parseStringWithMode("0.6", decimalMode).sin()
        )
    }
}

The result is basically correct:
java.lang.AssertionError: expected:<1.9866933079506121545E-1> but was:<1.9866933079506121546E-1>

The expected values were determined using bc, so I'm sure the difference is going to be something subtle about what rounding mode bc is using vs. what I chose for the test.

Hi @hakanai , thanks for effort, hopefully I'll have some time over weekend to look into this more, but no guarantees. If you make more progress and get a pull request up that would be great!

I was trying to figure out whether Kotlin had a thread-safe way to cache the values, but it really seems like the core Kotlin class library pretends that multithreading doesn't exist, and to get any kind of synchronisation you have to depend on coroutines or similar. I don't think they considered the possibility that library code might want to be thread-safe while not using multithreading itself!
And since this library is currently dependency-free, it may be fine to just forget about caching the sequence for now. The need for DecimalMode makes it complicated anyway. That other library gets to avoid the problem because they have a BigRational class which doesn't need precision.
The code to sum the sequence can still be shared between multiple sequence classes. I wrote cos and exp and the story is similar for those.
At this point the main issue is figuring out why the expected results differ from the actual results even if I increase the precision. It could be that the extra precision we need to use when computing the sum is much higher than just one more decimal place.

I created #235 with exp, sin, cos, tan, sinh, cosh, tanh, which is about half of what you'd want.


[FR] Format callout for muti-paragraphs

Expectation 1
selected text:
line1
line2
line3
line4

result:
> [!NOTE] line1
> line2
> line3
> line4

Expectation 2
selected text:
line1

result:
> [!NOTE] line1
>

continuity:

last used
the last type in the current note
the last type before the cursor in the current note

Detect if the selection is callout format already. If yes, then update the callout type as settings

The cursor should stay at the original place, not the end of the paragraph


Add storing creation date on new file creation

Implements #12

I see there are some other PRs open that might conflict with this, and also not sure if this is still being maintained but thought I'd throw this in there @alangrainger in case you get some time to circle back to this plugin. Thanks!

Ooh, I learned something new -- I didn't even know that feature existed, thank you! I definitely agree then, that makes way more sense. And not a worry at all, it was a fun ~20 minute feature to write, thanks for responding! :smile:


Unable to acquire GLFW window context!

Firstly, I apologize for the exclamation point in the issue title. It's part of the error message. I don't want to come across as being upset.
So the error output I'm getting is the following:
Initializing ...
/Library/Ruby/Gems/2.0.0/gems/opengl-glfw-0.4.6/lib/glfw/window.rb:43:in `initialize': unknown error - Unable to acquire GLFW window context! (SystemCallError)
	from /Users/requnix/Code/github/npomf/bonsai/lib/app.rb:60:in `initialize'
	from res/init.rb:21:in `new'
	from res/init.rb:21:in `<top (required)>'
	from engine.rb:13:in `load'
	from engine.rb:13:in `<main>'

I'm just trying to see if I can get an instance of Bonsai running. I am on a Mac running OS X  10.11.5. The steps I've taken to get this far:

I cloned the following repos of yours:

bonsai
oggopusfile-ruby
openal-ruby
opengl-ruby
promises

I then installed all the optional gems into my system Ruby (MRI 2.0.0). I also installed what I could through Homebrew, basically openal-soft, opus, opusfile and glfw3.
Then I built and installed each of your gems from their master branches, with the exception of opengl-glfw which I had to modify to point to the glfw3.dylib in /usr/local/opt/ instead of /System/Library/Frameworks/ because I couldn't copy or symlink it there (due to it being a system folder, I think).
At first I got an error about it not finding GLFW until I made that change. Now this is the current error and I don't really have enough context to figure out what's causing it, so I thought you might be able to point me to the problem.
In case it matters, the version of GLFW I have installed is 3.1.2. I see 3.2 is available, so if it's needed I'll try manually building it.

Just to clarify, I have manually built libglfw.dylib at version 3.2 and I still get the same error, so it is not due to having an older version. Which makes sense since the last commit to this repo was in April, and GLFW 3.2 is presently only 10 days old.

@requnix Unfortunately I do not have an OSX system to develop with, but I've encountered the same issue whilst working in a Linux (Debian) VM.  This was coming up when the default initialization script was allowed to run with default options, which mandates OpenGL 4.5.  Since the Linux VM could not produce a compatible context, it would fail.
Here's the code which raises the error, starting at line 31 of glfw/window:
# get screen dimensions, create window
vidmode = GLFW::VideoMode.current()
dim_x, dim_y = vidmode.width, vidmode.height
@pointer = glfwCreateWindow(
    @width = (not width.nil? and width > 0 ? width : dim_x),
    @height = (not height.nil? and height > 0 ? height : dim_y),
    title,
    fullscreen ? glfwGetMonitors() : nil,   # span all monitors if fullscreen
    nil
)

# fail if things did not work
raise SystemCallError, "Unable to acquire GLFW window context!" if @pointer.null?

Try running the following and see if it alleviates your problem; you can substitute the dimensions for whatever values you desire:
ruby engine.rb null 1280 800 GL2.1

If this works, it's possible that your OpenGL drivers do not support or expose a higher level of the API, in which case the gl/objects middleware will not be functional due to the dependency on features introduced in GL 4.5.
This should hopefully not be too great an impediment, though, as you can always implement your own scene graph through Bonsai.  As a future project, I may attempt to add in GL 3 and lower compatibility for single-threaded rendering and context manipulation.

Thanks, that indeed got me past that error. I guess that means modern Macs don't have cutting-edge OpenGL. Do you know of an easy way to check the version?
I'm getting an OpenAL dylib error now which I need to fix before I can get Bonsai running. I get a totally different error when trying to use JRuby <IP_ADDRESS>. It seems it tries to run NSUndoManager methods in a thread other than the main thread, which crashes the whole thing. Any ideas there?
Thanks for the speedy reply by the way. I'm really looking forward to building things with Bonsai!

Looks like this table should provide you the maximum GL version your device can run:
https://support.apple.com/en-us/HT202823
Executing this command will tell you driver details:
glxinfo | grep "OpenGL version"

As for the OpenAL issue, that might be related to some legacy code I had ported.  I do not have an OSX environment to develop with, so the path names in the FFI libraries are all cobbled together from details I could find online.  You might have to modify the library code itself to correctly point to the dynlib file needed.  Otherwise it might be due to a lack of OpenAL SOFT libraries, which I ended up using for support due to deprecation and licensing problems with the original OpenAL API.
You can find it here under the Download header:  http://kcat.strangesoft.net/openal.html#download
(Depending, you may be able to use Homebrew to install a precompiled binary version, too.  I'm fairly certain Linux has an OpenAL-SOFT package floating around, so it would not surprise me if some OSX developers have ported and maintained it as well.)
I would raise the JRuby issue with the JRuby developers, as it might be indicative of a problem with the cacao implementation or other specifics with the JVM on OSX.

Great, that definitely explains it.
OpenGL renderer string: Intel(R) Iris(TM) Graphics 6100
OpenGL version string: 2.1 INTEL-10.14.66

That's probably not going to work. I forgot that Intel doesn't really like OpenGL.
I installed openal-soft from Homebrew without any issues. But am struggling to find where the OpenAl dylib is by default, as it's not under /System/Frameworks/OpenAL.Framework/. At least not as a dylib. I'll try using OpenAL which is there in case it's a dylib otherwise I'll use libopenal.dylib from OpenAL SOFT.

So after some investigation (sorry, I'm not a game developer) it seems my system supports up to OpenGL 4.1 and not much newer. Apparently, (according to this SO answer) GLFW is meant to use the Cocoa bindings in some way to get a context. XQuartz (the X11 window manager in OS X) is limited to a 2.1 context.
My guess is there's some way to get the appropriate context either with GLFW or with an extension loader of some kind.


Application isn't working

Describe the bug
I provided the token and channel ID and then chose the settings that I wanted for the grinder.  Once I was done I clicked on "Bot 1 Disabled (to enable it).  After doing so, the grinder indicated that it was an invalid channel.. I think that a server ID should be implemented into the grinder.  This will make it easier for the bot to go through the necessary steps to reach the channel it should be grinding in.
OS:
MacOS

Duplicate of #123


Ability to disable self cluster connect while install of litmus using helm.

Provide an option to disable/enable the self cluster to connect while installing litmus.
In values.yaml, we can have an option to true or false. By default, let's keep it true so that no change in current behaviour.

close in favor of https://github.com/litmuschaos/litmus/issues/2590


replace -Qua and -Qur with -Qun and -Qum

Following discussion in #580.
Query local packages as the AUR doesn't make sense. Pacaur is built upon pacman/makpekg, not the other way around. True, there is -Qu which checks update against the sync database, so -Qua was added. But if there is something to fix here, that would be to change it to -Qum.
[...] I should replace -Qur by -Qun (for --native) and -Qua by -Qum (for --foreign). The -Qu shortcut will still display both, as it is the case as of now.

See also #584 as the same issue applies here.

Done in 7b1eb8b92fd7035028dcd596c7acca81dd467e8e.

Could these commands receive any argument? I am updating the ZSH completion file.


Can't update user without entering role

When updating an existing user, unable to save changes unless entering a valid role (even when attempting to leave role as is)

Is this when trying to update via the CLI? If so, this may be an issue with the CLI not properly handling the enum data type.

Thanks for the confirmation.  This is what I am being lead to believe in my search now as well.  I'll move this over to sevr-cli.  It seems the validation isn't displaying anymore either.


Parameterize TD server and dogfooding tag

If we want to switch TD server and agent pool, we need to make changes to the code. This PR makes them parameters that we could change via CLI args.
This will make it a bit easier to change the parameters.

I've triggered the following builds for you. Click here to see all build failures.

Pull Request Feedback (Trigger)(Linux) (Check)

I've triggered the following builds for you. Click here to see all build failures.

Pull Request Feedback (Trigger)(Linux) (Check)

We eventually need this on release7x, release, and master.


write OH forum post re: data selfies

done: https://forum.openhumans.org/t/new-feature-data-selfies/29


Virtual keyboard is using Emojis to display left and right arrow keys

Hello,
the virtual keyboard in ConnectBot is using the "arrow backward" (U+25C0) Emoji to display the arrow left key and is using the "arrow forward" (U+25B6) Emoji to display the arrow right key.
Here is a screenshot which shows the issue:

Tested on an LG G2 running the stock LG Android 5.0.2 Lollipop ROM using ConnectBot 1.8.6 from the Google Play Store.
Since this is not happening for the up and down arrow keys, I would assume that this is a bug?
Could you please fix it?
Regards

PS:
I just found the following pull request after having submitted this issue:
https://github.com/connectbot/connectbot/pull/127
So, this actually seems to be intentional.
But it still doesn't explain why it's only using the Emojis on the left and right arrow keys.
Anyway, IMHO you should rather use the Google Material icons for the virtual keyboard, which would also fix this issue.
I've submitted a feature request for it over there:
https://github.com/connectbot/connectbot/issues/162
Regards

Argh, these geometric shapes were well before Emoji were standardized. I'm not sure why they co-opted this to code point to be in the Emoji group.

@kruton wrote:
I'm not sure why they co-opted this to code point to be in the Emoji group.

It is explained in the following video presentation of Mark Davis from Google, see (explanation starts at 07:35 min):
https://www.youtube.com/watch?v=-n9ONNeACyw
:wink:
The video also mentions a solution to this issue (starting at 08:35 min).
The solution is called "Emoji Variation Selectors", see:
http://www.unicode.org/reports/tr51/index.html#Emoji_Modifiers_And_Variation_Selectors
and:
http://www.unicode.org/reports/tr51/index.html#def_emoji_variation_selector
:smiley:
However, even though this issue (https://github.com/connectbot/connectbot/issues/161) could be fixed with Emoji Variation Selectors, I think it should rather be fixed by using Material icons as requested in https://github.com/connectbot/connectbot/issues/162.
Regards


Set correct installation path for luv module on non-WIN32 targets

The search path for loading binary modules with the require function is
LUA_ROOT "lib/lua/" LUA_VERSION_MAJOR "." LUA_VERSION_MINOR on non-WIN32
targets.
Let us use this default path for installing the luv module. This allows the user to use
local uv = require('luv')

from every directory path.

I've never used this use case, but it sounds like a great change. +1

+1


Modify Skills with spaces not possible

Hey Dev,
I am just struggling with adding a modifier to skills with a space like "Common Knowledge" or "Unskilled Attempt", but also specializations like Performance (Hornpipe) would be feasible.
Is there a way to make it work? I tried it with - instead of space and with encapsulating with " but so far no success. Any hints?
Best regards,
Marc

It worked when I closed the window. Strange.


Add support deck in jupyter notebook

TL;DR
Add support deck in jupyter notebook. Example: https://github.com/pingsutw/flytekit/blob/deck_jupyter/example_deck.ipynb
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description

Tracking Issue
https://github.com/flyteorg/flyte/issues/
Follow-up issue
NA

Few updates,

Refine the code
Fix the bug in the jupyter lab
Will not output any files when running in jupyter.
Combine all the output HTML files (input.html, output.html, default.html) into the single one (deck.html)

@kumare3 mind taking a look. The new UX in the jupyter notebook will be like
@task()
def t1():
    df = pd.DataFrame({"Name": ["Tom", "Joseph"], "Age": [20, 22]})
    flytekit.Deck("demo", TopFrameRenderer().to_html(df))
    return

with flytekit.new_context() as ctx:
    a = t1()
    ctx.display_deck()

I think that looks good 👍🏽


promtool: Ensure alert rules are marked as restored in unit tests

This makes sure the ALERTS timeseries is created when unit testing
alerting rules.
Signed-off-by: David Leadbeater<EMAIL_ADDRESS>

cc @simonpasquier -- as a maintainer of promtool

Not sure if that is the right fix ; shouldn't that happen out of the box? What are we doing wrong now?

Essentially it's done by the rule code when needed.
This code reimplements that run function, as it needs control of time of evaluation so it makes sense it should also do this. I think it's also the easiest behaviour to reason about for people writing tests, the ALERTS timeseries won't be delayed.
It's probably possible for this code to directly call RestoreForState -- but essentially the code in that would reduce to doing what I wrote, while potentially being more fragile.

LGTM.
cc @simonpasquier

Thanks!


Add CSS Color Level 4 new rgb and rgba syntax

Chrome, Firefox, & now Safari Technology Preview support it.
The differences are:
There is a new comma-free syntax, where the optional alpha is separated by a slash:
rgb(128 34 56)
rgb(128 34 56 / 50%)
Floating point values are allowed, and rounded:
rgb(128.5 34.2 56.5) becomes rgb(129 34 57)
rgba() is a pure alias for rgb(), so these are equivalent:
rgb(128 34 56 / 50%)
rgba(128 34 56 / 50%)
webkit bug: https://bugs.webkit.org/show_bug.cgi?id=192321

As well as lab()/lch()/... from this Editor’s Draft maybe?

Browser issues  for lab/lch support:

Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1026287
Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1352757

Duplicate of #2679


How does MultiWorkerMirroredStrategy works?

We are training to run a distributed training on cluster with just CPUs. After reading the tutorials we choose to use tf.distribute.MultiWorkerMirroredStrategy. But there are something confusing us. It said that I need to prepare the same code on every work and this strategy will send all the model, checkpoint and dataset to every worker. But dose It sent the data of the sample or just the index of every sample? Do I need to prepare model, checkpoint and whole dataset on every worker? I hope that the chef worker can load all data from itself and sent what others need to every worker so that other workers don't have to prepare training data. It's not easy for us to put all data on every worker limit to  cluster using rules of our business.
We try to only load checkpoint on chef worker and the program doesn't work. We also try to load the whole dataset on chef worker and load just a part of dataset on other workers and it doesn't work.

@wzzh Please refer this link for more details on MultiWorkerMirroredStrategy works and for any further queries please post this issue on TF forum where there is a larger community to get you the right help.Thanks!


feat: add more AppMenu button theming options

Pull Request Test Coverage Report for Build 415557766

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 73.268%

Totals

Change from base Build 413293753:
0.1%

Covered Lines:
1601

Relevant Lines:
1987

💛  - Coveralls


Unexpected exception error when trying to log into Lifetime

Just after installing the lifetime hacs plugin and I try to enter my username/password(verified on the lifetime website)
I get these 2 errors:
Error 1:
Logger: custom_components.lifetime_fitness.config_flow
Source: custom_components/lifetime_fitness/config_flow.py:96
integration: lifetime_fitness (documentation, issues)
First occurred: 11:39:12 PM (1 occurrences)
Last logged: 11:39:12 PM
Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/lifetime_fitness/api.py", line 79, in authenticate
response_json = await response.json()
^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/aiohttp_client.py", line 80, in json
return await super().json(*args, loads=loads, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1243, in json
raise ContentTypeError(
aiohttp.client_exceptions.ContentTypeError: 406, message='Attempt to decode JSON with unexpected mimetype: ', url='https://api.lifetimefitness.com/auth/v2/login'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/lifetime_fitness/config_flow.py", line 96, in async_step_user
info = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/lifetime_fitness/config_flow.py", line 44, in validate_input
await api_client.authenticate()
File "/config/custom_components/lifetime_fitness/api.py", line 85, in authenticate
raise ApiUnknownAuthError
custom_components.lifetime_fitness.api.ApiUnknownAuthError
Error 2:
Logger: custom_components.lifetime_fitness.api
Source: custom_components/lifetime_fitness/api.py:84
integration: lifetime_fitness (documentation, issues)
First occurred: 11:39:12 PM (1 occurrences)
Last logged: 11:39:12 PM
Received unknown status code in authentication response: 406

Hey I'm not actually a member of lifetime fitness anymore :) If you find a fix feel free to submit a PR!


Trovi 2.0: Adapt upload flow to upload to Trovi API instead of Swift

Update the artifact upload handler to obtain a trovi token, using the user token as a subject token, and upload via the /contents endpoint.

 Trovi 2.0: Adapt upload flow to upload to Trovi API instead of Swift


AQL IF ELSE branch

ArangoDB Version:       3.6.2

Hi, Is there a IF to branch in AQL? I know there is a ternary operator but that doesn't cut it. I'm doing
LET id =( FOR x in XXX
                FILTER blah
               RETURN x)
I want to check if id is null, RETURN {} , else do more logic

AQL supports the tenary operator:
https://www.arangodb.com/docs/stable/aql/operators.html#ternary-operator
Please note that both branches /may/ be executed.

It's ok, I got a workaround with ignoreErrors.

I just realize ignoreErrors is not the way to go, as it will hide write conflicts. I'm not sure how the ternary operator can help here.
AQL
LET id =( FOR d in docs
                FILTER d.attribute == "yes"
                LIMIT 1
               RETURN d)

// IF D is not null, I want to run update, not throw
 Update id with { ''other':'xxx'} in d
return id

maybe UPSERT can do what you intend to?
https://www.arangodb.com/docs/stable/aql/data-queries.html#data-modification-queries

hmm, not really seeing how upsert can help.

Can't you just do FILTER LENGTH(id) > 0 UPDATE ...?

Can't you just do FILTER LENGTH(id) > 0 UPDATE ...?

Filter worked like charm @Simran-B  thanks a lot :)

Can't you just do FILTER LENGTH(id) > 0 UPDATE ...?

Filter worked like charm @Simran-B  thanks a lot :)


Getting: "Unable to locate credentials" on latest core/boto3

My pristine machine that has nothing installed. (I'm seeing this exact behavior in my main app, i'm just trying to illustrate the issue here)
$ docker run --rm -it python:3.7 bash
root@8ced02d5d4c8:/# pip install boto==2.49.0 boto3==1.9.7 botocore==1.12.7 moto==1.3.5
..... SNIPPED.......
Successfully installed Jinja2-2.10 MarkupSafe-1.0 PyYAML-3.13 asn1crypto-0.24.0 aws-xray-sdk-0.95 boto-2.49.0 boto3-1.9.7 botocore-1.12.7 certifi-2018.8.24 cffi-1.11.5 chardet-3.0.4 cookies-2.2.1 cryptography-2.3.1 docker-3.5.0 docker-pycreds-0.3.0 docutils-0.14 ecdsa-0.13 future-0.16.0 idna-2.7 jmespath-0.9.3 jsondiff-1.1.1 jsonpickle-1.0 mock-2.0.0 moto-1.3.5 pbr-4.2.0 pyaml-17.12.1 pycparser-2.19 pycryptodome-3.6.6 python-dateutil-2.7.3 python-jose-2.0.2 pytz-2018.5 requests-2.19.1 responses-0.9.0 s3transfer-0.1.13 six-1.11.0 urllib3-1.23 websocket-client-0.53.0 werkzeug-0.14.1 wrapt-1.10.11 xmltodict-0.11.0
root@8ced02d5d4c8:/# python
Python 3.7.0 (default, Jul 17 2018, 11:04:33)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import moto
>>> moto.mock_s3().start()
>>> import boto3
>>> client = boto3.client('s3')
>>> client.create_bucket(Bucket='testing')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 320, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/usr/local/lib/python3.7/site-packages/botocore/client.py", line 610, in _make_api_call
    operation_model, request_dict)
  File "/usr/local/lib/python3.7/site-packages/botocore/endpoint.py", line 102, in make_request
    return self._send_request(request_dict, operation_model)
  File "/usr/local/lib/python3.7/site-packages/botocore/endpoint.py", line 132, in _send_request
    request = self.create_request(request_dict, operation_model)
  File "/usr/local/lib/python3.7/site-packages/botocore/endpoint.py", line 116, in create_request
    operation_name=operation_model.name)
  File "/usr/local/lib/python3.7/site-packages/botocore/hooks.py", line 356, in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/botocore/hooks.py", line 228, in emit
    return self._emit(event_name, kwargs)
  File "/usr/local/lib/python3.7/site-packages/botocore/hooks.py", line 211, in _emit
    response = handler(**kwargs)
  File "/usr/local/lib/python3.7/site-packages/botocore/signers.py", line 90, in handler
    return self.sign(operation_name, request)
  File "/usr/local/lib/python3.7/site-packages/botocore/signers.py", line 157, in sign
    auth.add_auth(request)
  File "/usr/local/lib/python3.7/site-packages/botocore/auth.py", line 424, in add_auth
    super(S3SigV4Auth, self).add_auth(request)
  File "/usr/local/lib/python3.7/site-packages/botocore/auth.py", line 356, in add_auth
    raise NoCredentialsError
botocore.exceptions.NoCredentialsError: Unable to locate credentials

Any ideas whats causing it?

Looks like i was using versions that are explicitly stated to not work.
botocore==1.10.84 boto3==1.7.84 i get the expected result.


Don't randomize shop costs for vanilla shop placements.

If an item is not randomized and it normally belongs in a shop, do not randomize its Geo price.
Example: Turning off RandomizeCharms should not randomize geo costs of charms in Leg Eater's shop.
This might require tracking all the items which are within a shop by default. It could also mean not placing the vanilla item and then including the DefaultShopItem in the ShopLocation to have that shop's vanilla items.

Fixed in hk-dev


React Native CLI build error: KSCrash

Ran into an error building react-native-sentry using the react-native cli.
On running react-native run-ios the build error is
KSCrash which seems to be a dependency of sentry cannot be dynamic loaded as a library.
Can anyone point me in the right direction.

Error referenced when building w/ xcode

Did you check that you did everything described here ...
https://docs.sentry.io/clients/react-native/

@HazAT seeing the same issue. ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES set to YES and project and build folders have been cleaned

if i just run cmd b the build will be successful. but if i hit the run button for a specific device the build fails with

Can you double check if you changed this build step?
https://docs.sentry.io/clients/react-native/#xcode-build-steps

yeah bitcode is disabled and the build script is there.  still returning the dyld error

@bulkyracehorse512 Last try ^^
https://github.com/getsentry/react-native-sentry/issues/11#event-1009361134
Will fix the react-native run-ios nevertheless though

@HazAT still seeing

ok so now it runs through xcode run but not command line react-native run-ios


Shaven 0.8.1 not capable with node^6

Unsupported engine for<EMAIL_ADDRESS>wanted: {"node":"~0.12.2"} (current: {"node":"6.10.3","npm":"3.10.10"})

@Haocen what was the reason for closing the PR? issue resolved?

For whatever reason<EMAIL_ADDRESS>still want node~0.12 which will cause holders fail to install on any morden node environment.
Luckily this only affect user who has engineStrict set to 'true' in their project or npm globally.
Unfortunately I have to enforce engineStrict in my project, but I find a walk around by move shaven into dev dependencies since I I need is dist version of holders. I haven't run into any problems so for.

thanks for the explanation, that makes sense


Frontend/wallet connect v2 fix disconnect

@GabrielBuragev - I rebased your wallet-connect-v2 branch on top of main - this way you only see my commit and not the 260+ commits since you originally created the PR :)
I'm still not convinced on the types, but hey - typescript doesn't complain. If you have better ideas let me know.

Those were some really good points @manuelwedler! Thanks for your input.
I addressed all of your comments and i also included a test for the closeExternalConnection method call inside the useWallet composable.

Note: this will have to wait with merging until June 29.
For more info see https://medium.com/walletconnect/weve-reset-the-clock-on-the-walletconnect-v1-0-shutdown-now-scheduled-for-june-28-2023-ead2d953b595


(MODULES-1200) Fix inconsistent header across files

Currently, the file headers are not consistent. Most of the files do not even have header, due to the usage of the content attribute of the file resource.
This PR fixes that, all files are now ERB templates and a single header is used across all files.
I tried to follow the request in the referenced ticket to use a concat style, e.g. global setting to enable/disable/modify the header.
However, I found no proper way to do this. This module consists of a lot of subclasses, which can be used independently of the main apt class.
Even with a global parameter, I had troubles with parse order. Adding this parameter to every subclass seems not like a clean way either.
My current implementation is a compromise with the _header.erb file.
One solution might be Hiera (quick hack: stdietrich/puppetlabs-apt@c9266d26d6ee9a63865480764f628902be500b13)

Can you debase this? It should pass now.

Sorry for the delay, should be good to merge now.


Upgrade dev dependencies

npm audit recommends that these packages should be upgraded:
found 33 vulnerabilities (10 low, 17 moderate, 6 high) in 448 scanned packages
  run `npm audit fix` to fix 12 of them.
  21 vulnerabilities require semver-major dependency updates.

Can you reminify the wrapper after updating these files?

Sure! Should the version number be incremented?

Let's upgrade it to version 1.11.0
Good call! Thanks!

Another hopefully quick question, I updated one block in the README showing how to include the source files into a project but just noticed that it's repeated below in https://github.com/adlnet/xAPIWrapper/blob/master/README.md#xapi-launch-support
Should the duplication be removed or merely updated to match?

I don't see the duplication anywhere

This section is what I updated in this PR (screen shot taken from master):

Then below is the following section which also repeats:

Ahh, thanks. Let's update this in case there are folks that just bookmarked this section for their personal use.


BitmapFont after 1.5.5 update: scale with no good letter pacing

I had a game with the old version of FreeType lib. For some reason, I update the lib but there was some change to do, so I did. But after I have a problem with the letter spacing.
i change
bitmapFont.SetScale();
with
bitmapFont.getData().SetScale();
but the letter spacing between letter is not correct
this is a link from my question on StackOverflow:
http://stackoverflow.com/questions/44018970/libgdx-freetype-new-lib-issue-with-letter-spacing/44022243?noredirect=1#comment75090417_44022243

I am trying to specify this issue more clearly here #4751


knative 1.12 image push bug  MANIFEST_BLOB_UNKNOWN

When using Func to compile functions, after the function is compiled, an error is reported when pushing it to a private registry, as shown in the figure. However, it can be pushed normally using the docker push command.

I guess should be the same of https://github.com/knative/func/issues/2181

Thanks @drriguz for locating the previous issue.
@Taylorzhao this issue is resolved with an update to the underlying go-containerregistry library.  If you build the main branch or go install knative.dev/func@main; that should give you the latest.

@drriguz can you confirm that this has been fixed in latter versions of function.

@drriguz @Taylorzhao can you confirm that this has been fixed in latter versions of function.

v1.13.1 and v1.12.2 does not work.
➜  go-hello func version -v
Version: v0.40.1
Knative: =v1.13.1
Commit: bc40ec06
SocatImage: quay.io/boson/alpine-socat:<IP_ADDRESS>-r1-non-root
TarImage: quay.io/boson/alpine-socat:<IP_ADDRESS>-r1-non-root

➜  go-hello func deploy
function up-to-date. Force rebuild with --build
Pushing function image to the registry "localhost:5000" using the "" user credentials
Error: PUT http://localhost:5000/v2/go-hello/go-hello/manifests/latest: multiple errors returned: MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:a4d4471427378383add1d265db91e3e19c39f912b8b7411a81ae4e2f24a815ff; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:e1e9b23bc34db186541518ecf8c25f27cec5912c05f49120f606be361ba6c0dc; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:2ea7ad6f961ae6668e0f6fe434e9061194a5bdf600786f834ca24ab2d7ae8a3d; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:219779f600da11b69f882df7c9779b351367260ca44fbf6f390f1f4c0ea1ab2f; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:ac23843fe9774ae10cd54e11abc15a4ea90d82818d6ecda2994c9f45f024f22b; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:67b2702e72302bc27a3ac32dd9748d57af97c3242d2890e011c224d497483e21; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:92f1d3712a46e11688a8a106436d12fcb67b8382dade5ed6a9123f74b20f3369; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:ae6af002ee5672e39c09aa23ec8bdabf299703b26424864b93712d5ab402c40f; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:83d85471d9f8a3834b4e27cf701e3f0aef220cc816d9c173c7d32cd73909a590

➜  go-hello func version -v
Version: v0.39.1-1-g6a48e6b4
Knative: v1.12.1
Commit: 6a48e6b4
SocatImage: quay.io/boson/alpine-socat:<IP_ADDRESS>-r1-non-root
TarImage: quay.io/boson/alpine-socat:<IP_ADDRESS>-r1-non-root

➜  go-hello func deploy
function up-to-date. Force rebuild with --build
Pushing function image to the registry "localhost:5000" using the "" user credentials
Error: PUT http://localhost:5000/v2/go-hello/go-hello/manifests/latest: multiple errors returned: MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:a4d4471427378383add1d265db91e3e19c39f912b8b7411a81ae4e2f24a815ff; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:e1e9b23bc34db186541518ecf8c25f27cec5912c05f49120f606be361ba6c0dc; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:2ea7ad6f961ae6668e0f6fe434e9061194a5bdf600786f834ca24ab2d7ae8a3d; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:219779f600da11b69f882df7c9779b351367260ca44fbf6f390f1f4c0ea1ab2f; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:ac23843fe9774ae10cd54e11abc15a4ea90d82818d6ecda2994c9f45f024f22b; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:c6c679b0ead27e7b935cb8e58f6f47b32e8c60ccd4d2c941a5d59dba4f3a4a5e; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:92f1d3712a46e11688a8a106436d12fcb67b8382dade5ed6a9123f74b20f3369; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:ae6af002ee5672e39c09aa23ec8bdabf299703b26424864b93712d5ab402c40f; MANIFEST_BLOB_UNKNOWN: blob unknown to registry; sha256:83d85471d9f8a3834b4e27cf701e3f0aef220cc816d9c173c7d32cd73909a590

custom build of commit e4010db0 and acae72d7 works:
➜  go-hello func version -v
Version: v0.40.0-76-ge4010db0
Knative: v1.13.0
Commit: e4010db0
SocatImage: ghcr.io/knative/func-utils:latest
TarImage: ghcr.io/knative/func-utils:latest

➜  go-hello func deploy
Building function image
Still building
Still building
🙌 Function built: localhost:5000/go-hello/go-hello:latest
Pushing function image to the registry "localhost:5000" using the "" user credentials
⬆  Deploying function to the cluster
🎯 Creating Triggers on the cluster
✅ Function updated in namespace "default" and exposed at URL:
   http://go-hello.default.<IP_ADDRESS>.sslip.io

➜  go-hello func version -v
Version: v0.40.0-88-gacae72d7
Knative: v1.13.0
Commit: acae72d7
SocatImage: ghcr.io/knative/func-utils:latest
TarImage: ghcr.io/knative/func-utils:latest

# works too

Thanks for checking @drriguz.  I am gong to close this issue because it is fixed in main, and will be availalbe in the upcoming release.  Please re-open if the issue resurfaces.


Reenable correlation headers

#331

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


roadmap: add TiKV 2024 roadmap

What is changed and how it works?

Issue Number: Close https://github.com/tikv/tikv/issues/16923

What's Changed

Add TiKV 2024 updated roadmap.

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[x] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

@easonn7 This PR will be public for at least 7 days for reviewing and updating.

Is current performance good enough?

Is current performance good enough?

@BusyJay performance is highly related with scenario, would like to hear any dominate scenario that performance is bad for TiKV?

/cc @overvenus @Connor1996 @SpadeA-Tang @LykxSassinator  @v01dstar  PTAL


Adding isuru to handbook

Hi @Isuru-F we don't accept PRs from forked branches for teammates. Please can you branch off of the main branch in the sourcegraph/handbook repo and make your changes there. If you need help feel free to reach out to @handbook-support in the #handbook Slack channel.