How to install Bacon2D on Qt 5.7 (MacOS 10.11.5)

Hello,
I've been trying to install Bacon2D on Qt5.7 on my MacOS 10.11.5 machine, but it simply doesn't work.
I followed the README explanation, no error at all at the end. My QtCreator installation is on the /Users//Applications/QtCreator folder. So I defined that folder. I ended with two folders:
/Users/<myUser>/Applications/QtCreator/Examples/Qt-5.7/bacon2d
and
/Users/<myUser>//Applications/QtCreator/imports/Bacon2D
Then I start Qt and create a QtQuick2 project to see that the import Bacon2D doesn't return anything. When I try to run the example from the QtCreator folder directly on the terminal the message is the same:
qrc:/main.qml:3 module "Bacon2D" is not installed
What am I doing wrong?

This is what I've done so far:

git clone https://github.com/Bacon2D/Bacon2D.git
cd Bacon2D
git submodule update --init
mkdir build && cd build
$HOME/Applications/QtCreator/5.7/clang_64/bin/qmake QTPATH=$HOME/Applications/QtCreator/5.7/ ..
make
make install

Then I create a new projet and type:
import Bacon2D 1.0
The final result is always:
qrc:/main.qml:3 module "Bacon2D" is not installed
The makeand make installcommand don't seem to give any error.
What am I doing wrong?

For some reason, Bacon2D can't run in Debug mode. Have you tried running it in Release mode?

I'll try it, but I still have a question, should I install it on:

QtCreator/
QtCreator/5.7/
or
QtCreator/5.7/clang_64/

Running in Release mode I have the exact same problem.

If I select the: QtCreator/or QtCreator/5.7/folder, the red line below the import Bacon2D 1.0 doesn't dissapear, but if I install it on the clang_64 folder then it dissapear:

But the error still remains, even after cleaning and rebuilding the project (on Release).

I think that I've found something,
Once I moved the Bacon2D folder from ìmportsto qml`the bacon2D module started working (well the skeleton doesn't work, but I don't have the message saying that it isn't installed).
Is it possible that there is a bug on the installer script?

The skeleton example:
`import QtQuick 2.2
import Bacon2D 1.0
Game {
id: game
width: 400
height: 250
currentScene: scene
Settings {
    id: settings
    property int highScore: 0
    property bool noSound: false
}

Scene {
    id: scene
    physics: true
    width: parent.width
    height: parent.height

    Entity {
        width: parent.width
        height: parent.height
        updateInterval: 50
        behavior: ScriptBehavior {
            script: {
                var newPos = entity.x + 5
                entity.x = newPos > parent.width ? 0 : newPos
                console.log("update: x -> ", entity.x)
            }
        }

        Rectangle {
            width: 50
            height: 50
            color: "red"
        }
    }
}

}
Gives me this errorqrc:/main.qml:28: ReferenceError: entity is not defined`

Even a simple example:
import QtQuick 2.2
import Bacon2D 1.0

Game {
    id: game
    width: 800
    height: 600

    Scene {
        id: scene
        width: 300
        height: 300
    }
}

Fails with the following error:
16:14:16: Running steps for project BaconExample...
16:14:16: Configuration unchanged, skipping qmake step.
16:14:16: Starting: "/usr/bin/make"
make: Nothing to be done for `first'.
16:14:16: The process "/usr/bin/make" exited normally.
16:14:16: Elapsed time: 00:00.

The skeleton example doesn't work because "entity" is not defined. Add "id: entity" under the Entity object.

The second example you posted doesn't return any error at all. It seems to have compiled with no issue.

If no window is displayed, try encapsulating the Game object in a Window object. Add "import QtQuick.Window 2.2" to your list of imports.

Indeed
It returns an error and doesn't show anything (as soon as it open, it closes immediately with a Error Message), I will post a part of at the end of this message
Is that something normal?

Here is a part of the bug report:
Process:               untitled [671]
Path:                  /Users/USER/*/untitled.app/Contents/MacOS/untitled
Identifier:            com.libretrend.untitled
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        Qt Creator [339]
Responsible:           untitled [671]
User ID:               501

Date/Time:             2016-06-26 00:44:13.584 +0100
OS Version:            Mac OS X 10.11.5 (15F34)
Report Version:        11
Anonymous UUID:        33D629B6-2734-BF1A-9063-014105933B70

Time Awake Since Boot: 230 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0x20:
-->
    __TEXT<PHONE_NUMBER>3dc000-00000001023e0000 [   16K] r-x/rwx SM=COW  /Users/USER/*/untitled.app/Contents/MacOS/untitled

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libbacon2dplugin.dylib        	0x000000010a49244c Scene::setRunning(bool const&) + 12
1   libbacon2dplugin.dylib        	0x000000010a493def Game::onApplicationStateChanged(Qt::ApplicationState) + 127
2   org.qt-project.QtCore         	0x000000010303a923 QMetaObject::activate(QObject*, int, int, void**) + 883
3   org.qt-project.QtGui          	0x000000010347e908 QGuiApplicationPrivate::setApplicationState(Qt::ApplicationState, bool) + 232
4   org.qt-project.QtGui          	0x000000010346506b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155
5   libqcocoa.dylib               	0x0000000106739631 QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 33
6   com.apple.CoreFoundation      	0x00007fff93cc2881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
7   com.apple.CoreFoundation      	0x00007fff93ca1fbc __CFRunLoopDoSources0 + 556
8   com.apple.CoreFoundation      	0x00007fff93ca14df __CFRunLoopRun + 927
9   com.apple.CoreFoundation      	0x00007fff93ca0ed8 CFRunLoopRunSpecific + 296
10  com.apple.HIToolbox           	0x00007fff87018935 RunCurrentEventLoopInMode + 235
11  com.apple.HIToolbox           	0x00007fff87018677 ReceiveNextEventCommon + 184
12  com.apple.HIToolbox           	0x00007fff870185af _BlockUntilNextEventMatchingListInModeWithFilter + 71
13  com.apple.AppKit              	0x00007fff92dd0df6 _DPSNextEvent + 1067
14  com.apple.AppKit              	0x00007fff92dd0226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
15  com.apple.AppKit              	0x00007fff9303fa82 -[NSApplication _doModalLoop:peek:] + 653
16  com.apple.AppKit              	0x00007fff932206fb __35-[NSApplication runModalForWindow:]_block_invoke + 126
17  com.apple.AppKit              	0x00007fff9303d375 -[NSApplication runModalForWindow:] + 156
18  com.apple.AppKit              	0x00007fff932132c7 __19-[NSAlert runModal]_block_invoke + 158
19  com.apple.AppKit              	0x00007fff930bbc1c -[NSAlert runModal] + 139
20  com.apple.AppKit              	0x00007fff930eed5e __55-[NSPersistentUIRestorer promptToIgnorePersistentState]_block_invoke + 1043
21  com.apple.AppKit              	0x00007fff930ee90e -[NSApplication _suppressFinishLaunchingFromEventHandlersWhilePerformingBlock:] + 28
22  com.apple.AppKit              	0x00007fff930ee8b1 -[NSPersistentUIRestorer promptToIgnorePersistentState] + 247
23  com.apple.AppKit              	0x00007fff92dd5f71 -[NSApplication _reopenWindowsAsNecessaryIncludingRestorableState:completionHandler:] + 196
24  com.apple.AppKit              	0x00007fff92dd5d8c -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 544
25  com.apple.AppKit              	0x00007fff92dd5843 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 250
26  com.apple.Foundation          	0x00007fff82efc72d -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 290
27  com.apple.Foundation          	0x00007fff82efc5a7 _NSAppleEventManagerGenericHandler + 102
28  com.apple.AE                  	0x00007fff8a13f261 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned int, unsigned char*) + 531
29  com.apple.AE                  	0x00007fff8a13efe8 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 31
30  com.apple.AE                  	0x00007fff8a13ef04 aeProcessAppleEvent + 288
31  com.apple.HIToolbox           	0x00007fff87028af9 AEProcessAppleEvent + 55
32  com.apple.AppKit              	0x00007fff92dd1290 _DPSNextEvent + 2245
33  com.apple.AppKit              	0x00007fff92dd0226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
34  com.apple.AppKit              	0x00007fff92dc4d80 -[NSApplication run] + 682
35  libqcocoa.dylib               	0x000000010673853f QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2191
36  org.qt-project.QtCore         	0x0000000103005eb1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
37  org.qt-project.QtCore         	0x000000010300a115 QCoreApplication::exec() + 341
38  com.libretrend.untitled       	0x00000001023dfa64 main + 148
39  libdyld.dylib                 	0x00007fff81d835ad start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fff972195e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff94f29578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff94f27341 start_wqthread + 13

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x00007fff97219efa kevent_qos + 10
1   libdispatch.dylib             	0x00007fff8fece165 _dispatch_mgr_invoke + 216
2   libdispatch.dylib             	0x00007fff8fecddcd _dispatch_mgr_thread + 52

Thread 3:
0   libsystem_kernel.dylib        	0x00007fff972195e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff94f29578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff94f27341 start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fff972195e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff94f29578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff94f27341 start_wqthread + 13

Thread 5:
0   libsystem_kernel.dylib        	0x00007fff972195e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff94f29578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff94f27341 start_wqthread + 13

Thread 6:: Dispatch queue: NSCGSDisableUpdates
0   libsystem_kernel.dylib        	0x00007fff97212f72 mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fff972123b3 mach_msg + 55
2   com.apple.CoreGraphics        	0x00007fff8a8683ee _CGSReenableUpdateForConnection + 92
3   com.apple.CoreGraphics        	0x00007fff8a8680c1 CGSReenableUpdateToken + 469
4   libdispatch.dylib             	0x00007fff8fed393d _dispatch_call_block_and_release + 12
5   libdispatch.dylib             	0x00007fff8fec840b _dispatch_client_callout + 8
6   libdispatch.dylib             	0x00007fff8fecd03b _dispatch_queue_drain + 754
7   libdispatch.dylib             	0x00007fff8fed3707 _dispatch_queue_invoke + 549
8   libdispatch.dylib             	0x00007fff8fec840b _dispatch_client_callout + 8
9   libdispatch.dylib             	0x00007fff8fecc29b _dispatch_root_queue_drain + 1890
10  libdispatch.dylib             	0x00007fff8fecbb00 _dispatch_worker_thread3 + 91
11  libsystem_pthread.dylib       	0x00007fff94f294de _pthread_wqthread + 1129
12  libsystem_pthread.dylib       	0x00007fff94f27341 start_wqthread + 13

Thread 7:
0   libsystem_kernel.dylib        	0x00007fff972195e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff94f29578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff94f27341 start_wqthread + 13

Thread 8:
0   libsystem_kernel.dylib        	0x00007fff972195e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff94f29578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff94f27341 start_wqthread + 13

Thread 9:
0   libsystem_kernel.dylib        	0x00007fff972195e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff94f29578 _pthread_wqthread + 1283
2   libsystem_pthread.dylib       	0x00007fff94f27341 start_wqthread + 13

Thread 10:: QQmlThread
0   libsystem_kernel.dylib        	0x00007fff9721a2a2 poll + 10
1   org.qt-project.QtCore         	0x000000010305acb0 qt_safe_poll(pollfd*, unsigned int, timespec const*) + 544
2   org.qt-project.QtCore         	0x000000010305c496 QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 806
3   org.qt-project.QtCore         	0x0000000103005eb1 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 401
4   org.qt-project.QtCore         	0x0000000102e4a1ae QThread::exec() + 110
5   org.qt-project.QtQml          	0x0000000102a7e7a9 QQmlThreadPrivate::run() + 57
6   org.qt-project.QtCore         	0x0000000102e4db3a QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff94f2999d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff94f2991a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff94f27351 thread_start + 13

Thread 11:: QSGRenderThread
0   libsystem_kernel.dylib        	0x00007fff97218db6 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fff94f2a728 _pthread_cond_wait + 767
2   org.qt-project.QtCore         	0x0000000102e4f16b QWaitConditionPrivate::wait(unsigned long) + 75
3   org.qt-project.QtCore         	0x0000000102e4f012 QWaitCondition::wait(QMutex*, unsigned long) + 162
4   org.qt-project.QtQuick        	0x000000010248bccd QSGRenderThread::processEventsAndWaitForMore() + 397
5   org.qt-project.QtQuick        	0x000000010248c190 QSGRenderThread::run() + 832
6   org.qt-project.QtCore         	0x0000000102e4db3a QThreadPrivate::start(void*) + 362
7   libsystem_pthread.dylib       	0x00007fff94f2999d _pthread_body + 131
8   libsystem_pthread.dylib       	0x00007fff94f2991a _pthread_start + 168
9   libsystem_pthread.dylib       	0x00007fff94f27351 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000001  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x000000010a4acc50
  rdi: 0x0000000000000000  rsi: 0x00007fff5d820f67  rbp: 0x00007fff5d820f50  rsp: 0x00007fff5d820f40
   r8: 0x000000000000000f   r9: 0x0000000000000004  r10: 0x0000000000000010  r11: 0x00007fa8d9700000
  r12: 0x0000000000000007  r13: 0x0000000103365818  r14: 0x0000000000000034  r15: 0x00007fa8d9628fd0
  rip: 0x000000010a49244c  rfl: 0x0000000000010246  cr2: 0x0000000000000020

Logical CPU:     4
Error Code:      0x00000004
Trap Number:     14

I have never used Bacon2D on Mac before, but I figured it would be similar to Windows.
The reason why I said you should encapsulate the Game object in a Window object is because Bacon2D was created when Qt's primary QML viewer was based on the QQuickView class. That class could take Items as its root. However, for newer versions of Qt, QQmlApplicationEngine has been the preferred to QQuickView. QQmlApplicationEngine requires a Window (or any class that inherits from it) as its root.
I'm not sure if it would solve your issue, but it's worth a try.

Before anything, I want to thank you for all your time and help you've provided me until now.
So I've made some testes and here are the results:
import QtQuick 2.7
import QtQuick.Window 2.2
import Bacon2D 1.0

Window {
    visible: true
    width: 640
    height: 480
}

Show the window.
import QtQuick 2.7
import QtQuick.Window 2.2
import Bacon2D 1.0

Window {
    visible: true
    width: 640
    height: 480

    Game {
        id: game
        width: 200
        height: 200
    }
}

Gives the same error as posted before
import QtQuick 2.7
import QtQuick.Window 2.2
import Bacon2D 1.0

Window {
    visible: true
    width: 640
    height: 480

    Scene {

    }
}

Shows the window.
import QtQuick 2.7
import QtQuick.Window 2.2
import Bacon2D 1.0

Window {
    visible: true
    width: 640
    height: 480

    Game {
        id: game
        width: 400
        height: 250
        currentScene: scene

    Settings {
            id: settings
            property int highScore: 0
            property bool noSound: false
        }

        Scene {
            id: scene
            physics: true
            width: parent.width
            height: parent.height

            Entity {
                id: entity
                width: parent.width
                height: parent.height
                updateInterval: 50
                behavior: ScriptBehavior {
                    script: {
                        var newPos = entity.x + 5
                        entity.x = newPos > entity.parent.width ? 0 : newPos
                        console.log("update: x -> ", entity.x)
                    }
                }

                Rectangle {
                    width: 50
                    height: 50
                    color: "red"
                }
            }
        }
    }
}

Shows the window with the red square moving
I simply don't understand why some cases work and the others return such a fatal error, that doesn't seem to make any sense to me.
But anyway, what is the right folder to put the library? There is no imports folder in my Qt5.7 installation, and all the QML plugins are in the qml folder. Shouldn't we make it look for the imports folder on the installation and only use that folder if it exists otherwise use the qml folder? The same for all the others, for now it seems to be working with clang but I'll have to do the work again in order to make it Working for iOS and then for Android.

There is a lot of issues on Mac/iOS that need to be solved:

The qml vs import problem
qmldir for iPhone-Clang doesn't provide a classname (which should be Bacon2D)
For some mysterious reason, it is build against armv7 instead of arm64 (for the newer iPhones)

The fatal error happens for case 2 because a Game object must have a current scene. If the current scene is null, the application would crash. I am not really sure why this happens, but to avoid it, make sure the Game object's currentScene property is never null or undefined.
In response to where to put the library, "make install" handles that for you. If you were able to run "make" and then "make install" then all files should have been placed in their proper directories.

Thank for the explanation on the first issue, when I solve all those issues I'll try to find out why this happens.
As for the library, the make install is based on the QTPATH selected early in the installation, but it goes into an imports folder which doesn't exists. All the libraries are on the qml section.
I've tried to install it following the Box2D QML library installation https://wiki.qt.io/Build_QML_Box2D_Library, which is based on the idea of compiling the library directly from QtCreator and then move it to the right folder (the same as the one done by terminal, but using QtCreator).
If I do as explaned for the Clang64 (desktop) version, it will work and then all I have to do is move the Bacon2D folder into the QML folder in order for it to work (perfect). But for the iphone I have two errors:

Compiled against an ARM64 architecture but it builds an ARMv7 version of the library not compactible with my iPhone 5S (maybe a XCode error?)
There is an error while ending the process, which says that qmlplugindump doesn't exist (which is the same for Android and iOS but I honestly don't understand why it doesn't exists)

As for the MakeFile, maybe I could commit a change in order for it to look for a qml folder and add the library into that folder if it exists instead of the import one (since QtCreator doesn't look for it the same way on every platform)


Member attribute order in sets not honored in profile

https://www.concrete5.org/community/forums/customizing_c5/member-attribute-order-not-kept/
Steps to reproduce:

create 3 attributes in the following order (each with Editable in Profile, Displayed in Public Profile, and Displayed on Member List checked)

3 (test_3)
2 (test_2)
1 (test_1)

create an Attribute Set (Test)

add the 3 attributes to the Test attribute set

change the order of the attributes from 3, 2, 1 to 1, 2, 3

edit the profile through a public profile or My Account > Edit Profile

The attribute order will be 3, 2, 1.

Just found that this is also an issue for the registration page. We have a series of custom attributes within custom sets and the sort order for this is not honoured.
Having looked through the Doctrine set-up for this I can see that there is no relationship between the AttributeSetKeys and the UserAttributeKeys so I am not able to change the sort order for this. Not being that familiar with Doctrine I'm not sure what needs editing here so that we can use the asDisplayOrder Column.
Thanks,

I can confirm this is no longer an issue as of 8.5.1 and likely before.


[rio] DigitalOcean special requirement(s)

Test and document the requirement(s) for DigitalOcean cluster. Reference https://github.com/rancher/rio/issues/276#issuecomment-518471289
We need to 1) Validate this is the correct solution and 2) mention this in rio docs - perhaps under Installation section

Rio is no longer applicable.


Ember-CLI update, asset pipeline fixes, testing against LTS release

[x] ember-cli updated to 2.5.1
[x] Updated asset pipeline (index.js) which broke when ember-cli started making all addon vendor/* available in consuming apps. Solved this by moving the file -- which we shouldn't think of as JS, but rather a template for JS that we need to fill the Rollbar config into -- to a new directory ./clients.

[x] The "update my rollbar.js script" task has been patched to align with this change

[x] Acceptance tests were expecting 2 asserts, when clearly only one was in the test cases.
[x] Bump copyright year in license
[x] It's nice for us to test against ember-2.4 since it's a LTS release

Thanks for the myriad of improvements @mike-north!


Search function on Materializecss.com does not work in Firefox

Description
Nothing happens when I hit enter or click on the icon
I hope this is the right place to post this.

That's not actually a real search, that's "autocomplete" for page names.
So, it's not specific to the Firefox, and it's supposed to work such (not very convenient) way.

Ok then I'll close this. Is a bit confusing though.


app.auth callback should return promise

I don't know maybe it is bug or to need add notice in documentation
if I make
app.auth(token => {
 return true;
})

I get error.

You are right. Please send PR (docs are best to get PRs for free :D).

Also you deserve to get into Logux Server history at least for first part of args/env PR. Sad that I could not select 2 person as PR authors :).


No y-axis drawn by default

Why only draw the x axis? How do I get the y axis to be drawn?

It can easily be added by a single line change that I just made in this commit

But I am not sure if this is a aethtically pleasing look.
Maybe, I should just add a function add_y_axis_marker to add the y_axis_line if the user really wants to see it, What do you think?

Okay so there are 2 things here

GridLines-> Okay so I generally keep the grid lines aligned along the x-axis because they really really help a lot when you are trying to understand a datapoint. But I can see how that's my personal bias and therefore I will do this one simple thing for plots. Turn off all of them by default and create functions to easily turn them on for both x/y axis.  It's very easy already to do this but let me make the functions now.

What about X-Axis Labels?
They weren't specified on purpose.  If I specify them then I can get this

Also, this is a very rare edge case where the Y-Axis line is getting really close to the Title. It almost never happened otherwise but I will see what I can do about this.

You have to specify the x-axis labels by default? It doesn't compute them automatically?

It does but it depends on the function call type.
I think I need to make a fix here with labelling of the function call and then it will work properly.
Just give me some time for this.
I will add a spec to solve this properly.


Is MIT license + no license headers correct?

@bensigelman @dawallin @yurishkuro
Just to be safe, is using MIT with no license headers ok for you?
Other languages:

Java: Apache-2.0, license headers
JavaScript: MIT, no license headers
Go: MIT, no license headers
Python: MIT, license headers
Objective-C: MIT, no license headers
C++: MIT, no license headers

@cwe1ss thanks for asking; the OT policy to date has been to do whatever relatively permissive license is idiomatic for common OSS software in the given platform. I.e., do whatever is common in the C# universe.
I don't think license headers are legally necessary so I'm fine skipping them. Though again this is a per-platform thing and there are lots of Java projects that include them.

ok - I guess MIT is perfectly fine then. The new x-plat .NET and many other libraries are MIT as well!


Copy variable value will receive error EvaluateRequest

Issue Type: Bug
The protocol I received was
{"command":"evaluate","arguments":{"frameId":0},"type":"request","seq":26}

It is missing the expression, and expression is a required parameter.
https://github.com/Microsoft/vscode-debugadapter-node/blob/master/debugProtocol.json#L1814
I guess this is because my variables don't have evaluateName.
VS Code version: Code 1.21.1 (79b44aa704ce542d8ca4a3cc44cfca566e7720f1, 2018-03-14T14:47:13.351Z)
OS version: Windows_NT ia32 10.0.16299
Reproduces only with extensions

Well the copy value, add to watch and the copy evaluate path actions depend on the evaluatePath field being there.
Since vscode is not constructing the path itself we could not show those actions, or show them as disabled for variables without an evaluatePath
@weinand thoughts?


Yatin: Watch wales247.co.uk

Yatin requests the watch of the watch_keyword wales247\.co\.uk. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

wales247\.co\.uk has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by double-beep in Charcoal HQ


ng-select not working with angular4.0.0

After upgrading to angular 4.0.0 I am getting
'Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '1'. Current value: '111'.
ng-select worked prefectly with Angular 2.1.x.
I have been able to reproduce this error with an simple example. The template and the component code are attached, the rest is the code generated by angular cli.
The problem goes away if I remove the placeholder property from <ng-select ...>
Template:
<ng-select
    [options]="options"
    [multiple]="true"
    placeholder="placeholder"
    [(ngModel)]="values">
</ng-select>

Typescript code:
import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.css']
})
export class AppComponent {

  options: Array<any>;
  values: string[];

  ngOnInit() {
    this.options = [];
    for (let i = 0; i < 15; i++) {
      this.options.push({ value: i.toString(), label: 'l' + i });
    }
    this.values = ['1', '2'];
  }

  selected() {
    console.log('selected')
  }

  deselected() {
    console.log('deselected')
  }
}

It looks like this bug crawled back into existence in beta 6. The problem is that ngStyle is changing during afterViewInit, because of the call to updateState. The culprit seems to be this commit. I would suggest wrapping the ngAfterViewInit call to updateState in a setTimeout.

I am facing the same issue in 1.0.0-beta.6


Fluctuating data

Hi there, sorry for bothering you again while you're on your rotation, but I've encountered another issue. The attention and meditation values are fluctuating rapidly.

For context, here's a photo of the graph when I'm just relaxed.
I'm not really asking you to fix this (lol) so much as I'm asking you: is this normal? I.e., did it happen for you during your time with the Force Trainer? The presence of the airball game (and its implied playability, definitely not the case for me) kinda says otherwise. Either way, all good. I just wanna know, and maybe I can buy a new one.

My apologies for the delay in getting back to you about your question.
I remember experiencing similar variations in attention and meditation values while experimenting with the Force Trainer and developing this application. Just like you, there were times when I started to doubt whether the device was functioning properly. I eventually came to believe that the headset was truly detecting brain activity amidst considerable noise and interference, potentially due to low-quality hardware employed in manufacturing what is effectively a children's toy.
The 'airball' game was included as a showcase of the potential capabilities of the device rather than a fully developed game. It's improbable that your headset is faulty; instead, these fluctuations appear to be common for this kind of device.

Gotcha. Glad to hear it's normal.
And, now I actually KNOW that it's reliably detecting brain activity because I did my science project on it!


Platform specific link paths

Hello, I've been using dotbot to manage my dotfiles for some time now.
It has worked great thus far, since most applications read from a common configuration directory on all platforms. Sublime Text however, uses different directories depending on what platform you're on.
Would it be feasible to add support for different destination paths depending on your OS?
In Python there's sys.platform which contains a string representing the platform Python is running on.
As for configuration syntax, I'm not sure.
YAML has a construct where you can map keys to values, see example 2.6, but since dotbot maps links "the other way", the syntax wouldn't make sense (and is syntactically incorrect):
- link:
    {
     linux: ~/.config/sublime-text-3,
     darwin: ~/Library/Application Support/Sublime Text 3,
     win32: ~/Sublime Text 3
    }: Sublime Text 3/

If you flip the target and destination, I think it looks decent and you would still be able to configure links independently of the OS/platform. It would obviously break all existing configuration files, however.
- link:
    Sublime Text 3/:
      linux: ~/.config/sublime-text-3,
      darwin: ~/Library/Application Support/Sublime Text 3,
      win32: ~/Sublime Text 3
    vim/: ~/.vim

What do you think?

Cool idea. Yeah, the from: to vs to: from change isn't a big deal, but yeah, it would break backwards compatibility, so a change like this would have to wait until 2.x.
This is kinda sorta possible already (https://github.com/anishathalye/dotbot/pull/11#issuecomment-73082152), but it's not the cleanest way of doing it.

I'll throw in another vote for this feature with a slight twist. It would be nice to not only be able to have os-specific links, but also install config files for some applications only on the systems that support them, for example only installing my hammerspoon config if I'm on a Mac.
I think the config example above is along the lines of what I am thinking. If a platform isn't listed, the link won't be created on that platform and you would need a way to specify a default in some cases. for example:
- link:
  ~/.bashrc:
    platforms:
      - name: default
        path: bashrc
      - name: debian
        path: bashrc-debian
  ~/.hammerspoon:
    platforms:
      - name: darwin
        path: hammerspoon

Apparently this can also be solved with the shell conditions feature (https://github.com/anishathalye/dotbot/issues/143):
For your example @sjthespian
- link:
  ~/.bashrc:
    path: bashrc
    if: '[ ! -f "/etc/debian_version" ]'
  ~/.bashrc:
    path: bashrc-debian
    if: '[ -f "/etc/debian_version" ]'
  ~/.hammerspoon:
    path: hammerspoon
    if: '[[ "$(uname)" == "Darwin" ]]'

Does that sound right?

@robobenklein That's perfect, I didn't realize it supported conditionals! I just gave it a try and this works for me. This actually means I can combine all my yaml files and let the system figure it out. Thanks!!
    # Mac files
    ~/.hammerspoon:
      path: hammerspoon
      if: '[ -f "/Applications/Hammerspoon.app" ]'
    ~/bin/it2cmd:
      path: bin/it2cmd
      if: '[ -f "/Applications/iTerm.app" ]'

Glad that works! If you notice any other issues please let me know because I plan to clean it up and make a PR for it soon!

@robobenklein The way you've written it is great, as you can pass arbitrary commands to it. For example, I can install files on my home systems only with something like:
- linkif:
    #
    # Home
    ~/.bashrc.d/dosomething.sh:
      create: true
      path: bashrc.d/dosoemthing.sh
      if: 'hostname -f | grep myhomedomain.com > /dev/null'

Of course, even better would be to use:
      if: '[[ $(hostname -f) =~ myhomedomain.com$ ]]'

(which also works)

I think the link/if feature, along with defaults (so you can have a windows section of link, followed by a macOS section of link) is a decent way of supporting platform-specific link paths, so I'm going to close this issue.


Explicitly trigger the Autograding workflow after skills/action-update-step

Summary
Tasks performed by the GitHub Actions GITHUB_TOKEN, such as commit pushes, do not create new workflow runs. This means that the commit and push performed by our skills/action-update-step@v2 steps are not triggering GitHub Classroom's autograding workflow, which in turn is preventing learners from having their Experience marked as complete after they finish the final step.
Changes
The autograding workflow is created with a repository_dispatch trigger. This modifies our Actions workflows to manually create a repository_dispatch event on the repository after the step update commit has been pushed, causing autograding to run after the -step.txt file has received its final update, at which point it will be able to succeed.
Task list

[x] For workflow changes, I have verified the Actions workflows function as expected.
[x] For content changes, I have reviewed the style guide.

Ah, turns out this is the wrong repository 😅 . I'll close this to re-open there!


Update README.md

What is this PR for?
To accelerate expanding Rekcurd, we need to update our installation manual.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #22   +/-   ##
=======================================
  Coverage   87.46%   87.46%
=======================================
  Files          16       16
  Lines        1037     1037
=======================================
  Hits          907      907
  Misses        130      130

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 37fd398...eca2026. Read the comment docs.

@yuki-mt Thank you!
I have removed the redundant info. Could you check it again please?

@keigohtr
Sorry for overlooking, but it looks that template directory is also very similar to drucker-example.
I guess we can use drucker-example code as template and should remote template directory.
Do you agree?

I am using template for debugging but it's OK.
I have removed.


tpm_crb: probe of MSFT0101:00 failed with error 378

Describe the bug
I use tpm + luks, but recently when the kernel updating to 6.4.11, the tpm_crb can't find tpm devices.
And, if I switch to old kernel like 6.1, it can't work too.
Steps To Reproduce
Steps to reproduce the behavior:

Use the latest unstable

  boot = {
    kernelPackages = pkgs.linuxPackages_latest;
    initrd = {
      availableKernelModules = [
        "xhci_pci"
        "ahci"
        "nvme"
        "usbhid"
        "usb_storage"
        "sd_mod"
        "tpm"
        "tpm_tis"
        "tpm_crb"
      ];
      systemd.enable = true;
    };

    tmp.useTmpfs = true;
  };

Expected behavior
tpm work correctly.
Screenshots

Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.4.11, NixOS, 23.11 (Tapir), 23.11pre-git`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - channels(yufei): `""`
 - nixpkgs: `/nix/store/5mj1vfslaf052b8s9nnbz31fb2l1qwdi-source`

I have the same exact behavior with 6.4.11 and 6.1.46, however I am using Arch Linux. I imagine this is not a NixOS specific problem.

Same here with Fedora 38 after latest Kernel (6.4.11) update.

Same here with nixOS unstable and kernel version 6.1.46.

Also on my cumputer
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.46, NixOS, 23.11 (Tapir), 23.11pre515819.8ecc900b2f69`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - channels(cryolitia): `""`
 - channels(root): `"home-manager, nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I use tpm + luks, but recently when the kernel updating to 6.4.11, the tpm_crb can't find tpm devices. And, if I switch to old kernel like 6.1, it can't work too.

All bugfix patches will be backported to all maintenance branches, so the latest version of both the 6.4 and 6.1 branches has the same buggy commit. If you meet some bug and want to roll back to dig out the problem, you should roll back to the last working version you have used, rather than a version that looks older.

I use tpm + luks, but recently when the kernel updating to 6.4.11, the tpm_crb can't find tpm devices. And, if I switch to old kernel like 6.1, it can't work too.

All bugfix patches will be backported to all maintenance branches, so the latest version of both the 6.4 and 6.1 branches has the same buggy commit. If you meet some bug and want to roll back to dig out the problem, you should roll back to the last working version you have used, rather than a version that looks older.

Ok, thanks

This exact error is happening on openSUSE too:
Linux archangel.home 6.4.11-1-default #1 SMP PREEMPT_DYNAMIC Thu Aug 17 04:57:43 UTC 2023 (2a5b3f6) x86_64 x86_64 x86_64 GNU/Linux

Out of curiosity, what hardware is everyone using? I thought this was causing my boot failure on my XPS 9560, but it turns out it was a different kernel bug causing boot to fail.
My specs:
XPS 9560
i7-7700HQ
Not quite sure atm how to get TPM model.

Asrock z370 with i5-8600K
The issue prevented me booting my Windows 11 VM (running as close to the "metal" as possible with GPU Passthrough) after updating to 23.05 (and emulated TPM doesn't work ootb).
I had to manually apply the above referenced PR to my kernel last night after spending a number of hours tracking down the source of the problem (single-GPU passthrough makes this a bit difficult). After an hour or so compilation it was resolved.
I'm sure there are others out there with issues that haven't identified what is causing it.

I'm using HP Gaming Pavilion - 15 with i7-9750H inside.

Hmm okay:
My XPS 9560 boots fine with TPM decryption. Suspending and resuming does not got any errors with the TPM.
My desktop with Ryzen 5950X and Asus Prime X570-Pro boots fine with TPM decryption. I do not have suspend enabled on that machine due it's home-server setup, so I cannot test.

I use i9-13900k, with TPM included in the CPU.

Still happens to me under 6.4.15.

Sep 13 19:08:29 fedora kernel: tpm_crb: probe of MSFT0101:00 failed with error 378

I am sorry to reopen this issue but I have a very similar problem on nixos 23.11 on a Raspberry Pi 4.
The module tmp-crb is not found on kernel <IP_ADDRESS>3.0405 (the current version of linux_rpi4 in the nixos23.11 branch)
As a workaround for now I am using the following code to allow missing kernel modules when rebuilding the kernel:
  nixpkgs.overlays = [
    (final: super: {
      makeModulesClosure = x:
        super.makeModulesClosure (x // { allowMissing = true; });
    })
  ];

I am not 100% sure that this is a nixpkgs issue, but I could not find any references to this problem on the Raspberry Pi 4 for now.


added CODEOWNERS file

First CODEOWNERS commit. Can be more specific in the future about who owns what

https://github.com/orgs/Norse-IoT/teams


Work on Azure Deployment Code

Renamed PSake Compile task to Build to match usual name.
Added Azure PowerShell Module installation to PSake init to allow deployment.
Added initial Deploy task to PSake.

This change is

I'm closing this because I'm not happy with it.


Updating the addon

Hello,
Do you need assistance in transitioning this addon to use modern Ember syntax? This involves several key modifications, including:
- Eliminating deprecated Mixins.
- Discontinuing support for older Node and ember-simple-auth versions.
- Modernizing the existing Ember syntax and refreshing the dummy app.
- V2 format ?
These changes will be obviously breaking changes.

@fenichelar apologies for the ping.
This addon seems to be incompatible with the lastest version of Ember 5 and ember-simple-auth.
There does not seem to have been a lot of activity recently in this respository. If there are any PRs opened to solve the compatibility issues, would you mind taking a look at them and merging them?
We are relying on this addon at my work and it is blocking us from upgrading to Ember 5. I wouldn't mind putting in some work to get it compatible, but I would like to know if contributions will be accepted before putting in the effort. :sweat_smile:

I already began to work on this when i made this issue. It works but i need to repair the CI and maybe some tests : https://github.com/AmauryD/ember-simple-auth-token.

I already began to work on this when i made this issue. It works but i need to repair the CI and maybe some tests (I don't remember it was 3 months ago). It can be installed using @triptyk/ember-simple-auth-token package. Here's the repo: https://github.com/AmauryD/ember-simple-auth-token

Oh nice! With a bit of luck (and fixes for the tests) this could be merged upstream!

Tracked by https://github.com/fenichelar/ember-simple-auth-token/pull/334

Everything is kinda OK. I'm waiting for a feedback of @fenichelar before spending more time on this.
Only the embroider-optimized scenario is failing because of a bug with fastboot. Should be fixed upstream soon.

A major overhaul is in the works including:

Support for ember@4 and ember@5
V2 format

@fenichelar thank's for the work !


gradle build task

Hello!
I have a problem with the gradle build task. It's search for the sdk on the wrong location as you can see:
* What went wrong:
A problem occurred configuring project ':app'.
> The SDK directory 'C:\Users\ZombieD\Downloads\AzureDevopsAgent\_work\2\s\D:AndroidSDK' does not exist.

My android sdk is at D:\AndroidSDK but the task extends this path with the SystemWorkingDirectory.
I have a local propeties generator script before this task:
- bash: |
     #!/bin/bash

     echo "sdk.dir=$(AndroidSdkLocation)" > local.properties
  displayName: 'Generate local.properties'

It's works fine and create a valid local.properties file. I have tried to sepcify ANDROID_SDK_ROOT at the agent's capabilities but nothing changed...

My gradle build task looks like this:
- task: Gradle@2
  inputs:
    gradleWrapperFile: 'gradlew'
    tasks: 'build'
    publishJUnitResults: false
  displayName: 'gradlew build'

I figured out what went wrong. The sdk path need to contains forward slashes rather than back slashes............(for further developers who has this problem)


Add "AcceptFundOnGoerli" and "AcceptFundOnAlfajores" to projects filters

Filtering projects by Mainnet and Celo are not working on staging.

Supported queries are:
""AcceptFundOnGnosis", "AcceptFundOnMainnet", "AcceptFundOnCelo", "AcceptFundOnPolygon", or "AcceptFundOnOptimism"
So, "AcceptFundOnGoerli" and "AcceptFundOnAlfajores" should be added to projects filters
I think it's nice to have a rule for future namings, I did this on front-end:
AcceptFundOn + chainName.split(' ')[0].toUpperCase()
e.g. for Alfajores Testnet the filter will be AcceptFundOnAlfajores
@mohammadranjbarz @CarlosQ96 Do you agree?

FYI @maryjaf


When will trustwallet extension come to firefox

Hello Trust Wallet Development Team,
This is a valid question, and many may want to know if Trust Wallet will be shipped to Firefox as an extension. I have no idea how difficult this can be. Assuming it is not in the near future plans, do we have any alternative or workaround solution?


align rgb and depth images

I have tried to align them by using the intrinsics and pcd.transform but I got a plane points

Because I need the four diversion transform so can I get it, I just use the Rotation Matrix and the Translation Vector in one matrix.
Here is my code:
import open3d as o3d
import numpy as np
from matplotlib import pyplot as plt
color_raw = o3d.io.read_image("K:/Image-Capture-With-RealSense-master/2024_01_09_16_16_55/Images/166.png")
depth_raw = o3d.io.read_image("K:/Image-Capture-With-RealSense-master/2024_01_09_16_16_55/DepthImages/166.png")
rgbd_image = o3d.geometry.RGBDImage.create_from_color_and_depth(color_raw, depth_raw, convert_rgb_to_intensity=False)
print(rgbd_image)
plt.subplot(1, 2, 1)
plt.title('Redwood grayscale image')
plt.imshow(rgbd_image.color)
plt.subplot(1, 2, 2)
plt.title('Redwood depth image')
plt.imshow(rgbd_image.depth)
plt.show()
inter = o3d.camera.PinholeCameraIntrinsic()
inter.set_intrinsics(640, 480,<PHONE_NUMBER>375,<PHONE_NUMBER>5,<PHONE_NUMBER>3203125,<PHONE_NUMBER>388672)
pcd = o3d.geometry.PointCloud().create_from_rgbd_image(
rgbd_image, inter)
Flip it, otherwise the pointcloud will be upside down
pcd.transform([[0.9999945163726807, -0.003304983489215374, -0.00013662033597938716, 0.0006620920030400157],
[0.003301972057670355, 0.999830961227417, -0.018086116760969162, 0.01393149420619011],
[0.00019637156219687313, 0.01808556728065014, 0.9998364448547363, -0.0035399049520492554],
[0, 0, 0, 1]])
o3d.visualization.draw_geometries([pcd])

Hi @OneShz  Does the pointcloud appear more correct if the pointcloud flip code is temporarily commented out?  I bear in mind the advice  at https://github.com/IntelRealSense/librealsense/issues/6023#issuecomment-597615585 that if a depth image is rotated then all calibration data and parameters need to be subsequently updated.

Hi @OneShz  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Upgrade mapbox & deck.gl

Coverage remained the same at 42.759% when pulling fcff25440e46b479609ad01177c344bbe6192a4b on bjornreppen:mapbox-upgrade into 17b7e5f7cbff61032a95f63cef40879f646efae6 on Artsdatabanken:master.


Does not load Custom Powershell Profile and does not run winget.

Microsoft PowerToys version
0.74.1
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
I am using oh-my-posh to customize my powershell. You need to have oh-my-posh installed in your pc like shown below. and also you need to have vscode installed.

Create a vscode workspace in vscode
open powertoys run by pressing alt+space.
by typing { , you can select a vscode workspace. this opens vscode in that workspace.
after it opens, powershell(in vscode) tries to run oh-my-posh but throwing an error like shown below

and I also tried to run winget install JanDeDobbeleer.OhMyPosh -s winget (go to this link for more info) in powershell(in vscode) but it is throwing an like this

✔ Expected Behavior
I was expecting to see a customized terminal in vscode like shown below.

if i open vscode normally, the customized terminal shows up like shown above. but if i use powertoys run instead, it is throwing errors.
❌ Actual Behavior
No response
Other Software
oh-my-posh. go to this link for more info
vscode

Are you still experiencing this issue? /needinfo


Cannot set the offset of Label in Line Chart

It works in Bar Chart, but not in Line Chart.

I have the same problem..


Support for Juniper SRX Clusters

Issue type
[x] Feature request
[ ] Bug report
[ ] Documentation
Environment

Python version: 3.5.5
NetBox version: 2.3.1

Description
Im wondering if you were considering adding support for Juniper SRX Firewall Clusters. Basically they relay on reth (redundant Ethernet interfaces) - ideally i would see this implemented in similar way that Virtual Chassis is (single control-plane) but there is couple of caveat's like reth interfaces, management ip etc.
I would like to have for this functinality to have:

in-band management via reth interface sharing same ip-address across two nodes
out-of-band management via fxp0 with separate ip-addresses (it is possible now i believe)
sharing any ip-address across reth interface with virtual mac-address

Basically i think it should be simillar to Virtual Chassis with different roles - instead of master/members it should say node0/node1 with respective roles
Use case would be to add SRX clusters into Netbox - have no idea on what changes on postgres end this will require but maybe someone will help with it

In some way it's similar to https://github.com/digitalocean/netbox/issues/1950

Any representation of SRX clusters will need to be done within the virtual chassis model. We can look at tweaking it somewhat if needed, but we definitely won't be adding any new models to support this.

Hi Jeremy,
Sorry im completely new at github society - however i can take a look at VC
implementation and propose some enhancements to support SRX platform - is
it a good way to comment it via github request or shall i create new thread
for this?
Pozdrawiam, Dominik Siecinski.
2018-03-09 20:47 GMT+01:00 Jeremy Stretch<EMAIL_ADDRESS>
Any representation of SRX clusters will need to be done within the virtual
chassis model. We can look at tweaking it somewhat if needed, but we
definitely won't be adding any new models to support this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/digitalocean/netbox/issues/1959#issuecomment-371925999,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQT88jRNaAG-Nis6UUQsllEgoqMBiGPrks5tctxagaJpZM4SjjG_
.

My personal opinion on the virtual chassis setup right now, is it seems to work best for something like a switch stack, where there is 1 management and control plane (and a semi-shared data plane).
I think the current VC model fails for things like vPC, VSS, SRX clusters and ASA clusters, where there are sometimes independent interfaces on all devices but also can be shared interfaces (or HSRP/VRRP/GLBP/etc interfaces tied to both devices).
I am not sure the best way to correct this "problem" though, as a tweak the other way would not be suitable for stacked switches.  Perhaps a VC model "type" that changes the behavior of the VC based on the type (for example, vPC/VSS would not show shared interfaces, might add things like vPC domain and such).  This seems like a big job though and I honestly think it might be easier to try a parent/child device relationship where the parent is a psuedo device and the child is the individual devices.  Not sure how that works out either though.
That said, with the virtual chassis, I do wish it was represented as a device itself, instead of the master device showing all interfaces, as this makes it difficult for quickly adding connections from another device to the master unit (slave units you can individually pick and set the interface from the interface list without seeing all interfaces).
Just my thoughts, I am sure I have more rattling around in there as well...

That said, with the virtual chassis, I do wish it was represented as a device itself, instead of the master device showing all interfaces, as this makes it difficult for quickly adding connections from another device to the master unit (slave units you can individually pick and set the interface from the interface list without seeing all interfaces).

Same here. I have a stack of juniper EX4300 and I'd like to add interfaces to virtual chassis and not individual nodes.

That said, with the virtual chassis, I do wish it was represented as a device itself, instead of the master device showing all interfaces

This is the way NetBox represents a virtual chassis. If you need to model virtual chassis differently, NetBox may not be the right tool for you.

Closing this out as no one has proposed a specific model for representing an SRX cluster or similar arrangement.

Closing this out as no one has proposed a specific model for representing an SRX cluster or similar arrangement.

What about assigning ips, interfaces etc to a virtual chassis ?


I18n configs in dot env

These should reside in the .env file so they can be environment specific. You might not want the deployed app to have autoReload and updateFiles set to true.

Current coverage is 54.04% (diff: 100%)

Merging #231 into development will not change coverage

@@           development       #231   diff @@
=============================================
  Files               54         54
  Lines             2544       2544
  Methods            295        295
  Messages             0          0
  Branches           472        472
=============================================
  Hits              1375       1375
  Misses            1169       1169
  Partials             0          0

Powered by Codecov. Last update e43cd45...cb7b5a5


follow redirects

I need to get result of:
$ curl ipinfo.io/<IP_ADDRESS>
{
  "ip": "<IP_ADDRESS>",
  "hostname": "google-public-dns-a.google.com",
  "city": "Mountain View",
  "region": "California",
  "country": "US",
  "loc": "37.3860,-122.0840",
  "postal": "94035",
  "phone": "650",
  "org": "AS15169 Google LLC"
}

My code:
let eventLoopGroup = MultiThreadedEventLoopGroup(numThreads: 1)
let eventLoop = eventLoopGroup.next()
let client = try! HTTPClient.connect(hostname: "ipinfo.io", on: eventLoop).wait()
let httpReq = HTTPRequest(method: .GET, url: "/<IP_ADDRESS>")
let httpRes = try! client.send(httpReq).wait()
print(httpRes)

I received:
Date: Thu, 07 Jun 2018 10:10:34 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 47
X-Powered-By: Express
x-cloud-trace-context: e942dcd1f79372a1b17f146831abb7df/9141077538359615180;o=0
Access-Control-Allow-Origin: *
Location: https://ipinfo.io/<IP_ADDRESS>
Vary: Accept
Via: 1.1 google
Found. Redirecting to https://ipinfo.io/<IP_ADDRESS>

What I am doing wrong?

The server returned a redirect to https://ipinfo.io/<IP_ADDRESS> which HTTPClient didn't even try to follow.

Leaving this open as a feature request for following redirects.


Announcement:  Intel reveal powerful Ghost Canyon NUC at CES 2020

Hi everyone,
Intel have unveiled the new Ghost Canyon NUC at CES 2020.  It is highly upgradable, and offers up to 5Ghz on a single core and room for a desktop grade GPU.
https://www.engadget.com/2020/01/06/intel-ghost-canyon-nuc-desktop-gpu/
Edit:  Razer are using the new NUC as their basis of their Tomahawk PC.
https://www.engadget.com/2020/01/07/razer-tomahawk-modular-gaming-pc-nuc-9-extreme/

Nice, but also not strictly relevant to RealSense :)

With the greatest of respect, I carefully consider announcements for relevance to RealSense.  NUC has a  user-base in robotics (very relevant to RealSense ROS users).  So the story was relevant in that regard.

I apologise, you are 100% welcomed to share and contribute. Just trying to get issues under control and make sure customer reports don't get pushed to far.
With CES on-going, there are many noteworthy news. Perhaps we could group all relevant technology news into a single page of CES recap? What do you think?
Thanks @MartyG-RealSense

I'd already adopted a policy of no more than two Announcements on the front page a while ago, and close one of them early to make way for a new one if a new story emerges whilst there are two on the front page.  I also periodically do batch closures of older Announcements to reduce the issue count if a RealSense team member has not closed them already.
The non-Intel CES news relatable to RealSense is probably mostly over now, as companies put out their best news on the day before CES or opening day in a rush for the headlines.
Thanks @dorodnic


[Bug]: Notification layering blocks scroll

What happened?
https://github.com/user-attachments/assets/bb783daf-fbb6-4ff5-ae83-451f92a9120a
Steps to reproduce the problem

Open an image related notification
Notice the notification window still trying to persist in this new layer
Notice you cannot scroll

What should have happened?
If you are going to have the notifaction window persist into the new layer allowing for the opening of more layers you should allow scroll
What platforms do you use to access the site?
No response
What browsers do you use to access the site?
No response
Additional information, context and logs
Bug reports will continue until morale improves

Still effecting milestone notifications, likely associated with #1460


Desktop rendering has Z-fighting when depth prepass is enabled

Describe the bug
On Desktop, GL seems to compute slightly different clip-space values for triangles between depth prepass and normal render.  This means that when the normal render (using GL_LEQUAL) runs, some fragments incorrectly compute a depth slightly behind what is found in the zbuffer and they are culled, leaving holes in the image.
Does NOT repro in GLES (via swiftshader)
Does NOT repro with depth prepass disabled.
To Reproduce
This repros even with absurdly close depth planes (attached screenshot, object is ~3wu away from the camera and the depth range fed to setProjection is (2.5, 3)
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: linux
GPU: nVidia Quadro M2000
Backend: OpenGL

We've seen this issue happen on Linux in the past, it doesn't repro on Windows nor macOS. We are using invariant gl_Position precisely to avoid this issue. What drivers are you using?

(hope I did this right)
$ apt policy xserver-xorg-video-nvidia
xserver-xorg-video-nvidia:
  Installed: 384.111-3
  Candidate: 384.111-3
  Version table:
     384.130-1 600
        600 https://xxxxxxx/main amd64 Packages
 *** 384.111-3 9990
       1500 https://xxxxxxx/main amd64 Packages
        100 /var/lib/dpkg/status

Thanks, could you attach the model as well please so we can repro? Or does this happen with any model?
@prideout Could you take a look next week please?

Will do.

Model: Nvidia GM206GL [Quadro M2000]

Adrian gave me some pointers offline and I am able to repro with the sushi model on a Quadro M4000 with 384.111.
I had a theory that the invariant qualifier was getting dropped by shader optimization, but it seems to occur regardless of the opt level.

For the depth pass, we always pass depth_main.vs straight to GL, no optimizations:
gl_Position = getClipFromWorldMatrix() * material.worldPosition;

For the color pass, we have the same line in main.vs. However the the asset has optimized shaders, so the finalized GLSL looks like:
vec4 _712 = (objectUniforms.worldFromModelMatrix[0] * _650.x) + ((objectUniforms.worldFromModelMatrix[1] * _650.y) + ((objectUniforms.worldFromModelMatrix[2] * _650.z) + objectUniforms.worldFromModelMatrix[3]));
gl_Position = frameUniforms.clipFromWorldMatrix * _712;

The variance arises because prepass depth and colorpass depth are not computed in exactly the same way.
The issue goes away when hacking depth_main.vs by replacing material.worldPosition with a direct call to computeWorldPosition().

We should try to optimize depth_main. I'm surprised it's not actually.

Normally it is optimized but this particular build of Filament is not built with CMake. I've confirmed that this fixes the problem, following up with Adrian offline.

Adrian has informed me that this worked, closing.

I can also confirm that this happens for me with filament on Windows.
Once I passed -O to matc for compiling my own materials, this issue disappeared.
Just a note: I built filament with CMake in debug mode, and compiled my own materials without -O and this issue occured, so other people might run into this when they build their own versions.

Right, filament and its materials must be compiled with the same optimization level at the moment.


Clarify selection

This is mostly a documentation question.
I noticed that webpack-license-plugin results in quite a few less "items" than license-checker, even when I filter license-checker on just production and just direct dependencies.
I do clearly see that at least all the import's I'm doing in my code are included by webpack-license-plugin. I even find dependencies of those imports.
I'm assuming license-checker does not do tree shaking, so that might explain a lot.
Update: license-checker's direct option doesn't work
I'm not asking to explain the differences, but a bit more info on how the selection works would be very interesting. Is it really as simple as what's gets included in the build, and thus gets distributed, gets included in the list?
I'm hoping to get some legal advice soon, but shouldn't code that's used to create the project, but isn't distributed, also be included? Things like eslint, webpack loaders, in my case vue-cli relates packages?

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software

But maybe the idea is that we're not copying things like eslint / webpack loaders etc even though we are using it locally.
webpack-license-plugin:

MIT: 65
BSD-3-Clause: 7
ISC: 3
Apache-2.0: 1
0BSD: 1

license-checker:
$ npx license-checker  --summary --production --excludePrivatePackages
├─ MIT: 251
├─ ISC: 31
├─ BSD-2-Clause: 16
├─ BSD-3-Clause: 12
├─ Apache-2.0: 4
├─ CC0-1.0: 2
├─ 0BSD: 2
├─ (MIT OR CC0-1.0): 2
└─ MIT*: 1

$ npx license-checker --summary --production --excludePrivatePackages --direct
├─ MIT: 290
├─ ISC: 24
├─ BSD-2-Clause: 14
├─ BSD-3-Clause: 12
├─ Apache-2.0: 4
├─ (MIT OR Apache-2.0): 1
├─ BSD*: 1
├─ CC0-1.0: 1
├─ 0BSD: 1
├─ (MIT OR CC0-1.0): 1
└─ MIT*: 1

Seeing that license-checker's direct option doesn't work, plus it not doing tree shaking probably explains the difference.
Because this plugin is a webpack plugin I'm assuming it benefits from tree-shaking?

Hey Peter!
That's an awesome question! Your assumptions are correct. The only way to just scan the dependencies that are actually used in a webpack build output (after tree-shaking and other optimizations) is by actually using webpack to do that.
This plugin hooks into the build process and gets the list of all files that are included (either as a whole, or partially) in the build result. It then maps these file paths to node_modules and retrieves the packages and their versions.

But maybe the idea is that we're not copying things like eslint / webpack loaders etc even though we are using it locally.

I deal with license compliance in my company from a technical point of view. The general consesus is that you only need to provide license information for the open source projects that you "distribute".
For JavaScript/Web-based frontends that is typically the code that's loaded into the browser in production. Code that is only used for development, build or testing purposes is usually not distributed - and thus does not need to be listed in a "bill of materials".
However, I'm not a lawyer and the law might be different in different countries. If you need legal advice, contact a lawyer 😀


chore(release): v0.8.1 🎉

:robot: I have created a release *beep* *boop*
0.8.1 (2022-02-18)
Bug Fixes

types: ensure that v17+ joi event schema types supported (#19) (0033a91)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/uladkasach/simple-lambda-handlers/releases/tag/v0.8.1 :sunflower:


Scrapper, Zinaida Garaeva - 21FPL2

no progress

No progress since last revie

No progress since last review

No progress

No progress


stream settings: Add event to update stream privacy for realm-time-sync.

Add event to update stream settings whenever stream privacy is changed
accordingly.
Fixes #9470

Updated this PR on top of #12252

This is great!  For the remaining commit, I have a few requests:

The commit history might be more readable if you added a separate commit moving code from stream_edit.js into update_stream_privacy and then changed where it's called from?  Not sure.
Can you add test_events.py tests covering the new events?

Updated, here is the gif:
update UI elements on change-stream-privacy

Change stream privacy

The CI flakes are annoying; this actually passes tests.  This is great; it's exciting to get that old issue cleaned out :)
Merged, thanks @YJDave!


fix led panic feature

Summary

Fix LED PANIC Feature to blink at 2Hz.
Closes #10479

Impact
Testing

Very nice @trns1997 ! Please replace the C++ comment ( // ) with C comment ( /* ..... */ )

Please also include a Summary and commit message explaining what you want to fix exactly.
As I told you, Panic LED is working, but your board needs to include the files needed to support it. :-)

Please also include a Summary and commit message explaining what you want to fix exactly.
As I told you, Panic LED is working, but your board needs to include the files needed to support it. :-)

This PR is clearly a WIP. I am not entirely sure what is the best course of action. Checkout the issue #10479, I think we found a problem with the LED_PANIC and LED_ASSERTION never being called.

Please also include a Summary and commit message explaining what you want to fix exactly.
As I told you, Panic LED is working, but your board needs to include the files needed to support it. :-)

It seems that the code was lost (following the pointed PR in https://github.com/apache/nuttx/issues/10479). I cannot find the call to LED_PANIC in sched/misc/assert.c:676 where it seems to belong (cf. nuttx-11) nor anywhere in the code base (grep -rn "board_autoled_on(LED_PANIC)" return nothing).

please fix the ci compile error.

please fix the ci compile error.

@xiaoxiang781216 before i attack the fix for CI. I would like to confirm the strategy on <arch/board/board.h>. Because I noticed that many users have included their boards iomux/hardware/mcu specific headers in the boards boards.h which causes the build to fail for example:
   Building NuttX...
In file included from ./misc/assert.c:39:
/github/workspace/sources/nuttx/include/arch/board/board.h:34:10: fatal error: stm32_rcc.h: No such file or directory
   34 | #include "stm32_rcc.h"
      |          ^~~~~~~~~~~~~
compilation terminated.

In terms of strategy should users define other mcu specific headers in this file or should they be included in sources that require it (the latter seems more logical). To make it clearer we can look at the following 2 files:
stm32f411-minimum
file:  boards/arm/stm32/stm32f411-minimum/include/board.h
Include:
/****************************************************************************
 * Included Files
 ****************************************************************************/

#include <nuttx/config.h>
#ifndef __ASSEMBLY__
#  include <stdint.h>
#endif

#include <stm32.h> // CAUSES BUILD TO FAIL

In this case the build fails as it is unable to resolve stm32.h
stm32f103-minimum
file: boards/arm/stm32/stm32f103-minimum/include/board.h
Include:
/****************************************************************************
 * Included Files
 ****************************************************************************/

#include <nuttx/config.h>
#ifndef __ASSEMBLY__
#  include <stdint.h>
#endif

Here everything works fine and the user include stm32.h in the sources that need it.
I would like to know your opinion. Based on that I will either go ahead and clean up the board.h headers for all failing boards and include them to the board sources. Otherwise i am not sure what we should do :)

@patacongo could you give some suggestion?

The header file issue is discussed here:  https://cwiki.apache.org/confluence/display/NUTTX/Including+Files+in+board.h including suggestions for avoiding the issue.
It was intended to work that way in order manage the scope of header files.

Error: /home/runner/work/nuttx/nuttx/nuttx/arch/arm/src/a1x/hardware/a10_piocfg.h:120:1: error: Blank line contains whitespace

./tools/checkpatch.sh is your friend...I found out the hard way


The homepage not change

Hi developers,
I modified the _site/index.html and index.md by myself. I run "bundle exec jekyll serve" to start the preview server and it looks good. However, when I git push these changes, the homepage is not changed. Do you know how can I solve it?

Github page takes a while to build. Did you see any changes after some time? Or did you receive any error messages during building?

Github page takes a while to build. Did you see any changes after some time? Or did you receive any error messages during building?

Thanks. I have fixed it.


Pasting images from outside of Webcord occasionally crashes WebCord

Aknowledgements

[X] I have checked that there's no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[ ] I can confirm that this is not an issue with the Discord website,
but it is a problem specific to the WebCord itself. I have tested
if this bug occurs on Chromium/Chrome or any other Chromium-based
browser that uses unpatched/upstream Chromium engine.

[ ] I have tried running the build from the master branch and it does
not have any fixes implemented according to my issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
in affected releases (please write it in Additional context section
below).

Operating System / Platform
🐧 Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
v19.0.6
Application version
v3.3.0
Bug description
Pasting an image from outside of the application (i.e. a browser window or a screenshot tool) sometimes freezes WebCord to the point where restarting it is necessary.
Additional context
I'm using the Flatpak version of this application under Gnome (Wayland).
I have blocked the /typing endpoint, and all third-party websites except for the "GIF Providers" in the WebCord settings.
The only permission granted to Discord is Desktop capture.
I have also disabled hiding the window to the system tray, as Gnome doesn't come with a system tray.
I have encountered the same issue, under Gnome, with a different GPU (NVidia as opposed to an Intel TigerLake) and different CPU manufacturer (AMD as apposed to an Intel chip).

It should not freeze since commit https://github.com/SpacingBat3/WebCord/commit/b70c76410028ae66b345c6b172b0c38728d9d9fe, as WebCord will detect and prevent loops so event won't be re-emitted infinitely. However if it still does, I doubt I can do anything about it.


<EMAIL_ADDRESS>decompress error

Scoop cannot install supertuxkart without receiving a decompress error. The 7zip log says that it tried and failed to decompress an nsis archive instead of a 7zip archive.

SuperTuxKart 1.3 was recently released, so now is a good time to update the package anyway.

@Calinou  can close

This is fixed now that the manifest was updated for SuperTuxKart 1.3.


Fix grafana

This PR fixes the Grafana deployment that has been broken a while now.
This is because the deployment uses many common modules with
govuk-publishing-platform and some changes were not backported to this
deployment.
This deployment uses only the public-load-balancer child module
now and to prevent further breakages, we add a GitHub integration
check for this deployment also.
Testing
URL of grafana is: https://grafana.ecs.test.govuk.digital
Grafana Concourse URL: https://cd.gds-reliability.engineering/teams/govuk-test/pipelines/monitoring
Ref:

Trello task

yes, the code is duplicated because @richardTowers wanted no dependency between the 2 (monitoring and govuk-platform). I think we should re-visit having Grafana in another cluster. Let's wait for him to come back.

Yeah that was mostly about being able to do the spike independently rather than any architectural consideration. We're fine to change that.


word missing

"The Optimize-VHD cmdlet optimizes the allocation of space in or more virtual hard disk files, except for fixed virtual hard disks." Is it should be "The Optimize-VHD cmdlet optimizes the allocation of space in ONE or more virtual hard disk files, except for fixed virtual hard disks."

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a28123af-9919-1114-e2c3-0256d75603e5
Version Independent ID: 9840aef7-2f2f-5118-9902-f5fee8737157
Content: Optimize-VHD (hyper-v)
Content Source: docset/windows/hyper-v/Optimize-VHD.md
Product: w10
Technology: powershell-windows
GitHub Login: @andreabarr
Microsoft Alias: v-anbarr

Closing via #1726


Added CORS header configuration to resolve #115

That's looking great! In fact, you went above and beyond by including all the relevant CORS headers.
We may want to have a discussion about whether these should be across all GET and POST but we'll likely tackle that in the bigger discussion about on demand cluster provisioning APIs.


social media links in footer

hi @PorePranav Can you assign this issue to me with Hactoberfest tag,

@sunny7899 The project doesn't currently have any socials and thus it makes no sense to add socials to the footer currently. If any requirement comes up in the future, I'll definitely consider!


Add validation on settings being available before setting the value

@swapnilkmahajanMS Please add the label "ready for publish" to this PR to let me know it is ready for merge.

Tested and see the changes correctly on PPAC
set from PS

Changes visible on PPAC


black screen when opening

Hi,
When opening the example code after the modicications suggested (Update time.clock to time.perf_counter) i got the example running. The kinect turns on (lights are on) but nothing shows on the screen. Do you guys have any suggestions

try this https://github.com/Kinect/PyKinect2/issues/37 and also uninstall and install the Kinect Studio.

I tried that. It boots the kinect (all the lights turn on) and i see the pygame window. But after that nothing. And the thing is, in processing it works with the kinectPV2 library. I have an kinect model 1520. Do you know if that could be the problem?

Is it a Kinect for Windows or for Xbox ? Maybe the adaptor is wrong.

On the adapter it says kinect for windows. version 1637. Everything works, even the official c++ library, except for this library. And i want to do it in python, because my c++ isnt that great. It just seams that i dont get an frame. I work with python 3.9.7 on annaconda 32 bit.

check if it you can get an image with my repo:
https://github.com/KonstantinosAng/PyKinect2-PyQtGraph-PointClouds

sorry, does nothing

Fixed it. Create a conda virtenv with python 3.6.13 and installed everything. Replaced the files with the files in the repo and installed comtypes version 1.1.4 and it worked. Thanks for the help @KonstantinosAng


Add designs from IPM

Add the following designs to the fastest_test_set using IPM:

EF_PSRAM_CTRL_V2
MS_SPI_XIP_CACHE
MS_DMAC_AHBL
MS_CLK_RST
EF_GPIO
EF_TCC32
EF_UART

submodule:
https://github.com/efabless/openlane2-ci-designs/pull/11

Wait, I forgot to fix the IPM version. This is why I shouldn't merge when I'm tired.


Please clearly mention the AzureRM modules will be not fixed or developed further

[Enter feedback here]
I can see the AzureRM module will be out of support in 29 February 2024.
To avoid the confusion, please clearly mention the AzureRM modules will be not fixed or developed further even if there is the AzureRm module related error occurs in PowerShell or Automation Runbook.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1c63c58b-abfa-830e-37a0-673c70fb14f2
Version Independent ID: a1a4e76d-f614-b29b-8b74-283aa1315a9e
Content: Introducing the Azure Az PowerShell module
Content Source: docs-conceptual/azps-7.2.0/new-azureps-module-az.md
Service: azure-powershell
GitHub Login: @mikefrobbins
Microsoft Alias: mirobb

@2929butakimchi Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@2929butakimchi I've contacted @dcaro, the Azure PowerShell PM to advise on this issue.

@SaurabhSharma-MSFT  @mikefrobbins Thank you very much for the quick response!
I am now communicating with Azure PowerShell PM for the issue. Thank you!


Fix a bug where player was not charing jump when landing with jump key pressed.

Troche no chujowo napisane ale dziala....

lgtm


[BEAM-12506] Changed WindowedValueHolder into a Row type

The change avoids introducing a pickled python coder when writing/reading WindowedValueHolders.
The metaclass makes sure that isinstance(xxx, WindowedValueHolder) is backward compatible in all occurrences.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @rohdesamuel
PTAL

Looks good at a glance, just wondering about the performance. By turning the WindowedValueHolder into a Row coder, how does this impact performance? I'm assuming that the performance increases. Subjectively, do you see a difference?

Looks good at a glance, just wondering about the performance. By turning the WindowedValueHolder into a Row coder, how does this impact performance? I'm assuming that the performance increases. Subjectively, do you see a difference?

For performance, the main difference is that I've added the urn field to differentiate a decoded WindowedValueHolder from a Row created by the user happening to contain a windowed_value field (which is a scenario too specific that shouldn't happen that often). So it should take more space in encoded bytes and cost more when encoding and decoding. The extra cost is constant_for_urn_field * #_of_elements. Since it's used in test_stream, it shouldn't affect real production jobs. If the performance regression is not acceptable, we can always remove the urn field.
As for RowCoder and pickled python coder, I don't think there is much difference. The RowCoder seems to fall back to FastPrimitiveCoder when the Row is very simple. The advantage is that the WindowedValueHolder encoded in a language can be decoded in another without issues. Then we can use the cache as a medium for external transforms.
One thing I think we should re-visit is to figure out how to encode/decode in the streaming cache.

The AddElement should only accept encoded bytes as the elements, see here. We should encode the elements when creating the TestStreamFileRecord protos. The missing encoding is here.
Our cache uses SerializeToString to convert TestStreamFileRecord to bytes and then encode them with SafeFastPrimitvesCoder before writing to text files. It's basically a byte coder. Thus the coder we register for labels in the cache manager has nothing to do with the underlying values we cache. We need to register 2 coders for labels: one for the TestStreamFileRecord, one for the underlying value. Or simpler, always use a default coder (ProtoCoder? 2 variants for TestStreamFileHeader and TestStreamFileRecord) to encode the proto bytes. The registered coder is only used when encoding/decoding the underlying values.


▶ Controlflow Example Workflows

Description
This PR:

adds and updates 3 examples of how to play with the new controlflow components.
updated the branch component logic to allow the flow to return to the original path, ie do -> then logic.
removed broken / old template components

References
https://github.com/XpressAI/xircuits/pull/193
Pull Request Type

[x] Xircuits Core (Jupyterlab Related changes)
[ ] Xircuits Canvas (Custom RD Related changes)
[ ] Xircuits Component Library
[ ] Xircuits Project Template
[ ] Testing Automation
[ ] Documentation
[x] Others - examples

Type of Change

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

Tests
Run all 3 new examples

ControlflowBranch.xircuits
ControlflowLoop.xircuits
ControlflowCounterLoop.xircuits

Ensure that it can run completely until the end and their output is as expected.
Tested on?

[x] Windows
[ ] Linux Ubuntu
[ ] Centos
[ ] Mac
[ ] Others  (State here -> xxx )

Thank for the PR, it works fine.
Notice: will it be nice to have an exit condition for the loop in ControlflowLoop.xircuits or is it designed to be in that way?

Yeah, it works the same way how you would run python services that run continuously like streamlit. I'll mention that in the docs. For the exit condition, I've used the CounterLoop example to show how you can do it.


App crashing on launch after updating Google play service new packages

Bug Information
Version Number of Plugin: 2.3.6
Device Tested On:
Simulator Tested On: iOS X
Version of VS: 2019 for Mac
Version of Xamarin: Version 8.2 (build 1105)
Versions of other things you are using:
Steps to reproduce the Behavior

Update version of Google Playservice to 71.1610.0
Add plugin latest version

Expected Behavior

App should not crash

Actual Behavior

App crash with below log
https://gist.github.com/SagarPanwala/f1fe492a7238c4b5eacc27c1bed8b2d0

Code snippet

if (Settings.NotificationEnabled) {
CrossFirebasePushNotification.Current.Subscribe("general");
} else {
CrossFirebasePushNotification.Current.Unsubscribe("general");
}

I get the same error. Does there exist any workaround? I really need these notifications to work again...

I get the same error too :(.

I was getting the same error too.  My workout was to use Xamarin.Firebase.Messagign version: 71.1502.0-preview2 which installs the a previous version of Google Playservice

Please test this beta and let me know if solves your issues: https://www.nuget.org/packages/Plugin.FirebasePushNotification/3.0.1-beta


New Console Logger Test and Flush before Eval

What does this PR do?
Changes the behavior of the console logger to empty before eval instead of after each epoch. Added unit test test_console_logger_overlapping to test this logic by monitoring the optimizer.
What issue(s) does this change relate to?
CO-2152

Moving this onto new PR with new branch.


Update legend-layer-menu bower package

Making changes to the Compare layer menu requires updating the bower package.
Once this is done, the steps to do so again should be documented.

See #221


Doesn't seem to work on Tate-Images.com

I get the purple icon on ViolentMonkey but no option to download.

If it detects a SmartFrame the button will show, and from what I can tell, the button is showing on the pages where there are SmartFrames.
Keep in mind downloading these images is probably illegal. See the Copyright, Designs and Patents Act 1988.


Configurable path for .scala-steward.conf

Currently scala steward config is looked up at the top of repo <repo>/.scala-steward.conf and there is no way to specify an alternate location for it.
Our use-case (as bizarre as it seems) is we want to have two different scala steward configs and run two instances of scala steward with the configs at different times/frequency.
Some dependencies update too frequently and we want to be able to stagger the updates by having an ignore rule in one config and omitting it in the other. This way we can run the first instance as much as we want and occasionally run the second instance (with different config) whenever we seem to care about an update to this dependency. What do you think?

If you could set the PR frequency for individual dependencies, would that solve the underlying issue?

Yes! but in its current shape I cannot fathom how we can define pull-request frequency for a specific dependency

PR #1483 provides a way to achieve our use-case


Add a point clound renderer

Add a point cloud renderer as suggested here: https://github.com/SceneView/sceneform-android/discussions/278
Things to consider:

Integration with SceneView (using the new way of creating renderables and updating the points)
Shape for visualizing the points (UV sphere or icosphere)

We still plan to implement it in future.

Can you integrate Tango's Live Reconstrcution capabilities in ArSceneview ? I found one repo, but I am facing some NDK issues while building the project
Here is the link of repo:


Support for data labels with more characters

Currently the library support data labels consisting simple and capital alphabetic letters only. It needs to support more characters like hyphen(-)

Data labels have yet to support whitespaces


Can I get the source code about the esp-face lib?

I want to test the demo on some other platforms..

Hi we will provide an update to make the algorithm platform independent.


Quadrangle detection no longer working properly

I am currently trying to use EfficientDet's support for quadrangle detection. However, I have not been able to get it to work properly. When I try to train my data (which I have checked that it has been properly formatted), I receive an error saying:

ValueError: slice index 8 of dimension 2 out of bounds. for 'strided_slice_2' (op: 'StridedSlice') with input shapes: [?,?,4], [2], [2], [2] and with computed input tensors: input[1] = <0 8>, input[2] = <0 9>, input[3] = <1 1>.

I have found that a few changes to BoxNet class allow the training to proceed without errors. However, I then run into more errors when trying to use the trained model to perform quadrangle detection, and I have not managed to find a way to make detection work.

For quadrangle detection, you'd better use the code before Mar.21. I'm busying with other stuff and have not tested the latest code.


Bullet list for enum values

I think they're easier to read this way.  The example in the README looks more verbose, but enums that have long descriptions per-value are much better.
/cc @HowardWolosky

Thanks!  Turns out there was already a style.bulletItem that I should have been using.

Thanks for catching these!

@HowardWolosky feel free to merge PRs in this repo after you review.


Set transaction fees in stellar client to be imported

Update transaction fees to 0.01
Transaction fees are hard-coded in many modules, we need to be set in stellar client and imported from there.

For some payments there is an explicit (and smaller than 0.01TFT) transaction fee.  For others there is not.

Please verify and close if solved.  Otherwise, push back to "in progress"

JS-NG> j.clients.stellar.itenv.transfer(j.clients.stellar.waleed_main.address, 0.1, asset=f"{aa._get_asset('TFT').code}:{aa._get_asset('TFT').issuer}")
2021-03-15 15:39:06.992 | INFO     | jumpscale.clients.stellar.stellar:_transfer:491 - Sending 0.1 TFT:GBOVQKJYHXRR3DX6NOX2RRYFRCUMSADGDESTDNBDS6CDVLGVESRTAC47 to GCNYMAPCCEJSTRGVJGYNH4XLWDPFARHMXDZ525OB2HGW2ZQ4VYQO3OYM
2021-03-15 15:39:47.325 | INFO     | jumpscale.clients.stellar.stellar:_transfer:561 - Transaction hash: 4d4cb75a2748a2dc4c1004f0105e232babb6ea1235917812e494d135a89e74c0
'4d4cb75a2748a2dc4c1004f0105e232babb6ea1235917812e494d135a89e74c0'

JS-NG> j.clients.stellar.itenv.get_transaction_effects("4d4cb75a2748a2dc4c1004f0105e232babb6ea1235917812e494d135a89e74c0")
[-0.1000000 TFT:GBOVQKJYHXRR3DX6NOX2RRYFRCUMSADGDESTDNBDS6CDVLGVESRTAC47, -0.0100000 TFT:GBOVQKJYHXRR3DX6NOX2RRYFRCUMSADGDESTDNBDS6CDVLGVESRTAC47]

Verified transaction fees to be 0.01 and removed the hardcoded 0.1 value


Warn about WS-Federation endpoints not working with idpinitiatedsignon

At least in Windows Server 2019, if the claims provider only has a WS-Federation endpoint, it cannot be used with the idpinitiatedsignon unless you were redirected there from a relying party.
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.IdentityServer.Web.Protocols.Saml.SamlProtocolHandler.SendSignInResponse(SamlContext context, MSISSignInResponse response)
   at Microsoft.IdentityServer.Web.PassiveProtocolListener.ProcessProtocolRequest(ProtocolContext protocolContext, PassiveProtocolHandler protocolHandler)
   at Microsoft.IdentityServer.Web.PassiveProtocolListener.OnGetContext(WrappedHttpListenerContext context)

We ran into this exception while testing our own WS-Federation provider with AD FS. With the help of Microsoft support, the only issue was that we tried to use idpinitiatedsignon directly, without being redirected there from a relying party. According to MS support, the idpinitiatedsignon page cannot be used to do that, if the claims provider is configured with WS-Federation only. According to them, adding a SAML 2.0 endpoint should have helped with that, but we didn't test it, since it was out of scope for our project.

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


Loss of non-redundant axiom in fbcv.obo

We are losing this relationship from FBcv:0000525 'chemical' in fbcv.obo and fbcv.owl:

is_a: FBcv:0000452 ! origin of mutation

This results in chemical terms falling under owl:Thing rather than 'origin of mutation' in the fbcv hierarchy.
This also affects fbcv-full, but not other files.
In fbcv-edit.obo:

[Term]
id: FBcv:0000525
name: chemical
namespace: origin_of_mutation
def: "$sub_CHEBI:24431" [CHEBI:24431]
synonym: "mutation induced by chemical exposure" EXACT []
is_a: FBcv:0000452 ! origin of mutation

In fbcv.obo:

[Term]
id: FBcv:0000525
name: chemical
namespace: origin_of_mutation
def: "A chemical entity is a physical entity of interest in chemistry including molecular entities, parts thereof, and chemical substances." [CHEBI:24431]
synonym: "mutation induced by chemical exposure" EXACT []
is_a: CHEBI:24431 ! chemical entity

In both files chemical entity has:

equivalent_to: FBcv:0000525 ! chemical

This unboxed a scary can of worms.. Hahha. I think I found a workaround, but we this will get rid of redundancy stripping..

Sounds familiar. Thought we'd fixed this a couple of months back.   We can live with redundancy in the full release.

This was a problem with OORT. But this here is something really weird. It is caused merely by running reduce (no filter/remove stuff of any kind).


path in search gets prefixed with home

The search path variable is always prefixed with the session.home if it does not start with /. That defeats a bit the purpose of an iRODS-server-wide search.

@chStaiger I don't really understand the issue. Isn't this expected behavior?

Not really.  If you are searching for %, i.e. all data in the iRODS instance  you have access to, you do not want this to be changed to session.home/%.

Test:
ibridges v0.2.2:
res = search_data(session, path="%/New Folder")
{'COLL_NAME': '/nluu12p/home/research-test-christine/New Folder'}

Should be after fix:
 {'COLL_NAME': '/nluu12p/home/research-test-christine/New Folder'},
 {'COLL_NAME': '/nluu12p/home/research-test-dawa/New Folder'}]

I can see your point from an iRODS perspective. However, I do think users (such as I) might not necessarily expect the whole iRODS server to be searched with %. Depending on the situation, it might be safer/faster to keep the current implementation. I also think it is more consistent with the rest of the iBridges API/CLI. If you want to search the whole iRODS server, you would have to simply use /%, right? That doesn't seem too difficult to me.

I think the this could also be solved in a different way that might be more easy to follow to the user, which is to separate the pattern and the search collection. I think that in itself creates the largest part of the confusion.
search_data(session, ipath, pattern)

Would make a lot more sense to me, but I suppose that this is mostly dictated currently by PRC behavior.


feat: Add img_tag_options to ix_picture_tag

Description
As suggested in #40 and #101, this PR adds an img_tag_options argument for ix_picture_tag. This can be used to futher customize the generated tags. It also updates the specs and README for documentation.
You can check the spec changes to see how this can be used.
Since this only adds an additional optional parameter, I don't expect any incompatibilities and therefore would not consider this a breaking change.
Checklist

[x] Read the contributing guidelines.
[x] Each commit follows the Conventional Commit spec format.
[x] Update the readme (if applicable).
[x] Update or add any necessary API documentation (if applicable)
[x] All existing unit tests are still passing (if applicable).

[ ] Add some steps so we can test your bug fix or feature (if applicable).
[x] Add new passing unit tests to cover the code introduced by your PR (if applicable).
[x] Any breaking changes are specified on the commit on which they are introduced with BREAKING CHANGE in the body of the commit.
[x] If this is a big feature with breaking changes, consider opening an issue to discuss first. This is completely up to you, but please keep in mind that your PR might not be accepted.

Opened the PR with my work account 🤦


Message bodies do not appear when using search

When using search, if an email is selected from the results, only the header will be displayed. (Email reading without searching works fine.) I'm using it with Gmail on 10.15.4. Any ideas?

Previews from search work for me after clicking on a message in the results list.
Gmail, MacOS 10.15.4, deja 1.0(217)

The previews appear in the message list when I search, but when I click or double-click the message to read the whole email, the full message body does not appear (see below). Does this work for you?

Yes

I noticed a similar problem when clicking on a Notification Center alert - the message would open and the body would be blank. Wasn't able to reproduce it consistently, though.

What I noted in my previous comment appears to be a race condition. Waiting a few seconds for DejaLu to start and everything is as expected. Perhaps this issue is similar or related.

What I noted in my previous comment appears to be a race condition. Waiting a few seconds for DejaLu to start and everything is as expected. Perhaps this issue is similar or related.

The issue persists no matter how long I wait (minutes or hours after having the application open). Note that my issue appears specifically related to doing searches-- message bodies appear fine in all other contexts.

The issue persists no matter how long I wait (minutes or hours after having the application open). Note that my issue appears specifically related to doing searches-- message bodies appear fine in all other contexts.


"Contribute" button on doc pages

By default mkdocs material has buttons for editing and viewing the source of each page, but this doesn't make sense when your documentation is mostly automatically generated from sources in ~20 repos. Still, these buttons are absolutely crucial to making RB open to contributions and scaling the project.
We need some kind of universal widget that would allow editing a page or changing the metadata. For each page, there MUST be such a link to "Edit content" and if it also contains metadata, then "Edit metadata". The link button should be brightly colored and big, and lead to GitHub's editor with the option to later submit a PR with these changes.
Implementing this won't be trivial, what comes to mind is (possibly) an mkdocs plugin that would have a fixed set of rules to construct the correct link for a given path the doc repository.
This is kind of relevant to #52, we could implement that issue's functionality here as well.

[ ] Update the documentation page on editing documentation – there's a TODO for this issue there.

This is a duplicate of #53. I will move the discussion from here to there.


Make FunctionRegistry use Calcite NamedMultiMap

Changelist

consolidate FunctionRegistry into CalciteNamedMultiMap
allows multiple function with same num-of-args
ready the FunctionRegistry for polymorphism in the future
ready the CalciteSchema to allow polymorphism and consolidate Transform/Scalar in the future

Unaddressed problem

backward incompatible, all canonicalize function names are not auto canonicalized

Codecov Report
Attention: 29 lines in your changes are missing coverage. Please review.

Comparison is base (56ecafc) 61.60% compared to head (92bdff0) 27.67%.
Report is 7 commits behind head on master.

Files
Patch %
Lines

...apache/pinot/common/function/FunctionRegistry.java
0.00%
29 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12144       +/-   ##
=============================================
- Coverage     61.60%   27.67%   -33.94%
+ Complexity     1152      201      -951
=============================================
  Files          2406     2407        +1
  Lines        130859   130924       +65
  Branches      20218    20222        +4
=============================================
- Hits          80611    36228    -44383
- Misses        44373    91959    +47586
+ Partials       5875     2737     -3138

Flag
Coverage Δ

custom-integration1
?

integration
?

integration1
?

integration2
?

java-11
?

java-21
27.67% <0.00%> (-33.81%)
:arrow_down:

skip-bytebuffers-false
27.66% <0.00%> (-33.92%)
:arrow_down:

skip-bytebuffers-true
27.67% <0.00%> (-33.80%)
:arrow_down:

temurin
27.67% <0.00%> (-33.94%)
:arrow_down:

unittests
27.67% <0.00%> (-33.93%)
:arrow_down:

unittests1
?

unittests2
27.67% <0.00%> (+0.02%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


npm audit found vulnerabilities

# npm audit report

minimatch  <3.0.5
Severity: high
minimatch ReDoS vulnerability - https://github.com/advisories/GHSA-f8q6-p94x-37v3
fix available via `npm audit fix --force`
Will install<EMAIL_ADDRESS>which is a breaking change
node_modules/recursive-readdir/node_modules/minimatch
  recursive-readdir  >=1.2.0
  Depends on vulnerable versions of minimatch
  node_modules/recursive-readdir
    react-dev-utils  >=0.5.2
    Depends on vulnerable versions of recursive-readdir
    node_modules/react-dev-utils
      react-scripts  >=0.9.4
      Depends on vulnerable versions of react-dev-utils
      node_modules/react-scripts

4 high severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Fixed with 2.2.11