Do not require all Druxt modules

Maybe this isn't the right approach. Maybe there needs to be feature flags that turn off specific modules. But this is a first approach.
Fixes #13

The only purpose of the DruxtJS module at the moment is to enable all these modules and configure some extra things. If you want to use modules individually you can already do that by not using the druxt module at all.
This issue requires documentation and examples rather than a code change here.

Ah, we tried that and got an error about the Vuex store not existing, and I saw this package provides one

Ah, we tried that and got an error about the Vuex store not existing, and I saw this package provides one

Yes, the Vuex store does need to be setup. In the main DruxtJS module that is being done for you, but if you are using the modules individually at the moment you will need to ensure a Vuex store is present in the NuxtJS project.
The easiest way to do this is by creating the following file with the following content:
store/index.js
export default {}

An example of a Nuxt codebase with a single module can be see here: https://github.com/Decipher/druxt-menu-example

@Decipher great! so there's nothing too fancy for the store.
Maybe we can have a repo in the org for an "awesome-druxt" list and "druxt-contrib"
Totally ripping this from https://github.com/drud/awesome-ddev and https://github.com/drud/ddev-contrib.
--
Closing so we could solve this in the main issue.

so there's nothing too fancy for the store.

Yeah, NuxtJS only initialises the Vuex store if you have atleast one module present. But the DruxtJS module specifically turns the feature on.
Each individual module that has a Vuex store should also be doing this, I will follow that up in in the future.
And absolutely intend to have awesome-druxt.


Direclty save pcd file

Hi,
Is it possible to directly save the pointcloud map created as PCD file rather than exporting it via the OfflineViewer?

It is not directly supported, but you can easily implement it by using global_mapping->export_points() at the destructor of GlimROS.
std::vector<Eigen::Vector4d> points = global_mapping->export_points();

Thanks.  But can I make this change if the glim_ros library is installed using PPA method?

Thanks a lot for the help. I was able to make the change.

@Shaswat2001  You can save as .ply using offline_viewer.
Then convert and visualize it to (.pcd) format using python open3d.
import open3d as o3d
pcd = o3d.io.read_point_cloud("source_pointcloud.ply")
o3d.io.write_point_cloud("sink_pointcloud.pcd", pcd)
o3d.visualization.draw_geometries([pcd])


hal: wifi: add support of wifi subsystem for esp32c3

By adding wifi adapter and wpa_supplicant files.
Signed-off-by: Felipe Neves<EMAIL_ADDRESS>

@sylvioalves @glaubermaroto PTAL

LGTM


tutorial additions

Include an exercise creating/running an event loop macro for the next tutorial
Include an exercise using TrkAnaUtil to browse the TrkAna trees
Include a real tutorial using Crv branches

Would also be good to incorporate more diverse tutorial task, and advanced tasks linked to real analysis-type skills. I will do this as part of the Reference Analysis effort

From Sophie in #153:
we should include some real examples for analysis
we should look at some extracted analysis too

thanks Andy, I thought I remembered writing this somewhere


[SIMPLIFY] [MISC] Refactor Model.predict including ambiguous use of **kwargs

The implentation of _Predictor.predict is too long, and has inconsistent signatures in downstream implementations.
We should clean this up.

@blythed I would like to work on this.


Add Slash Watch

Slash Watch is a recreation of the Slash watch face for Pebble watches by Nikki. Simple watchface with a slash through the hours and minutes. Date shown at the bottom. No customizable options (yet!). Space at the top for widgets.

Looks great - thanks!


Undocumented/Uninteded behaviour in URI parsing

Assume this simple test-controller:
class Home extends CI_Controller {
    public function test($p) {
        var_dump($p); die();
    }
}

When visiting the url example.com/home/test/what is happening you get the following outputs when uri_protocol is set to AUTO:
CI 2.x: string 'what is happening' (length=17)
CI 3.x: string 'what%20is%20happening' (length=21)
I would expect it to behave like CI 2.x's handling, but in fact you have to set the uri_protocol to PATH_INFO.
Now this is either missing in the Docs/Upgrade Guides, or an actual error in https://github.com/bcit-ci/CodeIgniter/blob/3.0-stable/system/core/URI.php#L119-L134
Last known working version: CI 3.0.0-rc1

This was discussed in #3593 And was changed then

Ah okay thanks for the heads up!
As @narfbg said Also, the server variable to use for URI fetching is configurable, it's just the default that has changed.
That might've been worth noting in the upgrade guides...
Other than that, close this at will. :)

Duplicate of #4147.


Refactor WebServer.init and AWSClient.init to use New pattern

Turns out the pattern I kinda made up and used in web.go and aws.go isn't what you should do. Instead there should be a NewWebServer or NewAWSClient function that returns a pointer to an initialized struct/object thing as our constructor pattern. See https://go.dev/doc/effective_go#allocation_new for more details, along with their example from the os package.

Closed with https://github.com/skalnik/file-cloud/pull/8


Problem of sending text

Hello!
I successfully connected to WS server with ticket by link like "ws://url/ws?ticket={ticket}".
But when I try to send text I don't receive any message in this delegate method
func websocketDidReceiveMessage(socket: WebSocketClient, text: String) {         print("Received text: \(text)")     }
Can you help me?

You need to make sure the socket object is a property, so it doesn't fall out of scope. You can see this in the example code and docs here.
https://github.com/daltoniam/Starscream#example

@acmacalister no, it was wrong model sent to the server.
But thanks for quick response! :)


filterResourcesWithEvents about

Hi Vladimir Kurko,
I have some questions.
1-) Can we hide resourceTimeGridDay hide columns like timeGridWeek: {hiddenDays: [2,3,4,5]} etc.
2-) About popover again
EventDidMount showing popover no problem but if i want to drag drop event i cant hide popover (Bootstrap 5)
<script>
let ec = new EventCalendar(document.getElementById('ec'), {
view: 'resourceTimeGridDay', height: '800px',
eventDidMount: function(info) {
            if (info.event.display === 'auto') {
                const bsPopover = new bootstrap.Popover(info.el, {
                    placement: 'left', trigger: 'hover', html: true,
                    title: function(){ return info.event.title; },
                    content: function(){ return info.event.extendedProps[0].explanation; }
                });
            }
        },
        eventDragStart: function (info) {
            // i cant run popover hide method here
            // const bsPopover = new bootstrap.Popover(info.el);
            // bsPopover.hide()
            // $('.ec-event').bsPopover.hide();
        },

    });</script>

3-) when i use refetchEvents() function can i change resources and events data ?
Thank you for you support

Hi @emrahnalci

Can you explain what you mean. Sorry, I don't quite understand the issue.
Do you have a codepen link please?
You can use a function as the value for eventSources. In this case, inside the function there can be any business logic that can manage both the parameters passed to the server and change the data received from the server before passing them to the calendar.

1-) your example i want to same job but resourceTimeGridDay
2-) jsfiddle
if i change (right on refresh button) selectbox rooms or personal code is line 110
<script> $('#resourceView').change(function(){     if($(this).val() == 1){       ec.view('resourceTimeGridDay').resources([         {id: 1, title: 'Personal\n 1'},{id: 2, title: 'Personal\n 2'},         {id: 3, title: 'Personal\n 3'},{id: 4, title: 'Personal\n 4'}       ]).events(         personalEvents()       );     }     else {       ec.view('resourceTimeGridDay').resources([         {id: 1, title: 'Room\n 1'},{id: 2, title: 'Room\n 2'},         {id: 3, title: 'Room\n 3'},{id: 4, title: 'Room\n 4'},         {id: 5, title: 'Room\n 5'},{id: 6, title: 'Room\n 6'},         {id: 7, title: 'Room\n 7'},{id: 8, title: 'Room\n 8'},         {id: 9, title: 'Room\n 9'},{id: 10, title: 'Room\n 10'},         {id: 11, title: 'Room\n 11'},{id: 12, title: 'Room\n 12'}       ]).events(         roomEvents()       );     }   }); </script>
3-) refresh button code on line 169

'hiddenDays' options works for resourceTimeGridDay view too. I do not see the issue. Please, provide a link to a demo showing the problem.
I hover over an event and see a popup. I start moving the event and the popup hides. What exactly is the problem?
With all due respect to all those who use the Event Calendar in their projects and help me identify bugs in the calendar, fix them and improve the library, I have no way to help you write the code for your business logic. I pointed out the options and features that I think can be used in your case, but I will not write code for your project. Hope for understanding :smile:

hiddenDays option works for resourceTimeGridDay view too. I do not see the issue. Please, provide a link to a demo showing the problem.
I hover over an event and see a popup. I start moving the event and the popup hides. What exactly is the problem?
With all due respect to all those who use the Event Calendar in their projects and help me identify bugs in the calendar, fix them and improve the library, I have no way to help you write the code for your business logic. I pointed out the options and features that I think can be used in your case, but I will not write code for your project. Hope for understanding :smile:

here is a new demo

Thank you resourceTimeGridDay hiddenDays
Now i see my wrong code
Thank your support
You can close 😄


"gulp serve" is returning workbench.html that i can not add the web part to

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[X] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[X] 💥 FireFox
[X] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version
SPFx version ---> 1.12.1
Node.js version --->  10.24.1
etc

Issue description
I have developed an SPFx web part with this details:-
yo-rc.json for the project, is:-

{
  "@microsoft/generator-sharepoint": {
    "isCreatingSolution": true,
    "environment": "spo",
    "version": "1.12.1",
    "libraryName": "spfx-my-modal-popup",
    "libraryId": "616c9b54-d123-42d8-9942-9abb0fe4f46c",
    "packageManager": "npm",
    "isDomainIsolated": false,
    "componentType": "webpart"
  }
}

now i installed nvm to be able to run multiple node versions, here what i did so far:-

I install node version 10.24.1 , then i use it as follow :-

nvm use 10.24.1

i run :-
gulp serve

The https://localhost:4321/temp/workbench.html opened but when i tried to add the web part by clicking on the + icon i will get this error inside the F12 developer tool:-
here is the full error:-
[1636842661379][PropertyPaneLoader] [SPLoaderError.loadComponentError]:

***Failed to load component "f9e737b7-f0df-4597-ba8c-3060f82380db" (SPPropertyPane). Original error: ***Failed to load URL<EMAIL_ADDRESS>for resource 'sp-property-pane' in component 'f9e737b7-f0df-4597-ba8c-3060f82380db' (SPPropertyPane). The file was not found in the server. Make sure that you are running 'gulp serve'.

***INNERERROR:

***Failed to load URL<EMAIL_ADDRESS>for resource 'sp-property-pane' in component 'f9e737b7-f0df-4597-ba8c-3060f82380db' (SPPropertyPane). The file was not found in the server. Make sure that you are running 'gulp serve'.

***CALLSTACK:

SPError@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:24443:24
SPLoaderError@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:42161:28
ff4n/ErrorBuilder</ErrorBuilder.buildErrorWithVerboseLog@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46155:21
ff4n/ErrorBuilder</ErrorBuilder.buildLoadComponentError@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46024:21
_loadComponentImpl/<@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45362:75
promise callback*_loadComponentImpl@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45361:8
_loadComponentRetryStrategy@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45299:12
_loadComponentRetryStrategy/<@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45309:20
promise callback*_loadComponentRetryStrategy@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45304:10
_loadComponentRetryStrategy/<@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45309:20
promise callback*_loadComponentRetryStrategy@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45304:10
loadComponent@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45281:55
++S4/SPRequireJsComponentLoader</SPRequireJsComponentLoader.prototype._loadComponentWithExecutor@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:41771:85
td2X/LoadComponentExecutor</LoadComponentExecutor.prototype.loadComponent@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46896:21
++S4/SPRequireJsComponentLoader</SPRequireJsComponentLoader.prototype.loadComponent@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:41742:44
Uk6p/BaseComponentLoader</BaseComponentLoader.prototype.loadComponentById@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:44816:25
KZU3/SPComponentLoader</SPComponentLoader.loadComponentById@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:43438:44
get@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:110639:99
set@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:16957:21
set@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:14989:13
CanvasToolboxHint/_this._handleClick@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/chunk.sp-canvas-edit_7833b0118fe685da1388.js:3982:17
callCallback@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75432:14
invokeGuardedCallbackDev@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75482:16
invokeGuardedCallback@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75539:31
invokeGuardedCallbackAndCatchFirstError@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75553:25
executeDispatch@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75844:42
executeDispatchesInOrder@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75866:20
executeDispatchesAndRelease@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75963:29
executeDispatchesAndReleaseTopLevel@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75971:10
forEachAccumulated@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75945:8
runEventsInBatch@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:76099:21
runExtractedEventsInBatch@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:76107:19
handleTopLevel@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:80109:30
batchedUpdates$1@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:95687:12
batchedUpdates@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:77434:12
dispatchEvent@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:80188:19
interactiveUpdates$1/<@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:95738:14
unstable_runWithPriority@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:97248:12
interactiveUpdates$1@https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:95737:22
sp-webpart-workbench-assembly_default.js:26401:21
Uncaught (in promise) Error: ***Failed to load component "f9e737b7-f0df-4597-ba8c-3060f82380db" (SPPropertyPane). Original error: ***Failed to load URL<EMAIL_ADDRESS>for resource 'sp-property-pane' in component 'f9e737b7-f0df-4597-ba8c-3060f82380db' (SPPropertyPane). The file was not found in the server. Make sure that you are running 'gulp serve'.
    SPError https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:24443
    SPLoaderError https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:42161
    buildErrorWithVerboseLog https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46155
    buildLoadComponentError https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46024
    _loadComponentImpl https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45362
    promise callback*_loadComponentImpl https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45361
    _loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45299
    _loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45309
    promise callback*_loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45304
    _loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45309
    promise callback*_loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45304
    loadComponent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45281
    loadComponent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46458
    _loadComponentImpl https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:43631
    promise callback*PypK/SystemJsFallbackLoader</SystemJsFallbackLoader.prototype._loadComponentImpl https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:43621
    loadComponent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46896
    loadComponent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:43617
    _loadComponentWithExecutor https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:41781
    promise callback*++S4/SPRequireJsComponentLoader</SPRequireJsComponentLoader.prototype._loadComponentWithExecutor https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:41777
    loadComponent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46896
    loadComponent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:41742
    loadComponentById https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:44816
    loadComponentById https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:43438
    get https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:110639
    set https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:16957
    set https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:14989
    _handleClick https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/chunk.sp-canvas-edit_7833b0118fe685da1388.js:3982
    callCallback https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75432
    invokeGuardedCallbackDev https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75482
    invokeGuardedCallback https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75539
    invokeGuardedCallbackAndCatchFirstError https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75553
    executeDispatch https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75844
    executeDispatchesInOrder https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75866
    executeDispatchesAndRelease https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75963
    executeDispatchesAndReleaseTopLevel https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75971
    forEachAccumulated https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75945
    runEventsInBatch https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:76099
    runExtractedEventsInBatch https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:76107
    handleTopLevel https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:80109
    batchedUpdates$1 https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:95687
    batchedUpdates https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:77434
    dispatchEvent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:80188
    1 https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:95738
    unstable_runWithPriority https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:97248
    interactiveUpdates$1 https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:95737
    interactiveUpdates https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:77453
    dispatchInteractiveEvent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:80165
sp-webpart-workbench-assembly_default.js:24430:28
Uncaught (in promise) Error: ***Failed to load component "f9e737b7-f0df-4597-ba8c-3060f82380db" (SPPropertyPane). Original error: ***Failed to load URL<EMAIL_ADDRESS>for resource 'sp-property-pane' in component 'f9e737b7-f0df-4597-ba8c-3060f82380db' (SPPropertyPane). The file was not found in the server. Make sure that you are running 'gulp serve'.
    SPError https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:24443
    SPLoaderError https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:42161
    buildErrorWithVerboseLog https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46155
    buildLoadComponentError https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46024
    _loadComponentImpl https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45362
    promise callback*_loadComponentImpl https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45361
    _loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45299
    _loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45309
    promise callback*_loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45304
    _loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45309
    promise callback*_loadComponentRetryStrategy https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45304
    loadComponent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:45281
    _loadComponentWithExecutor https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:41771
    loadComponent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:46896
    loadComponent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:41742
    loadComponentById https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:44816
    loadComponentById https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:43438
    get https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:110639
    set https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:16957
    set https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:14989
    _handleClick https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/chunk.sp-canvas-edit_7833b0118fe685da1388.js:3982
    callCallback https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75432
    invokeGuardedCallbackDev https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75482
    invokeGuardedCallback https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75539
    invokeGuardedCallbackAndCatchFirstError https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75553
    executeDispatch https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75844
    executeDispatchesInOrder https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75866
    executeDispatchesAndRelease https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75963
    executeDispatchesAndReleaseTopLevel https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75971
    forEachAccumulated https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:75945
    runEventsInBatch https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:76099
    runExtractedEventsInBatch https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:76107
    handleTopLevel https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:80109
    batchedUpdates$1 https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:95687
    batchedUpdates https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:77434
    dispatchEvent https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:80188
    1 https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:95738
    unstable_runWithPriority https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:97248
    interactiveUpdates$1 https://localhost:4321/temp/workbench-packages/@microsoft_sp-webpart-workbench/local-workbench/sp-webpart-workbench-assembly_default.js:95737
s

You want to use Node 12, not Node 10.  Release notes for 1.12.1 are here - https://docs.microsoft.com/en-us/sharepoint/dev/spfx/release-1.12.1
Also, does this file exist?
<EMAIL_ADDRESS>


add refinements, closes #68

@sledorze I'm not sure how the and combinator could be useful in the case of custom guards, have you got a compelling example?

@sledorze refinements seems to make sense only for primitives and class inheritance, AFAIK the and combinator wouldn't be correct
or
B1 <: A and B2 <: A implies B1 | B2 <: A
and
if B1 <: A and B2 <: A then is not true that B1 & B2 <: A

@gcanti thanks for the mathematical insight, you're right, even if some usages would be correct, the 'and' combinator is not sound and would accept incorrect usages.. let's ditch it!


v0.44 OpenSSL error line 64

In Terminal on Mac OS, execution kept choking with this error:
Traceback (most recent call last):
File "gyb.py", line 64, in
from OpenSSL import crypto
ImportError: No module named 'OpenSSL'
After deleting those lines in gyb.py (comment seemed to indicate they were for the Win version), everything worked fine. In fact gyb is working great, thank you.

Same happens in Ubuntu

Same in MacOSX

In Ubuntu you can use python3 and install pyopenssl
sudo apt-get install python3-openssl
This solves the problem for me

This should be fixed in 0.45:
https://github.com/jay0lee/got-your-back/releases


Issue where time won't change from 12:00 on first attempt

The first time the flatpickr loads if you type a time then press enter, then it just resets to 12:00 :/
https://jsfiddle.net/x3nr725c/

flatpickr version used: 4.6.6
Browser name and version: Chrome | Version 86.0.4240.198 (Official Build) (x86_64)
OS and version: MacOS | Catalina V10.15.6

I'm also experiencing this. From what I can tell, this still occurs with flatpickr versions 4.6.7 and 4.6.8 as well.
The latest version that appears to not have this problem seems to be 4.6.3. Here's a fiddle: https://jsfiddle.net/fme42zhu/
However, still using version 4.6.3, setting noCalendar to false causes the issue to happen again.

I found a sort of ugly work around by modifying the updateTime function.
This is what I did:
        /**
         * The handler for all events targeting the time inputs
         */
        function updateTime(e) {
            // TODO Hotfix for selecting time
            if (self.selectedDates.length === 0 && self.hourElement.value !== undefined) {
                var defaultDate = self.config.minDate !== undefined
                    ? new Date(self.config.minDate.getTime())
                    : new Date();
                defaultDate.setHours(self.hourElement.value, self.minuteElement.value, 0, 0);
                self.setDate(defaultDate, false);
            }
            else if (self.selectedDates.length === 0) {
                var defaultDate = self.config.minDate !== undefined
                    ? new Date(self.config.minDate.getTime())
                    : new Date();
                var _a = getDefaultHours(), hours = _a.hours, minutes = _a.minutes, seconds = _a.seconds;
                defaultDate.setHours(hours, minutes, seconds, 0);
                self.setDate(defaultDate, false);
            }
            if (e !== undefined && e.type !== "blur") {
                timeWrapper(e);
            }
            var prevValue = self._input.value;
            setHoursFromInputs();
            updateValue();
            if (self._input.value !== prevValue) {
                self._debouncedChange();
            }
        }

Here's a fiddle https://jsfiddle.net/fme42zhu/1/


Perform actions project details page

Notion card
https://www.notion.so/saeloun/Project-details-page-the-user-should-be-able-to-perform-actions-a1127e3af5c3468d986fc9e60b1c1a0a
Summary

The user can perform actions on project details page.
Preview

https://www.loom.com/share/7e508b689ed344208fff3de20b369d3d
Type of change

New feature

How Has This Been Tested?

Checklist:

[ ] I have manually tested all workflows
[ ] I have performed a self-review of my own code

@onkar-saeloun  Please review this PR.
@apoorv1316 This should be tested and merged today.

LGTM after resolving Apoorv's comment

@Shruti-Apte Please resolve the comments on this PR first ?


[ci skip] adding user @rjgildea

Hi! This is the friendly automated conda-forge-webservice.
I've added user @rjgildea as instructed in #39.
Merge this PR to add the user. Please do not rerender this PR or change it in any way. It has [ci skip] in the commit message to avoid pushing a new build and so the build configuration in the feedstock should not be changed.
Please contact conda-forge/core to have this PR merged, if the maintainer is unresponsive.
Fixes #39

👍

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Missing dll

The doorstop config.ini is looking for ModEnabler/PPModEnabler.dll
But in the latest v1 there is no PPModEnabler.dll (nor does the ModEnabler folder exist (its ModEnabler-main))

What did you download, as my archive surely does haver that and other files:
0Harmony.dll
0Harmony.xml
PPModEnabler.dll
PPModEnabler.pdb ...
So what likely happened, is either you extracted the archive file wrong, or something ate the .dll.


Pagination buttons on explorer seems bit off

😅
https://beta.kodadot.xyz/rmrk/explore/?tab=GALLERY&page=1

👋

let's go :)


Add User-Agent to requests

Fixes #231.

Great start! However, requests used not only in this module. So, the original issue isn't closed yet.

Ah yes, not just for pypistats.org. Please see PR #243 for the rest!


Fix combo box misalignment on rtl layout

Combo boxes were hard-coded to be left aligned. Causing them to render in the wrong position within a RTL layout.
Before:

After:

Thanks!


Incorrect typing on createUser api in admin.auth leads to broken multi-factor auth

Operating System version: Mac OS 11.2.3
Firebase SDK version: 9.7.0
Firebase Product: auth
Node.js version: 12.21.0
NPM version: 7.7.0

[REQUIRED] Step 3: Describe the problem
Typescript types are incorrect for CreateMultiFactorInfoRequest and CreatePhoneMultiFactorInfoRequest in admin.auth.createUser. I expect to be able to pass in a phone number but am not allowed by the type system. Instead, I have to cast the type as any.
Steps to reproduce:
admin.auth.createUser({
  displayName: 'somebody',
  email<EMAIL_ADDRESS>  emailVerified: true,
  multiFactor: { enrolledFactors: [{ factorId: 'phone', phoneNumber: request.phoneNumber }] }
}

This yields the error

You can work around this by casting the object to an any, but the type system is still wrong here.
This was also raised in https://github.com/firebase/firebase-admin-node/issues/1048 but for some reason that ticket was closed by the OP.
As a side-note, it feels like the code was written by someone who thought that extending a typescript interface would mean that instances of the derived class can be passed in instead of the base class, but with structural typing, this is not allowed.

How about rearranging our typings like this?
export interface BaseCreateMultiFactorInfoRequest {
  displayName?: string;
}

export interface CreatePhoneMultiFactorInfoRequest extends BaseCreateMultiFactorInfoRequest {
  factorId: 'phone';
  phoneNumber: string;
}

export type CreateMultiFactorInfoRequest = | CreatePhoneMultiFactorInfoRequest;

// Same for update types

This also enforces that the factorId field on CreatePhoneMultiFactorInfoRequest must be set to "phone". Any semantically correct existing code should compile against the new typings, and therefore won't be a breaking change.

I think that looks reasonable.


[Feature] Support memory profile hook

Motivation
Modification
Add memory profiler hook.
BC-breaking (Optional)
Use cases (Optional)

Checklist

LGTM. May add some documents to tell users about this tool in this PR or later.

We can add new documentation to mainly discuss useful hooks in mmdet. This can be done in future PR.


DSA <IP_ADDRESS> Arrays: Range Queries (Sum/Product)

Description
Explain Range Sum and Range Product Queries.
Task

[ ] Documentation
[ ] Audio
[ ] Video

Note

While requesting the issue to be assigned, please mention your NAME & BATCH NUMBER.
Kindly refer to Issue Guidelines.
In case you see that the issue has already been assigned, try to request for a different task within the same issue.
Changes should be made inside the DSA/directory & DSA branch.
Name of the file should be same as the issue.
This issue is only for 'GWOC' contributors of 'DSA' Domain.

Can I try it

Documentation

Hi I am Interested for Documentation
DSA-batch-5
Kamlesh Joshi

DSA BATCH 1

I would like to contribute for this in documentation
Ayushi Chauhan
Batch-1
Kindly assign it to me.

@nimisha-yadav Hey i have a very good hold on Arrays and i would like to contribute and prepare a well documented sheet on this topic and as is see there is no assignees yet , it would be great if you assign it to me.

For the documentation section kindly assign this issue to me @nimisha-yadav.
I will work on this with my full interest give you a satisfactory result.
Motasim (DSA Batch-01)

Hi I am Interested for Documentation
DSA-batch-5
Kamlesh Joshi

Assigning this issue to you @kamleshjoshi8102, all the best!

Hi I am Interested for Documentation
DSA-batch-5
Kamlesh Joshi

Assigning this issue to you @kamleshjoshi8102, all the best!

But I was the first one to ask !

Hi I am Interested for Documentation
DSA-batch-5
Kamlesh Joshi

Assigning this issue to you @kamleshjoshi8102, all the best!

Thanks a Lot! 😄

But I was the first one to ask !

As it was mentioned, you need to put the name and batch so the first person who followed the guide got the issue. Don't worry, there will be a lot of issues to contribute :D

@kamleshjoshi8102, any updates?

@kamleshjoshi8102, any updates?

Please review I have added 2 functions for PrefixSum and Range-product

/assign


Zooming out to infinity locks the camera in the 3D editor

Godot version:

Godot 3.2.2
OS/device including version:

Mac OS 10.15.5 Catalina
Issue description:

I zoomed out in the 3D view until the zoom meter hit infinity.

Now the camera position is locked and does not allow zooming back in or focusing origin or objects.
Using the free-fly mode (Shift-F) will convert infinite values to NaN.

Re-opening the scene or project preserves this state and the camera is still locked.
This occurred with both mouse and trackpad zooming.
Steps to reproduce:

Create a 3D scene
Zoom out until you get to inf.0

Minimal reproduction project:

Editor Camera Lock.zip

This should be fixed by #39743 once it's merged.

Deleting the cache directory did not help, but deleting the corresponding Spatial.tscn-* files in projects/Project-Name in the editor data directory did restore the camera.


Add Show All Fuels Continued from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of kevinvandy, to add Show All Fuels Continued to CKAN.
Mod details:
name = /mod/1031/Show%20All%20Fuels%20Continued
author = kevinvandy
abstract = A simple mod that forces liquid fuel, oxidizer, air intake, or other fuels to all be shown by the stages, instead of just one fuel gauge in stock KSP
license = MIT
Homepage = http://forum.kerbalspaceprogram.com/index.php?/topic/90688-1-showallfuels-see-all-fuels-required-by-engines/
description = By Default, KSP will only show one resource gauge next to an engine icon in the staging. For normal liquid fuel engines, it only shows a liquid fuel gauge, even though the engine uses both liquid fuel and oxidizer. This mod forces both fuel gauges to show up.
** Features **
*liquid fuel engines show both liquid fuel and oxidizer gauges
*Jet engines show both liquid fuel and air intake gauges
*Ion Engines show both Xenon Gas and Electricity gauges
*Engines that work for the Real Fuels mods will show all the fuels that they are using.
As you can guess, this is a must have mod for Space planes that switch fuel systems, and then you run out of oxidizer or liquid fuel before the other fuel runs out.
** From the original forum thread**
[]
Super simple mod for people like me that want to see everything going on.
Most useful for Spaceplanes (tired of flaming out at full LF, just to see your out of Oxidizer)
Also good for stuff like RealFuels, or engines with lots of resources
Please direct questions about this pull request to kevinvandy.

Fixed

LGTM


Invalid or unexpected token when using createEsbuildPlugin

Current behavior
Cypress fails to start the test at the first run in headed mode but rerunn is working fine.
Desired behavior
Cypress should start tests for the first time in headed mode.
Test code to reproduce
Previously I was using browserify and everything works as expected but I wanted to give a shot with Esbuild, so I followed example for it from https://github.com/badeball/cypress-cucumber-preprocessor/blob/master/examples/esbuild-ts/cypress.config.ts
and I have observed that Cypress GUI lunches faster but after clicking on any of the test it will fail for the first run with Unexpected token error emmited from outside of Cypress code. Second execution will start the test without an error.
Cypress
SpecRunner
Passed:
--
Failed:
1
Pending:
--
[payFacMastercardTrx.feature](https://local.com:8000/__/#)42ms
An uncaught error was detected outside of a testfailed
No commands were issued in this test.
SyntaxError
The following error originated from your test code, not from Cypress.

  > Invalid or unexpected token

When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.

Cypress could not associate this error to any specific test.

We dynamically generated a new test to display this failure.
View stack trace
 Print to console
at Promise.longStackTracesCaptureStackTrace [as _captureStackTrace] (.com:8000/__cypress/runner/cypress_runner.js:3486:19)
at Promise._then (8000/__cypress/runner/cypress_runner.js:1239:17)
at Promise.then (8000/__cypress/runner/cypress_runner.js:1132:17)
at runScriptsFromUrls (.com:8000/__cypress/runner/cypress_runner.js:110809:136)
at Object.runScripts (8000/__cypress/runner/cypress_runner.js:110850:12)
at $Cypress.onSpecWindow (.com:8000/__cypress/runner/cypress_runner.js:40878:67)

ChromeChrome 119

Maybe I am doing smth wrong?
Versions

Cypress version: 13.5.0
Preprocessor version: 19.1.0
Node version: 20.9.0
I am using TypeScript.

Checklist

[x] I've read the FAQ.
[x] I've read instructions for logging issues.
[x] I'm not using<EMAIL_ADDRESS>(package name has changed and it is no longer the most recent version, see #689).

Hey, and thanks for reporting this issue. You need to provide a minimal, reproducible example that illustrates the issue.

Getting same issue with esbuild

Same here to with esbuild.

Closing due to lack of a reproducible example. Feel free to open up another issue if anything changes in this regard.

I am not using TypeScript :(


Revert "Import all available libraries in --repl mode (#10746)"

Pull Request Description
This reverts commit 71285e6ff8bd57d94fc5c1ec8feb69e2c6bf1a56.
Testing a hypothesis that all our Mac builds now run out of heap space because of this change.

Testing a hypothesis that all our Mac builds now run out of heap space because of this change.

What failures are we talking about? This one:
Command failed: Command:
	cd "/Users/runner/work/enso/enso/test" && JAVA_OPTS="-enableassertions" "/bin/bash" "/Users/runner/work/enso/enso/built-distribution/enso-engine-2024.4.1-dev-macos-amd64/enso-2024.4.1-dev/bin/enso" "--no-ir-caches" "--run" "/Users/runner/work/enso/enso/test/Base_Tests"

or some else?

What failures are we talking about?
The latter, yes.

I tried to reproduce the problem on my Mac, but no OutOfMemoryError when running:
sbt:enso> runtime-integration-tests/test

so far.

@JaroslavTulach Feel free to revert my revert. This PR really unblocks more debugging for me that I have to do to CI.
I believe not always the same tests OOMed so it made more sense this way. I'm sure that if you create again that PR checks on mac build would start failing again.


[sival,test] Flakiness in detecting PASS! in Rust test harnesses

Description
The pwrmgr_random_sleep_all_wake_ups_fpga_cw310_test_rom has been seen to fail on some runs, possibly due to a race / bug in the host side of the test.
 Here's the Azure logs for a run where this test failed (expand):
==================== Test output for //sw/device/tests:pwrmgr_random_sleep_all_wake_ups_fpga_cw310_test_rom:
Invoking test: sw/host/tests/chip/pwrmgr/sleep_all_wakeups --rcfile= --logging=info --interface=cw310 --uarts=/dev/ttyACM_CW310_1,/dev/ttyACM_CW310_0 --bootstrap=sw/device/tests/pwrmgr_random_sleep_all_wake_ups_fpga_cw310_test_rom.bin --bitstream=hw/bitstream/universal/splice.bit
[2023-12-06T13:07:10.954Z INFO  opentitanlib::util::usb] Could not open device at bus=1 address=7: No such device (it may have been disconnected)
[2023-12-06T13:07:10.954Z INFO  opentitanlib::util::usb] Could not open device at bus=1 address=100: No such device (it may have been disconnected)
[2023-12-06T13:07:10.954Z INFO  opentitanlib::util::usb] Could not open device at bus=1 address=118: No such device (it may have been disconnected)
[2023-12-06T13:07:10.954Z INFO  opentitanlib::util::usb] Could not open device at bus=1 address=109: No such device (it may have been disconnected)
[2023-12-06T13:07:10.954Z INFO  opentitanlib::util::usb] Could not open device at bus=1 address=35: No such device (it may have been disconnected)
[2023-12-06T13:07:10.959Z INFO  opentitanlib::io::uart] set_flow_control to false
[2023-12-06T13:07:10.959Z INFO  opentitanlib::test_utils::load_bitstream] Loading bitstream: "hw/bitstream/universal/splice.bit"
[2023-12-06T13:07:10.972Z INFO  opentitanlib::util::usr_access] Bitstream file USR_ACCESS value: 0xc6bcc37b
[2023-12-06T13:07:11.035Z INFO  opentitanlib::util::rom_detect] Current bitstream: "TestROM:c6bcc37b\r"
[2023-12-06T13:07:11.035Z INFO  opentitanlib::transport::common::fpga] Already running the correct bitstream.  Skip loading bitstream.
[2023-12-06T13:07:11.036Z INFO  opentitanlib::test_utils::init] load_bitstream: success.
"load_bitstream": true
[2023-12-06T13:07:11.037Z INFO  opentitanlib::bootstrap] Asserting bootstrap pins...
[2023-12-06T13:07:11.037Z INFO  opentitanlib::app] Asserting the reset signal
[2023-12-06T13:07:11.138Z INFO  opentitanlib::app] Clearing the UART RX buffer
[2023-12-06T13:07:11.138Z INFO  opentitanlib::app] Deasserting the reset signal
[2023-12-06T13:07:11.238Z INFO  opentitanlib::bootstrap] Performing bootstrap...
[2023-12-06T13:07:14.099Z INFO  opentitanlib::bootstrap] Releasing bootstrap pins, resetting device...
[2023-12-06T13:07:14.101Z INFO  opentitanlib::app] Asserting the reset signal
[2023-12-06T13:07:14.201Z INFO  opentitanlib::app] Deasserting the reset signal
[2023-12-06T13:07:14.301Z INFO  opentitanlib::test_utils::init] bootstrap: success.
"bootstrap": true
68:Starting test sleep_all_wakeups_test...
[2023-12-06T13:07:14.302Z  console]I00001 test_rom.c:158] kChipInfo: scm_revision=e0024355
[2023-12-06T13:07:14.302Z  console]I00002 test_rom.c:184] TestROM:c6bcc37b
[2023-12-06T13:07:14.302Z  console]I00003 test_rom.c:190] Boot strap requested
[2023-12-06T13:07:14.302Z  console]I00001 test_rom.c:158] kChipInfo: scm_revision=e0024355
[2023-12-06T13:07:14.302Z  console]I00002 test_rom.c:184] TestROM:c6bcc37b
[2023-12-06T13:07:14.302Z  console]I00003 test_rom.c:230] Test ROM complete, jumping to flash (addr: 20000480)!
[2023-12-06T13:07:14.302Z  console]I00001 ottf_main.c:154] Running sw/device/tests/pwrmgr_random_sleep_all_wake_ups.c
[2023-12-06T13:07:14.302Z  console]I00002 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 0

[2023-12-06T13:07:14.302Z  console]I00003 pwrmgr_random_sleep_all_wake_ups.c:121] Woke up by source 0
[2023-12-06T13:07:14.309Z  console]
[2023-12-06T13:07:14.309Z  console]I00004 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 0
[2023-12-06T13:07:14.315Z  console]
[2023-12-06T13:07:14.319Z  console]I00001 test_rom.c:158] kChipInfo: scm_revision=e0024355
[2023-12-06T13:07:14.324Z  console]I00002 test_rom.c:184] TestROM:c6bcc37b
[2023-12-06T13:07:14.328Z  console]I00003 test_rom.c:230] Test ROM complete, jumping to flash (addr: 20000480)!
[2023-12-06T13:07:14.335Z  console]I00001 ottf_main.c:154] Running sw/device/tests/pwrmgr_random_sleep_all_wake_ups.c
[2023-12-06T13:07:14.343Z  console]I00002 pwrmgr_random_sleep_all_wake_ups.c:94] Woke up by source 0
[2023-12-06T13:07:14.349Z  console]
[2023-12-06T13:07:14.349Z  console]I00003 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 2
[2023-12-06T13:07:14.355Z  console]
[2023-12-06T13:07:14.356Z  console]I00004 pwrmgr_random_sleep_all_wake_ups.c:121] Woke up by source 2
[2023-12-06T13:07:14.362Z  console]
[2023-12-06T13:07:14.362Z  console]I00005 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 2
[2023-12-06T13:07:14.369Z  console]
[2023-12-06T13:07:14.372Z  console]I00001 test_rom.c:158] kChipInfo: scm_revision=e0024355
[2023-12-06T13:07:14.378Z  console]I00002 test_rom.c:184] TestROM:c6bcc37b
[2023-12-06T13:07:14.381Z  console]I00003 test_rom.c:230] Test ROM complete, jumping to flash (addr: 20000480)!
[2023-12-06T13:07:14.388Z  console]I00001 ottf_main.c:154] Running sw/device/tests/pwrmgr_random_sleep_all_wake_ups.c
[2023-12-06T13:07:14.396Z  console]I00002 pwrmgr_random_sleep_all_wake_ups.c:94] Woke up by source 2
[2023-12-06T13:07:14.402Z  console]
[2023-12-06T13:07:14.402Z  console]I00003 pwrmgr_sleep_all_wake_ups_impl.c:131] prgm_usb_wakeup: wait 20us (usb)
[2023-12-06T13:07:14.409Z  console]I00004 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 3
[2023-12-06T13:07:14.416Z  console]
[2023-12-06T13:07:14.416Z  console]I00005 pwrmgr_random_sleep_all_wake_ups.c:121] Woke up by source 3
[2023-12-06T13:07:14.422Z  console]
[2023-12-06T13:07:14.422Z  console]I00006 pwrmgr_sleep_all_wake_ups_impl.c:131] prgm_usb_wakeup: wait 20us (usb)
[2023-12-06T13:07:14.429Z  console]I00007 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 3
[2023-12-06T13:07:14.436Z  console]
[2023-12-06T13:07:14.440Z  console]I00001 test_rom.c:158] kChipInfo: scm_revision=e0024355
[2023-12-06T13:07:14.445Z  console]I00002 test_rom.c:184] TestROM:c6bcc37b
[2023-12-06T13:07:14.448Z  console]I00003 test_rom.c:230] Test ROM complete, jumping to flash (addr: 20000480)!
[2023-12-06T13:07:14.456Z  console]I00001 ottf_main.c:154] Running sw/device/tests/pwrmgr_random_sleep_all_wake_ups.c
[2023-12-06T13:07:14.463Z  console]I00002 pwrmgr_random_sleep_all_wake_ups.c:94] Woke up by source 3

[2023-12-06T13:07:14.470Z  console]I00003 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 4
[2023-12-06T13:07:15.053Z  console]I00004 pwrmgr_random_sleep_all_wake_ups.c:121] Woke up by source 4
[2023-12-06T13:07:15.053Z  console]I00005 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 4
[2023-12-06T13:07:15.053Z  console]I00001 test_rom.c:158] kChipInfo: scm_revision=e0024355
[2023-12-06T13:07:15.053Z  console]I00002 test_rom.c
[2023-12-06T13:07:15.053Z  console]:184] TestROM:c6bcc37b
[2023-12-06T13:07:15.053Z  console]I00003 test_rom.c:230] Test ROM complete, jumping to flash (addr: 20000480)!
[2023-12-06T13:07:15.053Z  console]I00001 ottf_main.c:154] Running sw/device/tests/pwrmgr_random_sleep_all_wake_ups.c
[2023-12-06T13:07:15.053Z  console]I00002 pwrmgr_random_sleep_all_wake_ups.c:94] Woke up by source 4
[2023-12-06T13:07:15.053Z  console]I00
[2023-12-06T13:07:15.053Z  console]003 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 5
[2023-12-06T13:07:15.053Z  console]I00004 pwrmgr_random_sleep_all_wake_ups.c:121] Woke up by source 5
[2023-12-06T13:07:15.053Z  console]I00005 pwrmgr_sleep_all_wake_ups_impl.c:225] Issue WFI to enter sleep 5
[2023-12-06T13:07:15.053Z  console]I00001 test_rom.c:158] kChipInfo: scm_revisio
[2023-12-06T13:07:15.053Z  console]n=e0024355
[2023-12-06T13:07:15.053Z  console]I00002 test_rom.c:184] TestROM:c6bcc37b
[2023-12-06T13:07:15.053Z  console]I00003 test_rom.c:230] Test ROM complete, jumping to flash (addr: 20000480)!
[2023-12-06T13:07:15.053Z  console]I00001 ottf_main.c:154] Running sw/device/tests/pwrmgr_random_sleep_all_wake_ups.c
[2023-12-06T13:07:15.053Z  console]I00002 pwrmgr_random_sleep_all_wake_ups.c:94] Woke up by source 5
[2023-12-06T13:07:15.053Z  console]I00003 ottf_main.c:109] Finished sw/device/tests/pwrmgr_random_sleep_all_wake_ups.c
[2023-12-06T13:07:15.053Z  console]I00004 status.c:28] PASS!

-- Test timed out at 2023-12-06 13:08:10 UTC --
================================================================================

These logs show that the test did print the PASS! message, but still timed out:
[2023-12-06T13:07:15.053Z  console]I00002 pwrmgr_random_sleep_all_wake_ups.c:94] Woke up by source 5
[2023-12-06T13:07:15.053Z  console]I00003 ottf_main.c:109] Finished sw/device/tests/pwrmgr_random_sleep_all_wake_ups.c
[2023-12-06T13:07:15.053Z  console]I00004 status.c:28] PASS!

I'm not really sure why, but perhaps some race caused the PASS! line to be absorbed by the check for Woke up by source... further down?:
https://github.com/lowRISC/opentitan/blob/c009a4a71127b82106de9faf18ab96fd809936fa/sw/host/tests/chip/pwrmgr/src/sleep_all_wakeups.rs#L52

I think I already raised this issue in one PR of mattute but I can't find it again. I agree that the behaviour of wait_for is super counterintuitive. The proble, as far as I can tell, is here: in uart_read. It reads a full buffer of characters (256 bytes) but if there is a match mid-buffer, it throws away the rest of it. Some solutions could be:

read one character at a time: might be inefficient
read a full buffer but put-back the rest of it in the Uart if there is a match. This might require to modify ConsoleDevice to add support for that.

I think it makes sense but the way the ConsoleDevice is implemented is quite convoluted, I honestly have no idea where to start.

It's goofy because UartConsole::wait_for() creates a new UartConsole on every entry and drops it upon return, and that object is the final holder of all the data it greedily scooped up from the UART (held in the buffer String member).
This seems like a peculiar ownership model, since any overzealous function call could discard data that is relevant to another. Would it make sense to have a more explicit single-producer/multi-consumer stream model? Register/unregister listeners, copy streams (or manage different sets of indices and/or reference counts, I guess), and have each listener manage their own stream?
Right now, the stdout and logging outputs are kind of mashed together with other pattern matching calls in UartConsole. It seems to have grown into something that is difficult to maintain.

I raised the priority and added SiliconValidation since this causes spurious failures and will slow us down.

I see two possible solutions.

We could let UartConsole keep a buffer of the characters it has read beyond the last match in wait_for(), that would require making wait_for() taking a &self parameter as well as changing e.g. exit_success from an instance variable to a parameter into wait_for(), and it would require all callers to pass along the UartConsole instance, rather than getting the lower level Uart object and each creating their own UartConsole.  I do not think this is a bad design at all, but it could require changing lots of places.
We could implement an interface to "put back" characters to a Uart object.  As has been noted, there are currently several implementations of the Uart trait, and I think it is undesirable to put the burden on each one of them (and on future implementation) to support putting back characters.  Rather, I would suggest that we put the functionality at the TranportWrapper layer.  That is, we would add a new put_back() method to the Uart trait, with the undestanding that none of the backends will implement that method.  Then we would change TransportWrapper::uart() such that instead of returning the underlying Uart object directly, it would wrap it in another object which implements the Uart trait, and which has a buffer of characters put back.  The read() method on this wrapper object would inspect the put-back buffer, and return immediately if present, or call through to the underlying Uart object only if empty.  This will be a relatively narrow change, and would align with how I2C and SPI objects are also wrapped at this layer.  One possible complication is register_nonblocking_read() and related functions, which allows callers to set up the Uart for use by mio::Poll, I think this can be worked around, by always reading from the Uart at the top of interact_mio, though it is ugly to have two partially incompatible interfaces in the same Trait.  Maybe the first proposal is the better.

Am I missing something, or will simply reading 1 char at a time (instead of 256), as implemented in #20592, not fix this problem? Sure it will hurt performance a bit, but the UART is already super slow compared to host processing speed. Will it really matter that much?
Longer term we could think about more performant alternatives, but it seems there are other higher priority issues to address ATM, if simply reading one char at a time will resolve this now.

Tim, you are right.  Reading one character at a time solves the issue without the drawbacks listed in my two proposals above.  That should probably be what we try first.


BUG: [CLI] No error for command uffizzi preview running with --option

Create compose file compose.yml with a source from GitHub or a file with errors (e.g. change service to s1ervice or set port = 0)
Run command uffizzi preview create -o=json compose.yml

Result:

There are no errors in the console
Deployment was not started

File example:
s1ervices:
  webhooks-test-app:
    image: uffizzitest/webhooks-test-app:latest
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres

x-uffizzi-ingress:
  service: webhooks-test-app
  port: 80

x-uffizzi-continuous-preview:
  share_to_github: true
  delete_preview_after: 99h
  tag_pattern: uffizzi_request_*
  delete_preview_when_image_tag_is_updated: true
  deploy_preview_when_image_tag_is_created: true
  delete_preview_when_pull_request_is_closed: true
  deploy_preview_when_pull_request_is_opened: true

changes that were made here https://github.com/UffizziCloud/uffizzi_cli/issues/52 should fix this problem. Tried to reproduce this on qa and got message Service services has neither an image nor a build context specified. At least one must be provided.. Need to check if issue still actual.


Use StaticArrays for 2x2 matrix functions

Hi @mmorligh and others!
I just stumbled here... I had a quick look for fun and then saw you had your own implementation for 2x2 matrix determinant and inverse. I guess this was to avoid unnecessary loops and checks that generic det or inv might do? I thought I'd try quick benchmark to see for myself:
julia> using LinearAlgebra, BenchmarkTools

julia> A = rand(2,2)
2×2 Matrix{Float64}:
 0.664398   0.719668
 0.0551616  0.0282493

julia> function Matrix2x2Determinant(A::Matrix{Float64}) #{{{

               return  A[1,1]*A[2,2]-A[2,1]*A[1,2]

       end#}}}
Matrix2x2Determinant (generic function with 1 method)

julia> function Matrix2x2Invert(A::Matrix{Float64}) #{{{

               #Initialize output
               Ainv = Matrix{Float64}(undef,2,2)

               #Compute determinant
               det = Matrix2x2Determinant(A)
               if(abs(det)<eps(Float64)) error("Determinant smaller than machine epsilon") end

               #Multiplication is faster than divsion, so we multiply by the reciprocal
               det_reciprocal = 1/det

               #compute invert matrix
               Ainv[1,1]=   A[2,2]*det_reciprocal # =  d/det
          Ainv[1,2]= - A[1,2]*det_reciprocal # = -b/det
          Ainv[2,1]= - A[2,1]*det_reciprocal # = -c/det
          Ainv[2,2]=   A[1,1]*det_reciprocal # =  a/det

               return  Ainv

       end#}}}
Matrix2x2Invert (generic function with 1 method)

julia> @btime Matrix2x2Invert($A)
  52.850 ns (1 allocation: 96 bytes)
2×2 Matrix{Float64}:
 -1.34976   34.3858
  2.63563  -31.745

julia> @btime inv($A)
  685.580 ns (4 allocations: 1.30 KiB)
2×2 Matrix{Float64}:
 -1.34976   34.3858
  2.63563  -31.745

and indeed it's quite faster (10×) than generic inv on this random case. Then I thought what about when Juila knows about the 2×2 size? So I tried with StaticArrays.jl and got another 10× speed up:
julia> using StaticArrays

julia> @btime inv(SMatrix{2,2}($A))
  3.913 ns (0 allocations: 0 bytes)
2×2 SMatrix{2, 2, Float64, 4} with indices SOneTo(2)×SOneTo(2):
 -1.34976   34.3858
  2.63563  -31.745

Anyway, I learned something playing around and thought you might want to know about it too, and also in case it can improve your code's performance :)
Hope you are all well,
Cheers!

Hey @briochemc
So good to hear from you! I hope all is well in Sidney.
This is a great suggestion. The design of dJUICE is largely derived from ISSM (https://issm.jpl.nasa.gov), which is in C++, and so I tried to keep the code as similar as possible. But we should not sacrifice performance of course.
I tested it on my end and converting the 2x2 matrix to a StaticArray + calling inv takes an order of magnitude less time than calling Matrix2x2Invert, as you noted. I will implement this later this week.
Thanks again for the suggestion, and don't hesitate if you see anything else ;)
Mathieu


Cross Fade between music tracks within a playlist

Checklist

[x] I made sure that the feature I am proposing doesn't already exist

Use case / Problem
Whilst listening to a playlist using this plugin, moving to the next music track in a playlist sounds really jarring.
This is due to the silence and dip in volume between music tracks because most music files fade-out to silence as they reach their end and fade-in from silence. As a result, there is no smooth transition between music tracks.
Proposal / Solution
Crossfading between music tracks to make a mixed playlist sound much more seamless and natural-sounding transitions.
Would like to be able to set the duration of crossfades, such as 10 seconds.
In this case, a crossfade duration setting of 10 seconds would start to fade-out the current music track and fade in the next track in the playlist. This would result in a continuous mix and flow of music.
Crossfade function would be used when switching between music tracks such as when choosing the previous or next track, stop or start playing a music track.
I have working crossfade code in jquery syntax. If a developer knows both jquery and dart, they may utilize this to convert and implement the new functionailty into this plugin.
Platforms
Affected Platforms: all
Audio Files/URLs/Sources (optional)
Mockups (optional)
More information (optional)
Further clarification about Crossfade is available here https://www.howtogeek.com/57252/how-to-use-crossfade-in-audacity-for-seamless-transitions-between-audio-tracks/
I will provide the crossfade jquery script for conversion to Dart and integrating into this plugin.
I will donate $100 when this feature request is accepted.

This could be done by using two audio players simultaneously and lower the volume of the first track by a specified duration before the track duration ends. At the same time start another player with the next track and slowly fade in via volume.
I don't think this will be part of this library, as its too specific and exceeds the scope of this library. We can think about adding an additional package with such features. But the easiest is to implement for yourself. It's really not that hard, I think.

Closing, see #945


Update vxl 20241227

Update to the latest version of VXL
PR Checklist

[x] No API changes were made (or the changes have been approved)
[x] No major design changes were made (or the changes have been approved)

Hans, it looks like you merged this via rebase instead of a merge commit. @bradking what is the best way to restore history and proper functioning of update script in the future?


Fix header menu moving on menu hover

https://trello.com/c/gRCZWObf/12-fix-top-nav-dropdown-glitchiness
The header uses Material-UI's Menu, which by default adds some scroll locking behavior, and this adds some padding to the body, which causes the header to shift. https://stackoverflow.com/questions/60682426/material-ui-adds-padding-to-the-body-tag-when-a-dialog-is-opened
This disables the scroll lock on those menus.

@stevestreza Excellent, thanks! This resolves the menu moving around nicely. I'll get this merged in and deployed.


FR: Clipboard Support

Support files that are pasted -- even just an example in the documentation if that is more appropriate.
Thanks!

Sorry about the late reply, I'll look into it. It may be outside of the scope of this package though.


New-B1Service cmdlet error

Getting an error when running new-b1service
"New-B1Service -Type ntp -Name "ntp_name" -B1Host 'b1hostname' -Strict"
Invoke-RestMethod : {"error":[{"message":"HTTP interceptor error: pool_id cannot be empty"}]}
At C:\windows\system32\WindowsPowerShell\v1.0\Modules\ibPS\Functions\BloxOne\Private\Query-CSP.ps1:90 char:27

            $Result = Invoke-RestMethod @splat -Body $Data

                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Error. No results from API.

v<IP_ADDRESS> Released

Also added this to dev for next release: https://github.com/TehMuffinMoo/ibPS/commit/991f86b9254dd4ffc0b041de6e9c3ed7abe44b05
Seems I also left an old Write-Host message in Get-B1Service which will print out the URI for the API call. This shouldn't cause any problems other than screen clutter, but it'll be fixed on next push anyway.

v<IP_ADDRESS> Released
Includes the minor bug fix mentioned above for the random write-host debug message which was leftover.


silverbullet: 0.8.4 -> 0.9.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/silverbulletmd/silverbullet/releases.
meta.description for silverbullet is: Open-source, self-hosted, offline-capable Personal Knowledge Management (PKM) web application
meta.homepage for silverbullet is: https://silverbullet.md
meta.changelog for silverbullet is: https://github.com/silverbulletmd/silverbullet/blob/0.8.5/website/CHANGELOG.md
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.8.5 with grep in /nix/store/0l34m3vshci38yw51g3qiblyah65dvhp-silverbullet-0.8.5
found 0.8.5 in filename of file in /nix/store/0l34m3vshci38yw51g3qiblyah65dvhp-silverbullet-0.8.5

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

silverbullet

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0l34m3vshci38yw51g3qiblyah65dvhp-silverbullet-0.8.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A silverbullet https://github.com/r-ryantm/nixpkgs/archive/558a6c0a6eeb73ed2b231efcb23118abc1738b78.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/558a6c0a6eeb73ed2b231efcb23118abc1738b78#silverbullet

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0l34m3vshci38yw51g3qiblyah65dvhp-silverbullet-0.8.5
ls -la /nix/store/0l34m3vshci38yw51g3qiblyah65dvhp-silverbullet-0.8.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

silverbullet

Maintainer pings
cc @aorith for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/silverbulletmd/silverbullet/releases.
meta.description for silverbullet is: Open-source, self-hosted, offline-capable Personal Knowledge Management (PKM) web application
meta.homepage for silverbullet is: https://silverbullet.md
meta.changelog for silverbullet is: https://github.com/silverbulletmd/silverbullet/blob/0.9.0/website/CHANGELOG.md
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.9.0 with grep in /nix/store/kz06vr6wgazbgihpg5par53jcb3q2k8i-silverbullet-0.9.0
found 0.9.0 in filename of file in /nix/store/kz06vr6wgazbgihpg5par53jcb3q2k8i-silverbullet-0.9.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

silverbullet

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/kz06vr6wgazbgihpg5par53jcb3q2k8i-silverbullet-0.9.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A silverbullet https://github.com/r-ryantm/nixpkgs/archive/016bbb0bbf249ee894b978ea555eb01faf90cff6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/016bbb0bbf249ee894b978ea555eb01faf90cff6#silverbullet

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/kz06vr6wgazbgihpg5par53jcb3q2k8i-silverbullet-0.9.0
ls -la /nix/store/kz06vr6wgazbgihpg5par53jcb3q2k8i-silverbullet-0.9.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

silverbullet

Maintainer pings
cc @aorith for testing.

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

LGTM


Rework mount command string generation

Description:
This PR addresses the issue when the Docker volume is named as undefined if the src argument is not specified in the mount command.
The issue related to the following code:
https://github.com/devcontainers/cli/blob/7de4011ca1d21781730198f718ff449c1772ebe5/src/spec-node/singleContainer.ts#L359-L364
When the mount command string is generated, there is no check for the src argument. This results in the src attribute being set to undefined when cast to a string.
To fix this behavior, we need to apply null-check for the src argument and don't pass it to Docker. When the src arg is not passed, Docker generates a random name for the volume.
Repro sample:
{
	"image": "mcr.microsoft.com/devcontainers/base:latest",
	"mounts": [
        {
            "target": "/home/vscode/.vscode-server",
            "type": "volume",
        }
    ]
}

Examples:
Without fix:
node ➜ /workspaces/devcontainers-cli (main) $ docker inspect -f '{{json .Mounts }}' a85f6e52d478

[
	{
		"Type": "bind",
		"Source": "/workspaces/devcontainers-cli",
		"Destination": "/workspaces/devcontainers-cli",
		"Mode": "",
		"RW": true,
		"Propagation": "rprivate"
	},
	{
		"Type": "volume",
		"Name": "undefined",
		"Source": "/var/lib/docker/volumes/undefined/_data",
		"Destination": "/home/vscode/.vscode-server",
		"Driver": "local",
		"Mode": "z",
		"RW": true,
		"Propagation": ""
	}
]

With fix:
node ➜ /workspaces/devcontainers-cli (users/alexander-smolyakov/add_proper_handling_for_src_arg_in_mount_command) $ docker inspect -f '{{json .Mounts }}' 2e77ff5392dc

[
	{
		"Type": "bind",
		"Source": "/workspaces/devcontainers-cli",
		"Destination": "/workspaces/devcontainers-cli",
		"Mode": "",
		"RW": true,
		"Propagation": "rprivate"
	},
	{
		"Type": "volume",
		"Name": "628f29020e5d6a9514614ce0ad90411d2400161b67e07bb8744f39a83a397922",
		"Source": "/var/lib/docker/volumes/628f29020e5d6a9514614ce0ad90411d2400161b67e07bb8744f39a83a397922/_data",
		"Destination": "/home/vscode/.vscode-server",
		"Driver": "local",
		"Mode": "z",
		"RW": true,
		"Propagation": ""
	}
]

Attached related issue:

#478

Changelog:

Move the mount command generation logic to a separate function;
Add check if the src argument is undefined;

Thanks, can you help add a unit test to validate this fix?

Added test in https://github.com/devcontainers/cli/pull/537/commits/7fc4270e4416c0725b14e17d0415e7bb754d4efb

Here's the spec article on anonymous volumes https://docs.docker.com/storage/volumes/#choose-the--v-or---mount-flag. Not sure why this is particularly useful, I guess so as to not clutter up a container's filesystem between starts/stops?


Update imagestreams with proper tags

Signed-off-by: Petr "Stone" Hracek<EMAIL_ADDRESS>

This is already fixed. Closing


Consider expression before statement when determining binding kind

Summary
I believe these should always bind more tightly -- e.g., in:
for _ in bar(baz for foo in [1]):
    pass

The inner baz and foo should be considered comprehension variables, not for loop bindings.
We need to revisit this more holistically. In some of these cases, BindingKind should probably be a flag, not an enum, since the values aren't mutually exclusive. Separately, we should probably be more precise in how we set it (e.g., by passing down from the parent rather than sniffing in handle_node_store).
Closes https://github.com/astral-sh/ruff/issues/12339

Ecosystem change is correct.


Added Hotkeys + Spacenavigator to Layers page, improved overall performance

moved map controls in global JS file, reducing code duplication
added hotkey and spacenavigator support to Layers page
corrected bug when zooming a single From or To map on the Rectify page
corrected bug where map page without url hash failed to fully load hotkeys/spacenavigator for Show tab
improved spacenavigator warp map selection (pressing the left or right buttons enables the From or To map, pressing both buttons are once enables both)

Layers example (note that only one map in the layer is rectified)
http://mapwarper.livefeed.net/warper/layers/7
Map example
http://mapwarper.livefeed.net/warper/maps/1

we should disable scroll-to-zoom in the layer list page because there it is very annoying… you are very likely to be scrolling past the map most of the time… in the other ones it's ok because there's usually nothing below the map or it is an admin view (eg: rectify)
(for some reason the main Minus key still zooms in for me in Firefox… can you reproduce?)

I see what you're saying about scrolling past the map to get to the list..
As an immediate fix - I pushed a commit that disables the mousewheel.
In the longer term - I wonder if the page layout could be revised so there isn't an inherent need to scroll past the map to get down to the list?

i'm getting double zoom ins and single zoom outs: pressing Plus zooms in farther than what pressing Minus zooms out of (top row buttons, Firefox 46 Mac)

just pushed a commit which disables the double zoom


#127-Issue | Open every card on new tab

Related Issue
-Cards were not opening in the new tab
Closes: #127
Describe the changes you've made
I have added a target="_blank" in the script.js file Now all cards can be open in a new tab with a left click too.
change also
Describe if there is any unusual behavior of your code(Write NA if there isn't)
Also I the Github repo link is also be updated as It will also open in a new tab for better use
PLEASE MERGE IT AND HELP ME TO MAKE MY FIRST CONTRIBUTION TO OPEN-SOURCE
https://asimaries.github.io/Awesome-JavaScript-Projects.github.io/
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] New and existing unit tests pass locally with my changes.

Screenshots
Put any screenshot(s) of the project here.

@asimaries Please enable github pages for your fork and share the link here. It will be easy for me to review it.

@asimaries Please enable github pages for your fork and share the link here. It will be easy for me to review it.

https://asimaries.github.io/Awesome-JavaScript-Projects.github.io/

the commits of #192 (I don't know-how SORRY )have also been added here if you merge this the #192 will also get fixed BUT everything is working fine

@asimaries Squash your commits into one commit.


injectedJavascript doesn't work in Android Marshmallow (6.0)

Bug description:
Inject javascript don't work in android versions equal or lower than 6.0 (marshmallow).
And I receive a bunch of these errors in LogCat (I really don't know if means something but...):
E/eglCodecCommon: glUtilsParamSize: unknow param 0x000085b5
To Reproduce:
Just run some app and try to inject javascript in webview on android marshmallow
Expected behavior:
Inject javascript
Environment:

OS: Android
OS version: Marshamallow (6)
react-native version: 0.62.2
react-native-webview version: 9.1.0 - 8.0.0 - 7.00 - 6.0.2 (any version above 5)

The problem was that I was using ES6 features inside the literal string, and it appears that isn't supported in marshmallow. Just had to convert my functions to pure js.


Sema: Allow AnyColorBox in SwiftUI to derive from a less available base class

Resolves rdar://101915368

@swift-ci please smoke test


max_output_tokens option from model in config.yaml is ignored when model is selected

Describe the bug
I added Claud 3.5 Sonnet to my aichat configuration and I get the following error:
Failed to get answer

Caused by:
    max_tokens: Field required (type: invalid_request_error)

To Reproduce
config.yaml
model: claude:claude-3-5-sonnet-20240620
clients:
- type: claude
  api_key: sk-ant-api03-*
  models:
    - name: claude-3-5-sonnet-20240620
      max_input_tokens: 200000
      max_output_tokens: 4096
      require_max_tokens: true
      input_price: 3
      output_price: 15
      supports_vision: true
      supports_function_calling: true

Start aichat and try to use model:
$ aichat
Welcome to aichat 0.18.0
Type ".help" for additional help.
> .info
model               claude:claude-3-5-sonnet-20240620
max_output_tokens   -
temperature         -
top_p               -
function_calling    false
compress_threshold  4000
dry_run             false
save                false
save_session        -
highlight           true
light_theme         false
wrap                no
wrap_code           false
auto_copy           false
keybindings         emacs
prelude             -
config_file         /home/henry/llm/aichat/config.yaml
roles_file          /home/henry/llm/aichat/roles.yaml
messages_file       /home/henry/llm/aichat/messages.md
sessions_dir        /home/henry/llm/aichat/sessions
functions_dir       /home/henry/llm/aichat/functions

> Test
Failed to get answer

Caused by:
    max_tokens: Field required (type: invalid_request_error)
> .set max_output_tokens 4096

> Test
I'm here and ready to help! What would you like assistance with?
> .info
model               claude:claude-3-5-sonnet-20240620
max_output_tokens   4096 (current model)
temperature         -
top_p               -
function_calling    false
compress_threshold  4000
dry_run             false
save                false
save_session        -
highlight           true
light_theme         false
wrap                no
wrap_code           false
auto_copy           false
keybindings         emacs
prelude             -
config_file         /home/henry/llm/aichat/config.yaml
roles_file          /home/henry/llm/aichat/roles.yaml
messages_file       /home/henry/llm/aichat/messages.md
sessions_dir        /home/henry/llm/aichat/sessions
functions_dir       /home/henry/llm/aichat/functions

Expected behavior
The configured max_output_tokens option is used by aichat when submitting the request.
Environment (please complete the following information):

os version: void-linux 1.0
aichat version: 0.18.0
terminal version: rxvt-unicode

see https://github.com/sigoden/aichat/pull/598#issuecomment-2167032180


Support config get-contexts JSON output

What would you like to be added:
Please add support for config get-contexts JSON output.
Why is this needed:
Currently, config get-contexts can only output column-oriented format or the name field (using -o=name). However, when the cluster/context name contains space(s) which is true for our company's implementation, it makes the parsing of the output very challenging. If the command output can support a JSON format, then it's relatively easier to use existing tools to parse it, regardless if the cluster/context name contains space(s) or not.

Sounds to me a reasonable ask.

I'll take a look at this.

/triage accepted

/assign

Is this still being worked on? I want to create a PR for this.

/retitle Support kubectl config get-contexts JSON output


Show more than one instance of Video Analyzer Widget in Angular app.

Hi,
I am trying to show more than one instance of Video Analyzer Widget in an Angular Web App, i.e. more than one video in the same page.
I can see both widgets, but they get the same video-resource.
I am creating each instance as follows, in typescript, with different videoNames:
        const config: IAvaPlayerConfig = {
          videoName: <videoName>,
          clientApiEndpointUrl: <clientApiEndpointUrl>,
          token: <token>
        };

        const avaPlayer = new Player(config);
        this.playerContainer.nativeElement.append(avaPlayer);

        avaPlayer.load();

I can see two calls to /videos/?api-version=2021-05-01-preview, each with different videoName, but then two calls to /videos//listStreamingToken?api-version=2021-05-01-preview, but with the same videoName.
Is there a limit to the Azure Widget Analyzer that only one instance is possible to render on a page or am I doing something upside down?

Hi @chokosticks  - there is no limit to number of widgets that you can load. Can you check for the id of the elements in your HTML file. If the ID, is the same, that is most likely causing the issue. Seems like your widget players are being connected to the same video file.


Danger-JS version

I couldn't find anything: is there a Danger-JS version of this plugin? If not I guess I'll switch to using the Ruby version, or is it possible to have 2 Dangerfiles?

Good question! So this is something Orta and I have discussed before. There is no Danger-JS version of the plugin but what we're looking to do is move away from Ruby's Danger altogether. Danger-Swift (which is just Danger-JS under the hood over a JSON bridge) was recently modified to support plugins and I'm planning to build the first Danger-Swift plugin this weekend.
Not a totally satisfying answer I know, but I think moving Danger checks for SwiftLint into a Danger-Swift environment makes sense in the long run. Let me know what you think.

Interesting! Thanks for the answer. I'm using the Ruby version for the time being, and I'll plan to migrate to Danger-Swift soon :)

Cool! I let you know on this issue when it's ready for use 👍

Okay so for anyone following along or wondering why Github is giving 404's, I changed the name of this repo from danger-swiftlint to danger-ruby-swiftlint; then I created a new repo called danger-swiftlint to work on the Danger-Swift plugin for SwiftLint. Still very early stages – onwards and upwards!

Alrighty, the plugin should be working now. Let me know if anyone runs into issues.


TaskDuration

@liuxiaocs7 did you accidentally assign yourself or are you interested in contributing here?

Hi, @bossenti, this issue may be resolved by #1613, and i think it can be closed, and sorry I accidentally clicked the wrong button yesterday

Indeed it is, thanks for pointing!
No worries, I'm just trying to keep up with @dominikriemer's speed


bug: files with chinese characters can't be previewed with fzf-lua

Did you check docs and existing issues?

[x] I have read all the LazyVim docs
[x] I have updated the plugin to the latest version before submitting this issue
[x] I have searched the existing issues of LazyVim
[x] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.10.2
Operating system/version
windows10
Describe the bug
find file cannot display Chinese file names or preview the contents of Chinese file names
Steps To Reproduce
nvim
Expected Behavior
Display Chinese file names and contents normally

The same problem occurs when I switch to telescope

Can you see the Unicode chars in the neovim terminal?
Run :new | term and then ls, do the chars display properly?
How about if you run fzf within the neovim term?
If the characters aren’t displayed with the above you’re issue is not with LazyVim, if the above works, try running :FzfLua profiles and select fzf-native, this will prevent fzf-lua from doing any processing and will be equal to running fzf directly in the neovim terminal.

Just tried random Chinese chars I found online, seems to work, is it possible your font isn’t configured properly on your windows terminal?

Running fzf in neovim terminal works fine, but switching to fzf-native still does not display Unicode chars properly

Running fzf in neovim terminal works fine, but switching to fzf-native still does not display Unicode chars properly

Do you have fd or rg installed? If so what’s the output of fd or rg --files? Do these work as expected?
Can you run :FzfLua files debug=true? I’d like to see which command was auto-detected to list files on your machine.
Can you run this and let me know if this is able to display Chinese characters?
:lua require('fzf-lua').fzf_exec({ '世', '界' })

Also I assume dir.exe works so can you try:
:lua require('fzf-lua').files({ cmd = 'dir /s/b/a:-d' })

:lua require('fzf-lua').files({ cmd = 'dir /s/b/a:-d' })

@ibhagwan maybe formatter = "path.dirname_first" is causing issues?

@ibhagwan maybe formatter = "path.dirname_first" is causing issues?

Mentioned  it doesn’t work on fzf-native (no formatted) and also

The same problem occurs when I switch to telescope

@hnsylzg, I see the auto detected command for files was dir.exe, do you not have rg installed? I don’t have access to my windows VM anymore but perhaps dir doesn’t support UTF8?
Try:
:lua require('fzf-lua').files({ cmd = 'rg --files' })
:lua require('fzf-lua').files({ cmd = 'fd --type f' })

I don't have rg, I downloaded fd

ok, great, so it works now?

rg

I don't have rg, I downloaded fd

Great, this seems to have solved the issue.
2 notes:

You’ll need rg to use grep pickers (I see you already installed)
The reason this works with Fzf in the term is because recently Fzf added an internal go file system enumeration library so it doesn’t rely on external commands anymore

I also found this which may solve your issue with dir.exe:
https://github.com/BurntSushi/ripgrep/blob/041544853c86dde91c49983e5ddd0aa799bd2831/FAQ.md?plain=1#L810-L814
If you continue to have encoding problems, you can also force the encoding
that the console will use for printing to UTF-8 with
`[System.Console]::OutputEncoding = [System.Text.Encoding]::UTF8`. This
will also reset when PowerShell is restarted, so you can add that line
to your profile as well if you want to make the setting permanent.

Can you give me some more specific modification steps? I just came into contact with lazyvim yesterday.

Thanks for the help @ibhagwan!

Can you give me some more specific modification steps? I just came into contact with lazyvim yesterday.

Once you downloaded fd/rg you don’t need to modify anythinh, fzf-lua should auto-detect the utilities automatically, no config needed.

Thanks for the help @ibhagwan!

YW @folke! Ty for your never ending contributions everywhere ☺🙏

I also want to ask which one is recommended between fd and rg, and why find file in linux will prevent previewing binary files, and will not organize under windows

Thank you very much

I also want to ask which one is recommended between fd and rg, and why find file in linux will prevent previewing binary files, and will not organize under windows

Both are great to have but if you have to choose one, go with rg, since windows doesn’t have grep it’s a must for the grep pickers and it can also list files with rg --files (automatic).
The reason binaries won’t be recognized on Windows is because perl or file utilities are used to determine if a file is binary, both of which don’t exist on Windows.

Another important note for Windows, exclude neovim fzf and rg from windows defender and you’ll get a speed boost.

I added e:\msys64\usr\bin to the path and it worked. Thank you very much


ACR work priority

Summary of the new feature / enhancement
There seems to be a lot of work going on to make this work with ACR, while I don't disagree with that as an idea, wouldn't it be better to fix the massive list of existing issues first?
Proposed technical implementation details (optional)
No response

Thanks for opening this issue and starting this discussion...we are absolutely continuing to work on bug fixes, and have a patch release we are working on at the moment
In terms of prioritizing the ACR scenario we are doing this to alleviate some compliance work related to PSGallery (it helps us better meet partner team requests) so we think over the medium term it will hopefully free up more time for bug fixes/feature work

@SydneyhSmith Can your team shed some light on what the [approximate] expected release cadence will be for the next patch release (presumably 1.0.2)? Even a rough scale (days, weeks, months, quarters, etc.) would be greatly appreciated here.
PSResourceGet 1.0.1 has a number of bugs with on-prem Artifactory feeds that @alerickson and I have merged fixes for, but until the next patch is GAed I can't provide tangible guidance to the rest of my team for usage in their dev workflows.
We're currently moving our internal PowerShell codebases to a more modernized package management workflow, and not having a workable solution for downloading said packages post-publish has hindered that effort. I want to manage expectations with the rest of my team so we can defer the remainder of this work to a future sprint.

@sean-r-williams we are targeting early next week, we have a goal of getting this release into the next 7.5 preview so we are prioritizing patch work over other work at the moment

It would be better if the speed of development here wasn't so incredibly slow. The DSC v3 repository has almost as many commits as this one, and that isn't even released. The package manager should be the most important project after PowerShell itself IMO.

@SydneyhSmith - Now that ACR support has been released will there be some focus on fixing the big list of bugs that have been reported?


Importing breeze

I'm trying this project for the first time - I've successfully pulled down the image from docker.
I was curious about trying breeze. Below is what the docs and prior breeze issue appear to suggest. Breeze does appear to download successfully. I've since tried restarting the kernel etc, to no avail. Here's my notebook / cell...
import $ivy.`org.scalanlp::breeze:0.13.2`
import $ivy.`org.scalanlp::breeze-natives:0.13.2`
val y = DenseVector(1,2,3,4)

I get a compile  error...
cmd3.sc:1: not found: value DenseVector val y = DenseVector(1,2,3,4)         ^Compilation Failed
Can anyone see a problem here?  Would this be expected to work?

You still need to import the package in addition to importing the library. The following works fine for me:
import $ivy.`org.scalanlp::breeze:0.13.2`
import $ivy.`org.scalanlp::breeze-natives:0.13.2`

import breeze.linalg._
val y = DenseVector(1,2,3,4)

Thankyou - apologies - in hindsight, that's a very obvious step...


Easily add libraries from CDN

Please add feature to add external CSS/JS libraries from URL like CodePen.

you got + add library button in top left?
why cdn if the only difference is they are fetched from unpkg
example: https://unpkg.com/bootstrap